@marinoscar/kvox-eval 0.0.0-bootstrap → 0.1.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/LICENSE +21 -0
  3. package/README.md +166 -0
  4. package/dist/ask/index.d.ts +6 -0
  5. package/dist/ask/index.js +28 -0
  6. package/dist/ask/question-schema.d.ts +121 -0
  7. package/dist/ask/question-schema.js +167 -0
  8. package/dist/ask/report.d.ts +88 -0
  9. package/dist/ask/report.js +170 -0
  10. package/dist/ask/scorer.d.ts +104 -0
  11. package/dist/ask/scorer.js +164 -0
  12. package/dist/ask-run/ask-command.d.ts +62 -0
  13. package/dist/ask-run/ask-command.js +254 -0
  14. package/dist/ask-run/host/app.d.ts +65 -0
  15. package/dist/ask-run/host/app.js +146 -0
  16. package/dist/ask-run/host/db.d.ts +38 -0
  17. package/dist/ask-run/host/db.js +126 -0
  18. package/dist/ask-run/host/ports.d.ts +35 -0
  19. package/dist/ask-run/host/ports.js +113 -0
  20. package/dist/ask-run/index.d.ts +13 -0
  21. package/dist/ask-run/index.js +35 -0
  22. package/dist/ask-run/replay.d.ts +128 -0
  23. package/dist/ask-run/replay.js +212 -0
  24. package/dist/ask-run/run-ask-eval.d.ts +125 -0
  25. package/dist/ask-run/run-ask-eval.js +193 -0
  26. package/dist/ask-run/seed-golden-graph.d.ts +64 -0
  27. package/dist/ask-run/seed-golden-graph.js +495 -0
  28. package/dist/cli/index.d.ts +3 -0
  29. package/dist/cli/index.js +12 -0
  30. package/dist/cli/kg-command.d.ts +66 -0
  31. package/dist/cli/kg-command.js +238 -0
  32. package/dist/cli/main.d.ts +18 -0
  33. package/dist/cli/main.js +69 -0
  34. package/dist/fixtures/domains.d.ts +16 -0
  35. package/dist/fixtures/domains.js +33 -0
  36. package/dist/fixtures/fixture-schema.d.ts +323 -0
  37. package/dist/fixtures/fixture-schema.js +199 -0
  38. package/dist/fixtures/index.d.ts +16 -0
  39. package/dist/fixtures/index.js +40 -0
  40. package/dist/fixtures/load.d.ts +73 -0
  41. package/dist/fixtures/load.js +137 -0
  42. package/dist/fixtures/questions.d.ts +15 -0
  43. package/dist/fixtures/questions.js +26 -0
  44. package/dist/index.d.ts +20 -0
  45. package/dist/index.js +36 -0
  46. package/dist/kg/gold-runner.d.ts +13 -0
  47. package/dist/kg/gold-runner.js +57 -0
  48. package/dist/kg/index.d.ts +17 -0
  49. package/dist/kg/index.js +65 -0
  50. package/dist/kg/internals.d.ts +7 -0
  51. package/dist/kg/internals.js +17 -0
  52. package/dist/kg/prediction-schema.d.ts +245 -0
  53. package/dist/kg/prediction-schema.js +102 -0
  54. package/dist/kg/predictions.d.ts +11 -0
  55. package/dist/kg/predictions.js +49 -0
  56. package/dist/kg/report.d.ts +84 -0
  57. package/dist/kg/report.js +125 -0
  58. package/dist/kg/run-kg-eval.d.ts +77 -0
  59. package/dist/kg/run-kg-eval.js +137 -0
  60. package/dist/kg/runner.d.ts +72 -0
  61. package/dist/kg/runner.js +51 -0
  62. package/dist/kg/runners/extract-resolve-runner.d.ts +40 -0
  63. package/dist/kg/runners/extract-resolve-runner.js +199 -0
  64. package/dist/kg/runners/extract-runner.d.ts +65 -0
  65. package/dist/kg/runners/extract-runner.js +243 -0
  66. package/dist/kg/scorer.d.ts +226 -0
  67. package/dist/kg/scorer.js +463 -0
  68. package/dist/kg/targets.d.ts +17 -0
  69. package/dist/kg/targets.js +16 -0
  70. package/dist/kg/text.d.ts +45 -0
  71. package/dist/kg/text.js +100 -0
  72. package/dist/live/adapters.d.ts +16 -0
  73. package/dist/live/adapters.js +58 -0
  74. package/dist/live/env.d.ts +39 -0
  75. package/dist/live/env.js +56 -0
  76. package/dist/live/index.d.ts +6 -0
  77. package/dist/live/index.js +16 -0
  78. package/dist/live/live-ai.d.ts +104 -0
  79. package/dist/live/live-ai.js +157 -0
  80. package/dist/parity/constants.d.ts +79 -0
  81. package/dist/parity/constants.js +104 -0
  82. package/dist/parity/index.d.ts +20 -0
  83. package/dist/parity/index.js +38 -0
  84. package/dist/parity/internals.d.ts +8 -0
  85. package/dist/parity/internals.js +16 -0
  86. package/dist/parity/scenario.d.ts +45 -0
  87. package/dist/parity/scenario.js +245 -0
  88. package/dist/parity/script.d.ts +44 -0
  89. package/dist/parity/script.js +136 -0
  90. package/dist/parity/snapshot.d.ts +43 -0
  91. package/dist/parity/snapshot.js +71 -0
  92. package/dist/real-data/index.d.ts +2 -0
  93. package/dist/real-data/index.js +12 -0
  94. package/dist/real-data/real-data.d.ts +76 -0
  95. package/dist/real-data/real-data.js +156 -0
  96. package/fixtures/kg-golden/README.md +136 -0
  97. package/fixtures/kg-golden/ask-questions.json +458 -0
  98. package/fixtures/kg-golden/meetings/m01-northwind-pilot-kickoff.json +792 -0
  99. package/fixtures/kg-golden/meetings/m02-halden-migration-planning.json +814 -0
  100. package/fixtures/kg-golden/meetings/m03-larkspur-weekly-sync.json +601 -0
  101. package/fixtures/kg-golden/meetings/m04-corvid-intake-discovery.json +690 -0
  102. package/fixtures/kg-golden/meetings/m05-hosting-vendor-selection.json +631 -0
  103. package/fixtures/kg-golden/meetings/m06-northwind-floor-data-review.json +649 -0
  104. package/fixtures/kg-golden/meetings/m07-gullwing-intro-notes.json +428 -0
  105. package/fixtures/kg-golden/meetings/m08-halden-migration-checkpoint.json +672 -0
  106. package/fixtures/kg-golden/meetings/m09-northwind-platform-org-update.json +711 -0
  107. package/fixtures/kg-golden/meetings/m10-corvid-prototype-review.json +623 -0
  108. package/fixtures/kg-golden/meetings/m11-solvane-grid-dashboard-scoping.json +689 -0
  109. package/fixtures/kg-golden/meetings/m12-northwind-pilot-replan.json +681 -0
  110. package/fixtures/kg-golden/meetings/m13-halden-cutover-go-no-go.json +721 -0
  111. package/fixtures/kg-golden/meetings/m14-gullwing-discovery-readout.json +719 -0
  112. package/fixtures/kg-golden/meetings/m15-halden-handover-ravi-leaving.json +716 -0
  113. package/fixtures/kg-golden/meetings/m16-varden-claims-portal-intro.json +704 -0
  114. package/fixtures/kg-golden/meetings/m17-corvid-usability-debrief.json +572 -0
  115. package/fixtures/kg-golden/meetings/m18-hosting-decision-revisited.json +655 -0
  116. package/fixtures/kg-golden/meetings/m19-solvane-integration-kickoff.json +726 -0
  117. package/fixtures/kg-golden/meetings/m20-northwind-go-live-retro.json +673 -0
  118. package/fixtures/kg-golden/meetings/m21-quarterly-account-review.json +449 -0
  119. package/fixtures/kg-golden/meetings/m22-halden-intro-call-2020.json +558 -0
  120. package/fixtures/kg-golden/meetings/m23-gullwing-model-review.json +702 -0
  121. package/fixtures/kg-golden/meetings/m24-varden-discovery-midpoint.json +643 -0
  122. package/fixtures/kg-golden/meetings/m25-corvid-rollout-planning.json +642 -0
  123. package/fixtures/kg-golden/meetings/m26-larkspur-engineering-prep.json +695 -0
  124. package/fixtures/kg-golden/meetings/m27-solvane-phase-one-demo.json +649 -0
  125. package/fixtures/kg-golden/meetings/m28-northwind-building-5-scoping.json +715 -0
  126. package/fixtures/kg-golden/meetings/m29-halden-southern-cutover-review.json +752 -0
  127. package/fixtures/kg-golden/meetings/m30-varden-portal-build-kickoff.json +697 -0
  128. package/fixtures/kg-golden/meetings/m31-gullwing-rollout-renewal.json +681 -0
  129. package/fixtures/kg-golden/meetings/m32-brambleway-weekly-sync.json +472 -0
  130. package/fixtures/kg-golden/meetings/m33-nina-oliver-one-on-one.json +342 -0
  131. package/fixtures/kg-golden/meetings/m34-coffee-with-dana.json +249 -0
  132. package/fixtures/kg-golden/meetings/m35-brambleway-june-sync.json +553 -0
  133. package/fixtures/kg-golden/meetings/m36-copenhagen-conference-planning.json +296 -0
  134. package/host/generated/client.d.ts +1 -0
  135. package/host/generated/client.js +5 -0
  136. package/host/generated/default.d.ts +1 -0
  137. package/host/generated/default.js +5 -0
  138. package/host/generated/edge.d.ts +1 -0
  139. package/host/generated/edge.js +1658 -0
  140. package/host/generated/index-browser.js +1684 -0
  141. package/host/generated/index.d.ts +192335 -0
  142. package/host/generated/index.js +1658 -0
  143. package/host/generated/package.json +139 -0
  144. package/host/generated/query_compiler_fast_bg.js +2 -0
  145. package/host/generated/query_compiler_fast_bg.wasm +0 -0
  146. package/host/generated/query_compiler_fast_bg.wasm-base64.js +2 -0
  147. package/host/generated/runtime/client.d.ts +3433 -0
  148. package/host/generated/runtime/client.js +110 -0
  149. package/host/generated/runtime/index-browser.d.ts +90 -0
  150. package/host/generated/runtime/index-browser.js +6 -0
  151. package/host/generated/runtime/wasm-compiler-edge.js +100 -0
  152. package/host/generated/schema.prisma +6312 -0
  153. package/host/generated/wasm-edge-light-loader.mjs +5 -0
  154. package/host/generated/wasm-worker-loader.mjs +5 -0
  155. package/host/prisma/fragments/kvox.ask.prisma +126 -0
  156. package/host/prisma/fragments/kvox.graph.prisma +1073 -0
  157. package/host/prisma/fragments/kvox.notes.prisma +787 -0
  158. package/host/prisma/fragments/kvox.search.prisma +211 -0
  159. package/host/prisma/fragments/kvox.transcripts.prisma +790 -0
  160. package/host/prisma/kvox.lock +101 -0
  161. package/host/prisma/migrations/20240101000000_initial/migration.sql +297 -0
  162. package/host/prisma/migrations/20240101000001_add_personal_access_tokens/migration.sql +31 -0
  163. package/host/prisma/migrations/20240101000002_add_credentials/migration.sql +20 -0
  164. package/host/prisma/migrations/20240101000003_add_notification_deliveries/migration.sql +27 -0
  165. package/host/prisma/migrations/20240101000004_drop_stale_uuid_defaults/migration.sql +35 -0
  166. package/host/prisma/migrations/20240101000005_add_notifications/migration.sql +22 -0
  167. package/host/prisma/migrations/20240101000006_add_push_subscriptions/migration.sql +25 -0
  168. package/host/prisma/migrations/20240101000007_add_jobs/migration.sql +110 -0
  169. package/host/prisma/migrations/20240101000008_add_worker_nodes/migration.sql +90 -0
  170. package/host/prisma/migrations/20240101000009_add_database_backup_runs/migration.sql +104 -0
  171. package/host/prisma/migrations/20240101000010_add_notification_broadcasts/migration.sql +57 -0
  172. package/host/prisma/migrations/20240101000011_add_backup_run_job_link/migration.sql +87 -0
  173. package/host/prisma/migrations/20240101000012_add_job_node_secrets/migration.sql +61 -0
  174. package/host/prisma/migrations/20240101000013_add_backup_run_pg_dump_version/migration.sql +26 -0
  175. package/host/prisma/migrations/20240101000014_add_job_claim_token/migration.sql +92 -0
  176. package/host/prisma/migrations/20240101000015_add_ai_platform/migration.sql +108 -0
  177. package/host/prisma/migrations/20240101000016_revoke_viewer_ai_use/migration.sql +32 -0
  178. package/host/prisma/migrations/20240101000017_add_user_credentials/migration.sql +29 -0
  179. package/host/prisma/migrations/20240101000018_add_device_session_credential_link/migration.sql +52 -0
  180. package/host/prisma/migrations/20240101000019_add_worker_node_vitals/migration.sql +3 -0
  181. package/host/prisma/migrations/20240101000020_add_job_trace_context/migration.sql +6 -0
  182. package/host/prisma/migrations/20240101000021_add_retention_created_at_indexes/migration.sql +13 -0
  183. package/host/prisma/migrations/20240101000022_add_organizations/migration.sql +142 -0
  184. package/host/prisma/migrations/20240101000023_split_system_org_roles/migration.sql +131 -0
  185. package/host/prisma/migrations/20240101000024_org_scoped_rls/migration.sql +215 -0
  186. package/host/prisma/migrations/20240101000025_add_groups/migration.sql +165 -0
  187. package/host/prisma/migrations/20240101000026_add_grants/migration.sql +117 -0
  188. package/host/prisma/migrations/20240101000027_add_org_settings/migration.sql +49 -0
  189. package/host/prisma/migrations/20240101000028_add_org_credentials/migration.sql +54 -0
  190. package/host/prisma/migrations/20240101000029_add_jobs_org_id/migration.sql +18 -0
  191. package/host/prisma/migrations/20240101000030_add_jobs_org_id_status_index/migration.sql +6 -0
  192. package/host/prisma/migrations/20240101000031_add_broadcast_target_org/migration.sql +21 -0
  193. package/host/prisma/migrations/20240101000032_add_android_app/migration.sql +60 -0
  194. package/host/prisma/migrations/20240101000033_open_job_reason/migration.sql +16 -0
  195. package/host/prisma/migrations/20240101000034_ai_usage_feature/migration.sql +37 -0
  196. package/host/prisma/migrations/20240101000035_add_app_metadata/migration.sql +49 -0
  197. package/host/prisma/migrations/20240101000036_open_sharing_vocabularies/migration.sql +97 -0
  198. package/host/prisma/migrations/20260914130000_kvox_add_transcripts/migration.sql +322 -0
  199. package/host/prisma/migrations/20260914140000_kvox_add_notes/migration.sql +311 -0
  200. package/host/prisma/migrations/20260915120000_kvox_add_search_vectors/migration.sql +150 -0
  201. package/host/prisma/migrations/20260915130000_kvox_add_search_embeddings/migration.sql +362 -0
  202. package/host/prisma/migrations/20260915210000_kvox_add_note_title_source/migration.sql +30 -0
  203. package/host/prisma/migrations/20260923120000_kvox_add_note_generation_context_snapshot/migration.sql +24 -0
  204. package/host/prisma/migrations/20260923130000_kvox_add_user_hidden_note_templates/migration.sql +35 -0
  205. package/host/prisma/migrations/20260923140000_kvox_add_transcript_speaker_identities/migration.sql +6 -0
  206. package/host/prisma/migrations/20260923150000_kvox_transcript_name_checks/migration.sql +95 -0
  207. package/host/prisma/migrations/20260923160000_kvox_add_note_body_format/migration.sql +27 -0
  208. package/host/prisma/migrations/20260923170000_kvox_add_note_version_body_format/migration.sql +23 -0
  209. package/host/prisma/migrations/20260926012548_kvox_add_knowledge_graph/migration.sql +680 -0
  210. package/host/prisma/migrations/20260926030000_kvox_fix_kg_relations_valid_precision_chk/migration.sql +29 -0
  211. package/host/prisma/migrations/20260926030100_kvox_add_transcript_recorded_at/migration.sql +9 -0
  212. package/host/prisma/migrations/20260926030200_kvox_kg_evidence_invariant/migration.sql +60 -0
  213. package/host/prisma/migrations/20260926040000_kvox_add_kg_graph_layouts/migration.sql +30 -0
  214. package/host/prisma/migrations/20260926050000_kvox_add_ask_conversations/migration.sql +99 -0
  215. package/host/prisma/migrations/20260926231512_kvox_add_kg_exports/migration.sql +52 -0
  216. package/host/prisma/migrations/20261016120000_kvox_transcripts_org_id/migration.sql +49 -0
  217. package/host/prisma/platform.lock +319 -0
  218. package/host/prisma/schema/app.kvox.ask.prisma +110 -0
  219. package/host/prisma/schema/app.kvox.graph.prisma +1030 -0
  220. package/host/prisma/schema/app.kvox.notes.prisma +746 -0
  221. package/host/prisma/schema/app.kvox.search.prisma +208 -0
  222. package/host/prisma/schema/app.kvox.transcripts.prisma +726 -0
  223. package/host/prisma/schema/platform.ai.prisma +419 -0
  224. package/host/prisma/schema/platform.android-app.prisma +46 -0
  225. package/host/prisma/schema/platform.base.prisma +15 -0
  226. package/host/prisma/schema/platform.credentials.prisma +156 -0
  227. package/host/prisma/schema/platform.db-backup.prisma +359 -0
  228. package/host/prisma/schema/platform.identity.prisma +638 -0
  229. package/host/prisma/schema/platform.jobs.prisma +824 -0
  230. package/host/prisma/schema/platform.notifications.prisma +641 -0
  231. package/host/prisma/schema/platform.settings.prisma +53 -0
  232. package/host/prisma/schema/platform.sharing.prisma +208 -0
  233. package/host/prisma/schema/platform.storage.prisma +118 -0
  234. package/package.json +112 -1
  235. package/parity/requests.ask.json +2681 -0
  236. package/parity/requests.m01.json +1554 -0
  237. package/parity/requests.m02.json +1554 -0
  238. package/parity/requests.m03.json +1554 -0
  239. package/parity/requests.m04.json +1554 -0
  240. package/parity/requests.m05.json +1554 -0
  241. package/parity/requests.m06.json +1554 -0
  242. package/parity/requests.m07.json +1554 -0
  243. package/parity/requests.m08.json +1554 -0
  244. package/parity/requests.m09.json +1554 -0
  245. package/parity/requests.m10.json +1554 -0
@@ -0,0 +1,1684 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!!
3
+ /* eslint-disable */
4
+ // biome-ignore-all lint: generated file
5
+
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+
8
+ const {
9
+ Decimal,
10
+ DbNull,
11
+ JsonNull,
12
+ AnyNull,
13
+ NullTypes,
14
+ makeStrictEnum,
15
+ Public,
16
+ getRuntime,
17
+ skip
18
+ } = require('./runtime/index-browser.js')
19
+
20
+
21
+ const Prisma = {}
22
+
23
+ exports.Prisma = Prisma
24
+ exports.$Enums = {}
25
+
26
+ /**
27
+ * Prisma Client JS version: 7.9.1
28
+ * Query Engine version: e922089b7d7502aff4249d5da3420f6fa55fc6ad
29
+ */
30
+ Prisma.prismaVersion = {
31
+ client: "7.9.1",
32
+ engine: "e922089b7d7502aff4249d5da3420f6fa55fc6ad"
33
+ }
34
+
35
+ Prisma.PrismaClientKnownRequestError = () => {
36
+ const runtimeName = getRuntime().prettyName;
37
+ throw new Error(`PrismaClientKnownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
38
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
39
+ )};
40
+ Prisma.PrismaClientUnknownRequestError = () => {
41
+ const runtimeName = getRuntime().prettyName;
42
+ throw new Error(`PrismaClientUnknownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
43
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
44
+ )}
45
+ Prisma.PrismaClientRustPanicError = () => {
46
+ const runtimeName = getRuntime().prettyName;
47
+ throw new Error(`PrismaClientRustPanicError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
48
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
49
+ )}
50
+ Prisma.PrismaClientInitializationError = () => {
51
+ const runtimeName = getRuntime().prettyName;
52
+ throw new Error(`PrismaClientInitializationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
53
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
54
+ )}
55
+ Prisma.PrismaClientValidationError = () => {
56
+ const runtimeName = getRuntime().prettyName;
57
+ throw new Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
58
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
59
+ )}
60
+ Prisma.Decimal = Decimal
61
+
62
+ /**
63
+ * Re-export of sql-template-tag
64
+ */
65
+ Prisma.sql = () => {
66
+ const runtimeName = getRuntime().prettyName;
67
+ throw new Error(`sqltag is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
68
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
69
+ )}
70
+ Prisma.empty = () => {
71
+ const runtimeName = getRuntime().prettyName;
72
+ throw new Error(`empty is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
73
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
74
+ )}
75
+ Prisma.join = () => {
76
+ const runtimeName = getRuntime().prettyName;
77
+ throw new Error(`join is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
78
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
79
+ )}
80
+ Prisma.raw = () => {
81
+ const runtimeName = getRuntime().prettyName;
82
+ throw new Error(`raw is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
83
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
84
+ )}
85
+ Prisma.validator = Public.validator
86
+
87
+ /**
88
+ * Extensions
89
+ */
90
+ Prisma.getExtensionContext = () => {
91
+ const runtimeName = getRuntime().prettyName;
92
+ throw new Error(`Extensions.getExtensionContext is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
93
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
94
+ )}
95
+ Prisma.defineExtension = () => {
96
+ const runtimeName = getRuntime().prettyName;
97
+ throw new Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
98
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
99
+ )}
100
+
101
+ /**
102
+ * Shorthand utilities for JSON filtering
103
+ */
104
+ Prisma.DbNull = DbNull
105
+ Prisma.JsonNull = JsonNull
106
+ Prisma.AnyNull = AnyNull
107
+
108
+ Prisma.NullTypes = NullTypes
109
+
110
+
111
+
112
+ /**
113
+ * Enums
114
+ */
115
+
116
+ exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
117
+ ReadUncommitted: 'ReadUncommitted',
118
+ ReadCommitted: 'ReadCommitted',
119
+ RepeatableRead: 'RepeatableRead',
120
+ Serializable: 'Serializable'
121
+ });
122
+
123
+ exports.Prisma.AskConversationScalarFieldEnum = {
124
+ id: 'id',
125
+ ownerId: 'ownerId',
126
+ title: 'title',
127
+ scopeEntityId: 'scopeEntityId',
128
+ createdAt: 'createdAt',
129
+ updatedAt: 'updatedAt'
130
+ };
131
+
132
+ exports.Prisma.AskMessageScalarFieldEnum = {
133
+ id: 'id',
134
+ conversationId: 'conversationId',
135
+ role: 'role',
136
+ content: 'content',
137
+ status: 'status',
138
+ toolCalls: 'toolCalls',
139
+ citations: 'citations',
140
+ model: 'model',
141
+ provider: 'provider',
142
+ promptTokens: 'promptTokens',
143
+ completionTokens: 'completionTokens',
144
+ errorClass: 'errorClass',
145
+ finishReason: 'finishReason',
146
+ jobId: 'jobId',
147
+ createdAt: 'createdAt'
148
+ };
149
+
150
+ exports.Prisma.KgEntityScalarFieldEnum = {
151
+ id: 'id',
152
+ ownerId: 'ownerId',
153
+ type: 'type',
154
+ label: 'label',
155
+ props: 'props',
156
+ embeddingModel: 'embeddingModel',
157
+ embeddingHash: 'embeddingHash',
158
+ reviewStatus: 'reviewStatus',
159
+ mergedIntoId: 'mergedIntoId',
160
+ occurredAt: 'occurredAt',
161
+ ontologyVersion: 'ontologyVersion',
162
+ createdAt: 'createdAt',
163
+ updatedAt: 'updatedAt'
164
+ };
165
+
166
+ exports.Prisma.KgEntityAliasScalarFieldEnum = {
167
+ id: 'id',
168
+ entityId: 'entityId',
169
+ ownerId: 'ownerId',
170
+ alias: 'alias',
171
+ normalized: 'normalized',
172
+ source: 'source',
173
+ createdAt: 'createdAt'
174
+ };
175
+
176
+ exports.Prisma.KgRelationScalarFieldEnum = {
177
+ id: 'id',
178
+ ownerId: 'ownerId',
179
+ type: 'type',
180
+ fromId: 'fromId',
181
+ fromSpeakerId: 'fromSpeakerId',
182
+ toId: 'toId',
183
+ props: 'props',
184
+ validPrecision: 'validPrecision',
185
+ reviewStatus: 'reviewStatus',
186
+ confidence: 'confidence',
187
+ supersededById: 'supersededById',
188
+ ontologyVersion: 'ontologyVersion',
189
+ createdAt: 'createdAt',
190
+ updatedAt: 'updatedAt'
191
+ };
192
+
193
+ exports.Prisma.KgItemScalarFieldEnum = {
194
+ id: 'id',
195
+ ownerId: 'ownerId',
196
+ kind: 'kind',
197
+ subjectId: 'subjectId',
198
+ meetingId: 'meetingId',
199
+ ownerPersonId: 'ownerPersonId',
200
+ counterpartyId: 'counterpartyId',
201
+ title: 'title',
202
+ statement: 'statement',
203
+ status: 'status',
204
+ props: 'props',
205
+ occurredAt: 'occurredAt',
206
+ dueAt: 'dueAt',
207
+ supersededById: 'supersededById',
208
+ sensitivity: 'sensitivity',
209
+ statementHash: 'statementHash',
210
+ validPrecision: 'validPrecision',
211
+ embeddingModel: 'embeddingModel',
212
+ embeddingHash: 'embeddingHash',
213
+ reviewStatus: 'reviewStatus',
214
+ confidence: 'confidence',
215
+ ontologyVersion: 'ontologyVersion',
216
+ createdAt: 'createdAt',
217
+ updatedAt: 'updatedAt'
218
+ };
219
+
220
+ exports.Prisma.KgEvidenceScalarFieldEnum = {
221
+ id: 'id',
222
+ ownerId: 'ownerId',
223
+ subjectKind: 'subjectKind',
224
+ subjectId: 'subjectId',
225
+ transcriptId: 'transcriptId',
226
+ segmentId: 'segmentId',
227
+ segmentRev: 'segmentRev',
228
+ startMs: 'startMs',
229
+ endMs: 'endMs',
230
+ noteId: 'noteId',
231
+ noteVersion: 'noteVersion',
232
+ charStart: 'charStart',
233
+ charEnd: 'charEnd',
234
+ quote: 'quote',
235
+ importObjectId: 'importObjectId',
236
+ sourceIri: 'sourceIri',
237
+ createdAt: 'createdAt'
238
+ };
239
+
240
+ exports.Prisma.KgMentionScalarFieldEnum = {
241
+ id: 'id',
242
+ ownerId: 'ownerId',
243
+ entityId: 'entityId',
244
+ noteId: 'noteId',
245
+ transcriptId: 'transcriptId',
246
+ span: 'span',
247
+ status: 'status',
248
+ score: 'score',
249
+ createdAt: 'createdAt'
250
+ };
251
+
252
+ exports.Prisma.KgProposalScalarFieldEnum = {
253
+ id: 'id',
254
+ ownerId: 'ownerId',
255
+ kind: 'kind',
256
+ status: 'status',
257
+ noteId: 'noteId',
258
+ noteVersion: 'noteVersion',
259
+ model: 'model',
260
+ provider: 'provider',
261
+ systemPrompt: 'systemPrompt',
262
+ userContent: 'userContent',
263
+ userGuidance: 'userGuidance',
264
+ stats: 'stats',
265
+ committedAt: 'committedAt',
266
+ revertedAt: 'revertedAt',
267
+ jobId: 'jobId',
268
+ commitLog: 'commitLog',
269
+ createdAt: 'createdAt',
270
+ updatedAt: 'updatedAt'
271
+ };
272
+
273
+ exports.Prisma.KgProposalItemScalarFieldEnum = {
274
+ id: 'id',
275
+ proposalId: 'proposalId',
276
+ kind: 'kind',
277
+ payload: 'payload',
278
+ resolution: 'resolution',
279
+ editedPayload: 'editedPayload',
280
+ decision: 'decision',
281
+ flags: 'flags',
282
+ origin: 'origin',
283
+ mergeIntoId: 'mergeIntoId',
284
+ distinctFrom: 'distinctFrom',
285
+ committedRefId: 'committedRefId',
286
+ sortOrder: 'sortOrder',
287
+ createdAt: 'createdAt',
288
+ updatedAt: 'updatedAt'
289
+ };
290
+
291
+ exports.Prisma.KgMergeScalarFieldEnum = {
292
+ id: 'id',
293
+ ownerId: 'ownerId',
294
+ survivorId: 'survivorId',
295
+ mergedId: 'mergedId',
296
+ reversal: 'reversal',
297
+ reversedAt: 'reversedAt',
298
+ createdAt: 'createdAt'
299
+ };
300
+
301
+ exports.Prisma.KgDistinctPairScalarFieldEnum = {
302
+ ownerId: 'ownerId',
303
+ aId: 'aId',
304
+ bId: 'bId',
305
+ createdAt: 'createdAt'
306
+ };
307
+
308
+ exports.Prisma.KgAttributeDefScalarFieldEnum = {
309
+ id: 'id',
310
+ ownerId: 'ownerId',
311
+ entityType: 'entityType',
312
+ key: 'key',
313
+ label: 'label',
314
+ kind: 'kind',
315
+ options: 'options',
316
+ extractable: 'extractable',
317
+ extractionHint: 'extractionHint',
318
+ sensitivity: 'sensitivity',
319
+ sortOrder: 'sortOrder',
320
+ deprecatedAt: 'deprecatedAt',
321
+ createdAt: 'createdAt',
322
+ updatedAt: 'updatedAt'
323
+ };
324
+
325
+ exports.Prisma.KgEntityDigestScalarFieldEnum = {
326
+ entityId: 'entityId',
327
+ ownerId: 'ownerId',
328
+ summary: 'summary',
329
+ citations: 'citations',
330
+ coversUntil: 'coversUntil',
331
+ model: 'model',
332
+ generatedAt: 'generatedAt'
333
+ };
334
+
335
+ exports.Prisma.KgEntityViewScalarFieldEnum = {
336
+ id: 'id',
337
+ userId: 'userId',
338
+ entityId: 'entityId',
339
+ lastViewedAt: 'lastViewedAt'
340
+ };
341
+
342
+ exports.Prisma.KgExportScalarFieldEnum = {
343
+ id: 'id',
344
+ ownerId: 'ownerId',
345
+ format: 'format',
346
+ status: 'status',
347
+ graphFingerprint: 'graphFingerprint',
348
+ ontologyVersion: 'ontologyVersion',
349
+ objectId: 'objectId',
350
+ stats: 'stats',
351
+ errorMessage: 'errorMessage',
352
+ jobId: 'jobId',
353
+ expiresAt: 'expiresAt',
354
+ createdAt: 'createdAt'
355
+ };
356
+
357
+ exports.Prisma.KgGraphLayoutScalarFieldEnum = {
358
+ id: 'id',
359
+ ownerId: 'ownerId',
360
+ computedAt: 'computedAt',
361
+ nodeCount: 'nodeCount',
362
+ edgeCount: 'edgeCount',
363
+ clusters: 'clusters',
364
+ positions: 'positions',
365
+ ontologyVersion: 'ontologyVersion',
366
+ sourceUpdatedAt: 'sourceUpdatedAt'
367
+ };
368
+
369
+ exports.Prisma.NoteScalarFieldEnum = {
370
+ id: 'id',
371
+ ownerId: 'ownerId',
372
+ title: 'title',
373
+ titleSource: 'titleSource',
374
+ body: 'body',
375
+ bodyFormat: 'bodyFormat',
376
+ status: 'status',
377
+ currentVersion: 'currentVersion',
378
+ provider: 'provider',
379
+ model: 'model',
380
+ currentGenerationId: 'currentGenerationId',
381
+ sourceType: 'sourceType',
382
+ sourceTranscriptId: 'sourceTranscriptId',
383
+ sourceNoteId: 'sourceNoteId',
384
+ sourceObjectId: 'sourceObjectId',
385
+ templateId: 'templateId',
386
+ contextText: 'contextText',
387
+ failureReason: 'failureReason',
388
+ deletedAt: 'deletedAt',
389
+ createdAt: 'createdAt',
390
+ updatedAt: 'updatedAt'
391
+ };
392
+
393
+ exports.Prisma.NoteTemplateScalarFieldEnum = {
394
+ id: 'id',
395
+ ownerId: 'ownerId',
396
+ name: 'name',
397
+ description: 'description',
398
+ instructions: 'instructions',
399
+ outputFormat: 'outputFormat',
400
+ bodyFormat: 'bodyFormat',
401
+ structure: 'structure',
402
+ tone: 'tone',
403
+ length: 'length',
404
+ model: 'model',
405
+ isArchived: 'isArchived',
406
+ createdAt: 'createdAt',
407
+ updatedAt: 'updatedAt'
408
+ };
409
+
410
+ exports.Prisma.UserHiddenNoteTemplateScalarFieldEnum = {
411
+ userId: 'userId',
412
+ templateId: 'templateId',
413
+ createdAt: 'createdAt'
414
+ };
415
+
416
+ exports.Prisma.NoteGenerationScalarFieldEnum = {
417
+ id: 'id',
418
+ noteId: 'noteId',
419
+ kind: 'kind',
420
+ status: 'status',
421
+ errorClass: 'errorClass',
422
+ errorDetail: 'errorDetail',
423
+ templateId: 'templateId',
424
+ templateNameSnapshot: 'templateNameSnapshot',
425
+ contextText: 'contextText',
426
+ sourceType: 'sourceType',
427
+ sourceTranscriptId: 'sourceTranscriptId',
428
+ sourceNoteId: 'sourceNoteId',
429
+ sourceObjectId: 'sourceObjectId',
430
+ providerId: 'providerId',
431
+ model: 'model',
432
+ content: 'content',
433
+ lastEventId: 'lastEventId',
434
+ promptTokens: 'promptTokens',
435
+ completionTokens: 'completionTokens',
436
+ systemPrompt: 'systemPrompt',
437
+ userContent: 'userContent',
438
+ sourceVersion: 'sourceVersion',
439
+ contextCapturedAt: 'contextCapturedAt',
440
+ jobId: 'jobId',
441
+ expiresAt: 'expiresAt',
442
+ startedAt: 'startedAt',
443
+ completedAt: 'completedAt',
444
+ createdAt: 'createdAt'
445
+ };
446
+
447
+ exports.Prisma.NoteVersionScalarFieldEnum = {
448
+ id: 'id',
449
+ noteId: 'noteId',
450
+ version: 'version',
451
+ kind: 'kind',
452
+ body: 'body',
453
+ bodyFormat: 'bodyFormat',
454
+ summary: 'summary',
455
+ authorId: 'authorId',
456
+ generationId: 'generationId',
457
+ restoredFromVersion: 'restoredFromVersion',
458
+ clientBatchId: 'clientBatchId',
459
+ createdAt: 'createdAt'
460
+ };
461
+
462
+ exports.Prisma.NoteExportScalarFieldEnum = {
463
+ id: 'id',
464
+ noteId: 'noteId',
465
+ version: 'version',
466
+ format: 'format',
467
+ options: 'options',
468
+ optionsHash: 'optionsHash',
469
+ status: 'status',
470
+ objectId: 'objectId',
471
+ jobId: 'jobId',
472
+ requestedById: 'requestedById',
473
+ error: 'error',
474
+ expiresAt: 'expiresAt',
475
+ createdAt: 'createdAt'
476
+ };
477
+
478
+ exports.Prisma.SearchChunkScalarFieldEnum = {
479
+ id: 'id',
480
+ documentType: 'documentType',
481
+ documentId: 'documentId',
482
+ ordinal: 'ordinal',
483
+ text: 'text',
484
+ contentHash: 'contentHash',
485
+ charStart: 'charStart',
486
+ charEnd: 'charEnd',
487
+ createdAt: 'createdAt'
488
+ };
489
+
490
+ exports.Prisma.SearchEmbeddingScalarFieldEnum = {
491
+ id: 'id',
492
+ chunkId: 'chunkId',
493
+ model: 'model',
494
+ dimensions: 'dimensions',
495
+ createdAt: 'createdAt'
496
+ };
497
+
498
+ exports.Prisma.SearchIndexStateScalarFieldEnum = {
499
+ id: 'id',
500
+ documentType: 'documentType',
501
+ documentId: 'documentId',
502
+ ownerId: 'ownerId',
503
+ status: 'status',
504
+ reason: 'reason',
505
+ chunkCount: 'chunkCount',
506
+ model: 'model',
507
+ contentFingerprint: 'contentFingerprint',
508
+ lastError: 'lastError',
509
+ indexedAt: 'indexedAt',
510
+ createdAt: 'createdAt',
511
+ updatedAt: 'updatedAt'
512
+ };
513
+
514
+ exports.Prisma.TranscriptScalarFieldEnum = {
515
+ id: 'id',
516
+ ownerId: 'ownerId',
517
+ orgId: 'orgId',
518
+ title: 'title',
519
+ language: 'language',
520
+ status: 'status',
521
+ transcriptionStatus: 'transcriptionStatus',
522
+ playbackStatus: 'playbackStatus',
523
+ sourceObjectId: 'sourceObjectId',
524
+ playbackObjectId: 'playbackObjectId',
525
+ rawResultObjectId: 'rawResultObjectId',
526
+ provider: 'provider',
527
+ providerJobId: 'providerJobId',
528
+ providerOptions: 'providerOptions',
529
+ submittedAt: 'submittedAt',
530
+ lastPolledAt: 'lastPolledAt',
531
+ completedAt: 'completedAt',
532
+ remoteDeletedAt: 'remoteDeletedAt',
533
+ deletedAt: 'deletedAt',
534
+ createdAt: 'createdAt',
535
+ updatedAt: 'updatedAt',
536
+ recordedAt: 'recordedAt',
537
+ durationMs: 'durationMs',
538
+ failureReason: 'failureReason',
539
+ currentVersion: 'currentVersion',
540
+ speakerCount: 'speakerCount',
541
+ wordCount: 'wordCount',
542
+ speakerIdentities: 'speakerIdentities'
543
+ };
544
+
545
+ exports.Prisma.TranscriptSpeakerScalarFieldEnum = {
546
+ id: 'id',
547
+ transcriptId: 'transcriptId',
548
+ label: 'label',
549
+ displayName: 'displayName',
550
+ colorIndex: 'colorIndex',
551
+ rev: 'rev'
552
+ };
553
+
554
+ exports.Prisma.TranscriptSegmentScalarFieldEnum = {
555
+ id: 'id',
556
+ transcriptId: 'transcriptId',
557
+ speakerId: 'speakerId',
558
+ startMs: 'startMs',
559
+ endMs: 'endMs',
560
+ ordinal: 'ordinal',
561
+ text: 'text',
562
+ words: 'words',
563
+ wordsAlignment: 'wordsAlignment',
564
+ confidence: 'confidence',
565
+ origin: 'origin',
566
+ rev: 'rev',
567
+ editedById: 'editedById',
568
+ editedAt: 'editedAt'
569
+ };
570
+
571
+ exports.Prisma.TranscriptVersionScalarFieldEnum = {
572
+ id: 'id',
573
+ transcriptId: 'transcriptId',
574
+ version: 'version',
575
+ kind: 'kind',
576
+ authorId: 'authorId',
577
+ summary: 'summary',
578
+ ops: 'ops',
579
+ restoredFromVersion: 'restoredFromVersion',
580
+ snapshotObjectId: 'snapshotObjectId',
581
+ clientBatchId: 'clientBatchId',
582
+ createdAt: 'createdAt'
583
+ };
584
+
585
+ exports.Prisma.TranscriptExportScalarFieldEnum = {
586
+ id: 'id',
587
+ transcriptId: 'transcriptId',
588
+ version: 'version',
589
+ format: 'format',
590
+ options: 'options',
591
+ optionsHash: 'optionsHash',
592
+ status: 'status',
593
+ objectId: 'objectId',
594
+ jobId: 'jobId',
595
+ requestedById: 'requestedById',
596
+ error: 'error',
597
+ expiresAt: 'expiresAt',
598
+ createdAt: 'createdAt'
599
+ };
600
+
601
+ exports.Prisma.TranscriptNameCheckScalarFieldEnum = {
602
+ id: 'id',
603
+ transcriptId: 'transcriptId',
604
+ requestedById: 'requestedById',
605
+ mode: 'mode',
606
+ status: 'status',
607
+ basedOnVersion: 'basedOnVersion',
608
+ terms: 'terms',
609
+ providerId: 'providerId',
610
+ model: 'model',
611
+ candidateCount: 'candidateCount',
612
+ suggestionCount: 'suggestionCount',
613
+ inputTokens: 'inputTokens',
614
+ outputTokens: 'outputTokens',
615
+ errorClass: 'errorClass',
616
+ error: 'error',
617
+ jobId: 'jobId',
618
+ createdAt: 'createdAt',
619
+ startedAt: 'startedAt',
620
+ completedAt: 'completedAt'
621
+ };
622
+
623
+ exports.Prisma.TranscriptNameSuggestionScalarFieldEnum = {
624
+ id: 'id',
625
+ checkId: 'checkId',
626
+ segmentId: 'segmentId',
627
+ segmentRev: 'segmentRev',
628
+ start: 'start',
629
+ end: 'end',
630
+ original: 'original',
631
+ replacement: 'replacement',
632
+ confidence: 'confidence',
633
+ reason: 'reason',
634
+ source: 'source',
635
+ status: 'status',
636
+ decidedAt: 'decidedAt',
637
+ decidedById: 'decidedById',
638
+ createdAt: 'createdAt'
639
+ };
640
+
641
+ exports.Prisma.AiModelScalarFieldEnum = {
642
+ id: 'id',
643
+ provider: 'provider',
644
+ modelId: 'modelId',
645
+ displayName: 'displayName',
646
+ capabilities: 'capabilities',
647
+ capabilitySource: 'capabilitySource',
648
+ enabled: 'enabled',
649
+ contextWindow: 'contextWindow',
650
+ maxOutputTokens: 'maxOutputTokens',
651
+ discoveredAt: 'discoveredAt',
652
+ lastSeenAt: 'lastSeenAt',
653
+ deprecatedAt: 'deprecatedAt',
654
+ updatedByUserId: 'updatedByUserId',
655
+ updatedAt: 'updatedAt'
656
+ };
657
+
658
+ exports.Prisma.UserAiKeyScalarFieldEnum = {
659
+ id: 'id',
660
+ userId: 'userId',
661
+ provider: 'provider',
662
+ secret: 'secret',
663
+ hint: 'hint',
664
+ verifiedAt: 'verifiedAt',
665
+ lastErrorCode: 'lastErrorCode',
666
+ reachableModelIds: 'reachableModelIds',
667
+ reachableCheckedAt: 'reachableCheckedAt',
668
+ createdAt: 'createdAt',
669
+ updatedAt: 'updatedAt'
670
+ };
671
+
672
+ exports.Prisma.AiRunScalarFieldEnum = {
673
+ id: 'id',
674
+ userId: 'userId',
675
+ jobId: 'jobId',
676
+ status: 'status',
677
+ provider: 'provider',
678
+ modelId: 'modelId',
679
+ request: 'request',
680
+ output: 'output',
681
+ errorCode: 'errorCode',
682
+ errorMessage: 'errorMessage',
683
+ createdAt: 'createdAt',
684
+ updatedAt: 'updatedAt',
685
+ completedAt: 'completedAt',
686
+ orgId: 'orgId',
687
+ feature: 'feature'
688
+ };
689
+
690
+ exports.Prisma.AiUsageEventScalarFieldEnum = {
691
+ id: 'id',
692
+ userId: 'userId',
693
+ provider: 'provider',
694
+ modelId: 'modelId',
695
+ operation: 'operation',
696
+ keySource: 'keySource',
697
+ inputTokens: 'inputTokens',
698
+ outputTokens: 'outputTokens',
699
+ reasoningTokens: 'reasoningTokens',
700
+ cachedInputTokens: 'cachedInputTokens',
701
+ units: 'units',
702
+ latencyMs: 'latencyMs',
703
+ status: 'status',
704
+ errorCode: 'errorCode',
705
+ providerRequestId: 'providerRequestId',
706
+ jobId: 'jobId',
707
+ createdAt: 'createdAt',
708
+ orgId: 'orgId',
709
+ feature: 'feature'
710
+ };
711
+
712
+ exports.Prisma.AndroidAppReleaseScalarFieldEnum = {
713
+ id: 'id',
714
+ packageName: 'packageName',
715
+ versionName: 'versionName',
716
+ versionCode: 'versionCode',
717
+ signingSha256: 'signingSha256',
718
+ fileSha256: 'fileSha256',
719
+ sizeBytes: 'sizeBytes',
720
+ storageKey: 'storageKey',
721
+ storageProvider: 'storageProvider',
722
+ bucket: 'bucket',
723
+ notes: 'notes',
724
+ isCurrent: 'isCurrent',
725
+ uploadedById: 'uploadedById',
726
+ createdAt: 'createdAt'
727
+ };
728
+
729
+ exports.Prisma.CredentialScalarFieldEnum = {
730
+ id: 'id',
731
+ purpose: 'purpose',
732
+ name: 'name',
733
+ secret: 'secret',
734
+ hint: 'hint',
735
+ label: 'label',
736
+ updatedByUserId: 'updatedByUserId',
737
+ createdAt: 'createdAt',
738
+ updatedAt: 'updatedAt'
739
+ };
740
+
741
+ exports.Prisma.UserCredentialScalarFieldEnum = {
742
+ id: 'id',
743
+ userId: 'userId',
744
+ purpose: 'purpose',
745
+ name: 'name',
746
+ secret: 'secret',
747
+ hint: 'hint',
748
+ label: 'label',
749
+ createdAt: 'createdAt',
750
+ updatedAt: 'updatedAt'
751
+ };
752
+
753
+ exports.Prisma.OrgCredentialScalarFieldEnum = {
754
+ id: 'id',
755
+ orgId: 'orgId',
756
+ purpose: 'purpose',
757
+ name: 'name',
758
+ secret: 'secret',
759
+ hint: 'hint',
760
+ label: 'label',
761
+ updatedByUserId: 'updatedByUserId',
762
+ createdAt: 'createdAt',
763
+ updatedAt: 'updatedAt'
764
+ };
765
+
766
+ exports.Prisma.DatabaseBackupRunScalarFieldEnum = {
767
+ id: 'id',
768
+ jobId: 'jobId',
769
+ status: 'status',
770
+ trigger: 'trigger',
771
+ startedAt: 'startedAt',
772
+ finishedAt: 'finishedAt',
773
+ lastHeartbeatAt: 'lastHeartbeatAt',
774
+ bytesWritten: 'bytesWritten',
775
+ sizeBytes: 'sizeBytes',
776
+ storageProvider: 'storageProvider',
777
+ storageKey: 'storageKey',
778
+ bucket: 'bucket',
779
+ format: 'format',
780
+ checksumSha256: 'checksumSha256',
781
+ dbVersion: 'dbVersion',
782
+ appVersion: 'appVersion',
783
+ migrationName: 'migrationName',
784
+ pgDumpVersion: 'pgDumpVersion',
785
+ verifiedAt: 'verifiedAt',
786
+ lastError: 'lastError',
787
+ createdById: 'createdById',
788
+ restoreStatus: 'restoreStatus',
789
+ restoreError: 'restoreError',
790
+ restoredAt: 'restoredAt',
791
+ restoredById: 'restoredById',
792
+ restoreScratchDb: 'restoreScratchDb',
793
+ restoreOldDb: 'restoreOldDb',
794
+ swappedAt: 'swappedAt',
795
+ preRestoreBackupId: 'preRestoreBackupId',
796
+ createdAt: 'createdAt',
797
+ updatedAt: 'updatedAt'
798
+ };
799
+
800
+ exports.Prisma.UserScalarFieldEnum = {
801
+ id: 'id',
802
+ email: 'email',
803
+ displayName: 'displayName',
804
+ providerDisplayName: 'providerDisplayName',
805
+ profileImageUrl: 'profileImageUrl',
806
+ providerProfileImageUrl: 'providerProfileImageUrl',
807
+ isActive: 'isActive',
808
+ createdAt: 'createdAt',
809
+ updatedAt: 'updatedAt',
810
+ metadata: 'metadata'
811
+ };
812
+
813
+ exports.Prisma.UserIdentityScalarFieldEnum = {
814
+ id: 'id',
815
+ userId: 'userId',
816
+ provider: 'provider',
817
+ providerSubject: 'providerSubject',
818
+ providerEmail: 'providerEmail',
819
+ createdAt: 'createdAt'
820
+ };
821
+
822
+ exports.Prisma.RoleScalarFieldEnum = {
823
+ id: 'id',
824
+ name: 'name',
825
+ description: 'description',
826
+ scope: 'scope'
827
+ };
828
+
829
+ exports.Prisma.PermissionScalarFieldEnum = {
830
+ id: 'id',
831
+ name: 'name',
832
+ description: 'description',
833
+ scope: 'scope'
834
+ };
835
+
836
+ exports.Prisma.RolePermissionScalarFieldEnum = {
837
+ roleId: 'roleId',
838
+ permissionId: 'permissionId'
839
+ };
840
+
841
+ exports.Prisma.UserRoleScalarFieldEnum = {
842
+ userId: 'userId',
843
+ roleId: 'roleId'
844
+ };
845
+
846
+ exports.Prisma.AuditEventScalarFieldEnum = {
847
+ id: 'id',
848
+ actorUserId: 'actorUserId',
849
+ action: 'action',
850
+ targetType: 'targetType',
851
+ targetId: 'targetId',
852
+ meta: 'meta',
853
+ orgId: 'orgId',
854
+ createdAt: 'createdAt'
855
+ };
856
+
857
+ exports.Prisma.RefreshTokenScalarFieldEnum = {
858
+ id: 'id',
859
+ userId: 'userId',
860
+ tokenHash: 'tokenHash',
861
+ expiresAt: 'expiresAt',
862
+ createdAt: 'createdAt',
863
+ revokedAt: 'revokedAt',
864
+ deviceCodeId: 'deviceCodeId',
865
+ orgId: 'orgId'
866
+ };
867
+
868
+ exports.Prisma.PersonalAccessTokenScalarFieldEnum = {
869
+ id: 'id',
870
+ userId: 'userId',
871
+ name: 'name',
872
+ tokenHash: 'tokenHash',
873
+ tokenPrefix: 'tokenPrefix',
874
+ durationValue: 'durationValue',
875
+ durationUnit: 'durationUnit',
876
+ expiresAt: 'expiresAt',
877
+ lastUsedAt: 'lastUsedAt',
878
+ createdAt: 'createdAt',
879
+ revokedAt: 'revokedAt',
880
+ orgId: 'orgId'
881
+ };
882
+
883
+ exports.Prisma.AllowedEmailScalarFieldEnum = {
884
+ id: 'id',
885
+ email: 'email',
886
+ addedById: 'addedById',
887
+ addedAt: 'addedAt',
888
+ claimedById: 'claimedById',
889
+ claimedAt: 'claimedAt',
890
+ notes: 'notes'
891
+ };
892
+
893
+ exports.Prisma.DeviceCodeScalarFieldEnum = {
894
+ id: 'id',
895
+ deviceCode: 'deviceCode',
896
+ userCode: 'userCode',
897
+ userId: 'userId',
898
+ status: 'status',
899
+ clientInfo: 'clientInfo',
900
+ scopes: 'scopes',
901
+ expiresAt: 'expiresAt',
902
+ createdAt: 'createdAt',
903
+ updatedAt: 'updatedAt',
904
+ patId: 'patId',
905
+ collectedAt: 'collectedAt',
906
+ credentialExpiresAt: 'credentialExpiresAt',
907
+ revokedAt: 'revokedAt',
908
+ orgId: 'orgId'
909
+ };
910
+
911
+ exports.Prisma.OrganizationScalarFieldEnum = {
912
+ id: 'id',
913
+ name: 'name',
914
+ slug: 'slug',
915
+ isDefault: 'isDefault',
916
+ createdById: 'createdById',
917
+ createdAt: 'createdAt',
918
+ updatedAt: 'updatedAt',
919
+ metadata: 'metadata'
920
+ };
921
+
922
+ exports.Prisma.MembershipScalarFieldEnum = {
923
+ id: 'id',
924
+ orgId: 'orgId',
925
+ userId: 'userId',
926
+ status: 'status',
927
+ lastActiveAt: 'lastActiveAt',
928
+ roleId: 'roleId',
929
+ createdAt: 'createdAt',
930
+ updatedAt: 'updatedAt'
931
+ };
932
+
933
+ exports.Prisma.InviteScalarFieldEnum = {
934
+ id: 'id',
935
+ orgId: 'orgId',
936
+ email: 'email',
937
+ status: 'status',
938
+ tokenHash: 'tokenHash',
939
+ expiresAt: 'expiresAt',
940
+ invitedById: 'invitedById',
941
+ acceptedById: 'acceptedById',
942
+ acceptedAt: 'acceptedAt',
943
+ notes: 'notes',
944
+ roleId: 'roleId',
945
+ createdAt: 'createdAt'
946
+ };
947
+
948
+ exports.Prisma.JobScalarFieldEnum = {
949
+ id: 'id',
950
+ type: 'type',
951
+ subjectType: 'subjectType',
952
+ subjectId: 'subjectId',
953
+ dedupKey: 'dedupKey',
954
+ status: 'status',
955
+ reason: 'reason',
956
+ priority: 'priority',
957
+ providerKey: 'providerKey',
958
+ modelVersion: 'modelVersion',
959
+ payload: 'payload',
960
+ attempts: 'attempts',
961
+ lastError: 'lastError',
962
+ createdAt: 'createdAt',
963
+ startedAt: 'startedAt',
964
+ finishedAt: 'finishedAt',
965
+ scheduledFor: 'scheduledFor',
966
+ rateLimitedAt: 'rateLimitedAt',
967
+ rateLimitHits: 'rateLimitHits',
968
+ claimedByNodeId: 'claimedByNodeId',
969
+ leaseExpiresAt: 'leaseExpiresAt',
970
+ executor: 'executor',
971
+ claimToken: 'claimToken',
972
+ traceContext: 'traceContext',
973
+ orgId: 'orgId'
974
+ };
975
+
976
+ exports.Prisma.JobStatsRollupScalarFieldEnum = {
977
+ type: 'type',
978
+ succeededCount: 'succeededCount',
979
+ failedCount: 'failedCount',
980
+ sumDurationMs: 'sumDurationMs',
981
+ durationSamples: 'durationSamples',
982
+ updatedAt: 'updatedAt'
983
+ };
984
+
985
+ exports.Prisma.WorkerNodeScalarFieldEnum = {
986
+ id: 'id',
987
+ name: 'name',
988
+ hostname: 'hostname',
989
+ platform: 'platform',
990
+ cliVersion: 'cliVersion',
991
+ eligibleTypes: 'eligibleTypes',
992
+ concurrency: 'concurrency',
993
+ status: 'status',
994
+ capabilities: 'capabilities',
995
+ registeredAt: 'registeredAt',
996
+ lastHeartbeatAt: 'lastHeartbeatAt',
997
+ lastVitals: 'lastVitals',
998
+ lastVitalsAt: 'lastVitalsAt',
999
+ createdById: 'createdById'
1000
+ };
1001
+
1002
+ exports.Prisma.NodeCredentialScalarFieldEnum = {
1003
+ id: 'id',
1004
+ userId: 'userId',
1005
+ name: 'name',
1006
+ tokenHash: 'tokenHash',
1007
+ tokenPrefix: 'tokenPrefix',
1008
+ expiresAt: 'expiresAt',
1009
+ lastUsedAt: 'lastUsedAt',
1010
+ createdAt: 'createdAt',
1011
+ revokedAt: 'revokedAt'
1012
+ };
1013
+
1014
+ exports.Prisma.JobNodeSecretScalarFieldEnum = {
1015
+ id: 'id',
1016
+ jobId: 'jobId',
1017
+ nodeId: 'nodeId',
1018
+ kind: 'kind',
1019
+ handle: 'handle',
1020
+ issuedAt: 'issuedAt',
1021
+ expiresAt: 'expiresAt',
1022
+ revokedAt: 'revokedAt'
1023
+ };
1024
+
1025
+ exports.Prisma.NotificationDeliveryScalarFieldEnum = {
1026
+ id: 'id',
1027
+ eventKey: 'eventKey',
1028
+ userId: 'userId',
1029
+ recipient: 'recipient',
1030
+ channel: 'channel',
1031
+ status: 'status',
1032
+ providerMessageId: 'providerMessageId',
1033
+ error: 'error',
1034
+ createdAt: 'createdAt',
1035
+ updatedAt: 'updatedAt'
1036
+ };
1037
+
1038
+ exports.Prisma.NotificationScalarFieldEnum = {
1039
+ id: 'id',
1040
+ userId: 'userId',
1041
+ eventKey: 'eventKey',
1042
+ title: 'title',
1043
+ body: 'body',
1044
+ link: 'link',
1045
+ readAt: 'readAt',
1046
+ createdAt: 'createdAt'
1047
+ };
1048
+
1049
+ exports.Prisma.PushSubscriptionScalarFieldEnum = {
1050
+ id: 'id',
1051
+ userId: 'userId',
1052
+ endpoint: 'endpoint',
1053
+ p256dh: 'p256dh',
1054
+ auth: 'auth',
1055
+ expirationTime: 'expirationTime',
1056
+ userAgent: 'userAgent',
1057
+ failureCount: 'failureCount',
1058
+ lastSuccessAt: 'lastSuccessAt',
1059
+ platform: 'platform',
1060
+ createdAt: 'createdAt',
1061
+ updatedAt: 'updatedAt'
1062
+ };
1063
+
1064
+ exports.Prisma.NotificationBroadcastScalarFieldEnum = {
1065
+ id: 'id',
1066
+ title: 'title',
1067
+ body: 'body',
1068
+ link: 'link',
1069
+ ctaLabel: 'ctaLabel',
1070
+ eventKey: 'eventKey',
1071
+ channels: 'channels',
1072
+ status: 'status',
1073
+ scheduledFor: 'scheduledFor',
1074
+ startedAt: 'startedAt',
1075
+ finishedAt: 'finishedAt',
1076
+ canceledAt: 'canceledAt',
1077
+ audienceCutoff: 'audienceCutoff',
1078
+ cursorUserId: 'cursorUserId',
1079
+ recipientsTargeted: 'recipientsTargeted',
1080
+ recipientsDispatched: 'recipientsDispatched',
1081
+ lastError: 'lastError',
1082
+ createdById: 'createdById',
1083
+ createdAt: 'createdAt',
1084
+ updatedAt: 'updatedAt',
1085
+ targetOrgId: 'targetOrgId'
1086
+ };
1087
+
1088
+ exports.Prisma.SystemSettingsScalarFieldEnum = {
1089
+ id: 'id',
1090
+ key: 'key',
1091
+ value: 'value',
1092
+ version: 'version',
1093
+ updatedByUserId: 'updatedByUserId',
1094
+ updatedAt: 'updatedAt'
1095
+ };
1096
+
1097
+ exports.Prisma.UserSettingsScalarFieldEnum = {
1098
+ id: 'id',
1099
+ userId: 'userId',
1100
+ value: 'value',
1101
+ version: 'version',
1102
+ updatedAt: 'updatedAt'
1103
+ };
1104
+
1105
+ exports.Prisma.OrgSettingsScalarFieldEnum = {
1106
+ id: 'id',
1107
+ orgId: 'orgId',
1108
+ value: 'value',
1109
+ version: 'version',
1110
+ updatedByUserId: 'updatedByUserId',
1111
+ updatedAt: 'updatedAt'
1112
+ };
1113
+
1114
+ exports.Prisma.GroupScalarFieldEnum = {
1115
+ id: 'id',
1116
+ orgId: 'orgId',
1117
+ name: 'name',
1118
+ description: 'description',
1119
+ metadata: 'metadata',
1120
+ createdById: 'createdById',
1121
+ version: 'version',
1122
+ createdAt: 'createdAt',
1123
+ updatedAt: 'updatedAt'
1124
+ };
1125
+
1126
+ exports.Prisma.GroupMemberScalarFieldEnum = {
1127
+ id: 'id',
1128
+ groupId: 'groupId',
1129
+ userId: 'userId',
1130
+ orgId: 'orgId',
1131
+ role: 'role',
1132
+ addedById: 'addedById',
1133
+ createdAt: 'createdAt',
1134
+ updatedAt: 'updatedAt'
1135
+ };
1136
+
1137
+ exports.Prisma.GroupInviteScalarFieldEnum = {
1138
+ id: 'id',
1139
+ groupId: 'groupId',
1140
+ orgId: 'orgId',
1141
+ email: 'email',
1142
+ role: 'role',
1143
+ invitedById: 'invitedById',
1144
+ expiresAt: 'expiresAt',
1145
+ acceptedAt: 'acceptedAt',
1146
+ acceptedById: 'acceptedById',
1147
+ declinedAt: 'declinedAt',
1148
+ revokedAt: 'revokedAt',
1149
+ createdAt: 'createdAt'
1150
+ };
1151
+
1152
+ exports.Prisma.GrantScalarFieldEnum = {
1153
+ id: 'id',
1154
+ orgId: 'orgId',
1155
+ resourceType: 'resourceType',
1156
+ resourceId: 'resourceId',
1157
+ granteeKind: 'granteeKind',
1158
+ granteeUserId: 'granteeUserId',
1159
+ granteeGroupId: 'granteeGroupId',
1160
+ granteeRef: 'granteeRef',
1161
+ role: 'role',
1162
+ linkTokenHash: 'linkTokenHash',
1163
+ linkTokenCiphertext: 'linkTokenCiphertext',
1164
+ linkLabel: 'linkLabel',
1165
+ expiresAt: 'expiresAt',
1166
+ revokedAt: 'revokedAt',
1167
+ revokedById: 'revokedById',
1168
+ grantedById: 'grantedById',
1169
+ metadata: 'metadata',
1170
+ createdAt: 'createdAt',
1171
+ updatedAt: 'updatedAt'
1172
+ };
1173
+
1174
+ exports.Prisma.StorageObjectScalarFieldEnum = {
1175
+ id: 'id',
1176
+ name: 'name',
1177
+ size: 'size',
1178
+ mimeType: 'mimeType',
1179
+ storageKey: 'storageKey',
1180
+ storageProvider: 'storageProvider',
1181
+ bucket: 'bucket',
1182
+ status: 'status',
1183
+ s3UploadId: 's3UploadId',
1184
+ metadata: 'metadata',
1185
+ uploadedById: 'uploadedById',
1186
+ orgId: 'orgId',
1187
+ createdAt: 'createdAt',
1188
+ updatedAt: 'updatedAt'
1189
+ };
1190
+
1191
+ exports.Prisma.StorageObjectChunkScalarFieldEnum = {
1192
+ id: 'id',
1193
+ objectId: 'objectId',
1194
+ partNumber: 'partNumber',
1195
+ eTag: 'eTag',
1196
+ size: 'size',
1197
+ orgId: 'orgId',
1198
+ uploadedAt: 'uploadedAt'
1199
+ };
1200
+
1201
+ exports.Prisma.SortOrder = {
1202
+ asc: 'asc',
1203
+ desc: 'desc'
1204
+ };
1205
+
1206
+ exports.Prisma.JsonNullValueInput = {
1207
+ JsonNull: Prisma.JsonNull
1208
+ };
1209
+
1210
+ exports.Prisma.NullableJsonNullValueInput = {
1211
+ DbNull: Prisma.DbNull,
1212
+ JsonNull: Prisma.JsonNull
1213
+ };
1214
+
1215
+ exports.Prisma.QueryMode = {
1216
+ default: 'default',
1217
+ insensitive: 'insensitive'
1218
+ };
1219
+
1220
+ exports.Prisma.NullsOrder = {
1221
+ first: 'first',
1222
+ last: 'last'
1223
+ };
1224
+
1225
+ exports.Prisma.JsonNullValueFilter = {
1226
+ DbNull: Prisma.DbNull,
1227
+ JsonNull: Prisma.JsonNull,
1228
+ AnyNull: Prisma.AnyNull
1229
+ };
1230
+ exports.AskMessageRole = exports.$Enums.AskMessageRole = {
1231
+ user: 'user',
1232
+ assistant: 'assistant'
1233
+ };
1234
+
1235
+ exports.AskMessageStatus = exports.$Enums.AskMessageStatus = {
1236
+ pending: 'pending',
1237
+ streaming: 'streaming',
1238
+ complete: 'complete',
1239
+ failed: 'failed'
1240
+ };
1241
+
1242
+ exports.AskErrorClass = exports.$Enums.AskErrorClass = {
1243
+ auth: 'auth',
1244
+ refusal: 'refusal',
1245
+ rate_limit: 'rate_limit',
1246
+ budget: 'budget',
1247
+ timeout: 'timeout',
1248
+ other: 'other'
1249
+ };
1250
+
1251
+ exports.AskFinishReason = exports.$Enums.AskFinishReason = {
1252
+ stop: 'stop',
1253
+ step_cap: 'step_cap',
1254
+ token_cap: 'token_cap',
1255
+ time_cap: 'time_cap'
1256
+ };
1257
+
1258
+ exports.KgReviewStatus = exports.$Enums.KgReviewStatus = {
1259
+ unreviewed: 'unreviewed',
1260
+ accepted: 'accepted',
1261
+ edited: 'edited',
1262
+ rejected: 'rejected',
1263
+ merged: 'merged',
1264
+ superseded: 'superseded'
1265
+ };
1266
+
1267
+ exports.KgAliasSource = exports.$Enums.KgAliasSource = {
1268
+ user: 'user',
1269
+ extraction: 'extraction',
1270
+ speaker_naming: 'speaker_naming',
1271
+ import: 'import'
1272
+ };
1273
+
1274
+ exports.KgValidPrecision = exports.$Enums.KgValidPrecision = {
1275
+ day: 'day',
1276
+ month: 'month',
1277
+ year: 'year',
1278
+ unknown: 'unknown'
1279
+ };
1280
+
1281
+ exports.KgItemKind = exports.$Enums.KgItemKind = {
1282
+ commitment: 'commitment',
1283
+ decision: 'decision',
1284
+ claim: 'claim',
1285
+ person_fact: 'person_fact'
1286
+ };
1287
+
1288
+ exports.KgSensitivity = exports.$Enums.KgSensitivity = {
1289
+ business: 'business',
1290
+ personal: 'personal',
1291
+ sensitive: 'sensitive'
1292
+ };
1293
+
1294
+ exports.KgEvidenceSubjectKind = exports.$Enums.KgEvidenceSubjectKind = {
1295
+ entity: 'entity',
1296
+ relation: 'relation',
1297
+ item: 'item',
1298
+ proposal_item: 'proposal_item',
1299
+ import: 'import'
1300
+ };
1301
+
1302
+ exports.KgMentionStatus = exports.$Enums.KgMentionStatus = {
1303
+ suggested: 'suggested',
1304
+ linked: 'linked',
1305
+ new: 'new',
1306
+ ignored: 'ignored'
1307
+ };
1308
+
1309
+ exports.KgProposalKind = exports.$Enums.KgProposalKind = {
1310
+ extraction: 'extraction',
1311
+ import: 'import',
1312
+ resolution: 'resolution'
1313
+ };
1314
+
1315
+ exports.KgProposalStatus = exports.$Enums.KgProposalStatus = {
1316
+ draft: 'draft',
1317
+ extracting: 'extracting',
1318
+ committed: 'committed',
1319
+ discarded: 'discarded',
1320
+ failed: 'failed',
1321
+ reverted: 'reverted'
1322
+ };
1323
+
1324
+ exports.KgProposalItemKind = exports.$Enums.KgProposalItemKind = {
1325
+ entity: 'entity',
1326
+ relation: 'relation',
1327
+ item: 'item',
1328
+ closing: 'closing'
1329
+ };
1330
+
1331
+ exports.KgProposalItemDecision = exports.$Enums.KgProposalItemDecision = {
1332
+ pending: 'pending',
1333
+ accept: 'accept',
1334
+ edit: 'edit',
1335
+ reject: 'reject',
1336
+ merge_into: 'merge_into'
1337
+ };
1338
+
1339
+ exports.KgProposalItemOrigin = exports.$Enums.KgProposalItemOrigin = {
1340
+ ai: 'ai',
1341
+ user: 'user'
1342
+ };
1343
+
1344
+ exports.KgAttributeKind = exports.$Enums.KgAttributeKind = {
1345
+ text: 'text',
1346
+ number: 'number',
1347
+ date: 'date',
1348
+ boolean: 'boolean',
1349
+ select: 'select',
1350
+ multi_select: 'multi_select',
1351
+ url: 'url',
1352
+ entity_ref: 'entity_ref'
1353
+ };
1354
+
1355
+ exports.KgExportFormat = exports.$Enums.KgExportFormat = {
1356
+ jsonld: 'jsonld',
1357
+ turtle: 'turtle',
1358
+ nquads: 'nquads'
1359
+ };
1360
+
1361
+ exports.KgExportStatus = exports.$Enums.KgExportStatus = {
1362
+ pending: 'pending',
1363
+ running: 'running',
1364
+ ready: 'ready',
1365
+ failed: 'failed'
1366
+ };
1367
+
1368
+ exports.NoteTitleSource = exports.$Enums.NoteTitleSource = {
1369
+ ai: 'ai',
1370
+ user: 'user',
1371
+ template: 'template'
1372
+ };
1373
+
1374
+ exports.NoteStatus = exports.$Enums.NoteStatus = {
1375
+ draft: 'draft',
1376
+ generating: 'generating',
1377
+ ready: 'ready',
1378
+ failed: 'failed',
1379
+ deleting: 'deleting'
1380
+ };
1381
+
1382
+ exports.NoteSourceType = exports.$Enums.NoteSourceType = {
1383
+ transcript: 'transcript',
1384
+ note: 'note',
1385
+ document: 'document'
1386
+ };
1387
+
1388
+ exports.NoteGenerationKind = exports.$Enums.NoteGenerationKind = {
1389
+ create: 'create',
1390
+ regenerate: 'regenerate',
1391
+ preview: 'preview'
1392
+ };
1393
+
1394
+ exports.NoteGenerationStatus = exports.$Enums.NoteGenerationStatus = {
1395
+ pending: 'pending',
1396
+ streaming: 'streaming',
1397
+ succeeded: 'succeeded',
1398
+ failed: 'failed'
1399
+ };
1400
+
1401
+ exports.NoteGenerationErrorClass = exports.$Enums.NoteGenerationErrorClass = {
1402
+ auth: 'auth',
1403
+ refusal: 'refusal',
1404
+ rate_limit: 'rate_limit',
1405
+ other: 'other'
1406
+ };
1407
+
1408
+ exports.NoteVersionKind = exports.$Enums.NoteVersionKind = {
1409
+ ai_generated: 'ai_generated',
1410
+ edit: 'edit',
1411
+ restore: 'restore'
1412
+ };
1413
+
1414
+ exports.NoteExportStatus = exports.$Enums.NoteExportStatus = {
1415
+ pending: 'pending',
1416
+ ready: 'ready',
1417
+ failed: 'failed'
1418
+ };
1419
+
1420
+ exports.SearchIndexStatus = exports.$Enums.SearchIndexStatus = {
1421
+ pending: 'pending',
1422
+ indexing: 'indexing',
1423
+ indexed: 'indexed',
1424
+ failed: 'failed',
1425
+ skipped: 'skipped'
1426
+ };
1427
+
1428
+ exports.TranscriptStatus = exports.$Enums.TranscriptStatus = {
1429
+ uploading: 'uploading',
1430
+ processing: 'processing',
1431
+ ready: 'ready',
1432
+ failed: 'failed',
1433
+ deleting: 'deleting'
1434
+ };
1435
+
1436
+ exports.TranscriptionStatus = exports.$Enums.TranscriptionStatus = {
1437
+ waiting_input: 'waiting_input',
1438
+ queued: 'queued',
1439
+ submitting: 'submitting',
1440
+ submitted: 'submitted',
1441
+ processing: 'processing',
1442
+ completed: 'completed',
1443
+ failed: 'failed',
1444
+ cancelled: 'cancelled'
1445
+ };
1446
+
1447
+ exports.PlaybackStatus = exports.$Enums.PlaybackStatus = {
1448
+ pending: 'pending',
1449
+ processing: 'processing',
1450
+ ready: 'ready',
1451
+ failed: 'failed',
1452
+ not_needed: 'not_needed'
1453
+ };
1454
+
1455
+ exports.WordsAlignment = exports.$Enums.WordsAlignment = {
1456
+ exact: 'exact',
1457
+ interpolated: 'interpolated',
1458
+ none: 'none'
1459
+ };
1460
+
1461
+ exports.SegmentOrigin = exports.$Enums.SegmentOrigin = {
1462
+ ai: 'ai',
1463
+ user: 'user'
1464
+ };
1465
+
1466
+ exports.TranscriptVersionKind = exports.$Enums.TranscriptVersionKind = {
1467
+ ai_original: 'ai_original',
1468
+ edit: 'edit',
1469
+ restore: 'restore'
1470
+ };
1471
+
1472
+ exports.TranscriptExportStatus = exports.$Enums.TranscriptExportStatus = {
1473
+ pending: 'pending',
1474
+ ready: 'ready',
1475
+ failed: 'failed'
1476
+ };
1477
+
1478
+ exports.TranscriptNameCheckMode = exports.$Enums.TranscriptNameCheckMode = {
1479
+ standard: 'standard',
1480
+ thorough: 'thorough'
1481
+ };
1482
+
1483
+ exports.TranscriptNameCheckStatus = exports.$Enums.TranscriptNameCheckStatus = {
1484
+ pending: 'pending',
1485
+ running: 'running',
1486
+ ready: 'ready',
1487
+ failed: 'failed'
1488
+ };
1489
+
1490
+ exports.TranscriptNameSuggestionStatus = exports.$Enums.TranscriptNameSuggestionStatus = {
1491
+ pending: 'pending',
1492
+ accepted: 'accepted',
1493
+ rejected: 'rejected',
1494
+ stale: 'stale'
1495
+ };
1496
+
1497
+ exports.DatabaseBackupStatus = exports.$Enums.DatabaseBackupStatus = {
1498
+ pending: 'pending',
1499
+ running: 'running',
1500
+ completed: 'completed',
1501
+ failed: 'failed',
1502
+ stale: 'stale'
1503
+ };
1504
+
1505
+ exports.DatabaseBackupTrigger = exports.$Enums.DatabaseBackupTrigger = {
1506
+ manual: 'manual',
1507
+ scheduled: 'scheduled',
1508
+ pre_restore: 'pre_restore'
1509
+ };
1510
+
1511
+ exports.RoleScope = exports.$Enums.RoleScope = {
1512
+ system: 'system',
1513
+ org: 'org'
1514
+ };
1515
+
1516
+ exports.PatDurationUnit = exports.$Enums.PatDurationUnit = {
1517
+ minutes: 'minutes',
1518
+ days: 'days',
1519
+ months: 'months'
1520
+ };
1521
+
1522
+ exports.DeviceCodeStatus = exports.$Enums.DeviceCodeStatus = {
1523
+ pending: 'pending',
1524
+ approved: 'approved',
1525
+ denied: 'denied',
1526
+ expired: 'expired'
1527
+ };
1528
+
1529
+ exports.MembershipStatus = exports.$Enums.MembershipStatus = {
1530
+ active: 'active',
1531
+ suspended: 'suspended'
1532
+ };
1533
+
1534
+ exports.InviteStatus = exports.$Enums.InviteStatus = {
1535
+ pending: 'pending',
1536
+ accepted: 'accepted',
1537
+ revoked: 'revoked',
1538
+ expired: 'expired'
1539
+ };
1540
+
1541
+ exports.JobStatus = exports.$Enums.JobStatus = {
1542
+ pending: 'pending',
1543
+ running: 'running',
1544
+ succeeded: 'succeeded',
1545
+ failed: 'failed'
1546
+ };
1547
+
1548
+ exports.NodeStatus = exports.$Enums.NodeStatus = {
1549
+ online: 'online',
1550
+ draining: 'draining',
1551
+ offline: 'offline',
1552
+ disabled: 'disabled'
1553
+ };
1554
+
1555
+ exports.NotificationDeliveryStatus = exports.$Enums.NotificationDeliveryStatus = {
1556
+ queued: 'queued',
1557
+ sent: 'sent',
1558
+ failed: 'failed'
1559
+ };
1560
+
1561
+ exports.NotificationBroadcastStatus = exports.$Enums.NotificationBroadcastStatus = {
1562
+ draft: 'draft',
1563
+ scheduled: 'scheduled',
1564
+ sending: 'sending',
1565
+ sent: 'sent',
1566
+ canceled: 'canceled',
1567
+ failed: 'failed'
1568
+ };
1569
+
1570
+ exports.StorageObjectStatus = exports.$Enums.StorageObjectStatus = {
1571
+ pending: 'pending',
1572
+ uploading: 'uploading',
1573
+ processing: 'processing',
1574
+ ready: 'ready',
1575
+ failed: 'failed'
1576
+ };
1577
+
1578
+ exports.Prisma.ModelName = {
1579
+ AskConversation: 'AskConversation',
1580
+ AskMessage: 'AskMessage',
1581
+ KgEntity: 'KgEntity',
1582
+ KgEntityAlias: 'KgEntityAlias',
1583
+ KgRelation: 'KgRelation',
1584
+ KgItem: 'KgItem',
1585
+ KgEvidence: 'KgEvidence',
1586
+ KgMention: 'KgMention',
1587
+ KgProposal: 'KgProposal',
1588
+ KgProposalItem: 'KgProposalItem',
1589
+ KgMerge: 'KgMerge',
1590
+ KgDistinctPair: 'KgDistinctPair',
1591
+ KgAttributeDef: 'KgAttributeDef',
1592
+ KgEntityDigest: 'KgEntityDigest',
1593
+ KgEntityView: 'KgEntityView',
1594
+ KgExport: 'KgExport',
1595
+ KgGraphLayout: 'KgGraphLayout',
1596
+ Note: 'Note',
1597
+ NoteTemplate: 'NoteTemplate',
1598
+ UserHiddenNoteTemplate: 'UserHiddenNoteTemplate',
1599
+ NoteGeneration: 'NoteGeneration',
1600
+ NoteVersion: 'NoteVersion',
1601
+ NoteExport: 'NoteExport',
1602
+ SearchChunk: 'SearchChunk',
1603
+ SearchEmbedding: 'SearchEmbedding',
1604
+ SearchIndexState: 'SearchIndexState',
1605
+ Transcript: 'Transcript',
1606
+ TranscriptSpeaker: 'TranscriptSpeaker',
1607
+ TranscriptSegment: 'TranscriptSegment',
1608
+ TranscriptVersion: 'TranscriptVersion',
1609
+ TranscriptExport: 'TranscriptExport',
1610
+ TranscriptNameCheck: 'TranscriptNameCheck',
1611
+ TranscriptNameSuggestion: 'TranscriptNameSuggestion',
1612
+ AiModel: 'AiModel',
1613
+ UserAiKey: 'UserAiKey',
1614
+ AiRun: 'AiRun',
1615
+ AiUsageEvent: 'AiUsageEvent',
1616
+ AndroidAppRelease: 'AndroidAppRelease',
1617
+ Credential: 'Credential',
1618
+ UserCredential: 'UserCredential',
1619
+ OrgCredential: 'OrgCredential',
1620
+ DatabaseBackupRun: 'DatabaseBackupRun',
1621
+ User: 'User',
1622
+ UserIdentity: 'UserIdentity',
1623
+ Role: 'Role',
1624
+ Permission: 'Permission',
1625
+ RolePermission: 'RolePermission',
1626
+ UserRole: 'UserRole',
1627
+ AuditEvent: 'AuditEvent',
1628
+ RefreshToken: 'RefreshToken',
1629
+ PersonalAccessToken: 'PersonalAccessToken',
1630
+ AllowedEmail: 'AllowedEmail',
1631
+ DeviceCode: 'DeviceCode',
1632
+ Organization: 'Organization',
1633
+ Membership: 'Membership',
1634
+ Invite: 'Invite',
1635
+ Job: 'Job',
1636
+ JobStatsRollup: 'JobStatsRollup',
1637
+ WorkerNode: 'WorkerNode',
1638
+ NodeCredential: 'NodeCredential',
1639
+ JobNodeSecret: 'JobNodeSecret',
1640
+ NotificationDelivery: 'NotificationDelivery',
1641
+ Notification: 'Notification',
1642
+ PushSubscription: 'PushSubscription',
1643
+ NotificationBroadcast: 'NotificationBroadcast',
1644
+ SystemSettings: 'SystemSettings',
1645
+ UserSettings: 'UserSettings',
1646
+ OrgSettings: 'OrgSettings',
1647
+ Group: 'Group',
1648
+ GroupMember: 'GroupMember',
1649
+ GroupInvite: 'GroupInvite',
1650
+ Grant: 'Grant',
1651
+ StorageObject: 'StorageObject',
1652
+ StorageObjectChunk: 'StorageObjectChunk'
1653
+ };
1654
+
1655
+ /**
1656
+ * This is a stub Prisma Client that will error at runtime if called.
1657
+ */
1658
+ class PrismaClient {
1659
+ constructor() {
1660
+ return new Proxy(this, {
1661
+ get(target, prop) {
1662
+ let message
1663
+ const runtime = getRuntime()
1664
+ if (runtime.isEdge) {
1665
+ message = `PrismaClient is not configured to run in ${runtime.prettyName}. In order to run Prisma Client on edge runtime, either:
1666
+ - Use Prisma Accelerate: https://pris.ly/d/accelerate
1667
+ - Use Driver Adapters: https://pris.ly/d/driver-adapters
1668
+ `;
1669
+ } else {
1670
+ message = 'PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `' + runtime.prettyName + '`).'
1671
+ }
1672
+
1673
+ message += `
1674
+ If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
1675
+
1676
+ throw new Error(message)
1677
+ }
1678
+ })
1679
+ }
1680
+ }
1681
+
1682
+ exports.PrismaClient = PrismaClient
1683
+
1684
+ Object.assign(exports, Prisma)