@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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-956871fc1d15d5a8d8e82b6559e25d7d4095e81c9446aaffc378b02f16f88fd2",
2
+ "name": "prisma-client-fc2a1739daa27f95c0e651784da42f2fbcfe4bda716199b569edca7c8ada7f01",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -1441,6 +1441,92 @@ model RoleHiringCriteria {
1441
1441
  @@map("roleHiringCriterias")
1442
1442
  }
1443
1443
 
1444
+ enum ApprovalStatus {
1445
+ Requested
1446
+ Reviewing
1447
+ Approved
1448
+ Denied
1449
+ Merged
1450
+ }
1451
+
1452
+ enum RoleRevisionRejectionCategory {
1453
+ DoesNotBelong @map("Does not belong")
1454
+ Mistake
1455
+ Outdated
1456
+ NoBudget @map("No budget")
1457
+ Other
1458
+ }
1459
+
1460
+ enum RateInterval {
1461
+ hourly
1462
+ monthly
1463
+ }
1464
+
1465
+ type RoleRevisionWorkingHoursDaily {
1466
+ startTime Int?
1467
+ endTime Int?
1468
+ id String? @map("_id") @db.ObjectId
1469
+ }
1470
+
1471
+ type RoleRevisionWorkingHours {
1472
+ id String? @map("_id") @db.ObjectId
1473
+ name String?
1474
+ utcOffset Int?
1475
+ daily RoleRevisionWorkingHoursDaily[]
1476
+ utcStandardHours RoleRevisionWorkingHoursDaily[]
1477
+ utcDaylightHours RoleRevisionWorkingHoursDaily[]
1478
+ numberOfMinutesOverlap Int?
1479
+ }
1480
+
1481
+ type RoleRevisionCustomQuestion {
1482
+ id String? @map("_id") @db.ObjectId
1483
+ createdAt DateTime? @default(now()) @db.Date
1484
+ isRequired Boolean?
1485
+ isVisible Boolean?
1486
+ text String?
1487
+ updatedAt DateTime? @db.Date
1488
+ }
1489
+
1490
+ type RoleRevisionData {
1491
+ id String @map("_id") @db.ObjectId
1492
+ createdBy String @db.ObjectId
1493
+ requiredSkills String[] @db.ObjectId
1494
+ preferredSkills String[] @db.ObjectId
1495
+ description String?
1496
+ category String @db.ObjectId
1497
+ isLead Boolean?
1498
+ minimumCommitment Int?
1499
+ builderRateMax Float?
1500
+ locations String[]
1501
+ workingHours RoleRevisionWorkingHours?
1502
+ customQuestions RoleRevisionCustomQuestion[]
1503
+ createdAt DateTime? @default(now()) @db.Date
1504
+ updatedAt DateTime? @db.Date
1505
+ margin Float?
1506
+ rateInterval RateInterval?
1507
+ productOfferings String[]
1508
+ }
1509
+
1510
+ model RoleRevision {
1511
+ id String @id @default(auto()) @map("_id") @db.ObjectId
1512
+ missionId String @db.ObjectId
1513
+ createdAt DateTime? @default(now()) @db.Date
1514
+ updatedAt DateTime? @updatedAt @db.Date
1515
+ deletedAt DateTime? @db.Date
1516
+ syncedAt DateTime? @db.Date
1517
+ requestor String @db.ObjectId
1518
+ approver String? @db.ObjectId
1519
+ approvalStatus ApprovalStatus?
1520
+ rejectionCategory RoleRevisionRejectionCategory?
1521
+ rejectionDetails String?
1522
+ data RoleRevisionData
1523
+ dealId Int?
1524
+ transcriptId String?
1525
+
1526
+ @@index([missionId])
1527
+ @@map("roleRevisions")
1528
+ }
1529
+
1444
1530
  datasource db {
1445
1531
  provider = "mongodb"
1446
1532
  url = env("MONGODB_URL")
@@ -500,6 +500,22 @@ exports.Prisma.RoleHiringCriteriaScalarFieldEnum = {
500
500
  updatedAt: 'updatedAt'
501
501
  };
502
502
 
503
+ exports.Prisma.RoleRevisionScalarFieldEnum = {
504
+ id: 'id',
505
+ missionId: 'missionId',
506
+ createdAt: 'createdAt',
507
+ updatedAt: 'updatedAt',
508
+ deletedAt: 'deletedAt',
509
+ syncedAt: 'syncedAt',
510
+ requestor: 'requestor',
511
+ approver: 'approver',
512
+ approvalStatus: 'approvalStatus',
513
+ rejectionCategory: 'rejectionCategory',
514
+ rejectionDetails: 'rejectionDetails',
515
+ dealId: 'dealId',
516
+ transcriptId: 'transcriptId'
517
+ };
518
+
503
519
  exports.Prisma.SolutionScalarFieldEnum = {
504
520
  id: 'id',
505
521
  preset: 'preset',
@@ -726,6 +742,22 @@ exports.PlatformRecordedOn = exports.$Enums.PlatformRecordedOn = {
726
742
  Gong: 'Gong'
727
743
  };
728
744
 
745
+ exports.ApprovalStatus = exports.$Enums.ApprovalStatus = {
746
+ Requested: 'Requested',
747
+ Reviewing: 'Reviewing',
748
+ Approved: 'Approved',
749
+ Denied: 'Denied',
750
+ Merged: 'Merged'
751
+ };
752
+
753
+ exports.RoleRevisionRejectionCategory = exports.$Enums.RoleRevisionRejectionCategory = {
754
+ DoesNotBelong: 'DoesNotBelong',
755
+ Mistake: 'Mistake',
756
+ Outdated: 'Outdated',
757
+ NoBudget: 'NoBudget',
758
+ Other: 'Other'
759
+ };
760
+
729
761
  exports.PresetID = exports.$Enums.PresetID = {
730
762
  custom_team: 'custom_team',
731
763
  web_platform: 'web_platform',
@@ -889,6 +921,11 @@ exports.Priority = exports.$Enums.Priority = {
889
921
  low: 'low'
890
922
  };
891
923
 
924
+ exports.RateInterval = exports.$Enums.RateInterval = {
925
+ hourly: 'hourly',
926
+ monthly: 'monthly'
927
+ };
928
+
892
929
  exports.RegisterRequestType = exports.$Enums.RegisterRequestType = {
893
930
  SUPERCHARGE: 'SUPERCHARGE',
894
931
  BUILD_PRODUCT: 'BUILD_PRODUCT'
@@ -935,6 +972,7 @@ exports.Prisma.ModelName = {
935
972
  RecordedCall: 'RecordedCall',
936
973
  RoleCategory: 'RoleCategory',
937
974
  RoleHiringCriteria: 'RoleHiringCriteria',
975
+ RoleRevision: 'RoleRevision',
938
976
  Solution: 'Solution',
939
977
  TalentCategory: 'TalentCategory',
940
978
  TalentIndustry: 'TalentIndustry',
package/package.json CHANGED
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "name": "@a_team/prisma",
3
- "version": "3.17.6-macos-docker-linux",
4
- "os": [],
3
+ "version": "3.18.0-linux",
4
+ "os": [
5
+ "linux"
6
+ ],
5
7
  "cpu": [],
6
8
  "keywords": [],
7
9
  "prisma": {