agent-tower 0.5.4-beta.0 → 0.5.4-beta.2

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 (364) hide show
  1. package/README.md +6 -1
  2. package/dist/app.d.ts.map +1 -1
  3. package/dist/app.js +15 -1
  4. package/dist/app.js.map +1 -1
  5. package/dist/app.test.js +12 -0
  6. package/dist/app.test.js.map +1 -1
  7. package/dist/cli.js +18 -1
  8. package/dist/cli.js.map +1 -1
  9. package/dist/core/event-bus.d.ts +3 -0
  10. package/dist/core/event-bus.d.ts.map +1 -1
  11. package/dist/core/event-bus.js.map +1 -1
  12. package/dist/executors/__tests__/base.executor.test.js +29 -1
  13. package/dist/executors/__tests__/base.executor.test.js.map +1 -1
  14. package/dist/executors/__tests__/codex.executor.test.js +13 -0
  15. package/dist/executors/__tests__/codex.executor.test.js.map +1 -1
  16. package/dist/executors/__tests__/providers-availability.test.js +19 -0
  17. package/dist/executors/__tests__/providers-availability.test.js.map +1 -1
  18. package/dist/executors/__tests__/stdin-prompt.executors.test.js +10 -0
  19. package/dist/executors/__tests__/stdin-prompt.executors.test.js.map +1 -1
  20. package/dist/executors/base.executor.d.ts.map +1 -1
  21. package/dist/executors/base.executor.js +4 -0
  22. package/dist/executors/base.executor.js.map +1 -1
  23. package/dist/executors/claude-code.executor.d.ts.map +1 -1
  24. package/dist/executors/claude-code.executor.js +18 -5
  25. package/dist/executors/claude-code.executor.js.map +1 -1
  26. package/dist/executors/codex.executor.d.ts.map +1 -1
  27. package/dist/executors/codex.executor.js +9 -3
  28. package/dist/executors/codex.executor.js.map +1 -1
  29. package/dist/executors/cursor-agent.executor.d.ts +2 -1
  30. package/dist/executors/cursor-agent.executor.d.ts.map +1 -1
  31. package/dist/executors/cursor-agent.executor.js +29 -9
  32. package/dist/executors/cursor-agent.executor.js.map +1 -1
  33. package/dist/executors/execution-env.d.ts +1 -1
  34. package/dist/executors/execution-env.d.ts.map +1 -1
  35. package/dist/executors/execution-env.js +7 -0
  36. package/dist/executors/execution-env.js.map +1 -1
  37. package/dist/executors/index.d.ts +1 -0
  38. package/dist/executors/index.d.ts.map +1 -1
  39. package/dist/executors/index.js +1 -0
  40. package/dist/executors/index.js.map +1 -1
  41. package/dist/executors/start-error.d.ts +13 -0
  42. package/dist/executors/start-error.d.ts.map +1 -0
  43. package/dist/executors/start-error.js +25 -0
  44. package/dist/executors/start-error.js.map +1 -0
  45. package/dist/index.js +2 -0
  46. package/dist/index.js.map +1 -1
  47. package/dist/mcp/http-client.d.ts +2 -0
  48. package/dist/mcp/http-client.d.ts.map +1 -1
  49. package/dist/mcp/http-client.js +7 -0
  50. package/dist/mcp/http-client.js.map +1 -1
  51. package/dist/mcp/index.js +4 -1
  52. package/dist/mcp/index.js.map +1 -1
  53. package/dist/mcp/server.d.ts +3 -1
  54. package/dist/mcp/server.d.ts.map +1 -1
  55. package/dist/mcp/server.js +2 -1
  56. package/dist/mcp/server.js.map +1 -1
  57. package/dist/middleware/__tests__/access-auth.test.d.ts +2 -0
  58. package/dist/middleware/__tests__/access-auth.test.d.ts.map +1 -0
  59. package/dist/middleware/__tests__/access-auth.test.js +249 -0
  60. package/dist/middleware/__tests__/access-auth.test.js.map +1 -0
  61. package/dist/middleware/access-auth.d.ts +3 -0
  62. package/dist/middleware/access-auth.d.ts.map +1 -0
  63. package/dist/middleware/access-auth.js +110 -0
  64. package/dist/middleware/access-auth.js.map +1 -0
  65. package/dist/routes/__tests__/agent-cli-environment.test.js +28 -10
  66. package/dist/routes/__tests__/agent-cli-environment.test.js.map +1 -1
  67. package/dist/routes/__tests__/files.test.d.ts +2 -0
  68. package/dist/routes/__tests__/files.test.d.ts.map +1 -0
  69. package/dist/routes/__tests__/files.test.js +101 -0
  70. package/dist/routes/__tests__/files.test.js.map +1 -0
  71. package/dist/routes/__tests__/previews.integration.test.d.ts +2 -0
  72. package/dist/routes/__tests__/previews.integration.test.d.ts.map +1 -0
  73. package/dist/routes/__tests__/previews.integration.test.js +269 -0
  74. package/dist/routes/__tests__/previews.integration.test.js.map +1 -0
  75. package/dist/routes/__tests__/previews.test.js +103 -1
  76. package/dist/routes/__tests__/previews.test.js.map +1 -1
  77. package/dist/routes/access-auth.d.ts +3 -0
  78. package/dist/routes/access-auth.d.ts.map +1 -0
  79. package/dist/routes/access-auth.js +89 -0
  80. package/dist/routes/access-auth.js.map +1 -0
  81. package/dist/routes/files.d.ts.map +1 -1
  82. package/dist/routes/files.js +46 -0
  83. package/dist/routes/files.js.map +1 -1
  84. package/dist/routes/index.d.ts.map +1 -1
  85. package/dist/routes/index.js +3 -0
  86. package/dist/routes/index.js.map +1 -1
  87. package/dist/routes/previews.d.ts +7 -2
  88. package/dist/routes/previews.d.ts.map +1 -1
  89. package/dist/routes/previews.js +106 -32
  90. package/dist/routes/previews.js.map +1 -1
  91. package/dist/routes/projects.d.ts.map +1 -1
  92. package/dist/routes/projects.js +9 -0
  93. package/dist/routes/projects.js.map +1 -1
  94. package/dist/routes/system.d.ts.map +1 -1
  95. package/dist/routes/system.js +17 -11
  96. package/dist/routes/system.js.map +1 -1
  97. package/dist/services/__tests__/access-auth.service.test.d.ts +2 -0
  98. package/dist/services/__tests__/access-auth.service.test.d.ts.map +1 -0
  99. package/dist/services/__tests__/access-auth.service.test.js +316 -0
  100. package/dist/services/__tests__/access-auth.service.test.js.map +1 -0
  101. package/dist/services/__tests__/member-heartbeat-scheduler.test.d.ts +2 -0
  102. package/dist/services/__tests__/member-heartbeat-scheduler.test.d.ts.map +1 -0
  103. package/dist/services/__tests__/member-heartbeat-scheduler.test.js +75 -0
  104. package/dist/services/__tests__/member-heartbeat-scheduler.test.js.map +1 -0
  105. package/dist/services/__tests__/member-heartbeat.test.d.ts +2 -0
  106. package/dist/services/__tests__/member-heartbeat.test.d.ts.map +1 -0
  107. package/dist/services/__tests__/member-heartbeat.test.js +531 -0
  108. package/dist/services/__tests__/member-heartbeat.test.js.map +1 -0
  109. package/dist/services/__tests__/project.service.test.js +29 -0
  110. package/dist/services/__tests__/project.service.test.js.map +1 -1
  111. package/dist/services/__tests__/session-manager.team-run.test.js +237 -0
  112. package/dist/services/__tests__/session-manager.team-run.test.js.map +1 -1
  113. package/dist/services/__tests__/task.service.test.js +34 -0
  114. package/dist/services/__tests__/task.service.test.js.map +1 -1
  115. package/dist/services/__tests__/team-queue-recovery.integration.test.d.ts +2 -0
  116. package/dist/services/__tests__/team-queue-recovery.integration.test.d.ts.map +1 -0
  117. package/dist/services/__tests__/team-queue-recovery.integration.test.js +279 -0
  118. package/dist/services/__tests__/team-queue-recovery.integration.test.js.map +1 -0
  119. package/dist/services/__tests__/team-reconciler.service.test.js +180 -3
  120. package/dist/services/__tests__/team-reconciler.service.test.js.map +1 -1
  121. package/dist/services/__tests__/team-run.service.test.js +196 -2
  122. package/dist/services/__tests__/team-run.service.test.js.map +1 -1
  123. package/dist/services/__tests__/team-scheduler.service.test.js +362 -10
  124. package/dist/services/__tests__/team-scheduler.service.test.js.map +1 -1
  125. package/dist/services/__tests__/workspace.service.test.js +120 -1
  126. package/dist/services/__tests__/workspace.service.test.js.map +1 -1
  127. package/dist/services/access-auth.service.d.ts +82 -0
  128. package/dist/services/access-auth.service.d.ts.map +1 -0
  129. package/dist/services/access-auth.service.js +385 -0
  130. package/dist/services/access-auth.service.js.map +1 -0
  131. package/dist/services/agent-cli/__tests__/command-runner.test.d.ts +2 -0
  132. package/dist/services/agent-cli/__tests__/command-runner.test.d.ts.map +1 -0
  133. package/dist/services/agent-cli/__tests__/command-runner.test.js +64 -0
  134. package/dist/services/agent-cli/__tests__/command-runner.test.js.map +1 -0
  135. package/dist/services/agent-cli/__tests__/detection.test.js +48 -0
  136. package/dist/services/agent-cli/__tests__/detection.test.js.map +1 -1
  137. package/dist/services/agent-cli/__tests__/manifest-downloader.test.js +272 -14
  138. package/dist/services/agent-cli/__tests__/manifest-downloader.test.js.map +1 -1
  139. package/dist/services/agent-cli/command-runner.d.ts +21 -0
  140. package/dist/services/agent-cli/command-runner.d.ts.map +1 -0
  141. package/dist/services/agent-cli/command-runner.js +83 -0
  142. package/dist/services/agent-cli/command-runner.js.map +1 -0
  143. package/dist/services/agent-cli/detection.d.ts +1 -12
  144. package/dist/services/agent-cli/detection.d.ts.map +1 -1
  145. package/dist/services/agent-cli/detection.js +5 -27
  146. package/dist/services/agent-cli/detection.js.map +1 -1
  147. package/dist/services/agent-cli/downloader.d.ts +2 -2
  148. package/dist/services/agent-cli/downloader.d.ts.map +1 -1
  149. package/dist/services/agent-cli/downloader.js +4 -8
  150. package/dist/services/agent-cli/downloader.js.map +1 -1
  151. package/dist/services/agent-cli/environment.service.d.ts +2 -1
  152. package/dist/services/agent-cli/environment.service.d.ts.map +1 -1
  153. package/dist/services/agent-cli/environment.service.js +25 -12
  154. package/dist/services/agent-cli/environment.service.js.map +1 -1
  155. package/dist/services/agent-cli/manifest-validator.d.ts.map +1 -1
  156. package/dist/services/agent-cli/manifest-validator.js +31 -22
  157. package/dist/services/agent-cli/manifest-validator.js.map +1 -1
  158. package/dist/services/agent-cli/manifest.d.ts.map +1 -1
  159. package/dist/services/agent-cli/manifest.js +97 -56
  160. package/dist/services/agent-cli/manifest.js.map +1 -1
  161. package/dist/services/agent-cli/security.d.ts +1 -1
  162. package/dist/services/agent-cli/security.d.ts.map +1 -1
  163. package/dist/services/agent-cli/security.js +11 -1
  164. package/dist/services/agent-cli/security.js.map +1 -1
  165. package/dist/services/agent-cli/task-manager.d.ts.map +1 -1
  166. package/dist/services/agent-cli/task-manager.js +8 -19
  167. package/dist/services/agent-cli/task-manager.js.map +1 -1
  168. package/dist/services/mcp-config.service.d.ts.map +1 -1
  169. package/dist/services/mcp-config.service.js +8 -2
  170. package/dist/services/mcp-config.service.js.map +1 -1
  171. package/dist/services/mcp-config.service.test.js +18 -3
  172. package/dist/services/mcp-config.service.test.js.map +1 -1
  173. package/dist/services/member-heartbeat-scheduler.d.ts +39 -0
  174. package/dist/services/member-heartbeat-scheduler.d.ts.map +1 -0
  175. package/dist/services/member-heartbeat-scheduler.js +97 -0
  176. package/dist/services/member-heartbeat-scheduler.js.map +1 -0
  177. package/dist/services/project-guards.d.ts +5 -0
  178. package/dist/services/project-guards.d.ts.map +1 -1
  179. package/dist/services/project-guards.js +47 -0
  180. package/dist/services/project-guards.js.map +1 -1
  181. package/dist/services/project.service.d.ts +6 -4
  182. package/dist/services/project.service.d.ts.map +1 -1
  183. package/dist/services/project.service.js +16 -7
  184. package/dist/services/project.service.js.map +1 -1
  185. package/dist/services/session-manager.d.ts +13 -0
  186. package/dist/services/session-manager.d.ts.map +1 -1
  187. package/dist/services/session-manager.js +106 -40
  188. package/dist/services/session-manager.js.map +1 -1
  189. package/dist/services/task.service.d.ts +11 -9
  190. package/dist/services/task.service.d.ts.map +1 -1
  191. package/dist/services/task.service.js +17 -12
  192. package/dist/services/task.service.js.map +1 -1
  193. package/dist/services/team-reconciler.service.d.ts +49 -0
  194. package/dist/services/team-reconciler.service.d.ts.map +1 -1
  195. package/dist/services/team-reconciler.service.js +313 -4
  196. package/dist/services/team-reconciler.service.js.map +1 -1
  197. package/dist/services/team-run.service.d.ts +2 -0
  198. package/dist/services/team-run.service.d.ts.map +1 -1
  199. package/dist/services/team-run.service.js +36 -7
  200. package/dist/services/team-run.service.js.map +1 -1
  201. package/dist/services/team-scheduler.service.d.ts +5 -0
  202. package/dist/services/team-scheduler.service.d.ts.map +1 -1
  203. package/dist/services/team-scheduler.service.js +237 -21
  204. package/dist/services/team-scheduler.service.js.map +1 -1
  205. package/dist/services/terminal-manager.d.ts.map +1 -1
  206. package/dist/services/terminal-manager.js +1 -0
  207. package/dist/services/terminal-manager.js.map +1 -1
  208. package/dist/services/workspace.service.d.ts +1 -0
  209. package/dist/services/workspace.service.d.ts.map +1 -1
  210. package/dist/services/workspace.service.js +62 -9
  211. package/dist/services/workspace.service.js.map +1 -1
  212. package/dist/socket/__tests__/socket-gateway.test.d.ts +2 -0
  213. package/dist/socket/__tests__/socket-gateway.test.d.ts.map +1 -0
  214. package/dist/socket/__tests__/socket-gateway.test.js +119 -0
  215. package/dist/socket/__tests__/socket-gateway.test.js.map +1 -0
  216. package/dist/socket/middleware/__tests__/auth.test.js +102 -2
  217. package/dist/socket/middleware/__tests__/auth.test.js.map +1 -1
  218. package/dist/socket/middleware/auth.d.ts +1 -0
  219. package/dist/socket/middleware/auth.d.ts.map +1 -1
  220. package/dist/socket/middleware/auth.js +22 -2
  221. package/dist/socket/middleware/auth.js.map +1 -1
  222. package/dist/socket/socket-gateway.d.ts +6 -2
  223. package/dist/socket/socket-gateway.d.ts.map +1 -1
  224. package/dist/socket/socket-gateway.js +78 -15
  225. package/dist/socket/socket-gateway.js.map +1 -1
  226. package/dist/utils/index.d.ts +6 -2
  227. package/dist/utils/index.d.ts.map +1 -1
  228. package/dist/utils/index.js +18 -7
  229. package/dist/utils/index.js.map +1 -1
  230. package/dist/utils/internal-api-token.d.ts +9 -0
  231. package/dist/utils/internal-api-token.d.ts.map +1 -0
  232. package/dist/utils/internal-api-token.js +74 -0
  233. package/dist/utils/internal-api-token.js.map +1 -0
  234. package/dist/utils/preview-path.d.ts +11 -0
  235. package/dist/utils/preview-path.d.ts.map +1 -0
  236. package/dist/utils/preview-path.js +46 -0
  237. package/dist/utils/preview-path.js.map +1 -0
  238. package/dist/utils/process-launch.d.ts +3 -1
  239. package/dist/utils/process-launch.d.ts.map +1 -1
  240. package/dist/utils/process-launch.js +41 -5
  241. package/dist/utils/process-launch.js.map +1 -1
  242. package/dist/utils/process-launch.test.js +37 -3
  243. package/dist/utils/process-launch.test.js.map +1 -1
  244. package/dist/web/assets/{AgentDemoPage-DMLw4xpg.js → AgentDemoPage-CAfZ4j97.js} +1 -1
  245. package/dist/web/assets/{AgentEnvironmentSettingsPage-NgRdouLu.js → AgentEnvironmentSettingsPage-DsNEtF9E.js} +1 -1
  246. package/dist/web/assets/{AgentLogo-ThhvSi7G.js → AgentLogo-jT7FgIek.js} +1 -1
  247. package/dist/web/assets/{ConversationPage-B1ZcyF_h.js → ConversationPage-BoHNGkW4.js} +2 -2
  248. package/dist/web/assets/CreateTaskInput-Cc5iLMFm.js +1 -0
  249. package/dist/web/assets/{DemoPage-CN2OBKzu.js → DemoPage-D7TaL1CJ.js} +3 -3
  250. package/dist/web/assets/GeneralSettingsPage-D5K3E8MX.js +1 -0
  251. package/dist/web/assets/{Icons-DIZBOtuC.js → Icons-CqiMv6t9.js} +1 -1
  252. package/dist/web/assets/{LoadingPreviewPage-CRBcypeY.js → LoadingPreviewPage-y_zIMHD7.js} +1 -1
  253. package/dist/web/assets/McpSettingsPage-Cx-qKB2x.js +1 -0
  254. package/dist/web/assets/{MemberAvatar-Y_pJlw-N.js → MemberAvatar-MDUj0w6B.js} +1 -1
  255. package/dist/web/assets/NotificationSettingsPage-9aGt7-Lh.js +1 -0
  256. package/dist/web/assets/ProfileSettingsPage-Ct5ha4tH.js +3 -0
  257. package/dist/web/assets/{ProjectKanbanPage-CBfocvKp.js → ProjectKanbanPage-C-opG86F.js} +31 -32
  258. package/dist/web/assets/ProjectSettingsPage-B5ONsxYH.js +2 -0
  259. package/dist/web/assets/{ProviderSettingsPage-D-1Fyh5B.js → ProviderSettingsPage-B_bvOzI_.js} +6 -6
  260. package/dist/web/assets/{SettingsMasterDetail-CZfVaFo2.js → SettingsMasterDetail-rDCxJGeO.js} +1 -1
  261. package/dist/web/assets/{TeamSettingsPage-DysTmOGE.js → TeamSettingsPage-CQqEaxN8.js} +1 -1
  262. package/dist/web/assets/{arc-CgLBAHTH.js → arc-4bMzF8s5.js} +1 -1
  263. package/dist/web/assets/{architectureDiagram-3BPJPVTR-CP9eQfdk.js → architectureDiagram-3BPJPVTR-DHLpZrsg.js} +1 -1
  264. package/dist/web/assets/{arrow-left-y1LwO7sB.js → arrow-left-CHWUcgUT.js} +1 -1
  265. package/dist/web/assets/{blockDiagram-GPEHLZMM-BURZnUwn.js → blockDiagram-GPEHLZMM-BWnkREjA.js} +1 -1
  266. package/dist/web/assets/{c4Diagram-AAUBKEIU-Dzgp3z3S.js → c4Diagram-AAUBKEIU-Cgz8B5xI.js} +1 -1
  267. package/dist/web/assets/channel-Cm1ouAHS.js +1 -0
  268. package/dist/web/assets/check-B0AgpiMM.js +1 -0
  269. package/dist/web/assets/{chevron-down--B7iZqBL.js → chevron-down-KH9YdB6d.js} +1 -1
  270. package/dist/web/assets/{chevron-right-7PShDIwg.js → chevron-right-CAUiKY10.js} +1 -1
  271. package/dist/web/assets/{chevron-up-3n_vHdrD.js → chevron-up-5_Vvb-Ci.js} +1 -1
  272. package/dist/web/assets/{chunk-2J33WTMH-CIpasa01.js → chunk-2J33WTMH-BZ13KXVx.js} +1 -1
  273. package/dist/web/assets/{chunk-4BX2VUAB-DeSe2m1y.js → chunk-4BX2VUAB-1I8GhF4l.js} +1 -1
  274. package/dist/web/assets/{chunk-55IACEB6-BkJ6ogdn.js → chunk-55IACEB6-XvpeWieM.js} +1 -1
  275. package/dist/web/assets/{chunk-727SXJPM-Bkbv-knP.js → chunk-727SXJPM-D7Al9-bq.js} +1 -1
  276. package/dist/web/assets/{chunk-AQP2D5EJ-BG9wGFIo.js → chunk-AQP2D5EJ-Btn846zU.js} +1 -1
  277. package/dist/web/assets/{chunk-FMBD7UC4-Cvl_2za9.js → chunk-FMBD7UC4-A2nqCnZf.js} +1 -1
  278. package/dist/web/assets/{chunk-ND2GUHAM-B_zdzkWX.js → chunk-ND2GUHAM-BVkIo6Pj.js} +1 -1
  279. package/dist/web/assets/{chunk-QZHKN3VN-Ch6dvKNw.js → chunk-QZHKN3VN-BoNYHO2n.js} +1 -1
  280. package/dist/web/assets/{circle-alert-W13JkYj3.js → circle-alert-fO3Tkh3f.js} +1 -1
  281. package/dist/web/assets/classDiagram-4FO5ZUOK-BfqKofse.js +1 -0
  282. package/dist/web/assets/classDiagram-v2-Q7XG4LA2-BfqKofse.js +1 -0
  283. package/dist/web/assets/{code-block-OCS4YCEC-CYhJ9OPu.js → code-block-OCS4YCEC-CclNpE_3.js} +1 -1
  284. package/dist/web/assets/confirm-dialog-DvRd9Tcf.js +1 -0
  285. package/dist/web/assets/{copy-bJ2sut_L.js → copy-Dyh8NYTA.js} +1 -1
  286. package/dist/web/assets/{cose-bilkent-S5V4N54A-DWlnxyfH.js → cose-bilkent-S5V4N54A-BgA5aQr4.js} +1 -1
  287. package/dist/web/assets/{dagre-BM42HDAG-Bt3QI02a.js → dagre-BM42HDAG-C1zMROWX.js} +1 -1
  288. package/dist/web/assets/{diagram-2AECGRRQ-EaJBYSnS.js → diagram-2AECGRRQ-DkMjxfgh.js} +1 -1
  289. package/dist/web/assets/{diagram-5GNKFQAL-BGyRb-_h.js → diagram-5GNKFQAL-CxpZDmT0.js} +1 -1
  290. package/dist/web/assets/{diagram-KO2AKTUF-CZhDTMfm.js → diagram-KO2AKTUF-BtMUfvmN.js} +1 -1
  291. package/dist/web/assets/{diagram-LMA3HP47-Be8BAxmL.js → diagram-LMA3HP47-BZi1ud-6.js} +1 -1
  292. package/dist/web/assets/{diagram-OG6HWLK6-DEdQ7Cml.js → diagram-OG6HWLK6-_MZa2Vmf.js} +1 -1
  293. package/dist/web/assets/{erDiagram-TEJ5UH35-CG9SNlbz.js → erDiagram-TEJ5UH35-DpDg2-r9.js} +1 -1
  294. package/dist/web/assets/{flowDiagram-I6XJVG4X-BUpx5PVX.js → flowDiagram-I6XJVG4X-CLR_X1xm.js} +1 -1
  295. package/dist/web/assets/folder-picker-FcqjOvor.js +1 -0
  296. package/dist/web/assets/{ganttDiagram-6RSMTGT7-D7vRxMpE.js → ganttDiagram-6RSMTGT7-ClNXygJc.js} +1 -1
  297. package/dist/web/assets/{gitGraphDiagram-PVQCEYII-3lhH-RcD.js → gitGraphDiagram-PVQCEYII-CVdJEdZV.js} +1 -1
  298. package/dist/web/assets/index-DRJLGAPR.css +1 -0
  299. package/dist/web/assets/index-RC-dgDMb.js +122 -0
  300. package/dist/web/assets/{index-CGMjRoF7.js → index-gMgAFdpQ.js} +4 -4
  301. package/dist/web/assets/{infoDiagram-5YYISTIA-C5SNbJpO.js → infoDiagram-5YYISTIA-XrlQ9Cnl.js} +1 -1
  302. package/dist/web/assets/{ishikawaDiagram-YF4QCWOH-Ca7tX9_0.js → ishikawaDiagram-YF4QCWOH-I2xf8q1-.js} +1 -1
  303. package/dist/web/assets/{journeyDiagram-JHISSGLW-B2oo6nxY.js → journeyDiagram-JHISSGLW-DMDaSMF5.js} +1 -1
  304. package/dist/web/assets/{kanban-definition-UN3LZRKU-D1CzIzX9.js → kanban-definition-UN3LZRKU-kVff9awG.js} +1 -1
  305. package/dist/web/assets/{layers-BbLzQqyy.js → layers-UNThcvce.js} +1 -1
  306. package/dist/web/assets/{linear-BWowtcGw.js → linear-HJ2-smLG.js} +1 -1
  307. package/dist/web/assets/{mermaid-NOHMQCX5-B42ziicV.js → mermaid-NOHMQCX5-BFBL5hms.js} +40 -40
  308. package/dist/web/assets/{message-square-Bd_m34OX.js → message-square-C3yz80ya.js} +1 -1
  309. package/dist/web/assets/{mindmap-definition-RKZ34NQL-CYbO6QCk.js → mindmap-definition-RKZ34NQL-CSkOHlF2.js} +1 -1
  310. package/dist/web/assets/{modal-CxOKWOjZ.js → modal-DDKEV5YV.js} +1 -1
  311. package/dist/web/assets/{pencil-h5kxwbcu.js → pencil-AIclOdlA.js} +1 -1
  312. package/dist/web/assets/{pieDiagram-4H26LBE5-DXQghKRy.js → pieDiagram-4H26LBE5-DIk67jqC.js} +1 -1
  313. package/dist/web/assets/{quadrantDiagram-W4KKPZXB-C6lAMMQB.js → quadrantDiagram-W4KKPZXB-BqRrzRBU.js} +1 -1
  314. package/dist/web/assets/{requirementDiagram-4Y6WPE33-Di9Le7Wy.js → requirementDiagram-4Y6WPE33-DNo804ZW.js} +1 -1
  315. package/dist/web/assets/{sankeyDiagram-5OEKKPKP-BGpnptvR.js → sankeyDiagram-5OEKKPKP-I5HhBnqr.js} +1 -1
  316. package/dist/web/assets/{select-DFuN9DX8.js → select-BEwAtIzV.js} +1 -1
  317. package/dist/web/assets/{sequenceDiagram-3UESZ5HK-DjfkfaQL.js → sequenceDiagram-3UESZ5HK-BCmc9m_1.js} +1 -1
  318. package/dist/web/assets/{stateDiagram-AJRCARHV-DsELotm9.js → stateDiagram-AJRCARHV-Dgue8k7_.js} +1 -1
  319. package/dist/web/assets/stateDiagram-v2-BHNVJYJU-CygUwX8V.js +1 -0
  320. package/dist/web/assets/{switch-gL7lBFj6.js → switch-CdgTf7ni.js} +1 -1
  321. package/dist/web/assets/{textarea-Lr4GZaYW.js → textarea-D6QSwteN.js} +1 -1
  322. package/dist/web/assets/{timeline-definition-PNZ67QCA-Cq1BWC0T.js → timeline-definition-PNZ67QCA-Bl4mDUDT.js} +1 -1
  323. package/dist/web/assets/{trash-2-B7GFt5Wl.js → trash-2-B47vLMwl.js} +1 -1
  324. package/dist/web/assets/{upload-L8hpDFoO.js → upload-E5fNVeCI.js} +1 -1
  325. package/dist/web/assets/{use-profiles-zIsoigD8.js → use-profiles-CDvw0uSu.js} +1 -1
  326. package/dist/web/assets/use-projects-DMxMsQFw.js +1 -0
  327. package/dist/web/assets/{use-providers-erJ2iHLz.js → use-providers-DBKhBg_2.js} +1 -1
  328. package/dist/web/assets/{useNormalizedLogs-CXAn7xj_.js → useNormalizedLogs-BM-drJin.js} +1 -1
  329. package/dist/web/assets/{vennDiagram-CIIHVFJN-DdOfNtRo.js → vennDiagram-CIIHVFJN-rjeTPeto.js} +1 -1
  330. package/dist/web/assets/{wardley-L42UT6IY-BeKcEIgK.js → wardley-L42UT6IY-2cunyDSM.js} +1 -1
  331. package/dist/web/assets/{wardleyDiagram-YWT4CUSO-DPKOxABd.js → wardleyDiagram-YWT4CUSO-CNxobWk8.js} +1 -1
  332. package/dist/web/assets/{xychartDiagram-2RQKCTM6-olIy_aaY.js → xychartDiagram-2RQKCTM6-DBVimyeP.js} +1 -1
  333. package/dist/web/index.html +2 -2
  334. package/node_modules/@agent-tower/shared/dist/types.d.ts +45 -5
  335. package/node_modules/@agent-tower/shared/dist/types.d.ts.map +1 -1
  336. package/node_modules/@agent-tower/shared/dist/types.js.map +1 -1
  337. package/node_modules/@prisma/client/.prisma/client/edge.js +21 -5
  338. package/node_modules/@prisma/client/.prisma/client/index-browser.js +16 -0
  339. package/node_modules/@prisma/client/.prisma/client/index.d.ts +1599 -215
  340. package/node_modules/@prisma/client/.prisma/client/index.js +21 -5
  341. package/node_modules/@prisma/client/.prisma/client/package.json +1 -1
  342. package/node_modules/@prisma/client/.prisma/client/schema.prisma +24 -7
  343. package/node_modules/@prisma/client/.prisma/client/wasm.js +16 -0
  344. package/package.json +1 -1
  345. package/prisma/migrations/20260701000000_add_access_auth_settings/migration.sql +9 -0
  346. package/prisma/migrations/20260713000000_add_work_request_start_retry/migration.sql +7 -0
  347. package/prisma/schema.prisma +17 -0
  348. package/dist/web/assets/CreateTaskInput-Cb3aRHr3.js +0 -1
  349. package/dist/web/assets/GeneralSettingsPage-CE7P3t_v.js +0 -1
  350. package/dist/web/assets/McpSettingsPage-gp1XDMUd.js +0 -1
  351. package/dist/web/assets/NotificationSettingsPage-BhZeHEef.js +0 -1
  352. package/dist/web/assets/ProfileSettingsPage-D_y3ePFs.js +0 -3
  353. package/dist/web/assets/ProjectSettingsPage-V38j8T61.js +0 -2
  354. package/dist/web/assets/channel-CWEYGfCJ.js +0 -1
  355. package/dist/web/assets/check-D2WWIhwV.js +0 -1
  356. package/dist/web/assets/classDiagram-4FO5ZUOK-CcU8zfK8.js +0 -1
  357. package/dist/web/assets/classDiagram-v2-Q7XG4LA2-CcU8zfK8.js +0 -1
  358. package/dist/web/assets/confirm-dialog-BAqfLDT8.js +0 -1
  359. package/dist/web/assets/folder-picker-DFB9_pv4.js +0 -1
  360. package/dist/web/assets/folder-u7fKAtz_.js +0 -1
  361. package/dist/web/assets/index-7nw4fV42.js +0 -122
  362. package/dist/web/assets/index-YCjjSSLC.css +0 -1
  363. package/dist/web/assets/input-CKwRYuUJ.js +0 -1
  364. package/dist/web/assets/stateDiagram-v2-BHNVJYJU-CudtEyHd.js +0 -1
@@ -113,6 +113,11 @@ export type Attachment = $Result.DefaultSelection<Prisma.$AttachmentPayload>
113
113
  *
114
114
  */
115
115
  export type AppSettings = $Result.DefaultSelection<Prisma.$AppSettingsPayload>
116
+ /**
117
+ * Model AccessAuthSettings
118
+ *
119
+ */
120
+ export type AccessAuthSettings = $Result.DefaultSelection<Prisma.$AccessAuthSettingsPayload>
116
121
  /**
117
122
  * Model NotificationSettings
118
123
  *
@@ -442,6 +447,16 @@ export class PrismaClient<
442
447
  */
443
448
  get appSettings(): Prisma.AppSettingsDelegate<ExtArgs>;
444
449
 
450
+ /**
451
+ * `prisma.accessAuthSettings`: Exposes CRUD operations for the **AccessAuthSettings** model.
452
+ * Example usage:
453
+ * ```ts
454
+ * // Fetch zero or more AccessAuthSettings
455
+ * const accessAuthSettings = await prisma.accessAuthSettings.findMany()
456
+ * ```
457
+ */
458
+ get accessAuthSettings(): Prisma.AccessAuthSettingsDelegate<ExtArgs>;
459
+
445
460
  /**
446
461
  * `prisma.notificationSettings`: Exposes CRUD operations for the **NotificationSettings** model.
447
462
  * Example usage:
@@ -912,6 +927,7 @@ export namespace Prisma {
912
927
  ExecutionLog: 'ExecutionLog',
913
928
  Attachment: 'Attachment',
914
929
  AppSettings: 'AppSettings',
930
+ AccessAuthSettings: 'AccessAuthSettings',
915
931
  NotificationSettings: 'NotificationSettings'
916
932
  };
917
933
 
@@ -928,7 +944,7 @@ export namespace Prisma {
928
944
 
929
945
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> = {
930
946
  meta: {
931
- modelProps: "project" | "task" | "taskCleanupJob" | "memberPreset" | "teamTemplate" | "teamTemplateMember" | "teamRun" | "teamMember" | "roomMessage" | "roomMessageParticipant" | "workRequest" | "agentInvocation" | "workspace" | "workspaceVerdict" | "conversation" | "session" | "executionProcess" | "executionLog" | "attachment" | "appSettings" | "notificationSettings"
947
+ modelProps: "project" | "task" | "taskCleanupJob" | "memberPreset" | "teamTemplate" | "teamTemplateMember" | "teamRun" | "teamMember" | "roomMessage" | "roomMessageParticipant" | "workRequest" | "agentInvocation" | "workspace" | "workspaceVerdict" | "conversation" | "session" | "executionProcess" | "executionLog" | "attachment" | "appSettings" | "accessAuthSettings" | "notificationSettings"
932
948
  txIsolationLevel: Prisma.TransactionIsolationLevel
933
949
  }
934
950
  model: {
@@ -2332,6 +2348,76 @@ export namespace Prisma {
2332
2348
  }
2333
2349
  }
2334
2350
  }
2351
+ AccessAuthSettings: {
2352
+ payload: Prisma.$AccessAuthSettingsPayload<ExtArgs>
2353
+ fields: Prisma.AccessAuthSettingsFieldRefs
2354
+ operations: {
2355
+ findUnique: {
2356
+ args: Prisma.AccessAuthSettingsFindUniqueArgs<ExtArgs>
2357
+ result: $Utils.PayloadToResult<Prisma.$AccessAuthSettingsPayload> | null
2358
+ }
2359
+ findUniqueOrThrow: {
2360
+ args: Prisma.AccessAuthSettingsFindUniqueOrThrowArgs<ExtArgs>
2361
+ result: $Utils.PayloadToResult<Prisma.$AccessAuthSettingsPayload>
2362
+ }
2363
+ findFirst: {
2364
+ args: Prisma.AccessAuthSettingsFindFirstArgs<ExtArgs>
2365
+ result: $Utils.PayloadToResult<Prisma.$AccessAuthSettingsPayload> | null
2366
+ }
2367
+ findFirstOrThrow: {
2368
+ args: Prisma.AccessAuthSettingsFindFirstOrThrowArgs<ExtArgs>
2369
+ result: $Utils.PayloadToResult<Prisma.$AccessAuthSettingsPayload>
2370
+ }
2371
+ findMany: {
2372
+ args: Prisma.AccessAuthSettingsFindManyArgs<ExtArgs>
2373
+ result: $Utils.PayloadToResult<Prisma.$AccessAuthSettingsPayload>[]
2374
+ }
2375
+ create: {
2376
+ args: Prisma.AccessAuthSettingsCreateArgs<ExtArgs>
2377
+ result: $Utils.PayloadToResult<Prisma.$AccessAuthSettingsPayload>
2378
+ }
2379
+ createMany: {
2380
+ args: Prisma.AccessAuthSettingsCreateManyArgs<ExtArgs>
2381
+ result: BatchPayload
2382
+ }
2383
+ createManyAndReturn: {
2384
+ args: Prisma.AccessAuthSettingsCreateManyAndReturnArgs<ExtArgs>
2385
+ result: $Utils.PayloadToResult<Prisma.$AccessAuthSettingsPayload>[]
2386
+ }
2387
+ delete: {
2388
+ args: Prisma.AccessAuthSettingsDeleteArgs<ExtArgs>
2389
+ result: $Utils.PayloadToResult<Prisma.$AccessAuthSettingsPayload>
2390
+ }
2391
+ update: {
2392
+ args: Prisma.AccessAuthSettingsUpdateArgs<ExtArgs>
2393
+ result: $Utils.PayloadToResult<Prisma.$AccessAuthSettingsPayload>
2394
+ }
2395
+ deleteMany: {
2396
+ args: Prisma.AccessAuthSettingsDeleteManyArgs<ExtArgs>
2397
+ result: BatchPayload
2398
+ }
2399
+ updateMany: {
2400
+ args: Prisma.AccessAuthSettingsUpdateManyArgs<ExtArgs>
2401
+ result: BatchPayload
2402
+ }
2403
+ upsert: {
2404
+ args: Prisma.AccessAuthSettingsUpsertArgs<ExtArgs>
2405
+ result: $Utils.PayloadToResult<Prisma.$AccessAuthSettingsPayload>
2406
+ }
2407
+ aggregate: {
2408
+ args: Prisma.AccessAuthSettingsAggregateArgs<ExtArgs>
2409
+ result: $Utils.Optional<AggregateAccessAuthSettings>
2410
+ }
2411
+ groupBy: {
2412
+ args: Prisma.AccessAuthSettingsGroupByArgs<ExtArgs>
2413
+ result: $Utils.Optional<AccessAuthSettingsGroupByOutputType>[]
2414
+ }
2415
+ count: {
2416
+ args: Prisma.AccessAuthSettingsCountArgs<ExtArgs>
2417
+ result: $Utils.Optional<AccessAuthSettingsCountAggregateOutputType> | number
2418
+ }
2419
+ }
2420
+ }
2335
2421
  NotificationSettings: {
2336
2422
  payload: Prisma.$NotificationSettingsPayload<ExtArgs>
2337
2423
  fields: Prisma.NotificationSettingsFieldRefs
@@ -13082,10 +13168,20 @@ export namespace Prisma {
13082
13168
 
13083
13169
  export type AggregateWorkRequest = {
13084
13170
  _count: WorkRequestCountAggregateOutputType | null
13171
+ _avg: WorkRequestAvgAggregateOutputType | null
13172
+ _sum: WorkRequestSumAggregateOutputType | null
13085
13173
  _min: WorkRequestMinAggregateOutputType | null
13086
13174
  _max: WorkRequestMaxAggregateOutputType | null
13087
13175
  }
13088
13176
 
13177
+ export type WorkRequestAvgAggregateOutputType = {
13178
+ startAttemptCount: number | null
13179
+ }
13180
+
13181
+ export type WorkRequestSumAggregateOutputType = {
13182
+ startAttemptCount: number | null
13183
+ }
13184
+
13089
13185
  export type WorkRequestMinAggregateOutputType = {
13090
13186
  id: string | null
13091
13187
  teamRunId: string | null
@@ -13104,6 +13200,9 @@ export namespace Prisma {
13104
13200
  ifBusy: string | null
13105
13201
  cancelQueued: boolean | null
13106
13202
  status: string | null
13203
+ startAttemptCount: number | null
13204
+ lastStartError: string | null
13205
+ nextStartRetryAt: Date | null
13107
13206
  createdAt: Date | null
13108
13207
  updatedAt: Date | null
13109
13208
  }
@@ -13126,6 +13225,9 @@ export namespace Prisma {
13126
13225
  ifBusy: string | null
13127
13226
  cancelQueued: boolean | null
13128
13227
  status: string | null
13228
+ startAttemptCount: number | null
13229
+ lastStartError: string | null
13230
+ nextStartRetryAt: Date | null
13129
13231
  createdAt: Date | null
13130
13232
  updatedAt: Date | null
13131
13233
  }
@@ -13148,12 +13250,23 @@ export namespace Prisma {
13148
13250
  ifBusy: number
13149
13251
  cancelQueued: number
13150
13252
  status: number
13253
+ startAttemptCount: number
13254
+ lastStartError: number
13255
+ nextStartRetryAt: number
13151
13256
  createdAt: number
13152
13257
  updatedAt: number
13153
13258
  _all: number
13154
13259
  }
13155
13260
 
13156
13261
 
13262
+ export type WorkRequestAvgAggregateInputType = {
13263
+ startAttemptCount?: true
13264
+ }
13265
+
13266
+ export type WorkRequestSumAggregateInputType = {
13267
+ startAttemptCount?: true
13268
+ }
13269
+
13157
13270
  export type WorkRequestMinAggregateInputType = {
13158
13271
  id?: true
13159
13272
  teamRunId?: true
@@ -13172,6 +13285,9 @@ export namespace Prisma {
13172
13285
  ifBusy?: true
13173
13286
  cancelQueued?: true
13174
13287
  status?: true
13288
+ startAttemptCount?: true
13289
+ lastStartError?: true
13290
+ nextStartRetryAt?: true
13175
13291
  createdAt?: true
13176
13292
  updatedAt?: true
13177
13293
  }
@@ -13194,6 +13310,9 @@ export namespace Prisma {
13194
13310
  ifBusy?: true
13195
13311
  cancelQueued?: true
13196
13312
  status?: true
13313
+ startAttemptCount?: true
13314
+ lastStartError?: true
13315
+ nextStartRetryAt?: true
13197
13316
  createdAt?: true
13198
13317
  updatedAt?: true
13199
13318
  }
@@ -13216,6 +13335,9 @@ export namespace Prisma {
13216
13335
  ifBusy?: true
13217
13336
  cancelQueued?: true
13218
13337
  status?: true
13338
+ startAttemptCount?: true
13339
+ lastStartError?: true
13340
+ nextStartRetryAt?: true
13219
13341
  createdAt?: true
13220
13342
  updatedAt?: true
13221
13343
  _all?: true
@@ -13256,6 +13378,18 @@ export namespace Prisma {
13256
13378
  * Count returned WorkRequests
13257
13379
  **/
13258
13380
  _count?: true | WorkRequestCountAggregateInputType
13381
+ /**
13382
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
13383
+ *
13384
+ * Select which fields to average
13385
+ **/
13386
+ _avg?: WorkRequestAvgAggregateInputType
13387
+ /**
13388
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
13389
+ *
13390
+ * Select which fields to sum
13391
+ **/
13392
+ _sum?: WorkRequestSumAggregateInputType
13259
13393
  /**
13260
13394
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
13261
13395
  *
@@ -13289,6 +13423,8 @@ export namespace Prisma {
13289
13423
  take?: number
13290
13424
  skip?: number
13291
13425
  _count?: WorkRequestCountAggregateInputType | true
13426
+ _avg?: WorkRequestAvgAggregateInputType
13427
+ _sum?: WorkRequestSumAggregateInputType
13292
13428
  _min?: WorkRequestMinAggregateInputType
13293
13429
  _max?: WorkRequestMaxAggregateInputType
13294
13430
  }
@@ -13311,9 +13447,14 @@ export namespace Prisma {
13311
13447
  ifBusy: string
13312
13448
  cancelQueued: boolean
13313
13449
  status: string
13450
+ startAttemptCount: number
13451
+ lastStartError: string | null
13452
+ nextStartRetryAt: Date | null
13314
13453
  createdAt: Date
13315
13454
  updatedAt: Date
13316
13455
  _count: WorkRequestCountAggregateOutputType | null
13456
+ _avg: WorkRequestAvgAggregateOutputType | null
13457
+ _sum: WorkRequestSumAggregateOutputType | null
13317
13458
  _min: WorkRequestMinAggregateOutputType | null
13318
13459
  _max: WorkRequestMaxAggregateOutputType | null
13319
13460
  }
@@ -13350,6 +13491,9 @@ export namespace Prisma {
13350
13491
  ifBusy?: boolean
13351
13492
  cancelQueued?: boolean
13352
13493
  status?: boolean
13494
+ startAttemptCount?: boolean
13495
+ lastStartError?: boolean
13496
+ nextStartRetryAt?: boolean
13353
13497
  createdAt?: boolean
13354
13498
  updatedAt?: boolean
13355
13499
  teamRun?: boolean | TeamRunDefaultArgs<ExtArgs>
@@ -13373,6 +13517,9 @@ export namespace Prisma {
13373
13517
  ifBusy?: boolean
13374
13518
  cancelQueued?: boolean
13375
13519
  status?: boolean
13520
+ startAttemptCount?: boolean
13521
+ lastStartError?: boolean
13522
+ nextStartRetryAt?: boolean
13376
13523
  createdAt?: boolean
13377
13524
  updatedAt?: boolean
13378
13525
  teamRun?: boolean | TeamRunDefaultArgs<ExtArgs>
@@ -13396,6 +13543,9 @@ export namespace Prisma {
13396
13543
  ifBusy?: boolean
13397
13544
  cancelQueued?: boolean
13398
13545
  status?: boolean
13546
+ startAttemptCount?: boolean
13547
+ lastStartError?: boolean
13548
+ nextStartRetryAt?: boolean
13399
13549
  createdAt?: boolean
13400
13550
  updatedAt?: boolean
13401
13551
  }
@@ -13430,6 +13580,9 @@ export namespace Prisma {
13430
13580
  ifBusy: string
13431
13581
  cancelQueued: boolean
13432
13582
  status: string
13583
+ startAttemptCount: number
13584
+ lastStartError: string | null
13585
+ nextStartRetryAt: Date | null
13433
13586
  createdAt: Date
13434
13587
  updatedAt: Date
13435
13588
  }, ExtArgs["result"]["workRequest"]>
@@ -13843,6 +13996,9 @@ export namespace Prisma {
13843
13996
  readonly ifBusy: FieldRef<"WorkRequest", 'String'>
13844
13997
  readonly cancelQueued: FieldRef<"WorkRequest", 'Boolean'>
13845
13998
  readonly status: FieldRef<"WorkRequest", 'String'>
13999
+ readonly startAttemptCount: FieldRef<"WorkRequest", 'Int'>
14000
+ readonly lastStartError: FieldRef<"WorkRequest", 'String'>
14001
+ readonly nextStartRetryAt: FieldRef<"WorkRequest", 'DateTime'>
13846
14002
  readonly createdAt: FieldRef<"WorkRequest", 'DateTime'>
13847
14003
  readonly updatedAt: FieldRef<"WorkRequest", 'DateTime'>
13848
14004
  }
@@ -14224,6 +14380,8 @@ export namespace Prisma {
14224
14380
  status: string | null
14225
14381
  roomReplyReminderCount: number | null
14226
14382
  nextRoomReplyReminderAt: Date | null
14383
+ lastHeartbeatAt: Date | null
14384
+ firstNudgeAt: Date | null
14227
14385
  createdAt: Date | null
14228
14386
  updatedAt: Date | null
14229
14387
  }
@@ -14251,6 +14409,8 @@ export namespace Prisma {
14251
14409
  status: string | null
14252
14410
  roomReplyReminderCount: number | null
14253
14411
  nextRoomReplyReminderAt: Date | null
14412
+ lastHeartbeatAt: Date | null
14413
+ firstNudgeAt: Date | null
14254
14414
  createdAt: Date | null
14255
14415
  updatedAt: Date | null
14256
14416
  }
@@ -14278,6 +14438,8 @@ export namespace Prisma {
14278
14438
  status: number
14279
14439
  roomReplyReminderCount: number
14280
14440
  nextRoomReplyReminderAt: number
14441
+ lastHeartbeatAt: number
14442
+ firstNudgeAt: number
14281
14443
  createdAt: number
14282
14444
  updatedAt: number
14283
14445
  _all: number
@@ -14321,6 +14483,8 @@ export namespace Prisma {
14321
14483
  status?: true
14322
14484
  roomReplyReminderCount?: true
14323
14485
  nextRoomReplyReminderAt?: true
14486
+ lastHeartbeatAt?: true
14487
+ firstNudgeAt?: true
14324
14488
  createdAt?: true
14325
14489
  updatedAt?: true
14326
14490
  }
@@ -14348,6 +14512,8 @@ export namespace Prisma {
14348
14512
  status?: true
14349
14513
  roomReplyReminderCount?: true
14350
14514
  nextRoomReplyReminderAt?: true
14515
+ lastHeartbeatAt?: true
14516
+ firstNudgeAt?: true
14351
14517
  createdAt?: true
14352
14518
  updatedAt?: true
14353
14519
  }
@@ -14375,6 +14541,8 @@ export namespace Prisma {
14375
14541
  status?: true
14376
14542
  roomReplyReminderCount?: true
14377
14543
  nextRoomReplyReminderAt?: true
14544
+ lastHeartbeatAt?: true
14545
+ firstNudgeAt?: true
14378
14546
  createdAt?: true
14379
14547
  updatedAt?: true
14380
14548
  _all?: true
@@ -14489,6 +14657,8 @@ export namespace Prisma {
14489
14657
  status: string
14490
14658
  roomReplyReminderCount: number
14491
14659
  nextRoomReplyReminderAt: Date | null
14660
+ lastHeartbeatAt: Date | null
14661
+ firstNudgeAt: Date | null
14492
14662
  createdAt: Date
14493
14663
  updatedAt: Date
14494
14664
  _count: AgentInvocationCountAggregateOutputType | null
@@ -14535,6 +14705,8 @@ export namespace Prisma {
14535
14705
  status?: boolean
14536
14706
  roomReplyReminderCount?: boolean
14537
14707
  nextRoomReplyReminderAt?: boolean
14708
+ lastHeartbeatAt?: boolean
14709
+ firstNudgeAt?: boolean
14538
14710
  createdAt?: boolean
14539
14711
  updatedAt?: boolean
14540
14712
  teamRun?: boolean | TeamRunDefaultArgs<ExtArgs>
@@ -14563,6 +14735,8 @@ export namespace Prisma {
14563
14735
  status?: boolean
14564
14736
  roomReplyReminderCount?: boolean
14565
14737
  nextRoomReplyReminderAt?: boolean
14738
+ lastHeartbeatAt?: boolean
14739
+ firstNudgeAt?: boolean
14566
14740
  createdAt?: boolean
14567
14741
  updatedAt?: boolean
14568
14742
  teamRun?: boolean | TeamRunDefaultArgs<ExtArgs>
@@ -14591,6 +14765,8 @@ export namespace Prisma {
14591
14765
  status?: boolean
14592
14766
  roomReplyReminderCount?: boolean
14593
14767
  nextRoomReplyReminderAt?: boolean
14768
+ lastHeartbeatAt?: boolean
14769
+ firstNudgeAt?: boolean
14594
14770
  createdAt?: boolean
14595
14771
  updatedAt?: boolean
14596
14772
  }
@@ -14630,6 +14806,8 @@ export namespace Prisma {
14630
14806
  status: string
14631
14807
  roomReplyReminderCount: number
14632
14808
  nextRoomReplyReminderAt: Date | null
14809
+ lastHeartbeatAt: Date | null
14810
+ firstNudgeAt: Date | null
14633
14811
  createdAt: Date
14634
14812
  updatedAt: Date
14635
14813
  }, ExtArgs["result"]["agentInvocation"]>
@@ -15048,6 +15226,8 @@ export namespace Prisma {
15048
15226
  readonly status: FieldRef<"AgentInvocation", 'String'>
15049
15227
  readonly roomReplyReminderCount: FieldRef<"AgentInvocation", 'Int'>
15050
15228
  readonly nextRoomReplyReminderAt: FieldRef<"AgentInvocation", 'DateTime'>
15229
+ readonly lastHeartbeatAt: FieldRef<"AgentInvocation", 'DateTime'>
15230
+ readonly firstNudgeAt: FieldRef<"AgentInvocation", 'DateTime'>
15051
15231
  readonly createdAt: FieldRef<"AgentInvocation", 'DateTime'>
15052
15232
  readonly updatedAt: FieldRef<"AgentInvocation", 'DateTime'>
15053
15233
  }
@@ -23322,349 +23502,349 @@ export namespace Prisma {
23322
23502
 
23323
23503
 
23324
23504
  /**
23325
- * Model NotificationSettings
23505
+ * Model AccessAuthSettings
23326
23506
  */
23327
23507
 
23328
- export type AggregateNotificationSettings = {
23329
- _count: NotificationSettingsCountAggregateOutputType | null
23330
- _min: NotificationSettingsMinAggregateOutputType | null
23331
- _max: NotificationSettingsMaxAggregateOutputType | null
23508
+ export type AggregateAccessAuthSettings = {
23509
+ _count: AccessAuthSettingsCountAggregateOutputType | null
23510
+ _min: AccessAuthSettingsMinAggregateOutputType | null
23511
+ _max: AccessAuthSettingsMaxAggregateOutputType | null
23332
23512
  }
23333
23513
 
23334
- export type NotificationSettingsMinAggregateOutputType = {
23514
+ export type AccessAuthSettingsMinAggregateOutputType = {
23335
23515
  id: string | null
23336
- osNotificationEnabled: boolean | null
23337
- thirdPartyChannel: string | null
23338
- feishuWebhookUrl: string | null
23339
- thirdPartyBaseUrl: string | null
23340
- taskInReviewTitleTemplate: string | null
23341
- taskInReviewBodyTemplate: string | null
23516
+ enabled: boolean | null
23517
+ passwordHash: string | null
23518
+ sessionSecret: string | null
23519
+ passwordUpdatedAt: Date | null
23520
+ createdAt: Date | null
23521
+ updatedAt: Date | null
23342
23522
  }
23343
23523
 
23344
- export type NotificationSettingsMaxAggregateOutputType = {
23524
+ export type AccessAuthSettingsMaxAggregateOutputType = {
23345
23525
  id: string | null
23346
- osNotificationEnabled: boolean | null
23347
- thirdPartyChannel: string | null
23348
- feishuWebhookUrl: string | null
23349
- thirdPartyBaseUrl: string | null
23350
- taskInReviewTitleTemplate: string | null
23351
- taskInReviewBodyTemplate: string | null
23526
+ enabled: boolean | null
23527
+ passwordHash: string | null
23528
+ sessionSecret: string | null
23529
+ passwordUpdatedAt: Date | null
23530
+ createdAt: Date | null
23531
+ updatedAt: Date | null
23352
23532
  }
23353
23533
 
23354
- export type NotificationSettingsCountAggregateOutputType = {
23534
+ export type AccessAuthSettingsCountAggregateOutputType = {
23355
23535
  id: number
23356
- osNotificationEnabled: number
23357
- thirdPartyChannel: number
23358
- feishuWebhookUrl: number
23359
- thirdPartyBaseUrl: number
23360
- taskInReviewTitleTemplate: number
23361
- taskInReviewBodyTemplate: number
23536
+ enabled: number
23537
+ passwordHash: number
23538
+ sessionSecret: number
23539
+ passwordUpdatedAt: number
23540
+ createdAt: number
23541
+ updatedAt: number
23362
23542
  _all: number
23363
23543
  }
23364
23544
 
23365
23545
 
23366
- export type NotificationSettingsMinAggregateInputType = {
23546
+ export type AccessAuthSettingsMinAggregateInputType = {
23367
23547
  id?: true
23368
- osNotificationEnabled?: true
23369
- thirdPartyChannel?: true
23370
- feishuWebhookUrl?: true
23371
- thirdPartyBaseUrl?: true
23372
- taskInReviewTitleTemplate?: true
23373
- taskInReviewBodyTemplate?: true
23548
+ enabled?: true
23549
+ passwordHash?: true
23550
+ sessionSecret?: true
23551
+ passwordUpdatedAt?: true
23552
+ createdAt?: true
23553
+ updatedAt?: true
23374
23554
  }
23375
23555
 
23376
- export type NotificationSettingsMaxAggregateInputType = {
23556
+ export type AccessAuthSettingsMaxAggregateInputType = {
23377
23557
  id?: true
23378
- osNotificationEnabled?: true
23379
- thirdPartyChannel?: true
23380
- feishuWebhookUrl?: true
23381
- thirdPartyBaseUrl?: true
23382
- taskInReviewTitleTemplate?: true
23383
- taskInReviewBodyTemplate?: true
23558
+ enabled?: true
23559
+ passwordHash?: true
23560
+ sessionSecret?: true
23561
+ passwordUpdatedAt?: true
23562
+ createdAt?: true
23563
+ updatedAt?: true
23384
23564
  }
23385
23565
 
23386
- export type NotificationSettingsCountAggregateInputType = {
23566
+ export type AccessAuthSettingsCountAggregateInputType = {
23387
23567
  id?: true
23388
- osNotificationEnabled?: true
23389
- thirdPartyChannel?: true
23390
- feishuWebhookUrl?: true
23391
- thirdPartyBaseUrl?: true
23392
- taskInReviewTitleTemplate?: true
23393
- taskInReviewBodyTemplate?: true
23568
+ enabled?: true
23569
+ passwordHash?: true
23570
+ sessionSecret?: true
23571
+ passwordUpdatedAt?: true
23572
+ createdAt?: true
23573
+ updatedAt?: true
23394
23574
  _all?: true
23395
23575
  }
23396
23576
 
23397
- export type NotificationSettingsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23577
+ export type AccessAuthSettingsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23398
23578
  /**
23399
- * Filter which NotificationSettings to aggregate.
23579
+ * Filter which AccessAuthSettings to aggregate.
23400
23580
  */
23401
- where?: NotificationSettingsWhereInput
23581
+ where?: AccessAuthSettingsWhereInput
23402
23582
  /**
23403
23583
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
23404
23584
  *
23405
- * Determine the order of NotificationSettings to fetch.
23585
+ * Determine the order of AccessAuthSettings to fetch.
23406
23586
  */
23407
- orderBy?: NotificationSettingsOrderByWithRelationInput | NotificationSettingsOrderByWithRelationInput[]
23587
+ orderBy?: AccessAuthSettingsOrderByWithRelationInput | AccessAuthSettingsOrderByWithRelationInput[]
23408
23588
  /**
23409
23589
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
23410
23590
  *
23411
23591
  * Sets the start position
23412
23592
  */
23413
- cursor?: NotificationSettingsWhereUniqueInput
23593
+ cursor?: AccessAuthSettingsWhereUniqueInput
23414
23594
  /**
23415
23595
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
23416
23596
  *
23417
- * Take `±n` NotificationSettings from the position of the cursor.
23597
+ * Take `±n` AccessAuthSettings from the position of the cursor.
23418
23598
  */
23419
23599
  take?: number
23420
23600
  /**
23421
23601
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
23422
23602
  *
23423
- * Skip the first `n` NotificationSettings.
23603
+ * Skip the first `n` AccessAuthSettings.
23424
23604
  */
23425
23605
  skip?: number
23426
23606
  /**
23427
23607
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
23428
23608
  *
23429
- * Count returned NotificationSettings
23609
+ * Count returned AccessAuthSettings
23430
23610
  **/
23431
- _count?: true | NotificationSettingsCountAggregateInputType
23611
+ _count?: true | AccessAuthSettingsCountAggregateInputType
23432
23612
  /**
23433
23613
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
23434
23614
  *
23435
23615
  * Select which fields to find the minimum value
23436
23616
  **/
23437
- _min?: NotificationSettingsMinAggregateInputType
23617
+ _min?: AccessAuthSettingsMinAggregateInputType
23438
23618
  /**
23439
23619
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
23440
23620
  *
23441
23621
  * Select which fields to find the maximum value
23442
23622
  **/
23443
- _max?: NotificationSettingsMaxAggregateInputType
23623
+ _max?: AccessAuthSettingsMaxAggregateInputType
23444
23624
  }
23445
23625
 
23446
- export type GetNotificationSettingsAggregateType<T extends NotificationSettingsAggregateArgs> = {
23447
- [P in keyof T & keyof AggregateNotificationSettings]: P extends '_count' | 'count'
23626
+ export type GetAccessAuthSettingsAggregateType<T extends AccessAuthSettingsAggregateArgs> = {
23627
+ [P in keyof T & keyof AggregateAccessAuthSettings]: P extends '_count' | 'count'
23448
23628
  ? T[P] extends true
23449
23629
  ? number
23450
- : GetScalarType<T[P], AggregateNotificationSettings[P]>
23451
- : GetScalarType<T[P], AggregateNotificationSettings[P]>
23630
+ : GetScalarType<T[P], AggregateAccessAuthSettings[P]>
23631
+ : GetScalarType<T[P], AggregateAccessAuthSettings[P]>
23452
23632
  }
23453
23633
 
23454
23634
 
23455
23635
 
23456
23636
 
23457
- export type NotificationSettingsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23458
- where?: NotificationSettingsWhereInput
23459
- orderBy?: NotificationSettingsOrderByWithAggregationInput | NotificationSettingsOrderByWithAggregationInput[]
23460
- by: NotificationSettingsScalarFieldEnum[] | NotificationSettingsScalarFieldEnum
23461
- having?: NotificationSettingsScalarWhereWithAggregatesInput
23637
+ export type AccessAuthSettingsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23638
+ where?: AccessAuthSettingsWhereInput
23639
+ orderBy?: AccessAuthSettingsOrderByWithAggregationInput | AccessAuthSettingsOrderByWithAggregationInput[]
23640
+ by: AccessAuthSettingsScalarFieldEnum[] | AccessAuthSettingsScalarFieldEnum
23641
+ having?: AccessAuthSettingsScalarWhereWithAggregatesInput
23462
23642
  take?: number
23463
23643
  skip?: number
23464
- _count?: NotificationSettingsCountAggregateInputType | true
23465
- _min?: NotificationSettingsMinAggregateInputType
23466
- _max?: NotificationSettingsMaxAggregateInputType
23644
+ _count?: AccessAuthSettingsCountAggregateInputType | true
23645
+ _min?: AccessAuthSettingsMinAggregateInputType
23646
+ _max?: AccessAuthSettingsMaxAggregateInputType
23467
23647
  }
23468
23648
 
23469
- export type NotificationSettingsGroupByOutputType = {
23649
+ export type AccessAuthSettingsGroupByOutputType = {
23470
23650
  id: string
23471
- osNotificationEnabled: boolean
23472
- thirdPartyChannel: string
23473
- feishuWebhookUrl: string | null
23474
- thirdPartyBaseUrl: string | null
23475
- taskInReviewTitleTemplate: string
23476
- taskInReviewBodyTemplate: string
23477
- _count: NotificationSettingsCountAggregateOutputType | null
23478
- _min: NotificationSettingsMinAggregateOutputType | null
23479
- _max: NotificationSettingsMaxAggregateOutputType | null
23651
+ enabled: boolean
23652
+ passwordHash: string | null
23653
+ sessionSecret: string
23654
+ passwordUpdatedAt: Date | null
23655
+ createdAt: Date
23656
+ updatedAt: Date
23657
+ _count: AccessAuthSettingsCountAggregateOutputType | null
23658
+ _min: AccessAuthSettingsMinAggregateOutputType | null
23659
+ _max: AccessAuthSettingsMaxAggregateOutputType | null
23480
23660
  }
23481
23661
 
23482
- type GetNotificationSettingsGroupByPayload<T extends NotificationSettingsGroupByArgs> = Prisma.PrismaPromise<
23662
+ type GetAccessAuthSettingsGroupByPayload<T extends AccessAuthSettingsGroupByArgs> = Prisma.PrismaPromise<
23483
23663
  Array<
23484
- PickEnumerable<NotificationSettingsGroupByOutputType, T['by']> &
23664
+ PickEnumerable<AccessAuthSettingsGroupByOutputType, T['by']> &
23485
23665
  {
23486
- [P in ((keyof T) & (keyof NotificationSettingsGroupByOutputType))]: P extends '_count'
23666
+ [P in ((keyof T) & (keyof AccessAuthSettingsGroupByOutputType))]: P extends '_count'
23487
23667
  ? T[P] extends boolean
23488
23668
  ? number
23489
- : GetScalarType<T[P], NotificationSettingsGroupByOutputType[P]>
23490
- : GetScalarType<T[P], NotificationSettingsGroupByOutputType[P]>
23669
+ : GetScalarType<T[P], AccessAuthSettingsGroupByOutputType[P]>
23670
+ : GetScalarType<T[P], AccessAuthSettingsGroupByOutputType[P]>
23491
23671
  }
23492
23672
  >
23493
23673
  >
23494
23674
 
23495
23675
 
23496
- export type NotificationSettingsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
23676
+ export type AccessAuthSettingsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
23497
23677
  id?: boolean
23498
- osNotificationEnabled?: boolean
23499
- thirdPartyChannel?: boolean
23500
- feishuWebhookUrl?: boolean
23501
- thirdPartyBaseUrl?: boolean
23502
- taskInReviewTitleTemplate?: boolean
23503
- taskInReviewBodyTemplate?: boolean
23504
- }, ExtArgs["result"]["notificationSettings"]>
23678
+ enabled?: boolean
23679
+ passwordHash?: boolean
23680
+ sessionSecret?: boolean
23681
+ passwordUpdatedAt?: boolean
23682
+ createdAt?: boolean
23683
+ updatedAt?: boolean
23684
+ }, ExtArgs["result"]["accessAuthSettings"]>
23505
23685
 
23506
- export type NotificationSettingsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
23686
+ export type AccessAuthSettingsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
23507
23687
  id?: boolean
23508
- osNotificationEnabled?: boolean
23509
- thirdPartyChannel?: boolean
23510
- feishuWebhookUrl?: boolean
23511
- thirdPartyBaseUrl?: boolean
23512
- taskInReviewTitleTemplate?: boolean
23513
- taskInReviewBodyTemplate?: boolean
23514
- }, ExtArgs["result"]["notificationSettings"]>
23688
+ enabled?: boolean
23689
+ passwordHash?: boolean
23690
+ sessionSecret?: boolean
23691
+ passwordUpdatedAt?: boolean
23692
+ createdAt?: boolean
23693
+ updatedAt?: boolean
23694
+ }, ExtArgs["result"]["accessAuthSettings"]>
23515
23695
 
23516
- export type NotificationSettingsSelectScalar = {
23696
+ export type AccessAuthSettingsSelectScalar = {
23517
23697
  id?: boolean
23518
- osNotificationEnabled?: boolean
23519
- thirdPartyChannel?: boolean
23520
- feishuWebhookUrl?: boolean
23521
- thirdPartyBaseUrl?: boolean
23522
- taskInReviewTitleTemplate?: boolean
23523
- taskInReviewBodyTemplate?: boolean
23698
+ enabled?: boolean
23699
+ passwordHash?: boolean
23700
+ sessionSecret?: boolean
23701
+ passwordUpdatedAt?: boolean
23702
+ createdAt?: boolean
23703
+ updatedAt?: boolean
23524
23704
  }
23525
23705
 
23526
23706
 
23527
- export type $NotificationSettingsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23528
- name: "NotificationSettings"
23707
+ export type $AccessAuthSettingsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
23708
+ name: "AccessAuthSettings"
23529
23709
  objects: {}
23530
23710
  scalars: $Extensions.GetPayloadResult<{
23531
23711
  id: string
23532
- osNotificationEnabled: boolean
23533
- thirdPartyChannel: string
23534
- feishuWebhookUrl: string | null
23535
- thirdPartyBaseUrl: string | null
23536
- taskInReviewTitleTemplate: string
23537
- taskInReviewBodyTemplate: string
23538
- }, ExtArgs["result"]["notificationSettings"]>
23712
+ enabled: boolean
23713
+ passwordHash: string | null
23714
+ sessionSecret: string
23715
+ passwordUpdatedAt: Date | null
23716
+ createdAt: Date
23717
+ updatedAt: Date
23718
+ }, ExtArgs["result"]["accessAuthSettings"]>
23539
23719
  composites: {}
23540
23720
  }
23541
23721
 
23542
- type NotificationSettingsGetPayload<S extends boolean | null | undefined | NotificationSettingsDefaultArgs> = $Result.GetResult<Prisma.$NotificationSettingsPayload, S>
23722
+ type AccessAuthSettingsGetPayload<S extends boolean | null | undefined | AccessAuthSettingsDefaultArgs> = $Result.GetResult<Prisma.$AccessAuthSettingsPayload, S>
23543
23723
 
23544
- type NotificationSettingsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
23545
- Omit<NotificationSettingsFindManyArgs, 'select' | 'include' | 'distinct'> & {
23546
- select?: NotificationSettingsCountAggregateInputType | true
23724
+ type AccessAuthSettingsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
23725
+ Omit<AccessAuthSettingsFindManyArgs, 'select' | 'include' | 'distinct'> & {
23726
+ select?: AccessAuthSettingsCountAggregateInputType | true
23547
23727
  }
23548
23728
 
23549
- export interface NotificationSettingsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
23550
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['NotificationSettings'], meta: { name: 'NotificationSettings' } }
23729
+ export interface AccessAuthSettingsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
23730
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AccessAuthSettings'], meta: { name: 'AccessAuthSettings' } }
23551
23731
  /**
23552
- * Find zero or one NotificationSettings that matches the filter.
23553
- * @param {NotificationSettingsFindUniqueArgs} args - Arguments to find a NotificationSettings
23732
+ * Find zero or one AccessAuthSettings that matches the filter.
23733
+ * @param {AccessAuthSettingsFindUniqueArgs} args - Arguments to find a AccessAuthSettings
23554
23734
  * @example
23555
- * // Get one NotificationSettings
23556
- * const notificationSettings = await prisma.notificationSettings.findUnique({
23735
+ * // Get one AccessAuthSettings
23736
+ * const accessAuthSettings = await prisma.accessAuthSettings.findUnique({
23557
23737
  * where: {
23558
23738
  * // ... provide filter here
23559
23739
  * }
23560
23740
  * })
23561
23741
  */
23562
- findUnique<T extends NotificationSettingsFindUniqueArgs>(args: SelectSubset<T, NotificationSettingsFindUniqueArgs<ExtArgs>>): Prisma__NotificationSettingsClient<$Result.GetResult<Prisma.$NotificationSettingsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
23742
+ findUnique<T extends AccessAuthSettingsFindUniqueArgs>(args: SelectSubset<T, AccessAuthSettingsFindUniqueArgs<ExtArgs>>): Prisma__AccessAuthSettingsClient<$Result.GetResult<Prisma.$AccessAuthSettingsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
23563
23743
 
23564
23744
  /**
23565
- * Find one NotificationSettings that matches the filter or throw an error with `error.code='P2025'`
23745
+ * Find one AccessAuthSettings that matches the filter or throw an error with `error.code='P2025'`
23566
23746
  * if no matches were found.
23567
- * @param {NotificationSettingsFindUniqueOrThrowArgs} args - Arguments to find a NotificationSettings
23747
+ * @param {AccessAuthSettingsFindUniqueOrThrowArgs} args - Arguments to find a AccessAuthSettings
23568
23748
  * @example
23569
- * // Get one NotificationSettings
23570
- * const notificationSettings = await prisma.notificationSettings.findUniqueOrThrow({
23749
+ * // Get one AccessAuthSettings
23750
+ * const accessAuthSettings = await prisma.accessAuthSettings.findUniqueOrThrow({
23571
23751
  * where: {
23572
23752
  * // ... provide filter here
23573
23753
  * }
23574
23754
  * })
23575
23755
  */
23576
- findUniqueOrThrow<T extends NotificationSettingsFindUniqueOrThrowArgs>(args: SelectSubset<T, NotificationSettingsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__NotificationSettingsClient<$Result.GetResult<Prisma.$NotificationSettingsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
23756
+ findUniqueOrThrow<T extends AccessAuthSettingsFindUniqueOrThrowArgs>(args: SelectSubset<T, AccessAuthSettingsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__AccessAuthSettingsClient<$Result.GetResult<Prisma.$AccessAuthSettingsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
23577
23757
 
23578
23758
  /**
23579
- * Find the first NotificationSettings that matches the filter.
23759
+ * Find the first AccessAuthSettings that matches the filter.
23580
23760
  * Note, that providing `undefined` is treated as the value not being there.
23581
23761
  * Read more here: https://pris.ly/d/null-undefined
23582
- * @param {NotificationSettingsFindFirstArgs} args - Arguments to find a NotificationSettings
23762
+ * @param {AccessAuthSettingsFindFirstArgs} args - Arguments to find a AccessAuthSettings
23583
23763
  * @example
23584
- * // Get one NotificationSettings
23585
- * const notificationSettings = await prisma.notificationSettings.findFirst({
23764
+ * // Get one AccessAuthSettings
23765
+ * const accessAuthSettings = await prisma.accessAuthSettings.findFirst({
23586
23766
  * where: {
23587
23767
  * // ... provide filter here
23588
23768
  * }
23589
23769
  * })
23590
23770
  */
23591
- findFirst<T extends NotificationSettingsFindFirstArgs>(args?: SelectSubset<T, NotificationSettingsFindFirstArgs<ExtArgs>>): Prisma__NotificationSettingsClient<$Result.GetResult<Prisma.$NotificationSettingsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
23771
+ findFirst<T extends AccessAuthSettingsFindFirstArgs>(args?: SelectSubset<T, AccessAuthSettingsFindFirstArgs<ExtArgs>>): Prisma__AccessAuthSettingsClient<$Result.GetResult<Prisma.$AccessAuthSettingsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
23592
23772
 
23593
23773
  /**
23594
- * Find the first NotificationSettings that matches the filter or
23774
+ * Find the first AccessAuthSettings that matches the filter or
23595
23775
  * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
23596
23776
  * Note, that providing `undefined` is treated as the value not being there.
23597
23777
  * Read more here: https://pris.ly/d/null-undefined
23598
- * @param {NotificationSettingsFindFirstOrThrowArgs} args - Arguments to find a NotificationSettings
23778
+ * @param {AccessAuthSettingsFindFirstOrThrowArgs} args - Arguments to find a AccessAuthSettings
23599
23779
  * @example
23600
- * // Get one NotificationSettings
23601
- * const notificationSettings = await prisma.notificationSettings.findFirstOrThrow({
23780
+ * // Get one AccessAuthSettings
23781
+ * const accessAuthSettings = await prisma.accessAuthSettings.findFirstOrThrow({
23602
23782
  * where: {
23603
23783
  * // ... provide filter here
23604
23784
  * }
23605
23785
  * })
23606
23786
  */
23607
- findFirstOrThrow<T extends NotificationSettingsFindFirstOrThrowArgs>(args?: SelectSubset<T, NotificationSettingsFindFirstOrThrowArgs<ExtArgs>>): Prisma__NotificationSettingsClient<$Result.GetResult<Prisma.$NotificationSettingsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
23787
+ findFirstOrThrow<T extends AccessAuthSettingsFindFirstOrThrowArgs>(args?: SelectSubset<T, AccessAuthSettingsFindFirstOrThrowArgs<ExtArgs>>): Prisma__AccessAuthSettingsClient<$Result.GetResult<Prisma.$AccessAuthSettingsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
23608
23788
 
23609
23789
  /**
23610
- * Find zero or more NotificationSettings that matches the filter.
23790
+ * Find zero or more AccessAuthSettings that matches the filter.
23611
23791
  * Note, that providing `undefined` is treated as the value not being there.
23612
23792
  * Read more here: https://pris.ly/d/null-undefined
23613
- * @param {NotificationSettingsFindManyArgs} args - Arguments to filter and select certain fields only.
23793
+ * @param {AccessAuthSettingsFindManyArgs} args - Arguments to filter and select certain fields only.
23614
23794
  * @example
23615
- * // Get all NotificationSettings
23616
- * const notificationSettings = await prisma.notificationSettings.findMany()
23795
+ * // Get all AccessAuthSettings
23796
+ * const accessAuthSettings = await prisma.accessAuthSettings.findMany()
23617
23797
  *
23618
- * // Get first 10 NotificationSettings
23619
- * const notificationSettings = await prisma.notificationSettings.findMany({ take: 10 })
23798
+ * // Get first 10 AccessAuthSettings
23799
+ * const accessAuthSettings = await prisma.accessAuthSettings.findMany({ take: 10 })
23620
23800
  *
23621
23801
  * // Only select the `id`
23622
- * const notificationSettingsWithIdOnly = await prisma.notificationSettings.findMany({ select: { id: true } })
23802
+ * const accessAuthSettingsWithIdOnly = await prisma.accessAuthSettings.findMany({ select: { id: true } })
23623
23803
  *
23624
23804
  */
23625
- findMany<T extends NotificationSettingsFindManyArgs>(args?: SelectSubset<T, NotificationSettingsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationSettingsPayload<ExtArgs>, T, "findMany">>
23805
+ findMany<T extends AccessAuthSettingsFindManyArgs>(args?: SelectSubset<T, AccessAuthSettingsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AccessAuthSettingsPayload<ExtArgs>, T, "findMany">>
23626
23806
 
23627
23807
  /**
23628
- * Create a NotificationSettings.
23629
- * @param {NotificationSettingsCreateArgs} args - Arguments to create a NotificationSettings.
23808
+ * Create a AccessAuthSettings.
23809
+ * @param {AccessAuthSettingsCreateArgs} args - Arguments to create a AccessAuthSettings.
23630
23810
  * @example
23631
- * // Create one NotificationSettings
23632
- * const NotificationSettings = await prisma.notificationSettings.create({
23811
+ * // Create one AccessAuthSettings
23812
+ * const AccessAuthSettings = await prisma.accessAuthSettings.create({
23633
23813
  * data: {
23634
- * // ... data to create a NotificationSettings
23814
+ * // ... data to create a AccessAuthSettings
23635
23815
  * }
23636
23816
  * })
23637
23817
  *
23638
23818
  */
23639
- create<T extends NotificationSettingsCreateArgs>(args: SelectSubset<T, NotificationSettingsCreateArgs<ExtArgs>>): Prisma__NotificationSettingsClient<$Result.GetResult<Prisma.$NotificationSettingsPayload<ExtArgs>, T, "create">, never, ExtArgs>
23819
+ create<T extends AccessAuthSettingsCreateArgs>(args: SelectSubset<T, AccessAuthSettingsCreateArgs<ExtArgs>>): Prisma__AccessAuthSettingsClient<$Result.GetResult<Prisma.$AccessAuthSettingsPayload<ExtArgs>, T, "create">, never, ExtArgs>
23640
23820
 
23641
23821
  /**
23642
- * Create many NotificationSettings.
23643
- * @param {NotificationSettingsCreateManyArgs} args - Arguments to create many NotificationSettings.
23822
+ * Create many AccessAuthSettings.
23823
+ * @param {AccessAuthSettingsCreateManyArgs} args - Arguments to create many AccessAuthSettings.
23644
23824
  * @example
23645
- * // Create many NotificationSettings
23646
- * const notificationSettings = await prisma.notificationSettings.createMany({
23825
+ * // Create many AccessAuthSettings
23826
+ * const accessAuthSettings = await prisma.accessAuthSettings.createMany({
23647
23827
  * data: [
23648
23828
  * // ... provide data here
23649
23829
  * ]
23650
23830
  * })
23651
23831
  *
23652
23832
  */
23653
- createMany<T extends NotificationSettingsCreateManyArgs>(args?: SelectSubset<T, NotificationSettingsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
23833
+ createMany<T extends AccessAuthSettingsCreateManyArgs>(args?: SelectSubset<T, AccessAuthSettingsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
23654
23834
 
23655
23835
  /**
23656
- * Create many NotificationSettings and returns the data saved in the database.
23657
- * @param {NotificationSettingsCreateManyAndReturnArgs} args - Arguments to create many NotificationSettings.
23836
+ * Create many AccessAuthSettings and returns the data saved in the database.
23837
+ * @param {AccessAuthSettingsCreateManyAndReturnArgs} args - Arguments to create many AccessAuthSettings.
23658
23838
  * @example
23659
- * // Create many NotificationSettings
23660
- * const notificationSettings = await prisma.notificationSettings.createManyAndReturn({
23839
+ * // Create many AccessAuthSettings
23840
+ * const accessAuthSettings = await prisma.accessAuthSettings.createManyAndReturn({
23661
23841
  * data: [
23662
23842
  * // ... provide data here
23663
23843
  * ]
23664
23844
  * })
23665
23845
  *
23666
- * // Create many NotificationSettings and only return the `id`
23667
- * const notificationSettingsWithIdOnly = await prisma.notificationSettings.createManyAndReturn({
23846
+ * // Create many AccessAuthSettings and only return the `id`
23847
+ * const accessAuthSettingsWithIdOnly = await prisma.accessAuthSettings.createManyAndReturn({
23668
23848
  * select: { id: true },
23669
23849
  * data: [
23670
23850
  * // ... provide data here
@@ -23674,28 +23854,28 @@ export namespace Prisma {
23674
23854
  * Read more here: https://pris.ly/d/null-undefined
23675
23855
  *
23676
23856
  */
23677
- createManyAndReturn<T extends NotificationSettingsCreateManyAndReturnArgs>(args?: SelectSubset<T, NotificationSettingsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationSettingsPayload<ExtArgs>, T, "createManyAndReturn">>
23857
+ createManyAndReturn<T extends AccessAuthSettingsCreateManyAndReturnArgs>(args?: SelectSubset<T, AccessAuthSettingsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AccessAuthSettingsPayload<ExtArgs>, T, "createManyAndReturn">>
23678
23858
 
23679
23859
  /**
23680
- * Delete a NotificationSettings.
23681
- * @param {NotificationSettingsDeleteArgs} args - Arguments to delete one NotificationSettings.
23860
+ * Delete a AccessAuthSettings.
23861
+ * @param {AccessAuthSettingsDeleteArgs} args - Arguments to delete one AccessAuthSettings.
23682
23862
  * @example
23683
- * // Delete one NotificationSettings
23684
- * const NotificationSettings = await prisma.notificationSettings.delete({
23863
+ * // Delete one AccessAuthSettings
23864
+ * const AccessAuthSettings = await prisma.accessAuthSettings.delete({
23685
23865
  * where: {
23686
- * // ... filter to delete one NotificationSettings
23866
+ * // ... filter to delete one AccessAuthSettings
23687
23867
  * }
23688
23868
  * })
23689
23869
  *
23690
23870
  */
23691
- delete<T extends NotificationSettingsDeleteArgs>(args: SelectSubset<T, NotificationSettingsDeleteArgs<ExtArgs>>): Prisma__NotificationSettingsClient<$Result.GetResult<Prisma.$NotificationSettingsPayload<ExtArgs>, T, "delete">, never, ExtArgs>
23871
+ delete<T extends AccessAuthSettingsDeleteArgs>(args: SelectSubset<T, AccessAuthSettingsDeleteArgs<ExtArgs>>): Prisma__AccessAuthSettingsClient<$Result.GetResult<Prisma.$AccessAuthSettingsPayload<ExtArgs>, T, "delete">, never, ExtArgs>
23692
23872
 
23693
23873
  /**
23694
- * Update one NotificationSettings.
23695
- * @param {NotificationSettingsUpdateArgs} args - Arguments to update one NotificationSettings.
23874
+ * Update one AccessAuthSettings.
23875
+ * @param {AccessAuthSettingsUpdateArgs} args - Arguments to update one AccessAuthSettings.
23696
23876
  * @example
23697
- * // Update one NotificationSettings
23698
- * const notificationSettings = await prisma.notificationSettings.update({
23877
+ * // Update one AccessAuthSettings
23878
+ * const accessAuthSettings = await prisma.accessAuthSettings.update({
23699
23879
  * where: {
23700
23880
  * // ... provide filter here
23701
23881
  * },
@@ -23705,30 +23885,30 @@ export namespace Prisma {
23705
23885
  * })
23706
23886
  *
23707
23887
  */
23708
- update<T extends NotificationSettingsUpdateArgs>(args: SelectSubset<T, NotificationSettingsUpdateArgs<ExtArgs>>): Prisma__NotificationSettingsClient<$Result.GetResult<Prisma.$NotificationSettingsPayload<ExtArgs>, T, "update">, never, ExtArgs>
23888
+ update<T extends AccessAuthSettingsUpdateArgs>(args: SelectSubset<T, AccessAuthSettingsUpdateArgs<ExtArgs>>): Prisma__AccessAuthSettingsClient<$Result.GetResult<Prisma.$AccessAuthSettingsPayload<ExtArgs>, T, "update">, never, ExtArgs>
23709
23889
 
23710
23890
  /**
23711
- * Delete zero or more NotificationSettings.
23712
- * @param {NotificationSettingsDeleteManyArgs} args - Arguments to filter NotificationSettings to delete.
23891
+ * Delete zero or more AccessAuthSettings.
23892
+ * @param {AccessAuthSettingsDeleteManyArgs} args - Arguments to filter AccessAuthSettings to delete.
23713
23893
  * @example
23714
- * // Delete a few NotificationSettings
23715
- * const { count } = await prisma.notificationSettings.deleteMany({
23894
+ * // Delete a few AccessAuthSettings
23895
+ * const { count } = await prisma.accessAuthSettings.deleteMany({
23716
23896
  * where: {
23717
23897
  * // ... provide filter here
23718
23898
  * }
23719
23899
  * })
23720
23900
  *
23721
23901
  */
23722
- deleteMany<T extends NotificationSettingsDeleteManyArgs>(args?: SelectSubset<T, NotificationSettingsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
23902
+ deleteMany<T extends AccessAuthSettingsDeleteManyArgs>(args?: SelectSubset<T, AccessAuthSettingsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
23723
23903
 
23724
23904
  /**
23725
- * Update zero or more NotificationSettings.
23905
+ * Update zero or more AccessAuthSettings.
23726
23906
  * Note, that providing `undefined` is treated as the value not being there.
23727
23907
  * Read more here: https://pris.ly/d/null-undefined
23728
- * @param {NotificationSettingsUpdateManyArgs} args - Arguments to update one or more rows.
23908
+ * @param {AccessAuthSettingsUpdateManyArgs} args - Arguments to update one or more rows.
23729
23909
  * @example
23730
- * // Update many NotificationSettings
23731
- * const notificationSettings = await prisma.notificationSettings.updateMany({
23910
+ * // Update many AccessAuthSettings
23911
+ * const accessAuthSettings = await prisma.accessAuthSettings.updateMany({
23732
23912
  * where: {
23733
23913
  * // ... provide filter here
23734
23914
  * },
@@ -23738,56 +23918,56 @@ export namespace Prisma {
23738
23918
  * })
23739
23919
  *
23740
23920
  */
23741
- updateMany<T extends NotificationSettingsUpdateManyArgs>(args: SelectSubset<T, NotificationSettingsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
23921
+ updateMany<T extends AccessAuthSettingsUpdateManyArgs>(args: SelectSubset<T, AccessAuthSettingsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
23742
23922
 
23743
23923
  /**
23744
- * Create or update one NotificationSettings.
23745
- * @param {NotificationSettingsUpsertArgs} args - Arguments to update or create a NotificationSettings.
23924
+ * Create or update one AccessAuthSettings.
23925
+ * @param {AccessAuthSettingsUpsertArgs} args - Arguments to update or create a AccessAuthSettings.
23746
23926
  * @example
23747
- * // Update or create a NotificationSettings
23748
- * const notificationSettings = await prisma.notificationSettings.upsert({
23927
+ * // Update or create a AccessAuthSettings
23928
+ * const accessAuthSettings = await prisma.accessAuthSettings.upsert({
23749
23929
  * create: {
23750
- * // ... data to create a NotificationSettings
23930
+ * // ... data to create a AccessAuthSettings
23751
23931
  * },
23752
23932
  * update: {
23753
23933
  * // ... in case it already exists, update
23754
23934
  * },
23755
23935
  * where: {
23756
- * // ... the filter for the NotificationSettings we want to update
23936
+ * // ... the filter for the AccessAuthSettings we want to update
23757
23937
  * }
23758
23938
  * })
23759
23939
  */
23760
- upsert<T extends NotificationSettingsUpsertArgs>(args: SelectSubset<T, NotificationSettingsUpsertArgs<ExtArgs>>): Prisma__NotificationSettingsClient<$Result.GetResult<Prisma.$NotificationSettingsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>
23940
+ upsert<T extends AccessAuthSettingsUpsertArgs>(args: SelectSubset<T, AccessAuthSettingsUpsertArgs<ExtArgs>>): Prisma__AccessAuthSettingsClient<$Result.GetResult<Prisma.$AccessAuthSettingsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>
23761
23941
 
23762
23942
 
23763
23943
  /**
23764
- * Count the number of NotificationSettings.
23944
+ * Count the number of AccessAuthSettings.
23765
23945
  * Note, that providing `undefined` is treated as the value not being there.
23766
23946
  * Read more here: https://pris.ly/d/null-undefined
23767
- * @param {NotificationSettingsCountArgs} args - Arguments to filter NotificationSettings to count.
23947
+ * @param {AccessAuthSettingsCountArgs} args - Arguments to filter AccessAuthSettings to count.
23768
23948
  * @example
23769
- * // Count the number of NotificationSettings
23770
- * const count = await prisma.notificationSettings.count({
23949
+ * // Count the number of AccessAuthSettings
23950
+ * const count = await prisma.accessAuthSettings.count({
23771
23951
  * where: {
23772
- * // ... the filter for the NotificationSettings we want to count
23952
+ * // ... the filter for the AccessAuthSettings we want to count
23773
23953
  * }
23774
23954
  * })
23775
23955
  **/
23776
- count<T extends NotificationSettingsCountArgs>(
23777
- args?: Subset<T, NotificationSettingsCountArgs>,
23956
+ count<T extends AccessAuthSettingsCountArgs>(
23957
+ args?: Subset<T, AccessAuthSettingsCountArgs>,
23778
23958
  ): Prisma.PrismaPromise<
23779
23959
  T extends $Utils.Record<'select', any>
23780
23960
  ? T['select'] extends true
23781
23961
  ? number
23782
- : GetScalarType<T['select'], NotificationSettingsCountAggregateOutputType>
23962
+ : GetScalarType<T['select'], AccessAuthSettingsCountAggregateOutputType>
23783
23963
  : number
23784
23964
  >
23785
23965
 
23786
23966
  /**
23787
- * Allows you to perform aggregations operations on a NotificationSettings.
23967
+ * Allows you to perform aggregations operations on a AccessAuthSettings.
23788
23968
  * Note, that providing `undefined` is treated as the value not being there.
23789
23969
  * Read more here: https://pris.ly/d/null-undefined
23790
- * @param {NotificationSettingsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
23970
+ * @param {AccessAuthSettingsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
23791
23971
  * @example
23792
23972
  * // Ordered by age ascending
23793
23973
  * // Where email contains prisma.io
@@ -23807,13 +23987,13 @@ export namespace Prisma {
23807
23987
  * take: 10,
23808
23988
  * })
23809
23989
  **/
23810
- aggregate<T extends NotificationSettingsAggregateArgs>(args: Subset<T, NotificationSettingsAggregateArgs>): Prisma.PrismaPromise<GetNotificationSettingsAggregateType<T>>
23990
+ aggregate<T extends AccessAuthSettingsAggregateArgs>(args: Subset<T, AccessAuthSettingsAggregateArgs>): Prisma.PrismaPromise<GetAccessAuthSettingsAggregateType<T>>
23811
23991
 
23812
23992
  /**
23813
- * Group by NotificationSettings.
23993
+ * Group by AccessAuthSettings.
23814
23994
  * Note, that providing `undefined` is treated as the value not being there.
23815
23995
  * Read more here: https://pris.ly/d/null-undefined
23816
- * @param {NotificationSettingsGroupByArgs} args - Group by arguments.
23996
+ * @param {AccessAuthSettingsGroupByArgs} args - Group by arguments.
23817
23997
  * @example
23818
23998
  * // Group by city, order by createdAt, get count
23819
23999
  * const result = await prisma.user.groupBy({
@@ -23828,14 +24008,914 @@ export namespace Prisma {
23828
24008
  *
23829
24009
  **/
23830
24010
  groupBy<
23831
- T extends NotificationSettingsGroupByArgs,
24011
+ T extends AccessAuthSettingsGroupByArgs,
23832
24012
  HasSelectOrTake extends Or<
23833
24013
  Extends<'skip', Keys<T>>,
23834
24014
  Extends<'take', Keys<T>>
23835
24015
  >,
23836
24016
  OrderByArg extends True extends HasSelectOrTake
23837
- ? { orderBy: NotificationSettingsGroupByArgs['orderBy'] }
23838
- : { orderBy?: NotificationSettingsGroupByArgs['orderBy'] },
24017
+ ? { orderBy: AccessAuthSettingsGroupByArgs['orderBy'] }
24018
+ : { orderBy?: AccessAuthSettingsGroupByArgs['orderBy'] },
24019
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
24020
+ ByFields extends MaybeTupleToUnion<T['by']>,
24021
+ ByValid extends Has<ByFields, OrderFields>,
24022
+ HavingFields extends GetHavingFields<T['having']>,
24023
+ HavingValid extends Has<ByFields, HavingFields>,
24024
+ ByEmpty extends T['by'] extends never[] ? True : False,
24025
+ InputErrors extends ByEmpty extends True
24026
+ ? `Error: "by" must not be empty.`
24027
+ : HavingValid extends False
24028
+ ? {
24029
+ [P in HavingFields]: P extends ByFields
24030
+ ? never
24031
+ : P extends string
24032
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
24033
+ : [
24034
+ Error,
24035
+ 'Field ',
24036
+ P,
24037
+ ` in "having" needs to be provided in "by"`,
24038
+ ]
24039
+ }[HavingFields]
24040
+ : 'take' extends Keys<T>
24041
+ ? 'orderBy' extends Keys<T>
24042
+ ? ByValid extends True
24043
+ ? {}
24044
+ : {
24045
+ [P in OrderFields]: P extends ByFields
24046
+ ? never
24047
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
24048
+ }[OrderFields]
24049
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
24050
+ : 'skip' extends Keys<T>
24051
+ ? 'orderBy' extends Keys<T>
24052
+ ? ByValid extends True
24053
+ ? {}
24054
+ : {
24055
+ [P in OrderFields]: P extends ByFields
24056
+ ? never
24057
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
24058
+ }[OrderFields]
24059
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
24060
+ : ByValid extends True
24061
+ ? {}
24062
+ : {
24063
+ [P in OrderFields]: P extends ByFields
24064
+ ? never
24065
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
24066
+ }[OrderFields]
24067
+ >(args: SubsetIntersection<T, AccessAuthSettingsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAccessAuthSettingsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
24068
+ /**
24069
+ * Fields of the AccessAuthSettings model
24070
+ */
24071
+ readonly fields: AccessAuthSettingsFieldRefs;
24072
+ }
24073
+
24074
+ /**
24075
+ * The delegate class that acts as a "Promise-like" for AccessAuthSettings.
24076
+ * Why is this prefixed with `Prisma__`?
24077
+ * Because we want to prevent naming conflicts as mentioned in
24078
+ * https://github.com/prisma/prisma-client-js/issues/707
24079
+ */
24080
+ export interface Prisma__AccessAuthSettingsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
24081
+ readonly [Symbol.toStringTag]: "PrismaPromise"
24082
+ /**
24083
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
24084
+ * @param onfulfilled The callback to execute when the Promise is resolved.
24085
+ * @param onrejected The callback to execute when the Promise is rejected.
24086
+ * @returns A Promise for the completion of which ever callback is executed.
24087
+ */
24088
+ 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>
24089
+ /**
24090
+ * Attaches a callback for only the rejection of the Promise.
24091
+ * @param onrejected The callback to execute when the Promise is rejected.
24092
+ * @returns A Promise for the completion of the callback.
24093
+ */
24094
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
24095
+ /**
24096
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
24097
+ * resolved value cannot be modified from the callback.
24098
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
24099
+ * @returns A Promise for the completion of the callback.
24100
+ */
24101
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
24102
+ }
24103
+
24104
+
24105
+
24106
+
24107
+ /**
24108
+ * Fields of the AccessAuthSettings model
24109
+ */
24110
+ interface AccessAuthSettingsFieldRefs {
24111
+ readonly id: FieldRef<"AccessAuthSettings", 'String'>
24112
+ readonly enabled: FieldRef<"AccessAuthSettings", 'Boolean'>
24113
+ readonly passwordHash: FieldRef<"AccessAuthSettings", 'String'>
24114
+ readonly sessionSecret: FieldRef<"AccessAuthSettings", 'String'>
24115
+ readonly passwordUpdatedAt: FieldRef<"AccessAuthSettings", 'DateTime'>
24116
+ readonly createdAt: FieldRef<"AccessAuthSettings", 'DateTime'>
24117
+ readonly updatedAt: FieldRef<"AccessAuthSettings", 'DateTime'>
24118
+ }
24119
+
24120
+
24121
+ // Custom InputTypes
24122
+ /**
24123
+ * AccessAuthSettings findUnique
24124
+ */
24125
+ export type AccessAuthSettingsFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24126
+ /**
24127
+ * Select specific fields to fetch from the AccessAuthSettings
24128
+ */
24129
+ select?: AccessAuthSettingsSelect<ExtArgs> | null
24130
+ /**
24131
+ * Filter, which AccessAuthSettings to fetch.
24132
+ */
24133
+ where: AccessAuthSettingsWhereUniqueInput
24134
+ }
24135
+
24136
+ /**
24137
+ * AccessAuthSettings findUniqueOrThrow
24138
+ */
24139
+ export type AccessAuthSettingsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24140
+ /**
24141
+ * Select specific fields to fetch from the AccessAuthSettings
24142
+ */
24143
+ select?: AccessAuthSettingsSelect<ExtArgs> | null
24144
+ /**
24145
+ * Filter, which AccessAuthSettings to fetch.
24146
+ */
24147
+ where: AccessAuthSettingsWhereUniqueInput
24148
+ }
24149
+
24150
+ /**
24151
+ * AccessAuthSettings findFirst
24152
+ */
24153
+ export type AccessAuthSettingsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24154
+ /**
24155
+ * Select specific fields to fetch from the AccessAuthSettings
24156
+ */
24157
+ select?: AccessAuthSettingsSelect<ExtArgs> | null
24158
+ /**
24159
+ * Filter, which AccessAuthSettings to fetch.
24160
+ */
24161
+ where?: AccessAuthSettingsWhereInput
24162
+ /**
24163
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
24164
+ *
24165
+ * Determine the order of AccessAuthSettings to fetch.
24166
+ */
24167
+ orderBy?: AccessAuthSettingsOrderByWithRelationInput | AccessAuthSettingsOrderByWithRelationInput[]
24168
+ /**
24169
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
24170
+ *
24171
+ * Sets the position for searching for AccessAuthSettings.
24172
+ */
24173
+ cursor?: AccessAuthSettingsWhereUniqueInput
24174
+ /**
24175
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
24176
+ *
24177
+ * Take `±n` AccessAuthSettings from the position of the cursor.
24178
+ */
24179
+ take?: number
24180
+ /**
24181
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
24182
+ *
24183
+ * Skip the first `n` AccessAuthSettings.
24184
+ */
24185
+ skip?: number
24186
+ /**
24187
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
24188
+ *
24189
+ * Filter by unique combinations of AccessAuthSettings.
24190
+ */
24191
+ distinct?: AccessAuthSettingsScalarFieldEnum | AccessAuthSettingsScalarFieldEnum[]
24192
+ }
24193
+
24194
+ /**
24195
+ * AccessAuthSettings findFirstOrThrow
24196
+ */
24197
+ export type AccessAuthSettingsFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24198
+ /**
24199
+ * Select specific fields to fetch from the AccessAuthSettings
24200
+ */
24201
+ select?: AccessAuthSettingsSelect<ExtArgs> | null
24202
+ /**
24203
+ * Filter, which AccessAuthSettings to fetch.
24204
+ */
24205
+ where?: AccessAuthSettingsWhereInput
24206
+ /**
24207
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
24208
+ *
24209
+ * Determine the order of AccessAuthSettings to fetch.
24210
+ */
24211
+ orderBy?: AccessAuthSettingsOrderByWithRelationInput | AccessAuthSettingsOrderByWithRelationInput[]
24212
+ /**
24213
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
24214
+ *
24215
+ * Sets the position for searching for AccessAuthSettings.
24216
+ */
24217
+ cursor?: AccessAuthSettingsWhereUniqueInput
24218
+ /**
24219
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
24220
+ *
24221
+ * Take `±n` AccessAuthSettings from the position of the cursor.
24222
+ */
24223
+ take?: number
24224
+ /**
24225
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
24226
+ *
24227
+ * Skip the first `n` AccessAuthSettings.
24228
+ */
24229
+ skip?: number
24230
+ /**
24231
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
24232
+ *
24233
+ * Filter by unique combinations of AccessAuthSettings.
24234
+ */
24235
+ distinct?: AccessAuthSettingsScalarFieldEnum | AccessAuthSettingsScalarFieldEnum[]
24236
+ }
24237
+
24238
+ /**
24239
+ * AccessAuthSettings findMany
24240
+ */
24241
+ export type AccessAuthSettingsFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24242
+ /**
24243
+ * Select specific fields to fetch from the AccessAuthSettings
24244
+ */
24245
+ select?: AccessAuthSettingsSelect<ExtArgs> | null
24246
+ /**
24247
+ * Filter, which AccessAuthSettings to fetch.
24248
+ */
24249
+ where?: AccessAuthSettingsWhereInput
24250
+ /**
24251
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
24252
+ *
24253
+ * Determine the order of AccessAuthSettings to fetch.
24254
+ */
24255
+ orderBy?: AccessAuthSettingsOrderByWithRelationInput | AccessAuthSettingsOrderByWithRelationInput[]
24256
+ /**
24257
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
24258
+ *
24259
+ * Sets the position for listing AccessAuthSettings.
24260
+ */
24261
+ cursor?: AccessAuthSettingsWhereUniqueInput
24262
+ /**
24263
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
24264
+ *
24265
+ * Take `±n` AccessAuthSettings from the position of the cursor.
24266
+ */
24267
+ take?: number
24268
+ /**
24269
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
24270
+ *
24271
+ * Skip the first `n` AccessAuthSettings.
24272
+ */
24273
+ skip?: number
24274
+ distinct?: AccessAuthSettingsScalarFieldEnum | AccessAuthSettingsScalarFieldEnum[]
24275
+ }
24276
+
24277
+ /**
24278
+ * AccessAuthSettings create
24279
+ */
24280
+ export type AccessAuthSettingsCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24281
+ /**
24282
+ * Select specific fields to fetch from the AccessAuthSettings
24283
+ */
24284
+ select?: AccessAuthSettingsSelect<ExtArgs> | null
24285
+ /**
24286
+ * The data needed to create a AccessAuthSettings.
24287
+ */
24288
+ data: XOR<AccessAuthSettingsCreateInput, AccessAuthSettingsUncheckedCreateInput>
24289
+ }
24290
+
24291
+ /**
24292
+ * AccessAuthSettings createMany
24293
+ */
24294
+ export type AccessAuthSettingsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24295
+ /**
24296
+ * The data used to create many AccessAuthSettings.
24297
+ */
24298
+ data: AccessAuthSettingsCreateManyInput | AccessAuthSettingsCreateManyInput[]
24299
+ }
24300
+
24301
+ /**
24302
+ * AccessAuthSettings createManyAndReturn
24303
+ */
24304
+ export type AccessAuthSettingsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24305
+ /**
24306
+ * Select specific fields to fetch from the AccessAuthSettings
24307
+ */
24308
+ select?: AccessAuthSettingsSelectCreateManyAndReturn<ExtArgs> | null
24309
+ /**
24310
+ * The data used to create many AccessAuthSettings.
24311
+ */
24312
+ data: AccessAuthSettingsCreateManyInput | AccessAuthSettingsCreateManyInput[]
24313
+ }
24314
+
24315
+ /**
24316
+ * AccessAuthSettings update
24317
+ */
24318
+ export type AccessAuthSettingsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24319
+ /**
24320
+ * Select specific fields to fetch from the AccessAuthSettings
24321
+ */
24322
+ select?: AccessAuthSettingsSelect<ExtArgs> | null
24323
+ /**
24324
+ * The data needed to update a AccessAuthSettings.
24325
+ */
24326
+ data: XOR<AccessAuthSettingsUpdateInput, AccessAuthSettingsUncheckedUpdateInput>
24327
+ /**
24328
+ * Choose, which AccessAuthSettings to update.
24329
+ */
24330
+ where: AccessAuthSettingsWhereUniqueInput
24331
+ }
24332
+
24333
+ /**
24334
+ * AccessAuthSettings updateMany
24335
+ */
24336
+ export type AccessAuthSettingsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24337
+ /**
24338
+ * The data used to update AccessAuthSettings.
24339
+ */
24340
+ data: XOR<AccessAuthSettingsUpdateManyMutationInput, AccessAuthSettingsUncheckedUpdateManyInput>
24341
+ /**
24342
+ * Filter which AccessAuthSettings to update
24343
+ */
24344
+ where?: AccessAuthSettingsWhereInput
24345
+ }
24346
+
24347
+ /**
24348
+ * AccessAuthSettings upsert
24349
+ */
24350
+ export type AccessAuthSettingsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24351
+ /**
24352
+ * Select specific fields to fetch from the AccessAuthSettings
24353
+ */
24354
+ select?: AccessAuthSettingsSelect<ExtArgs> | null
24355
+ /**
24356
+ * The filter to search for the AccessAuthSettings to update in case it exists.
24357
+ */
24358
+ where: AccessAuthSettingsWhereUniqueInput
24359
+ /**
24360
+ * In case the AccessAuthSettings found by the `where` argument doesn't exist, create a new AccessAuthSettings with this data.
24361
+ */
24362
+ create: XOR<AccessAuthSettingsCreateInput, AccessAuthSettingsUncheckedCreateInput>
24363
+ /**
24364
+ * In case the AccessAuthSettings was found with the provided `where` argument, update it with this data.
24365
+ */
24366
+ update: XOR<AccessAuthSettingsUpdateInput, AccessAuthSettingsUncheckedUpdateInput>
24367
+ }
24368
+
24369
+ /**
24370
+ * AccessAuthSettings delete
24371
+ */
24372
+ export type AccessAuthSettingsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24373
+ /**
24374
+ * Select specific fields to fetch from the AccessAuthSettings
24375
+ */
24376
+ select?: AccessAuthSettingsSelect<ExtArgs> | null
24377
+ /**
24378
+ * Filter which AccessAuthSettings to delete.
24379
+ */
24380
+ where: AccessAuthSettingsWhereUniqueInput
24381
+ }
24382
+
24383
+ /**
24384
+ * AccessAuthSettings deleteMany
24385
+ */
24386
+ export type AccessAuthSettingsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24387
+ /**
24388
+ * Filter which AccessAuthSettings to delete
24389
+ */
24390
+ where?: AccessAuthSettingsWhereInput
24391
+ }
24392
+
24393
+ /**
24394
+ * AccessAuthSettings without action
24395
+ */
24396
+ export type AccessAuthSettingsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24397
+ /**
24398
+ * Select specific fields to fetch from the AccessAuthSettings
24399
+ */
24400
+ select?: AccessAuthSettingsSelect<ExtArgs> | null
24401
+ }
24402
+
24403
+
24404
+ /**
24405
+ * Model NotificationSettings
24406
+ */
24407
+
24408
+ export type AggregateNotificationSettings = {
24409
+ _count: NotificationSettingsCountAggregateOutputType | null
24410
+ _min: NotificationSettingsMinAggregateOutputType | null
24411
+ _max: NotificationSettingsMaxAggregateOutputType | null
24412
+ }
24413
+
24414
+ export type NotificationSettingsMinAggregateOutputType = {
24415
+ id: string | null
24416
+ osNotificationEnabled: boolean | null
24417
+ thirdPartyChannel: string | null
24418
+ feishuWebhookUrl: string | null
24419
+ thirdPartyBaseUrl: string | null
24420
+ taskInReviewTitleTemplate: string | null
24421
+ taskInReviewBodyTemplate: string | null
24422
+ }
24423
+
24424
+ export type NotificationSettingsMaxAggregateOutputType = {
24425
+ id: string | null
24426
+ osNotificationEnabled: boolean | null
24427
+ thirdPartyChannel: string | null
24428
+ feishuWebhookUrl: string | null
24429
+ thirdPartyBaseUrl: string | null
24430
+ taskInReviewTitleTemplate: string | null
24431
+ taskInReviewBodyTemplate: string | null
24432
+ }
24433
+
24434
+ export type NotificationSettingsCountAggregateOutputType = {
24435
+ id: number
24436
+ osNotificationEnabled: number
24437
+ thirdPartyChannel: number
24438
+ feishuWebhookUrl: number
24439
+ thirdPartyBaseUrl: number
24440
+ taskInReviewTitleTemplate: number
24441
+ taskInReviewBodyTemplate: number
24442
+ _all: number
24443
+ }
24444
+
24445
+
24446
+ export type NotificationSettingsMinAggregateInputType = {
24447
+ id?: true
24448
+ osNotificationEnabled?: true
24449
+ thirdPartyChannel?: true
24450
+ feishuWebhookUrl?: true
24451
+ thirdPartyBaseUrl?: true
24452
+ taskInReviewTitleTemplate?: true
24453
+ taskInReviewBodyTemplate?: true
24454
+ }
24455
+
24456
+ export type NotificationSettingsMaxAggregateInputType = {
24457
+ id?: true
24458
+ osNotificationEnabled?: true
24459
+ thirdPartyChannel?: true
24460
+ feishuWebhookUrl?: true
24461
+ thirdPartyBaseUrl?: true
24462
+ taskInReviewTitleTemplate?: true
24463
+ taskInReviewBodyTemplate?: true
24464
+ }
24465
+
24466
+ export type NotificationSettingsCountAggregateInputType = {
24467
+ id?: true
24468
+ osNotificationEnabled?: true
24469
+ thirdPartyChannel?: true
24470
+ feishuWebhookUrl?: true
24471
+ thirdPartyBaseUrl?: true
24472
+ taskInReviewTitleTemplate?: true
24473
+ taskInReviewBodyTemplate?: true
24474
+ _all?: true
24475
+ }
24476
+
24477
+ export type NotificationSettingsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24478
+ /**
24479
+ * Filter which NotificationSettings to aggregate.
24480
+ */
24481
+ where?: NotificationSettingsWhereInput
24482
+ /**
24483
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
24484
+ *
24485
+ * Determine the order of NotificationSettings to fetch.
24486
+ */
24487
+ orderBy?: NotificationSettingsOrderByWithRelationInput | NotificationSettingsOrderByWithRelationInput[]
24488
+ /**
24489
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
24490
+ *
24491
+ * Sets the start position
24492
+ */
24493
+ cursor?: NotificationSettingsWhereUniqueInput
24494
+ /**
24495
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
24496
+ *
24497
+ * Take `±n` NotificationSettings from the position of the cursor.
24498
+ */
24499
+ take?: number
24500
+ /**
24501
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
24502
+ *
24503
+ * Skip the first `n` NotificationSettings.
24504
+ */
24505
+ skip?: number
24506
+ /**
24507
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
24508
+ *
24509
+ * Count returned NotificationSettings
24510
+ **/
24511
+ _count?: true | NotificationSettingsCountAggregateInputType
24512
+ /**
24513
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
24514
+ *
24515
+ * Select which fields to find the minimum value
24516
+ **/
24517
+ _min?: NotificationSettingsMinAggregateInputType
24518
+ /**
24519
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
24520
+ *
24521
+ * Select which fields to find the maximum value
24522
+ **/
24523
+ _max?: NotificationSettingsMaxAggregateInputType
24524
+ }
24525
+
24526
+ export type GetNotificationSettingsAggregateType<T extends NotificationSettingsAggregateArgs> = {
24527
+ [P in keyof T & keyof AggregateNotificationSettings]: P extends '_count' | 'count'
24528
+ ? T[P] extends true
24529
+ ? number
24530
+ : GetScalarType<T[P], AggregateNotificationSettings[P]>
24531
+ : GetScalarType<T[P], AggregateNotificationSettings[P]>
24532
+ }
24533
+
24534
+
24535
+
24536
+
24537
+ export type NotificationSettingsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24538
+ where?: NotificationSettingsWhereInput
24539
+ orderBy?: NotificationSettingsOrderByWithAggregationInput | NotificationSettingsOrderByWithAggregationInput[]
24540
+ by: NotificationSettingsScalarFieldEnum[] | NotificationSettingsScalarFieldEnum
24541
+ having?: NotificationSettingsScalarWhereWithAggregatesInput
24542
+ take?: number
24543
+ skip?: number
24544
+ _count?: NotificationSettingsCountAggregateInputType | true
24545
+ _min?: NotificationSettingsMinAggregateInputType
24546
+ _max?: NotificationSettingsMaxAggregateInputType
24547
+ }
24548
+
24549
+ export type NotificationSettingsGroupByOutputType = {
24550
+ id: string
24551
+ osNotificationEnabled: boolean
24552
+ thirdPartyChannel: string
24553
+ feishuWebhookUrl: string | null
24554
+ thirdPartyBaseUrl: string | null
24555
+ taskInReviewTitleTemplate: string
24556
+ taskInReviewBodyTemplate: string
24557
+ _count: NotificationSettingsCountAggregateOutputType | null
24558
+ _min: NotificationSettingsMinAggregateOutputType | null
24559
+ _max: NotificationSettingsMaxAggregateOutputType | null
24560
+ }
24561
+
24562
+ type GetNotificationSettingsGroupByPayload<T extends NotificationSettingsGroupByArgs> = Prisma.PrismaPromise<
24563
+ Array<
24564
+ PickEnumerable<NotificationSettingsGroupByOutputType, T['by']> &
24565
+ {
24566
+ [P in ((keyof T) & (keyof NotificationSettingsGroupByOutputType))]: P extends '_count'
24567
+ ? T[P] extends boolean
24568
+ ? number
24569
+ : GetScalarType<T[P], NotificationSettingsGroupByOutputType[P]>
24570
+ : GetScalarType<T[P], NotificationSettingsGroupByOutputType[P]>
24571
+ }
24572
+ >
24573
+ >
24574
+
24575
+
24576
+ export type NotificationSettingsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
24577
+ id?: boolean
24578
+ osNotificationEnabled?: boolean
24579
+ thirdPartyChannel?: boolean
24580
+ feishuWebhookUrl?: boolean
24581
+ thirdPartyBaseUrl?: boolean
24582
+ taskInReviewTitleTemplate?: boolean
24583
+ taskInReviewBodyTemplate?: boolean
24584
+ }, ExtArgs["result"]["notificationSettings"]>
24585
+
24586
+ export type NotificationSettingsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
24587
+ id?: boolean
24588
+ osNotificationEnabled?: boolean
24589
+ thirdPartyChannel?: boolean
24590
+ feishuWebhookUrl?: boolean
24591
+ thirdPartyBaseUrl?: boolean
24592
+ taskInReviewTitleTemplate?: boolean
24593
+ taskInReviewBodyTemplate?: boolean
24594
+ }, ExtArgs["result"]["notificationSettings"]>
24595
+
24596
+ export type NotificationSettingsSelectScalar = {
24597
+ id?: boolean
24598
+ osNotificationEnabled?: boolean
24599
+ thirdPartyChannel?: boolean
24600
+ feishuWebhookUrl?: boolean
24601
+ thirdPartyBaseUrl?: boolean
24602
+ taskInReviewTitleTemplate?: boolean
24603
+ taskInReviewBodyTemplate?: boolean
24604
+ }
24605
+
24606
+
24607
+ export type $NotificationSettingsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
24608
+ name: "NotificationSettings"
24609
+ objects: {}
24610
+ scalars: $Extensions.GetPayloadResult<{
24611
+ id: string
24612
+ osNotificationEnabled: boolean
24613
+ thirdPartyChannel: string
24614
+ feishuWebhookUrl: string | null
24615
+ thirdPartyBaseUrl: string | null
24616
+ taskInReviewTitleTemplate: string
24617
+ taskInReviewBodyTemplate: string
24618
+ }, ExtArgs["result"]["notificationSettings"]>
24619
+ composites: {}
24620
+ }
24621
+
24622
+ type NotificationSettingsGetPayload<S extends boolean | null | undefined | NotificationSettingsDefaultArgs> = $Result.GetResult<Prisma.$NotificationSettingsPayload, S>
24623
+
24624
+ type NotificationSettingsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
24625
+ Omit<NotificationSettingsFindManyArgs, 'select' | 'include' | 'distinct'> & {
24626
+ select?: NotificationSettingsCountAggregateInputType | true
24627
+ }
24628
+
24629
+ export interface NotificationSettingsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
24630
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['NotificationSettings'], meta: { name: 'NotificationSettings' } }
24631
+ /**
24632
+ * Find zero or one NotificationSettings that matches the filter.
24633
+ * @param {NotificationSettingsFindUniqueArgs} args - Arguments to find a NotificationSettings
24634
+ * @example
24635
+ * // Get one NotificationSettings
24636
+ * const notificationSettings = await prisma.notificationSettings.findUnique({
24637
+ * where: {
24638
+ * // ... provide filter here
24639
+ * }
24640
+ * })
24641
+ */
24642
+ findUnique<T extends NotificationSettingsFindUniqueArgs>(args: SelectSubset<T, NotificationSettingsFindUniqueArgs<ExtArgs>>): Prisma__NotificationSettingsClient<$Result.GetResult<Prisma.$NotificationSettingsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
24643
+
24644
+ /**
24645
+ * Find one NotificationSettings that matches the filter or throw an error with `error.code='P2025'`
24646
+ * if no matches were found.
24647
+ * @param {NotificationSettingsFindUniqueOrThrowArgs} args - Arguments to find a NotificationSettings
24648
+ * @example
24649
+ * // Get one NotificationSettings
24650
+ * const notificationSettings = await prisma.notificationSettings.findUniqueOrThrow({
24651
+ * where: {
24652
+ * // ... provide filter here
24653
+ * }
24654
+ * })
24655
+ */
24656
+ findUniqueOrThrow<T extends NotificationSettingsFindUniqueOrThrowArgs>(args: SelectSubset<T, NotificationSettingsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__NotificationSettingsClient<$Result.GetResult<Prisma.$NotificationSettingsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
24657
+
24658
+ /**
24659
+ * Find the first NotificationSettings that matches the filter.
24660
+ * Note, that providing `undefined` is treated as the value not being there.
24661
+ * Read more here: https://pris.ly/d/null-undefined
24662
+ * @param {NotificationSettingsFindFirstArgs} args - Arguments to find a NotificationSettings
24663
+ * @example
24664
+ * // Get one NotificationSettings
24665
+ * const notificationSettings = await prisma.notificationSettings.findFirst({
24666
+ * where: {
24667
+ * // ... provide filter here
24668
+ * }
24669
+ * })
24670
+ */
24671
+ findFirst<T extends NotificationSettingsFindFirstArgs>(args?: SelectSubset<T, NotificationSettingsFindFirstArgs<ExtArgs>>): Prisma__NotificationSettingsClient<$Result.GetResult<Prisma.$NotificationSettingsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
24672
+
24673
+ /**
24674
+ * Find the first NotificationSettings that matches the filter or
24675
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
24676
+ * Note, that providing `undefined` is treated as the value not being there.
24677
+ * Read more here: https://pris.ly/d/null-undefined
24678
+ * @param {NotificationSettingsFindFirstOrThrowArgs} args - Arguments to find a NotificationSettings
24679
+ * @example
24680
+ * // Get one NotificationSettings
24681
+ * const notificationSettings = await prisma.notificationSettings.findFirstOrThrow({
24682
+ * where: {
24683
+ * // ... provide filter here
24684
+ * }
24685
+ * })
24686
+ */
24687
+ findFirstOrThrow<T extends NotificationSettingsFindFirstOrThrowArgs>(args?: SelectSubset<T, NotificationSettingsFindFirstOrThrowArgs<ExtArgs>>): Prisma__NotificationSettingsClient<$Result.GetResult<Prisma.$NotificationSettingsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
24688
+
24689
+ /**
24690
+ * Find zero or more NotificationSettings that matches the filter.
24691
+ * Note, that providing `undefined` is treated as the value not being there.
24692
+ * Read more here: https://pris.ly/d/null-undefined
24693
+ * @param {NotificationSettingsFindManyArgs} args - Arguments to filter and select certain fields only.
24694
+ * @example
24695
+ * // Get all NotificationSettings
24696
+ * const notificationSettings = await prisma.notificationSettings.findMany()
24697
+ *
24698
+ * // Get first 10 NotificationSettings
24699
+ * const notificationSettings = await prisma.notificationSettings.findMany({ take: 10 })
24700
+ *
24701
+ * // Only select the `id`
24702
+ * const notificationSettingsWithIdOnly = await prisma.notificationSettings.findMany({ select: { id: true } })
24703
+ *
24704
+ */
24705
+ findMany<T extends NotificationSettingsFindManyArgs>(args?: SelectSubset<T, NotificationSettingsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationSettingsPayload<ExtArgs>, T, "findMany">>
24706
+
24707
+ /**
24708
+ * Create a NotificationSettings.
24709
+ * @param {NotificationSettingsCreateArgs} args - Arguments to create a NotificationSettings.
24710
+ * @example
24711
+ * // Create one NotificationSettings
24712
+ * const NotificationSettings = await prisma.notificationSettings.create({
24713
+ * data: {
24714
+ * // ... data to create a NotificationSettings
24715
+ * }
24716
+ * })
24717
+ *
24718
+ */
24719
+ create<T extends NotificationSettingsCreateArgs>(args: SelectSubset<T, NotificationSettingsCreateArgs<ExtArgs>>): Prisma__NotificationSettingsClient<$Result.GetResult<Prisma.$NotificationSettingsPayload<ExtArgs>, T, "create">, never, ExtArgs>
24720
+
24721
+ /**
24722
+ * Create many NotificationSettings.
24723
+ * @param {NotificationSettingsCreateManyArgs} args - Arguments to create many NotificationSettings.
24724
+ * @example
24725
+ * // Create many NotificationSettings
24726
+ * const notificationSettings = await prisma.notificationSettings.createMany({
24727
+ * data: [
24728
+ * // ... provide data here
24729
+ * ]
24730
+ * })
24731
+ *
24732
+ */
24733
+ createMany<T extends NotificationSettingsCreateManyArgs>(args?: SelectSubset<T, NotificationSettingsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
24734
+
24735
+ /**
24736
+ * Create many NotificationSettings and returns the data saved in the database.
24737
+ * @param {NotificationSettingsCreateManyAndReturnArgs} args - Arguments to create many NotificationSettings.
24738
+ * @example
24739
+ * // Create many NotificationSettings
24740
+ * const notificationSettings = await prisma.notificationSettings.createManyAndReturn({
24741
+ * data: [
24742
+ * // ... provide data here
24743
+ * ]
24744
+ * })
24745
+ *
24746
+ * // Create many NotificationSettings and only return the `id`
24747
+ * const notificationSettingsWithIdOnly = await prisma.notificationSettings.createManyAndReturn({
24748
+ * select: { id: true },
24749
+ * data: [
24750
+ * // ... provide data here
24751
+ * ]
24752
+ * })
24753
+ * Note, that providing `undefined` is treated as the value not being there.
24754
+ * Read more here: https://pris.ly/d/null-undefined
24755
+ *
24756
+ */
24757
+ createManyAndReturn<T extends NotificationSettingsCreateManyAndReturnArgs>(args?: SelectSubset<T, NotificationSettingsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NotificationSettingsPayload<ExtArgs>, T, "createManyAndReturn">>
24758
+
24759
+ /**
24760
+ * Delete a NotificationSettings.
24761
+ * @param {NotificationSettingsDeleteArgs} args - Arguments to delete one NotificationSettings.
24762
+ * @example
24763
+ * // Delete one NotificationSettings
24764
+ * const NotificationSettings = await prisma.notificationSettings.delete({
24765
+ * where: {
24766
+ * // ... filter to delete one NotificationSettings
24767
+ * }
24768
+ * })
24769
+ *
24770
+ */
24771
+ delete<T extends NotificationSettingsDeleteArgs>(args: SelectSubset<T, NotificationSettingsDeleteArgs<ExtArgs>>): Prisma__NotificationSettingsClient<$Result.GetResult<Prisma.$NotificationSettingsPayload<ExtArgs>, T, "delete">, never, ExtArgs>
24772
+
24773
+ /**
24774
+ * Update one NotificationSettings.
24775
+ * @param {NotificationSettingsUpdateArgs} args - Arguments to update one NotificationSettings.
24776
+ * @example
24777
+ * // Update one NotificationSettings
24778
+ * const notificationSettings = await prisma.notificationSettings.update({
24779
+ * where: {
24780
+ * // ... provide filter here
24781
+ * },
24782
+ * data: {
24783
+ * // ... provide data here
24784
+ * }
24785
+ * })
24786
+ *
24787
+ */
24788
+ update<T extends NotificationSettingsUpdateArgs>(args: SelectSubset<T, NotificationSettingsUpdateArgs<ExtArgs>>): Prisma__NotificationSettingsClient<$Result.GetResult<Prisma.$NotificationSettingsPayload<ExtArgs>, T, "update">, never, ExtArgs>
24789
+
24790
+ /**
24791
+ * Delete zero or more NotificationSettings.
24792
+ * @param {NotificationSettingsDeleteManyArgs} args - Arguments to filter NotificationSettings to delete.
24793
+ * @example
24794
+ * // Delete a few NotificationSettings
24795
+ * const { count } = await prisma.notificationSettings.deleteMany({
24796
+ * where: {
24797
+ * // ... provide filter here
24798
+ * }
24799
+ * })
24800
+ *
24801
+ */
24802
+ deleteMany<T extends NotificationSettingsDeleteManyArgs>(args?: SelectSubset<T, NotificationSettingsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
24803
+
24804
+ /**
24805
+ * Update zero or more NotificationSettings.
24806
+ * Note, that providing `undefined` is treated as the value not being there.
24807
+ * Read more here: https://pris.ly/d/null-undefined
24808
+ * @param {NotificationSettingsUpdateManyArgs} args - Arguments to update one or more rows.
24809
+ * @example
24810
+ * // Update many NotificationSettings
24811
+ * const notificationSettings = await prisma.notificationSettings.updateMany({
24812
+ * where: {
24813
+ * // ... provide filter here
24814
+ * },
24815
+ * data: {
24816
+ * // ... provide data here
24817
+ * }
24818
+ * })
24819
+ *
24820
+ */
24821
+ updateMany<T extends NotificationSettingsUpdateManyArgs>(args: SelectSubset<T, NotificationSettingsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
24822
+
24823
+ /**
24824
+ * Create or update one NotificationSettings.
24825
+ * @param {NotificationSettingsUpsertArgs} args - Arguments to update or create a NotificationSettings.
24826
+ * @example
24827
+ * // Update or create a NotificationSettings
24828
+ * const notificationSettings = await prisma.notificationSettings.upsert({
24829
+ * create: {
24830
+ * // ... data to create a NotificationSettings
24831
+ * },
24832
+ * update: {
24833
+ * // ... in case it already exists, update
24834
+ * },
24835
+ * where: {
24836
+ * // ... the filter for the NotificationSettings we want to update
24837
+ * }
24838
+ * })
24839
+ */
24840
+ upsert<T extends NotificationSettingsUpsertArgs>(args: SelectSubset<T, NotificationSettingsUpsertArgs<ExtArgs>>): Prisma__NotificationSettingsClient<$Result.GetResult<Prisma.$NotificationSettingsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>
24841
+
24842
+
24843
+ /**
24844
+ * Count the number of NotificationSettings.
24845
+ * Note, that providing `undefined` is treated as the value not being there.
24846
+ * Read more here: https://pris.ly/d/null-undefined
24847
+ * @param {NotificationSettingsCountArgs} args - Arguments to filter NotificationSettings to count.
24848
+ * @example
24849
+ * // Count the number of NotificationSettings
24850
+ * const count = await prisma.notificationSettings.count({
24851
+ * where: {
24852
+ * // ... the filter for the NotificationSettings we want to count
24853
+ * }
24854
+ * })
24855
+ **/
24856
+ count<T extends NotificationSettingsCountArgs>(
24857
+ args?: Subset<T, NotificationSettingsCountArgs>,
24858
+ ): Prisma.PrismaPromise<
24859
+ T extends $Utils.Record<'select', any>
24860
+ ? T['select'] extends true
24861
+ ? number
24862
+ : GetScalarType<T['select'], NotificationSettingsCountAggregateOutputType>
24863
+ : number
24864
+ >
24865
+
24866
+ /**
24867
+ * Allows you to perform aggregations operations on a NotificationSettings.
24868
+ * Note, that providing `undefined` is treated as the value not being there.
24869
+ * Read more here: https://pris.ly/d/null-undefined
24870
+ * @param {NotificationSettingsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
24871
+ * @example
24872
+ * // Ordered by age ascending
24873
+ * // Where email contains prisma.io
24874
+ * // Limited to the 10 users
24875
+ * const aggregations = await prisma.user.aggregate({
24876
+ * _avg: {
24877
+ * age: true,
24878
+ * },
24879
+ * where: {
24880
+ * email: {
24881
+ * contains: "prisma.io",
24882
+ * },
24883
+ * },
24884
+ * orderBy: {
24885
+ * age: "asc",
24886
+ * },
24887
+ * take: 10,
24888
+ * })
24889
+ **/
24890
+ aggregate<T extends NotificationSettingsAggregateArgs>(args: Subset<T, NotificationSettingsAggregateArgs>): Prisma.PrismaPromise<GetNotificationSettingsAggregateType<T>>
24891
+
24892
+ /**
24893
+ * Group by NotificationSettings.
24894
+ * Note, that providing `undefined` is treated as the value not being there.
24895
+ * Read more here: https://pris.ly/d/null-undefined
24896
+ * @param {NotificationSettingsGroupByArgs} args - Group by arguments.
24897
+ * @example
24898
+ * // Group by city, order by createdAt, get count
24899
+ * const result = await prisma.user.groupBy({
24900
+ * by: ['city', 'createdAt'],
24901
+ * orderBy: {
24902
+ * createdAt: true
24903
+ * },
24904
+ * _count: {
24905
+ * _all: true
24906
+ * },
24907
+ * })
24908
+ *
24909
+ **/
24910
+ groupBy<
24911
+ T extends NotificationSettingsGroupByArgs,
24912
+ HasSelectOrTake extends Or<
24913
+ Extends<'skip', Keys<T>>,
24914
+ Extends<'take', Keys<T>>
24915
+ >,
24916
+ OrderByArg extends True extends HasSelectOrTake
24917
+ ? { orderBy: NotificationSettingsGroupByArgs['orderBy'] }
24918
+ : { orderBy?: NotificationSettingsGroupByArgs['orderBy'] },
23839
24919
  OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
23840
24920
  ByFields extends MaybeTupleToUnion<T['by']>,
23841
24921
  ByValid extends Has<ByFields, OrderFields>,
@@ -24409,6 +25489,9 @@ export namespace Prisma {
24409
25489
  ifBusy: 'ifBusy',
24410
25490
  cancelQueued: 'cancelQueued',
24411
25491
  status: 'status',
25492
+ startAttemptCount: 'startAttemptCount',
25493
+ lastStartError: 'lastStartError',
25494
+ nextStartRetryAt: 'nextStartRetryAt',
24412
25495
  createdAt: 'createdAt',
24413
25496
  updatedAt: 'updatedAt'
24414
25497
  };
@@ -24439,6 +25522,8 @@ export namespace Prisma {
24439
25522
  status: 'status',
24440
25523
  roomReplyReminderCount: 'roomReplyReminderCount',
24441
25524
  nextRoomReplyReminderAt: 'nextRoomReplyReminderAt',
25525
+ lastHeartbeatAt: 'lastHeartbeatAt',
25526
+ firstNudgeAt: 'firstNudgeAt',
24442
25527
  createdAt: 'createdAt',
24443
25528
  updatedAt: 'updatedAt'
24444
25529
  };
@@ -24562,6 +25647,19 @@ export namespace Prisma {
24562
25647
  export type AppSettingsScalarFieldEnum = (typeof AppSettingsScalarFieldEnum)[keyof typeof AppSettingsScalarFieldEnum]
24563
25648
 
24564
25649
 
25650
+ export const AccessAuthSettingsScalarFieldEnum: {
25651
+ id: 'id',
25652
+ enabled: 'enabled',
25653
+ passwordHash: 'passwordHash',
25654
+ sessionSecret: 'sessionSecret',
25655
+ passwordUpdatedAt: 'passwordUpdatedAt',
25656
+ createdAt: 'createdAt',
25657
+ updatedAt: 'updatedAt'
25658
+ };
25659
+
25660
+ export type AccessAuthSettingsScalarFieldEnum = (typeof AccessAuthSettingsScalarFieldEnum)[keyof typeof AccessAuthSettingsScalarFieldEnum]
25661
+
25662
+
24565
25663
  export const NotificationSettingsScalarFieldEnum: {
24566
25664
  id: 'id',
24567
25665
  osNotificationEnabled: 'osNotificationEnabled',
@@ -25487,6 +26585,9 @@ export namespace Prisma {
25487
26585
  ifBusy?: StringFilter<"WorkRequest"> | string
25488
26586
  cancelQueued?: BoolFilter<"WorkRequest"> | boolean
25489
26587
  status?: StringFilter<"WorkRequest"> | string
26588
+ startAttemptCount?: IntFilter<"WorkRequest"> | number
26589
+ lastStartError?: StringNullableFilter<"WorkRequest"> | string | null
26590
+ nextStartRetryAt?: DateTimeNullableFilter<"WorkRequest"> | Date | string | null
25490
26591
  createdAt?: DateTimeFilter<"WorkRequest"> | Date | string
25491
26592
  updatedAt?: DateTimeFilter<"WorkRequest"> | Date | string
25492
26593
  teamRun?: XOR<TeamRunRelationFilter, TeamRunWhereInput>
@@ -25510,6 +26611,9 @@ export namespace Prisma {
25510
26611
  ifBusy?: SortOrder
25511
26612
  cancelQueued?: SortOrder
25512
26613
  status?: SortOrder
26614
+ startAttemptCount?: SortOrder
26615
+ lastStartError?: SortOrderInput | SortOrder
26616
+ nextStartRetryAt?: SortOrderInput | SortOrder
25513
26617
  createdAt?: SortOrder
25514
26618
  updatedAt?: SortOrder
25515
26619
  teamRun?: TeamRunOrderByWithRelationInput
@@ -25536,6 +26640,9 @@ export namespace Prisma {
25536
26640
  ifBusy?: StringFilter<"WorkRequest"> | string
25537
26641
  cancelQueued?: BoolFilter<"WorkRequest"> | boolean
25538
26642
  status?: StringFilter<"WorkRequest"> | string
26643
+ startAttemptCount?: IntFilter<"WorkRequest"> | number
26644
+ lastStartError?: StringNullableFilter<"WorkRequest"> | string | null
26645
+ nextStartRetryAt?: DateTimeNullableFilter<"WorkRequest"> | Date | string | null
25539
26646
  createdAt?: DateTimeFilter<"WorkRequest"> | Date | string
25540
26647
  updatedAt?: DateTimeFilter<"WorkRequest"> | Date | string
25541
26648
  teamRun?: XOR<TeamRunRelationFilter, TeamRunWhereInput>
@@ -25559,11 +26666,16 @@ export namespace Prisma {
25559
26666
  ifBusy?: SortOrder
25560
26667
  cancelQueued?: SortOrder
25561
26668
  status?: SortOrder
26669
+ startAttemptCount?: SortOrder
26670
+ lastStartError?: SortOrderInput | SortOrder
26671
+ nextStartRetryAt?: SortOrderInput | SortOrder
25562
26672
  createdAt?: SortOrder
25563
26673
  updatedAt?: SortOrder
25564
26674
  _count?: WorkRequestCountOrderByAggregateInput
26675
+ _avg?: WorkRequestAvgOrderByAggregateInput
25565
26676
  _max?: WorkRequestMaxOrderByAggregateInput
25566
26677
  _min?: WorkRequestMinOrderByAggregateInput
26678
+ _sum?: WorkRequestSumOrderByAggregateInput
25567
26679
  }
25568
26680
 
25569
26681
  export type WorkRequestScalarWhereWithAggregatesInput = {
@@ -25587,6 +26699,9 @@ export namespace Prisma {
25587
26699
  ifBusy?: StringWithAggregatesFilter<"WorkRequest"> | string
25588
26700
  cancelQueued?: BoolWithAggregatesFilter<"WorkRequest"> | boolean
25589
26701
  status?: StringWithAggregatesFilter<"WorkRequest"> | string
26702
+ startAttemptCount?: IntWithAggregatesFilter<"WorkRequest"> | number
26703
+ lastStartError?: StringNullableWithAggregatesFilter<"WorkRequest"> | string | null
26704
+ nextStartRetryAt?: DateTimeNullableWithAggregatesFilter<"WorkRequest"> | Date | string | null
25590
26705
  createdAt?: DateTimeWithAggregatesFilter<"WorkRequest"> | Date | string
25591
26706
  updatedAt?: DateTimeWithAggregatesFilter<"WorkRequest"> | Date | string
25592
26707
  }
@@ -25617,6 +26732,8 @@ export namespace Prisma {
25617
26732
  status?: StringFilter<"AgentInvocation"> | string
25618
26733
  roomReplyReminderCount?: IntFilter<"AgentInvocation"> | number
25619
26734
  nextRoomReplyReminderAt?: DateTimeNullableFilter<"AgentInvocation"> | Date | string | null
26735
+ lastHeartbeatAt?: DateTimeNullableFilter<"AgentInvocation"> | Date | string | null
26736
+ firstNudgeAt?: DateTimeNullableFilter<"AgentInvocation"> | Date | string | null
25620
26737
  createdAt?: DateTimeFilter<"AgentInvocation"> | Date | string
25621
26738
  updatedAt?: DateTimeFilter<"AgentInvocation"> | Date | string
25622
26739
  teamRun?: XOR<TeamRunRelationFilter, TeamRunWhereInput>
@@ -25645,6 +26762,8 @@ export namespace Prisma {
25645
26762
  status?: SortOrder
25646
26763
  roomReplyReminderCount?: SortOrder
25647
26764
  nextRoomReplyReminderAt?: SortOrderInput | SortOrder
26765
+ lastHeartbeatAt?: SortOrderInput | SortOrder
26766
+ firstNudgeAt?: SortOrderInput | SortOrder
25648
26767
  createdAt?: SortOrder
25649
26768
  updatedAt?: SortOrder
25650
26769
  teamRun?: TeamRunOrderByWithRelationInput
@@ -25676,6 +26795,8 @@ export namespace Prisma {
25676
26795
  status?: StringFilter<"AgentInvocation"> | string
25677
26796
  roomReplyReminderCount?: IntFilter<"AgentInvocation"> | number
25678
26797
  nextRoomReplyReminderAt?: DateTimeNullableFilter<"AgentInvocation"> | Date | string | null
26798
+ lastHeartbeatAt?: DateTimeNullableFilter<"AgentInvocation"> | Date | string | null
26799
+ firstNudgeAt?: DateTimeNullableFilter<"AgentInvocation"> | Date | string | null
25679
26800
  createdAt?: DateTimeFilter<"AgentInvocation"> | Date | string
25680
26801
  updatedAt?: DateTimeFilter<"AgentInvocation"> | Date | string
25681
26802
  teamRun?: XOR<TeamRunRelationFilter, TeamRunWhereInput>
@@ -25704,6 +26825,8 @@ export namespace Prisma {
25704
26825
  status?: SortOrder
25705
26826
  roomReplyReminderCount?: SortOrder
25706
26827
  nextRoomReplyReminderAt?: SortOrderInput | SortOrder
26828
+ lastHeartbeatAt?: SortOrderInput | SortOrder
26829
+ firstNudgeAt?: SortOrderInput | SortOrder
25707
26830
  createdAt?: SortOrder
25708
26831
  updatedAt?: SortOrder
25709
26832
  _count?: AgentInvocationCountOrderByAggregateInput
@@ -25739,6 +26862,8 @@ export namespace Prisma {
25739
26862
  status?: StringWithAggregatesFilter<"AgentInvocation"> | string
25740
26863
  roomReplyReminderCount?: IntWithAggregatesFilter<"AgentInvocation"> | number
25741
26864
  nextRoomReplyReminderAt?: DateTimeNullableWithAggregatesFilter<"AgentInvocation"> | Date | string | null
26865
+ lastHeartbeatAt?: DateTimeNullableWithAggregatesFilter<"AgentInvocation"> | Date | string | null
26866
+ firstNudgeAt?: DateTimeNullableWithAggregatesFilter<"AgentInvocation"> | Date | string | null
25742
26867
  createdAt?: DateTimeWithAggregatesFilter<"AgentInvocation"> | Date | string
25743
26868
  updatedAt?: DateTimeWithAggregatesFilter<"AgentInvocation"> | Date | string
25744
26869
  }
@@ -26348,6 +27473,68 @@ export namespace Prisma {
26348
27473
  commitMessagePrompt?: StringNullableWithAggregatesFilter<"AppSettings"> | string | null
26349
27474
  }
26350
27475
 
27476
+ export type AccessAuthSettingsWhereInput = {
27477
+ AND?: AccessAuthSettingsWhereInput | AccessAuthSettingsWhereInput[]
27478
+ OR?: AccessAuthSettingsWhereInput[]
27479
+ NOT?: AccessAuthSettingsWhereInput | AccessAuthSettingsWhereInput[]
27480
+ id?: StringFilter<"AccessAuthSettings"> | string
27481
+ enabled?: BoolFilter<"AccessAuthSettings"> | boolean
27482
+ passwordHash?: StringNullableFilter<"AccessAuthSettings"> | string | null
27483
+ sessionSecret?: StringFilter<"AccessAuthSettings"> | string
27484
+ passwordUpdatedAt?: DateTimeNullableFilter<"AccessAuthSettings"> | Date | string | null
27485
+ createdAt?: DateTimeFilter<"AccessAuthSettings"> | Date | string
27486
+ updatedAt?: DateTimeFilter<"AccessAuthSettings"> | Date | string
27487
+ }
27488
+
27489
+ export type AccessAuthSettingsOrderByWithRelationInput = {
27490
+ id?: SortOrder
27491
+ enabled?: SortOrder
27492
+ passwordHash?: SortOrderInput | SortOrder
27493
+ sessionSecret?: SortOrder
27494
+ passwordUpdatedAt?: SortOrderInput | SortOrder
27495
+ createdAt?: SortOrder
27496
+ updatedAt?: SortOrder
27497
+ }
27498
+
27499
+ export type AccessAuthSettingsWhereUniqueInput = Prisma.AtLeast<{
27500
+ id?: string
27501
+ AND?: AccessAuthSettingsWhereInput | AccessAuthSettingsWhereInput[]
27502
+ OR?: AccessAuthSettingsWhereInput[]
27503
+ NOT?: AccessAuthSettingsWhereInput | AccessAuthSettingsWhereInput[]
27504
+ enabled?: BoolFilter<"AccessAuthSettings"> | boolean
27505
+ passwordHash?: StringNullableFilter<"AccessAuthSettings"> | string | null
27506
+ sessionSecret?: StringFilter<"AccessAuthSettings"> | string
27507
+ passwordUpdatedAt?: DateTimeNullableFilter<"AccessAuthSettings"> | Date | string | null
27508
+ createdAt?: DateTimeFilter<"AccessAuthSettings"> | Date | string
27509
+ updatedAt?: DateTimeFilter<"AccessAuthSettings"> | Date | string
27510
+ }, "id">
27511
+
27512
+ export type AccessAuthSettingsOrderByWithAggregationInput = {
27513
+ id?: SortOrder
27514
+ enabled?: SortOrder
27515
+ passwordHash?: SortOrderInput | SortOrder
27516
+ sessionSecret?: SortOrder
27517
+ passwordUpdatedAt?: SortOrderInput | SortOrder
27518
+ createdAt?: SortOrder
27519
+ updatedAt?: SortOrder
27520
+ _count?: AccessAuthSettingsCountOrderByAggregateInput
27521
+ _max?: AccessAuthSettingsMaxOrderByAggregateInput
27522
+ _min?: AccessAuthSettingsMinOrderByAggregateInput
27523
+ }
27524
+
27525
+ export type AccessAuthSettingsScalarWhereWithAggregatesInput = {
27526
+ AND?: AccessAuthSettingsScalarWhereWithAggregatesInput | AccessAuthSettingsScalarWhereWithAggregatesInput[]
27527
+ OR?: AccessAuthSettingsScalarWhereWithAggregatesInput[]
27528
+ NOT?: AccessAuthSettingsScalarWhereWithAggregatesInput | AccessAuthSettingsScalarWhereWithAggregatesInput[]
27529
+ id?: StringWithAggregatesFilter<"AccessAuthSettings"> | string
27530
+ enabled?: BoolWithAggregatesFilter<"AccessAuthSettings"> | boolean
27531
+ passwordHash?: StringNullableWithAggregatesFilter<"AccessAuthSettings"> | string | null
27532
+ sessionSecret?: StringWithAggregatesFilter<"AccessAuthSettings"> | string
27533
+ passwordUpdatedAt?: DateTimeNullableWithAggregatesFilter<"AccessAuthSettings"> | Date | string | null
27534
+ createdAt?: DateTimeWithAggregatesFilter<"AccessAuthSettings"> | Date | string
27535
+ updatedAt?: DateTimeWithAggregatesFilter<"AccessAuthSettings"> | Date | string
27536
+ }
27537
+
26351
27538
  export type NotificationSettingsWhereInput = {
26352
27539
  AND?: NotificationSettingsWhereInput | NotificationSettingsWhereInput[]
26353
27540
  OR?: NotificationSettingsWhereInput[]
@@ -27370,6 +28557,9 @@ export namespace Prisma {
27370
28557
  ifBusy?: string
27371
28558
  cancelQueued?: boolean
27372
28559
  status?: string
28560
+ startAttemptCount?: number
28561
+ lastStartError?: string | null
28562
+ nextStartRetryAt?: Date | string | null
27373
28563
  createdAt?: Date | string
27374
28564
  updatedAt?: Date | string
27375
28565
  teamRun: TeamRunCreateNestedOneWithoutWorkRequestsInput
@@ -27393,6 +28583,9 @@ export namespace Prisma {
27393
28583
  ifBusy?: string
27394
28584
  cancelQueued?: boolean
27395
28585
  status?: string
28586
+ startAttemptCount?: number
28587
+ lastStartError?: string | null
28588
+ nextStartRetryAt?: Date | string | null
27396
28589
  createdAt?: Date | string
27397
28590
  updatedAt?: Date | string
27398
28591
  }
@@ -27414,6 +28607,9 @@ export namespace Prisma {
27414
28607
  ifBusy?: StringFieldUpdateOperationsInput | string
27415
28608
  cancelQueued?: BoolFieldUpdateOperationsInput | boolean
27416
28609
  status?: StringFieldUpdateOperationsInput | string
28610
+ startAttemptCount?: IntFieldUpdateOperationsInput | number
28611
+ lastStartError?: NullableStringFieldUpdateOperationsInput | string | null
28612
+ nextStartRetryAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
27417
28613
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
27418
28614
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
27419
28615
  teamRun?: TeamRunUpdateOneRequiredWithoutWorkRequestsNestedInput
@@ -27437,6 +28633,9 @@ export namespace Prisma {
27437
28633
  ifBusy?: StringFieldUpdateOperationsInput | string
27438
28634
  cancelQueued?: BoolFieldUpdateOperationsInput | boolean
27439
28635
  status?: StringFieldUpdateOperationsInput | string
28636
+ startAttemptCount?: IntFieldUpdateOperationsInput | number
28637
+ lastStartError?: NullableStringFieldUpdateOperationsInput | string | null
28638
+ nextStartRetryAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
27440
28639
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
27441
28640
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
27442
28641
  }
@@ -27459,6 +28658,9 @@ export namespace Prisma {
27459
28658
  ifBusy?: string
27460
28659
  cancelQueued?: boolean
27461
28660
  status?: string
28661
+ startAttemptCount?: number
28662
+ lastStartError?: string | null
28663
+ nextStartRetryAt?: Date | string | null
27462
28664
  createdAt?: Date | string
27463
28665
  updatedAt?: Date | string
27464
28666
  }
@@ -27480,6 +28682,9 @@ export namespace Prisma {
27480
28682
  ifBusy?: StringFieldUpdateOperationsInput | string
27481
28683
  cancelQueued?: BoolFieldUpdateOperationsInput | boolean
27482
28684
  status?: StringFieldUpdateOperationsInput | string
28685
+ startAttemptCount?: IntFieldUpdateOperationsInput | number
28686
+ lastStartError?: NullableStringFieldUpdateOperationsInput | string | null
28687
+ nextStartRetryAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
27483
28688
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
27484
28689
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
27485
28690
  }
@@ -27502,6 +28707,9 @@ export namespace Prisma {
27502
28707
  ifBusy?: StringFieldUpdateOperationsInput | string
27503
28708
  cancelQueued?: BoolFieldUpdateOperationsInput | boolean
27504
28709
  status?: StringFieldUpdateOperationsInput | string
28710
+ startAttemptCount?: IntFieldUpdateOperationsInput | number
28711
+ lastStartError?: NullableStringFieldUpdateOperationsInput | string | null
28712
+ nextStartRetryAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
27505
28713
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
27506
28714
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
27507
28715
  }
@@ -27528,6 +28736,8 @@ export namespace Prisma {
27528
28736
  status?: string
27529
28737
  roomReplyReminderCount?: number
27530
28738
  nextRoomReplyReminderAt?: Date | string | null
28739
+ lastHeartbeatAt?: Date | string | null
28740
+ firstNudgeAt?: Date | string | null
27531
28741
  createdAt?: Date | string
27532
28742
  updatedAt?: Date | string
27533
28743
  teamRun: TeamRunCreateNestedOneWithoutInvocationsInput
@@ -27556,6 +28766,8 @@ export namespace Prisma {
27556
28766
  status?: string
27557
28767
  roomReplyReminderCount?: number
27558
28768
  nextRoomReplyReminderAt?: Date | string | null
28769
+ lastHeartbeatAt?: Date | string | null
28770
+ firstNudgeAt?: Date | string | null
27559
28771
  createdAt?: Date | string
27560
28772
  updatedAt?: Date | string
27561
28773
  }
@@ -27582,6 +28794,8 @@ export namespace Prisma {
27582
28794
  status?: StringFieldUpdateOperationsInput | string
27583
28795
  roomReplyReminderCount?: IntFieldUpdateOperationsInput | number
27584
28796
  nextRoomReplyReminderAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
28797
+ lastHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
28798
+ firstNudgeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
27585
28799
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
27586
28800
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
27587
28801
  teamRun?: TeamRunUpdateOneRequiredWithoutInvocationsNestedInput
@@ -27610,6 +28824,8 @@ export namespace Prisma {
27610
28824
  status?: StringFieldUpdateOperationsInput | string
27611
28825
  roomReplyReminderCount?: IntFieldUpdateOperationsInput | number
27612
28826
  nextRoomReplyReminderAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
28827
+ lastHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
28828
+ firstNudgeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
27613
28829
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
27614
28830
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
27615
28831
  }
@@ -27637,6 +28853,8 @@ export namespace Prisma {
27637
28853
  status?: string
27638
28854
  roomReplyReminderCount?: number
27639
28855
  nextRoomReplyReminderAt?: Date | string | null
28856
+ lastHeartbeatAt?: Date | string | null
28857
+ firstNudgeAt?: Date | string | null
27640
28858
  createdAt?: Date | string
27641
28859
  updatedAt?: Date | string
27642
28860
  }
@@ -27663,6 +28881,8 @@ export namespace Prisma {
27663
28881
  status?: StringFieldUpdateOperationsInput | string
27664
28882
  roomReplyReminderCount?: IntFieldUpdateOperationsInput | number
27665
28883
  nextRoomReplyReminderAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
28884
+ lastHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
28885
+ firstNudgeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
27666
28886
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
27667
28887
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
27668
28888
  }
@@ -27690,6 +28910,8 @@ export namespace Prisma {
27690
28910
  status?: StringFieldUpdateOperationsInput | string
27691
28911
  roomReplyReminderCount?: IntFieldUpdateOperationsInput | number
27692
28912
  nextRoomReplyReminderAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
28913
+ lastHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
28914
+ firstNudgeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
27693
28915
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
27694
28916
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
27695
28917
  }
@@ -28354,6 +29576,76 @@ export namespace Prisma {
28354
29576
  commitMessagePrompt?: NullableStringFieldUpdateOperationsInput | string | null
28355
29577
  }
28356
29578
 
29579
+ export type AccessAuthSettingsCreateInput = {
29580
+ id?: string
29581
+ enabled?: boolean
29582
+ passwordHash?: string | null
29583
+ sessionSecret: string
29584
+ passwordUpdatedAt?: Date | string | null
29585
+ createdAt?: Date | string
29586
+ updatedAt?: Date | string
29587
+ }
29588
+
29589
+ export type AccessAuthSettingsUncheckedCreateInput = {
29590
+ id?: string
29591
+ enabled?: boolean
29592
+ passwordHash?: string | null
29593
+ sessionSecret: string
29594
+ passwordUpdatedAt?: Date | string | null
29595
+ createdAt?: Date | string
29596
+ updatedAt?: Date | string
29597
+ }
29598
+
29599
+ export type AccessAuthSettingsUpdateInput = {
29600
+ id?: StringFieldUpdateOperationsInput | string
29601
+ enabled?: BoolFieldUpdateOperationsInput | boolean
29602
+ passwordHash?: NullableStringFieldUpdateOperationsInput | string | null
29603
+ sessionSecret?: StringFieldUpdateOperationsInput | string
29604
+ passwordUpdatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
29605
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29606
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
29607
+ }
29608
+
29609
+ export type AccessAuthSettingsUncheckedUpdateInput = {
29610
+ id?: StringFieldUpdateOperationsInput | string
29611
+ enabled?: BoolFieldUpdateOperationsInput | boolean
29612
+ passwordHash?: NullableStringFieldUpdateOperationsInput | string | null
29613
+ sessionSecret?: StringFieldUpdateOperationsInput | string
29614
+ passwordUpdatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
29615
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29616
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
29617
+ }
29618
+
29619
+ export type AccessAuthSettingsCreateManyInput = {
29620
+ id?: string
29621
+ enabled?: boolean
29622
+ passwordHash?: string | null
29623
+ sessionSecret: string
29624
+ passwordUpdatedAt?: Date | string | null
29625
+ createdAt?: Date | string
29626
+ updatedAt?: Date | string
29627
+ }
29628
+
29629
+ export type AccessAuthSettingsUpdateManyMutationInput = {
29630
+ id?: StringFieldUpdateOperationsInput | string
29631
+ enabled?: BoolFieldUpdateOperationsInput | boolean
29632
+ passwordHash?: NullableStringFieldUpdateOperationsInput | string | null
29633
+ sessionSecret?: StringFieldUpdateOperationsInput | string
29634
+ passwordUpdatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
29635
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29636
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
29637
+ }
29638
+
29639
+ export type AccessAuthSettingsUncheckedUpdateManyInput = {
29640
+ id?: StringFieldUpdateOperationsInput | string
29641
+ enabled?: BoolFieldUpdateOperationsInput | boolean
29642
+ passwordHash?: NullableStringFieldUpdateOperationsInput | string | null
29643
+ sessionSecret?: StringFieldUpdateOperationsInput | string
29644
+ passwordUpdatedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
29645
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
29646
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
29647
+ }
29648
+
28357
29649
  export type NotificationSettingsCreateInput = {
28358
29650
  id?: string
28359
29651
  osNotificationEnabled?: boolean
@@ -29139,10 +30431,17 @@ export namespace Prisma {
29139
30431
  ifBusy?: SortOrder
29140
30432
  cancelQueued?: SortOrder
29141
30433
  status?: SortOrder
30434
+ startAttemptCount?: SortOrder
30435
+ lastStartError?: SortOrder
30436
+ nextStartRetryAt?: SortOrder
29142
30437
  createdAt?: SortOrder
29143
30438
  updatedAt?: SortOrder
29144
30439
  }
29145
30440
 
30441
+ export type WorkRequestAvgOrderByAggregateInput = {
30442
+ startAttemptCount?: SortOrder
30443
+ }
30444
+
29146
30445
  export type WorkRequestMaxOrderByAggregateInput = {
29147
30446
  id?: SortOrder
29148
30447
  teamRunId?: SortOrder
@@ -29161,6 +30460,9 @@ export namespace Prisma {
29161
30460
  ifBusy?: SortOrder
29162
30461
  cancelQueued?: SortOrder
29163
30462
  status?: SortOrder
30463
+ startAttemptCount?: SortOrder
30464
+ lastStartError?: SortOrder
30465
+ nextStartRetryAt?: SortOrder
29164
30466
  createdAt?: SortOrder
29165
30467
  updatedAt?: SortOrder
29166
30468
  }
@@ -29183,10 +30485,17 @@ export namespace Prisma {
29183
30485
  ifBusy?: SortOrder
29184
30486
  cancelQueued?: SortOrder
29185
30487
  status?: SortOrder
30488
+ startAttemptCount?: SortOrder
30489
+ lastStartError?: SortOrder
30490
+ nextStartRetryAt?: SortOrder
29186
30491
  createdAt?: SortOrder
29187
30492
  updatedAt?: SortOrder
29188
30493
  }
29189
30494
 
30495
+ export type WorkRequestSumOrderByAggregateInput = {
30496
+ startAttemptCount?: SortOrder
30497
+ }
30498
+
29190
30499
  export type BoolWithAggregatesFilter<$PrismaModel = never> = {
29191
30500
  equals?: boolean | BooleanFieldRefInput<$PrismaModel>
29192
30501
  not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
@@ -29229,6 +30538,8 @@ export namespace Prisma {
29229
30538
  status?: SortOrder
29230
30539
  roomReplyReminderCount?: SortOrder
29231
30540
  nextRoomReplyReminderAt?: SortOrder
30541
+ lastHeartbeatAt?: SortOrder
30542
+ firstNudgeAt?: SortOrder
29232
30543
  createdAt?: SortOrder
29233
30544
  updatedAt?: SortOrder
29234
30545
  }
@@ -29263,6 +30574,8 @@ export namespace Prisma {
29263
30574
  status?: SortOrder
29264
30575
  roomReplyReminderCount?: SortOrder
29265
30576
  nextRoomReplyReminderAt?: SortOrder
30577
+ lastHeartbeatAt?: SortOrder
30578
+ firstNudgeAt?: SortOrder
29266
30579
  createdAt?: SortOrder
29267
30580
  updatedAt?: SortOrder
29268
30581
  }
@@ -29290,6 +30603,8 @@ export namespace Prisma {
29290
30603
  status?: SortOrder
29291
30604
  roomReplyReminderCount?: SortOrder
29292
30605
  nextRoomReplyReminderAt?: SortOrder
30606
+ lastHeartbeatAt?: SortOrder
30607
+ firstNudgeAt?: SortOrder
29293
30608
  createdAt?: SortOrder
29294
30609
  updatedAt?: SortOrder
29295
30610
  }
@@ -29679,6 +30994,36 @@ export namespace Prisma {
29679
30994
  commitMessagePrompt?: SortOrder
29680
30995
  }
29681
30996
 
30997
+ export type AccessAuthSettingsCountOrderByAggregateInput = {
30998
+ id?: SortOrder
30999
+ enabled?: SortOrder
31000
+ passwordHash?: SortOrder
31001
+ sessionSecret?: SortOrder
31002
+ passwordUpdatedAt?: SortOrder
31003
+ createdAt?: SortOrder
31004
+ updatedAt?: SortOrder
31005
+ }
31006
+
31007
+ export type AccessAuthSettingsMaxOrderByAggregateInput = {
31008
+ id?: SortOrder
31009
+ enabled?: SortOrder
31010
+ passwordHash?: SortOrder
31011
+ sessionSecret?: SortOrder
31012
+ passwordUpdatedAt?: SortOrder
31013
+ createdAt?: SortOrder
31014
+ updatedAt?: SortOrder
31015
+ }
31016
+
31017
+ export type AccessAuthSettingsMinOrderByAggregateInput = {
31018
+ id?: SortOrder
31019
+ enabled?: SortOrder
31020
+ passwordHash?: SortOrder
31021
+ sessionSecret?: SortOrder
31022
+ passwordUpdatedAt?: SortOrder
31023
+ createdAt?: SortOrder
31024
+ updatedAt?: SortOrder
31025
+ }
31026
+
29682
31027
  export type NotificationSettingsCountOrderByAggregateInput = {
29683
31028
  id?: SortOrder
29684
31029
  osNotificationEnabled?: SortOrder
@@ -31533,6 +32878,9 @@ export namespace Prisma {
31533
32878
  ifBusy?: string
31534
32879
  cancelQueued?: boolean
31535
32880
  status?: string
32881
+ startAttemptCount?: number
32882
+ lastStartError?: string | null
32883
+ nextStartRetryAt?: Date | string | null
31536
32884
  createdAt?: Date | string
31537
32885
  updatedAt?: Date | string
31538
32886
  }
@@ -31554,6 +32902,9 @@ export namespace Prisma {
31554
32902
  ifBusy?: string
31555
32903
  cancelQueued?: boolean
31556
32904
  status?: string
32905
+ startAttemptCount?: number
32906
+ lastStartError?: string | null
32907
+ nextStartRetryAt?: Date | string | null
31557
32908
  createdAt?: Date | string
31558
32909
  updatedAt?: Date | string
31559
32910
  }
@@ -31589,6 +32940,8 @@ export namespace Prisma {
31589
32940
  status?: string
31590
32941
  roomReplyReminderCount?: number
31591
32942
  nextRoomReplyReminderAt?: Date | string | null
32943
+ lastHeartbeatAt?: Date | string | null
32944
+ firstNudgeAt?: Date | string | null
31592
32945
  createdAt?: Date | string
31593
32946
  updatedAt?: Date | string
31594
32947
  }
@@ -31615,6 +32968,8 @@ export namespace Prisma {
31615
32968
  status?: string
31616
32969
  roomReplyReminderCount?: number
31617
32970
  nextRoomReplyReminderAt?: Date | string | null
32971
+ lastHeartbeatAt?: Date | string | null
32972
+ firstNudgeAt?: Date | string | null
31618
32973
  createdAt?: Date | string
31619
32974
  updatedAt?: Date | string
31620
32975
  }
@@ -31864,6 +33219,9 @@ export namespace Prisma {
31864
33219
  ifBusy?: StringFilter<"WorkRequest"> | string
31865
33220
  cancelQueued?: BoolFilter<"WorkRequest"> | boolean
31866
33221
  status?: StringFilter<"WorkRequest"> | string
33222
+ startAttemptCount?: IntFilter<"WorkRequest"> | number
33223
+ lastStartError?: StringNullableFilter<"WorkRequest"> | string | null
33224
+ nextStartRetryAt?: DateTimeNullableFilter<"WorkRequest"> | Date | string | null
31867
33225
  createdAt?: DateTimeFilter<"WorkRequest"> | Date | string
31868
33226
  updatedAt?: DateTimeFilter<"WorkRequest"> | Date | string
31869
33227
  }
@@ -31910,6 +33268,8 @@ export namespace Prisma {
31910
33268
  status?: StringFilter<"AgentInvocation"> | string
31911
33269
  roomReplyReminderCount?: IntFilter<"AgentInvocation"> | number
31912
33270
  nextRoomReplyReminderAt?: DateTimeNullableFilter<"AgentInvocation"> | Date | string | null
33271
+ lastHeartbeatAt?: DateTimeNullableFilter<"AgentInvocation"> | Date | string | null
33272
+ firstNudgeAt?: DateTimeNullableFilter<"AgentInvocation"> | Date | string | null
31913
33273
  createdAt?: DateTimeFilter<"AgentInvocation"> | Date | string
31914
33274
  updatedAt?: DateTimeFilter<"AgentInvocation"> | Date | string
31915
33275
  }
@@ -33864,6 +35224,9 @@ export namespace Prisma {
33864
35224
  ifBusy?: string
33865
35225
  cancelQueued?: boolean
33866
35226
  status?: string
35227
+ startAttemptCount?: number
35228
+ lastStartError?: string | null
35229
+ nextStartRetryAt?: Date | string | null
33867
35230
  createdAt?: Date | string
33868
35231
  updatedAt?: Date | string
33869
35232
  }
@@ -33890,6 +35253,8 @@ export namespace Prisma {
33890
35253
  status?: string
33891
35254
  roomReplyReminderCount?: number
33892
35255
  nextRoomReplyReminderAt?: Date | string | null
35256
+ lastHeartbeatAt?: Date | string | null
35257
+ firstNudgeAt?: Date | string | null
33893
35258
  createdAt?: Date | string
33894
35259
  updatedAt?: Date | string
33895
35260
  }
@@ -34031,6 +35396,9 @@ export namespace Prisma {
34031
35396
  ifBusy?: StringFieldUpdateOperationsInput | string
34032
35397
  cancelQueued?: BoolFieldUpdateOperationsInput | boolean
34033
35398
  status?: StringFieldUpdateOperationsInput | string
35399
+ startAttemptCount?: IntFieldUpdateOperationsInput | number
35400
+ lastStartError?: NullableStringFieldUpdateOperationsInput | string | null
35401
+ nextStartRetryAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34034
35402
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34035
35403
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
34036
35404
  }
@@ -34052,6 +35420,9 @@ export namespace Prisma {
34052
35420
  ifBusy?: StringFieldUpdateOperationsInput | string
34053
35421
  cancelQueued?: BoolFieldUpdateOperationsInput | boolean
34054
35422
  status?: StringFieldUpdateOperationsInput | string
35423
+ startAttemptCount?: IntFieldUpdateOperationsInput | number
35424
+ lastStartError?: NullableStringFieldUpdateOperationsInput | string | null
35425
+ nextStartRetryAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34055
35426
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34056
35427
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
34057
35428
  }
@@ -34073,6 +35444,9 @@ export namespace Prisma {
34073
35444
  ifBusy?: StringFieldUpdateOperationsInput | string
34074
35445
  cancelQueued?: BoolFieldUpdateOperationsInput | boolean
34075
35446
  status?: StringFieldUpdateOperationsInput | string
35447
+ startAttemptCount?: IntFieldUpdateOperationsInput | number
35448
+ lastStartError?: NullableStringFieldUpdateOperationsInput | string | null
35449
+ nextStartRetryAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34076
35450
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34077
35451
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
34078
35452
  }
@@ -34099,6 +35473,8 @@ export namespace Prisma {
34099
35473
  status?: StringFieldUpdateOperationsInput | string
34100
35474
  roomReplyReminderCount?: IntFieldUpdateOperationsInput | number
34101
35475
  nextRoomReplyReminderAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35476
+ lastHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35477
+ firstNudgeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34102
35478
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34103
35479
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
34104
35480
  }
@@ -34125,6 +35501,8 @@ export namespace Prisma {
34125
35501
  status?: StringFieldUpdateOperationsInput | string
34126
35502
  roomReplyReminderCount?: IntFieldUpdateOperationsInput | number
34127
35503
  nextRoomReplyReminderAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35504
+ lastHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35505
+ firstNudgeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34128
35506
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34129
35507
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
34130
35508
  }
@@ -34151,6 +35529,8 @@ export namespace Prisma {
34151
35529
  status?: StringFieldUpdateOperationsInput | string
34152
35530
  roomReplyReminderCount?: IntFieldUpdateOperationsInput | number
34153
35531
  nextRoomReplyReminderAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35532
+ lastHeartbeatAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
35533
+ firstNudgeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
34154
35534
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
34155
35535
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
34156
35536
  }
@@ -34716,6 +36096,10 @@ export namespace Prisma {
34716
36096
  * @deprecated Use AppSettingsDefaultArgs instead
34717
36097
  */
34718
36098
  export type AppSettingsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = AppSettingsDefaultArgs<ExtArgs>
36099
+ /**
36100
+ * @deprecated Use AccessAuthSettingsDefaultArgs instead
36101
+ */
36102
+ export type AccessAuthSettingsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = AccessAuthSettingsDefaultArgs<ExtArgs>
34719
36103
  /**
34720
36104
  * @deprecated Use NotificationSettingsDefaultArgs instead
34721
36105
  */