@a_team/prisma 3.17.6-macos-docker-linux → 3.18.0-linux

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.
@@ -388,6 +388,26 @@ export type CallParticipant = $Result.DefaultSelection<Prisma.$CallParticipantPa
388
388
  *
389
389
  */
390
390
  export type CriteriaItem = $Result.DefaultSelection<Prisma.$CriteriaItemPayload>
391
+ /**
392
+ * Model RoleRevisionWorkingHoursDaily
393
+ *
394
+ */
395
+ export type RoleRevisionWorkingHoursDaily = $Result.DefaultSelection<Prisma.$RoleRevisionWorkingHoursDailyPayload>
396
+ /**
397
+ * Model RoleRevisionWorkingHours
398
+ *
399
+ */
400
+ export type RoleRevisionWorkingHours = $Result.DefaultSelection<Prisma.$RoleRevisionWorkingHoursPayload>
401
+ /**
402
+ * Model RoleRevisionCustomQuestion
403
+ *
404
+ */
405
+ export type RoleRevisionCustomQuestion = $Result.DefaultSelection<Prisma.$RoleRevisionCustomQuestionPayload>
406
+ /**
407
+ * Model RoleRevisionData
408
+ *
409
+ */
410
+ export type RoleRevisionData = $Result.DefaultSelection<Prisma.$RoleRevisionDataPayload>
391
411
  /**
392
412
  * Model Role
393
413
  *
@@ -628,6 +648,11 @@ export type RoleCategory = $Result.DefaultSelection<Prisma.$RoleCategoryPayload>
628
648
  *
629
649
  */
630
650
  export type RoleHiringCriteria = $Result.DefaultSelection<Prisma.$RoleHiringCriteriaPayload>
651
+ /**
652
+ * Model RoleRevision
653
+ *
654
+ */
655
+ export type RoleRevision = $Result.DefaultSelection<Prisma.$RoleRevisionPayload>
631
656
  /**
632
657
  * Model Solution
633
658
  *
@@ -869,6 +894,28 @@ export const PlatformRecordedOn: {
869
894
  export type PlatformRecordedOn = (typeof PlatformRecordedOn)[keyof typeof PlatformRecordedOn]
870
895
 
871
896
 
897
+ export const ApprovalStatus: {
898
+ Requested: 'Requested',
899
+ Reviewing: 'Reviewing',
900
+ Approved: 'Approved',
901
+ Denied: 'Denied',
902
+ Merged: 'Merged'
903
+ };
904
+
905
+ export type ApprovalStatus = (typeof ApprovalStatus)[keyof typeof ApprovalStatus]
906
+
907
+
908
+ export const RoleRevisionRejectionCategory: {
909
+ DoesNotBelong: 'DoesNotBelong',
910
+ Mistake: 'Mistake',
911
+ Outdated: 'Outdated',
912
+ NoBudget: 'NoBudget',
913
+ Other: 'Other'
914
+ };
915
+
916
+ export type RoleRevisionRejectionCategory = (typeof RoleRevisionRejectionCategory)[keyof typeof RoleRevisionRejectionCategory]
917
+
918
+
872
919
  export const PresetID: {
873
920
  custom_team: 'custom_team',
874
921
  web_platform: 'web_platform',
@@ -1092,6 +1139,14 @@ export const Priority: {
1092
1139
  export type Priority = (typeof Priority)[keyof typeof Priority]
1093
1140
 
1094
1141
 
1142
+ export const RateInterval: {
1143
+ hourly: 'hourly',
1144
+ monthly: 'monthly'
1145
+ };
1146
+
1147
+ export type RateInterval = (typeof RateInterval)[keyof typeof RateInterval]
1148
+
1149
+
1095
1150
  export const RegisterRequestType: {
1096
1151
  SUPERCHARGE: 'SUPERCHARGE',
1097
1152
  BUILD_PRODUCT: 'BUILD_PRODUCT'
@@ -1211,6 +1266,14 @@ export type PlatformRecordedOn = $Enums.PlatformRecordedOn
1211
1266
 
1212
1267
  export const PlatformRecordedOn: typeof $Enums.PlatformRecordedOn
1213
1268
 
1269
+ export type ApprovalStatus = $Enums.ApprovalStatus
1270
+
1271
+ export const ApprovalStatus: typeof $Enums.ApprovalStatus
1272
+
1273
+ export type RoleRevisionRejectionCategory = $Enums.RoleRevisionRejectionCategory
1274
+
1275
+ export const RoleRevisionRejectionCategory: typeof $Enums.RoleRevisionRejectionCategory
1276
+
1214
1277
  export type PresetID = $Enums.PresetID
1215
1278
 
1216
1279
  export const PresetID: typeof $Enums.PresetID
@@ -1291,6 +1354,10 @@ export type Priority = $Enums.Priority
1291
1354
 
1292
1355
  export const Priority: typeof $Enums.Priority
1293
1356
 
1357
+ export type RateInterval = $Enums.RateInterval
1358
+
1359
+ export const RateInterval: typeof $Enums.RateInterval
1360
+
1294
1361
  export type RegisterRequestType = $Enums.RegisterRequestType
1295
1362
 
1296
1363
  export const RegisterRequestType: typeof $Enums.RegisterRequestType
@@ -1627,6 +1694,16 @@ export class PrismaClient<
1627
1694
  */
1628
1695
  get roleHiringCriteria(): Prisma.RoleHiringCriteriaDelegate<ExtArgs>;
1629
1696
 
1697
+ /**
1698
+ * `prisma.roleRevision`: Exposes CRUD operations for the **RoleRevision** model.
1699
+ * Example usage:
1700
+ * ```ts
1701
+ * // Fetch zero or more RoleRevisions
1702
+ * const roleRevisions = await prisma.roleRevision.findMany()
1703
+ * ```
1704
+ */
1705
+ get roleRevision(): Prisma.RoleRevisionDelegate<ExtArgs>;
1706
+
1630
1707
  /**
1631
1708
  * `prisma.solution`: Exposes CRUD operations for the **Solution** model.
1632
1709
  * Example usage:
@@ -2150,6 +2227,7 @@ export namespace Prisma {
2150
2227
  RecordedCall: 'RecordedCall',
2151
2228
  RoleCategory: 'RoleCategory',
2152
2229
  RoleHiringCriteria: 'RoleHiringCriteria',
2230
+ RoleRevision: 'RoleRevision',
2153
2231
  Solution: 'Solution',
2154
2232
  TalentCategory: 'TalentCategory',
2155
2233
  TalentIndustry: 'TalentIndustry',
@@ -2171,7 +2249,7 @@ export namespace Prisma {
2171
2249
 
2172
2250
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> = {
2173
2251
  meta: {
2174
- modelProps: "account" | "billingAccount" | "builderWebsitesData" | "calendar" | "calendarAvailability" | "calendarEvent" | "calendarEventType" | "clientCompany" | "clientInterview" | "company" | "contract" | "experience" | "invoice" | "linkedInRecommendation" | "mission" | "missionApplication" | "missionPrefill" | "missionSpec" | "paymentCycle" | "proposal" | "recordedCall" | "roleCategory" | "roleHiringCriteria" | "solution" | "talentCategory" | "talentIndustry" | "user" | "userPreference" | "userReview"
2252
+ modelProps: "account" | "billingAccount" | "builderWebsitesData" | "calendar" | "calendarAvailability" | "calendarEvent" | "calendarEventType" | "clientCompany" | "clientInterview" | "company" | "contract" | "experience" | "invoice" | "linkedInRecommendation" | "mission" | "missionApplication" | "missionPrefill" | "missionSpec" | "paymentCycle" | "proposal" | "recordedCall" | "roleCategory" | "roleHiringCriteria" | "roleRevision" | "solution" | "talentCategory" | "talentIndustry" | "user" | "userPreference" | "userReview"
2175
2253
  txIsolationLevel: never
2176
2254
  }
2177
2255
  model: {
@@ -3877,6 +3955,80 @@ export namespace Prisma {
3877
3955
  }
3878
3956
  }
3879
3957
  }
3958
+ RoleRevision: {
3959
+ payload: Prisma.$RoleRevisionPayload<ExtArgs>
3960
+ fields: Prisma.RoleRevisionFieldRefs
3961
+ operations: {
3962
+ findUnique: {
3963
+ args: Prisma.RoleRevisionFindUniqueArgs<ExtArgs>
3964
+ result: $Utils.PayloadToResult<Prisma.$RoleRevisionPayload> | null
3965
+ }
3966
+ findUniqueOrThrow: {
3967
+ args: Prisma.RoleRevisionFindUniqueOrThrowArgs<ExtArgs>
3968
+ result: $Utils.PayloadToResult<Prisma.$RoleRevisionPayload>
3969
+ }
3970
+ findFirst: {
3971
+ args: Prisma.RoleRevisionFindFirstArgs<ExtArgs>
3972
+ result: $Utils.PayloadToResult<Prisma.$RoleRevisionPayload> | null
3973
+ }
3974
+ findFirstOrThrow: {
3975
+ args: Prisma.RoleRevisionFindFirstOrThrowArgs<ExtArgs>
3976
+ result: $Utils.PayloadToResult<Prisma.$RoleRevisionPayload>
3977
+ }
3978
+ findMany: {
3979
+ args: Prisma.RoleRevisionFindManyArgs<ExtArgs>
3980
+ result: $Utils.PayloadToResult<Prisma.$RoleRevisionPayload>[]
3981
+ }
3982
+ create: {
3983
+ args: Prisma.RoleRevisionCreateArgs<ExtArgs>
3984
+ result: $Utils.PayloadToResult<Prisma.$RoleRevisionPayload>
3985
+ }
3986
+ createMany: {
3987
+ args: Prisma.RoleRevisionCreateManyArgs<ExtArgs>
3988
+ result: BatchPayload
3989
+ }
3990
+ delete: {
3991
+ args: Prisma.RoleRevisionDeleteArgs<ExtArgs>
3992
+ result: $Utils.PayloadToResult<Prisma.$RoleRevisionPayload>
3993
+ }
3994
+ update: {
3995
+ args: Prisma.RoleRevisionUpdateArgs<ExtArgs>
3996
+ result: $Utils.PayloadToResult<Prisma.$RoleRevisionPayload>
3997
+ }
3998
+ deleteMany: {
3999
+ args: Prisma.RoleRevisionDeleteManyArgs<ExtArgs>
4000
+ result: BatchPayload
4001
+ }
4002
+ updateMany: {
4003
+ args: Prisma.RoleRevisionUpdateManyArgs<ExtArgs>
4004
+ result: BatchPayload
4005
+ }
4006
+ upsert: {
4007
+ args: Prisma.RoleRevisionUpsertArgs<ExtArgs>
4008
+ result: $Utils.PayloadToResult<Prisma.$RoleRevisionPayload>
4009
+ }
4010
+ aggregate: {
4011
+ args: Prisma.RoleRevisionAggregateArgs<ExtArgs>
4012
+ result: $Utils.Optional<AggregateRoleRevision>
4013
+ }
4014
+ groupBy: {
4015
+ args: Prisma.RoleRevisionGroupByArgs<ExtArgs>
4016
+ result: $Utils.Optional<RoleRevisionGroupByOutputType>[]
4017
+ }
4018
+ findRaw: {
4019
+ args: Prisma.RoleRevisionFindRawArgs<ExtArgs>
4020
+ result: JsonObject
4021
+ }
4022
+ aggregateRaw: {
4023
+ args: Prisma.RoleRevisionAggregateRawArgs<ExtArgs>
4024
+ result: JsonObject
4025
+ }
4026
+ count: {
4027
+ args: Prisma.RoleRevisionCountArgs<ExtArgs>
4028
+ result: $Utils.Optional<RoleRevisionCountAggregateOutputType> | number
4029
+ }
4030
+ }
4031
+ }
3880
4032
  Solution: {
3881
4033
  payload: Prisma.$SolutionPayload<ExtArgs>
3882
4034
  fields: Prisma.SolutionFieldRefs
@@ -10239,6 +10391,336 @@ export namespace Prisma {
10239
10391
  }
10240
10392
 
10241
10393
 
10394
+ /**
10395
+ * Model RoleRevisionWorkingHoursDaily
10396
+ */
10397
+
10398
+
10399
+
10400
+
10401
+
10402
+ export type RoleRevisionWorkingHoursDailySelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
10403
+ startTime?: boolean
10404
+ endTime?: boolean
10405
+ id?: boolean
10406
+ }, ExtArgs["result"]["roleRevisionWorkingHoursDaily"]>
10407
+
10408
+
10409
+ export type RoleRevisionWorkingHoursDailySelectScalar = {
10410
+ startTime?: boolean
10411
+ endTime?: boolean
10412
+ id?: boolean
10413
+ }
10414
+
10415
+
10416
+ export type $RoleRevisionWorkingHoursDailyPayload = {
10417
+ name: "RoleRevisionWorkingHoursDaily"
10418
+ objects: {}
10419
+ scalars: {
10420
+ startTime: number | null
10421
+ endTime: number | null
10422
+ id: string | null
10423
+ }
10424
+ composites: {}
10425
+ }
10426
+
10427
+ type RoleRevisionWorkingHoursDailyGetPayload<S extends boolean | null | undefined | RoleRevisionWorkingHoursDailyDefaultArgs> = $Result.GetResult<Prisma.$RoleRevisionWorkingHoursDailyPayload, S>
10428
+
10429
+
10430
+
10431
+
10432
+
10433
+ /**
10434
+ * Fields of the RoleRevisionWorkingHoursDaily model
10435
+ */
10436
+ interface RoleRevisionWorkingHoursDailyFieldRefs {
10437
+ readonly startTime: FieldRef<"RoleRevisionWorkingHoursDaily", 'Int'>
10438
+ readonly endTime: FieldRef<"RoleRevisionWorkingHoursDaily", 'Int'>
10439
+ readonly id: FieldRef<"RoleRevisionWorkingHoursDaily", 'String'>
10440
+ }
10441
+
10442
+
10443
+ // Custom InputTypes
10444
+ /**
10445
+ * RoleRevisionWorkingHoursDaily without action
10446
+ */
10447
+ export type RoleRevisionWorkingHoursDailyDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10448
+ /**
10449
+ * Select specific fields to fetch from the RoleRevisionWorkingHoursDaily
10450
+ */
10451
+ select?: RoleRevisionWorkingHoursDailySelect<ExtArgs> | null
10452
+ }
10453
+
10454
+
10455
+ /**
10456
+ * Model RoleRevisionWorkingHours
10457
+ */
10458
+
10459
+
10460
+
10461
+
10462
+
10463
+ export type RoleRevisionWorkingHoursSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
10464
+ id?: boolean
10465
+ name?: boolean
10466
+ utcOffset?: boolean
10467
+ daily?: boolean | RoleRevisionWorkingHoursDailyDefaultArgs<ExtArgs>
10468
+ utcStandardHours?: boolean | RoleRevisionWorkingHoursDailyDefaultArgs<ExtArgs>
10469
+ utcDaylightHours?: boolean | RoleRevisionWorkingHoursDailyDefaultArgs<ExtArgs>
10470
+ numberOfMinutesOverlap?: boolean
10471
+ }, ExtArgs["result"]["roleRevisionWorkingHours"]>
10472
+
10473
+
10474
+ export type RoleRevisionWorkingHoursSelectScalar = {
10475
+ id?: boolean
10476
+ name?: boolean
10477
+ utcOffset?: boolean
10478
+ numberOfMinutesOverlap?: boolean
10479
+ }
10480
+
10481
+ export type RoleRevisionWorkingHoursInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {}
10482
+
10483
+ export type $RoleRevisionWorkingHoursPayload = {
10484
+ name: "RoleRevisionWorkingHours"
10485
+ objects: {}
10486
+ scalars: {
10487
+ id: string | null
10488
+ name: string | null
10489
+ utcOffset: number | null
10490
+ numberOfMinutesOverlap: number | null
10491
+ }
10492
+ composites: {
10493
+ daily: Prisma.$RoleRevisionWorkingHoursDailyPayload[]
10494
+ utcStandardHours: Prisma.$RoleRevisionWorkingHoursDailyPayload[]
10495
+ utcDaylightHours: Prisma.$RoleRevisionWorkingHoursDailyPayload[]
10496
+ }
10497
+ }
10498
+
10499
+ type RoleRevisionWorkingHoursGetPayload<S extends boolean | null | undefined | RoleRevisionWorkingHoursDefaultArgs> = $Result.GetResult<Prisma.$RoleRevisionWorkingHoursPayload, S>
10500
+
10501
+
10502
+
10503
+
10504
+
10505
+ /**
10506
+ * Fields of the RoleRevisionWorkingHours model
10507
+ */
10508
+ interface RoleRevisionWorkingHoursFieldRefs {
10509
+ readonly id: FieldRef<"RoleRevisionWorkingHours", 'String'>
10510
+ readonly name: FieldRef<"RoleRevisionWorkingHours", 'String'>
10511
+ readonly utcOffset: FieldRef<"RoleRevisionWorkingHours", 'Int'>
10512
+ readonly numberOfMinutesOverlap: FieldRef<"RoleRevisionWorkingHours", 'Int'>
10513
+ }
10514
+
10515
+
10516
+ // Custom InputTypes
10517
+ /**
10518
+ * RoleRevisionWorkingHours without action
10519
+ */
10520
+ export type RoleRevisionWorkingHoursDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10521
+ /**
10522
+ * Select specific fields to fetch from the RoleRevisionWorkingHours
10523
+ */
10524
+ select?: RoleRevisionWorkingHoursSelect<ExtArgs> | null
10525
+ /**
10526
+ * Choose, which related nodes to fetch as well
10527
+ */
10528
+ include?: RoleRevisionWorkingHoursInclude<ExtArgs> | null
10529
+ }
10530
+
10531
+
10532
+ /**
10533
+ * Model RoleRevisionCustomQuestion
10534
+ */
10535
+
10536
+
10537
+
10538
+
10539
+
10540
+ export type RoleRevisionCustomQuestionSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
10541
+ id?: boolean
10542
+ createdAt?: boolean
10543
+ isRequired?: boolean
10544
+ isVisible?: boolean
10545
+ text?: boolean
10546
+ updatedAt?: boolean
10547
+ }, ExtArgs["result"]["roleRevisionCustomQuestion"]>
10548
+
10549
+
10550
+ export type RoleRevisionCustomQuestionSelectScalar = {
10551
+ id?: boolean
10552
+ createdAt?: boolean
10553
+ isRequired?: boolean
10554
+ isVisible?: boolean
10555
+ text?: boolean
10556
+ updatedAt?: boolean
10557
+ }
10558
+
10559
+
10560
+ export type $RoleRevisionCustomQuestionPayload = {
10561
+ name: "RoleRevisionCustomQuestion"
10562
+ objects: {}
10563
+ scalars: {
10564
+ id: string | null
10565
+ createdAt: Date | null
10566
+ isRequired: boolean | null
10567
+ isVisible: boolean | null
10568
+ text: string | null
10569
+ updatedAt: Date | null
10570
+ }
10571
+ composites: {}
10572
+ }
10573
+
10574
+ type RoleRevisionCustomQuestionGetPayload<S extends boolean | null | undefined | RoleRevisionCustomQuestionDefaultArgs> = $Result.GetResult<Prisma.$RoleRevisionCustomQuestionPayload, S>
10575
+
10576
+
10577
+
10578
+
10579
+
10580
+ /**
10581
+ * Fields of the RoleRevisionCustomQuestion model
10582
+ */
10583
+ interface RoleRevisionCustomQuestionFieldRefs {
10584
+ readonly id: FieldRef<"RoleRevisionCustomQuestion", 'String'>
10585
+ readonly createdAt: FieldRef<"RoleRevisionCustomQuestion", 'DateTime'>
10586
+ readonly isRequired: FieldRef<"RoleRevisionCustomQuestion", 'Boolean'>
10587
+ readonly isVisible: FieldRef<"RoleRevisionCustomQuestion", 'Boolean'>
10588
+ readonly text: FieldRef<"RoleRevisionCustomQuestion", 'String'>
10589
+ readonly updatedAt: FieldRef<"RoleRevisionCustomQuestion", 'DateTime'>
10590
+ }
10591
+
10592
+
10593
+ // Custom InputTypes
10594
+ /**
10595
+ * RoleRevisionCustomQuestion without action
10596
+ */
10597
+ export type RoleRevisionCustomQuestionDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10598
+ /**
10599
+ * Select specific fields to fetch from the RoleRevisionCustomQuestion
10600
+ */
10601
+ select?: RoleRevisionCustomQuestionSelect<ExtArgs> | null
10602
+ }
10603
+
10604
+
10605
+ /**
10606
+ * Model RoleRevisionData
10607
+ */
10608
+
10609
+
10610
+
10611
+
10612
+
10613
+ export type RoleRevisionDataSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
10614
+ id?: boolean
10615
+ createdBy?: boolean
10616
+ requiredSkills?: boolean
10617
+ preferredSkills?: boolean
10618
+ description?: boolean
10619
+ category?: boolean
10620
+ isLead?: boolean
10621
+ minimumCommitment?: boolean
10622
+ builderRateMax?: boolean
10623
+ locations?: boolean
10624
+ workingHours?: boolean | RoleRevisionWorkingHoursDefaultArgs<ExtArgs>
10625
+ customQuestions?: boolean | RoleRevisionCustomQuestionDefaultArgs<ExtArgs>
10626
+ createdAt?: boolean
10627
+ updatedAt?: boolean
10628
+ margin?: boolean
10629
+ rateInterval?: boolean
10630
+ productOfferings?: boolean
10631
+ }, ExtArgs["result"]["roleRevisionData"]>
10632
+
10633
+
10634
+ export type RoleRevisionDataSelectScalar = {
10635
+ id?: boolean
10636
+ createdBy?: boolean
10637
+ requiredSkills?: boolean
10638
+ preferredSkills?: boolean
10639
+ description?: boolean
10640
+ category?: boolean
10641
+ isLead?: boolean
10642
+ minimumCommitment?: boolean
10643
+ builderRateMax?: boolean
10644
+ locations?: boolean
10645
+ createdAt?: boolean
10646
+ updatedAt?: boolean
10647
+ margin?: boolean
10648
+ rateInterval?: boolean
10649
+ productOfferings?: boolean
10650
+ }
10651
+
10652
+ export type RoleRevisionDataInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {}
10653
+
10654
+ export type $RoleRevisionDataPayload = {
10655
+ name: "RoleRevisionData"
10656
+ objects: {}
10657
+ scalars: {
10658
+ id: string
10659
+ createdBy: string
10660
+ requiredSkills: string[]
10661
+ preferredSkills: string[]
10662
+ description: string | null
10663
+ category: string
10664
+ isLead: boolean | null
10665
+ minimumCommitment: number | null
10666
+ builderRateMax: number | null
10667
+ locations: string[]
10668
+ createdAt: Date | null
10669
+ updatedAt: Date | null
10670
+ margin: number | null
10671
+ rateInterval: $Enums.RateInterval | null
10672
+ productOfferings: string[]
10673
+ }
10674
+ composites: {
10675
+ workingHours: Prisma.$RoleRevisionWorkingHoursPayload | null
10676
+ customQuestions: Prisma.$RoleRevisionCustomQuestionPayload[]
10677
+ }
10678
+ }
10679
+
10680
+ type RoleRevisionDataGetPayload<S extends boolean | null | undefined | RoleRevisionDataDefaultArgs> = $Result.GetResult<Prisma.$RoleRevisionDataPayload, S>
10681
+
10682
+
10683
+
10684
+
10685
+
10686
+ /**
10687
+ * Fields of the RoleRevisionData model
10688
+ */
10689
+ interface RoleRevisionDataFieldRefs {
10690
+ readonly id: FieldRef<"RoleRevisionData", 'String'>
10691
+ readonly createdBy: FieldRef<"RoleRevisionData", 'String'>
10692
+ readonly requiredSkills: FieldRef<"RoleRevisionData", 'String[]'>
10693
+ readonly preferredSkills: FieldRef<"RoleRevisionData", 'String[]'>
10694
+ readonly description: FieldRef<"RoleRevisionData", 'String'>
10695
+ readonly category: FieldRef<"RoleRevisionData", 'String'>
10696
+ readonly isLead: FieldRef<"RoleRevisionData", 'Boolean'>
10697
+ readonly minimumCommitment: FieldRef<"RoleRevisionData", 'Int'>
10698
+ readonly builderRateMax: FieldRef<"RoleRevisionData", 'Float'>
10699
+ readonly locations: FieldRef<"RoleRevisionData", 'String[]'>
10700
+ readonly createdAt: FieldRef<"RoleRevisionData", 'DateTime'>
10701
+ readonly updatedAt: FieldRef<"RoleRevisionData", 'DateTime'>
10702
+ readonly margin: FieldRef<"RoleRevisionData", 'Float'>
10703
+ readonly rateInterval: FieldRef<"RoleRevisionData", 'RateInterval'>
10704
+ readonly productOfferings: FieldRef<"RoleRevisionData", 'String[]'>
10705
+ }
10706
+
10707
+
10708
+ // Custom InputTypes
10709
+ /**
10710
+ * RoleRevisionData without action
10711
+ */
10712
+ export type RoleRevisionDataDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
10713
+ /**
10714
+ * Select specific fields to fetch from the RoleRevisionData
10715
+ */
10716
+ select?: RoleRevisionDataSelect<ExtArgs> | null
10717
+ /**
10718
+ * Choose, which related nodes to fetch as well
10719
+ */
10720
+ include?: RoleRevisionDataInclude<ExtArgs> | null
10721
+ }
10722
+
10723
+
10242
10724
  /**
10243
10725
  * Model Role
10244
10726
  */
@@ -36504,6 +36986,1054 @@ export namespace Prisma {
36504
36986
  }
36505
36987
 
36506
36988
 
36989
+ /**
36990
+ * Model RoleRevision
36991
+ */
36992
+
36993
+ export type AggregateRoleRevision = {
36994
+ _count: RoleRevisionCountAggregateOutputType | null
36995
+ _avg: RoleRevisionAvgAggregateOutputType | null
36996
+ _sum: RoleRevisionSumAggregateOutputType | null
36997
+ _min: RoleRevisionMinAggregateOutputType | null
36998
+ _max: RoleRevisionMaxAggregateOutputType | null
36999
+ }
37000
+
37001
+ export type RoleRevisionAvgAggregateOutputType = {
37002
+ dealId: number | null
37003
+ }
37004
+
37005
+ export type RoleRevisionSumAggregateOutputType = {
37006
+ dealId: number | null
37007
+ }
37008
+
37009
+ export type RoleRevisionMinAggregateOutputType = {
37010
+ id: string | null
37011
+ missionId: string | null
37012
+ createdAt: Date | null
37013
+ updatedAt: Date | null
37014
+ deletedAt: Date | null
37015
+ syncedAt: Date | null
37016
+ requestor: string | null
37017
+ approver: string | null
37018
+ approvalStatus: $Enums.ApprovalStatus | null
37019
+ rejectionCategory: $Enums.RoleRevisionRejectionCategory | null
37020
+ rejectionDetails: string | null
37021
+ dealId: number | null
37022
+ transcriptId: string | null
37023
+ }
37024
+
37025
+ export type RoleRevisionMaxAggregateOutputType = {
37026
+ id: string | null
37027
+ missionId: string | null
37028
+ createdAt: Date | null
37029
+ updatedAt: Date | null
37030
+ deletedAt: Date | null
37031
+ syncedAt: Date | null
37032
+ requestor: string | null
37033
+ approver: string | null
37034
+ approvalStatus: $Enums.ApprovalStatus | null
37035
+ rejectionCategory: $Enums.RoleRevisionRejectionCategory | null
37036
+ rejectionDetails: string | null
37037
+ dealId: number | null
37038
+ transcriptId: string | null
37039
+ }
37040
+
37041
+ export type RoleRevisionCountAggregateOutputType = {
37042
+ id: number
37043
+ missionId: number
37044
+ createdAt: number
37045
+ updatedAt: number
37046
+ deletedAt: number
37047
+ syncedAt: number
37048
+ requestor: number
37049
+ approver: number
37050
+ approvalStatus: number
37051
+ rejectionCategory: number
37052
+ rejectionDetails: number
37053
+ dealId: number
37054
+ transcriptId: number
37055
+ _all: number
37056
+ }
37057
+
37058
+
37059
+ export type RoleRevisionAvgAggregateInputType = {
37060
+ dealId?: true
37061
+ }
37062
+
37063
+ export type RoleRevisionSumAggregateInputType = {
37064
+ dealId?: true
37065
+ }
37066
+
37067
+ export type RoleRevisionMinAggregateInputType = {
37068
+ id?: true
37069
+ missionId?: true
37070
+ createdAt?: true
37071
+ updatedAt?: true
37072
+ deletedAt?: true
37073
+ syncedAt?: true
37074
+ requestor?: true
37075
+ approver?: true
37076
+ approvalStatus?: true
37077
+ rejectionCategory?: true
37078
+ rejectionDetails?: true
37079
+ dealId?: true
37080
+ transcriptId?: true
37081
+ }
37082
+
37083
+ export type RoleRevisionMaxAggregateInputType = {
37084
+ id?: true
37085
+ missionId?: true
37086
+ createdAt?: true
37087
+ updatedAt?: true
37088
+ deletedAt?: true
37089
+ syncedAt?: true
37090
+ requestor?: true
37091
+ approver?: true
37092
+ approvalStatus?: true
37093
+ rejectionCategory?: true
37094
+ rejectionDetails?: true
37095
+ dealId?: true
37096
+ transcriptId?: true
37097
+ }
37098
+
37099
+ export type RoleRevisionCountAggregateInputType = {
37100
+ id?: true
37101
+ missionId?: true
37102
+ createdAt?: true
37103
+ updatedAt?: true
37104
+ deletedAt?: true
37105
+ syncedAt?: true
37106
+ requestor?: true
37107
+ approver?: true
37108
+ approvalStatus?: true
37109
+ rejectionCategory?: true
37110
+ rejectionDetails?: true
37111
+ dealId?: true
37112
+ transcriptId?: true
37113
+ _all?: true
37114
+ }
37115
+
37116
+ export type RoleRevisionAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
37117
+ /**
37118
+ * Filter which RoleRevision to aggregate.
37119
+ */
37120
+ where?: RoleRevisionWhereInput
37121
+ /**
37122
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
37123
+ *
37124
+ * Determine the order of RoleRevisions to fetch.
37125
+ */
37126
+ orderBy?: RoleRevisionOrderByWithRelationInput | RoleRevisionOrderByWithRelationInput[]
37127
+ /**
37128
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
37129
+ *
37130
+ * Sets the start position
37131
+ */
37132
+ cursor?: RoleRevisionWhereUniqueInput
37133
+ /**
37134
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
37135
+ *
37136
+ * Take `±n` RoleRevisions from the position of the cursor.
37137
+ */
37138
+ take?: number
37139
+ /**
37140
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
37141
+ *
37142
+ * Skip the first `n` RoleRevisions.
37143
+ */
37144
+ skip?: number
37145
+ /**
37146
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
37147
+ *
37148
+ * Count returned RoleRevisions
37149
+ **/
37150
+ _count?: true | RoleRevisionCountAggregateInputType
37151
+ /**
37152
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
37153
+ *
37154
+ * Select which fields to average
37155
+ **/
37156
+ _avg?: RoleRevisionAvgAggregateInputType
37157
+ /**
37158
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
37159
+ *
37160
+ * Select which fields to sum
37161
+ **/
37162
+ _sum?: RoleRevisionSumAggregateInputType
37163
+ /**
37164
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
37165
+ *
37166
+ * Select which fields to find the minimum value
37167
+ **/
37168
+ _min?: RoleRevisionMinAggregateInputType
37169
+ /**
37170
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
37171
+ *
37172
+ * Select which fields to find the maximum value
37173
+ **/
37174
+ _max?: RoleRevisionMaxAggregateInputType
37175
+ }
37176
+
37177
+ export type GetRoleRevisionAggregateType<T extends RoleRevisionAggregateArgs> = {
37178
+ [P in keyof T & keyof AggregateRoleRevision]: P extends '_count' | 'count'
37179
+ ? T[P] extends true
37180
+ ? number
37181
+ : GetScalarType<T[P], AggregateRoleRevision[P]>
37182
+ : GetScalarType<T[P], AggregateRoleRevision[P]>
37183
+ }
37184
+
37185
+
37186
+
37187
+
37188
+ export type RoleRevisionGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
37189
+ where?: RoleRevisionWhereInput
37190
+ orderBy?: RoleRevisionOrderByWithAggregationInput | RoleRevisionOrderByWithAggregationInput[]
37191
+ by: RoleRevisionScalarFieldEnum[] | RoleRevisionScalarFieldEnum
37192
+ having?: RoleRevisionScalarWhereWithAggregatesInput
37193
+ take?: number
37194
+ skip?: number
37195
+ _count?: RoleRevisionCountAggregateInputType | true
37196
+ _avg?: RoleRevisionAvgAggregateInputType
37197
+ _sum?: RoleRevisionSumAggregateInputType
37198
+ _min?: RoleRevisionMinAggregateInputType
37199
+ _max?: RoleRevisionMaxAggregateInputType
37200
+ }
37201
+
37202
+ export type RoleRevisionGroupByOutputType = {
37203
+ id: string
37204
+ missionId: string
37205
+ createdAt: Date | null
37206
+ updatedAt: Date | null
37207
+ deletedAt: Date | null
37208
+ syncedAt: Date | null
37209
+ requestor: string
37210
+ approver: string | null
37211
+ approvalStatus: $Enums.ApprovalStatus | null
37212
+ rejectionCategory: $Enums.RoleRevisionRejectionCategory | null
37213
+ rejectionDetails: string | null
37214
+ dealId: number | null
37215
+ transcriptId: string | null
37216
+ _count: RoleRevisionCountAggregateOutputType | null
37217
+ _avg: RoleRevisionAvgAggregateOutputType | null
37218
+ _sum: RoleRevisionSumAggregateOutputType | null
37219
+ _min: RoleRevisionMinAggregateOutputType | null
37220
+ _max: RoleRevisionMaxAggregateOutputType | null
37221
+ }
37222
+
37223
+ type GetRoleRevisionGroupByPayload<T extends RoleRevisionGroupByArgs> = Prisma.PrismaPromise<
37224
+ Array<
37225
+ PickEnumerable<RoleRevisionGroupByOutputType, T['by']> &
37226
+ {
37227
+ [P in ((keyof T) & (keyof RoleRevisionGroupByOutputType))]: P extends '_count'
37228
+ ? T[P] extends boolean
37229
+ ? number
37230
+ : GetScalarType<T[P], RoleRevisionGroupByOutputType[P]>
37231
+ : GetScalarType<T[P], RoleRevisionGroupByOutputType[P]>
37232
+ }
37233
+ >
37234
+ >
37235
+
37236
+
37237
+ export type RoleRevisionSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
37238
+ id?: boolean
37239
+ missionId?: boolean
37240
+ createdAt?: boolean
37241
+ updatedAt?: boolean
37242
+ deletedAt?: boolean
37243
+ syncedAt?: boolean
37244
+ requestor?: boolean
37245
+ approver?: boolean
37246
+ approvalStatus?: boolean
37247
+ rejectionCategory?: boolean
37248
+ rejectionDetails?: boolean
37249
+ data?: boolean | RoleRevisionDataDefaultArgs<ExtArgs>
37250
+ dealId?: boolean
37251
+ transcriptId?: boolean
37252
+ }, ExtArgs["result"]["roleRevision"]>
37253
+
37254
+
37255
+ export type RoleRevisionSelectScalar = {
37256
+ id?: boolean
37257
+ missionId?: boolean
37258
+ createdAt?: boolean
37259
+ updatedAt?: boolean
37260
+ deletedAt?: boolean
37261
+ syncedAt?: boolean
37262
+ requestor?: boolean
37263
+ approver?: boolean
37264
+ approvalStatus?: boolean
37265
+ rejectionCategory?: boolean
37266
+ rejectionDetails?: boolean
37267
+ dealId?: boolean
37268
+ transcriptId?: boolean
37269
+ }
37270
+
37271
+ export type RoleRevisionInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {}
37272
+
37273
+ export type $RoleRevisionPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
37274
+ name: "RoleRevision"
37275
+ objects: {}
37276
+ scalars: $Extensions.GetPayloadResult<{
37277
+ id: string
37278
+ missionId: string
37279
+ createdAt: Date | null
37280
+ updatedAt: Date | null
37281
+ deletedAt: Date | null
37282
+ syncedAt: Date | null
37283
+ requestor: string
37284
+ approver: string | null
37285
+ approvalStatus: $Enums.ApprovalStatus | null
37286
+ rejectionCategory: $Enums.RoleRevisionRejectionCategory | null
37287
+ rejectionDetails: string | null
37288
+ dealId: number | null
37289
+ transcriptId: string | null
37290
+ }, ExtArgs["result"]["roleRevision"]>
37291
+ composites: {
37292
+ data: Prisma.$RoleRevisionDataPayload
37293
+ }
37294
+ }
37295
+
37296
+ type RoleRevisionGetPayload<S extends boolean | null | undefined | RoleRevisionDefaultArgs> = $Result.GetResult<Prisma.$RoleRevisionPayload, S>
37297
+
37298
+ type RoleRevisionCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
37299
+ Omit<RoleRevisionFindManyArgs, 'select' | 'include' | 'distinct'> & {
37300
+ select?: RoleRevisionCountAggregateInputType | true
37301
+ }
37302
+
37303
+ export interface RoleRevisionDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
37304
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['RoleRevision'], meta: { name: 'RoleRevision' } }
37305
+ /**
37306
+ * Find zero or one RoleRevision that matches the filter.
37307
+ * @param {RoleRevisionFindUniqueArgs} args - Arguments to find a RoleRevision
37308
+ * @example
37309
+ * // Get one RoleRevision
37310
+ * const roleRevision = await prisma.roleRevision.findUnique({
37311
+ * where: {
37312
+ * // ... provide filter here
37313
+ * }
37314
+ * })
37315
+ */
37316
+ findUnique<T extends RoleRevisionFindUniqueArgs>(args: SelectSubset<T, RoleRevisionFindUniqueArgs<ExtArgs>>): Prisma__RoleRevisionClient<$Result.GetResult<Prisma.$RoleRevisionPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
37317
+
37318
+ /**
37319
+ * Find one RoleRevision that matches the filter or throw an error with `error.code='P2025'`
37320
+ * if no matches were found.
37321
+ * @param {RoleRevisionFindUniqueOrThrowArgs} args - Arguments to find a RoleRevision
37322
+ * @example
37323
+ * // Get one RoleRevision
37324
+ * const roleRevision = await prisma.roleRevision.findUniqueOrThrow({
37325
+ * where: {
37326
+ * // ... provide filter here
37327
+ * }
37328
+ * })
37329
+ */
37330
+ findUniqueOrThrow<T extends RoleRevisionFindUniqueOrThrowArgs>(args: SelectSubset<T, RoleRevisionFindUniqueOrThrowArgs<ExtArgs>>): Prisma__RoleRevisionClient<$Result.GetResult<Prisma.$RoleRevisionPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
37331
+
37332
+ /**
37333
+ * Find the first RoleRevision that matches the filter.
37334
+ * Note, that providing `undefined` is treated as the value not being there.
37335
+ * Read more here: https://pris.ly/d/null-undefined
37336
+ * @param {RoleRevisionFindFirstArgs} args - Arguments to find a RoleRevision
37337
+ * @example
37338
+ * // Get one RoleRevision
37339
+ * const roleRevision = await prisma.roleRevision.findFirst({
37340
+ * where: {
37341
+ * // ... provide filter here
37342
+ * }
37343
+ * })
37344
+ */
37345
+ findFirst<T extends RoleRevisionFindFirstArgs>(args?: SelectSubset<T, RoleRevisionFindFirstArgs<ExtArgs>>): Prisma__RoleRevisionClient<$Result.GetResult<Prisma.$RoleRevisionPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
37346
+
37347
+ /**
37348
+ * Find the first RoleRevision that matches the filter or
37349
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
37350
+ * Note, that providing `undefined` is treated as the value not being there.
37351
+ * Read more here: https://pris.ly/d/null-undefined
37352
+ * @param {RoleRevisionFindFirstOrThrowArgs} args - Arguments to find a RoleRevision
37353
+ * @example
37354
+ * // Get one RoleRevision
37355
+ * const roleRevision = await prisma.roleRevision.findFirstOrThrow({
37356
+ * where: {
37357
+ * // ... provide filter here
37358
+ * }
37359
+ * })
37360
+ */
37361
+ findFirstOrThrow<T extends RoleRevisionFindFirstOrThrowArgs>(args?: SelectSubset<T, RoleRevisionFindFirstOrThrowArgs<ExtArgs>>): Prisma__RoleRevisionClient<$Result.GetResult<Prisma.$RoleRevisionPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
37362
+
37363
+ /**
37364
+ * Find zero or more RoleRevisions that matches the filter.
37365
+ * Note, that providing `undefined` is treated as the value not being there.
37366
+ * Read more here: https://pris.ly/d/null-undefined
37367
+ * @param {RoleRevisionFindManyArgs} args - Arguments to filter and select certain fields only.
37368
+ * @example
37369
+ * // Get all RoleRevisions
37370
+ * const roleRevisions = await prisma.roleRevision.findMany()
37371
+ *
37372
+ * // Get first 10 RoleRevisions
37373
+ * const roleRevisions = await prisma.roleRevision.findMany({ take: 10 })
37374
+ *
37375
+ * // Only select the `id`
37376
+ * const roleRevisionWithIdOnly = await prisma.roleRevision.findMany({ select: { id: true } })
37377
+ *
37378
+ */
37379
+ findMany<T extends RoleRevisionFindManyArgs>(args?: SelectSubset<T, RoleRevisionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RoleRevisionPayload<ExtArgs>, T, "findMany">>
37380
+
37381
+ /**
37382
+ * Create a RoleRevision.
37383
+ * @param {RoleRevisionCreateArgs} args - Arguments to create a RoleRevision.
37384
+ * @example
37385
+ * // Create one RoleRevision
37386
+ * const RoleRevision = await prisma.roleRevision.create({
37387
+ * data: {
37388
+ * // ... data to create a RoleRevision
37389
+ * }
37390
+ * })
37391
+ *
37392
+ */
37393
+ create<T extends RoleRevisionCreateArgs>(args: SelectSubset<T, RoleRevisionCreateArgs<ExtArgs>>): Prisma__RoleRevisionClient<$Result.GetResult<Prisma.$RoleRevisionPayload<ExtArgs>, T, "create">, never, ExtArgs>
37394
+
37395
+ /**
37396
+ * Create many RoleRevisions.
37397
+ * @param {RoleRevisionCreateManyArgs} args - Arguments to create many RoleRevisions.
37398
+ * @example
37399
+ * // Create many RoleRevisions
37400
+ * const roleRevision = await prisma.roleRevision.createMany({
37401
+ * data: [
37402
+ * // ... provide data here
37403
+ * ]
37404
+ * })
37405
+ *
37406
+ */
37407
+ createMany<T extends RoleRevisionCreateManyArgs>(args?: SelectSubset<T, RoleRevisionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
37408
+
37409
+ /**
37410
+ * Delete a RoleRevision.
37411
+ * @param {RoleRevisionDeleteArgs} args - Arguments to delete one RoleRevision.
37412
+ * @example
37413
+ * // Delete one RoleRevision
37414
+ * const RoleRevision = await prisma.roleRevision.delete({
37415
+ * where: {
37416
+ * // ... filter to delete one RoleRevision
37417
+ * }
37418
+ * })
37419
+ *
37420
+ */
37421
+ delete<T extends RoleRevisionDeleteArgs>(args: SelectSubset<T, RoleRevisionDeleteArgs<ExtArgs>>): Prisma__RoleRevisionClient<$Result.GetResult<Prisma.$RoleRevisionPayload<ExtArgs>, T, "delete">, never, ExtArgs>
37422
+
37423
+ /**
37424
+ * Update one RoleRevision.
37425
+ * @param {RoleRevisionUpdateArgs} args - Arguments to update one RoleRevision.
37426
+ * @example
37427
+ * // Update one RoleRevision
37428
+ * const roleRevision = await prisma.roleRevision.update({
37429
+ * where: {
37430
+ * // ... provide filter here
37431
+ * },
37432
+ * data: {
37433
+ * // ... provide data here
37434
+ * }
37435
+ * })
37436
+ *
37437
+ */
37438
+ update<T extends RoleRevisionUpdateArgs>(args: SelectSubset<T, RoleRevisionUpdateArgs<ExtArgs>>): Prisma__RoleRevisionClient<$Result.GetResult<Prisma.$RoleRevisionPayload<ExtArgs>, T, "update">, never, ExtArgs>
37439
+
37440
+ /**
37441
+ * Delete zero or more RoleRevisions.
37442
+ * @param {RoleRevisionDeleteManyArgs} args - Arguments to filter RoleRevisions to delete.
37443
+ * @example
37444
+ * // Delete a few RoleRevisions
37445
+ * const { count } = await prisma.roleRevision.deleteMany({
37446
+ * where: {
37447
+ * // ... provide filter here
37448
+ * }
37449
+ * })
37450
+ *
37451
+ */
37452
+ deleteMany<T extends RoleRevisionDeleteManyArgs>(args?: SelectSubset<T, RoleRevisionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
37453
+
37454
+ /**
37455
+ * Update zero or more RoleRevisions.
37456
+ * Note, that providing `undefined` is treated as the value not being there.
37457
+ * Read more here: https://pris.ly/d/null-undefined
37458
+ * @param {RoleRevisionUpdateManyArgs} args - Arguments to update one or more rows.
37459
+ * @example
37460
+ * // Update many RoleRevisions
37461
+ * const roleRevision = await prisma.roleRevision.updateMany({
37462
+ * where: {
37463
+ * // ... provide filter here
37464
+ * },
37465
+ * data: {
37466
+ * // ... provide data here
37467
+ * }
37468
+ * })
37469
+ *
37470
+ */
37471
+ updateMany<T extends RoleRevisionUpdateManyArgs>(args: SelectSubset<T, RoleRevisionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
37472
+
37473
+ /**
37474
+ * Create or update one RoleRevision.
37475
+ * @param {RoleRevisionUpsertArgs} args - Arguments to update or create a RoleRevision.
37476
+ * @example
37477
+ * // Update or create a RoleRevision
37478
+ * const roleRevision = await prisma.roleRevision.upsert({
37479
+ * create: {
37480
+ * // ... data to create a RoleRevision
37481
+ * },
37482
+ * update: {
37483
+ * // ... in case it already exists, update
37484
+ * },
37485
+ * where: {
37486
+ * // ... the filter for the RoleRevision we want to update
37487
+ * }
37488
+ * })
37489
+ */
37490
+ upsert<T extends RoleRevisionUpsertArgs>(args: SelectSubset<T, RoleRevisionUpsertArgs<ExtArgs>>): Prisma__RoleRevisionClient<$Result.GetResult<Prisma.$RoleRevisionPayload<ExtArgs>, T, "upsert">, never, ExtArgs>
37491
+
37492
+ /**
37493
+ * Find zero or more RoleRevisions that matches the filter.
37494
+ * @param {RoleRevisionFindRawArgs} args - Select which filters you would like to apply.
37495
+ * @example
37496
+ * const roleRevision = await prisma.roleRevision.findRaw({
37497
+ * filter: { age: { $gt: 25 } }
37498
+ * })
37499
+ */
37500
+ findRaw(args?: RoleRevisionFindRawArgs): Prisma.PrismaPromise<JsonObject>
37501
+
37502
+ /**
37503
+ * Perform aggregation operations on a RoleRevision.
37504
+ * @param {RoleRevisionAggregateRawArgs} args - Select which aggregations you would like to apply.
37505
+ * @example
37506
+ * const roleRevision = await prisma.roleRevision.aggregateRaw({
37507
+ * pipeline: [
37508
+ * { $match: { status: "registered" } },
37509
+ * { $group: { _id: "$country", total: { $sum: 1 } } }
37510
+ * ]
37511
+ * })
37512
+ */
37513
+ aggregateRaw(args?: RoleRevisionAggregateRawArgs): Prisma.PrismaPromise<JsonObject>
37514
+
37515
+
37516
+ /**
37517
+ * Count the number of RoleRevisions.
37518
+ * Note, that providing `undefined` is treated as the value not being there.
37519
+ * Read more here: https://pris.ly/d/null-undefined
37520
+ * @param {RoleRevisionCountArgs} args - Arguments to filter RoleRevisions to count.
37521
+ * @example
37522
+ * // Count the number of RoleRevisions
37523
+ * const count = await prisma.roleRevision.count({
37524
+ * where: {
37525
+ * // ... the filter for the RoleRevisions we want to count
37526
+ * }
37527
+ * })
37528
+ **/
37529
+ count<T extends RoleRevisionCountArgs>(
37530
+ args?: Subset<T, RoleRevisionCountArgs>,
37531
+ ): Prisma.PrismaPromise<
37532
+ T extends $Utils.Record<'select', any>
37533
+ ? T['select'] extends true
37534
+ ? number
37535
+ : GetScalarType<T['select'], RoleRevisionCountAggregateOutputType>
37536
+ : number
37537
+ >
37538
+
37539
+ /**
37540
+ * Allows you to perform aggregations operations on a RoleRevision.
37541
+ * Note, that providing `undefined` is treated as the value not being there.
37542
+ * Read more here: https://pris.ly/d/null-undefined
37543
+ * @param {RoleRevisionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
37544
+ * @example
37545
+ * // Ordered by age ascending
37546
+ * // Where email contains prisma.io
37547
+ * // Limited to the 10 users
37548
+ * const aggregations = await prisma.user.aggregate({
37549
+ * _avg: {
37550
+ * age: true,
37551
+ * },
37552
+ * where: {
37553
+ * email: {
37554
+ * contains: "prisma.io",
37555
+ * },
37556
+ * },
37557
+ * orderBy: {
37558
+ * age: "asc",
37559
+ * },
37560
+ * take: 10,
37561
+ * })
37562
+ **/
37563
+ aggregate<T extends RoleRevisionAggregateArgs>(args: Subset<T, RoleRevisionAggregateArgs>): Prisma.PrismaPromise<GetRoleRevisionAggregateType<T>>
37564
+
37565
+ /**
37566
+ * Group by RoleRevision.
37567
+ * Note, that providing `undefined` is treated as the value not being there.
37568
+ * Read more here: https://pris.ly/d/null-undefined
37569
+ * @param {RoleRevisionGroupByArgs} args - Group by arguments.
37570
+ * @example
37571
+ * // Group by city, order by createdAt, get count
37572
+ * const result = await prisma.user.groupBy({
37573
+ * by: ['city', 'createdAt'],
37574
+ * orderBy: {
37575
+ * createdAt: true
37576
+ * },
37577
+ * _count: {
37578
+ * _all: true
37579
+ * },
37580
+ * })
37581
+ *
37582
+ **/
37583
+ groupBy<
37584
+ T extends RoleRevisionGroupByArgs,
37585
+ HasSelectOrTake extends Or<
37586
+ Extends<'skip', Keys<T>>,
37587
+ Extends<'take', Keys<T>>
37588
+ >,
37589
+ OrderByArg extends True extends HasSelectOrTake
37590
+ ? { orderBy: RoleRevisionGroupByArgs['orderBy'] }
37591
+ : { orderBy?: RoleRevisionGroupByArgs['orderBy'] },
37592
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
37593
+ ByFields extends MaybeTupleToUnion<T['by']>,
37594
+ ByValid extends Has<ByFields, OrderFields>,
37595
+ HavingFields extends GetHavingFields<T['having']>,
37596
+ HavingValid extends Has<ByFields, HavingFields>,
37597
+ ByEmpty extends T['by'] extends never[] ? True : False,
37598
+ InputErrors extends ByEmpty extends True
37599
+ ? `Error: "by" must not be empty.`
37600
+ : HavingValid extends False
37601
+ ? {
37602
+ [P in HavingFields]: P extends ByFields
37603
+ ? never
37604
+ : P extends string
37605
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
37606
+ : [
37607
+ Error,
37608
+ 'Field ',
37609
+ P,
37610
+ ` in "having" needs to be provided in "by"`,
37611
+ ]
37612
+ }[HavingFields]
37613
+ : 'take' extends Keys<T>
37614
+ ? 'orderBy' extends Keys<T>
37615
+ ? ByValid extends True
37616
+ ? {}
37617
+ : {
37618
+ [P in OrderFields]: P extends ByFields
37619
+ ? never
37620
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
37621
+ }[OrderFields]
37622
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
37623
+ : 'skip' extends Keys<T>
37624
+ ? 'orderBy' extends Keys<T>
37625
+ ? ByValid extends True
37626
+ ? {}
37627
+ : {
37628
+ [P in OrderFields]: P extends ByFields
37629
+ ? never
37630
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
37631
+ }[OrderFields]
37632
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
37633
+ : ByValid extends True
37634
+ ? {}
37635
+ : {
37636
+ [P in OrderFields]: P extends ByFields
37637
+ ? never
37638
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
37639
+ }[OrderFields]
37640
+ >(args: SubsetIntersection<T, RoleRevisionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRoleRevisionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
37641
+ /**
37642
+ * Fields of the RoleRevision model
37643
+ */
37644
+ readonly fields: RoleRevisionFieldRefs;
37645
+ }
37646
+
37647
+ /**
37648
+ * The delegate class that acts as a "Promise-like" for RoleRevision.
37649
+ * Why is this prefixed with `Prisma__`?
37650
+ * Because we want to prevent naming conflicts as mentioned in
37651
+ * https://github.com/prisma/prisma-client-js/issues/707
37652
+ */
37653
+ export interface Prisma__RoleRevisionClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
37654
+ readonly [Symbol.toStringTag]: "PrismaPromise"
37655
+ /**
37656
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
37657
+ * @param onfulfilled The callback to execute when the Promise is resolved.
37658
+ * @param onrejected The callback to execute when the Promise is rejected.
37659
+ * @returns A Promise for the completion of which ever callback is executed.
37660
+ */
37661
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
37662
+ /**
37663
+ * Attaches a callback for only the rejection of the Promise.
37664
+ * @param onrejected The callback to execute when the Promise is rejected.
37665
+ * @returns A Promise for the completion of the callback.
37666
+ */
37667
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
37668
+ /**
37669
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
37670
+ * resolved value cannot be modified from the callback.
37671
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
37672
+ * @returns A Promise for the completion of the callback.
37673
+ */
37674
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
37675
+ }
37676
+
37677
+
37678
+
37679
+
37680
+ /**
37681
+ * Fields of the RoleRevision model
37682
+ */
37683
+ interface RoleRevisionFieldRefs {
37684
+ readonly id: FieldRef<"RoleRevision", 'String'>
37685
+ readonly missionId: FieldRef<"RoleRevision", 'String'>
37686
+ readonly createdAt: FieldRef<"RoleRevision", 'DateTime'>
37687
+ readonly updatedAt: FieldRef<"RoleRevision", 'DateTime'>
37688
+ readonly deletedAt: FieldRef<"RoleRevision", 'DateTime'>
37689
+ readonly syncedAt: FieldRef<"RoleRevision", 'DateTime'>
37690
+ readonly requestor: FieldRef<"RoleRevision", 'String'>
37691
+ readonly approver: FieldRef<"RoleRevision", 'String'>
37692
+ readonly approvalStatus: FieldRef<"RoleRevision", 'ApprovalStatus'>
37693
+ readonly rejectionCategory: FieldRef<"RoleRevision", 'RoleRevisionRejectionCategory'>
37694
+ readonly rejectionDetails: FieldRef<"RoleRevision", 'String'>
37695
+ readonly dealId: FieldRef<"RoleRevision", 'Int'>
37696
+ readonly transcriptId: FieldRef<"RoleRevision", 'String'>
37697
+ }
37698
+
37699
+
37700
+ // Custom InputTypes
37701
+ /**
37702
+ * RoleRevision findUnique
37703
+ */
37704
+ export type RoleRevisionFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
37705
+ /**
37706
+ * Select specific fields to fetch from the RoleRevision
37707
+ */
37708
+ select?: RoleRevisionSelect<ExtArgs> | null
37709
+ /**
37710
+ * Choose, which related nodes to fetch as well
37711
+ */
37712
+ include?: RoleRevisionInclude<ExtArgs> | null
37713
+ /**
37714
+ * Filter, which RoleRevision to fetch.
37715
+ */
37716
+ where: RoleRevisionWhereUniqueInput
37717
+ }
37718
+
37719
+ /**
37720
+ * RoleRevision findUniqueOrThrow
37721
+ */
37722
+ export type RoleRevisionFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
37723
+ /**
37724
+ * Select specific fields to fetch from the RoleRevision
37725
+ */
37726
+ select?: RoleRevisionSelect<ExtArgs> | null
37727
+ /**
37728
+ * Choose, which related nodes to fetch as well
37729
+ */
37730
+ include?: RoleRevisionInclude<ExtArgs> | null
37731
+ /**
37732
+ * Filter, which RoleRevision to fetch.
37733
+ */
37734
+ where: RoleRevisionWhereUniqueInput
37735
+ }
37736
+
37737
+ /**
37738
+ * RoleRevision findFirst
37739
+ */
37740
+ export type RoleRevisionFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
37741
+ /**
37742
+ * Select specific fields to fetch from the RoleRevision
37743
+ */
37744
+ select?: RoleRevisionSelect<ExtArgs> | null
37745
+ /**
37746
+ * Choose, which related nodes to fetch as well
37747
+ */
37748
+ include?: RoleRevisionInclude<ExtArgs> | null
37749
+ /**
37750
+ * Filter, which RoleRevision to fetch.
37751
+ */
37752
+ where?: RoleRevisionWhereInput
37753
+ /**
37754
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
37755
+ *
37756
+ * Determine the order of RoleRevisions to fetch.
37757
+ */
37758
+ orderBy?: RoleRevisionOrderByWithRelationInput | RoleRevisionOrderByWithRelationInput[]
37759
+ /**
37760
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
37761
+ *
37762
+ * Sets the position for searching for RoleRevisions.
37763
+ */
37764
+ cursor?: RoleRevisionWhereUniqueInput
37765
+ /**
37766
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
37767
+ *
37768
+ * Take `±n` RoleRevisions from the position of the cursor.
37769
+ */
37770
+ take?: number
37771
+ /**
37772
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
37773
+ *
37774
+ * Skip the first `n` RoleRevisions.
37775
+ */
37776
+ skip?: number
37777
+ /**
37778
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
37779
+ *
37780
+ * Filter by unique combinations of RoleRevisions.
37781
+ */
37782
+ distinct?: RoleRevisionScalarFieldEnum | RoleRevisionScalarFieldEnum[]
37783
+ }
37784
+
37785
+ /**
37786
+ * RoleRevision findFirstOrThrow
37787
+ */
37788
+ export type RoleRevisionFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
37789
+ /**
37790
+ * Select specific fields to fetch from the RoleRevision
37791
+ */
37792
+ select?: RoleRevisionSelect<ExtArgs> | null
37793
+ /**
37794
+ * Choose, which related nodes to fetch as well
37795
+ */
37796
+ include?: RoleRevisionInclude<ExtArgs> | null
37797
+ /**
37798
+ * Filter, which RoleRevision to fetch.
37799
+ */
37800
+ where?: RoleRevisionWhereInput
37801
+ /**
37802
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
37803
+ *
37804
+ * Determine the order of RoleRevisions to fetch.
37805
+ */
37806
+ orderBy?: RoleRevisionOrderByWithRelationInput | RoleRevisionOrderByWithRelationInput[]
37807
+ /**
37808
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
37809
+ *
37810
+ * Sets the position for searching for RoleRevisions.
37811
+ */
37812
+ cursor?: RoleRevisionWhereUniqueInput
37813
+ /**
37814
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
37815
+ *
37816
+ * Take `±n` RoleRevisions from the position of the cursor.
37817
+ */
37818
+ take?: number
37819
+ /**
37820
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
37821
+ *
37822
+ * Skip the first `n` RoleRevisions.
37823
+ */
37824
+ skip?: number
37825
+ /**
37826
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
37827
+ *
37828
+ * Filter by unique combinations of RoleRevisions.
37829
+ */
37830
+ distinct?: RoleRevisionScalarFieldEnum | RoleRevisionScalarFieldEnum[]
37831
+ }
37832
+
37833
+ /**
37834
+ * RoleRevision findMany
37835
+ */
37836
+ export type RoleRevisionFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
37837
+ /**
37838
+ * Select specific fields to fetch from the RoleRevision
37839
+ */
37840
+ select?: RoleRevisionSelect<ExtArgs> | null
37841
+ /**
37842
+ * Choose, which related nodes to fetch as well
37843
+ */
37844
+ include?: RoleRevisionInclude<ExtArgs> | null
37845
+ /**
37846
+ * Filter, which RoleRevisions to fetch.
37847
+ */
37848
+ where?: RoleRevisionWhereInput
37849
+ /**
37850
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
37851
+ *
37852
+ * Determine the order of RoleRevisions to fetch.
37853
+ */
37854
+ orderBy?: RoleRevisionOrderByWithRelationInput | RoleRevisionOrderByWithRelationInput[]
37855
+ /**
37856
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
37857
+ *
37858
+ * Sets the position for listing RoleRevisions.
37859
+ */
37860
+ cursor?: RoleRevisionWhereUniqueInput
37861
+ /**
37862
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
37863
+ *
37864
+ * Take `±n` RoleRevisions from the position of the cursor.
37865
+ */
37866
+ take?: number
37867
+ /**
37868
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
37869
+ *
37870
+ * Skip the first `n` RoleRevisions.
37871
+ */
37872
+ skip?: number
37873
+ distinct?: RoleRevisionScalarFieldEnum | RoleRevisionScalarFieldEnum[]
37874
+ }
37875
+
37876
+ /**
37877
+ * RoleRevision create
37878
+ */
37879
+ export type RoleRevisionCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
37880
+ /**
37881
+ * Select specific fields to fetch from the RoleRevision
37882
+ */
37883
+ select?: RoleRevisionSelect<ExtArgs> | null
37884
+ /**
37885
+ * Choose, which related nodes to fetch as well
37886
+ */
37887
+ include?: RoleRevisionInclude<ExtArgs> | null
37888
+ /**
37889
+ * The data needed to create a RoleRevision.
37890
+ */
37891
+ data: XOR<RoleRevisionCreateInput, RoleRevisionUncheckedCreateInput>
37892
+ }
37893
+
37894
+ /**
37895
+ * RoleRevision createMany
37896
+ */
37897
+ export type RoleRevisionCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
37898
+ /**
37899
+ * The data used to create many RoleRevisions.
37900
+ */
37901
+ data: RoleRevisionCreateManyInput | RoleRevisionCreateManyInput[]
37902
+ }
37903
+
37904
+ /**
37905
+ * RoleRevision update
37906
+ */
37907
+ export type RoleRevisionUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
37908
+ /**
37909
+ * Select specific fields to fetch from the RoleRevision
37910
+ */
37911
+ select?: RoleRevisionSelect<ExtArgs> | null
37912
+ /**
37913
+ * Choose, which related nodes to fetch as well
37914
+ */
37915
+ include?: RoleRevisionInclude<ExtArgs> | null
37916
+ /**
37917
+ * The data needed to update a RoleRevision.
37918
+ */
37919
+ data: XOR<RoleRevisionUpdateInput, RoleRevisionUncheckedUpdateInput>
37920
+ /**
37921
+ * Choose, which RoleRevision to update.
37922
+ */
37923
+ where: RoleRevisionWhereUniqueInput
37924
+ }
37925
+
37926
+ /**
37927
+ * RoleRevision updateMany
37928
+ */
37929
+ export type RoleRevisionUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
37930
+ /**
37931
+ * The data used to update RoleRevisions.
37932
+ */
37933
+ data: XOR<RoleRevisionUpdateManyMutationInput, RoleRevisionUncheckedUpdateManyInput>
37934
+ /**
37935
+ * Filter which RoleRevisions to update
37936
+ */
37937
+ where?: RoleRevisionWhereInput
37938
+ }
37939
+
37940
+ /**
37941
+ * RoleRevision upsert
37942
+ */
37943
+ export type RoleRevisionUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
37944
+ /**
37945
+ * Select specific fields to fetch from the RoleRevision
37946
+ */
37947
+ select?: RoleRevisionSelect<ExtArgs> | null
37948
+ /**
37949
+ * Choose, which related nodes to fetch as well
37950
+ */
37951
+ include?: RoleRevisionInclude<ExtArgs> | null
37952
+ /**
37953
+ * The filter to search for the RoleRevision to update in case it exists.
37954
+ */
37955
+ where: RoleRevisionWhereUniqueInput
37956
+ /**
37957
+ * In case the RoleRevision found by the `where` argument doesn't exist, create a new RoleRevision with this data.
37958
+ */
37959
+ create: XOR<RoleRevisionCreateInput, RoleRevisionUncheckedCreateInput>
37960
+ /**
37961
+ * In case the RoleRevision was found with the provided `where` argument, update it with this data.
37962
+ */
37963
+ update: XOR<RoleRevisionUpdateInput, RoleRevisionUncheckedUpdateInput>
37964
+ }
37965
+
37966
+ /**
37967
+ * RoleRevision delete
37968
+ */
37969
+ export type RoleRevisionDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
37970
+ /**
37971
+ * Select specific fields to fetch from the RoleRevision
37972
+ */
37973
+ select?: RoleRevisionSelect<ExtArgs> | null
37974
+ /**
37975
+ * Choose, which related nodes to fetch as well
37976
+ */
37977
+ include?: RoleRevisionInclude<ExtArgs> | null
37978
+ /**
37979
+ * Filter which RoleRevision to delete.
37980
+ */
37981
+ where: RoleRevisionWhereUniqueInput
37982
+ }
37983
+
37984
+ /**
37985
+ * RoleRevision deleteMany
37986
+ */
37987
+ export type RoleRevisionDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
37988
+ /**
37989
+ * Filter which RoleRevisions to delete
37990
+ */
37991
+ where?: RoleRevisionWhereInput
37992
+ }
37993
+
37994
+ /**
37995
+ * RoleRevision findRaw
37996
+ */
37997
+ export type RoleRevisionFindRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
37998
+ /**
37999
+ * The query predicate filter. If unspecified, then all documents in the collection will match the predicate. ${@link https://docs.mongodb.com/manual/reference/operator/query MongoDB Docs}.
38000
+ */
38001
+ filter?: InputJsonValue
38002
+ /**
38003
+ * Additional options to pass to the `find` command ${@link https://docs.mongodb.com/manual/reference/command/find/#command-fields MongoDB Docs}.
38004
+ */
38005
+ options?: InputJsonValue
38006
+ }
38007
+
38008
+ /**
38009
+ * RoleRevision aggregateRaw
38010
+ */
38011
+ export type RoleRevisionAggregateRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
38012
+ /**
38013
+ * An array of aggregation stages to process and transform the document stream via the aggregation pipeline. ${@link https://docs.mongodb.com/manual/reference/operator/aggregation-pipeline MongoDB Docs}.
38014
+ */
38015
+ pipeline?: InputJsonValue[]
38016
+ /**
38017
+ * Additional options to pass to the `aggregate` command ${@link https://docs.mongodb.com/manual/reference/command/aggregate/#command-fields MongoDB Docs}.
38018
+ */
38019
+ options?: InputJsonValue
38020
+ }
38021
+
38022
+ /**
38023
+ * RoleRevision without action
38024
+ */
38025
+ export type RoleRevisionDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
38026
+ /**
38027
+ * Select specific fields to fetch from the RoleRevision
38028
+ */
38029
+ select?: RoleRevisionSelect<ExtArgs> | null
38030
+ /**
38031
+ * Choose, which related nodes to fetch as well
38032
+ */
38033
+ include?: RoleRevisionInclude<ExtArgs> | null
38034
+ }
38035
+
38036
+
36507
38037
  /**
36508
38038
  * Model Solution
36509
38039
  */
@@ -43337,6 +44867,25 @@ export namespace Prisma {
43337
44867
  export type RoleHiringCriteriaScalarFieldEnum = (typeof RoleHiringCriteriaScalarFieldEnum)[keyof typeof RoleHiringCriteriaScalarFieldEnum]
43338
44868
 
43339
44869
 
44870
+ export const RoleRevisionScalarFieldEnum: {
44871
+ id: 'id',
44872
+ missionId: 'missionId',
44873
+ createdAt: 'createdAt',
44874
+ updatedAt: 'updatedAt',
44875
+ deletedAt: 'deletedAt',
44876
+ syncedAt: 'syncedAt',
44877
+ requestor: 'requestor',
44878
+ approver: 'approver',
44879
+ approvalStatus: 'approvalStatus',
44880
+ rejectionCategory: 'rejectionCategory',
44881
+ rejectionDetails: 'rejectionDetails',
44882
+ dealId: 'dealId',
44883
+ transcriptId: 'transcriptId'
44884
+ };
44885
+
44886
+ export type RoleRevisionScalarFieldEnum = (typeof RoleRevisionScalarFieldEnum)[keyof typeof RoleRevisionScalarFieldEnum]
44887
+
44888
+
43340
44889
  export const SolutionScalarFieldEnum: {
43341
44890
  id: 'id',
43342
44891
  preset: 'preset',
@@ -43807,6 +45356,34 @@ export namespace Prisma {
43807
45356
 
43808
45357
 
43809
45358
 
45359
+ /**
45360
+ * Reference to a field of type 'ApprovalStatus'
45361
+ */
45362
+ export type EnumApprovalStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ApprovalStatus'>
45363
+
45364
+
45365
+
45366
+ /**
45367
+ * Reference to a field of type 'ApprovalStatus[]'
45368
+ */
45369
+ export type ListEnumApprovalStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ApprovalStatus[]'>
45370
+
45371
+
45372
+
45373
+ /**
45374
+ * Reference to a field of type 'RoleRevisionRejectionCategory'
45375
+ */
45376
+ export type EnumRoleRevisionRejectionCategoryFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RoleRevisionRejectionCategory'>
45377
+
45378
+
45379
+
45380
+ /**
45381
+ * Reference to a field of type 'RoleRevisionRejectionCategory[]'
45382
+ */
45383
+ export type ListEnumRoleRevisionRejectionCategoryFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RoleRevisionRejectionCategory[]'>
45384
+
45385
+
45386
+
43810
45387
  /**
43811
45388
  * Reference to a field of type 'PresetID'
43812
45389
  */
@@ -44094,6 +45671,20 @@ export namespace Prisma {
44094
45671
 
44095
45672
 
44096
45673
 
45674
+ /**
45675
+ * Reference to a field of type 'RateInterval'
45676
+ */
45677
+ export type EnumRateIntervalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RateInterval'>
45678
+
45679
+
45680
+
45681
+ /**
45682
+ * Reference to a field of type 'RateInterval[]'
45683
+ */
45684
+ export type ListEnumRateIntervalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RateInterval[]'>
45685
+
45686
+
45687
+
44097
45688
  /**
44098
45689
  * Reference to a field of type 'RegisterRequestType'
44099
45690
  */
@@ -46693,6 +48284,103 @@ export namespace Prisma {
46693
48284
  updatedAt?: DateTimeNullableWithAggregatesFilter<"RoleHiringCriteria"> | Date | string | null
46694
48285
  }
46695
48286
 
48287
+ export type RoleRevisionWhereInput = {
48288
+ AND?: RoleRevisionWhereInput | RoleRevisionWhereInput[]
48289
+ OR?: RoleRevisionWhereInput[]
48290
+ NOT?: RoleRevisionWhereInput | RoleRevisionWhereInput[]
48291
+ id?: StringFilter<"RoleRevision"> | string
48292
+ missionId?: StringFilter<"RoleRevision"> | string
48293
+ createdAt?: DateTimeNullableFilter<"RoleRevision"> | Date | string | null
48294
+ updatedAt?: DateTimeNullableFilter<"RoleRevision"> | Date | string | null
48295
+ deletedAt?: DateTimeNullableFilter<"RoleRevision"> | Date | string | null
48296
+ syncedAt?: DateTimeNullableFilter<"RoleRevision"> | Date | string | null
48297
+ requestor?: StringFilter<"RoleRevision"> | string
48298
+ approver?: StringNullableFilter<"RoleRevision"> | string | null
48299
+ approvalStatus?: EnumApprovalStatusNullableFilter<"RoleRevision"> | $Enums.ApprovalStatus | null
48300
+ rejectionCategory?: EnumRoleRevisionRejectionCategoryNullableFilter<"RoleRevision"> | $Enums.RoleRevisionRejectionCategory | null
48301
+ rejectionDetails?: StringNullableFilter<"RoleRevision"> | string | null
48302
+ data?: XOR<RoleRevisionDataCompositeFilter, RoleRevisionDataObjectEqualityInput>
48303
+ dealId?: IntNullableFilter<"RoleRevision"> | number | null
48304
+ transcriptId?: StringNullableFilter<"RoleRevision"> | string | null
48305
+ }
48306
+
48307
+ export type RoleRevisionOrderByWithRelationInput = {
48308
+ id?: SortOrder
48309
+ missionId?: SortOrder
48310
+ createdAt?: SortOrder
48311
+ updatedAt?: SortOrder
48312
+ deletedAt?: SortOrder
48313
+ syncedAt?: SortOrder
48314
+ requestor?: SortOrder
48315
+ approver?: SortOrder
48316
+ approvalStatus?: SortOrder
48317
+ rejectionCategory?: SortOrder
48318
+ rejectionDetails?: SortOrder
48319
+ data?: RoleRevisionDataOrderByInput
48320
+ dealId?: SortOrder
48321
+ transcriptId?: SortOrder
48322
+ }
48323
+
48324
+ export type RoleRevisionWhereUniqueInput = Prisma.AtLeast<{
48325
+ id?: string
48326
+ AND?: RoleRevisionWhereInput | RoleRevisionWhereInput[]
48327
+ OR?: RoleRevisionWhereInput[]
48328
+ NOT?: RoleRevisionWhereInput | RoleRevisionWhereInput[]
48329
+ missionId?: StringFilter<"RoleRevision"> | string
48330
+ createdAt?: DateTimeNullableFilter<"RoleRevision"> | Date | string | null
48331
+ updatedAt?: DateTimeNullableFilter<"RoleRevision"> | Date | string | null
48332
+ deletedAt?: DateTimeNullableFilter<"RoleRevision"> | Date | string | null
48333
+ syncedAt?: DateTimeNullableFilter<"RoleRevision"> | Date | string | null
48334
+ requestor?: StringFilter<"RoleRevision"> | string
48335
+ approver?: StringNullableFilter<"RoleRevision"> | string | null
48336
+ approvalStatus?: EnumApprovalStatusNullableFilter<"RoleRevision"> | $Enums.ApprovalStatus | null
48337
+ rejectionCategory?: EnumRoleRevisionRejectionCategoryNullableFilter<"RoleRevision"> | $Enums.RoleRevisionRejectionCategory | null
48338
+ rejectionDetails?: StringNullableFilter<"RoleRevision"> | string | null
48339
+ data?: XOR<RoleRevisionDataCompositeFilter, RoleRevisionDataObjectEqualityInput>
48340
+ dealId?: IntNullableFilter<"RoleRevision"> | number | null
48341
+ transcriptId?: StringNullableFilter<"RoleRevision"> | string | null
48342
+ }, "id">
48343
+
48344
+ export type RoleRevisionOrderByWithAggregationInput = {
48345
+ id?: SortOrder
48346
+ missionId?: SortOrder
48347
+ createdAt?: SortOrder
48348
+ updatedAt?: SortOrder
48349
+ deletedAt?: SortOrder
48350
+ syncedAt?: SortOrder
48351
+ requestor?: SortOrder
48352
+ approver?: SortOrder
48353
+ approvalStatus?: SortOrder
48354
+ rejectionCategory?: SortOrder
48355
+ rejectionDetails?: SortOrder
48356
+ dealId?: SortOrder
48357
+ transcriptId?: SortOrder
48358
+ _count?: RoleRevisionCountOrderByAggregateInput
48359
+ _avg?: RoleRevisionAvgOrderByAggregateInput
48360
+ _max?: RoleRevisionMaxOrderByAggregateInput
48361
+ _min?: RoleRevisionMinOrderByAggregateInput
48362
+ _sum?: RoleRevisionSumOrderByAggregateInput
48363
+ }
48364
+
48365
+ export type RoleRevisionScalarWhereWithAggregatesInput = {
48366
+ AND?: RoleRevisionScalarWhereWithAggregatesInput | RoleRevisionScalarWhereWithAggregatesInput[]
48367
+ OR?: RoleRevisionScalarWhereWithAggregatesInput[]
48368
+ NOT?: RoleRevisionScalarWhereWithAggregatesInput | RoleRevisionScalarWhereWithAggregatesInput[]
48369
+ id?: StringWithAggregatesFilter<"RoleRevision"> | string
48370
+ missionId?: StringWithAggregatesFilter<"RoleRevision"> | string
48371
+ createdAt?: DateTimeNullableWithAggregatesFilter<"RoleRevision"> | Date | string | null
48372
+ updatedAt?: DateTimeNullableWithAggregatesFilter<"RoleRevision"> | Date | string | null
48373
+ deletedAt?: DateTimeNullableWithAggregatesFilter<"RoleRevision"> | Date | string | null
48374
+ syncedAt?: DateTimeNullableWithAggregatesFilter<"RoleRevision"> | Date | string | null
48375
+ requestor?: StringWithAggregatesFilter<"RoleRevision"> | string
48376
+ approver?: StringNullableWithAggregatesFilter<"RoleRevision"> | string | null
48377
+ approvalStatus?: EnumApprovalStatusNullableWithAggregatesFilter<"RoleRevision"> | $Enums.ApprovalStatus | null
48378
+ rejectionCategory?: EnumRoleRevisionRejectionCategoryNullableWithAggregatesFilter<"RoleRevision"> | $Enums.RoleRevisionRejectionCategory | null
48379
+ rejectionDetails?: StringNullableWithAggregatesFilter<"RoleRevision"> | string | null
48380
+ dealId?: IntNullableWithAggregatesFilter<"RoleRevision"> | number | null
48381
+ transcriptId?: StringNullableWithAggregatesFilter<"RoleRevision"> | string | null
48382
+ }
48383
+
46696
48384
  export type SolutionWhereInput = {
46697
48385
  AND?: SolutionWhereInput | SolutionWhereInput[]
46698
48386
  OR?: SolutionWhereInput[]
@@ -50281,6 +51969,121 @@ export namespace Prisma {
50281
51969
  updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
50282
51970
  }
50283
51971
 
51972
+ export type RoleRevisionCreateInput = {
51973
+ id?: string
51974
+ missionId: string
51975
+ createdAt?: Date | string | null
51976
+ updatedAt?: Date | string | null
51977
+ deletedAt?: Date | string | null
51978
+ syncedAt?: Date | string | null
51979
+ requestor: string
51980
+ approver?: string | null
51981
+ approvalStatus?: $Enums.ApprovalStatus | null
51982
+ rejectionCategory?: $Enums.RoleRevisionRejectionCategory | null
51983
+ rejectionDetails?: string | null
51984
+ data: XOR<RoleRevisionDataCreateEnvelopeInput, RoleRevisionDataCreateInput>
51985
+ dealId?: number | null
51986
+ transcriptId?: string | null
51987
+ }
51988
+
51989
+ export type RoleRevisionUncheckedCreateInput = {
51990
+ id?: string
51991
+ missionId: string
51992
+ createdAt?: Date | string | null
51993
+ updatedAt?: Date | string | null
51994
+ deletedAt?: Date | string | null
51995
+ syncedAt?: Date | string | null
51996
+ requestor: string
51997
+ approver?: string | null
51998
+ approvalStatus?: $Enums.ApprovalStatus | null
51999
+ rejectionCategory?: $Enums.RoleRevisionRejectionCategory | null
52000
+ rejectionDetails?: string | null
52001
+ data: XOR<RoleRevisionDataCreateEnvelopeInput, RoleRevisionDataCreateInput>
52002
+ dealId?: number | null
52003
+ transcriptId?: string | null
52004
+ }
52005
+
52006
+ export type RoleRevisionUpdateInput = {
52007
+ missionId?: StringFieldUpdateOperationsInput | string
52008
+ createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
52009
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
52010
+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
52011
+ syncedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
52012
+ requestor?: StringFieldUpdateOperationsInput | string
52013
+ approver?: NullableStringFieldUpdateOperationsInput | string | null
52014
+ approvalStatus?: NullableEnumApprovalStatusFieldUpdateOperationsInput | $Enums.ApprovalStatus | null
52015
+ rejectionCategory?: NullableEnumRoleRevisionRejectionCategoryFieldUpdateOperationsInput | $Enums.RoleRevisionRejectionCategory | null
52016
+ rejectionDetails?: NullableStringFieldUpdateOperationsInput | string | null
52017
+ data?: XOR<RoleRevisionDataUpdateEnvelopeInput, RoleRevisionDataCreateInput>
52018
+ dealId?: NullableIntFieldUpdateOperationsInput | number | null
52019
+ transcriptId?: NullableStringFieldUpdateOperationsInput | string | null
52020
+ }
52021
+
52022
+ export type RoleRevisionUncheckedUpdateInput = {
52023
+ missionId?: StringFieldUpdateOperationsInput | string
52024
+ createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
52025
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
52026
+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
52027
+ syncedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
52028
+ requestor?: StringFieldUpdateOperationsInput | string
52029
+ approver?: NullableStringFieldUpdateOperationsInput | string | null
52030
+ approvalStatus?: NullableEnumApprovalStatusFieldUpdateOperationsInput | $Enums.ApprovalStatus | null
52031
+ rejectionCategory?: NullableEnumRoleRevisionRejectionCategoryFieldUpdateOperationsInput | $Enums.RoleRevisionRejectionCategory | null
52032
+ rejectionDetails?: NullableStringFieldUpdateOperationsInput | string | null
52033
+ data?: XOR<RoleRevisionDataUpdateEnvelopeInput, RoleRevisionDataCreateInput>
52034
+ dealId?: NullableIntFieldUpdateOperationsInput | number | null
52035
+ transcriptId?: NullableStringFieldUpdateOperationsInput | string | null
52036
+ }
52037
+
52038
+ export type RoleRevisionCreateManyInput = {
52039
+ id?: string
52040
+ missionId: string
52041
+ createdAt?: Date | string | null
52042
+ updatedAt?: Date | string | null
52043
+ deletedAt?: Date | string | null
52044
+ syncedAt?: Date | string | null
52045
+ requestor: string
52046
+ approver?: string | null
52047
+ approvalStatus?: $Enums.ApprovalStatus | null
52048
+ rejectionCategory?: $Enums.RoleRevisionRejectionCategory | null
52049
+ rejectionDetails?: string | null
52050
+ data: XOR<RoleRevisionDataCreateEnvelopeInput, RoleRevisionDataCreateInput>
52051
+ dealId?: number | null
52052
+ transcriptId?: string | null
52053
+ }
52054
+
52055
+ export type RoleRevisionUpdateManyMutationInput = {
52056
+ missionId?: StringFieldUpdateOperationsInput | string
52057
+ createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
52058
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
52059
+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
52060
+ syncedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
52061
+ requestor?: StringFieldUpdateOperationsInput | string
52062
+ approver?: NullableStringFieldUpdateOperationsInput | string | null
52063
+ approvalStatus?: NullableEnumApprovalStatusFieldUpdateOperationsInput | $Enums.ApprovalStatus | null
52064
+ rejectionCategory?: NullableEnumRoleRevisionRejectionCategoryFieldUpdateOperationsInput | $Enums.RoleRevisionRejectionCategory | null
52065
+ rejectionDetails?: NullableStringFieldUpdateOperationsInput | string | null
52066
+ data?: XOR<RoleRevisionDataUpdateEnvelopeInput, RoleRevisionDataCreateInput>
52067
+ dealId?: NullableIntFieldUpdateOperationsInput | number | null
52068
+ transcriptId?: NullableStringFieldUpdateOperationsInput | string | null
52069
+ }
52070
+
52071
+ export type RoleRevisionUncheckedUpdateManyInput = {
52072
+ missionId?: StringFieldUpdateOperationsInput | string
52073
+ createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
52074
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
52075
+ deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
52076
+ syncedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
52077
+ requestor?: StringFieldUpdateOperationsInput | string
52078
+ approver?: NullableStringFieldUpdateOperationsInput | string | null
52079
+ approvalStatus?: NullableEnumApprovalStatusFieldUpdateOperationsInput | $Enums.ApprovalStatus | null
52080
+ rejectionCategory?: NullableEnumRoleRevisionRejectionCategoryFieldUpdateOperationsInput | $Enums.RoleRevisionRejectionCategory | null
52081
+ rejectionDetails?: NullableStringFieldUpdateOperationsInput | string | null
52082
+ data?: XOR<RoleRevisionDataUpdateEnvelopeInput, RoleRevisionDataCreateInput>
52083
+ dealId?: NullableIntFieldUpdateOperationsInput | number | null
52084
+ transcriptId?: NullableStringFieldUpdateOperationsInput | string | null
52085
+ }
52086
+
50284
52087
  export type SolutionCreateInput = {
50285
52088
  id?: string
50286
52089
  preset: $Enums.PresetID
@@ -54115,6 +55918,146 @@ export namespace Prisma {
54115
55918
  maxMonthlyRate?: SortOrder
54116
55919
  }
54117
55920
 
55921
+ export type EnumApprovalStatusNullableFilter<$PrismaModel = never> = {
55922
+ equals?: $Enums.ApprovalStatus | EnumApprovalStatusFieldRefInput<$PrismaModel> | null
55923
+ in?: $Enums.ApprovalStatus[] | ListEnumApprovalStatusFieldRefInput<$PrismaModel> | null
55924
+ notIn?: $Enums.ApprovalStatus[] | ListEnumApprovalStatusFieldRefInput<$PrismaModel> | null
55925
+ not?: NestedEnumApprovalStatusNullableFilter<$PrismaModel> | $Enums.ApprovalStatus | null
55926
+ isSet?: boolean
55927
+ }
55928
+
55929
+ export type EnumRoleRevisionRejectionCategoryNullableFilter<$PrismaModel = never> = {
55930
+ equals?: $Enums.RoleRevisionRejectionCategory | EnumRoleRevisionRejectionCategoryFieldRefInput<$PrismaModel> | null
55931
+ in?: $Enums.RoleRevisionRejectionCategory[] | ListEnumRoleRevisionRejectionCategoryFieldRefInput<$PrismaModel> | null
55932
+ notIn?: $Enums.RoleRevisionRejectionCategory[] | ListEnumRoleRevisionRejectionCategoryFieldRefInput<$PrismaModel> | null
55933
+ not?: NestedEnumRoleRevisionRejectionCategoryNullableFilter<$PrismaModel> | $Enums.RoleRevisionRejectionCategory | null
55934
+ isSet?: boolean
55935
+ }
55936
+
55937
+ export type RoleRevisionDataCompositeFilter = {
55938
+ equals?: RoleRevisionDataObjectEqualityInput
55939
+ is?: RoleRevisionDataWhereInput
55940
+ isNot?: RoleRevisionDataWhereInput
55941
+ }
55942
+
55943
+ export type RoleRevisionDataObjectEqualityInput = {
55944
+ id: string
55945
+ createdBy: string
55946
+ requiredSkills?: string[]
55947
+ preferredSkills?: string[]
55948
+ description?: string | null
55949
+ category: string
55950
+ isLead?: boolean | null
55951
+ minimumCommitment?: number | null
55952
+ builderRateMax?: number | null
55953
+ locations?: string[]
55954
+ workingHours?: RoleRevisionWorkingHoursObjectEqualityInput | null
55955
+ customQuestions?: RoleRevisionCustomQuestionObjectEqualityInput[]
55956
+ createdAt?: Date | string | null
55957
+ updatedAt?: Date | string | null
55958
+ margin?: number | null
55959
+ rateInterval?: $Enums.RateInterval | null
55960
+ productOfferings?: string[]
55961
+ }
55962
+
55963
+ export type RoleRevisionDataOrderByInput = {
55964
+ id?: SortOrder
55965
+ createdBy?: SortOrder
55966
+ requiredSkills?: SortOrder
55967
+ preferredSkills?: SortOrder
55968
+ description?: SortOrder
55969
+ category?: SortOrder
55970
+ isLead?: SortOrder
55971
+ minimumCommitment?: SortOrder
55972
+ builderRateMax?: SortOrder
55973
+ locations?: SortOrder
55974
+ workingHours?: RoleRevisionWorkingHoursOrderByInput
55975
+ customQuestions?: RoleRevisionCustomQuestionOrderByCompositeAggregateInput
55976
+ createdAt?: SortOrder
55977
+ updatedAt?: SortOrder
55978
+ margin?: SortOrder
55979
+ rateInterval?: SortOrder
55980
+ productOfferings?: SortOrder
55981
+ }
55982
+
55983
+ export type RoleRevisionCountOrderByAggregateInput = {
55984
+ id?: SortOrder
55985
+ missionId?: SortOrder
55986
+ createdAt?: SortOrder
55987
+ updatedAt?: SortOrder
55988
+ deletedAt?: SortOrder
55989
+ syncedAt?: SortOrder
55990
+ requestor?: SortOrder
55991
+ approver?: SortOrder
55992
+ approvalStatus?: SortOrder
55993
+ rejectionCategory?: SortOrder
55994
+ rejectionDetails?: SortOrder
55995
+ dealId?: SortOrder
55996
+ transcriptId?: SortOrder
55997
+ }
55998
+
55999
+ export type RoleRevisionAvgOrderByAggregateInput = {
56000
+ dealId?: SortOrder
56001
+ }
56002
+
56003
+ export type RoleRevisionMaxOrderByAggregateInput = {
56004
+ id?: SortOrder
56005
+ missionId?: SortOrder
56006
+ createdAt?: SortOrder
56007
+ updatedAt?: SortOrder
56008
+ deletedAt?: SortOrder
56009
+ syncedAt?: SortOrder
56010
+ requestor?: SortOrder
56011
+ approver?: SortOrder
56012
+ approvalStatus?: SortOrder
56013
+ rejectionCategory?: SortOrder
56014
+ rejectionDetails?: SortOrder
56015
+ dealId?: SortOrder
56016
+ transcriptId?: SortOrder
56017
+ }
56018
+
56019
+ export type RoleRevisionMinOrderByAggregateInput = {
56020
+ id?: SortOrder
56021
+ missionId?: SortOrder
56022
+ createdAt?: SortOrder
56023
+ updatedAt?: SortOrder
56024
+ deletedAt?: SortOrder
56025
+ syncedAt?: SortOrder
56026
+ requestor?: SortOrder
56027
+ approver?: SortOrder
56028
+ approvalStatus?: SortOrder
56029
+ rejectionCategory?: SortOrder
56030
+ rejectionDetails?: SortOrder
56031
+ dealId?: SortOrder
56032
+ transcriptId?: SortOrder
56033
+ }
56034
+
56035
+ export type RoleRevisionSumOrderByAggregateInput = {
56036
+ dealId?: SortOrder
56037
+ }
56038
+
56039
+ export type EnumApprovalStatusNullableWithAggregatesFilter<$PrismaModel = never> = {
56040
+ equals?: $Enums.ApprovalStatus | EnumApprovalStatusFieldRefInput<$PrismaModel> | null
56041
+ in?: $Enums.ApprovalStatus[] | ListEnumApprovalStatusFieldRefInput<$PrismaModel> | null
56042
+ notIn?: $Enums.ApprovalStatus[] | ListEnumApprovalStatusFieldRefInput<$PrismaModel> | null
56043
+ not?: NestedEnumApprovalStatusNullableWithAggregatesFilter<$PrismaModel> | $Enums.ApprovalStatus | null
56044
+ _count?: NestedIntNullableFilter<$PrismaModel>
56045
+ _min?: NestedEnumApprovalStatusNullableFilter<$PrismaModel>
56046
+ _max?: NestedEnumApprovalStatusNullableFilter<$PrismaModel>
56047
+ isSet?: boolean
56048
+ }
56049
+
56050
+ export type EnumRoleRevisionRejectionCategoryNullableWithAggregatesFilter<$PrismaModel = never> = {
56051
+ equals?: $Enums.RoleRevisionRejectionCategory | EnumRoleRevisionRejectionCategoryFieldRefInput<$PrismaModel> | null
56052
+ in?: $Enums.RoleRevisionRejectionCategory[] | ListEnumRoleRevisionRejectionCategoryFieldRefInput<$PrismaModel> | null
56053
+ notIn?: $Enums.RoleRevisionRejectionCategory[] | ListEnumRoleRevisionRejectionCategoryFieldRefInput<$PrismaModel> | null
56054
+ not?: NestedEnumRoleRevisionRejectionCategoryNullableWithAggregatesFilter<$PrismaModel> | $Enums.RoleRevisionRejectionCategory | null
56055
+ _count?: NestedIntNullableFilter<$PrismaModel>
56056
+ _min?: NestedEnumRoleRevisionRejectionCategoryNullableFilter<$PrismaModel>
56057
+ _max?: NestedEnumRoleRevisionRejectionCategoryNullableFilter<$PrismaModel>
56058
+ isSet?: boolean
56059
+ }
56060
+
54118
56061
  export type EnumPresetIDFilter<$PrismaModel = never> = {
54119
56062
  equals?: $Enums.PresetID | EnumPresetIDFieldRefInput<$PrismaModel>
54120
56063
  in?: $Enums.PresetID[] | ListEnumPresetIDFieldRefInput<$PrismaModel>
@@ -57486,6 +59429,45 @@ export namespace Prisma {
57486
59429
  deleteMany?: CriteriaItemDeleteManyInput
57487
59430
  }
57488
59431
 
59432
+ export type RoleRevisionDataCreateEnvelopeInput = {
59433
+ set?: RoleRevisionDataCreateInput
59434
+ }
59435
+
59436
+ export type RoleRevisionDataCreateInput = {
59437
+ id: string
59438
+ createdBy: string
59439
+ requiredSkills?: RoleRevisionDataCreaterequiredSkillsInput | string[]
59440
+ preferredSkills?: RoleRevisionDataCreatepreferredSkillsInput | string[]
59441
+ description?: string | null
59442
+ category: string
59443
+ isLead?: boolean | null
59444
+ minimumCommitment?: number | null
59445
+ builderRateMax?: number | null
59446
+ locations?: RoleRevisionDataCreatelocationsInput | string[]
59447
+ workingHours?: RoleRevisionWorkingHoursCreateInput | null
59448
+ customQuestions?: RoleRevisionCustomQuestionCreateInput | RoleRevisionCustomQuestionCreateInput[]
59449
+ createdAt?: Date | string | null
59450
+ updatedAt?: Date | string | null
59451
+ margin?: number | null
59452
+ rateInterval?: $Enums.RateInterval | null
59453
+ productOfferings?: RoleRevisionDataCreateproductOfferingsInput | string[]
59454
+ }
59455
+
59456
+ export type NullableEnumApprovalStatusFieldUpdateOperationsInput = {
59457
+ set?: $Enums.ApprovalStatus | null
59458
+ unset?: boolean
59459
+ }
59460
+
59461
+ export type NullableEnumRoleRevisionRejectionCategoryFieldUpdateOperationsInput = {
59462
+ set?: $Enums.RoleRevisionRejectionCategory | null
59463
+ unset?: boolean
59464
+ }
59465
+
59466
+ export type RoleRevisionDataUpdateEnvelopeInput = {
59467
+ set?: RoleRevisionDataCreateInput
59468
+ update?: RoleRevisionDataUpdateInput
59469
+ }
59470
+
57489
59471
  export type RoleListCreateEnvelopeInput = {
57490
59472
  set?: RoleCreateInput | RoleCreateInput[]
57491
59473
  }
@@ -60201,6 +62183,100 @@ export namespace Prisma {
60201
62183
  updatedAt?: DateTimeNullableFilter<"CriteriaItem"> | Date | string | null
60202
62184
  }
60203
62185
 
62186
+ export type NestedEnumApprovalStatusNullableFilter<$PrismaModel = never> = {
62187
+ equals?: $Enums.ApprovalStatus | EnumApprovalStatusFieldRefInput<$PrismaModel> | null
62188
+ in?: $Enums.ApprovalStatus[] | ListEnumApprovalStatusFieldRefInput<$PrismaModel> | null
62189
+ notIn?: $Enums.ApprovalStatus[] | ListEnumApprovalStatusFieldRefInput<$PrismaModel> | null
62190
+ not?: NestedEnumApprovalStatusNullableFilter<$PrismaModel> | $Enums.ApprovalStatus | null
62191
+ isSet?: boolean
62192
+ }
62193
+
62194
+ export type NestedEnumRoleRevisionRejectionCategoryNullableFilter<$PrismaModel = never> = {
62195
+ equals?: $Enums.RoleRevisionRejectionCategory | EnumRoleRevisionRejectionCategoryFieldRefInput<$PrismaModel> | null
62196
+ in?: $Enums.RoleRevisionRejectionCategory[] | ListEnumRoleRevisionRejectionCategoryFieldRefInput<$PrismaModel> | null
62197
+ notIn?: $Enums.RoleRevisionRejectionCategory[] | ListEnumRoleRevisionRejectionCategoryFieldRefInput<$PrismaModel> | null
62198
+ not?: NestedEnumRoleRevisionRejectionCategoryNullableFilter<$PrismaModel> | $Enums.RoleRevisionRejectionCategory | null
62199
+ isSet?: boolean
62200
+ }
62201
+
62202
+ export type RoleRevisionDataWhereInput = {
62203
+ AND?: RoleRevisionDataWhereInput | RoleRevisionDataWhereInput[]
62204
+ OR?: RoleRevisionDataWhereInput[]
62205
+ NOT?: RoleRevisionDataWhereInput | RoleRevisionDataWhereInput[]
62206
+ id?: StringFilter<"RoleRevisionData"> | string
62207
+ createdBy?: StringFilter<"RoleRevisionData"> | string
62208
+ requiredSkills?: StringNullableListFilter<"RoleRevisionData">
62209
+ preferredSkills?: StringNullableListFilter<"RoleRevisionData">
62210
+ description?: StringNullableFilter<"RoleRevisionData"> | string | null
62211
+ category?: StringFilter<"RoleRevisionData"> | string
62212
+ isLead?: BoolNullableFilter<"RoleRevisionData"> | boolean | null
62213
+ minimumCommitment?: IntNullableFilter<"RoleRevisionData"> | number | null
62214
+ builderRateMax?: FloatNullableFilter<"RoleRevisionData"> | number | null
62215
+ locations?: StringNullableListFilter<"RoleRevisionData">
62216
+ workingHours?: XOR<RoleRevisionWorkingHoursNullableCompositeFilter, RoleRevisionWorkingHoursObjectEqualityInput> | null
62217
+ customQuestions?: RoleRevisionCustomQuestionCompositeListFilter | RoleRevisionCustomQuestionObjectEqualityInput[]
62218
+ createdAt?: DateTimeNullableFilter<"RoleRevisionData"> | Date | string | null
62219
+ updatedAt?: DateTimeNullableFilter<"RoleRevisionData"> | Date | string | null
62220
+ margin?: FloatNullableFilter<"RoleRevisionData"> | number | null
62221
+ rateInterval?: EnumRateIntervalNullableFilter<"RoleRevisionData"> | $Enums.RateInterval | null
62222
+ productOfferings?: StringNullableListFilter<"RoleRevisionData">
62223
+ }
62224
+
62225
+ export type RoleRevisionWorkingHoursObjectEqualityInput = {
62226
+ id?: string | null
62227
+ name?: string | null
62228
+ utcOffset?: number | null
62229
+ daily?: RoleRevisionWorkingHoursDailyObjectEqualityInput[]
62230
+ utcStandardHours?: RoleRevisionWorkingHoursDailyObjectEqualityInput[]
62231
+ utcDaylightHours?: RoleRevisionWorkingHoursDailyObjectEqualityInput[]
62232
+ numberOfMinutesOverlap?: number | null
62233
+ }
62234
+
62235
+ export type RoleRevisionCustomQuestionObjectEqualityInput = {
62236
+ id?: string | null
62237
+ createdAt?: Date | string | null
62238
+ isRequired?: boolean | null
62239
+ isVisible?: boolean | null
62240
+ text?: string | null
62241
+ updatedAt?: Date | string | null
62242
+ }
62243
+
62244
+ export type RoleRevisionWorkingHoursOrderByInput = {
62245
+ id?: SortOrder
62246
+ name?: SortOrder
62247
+ utcOffset?: SortOrder
62248
+ daily?: RoleRevisionWorkingHoursDailyOrderByCompositeAggregateInput
62249
+ utcStandardHours?: RoleRevisionWorkingHoursDailyOrderByCompositeAggregateInput
62250
+ utcDaylightHours?: RoleRevisionWorkingHoursDailyOrderByCompositeAggregateInput
62251
+ numberOfMinutesOverlap?: SortOrder
62252
+ }
62253
+
62254
+ export type RoleRevisionCustomQuestionOrderByCompositeAggregateInput = {
62255
+ _count?: SortOrder
62256
+ }
62257
+
62258
+ export type NestedEnumApprovalStatusNullableWithAggregatesFilter<$PrismaModel = never> = {
62259
+ equals?: $Enums.ApprovalStatus | EnumApprovalStatusFieldRefInput<$PrismaModel> | null
62260
+ in?: $Enums.ApprovalStatus[] | ListEnumApprovalStatusFieldRefInput<$PrismaModel> | null
62261
+ notIn?: $Enums.ApprovalStatus[] | ListEnumApprovalStatusFieldRefInput<$PrismaModel> | null
62262
+ not?: NestedEnumApprovalStatusNullableWithAggregatesFilter<$PrismaModel> | $Enums.ApprovalStatus | null
62263
+ _count?: NestedIntNullableFilter<$PrismaModel>
62264
+ _min?: NestedEnumApprovalStatusNullableFilter<$PrismaModel>
62265
+ _max?: NestedEnumApprovalStatusNullableFilter<$PrismaModel>
62266
+ isSet?: boolean
62267
+ }
62268
+
62269
+ export type NestedEnumRoleRevisionRejectionCategoryNullableWithAggregatesFilter<$PrismaModel = never> = {
62270
+ equals?: $Enums.RoleRevisionRejectionCategory | EnumRoleRevisionRejectionCategoryFieldRefInput<$PrismaModel> | null
62271
+ in?: $Enums.RoleRevisionRejectionCategory[] | ListEnumRoleRevisionRejectionCategoryFieldRefInput<$PrismaModel> | null
62272
+ notIn?: $Enums.RoleRevisionRejectionCategory[] | ListEnumRoleRevisionRejectionCategoryFieldRefInput<$PrismaModel> | null
62273
+ not?: NestedEnumRoleRevisionRejectionCategoryNullableWithAggregatesFilter<$PrismaModel> | $Enums.RoleRevisionRejectionCategory | null
62274
+ _count?: NestedIntNullableFilter<$PrismaModel>
62275
+ _min?: NestedEnumRoleRevisionRejectionCategoryNullableFilter<$PrismaModel>
62276
+ _max?: NestedEnumRoleRevisionRejectionCategoryNullableFilter<$PrismaModel>
62277
+ isSet?: boolean
62278
+ }
62279
+
60204
62280
  export type NestedEnumPresetIDFilter<$PrismaModel = never> = {
60205
62281
  equals?: $Enums.PresetID | EnumPresetIDFieldRefInput<$PrismaModel>
60206
62282
  in?: $Enums.PresetID[] | ListEnumPresetIDFieldRefInput<$PrismaModel>
@@ -69235,6 +71311,61 @@ export namespace Prisma {
69235
71311
  where: CriteriaItemWhereInput
69236
71312
  }
69237
71313
 
71314
+ export type RoleRevisionDataCreaterequiredSkillsInput = {
71315
+ set: string[]
71316
+ }
71317
+
71318
+ export type RoleRevisionDataCreatepreferredSkillsInput = {
71319
+ set: string[]
71320
+ }
71321
+
71322
+ export type RoleRevisionDataCreatelocationsInput = {
71323
+ set: string[]
71324
+ }
71325
+
71326
+ export type RoleRevisionWorkingHoursCreateInput = {
71327
+ id?: string | null
71328
+ name?: string | null
71329
+ utcOffset?: number | null
71330
+ daily?: RoleRevisionWorkingHoursDailyCreateInput | RoleRevisionWorkingHoursDailyCreateInput[]
71331
+ utcStandardHours?: RoleRevisionWorkingHoursDailyCreateInput | RoleRevisionWorkingHoursDailyCreateInput[]
71332
+ utcDaylightHours?: RoleRevisionWorkingHoursDailyCreateInput | RoleRevisionWorkingHoursDailyCreateInput[]
71333
+ numberOfMinutesOverlap?: number | null
71334
+ }
71335
+
71336
+ export type RoleRevisionCustomQuestionCreateInput = {
71337
+ id?: string | null
71338
+ createdAt?: Date | string | null
71339
+ isRequired?: boolean | null
71340
+ isVisible?: boolean | null
71341
+ text?: string | null
71342
+ updatedAt?: Date | string | null
71343
+ }
71344
+
71345
+ export type RoleRevisionDataCreateproductOfferingsInput = {
71346
+ set: string[]
71347
+ }
71348
+
71349
+ export type RoleRevisionDataUpdateInput = {
71350
+ id?: StringFieldUpdateOperationsInput | string
71351
+ createdBy?: StringFieldUpdateOperationsInput | string
71352
+ requiredSkills?: RoleRevisionDataUpdaterequiredSkillsInput | string[]
71353
+ preferredSkills?: RoleRevisionDataUpdatepreferredSkillsInput | string[]
71354
+ description?: NullableStringFieldUpdateOperationsInput | string | null
71355
+ category?: StringFieldUpdateOperationsInput | string
71356
+ isLead?: NullableBoolFieldUpdateOperationsInput | boolean | null
71357
+ minimumCommitment?: NullableIntFieldUpdateOperationsInput | number | null
71358
+ builderRateMax?: NullableFloatFieldUpdateOperationsInput | number | null
71359
+ locations?: RoleRevisionDataUpdatelocationsInput | string[]
71360
+ workingHours?: XOR<RoleRevisionWorkingHoursNullableUpdateEnvelopeInput, RoleRevisionWorkingHoursCreateInput> | null
71361
+ customQuestions?: XOR<RoleRevisionCustomQuestionListUpdateEnvelopeInput, RoleRevisionCustomQuestionCreateInput> | RoleRevisionCustomQuestionCreateInput[]
71362
+ createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
71363
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
71364
+ margin?: NullableFloatFieldUpdateOperationsInput | number | null
71365
+ rateInterval?: NullableEnumRateIntervalFieldUpdateOperationsInput | $Enums.RateInterval | null
71366
+ productOfferings?: RoleRevisionDataUpdateproductOfferingsInput | string[]
71367
+ }
71368
+
69238
71369
  export type RoleUpdateManyInput = {
69239
71370
  where: RoleWhereInput
69240
71371
  data: RoleUpdateInput
@@ -72378,6 +74509,40 @@ export namespace Prisma {
72378
74509
  not?: NestedEnumPriorityFilter<$PrismaModel> | $Enums.Priority
72379
74510
  }
72380
74511
 
74512
+ export type RoleRevisionWorkingHoursNullableCompositeFilter = {
74513
+ equals?: RoleRevisionWorkingHoursObjectEqualityInput | null
74514
+ is?: RoleRevisionWorkingHoursWhereInput | null
74515
+ isNot?: RoleRevisionWorkingHoursWhereInput | null
74516
+ isSet?: boolean
74517
+ }
74518
+
74519
+ export type RoleRevisionCustomQuestionCompositeListFilter = {
74520
+ equals?: RoleRevisionCustomQuestionObjectEqualityInput[]
74521
+ every?: RoleRevisionCustomQuestionWhereInput
74522
+ some?: RoleRevisionCustomQuestionWhereInput
74523
+ none?: RoleRevisionCustomQuestionWhereInput
74524
+ isEmpty?: boolean
74525
+ isSet?: boolean
74526
+ }
74527
+
74528
+ export type EnumRateIntervalNullableFilter<$PrismaModel = never> = {
74529
+ equals?: $Enums.RateInterval | EnumRateIntervalFieldRefInput<$PrismaModel> | null
74530
+ in?: $Enums.RateInterval[] | ListEnumRateIntervalFieldRefInput<$PrismaModel> | null
74531
+ notIn?: $Enums.RateInterval[] | ListEnumRateIntervalFieldRefInput<$PrismaModel> | null
74532
+ not?: NestedEnumRateIntervalNullableFilter<$PrismaModel> | $Enums.RateInterval | null
74533
+ isSet?: boolean
74534
+ }
74535
+
74536
+ export type RoleRevisionWorkingHoursDailyObjectEqualityInput = {
74537
+ startTime?: number | null
74538
+ endTime?: number | null
74539
+ id?: string | null
74540
+ }
74541
+
74542
+ export type RoleRevisionWorkingHoursDailyOrderByCompositeAggregateInput = {
74543
+ _count?: SortOrder
74544
+ }
74545
+
72381
74546
  export type EnumRegisterRequestTypeNullableFilter<$PrismaModel = never> = {
72382
74547
  equals?: $Enums.RegisterRequestType | EnumRegisterRequestTypeFieldRefInput<$PrismaModel> | null
72383
74548
  in?: $Enums.RegisterRequestType[] | ListEnumRegisterRequestTypeFieldRefInput<$PrismaModel> | null
@@ -74547,6 +76712,50 @@ export namespace Prisma {
74547
76712
  updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
74548
76713
  }
74549
76714
 
76715
+ export type RoleRevisionWorkingHoursDailyCreateInput = {
76716
+ startTime?: number | null
76717
+ endTime?: number | null
76718
+ id?: string | null
76719
+ }
76720
+
76721
+ export type RoleRevisionDataUpdaterequiredSkillsInput = {
76722
+ set?: string[]
76723
+ push?: string | string[]
76724
+ }
76725
+
76726
+ export type RoleRevisionDataUpdatepreferredSkillsInput = {
76727
+ set?: string[]
76728
+ push?: string | string[]
76729
+ }
76730
+
76731
+ export type RoleRevisionDataUpdatelocationsInput = {
76732
+ set?: string[]
76733
+ push?: string | string[]
76734
+ }
76735
+
76736
+ export type RoleRevisionWorkingHoursNullableUpdateEnvelopeInput = {
76737
+ set?: RoleRevisionWorkingHoursCreateInput | null
76738
+ upsert?: RoleRevisionWorkingHoursUpsertInput
76739
+ unset?: boolean
76740
+ }
76741
+
76742
+ export type RoleRevisionCustomQuestionListUpdateEnvelopeInput = {
76743
+ set?: RoleRevisionCustomQuestionCreateInput | RoleRevisionCustomQuestionCreateInput[]
76744
+ push?: RoleRevisionCustomQuestionCreateInput | RoleRevisionCustomQuestionCreateInput[]
76745
+ updateMany?: RoleRevisionCustomQuestionUpdateManyInput
76746
+ deleteMany?: RoleRevisionCustomQuestionDeleteManyInput
76747
+ }
76748
+
76749
+ export type NullableEnumRateIntervalFieldUpdateOperationsInput = {
76750
+ set?: $Enums.RateInterval | null
76751
+ unset?: boolean
76752
+ }
76753
+
76754
+ export type RoleRevisionDataUpdateproductOfferingsInput = {
76755
+ set?: string[]
76756
+ push?: string | string[]
76757
+ }
76758
+
74550
76759
  export type RoleUpdateInput = {
74551
76760
  category?: StringFieldUpdateOperationsInput | string
74552
76761
  }
@@ -76903,6 +79112,39 @@ export namespace Prisma {
76903
79112
  not?: NestedEnumPriorityFilter<$PrismaModel> | $Enums.Priority
76904
79113
  }
76905
79114
 
79115
+ export type RoleRevisionWorkingHoursWhereInput = {
79116
+ AND?: RoleRevisionWorkingHoursWhereInput | RoleRevisionWorkingHoursWhereInput[]
79117
+ OR?: RoleRevisionWorkingHoursWhereInput[]
79118
+ NOT?: RoleRevisionWorkingHoursWhereInput | RoleRevisionWorkingHoursWhereInput[]
79119
+ id?: StringNullableFilter<"RoleRevisionWorkingHours"> | string | null
79120
+ name?: StringNullableFilter<"RoleRevisionWorkingHours"> | string | null
79121
+ utcOffset?: IntNullableFilter<"RoleRevisionWorkingHours"> | number | null
79122
+ daily?: RoleRevisionWorkingHoursDailyCompositeListFilter | RoleRevisionWorkingHoursDailyObjectEqualityInput[]
79123
+ utcStandardHours?: RoleRevisionWorkingHoursDailyCompositeListFilter | RoleRevisionWorkingHoursDailyObjectEqualityInput[]
79124
+ utcDaylightHours?: RoleRevisionWorkingHoursDailyCompositeListFilter | RoleRevisionWorkingHoursDailyObjectEqualityInput[]
79125
+ numberOfMinutesOverlap?: IntNullableFilter<"RoleRevisionWorkingHours"> | number | null
79126
+ }
79127
+
79128
+ export type RoleRevisionCustomQuestionWhereInput = {
79129
+ AND?: RoleRevisionCustomQuestionWhereInput | RoleRevisionCustomQuestionWhereInput[]
79130
+ OR?: RoleRevisionCustomQuestionWhereInput[]
79131
+ NOT?: RoleRevisionCustomQuestionWhereInput | RoleRevisionCustomQuestionWhereInput[]
79132
+ id?: StringNullableFilter<"RoleRevisionCustomQuestion"> | string | null
79133
+ createdAt?: DateTimeNullableFilter<"RoleRevisionCustomQuestion"> | Date | string | null
79134
+ isRequired?: BoolNullableFilter<"RoleRevisionCustomQuestion"> | boolean | null
79135
+ isVisible?: BoolNullableFilter<"RoleRevisionCustomQuestion"> | boolean | null
79136
+ text?: StringNullableFilter<"RoleRevisionCustomQuestion"> | string | null
79137
+ updatedAt?: DateTimeNullableFilter<"RoleRevisionCustomQuestion"> | Date | string | null
79138
+ }
79139
+
79140
+ export type NestedEnumRateIntervalNullableFilter<$PrismaModel = never> = {
79141
+ equals?: $Enums.RateInterval | EnumRateIntervalFieldRefInput<$PrismaModel> | null
79142
+ in?: $Enums.RateInterval[] | ListEnumRateIntervalFieldRefInput<$PrismaModel> | null
79143
+ notIn?: $Enums.RateInterval[] | ListEnumRateIntervalFieldRefInput<$PrismaModel> | null
79144
+ not?: NestedEnumRateIntervalNullableFilter<$PrismaModel> | $Enums.RateInterval | null
79145
+ isSet?: boolean
79146
+ }
79147
+
76906
79148
  export type NestedEnumRegisterRequestTypeNullableFilter<$PrismaModel = never> = {
76907
79149
  equals?: $Enums.RegisterRequestType | EnumRegisterRequestTypeFieldRefInput<$PrismaModel> | null
76908
79150
  in?: $Enums.RegisterRequestType[] | ListEnumRegisterRequestTypeFieldRefInput<$PrismaModel> | null
@@ -77229,6 +79471,20 @@ export namespace Prisma {
77229
79471
  set?: $Enums.Priority
77230
79472
  }
77231
79473
 
79474
+ export type RoleRevisionWorkingHoursUpsertInput = {
79475
+ set: RoleRevisionWorkingHoursCreateInput | null
79476
+ update: RoleRevisionWorkingHoursUpdateInput
79477
+ }
79478
+
79479
+ export type RoleRevisionCustomQuestionUpdateManyInput = {
79480
+ where: RoleRevisionCustomQuestionWhereInput
79481
+ data: RoleRevisionCustomQuestionUpdateInput
79482
+ }
79483
+
79484
+ export type RoleRevisionCustomQuestionDeleteManyInput = {
79485
+ where: RoleRevisionCustomQuestionWhereInput
79486
+ }
79487
+
77232
79488
  export type UserTalentIndustryExperienceViewCreatejobTitlesInput = {
77233
79489
  set: string[]
77234
79490
  }
@@ -77301,6 +79557,15 @@ export namespace Prisma {
77301
79557
  isNot?: ProposalCandidateSectionDataWhereInput
77302
79558
  }
77303
79559
 
79560
+ export type RoleRevisionWorkingHoursDailyCompositeListFilter = {
79561
+ equals?: RoleRevisionWorkingHoursDailyObjectEqualityInput[]
79562
+ every?: RoleRevisionWorkingHoursDailyWhereInput
79563
+ some?: RoleRevisionWorkingHoursDailyWhereInput
79564
+ none?: RoleRevisionWorkingHoursDailyWhereInput
79565
+ isEmpty?: boolean
79566
+ isSet?: boolean
79567
+ }
79568
+
77304
79569
  export type UserTalentSkillAssignmentCompositeListFilter = {
77305
79570
  equals?: UserTalentSkillAssignmentObjectEqualityInput[]
77306
79571
  every?: UserTalentSkillAssignmentWhereInput
@@ -77469,6 +79734,25 @@ export namespace Prisma {
77469
79734
  update: ProposalTfsPitchUpdateInput
77470
79735
  }
77471
79736
 
79737
+ export type RoleRevisionWorkingHoursUpdateInput = {
79738
+ id?: NullableStringFieldUpdateOperationsInput | string | null
79739
+ name?: NullableStringFieldUpdateOperationsInput | string | null
79740
+ utcOffset?: NullableIntFieldUpdateOperationsInput | number | null
79741
+ daily?: XOR<RoleRevisionWorkingHoursDailyListUpdateEnvelopeInput, RoleRevisionWorkingHoursDailyCreateInput> | RoleRevisionWorkingHoursDailyCreateInput[]
79742
+ utcStandardHours?: XOR<RoleRevisionWorkingHoursDailyListUpdateEnvelopeInput, RoleRevisionWorkingHoursDailyCreateInput> | RoleRevisionWorkingHoursDailyCreateInput[]
79743
+ utcDaylightHours?: XOR<RoleRevisionWorkingHoursDailyListUpdateEnvelopeInput, RoleRevisionWorkingHoursDailyCreateInput> | RoleRevisionWorkingHoursDailyCreateInput[]
79744
+ numberOfMinutesOverlap?: NullableIntFieldUpdateOperationsInput | number | null
79745
+ }
79746
+
79747
+ export type RoleRevisionCustomQuestionUpdateInput = {
79748
+ id?: NullableStringFieldUpdateOperationsInput | string | null
79749
+ createdAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
79750
+ isRequired?: NullableBoolFieldUpdateOperationsInput | boolean | null
79751
+ isVisible?: NullableBoolFieldUpdateOperationsInput | boolean | null
79752
+ text?: NullableStringFieldUpdateOperationsInput | string | null
79753
+ updatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
79754
+ }
79755
+
77472
79756
  export type UserTalentSkillAssignmentDataUpsertInput = {
77473
79757
  set: UserTalentSkillAssignmentDataCreateInput | null
77474
79758
  update: UserTalentSkillAssignmentDataUpdateInput
@@ -77513,6 +79797,15 @@ export namespace Prisma {
77513
79797
  title?: StringNullableFilter<"ProposalCandidateSectionData"> | string | null
77514
79798
  }
77515
79799
 
79800
+ export type RoleRevisionWorkingHoursDailyWhereInput = {
79801
+ AND?: RoleRevisionWorkingHoursDailyWhereInput | RoleRevisionWorkingHoursDailyWhereInput[]
79802
+ OR?: RoleRevisionWorkingHoursDailyWhereInput[]
79803
+ NOT?: RoleRevisionWorkingHoursDailyWhereInput | RoleRevisionWorkingHoursDailyWhereInput[]
79804
+ startTime?: IntNullableFilter<"RoleRevisionWorkingHoursDaily"> | number | null
79805
+ endTime?: IntNullableFilter<"RoleRevisionWorkingHoursDaily"> | number | null
79806
+ id?: StringNullableFilter<"RoleRevisionWorkingHoursDaily"> | string | null
79807
+ }
79808
+
77516
79809
  export type UserTalentSkillAssignmentWhereInput = {
77517
79810
  AND?: UserTalentSkillAssignmentWhereInput | UserTalentSkillAssignmentWhereInput[]
77518
79811
  OR?: UserTalentSkillAssignmentWhereInput[]
@@ -77658,6 +79951,13 @@ export namespace Prisma {
77658
79951
  website?: NullableStringFieldUpdateOperationsInput | string | null
77659
79952
  }
77660
79953
 
79954
+ export type RoleRevisionWorkingHoursDailyListUpdateEnvelopeInput = {
79955
+ set?: RoleRevisionWorkingHoursDailyCreateInput | RoleRevisionWorkingHoursDailyCreateInput[]
79956
+ push?: RoleRevisionWorkingHoursDailyCreateInput | RoleRevisionWorkingHoursDailyCreateInput[]
79957
+ updateMany?: RoleRevisionWorkingHoursDailyUpdateManyInput
79958
+ deleteMany?: RoleRevisionWorkingHoursDailyDeleteManyInput
79959
+ }
79960
+
77661
79961
  export type UserTalentSkillAssignmentDataUpdateInput = {
77662
79962
  mainTalentSkills?: XOR<UserTalentSkillAssignmentListUpdateEnvelopeInput, UserTalentSkillAssignmentCreateInput> | UserTalentSkillAssignmentCreateInput[]
77663
79963
  additionalTalentSkills?: XOR<UserTalentSkillAssignmentListUpdateEnvelopeInput, UserTalentSkillAssignmentCreateInput> | UserTalentSkillAssignmentCreateInput[]
@@ -77691,6 +79991,15 @@ export namespace Prisma {
77691
79991
  update?: ProposalCandidateSectionDataUpdateInput
77692
79992
  }
77693
79993
 
79994
+ export type RoleRevisionWorkingHoursDailyUpdateManyInput = {
79995
+ where: RoleRevisionWorkingHoursDailyWhereInput
79996
+ data: RoleRevisionWorkingHoursDailyUpdateInput
79997
+ }
79998
+
79999
+ export type RoleRevisionWorkingHoursDailyDeleteManyInput = {
80000
+ where: RoleRevisionWorkingHoursDailyWhereInput
80001
+ }
80002
+
77694
80003
  export type UserTalentSkillAssignmentListUpdateEnvelopeInput = {
77695
80004
  set?: UserTalentSkillAssignmentCreateInput | UserTalentSkillAssignmentCreateInput[]
77696
80005
  push?: UserTalentSkillAssignmentCreateInput | UserTalentSkillAssignmentCreateInput[]
@@ -77710,6 +80019,12 @@ export namespace Prisma {
77710
80019
  title?: NullableStringFieldUpdateOperationsInput | string | null
77711
80020
  }
77712
80021
 
80022
+ export type RoleRevisionWorkingHoursDailyUpdateInput = {
80023
+ startTime?: NullableIntFieldUpdateOperationsInput | number | null
80024
+ endTime?: NullableIntFieldUpdateOperationsInput | number | null
80025
+ id?: NullableStringFieldUpdateOperationsInput | string | null
80026
+ }
80027
+
77713
80028
  export type UserTalentSkillAssignmentUpdateManyInput = {
77714
80029
  where: UserTalentSkillAssignmentWhereInput
77715
80030
  data: UserTalentSkillAssignmentUpdateInput
@@ -78090,6 +80405,22 @@ export namespace Prisma {
78090
80405
  * @deprecated Use CriteriaItemDefaultArgs instead
78091
80406
  */
78092
80407
  export type CriteriaItemArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CriteriaItemDefaultArgs<ExtArgs>
80408
+ /**
80409
+ * @deprecated Use RoleRevisionWorkingHoursDailyDefaultArgs instead
80410
+ */
80411
+ export type RoleRevisionWorkingHoursDailyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = RoleRevisionWorkingHoursDailyDefaultArgs<ExtArgs>
80412
+ /**
80413
+ * @deprecated Use RoleRevisionWorkingHoursDefaultArgs instead
80414
+ */
80415
+ export type RoleRevisionWorkingHoursArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = RoleRevisionWorkingHoursDefaultArgs<ExtArgs>
80416
+ /**
80417
+ * @deprecated Use RoleRevisionCustomQuestionDefaultArgs instead
80418
+ */
80419
+ export type RoleRevisionCustomQuestionArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = RoleRevisionCustomQuestionDefaultArgs<ExtArgs>
80420
+ /**
80421
+ * @deprecated Use RoleRevisionDataDefaultArgs instead
80422
+ */
80423
+ export type RoleRevisionDataArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = RoleRevisionDataDefaultArgs<ExtArgs>
78093
80424
  /**
78094
80425
  * @deprecated Use RoleDefaultArgs instead
78095
80426
  */
@@ -78282,6 +80613,10 @@ export namespace Prisma {
78282
80613
  * @deprecated Use RoleHiringCriteriaDefaultArgs instead
78283
80614
  */
78284
80615
  export type RoleHiringCriteriaArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = RoleHiringCriteriaDefaultArgs<ExtArgs>
80616
+ /**
80617
+ * @deprecated Use RoleRevisionDefaultArgs instead
80618
+ */
80619
+ export type RoleRevisionArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = RoleRevisionDefaultArgs<ExtArgs>
78285
80620
  /**
78286
80621
  * @deprecated Use SolutionDefaultArgs instead
78287
80622
  */