@adaptware/eagles-db 0.6.8 → 0.6.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/client/index.d.ts CHANGED
@@ -891,12 +891,12 @@ export const ConsentType: {
891
891
  export type ConsentType = (typeof ConsentType)[keyof typeof ConsentType]
892
892
 
893
893
 
894
- export const ConsentReferenceType: {
895
- INTERVIEW: 'INTERVIEW',
896
- ASSESSMENT: 'ASSESSMENT'
894
+ export const ConsentGrantStatus: {
895
+ GRANTED: 'GRANTED',
896
+ DECLINED: 'DECLINED'
897
897
  };
898
898
 
899
- export type ConsentReferenceType = (typeof ConsentReferenceType)[keyof typeof ConsentReferenceType]
899
+ export type ConsentGrantStatus = (typeof ConsentGrantStatus)[keyof typeof ConsentGrantStatus]
900
900
 
901
901
 
902
902
  export const ConsentOutcome: {
@@ -907,6 +907,14 @@ export const ConsentOutcome: {
907
907
  export type ConsentOutcome = (typeof ConsentOutcome)[keyof typeof ConsentOutcome]
908
908
 
909
909
 
910
+ export const ConsentReferenceType: {
911
+ INTERVIEW: 'INTERVIEW',
912
+ ASSESSMENT: 'ASSESSMENT'
913
+ };
914
+
915
+ export type ConsentReferenceType = (typeof ConsentReferenceType)[keyof typeof ConsentReferenceType]
916
+
917
+
910
918
  export const ConsentCatalogVersionStatus: {
911
919
  DRAFT: 'DRAFT',
912
920
  PUBLISHED: 'PUBLISHED',
@@ -1671,14 +1679,18 @@ export type ConsentType = $Enums.ConsentType
1671
1679
 
1672
1680
  export const ConsentType: typeof $Enums.ConsentType
1673
1681
 
1674
- export type ConsentReferenceType = $Enums.ConsentReferenceType
1682
+ export type ConsentGrantStatus = $Enums.ConsentGrantStatus
1675
1683
 
1676
- export const ConsentReferenceType: typeof $Enums.ConsentReferenceType
1684
+ export const ConsentGrantStatus: typeof $Enums.ConsentGrantStatus
1677
1685
 
1678
1686
  export type ConsentOutcome = $Enums.ConsentOutcome
1679
1687
 
1680
1688
  export const ConsentOutcome: typeof $Enums.ConsentOutcome
1681
1689
 
1690
+ export type ConsentReferenceType = $Enums.ConsentReferenceType
1691
+
1692
+ export const ConsentReferenceType: typeof $Enums.ConsentReferenceType
1693
+
1682
1694
  export type ConsentCatalogVersionStatus = $Enums.ConsentCatalogVersionStatus
1683
1695
 
1684
1696
  export const ConsentCatalogVersionStatus: typeof $Enums.ConsentCatalogVersionStatus
@@ -12648,12 +12660,12 @@ export namespace Prisma {
12648
12660
  */
12649
12661
 
12650
12662
  export type ConsentDocumentVersionCountOutputType = {
12651
- checkboxes: number
12663
+ checkbox_definitions: number
12652
12664
  consent_records: number
12653
12665
  }
12654
12666
 
12655
12667
  export type ConsentDocumentVersionCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12656
- checkboxes?: boolean | ConsentDocumentVersionCountOutputTypeCountCheckboxesArgs
12668
+ checkbox_definitions?: boolean | ConsentDocumentVersionCountOutputTypeCountCheckbox_definitionsArgs
12657
12669
  consent_records?: boolean | ConsentDocumentVersionCountOutputTypeCountConsent_recordsArgs
12658
12670
  }
12659
12671
 
@@ -12671,7 +12683,7 @@ export namespace Prisma {
12671
12683
  /**
12672
12684
  * ConsentDocumentVersionCountOutputType without action
12673
12685
  */
12674
- export type ConsentDocumentVersionCountOutputTypeCountCheckboxesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12686
+ export type ConsentDocumentVersionCountOutputTypeCountCheckbox_definitionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12675
12687
  where?: ConsentCheckboxDefinitionWhereInput
12676
12688
  }
12677
12689
 
@@ -12779,7 +12791,8 @@ export namespace Prisma {
12779
12791
  offer_letters: number
12780
12792
  offer_letter_template_snapshots: number
12781
12793
  offer_draft_edited_html: number
12782
- consent_document_versions: number
12794
+ terms_consent_versions: number
12795
+ privacy_policy_consent_versions: number
12783
12796
  }
12784
12797
 
12785
12798
  export type DocumentCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -12789,7 +12802,8 @@ export namespace Prisma {
12789
12802
  offer_letters?: boolean | DocumentCountOutputTypeCountOffer_lettersArgs
12790
12803
  offer_letter_template_snapshots?: boolean | DocumentCountOutputTypeCountOffer_letter_template_snapshotsArgs
12791
12804
  offer_draft_edited_html?: boolean | DocumentCountOutputTypeCountOffer_draft_edited_htmlArgs
12792
- consent_document_versions?: boolean | DocumentCountOutputTypeCountConsent_document_versionsArgs
12805
+ terms_consent_versions?: boolean | DocumentCountOutputTypeCountTerms_consent_versionsArgs
12806
+ privacy_policy_consent_versions?: boolean | DocumentCountOutputTypeCountPrivacy_policy_consent_versionsArgs
12793
12807
  }
12794
12808
 
12795
12809
  // Custom InputTypes
@@ -12848,7 +12862,14 @@ export namespace Prisma {
12848
12862
  /**
12849
12863
  * DocumentCountOutputType without action
12850
12864
  */
12851
- export type DocumentCountOutputTypeCountConsent_document_versionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12865
+ export type DocumentCountOutputTypeCountTerms_consent_versionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12866
+ where?: ConsentDocumentVersionWhereInput
12867
+ }
12868
+
12869
+ /**
12870
+ * DocumentCountOutputType without action
12871
+ */
12872
+ export type DocumentCountOutputTypeCountPrivacy_policy_consent_versionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12852
12873
  where?: ConsentDocumentVersionWhereInput
12853
12874
  }
12854
12875
 
@@ -49784,6 +49805,7 @@ export namespace Prisma {
49784
49805
  consent_document_id: string | null
49785
49806
  version_number: number | null
49786
49807
  document_id: string | null
49808
+ privacy_policy_id: string | null
49787
49809
  status: $Enums.ConsentCatalogVersionStatus | null
49788
49810
  published_at: Date | null
49789
49811
  created_at: Date | null
@@ -49795,6 +49817,7 @@ export namespace Prisma {
49795
49817
  consent_document_id: string | null
49796
49818
  version_number: number | null
49797
49819
  document_id: string | null
49820
+ privacy_policy_id: string | null
49798
49821
  status: $Enums.ConsentCatalogVersionStatus | null
49799
49822
  published_at: Date | null
49800
49823
  created_at: Date | null
@@ -49806,10 +49829,12 @@ export namespace Prisma {
49806
49829
  consent_document_id: number
49807
49830
  version_number: number
49808
49831
  document_id: number
49832
+ privacy_policy_id: number
49809
49833
  status: number
49810
49834
  published_at: number
49811
49835
  created_at: number
49812
49836
  updated_at: number
49837
+ checkboxes: number
49813
49838
  _all: number
49814
49839
  }
49815
49840
 
@@ -49827,6 +49852,7 @@ export namespace Prisma {
49827
49852
  consent_document_id?: true
49828
49853
  version_number?: true
49829
49854
  document_id?: true
49855
+ privacy_policy_id?: true
49830
49856
  status?: true
49831
49857
  published_at?: true
49832
49858
  created_at?: true
@@ -49838,6 +49864,7 @@ export namespace Prisma {
49838
49864
  consent_document_id?: true
49839
49865
  version_number?: true
49840
49866
  document_id?: true
49867
+ privacy_policy_id?: true
49841
49868
  status?: true
49842
49869
  published_at?: true
49843
49870
  created_at?: true
@@ -49849,10 +49876,12 @@ export namespace Prisma {
49849
49876
  consent_document_id?: true
49850
49877
  version_number?: true
49851
49878
  document_id?: true
49879
+ privacy_policy_id?: true
49852
49880
  status?: true
49853
49881
  published_at?: true
49854
49882
  created_at?: true
49855
49883
  updated_at?: true
49884
+ checkboxes?: true
49856
49885
  _all?: true
49857
49886
  }
49858
49887
 
@@ -49947,10 +49976,12 @@ export namespace Prisma {
49947
49976
  consent_document_id: string
49948
49977
  version_number: number
49949
49978
  document_id: string | null
49979
+ privacy_policy_id: string | null
49950
49980
  status: $Enums.ConsentCatalogVersionStatus
49951
49981
  published_at: Date | null
49952
49982
  created_at: Date
49953
49983
  updated_at: Date
49984
+ checkboxes: JsonValue | null
49954
49985
  _count: ConsentDocumentVersionCountAggregateOutputType | null
49955
49986
  _avg: ConsentDocumentVersionAvgAggregateOutputType | null
49956
49987
  _sum: ConsentDocumentVersionSumAggregateOutputType | null
@@ -49977,13 +50008,16 @@ export namespace Prisma {
49977
50008
  consent_document_id?: boolean
49978
50009
  version_number?: boolean
49979
50010
  document_id?: boolean
50011
+ privacy_policy_id?: boolean
49980
50012
  status?: boolean
49981
50013
  published_at?: boolean
49982
50014
  created_at?: boolean
49983
50015
  updated_at?: boolean
50016
+ checkboxes?: boolean
49984
50017
  consent_document?: boolean | ConsentDocumentDefaultArgs<ExtArgs>
49985
50018
  document?: boolean | ConsentDocumentVersion$documentArgs<ExtArgs>
49986
- checkboxes?: boolean | ConsentDocumentVersion$checkboxesArgs<ExtArgs>
50019
+ privacy_policy?: boolean | ConsentDocumentVersion$privacy_policyArgs<ExtArgs>
50020
+ checkbox_definitions?: boolean | ConsentDocumentVersion$checkbox_definitionsArgs<ExtArgs>
49987
50021
  consent_records?: boolean | ConsentDocumentVersion$consent_recordsArgs<ExtArgs>
49988
50022
  _count?: boolean | ConsentDocumentVersionCountOutputTypeDefaultArgs<ExtArgs>
49989
50023
  }, ExtArgs["result"]["consentDocumentVersion"]>
@@ -49993,12 +50027,15 @@ export namespace Prisma {
49993
50027
  consent_document_id?: boolean
49994
50028
  version_number?: boolean
49995
50029
  document_id?: boolean
50030
+ privacy_policy_id?: boolean
49996
50031
  status?: boolean
49997
50032
  published_at?: boolean
49998
50033
  created_at?: boolean
49999
50034
  updated_at?: boolean
50035
+ checkboxes?: boolean
50000
50036
  consent_document?: boolean | ConsentDocumentDefaultArgs<ExtArgs>
50001
50037
  document?: boolean | ConsentDocumentVersion$documentArgs<ExtArgs>
50038
+ privacy_policy?: boolean | ConsentDocumentVersion$privacy_policyArgs<ExtArgs>
50002
50039
  }, ExtArgs["result"]["consentDocumentVersion"]>
50003
50040
 
50004
50041
  export type ConsentDocumentVersionSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
@@ -50006,12 +50043,15 @@ export namespace Prisma {
50006
50043
  consent_document_id?: boolean
50007
50044
  version_number?: boolean
50008
50045
  document_id?: boolean
50046
+ privacy_policy_id?: boolean
50009
50047
  status?: boolean
50010
50048
  published_at?: boolean
50011
50049
  created_at?: boolean
50012
50050
  updated_at?: boolean
50051
+ checkboxes?: boolean
50013
50052
  consent_document?: boolean | ConsentDocumentDefaultArgs<ExtArgs>
50014
50053
  document?: boolean | ConsentDocumentVersion$documentArgs<ExtArgs>
50054
+ privacy_policy?: boolean | ConsentDocumentVersion$privacy_policyArgs<ExtArgs>
50015
50055
  }, ExtArgs["result"]["consentDocumentVersion"]>
50016
50056
 
50017
50057
  export type ConsentDocumentVersionSelectScalar = {
@@ -50019,27 +50059,32 @@ export namespace Prisma {
50019
50059
  consent_document_id?: boolean
50020
50060
  version_number?: boolean
50021
50061
  document_id?: boolean
50062
+ privacy_policy_id?: boolean
50022
50063
  status?: boolean
50023
50064
  published_at?: boolean
50024
50065
  created_at?: boolean
50025
50066
  updated_at?: boolean
50067
+ checkboxes?: boolean
50026
50068
  }
50027
50069
 
50028
- export type ConsentDocumentVersionOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "consent_document_id" | "version_number" | "document_id" | "status" | "published_at" | "created_at" | "updated_at", ExtArgs["result"]["consentDocumentVersion"]>
50070
+ export type ConsentDocumentVersionOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "consent_document_id" | "version_number" | "document_id" | "privacy_policy_id" | "status" | "published_at" | "created_at" | "updated_at" | "checkboxes", ExtArgs["result"]["consentDocumentVersion"]>
50029
50071
  export type ConsentDocumentVersionInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
50030
50072
  consent_document?: boolean | ConsentDocumentDefaultArgs<ExtArgs>
50031
50073
  document?: boolean | ConsentDocumentVersion$documentArgs<ExtArgs>
50032
- checkboxes?: boolean | ConsentDocumentVersion$checkboxesArgs<ExtArgs>
50074
+ privacy_policy?: boolean | ConsentDocumentVersion$privacy_policyArgs<ExtArgs>
50075
+ checkbox_definitions?: boolean | ConsentDocumentVersion$checkbox_definitionsArgs<ExtArgs>
50033
50076
  consent_records?: boolean | ConsentDocumentVersion$consent_recordsArgs<ExtArgs>
50034
50077
  _count?: boolean | ConsentDocumentVersionCountOutputTypeDefaultArgs<ExtArgs>
50035
50078
  }
50036
50079
  export type ConsentDocumentVersionIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
50037
50080
  consent_document?: boolean | ConsentDocumentDefaultArgs<ExtArgs>
50038
50081
  document?: boolean | ConsentDocumentVersion$documentArgs<ExtArgs>
50082
+ privacy_policy?: boolean | ConsentDocumentVersion$privacy_policyArgs<ExtArgs>
50039
50083
  }
50040
50084
  export type ConsentDocumentVersionIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
50041
50085
  consent_document?: boolean | ConsentDocumentDefaultArgs<ExtArgs>
50042
50086
  document?: boolean | ConsentDocumentVersion$documentArgs<ExtArgs>
50087
+ privacy_policy?: boolean | ConsentDocumentVersion$privacy_policyArgs<ExtArgs>
50043
50088
  }
50044
50089
 
50045
50090
  export type $ConsentDocumentVersionPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -50047,7 +50092,8 @@ export namespace Prisma {
50047
50092
  objects: {
50048
50093
  consent_document: Prisma.$ConsentDocumentPayload<ExtArgs>
50049
50094
  document: Prisma.$DocumentPayload<ExtArgs> | null
50050
- checkboxes: Prisma.$ConsentCheckboxDefinitionPayload<ExtArgs>[]
50095
+ privacy_policy: Prisma.$DocumentPayload<ExtArgs> | null
50096
+ checkbox_definitions: Prisma.$ConsentCheckboxDefinitionPayload<ExtArgs>[]
50051
50097
  consent_records: Prisma.$ConsentRecordPayload<ExtArgs>[]
50052
50098
  }
50053
50099
  scalars: $Extensions.GetPayloadResult<{
@@ -50055,10 +50101,12 @@ export namespace Prisma {
50055
50101
  consent_document_id: string
50056
50102
  version_number: number
50057
50103
  document_id: string | null
50104
+ privacy_policy_id: string | null
50058
50105
  status: $Enums.ConsentCatalogVersionStatus
50059
50106
  published_at: Date | null
50060
50107
  created_at: Date
50061
50108
  updated_at: Date
50109
+ checkboxes: Prisma.JsonValue | null
50062
50110
  }, ExtArgs["result"]["consentDocumentVersion"]>
50063
50111
  composites: {}
50064
50112
  }
@@ -50455,7 +50503,8 @@ export namespace Prisma {
50455
50503
  readonly [Symbol.toStringTag]: "PrismaPromise"
50456
50504
  consent_document<T extends ConsentDocumentDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ConsentDocumentDefaultArgs<ExtArgs>>): Prisma__ConsentDocumentClient<$Result.GetResult<Prisma.$ConsentDocumentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
50457
50505
  document<T extends ConsentDocumentVersion$documentArgs<ExtArgs> = {}>(args?: Subset<T, ConsentDocumentVersion$documentArgs<ExtArgs>>): Prisma__DocumentClient<$Result.GetResult<Prisma.$DocumentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
50458
- checkboxes<T extends ConsentDocumentVersion$checkboxesArgs<ExtArgs> = {}>(args?: Subset<T, ConsentDocumentVersion$checkboxesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ConsentCheckboxDefinitionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
50506
+ privacy_policy<T extends ConsentDocumentVersion$privacy_policyArgs<ExtArgs> = {}>(args?: Subset<T, ConsentDocumentVersion$privacy_policyArgs<ExtArgs>>): Prisma__DocumentClient<$Result.GetResult<Prisma.$DocumentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
50507
+ checkbox_definitions<T extends ConsentDocumentVersion$checkbox_definitionsArgs<ExtArgs> = {}>(args?: Subset<T, ConsentDocumentVersion$checkbox_definitionsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ConsentCheckboxDefinitionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
50459
50508
  consent_records<T extends ConsentDocumentVersion$consent_recordsArgs<ExtArgs> = {}>(args?: Subset<T, ConsentDocumentVersion$consent_recordsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ConsentRecordPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
50460
50509
  /**
50461
50510
  * Attaches callbacks for the resolution and/or rejection of the Promise.
@@ -50490,10 +50539,12 @@ export namespace Prisma {
50490
50539
  readonly consent_document_id: FieldRef<"ConsentDocumentVersion", 'String'>
50491
50540
  readonly version_number: FieldRef<"ConsentDocumentVersion", 'Int'>
50492
50541
  readonly document_id: FieldRef<"ConsentDocumentVersion", 'String'>
50542
+ readonly privacy_policy_id: FieldRef<"ConsentDocumentVersion", 'String'>
50493
50543
  readonly status: FieldRef<"ConsentDocumentVersion", 'ConsentCatalogVersionStatus'>
50494
50544
  readonly published_at: FieldRef<"ConsentDocumentVersion", 'DateTime'>
50495
50545
  readonly created_at: FieldRef<"ConsentDocumentVersion", 'DateTime'>
50496
50546
  readonly updated_at: FieldRef<"ConsentDocumentVersion", 'DateTime'>
50547
+ readonly checkboxes: FieldRef<"ConsentDocumentVersion", 'Json'>
50497
50548
  }
50498
50549
 
50499
50550
 
@@ -50909,9 +50960,28 @@ export namespace Prisma {
50909
50960
  }
50910
50961
 
50911
50962
  /**
50912
- * ConsentDocumentVersion.checkboxes
50963
+ * ConsentDocumentVersion.privacy_policy
50913
50964
  */
50914
- export type ConsentDocumentVersion$checkboxesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
50965
+ export type ConsentDocumentVersion$privacy_policyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
50966
+ /**
50967
+ * Select specific fields to fetch from the Document
50968
+ */
50969
+ select?: DocumentSelect<ExtArgs> | null
50970
+ /**
50971
+ * Omit specific fields from the Document
50972
+ */
50973
+ omit?: DocumentOmit<ExtArgs> | null
50974
+ /**
50975
+ * Choose, which related nodes to fetch as well
50976
+ */
50977
+ include?: DocumentInclude<ExtArgs> | null
50978
+ where?: DocumentWhereInput
50979
+ }
50980
+
50981
+ /**
50982
+ * ConsentDocumentVersion.checkbox_definitions
50983
+ */
50984
+ export type ConsentDocumentVersion$checkbox_definitionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
50915
50985
  /**
50916
50986
  * Select specific fields to fetch from the ConsentCheckboxDefinition
50917
50987
  */
@@ -52097,9 +52167,11 @@ export namespace Prisma {
52097
52167
  id: string | null
52098
52168
  user_id: string | null
52099
52169
  outcome: $Enums.ConsentOutcome | null
52170
+ grant_status: $Enums.ConsentGrantStatus | null
52100
52171
  consent_document_version_id: string | null
52101
52172
  reference_type: $Enums.ConsentReferenceType | null
52102
52173
  reference_id: string | null
52174
+ evaluation_id: string | null
52103
52175
  ip_address: string | null
52104
52176
  user_agent: string | null
52105
52177
  decline_reason: string | null
@@ -52110,9 +52182,11 @@ export namespace Prisma {
52110
52182
  id: string | null
52111
52183
  user_id: string | null
52112
52184
  outcome: $Enums.ConsentOutcome | null
52185
+ grant_status: $Enums.ConsentGrantStatus | null
52113
52186
  consent_document_version_id: string | null
52114
52187
  reference_type: $Enums.ConsentReferenceType | null
52115
52188
  reference_id: string | null
52189
+ evaluation_id: string | null
52116
52190
  ip_address: string | null
52117
52191
  user_agent: string | null
52118
52192
  decline_reason: string | null
@@ -52123,10 +52197,12 @@ export namespace Prisma {
52123
52197
  id: number
52124
52198
  user_id: number
52125
52199
  outcome: number
52200
+ grant_status: number
52126
52201
  consent_document_version_id: number
52127
52202
  selections: number
52128
52203
  reference_type: number
52129
52204
  reference_id: number
52205
+ evaluation_id: number
52130
52206
  ip_address: number
52131
52207
  user_agent: number
52132
52208
  decline_reason: number
@@ -52139,9 +52215,11 @@ export namespace Prisma {
52139
52215
  id?: true
52140
52216
  user_id?: true
52141
52217
  outcome?: true
52218
+ grant_status?: true
52142
52219
  consent_document_version_id?: true
52143
52220
  reference_type?: true
52144
52221
  reference_id?: true
52222
+ evaluation_id?: true
52145
52223
  ip_address?: true
52146
52224
  user_agent?: true
52147
52225
  decline_reason?: true
@@ -52152,9 +52230,11 @@ export namespace Prisma {
52152
52230
  id?: true
52153
52231
  user_id?: true
52154
52232
  outcome?: true
52233
+ grant_status?: true
52155
52234
  consent_document_version_id?: true
52156
52235
  reference_type?: true
52157
52236
  reference_id?: true
52237
+ evaluation_id?: true
52158
52238
  ip_address?: true
52159
52239
  user_agent?: true
52160
52240
  decline_reason?: true
@@ -52165,10 +52245,12 @@ export namespace Prisma {
52165
52245
  id?: true
52166
52246
  user_id?: true
52167
52247
  outcome?: true
52248
+ grant_status?: true
52168
52249
  consent_document_version_id?: true
52169
52250
  selections?: true
52170
52251
  reference_type?: true
52171
52252
  reference_id?: true
52253
+ evaluation_id?: true
52172
52254
  ip_address?: true
52173
52255
  user_agent?: true
52174
52256
  decline_reason?: true
@@ -52251,11 +52333,13 @@ export namespace Prisma {
52251
52333
  export type ConsentRecordGroupByOutputType = {
52252
52334
  id: string
52253
52335
  user_id: string
52254
- outcome: $Enums.ConsentOutcome
52336
+ outcome: $Enums.ConsentOutcome | null
52337
+ grant_status: $Enums.ConsentGrantStatus | null
52255
52338
  consent_document_version_id: string
52256
52339
  selections: JsonValue
52257
52340
  reference_type: $Enums.ConsentReferenceType | null
52258
52341
  reference_id: string | null
52342
+ evaluation_id: string | null
52259
52343
  ip_address: string | null
52260
52344
  user_agent: string | null
52261
52345
  decline_reason: string | null
@@ -52283,10 +52367,12 @@ export namespace Prisma {
52283
52367
  id?: boolean
52284
52368
  user_id?: boolean
52285
52369
  outcome?: boolean
52370
+ grant_status?: boolean
52286
52371
  consent_document_version_id?: boolean
52287
52372
  selections?: boolean
52288
52373
  reference_type?: boolean
52289
52374
  reference_id?: boolean
52375
+ evaluation_id?: boolean
52290
52376
  ip_address?: boolean
52291
52377
  user_agent?: boolean
52292
52378
  decline_reason?: boolean
@@ -52299,10 +52385,12 @@ export namespace Prisma {
52299
52385
  id?: boolean
52300
52386
  user_id?: boolean
52301
52387
  outcome?: boolean
52388
+ grant_status?: boolean
52302
52389
  consent_document_version_id?: boolean
52303
52390
  selections?: boolean
52304
52391
  reference_type?: boolean
52305
52392
  reference_id?: boolean
52393
+ evaluation_id?: boolean
52306
52394
  ip_address?: boolean
52307
52395
  user_agent?: boolean
52308
52396
  decline_reason?: boolean
@@ -52315,10 +52403,12 @@ export namespace Prisma {
52315
52403
  id?: boolean
52316
52404
  user_id?: boolean
52317
52405
  outcome?: boolean
52406
+ grant_status?: boolean
52318
52407
  consent_document_version_id?: boolean
52319
52408
  selections?: boolean
52320
52409
  reference_type?: boolean
52321
52410
  reference_id?: boolean
52411
+ evaluation_id?: boolean
52322
52412
  ip_address?: boolean
52323
52413
  user_agent?: boolean
52324
52414
  decline_reason?: boolean
@@ -52331,17 +52421,19 @@ export namespace Prisma {
52331
52421
  id?: boolean
52332
52422
  user_id?: boolean
52333
52423
  outcome?: boolean
52424
+ grant_status?: boolean
52334
52425
  consent_document_version_id?: boolean
52335
52426
  selections?: boolean
52336
52427
  reference_type?: boolean
52337
52428
  reference_id?: boolean
52429
+ evaluation_id?: boolean
52338
52430
  ip_address?: boolean
52339
52431
  user_agent?: boolean
52340
52432
  decline_reason?: boolean
52341
52433
  created_at?: boolean
52342
52434
  }
52343
52435
 
52344
- export type ConsentRecordOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "user_id" | "outcome" | "consent_document_version_id" | "selections" | "reference_type" | "reference_id" | "ip_address" | "user_agent" | "decline_reason" | "created_at", ExtArgs["result"]["consentRecord"]>
52436
+ export type ConsentRecordOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "user_id" | "outcome" | "grant_status" | "consent_document_version_id" | "selections" | "reference_type" | "reference_id" | "evaluation_id" | "ip_address" | "user_agent" | "decline_reason" | "created_at", ExtArgs["result"]["consentRecord"]>
52345
52437
  export type ConsentRecordInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
52346
52438
  user?: boolean | UserDefaultArgs<ExtArgs>
52347
52439
  consent_document_version?: boolean | ConsentDocumentVersionDefaultArgs<ExtArgs>
@@ -52364,11 +52456,13 @@ export namespace Prisma {
52364
52456
  scalars: $Extensions.GetPayloadResult<{
52365
52457
  id: string
52366
52458
  user_id: string
52367
- outcome: $Enums.ConsentOutcome
52459
+ outcome: $Enums.ConsentOutcome | null
52460
+ grant_status: $Enums.ConsentGrantStatus | null
52368
52461
  consent_document_version_id: string
52369
52462
  selections: Prisma.JsonValue
52370
52463
  reference_type: $Enums.ConsentReferenceType | null
52371
52464
  reference_id: string | null
52465
+ evaluation_id: string | null
52372
52466
  ip_address: string | null
52373
52467
  user_agent: string | null
52374
52468
  decline_reason: string | null
@@ -52801,10 +52895,12 @@ export namespace Prisma {
52801
52895
  readonly id: FieldRef<"ConsentRecord", 'String'>
52802
52896
  readonly user_id: FieldRef<"ConsentRecord", 'String'>
52803
52897
  readonly outcome: FieldRef<"ConsentRecord", 'ConsentOutcome'>
52898
+ readonly grant_status: FieldRef<"ConsentRecord", 'ConsentGrantStatus'>
52804
52899
  readonly consent_document_version_id: FieldRef<"ConsentRecord", 'String'>
52805
52900
  readonly selections: FieldRef<"ConsentRecord", 'Json'>
52806
52901
  readonly reference_type: FieldRef<"ConsentRecord", 'ConsentReferenceType'>
52807
52902
  readonly reference_id: FieldRef<"ConsentRecord", 'String'>
52903
+ readonly evaluation_id: FieldRef<"ConsentRecord", 'String'>
52808
52904
  readonly ip_address: FieldRef<"ConsentRecord", 'String'>
52809
52905
  readonly user_agent: FieldRef<"ConsentRecord", 'String'>
52810
52906
  readonly decline_reason: FieldRef<"ConsentRecord", 'String'>
@@ -59469,7 +59565,8 @@ export namespace Prisma {
59469
59565
  offer_letter_template_snapshots?: boolean | Document$offer_letter_template_snapshotsArgs<ExtArgs>
59470
59566
  offer_draft_edited_html?: boolean | Document$offer_draft_edited_htmlArgs<ExtArgs>
59471
59567
  application_fit_check_report?: boolean | Document$application_fit_check_reportArgs<ExtArgs>
59472
- consent_document_versions?: boolean | Document$consent_document_versionsArgs<ExtArgs>
59568
+ terms_consent_versions?: boolean | Document$terms_consent_versionsArgs<ExtArgs>
59569
+ privacy_policy_consent_versions?: boolean | Document$privacy_policy_consent_versionsArgs<ExtArgs>
59473
59570
  _count?: boolean | DocumentCountOutputTypeDefaultArgs<ExtArgs>
59474
59571
  }, ExtArgs["result"]["document"]>
59475
59572
 
@@ -59556,7 +59653,8 @@ export namespace Prisma {
59556
59653
  offer_letter_template_snapshots?: boolean | Document$offer_letter_template_snapshotsArgs<ExtArgs>
59557
59654
  offer_draft_edited_html?: boolean | Document$offer_draft_edited_htmlArgs<ExtArgs>
59558
59655
  application_fit_check_report?: boolean | Document$application_fit_check_reportArgs<ExtArgs>
59559
- consent_document_versions?: boolean | Document$consent_document_versionsArgs<ExtArgs>
59656
+ terms_consent_versions?: boolean | Document$terms_consent_versionsArgs<ExtArgs>
59657
+ privacy_policy_consent_versions?: boolean | Document$privacy_policy_consent_versionsArgs<ExtArgs>
59560
59658
  _count?: boolean | DocumentCountOutputTypeDefaultArgs<ExtArgs>
59561
59659
  }
59562
59660
  export type DocumentIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -59588,7 +59686,8 @@ export namespace Prisma {
59588
59686
  offer_letter_template_snapshots: Prisma.$OfferLetterPayload<ExtArgs>[]
59589
59687
  offer_draft_edited_html: Prisma.$OfferPayload<ExtArgs>[]
59590
59688
  application_fit_check_report: Prisma.$ApplicationPayload<ExtArgs> | null
59591
- consent_document_versions: Prisma.$ConsentDocumentVersionPayload<ExtArgs>[]
59689
+ terms_consent_versions: Prisma.$ConsentDocumentVersionPayload<ExtArgs>[]
59690
+ privacy_policy_consent_versions: Prisma.$ConsentDocumentVersionPayload<ExtArgs>[]
59592
59691
  }
59593
59692
  scalars: $Extensions.GetPayloadResult<{
59594
59693
  id: string
@@ -60019,7 +60118,8 @@ export namespace Prisma {
60019
60118
  offer_letter_template_snapshots<T extends Document$offer_letter_template_snapshotsArgs<ExtArgs> = {}>(args?: Subset<T, Document$offer_letter_template_snapshotsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OfferLetterPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
60020
60119
  offer_draft_edited_html<T extends Document$offer_draft_edited_htmlArgs<ExtArgs> = {}>(args?: Subset<T, Document$offer_draft_edited_htmlArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OfferPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
60021
60120
  application_fit_check_report<T extends Document$application_fit_check_reportArgs<ExtArgs> = {}>(args?: Subset<T, Document$application_fit_check_reportArgs<ExtArgs>>): Prisma__ApplicationClient<$Result.GetResult<Prisma.$ApplicationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
60022
- consent_document_versions<T extends Document$consent_document_versionsArgs<ExtArgs> = {}>(args?: Subset<T, Document$consent_document_versionsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ConsentDocumentVersionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
60121
+ terms_consent_versions<T extends Document$terms_consent_versionsArgs<ExtArgs> = {}>(args?: Subset<T, Document$terms_consent_versionsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ConsentDocumentVersionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
60122
+ privacy_policy_consent_versions<T extends Document$privacy_policy_consent_versionsArgs<ExtArgs> = {}>(args?: Subset<T, Document$privacy_policy_consent_versionsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ConsentDocumentVersionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
60023
60123
  /**
60024
60124
  * Attaches callbacks for the resolution and/or rejection of the Promise.
60025
60125
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -60815,9 +60915,33 @@ export namespace Prisma {
60815
60915
  }
60816
60916
 
60817
60917
  /**
60818
- * Document.consent_document_versions
60918
+ * Document.terms_consent_versions
60819
60919
  */
60820
- export type Document$consent_document_versionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
60920
+ export type Document$terms_consent_versionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
60921
+ /**
60922
+ * Select specific fields to fetch from the ConsentDocumentVersion
60923
+ */
60924
+ select?: ConsentDocumentVersionSelect<ExtArgs> | null
60925
+ /**
60926
+ * Omit specific fields from the ConsentDocumentVersion
60927
+ */
60928
+ omit?: ConsentDocumentVersionOmit<ExtArgs> | null
60929
+ /**
60930
+ * Choose, which related nodes to fetch as well
60931
+ */
60932
+ include?: ConsentDocumentVersionInclude<ExtArgs> | null
60933
+ where?: ConsentDocumentVersionWhereInput
60934
+ orderBy?: ConsentDocumentVersionOrderByWithRelationInput | ConsentDocumentVersionOrderByWithRelationInput[]
60935
+ cursor?: ConsentDocumentVersionWhereUniqueInput
60936
+ take?: number
60937
+ skip?: number
60938
+ distinct?: ConsentDocumentVersionScalarFieldEnum | ConsentDocumentVersionScalarFieldEnum[]
60939
+ }
60940
+
60941
+ /**
60942
+ * Document.privacy_policy_consent_versions
60943
+ */
60944
+ export type Document$privacy_policy_consent_versionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
60821
60945
  /**
60822
60946
  * Select specific fields to fetch from the ConsentDocumentVersion
60823
60947
  */
@@ -161252,10 +161376,12 @@ export namespace Prisma {
161252
161376
  consent_document_id: 'consent_document_id',
161253
161377
  version_number: 'version_number',
161254
161378
  document_id: 'document_id',
161379
+ privacy_policy_id: 'privacy_policy_id',
161255
161380
  status: 'status',
161256
161381
  published_at: 'published_at',
161257
161382
  created_at: 'created_at',
161258
- updated_at: 'updated_at'
161383
+ updated_at: 'updated_at',
161384
+ checkboxes: 'checkboxes'
161259
161385
  };
161260
161386
 
161261
161387
  export type ConsentDocumentVersionScalarFieldEnum = (typeof ConsentDocumentVersionScalarFieldEnum)[keyof typeof ConsentDocumentVersionScalarFieldEnum]
@@ -161277,10 +161403,12 @@ export namespace Prisma {
161277
161403
  id: 'id',
161278
161404
  user_id: 'user_id',
161279
161405
  outcome: 'outcome',
161406
+ grant_status: 'grant_status',
161280
161407
  consent_document_version_id: 'consent_document_version_id',
161281
161408
  selections: 'selections',
161282
161409
  reference_type: 'reference_type',
161283
161410
  reference_id: 'reference_id',
161411
+ evaluation_id: 'evaluation_id',
161284
161412
  ip_address: 'ip_address',
161285
161413
  user_agent: 'user_agent',
161286
161414
  decline_reason: 'decline_reason',
@@ -163743,6 +163871,20 @@ export namespace Prisma {
163743
163871
 
163744
163872
 
163745
163873
 
163874
+ /**
163875
+ * Reference to a field of type 'ConsentGrantStatus'
163876
+ */
163877
+ export type EnumConsentGrantStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ConsentGrantStatus'>
163878
+
163879
+
163880
+
163881
+ /**
163882
+ * Reference to a field of type 'ConsentGrantStatus[]'
163883
+ */
163884
+ export type ListEnumConsentGrantStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ConsentGrantStatus[]'>
163885
+
163886
+
163887
+
163746
163888
  /**
163747
163889
  * Reference to a field of type 'ConsentReferenceType'
163748
163890
  */
@@ -168212,13 +168354,16 @@ export namespace Prisma {
168212
168354
  consent_document_id?: StringFilter<"ConsentDocumentVersion"> | string
168213
168355
  version_number?: IntFilter<"ConsentDocumentVersion"> | number
168214
168356
  document_id?: StringNullableFilter<"ConsentDocumentVersion"> | string | null
168357
+ privacy_policy_id?: StringNullableFilter<"ConsentDocumentVersion"> | string | null
168215
168358
  status?: EnumConsentCatalogVersionStatusFilter<"ConsentDocumentVersion"> | $Enums.ConsentCatalogVersionStatus
168216
168359
  published_at?: DateTimeNullableFilter<"ConsentDocumentVersion"> | Date | string | null
168217
168360
  created_at?: DateTimeFilter<"ConsentDocumentVersion"> | Date | string
168218
168361
  updated_at?: DateTimeFilter<"ConsentDocumentVersion"> | Date | string
168362
+ checkboxes?: JsonNullableFilter<"ConsentDocumentVersion">
168219
168363
  consent_document?: XOR<ConsentDocumentScalarRelationFilter, ConsentDocumentWhereInput>
168220
168364
  document?: XOR<DocumentNullableScalarRelationFilter, DocumentWhereInput> | null
168221
- checkboxes?: ConsentCheckboxDefinitionListRelationFilter
168365
+ privacy_policy?: XOR<DocumentNullableScalarRelationFilter, DocumentWhereInput> | null
168366
+ checkbox_definitions?: ConsentCheckboxDefinitionListRelationFilter
168222
168367
  consent_records?: ConsentRecordListRelationFilter
168223
168368
  }
168224
168369
 
@@ -168227,13 +168372,16 @@ export namespace Prisma {
168227
168372
  consent_document_id?: SortOrder
168228
168373
  version_number?: SortOrder
168229
168374
  document_id?: SortOrderInput | SortOrder
168375
+ privacy_policy_id?: SortOrderInput | SortOrder
168230
168376
  status?: SortOrder
168231
168377
  published_at?: SortOrderInput | SortOrder
168232
168378
  created_at?: SortOrder
168233
168379
  updated_at?: SortOrder
168380
+ checkboxes?: SortOrderInput | SortOrder
168234
168381
  consent_document?: ConsentDocumentOrderByWithRelationInput
168235
168382
  document?: DocumentOrderByWithRelationInput
168236
- checkboxes?: ConsentCheckboxDefinitionOrderByRelationAggregateInput
168383
+ privacy_policy?: DocumentOrderByWithRelationInput
168384
+ checkbox_definitions?: ConsentCheckboxDefinitionOrderByRelationAggregateInput
168237
168385
  consent_records?: ConsentRecordOrderByRelationAggregateInput
168238
168386
  }
168239
168387
 
@@ -168246,13 +168394,16 @@ export namespace Prisma {
168246
168394
  consent_document_id?: StringFilter<"ConsentDocumentVersion"> | string
168247
168395
  version_number?: IntFilter<"ConsentDocumentVersion"> | number
168248
168396
  document_id?: StringNullableFilter<"ConsentDocumentVersion"> | string | null
168397
+ privacy_policy_id?: StringNullableFilter<"ConsentDocumentVersion"> | string | null
168249
168398
  status?: EnumConsentCatalogVersionStatusFilter<"ConsentDocumentVersion"> | $Enums.ConsentCatalogVersionStatus
168250
168399
  published_at?: DateTimeNullableFilter<"ConsentDocumentVersion"> | Date | string | null
168251
168400
  created_at?: DateTimeFilter<"ConsentDocumentVersion"> | Date | string
168252
168401
  updated_at?: DateTimeFilter<"ConsentDocumentVersion"> | Date | string
168402
+ checkboxes?: JsonNullableFilter<"ConsentDocumentVersion">
168253
168403
  consent_document?: XOR<ConsentDocumentScalarRelationFilter, ConsentDocumentWhereInput>
168254
168404
  document?: XOR<DocumentNullableScalarRelationFilter, DocumentWhereInput> | null
168255
- checkboxes?: ConsentCheckboxDefinitionListRelationFilter
168405
+ privacy_policy?: XOR<DocumentNullableScalarRelationFilter, DocumentWhereInput> | null
168406
+ checkbox_definitions?: ConsentCheckboxDefinitionListRelationFilter
168256
168407
  consent_records?: ConsentRecordListRelationFilter
168257
168408
  }, "id" | "consent_document_id_version_number">
168258
168409
 
@@ -168261,10 +168412,12 @@ export namespace Prisma {
168261
168412
  consent_document_id?: SortOrder
168262
168413
  version_number?: SortOrder
168263
168414
  document_id?: SortOrderInput | SortOrder
168415
+ privacy_policy_id?: SortOrderInput | SortOrder
168264
168416
  status?: SortOrder
168265
168417
  published_at?: SortOrderInput | SortOrder
168266
168418
  created_at?: SortOrder
168267
168419
  updated_at?: SortOrder
168420
+ checkboxes?: SortOrderInput | SortOrder
168268
168421
  _count?: ConsentDocumentVersionCountOrderByAggregateInput
168269
168422
  _avg?: ConsentDocumentVersionAvgOrderByAggregateInput
168270
168423
  _max?: ConsentDocumentVersionMaxOrderByAggregateInput
@@ -168280,10 +168433,12 @@ export namespace Prisma {
168280
168433
  consent_document_id?: StringWithAggregatesFilter<"ConsentDocumentVersion"> | string
168281
168434
  version_number?: IntWithAggregatesFilter<"ConsentDocumentVersion"> | number
168282
168435
  document_id?: StringNullableWithAggregatesFilter<"ConsentDocumentVersion"> | string | null
168436
+ privacy_policy_id?: StringNullableWithAggregatesFilter<"ConsentDocumentVersion"> | string | null
168283
168437
  status?: EnumConsentCatalogVersionStatusWithAggregatesFilter<"ConsentDocumentVersion"> | $Enums.ConsentCatalogVersionStatus
168284
168438
  published_at?: DateTimeNullableWithAggregatesFilter<"ConsentDocumentVersion"> | Date | string | null
168285
168439
  created_at?: DateTimeWithAggregatesFilter<"ConsentDocumentVersion"> | Date | string
168286
168440
  updated_at?: DateTimeWithAggregatesFilter<"ConsentDocumentVersion"> | Date | string
168441
+ checkboxes?: JsonNullableWithAggregatesFilter<"ConsentDocumentVersion">
168287
168442
  }
168288
168443
 
168289
168444
  export type ConsentCheckboxDefinitionWhereInput = {
@@ -168355,11 +168510,13 @@ export namespace Prisma {
168355
168510
  NOT?: ConsentRecordWhereInput | ConsentRecordWhereInput[]
168356
168511
  id?: StringFilter<"ConsentRecord"> | string
168357
168512
  user_id?: StringFilter<"ConsentRecord"> | string
168358
- outcome?: EnumConsentOutcomeFilter<"ConsentRecord"> | $Enums.ConsentOutcome
168513
+ outcome?: EnumConsentOutcomeNullableFilter<"ConsentRecord"> | $Enums.ConsentOutcome | null
168514
+ grant_status?: EnumConsentGrantStatusNullableFilter<"ConsentRecord"> | $Enums.ConsentGrantStatus | null
168359
168515
  consent_document_version_id?: StringFilter<"ConsentRecord"> | string
168360
168516
  selections?: JsonFilter<"ConsentRecord">
168361
168517
  reference_type?: EnumConsentReferenceTypeNullableFilter<"ConsentRecord"> | $Enums.ConsentReferenceType | null
168362
168518
  reference_id?: StringNullableFilter<"ConsentRecord"> | string | null
168519
+ evaluation_id?: StringNullableFilter<"ConsentRecord"> | string | null
168363
168520
  ip_address?: StringNullableFilter<"ConsentRecord"> | string | null
168364
168521
  user_agent?: StringNullableFilter<"ConsentRecord"> | string | null
168365
168522
  decline_reason?: StringNullableFilter<"ConsentRecord"> | string | null
@@ -168371,11 +168528,13 @@ export namespace Prisma {
168371
168528
  export type ConsentRecordOrderByWithRelationInput = {
168372
168529
  id?: SortOrder
168373
168530
  user_id?: SortOrder
168374
- outcome?: SortOrder
168531
+ outcome?: SortOrderInput | SortOrder
168532
+ grant_status?: SortOrderInput | SortOrder
168375
168533
  consent_document_version_id?: SortOrder
168376
168534
  selections?: SortOrder
168377
168535
  reference_type?: SortOrderInput | SortOrder
168378
168536
  reference_id?: SortOrderInput | SortOrder
168537
+ evaluation_id?: SortOrderInput | SortOrder
168379
168538
  ip_address?: SortOrderInput | SortOrder
168380
168539
  user_agent?: SortOrderInput | SortOrder
168381
168540
  decline_reason?: SortOrderInput | SortOrder
@@ -168390,11 +168549,13 @@ export namespace Prisma {
168390
168549
  OR?: ConsentRecordWhereInput[]
168391
168550
  NOT?: ConsentRecordWhereInput | ConsentRecordWhereInput[]
168392
168551
  user_id?: StringFilter<"ConsentRecord"> | string
168393
- outcome?: EnumConsentOutcomeFilter<"ConsentRecord"> | $Enums.ConsentOutcome
168552
+ outcome?: EnumConsentOutcomeNullableFilter<"ConsentRecord"> | $Enums.ConsentOutcome | null
168553
+ grant_status?: EnumConsentGrantStatusNullableFilter<"ConsentRecord"> | $Enums.ConsentGrantStatus | null
168394
168554
  consent_document_version_id?: StringFilter<"ConsentRecord"> | string
168395
168555
  selections?: JsonFilter<"ConsentRecord">
168396
168556
  reference_type?: EnumConsentReferenceTypeNullableFilter<"ConsentRecord"> | $Enums.ConsentReferenceType | null
168397
168557
  reference_id?: StringNullableFilter<"ConsentRecord"> | string | null
168558
+ evaluation_id?: StringNullableFilter<"ConsentRecord"> | string | null
168398
168559
  ip_address?: StringNullableFilter<"ConsentRecord"> | string | null
168399
168560
  user_agent?: StringNullableFilter<"ConsentRecord"> | string | null
168400
168561
  decline_reason?: StringNullableFilter<"ConsentRecord"> | string | null
@@ -168406,11 +168567,13 @@ export namespace Prisma {
168406
168567
  export type ConsentRecordOrderByWithAggregationInput = {
168407
168568
  id?: SortOrder
168408
168569
  user_id?: SortOrder
168409
- outcome?: SortOrder
168570
+ outcome?: SortOrderInput | SortOrder
168571
+ grant_status?: SortOrderInput | SortOrder
168410
168572
  consent_document_version_id?: SortOrder
168411
168573
  selections?: SortOrder
168412
168574
  reference_type?: SortOrderInput | SortOrder
168413
168575
  reference_id?: SortOrderInput | SortOrder
168576
+ evaluation_id?: SortOrderInput | SortOrder
168414
168577
  ip_address?: SortOrderInput | SortOrder
168415
168578
  user_agent?: SortOrderInput | SortOrder
168416
168579
  decline_reason?: SortOrderInput | SortOrder
@@ -168426,11 +168589,13 @@ export namespace Prisma {
168426
168589
  NOT?: ConsentRecordScalarWhereWithAggregatesInput | ConsentRecordScalarWhereWithAggregatesInput[]
168427
168590
  id?: StringWithAggregatesFilter<"ConsentRecord"> | string
168428
168591
  user_id?: StringWithAggregatesFilter<"ConsentRecord"> | string
168429
- outcome?: EnumConsentOutcomeWithAggregatesFilter<"ConsentRecord"> | $Enums.ConsentOutcome
168592
+ outcome?: EnumConsentOutcomeNullableWithAggregatesFilter<"ConsentRecord"> | $Enums.ConsentOutcome | null
168593
+ grant_status?: EnumConsentGrantStatusNullableWithAggregatesFilter<"ConsentRecord"> | $Enums.ConsentGrantStatus | null
168430
168594
  consent_document_version_id?: StringWithAggregatesFilter<"ConsentRecord"> | string
168431
168595
  selections?: JsonWithAggregatesFilter<"ConsentRecord">
168432
168596
  reference_type?: EnumConsentReferenceTypeNullableWithAggregatesFilter<"ConsentRecord"> | $Enums.ConsentReferenceType | null
168433
168597
  reference_id?: StringNullableWithAggregatesFilter<"ConsentRecord"> | string | null
168598
+ evaluation_id?: StringNullableWithAggregatesFilter<"ConsentRecord"> | string | null
168434
168599
  ip_address?: StringNullableWithAggregatesFilter<"ConsentRecord"> | string | null
168435
168600
  user_agent?: StringNullableWithAggregatesFilter<"ConsentRecord"> | string | null
168436
168601
  decline_reason?: StringNullableWithAggregatesFilter<"ConsentRecord"> | string | null
@@ -168947,7 +169112,8 @@ export namespace Prisma {
168947
169112
  offer_letter_template_snapshots?: OfferLetterListRelationFilter
168948
169113
  offer_draft_edited_html?: OfferListRelationFilter
168949
169114
  application_fit_check_report?: XOR<ApplicationNullableScalarRelationFilter, ApplicationWhereInput> | null
168950
- consent_document_versions?: ConsentDocumentVersionListRelationFilter
169115
+ terms_consent_versions?: ConsentDocumentVersionListRelationFilter
169116
+ privacy_policy_consent_versions?: ConsentDocumentVersionListRelationFilter
168951
169117
  }
168952
169118
 
168953
169119
  export type DocumentOrderByWithRelationInput = {
@@ -168985,7 +169151,8 @@ export namespace Prisma {
168985
169151
  offer_letter_template_snapshots?: OfferLetterOrderByRelationAggregateInput
168986
169152
  offer_draft_edited_html?: OfferOrderByRelationAggregateInput
168987
169153
  application_fit_check_report?: ApplicationOrderByWithRelationInput
168988
- consent_document_versions?: ConsentDocumentVersionOrderByRelationAggregateInput
169154
+ terms_consent_versions?: ConsentDocumentVersionOrderByRelationAggregateInput
169155
+ privacy_policy_consent_versions?: ConsentDocumentVersionOrderByRelationAggregateInput
168989
169156
  }
168990
169157
 
168991
169158
  export type DocumentWhereUniqueInput = Prisma.AtLeast<{
@@ -169026,7 +169193,8 @@ export namespace Prisma {
169026
169193
  offer_letter_template_snapshots?: OfferLetterListRelationFilter
169027
169194
  offer_draft_edited_html?: OfferListRelationFilter
169028
169195
  application_fit_check_report?: XOR<ApplicationNullableScalarRelationFilter, ApplicationWhereInput> | null
169029
- consent_document_versions?: ConsentDocumentVersionListRelationFilter
169196
+ terms_consent_versions?: ConsentDocumentVersionListRelationFilter
169197
+ privacy_policy_consent_versions?: ConsentDocumentVersionListRelationFilter
169030
169198
  }, "id">
169031
169199
 
169032
169200
  export type DocumentOrderByWithAggregationInput = {
@@ -183082,9 +183250,11 @@ export namespace Prisma {
183082
183250
  published_at?: Date | string | null
183083
183251
  created_at?: Date | string
183084
183252
  updated_at?: Date | string
183253
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
183085
183254
  consent_document: ConsentDocumentCreateNestedOneWithoutVersionsInput
183086
- document?: DocumentCreateNestedOneWithoutConsent_document_versionsInput
183087
- checkboxes?: ConsentCheckboxDefinitionCreateNestedManyWithoutConsent_document_versionInput
183255
+ document?: DocumentCreateNestedOneWithoutTerms_consent_versionsInput
183256
+ privacy_policy?: DocumentCreateNestedOneWithoutPrivacy_policy_consent_versionsInput
183257
+ checkbox_definitions?: ConsentCheckboxDefinitionCreateNestedManyWithoutConsent_document_versionInput
183088
183258
  consent_records?: ConsentRecordCreateNestedManyWithoutConsent_document_versionInput
183089
183259
  }
183090
183260
 
@@ -183093,11 +183263,13 @@ export namespace Prisma {
183093
183263
  consent_document_id: string
183094
183264
  version_number: number
183095
183265
  document_id?: string | null
183266
+ privacy_policy_id?: string | null
183096
183267
  status?: $Enums.ConsentCatalogVersionStatus
183097
183268
  published_at?: Date | string | null
183098
183269
  created_at?: Date | string
183099
183270
  updated_at?: Date | string
183100
- checkboxes?: ConsentCheckboxDefinitionUncheckedCreateNestedManyWithoutConsent_document_versionInput
183271
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
183272
+ checkbox_definitions?: ConsentCheckboxDefinitionUncheckedCreateNestedManyWithoutConsent_document_versionInput
183101
183273
  consent_records?: ConsentRecordUncheckedCreateNestedManyWithoutConsent_document_versionInput
183102
183274
  }
183103
183275
 
@@ -183108,9 +183280,11 @@ export namespace Prisma {
183108
183280
  published_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
183109
183281
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
183110
183282
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
183283
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
183111
183284
  consent_document?: ConsentDocumentUpdateOneRequiredWithoutVersionsNestedInput
183112
- document?: DocumentUpdateOneWithoutConsent_document_versionsNestedInput
183113
- checkboxes?: ConsentCheckboxDefinitionUpdateManyWithoutConsent_document_versionNestedInput
183285
+ document?: DocumentUpdateOneWithoutTerms_consent_versionsNestedInput
183286
+ privacy_policy?: DocumentUpdateOneWithoutPrivacy_policy_consent_versionsNestedInput
183287
+ checkbox_definitions?: ConsentCheckboxDefinitionUpdateManyWithoutConsent_document_versionNestedInput
183114
183288
  consent_records?: ConsentRecordUpdateManyWithoutConsent_document_versionNestedInput
183115
183289
  }
183116
183290
 
@@ -183119,11 +183293,13 @@ export namespace Prisma {
183119
183293
  consent_document_id?: StringFieldUpdateOperationsInput | string
183120
183294
  version_number?: IntFieldUpdateOperationsInput | number
183121
183295
  document_id?: NullableStringFieldUpdateOperationsInput | string | null
183296
+ privacy_policy_id?: NullableStringFieldUpdateOperationsInput | string | null
183122
183297
  status?: EnumConsentCatalogVersionStatusFieldUpdateOperationsInput | $Enums.ConsentCatalogVersionStatus
183123
183298
  published_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
183124
183299
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
183125
183300
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
183126
- checkboxes?: ConsentCheckboxDefinitionUncheckedUpdateManyWithoutConsent_document_versionNestedInput
183301
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
183302
+ checkbox_definitions?: ConsentCheckboxDefinitionUncheckedUpdateManyWithoutConsent_document_versionNestedInput
183127
183303
  consent_records?: ConsentRecordUncheckedUpdateManyWithoutConsent_document_versionNestedInput
183128
183304
  }
183129
183305
 
@@ -183132,10 +183308,12 @@ export namespace Prisma {
183132
183308
  consent_document_id: string
183133
183309
  version_number: number
183134
183310
  document_id?: string | null
183311
+ privacy_policy_id?: string | null
183135
183312
  status?: $Enums.ConsentCatalogVersionStatus
183136
183313
  published_at?: Date | string | null
183137
183314
  created_at?: Date | string
183138
183315
  updated_at?: Date | string
183316
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
183139
183317
  }
183140
183318
 
183141
183319
  export type ConsentDocumentVersionUpdateManyMutationInput = {
@@ -183145,6 +183323,7 @@ export namespace Prisma {
183145
183323
  published_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
183146
183324
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
183147
183325
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
183326
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
183148
183327
  }
183149
183328
 
183150
183329
  export type ConsentDocumentVersionUncheckedUpdateManyInput = {
@@ -183152,10 +183331,12 @@ export namespace Prisma {
183152
183331
  consent_document_id?: StringFieldUpdateOperationsInput | string
183153
183332
  version_number?: IntFieldUpdateOperationsInput | number
183154
183333
  document_id?: NullableStringFieldUpdateOperationsInput | string | null
183334
+ privacy_policy_id?: NullableStringFieldUpdateOperationsInput | string | null
183155
183335
  status?: EnumConsentCatalogVersionStatusFieldUpdateOperationsInput | $Enums.ConsentCatalogVersionStatus
183156
183336
  published_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
183157
183337
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
183158
183338
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
183339
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
183159
183340
  }
183160
183341
 
183161
183342
  export type ConsentCheckboxDefinitionCreateInput = {
@@ -183164,7 +183345,7 @@ export namespace Prisma {
183164
183345
  label: string
183165
183346
  sort_order?: number
183166
183347
  default_required_hint?: boolean
183167
- consent_document_version: ConsentDocumentVersionCreateNestedOneWithoutCheckboxesInput
183348
+ consent_document_version: ConsentDocumentVersionCreateNestedOneWithoutCheckbox_definitionsInput
183168
183349
  }
183169
183350
 
183170
183351
  export type ConsentCheckboxDefinitionUncheckedCreateInput = {
@@ -183182,7 +183363,7 @@ export namespace Prisma {
183182
183363
  label?: StringFieldUpdateOperationsInput | string
183183
183364
  sort_order?: IntFieldUpdateOperationsInput | number
183184
183365
  default_required_hint?: BoolFieldUpdateOperationsInput | boolean
183185
- consent_document_version?: ConsentDocumentVersionUpdateOneRequiredWithoutCheckboxesNestedInput
183366
+ consent_document_version?: ConsentDocumentVersionUpdateOneRequiredWithoutCheckbox_definitionsNestedInput
183186
183367
  }
183187
183368
 
183188
183369
  export type ConsentCheckboxDefinitionUncheckedUpdateInput = {
@@ -183222,10 +183403,12 @@ export namespace Prisma {
183222
183403
 
183223
183404
  export type ConsentRecordCreateInput = {
183224
183405
  id?: string
183225
- outcome: $Enums.ConsentOutcome
183406
+ outcome?: $Enums.ConsentOutcome | null
183407
+ grant_status?: $Enums.ConsentGrantStatus | null
183226
183408
  selections?: JsonNullValueInput | InputJsonValue
183227
183409
  reference_type?: $Enums.ConsentReferenceType | null
183228
183410
  reference_id?: string | null
183411
+ evaluation_id?: string | null
183229
183412
  ip_address?: string | null
183230
183413
  user_agent?: string | null
183231
183414
  decline_reason?: string | null
@@ -183237,11 +183420,13 @@ export namespace Prisma {
183237
183420
  export type ConsentRecordUncheckedCreateInput = {
183238
183421
  id?: string
183239
183422
  user_id: string
183240
- outcome: $Enums.ConsentOutcome
183423
+ outcome?: $Enums.ConsentOutcome | null
183424
+ grant_status?: $Enums.ConsentGrantStatus | null
183241
183425
  consent_document_version_id: string
183242
183426
  selections?: JsonNullValueInput | InputJsonValue
183243
183427
  reference_type?: $Enums.ConsentReferenceType | null
183244
183428
  reference_id?: string | null
183429
+ evaluation_id?: string | null
183245
183430
  ip_address?: string | null
183246
183431
  user_agent?: string | null
183247
183432
  decline_reason?: string | null
@@ -183250,10 +183435,12 @@ export namespace Prisma {
183250
183435
 
183251
183436
  export type ConsentRecordUpdateInput = {
183252
183437
  id?: StringFieldUpdateOperationsInput | string
183253
- outcome?: EnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome
183438
+ outcome?: NullableEnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome | null
183439
+ grant_status?: NullableEnumConsentGrantStatusFieldUpdateOperationsInput | $Enums.ConsentGrantStatus | null
183254
183440
  selections?: JsonNullValueInput | InputJsonValue
183255
183441
  reference_type?: NullableEnumConsentReferenceTypeFieldUpdateOperationsInput | $Enums.ConsentReferenceType | null
183256
183442
  reference_id?: NullableStringFieldUpdateOperationsInput | string | null
183443
+ evaluation_id?: NullableStringFieldUpdateOperationsInput | string | null
183257
183444
  ip_address?: NullableStringFieldUpdateOperationsInput | string | null
183258
183445
  user_agent?: NullableStringFieldUpdateOperationsInput | string | null
183259
183446
  decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
@@ -183265,11 +183452,13 @@ export namespace Prisma {
183265
183452
  export type ConsentRecordUncheckedUpdateInput = {
183266
183453
  id?: StringFieldUpdateOperationsInput | string
183267
183454
  user_id?: StringFieldUpdateOperationsInput | string
183268
- outcome?: EnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome
183455
+ outcome?: NullableEnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome | null
183456
+ grant_status?: NullableEnumConsentGrantStatusFieldUpdateOperationsInput | $Enums.ConsentGrantStatus | null
183269
183457
  consent_document_version_id?: StringFieldUpdateOperationsInput | string
183270
183458
  selections?: JsonNullValueInput | InputJsonValue
183271
183459
  reference_type?: NullableEnumConsentReferenceTypeFieldUpdateOperationsInput | $Enums.ConsentReferenceType | null
183272
183460
  reference_id?: NullableStringFieldUpdateOperationsInput | string | null
183461
+ evaluation_id?: NullableStringFieldUpdateOperationsInput | string | null
183273
183462
  ip_address?: NullableStringFieldUpdateOperationsInput | string | null
183274
183463
  user_agent?: NullableStringFieldUpdateOperationsInput | string | null
183275
183464
  decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
@@ -183279,11 +183468,13 @@ export namespace Prisma {
183279
183468
  export type ConsentRecordCreateManyInput = {
183280
183469
  id?: string
183281
183470
  user_id: string
183282
- outcome: $Enums.ConsentOutcome
183471
+ outcome?: $Enums.ConsentOutcome | null
183472
+ grant_status?: $Enums.ConsentGrantStatus | null
183283
183473
  consent_document_version_id: string
183284
183474
  selections?: JsonNullValueInput | InputJsonValue
183285
183475
  reference_type?: $Enums.ConsentReferenceType | null
183286
183476
  reference_id?: string | null
183477
+ evaluation_id?: string | null
183287
183478
  ip_address?: string | null
183288
183479
  user_agent?: string | null
183289
183480
  decline_reason?: string | null
@@ -183292,10 +183483,12 @@ export namespace Prisma {
183292
183483
 
183293
183484
  export type ConsentRecordUpdateManyMutationInput = {
183294
183485
  id?: StringFieldUpdateOperationsInput | string
183295
- outcome?: EnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome
183486
+ outcome?: NullableEnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome | null
183487
+ grant_status?: NullableEnumConsentGrantStatusFieldUpdateOperationsInput | $Enums.ConsentGrantStatus | null
183296
183488
  selections?: JsonNullValueInput | InputJsonValue
183297
183489
  reference_type?: NullableEnumConsentReferenceTypeFieldUpdateOperationsInput | $Enums.ConsentReferenceType | null
183298
183490
  reference_id?: NullableStringFieldUpdateOperationsInput | string | null
183491
+ evaluation_id?: NullableStringFieldUpdateOperationsInput | string | null
183299
183492
  ip_address?: NullableStringFieldUpdateOperationsInput | string | null
183300
183493
  user_agent?: NullableStringFieldUpdateOperationsInput | string | null
183301
183494
  decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
@@ -183305,11 +183498,13 @@ export namespace Prisma {
183305
183498
  export type ConsentRecordUncheckedUpdateManyInput = {
183306
183499
  id?: StringFieldUpdateOperationsInput | string
183307
183500
  user_id?: StringFieldUpdateOperationsInput | string
183308
- outcome?: EnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome
183501
+ outcome?: NullableEnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome | null
183502
+ grant_status?: NullableEnumConsentGrantStatusFieldUpdateOperationsInput | $Enums.ConsentGrantStatus | null
183309
183503
  consent_document_version_id?: StringFieldUpdateOperationsInput | string
183310
183504
  selections?: JsonNullValueInput | InputJsonValue
183311
183505
  reference_type?: NullableEnumConsentReferenceTypeFieldUpdateOperationsInput | $Enums.ConsentReferenceType | null
183312
183506
  reference_id?: NullableStringFieldUpdateOperationsInput | string | null
183507
+ evaluation_id?: NullableStringFieldUpdateOperationsInput | string | null
183313
183508
  ip_address?: NullableStringFieldUpdateOperationsInput | string | null
183314
183509
  user_agent?: NullableStringFieldUpdateOperationsInput | string | null
183315
183510
  decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
@@ -183881,7 +184076,8 @@ export namespace Prisma {
183881
184076
  offer_letter_template_snapshots?: OfferLetterCreateNestedManyWithoutTemplate_documentInput
183882
184077
  offer_draft_edited_html?: OfferCreateNestedManyWithoutDraft_edited_html_documentInput
183883
184078
  application_fit_check_report?: ApplicationCreateNestedOneWithoutFit_check_report_documentInput
183884
- consent_document_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
184079
+ terms_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
184080
+ privacy_policy_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutPrivacy_policyInput
183885
184081
  }
183886
184082
 
183887
184083
  export type DocumentUncheckedCreateInput = {
@@ -183917,7 +184113,8 @@ export namespace Prisma {
183917
184113
  offer_letter_template_snapshots?: OfferLetterUncheckedCreateNestedManyWithoutTemplate_documentInput
183918
184114
  offer_draft_edited_html?: OfferUncheckedCreateNestedManyWithoutDraft_edited_html_documentInput
183919
184115
  application_fit_check_report?: ApplicationUncheckedCreateNestedOneWithoutFit_check_report_documentInput
183920
- consent_document_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
184116
+ terms_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
184117
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutPrivacy_policyInput
183921
184118
  }
183922
184119
 
183923
184120
  export type DocumentUpdateInput = {
@@ -183953,7 +184150,8 @@ export namespace Prisma {
183953
184150
  offer_letter_template_snapshots?: OfferLetterUpdateManyWithoutTemplate_documentNestedInput
183954
184151
  offer_draft_edited_html?: OfferUpdateManyWithoutDraft_edited_html_documentNestedInput
183955
184152
  application_fit_check_report?: ApplicationUpdateOneWithoutFit_check_report_documentNestedInput
183956
- consent_document_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
184153
+ terms_consent_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
184154
+ privacy_policy_consent_versions?: ConsentDocumentVersionUpdateManyWithoutPrivacy_policyNestedInput
183957
184155
  }
183958
184156
 
183959
184157
  export type DocumentUncheckedUpdateInput = {
@@ -183989,7 +184187,8 @@ export namespace Prisma {
183989
184187
  offer_letter_template_snapshots?: OfferLetterUncheckedUpdateManyWithoutTemplate_documentNestedInput
183990
184188
  offer_draft_edited_html?: OfferUncheckedUpdateManyWithoutDraft_edited_html_documentNestedInput
183991
184189
  application_fit_check_report?: ApplicationUncheckedUpdateOneWithoutFit_check_report_documentNestedInput
183992
- consent_document_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
184190
+ terms_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
184191
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyNestedInput
183993
184192
  }
183994
184193
 
183995
184194
  export type DocumentCreateManyInput = {
@@ -198778,10 +198977,12 @@ export namespace Prisma {
198778
198977
  consent_document_id?: SortOrder
198779
198978
  version_number?: SortOrder
198780
198979
  document_id?: SortOrder
198980
+ privacy_policy_id?: SortOrder
198781
198981
  status?: SortOrder
198782
198982
  published_at?: SortOrder
198783
198983
  created_at?: SortOrder
198784
198984
  updated_at?: SortOrder
198985
+ checkboxes?: SortOrder
198785
198986
  }
198786
198987
 
198787
198988
  export type ConsentDocumentVersionAvgOrderByAggregateInput = {
@@ -198793,6 +198994,7 @@ export namespace Prisma {
198793
198994
  consent_document_id?: SortOrder
198794
198995
  version_number?: SortOrder
198795
198996
  document_id?: SortOrder
198997
+ privacy_policy_id?: SortOrder
198796
198998
  status?: SortOrder
198797
198999
  published_at?: SortOrder
198798
199000
  created_at?: SortOrder
@@ -198804,6 +199006,7 @@ export namespace Prisma {
198804
199006
  consent_document_id?: SortOrder
198805
199007
  version_number?: SortOrder
198806
199008
  document_id?: SortOrder
199009
+ privacy_policy_id?: SortOrder
198807
199010
  status?: SortOrder
198808
199011
  published_at?: SortOrder
198809
199012
  created_at?: SortOrder
@@ -198869,11 +199072,18 @@ export namespace Prisma {
198869
199072
  sort_order?: SortOrder
198870
199073
  }
198871
199074
 
198872
- export type EnumConsentOutcomeFilter<$PrismaModel = never> = {
198873
- equals?: $Enums.ConsentOutcome | EnumConsentOutcomeFieldRefInput<$PrismaModel>
198874
- in?: $Enums.ConsentOutcome[] | ListEnumConsentOutcomeFieldRefInput<$PrismaModel>
198875
- notIn?: $Enums.ConsentOutcome[] | ListEnumConsentOutcomeFieldRefInput<$PrismaModel>
198876
- not?: NestedEnumConsentOutcomeFilter<$PrismaModel> | $Enums.ConsentOutcome
199075
+ export type EnumConsentOutcomeNullableFilter<$PrismaModel = never> = {
199076
+ equals?: $Enums.ConsentOutcome | EnumConsentOutcomeFieldRefInput<$PrismaModel> | null
199077
+ in?: $Enums.ConsentOutcome[] | ListEnumConsentOutcomeFieldRefInput<$PrismaModel> | null
199078
+ notIn?: $Enums.ConsentOutcome[] | ListEnumConsentOutcomeFieldRefInput<$PrismaModel> | null
199079
+ not?: NestedEnumConsentOutcomeNullableFilter<$PrismaModel> | $Enums.ConsentOutcome | null
199080
+ }
199081
+
199082
+ export type EnumConsentGrantStatusNullableFilter<$PrismaModel = never> = {
199083
+ equals?: $Enums.ConsentGrantStatus | EnumConsentGrantStatusFieldRefInput<$PrismaModel> | null
199084
+ in?: $Enums.ConsentGrantStatus[] | ListEnumConsentGrantStatusFieldRefInput<$PrismaModel> | null
199085
+ notIn?: $Enums.ConsentGrantStatus[] | ListEnumConsentGrantStatusFieldRefInput<$PrismaModel> | null
199086
+ not?: NestedEnumConsentGrantStatusNullableFilter<$PrismaModel> | $Enums.ConsentGrantStatus | null
198877
199087
  }
198878
199088
 
198879
199089
  export type EnumConsentReferenceTypeNullableFilter<$PrismaModel = never> = {
@@ -198887,10 +199097,12 @@ export namespace Prisma {
198887
199097
  id?: SortOrder
198888
199098
  user_id?: SortOrder
198889
199099
  outcome?: SortOrder
199100
+ grant_status?: SortOrder
198890
199101
  consent_document_version_id?: SortOrder
198891
199102
  selections?: SortOrder
198892
199103
  reference_type?: SortOrder
198893
199104
  reference_id?: SortOrder
199105
+ evaluation_id?: SortOrder
198894
199106
  ip_address?: SortOrder
198895
199107
  user_agent?: SortOrder
198896
199108
  decline_reason?: SortOrder
@@ -198901,9 +199113,11 @@ export namespace Prisma {
198901
199113
  id?: SortOrder
198902
199114
  user_id?: SortOrder
198903
199115
  outcome?: SortOrder
199116
+ grant_status?: SortOrder
198904
199117
  consent_document_version_id?: SortOrder
198905
199118
  reference_type?: SortOrder
198906
199119
  reference_id?: SortOrder
199120
+ evaluation_id?: SortOrder
198907
199121
  ip_address?: SortOrder
198908
199122
  user_agent?: SortOrder
198909
199123
  decline_reason?: SortOrder
@@ -198914,23 +199128,35 @@ export namespace Prisma {
198914
199128
  id?: SortOrder
198915
199129
  user_id?: SortOrder
198916
199130
  outcome?: SortOrder
199131
+ grant_status?: SortOrder
198917
199132
  consent_document_version_id?: SortOrder
198918
199133
  reference_type?: SortOrder
198919
199134
  reference_id?: SortOrder
199135
+ evaluation_id?: SortOrder
198920
199136
  ip_address?: SortOrder
198921
199137
  user_agent?: SortOrder
198922
199138
  decline_reason?: SortOrder
198923
199139
  created_at?: SortOrder
198924
199140
  }
198925
199141
 
198926
- export type EnumConsentOutcomeWithAggregatesFilter<$PrismaModel = never> = {
198927
- equals?: $Enums.ConsentOutcome | EnumConsentOutcomeFieldRefInput<$PrismaModel>
198928
- in?: $Enums.ConsentOutcome[] | ListEnumConsentOutcomeFieldRefInput<$PrismaModel>
198929
- notIn?: $Enums.ConsentOutcome[] | ListEnumConsentOutcomeFieldRefInput<$PrismaModel>
198930
- not?: NestedEnumConsentOutcomeWithAggregatesFilter<$PrismaModel> | $Enums.ConsentOutcome
198931
- _count?: NestedIntFilter<$PrismaModel>
198932
- _min?: NestedEnumConsentOutcomeFilter<$PrismaModel>
198933
- _max?: NestedEnumConsentOutcomeFilter<$PrismaModel>
199142
+ export type EnumConsentOutcomeNullableWithAggregatesFilter<$PrismaModel = never> = {
199143
+ equals?: $Enums.ConsentOutcome | EnumConsentOutcomeFieldRefInput<$PrismaModel> | null
199144
+ in?: $Enums.ConsentOutcome[] | ListEnumConsentOutcomeFieldRefInput<$PrismaModel> | null
199145
+ notIn?: $Enums.ConsentOutcome[] | ListEnumConsentOutcomeFieldRefInput<$PrismaModel> | null
199146
+ not?: NestedEnumConsentOutcomeNullableWithAggregatesFilter<$PrismaModel> | $Enums.ConsentOutcome | null
199147
+ _count?: NestedIntNullableFilter<$PrismaModel>
199148
+ _min?: NestedEnumConsentOutcomeNullableFilter<$PrismaModel>
199149
+ _max?: NestedEnumConsentOutcomeNullableFilter<$PrismaModel>
199150
+ }
199151
+
199152
+ export type EnumConsentGrantStatusNullableWithAggregatesFilter<$PrismaModel = never> = {
199153
+ equals?: $Enums.ConsentGrantStatus | EnumConsentGrantStatusFieldRefInput<$PrismaModel> | null
199154
+ in?: $Enums.ConsentGrantStatus[] | ListEnumConsentGrantStatusFieldRefInput<$PrismaModel> | null
199155
+ notIn?: $Enums.ConsentGrantStatus[] | ListEnumConsentGrantStatusFieldRefInput<$PrismaModel> | null
199156
+ not?: NestedEnumConsentGrantStatusNullableWithAggregatesFilter<$PrismaModel> | $Enums.ConsentGrantStatus | null
199157
+ _count?: NestedIntNullableFilter<$PrismaModel>
199158
+ _min?: NestedEnumConsentGrantStatusNullableFilter<$PrismaModel>
199159
+ _max?: NestedEnumConsentGrantStatusNullableFilter<$PrismaModel>
198934
199160
  }
198935
199161
 
198936
199162
  export type EnumConsentReferenceTypeNullableWithAggregatesFilter<$PrismaModel = never> = {
@@ -208915,9 +209141,15 @@ export namespace Prisma {
208915
209141
  connect?: ConsentDocumentWhereUniqueInput
208916
209142
  }
208917
209143
 
208918
- export type DocumentCreateNestedOneWithoutConsent_document_versionsInput = {
208919
- create?: XOR<DocumentCreateWithoutConsent_document_versionsInput, DocumentUncheckedCreateWithoutConsent_document_versionsInput>
208920
- connectOrCreate?: DocumentCreateOrConnectWithoutConsent_document_versionsInput
209144
+ export type DocumentCreateNestedOneWithoutTerms_consent_versionsInput = {
209145
+ create?: XOR<DocumentCreateWithoutTerms_consent_versionsInput, DocumentUncheckedCreateWithoutTerms_consent_versionsInput>
209146
+ connectOrCreate?: DocumentCreateOrConnectWithoutTerms_consent_versionsInput
209147
+ connect?: DocumentWhereUniqueInput
209148
+ }
209149
+
209150
+ export type DocumentCreateNestedOneWithoutPrivacy_policy_consent_versionsInput = {
209151
+ create?: XOR<DocumentCreateWithoutPrivacy_policy_consent_versionsInput, DocumentUncheckedCreateWithoutPrivacy_policy_consent_versionsInput>
209152
+ connectOrCreate?: DocumentCreateOrConnectWithoutPrivacy_policy_consent_versionsInput
208921
209153
  connect?: DocumentWhereUniqueInput
208922
209154
  }
208923
209155
 
@@ -208961,14 +209193,24 @@ export namespace Prisma {
208961
209193
  update?: XOR<XOR<ConsentDocumentUpdateToOneWithWhereWithoutVersionsInput, ConsentDocumentUpdateWithoutVersionsInput>, ConsentDocumentUncheckedUpdateWithoutVersionsInput>
208962
209194
  }
208963
209195
 
208964
- export type DocumentUpdateOneWithoutConsent_document_versionsNestedInput = {
208965
- create?: XOR<DocumentCreateWithoutConsent_document_versionsInput, DocumentUncheckedCreateWithoutConsent_document_versionsInput>
208966
- connectOrCreate?: DocumentCreateOrConnectWithoutConsent_document_versionsInput
208967
- upsert?: DocumentUpsertWithoutConsent_document_versionsInput
209196
+ export type DocumentUpdateOneWithoutTerms_consent_versionsNestedInput = {
209197
+ create?: XOR<DocumentCreateWithoutTerms_consent_versionsInput, DocumentUncheckedCreateWithoutTerms_consent_versionsInput>
209198
+ connectOrCreate?: DocumentCreateOrConnectWithoutTerms_consent_versionsInput
209199
+ upsert?: DocumentUpsertWithoutTerms_consent_versionsInput
208968
209200
  disconnect?: DocumentWhereInput | boolean
208969
209201
  delete?: DocumentWhereInput | boolean
208970
209202
  connect?: DocumentWhereUniqueInput
208971
- update?: XOR<XOR<DocumentUpdateToOneWithWhereWithoutConsent_document_versionsInput, DocumentUpdateWithoutConsent_document_versionsInput>, DocumentUncheckedUpdateWithoutConsent_document_versionsInput>
209203
+ update?: XOR<XOR<DocumentUpdateToOneWithWhereWithoutTerms_consent_versionsInput, DocumentUpdateWithoutTerms_consent_versionsInput>, DocumentUncheckedUpdateWithoutTerms_consent_versionsInput>
209204
+ }
209205
+
209206
+ export type DocumentUpdateOneWithoutPrivacy_policy_consent_versionsNestedInput = {
209207
+ create?: XOR<DocumentCreateWithoutPrivacy_policy_consent_versionsInput, DocumentUncheckedCreateWithoutPrivacy_policy_consent_versionsInput>
209208
+ connectOrCreate?: DocumentCreateOrConnectWithoutPrivacy_policy_consent_versionsInput
209209
+ upsert?: DocumentUpsertWithoutPrivacy_policy_consent_versionsInput
209210
+ disconnect?: DocumentWhereInput | boolean
209211
+ delete?: DocumentWhereInput | boolean
209212
+ connect?: DocumentWhereUniqueInput
209213
+ update?: XOR<XOR<DocumentUpdateToOneWithWhereWithoutPrivacy_policy_consent_versionsInput, DocumentUpdateWithoutPrivacy_policy_consent_versionsInput>, DocumentUncheckedUpdateWithoutPrivacy_policy_consent_versionsInput>
208972
209214
  }
208973
209215
 
208974
209216
  export type ConsentCheckboxDefinitionUpdateManyWithoutConsent_document_versionNestedInput = {
@@ -209027,18 +209269,18 @@ export namespace Prisma {
209027
209269
  deleteMany?: ConsentRecordScalarWhereInput | ConsentRecordScalarWhereInput[]
209028
209270
  }
209029
209271
 
209030
- export type ConsentDocumentVersionCreateNestedOneWithoutCheckboxesInput = {
209031
- create?: XOR<ConsentDocumentVersionCreateWithoutCheckboxesInput, ConsentDocumentVersionUncheckedCreateWithoutCheckboxesInput>
209032
- connectOrCreate?: ConsentDocumentVersionCreateOrConnectWithoutCheckboxesInput
209272
+ export type ConsentDocumentVersionCreateNestedOneWithoutCheckbox_definitionsInput = {
209273
+ create?: XOR<ConsentDocumentVersionCreateWithoutCheckbox_definitionsInput, ConsentDocumentVersionUncheckedCreateWithoutCheckbox_definitionsInput>
209274
+ connectOrCreate?: ConsentDocumentVersionCreateOrConnectWithoutCheckbox_definitionsInput
209033
209275
  connect?: ConsentDocumentVersionWhereUniqueInput
209034
209276
  }
209035
209277
 
209036
- export type ConsentDocumentVersionUpdateOneRequiredWithoutCheckboxesNestedInput = {
209037
- create?: XOR<ConsentDocumentVersionCreateWithoutCheckboxesInput, ConsentDocumentVersionUncheckedCreateWithoutCheckboxesInput>
209038
- connectOrCreate?: ConsentDocumentVersionCreateOrConnectWithoutCheckboxesInput
209039
- upsert?: ConsentDocumentVersionUpsertWithoutCheckboxesInput
209278
+ export type ConsentDocumentVersionUpdateOneRequiredWithoutCheckbox_definitionsNestedInput = {
209279
+ create?: XOR<ConsentDocumentVersionCreateWithoutCheckbox_definitionsInput, ConsentDocumentVersionUncheckedCreateWithoutCheckbox_definitionsInput>
209280
+ connectOrCreate?: ConsentDocumentVersionCreateOrConnectWithoutCheckbox_definitionsInput
209281
+ upsert?: ConsentDocumentVersionUpsertWithoutCheckbox_definitionsInput
209040
209282
  connect?: ConsentDocumentVersionWhereUniqueInput
209041
- update?: XOR<XOR<ConsentDocumentVersionUpdateToOneWithWhereWithoutCheckboxesInput, ConsentDocumentVersionUpdateWithoutCheckboxesInput>, ConsentDocumentVersionUncheckedUpdateWithoutCheckboxesInput>
209283
+ update?: XOR<XOR<ConsentDocumentVersionUpdateToOneWithWhereWithoutCheckbox_definitionsInput, ConsentDocumentVersionUpdateWithoutCheckbox_definitionsInput>, ConsentDocumentVersionUncheckedUpdateWithoutCheckbox_definitionsInput>
209042
209284
  }
209043
209285
 
209044
209286
  export type UserCreateNestedOneWithoutConsent_recordsInput = {
@@ -209053,8 +209295,12 @@ export namespace Prisma {
209053
209295
  connect?: ConsentDocumentVersionWhereUniqueInput
209054
209296
  }
209055
209297
 
209056
- export type EnumConsentOutcomeFieldUpdateOperationsInput = {
209057
- set?: $Enums.ConsentOutcome
209298
+ export type NullableEnumConsentOutcomeFieldUpdateOperationsInput = {
209299
+ set?: $Enums.ConsentOutcome | null
209300
+ }
209301
+
209302
+ export type NullableEnumConsentGrantStatusFieldUpdateOperationsInput = {
209303
+ set?: $Enums.ConsentGrantStatus | null
209058
209304
  }
209059
209305
 
209060
209306
  export type NullableEnumConsentReferenceTypeFieldUpdateOperationsInput = {
@@ -209602,6 +209848,13 @@ export namespace Prisma {
209602
209848
  connect?: ConsentDocumentVersionWhereUniqueInput | ConsentDocumentVersionWhereUniqueInput[]
209603
209849
  }
209604
209850
 
209851
+ export type ConsentDocumentVersionCreateNestedManyWithoutPrivacy_policyInput = {
209852
+ create?: XOR<ConsentDocumentVersionCreateWithoutPrivacy_policyInput, ConsentDocumentVersionUncheckedCreateWithoutPrivacy_policyInput> | ConsentDocumentVersionCreateWithoutPrivacy_policyInput[] | ConsentDocumentVersionUncheckedCreateWithoutPrivacy_policyInput[]
209853
+ connectOrCreate?: ConsentDocumentVersionCreateOrConnectWithoutPrivacy_policyInput | ConsentDocumentVersionCreateOrConnectWithoutPrivacy_policyInput[]
209854
+ createMany?: ConsentDocumentVersionCreateManyPrivacy_policyInputEnvelope
209855
+ connect?: ConsentDocumentVersionWhereUniqueInput | ConsentDocumentVersionWhereUniqueInput[]
209856
+ }
209857
+
209605
209858
  export type ResumeUncheckedCreateNestedOneWithoutDocumentInput = {
209606
209859
  create?: XOR<ResumeCreateWithoutDocumentInput, ResumeUncheckedCreateWithoutDocumentInput>
209607
209860
  connectOrCreate?: ResumeCreateOrConnectWithoutDocumentInput
@@ -209705,6 +209958,13 @@ export namespace Prisma {
209705
209958
  connect?: ConsentDocumentVersionWhereUniqueInput | ConsentDocumentVersionWhereUniqueInput[]
209706
209959
  }
209707
209960
 
209961
+ export type ConsentDocumentVersionUncheckedCreateNestedManyWithoutPrivacy_policyInput = {
209962
+ create?: XOR<ConsentDocumentVersionCreateWithoutPrivacy_policyInput, ConsentDocumentVersionUncheckedCreateWithoutPrivacy_policyInput> | ConsentDocumentVersionCreateWithoutPrivacy_policyInput[] | ConsentDocumentVersionUncheckedCreateWithoutPrivacy_policyInput[]
209963
+ connectOrCreate?: ConsentDocumentVersionCreateOrConnectWithoutPrivacy_policyInput | ConsentDocumentVersionCreateOrConnectWithoutPrivacy_policyInput[]
209964
+ createMany?: ConsentDocumentVersionCreateManyPrivacy_policyInputEnvelope
209965
+ connect?: ConsentDocumentVersionWhereUniqueInput | ConsentDocumentVersionWhereUniqueInput[]
209966
+ }
209967
+
209708
209968
  export type NullableBigIntFieldUpdateOperationsInput = {
209709
209969
  set?: bigint | number | null
209710
209970
  increment?: bigint | number
@@ -209921,6 +210181,20 @@ export namespace Prisma {
209921
210181
  deleteMany?: ConsentDocumentVersionScalarWhereInput | ConsentDocumentVersionScalarWhereInput[]
209922
210182
  }
209923
210183
 
210184
+ export type ConsentDocumentVersionUpdateManyWithoutPrivacy_policyNestedInput = {
210185
+ create?: XOR<ConsentDocumentVersionCreateWithoutPrivacy_policyInput, ConsentDocumentVersionUncheckedCreateWithoutPrivacy_policyInput> | ConsentDocumentVersionCreateWithoutPrivacy_policyInput[] | ConsentDocumentVersionUncheckedCreateWithoutPrivacy_policyInput[]
210186
+ connectOrCreate?: ConsentDocumentVersionCreateOrConnectWithoutPrivacy_policyInput | ConsentDocumentVersionCreateOrConnectWithoutPrivacy_policyInput[]
210187
+ upsert?: ConsentDocumentVersionUpsertWithWhereUniqueWithoutPrivacy_policyInput | ConsentDocumentVersionUpsertWithWhereUniqueWithoutPrivacy_policyInput[]
210188
+ createMany?: ConsentDocumentVersionCreateManyPrivacy_policyInputEnvelope
210189
+ set?: ConsentDocumentVersionWhereUniqueInput | ConsentDocumentVersionWhereUniqueInput[]
210190
+ disconnect?: ConsentDocumentVersionWhereUniqueInput | ConsentDocumentVersionWhereUniqueInput[]
210191
+ delete?: ConsentDocumentVersionWhereUniqueInput | ConsentDocumentVersionWhereUniqueInput[]
210192
+ connect?: ConsentDocumentVersionWhereUniqueInput | ConsentDocumentVersionWhereUniqueInput[]
210193
+ update?: ConsentDocumentVersionUpdateWithWhereUniqueWithoutPrivacy_policyInput | ConsentDocumentVersionUpdateWithWhereUniqueWithoutPrivacy_policyInput[]
210194
+ updateMany?: ConsentDocumentVersionUpdateManyWithWhereWithoutPrivacy_policyInput | ConsentDocumentVersionUpdateManyWithWhereWithoutPrivacy_policyInput[]
210195
+ deleteMany?: ConsentDocumentVersionScalarWhereInput | ConsentDocumentVersionScalarWhereInput[]
210196
+ }
210197
+
209924
210198
  export type ResumeUncheckedUpdateOneWithoutDocumentNestedInput = {
209925
210199
  create?: XOR<ResumeCreateWithoutDocumentInput, ResumeUncheckedCreateWithoutDocumentInput>
209926
210200
  connectOrCreate?: ResumeCreateOrConnectWithoutDocumentInput
@@ -210109,6 +210383,20 @@ export namespace Prisma {
210109
210383
  deleteMany?: ConsentDocumentVersionScalarWhereInput | ConsentDocumentVersionScalarWhereInput[]
210110
210384
  }
210111
210385
 
210386
+ export type ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyNestedInput = {
210387
+ create?: XOR<ConsentDocumentVersionCreateWithoutPrivacy_policyInput, ConsentDocumentVersionUncheckedCreateWithoutPrivacy_policyInput> | ConsentDocumentVersionCreateWithoutPrivacy_policyInput[] | ConsentDocumentVersionUncheckedCreateWithoutPrivacy_policyInput[]
210388
+ connectOrCreate?: ConsentDocumentVersionCreateOrConnectWithoutPrivacy_policyInput | ConsentDocumentVersionCreateOrConnectWithoutPrivacy_policyInput[]
210389
+ upsert?: ConsentDocumentVersionUpsertWithWhereUniqueWithoutPrivacy_policyInput | ConsentDocumentVersionUpsertWithWhereUniqueWithoutPrivacy_policyInput[]
210390
+ createMany?: ConsentDocumentVersionCreateManyPrivacy_policyInputEnvelope
210391
+ set?: ConsentDocumentVersionWhereUniqueInput | ConsentDocumentVersionWhereUniqueInput[]
210392
+ disconnect?: ConsentDocumentVersionWhereUniqueInput | ConsentDocumentVersionWhereUniqueInput[]
210393
+ delete?: ConsentDocumentVersionWhereUniqueInput | ConsentDocumentVersionWhereUniqueInput[]
210394
+ connect?: ConsentDocumentVersionWhereUniqueInput | ConsentDocumentVersionWhereUniqueInput[]
210395
+ update?: ConsentDocumentVersionUpdateWithWhereUniqueWithoutPrivacy_policyInput | ConsentDocumentVersionUpdateWithWhereUniqueWithoutPrivacy_policyInput[]
210396
+ updateMany?: ConsentDocumentVersionUpdateManyWithWhereWithoutPrivacy_policyInput | ConsentDocumentVersionUpdateManyWithWhereWithoutPrivacy_policyInput[]
210397
+ deleteMany?: ConsentDocumentVersionScalarWhereInput | ConsentDocumentVersionScalarWhereInput[]
210398
+ }
210399
+
210112
210400
  export type OrganisationCreateNestedOneWithoutEvaluation_criteriaInput = {
210113
210401
  create?: XOR<OrganisationCreateWithoutEvaluation_criteriaInput, OrganisationUncheckedCreateWithoutEvaluation_criteriaInput>
210114
210402
  connectOrCreate?: OrganisationCreateOrConnectWithoutEvaluation_criteriaInput
@@ -219504,11 +219792,18 @@ export namespace Prisma {
219504
219792
  _max?: NestedEnumConsentCatalogVersionStatusFilter<$PrismaModel>
219505
219793
  }
219506
219794
 
219507
- export type NestedEnumConsentOutcomeFilter<$PrismaModel = never> = {
219508
- equals?: $Enums.ConsentOutcome | EnumConsentOutcomeFieldRefInput<$PrismaModel>
219509
- in?: $Enums.ConsentOutcome[] | ListEnumConsentOutcomeFieldRefInput<$PrismaModel>
219510
- notIn?: $Enums.ConsentOutcome[] | ListEnumConsentOutcomeFieldRefInput<$PrismaModel>
219511
- not?: NestedEnumConsentOutcomeFilter<$PrismaModel> | $Enums.ConsentOutcome
219795
+ export type NestedEnumConsentOutcomeNullableFilter<$PrismaModel = never> = {
219796
+ equals?: $Enums.ConsentOutcome | EnumConsentOutcomeFieldRefInput<$PrismaModel> | null
219797
+ in?: $Enums.ConsentOutcome[] | ListEnumConsentOutcomeFieldRefInput<$PrismaModel> | null
219798
+ notIn?: $Enums.ConsentOutcome[] | ListEnumConsentOutcomeFieldRefInput<$PrismaModel> | null
219799
+ not?: NestedEnumConsentOutcomeNullableFilter<$PrismaModel> | $Enums.ConsentOutcome | null
219800
+ }
219801
+
219802
+ export type NestedEnumConsentGrantStatusNullableFilter<$PrismaModel = never> = {
219803
+ equals?: $Enums.ConsentGrantStatus | EnumConsentGrantStatusFieldRefInput<$PrismaModel> | null
219804
+ in?: $Enums.ConsentGrantStatus[] | ListEnumConsentGrantStatusFieldRefInput<$PrismaModel> | null
219805
+ notIn?: $Enums.ConsentGrantStatus[] | ListEnumConsentGrantStatusFieldRefInput<$PrismaModel> | null
219806
+ not?: NestedEnumConsentGrantStatusNullableFilter<$PrismaModel> | $Enums.ConsentGrantStatus | null
219512
219807
  }
219513
219808
 
219514
219809
  export type NestedEnumConsentReferenceTypeNullableFilter<$PrismaModel = never> = {
@@ -219518,14 +219813,24 @@ export namespace Prisma {
219518
219813
  not?: NestedEnumConsentReferenceTypeNullableFilter<$PrismaModel> | $Enums.ConsentReferenceType | null
219519
219814
  }
219520
219815
 
219521
- export type NestedEnumConsentOutcomeWithAggregatesFilter<$PrismaModel = never> = {
219522
- equals?: $Enums.ConsentOutcome | EnumConsentOutcomeFieldRefInput<$PrismaModel>
219523
- in?: $Enums.ConsentOutcome[] | ListEnumConsentOutcomeFieldRefInput<$PrismaModel>
219524
- notIn?: $Enums.ConsentOutcome[] | ListEnumConsentOutcomeFieldRefInput<$PrismaModel>
219525
- not?: NestedEnumConsentOutcomeWithAggregatesFilter<$PrismaModel> | $Enums.ConsentOutcome
219526
- _count?: NestedIntFilter<$PrismaModel>
219527
- _min?: NestedEnumConsentOutcomeFilter<$PrismaModel>
219528
- _max?: NestedEnumConsentOutcomeFilter<$PrismaModel>
219816
+ export type NestedEnumConsentOutcomeNullableWithAggregatesFilter<$PrismaModel = never> = {
219817
+ equals?: $Enums.ConsentOutcome | EnumConsentOutcomeFieldRefInput<$PrismaModel> | null
219818
+ in?: $Enums.ConsentOutcome[] | ListEnumConsentOutcomeFieldRefInput<$PrismaModel> | null
219819
+ notIn?: $Enums.ConsentOutcome[] | ListEnumConsentOutcomeFieldRefInput<$PrismaModel> | null
219820
+ not?: NestedEnumConsentOutcomeNullableWithAggregatesFilter<$PrismaModel> | $Enums.ConsentOutcome | null
219821
+ _count?: NestedIntNullableFilter<$PrismaModel>
219822
+ _min?: NestedEnumConsentOutcomeNullableFilter<$PrismaModel>
219823
+ _max?: NestedEnumConsentOutcomeNullableFilter<$PrismaModel>
219824
+ }
219825
+
219826
+ export type NestedEnumConsentGrantStatusNullableWithAggregatesFilter<$PrismaModel = never> = {
219827
+ equals?: $Enums.ConsentGrantStatus | EnumConsentGrantStatusFieldRefInput<$PrismaModel> | null
219828
+ in?: $Enums.ConsentGrantStatus[] | ListEnumConsentGrantStatusFieldRefInput<$PrismaModel> | null
219829
+ notIn?: $Enums.ConsentGrantStatus[] | ListEnumConsentGrantStatusFieldRefInput<$PrismaModel> | null
219830
+ not?: NestedEnumConsentGrantStatusNullableWithAggregatesFilter<$PrismaModel> | $Enums.ConsentGrantStatus | null
219831
+ _count?: NestedIntNullableFilter<$PrismaModel>
219832
+ _min?: NestedEnumConsentGrantStatusNullableFilter<$PrismaModel>
219833
+ _max?: NestedEnumConsentGrantStatusNullableFilter<$PrismaModel>
219529
219834
  }
219530
219835
 
219531
219836
  export type NestedEnumConsentReferenceTypeNullableWithAggregatesFilter<$PrismaModel = never> = {
@@ -224912,7 +225217,8 @@ export namespace Prisma {
224912
225217
  offer_letters?: OfferLetterCreateNestedManyWithoutDocumentInput
224913
225218
  offer_letter_template_snapshots?: OfferLetterCreateNestedManyWithoutTemplate_documentInput
224914
225219
  offer_draft_edited_html?: OfferCreateNestedManyWithoutDraft_edited_html_documentInput
224915
- consent_document_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
225220
+ terms_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
225221
+ privacy_policy_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutPrivacy_policyInput
224916
225222
  }
224917
225223
 
224918
225224
  export type DocumentUncheckedCreateWithoutApplication_fit_check_reportInput = {
@@ -224947,7 +225253,8 @@ export namespace Prisma {
224947
225253
  offer_letters?: OfferLetterUncheckedCreateNestedManyWithoutDocumentInput
224948
225254
  offer_letter_template_snapshots?: OfferLetterUncheckedCreateNestedManyWithoutTemplate_documentInput
224949
225255
  offer_draft_edited_html?: OfferUncheckedCreateNestedManyWithoutDraft_edited_html_documentInput
224950
- consent_document_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
225256
+ terms_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
225257
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutPrivacy_policyInput
224951
225258
  }
224952
225259
 
224953
225260
  export type DocumentCreateOrConnectWithoutApplication_fit_check_reportInput = {
@@ -226327,7 +226634,8 @@ export namespace Prisma {
226327
226634
  offer_letters?: OfferLetterUpdateManyWithoutDocumentNestedInput
226328
226635
  offer_letter_template_snapshots?: OfferLetterUpdateManyWithoutTemplate_documentNestedInput
226329
226636
  offer_draft_edited_html?: OfferUpdateManyWithoutDraft_edited_html_documentNestedInput
226330
- consent_document_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
226637
+ terms_consent_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
226638
+ privacy_policy_consent_versions?: ConsentDocumentVersionUpdateManyWithoutPrivacy_policyNestedInput
226331
226639
  }
226332
226640
 
226333
226641
  export type DocumentUncheckedUpdateWithoutApplication_fit_check_reportInput = {
@@ -226362,7 +226670,8 @@ export namespace Prisma {
226362
226670
  offer_letters?: OfferLetterUncheckedUpdateManyWithoutDocumentNestedInput
226363
226671
  offer_letter_template_snapshots?: OfferLetterUncheckedUpdateManyWithoutTemplate_documentNestedInput
226364
226672
  offer_draft_edited_html?: OfferUncheckedUpdateManyWithoutDraft_edited_html_documentNestedInput
226365
- consent_document_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
226673
+ terms_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
226674
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyNestedInput
226366
226675
  }
226367
226676
 
226368
226677
  export type JobDescriptionCreateWithoutApprovalsInput = {
@@ -230635,7 +230944,8 @@ export namespace Prisma {
230635
230944
  offer_letter_template_snapshots?: OfferLetterCreateNestedManyWithoutTemplate_documentInput
230636
230945
  offer_draft_edited_html?: OfferCreateNestedManyWithoutDraft_edited_html_documentInput
230637
230946
  application_fit_check_report?: ApplicationCreateNestedOneWithoutFit_check_report_documentInput
230638
- consent_document_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
230947
+ terms_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
230948
+ privacy_policy_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutPrivacy_policyInput
230639
230949
  }
230640
230950
 
230641
230951
  export type DocumentUncheckedCreateWithoutAssignment_solutionInput = {
@@ -230670,7 +230980,8 @@ export namespace Prisma {
230670
230980
  offer_letter_template_snapshots?: OfferLetterUncheckedCreateNestedManyWithoutTemplate_documentInput
230671
230981
  offer_draft_edited_html?: OfferUncheckedCreateNestedManyWithoutDraft_edited_html_documentInput
230672
230982
  application_fit_check_report?: ApplicationUncheckedCreateNestedOneWithoutFit_check_report_documentInput
230673
- consent_document_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
230983
+ terms_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
230984
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutPrivacy_policyInput
230674
230985
  }
230675
230986
 
230676
230987
  export type DocumentCreateOrConnectWithoutAssignment_solutionInput = {
@@ -230710,7 +231021,8 @@ export namespace Prisma {
230710
231021
  offer_letter_template_snapshots?: OfferLetterCreateNestedManyWithoutTemplate_documentInput
230711
231022
  offer_draft_edited_html?: OfferCreateNestedManyWithoutDraft_edited_html_documentInput
230712
231023
  application_fit_check_report?: ApplicationCreateNestedOneWithoutFit_check_report_documentInput
230713
- consent_document_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
231024
+ terms_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
231025
+ privacy_policy_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutPrivacy_policyInput
230714
231026
  }
230715
231027
 
230716
231028
  export type DocumentUncheckedCreateWithoutAssignment_zipInput = {
@@ -230745,7 +231057,8 @@ export namespace Prisma {
230745
231057
  offer_letter_template_snapshots?: OfferLetterUncheckedCreateNestedManyWithoutTemplate_documentInput
230746
231058
  offer_draft_edited_html?: OfferUncheckedCreateNestedManyWithoutDraft_edited_html_documentInput
230747
231059
  application_fit_check_report?: ApplicationUncheckedCreateNestedOneWithoutFit_check_report_documentInput
230748
- consent_document_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
231060
+ terms_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
231061
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutPrivacy_policyInput
230749
231062
  }
230750
231063
 
230751
231064
  export type DocumentCreateOrConnectWithoutAssignment_zipInput = {
@@ -231653,7 +231966,8 @@ export namespace Prisma {
231653
231966
  offer_letter_template_snapshots?: OfferLetterUpdateManyWithoutTemplate_documentNestedInput
231654
231967
  offer_draft_edited_html?: OfferUpdateManyWithoutDraft_edited_html_documentNestedInput
231655
231968
  application_fit_check_report?: ApplicationUpdateOneWithoutFit_check_report_documentNestedInput
231656
- consent_document_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
231969
+ terms_consent_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
231970
+ privacy_policy_consent_versions?: ConsentDocumentVersionUpdateManyWithoutPrivacy_policyNestedInput
231657
231971
  }
231658
231972
 
231659
231973
  export type DocumentUncheckedUpdateWithoutAssignment_solutionInput = {
@@ -231688,7 +232002,8 @@ export namespace Prisma {
231688
232002
  offer_letter_template_snapshots?: OfferLetterUncheckedUpdateManyWithoutTemplate_documentNestedInput
231689
232003
  offer_draft_edited_html?: OfferUncheckedUpdateManyWithoutDraft_edited_html_documentNestedInput
231690
232004
  application_fit_check_report?: ApplicationUncheckedUpdateOneWithoutFit_check_report_documentNestedInput
231691
- consent_document_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
232005
+ terms_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
232006
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyNestedInput
231692
232007
  }
231693
232008
 
231694
232009
  export type DocumentUpsertWithoutAssignment_zipInput = {
@@ -231734,7 +232049,8 @@ export namespace Prisma {
231734
232049
  offer_letter_template_snapshots?: OfferLetterUpdateManyWithoutTemplate_documentNestedInput
231735
232050
  offer_draft_edited_html?: OfferUpdateManyWithoutDraft_edited_html_documentNestedInput
231736
232051
  application_fit_check_report?: ApplicationUpdateOneWithoutFit_check_report_documentNestedInput
231737
- consent_document_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
232052
+ terms_consent_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
232053
+ privacy_policy_consent_versions?: ConsentDocumentVersionUpdateManyWithoutPrivacy_policyNestedInput
231738
232054
  }
231739
232055
 
231740
232056
  export type DocumentUncheckedUpdateWithoutAssignment_zipInput = {
@@ -231769,7 +232085,8 @@ export namespace Prisma {
231769
232085
  offer_letter_template_snapshots?: OfferLetterUncheckedUpdateManyWithoutTemplate_documentNestedInput
231770
232086
  offer_draft_edited_html?: OfferUncheckedUpdateManyWithoutDraft_edited_html_documentNestedInput
231771
232087
  application_fit_check_report?: ApplicationUncheckedUpdateOneWithoutFit_check_report_documentNestedInput
231772
- consent_document_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
232088
+ terms_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
232089
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyNestedInput
231773
232090
  }
231774
232091
 
231775
232092
  export type OrganisationCreateWithoutAssignment_libraryInput = {
@@ -236721,8 +237038,10 @@ export namespace Prisma {
236721
237038
  published_at?: Date | string | null
236722
237039
  created_at?: Date | string
236723
237040
  updated_at?: Date | string
236724
- document?: DocumentCreateNestedOneWithoutConsent_document_versionsInput
236725
- checkboxes?: ConsentCheckboxDefinitionCreateNestedManyWithoutConsent_document_versionInput
237041
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
237042
+ document?: DocumentCreateNestedOneWithoutTerms_consent_versionsInput
237043
+ privacy_policy?: DocumentCreateNestedOneWithoutPrivacy_policy_consent_versionsInput
237044
+ checkbox_definitions?: ConsentCheckboxDefinitionCreateNestedManyWithoutConsent_document_versionInput
236726
237045
  consent_records?: ConsentRecordCreateNestedManyWithoutConsent_document_versionInput
236727
237046
  }
236728
237047
 
@@ -236730,11 +237049,13 @@ export namespace Prisma {
236730
237049
  id?: string
236731
237050
  version_number: number
236732
237051
  document_id?: string | null
237052
+ privacy_policy_id?: string | null
236733
237053
  status?: $Enums.ConsentCatalogVersionStatus
236734
237054
  published_at?: Date | string | null
236735
237055
  created_at?: Date | string
236736
237056
  updated_at?: Date | string
236737
- checkboxes?: ConsentCheckboxDefinitionUncheckedCreateNestedManyWithoutConsent_document_versionInput
237057
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
237058
+ checkbox_definitions?: ConsentCheckboxDefinitionUncheckedCreateNestedManyWithoutConsent_document_versionInput
236738
237059
  consent_records?: ConsentRecordUncheckedCreateNestedManyWithoutConsent_document_versionInput
236739
237060
  }
236740
237061
 
@@ -236919,10 +237240,12 @@ export namespace Prisma {
236919
237240
  consent_document_id?: StringFilter<"ConsentDocumentVersion"> | string
236920
237241
  version_number?: IntFilter<"ConsentDocumentVersion"> | number
236921
237242
  document_id?: StringNullableFilter<"ConsentDocumentVersion"> | string | null
237243
+ privacy_policy_id?: StringNullableFilter<"ConsentDocumentVersion"> | string | null
236922
237244
  status?: EnumConsentCatalogVersionStatusFilter<"ConsentDocumentVersion"> | $Enums.ConsentCatalogVersionStatus
236923
237245
  published_at?: DateTimeNullableFilter<"ConsentDocumentVersion"> | Date | string | null
236924
237246
  created_at?: DateTimeFilter<"ConsentDocumentVersion"> | Date | string
236925
237247
  updated_at?: DateTimeFilter<"ConsentDocumentVersion"> | Date | string
237248
+ checkboxes?: JsonNullableFilter<"ConsentDocumentVersion">
236926
237249
  }
236927
237250
 
236928
237251
  export type ConsentDocumentCreateWithoutVersionsInput = {
@@ -236946,7 +237269,84 @@ export namespace Prisma {
236946
237269
  create: XOR<ConsentDocumentCreateWithoutVersionsInput, ConsentDocumentUncheckedCreateWithoutVersionsInput>
236947
237270
  }
236948
237271
 
236949
- export type DocumentCreateWithoutConsent_document_versionsInput = {
237272
+ export type DocumentCreateWithoutTerms_consent_versionsInput = {
237273
+ id?: string
237274
+ original_file_name: string
237275
+ stored_file_name: string
237276
+ file_extension?: string | null
237277
+ s3_bucket?: string | null
237278
+ s3_key?: string | null
237279
+ mime_type?: string | null
237280
+ file_size?: bigint | number | null
237281
+ file_hash?: string | null
237282
+ metadata?: NullableJsonNullValueInput | InputJsonValue
237283
+ created_at?: Date | string
237284
+ updated_at?: Date | string
237285
+ created_by: string
237286
+ updated_by: string
237287
+ is_active?: boolean
237288
+ organisation?: OrganisationCreateNestedOneWithoutDocumentsInput
237289
+ candidate?: UserCreateNestedOneWithoutDocumentsInput
237290
+ resume?: ResumeCreateNestedOneWithoutDocumentInput
237291
+ resume_rendered_export?: ResumeCreateNestedOneWithoutRendered_export_documentInput
237292
+ job_description_source?: JobDescriptionCreateNestedOneWithoutSource_documentInput
237293
+ job_description_rendered?: JobDescriptionCreateNestedOneWithoutRendered_jd_documentInput
237294
+ job_description_display_html?: JobDescriptionCreateNestedOneWithoutDisplay_html_documentInput
237295
+ interview_recording?: InterviewCreateNestedOneWithoutRecording_documentInput
237296
+ job_application_responses?: JobApplicationResponseCreateNestedManyWithoutDocumentInput
237297
+ assignment_solution?: AssignmentCreateNestedOneWithoutSolution_documentInput
237298
+ assignment_zip?: AssignmentCreateNestedOneWithoutZip_documentInput
237299
+ offer_letter_template_docx?: OfferLetterTemplateCreateNestedManyWithoutDocumentInput
237300
+ offer_letter_template_html?: OfferLetterTemplateCreateNestedManyWithoutHtml_documentInput
237301
+ offer_letters?: OfferLetterCreateNestedManyWithoutDocumentInput
237302
+ offer_letter_template_snapshots?: OfferLetterCreateNestedManyWithoutTemplate_documentInput
237303
+ offer_draft_edited_html?: OfferCreateNestedManyWithoutDraft_edited_html_documentInput
237304
+ application_fit_check_report?: ApplicationCreateNestedOneWithoutFit_check_report_documentInput
237305
+ privacy_policy_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutPrivacy_policyInput
237306
+ }
237307
+
237308
+ export type DocumentUncheckedCreateWithoutTerms_consent_versionsInput = {
237309
+ id?: string
237310
+ organisation_id?: string | null
237311
+ candidate_id?: string | null
237312
+ original_file_name: string
237313
+ stored_file_name: string
237314
+ file_extension?: string | null
237315
+ s3_bucket?: string | null
237316
+ s3_key?: string | null
237317
+ mime_type?: string | null
237318
+ file_size?: bigint | number | null
237319
+ file_hash?: string | null
237320
+ metadata?: NullableJsonNullValueInput | InputJsonValue
237321
+ created_at?: Date | string
237322
+ updated_at?: Date | string
237323
+ created_by: string
237324
+ updated_by: string
237325
+ is_active?: boolean
237326
+ resume?: ResumeUncheckedCreateNestedOneWithoutDocumentInput
237327
+ resume_rendered_export?: ResumeUncheckedCreateNestedOneWithoutRendered_export_documentInput
237328
+ job_description_source?: JobDescriptionUncheckedCreateNestedOneWithoutSource_documentInput
237329
+ job_description_rendered?: JobDescriptionUncheckedCreateNestedOneWithoutRendered_jd_documentInput
237330
+ job_description_display_html?: JobDescriptionUncheckedCreateNestedOneWithoutDisplay_html_documentInput
237331
+ interview_recording?: InterviewUncheckedCreateNestedOneWithoutRecording_documentInput
237332
+ job_application_responses?: JobApplicationResponseUncheckedCreateNestedManyWithoutDocumentInput
237333
+ assignment_solution?: AssignmentUncheckedCreateNestedOneWithoutSolution_documentInput
237334
+ assignment_zip?: AssignmentUncheckedCreateNestedOneWithoutZip_documentInput
237335
+ offer_letter_template_docx?: OfferLetterTemplateUncheckedCreateNestedManyWithoutDocumentInput
237336
+ offer_letter_template_html?: OfferLetterTemplateUncheckedCreateNestedManyWithoutHtml_documentInput
237337
+ offer_letters?: OfferLetterUncheckedCreateNestedManyWithoutDocumentInput
237338
+ offer_letter_template_snapshots?: OfferLetterUncheckedCreateNestedManyWithoutTemplate_documentInput
237339
+ offer_draft_edited_html?: OfferUncheckedCreateNestedManyWithoutDraft_edited_html_documentInput
237340
+ application_fit_check_report?: ApplicationUncheckedCreateNestedOneWithoutFit_check_report_documentInput
237341
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutPrivacy_policyInput
237342
+ }
237343
+
237344
+ export type DocumentCreateOrConnectWithoutTerms_consent_versionsInput = {
237345
+ where: DocumentWhereUniqueInput
237346
+ create: XOR<DocumentCreateWithoutTerms_consent_versionsInput, DocumentUncheckedCreateWithoutTerms_consent_versionsInput>
237347
+ }
237348
+
237349
+ export type DocumentCreateWithoutPrivacy_policy_consent_versionsInput = {
236950
237350
  id?: string
236951
237351
  original_file_name: string
236952
237352
  stored_file_name: string
@@ -236979,9 +237379,10 @@ export namespace Prisma {
236979
237379
  offer_letter_template_snapshots?: OfferLetterCreateNestedManyWithoutTemplate_documentInput
236980
237380
  offer_draft_edited_html?: OfferCreateNestedManyWithoutDraft_edited_html_documentInput
236981
237381
  application_fit_check_report?: ApplicationCreateNestedOneWithoutFit_check_report_documentInput
237382
+ terms_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
236982
237383
  }
236983
237384
 
236984
- export type DocumentUncheckedCreateWithoutConsent_document_versionsInput = {
237385
+ export type DocumentUncheckedCreateWithoutPrivacy_policy_consent_versionsInput = {
236985
237386
  id?: string
236986
237387
  organisation_id?: string | null
236987
237388
  candidate_id?: string | null
@@ -237014,11 +237415,12 @@ export namespace Prisma {
237014
237415
  offer_letter_template_snapshots?: OfferLetterUncheckedCreateNestedManyWithoutTemplate_documentInput
237015
237416
  offer_draft_edited_html?: OfferUncheckedCreateNestedManyWithoutDraft_edited_html_documentInput
237016
237417
  application_fit_check_report?: ApplicationUncheckedCreateNestedOneWithoutFit_check_report_documentInput
237418
+ terms_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
237017
237419
  }
237018
237420
 
237019
- export type DocumentCreateOrConnectWithoutConsent_document_versionsInput = {
237421
+ export type DocumentCreateOrConnectWithoutPrivacy_policy_consent_versionsInput = {
237020
237422
  where: DocumentWhereUniqueInput
237021
- create: XOR<DocumentCreateWithoutConsent_document_versionsInput, DocumentUncheckedCreateWithoutConsent_document_versionsInput>
237423
+ create: XOR<DocumentCreateWithoutPrivacy_policy_consent_versionsInput, DocumentUncheckedCreateWithoutPrivacy_policy_consent_versionsInput>
237022
237424
  }
237023
237425
 
237024
237426
  export type ConsentCheckboxDefinitionCreateWithoutConsent_document_versionInput = {
@@ -237049,10 +237451,12 @@ export namespace Prisma {
237049
237451
 
237050
237452
  export type ConsentRecordCreateWithoutConsent_document_versionInput = {
237051
237453
  id?: string
237052
- outcome: $Enums.ConsentOutcome
237454
+ outcome?: $Enums.ConsentOutcome | null
237455
+ grant_status?: $Enums.ConsentGrantStatus | null
237053
237456
  selections?: JsonNullValueInput | InputJsonValue
237054
237457
  reference_type?: $Enums.ConsentReferenceType | null
237055
237458
  reference_id?: string | null
237459
+ evaluation_id?: string | null
237056
237460
  ip_address?: string | null
237057
237461
  user_agent?: string | null
237058
237462
  decline_reason?: string | null
@@ -237063,10 +237467,12 @@ export namespace Prisma {
237063
237467
  export type ConsentRecordUncheckedCreateWithoutConsent_document_versionInput = {
237064
237468
  id?: string
237065
237469
  user_id: string
237066
- outcome: $Enums.ConsentOutcome
237470
+ outcome?: $Enums.ConsentOutcome | null
237471
+ grant_status?: $Enums.ConsentGrantStatus | null
237067
237472
  selections?: JsonNullValueInput | InputJsonValue
237068
237473
  reference_type?: $Enums.ConsentReferenceType | null
237069
237474
  reference_id?: string | null
237475
+ evaluation_id?: string | null
237070
237476
  ip_address?: string | null
237071
237477
  user_agent?: string | null
237072
237478
  decline_reason?: string | null
@@ -237110,18 +237516,101 @@ export namespace Prisma {
237110
237516
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
237111
237517
  }
237112
237518
 
237113
- export type DocumentUpsertWithoutConsent_document_versionsInput = {
237114
- update: XOR<DocumentUpdateWithoutConsent_document_versionsInput, DocumentUncheckedUpdateWithoutConsent_document_versionsInput>
237115
- create: XOR<DocumentCreateWithoutConsent_document_versionsInput, DocumentUncheckedCreateWithoutConsent_document_versionsInput>
237519
+ export type DocumentUpsertWithoutTerms_consent_versionsInput = {
237520
+ update: XOR<DocumentUpdateWithoutTerms_consent_versionsInput, DocumentUncheckedUpdateWithoutTerms_consent_versionsInput>
237521
+ create: XOR<DocumentCreateWithoutTerms_consent_versionsInput, DocumentUncheckedCreateWithoutTerms_consent_versionsInput>
237522
+ where?: DocumentWhereInput
237523
+ }
237524
+
237525
+ export type DocumentUpdateToOneWithWhereWithoutTerms_consent_versionsInput = {
237526
+ where?: DocumentWhereInput
237527
+ data: XOR<DocumentUpdateWithoutTerms_consent_versionsInput, DocumentUncheckedUpdateWithoutTerms_consent_versionsInput>
237528
+ }
237529
+
237530
+ export type DocumentUpdateWithoutTerms_consent_versionsInput = {
237531
+ id?: StringFieldUpdateOperationsInput | string
237532
+ original_file_name?: StringFieldUpdateOperationsInput | string
237533
+ stored_file_name?: StringFieldUpdateOperationsInput | string
237534
+ file_extension?: NullableStringFieldUpdateOperationsInput | string | null
237535
+ s3_bucket?: NullableStringFieldUpdateOperationsInput | string | null
237536
+ s3_key?: NullableStringFieldUpdateOperationsInput | string | null
237537
+ mime_type?: NullableStringFieldUpdateOperationsInput | string | null
237538
+ file_size?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null
237539
+ file_hash?: NullableStringFieldUpdateOperationsInput | string | null
237540
+ metadata?: NullableJsonNullValueInput | InputJsonValue
237541
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
237542
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
237543
+ created_by?: StringFieldUpdateOperationsInput | string
237544
+ updated_by?: StringFieldUpdateOperationsInput | string
237545
+ is_active?: BoolFieldUpdateOperationsInput | boolean
237546
+ organisation?: OrganisationUpdateOneWithoutDocumentsNestedInput
237547
+ candidate?: UserUpdateOneWithoutDocumentsNestedInput
237548
+ resume?: ResumeUpdateOneWithoutDocumentNestedInput
237549
+ resume_rendered_export?: ResumeUpdateOneWithoutRendered_export_documentNestedInput
237550
+ job_description_source?: JobDescriptionUpdateOneWithoutSource_documentNestedInput
237551
+ job_description_rendered?: JobDescriptionUpdateOneWithoutRendered_jd_documentNestedInput
237552
+ job_description_display_html?: JobDescriptionUpdateOneWithoutDisplay_html_documentNestedInput
237553
+ interview_recording?: InterviewUpdateOneWithoutRecording_documentNestedInput
237554
+ job_application_responses?: JobApplicationResponseUpdateManyWithoutDocumentNestedInput
237555
+ assignment_solution?: AssignmentUpdateOneWithoutSolution_documentNestedInput
237556
+ assignment_zip?: AssignmentUpdateOneWithoutZip_documentNestedInput
237557
+ offer_letter_template_docx?: OfferLetterTemplateUpdateManyWithoutDocumentNestedInput
237558
+ offer_letter_template_html?: OfferLetterTemplateUpdateManyWithoutHtml_documentNestedInput
237559
+ offer_letters?: OfferLetterUpdateManyWithoutDocumentNestedInput
237560
+ offer_letter_template_snapshots?: OfferLetterUpdateManyWithoutTemplate_documentNestedInput
237561
+ offer_draft_edited_html?: OfferUpdateManyWithoutDraft_edited_html_documentNestedInput
237562
+ application_fit_check_report?: ApplicationUpdateOneWithoutFit_check_report_documentNestedInput
237563
+ privacy_policy_consent_versions?: ConsentDocumentVersionUpdateManyWithoutPrivacy_policyNestedInput
237564
+ }
237565
+
237566
+ export type DocumentUncheckedUpdateWithoutTerms_consent_versionsInput = {
237567
+ id?: StringFieldUpdateOperationsInput | string
237568
+ organisation_id?: NullableStringFieldUpdateOperationsInput | string | null
237569
+ candidate_id?: NullableStringFieldUpdateOperationsInput | string | null
237570
+ original_file_name?: StringFieldUpdateOperationsInput | string
237571
+ stored_file_name?: StringFieldUpdateOperationsInput | string
237572
+ file_extension?: NullableStringFieldUpdateOperationsInput | string | null
237573
+ s3_bucket?: NullableStringFieldUpdateOperationsInput | string | null
237574
+ s3_key?: NullableStringFieldUpdateOperationsInput | string | null
237575
+ mime_type?: NullableStringFieldUpdateOperationsInput | string | null
237576
+ file_size?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null
237577
+ file_hash?: NullableStringFieldUpdateOperationsInput | string | null
237578
+ metadata?: NullableJsonNullValueInput | InputJsonValue
237579
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
237580
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
237581
+ created_by?: StringFieldUpdateOperationsInput | string
237582
+ updated_by?: StringFieldUpdateOperationsInput | string
237583
+ is_active?: BoolFieldUpdateOperationsInput | boolean
237584
+ resume?: ResumeUncheckedUpdateOneWithoutDocumentNestedInput
237585
+ resume_rendered_export?: ResumeUncheckedUpdateOneWithoutRendered_export_documentNestedInput
237586
+ job_description_source?: JobDescriptionUncheckedUpdateOneWithoutSource_documentNestedInput
237587
+ job_description_rendered?: JobDescriptionUncheckedUpdateOneWithoutRendered_jd_documentNestedInput
237588
+ job_description_display_html?: JobDescriptionUncheckedUpdateOneWithoutDisplay_html_documentNestedInput
237589
+ interview_recording?: InterviewUncheckedUpdateOneWithoutRecording_documentNestedInput
237590
+ job_application_responses?: JobApplicationResponseUncheckedUpdateManyWithoutDocumentNestedInput
237591
+ assignment_solution?: AssignmentUncheckedUpdateOneWithoutSolution_documentNestedInput
237592
+ assignment_zip?: AssignmentUncheckedUpdateOneWithoutZip_documentNestedInput
237593
+ offer_letter_template_docx?: OfferLetterTemplateUncheckedUpdateManyWithoutDocumentNestedInput
237594
+ offer_letter_template_html?: OfferLetterTemplateUncheckedUpdateManyWithoutHtml_documentNestedInput
237595
+ offer_letters?: OfferLetterUncheckedUpdateManyWithoutDocumentNestedInput
237596
+ offer_letter_template_snapshots?: OfferLetterUncheckedUpdateManyWithoutTemplate_documentNestedInput
237597
+ offer_draft_edited_html?: OfferUncheckedUpdateManyWithoutDraft_edited_html_documentNestedInput
237598
+ application_fit_check_report?: ApplicationUncheckedUpdateOneWithoutFit_check_report_documentNestedInput
237599
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyNestedInput
237600
+ }
237601
+
237602
+ export type DocumentUpsertWithoutPrivacy_policy_consent_versionsInput = {
237603
+ update: XOR<DocumentUpdateWithoutPrivacy_policy_consent_versionsInput, DocumentUncheckedUpdateWithoutPrivacy_policy_consent_versionsInput>
237604
+ create: XOR<DocumentCreateWithoutPrivacy_policy_consent_versionsInput, DocumentUncheckedCreateWithoutPrivacy_policy_consent_versionsInput>
237116
237605
  where?: DocumentWhereInput
237117
237606
  }
237118
237607
 
237119
- export type DocumentUpdateToOneWithWhereWithoutConsent_document_versionsInput = {
237608
+ export type DocumentUpdateToOneWithWhereWithoutPrivacy_policy_consent_versionsInput = {
237120
237609
  where?: DocumentWhereInput
237121
- data: XOR<DocumentUpdateWithoutConsent_document_versionsInput, DocumentUncheckedUpdateWithoutConsent_document_versionsInput>
237610
+ data: XOR<DocumentUpdateWithoutPrivacy_policy_consent_versionsInput, DocumentUncheckedUpdateWithoutPrivacy_policy_consent_versionsInput>
237122
237611
  }
237123
237612
 
237124
- export type DocumentUpdateWithoutConsent_document_versionsInput = {
237613
+ export type DocumentUpdateWithoutPrivacy_policy_consent_versionsInput = {
237125
237614
  id?: StringFieldUpdateOperationsInput | string
237126
237615
  original_file_name?: StringFieldUpdateOperationsInput | string
237127
237616
  stored_file_name?: StringFieldUpdateOperationsInput | string
@@ -237154,9 +237643,10 @@ export namespace Prisma {
237154
237643
  offer_letter_template_snapshots?: OfferLetterUpdateManyWithoutTemplate_documentNestedInput
237155
237644
  offer_draft_edited_html?: OfferUpdateManyWithoutDraft_edited_html_documentNestedInput
237156
237645
  application_fit_check_report?: ApplicationUpdateOneWithoutFit_check_report_documentNestedInput
237646
+ terms_consent_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
237157
237647
  }
237158
237648
 
237159
- export type DocumentUncheckedUpdateWithoutConsent_document_versionsInput = {
237649
+ export type DocumentUncheckedUpdateWithoutPrivacy_policy_consent_versionsInput = {
237160
237650
  id?: StringFieldUpdateOperationsInput | string
237161
237651
  organisation_id?: NullableStringFieldUpdateOperationsInput | string | null
237162
237652
  candidate_id?: NullableStringFieldUpdateOperationsInput | string | null
@@ -237189,6 +237679,7 @@ export namespace Prisma {
237189
237679
  offer_letter_template_snapshots?: OfferLetterUncheckedUpdateManyWithoutTemplate_documentNestedInput
237190
237680
  offer_draft_edited_html?: OfferUncheckedUpdateManyWithoutDraft_edited_html_documentNestedInput
237191
237681
  application_fit_check_report?: ApplicationUncheckedUpdateOneWithoutFit_check_report_documentNestedInput
237682
+ terms_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
237192
237683
  }
237193
237684
 
237194
237685
  export type ConsentCheckboxDefinitionUpsertWithWhereUniqueWithoutConsent_document_versionInput = {
@@ -237241,78 +237732,88 @@ export namespace Prisma {
237241
237732
  NOT?: ConsentRecordScalarWhereInput | ConsentRecordScalarWhereInput[]
237242
237733
  id?: StringFilter<"ConsentRecord"> | string
237243
237734
  user_id?: StringFilter<"ConsentRecord"> | string
237244
- outcome?: EnumConsentOutcomeFilter<"ConsentRecord"> | $Enums.ConsentOutcome
237735
+ outcome?: EnumConsentOutcomeNullableFilter<"ConsentRecord"> | $Enums.ConsentOutcome | null
237736
+ grant_status?: EnumConsentGrantStatusNullableFilter<"ConsentRecord"> | $Enums.ConsentGrantStatus | null
237245
237737
  consent_document_version_id?: StringFilter<"ConsentRecord"> | string
237246
237738
  selections?: JsonFilter<"ConsentRecord">
237247
237739
  reference_type?: EnumConsentReferenceTypeNullableFilter<"ConsentRecord"> | $Enums.ConsentReferenceType | null
237248
237740
  reference_id?: StringNullableFilter<"ConsentRecord"> | string | null
237741
+ evaluation_id?: StringNullableFilter<"ConsentRecord"> | string | null
237249
237742
  ip_address?: StringNullableFilter<"ConsentRecord"> | string | null
237250
237743
  user_agent?: StringNullableFilter<"ConsentRecord"> | string | null
237251
237744
  decline_reason?: StringNullableFilter<"ConsentRecord"> | string | null
237252
237745
  created_at?: DateTimeFilter<"ConsentRecord"> | Date | string
237253
237746
  }
237254
237747
 
237255
- export type ConsentDocumentVersionCreateWithoutCheckboxesInput = {
237748
+ export type ConsentDocumentVersionCreateWithoutCheckbox_definitionsInput = {
237256
237749
  id?: string
237257
237750
  version_number: number
237258
237751
  status?: $Enums.ConsentCatalogVersionStatus
237259
237752
  published_at?: Date | string | null
237260
237753
  created_at?: Date | string
237261
237754
  updated_at?: Date | string
237755
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
237262
237756
  consent_document: ConsentDocumentCreateNestedOneWithoutVersionsInput
237263
- document?: DocumentCreateNestedOneWithoutConsent_document_versionsInput
237757
+ document?: DocumentCreateNestedOneWithoutTerms_consent_versionsInput
237758
+ privacy_policy?: DocumentCreateNestedOneWithoutPrivacy_policy_consent_versionsInput
237264
237759
  consent_records?: ConsentRecordCreateNestedManyWithoutConsent_document_versionInput
237265
237760
  }
237266
237761
 
237267
- export type ConsentDocumentVersionUncheckedCreateWithoutCheckboxesInput = {
237762
+ export type ConsentDocumentVersionUncheckedCreateWithoutCheckbox_definitionsInput = {
237268
237763
  id?: string
237269
237764
  consent_document_id: string
237270
237765
  version_number: number
237271
237766
  document_id?: string | null
237767
+ privacy_policy_id?: string | null
237272
237768
  status?: $Enums.ConsentCatalogVersionStatus
237273
237769
  published_at?: Date | string | null
237274
237770
  created_at?: Date | string
237275
237771
  updated_at?: Date | string
237772
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
237276
237773
  consent_records?: ConsentRecordUncheckedCreateNestedManyWithoutConsent_document_versionInput
237277
237774
  }
237278
237775
 
237279
- export type ConsentDocumentVersionCreateOrConnectWithoutCheckboxesInput = {
237776
+ export type ConsentDocumentVersionCreateOrConnectWithoutCheckbox_definitionsInput = {
237280
237777
  where: ConsentDocumentVersionWhereUniqueInput
237281
- create: XOR<ConsentDocumentVersionCreateWithoutCheckboxesInput, ConsentDocumentVersionUncheckedCreateWithoutCheckboxesInput>
237778
+ create: XOR<ConsentDocumentVersionCreateWithoutCheckbox_definitionsInput, ConsentDocumentVersionUncheckedCreateWithoutCheckbox_definitionsInput>
237282
237779
  }
237283
237780
 
237284
- export type ConsentDocumentVersionUpsertWithoutCheckboxesInput = {
237285
- update: XOR<ConsentDocumentVersionUpdateWithoutCheckboxesInput, ConsentDocumentVersionUncheckedUpdateWithoutCheckboxesInput>
237286
- create: XOR<ConsentDocumentVersionCreateWithoutCheckboxesInput, ConsentDocumentVersionUncheckedCreateWithoutCheckboxesInput>
237781
+ export type ConsentDocumentVersionUpsertWithoutCheckbox_definitionsInput = {
237782
+ update: XOR<ConsentDocumentVersionUpdateWithoutCheckbox_definitionsInput, ConsentDocumentVersionUncheckedUpdateWithoutCheckbox_definitionsInput>
237783
+ create: XOR<ConsentDocumentVersionCreateWithoutCheckbox_definitionsInput, ConsentDocumentVersionUncheckedCreateWithoutCheckbox_definitionsInput>
237287
237784
  where?: ConsentDocumentVersionWhereInput
237288
237785
  }
237289
237786
 
237290
- export type ConsentDocumentVersionUpdateToOneWithWhereWithoutCheckboxesInput = {
237787
+ export type ConsentDocumentVersionUpdateToOneWithWhereWithoutCheckbox_definitionsInput = {
237291
237788
  where?: ConsentDocumentVersionWhereInput
237292
- data: XOR<ConsentDocumentVersionUpdateWithoutCheckboxesInput, ConsentDocumentVersionUncheckedUpdateWithoutCheckboxesInput>
237789
+ data: XOR<ConsentDocumentVersionUpdateWithoutCheckbox_definitionsInput, ConsentDocumentVersionUncheckedUpdateWithoutCheckbox_definitionsInput>
237293
237790
  }
237294
237791
 
237295
- export type ConsentDocumentVersionUpdateWithoutCheckboxesInput = {
237792
+ export type ConsentDocumentVersionUpdateWithoutCheckbox_definitionsInput = {
237296
237793
  id?: StringFieldUpdateOperationsInput | string
237297
237794
  version_number?: IntFieldUpdateOperationsInput | number
237298
237795
  status?: EnumConsentCatalogVersionStatusFieldUpdateOperationsInput | $Enums.ConsentCatalogVersionStatus
237299
237796
  published_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
237300
237797
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
237301
237798
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
237799
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
237302
237800
  consent_document?: ConsentDocumentUpdateOneRequiredWithoutVersionsNestedInput
237303
- document?: DocumentUpdateOneWithoutConsent_document_versionsNestedInput
237801
+ document?: DocumentUpdateOneWithoutTerms_consent_versionsNestedInput
237802
+ privacy_policy?: DocumentUpdateOneWithoutPrivacy_policy_consent_versionsNestedInput
237304
237803
  consent_records?: ConsentRecordUpdateManyWithoutConsent_document_versionNestedInput
237305
237804
  }
237306
237805
 
237307
- export type ConsentDocumentVersionUncheckedUpdateWithoutCheckboxesInput = {
237806
+ export type ConsentDocumentVersionUncheckedUpdateWithoutCheckbox_definitionsInput = {
237308
237807
  id?: StringFieldUpdateOperationsInput | string
237309
237808
  consent_document_id?: StringFieldUpdateOperationsInput | string
237310
237809
  version_number?: IntFieldUpdateOperationsInput | number
237311
237810
  document_id?: NullableStringFieldUpdateOperationsInput | string | null
237811
+ privacy_policy_id?: NullableStringFieldUpdateOperationsInput | string | null
237312
237812
  status?: EnumConsentCatalogVersionStatusFieldUpdateOperationsInput | $Enums.ConsentCatalogVersionStatus
237313
237813
  published_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
237314
237814
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
237315
237815
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
237816
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
237316
237817
  consent_records?: ConsentRecordUncheckedUpdateManyWithoutConsent_document_versionNestedInput
237317
237818
  }
237318
237819
 
@@ -237496,9 +237997,11 @@ export namespace Prisma {
237496
237997
  published_at?: Date | string | null
237497
237998
  created_at?: Date | string
237498
237999
  updated_at?: Date | string
238000
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
237499
238001
  consent_document: ConsentDocumentCreateNestedOneWithoutVersionsInput
237500
- document?: DocumentCreateNestedOneWithoutConsent_document_versionsInput
237501
- checkboxes?: ConsentCheckboxDefinitionCreateNestedManyWithoutConsent_document_versionInput
238002
+ document?: DocumentCreateNestedOneWithoutTerms_consent_versionsInput
238003
+ privacy_policy?: DocumentCreateNestedOneWithoutPrivacy_policy_consent_versionsInput
238004
+ checkbox_definitions?: ConsentCheckboxDefinitionCreateNestedManyWithoutConsent_document_versionInput
237502
238005
  }
237503
238006
 
237504
238007
  export type ConsentDocumentVersionUncheckedCreateWithoutConsent_recordsInput = {
@@ -237506,11 +238009,13 @@ export namespace Prisma {
237506
238009
  consent_document_id: string
237507
238010
  version_number: number
237508
238011
  document_id?: string | null
238012
+ privacy_policy_id?: string | null
237509
238013
  status?: $Enums.ConsentCatalogVersionStatus
237510
238014
  published_at?: Date | string | null
237511
238015
  created_at?: Date | string
237512
238016
  updated_at?: Date | string
237513
- checkboxes?: ConsentCheckboxDefinitionUncheckedCreateNestedManyWithoutConsent_document_versionInput
238017
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
238018
+ checkbox_definitions?: ConsentCheckboxDefinitionUncheckedCreateNestedManyWithoutConsent_document_versionInput
237514
238019
  }
237515
238020
 
237516
238021
  export type ConsentDocumentVersionCreateOrConnectWithoutConsent_recordsInput = {
@@ -237715,9 +238220,11 @@ export namespace Prisma {
237715
238220
  published_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
237716
238221
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
237717
238222
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
238223
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
237718
238224
  consent_document?: ConsentDocumentUpdateOneRequiredWithoutVersionsNestedInput
237719
- document?: DocumentUpdateOneWithoutConsent_document_versionsNestedInput
237720
- checkboxes?: ConsentCheckboxDefinitionUpdateManyWithoutConsent_document_versionNestedInput
238225
+ document?: DocumentUpdateOneWithoutTerms_consent_versionsNestedInput
238226
+ privacy_policy?: DocumentUpdateOneWithoutPrivacy_policy_consent_versionsNestedInput
238227
+ checkbox_definitions?: ConsentCheckboxDefinitionUpdateManyWithoutConsent_document_versionNestedInput
237721
238228
  }
237722
238229
 
237723
238230
  export type ConsentDocumentVersionUncheckedUpdateWithoutConsent_recordsInput = {
@@ -237725,11 +238232,13 @@ export namespace Prisma {
237725
238232
  consent_document_id?: StringFieldUpdateOperationsInput | string
237726
238233
  version_number?: IntFieldUpdateOperationsInput | number
237727
238234
  document_id?: NullableStringFieldUpdateOperationsInput | string | null
238235
+ privacy_policy_id?: NullableStringFieldUpdateOperationsInput | string | null
237728
238236
  status?: EnumConsentCatalogVersionStatusFieldUpdateOperationsInput | $Enums.ConsentCatalogVersionStatus
237729
238237
  published_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
237730
238238
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
237731
238239
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
237732
- checkboxes?: ConsentCheckboxDefinitionUncheckedUpdateManyWithoutConsent_document_versionNestedInput
238240
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
238241
+ checkbox_definitions?: ConsentCheckboxDefinitionUncheckedUpdateManyWithoutConsent_document_versionNestedInput
237733
238242
  }
237734
238243
 
237735
238244
  export type UserCreateWithoutErasure_requests_as_subjectInput = {
@@ -241602,8 +242111,10 @@ export namespace Prisma {
241602
242111
  published_at?: Date | string | null
241603
242112
  created_at?: Date | string
241604
242113
  updated_at?: Date | string
242114
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
241605
242115
  consent_document: ConsentDocumentCreateNestedOneWithoutVersionsInput
241606
- checkboxes?: ConsentCheckboxDefinitionCreateNestedManyWithoutConsent_document_versionInput
242116
+ privacy_policy?: DocumentCreateNestedOneWithoutPrivacy_policy_consent_versionsInput
242117
+ checkbox_definitions?: ConsentCheckboxDefinitionCreateNestedManyWithoutConsent_document_versionInput
241607
242118
  consent_records?: ConsentRecordCreateNestedManyWithoutConsent_document_versionInput
241608
242119
  }
241609
242120
 
@@ -241611,11 +242122,13 @@ export namespace Prisma {
241611
242122
  id?: string
241612
242123
  consent_document_id: string
241613
242124
  version_number: number
242125
+ privacy_policy_id?: string | null
241614
242126
  status?: $Enums.ConsentCatalogVersionStatus
241615
242127
  published_at?: Date | string | null
241616
242128
  created_at?: Date | string
241617
242129
  updated_at?: Date | string
241618
- checkboxes?: ConsentCheckboxDefinitionUncheckedCreateNestedManyWithoutConsent_document_versionInput
242130
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
242131
+ checkbox_definitions?: ConsentCheckboxDefinitionUncheckedCreateNestedManyWithoutConsent_document_versionInput
241619
242132
  consent_records?: ConsentRecordUncheckedCreateNestedManyWithoutConsent_document_versionInput
241620
242133
  }
241621
242134
 
@@ -241629,6 +242142,44 @@ export namespace Prisma {
241629
242142
  skipDuplicates?: boolean
241630
242143
  }
241631
242144
 
242145
+ export type ConsentDocumentVersionCreateWithoutPrivacy_policyInput = {
242146
+ id?: string
242147
+ version_number: number
242148
+ status?: $Enums.ConsentCatalogVersionStatus
242149
+ published_at?: Date | string | null
242150
+ created_at?: Date | string
242151
+ updated_at?: Date | string
242152
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
242153
+ consent_document: ConsentDocumentCreateNestedOneWithoutVersionsInput
242154
+ document?: DocumentCreateNestedOneWithoutTerms_consent_versionsInput
242155
+ checkbox_definitions?: ConsentCheckboxDefinitionCreateNestedManyWithoutConsent_document_versionInput
242156
+ consent_records?: ConsentRecordCreateNestedManyWithoutConsent_document_versionInput
242157
+ }
242158
+
242159
+ export type ConsentDocumentVersionUncheckedCreateWithoutPrivacy_policyInput = {
242160
+ id?: string
242161
+ consent_document_id: string
242162
+ version_number: number
242163
+ document_id?: string | null
242164
+ status?: $Enums.ConsentCatalogVersionStatus
242165
+ published_at?: Date | string | null
242166
+ created_at?: Date | string
242167
+ updated_at?: Date | string
242168
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
242169
+ checkbox_definitions?: ConsentCheckboxDefinitionUncheckedCreateNestedManyWithoutConsent_document_versionInput
242170
+ consent_records?: ConsentRecordUncheckedCreateNestedManyWithoutConsent_document_versionInput
242171
+ }
242172
+
242173
+ export type ConsentDocumentVersionCreateOrConnectWithoutPrivacy_policyInput = {
242174
+ where: ConsentDocumentVersionWhereUniqueInput
242175
+ create: XOR<ConsentDocumentVersionCreateWithoutPrivacy_policyInput, ConsentDocumentVersionUncheckedCreateWithoutPrivacy_policyInput>
242176
+ }
242177
+
242178
+ export type ConsentDocumentVersionCreateManyPrivacy_policyInputEnvelope = {
242179
+ data: ConsentDocumentVersionCreateManyPrivacy_policyInput | ConsentDocumentVersionCreateManyPrivacy_policyInput[]
242180
+ skipDuplicates?: boolean
242181
+ }
242182
+
241632
242183
  export type OrganisationUpsertWithoutDocumentsInput = {
241633
242184
  update: XOR<OrganisationUpdateWithoutDocumentsInput, OrganisationUncheckedUpdateWithoutDocumentsInput>
241634
242185
  create: XOR<OrganisationCreateWithoutDocumentsInput, OrganisationUncheckedCreateWithoutDocumentsInput>
@@ -243032,6 +243583,22 @@ export namespace Prisma {
243032
243583
  data: XOR<ConsentDocumentVersionUpdateManyMutationInput, ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentInput>
243033
243584
  }
243034
243585
 
243586
+ export type ConsentDocumentVersionUpsertWithWhereUniqueWithoutPrivacy_policyInput = {
243587
+ where: ConsentDocumentVersionWhereUniqueInput
243588
+ update: XOR<ConsentDocumentVersionUpdateWithoutPrivacy_policyInput, ConsentDocumentVersionUncheckedUpdateWithoutPrivacy_policyInput>
243589
+ create: XOR<ConsentDocumentVersionCreateWithoutPrivacy_policyInput, ConsentDocumentVersionUncheckedCreateWithoutPrivacy_policyInput>
243590
+ }
243591
+
243592
+ export type ConsentDocumentVersionUpdateWithWhereUniqueWithoutPrivacy_policyInput = {
243593
+ where: ConsentDocumentVersionWhereUniqueInput
243594
+ data: XOR<ConsentDocumentVersionUpdateWithoutPrivacy_policyInput, ConsentDocumentVersionUncheckedUpdateWithoutPrivacy_policyInput>
243595
+ }
243596
+
243597
+ export type ConsentDocumentVersionUpdateManyWithWhereWithoutPrivacy_policyInput = {
243598
+ where: ConsentDocumentVersionScalarWhereInput
243599
+ data: XOR<ConsentDocumentVersionUpdateManyMutationInput, ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyInput>
243600
+ }
243601
+
243035
243602
  export type OrganisationCreateWithoutEvaluation_criteriaInput = {
243036
243603
  id?: string
243037
243604
  name: string
@@ -249081,7 +249648,8 @@ export namespace Prisma {
249081
249648
  offer_letter_template_snapshots?: OfferLetterCreateNestedManyWithoutTemplate_documentInput
249082
249649
  offer_draft_edited_html?: OfferCreateNestedManyWithoutDraft_edited_html_documentInput
249083
249650
  application_fit_check_report?: ApplicationCreateNestedOneWithoutFit_check_report_documentInput
249084
- consent_document_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
249651
+ terms_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
249652
+ privacy_policy_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutPrivacy_policyInput
249085
249653
  }
249086
249654
 
249087
249655
  export type DocumentUncheckedCreateWithoutInterview_recordingInput = {
@@ -249116,7 +249684,8 @@ export namespace Prisma {
249116
249684
  offer_letter_template_snapshots?: OfferLetterUncheckedCreateNestedManyWithoutTemplate_documentInput
249117
249685
  offer_draft_edited_html?: OfferUncheckedCreateNestedManyWithoutDraft_edited_html_documentInput
249118
249686
  application_fit_check_report?: ApplicationUncheckedCreateNestedOneWithoutFit_check_report_documentInput
249119
- consent_document_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
249687
+ terms_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
249688
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutPrivacy_policyInput
249120
249689
  }
249121
249690
 
249122
249691
  export type DocumentCreateOrConnectWithoutInterview_recordingInput = {
@@ -250359,7 +250928,8 @@ export namespace Prisma {
250359
250928
  offer_letter_template_snapshots?: OfferLetterUpdateManyWithoutTemplate_documentNestedInput
250360
250929
  offer_draft_edited_html?: OfferUpdateManyWithoutDraft_edited_html_documentNestedInput
250361
250930
  application_fit_check_report?: ApplicationUpdateOneWithoutFit_check_report_documentNestedInput
250362
- consent_document_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
250931
+ terms_consent_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
250932
+ privacy_policy_consent_versions?: ConsentDocumentVersionUpdateManyWithoutPrivacy_policyNestedInput
250363
250933
  }
250364
250934
 
250365
250935
  export type DocumentUncheckedUpdateWithoutInterview_recordingInput = {
@@ -250394,7 +250964,8 @@ export namespace Prisma {
250394
250964
  offer_letter_template_snapshots?: OfferLetterUncheckedUpdateManyWithoutTemplate_documentNestedInput
250395
250965
  offer_draft_edited_html?: OfferUncheckedUpdateManyWithoutDraft_edited_html_documentNestedInput
250396
250966
  application_fit_check_report?: ApplicationUncheckedUpdateOneWithoutFit_check_report_documentNestedInput
250397
- consent_document_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
250967
+ terms_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
250968
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyNestedInput
250398
250969
  }
250399
250970
 
250400
250971
  export type JobDescriptionUpsertWithoutInterviewsInput = {
@@ -251927,7 +252498,8 @@ export namespace Prisma {
251927
252498
  offer_letter_template_snapshots?: OfferLetterCreateNestedManyWithoutTemplate_documentInput
251928
252499
  offer_draft_edited_html?: OfferCreateNestedManyWithoutDraft_edited_html_documentInput
251929
252500
  application_fit_check_report?: ApplicationCreateNestedOneWithoutFit_check_report_documentInput
251930
- consent_document_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
252501
+ terms_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
252502
+ privacy_policy_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutPrivacy_policyInput
251931
252503
  }
251932
252504
 
251933
252505
  export type DocumentUncheckedCreateWithoutJob_application_responsesInput = {
@@ -251962,7 +252534,8 @@ export namespace Prisma {
251962
252534
  offer_letter_template_snapshots?: OfferLetterUncheckedCreateNestedManyWithoutTemplate_documentInput
251963
252535
  offer_draft_edited_html?: OfferUncheckedCreateNestedManyWithoutDraft_edited_html_documentInput
251964
252536
  application_fit_check_report?: ApplicationUncheckedCreateNestedOneWithoutFit_check_report_documentInput
251965
- consent_document_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
252537
+ terms_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
252538
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutPrivacy_policyInput
251966
252539
  }
251967
252540
 
251968
252541
  export type DocumentCreateOrConnectWithoutJob_application_responsesInput = {
@@ -252159,7 +252732,8 @@ export namespace Prisma {
252159
252732
  offer_letter_template_snapshots?: OfferLetterUpdateManyWithoutTemplate_documentNestedInput
252160
252733
  offer_draft_edited_html?: OfferUpdateManyWithoutDraft_edited_html_documentNestedInput
252161
252734
  application_fit_check_report?: ApplicationUpdateOneWithoutFit_check_report_documentNestedInput
252162
- consent_document_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
252735
+ terms_consent_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
252736
+ privacy_policy_consent_versions?: ConsentDocumentVersionUpdateManyWithoutPrivacy_policyNestedInput
252163
252737
  }
252164
252738
 
252165
252739
  export type DocumentUncheckedUpdateWithoutJob_application_responsesInput = {
@@ -252194,7 +252768,8 @@ export namespace Prisma {
252194
252768
  offer_letter_template_snapshots?: OfferLetterUncheckedUpdateManyWithoutTemplate_documentNestedInput
252195
252769
  offer_draft_edited_html?: OfferUncheckedUpdateManyWithoutDraft_edited_html_documentNestedInput
252196
252770
  application_fit_check_report?: ApplicationUncheckedUpdateOneWithoutFit_check_report_documentNestedInput
252197
- consent_document_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
252771
+ terms_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
252772
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyNestedInput
252198
252773
  }
252199
252774
 
252200
252775
  export type OrganisationCreateWithoutJob_application_templatesInput = {
@@ -252828,7 +253403,8 @@ export namespace Prisma {
252828
253403
  offer_letter_template_snapshots?: OfferLetterCreateNestedManyWithoutTemplate_documentInput
252829
253404
  offer_draft_edited_html?: OfferCreateNestedManyWithoutDraft_edited_html_documentInput
252830
253405
  application_fit_check_report?: ApplicationCreateNestedOneWithoutFit_check_report_documentInput
252831
- consent_document_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
253406
+ terms_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
253407
+ privacy_policy_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutPrivacy_policyInput
252832
253408
  }
252833
253409
 
252834
253410
  export type DocumentUncheckedCreateWithoutJob_description_renderedInput = {
@@ -252863,7 +253439,8 @@ export namespace Prisma {
252863
253439
  offer_letter_template_snapshots?: OfferLetterUncheckedCreateNestedManyWithoutTemplate_documentInput
252864
253440
  offer_draft_edited_html?: OfferUncheckedCreateNestedManyWithoutDraft_edited_html_documentInput
252865
253441
  application_fit_check_report?: ApplicationUncheckedCreateNestedOneWithoutFit_check_report_documentInput
252866
- consent_document_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
253442
+ terms_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
253443
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutPrivacy_policyInput
252867
253444
  }
252868
253445
 
252869
253446
  export type DocumentCreateOrConnectWithoutJob_description_renderedInput = {
@@ -252903,7 +253480,8 @@ export namespace Prisma {
252903
253480
  offer_letter_template_snapshots?: OfferLetterCreateNestedManyWithoutTemplate_documentInput
252904
253481
  offer_draft_edited_html?: OfferCreateNestedManyWithoutDraft_edited_html_documentInput
252905
253482
  application_fit_check_report?: ApplicationCreateNestedOneWithoutFit_check_report_documentInput
252906
- consent_document_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
253483
+ terms_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
253484
+ privacy_policy_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutPrivacy_policyInput
252907
253485
  }
252908
253486
 
252909
253487
  export type DocumentUncheckedCreateWithoutJob_description_display_htmlInput = {
@@ -252938,7 +253516,8 @@ export namespace Prisma {
252938
253516
  offer_letter_template_snapshots?: OfferLetterUncheckedCreateNestedManyWithoutTemplate_documentInput
252939
253517
  offer_draft_edited_html?: OfferUncheckedCreateNestedManyWithoutDraft_edited_html_documentInput
252940
253518
  application_fit_check_report?: ApplicationUncheckedCreateNestedOneWithoutFit_check_report_documentInput
252941
- consent_document_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
253519
+ terms_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
253520
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutPrivacy_policyInput
252942
253521
  }
252943
253522
 
252944
253523
  export type DocumentCreateOrConnectWithoutJob_description_display_htmlInput = {
@@ -253235,7 +253814,8 @@ export namespace Prisma {
253235
253814
  offer_letter_template_snapshots?: OfferLetterCreateNestedManyWithoutTemplate_documentInput
253236
253815
  offer_draft_edited_html?: OfferCreateNestedManyWithoutDraft_edited_html_documentInput
253237
253816
  application_fit_check_report?: ApplicationCreateNestedOneWithoutFit_check_report_documentInput
253238
- consent_document_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
253817
+ terms_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
253818
+ privacy_policy_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutPrivacy_policyInput
253239
253819
  }
253240
253820
 
253241
253821
  export type DocumentUncheckedCreateWithoutJob_description_sourceInput = {
@@ -253270,7 +253850,8 @@ export namespace Prisma {
253270
253850
  offer_letter_template_snapshots?: OfferLetterUncheckedCreateNestedManyWithoutTemplate_documentInput
253271
253851
  offer_draft_edited_html?: OfferUncheckedCreateNestedManyWithoutDraft_edited_html_documentInput
253272
253852
  application_fit_check_report?: ApplicationUncheckedCreateNestedOneWithoutFit_check_report_documentInput
253273
- consent_document_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
253853
+ terms_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
253854
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutPrivacy_policyInput
253274
253855
  }
253275
253856
 
253276
253857
  export type DocumentCreateOrConnectWithoutJob_description_sourceInput = {
@@ -254946,7 +255527,8 @@ export namespace Prisma {
254946
255527
  offer_letter_template_snapshots?: OfferLetterUpdateManyWithoutTemplate_documentNestedInput
254947
255528
  offer_draft_edited_html?: OfferUpdateManyWithoutDraft_edited_html_documentNestedInput
254948
255529
  application_fit_check_report?: ApplicationUpdateOneWithoutFit_check_report_documentNestedInput
254949
- consent_document_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
255530
+ terms_consent_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
255531
+ privacy_policy_consent_versions?: ConsentDocumentVersionUpdateManyWithoutPrivacy_policyNestedInput
254950
255532
  }
254951
255533
 
254952
255534
  export type DocumentUncheckedUpdateWithoutJob_description_renderedInput = {
@@ -254981,7 +255563,8 @@ export namespace Prisma {
254981
255563
  offer_letter_template_snapshots?: OfferLetterUncheckedUpdateManyWithoutTemplate_documentNestedInput
254982
255564
  offer_draft_edited_html?: OfferUncheckedUpdateManyWithoutDraft_edited_html_documentNestedInput
254983
255565
  application_fit_check_report?: ApplicationUncheckedUpdateOneWithoutFit_check_report_documentNestedInput
254984
- consent_document_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
255566
+ terms_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
255567
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyNestedInput
254985
255568
  }
254986
255569
 
254987
255570
  export type DocumentUpsertWithoutJob_description_display_htmlInput = {
@@ -255027,7 +255610,8 @@ export namespace Prisma {
255027
255610
  offer_letter_template_snapshots?: OfferLetterUpdateManyWithoutTemplate_documentNestedInput
255028
255611
  offer_draft_edited_html?: OfferUpdateManyWithoutDraft_edited_html_documentNestedInput
255029
255612
  application_fit_check_report?: ApplicationUpdateOneWithoutFit_check_report_documentNestedInput
255030
- consent_document_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
255613
+ terms_consent_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
255614
+ privacy_policy_consent_versions?: ConsentDocumentVersionUpdateManyWithoutPrivacy_policyNestedInput
255031
255615
  }
255032
255616
 
255033
255617
  export type DocumentUncheckedUpdateWithoutJob_description_display_htmlInput = {
@@ -255062,7 +255646,8 @@ export namespace Prisma {
255062
255646
  offer_letter_template_snapshots?: OfferLetterUncheckedUpdateManyWithoutTemplate_documentNestedInput
255063
255647
  offer_draft_edited_html?: OfferUncheckedUpdateManyWithoutDraft_edited_html_documentNestedInput
255064
255648
  application_fit_check_report?: ApplicationUncheckedUpdateOneWithoutFit_check_report_documentNestedInput
255065
- consent_document_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
255649
+ terms_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
255650
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyNestedInput
255066
255651
  }
255067
255652
 
255068
255653
  export type JobProfileUpsertWithoutJob_descriptionsInput = {
@@ -255383,7 +255968,8 @@ export namespace Prisma {
255383
255968
  offer_letter_template_snapshots?: OfferLetterUpdateManyWithoutTemplate_documentNestedInput
255384
255969
  offer_draft_edited_html?: OfferUpdateManyWithoutDraft_edited_html_documentNestedInput
255385
255970
  application_fit_check_report?: ApplicationUpdateOneWithoutFit_check_report_documentNestedInput
255386
- consent_document_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
255971
+ terms_consent_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
255972
+ privacy_policy_consent_versions?: ConsentDocumentVersionUpdateManyWithoutPrivacy_policyNestedInput
255387
255973
  }
255388
255974
 
255389
255975
  export type DocumentUncheckedUpdateWithoutJob_description_sourceInput = {
@@ -255418,7 +256004,8 @@ export namespace Prisma {
255418
256004
  offer_letter_template_snapshots?: OfferLetterUncheckedUpdateManyWithoutTemplate_documentNestedInput
255419
256005
  offer_draft_edited_html?: OfferUncheckedUpdateManyWithoutDraft_edited_html_documentNestedInput
255420
256006
  application_fit_check_report?: ApplicationUncheckedUpdateOneWithoutFit_check_report_documentNestedInput
255421
- consent_document_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
256007
+ terms_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
256008
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyNestedInput
255422
256009
  }
255423
256010
 
255424
256011
  export type ApplicationUpsertWithWhereUniqueWithoutJob_descriptionInput = {
@@ -263262,7 +263849,8 @@ export namespace Prisma {
263262
263849
  offer_letter_template_snapshots?: OfferLetterCreateNestedManyWithoutTemplate_documentInput
263263
263850
  offer_draft_edited_html?: OfferCreateNestedManyWithoutDraft_edited_html_documentInput
263264
263851
  application_fit_check_report?: ApplicationCreateNestedOneWithoutFit_check_report_documentInput
263265
- consent_document_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
263852
+ terms_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
263853
+ privacy_policy_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutPrivacy_policyInput
263266
263854
  }
263267
263855
 
263268
263856
  export type DocumentUncheckedCreateWithoutOffer_letter_template_docxInput = {
@@ -263297,7 +263885,8 @@ export namespace Prisma {
263297
263885
  offer_letter_template_snapshots?: OfferLetterUncheckedCreateNestedManyWithoutTemplate_documentInput
263298
263886
  offer_draft_edited_html?: OfferUncheckedCreateNestedManyWithoutDraft_edited_html_documentInput
263299
263887
  application_fit_check_report?: ApplicationUncheckedCreateNestedOneWithoutFit_check_report_documentInput
263300
- consent_document_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
263888
+ terms_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
263889
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutPrivacy_policyInput
263301
263890
  }
263302
263891
 
263303
263892
  export type DocumentCreateOrConnectWithoutOffer_letter_template_docxInput = {
@@ -263337,7 +263926,8 @@ export namespace Prisma {
263337
263926
  offer_letter_template_snapshots?: OfferLetterCreateNestedManyWithoutTemplate_documentInput
263338
263927
  offer_draft_edited_html?: OfferCreateNestedManyWithoutDraft_edited_html_documentInput
263339
263928
  application_fit_check_report?: ApplicationCreateNestedOneWithoutFit_check_report_documentInput
263340
- consent_document_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
263929
+ terms_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
263930
+ privacy_policy_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutPrivacy_policyInput
263341
263931
  }
263342
263932
 
263343
263933
  export type DocumentUncheckedCreateWithoutOffer_letter_template_htmlInput = {
@@ -263372,7 +263962,8 @@ export namespace Prisma {
263372
263962
  offer_letter_template_snapshots?: OfferLetterUncheckedCreateNestedManyWithoutTemplate_documentInput
263373
263963
  offer_draft_edited_html?: OfferUncheckedCreateNestedManyWithoutDraft_edited_html_documentInput
263374
263964
  application_fit_check_report?: ApplicationUncheckedCreateNestedOneWithoutFit_check_report_documentInput
263375
- consent_document_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
263965
+ terms_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
263966
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutPrivacy_policyInput
263376
263967
  }
263377
263968
 
263378
263969
  export type DocumentCreateOrConnectWithoutOffer_letter_template_htmlInput = {
@@ -263801,7 +264392,8 @@ export namespace Prisma {
263801
264392
  offer_letter_template_snapshots?: OfferLetterUpdateManyWithoutTemplate_documentNestedInput
263802
264393
  offer_draft_edited_html?: OfferUpdateManyWithoutDraft_edited_html_documentNestedInput
263803
264394
  application_fit_check_report?: ApplicationUpdateOneWithoutFit_check_report_documentNestedInput
263804
- consent_document_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
264395
+ terms_consent_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
264396
+ privacy_policy_consent_versions?: ConsentDocumentVersionUpdateManyWithoutPrivacy_policyNestedInput
263805
264397
  }
263806
264398
 
263807
264399
  export type DocumentUncheckedUpdateWithoutOffer_letter_template_docxInput = {
@@ -263836,7 +264428,8 @@ export namespace Prisma {
263836
264428
  offer_letter_template_snapshots?: OfferLetterUncheckedUpdateManyWithoutTemplate_documentNestedInput
263837
264429
  offer_draft_edited_html?: OfferUncheckedUpdateManyWithoutDraft_edited_html_documentNestedInput
263838
264430
  application_fit_check_report?: ApplicationUncheckedUpdateOneWithoutFit_check_report_documentNestedInput
263839
- consent_document_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
264431
+ terms_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
264432
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyNestedInput
263840
264433
  }
263841
264434
 
263842
264435
  export type DocumentUpsertWithoutOffer_letter_template_htmlInput = {
@@ -263882,7 +264475,8 @@ export namespace Prisma {
263882
264475
  offer_letter_template_snapshots?: OfferLetterUpdateManyWithoutTemplate_documentNestedInput
263883
264476
  offer_draft_edited_html?: OfferUpdateManyWithoutDraft_edited_html_documentNestedInput
263884
264477
  application_fit_check_report?: ApplicationUpdateOneWithoutFit_check_report_documentNestedInput
263885
- consent_document_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
264478
+ terms_consent_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
264479
+ privacy_policy_consent_versions?: ConsentDocumentVersionUpdateManyWithoutPrivacy_policyNestedInput
263886
264480
  }
263887
264481
 
263888
264482
  export type DocumentUncheckedUpdateWithoutOffer_letter_template_htmlInput = {
@@ -263917,7 +264511,8 @@ export namespace Prisma {
263917
264511
  offer_letter_template_snapshots?: OfferLetterUncheckedUpdateManyWithoutTemplate_documentNestedInput
263918
264512
  offer_draft_edited_html?: OfferUncheckedUpdateManyWithoutDraft_edited_html_documentNestedInput
263919
264513
  application_fit_check_report?: ApplicationUncheckedUpdateOneWithoutFit_check_report_documentNestedInput
263920
- consent_document_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
264514
+ terms_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
264515
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyNestedInput
263921
264516
  }
263922
264517
 
263923
264518
  export type OfferUpsertWithWhereUniqueWithoutTemplateInput = {
@@ -264549,7 +265144,8 @@ export namespace Prisma {
264549
265144
  offer_letters?: OfferLetterCreateNestedManyWithoutDocumentInput
264550
265145
  offer_letter_template_snapshots?: OfferLetterCreateNestedManyWithoutTemplate_documentInput
264551
265146
  application_fit_check_report?: ApplicationCreateNestedOneWithoutFit_check_report_documentInput
264552
- consent_document_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
265147
+ terms_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
265148
+ privacy_policy_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutPrivacy_policyInput
264553
265149
  }
264554
265150
 
264555
265151
  export type DocumentUncheckedCreateWithoutOffer_draft_edited_htmlInput = {
@@ -264584,7 +265180,8 @@ export namespace Prisma {
264584
265180
  offer_letters?: OfferLetterUncheckedCreateNestedManyWithoutDocumentInput
264585
265181
  offer_letter_template_snapshots?: OfferLetterUncheckedCreateNestedManyWithoutTemplate_documentInput
264586
265182
  application_fit_check_report?: ApplicationUncheckedCreateNestedOneWithoutFit_check_report_documentInput
264587
- consent_document_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
265183
+ terms_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
265184
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutPrivacy_policyInput
264588
265185
  }
264589
265186
 
264590
265187
  export type DocumentCreateOrConnectWithoutOffer_draft_edited_htmlInput = {
@@ -265317,7 +265914,8 @@ export namespace Prisma {
265317
265914
  offer_letters?: OfferLetterUpdateManyWithoutDocumentNestedInput
265318
265915
  offer_letter_template_snapshots?: OfferLetterUpdateManyWithoutTemplate_documentNestedInput
265319
265916
  application_fit_check_report?: ApplicationUpdateOneWithoutFit_check_report_documentNestedInput
265320
- consent_document_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
265917
+ terms_consent_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
265918
+ privacy_policy_consent_versions?: ConsentDocumentVersionUpdateManyWithoutPrivacy_policyNestedInput
265321
265919
  }
265322
265920
 
265323
265921
  export type DocumentUncheckedUpdateWithoutOffer_draft_edited_htmlInput = {
@@ -265352,7 +265950,8 @@ export namespace Prisma {
265352
265950
  offer_letters?: OfferLetterUncheckedUpdateManyWithoutDocumentNestedInput
265353
265951
  offer_letter_template_snapshots?: OfferLetterUncheckedUpdateManyWithoutTemplate_documentNestedInput
265354
265952
  application_fit_check_report?: ApplicationUncheckedUpdateOneWithoutFit_check_report_documentNestedInput
265355
- consent_document_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
265953
+ terms_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
265954
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyNestedInput
265356
265955
  }
265357
265956
 
265358
265957
  export type OfferLetterUpsertWithoutCurrent_for_offerInput = {
@@ -265581,7 +266180,8 @@ export namespace Prisma {
265581
266180
  offer_letter_template_snapshots?: OfferLetterCreateNestedManyWithoutTemplate_documentInput
265582
266181
  offer_draft_edited_html?: OfferCreateNestedManyWithoutDraft_edited_html_documentInput
265583
266182
  application_fit_check_report?: ApplicationCreateNestedOneWithoutFit_check_report_documentInput
265584
- consent_document_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
266183
+ terms_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
266184
+ privacy_policy_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutPrivacy_policyInput
265585
266185
  }
265586
266186
 
265587
266187
  export type DocumentUncheckedCreateWithoutOffer_lettersInput = {
@@ -265616,7 +266216,8 @@ export namespace Prisma {
265616
266216
  offer_letter_template_snapshots?: OfferLetterUncheckedCreateNestedManyWithoutTemplate_documentInput
265617
266217
  offer_draft_edited_html?: OfferUncheckedCreateNestedManyWithoutDraft_edited_html_documentInput
265618
266218
  application_fit_check_report?: ApplicationUncheckedCreateNestedOneWithoutFit_check_report_documentInput
265619
- consent_document_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
266219
+ terms_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
266220
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutPrivacy_policyInput
265620
266221
  }
265621
266222
 
265622
266223
  export type DocumentCreateOrConnectWithoutOffer_lettersInput = {
@@ -265703,7 +266304,8 @@ export namespace Prisma {
265703
266304
  offer_letters?: OfferLetterCreateNestedManyWithoutDocumentInput
265704
266305
  offer_draft_edited_html?: OfferCreateNestedManyWithoutDraft_edited_html_documentInput
265705
266306
  application_fit_check_report?: ApplicationCreateNestedOneWithoutFit_check_report_documentInput
265706
- consent_document_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
266307
+ terms_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
266308
+ privacy_policy_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutPrivacy_policyInput
265707
266309
  }
265708
266310
 
265709
266311
  export type DocumentUncheckedCreateWithoutOffer_letter_template_snapshotsInput = {
@@ -265738,7 +266340,8 @@ export namespace Prisma {
265738
266340
  offer_letters?: OfferLetterUncheckedCreateNestedManyWithoutDocumentInput
265739
266341
  offer_draft_edited_html?: OfferUncheckedCreateNestedManyWithoutDraft_edited_html_documentInput
265740
266342
  application_fit_check_report?: ApplicationUncheckedCreateNestedOneWithoutFit_check_report_documentInput
265741
- consent_document_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
266343
+ terms_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
266344
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutPrivacy_policyInput
265742
266345
  }
265743
266346
 
265744
266347
  export type DocumentCreateOrConnectWithoutOffer_letter_template_snapshotsInput = {
@@ -265874,7 +266477,8 @@ export namespace Prisma {
265874
266477
  offer_letter_template_snapshots?: OfferLetterUpdateManyWithoutTemplate_documentNestedInput
265875
266478
  offer_draft_edited_html?: OfferUpdateManyWithoutDraft_edited_html_documentNestedInput
265876
266479
  application_fit_check_report?: ApplicationUpdateOneWithoutFit_check_report_documentNestedInput
265877
- consent_document_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
266480
+ terms_consent_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
266481
+ privacy_policy_consent_versions?: ConsentDocumentVersionUpdateManyWithoutPrivacy_policyNestedInput
265878
266482
  }
265879
266483
 
265880
266484
  export type DocumentUncheckedUpdateWithoutOffer_lettersInput = {
@@ -265909,7 +266513,8 @@ export namespace Prisma {
265909
266513
  offer_letter_template_snapshots?: OfferLetterUncheckedUpdateManyWithoutTemplate_documentNestedInput
265910
266514
  offer_draft_edited_html?: OfferUncheckedUpdateManyWithoutDraft_edited_html_documentNestedInput
265911
266515
  application_fit_check_report?: ApplicationUncheckedUpdateOneWithoutFit_check_report_documentNestedInput
265912
- consent_document_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
266516
+ terms_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
266517
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyNestedInput
265913
266518
  }
265914
266519
 
265915
266520
  export type OfferLetterTemplateUpsertWithoutOffer_lettersInput = {
@@ -266008,7 +266613,8 @@ export namespace Prisma {
266008
266613
  offer_letters?: OfferLetterUpdateManyWithoutDocumentNestedInput
266009
266614
  offer_draft_edited_html?: OfferUpdateManyWithoutDraft_edited_html_documentNestedInput
266010
266615
  application_fit_check_report?: ApplicationUpdateOneWithoutFit_check_report_documentNestedInput
266011
- consent_document_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
266616
+ terms_consent_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
266617
+ privacy_policy_consent_versions?: ConsentDocumentVersionUpdateManyWithoutPrivacy_policyNestedInput
266012
266618
  }
266013
266619
 
266014
266620
  export type DocumentUncheckedUpdateWithoutOffer_letter_template_snapshotsInput = {
@@ -266043,7 +266649,8 @@ export namespace Prisma {
266043
266649
  offer_letters?: OfferLetterUncheckedUpdateManyWithoutDocumentNestedInput
266044
266650
  offer_draft_edited_html?: OfferUncheckedUpdateManyWithoutDraft_edited_html_documentNestedInput
266045
266651
  application_fit_check_report?: ApplicationUncheckedUpdateOneWithoutFit_check_report_documentNestedInput
266046
- consent_document_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
266652
+ terms_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
266653
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyNestedInput
266047
266654
  }
266048
266655
 
266049
266656
  export type JobDescriptionCreateWithoutOngoing_evaluationsInput = {
@@ -269602,7 +270209,8 @@ export namespace Prisma {
269602
270209
  offer_letter_template_snapshots?: OfferLetterCreateNestedManyWithoutTemplate_documentInput
269603
270210
  offer_draft_edited_html?: OfferCreateNestedManyWithoutDraft_edited_html_documentInput
269604
270211
  application_fit_check_report?: ApplicationCreateNestedOneWithoutFit_check_report_documentInput
269605
- consent_document_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
270212
+ terms_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
270213
+ privacy_policy_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutPrivacy_policyInput
269606
270214
  }
269607
270215
 
269608
270216
  export type DocumentUncheckedCreateWithoutOrganisationInput = {
@@ -269637,7 +270245,8 @@ export namespace Prisma {
269637
270245
  offer_letter_template_snapshots?: OfferLetterUncheckedCreateNestedManyWithoutTemplate_documentInput
269638
270246
  offer_draft_edited_html?: OfferUncheckedCreateNestedManyWithoutDraft_edited_html_documentInput
269639
270247
  application_fit_check_report?: ApplicationUncheckedCreateNestedOneWithoutFit_check_report_documentInput
269640
- consent_document_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
270248
+ terms_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
270249
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutPrivacy_policyInput
269641
270250
  }
269642
270251
 
269643
270252
  export type DocumentCreateOrConnectWithoutOrganisationInput = {
@@ -274418,7 +275027,8 @@ export namespace Prisma {
274418
275027
  offer_letter_template_snapshots?: OfferLetterCreateNestedManyWithoutTemplate_documentInput
274419
275028
  offer_draft_edited_html?: OfferCreateNestedManyWithoutDraft_edited_html_documentInput
274420
275029
  application_fit_check_report?: ApplicationCreateNestedOneWithoutFit_check_report_documentInput
274421
- consent_document_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
275030
+ terms_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
275031
+ privacy_policy_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutPrivacy_policyInput
274422
275032
  }
274423
275033
 
274424
275034
  export type DocumentUncheckedCreateWithoutResumeInput = {
@@ -274453,7 +275063,8 @@ export namespace Prisma {
274453
275063
  offer_letter_template_snapshots?: OfferLetterUncheckedCreateNestedManyWithoutTemplate_documentInput
274454
275064
  offer_draft_edited_html?: OfferUncheckedCreateNestedManyWithoutDraft_edited_html_documentInput
274455
275065
  application_fit_check_report?: ApplicationUncheckedCreateNestedOneWithoutFit_check_report_documentInput
274456
- consent_document_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
275066
+ terms_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
275067
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutPrivacy_policyInput
274457
275068
  }
274458
275069
 
274459
275070
  export type DocumentCreateOrConnectWithoutResumeInput = {
@@ -274493,7 +275104,8 @@ export namespace Prisma {
274493
275104
  offer_letter_template_snapshots?: OfferLetterCreateNestedManyWithoutTemplate_documentInput
274494
275105
  offer_draft_edited_html?: OfferCreateNestedManyWithoutDraft_edited_html_documentInput
274495
275106
  application_fit_check_report?: ApplicationCreateNestedOneWithoutFit_check_report_documentInput
274496
- consent_document_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
275107
+ terms_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
275108
+ privacy_policy_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutPrivacy_policyInput
274497
275109
  }
274498
275110
 
274499
275111
  export type DocumentUncheckedCreateWithoutResume_rendered_exportInput = {
@@ -274528,7 +275140,8 @@ export namespace Prisma {
274528
275140
  offer_letter_template_snapshots?: OfferLetterUncheckedCreateNestedManyWithoutTemplate_documentInput
274529
275141
  offer_draft_edited_html?: OfferUncheckedCreateNestedManyWithoutDraft_edited_html_documentInput
274530
275142
  application_fit_check_report?: ApplicationUncheckedCreateNestedOneWithoutFit_check_report_documentInput
274531
- consent_document_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
275143
+ terms_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
275144
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutPrivacy_policyInput
274532
275145
  }
274533
275146
 
274534
275147
  export type DocumentCreateOrConnectWithoutResume_rendered_exportInput = {
@@ -275497,7 +276110,8 @@ export namespace Prisma {
275497
276110
  offer_letter_template_snapshots?: OfferLetterUpdateManyWithoutTemplate_documentNestedInput
275498
276111
  offer_draft_edited_html?: OfferUpdateManyWithoutDraft_edited_html_documentNestedInput
275499
276112
  application_fit_check_report?: ApplicationUpdateOneWithoutFit_check_report_documentNestedInput
275500
- consent_document_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
276113
+ terms_consent_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
276114
+ privacy_policy_consent_versions?: ConsentDocumentVersionUpdateManyWithoutPrivacy_policyNestedInput
275501
276115
  }
275502
276116
 
275503
276117
  export type DocumentUncheckedUpdateWithoutResumeInput = {
@@ -275532,7 +276146,8 @@ export namespace Prisma {
275532
276146
  offer_letter_template_snapshots?: OfferLetterUncheckedUpdateManyWithoutTemplate_documentNestedInput
275533
276147
  offer_draft_edited_html?: OfferUncheckedUpdateManyWithoutDraft_edited_html_documentNestedInput
275534
276148
  application_fit_check_report?: ApplicationUncheckedUpdateOneWithoutFit_check_report_documentNestedInput
275535
- consent_document_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
276149
+ terms_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
276150
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyNestedInput
275536
276151
  }
275537
276152
 
275538
276153
  export type DocumentUpsertWithoutResume_rendered_exportInput = {
@@ -275578,7 +276193,8 @@ export namespace Prisma {
275578
276193
  offer_letter_template_snapshots?: OfferLetterUpdateManyWithoutTemplate_documentNestedInput
275579
276194
  offer_draft_edited_html?: OfferUpdateManyWithoutDraft_edited_html_documentNestedInput
275580
276195
  application_fit_check_report?: ApplicationUpdateOneWithoutFit_check_report_documentNestedInput
275581
- consent_document_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
276196
+ terms_consent_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
276197
+ privacy_policy_consent_versions?: ConsentDocumentVersionUpdateManyWithoutPrivacy_policyNestedInput
275582
276198
  }
275583
276199
 
275584
276200
  export type DocumentUncheckedUpdateWithoutResume_rendered_exportInput = {
@@ -275613,7 +276229,8 @@ export namespace Prisma {
275613
276229
  offer_letter_template_snapshots?: OfferLetterUncheckedUpdateManyWithoutTemplate_documentNestedInput
275614
276230
  offer_draft_edited_html?: OfferUncheckedUpdateManyWithoutDraft_edited_html_documentNestedInput
275615
276231
  application_fit_check_report?: ApplicationUncheckedUpdateOneWithoutFit_check_report_documentNestedInput
275616
- consent_document_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
276232
+ terms_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
276233
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyNestedInput
275617
276234
  }
275618
276235
 
275619
276236
  export type ApplicationUpsertWithWhereUniqueWithoutResumeInput = {
@@ -280762,7 +281379,8 @@ export namespace Prisma {
280762
281379
  offer_letter_template_snapshots?: OfferLetterCreateNestedManyWithoutTemplate_documentInput
280763
281380
  offer_draft_edited_html?: OfferCreateNestedManyWithoutDraft_edited_html_documentInput
280764
281381
  application_fit_check_report?: ApplicationCreateNestedOneWithoutFit_check_report_documentInput
280765
- consent_document_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
281382
+ terms_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutDocumentInput
281383
+ privacy_policy_consent_versions?: ConsentDocumentVersionCreateNestedManyWithoutPrivacy_policyInput
280766
281384
  }
280767
281385
 
280768
281386
  export type DocumentUncheckedCreateWithoutCandidateInput = {
@@ -280797,7 +281415,8 @@ export namespace Prisma {
280797
281415
  offer_letter_template_snapshots?: OfferLetterUncheckedCreateNestedManyWithoutTemplate_documentInput
280798
281416
  offer_draft_edited_html?: OfferUncheckedCreateNestedManyWithoutDraft_edited_html_documentInput
280799
281417
  application_fit_check_report?: ApplicationUncheckedCreateNestedOneWithoutFit_check_report_documentInput
280800
- consent_document_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
281418
+ terms_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutDocumentInput
281419
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedCreateNestedManyWithoutPrivacy_policyInput
280801
281420
  }
280802
281421
 
280803
281422
  export type DocumentCreateOrConnectWithoutCandidateInput = {
@@ -280960,10 +281579,12 @@ export namespace Prisma {
280960
281579
 
280961
281580
  export type ConsentRecordCreateWithoutUserInput = {
280962
281581
  id?: string
280963
- outcome: $Enums.ConsentOutcome
281582
+ outcome?: $Enums.ConsentOutcome | null
281583
+ grant_status?: $Enums.ConsentGrantStatus | null
280964
281584
  selections?: JsonNullValueInput | InputJsonValue
280965
281585
  reference_type?: $Enums.ConsentReferenceType | null
280966
281586
  reference_id?: string | null
281587
+ evaluation_id?: string | null
280967
281588
  ip_address?: string | null
280968
281589
  user_agent?: string | null
280969
281590
  decline_reason?: string | null
@@ -280973,11 +281594,13 @@ export namespace Prisma {
280973
281594
 
280974
281595
  export type ConsentRecordUncheckedCreateWithoutUserInput = {
280975
281596
  id?: string
280976
- outcome: $Enums.ConsentOutcome
281597
+ outcome?: $Enums.ConsentOutcome | null
281598
+ grant_status?: $Enums.ConsentGrantStatus | null
280977
281599
  consent_document_version_id: string
280978
281600
  selections?: JsonNullValueInput | InputJsonValue
280979
281601
  reference_type?: $Enums.ConsentReferenceType | null
280980
281602
  reference_id?: string | null
281603
+ evaluation_id?: string | null
280981
281604
  ip_address?: string | null
280982
281605
  user_agent?: string | null
280983
281606
  decline_reason?: string | null
@@ -285306,10 +285929,12 @@ export namespace Prisma {
285306
285929
  id?: string
285307
285930
  version_number: number
285308
285931
  document_id?: string | null
285932
+ privacy_policy_id?: string | null
285309
285933
  status?: $Enums.ConsentCatalogVersionStatus
285310
285934
  published_at?: Date | string | null
285311
285935
  created_at?: Date | string
285312
285936
  updated_at?: Date | string
285937
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
285313
285938
  }
285314
285939
 
285315
285940
  export type ConsentDocumentVersionUpdateWithoutConsent_documentInput = {
@@ -285319,8 +285944,10 @@ export namespace Prisma {
285319
285944
  published_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
285320
285945
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
285321
285946
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
285322
- document?: DocumentUpdateOneWithoutConsent_document_versionsNestedInput
285323
- checkboxes?: ConsentCheckboxDefinitionUpdateManyWithoutConsent_document_versionNestedInput
285947
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
285948
+ document?: DocumentUpdateOneWithoutTerms_consent_versionsNestedInput
285949
+ privacy_policy?: DocumentUpdateOneWithoutPrivacy_policy_consent_versionsNestedInput
285950
+ checkbox_definitions?: ConsentCheckboxDefinitionUpdateManyWithoutConsent_document_versionNestedInput
285324
285951
  consent_records?: ConsentRecordUpdateManyWithoutConsent_document_versionNestedInput
285325
285952
  }
285326
285953
 
@@ -285328,11 +285955,13 @@ export namespace Prisma {
285328
285955
  id?: StringFieldUpdateOperationsInput | string
285329
285956
  version_number?: IntFieldUpdateOperationsInput | number
285330
285957
  document_id?: NullableStringFieldUpdateOperationsInput | string | null
285958
+ privacy_policy_id?: NullableStringFieldUpdateOperationsInput | string | null
285331
285959
  status?: EnumConsentCatalogVersionStatusFieldUpdateOperationsInput | $Enums.ConsentCatalogVersionStatus
285332
285960
  published_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
285333
285961
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
285334
285962
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
285335
- checkboxes?: ConsentCheckboxDefinitionUncheckedUpdateManyWithoutConsent_document_versionNestedInput
285963
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
285964
+ checkbox_definitions?: ConsentCheckboxDefinitionUncheckedUpdateManyWithoutConsent_document_versionNestedInput
285336
285965
  consent_records?: ConsentRecordUncheckedUpdateManyWithoutConsent_document_versionNestedInput
285337
285966
  }
285338
285967
 
@@ -285340,10 +285969,12 @@ export namespace Prisma {
285340
285969
  id?: StringFieldUpdateOperationsInput | string
285341
285970
  version_number?: IntFieldUpdateOperationsInput | number
285342
285971
  document_id?: NullableStringFieldUpdateOperationsInput | string | null
285972
+ privacy_policy_id?: NullableStringFieldUpdateOperationsInput | string | null
285343
285973
  status?: EnumConsentCatalogVersionStatusFieldUpdateOperationsInput | $Enums.ConsentCatalogVersionStatus
285344
285974
  published_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
285345
285975
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
285346
285976
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
285977
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
285347
285978
  }
285348
285979
 
285349
285980
  export type ConsentCheckboxDefinitionCreateManyConsent_document_versionInput = {
@@ -285357,10 +285988,12 @@ export namespace Prisma {
285357
285988
  export type ConsentRecordCreateManyConsent_document_versionInput = {
285358
285989
  id?: string
285359
285990
  user_id: string
285360
- outcome: $Enums.ConsentOutcome
285991
+ outcome?: $Enums.ConsentOutcome | null
285992
+ grant_status?: $Enums.ConsentGrantStatus | null
285361
285993
  selections?: JsonNullValueInput | InputJsonValue
285362
285994
  reference_type?: $Enums.ConsentReferenceType | null
285363
285995
  reference_id?: string | null
285996
+ evaluation_id?: string | null
285364
285997
  ip_address?: string | null
285365
285998
  user_agent?: string | null
285366
285999
  decline_reason?: string | null
@@ -285393,10 +286026,12 @@ export namespace Prisma {
285393
286026
 
285394
286027
  export type ConsentRecordUpdateWithoutConsent_document_versionInput = {
285395
286028
  id?: StringFieldUpdateOperationsInput | string
285396
- outcome?: EnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome
286029
+ outcome?: NullableEnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome | null
286030
+ grant_status?: NullableEnumConsentGrantStatusFieldUpdateOperationsInput | $Enums.ConsentGrantStatus | null
285397
286031
  selections?: JsonNullValueInput | InputJsonValue
285398
286032
  reference_type?: NullableEnumConsentReferenceTypeFieldUpdateOperationsInput | $Enums.ConsentReferenceType | null
285399
286033
  reference_id?: NullableStringFieldUpdateOperationsInput | string | null
286034
+ evaluation_id?: NullableStringFieldUpdateOperationsInput | string | null
285400
286035
  ip_address?: NullableStringFieldUpdateOperationsInput | string | null
285401
286036
  user_agent?: NullableStringFieldUpdateOperationsInput | string | null
285402
286037
  decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
@@ -285407,10 +286042,12 @@ export namespace Prisma {
285407
286042
  export type ConsentRecordUncheckedUpdateWithoutConsent_document_versionInput = {
285408
286043
  id?: StringFieldUpdateOperationsInput | string
285409
286044
  user_id?: StringFieldUpdateOperationsInput | string
285410
- outcome?: EnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome
286045
+ outcome?: NullableEnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome | null
286046
+ grant_status?: NullableEnumConsentGrantStatusFieldUpdateOperationsInput | $Enums.ConsentGrantStatus | null
285411
286047
  selections?: JsonNullValueInput | InputJsonValue
285412
286048
  reference_type?: NullableEnumConsentReferenceTypeFieldUpdateOperationsInput | $Enums.ConsentReferenceType | null
285413
286049
  reference_id?: NullableStringFieldUpdateOperationsInput | string | null
286050
+ evaluation_id?: NullableStringFieldUpdateOperationsInput | string | null
285414
286051
  ip_address?: NullableStringFieldUpdateOperationsInput | string | null
285415
286052
  user_agent?: NullableStringFieldUpdateOperationsInput | string | null
285416
286053
  decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
@@ -285420,10 +286057,12 @@ export namespace Prisma {
285420
286057
  export type ConsentRecordUncheckedUpdateManyWithoutConsent_document_versionInput = {
285421
286058
  id?: StringFieldUpdateOperationsInput | string
285422
286059
  user_id?: StringFieldUpdateOperationsInput | string
285423
- outcome?: EnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome
286060
+ outcome?: NullableEnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome | null
286061
+ grant_status?: NullableEnumConsentGrantStatusFieldUpdateOperationsInput | $Enums.ConsentGrantStatus | null
285424
286062
  selections?: JsonNullValueInput | InputJsonValue
285425
286063
  reference_type?: NullableEnumConsentReferenceTypeFieldUpdateOperationsInput | $Enums.ConsentReferenceType | null
285426
286064
  reference_id?: NullableStringFieldUpdateOperationsInput | string | null
286065
+ evaluation_id?: NullableStringFieldUpdateOperationsInput | string | null
285427
286066
  ip_address?: NullableStringFieldUpdateOperationsInput | string | null
285428
286067
  user_agent?: NullableStringFieldUpdateOperationsInput | string | null
285429
286068
  decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
@@ -286293,10 +286932,24 @@ export namespace Prisma {
286293
286932
  id?: string
286294
286933
  consent_document_id: string
286295
286934
  version_number: number
286935
+ privacy_policy_id?: string | null
286936
+ status?: $Enums.ConsentCatalogVersionStatus
286937
+ published_at?: Date | string | null
286938
+ created_at?: Date | string
286939
+ updated_at?: Date | string
286940
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
286941
+ }
286942
+
286943
+ export type ConsentDocumentVersionCreateManyPrivacy_policyInput = {
286944
+ id?: string
286945
+ consent_document_id: string
286946
+ version_number: number
286947
+ document_id?: string | null
286296
286948
  status?: $Enums.ConsentCatalogVersionStatus
286297
286949
  published_at?: Date | string | null
286298
286950
  created_at?: Date | string
286299
286951
  updated_at?: Date | string
286952
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
286300
286953
  }
286301
286954
 
286302
286955
  export type JobApplicationResponseUpdateWithoutDocumentInput = {
@@ -286683,8 +287336,10 @@ export namespace Prisma {
286683
287336
  published_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
286684
287337
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
286685
287338
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
287339
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
286686
287340
  consent_document?: ConsentDocumentUpdateOneRequiredWithoutVersionsNestedInput
286687
- checkboxes?: ConsentCheckboxDefinitionUpdateManyWithoutConsent_document_versionNestedInput
287341
+ privacy_policy?: DocumentUpdateOneWithoutPrivacy_policy_consent_versionsNestedInput
287342
+ checkbox_definitions?: ConsentCheckboxDefinitionUpdateManyWithoutConsent_document_versionNestedInput
286688
287343
  consent_records?: ConsentRecordUpdateManyWithoutConsent_document_versionNestedInput
286689
287344
  }
286690
287345
 
@@ -286692,11 +287347,13 @@ export namespace Prisma {
286692
287347
  id?: StringFieldUpdateOperationsInput | string
286693
287348
  consent_document_id?: StringFieldUpdateOperationsInput | string
286694
287349
  version_number?: IntFieldUpdateOperationsInput | number
287350
+ privacy_policy_id?: NullableStringFieldUpdateOperationsInput | string | null
286695
287351
  status?: EnumConsentCatalogVersionStatusFieldUpdateOperationsInput | $Enums.ConsentCatalogVersionStatus
286696
287352
  published_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
286697
287353
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
286698
287354
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
286699
- checkboxes?: ConsentCheckboxDefinitionUncheckedUpdateManyWithoutConsent_document_versionNestedInput
287355
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
287356
+ checkbox_definitions?: ConsentCheckboxDefinitionUncheckedUpdateManyWithoutConsent_document_versionNestedInput
286700
287357
  consent_records?: ConsentRecordUncheckedUpdateManyWithoutConsent_document_versionNestedInput
286701
287358
  }
286702
287359
 
@@ -286704,10 +287361,52 @@ export namespace Prisma {
286704
287361
  id?: StringFieldUpdateOperationsInput | string
286705
287362
  consent_document_id?: StringFieldUpdateOperationsInput | string
286706
287363
  version_number?: IntFieldUpdateOperationsInput | number
287364
+ privacy_policy_id?: NullableStringFieldUpdateOperationsInput | string | null
287365
+ status?: EnumConsentCatalogVersionStatusFieldUpdateOperationsInput | $Enums.ConsentCatalogVersionStatus
287366
+ published_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
287367
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
287368
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
287369
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
287370
+ }
287371
+
287372
+ export type ConsentDocumentVersionUpdateWithoutPrivacy_policyInput = {
287373
+ id?: StringFieldUpdateOperationsInput | string
287374
+ version_number?: IntFieldUpdateOperationsInput | number
287375
+ status?: EnumConsentCatalogVersionStatusFieldUpdateOperationsInput | $Enums.ConsentCatalogVersionStatus
287376
+ published_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
287377
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
287378
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
287379
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
287380
+ consent_document?: ConsentDocumentUpdateOneRequiredWithoutVersionsNestedInput
287381
+ document?: DocumentUpdateOneWithoutTerms_consent_versionsNestedInput
287382
+ checkbox_definitions?: ConsentCheckboxDefinitionUpdateManyWithoutConsent_document_versionNestedInput
287383
+ consent_records?: ConsentRecordUpdateManyWithoutConsent_document_versionNestedInput
287384
+ }
287385
+
287386
+ export type ConsentDocumentVersionUncheckedUpdateWithoutPrivacy_policyInput = {
287387
+ id?: StringFieldUpdateOperationsInput | string
287388
+ consent_document_id?: StringFieldUpdateOperationsInput | string
287389
+ version_number?: IntFieldUpdateOperationsInput | number
287390
+ document_id?: NullableStringFieldUpdateOperationsInput | string | null
287391
+ status?: EnumConsentCatalogVersionStatusFieldUpdateOperationsInput | $Enums.ConsentCatalogVersionStatus
287392
+ published_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
287393
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
287394
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
287395
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
287396
+ checkbox_definitions?: ConsentCheckboxDefinitionUncheckedUpdateManyWithoutConsent_document_versionNestedInput
287397
+ consent_records?: ConsentRecordUncheckedUpdateManyWithoutConsent_document_versionNestedInput
287398
+ }
287399
+
287400
+ export type ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyInput = {
287401
+ id?: StringFieldUpdateOperationsInput | string
287402
+ consent_document_id?: StringFieldUpdateOperationsInput | string
287403
+ version_number?: IntFieldUpdateOperationsInput | number
287404
+ document_id?: NullableStringFieldUpdateOperationsInput | string | null
286707
287405
  status?: EnumConsentCatalogVersionStatusFieldUpdateOperationsInput | $Enums.ConsentCatalogVersionStatus
286708
287406
  published_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
286709
287407
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
286710
287408
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
287409
+ checkboxes?: NullableJsonNullValueInput | InputJsonValue
286711
287410
  }
286712
287411
 
286713
287412
  export type QuestionCreateManyEvaluationPlanInput = {
@@ -294245,7 +294944,8 @@ export namespace Prisma {
294245
294944
  offer_letter_template_snapshots?: OfferLetterUpdateManyWithoutTemplate_documentNestedInput
294246
294945
  offer_draft_edited_html?: OfferUpdateManyWithoutDraft_edited_html_documentNestedInput
294247
294946
  application_fit_check_report?: ApplicationUpdateOneWithoutFit_check_report_documentNestedInput
294248
- consent_document_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
294947
+ terms_consent_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
294948
+ privacy_policy_consent_versions?: ConsentDocumentVersionUpdateManyWithoutPrivacy_policyNestedInput
294249
294949
  }
294250
294950
 
294251
294951
  export type DocumentUncheckedUpdateWithoutOrganisationInput = {
@@ -294280,7 +294980,8 @@ export namespace Prisma {
294280
294980
  offer_letter_template_snapshots?: OfferLetterUncheckedUpdateManyWithoutTemplate_documentNestedInput
294281
294981
  offer_draft_edited_html?: OfferUncheckedUpdateManyWithoutDraft_edited_html_documentNestedInput
294282
294982
  application_fit_check_report?: ApplicationUncheckedUpdateOneWithoutFit_check_report_documentNestedInput
294283
- consent_document_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
294983
+ terms_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
294984
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyNestedInput
294284
294985
  }
294285
294986
 
294286
294987
  export type DocumentUncheckedUpdateManyWithoutOrganisationInput = {
@@ -297284,11 +297985,13 @@ export namespace Prisma {
297284
297985
 
297285
297986
  export type ConsentRecordCreateManyUserInput = {
297286
297987
  id?: string
297287
- outcome: $Enums.ConsentOutcome
297988
+ outcome?: $Enums.ConsentOutcome | null
297989
+ grant_status?: $Enums.ConsentGrantStatus | null
297288
297990
  consent_document_version_id: string
297289
297991
  selections?: JsonNullValueInput | InputJsonValue
297290
297992
  reference_type?: $Enums.ConsentReferenceType | null
297291
297993
  reference_id?: string | null
297994
+ evaluation_id?: string | null
297292
297995
  ip_address?: string | null
297293
297996
  user_agent?: string | null
297294
297997
  decline_reason?: string | null
@@ -299656,7 +300359,8 @@ export namespace Prisma {
299656
300359
  offer_letter_template_snapshots?: OfferLetterUpdateManyWithoutTemplate_documentNestedInput
299657
300360
  offer_draft_edited_html?: OfferUpdateManyWithoutDraft_edited_html_documentNestedInput
299658
300361
  application_fit_check_report?: ApplicationUpdateOneWithoutFit_check_report_documentNestedInput
299659
- consent_document_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
300362
+ terms_consent_versions?: ConsentDocumentVersionUpdateManyWithoutDocumentNestedInput
300363
+ privacy_policy_consent_versions?: ConsentDocumentVersionUpdateManyWithoutPrivacy_policyNestedInput
299660
300364
  }
299661
300365
 
299662
300366
  export type DocumentUncheckedUpdateWithoutCandidateInput = {
@@ -299691,7 +300395,8 @@ export namespace Prisma {
299691
300395
  offer_letter_template_snapshots?: OfferLetterUncheckedUpdateManyWithoutTemplate_documentNestedInput
299692
300396
  offer_draft_edited_html?: OfferUncheckedUpdateManyWithoutDraft_edited_html_documentNestedInput
299693
300397
  application_fit_check_report?: ApplicationUncheckedUpdateOneWithoutFit_check_report_documentNestedInput
299694
- consent_document_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
300398
+ terms_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutDocumentNestedInput
300399
+ privacy_policy_consent_versions?: ConsentDocumentVersionUncheckedUpdateManyWithoutPrivacy_policyNestedInput
299695
300400
  }
299696
300401
 
299697
300402
  export type DocumentUncheckedUpdateManyWithoutCandidateInput = {
@@ -299888,10 +300593,12 @@ export namespace Prisma {
299888
300593
 
299889
300594
  export type ConsentRecordUpdateWithoutUserInput = {
299890
300595
  id?: StringFieldUpdateOperationsInput | string
299891
- outcome?: EnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome
300596
+ outcome?: NullableEnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome | null
300597
+ grant_status?: NullableEnumConsentGrantStatusFieldUpdateOperationsInput | $Enums.ConsentGrantStatus | null
299892
300598
  selections?: JsonNullValueInput | InputJsonValue
299893
300599
  reference_type?: NullableEnumConsentReferenceTypeFieldUpdateOperationsInput | $Enums.ConsentReferenceType | null
299894
300600
  reference_id?: NullableStringFieldUpdateOperationsInput | string | null
300601
+ evaluation_id?: NullableStringFieldUpdateOperationsInput | string | null
299895
300602
  ip_address?: NullableStringFieldUpdateOperationsInput | string | null
299896
300603
  user_agent?: NullableStringFieldUpdateOperationsInput | string | null
299897
300604
  decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
@@ -299901,11 +300608,13 @@ export namespace Prisma {
299901
300608
 
299902
300609
  export type ConsentRecordUncheckedUpdateWithoutUserInput = {
299903
300610
  id?: StringFieldUpdateOperationsInput | string
299904
- outcome?: EnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome
300611
+ outcome?: NullableEnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome | null
300612
+ grant_status?: NullableEnumConsentGrantStatusFieldUpdateOperationsInput | $Enums.ConsentGrantStatus | null
299905
300613
  consent_document_version_id?: StringFieldUpdateOperationsInput | string
299906
300614
  selections?: JsonNullValueInput | InputJsonValue
299907
300615
  reference_type?: NullableEnumConsentReferenceTypeFieldUpdateOperationsInput | $Enums.ConsentReferenceType | null
299908
300616
  reference_id?: NullableStringFieldUpdateOperationsInput | string | null
300617
+ evaluation_id?: NullableStringFieldUpdateOperationsInput | string | null
299909
300618
  ip_address?: NullableStringFieldUpdateOperationsInput | string | null
299910
300619
  user_agent?: NullableStringFieldUpdateOperationsInput | string | null
299911
300620
  decline_reason?: NullableStringFieldUpdateOperationsInput | string | null
@@ -299914,11 +300623,13 @@ export namespace Prisma {
299914
300623
 
299915
300624
  export type ConsentRecordUncheckedUpdateManyWithoutUserInput = {
299916
300625
  id?: StringFieldUpdateOperationsInput | string
299917
- outcome?: EnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome
300626
+ outcome?: NullableEnumConsentOutcomeFieldUpdateOperationsInput | $Enums.ConsentOutcome | null
300627
+ grant_status?: NullableEnumConsentGrantStatusFieldUpdateOperationsInput | $Enums.ConsentGrantStatus | null
299918
300628
  consent_document_version_id?: StringFieldUpdateOperationsInput | string
299919
300629
  selections?: JsonNullValueInput | InputJsonValue
299920
300630
  reference_type?: NullableEnumConsentReferenceTypeFieldUpdateOperationsInput | $Enums.ConsentReferenceType | null
299921
300631
  reference_id?: NullableStringFieldUpdateOperationsInput | string | null
300632
+ evaluation_id?: NullableStringFieldUpdateOperationsInput | string | null
299922
300633
  ip_address?: NullableStringFieldUpdateOperationsInput | string | null
299923
300634
  user_agent?: NullableStringFieldUpdateOperationsInput | string | null
299924
300635
  decline_reason?: NullableStringFieldUpdateOperationsInput | string | null