@a_team/prisma 3.28.1-macos-docker-linux → 3.28.2-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-7f15fae9c36e71723e924dc2d2e851bc92871993425ab83f96e93e837ec08df4",
2
+ "name": "prisma-client-99391babc8e8a9f46968b159801ad7782b5f827085d8e553e74ea350cab01cb6",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -2293,31 +2293,38 @@ model Vetter {
2293
2293
  /// Note: This is a partial model - the legacy api-service has many additional fields
2294
2294
  /// that are managed there. This model exposes only the fields needed by core-platform.
2295
2295
  model VettingProcess {
2296
- id String @id @default(auto()) @map("_id") @db.ObjectId
2296
+ id String @id @default(auto()) @map("_id") @db.ObjectId
2297
2297
  /// The user being vetted (nullable for legacy data compatibility)
2298
- userId String? @db.ObjectId
2299
- user User? @relation("userVettingProcesses", fields: [userId], references: [id])
2298
+ userId String? @db.ObjectId
2299
+ user User? @relation("userVettingProcesses", fields: [userId], references: [id])
2300
2300
  /// The vetter/interviewer (optional, assigned later)
2301
- vetterId String? @db.ObjectId
2302
- vetter User? @relation("vetterVettingProcesses", fields: [vetterId], references: [id])
2303
- status VettingProcessStatus
2304
- vettingType VettingType
2301
+ vetterId String? @db.ObjectId
2302
+ vetter User? @relation("vetterVettingProcesses", fields: [vetterId], references: [id])
2303
+ status VettingProcessStatus
2304
+ vettingType VettingType
2305
+ preVettingFormNonce String?
2306
+ automationReason VettingProcessAutomationReason?
2307
+
2308
+ // new fields for the new evaluation process
2309
+ publicId String? // used for the url access, similar to pre vetting form nonce
2310
+ isNewEvaluationProcess Boolean?
2311
+
2305
2312
  /// The CalCom meeting id (Daily room name) - used to link transcripts
2306
2313
  calComDailyMeetingId String?
2307
2314
  /// Transcript job IDs from core-platform transcripts service
2308
2315
  transcriptJobIds String[]
2309
2316
  /// Interview date
2310
- interviewDate DateTime? @db.Date
2317
+ interviewDate DateTime? @db.Date
2311
2318
  /// CalCom booking UID
2312
2319
  calComBookingUid String?
2313
2320
  /// CalCom booking ID
2314
2321
  calComBookingId Int?
2315
2322
  /// Interview scheduler calendar event ID
2316
- calendarEventId String? @db.ObjectId
2323
+ calendarEventId String? @db.ObjectId
2317
2324
  /// Internal field for tracking data migrations applied to this record
2318
2325
  migrations String[]
2319
- createdAt DateTime? @db.Date
2320
- updatedAt DateTime? @updatedAt @db.Date
2326
+ createdAt DateTime? @db.Date
2327
+ updatedAt DateTime? @updatedAt @db.Date
2321
2328
 
2322
2329
  @@map("vetting-processes")
2323
2330
  }
@@ -2337,3 +2344,12 @@ enum VettingType {
2337
2344
  internalNonTechnical
2338
2345
  internalTechnical
2339
2346
  }
2347
+
2348
+ enum VettingProcessAutomationReason {
2349
+ InvitedByActiveBuilder
2350
+ SupplySourcing
2351
+ AppliedToMission
2352
+ ReferredByInterviewer
2353
+ OnboardingUserRequested
2354
+ Exceptional
2355
+ }
@@ -704,6 +704,10 @@ exports.Prisma.VettingProcessScalarFieldEnum = {
704
704
  vetterId: 'vetterId',
705
705
  status: 'status',
706
706
  vettingType: 'vettingType',
707
+ preVettingFormNonce: 'preVettingFormNonce',
708
+ automationReason: 'automationReason',
709
+ publicId: 'publicId',
710
+ isNewEvaluationProcess: 'isNewEvaluationProcess',
707
711
  calComDailyMeetingId: 'calComDailyMeetingId',
708
712
  transcriptJobIds: 'transcriptJobIds',
709
713
  interviewDate: 'interviewDate',
@@ -982,6 +986,15 @@ exports.VettingType = exports.$Enums.VettingType = {
982
986
  internalTechnical: 'internalTechnical'
983
987
  };
984
988
 
989
+ exports.VettingProcessAutomationReason = exports.$Enums.VettingProcessAutomationReason = {
990
+ InvitedByActiveBuilder: 'InvitedByActiveBuilder',
991
+ SupplySourcing: 'SupplySourcing',
992
+ AppliedToMission: 'AppliedToMission',
993
+ ReferredByInterviewer: 'ReferredByInterviewer',
994
+ OnboardingUserRequested: 'OnboardingUserRequested',
995
+ Exceptional: 'Exceptional'
996
+ };
997
+
985
998
  exports.BillingPaymentDue = exports.$Enums.BillingPaymentDue = {
986
999
  Net0: 'Net0',
987
1000
  Net15: 'Net15',
package/package.json CHANGED
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "name": "@a_team/prisma",
3
- "version": "3.28.1-macos-docker-linux",
4
- "os": [],
3
+ "version": "3.28.2-linux",
4
+ "os": [
5
+ "linux"
6
+ ],
5
7
  "cpu": [],
6
8
  "keywords": [],
7
9
  "prisma": {