@trycompai/db 1.3.22 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (269) hide show
  1. package/dist/client.d.ts +2 -2
  2. package/dist/client.d.ts.map +1 -1
  3. package/dist/client.js +4 -5
  4. package/dist/client.ts +5 -2
  5. package/dist/generated/prisma/client.d.ts +427 -0
  6. package/dist/generated/prisma/client.d.ts.map +1 -0
  7. package/dist/generated/prisma/client.js +73 -0
  8. package/dist/generated/prisma/commonInputTypes.d.ts +2082 -0
  9. package/dist/generated/prisma/commonInputTypes.d.ts.map +1 -0
  10. package/dist/generated/prisma/commonInputTypes.js +11 -0
  11. package/dist/generated/prisma/enums.d.ts +367 -0
  12. package/dist/generated/prisma/enums.d.ts.map +1 -0
  13. package/dist/generated/prisma/enums.js +329 -0
  14. package/dist/generated/prisma/internal/class.d.ts +1000 -0
  15. package/dist/generated/prisma/internal/class.d.ts.map +1 -0
  16. package/dist/generated/prisma/internal/class.js +87 -0
  17. package/dist/generated/prisma/internal/prismaNamespace.d.ts +8063 -0
  18. package/dist/generated/prisma/internal/prismaNamespace.d.ts.map +1 -0
  19. package/dist/generated/prisma/internal/prismaNamespace.js +1256 -0
  20. package/dist/generated/prisma/models/Account.d.ts +1456 -0
  21. package/dist/generated/prisma/models/Account.d.ts.map +1 -0
  22. package/dist/generated/prisma/models/Account.js +2 -0
  23. package/dist/generated/prisma/models/ApiKey.d.ts +1387 -0
  24. package/dist/generated/prisma/models/ApiKey.d.ts.map +1 -0
  25. package/dist/generated/prisma/models/ApiKey.js +2 -0
  26. package/dist/generated/prisma/models/Attachment.d.ts +1520 -0
  27. package/dist/generated/prisma/models/Attachment.d.ts.map +1 -0
  28. package/dist/generated/prisma/models/Attachment.js +2 -0
  29. package/dist/generated/prisma/models/AuditLog.d.ts +1590 -0
  30. package/dist/generated/prisma/models/AuditLog.d.ts.map +1 -0
  31. package/dist/generated/prisma/models/AuditLog.js +2 -0
  32. package/dist/generated/prisma/models/BrowserAutomation.d.ts +1507 -0
  33. package/dist/generated/prisma/models/BrowserAutomation.d.ts.map +1 -0
  34. package/dist/generated/prisma/models/BrowserAutomation.js +2 -0
  35. package/dist/generated/prisma/models/BrowserAutomationRun.d.ts +1455 -0
  36. package/dist/generated/prisma/models/BrowserAutomationRun.d.ts.map +1 -0
  37. package/dist/generated/prisma/models/BrowserAutomationRun.js +2 -0
  38. package/dist/generated/prisma/models/BrowserbaseContext.d.ts +1139 -0
  39. package/dist/generated/prisma/models/BrowserbaseContext.d.ts.map +1 -0
  40. package/dist/generated/prisma/models/BrowserbaseContext.js +2 -0
  41. package/dist/generated/prisma/models/Comment.d.ts +1502 -0
  42. package/dist/generated/prisma/models/Comment.d.ts.map +1 -0
  43. package/dist/generated/prisma/models/Comment.js +2 -0
  44. package/dist/generated/prisma/models/Context.d.ts +1254 -0
  45. package/dist/generated/prisma/models/Context.d.ts.map +1 -0
  46. package/dist/generated/prisma/models/Context.js +2 -0
  47. package/dist/generated/prisma/models/Control.d.ts +1965 -0
  48. package/dist/generated/prisma/models/Control.d.ts.map +1 -0
  49. package/dist/generated/prisma/models/Control.js +2 -0
  50. package/dist/generated/prisma/models/ControlDocumentType.d.ts +1115 -0
  51. package/dist/generated/prisma/models/ControlDocumentType.d.ts.map +1 -0
  52. package/dist/generated/prisma/models/ControlDocumentType.js +2 -0
  53. package/dist/generated/prisma/models/Device.d.ts +1858 -0
  54. package/dist/generated/prisma/models/Device.d.ts.map +1 -0
  55. package/dist/generated/prisma/models/Device.js +2 -0
  56. package/dist/generated/prisma/models/DynamicCheck.d.ts +1517 -0
  57. package/dist/generated/prisma/models/DynamicCheck.d.ts.map +1 -0
  58. package/dist/generated/prisma/models/DynamicCheck.js +2 -0
  59. package/dist/generated/prisma/models/DynamicIntegration.d.ts +1528 -0
  60. package/dist/generated/prisma/models/DynamicIntegration.d.ts.map +1 -0
  61. package/dist/generated/prisma/models/DynamicIntegration.js +2 -0
  62. package/dist/generated/prisma/models/EmployeeTrainingVideoCompletion.d.ts +1146 -0
  63. package/dist/generated/prisma/models/EmployeeTrainingVideoCompletion.d.ts.map +1 -0
  64. package/dist/generated/prisma/models/EmployeeTrainingVideoCompletion.js +2 -0
  65. package/dist/generated/prisma/models/EvidenceAutomation.d.ts +1533 -0
  66. package/dist/generated/prisma/models/EvidenceAutomation.d.ts.map +1 -0
  67. package/dist/generated/prisma/models/EvidenceAutomation.js +2 -0
  68. package/dist/generated/prisma/models/EvidenceAutomationRun.d.ts +1833 -0
  69. package/dist/generated/prisma/models/EvidenceAutomationRun.d.ts.map +1 -0
  70. package/dist/generated/prisma/models/EvidenceAutomationRun.js +2 -0
  71. package/dist/generated/prisma/models/EvidenceAutomationVersion.d.ts +1331 -0
  72. package/dist/generated/prisma/models/EvidenceAutomationVersion.d.ts.map +1 -0
  73. package/dist/generated/prisma/models/EvidenceAutomationVersion.js +2 -0
  74. package/dist/generated/prisma/models/EvidenceSubmission.d.ts +1905 -0
  75. package/dist/generated/prisma/models/EvidenceSubmission.d.ts.map +1 -0
  76. package/dist/generated/prisma/models/EvidenceSubmission.js +2 -0
  77. package/dist/generated/prisma/models/Finding.d.ts +2386 -0
  78. package/dist/generated/prisma/models/Finding.d.ts.map +1 -0
  79. package/dist/generated/prisma/models/Finding.js +2 -0
  80. package/dist/generated/prisma/models/FindingTemplate.d.ts +1264 -0
  81. package/dist/generated/prisma/models/FindingTemplate.d.ts.map +1 -0
  82. package/dist/generated/prisma/models/FindingTemplate.js +2 -0
  83. package/dist/generated/prisma/models/FleetPolicyResult.d.ts +1484 -0
  84. package/dist/generated/prisma/models/FleetPolicyResult.d.ts.map +1 -0
  85. package/dist/generated/prisma/models/FleetPolicyResult.js +2 -0
  86. package/dist/generated/prisma/models/FrameworkEditorControlTemplate.d.ts +1669 -0
  87. package/dist/generated/prisma/models/FrameworkEditorControlTemplate.d.ts.map +1 -0
  88. package/dist/generated/prisma/models/FrameworkEditorControlTemplate.js +2 -0
  89. package/dist/generated/prisma/models/FrameworkEditorFramework.d.ts +1581 -0
  90. package/dist/generated/prisma/models/FrameworkEditorFramework.d.ts.map +1 -0
  91. package/dist/generated/prisma/models/FrameworkEditorFramework.js +2 -0
  92. package/dist/generated/prisma/models/FrameworkEditorPolicyTemplate.d.ts +1428 -0
  93. package/dist/generated/prisma/models/FrameworkEditorPolicyTemplate.d.ts.map +1 -0
  94. package/dist/generated/prisma/models/FrameworkEditorPolicyTemplate.js +2 -0
  95. package/dist/generated/prisma/models/FrameworkEditorRequirement.d.ts +1525 -0
  96. package/dist/generated/prisma/models/FrameworkEditorRequirement.d.ts.map +1 -0
  97. package/dist/generated/prisma/models/FrameworkEditorRequirement.js +2 -0
  98. package/dist/generated/prisma/models/FrameworkEditorTaskTemplate.d.ts +1434 -0
  99. package/dist/generated/prisma/models/FrameworkEditorTaskTemplate.d.ts.map +1 -0
  100. package/dist/generated/prisma/models/FrameworkEditorTaskTemplate.js +2 -0
  101. package/dist/generated/prisma/models/FrameworkEditorVideo.d.ts +1054 -0
  102. package/dist/generated/prisma/models/FrameworkEditorVideo.d.ts.map +1 -0
  103. package/dist/generated/prisma/models/FrameworkEditorVideo.js +2 -0
  104. package/dist/generated/prisma/models/FrameworkInstance.d.ts +1321 -0
  105. package/dist/generated/prisma/models/FrameworkInstance.d.ts.map +1 -0
  106. package/dist/generated/prisma/models/FrameworkInstance.js +2 -0
  107. package/dist/generated/prisma/models/GlobalVendors.d.ts +1358 -0
  108. package/dist/generated/prisma/models/GlobalVendors.d.ts.map +1 -0
  109. package/dist/generated/prisma/models/GlobalVendors.js +2 -0
  110. package/dist/generated/prisma/models/Integration.d.ts +1363 -0
  111. package/dist/generated/prisma/models/Integration.d.ts.map +1 -0
  112. package/dist/generated/prisma/models/Integration.js +2 -0
  113. package/dist/generated/prisma/models/IntegrationCheckResult.d.ts +1408 -0
  114. package/dist/generated/prisma/models/IntegrationCheckResult.d.ts.map +1 -0
  115. package/dist/generated/prisma/models/IntegrationCheckResult.js +2 -0
  116. package/dist/generated/prisma/models/IntegrationCheckRun.d.ts +1958 -0
  117. package/dist/generated/prisma/models/IntegrationCheckRun.d.ts.map +1 -0
  118. package/dist/generated/prisma/models/IntegrationCheckRun.js +2 -0
  119. package/dist/generated/prisma/models/IntegrationConnection.d.ts +2472 -0
  120. package/dist/generated/prisma/models/IntegrationConnection.d.ts.map +1 -0
  121. package/dist/generated/prisma/models/IntegrationConnection.js +2 -0
  122. package/dist/generated/prisma/models/IntegrationCredentialVersion.d.ts +1298 -0
  123. package/dist/generated/prisma/models/IntegrationCredentialVersion.d.ts.map +1 -0
  124. package/dist/generated/prisma/models/IntegrationCredentialVersion.js +2 -0
  125. package/dist/generated/prisma/models/IntegrationOAuthApp.d.ts +1362 -0
  126. package/dist/generated/prisma/models/IntegrationOAuthApp.d.ts.map +1 -0
  127. package/dist/generated/prisma/models/IntegrationOAuthApp.js +2 -0
  128. package/dist/generated/prisma/models/IntegrationOAuthState.d.ts +1131 -0
  129. package/dist/generated/prisma/models/IntegrationOAuthState.d.ts.map +1 -0
  130. package/dist/generated/prisma/models/IntegrationOAuthState.js +2 -0
  131. package/dist/generated/prisma/models/IntegrationPlatformCredential.d.ts +1237 -0
  132. package/dist/generated/prisma/models/IntegrationPlatformCredential.d.ts.map +1 -0
  133. package/dist/generated/prisma/models/IntegrationPlatformCredential.js +2 -0
  134. package/dist/generated/prisma/models/IntegrationPlatformFinding.d.ts +1652 -0
  135. package/dist/generated/prisma/models/IntegrationPlatformFinding.d.ts.map +1 -0
  136. package/dist/generated/prisma/models/IntegrationPlatformFinding.js +2 -0
  137. package/dist/generated/prisma/models/IntegrationProvider.d.ts +1300 -0
  138. package/dist/generated/prisma/models/IntegrationProvider.d.ts.map +1 -0
  139. package/dist/generated/prisma/models/IntegrationProvider.js +2 -0
  140. package/dist/generated/prisma/models/IntegrationResult.d.ts +1539 -0
  141. package/dist/generated/prisma/models/IntegrationResult.d.ts.map +1 -0
  142. package/dist/generated/prisma/models/IntegrationResult.js +2 -0
  143. package/dist/generated/prisma/models/IntegrationRun.d.ts +1596 -0
  144. package/dist/generated/prisma/models/IntegrationRun.d.ts.map +1 -0
  145. package/dist/generated/prisma/models/IntegrationRun.js +2 -0
  146. package/dist/generated/prisma/models/IntegrationSyncLog.d.ts +1716 -0
  147. package/dist/generated/prisma/models/IntegrationSyncLog.d.ts.map +1 -0
  148. package/dist/generated/prisma/models/IntegrationSyncLog.js +2 -0
  149. package/dist/generated/prisma/models/Invitation.d.ts +1404 -0
  150. package/dist/generated/prisma/models/Invitation.d.ts.map +1 -0
  151. package/dist/generated/prisma/models/Invitation.js +2 -0
  152. package/dist/generated/prisma/models/Jwks.d.ts +998 -0
  153. package/dist/generated/prisma/models/Jwks.d.ts.map +1 -0
  154. package/dist/generated/prisma/models/Jwks.js +2 -0
  155. package/dist/generated/prisma/models/KnowledgeBaseDocument.d.ts +1463 -0
  156. package/dist/generated/prisma/models/KnowledgeBaseDocument.d.ts.map +1 -0
  157. package/dist/generated/prisma/models/KnowledgeBaseDocument.js +2 -0
  158. package/dist/generated/prisma/models/Member.d.ts +5530 -0
  159. package/dist/generated/prisma/models/Member.d.ts.map +1 -0
  160. package/dist/generated/prisma/models/Member.js +2 -0
  161. package/dist/generated/prisma/models/Onboarding.d.ts +1376 -0
  162. package/dist/generated/prisma/models/Onboarding.d.ts.map +1 -0
  163. package/dist/generated/prisma/models/Onboarding.js +2 -0
  164. package/dist/generated/prisma/models/Organization.d.ts +14367 -0
  165. package/dist/generated/prisma/models/Organization.d.ts.map +1 -0
  166. package/dist/generated/prisma/models/Organization.js +2 -0
  167. package/dist/generated/prisma/models/OrganizationBilling.d.ts +1222 -0
  168. package/dist/generated/prisma/models/OrganizationBilling.d.ts.map +1 -0
  169. package/dist/generated/prisma/models/OrganizationBilling.js +2 -0
  170. package/dist/generated/prisma/models/OrganizationChart.d.ts +1248 -0
  171. package/dist/generated/prisma/models/OrganizationChart.d.ts.map +1 -0
  172. package/dist/generated/prisma/models/OrganizationChart.js +2 -0
  173. package/dist/generated/prisma/models/OrganizationRole.d.ts +1251 -0
  174. package/dist/generated/prisma/models/OrganizationRole.d.ts.map +1 -0
  175. package/dist/generated/prisma/models/OrganizationRole.js +2 -0
  176. package/dist/generated/prisma/models/PentestSubscription.d.ts +1497 -0
  177. package/dist/generated/prisma/models/PentestSubscription.d.ts.map +1 -0
  178. package/dist/generated/prisma/models/PentestSubscription.js +2 -0
  179. package/dist/generated/prisma/models/Policy.d.ts +3356 -0
  180. package/dist/generated/prisma/models/Policy.d.ts.map +1 -0
  181. package/dist/generated/prisma/models/Policy.js +2 -0
  182. package/dist/generated/prisma/models/PolicyVersion.d.ts +1619 -0
  183. package/dist/generated/prisma/models/PolicyVersion.d.ts.map +1 -0
  184. package/dist/generated/prisma/models/PolicyVersion.js +2 -0
  185. package/dist/generated/prisma/models/Questionnaire.d.ts +1808 -0
  186. package/dist/generated/prisma/models/Questionnaire.d.ts.map +1 -0
  187. package/dist/generated/prisma/models/Questionnaire.js +2 -0
  188. package/dist/generated/prisma/models/QuestionnaireQuestionAnswer.d.ts +1422 -0
  189. package/dist/generated/prisma/models/QuestionnaireQuestionAnswer.d.ts.map +1 -0
  190. package/dist/generated/prisma/models/QuestionnaireQuestionAnswer.js +2 -0
  191. package/dist/generated/prisma/models/RequirementMap.d.ts +1345 -0
  192. package/dist/generated/prisma/models/RequirementMap.d.ts.map +1 -0
  193. package/dist/generated/prisma/models/RequirementMap.js +2 -0
  194. package/dist/generated/prisma/models/Risk.d.ts +1975 -0
  195. package/dist/generated/prisma/models/Risk.d.ts.map +1 -0
  196. package/dist/generated/prisma/models/Risk.js +2 -0
  197. package/dist/generated/prisma/models/RoleNotificationSetting.d.ts +1391 -0
  198. package/dist/generated/prisma/models/RoleNotificationSetting.d.ts.map +1 -0
  199. package/dist/generated/prisma/models/RoleNotificationSetting.js +2 -0
  200. package/dist/generated/prisma/models/SOAAnswer.d.ts +1498 -0
  201. package/dist/generated/prisma/models/SOAAnswer.d.ts.map +1 -0
  202. package/dist/generated/prisma/models/SOAAnswer.js +2 -0
  203. package/dist/generated/prisma/models/SOADocument.d.ts +2272 -0
  204. package/dist/generated/prisma/models/SOADocument.d.ts.map +1 -0
  205. package/dist/generated/prisma/models/SOADocument.js +2 -0
  206. package/dist/generated/prisma/models/SOAFrameworkConfiguration.d.ts +1445 -0
  207. package/dist/generated/prisma/models/SOAFrameworkConfiguration.d.ts.map +1 -0
  208. package/dist/generated/prisma/models/SOAFrameworkConfiguration.js +2 -0
  209. package/dist/generated/prisma/models/Secret.d.ts +1321 -0
  210. package/dist/generated/prisma/models/Secret.d.ts.map +1 -0
  211. package/dist/generated/prisma/models/Secret.js +2 -0
  212. package/dist/generated/prisma/models/SecurityPenetrationTestRun.d.ts +1176 -0
  213. package/dist/generated/prisma/models/SecurityPenetrationTestRun.d.ts.map +1 -0
  214. package/dist/generated/prisma/models/SecurityPenetrationTestRun.js +2 -0
  215. package/dist/generated/prisma/models/SecurityQuestionnaireManualAnswer.d.ts +1510 -0
  216. package/dist/generated/prisma/models/SecurityQuestionnaireManualAnswer.d.ts.map +1 -0
  217. package/dist/generated/prisma/models/SecurityQuestionnaireManualAnswer.js +2 -0
  218. package/dist/generated/prisma/models/Session.d.ts +1351 -0
  219. package/dist/generated/prisma/models/Session.d.ts.map +1 -0
  220. package/dist/generated/prisma/models/Session.js +2 -0
  221. package/dist/generated/prisma/models/Task.d.ts +3980 -0
  222. package/dist/generated/prisma/models/Task.d.ts.map +1 -0
  223. package/dist/generated/prisma/models/Task.js +2 -0
  224. package/dist/generated/prisma/models/TaskItem.d.ts +1961 -0
  225. package/dist/generated/prisma/models/TaskItem.d.ts.map +1 -0
  226. package/dist/generated/prisma/models/TaskItem.js +2 -0
  227. package/dist/generated/prisma/models/Trust.d.ts +2242 -0
  228. package/dist/generated/prisma/models/Trust.d.ts.map +1 -0
  229. package/dist/generated/prisma/models/Trust.js +2 -0
  230. package/dist/generated/prisma/models/TrustAccessGrant.d.ts +1888 -0
  231. package/dist/generated/prisma/models/TrustAccessGrant.d.ts.map +1 -0
  232. package/dist/generated/prisma/models/TrustAccessGrant.js +2 -0
  233. package/dist/generated/prisma/models/TrustAccessRequest.d.ts +2103 -0
  234. package/dist/generated/prisma/models/TrustAccessRequest.d.ts.map +1 -0
  235. package/dist/generated/prisma/models/TrustAccessRequest.js +2 -0
  236. package/dist/generated/prisma/models/TrustCustomLink.d.ts +1354 -0
  237. package/dist/generated/prisma/models/TrustCustomLink.d.ts.map +1 -0
  238. package/dist/generated/prisma/models/TrustCustomLink.js +2 -0
  239. package/dist/generated/prisma/models/TrustDocument.d.ts +1281 -0
  240. package/dist/generated/prisma/models/TrustDocument.d.ts.map +1 -0
  241. package/dist/generated/prisma/models/TrustDocument.js +2 -0
  242. package/dist/generated/prisma/models/TrustNDAAgreement.d.ts +1877 -0
  243. package/dist/generated/prisma/models/TrustNDAAgreement.d.ts.map +1 -0
  244. package/dist/generated/prisma/models/TrustNDAAgreement.js +2 -0
  245. package/dist/generated/prisma/models/TrustResource.d.ts +1328 -0
  246. package/dist/generated/prisma/models/TrustResource.d.ts.map +1 -0
  247. package/dist/generated/prisma/models/TrustResource.js +2 -0
  248. package/dist/generated/prisma/models/User.d.ts +3070 -0
  249. package/dist/generated/prisma/models/User.d.ts.map +1 -0
  250. package/dist/generated/prisma/models/User.js +2 -0
  251. package/dist/generated/prisma/models/Vendor.d.ts +2307 -0
  252. package/dist/generated/prisma/models/Vendor.d.ts.map +1 -0
  253. package/dist/generated/prisma/models/Vendor.js +2 -0
  254. package/dist/generated/prisma/models/VendorContact.d.ts +1246 -0
  255. package/dist/generated/prisma/models/VendorContact.d.ts.map +1 -0
  256. package/dist/generated/prisma/models/VendorContact.js +2 -0
  257. package/dist/generated/prisma/models/Verification.d.ts +1026 -0
  258. package/dist/generated/prisma/models/Verification.d.ts.map +1 -0
  259. package/dist/generated/prisma/models/Verification.js +2 -0
  260. package/dist/generated/prisma/models.d.ts +82 -0
  261. package/dist/generated/prisma/models.d.ts.map +1 -0
  262. package/dist/generated/prisma/models.js +2 -0
  263. package/dist/index.d.ts +0 -1
  264. package/dist/index.d.ts.map +1 -1
  265. package/dist/index.js +0 -3
  266. package/dist/index.ts +1 -2
  267. package/dist/postinstall.js +1 -1
  268. package/dist/schema.prisma +455 -39
  269. package/package.json +56 -55
@@ -0,0 +1,1533 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model EvidenceAutomation
5
+ *
6
+ */
7
+ export type EvidenceAutomationModel = runtime.Types.Result.DefaultSelection<Prisma.$EvidenceAutomationPayload>;
8
+ export type AggregateEvidenceAutomation = {
9
+ _count: EvidenceAutomationCountAggregateOutputType | null;
10
+ _min: EvidenceAutomationMinAggregateOutputType | null;
11
+ _max: EvidenceAutomationMaxAggregateOutputType | null;
12
+ };
13
+ export type EvidenceAutomationMinAggregateOutputType = {
14
+ id: string | null;
15
+ name: string | null;
16
+ description: string | null;
17
+ createdAt: Date | null;
18
+ isEnabled: boolean | null;
19
+ chatHistory: string | null;
20
+ evaluationCriteria: string | null;
21
+ taskId: string | null;
22
+ };
23
+ export type EvidenceAutomationMaxAggregateOutputType = {
24
+ id: string | null;
25
+ name: string | null;
26
+ description: string | null;
27
+ createdAt: Date | null;
28
+ isEnabled: boolean | null;
29
+ chatHistory: string | null;
30
+ evaluationCriteria: string | null;
31
+ taskId: string | null;
32
+ };
33
+ export type EvidenceAutomationCountAggregateOutputType = {
34
+ id: number;
35
+ name: number;
36
+ description: number;
37
+ createdAt: number;
38
+ isEnabled: number;
39
+ chatHistory: number;
40
+ evaluationCriteria: number;
41
+ taskId: number;
42
+ _all: number;
43
+ };
44
+ export type EvidenceAutomationMinAggregateInputType = {
45
+ id?: true;
46
+ name?: true;
47
+ description?: true;
48
+ createdAt?: true;
49
+ isEnabled?: true;
50
+ chatHistory?: true;
51
+ evaluationCriteria?: true;
52
+ taskId?: true;
53
+ };
54
+ export type EvidenceAutomationMaxAggregateInputType = {
55
+ id?: true;
56
+ name?: true;
57
+ description?: true;
58
+ createdAt?: true;
59
+ isEnabled?: true;
60
+ chatHistory?: true;
61
+ evaluationCriteria?: true;
62
+ taskId?: true;
63
+ };
64
+ export type EvidenceAutomationCountAggregateInputType = {
65
+ id?: true;
66
+ name?: true;
67
+ description?: true;
68
+ createdAt?: true;
69
+ isEnabled?: true;
70
+ chatHistory?: true;
71
+ evaluationCriteria?: true;
72
+ taskId?: true;
73
+ _all?: true;
74
+ };
75
+ export type EvidenceAutomationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
76
+ /**
77
+ * Filter which EvidenceAutomation to aggregate.
78
+ */
79
+ where?: Prisma.EvidenceAutomationWhereInput;
80
+ /**
81
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
82
+ *
83
+ * Determine the order of EvidenceAutomations to fetch.
84
+ */
85
+ orderBy?: Prisma.EvidenceAutomationOrderByWithRelationInput | Prisma.EvidenceAutomationOrderByWithRelationInput[];
86
+ /**
87
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
88
+ *
89
+ * Sets the start position
90
+ */
91
+ cursor?: Prisma.EvidenceAutomationWhereUniqueInput;
92
+ /**
93
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
94
+ *
95
+ * Take `±n` EvidenceAutomations from the position of the cursor.
96
+ */
97
+ take?: number;
98
+ /**
99
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
100
+ *
101
+ * Skip the first `n` EvidenceAutomations.
102
+ */
103
+ skip?: number;
104
+ /**
105
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
106
+ *
107
+ * Count returned EvidenceAutomations
108
+ **/
109
+ _count?: true | EvidenceAutomationCountAggregateInputType;
110
+ /**
111
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
112
+ *
113
+ * Select which fields to find the minimum value
114
+ **/
115
+ _min?: EvidenceAutomationMinAggregateInputType;
116
+ /**
117
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
118
+ *
119
+ * Select which fields to find the maximum value
120
+ **/
121
+ _max?: EvidenceAutomationMaxAggregateInputType;
122
+ };
123
+ export type GetEvidenceAutomationAggregateType<T extends EvidenceAutomationAggregateArgs> = {
124
+ [P in keyof T & keyof AggregateEvidenceAutomation]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateEvidenceAutomation[P]> : Prisma.GetScalarType<T[P], AggregateEvidenceAutomation[P]>;
125
+ };
126
+ export type EvidenceAutomationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
127
+ where?: Prisma.EvidenceAutomationWhereInput;
128
+ orderBy?: Prisma.EvidenceAutomationOrderByWithAggregationInput | Prisma.EvidenceAutomationOrderByWithAggregationInput[];
129
+ by: Prisma.EvidenceAutomationScalarFieldEnum[] | Prisma.EvidenceAutomationScalarFieldEnum;
130
+ having?: Prisma.EvidenceAutomationScalarWhereWithAggregatesInput;
131
+ take?: number;
132
+ skip?: number;
133
+ _count?: EvidenceAutomationCountAggregateInputType | true;
134
+ _min?: EvidenceAutomationMinAggregateInputType;
135
+ _max?: EvidenceAutomationMaxAggregateInputType;
136
+ };
137
+ export type EvidenceAutomationGroupByOutputType = {
138
+ id: string;
139
+ name: string;
140
+ description: string | null;
141
+ createdAt: Date;
142
+ isEnabled: boolean;
143
+ chatHistory: string | null;
144
+ evaluationCriteria: string | null;
145
+ taskId: string;
146
+ _count: EvidenceAutomationCountAggregateOutputType | null;
147
+ _min: EvidenceAutomationMinAggregateOutputType | null;
148
+ _max: EvidenceAutomationMaxAggregateOutputType | null;
149
+ };
150
+ export type GetEvidenceAutomationGroupByPayload<T extends EvidenceAutomationGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<EvidenceAutomationGroupByOutputType, T['by']> & {
151
+ [P in ((keyof T) & (keyof EvidenceAutomationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], EvidenceAutomationGroupByOutputType[P]> : Prisma.GetScalarType<T[P], EvidenceAutomationGroupByOutputType[P]>;
152
+ }>>;
153
+ export type EvidenceAutomationWhereInput = {
154
+ AND?: Prisma.EvidenceAutomationWhereInput | Prisma.EvidenceAutomationWhereInput[];
155
+ OR?: Prisma.EvidenceAutomationWhereInput[];
156
+ NOT?: Prisma.EvidenceAutomationWhereInput | Prisma.EvidenceAutomationWhereInput[];
157
+ id?: Prisma.StringFilter<"EvidenceAutomation"> | string;
158
+ name?: Prisma.StringFilter<"EvidenceAutomation"> | string;
159
+ description?: Prisma.StringNullableFilter<"EvidenceAutomation"> | string | null;
160
+ createdAt?: Prisma.DateTimeFilter<"EvidenceAutomation"> | Date | string;
161
+ isEnabled?: Prisma.BoolFilter<"EvidenceAutomation"> | boolean;
162
+ chatHistory?: Prisma.StringNullableFilter<"EvidenceAutomation"> | string | null;
163
+ evaluationCriteria?: Prisma.StringNullableFilter<"EvidenceAutomation"> | string | null;
164
+ taskId?: Prisma.StringFilter<"EvidenceAutomation"> | string;
165
+ task?: Prisma.XOR<Prisma.TaskScalarRelationFilter, Prisma.TaskWhereInput>;
166
+ runs?: Prisma.EvidenceAutomationRunListRelationFilter;
167
+ versions?: Prisma.EvidenceAutomationVersionListRelationFilter;
168
+ };
169
+ export type EvidenceAutomationOrderByWithRelationInput = {
170
+ id?: Prisma.SortOrder;
171
+ name?: Prisma.SortOrder;
172
+ description?: Prisma.SortOrderInput | Prisma.SortOrder;
173
+ createdAt?: Prisma.SortOrder;
174
+ isEnabled?: Prisma.SortOrder;
175
+ chatHistory?: Prisma.SortOrderInput | Prisma.SortOrder;
176
+ evaluationCriteria?: Prisma.SortOrderInput | Prisma.SortOrder;
177
+ taskId?: Prisma.SortOrder;
178
+ task?: Prisma.TaskOrderByWithRelationInput;
179
+ runs?: Prisma.EvidenceAutomationRunOrderByRelationAggregateInput;
180
+ versions?: Prisma.EvidenceAutomationVersionOrderByRelationAggregateInput;
181
+ };
182
+ export type EvidenceAutomationWhereUniqueInput = Prisma.AtLeast<{
183
+ id?: string;
184
+ AND?: Prisma.EvidenceAutomationWhereInput | Prisma.EvidenceAutomationWhereInput[];
185
+ OR?: Prisma.EvidenceAutomationWhereInput[];
186
+ NOT?: Prisma.EvidenceAutomationWhereInput | Prisma.EvidenceAutomationWhereInput[];
187
+ name?: Prisma.StringFilter<"EvidenceAutomation"> | string;
188
+ description?: Prisma.StringNullableFilter<"EvidenceAutomation"> | string | null;
189
+ createdAt?: Prisma.DateTimeFilter<"EvidenceAutomation"> | Date | string;
190
+ isEnabled?: Prisma.BoolFilter<"EvidenceAutomation"> | boolean;
191
+ chatHistory?: Prisma.StringNullableFilter<"EvidenceAutomation"> | string | null;
192
+ evaluationCriteria?: Prisma.StringNullableFilter<"EvidenceAutomation"> | string | null;
193
+ taskId?: Prisma.StringFilter<"EvidenceAutomation"> | string;
194
+ task?: Prisma.XOR<Prisma.TaskScalarRelationFilter, Prisma.TaskWhereInput>;
195
+ runs?: Prisma.EvidenceAutomationRunListRelationFilter;
196
+ versions?: Prisma.EvidenceAutomationVersionListRelationFilter;
197
+ }, "id">;
198
+ export type EvidenceAutomationOrderByWithAggregationInput = {
199
+ id?: Prisma.SortOrder;
200
+ name?: Prisma.SortOrder;
201
+ description?: Prisma.SortOrderInput | Prisma.SortOrder;
202
+ createdAt?: Prisma.SortOrder;
203
+ isEnabled?: Prisma.SortOrder;
204
+ chatHistory?: Prisma.SortOrderInput | Prisma.SortOrder;
205
+ evaluationCriteria?: Prisma.SortOrderInput | Prisma.SortOrder;
206
+ taskId?: Prisma.SortOrder;
207
+ _count?: Prisma.EvidenceAutomationCountOrderByAggregateInput;
208
+ _max?: Prisma.EvidenceAutomationMaxOrderByAggregateInput;
209
+ _min?: Prisma.EvidenceAutomationMinOrderByAggregateInput;
210
+ };
211
+ export type EvidenceAutomationScalarWhereWithAggregatesInput = {
212
+ AND?: Prisma.EvidenceAutomationScalarWhereWithAggregatesInput | Prisma.EvidenceAutomationScalarWhereWithAggregatesInput[];
213
+ OR?: Prisma.EvidenceAutomationScalarWhereWithAggregatesInput[];
214
+ NOT?: Prisma.EvidenceAutomationScalarWhereWithAggregatesInput | Prisma.EvidenceAutomationScalarWhereWithAggregatesInput[];
215
+ id?: Prisma.StringWithAggregatesFilter<"EvidenceAutomation"> | string;
216
+ name?: Prisma.StringWithAggregatesFilter<"EvidenceAutomation"> | string;
217
+ description?: Prisma.StringNullableWithAggregatesFilter<"EvidenceAutomation"> | string | null;
218
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"EvidenceAutomation"> | Date | string;
219
+ isEnabled?: Prisma.BoolWithAggregatesFilter<"EvidenceAutomation"> | boolean;
220
+ chatHistory?: Prisma.StringNullableWithAggregatesFilter<"EvidenceAutomation"> | string | null;
221
+ evaluationCriteria?: Prisma.StringNullableWithAggregatesFilter<"EvidenceAutomation"> | string | null;
222
+ taskId?: Prisma.StringWithAggregatesFilter<"EvidenceAutomation"> | string;
223
+ };
224
+ export type EvidenceAutomationCreateInput = {
225
+ id?: string;
226
+ name: string;
227
+ description?: string | null;
228
+ createdAt?: Date | string;
229
+ isEnabled?: boolean;
230
+ chatHistory?: string | null;
231
+ evaluationCriteria?: string | null;
232
+ task: Prisma.TaskCreateNestedOneWithoutEvidenceAutomationsInput;
233
+ runs?: Prisma.EvidenceAutomationRunCreateNestedManyWithoutEvidenceAutomationInput;
234
+ versions?: Prisma.EvidenceAutomationVersionCreateNestedManyWithoutEvidenceAutomationInput;
235
+ };
236
+ export type EvidenceAutomationUncheckedCreateInput = {
237
+ id?: string;
238
+ name: string;
239
+ description?: string | null;
240
+ createdAt?: Date | string;
241
+ isEnabled?: boolean;
242
+ chatHistory?: string | null;
243
+ evaluationCriteria?: string | null;
244
+ taskId: string;
245
+ runs?: Prisma.EvidenceAutomationRunUncheckedCreateNestedManyWithoutEvidenceAutomationInput;
246
+ versions?: Prisma.EvidenceAutomationVersionUncheckedCreateNestedManyWithoutEvidenceAutomationInput;
247
+ };
248
+ export type EvidenceAutomationUpdateInput = {
249
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
250
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
251
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
252
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
253
+ isEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
254
+ chatHistory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
255
+ evaluationCriteria?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
256
+ task?: Prisma.TaskUpdateOneRequiredWithoutEvidenceAutomationsNestedInput;
257
+ runs?: Prisma.EvidenceAutomationRunUpdateManyWithoutEvidenceAutomationNestedInput;
258
+ versions?: Prisma.EvidenceAutomationVersionUpdateManyWithoutEvidenceAutomationNestedInput;
259
+ };
260
+ export type EvidenceAutomationUncheckedUpdateInput = {
261
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
262
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
263
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
264
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
265
+ isEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
266
+ chatHistory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
267
+ evaluationCriteria?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
268
+ taskId?: Prisma.StringFieldUpdateOperationsInput | string;
269
+ runs?: Prisma.EvidenceAutomationRunUncheckedUpdateManyWithoutEvidenceAutomationNestedInput;
270
+ versions?: Prisma.EvidenceAutomationVersionUncheckedUpdateManyWithoutEvidenceAutomationNestedInput;
271
+ };
272
+ export type EvidenceAutomationCreateManyInput = {
273
+ id?: string;
274
+ name: string;
275
+ description?: string | null;
276
+ createdAt?: Date | string;
277
+ isEnabled?: boolean;
278
+ chatHistory?: string | null;
279
+ evaluationCriteria?: string | null;
280
+ taskId: string;
281
+ };
282
+ export type EvidenceAutomationUpdateManyMutationInput = {
283
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
284
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
285
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
286
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
287
+ isEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
288
+ chatHistory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
289
+ evaluationCriteria?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
290
+ };
291
+ export type EvidenceAutomationUncheckedUpdateManyInput = {
292
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
293
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
294
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
295
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
296
+ isEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
297
+ chatHistory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
298
+ evaluationCriteria?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
299
+ taskId?: Prisma.StringFieldUpdateOperationsInput | string;
300
+ };
301
+ export type EvidenceAutomationScalarRelationFilter = {
302
+ is?: Prisma.EvidenceAutomationWhereInput;
303
+ isNot?: Prisma.EvidenceAutomationWhereInput;
304
+ };
305
+ export type EvidenceAutomationCountOrderByAggregateInput = {
306
+ id?: Prisma.SortOrder;
307
+ name?: Prisma.SortOrder;
308
+ description?: Prisma.SortOrder;
309
+ createdAt?: Prisma.SortOrder;
310
+ isEnabled?: Prisma.SortOrder;
311
+ chatHistory?: Prisma.SortOrder;
312
+ evaluationCriteria?: Prisma.SortOrder;
313
+ taskId?: Prisma.SortOrder;
314
+ };
315
+ export type EvidenceAutomationMaxOrderByAggregateInput = {
316
+ id?: Prisma.SortOrder;
317
+ name?: Prisma.SortOrder;
318
+ description?: Prisma.SortOrder;
319
+ createdAt?: Prisma.SortOrder;
320
+ isEnabled?: Prisma.SortOrder;
321
+ chatHistory?: Prisma.SortOrder;
322
+ evaluationCriteria?: Prisma.SortOrder;
323
+ taskId?: Prisma.SortOrder;
324
+ };
325
+ export type EvidenceAutomationMinOrderByAggregateInput = {
326
+ id?: Prisma.SortOrder;
327
+ name?: Prisma.SortOrder;
328
+ description?: Prisma.SortOrder;
329
+ createdAt?: Prisma.SortOrder;
330
+ isEnabled?: Prisma.SortOrder;
331
+ chatHistory?: Prisma.SortOrder;
332
+ evaluationCriteria?: Prisma.SortOrder;
333
+ taskId?: Prisma.SortOrder;
334
+ };
335
+ export type EvidenceAutomationListRelationFilter = {
336
+ every?: Prisma.EvidenceAutomationWhereInput;
337
+ some?: Prisma.EvidenceAutomationWhereInput;
338
+ none?: Prisma.EvidenceAutomationWhereInput;
339
+ };
340
+ export type EvidenceAutomationOrderByRelationAggregateInput = {
341
+ _count?: Prisma.SortOrder;
342
+ };
343
+ export type EvidenceAutomationCreateNestedOneWithoutRunsInput = {
344
+ create?: Prisma.XOR<Prisma.EvidenceAutomationCreateWithoutRunsInput, Prisma.EvidenceAutomationUncheckedCreateWithoutRunsInput>;
345
+ connectOrCreate?: Prisma.EvidenceAutomationCreateOrConnectWithoutRunsInput;
346
+ connect?: Prisma.EvidenceAutomationWhereUniqueInput;
347
+ };
348
+ export type EvidenceAutomationUpdateOneRequiredWithoutRunsNestedInput = {
349
+ create?: Prisma.XOR<Prisma.EvidenceAutomationCreateWithoutRunsInput, Prisma.EvidenceAutomationUncheckedCreateWithoutRunsInput>;
350
+ connectOrCreate?: Prisma.EvidenceAutomationCreateOrConnectWithoutRunsInput;
351
+ upsert?: Prisma.EvidenceAutomationUpsertWithoutRunsInput;
352
+ connect?: Prisma.EvidenceAutomationWhereUniqueInput;
353
+ update?: Prisma.XOR<Prisma.XOR<Prisma.EvidenceAutomationUpdateToOneWithWhereWithoutRunsInput, Prisma.EvidenceAutomationUpdateWithoutRunsInput>, Prisma.EvidenceAutomationUncheckedUpdateWithoutRunsInput>;
354
+ };
355
+ export type EvidenceAutomationCreateNestedOneWithoutVersionsInput = {
356
+ create?: Prisma.XOR<Prisma.EvidenceAutomationCreateWithoutVersionsInput, Prisma.EvidenceAutomationUncheckedCreateWithoutVersionsInput>;
357
+ connectOrCreate?: Prisma.EvidenceAutomationCreateOrConnectWithoutVersionsInput;
358
+ connect?: Prisma.EvidenceAutomationWhereUniqueInput;
359
+ };
360
+ export type EvidenceAutomationUpdateOneRequiredWithoutVersionsNestedInput = {
361
+ create?: Prisma.XOR<Prisma.EvidenceAutomationCreateWithoutVersionsInput, Prisma.EvidenceAutomationUncheckedCreateWithoutVersionsInput>;
362
+ connectOrCreate?: Prisma.EvidenceAutomationCreateOrConnectWithoutVersionsInput;
363
+ upsert?: Prisma.EvidenceAutomationUpsertWithoutVersionsInput;
364
+ connect?: Prisma.EvidenceAutomationWhereUniqueInput;
365
+ update?: Prisma.XOR<Prisma.XOR<Prisma.EvidenceAutomationUpdateToOneWithWhereWithoutVersionsInput, Prisma.EvidenceAutomationUpdateWithoutVersionsInput>, Prisma.EvidenceAutomationUncheckedUpdateWithoutVersionsInput>;
366
+ };
367
+ export type EvidenceAutomationCreateNestedManyWithoutTaskInput = {
368
+ create?: Prisma.XOR<Prisma.EvidenceAutomationCreateWithoutTaskInput, Prisma.EvidenceAutomationUncheckedCreateWithoutTaskInput> | Prisma.EvidenceAutomationCreateWithoutTaskInput[] | Prisma.EvidenceAutomationUncheckedCreateWithoutTaskInput[];
369
+ connectOrCreate?: Prisma.EvidenceAutomationCreateOrConnectWithoutTaskInput | Prisma.EvidenceAutomationCreateOrConnectWithoutTaskInput[];
370
+ createMany?: Prisma.EvidenceAutomationCreateManyTaskInputEnvelope;
371
+ connect?: Prisma.EvidenceAutomationWhereUniqueInput | Prisma.EvidenceAutomationWhereUniqueInput[];
372
+ };
373
+ export type EvidenceAutomationUncheckedCreateNestedManyWithoutTaskInput = {
374
+ create?: Prisma.XOR<Prisma.EvidenceAutomationCreateWithoutTaskInput, Prisma.EvidenceAutomationUncheckedCreateWithoutTaskInput> | Prisma.EvidenceAutomationCreateWithoutTaskInput[] | Prisma.EvidenceAutomationUncheckedCreateWithoutTaskInput[];
375
+ connectOrCreate?: Prisma.EvidenceAutomationCreateOrConnectWithoutTaskInput | Prisma.EvidenceAutomationCreateOrConnectWithoutTaskInput[];
376
+ createMany?: Prisma.EvidenceAutomationCreateManyTaskInputEnvelope;
377
+ connect?: Prisma.EvidenceAutomationWhereUniqueInput | Prisma.EvidenceAutomationWhereUniqueInput[];
378
+ };
379
+ export type EvidenceAutomationUpdateManyWithoutTaskNestedInput = {
380
+ create?: Prisma.XOR<Prisma.EvidenceAutomationCreateWithoutTaskInput, Prisma.EvidenceAutomationUncheckedCreateWithoutTaskInput> | Prisma.EvidenceAutomationCreateWithoutTaskInput[] | Prisma.EvidenceAutomationUncheckedCreateWithoutTaskInput[];
381
+ connectOrCreate?: Prisma.EvidenceAutomationCreateOrConnectWithoutTaskInput | Prisma.EvidenceAutomationCreateOrConnectWithoutTaskInput[];
382
+ upsert?: Prisma.EvidenceAutomationUpsertWithWhereUniqueWithoutTaskInput | Prisma.EvidenceAutomationUpsertWithWhereUniqueWithoutTaskInput[];
383
+ createMany?: Prisma.EvidenceAutomationCreateManyTaskInputEnvelope;
384
+ set?: Prisma.EvidenceAutomationWhereUniqueInput | Prisma.EvidenceAutomationWhereUniqueInput[];
385
+ disconnect?: Prisma.EvidenceAutomationWhereUniqueInput | Prisma.EvidenceAutomationWhereUniqueInput[];
386
+ delete?: Prisma.EvidenceAutomationWhereUniqueInput | Prisma.EvidenceAutomationWhereUniqueInput[];
387
+ connect?: Prisma.EvidenceAutomationWhereUniqueInput | Prisma.EvidenceAutomationWhereUniqueInput[];
388
+ update?: Prisma.EvidenceAutomationUpdateWithWhereUniqueWithoutTaskInput | Prisma.EvidenceAutomationUpdateWithWhereUniqueWithoutTaskInput[];
389
+ updateMany?: Prisma.EvidenceAutomationUpdateManyWithWhereWithoutTaskInput | Prisma.EvidenceAutomationUpdateManyWithWhereWithoutTaskInput[];
390
+ deleteMany?: Prisma.EvidenceAutomationScalarWhereInput | Prisma.EvidenceAutomationScalarWhereInput[];
391
+ };
392
+ export type EvidenceAutomationUncheckedUpdateManyWithoutTaskNestedInput = {
393
+ create?: Prisma.XOR<Prisma.EvidenceAutomationCreateWithoutTaskInput, Prisma.EvidenceAutomationUncheckedCreateWithoutTaskInput> | Prisma.EvidenceAutomationCreateWithoutTaskInput[] | Prisma.EvidenceAutomationUncheckedCreateWithoutTaskInput[];
394
+ connectOrCreate?: Prisma.EvidenceAutomationCreateOrConnectWithoutTaskInput | Prisma.EvidenceAutomationCreateOrConnectWithoutTaskInput[];
395
+ upsert?: Prisma.EvidenceAutomationUpsertWithWhereUniqueWithoutTaskInput | Prisma.EvidenceAutomationUpsertWithWhereUniqueWithoutTaskInput[];
396
+ createMany?: Prisma.EvidenceAutomationCreateManyTaskInputEnvelope;
397
+ set?: Prisma.EvidenceAutomationWhereUniqueInput | Prisma.EvidenceAutomationWhereUniqueInput[];
398
+ disconnect?: Prisma.EvidenceAutomationWhereUniqueInput | Prisma.EvidenceAutomationWhereUniqueInput[];
399
+ delete?: Prisma.EvidenceAutomationWhereUniqueInput | Prisma.EvidenceAutomationWhereUniqueInput[];
400
+ connect?: Prisma.EvidenceAutomationWhereUniqueInput | Prisma.EvidenceAutomationWhereUniqueInput[];
401
+ update?: Prisma.EvidenceAutomationUpdateWithWhereUniqueWithoutTaskInput | Prisma.EvidenceAutomationUpdateWithWhereUniqueWithoutTaskInput[];
402
+ updateMany?: Prisma.EvidenceAutomationUpdateManyWithWhereWithoutTaskInput | Prisma.EvidenceAutomationUpdateManyWithWhereWithoutTaskInput[];
403
+ deleteMany?: Prisma.EvidenceAutomationScalarWhereInput | Prisma.EvidenceAutomationScalarWhereInput[];
404
+ };
405
+ export type EvidenceAutomationCreateWithoutRunsInput = {
406
+ id?: string;
407
+ name: string;
408
+ description?: string | null;
409
+ createdAt?: Date | string;
410
+ isEnabled?: boolean;
411
+ chatHistory?: string | null;
412
+ evaluationCriteria?: string | null;
413
+ task: Prisma.TaskCreateNestedOneWithoutEvidenceAutomationsInput;
414
+ versions?: Prisma.EvidenceAutomationVersionCreateNestedManyWithoutEvidenceAutomationInput;
415
+ };
416
+ export type EvidenceAutomationUncheckedCreateWithoutRunsInput = {
417
+ id?: string;
418
+ name: string;
419
+ description?: string | null;
420
+ createdAt?: Date | string;
421
+ isEnabled?: boolean;
422
+ chatHistory?: string | null;
423
+ evaluationCriteria?: string | null;
424
+ taskId: string;
425
+ versions?: Prisma.EvidenceAutomationVersionUncheckedCreateNestedManyWithoutEvidenceAutomationInput;
426
+ };
427
+ export type EvidenceAutomationCreateOrConnectWithoutRunsInput = {
428
+ where: Prisma.EvidenceAutomationWhereUniqueInput;
429
+ create: Prisma.XOR<Prisma.EvidenceAutomationCreateWithoutRunsInput, Prisma.EvidenceAutomationUncheckedCreateWithoutRunsInput>;
430
+ };
431
+ export type EvidenceAutomationUpsertWithoutRunsInput = {
432
+ update: Prisma.XOR<Prisma.EvidenceAutomationUpdateWithoutRunsInput, Prisma.EvidenceAutomationUncheckedUpdateWithoutRunsInput>;
433
+ create: Prisma.XOR<Prisma.EvidenceAutomationCreateWithoutRunsInput, Prisma.EvidenceAutomationUncheckedCreateWithoutRunsInput>;
434
+ where?: Prisma.EvidenceAutomationWhereInput;
435
+ };
436
+ export type EvidenceAutomationUpdateToOneWithWhereWithoutRunsInput = {
437
+ where?: Prisma.EvidenceAutomationWhereInput;
438
+ data: Prisma.XOR<Prisma.EvidenceAutomationUpdateWithoutRunsInput, Prisma.EvidenceAutomationUncheckedUpdateWithoutRunsInput>;
439
+ };
440
+ export type EvidenceAutomationUpdateWithoutRunsInput = {
441
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
442
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
443
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
444
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
445
+ isEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
446
+ chatHistory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
447
+ evaluationCriteria?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
448
+ task?: Prisma.TaskUpdateOneRequiredWithoutEvidenceAutomationsNestedInput;
449
+ versions?: Prisma.EvidenceAutomationVersionUpdateManyWithoutEvidenceAutomationNestedInput;
450
+ };
451
+ export type EvidenceAutomationUncheckedUpdateWithoutRunsInput = {
452
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
453
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
454
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
455
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
456
+ isEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
457
+ chatHistory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
458
+ evaluationCriteria?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
459
+ taskId?: Prisma.StringFieldUpdateOperationsInput | string;
460
+ versions?: Prisma.EvidenceAutomationVersionUncheckedUpdateManyWithoutEvidenceAutomationNestedInput;
461
+ };
462
+ export type EvidenceAutomationCreateWithoutVersionsInput = {
463
+ id?: string;
464
+ name: string;
465
+ description?: string | null;
466
+ createdAt?: Date | string;
467
+ isEnabled?: boolean;
468
+ chatHistory?: string | null;
469
+ evaluationCriteria?: string | null;
470
+ task: Prisma.TaskCreateNestedOneWithoutEvidenceAutomationsInput;
471
+ runs?: Prisma.EvidenceAutomationRunCreateNestedManyWithoutEvidenceAutomationInput;
472
+ };
473
+ export type EvidenceAutomationUncheckedCreateWithoutVersionsInput = {
474
+ id?: string;
475
+ name: string;
476
+ description?: string | null;
477
+ createdAt?: Date | string;
478
+ isEnabled?: boolean;
479
+ chatHistory?: string | null;
480
+ evaluationCriteria?: string | null;
481
+ taskId: string;
482
+ runs?: Prisma.EvidenceAutomationRunUncheckedCreateNestedManyWithoutEvidenceAutomationInput;
483
+ };
484
+ export type EvidenceAutomationCreateOrConnectWithoutVersionsInput = {
485
+ where: Prisma.EvidenceAutomationWhereUniqueInput;
486
+ create: Prisma.XOR<Prisma.EvidenceAutomationCreateWithoutVersionsInput, Prisma.EvidenceAutomationUncheckedCreateWithoutVersionsInput>;
487
+ };
488
+ export type EvidenceAutomationUpsertWithoutVersionsInput = {
489
+ update: Prisma.XOR<Prisma.EvidenceAutomationUpdateWithoutVersionsInput, Prisma.EvidenceAutomationUncheckedUpdateWithoutVersionsInput>;
490
+ create: Prisma.XOR<Prisma.EvidenceAutomationCreateWithoutVersionsInput, Prisma.EvidenceAutomationUncheckedCreateWithoutVersionsInput>;
491
+ where?: Prisma.EvidenceAutomationWhereInput;
492
+ };
493
+ export type EvidenceAutomationUpdateToOneWithWhereWithoutVersionsInput = {
494
+ where?: Prisma.EvidenceAutomationWhereInput;
495
+ data: Prisma.XOR<Prisma.EvidenceAutomationUpdateWithoutVersionsInput, Prisma.EvidenceAutomationUncheckedUpdateWithoutVersionsInput>;
496
+ };
497
+ export type EvidenceAutomationUpdateWithoutVersionsInput = {
498
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
499
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
500
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
501
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
502
+ isEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
503
+ chatHistory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
504
+ evaluationCriteria?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
505
+ task?: Prisma.TaskUpdateOneRequiredWithoutEvidenceAutomationsNestedInput;
506
+ runs?: Prisma.EvidenceAutomationRunUpdateManyWithoutEvidenceAutomationNestedInput;
507
+ };
508
+ export type EvidenceAutomationUncheckedUpdateWithoutVersionsInput = {
509
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
510
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
511
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
512
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
513
+ isEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
514
+ chatHistory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
515
+ evaluationCriteria?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
516
+ taskId?: Prisma.StringFieldUpdateOperationsInput | string;
517
+ runs?: Prisma.EvidenceAutomationRunUncheckedUpdateManyWithoutEvidenceAutomationNestedInput;
518
+ };
519
+ export type EvidenceAutomationCreateWithoutTaskInput = {
520
+ id?: string;
521
+ name: string;
522
+ description?: string | null;
523
+ createdAt?: Date | string;
524
+ isEnabled?: boolean;
525
+ chatHistory?: string | null;
526
+ evaluationCriteria?: string | null;
527
+ runs?: Prisma.EvidenceAutomationRunCreateNestedManyWithoutEvidenceAutomationInput;
528
+ versions?: Prisma.EvidenceAutomationVersionCreateNestedManyWithoutEvidenceAutomationInput;
529
+ };
530
+ export type EvidenceAutomationUncheckedCreateWithoutTaskInput = {
531
+ id?: string;
532
+ name: string;
533
+ description?: string | null;
534
+ createdAt?: Date | string;
535
+ isEnabled?: boolean;
536
+ chatHistory?: string | null;
537
+ evaluationCriteria?: string | null;
538
+ runs?: Prisma.EvidenceAutomationRunUncheckedCreateNestedManyWithoutEvidenceAutomationInput;
539
+ versions?: Prisma.EvidenceAutomationVersionUncheckedCreateNestedManyWithoutEvidenceAutomationInput;
540
+ };
541
+ export type EvidenceAutomationCreateOrConnectWithoutTaskInput = {
542
+ where: Prisma.EvidenceAutomationWhereUniqueInput;
543
+ create: Prisma.XOR<Prisma.EvidenceAutomationCreateWithoutTaskInput, Prisma.EvidenceAutomationUncheckedCreateWithoutTaskInput>;
544
+ };
545
+ export type EvidenceAutomationCreateManyTaskInputEnvelope = {
546
+ data: Prisma.EvidenceAutomationCreateManyTaskInput | Prisma.EvidenceAutomationCreateManyTaskInput[];
547
+ skipDuplicates?: boolean;
548
+ };
549
+ export type EvidenceAutomationUpsertWithWhereUniqueWithoutTaskInput = {
550
+ where: Prisma.EvidenceAutomationWhereUniqueInput;
551
+ update: Prisma.XOR<Prisma.EvidenceAutomationUpdateWithoutTaskInput, Prisma.EvidenceAutomationUncheckedUpdateWithoutTaskInput>;
552
+ create: Prisma.XOR<Prisma.EvidenceAutomationCreateWithoutTaskInput, Prisma.EvidenceAutomationUncheckedCreateWithoutTaskInput>;
553
+ };
554
+ export type EvidenceAutomationUpdateWithWhereUniqueWithoutTaskInput = {
555
+ where: Prisma.EvidenceAutomationWhereUniqueInput;
556
+ data: Prisma.XOR<Prisma.EvidenceAutomationUpdateWithoutTaskInput, Prisma.EvidenceAutomationUncheckedUpdateWithoutTaskInput>;
557
+ };
558
+ export type EvidenceAutomationUpdateManyWithWhereWithoutTaskInput = {
559
+ where: Prisma.EvidenceAutomationScalarWhereInput;
560
+ data: Prisma.XOR<Prisma.EvidenceAutomationUpdateManyMutationInput, Prisma.EvidenceAutomationUncheckedUpdateManyWithoutTaskInput>;
561
+ };
562
+ export type EvidenceAutomationScalarWhereInput = {
563
+ AND?: Prisma.EvidenceAutomationScalarWhereInput | Prisma.EvidenceAutomationScalarWhereInput[];
564
+ OR?: Prisma.EvidenceAutomationScalarWhereInput[];
565
+ NOT?: Prisma.EvidenceAutomationScalarWhereInput | Prisma.EvidenceAutomationScalarWhereInput[];
566
+ id?: Prisma.StringFilter<"EvidenceAutomation"> | string;
567
+ name?: Prisma.StringFilter<"EvidenceAutomation"> | string;
568
+ description?: Prisma.StringNullableFilter<"EvidenceAutomation"> | string | null;
569
+ createdAt?: Prisma.DateTimeFilter<"EvidenceAutomation"> | Date | string;
570
+ isEnabled?: Prisma.BoolFilter<"EvidenceAutomation"> | boolean;
571
+ chatHistory?: Prisma.StringNullableFilter<"EvidenceAutomation"> | string | null;
572
+ evaluationCriteria?: Prisma.StringNullableFilter<"EvidenceAutomation"> | string | null;
573
+ taskId?: Prisma.StringFilter<"EvidenceAutomation"> | string;
574
+ };
575
+ export type EvidenceAutomationCreateManyTaskInput = {
576
+ id?: string;
577
+ name: string;
578
+ description?: string | null;
579
+ createdAt?: Date | string;
580
+ isEnabled?: boolean;
581
+ chatHistory?: string | null;
582
+ evaluationCriteria?: string | null;
583
+ };
584
+ export type EvidenceAutomationUpdateWithoutTaskInput = {
585
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
586
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
587
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
588
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
589
+ isEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
590
+ chatHistory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
591
+ evaluationCriteria?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
592
+ runs?: Prisma.EvidenceAutomationRunUpdateManyWithoutEvidenceAutomationNestedInput;
593
+ versions?: Prisma.EvidenceAutomationVersionUpdateManyWithoutEvidenceAutomationNestedInput;
594
+ };
595
+ export type EvidenceAutomationUncheckedUpdateWithoutTaskInput = {
596
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
597
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
598
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
599
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
600
+ isEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
601
+ chatHistory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
602
+ evaluationCriteria?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
603
+ runs?: Prisma.EvidenceAutomationRunUncheckedUpdateManyWithoutEvidenceAutomationNestedInput;
604
+ versions?: Prisma.EvidenceAutomationVersionUncheckedUpdateManyWithoutEvidenceAutomationNestedInput;
605
+ };
606
+ export type EvidenceAutomationUncheckedUpdateManyWithoutTaskInput = {
607
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
608
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
609
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
610
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
611
+ isEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
612
+ chatHistory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
613
+ evaluationCriteria?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
614
+ };
615
+ /**
616
+ * Count Type EvidenceAutomationCountOutputType
617
+ */
618
+ export type EvidenceAutomationCountOutputType = {
619
+ runs: number;
620
+ versions: number;
621
+ };
622
+ export type EvidenceAutomationCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
623
+ runs?: boolean | EvidenceAutomationCountOutputTypeCountRunsArgs;
624
+ versions?: boolean | EvidenceAutomationCountOutputTypeCountVersionsArgs;
625
+ };
626
+ /**
627
+ * EvidenceAutomationCountOutputType without action
628
+ */
629
+ export type EvidenceAutomationCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
630
+ /**
631
+ * Select specific fields to fetch from the EvidenceAutomationCountOutputType
632
+ */
633
+ select?: Prisma.EvidenceAutomationCountOutputTypeSelect<ExtArgs> | null;
634
+ };
635
+ /**
636
+ * EvidenceAutomationCountOutputType without action
637
+ */
638
+ export type EvidenceAutomationCountOutputTypeCountRunsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
639
+ where?: Prisma.EvidenceAutomationRunWhereInput;
640
+ };
641
+ /**
642
+ * EvidenceAutomationCountOutputType without action
643
+ */
644
+ export type EvidenceAutomationCountOutputTypeCountVersionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
645
+ where?: Prisma.EvidenceAutomationVersionWhereInput;
646
+ };
647
+ export type EvidenceAutomationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
648
+ id?: boolean;
649
+ name?: boolean;
650
+ description?: boolean;
651
+ createdAt?: boolean;
652
+ isEnabled?: boolean;
653
+ chatHistory?: boolean;
654
+ evaluationCriteria?: boolean;
655
+ taskId?: boolean;
656
+ task?: boolean | Prisma.TaskDefaultArgs<ExtArgs>;
657
+ runs?: boolean | Prisma.EvidenceAutomation$runsArgs<ExtArgs>;
658
+ versions?: boolean | Prisma.EvidenceAutomation$versionsArgs<ExtArgs>;
659
+ _count?: boolean | Prisma.EvidenceAutomationCountOutputTypeDefaultArgs<ExtArgs>;
660
+ }, ExtArgs["result"]["evidenceAutomation"]>;
661
+ export type EvidenceAutomationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
662
+ id?: boolean;
663
+ name?: boolean;
664
+ description?: boolean;
665
+ createdAt?: boolean;
666
+ isEnabled?: boolean;
667
+ chatHistory?: boolean;
668
+ evaluationCriteria?: boolean;
669
+ taskId?: boolean;
670
+ task?: boolean | Prisma.TaskDefaultArgs<ExtArgs>;
671
+ }, ExtArgs["result"]["evidenceAutomation"]>;
672
+ export type EvidenceAutomationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
673
+ id?: boolean;
674
+ name?: boolean;
675
+ description?: boolean;
676
+ createdAt?: boolean;
677
+ isEnabled?: boolean;
678
+ chatHistory?: boolean;
679
+ evaluationCriteria?: boolean;
680
+ taskId?: boolean;
681
+ task?: boolean | Prisma.TaskDefaultArgs<ExtArgs>;
682
+ }, ExtArgs["result"]["evidenceAutomation"]>;
683
+ export type EvidenceAutomationSelectScalar = {
684
+ id?: boolean;
685
+ name?: boolean;
686
+ description?: boolean;
687
+ createdAt?: boolean;
688
+ isEnabled?: boolean;
689
+ chatHistory?: boolean;
690
+ evaluationCriteria?: boolean;
691
+ taskId?: boolean;
692
+ };
693
+ export type EvidenceAutomationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "createdAt" | "isEnabled" | "chatHistory" | "evaluationCriteria" | "taskId", ExtArgs["result"]["evidenceAutomation"]>;
694
+ export type EvidenceAutomationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
695
+ task?: boolean | Prisma.TaskDefaultArgs<ExtArgs>;
696
+ runs?: boolean | Prisma.EvidenceAutomation$runsArgs<ExtArgs>;
697
+ versions?: boolean | Prisma.EvidenceAutomation$versionsArgs<ExtArgs>;
698
+ _count?: boolean | Prisma.EvidenceAutomationCountOutputTypeDefaultArgs<ExtArgs>;
699
+ };
700
+ export type EvidenceAutomationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
701
+ task?: boolean | Prisma.TaskDefaultArgs<ExtArgs>;
702
+ };
703
+ export type EvidenceAutomationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
704
+ task?: boolean | Prisma.TaskDefaultArgs<ExtArgs>;
705
+ };
706
+ export type $EvidenceAutomationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
707
+ name: "EvidenceAutomation";
708
+ objects: {
709
+ task: Prisma.$TaskPayload<ExtArgs>;
710
+ runs: Prisma.$EvidenceAutomationRunPayload<ExtArgs>[];
711
+ versions: Prisma.$EvidenceAutomationVersionPayload<ExtArgs>[];
712
+ };
713
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
714
+ id: string;
715
+ name: string;
716
+ description: string | null;
717
+ createdAt: Date;
718
+ isEnabled: boolean;
719
+ chatHistory: string | null;
720
+ evaluationCriteria: string | null;
721
+ taskId: string;
722
+ }, ExtArgs["result"]["evidenceAutomation"]>;
723
+ composites: {};
724
+ };
725
+ export type EvidenceAutomationGetPayload<S extends boolean | null | undefined | EvidenceAutomationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EvidenceAutomationPayload, S>;
726
+ export type EvidenceAutomationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<EvidenceAutomationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
727
+ select?: EvidenceAutomationCountAggregateInputType | true;
728
+ };
729
+ export interface EvidenceAutomationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
730
+ [K: symbol]: {
731
+ types: Prisma.TypeMap<ExtArgs>['model']['EvidenceAutomation'];
732
+ meta: {
733
+ name: 'EvidenceAutomation';
734
+ };
735
+ };
736
+ /**
737
+ * Find zero or one EvidenceAutomation that matches the filter.
738
+ * @param {EvidenceAutomationFindUniqueArgs} args - Arguments to find a EvidenceAutomation
739
+ * @example
740
+ * // Get one EvidenceAutomation
741
+ * const evidenceAutomation = await prisma.evidenceAutomation.findUnique({
742
+ * where: {
743
+ * // ... provide filter here
744
+ * }
745
+ * })
746
+ */
747
+ findUnique<T extends EvidenceAutomationFindUniqueArgs>(args: Prisma.SelectSubset<T, EvidenceAutomationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EvidenceAutomationClient<runtime.Types.Result.GetResult<Prisma.$EvidenceAutomationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
748
+ /**
749
+ * Find one EvidenceAutomation that matches the filter or throw an error with `error.code='P2025'`
750
+ * if no matches were found.
751
+ * @param {EvidenceAutomationFindUniqueOrThrowArgs} args - Arguments to find a EvidenceAutomation
752
+ * @example
753
+ * // Get one EvidenceAutomation
754
+ * const evidenceAutomation = await prisma.evidenceAutomation.findUniqueOrThrow({
755
+ * where: {
756
+ * // ... provide filter here
757
+ * }
758
+ * })
759
+ */
760
+ findUniqueOrThrow<T extends EvidenceAutomationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EvidenceAutomationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EvidenceAutomationClient<runtime.Types.Result.GetResult<Prisma.$EvidenceAutomationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
761
+ /**
762
+ * Find the first EvidenceAutomation that matches the filter.
763
+ * Note, that providing `undefined` is treated as the value not being there.
764
+ * Read more here: https://pris.ly/d/null-undefined
765
+ * @param {EvidenceAutomationFindFirstArgs} args - Arguments to find a EvidenceAutomation
766
+ * @example
767
+ * // Get one EvidenceAutomation
768
+ * const evidenceAutomation = await prisma.evidenceAutomation.findFirst({
769
+ * where: {
770
+ * // ... provide filter here
771
+ * }
772
+ * })
773
+ */
774
+ findFirst<T extends EvidenceAutomationFindFirstArgs>(args?: Prisma.SelectSubset<T, EvidenceAutomationFindFirstArgs<ExtArgs>>): Prisma.Prisma__EvidenceAutomationClient<runtime.Types.Result.GetResult<Prisma.$EvidenceAutomationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
775
+ /**
776
+ * Find the first EvidenceAutomation that matches the filter or
777
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
778
+ * Note, that providing `undefined` is treated as the value not being there.
779
+ * Read more here: https://pris.ly/d/null-undefined
780
+ * @param {EvidenceAutomationFindFirstOrThrowArgs} args - Arguments to find a EvidenceAutomation
781
+ * @example
782
+ * // Get one EvidenceAutomation
783
+ * const evidenceAutomation = await prisma.evidenceAutomation.findFirstOrThrow({
784
+ * where: {
785
+ * // ... provide filter here
786
+ * }
787
+ * })
788
+ */
789
+ findFirstOrThrow<T extends EvidenceAutomationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EvidenceAutomationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EvidenceAutomationClient<runtime.Types.Result.GetResult<Prisma.$EvidenceAutomationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
790
+ /**
791
+ * Find zero or more EvidenceAutomations that matches the filter.
792
+ * Note, that providing `undefined` is treated as the value not being there.
793
+ * Read more here: https://pris.ly/d/null-undefined
794
+ * @param {EvidenceAutomationFindManyArgs} args - Arguments to filter and select certain fields only.
795
+ * @example
796
+ * // Get all EvidenceAutomations
797
+ * const evidenceAutomations = await prisma.evidenceAutomation.findMany()
798
+ *
799
+ * // Get first 10 EvidenceAutomations
800
+ * const evidenceAutomations = await prisma.evidenceAutomation.findMany({ take: 10 })
801
+ *
802
+ * // Only select the `id`
803
+ * const evidenceAutomationWithIdOnly = await prisma.evidenceAutomation.findMany({ select: { id: true } })
804
+ *
805
+ */
806
+ findMany<T extends EvidenceAutomationFindManyArgs>(args?: Prisma.SelectSubset<T, EvidenceAutomationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EvidenceAutomationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
807
+ /**
808
+ * Create a EvidenceAutomation.
809
+ * @param {EvidenceAutomationCreateArgs} args - Arguments to create a EvidenceAutomation.
810
+ * @example
811
+ * // Create one EvidenceAutomation
812
+ * const EvidenceAutomation = await prisma.evidenceAutomation.create({
813
+ * data: {
814
+ * // ... data to create a EvidenceAutomation
815
+ * }
816
+ * })
817
+ *
818
+ */
819
+ create<T extends EvidenceAutomationCreateArgs>(args: Prisma.SelectSubset<T, EvidenceAutomationCreateArgs<ExtArgs>>): Prisma.Prisma__EvidenceAutomationClient<runtime.Types.Result.GetResult<Prisma.$EvidenceAutomationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
820
+ /**
821
+ * Create many EvidenceAutomations.
822
+ * @param {EvidenceAutomationCreateManyArgs} args - Arguments to create many EvidenceAutomations.
823
+ * @example
824
+ * // Create many EvidenceAutomations
825
+ * const evidenceAutomation = await prisma.evidenceAutomation.createMany({
826
+ * data: [
827
+ * // ... provide data here
828
+ * ]
829
+ * })
830
+ *
831
+ */
832
+ createMany<T extends EvidenceAutomationCreateManyArgs>(args?: Prisma.SelectSubset<T, EvidenceAutomationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
833
+ /**
834
+ * Create many EvidenceAutomations and returns the data saved in the database.
835
+ * @param {EvidenceAutomationCreateManyAndReturnArgs} args - Arguments to create many EvidenceAutomations.
836
+ * @example
837
+ * // Create many EvidenceAutomations
838
+ * const evidenceAutomation = await prisma.evidenceAutomation.createManyAndReturn({
839
+ * data: [
840
+ * // ... provide data here
841
+ * ]
842
+ * })
843
+ *
844
+ * // Create many EvidenceAutomations and only return the `id`
845
+ * const evidenceAutomationWithIdOnly = await prisma.evidenceAutomation.createManyAndReturn({
846
+ * select: { id: true },
847
+ * data: [
848
+ * // ... provide data here
849
+ * ]
850
+ * })
851
+ * Note, that providing `undefined` is treated as the value not being there.
852
+ * Read more here: https://pris.ly/d/null-undefined
853
+ *
854
+ */
855
+ createManyAndReturn<T extends EvidenceAutomationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, EvidenceAutomationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EvidenceAutomationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
856
+ /**
857
+ * Delete a EvidenceAutomation.
858
+ * @param {EvidenceAutomationDeleteArgs} args - Arguments to delete one EvidenceAutomation.
859
+ * @example
860
+ * // Delete one EvidenceAutomation
861
+ * const EvidenceAutomation = await prisma.evidenceAutomation.delete({
862
+ * where: {
863
+ * // ... filter to delete one EvidenceAutomation
864
+ * }
865
+ * })
866
+ *
867
+ */
868
+ delete<T extends EvidenceAutomationDeleteArgs>(args: Prisma.SelectSubset<T, EvidenceAutomationDeleteArgs<ExtArgs>>): Prisma.Prisma__EvidenceAutomationClient<runtime.Types.Result.GetResult<Prisma.$EvidenceAutomationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
869
+ /**
870
+ * Update one EvidenceAutomation.
871
+ * @param {EvidenceAutomationUpdateArgs} args - Arguments to update one EvidenceAutomation.
872
+ * @example
873
+ * // Update one EvidenceAutomation
874
+ * const evidenceAutomation = await prisma.evidenceAutomation.update({
875
+ * where: {
876
+ * // ... provide filter here
877
+ * },
878
+ * data: {
879
+ * // ... provide data here
880
+ * }
881
+ * })
882
+ *
883
+ */
884
+ update<T extends EvidenceAutomationUpdateArgs>(args: Prisma.SelectSubset<T, EvidenceAutomationUpdateArgs<ExtArgs>>): Prisma.Prisma__EvidenceAutomationClient<runtime.Types.Result.GetResult<Prisma.$EvidenceAutomationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
885
+ /**
886
+ * Delete zero or more EvidenceAutomations.
887
+ * @param {EvidenceAutomationDeleteManyArgs} args - Arguments to filter EvidenceAutomations to delete.
888
+ * @example
889
+ * // Delete a few EvidenceAutomations
890
+ * const { count } = await prisma.evidenceAutomation.deleteMany({
891
+ * where: {
892
+ * // ... provide filter here
893
+ * }
894
+ * })
895
+ *
896
+ */
897
+ deleteMany<T extends EvidenceAutomationDeleteManyArgs>(args?: Prisma.SelectSubset<T, EvidenceAutomationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
898
+ /**
899
+ * Update zero or more EvidenceAutomations.
900
+ * Note, that providing `undefined` is treated as the value not being there.
901
+ * Read more here: https://pris.ly/d/null-undefined
902
+ * @param {EvidenceAutomationUpdateManyArgs} args - Arguments to update one or more rows.
903
+ * @example
904
+ * // Update many EvidenceAutomations
905
+ * const evidenceAutomation = await prisma.evidenceAutomation.updateMany({
906
+ * where: {
907
+ * // ... provide filter here
908
+ * },
909
+ * data: {
910
+ * // ... provide data here
911
+ * }
912
+ * })
913
+ *
914
+ */
915
+ updateMany<T extends EvidenceAutomationUpdateManyArgs>(args: Prisma.SelectSubset<T, EvidenceAutomationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
916
+ /**
917
+ * Update zero or more EvidenceAutomations and returns the data updated in the database.
918
+ * @param {EvidenceAutomationUpdateManyAndReturnArgs} args - Arguments to update many EvidenceAutomations.
919
+ * @example
920
+ * // Update many EvidenceAutomations
921
+ * const evidenceAutomation = await prisma.evidenceAutomation.updateManyAndReturn({
922
+ * where: {
923
+ * // ... provide filter here
924
+ * },
925
+ * data: [
926
+ * // ... provide data here
927
+ * ]
928
+ * })
929
+ *
930
+ * // Update zero or more EvidenceAutomations and only return the `id`
931
+ * const evidenceAutomationWithIdOnly = await prisma.evidenceAutomation.updateManyAndReturn({
932
+ * select: { id: true },
933
+ * where: {
934
+ * // ... provide filter here
935
+ * },
936
+ * data: [
937
+ * // ... provide data here
938
+ * ]
939
+ * })
940
+ * Note, that providing `undefined` is treated as the value not being there.
941
+ * Read more here: https://pris.ly/d/null-undefined
942
+ *
943
+ */
944
+ updateManyAndReturn<T extends EvidenceAutomationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, EvidenceAutomationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EvidenceAutomationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
945
+ /**
946
+ * Create or update one EvidenceAutomation.
947
+ * @param {EvidenceAutomationUpsertArgs} args - Arguments to update or create a EvidenceAutomation.
948
+ * @example
949
+ * // Update or create a EvidenceAutomation
950
+ * const evidenceAutomation = await prisma.evidenceAutomation.upsert({
951
+ * create: {
952
+ * // ... data to create a EvidenceAutomation
953
+ * },
954
+ * update: {
955
+ * // ... in case it already exists, update
956
+ * },
957
+ * where: {
958
+ * // ... the filter for the EvidenceAutomation we want to update
959
+ * }
960
+ * })
961
+ */
962
+ upsert<T extends EvidenceAutomationUpsertArgs>(args: Prisma.SelectSubset<T, EvidenceAutomationUpsertArgs<ExtArgs>>): Prisma.Prisma__EvidenceAutomationClient<runtime.Types.Result.GetResult<Prisma.$EvidenceAutomationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
963
+ /**
964
+ * Count the number of EvidenceAutomations.
965
+ * Note, that providing `undefined` is treated as the value not being there.
966
+ * Read more here: https://pris.ly/d/null-undefined
967
+ * @param {EvidenceAutomationCountArgs} args - Arguments to filter EvidenceAutomations to count.
968
+ * @example
969
+ * // Count the number of EvidenceAutomations
970
+ * const count = await prisma.evidenceAutomation.count({
971
+ * where: {
972
+ * // ... the filter for the EvidenceAutomations we want to count
973
+ * }
974
+ * })
975
+ **/
976
+ count<T extends EvidenceAutomationCountArgs>(args?: Prisma.Subset<T, EvidenceAutomationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], EvidenceAutomationCountAggregateOutputType> : number>;
977
+ /**
978
+ * Allows you to perform aggregations operations on a EvidenceAutomation.
979
+ * Note, that providing `undefined` is treated as the value not being there.
980
+ * Read more here: https://pris.ly/d/null-undefined
981
+ * @param {EvidenceAutomationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
982
+ * @example
983
+ * // Ordered by age ascending
984
+ * // Where email contains prisma.io
985
+ * // Limited to the 10 users
986
+ * const aggregations = await prisma.user.aggregate({
987
+ * _avg: {
988
+ * age: true,
989
+ * },
990
+ * where: {
991
+ * email: {
992
+ * contains: "prisma.io",
993
+ * },
994
+ * },
995
+ * orderBy: {
996
+ * age: "asc",
997
+ * },
998
+ * take: 10,
999
+ * })
1000
+ **/
1001
+ aggregate<T extends EvidenceAutomationAggregateArgs>(args: Prisma.Subset<T, EvidenceAutomationAggregateArgs>): Prisma.PrismaPromise<GetEvidenceAutomationAggregateType<T>>;
1002
+ /**
1003
+ * Group by EvidenceAutomation.
1004
+ * Note, that providing `undefined` is treated as the value not being there.
1005
+ * Read more here: https://pris.ly/d/null-undefined
1006
+ * @param {EvidenceAutomationGroupByArgs} args - Group by arguments.
1007
+ * @example
1008
+ * // Group by city, order by createdAt, get count
1009
+ * const result = await prisma.user.groupBy({
1010
+ * by: ['city', 'createdAt'],
1011
+ * orderBy: {
1012
+ * createdAt: true
1013
+ * },
1014
+ * _count: {
1015
+ * _all: true
1016
+ * },
1017
+ * })
1018
+ *
1019
+ **/
1020
+ groupBy<T extends EvidenceAutomationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1021
+ orderBy: EvidenceAutomationGroupByArgs['orderBy'];
1022
+ } : {
1023
+ orderBy?: EvidenceAutomationGroupByArgs['orderBy'];
1024
+ }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
1025
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1026
+ Error,
1027
+ 'Field ',
1028
+ P,
1029
+ ` in "having" needs to be provided in "by"`
1030
+ ];
1031
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1032
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1033
+ }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1034
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1035
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1036
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1037
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, EvidenceAutomationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEvidenceAutomationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1038
+ /**
1039
+ * Fields of the EvidenceAutomation model
1040
+ */
1041
+ readonly fields: EvidenceAutomationFieldRefs;
1042
+ }
1043
+ /**
1044
+ * The delegate class that acts as a "Promise-like" for EvidenceAutomation.
1045
+ * Why is this prefixed with `Prisma__`?
1046
+ * Because we want to prevent naming conflicts as mentioned in
1047
+ * https://github.com/prisma/prisma-client-js/issues/707
1048
+ */
1049
+ export interface Prisma__EvidenceAutomationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1050
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1051
+ task<T extends Prisma.TaskDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TaskDefaultArgs<ExtArgs>>): Prisma.Prisma__TaskClient<runtime.Types.Result.GetResult<Prisma.$TaskPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1052
+ runs<T extends Prisma.EvidenceAutomation$runsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EvidenceAutomation$runsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EvidenceAutomationRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1053
+ versions<T extends Prisma.EvidenceAutomation$versionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EvidenceAutomation$versionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EvidenceAutomationVersionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1054
+ /**
1055
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1056
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1057
+ * @param onrejected The callback to execute when the Promise is rejected.
1058
+ * @returns A Promise for the completion of which ever callback is executed.
1059
+ */
1060
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
1061
+ /**
1062
+ * Attaches a callback for only the rejection of the Promise.
1063
+ * @param onrejected The callback to execute when the Promise is rejected.
1064
+ * @returns A Promise for the completion of the callback.
1065
+ */
1066
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1067
+ /**
1068
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1069
+ * resolved value cannot be modified from the callback.
1070
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1071
+ * @returns A Promise for the completion of the callback.
1072
+ */
1073
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1074
+ }
1075
+ /**
1076
+ * Fields of the EvidenceAutomation model
1077
+ */
1078
+ export interface EvidenceAutomationFieldRefs {
1079
+ readonly id: Prisma.FieldRef<"EvidenceAutomation", 'String'>;
1080
+ readonly name: Prisma.FieldRef<"EvidenceAutomation", 'String'>;
1081
+ readonly description: Prisma.FieldRef<"EvidenceAutomation", 'String'>;
1082
+ readonly createdAt: Prisma.FieldRef<"EvidenceAutomation", 'DateTime'>;
1083
+ readonly isEnabled: Prisma.FieldRef<"EvidenceAutomation", 'Boolean'>;
1084
+ readonly chatHistory: Prisma.FieldRef<"EvidenceAutomation", 'String'>;
1085
+ readonly evaluationCriteria: Prisma.FieldRef<"EvidenceAutomation", 'String'>;
1086
+ readonly taskId: Prisma.FieldRef<"EvidenceAutomation", 'String'>;
1087
+ }
1088
+ /**
1089
+ * EvidenceAutomation findUnique
1090
+ */
1091
+ export type EvidenceAutomationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1092
+ /**
1093
+ * Select specific fields to fetch from the EvidenceAutomation
1094
+ */
1095
+ select?: Prisma.EvidenceAutomationSelect<ExtArgs> | null;
1096
+ /**
1097
+ * Omit specific fields from the EvidenceAutomation
1098
+ */
1099
+ omit?: Prisma.EvidenceAutomationOmit<ExtArgs> | null;
1100
+ /**
1101
+ * Choose, which related nodes to fetch as well
1102
+ */
1103
+ include?: Prisma.EvidenceAutomationInclude<ExtArgs> | null;
1104
+ /**
1105
+ * Filter, which EvidenceAutomation to fetch.
1106
+ */
1107
+ where: Prisma.EvidenceAutomationWhereUniqueInput;
1108
+ };
1109
+ /**
1110
+ * EvidenceAutomation findUniqueOrThrow
1111
+ */
1112
+ export type EvidenceAutomationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1113
+ /**
1114
+ * Select specific fields to fetch from the EvidenceAutomation
1115
+ */
1116
+ select?: Prisma.EvidenceAutomationSelect<ExtArgs> | null;
1117
+ /**
1118
+ * Omit specific fields from the EvidenceAutomation
1119
+ */
1120
+ omit?: Prisma.EvidenceAutomationOmit<ExtArgs> | null;
1121
+ /**
1122
+ * Choose, which related nodes to fetch as well
1123
+ */
1124
+ include?: Prisma.EvidenceAutomationInclude<ExtArgs> | null;
1125
+ /**
1126
+ * Filter, which EvidenceAutomation to fetch.
1127
+ */
1128
+ where: Prisma.EvidenceAutomationWhereUniqueInput;
1129
+ };
1130
+ /**
1131
+ * EvidenceAutomation findFirst
1132
+ */
1133
+ export type EvidenceAutomationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1134
+ /**
1135
+ * Select specific fields to fetch from the EvidenceAutomation
1136
+ */
1137
+ select?: Prisma.EvidenceAutomationSelect<ExtArgs> | null;
1138
+ /**
1139
+ * Omit specific fields from the EvidenceAutomation
1140
+ */
1141
+ omit?: Prisma.EvidenceAutomationOmit<ExtArgs> | null;
1142
+ /**
1143
+ * Choose, which related nodes to fetch as well
1144
+ */
1145
+ include?: Prisma.EvidenceAutomationInclude<ExtArgs> | null;
1146
+ /**
1147
+ * Filter, which EvidenceAutomation to fetch.
1148
+ */
1149
+ where?: Prisma.EvidenceAutomationWhereInput;
1150
+ /**
1151
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1152
+ *
1153
+ * Determine the order of EvidenceAutomations to fetch.
1154
+ */
1155
+ orderBy?: Prisma.EvidenceAutomationOrderByWithRelationInput | Prisma.EvidenceAutomationOrderByWithRelationInput[];
1156
+ /**
1157
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1158
+ *
1159
+ * Sets the position for searching for EvidenceAutomations.
1160
+ */
1161
+ cursor?: Prisma.EvidenceAutomationWhereUniqueInput;
1162
+ /**
1163
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1164
+ *
1165
+ * Take `±n` EvidenceAutomations from the position of the cursor.
1166
+ */
1167
+ take?: number;
1168
+ /**
1169
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1170
+ *
1171
+ * Skip the first `n` EvidenceAutomations.
1172
+ */
1173
+ skip?: number;
1174
+ /**
1175
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1176
+ *
1177
+ * Filter by unique combinations of EvidenceAutomations.
1178
+ */
1179
+ distinct?: Prisma.EvidenceAutomationScalarFieldEnum | Prisma.EvidenceAutomationScalarFieldEnum[];
1180
+ };
1181
+ /**
1182
+ * EvidenceAutomation findFirstOrThrow
1183
+ */
1184
+ export type EvidenceAutomationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1185
+ /**
1186
+ * Select specific fields to fetch from the EvidenceAutomation
1187
+ */
1188
+ select?: Prisma.EvidenceAutomationSelect<ExtArgs> | null;
1189
+ /**
1190
+ * Omit specific fields from the EvidenceAutomation
1191
+ */
1192
+ omit?: Prisma.EvidenceAutomationOmit<ExtArgs> | null;
1193
+ /**
1194
+ * Choose, which related nodes to fetch as well
1195
+ */
1196
+ include?: Prisma.EvidenceAutomationInclude<ExtArgs> | null;
1197
+ /**
1198
+ * Filter, which EvidenceAutomation to fetch.
1199
+ */
1200
+ where?: Prisma.EvidenceAutomationWhereInput;
1201
+ /**
1202
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1203
+ *
1204
+ * Determine the order of EvidenceAutomations to fetch.
1205
+ */
1206
+ orderBy?: Prisma.EvidenceAutomationOrderByWithRelationInput | Prisma.EvidenceAutomationOrderByWithRelationInput[];
1207
+ /**
1208
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1209
+ *
1210
+ * Sets the position for searching for EvidenceAutomations.
1211
+ */
1212
+ cursor?: Prisma.EvidenceAutomationWhereUniqueInput;
1213
+ /**
1214
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1215
+ *
1216
+ * Take `±n` EvidenceAutomations from the position of the cursor.
1217
+ */
1218
+ take?: number;
1219
+ /**
1220
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1221
+ *
1222
+ * Skip the first `n` EvidenceAutomations.
1223
+ */
1224
+ skip?: number;
1225
+ /**
1226
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1227
+ *
1228
+ * Filter by unique combinations of EvidenceAutomations.
1229
+ */
1230
+ distinct?: Prisma.EvidenceAutomationScalarFieldEnum | Prisma.EvidenceAutomationScalarFieldEnum[];
1231
+ };
1232
+ /**
1233
+ * EvidenceAutomation findMany
1234
+ */
1235
+ export type EvidenceAutomationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1236
+ /**
1237
+ * Select specific fields to fetch from the EvidenceAutomation
1238
+ */
1239
+ select?: Prisma.EvidenceAutomationSelect<ExtArgs> | null;
1240
+ /**
1241
+ * Omit specific fields from the EvidenceAutomation
1242
+ */
1243
+ omit?: Prisma.EvidenceAutomationOmit<ExtArgs> | null;
1244
+ /**
1245
+ * Choose, which related nodes to fetch as well
1246
+ */
1247
+ include?: Prisma.EvidenceAutomationInclude<ExtArgs> | null;
1248
+ /**
1249
+ * Filter, which EvidenceAutomations to fetch.
1250
+ */
1251
+ where?: Prisma.EvidenceAutomationWhereInput;
1252
+ /**
1253
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1254
+ *
1255
+ * Determine the order of EvidenceAutomations to fetch.
1256
+ */
1257
+ orderBy?: Prisma.EvidenceAutomationOrderByWithRelationInput | Prisma.EvidenceAutomationOrderByWithRelationInput[];
1258
+ /**
1259
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1260
+ *
1261
+ * Sets the position for listing EvidenceAutomations.
1262
+ */
1263
+ cursor?: Prisma.EvidenceAutomationWhereUniqueInput;
1264
+ /**
1265
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1266
+ *
1267
+ * Take `±n` EvidenceAutomations from the position of the cursor.
1268
+ */
1269
+ take?: number;
1270
+ /**
1271
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1272
+ *
1273
+ * Skip the first `n` EvidenceAutomations.
1274
+ */
1275
+ skip?: number;
1276
+ /**
1277
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1278
+ *
1279
+ * Filter by unique combinations of EvidenceAutomations.
1280
+ */
1281
+ distinct?: Prisma.EvidenceAutomationScalarFieldEnum | Prisma.EvidenceAutomationScalarFieldEnum[];
1282
+ };
1283
+ /**
1284
+ * EvidenceAutomation create
1285
+ */
1286
+ export type EvidenceAutomationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1287
+ /**
1288
+ * Select specific fields to fetch from the EvidenceAutomation
1289
+ */
1290
+ select?: Prisma.EvidenceAutomationSelect<ExtArgs> | null;
1291
+ /**
1292
+ * Omit specific fields from the EvidenceAutomation
1293
+ */
1294
+ omit?: Prisma.EvidenceAutomationOmit<ExtArgs> | null;
1295
+ /**
1296
+ * Choose, which related nodes to fetch as well
1297
+ */
1298
+ include?: Prisma.EvidenceAutomationInclude<ExtArgs> | null;
1299
+ /**
1300
+ * The data needed to create a EvidenceAutomation.
1301
+ */
1302
+ data: Prisma.XOR<Prisma.EvidenceAutomationCreateInput, Prisma.EvidenceAutomationUncheckedCreateInput>;
1303
+ };
1304
+ /**
1305
+ * EvidenceAutomation createMany
1306
+ */
1307
+ export type EvidenceAutomationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1308
+ /**
1309
+ * The data used to create many EvidenceAutomations.
1310
+ */
1311
+ data: Prisma.EvidenceAutomationCreateManyInput | Prisma.EvidenceAutomationCreateManyInput[];
1312
+ skipDuplicates?: boolean;
1313
+ };
1314
+ /**
1315
+ * EvidenceAutomation createManyAndReturn
1316
+ */
1317
+ export type EvidenceAutomationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1318
+ /**
1319
+ * Select specific fields to fetch from the EvidenceAutomation
1320
+ */
1321
+ select?: Prisma.EvidenceAutomationSelectCreateManyAndReturn<ExtArgs> | null;
1322
+ /**
1323
+ * Omit specific fields from the EvidenceAutomation
1324
+ */
1325
+ omit?: Prisma.EvidenceAutomationOmit<ExtArgs> | null;
1326
+ /**
1327
+ * The data used to create many EvidenceAutomations.
1328
+ */
1329
+ data: Prisma.EvidenceAutomationCreateManyInput | Prisma.EvidenceAutomationCreateManyInput[];
1330
+ skipDuplicates?: boolean;
1331
+ /**
1332
+ * Choose, which related nodes to fetch as well
1333
+ */
1334
+ include?: Prisma.EvidenceAutomationIncludeCreateManyAndReturn<ExtArgs> | null;
1335
+ };
1336
+ /**
1337
+ * EvidenceAutomation update
1338
+ */
1339
+ export type EvidenceAutomationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1340
+ /**
1341
+ * Select specific fields to fetch from the EvidenceAutomation
1342
+ */
1343
+ select?: Prisma.EvidenceAutomationSelect<ExtArgs> | null;
1344
+ /**
1345
+ * Omit specific fields from the EvidenceAutomation
1346
+ */
1347
+ omit?: Prisma.EvidenceAutomationOmit<ExtArgs> | null;
1348
+ /**
1349
+ * Choose, which related nodes to fetch as well
1350
+ */
1351
+ include?: Prisma.EvidenceAutomationInclude<ExtArgs> | null;
1352
+ /**
1353
+ * The data needed to update a EvidenceAutomation.
1354
+ */
1355
+ data: Prisma.XOR<Prisma.EvidenceAutomationUpdateInput, Prisma.EvidenceAutomationUncheckedUpdateInput>;
1356
+ /**
1357
+ * Choose, which EvidenceAutomation to update.
1358
+ */
1359
+ where: Prisma.EvidenceAutomationWhereUniqueInput;
1360
+ };
1361
+ /**
1362
+ * EvidenceAutomation updateMany
1363
+ */
1364
+ export type EvidenceAutomationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1365
+ /**
1366
+ * The data used to update EvidenceAutomations.
1367
+ */
1368
+ data: Prisma.XOR<Prisma.EvidenceAutomationUpdateManyMutationInput, Prisma.EvidenceAutomationUncheckedUpdateManyInput>;
1369
+ /**
1370
+ * Filter which EvidenceAutomations to update
1371
+ */
1372
+ where?: Prisma.EvidenceAutomationWhereInput;
1373
+ /**
1374
+ * Limit how many EvidenceAutomations to update.
1375
+ */
1376
+ limit?: number;
1377
+ };
1378
+ /**
1379
+ * EvidenceAutomation updateManyAndReturn
1380
+ */
1381
+ export type EvidenceAutomationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1382
+ /**
1383
+ * Select specific fields to fetch from the EvidenceAutomation
1384
+ */
1385
+ select?: Prisma.EvidenceAutomationSelectUpdateManyAndReturn<ExtArgs> | null;
1386
+ /**
1387
+ * Omit specific fields from the EvidenceAutomation
1388
+ */
1389
+ omit?: Prisma.EvidenceAutomationOmit<ExtArgs> | null;
1390
+ /**
1391
+ * The data used to update EvidenceAutomations.
1392
+ */
1393
+ data: Prisma.XOR<Prisma.EvidenceAutomationUpdateManyMutationInput, Prisma.EvidenceAutomationUncheckedUpdateManyInput>;
1394
+ /**
1395
+ * Filter which EvidenceAutomations to update
1396
+ */
1397
+ where?: Prisma.EvidenceAutomationWhereInput;
1398
+ /**
1399
+ * Limit how many EvidenceAutomations to update.
1400
+ */
1401
+ limit?: number;
1402
+ /**
1403
+ * Choose, which related nodes to fetch as well
1404
+ */
1405
+ include?: Prisma.EvidenceAutomationIncludeUpdateManyAndReturn<ExtArgs> | null;
1406
+ };
1407
+ /**
1408
+ * EvidenceAutomation upsert
1409
+ */
1410
+ export type EvidenceAutomationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1411
+ /**
1412
+ * Select specific fields to fetch from the EvidenceAutomation
1413
+ */
1414
+ select?: Prisma.EvidenceAutomationSelect<ExtArgs> | null;
1415
+ /**
1416
+ * Omit specific fields from the EvidenceAutomation
1417
+ */
1418
+ omit?: Prisma.EvidenceAutomationOmit<ExtArgs> | null;
1419
+ /**
1420
+ * Choose, which related nodes to fetch as well
1421
+ */
1422
+ include?: Prisma.EvidenceAutomationInclude<ExtArgs> | null;
1423
+ /**
1424
+ * The filter to search for the EvidenceAutomation to update in case it exists.
1425
+ */
1426
+ where: Prisma.EvidenceAutomationWhereUniqueInput;
1427
+ /**
1428
+ * In case the EvidenceAutomation found by the `where` argument doesn't exist, create a new EvidenceAutomation with this data.
1429
+ */
1430
+ create: Prisma.XOR<Prisma.EvidenceAutomationCreateInput, Prisma.EvidenceAutomationUncheckedCreateInput>;
1431
+ /**
1432
+ * In case the EvidenceAutomation was found with the provided `where` argument, update it with this data.
1433
+ */
1434
+ update: Prisma.XOR<Prisma.EvidenceAutomationUpdateInput, Prisma.EvidenceAutomationUncheckedUpdateInput>;
1435
+ };
1436
+ /**
1437
+ * EvidenceAutomation delete
1438
+ */
1439
+ export type EvidenceAutomationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1440
+ /**
1441
+ * Select specific fields to fetch from the EvidenceAutomation
1442
+ */
1443
+ select?: Prisma.EvidenceAutomationSelect<ExtArgs> | null;
1444
+ /**
1445
+ * Omit specific fields from the EvidenceAutomation
1446
+ */
1447
+ omit?: Prisma.EvidenceAutomationOmit<ExtArgs> | null;
1448
+ /**
1449
+ * Choose, which related nodes to fetch as well
1450
+ */
1451
+ include?: Prisma.EvidenceAutomationInclude<ExtArgs> | null;
1452
+ /**
1453
+ * Filter which EvidenceAutomation to delete.
1454
+ */
1455
+ where: Prisma.EvidenceAutomationWhereUniqueInput;
1456
+ };
1457
+ /**
1458
+ * EvidenceAutomation deleteMany
1459
+ */
1460
+ export type EvidenceAutomationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1461
+ /**
1462
+ * Filter which EvidenceAutomations to delete
1463
+ */
1464
+ where?: Prisma.EvidenceAutomationWhereInput;
1465
+ /**
1466
+ * Limit how many EvidenceAutomations to delete.
1467
+ */
1468
+ limit?: number;
1469
+ };
1470
+ /**
1471
+ * EvidenceAutomation.runs
1472
+ */
1473
+ export type EvidenceAutomation$runsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1474
+ /**
1475
+ * Select specific fields to fetch from the EvidenceAutomationRun
1476
+ */
1477
+ select?: Prisma.EvidenceAutomationRunSelect<ExtArgs> | null;
1478
+ /**
1479
+ * Omit specific fields from the EvidenceAutomationRun
1480
+ */
1481
+ omit?: Prisma.EvidenceAutomationRunOmit<ExtArgs> | null;
1482
+ /**
1483
+ * Choose, which related nodes to fetch as well
1484
+ */
1485
+ include?: Prisma.EvidenceAutomationRunInclude<ExtArgs> | null;
1486
+ where?: Prisma.EvidenceAutomationRunWhereInput;
1487
+ orderBy?: Prisma.EvidenceAutomationRunOrderByWithRelationInput | Prisma.EvidenceAutomationRunOrderByWithRelationInput[];
1488
+ cursor?: Prisma.EvidenceAutomationRunWhereUniqueInput;
1489
+ take?: number;
1490
+ skip?: number;
1491
+ distinct?: Prisma.EvidenceAutomationRunScalarFieldEnum | Prisma.EvidenceAutomationRunScalarFieldEnum[];
1492
+ };
1493
+ /**
1494
+ * EvidenceAutomation.versions
1495
+ */
1496
+ export type EvidenceAutomation$versionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1497
+ /**
1498
+ * Select specific fields to fetch from the EvidenceAutomationVersion
1499
+ */
1500
+ select?: Prisma.EvidenceAutomationVersionSelect<ExtArgs> | null;
1501
+ /**
1502
+ * Omit specific fields from the EvidenceAutomationVersion
1503
+ */
1504
+ omit?: Prisma.EvidenceAutomationVersionOmit<ExtArgs> | null;
1505
+ /**
1506
+ * Choose, which related nodes to fetch as well
1507
+ */
1508
+ include?: Prisma.EvidenceAutomationVersionInclude<ExtArgs> | null;
1509
+ where?: Prisma.EvidenceAutomationVersionWhereInput;
1510
+ orderBy?: Prisma.EvidenceAutomationVersionOrderByWithRelationInput | Prisma.EvidenceAutomationVersionOrderByWithRelationInput[];
1511
+ cursor?: Prisma.EvidenceAutomationVersionWhereUniqueInput;
1512
+ take?: number;
1513
+ skip?: number;
1514
+ distinct?: Prisma.EvidenceAutomationVersionScalarFieldEnum | Prisma.EvidenceAutomationVersionScalarFieldEnum[];
1515
+ };
1516
+ /**
1517
+ * EvidenceAutomation without action
1518
+ */
1519
+ export type EvidenceAutomationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1520
+ /**
1521
+ * Select specific fields to fetch from the EvidenceAutomation
1522
+ */
1523
+ select?: Prisma.EvidenceAutomationSelect<ExtArgs> | null;
1524
+ /**
1525
+ * Omit specific fields from the EvidenceAutomation
1526
+ */
1527
+ omit?: Prisma.EvidenceAutomationOmit<ExtArgs> | null;
1528
+ /**
1529
+ * Choose, which related nodes to fetch as well
1530
+ */
1531
+ include?: Prisma.EvidenceAutomationInclude<ExtArgs> | null;
1532
+ };
1533
+ //# sourceMappingURL=EvidenceAutomation.d.ts.map