@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,1455 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as $Enums from "../enums.js";
3
+ import type * as Prisma from "../internal/prismaNamespace.js";
4
+ /**
5
+ * Model BrowserAutomationRun
6
+ * Records of browser automation executions
7
+ */
8
+ export type BrowserAutomationRunModel = runtime.Types.Result.DefaultSelection<Prisma.$BrowserAutomationRunPayload>;
9
+ export type AggregateBrowserAutomationRun = {
10
+ _count: BrowserAutomationRunCountAggregateOutputType | null;
11
+ _avg: BrowserAutomationRunAvgAggregateOutputType | null;
12
+ _sum: BrowserAutomationRunSumAggregateOutputType | null;
13
+ _min: BrowserAutomationRunMinAggregateOutputType | null;
14
+ _max: BrowserAutomationRunMaxAggregateOutputType | null;
15
+ };
16
+ export type BrowserAutomationRunAvgAggregateOutputType = {
17
+ durationMs: number | null;
18
+ };
19
+ export type BrowserAutomationRunSumAggregateOutputType = {
20
+ durationMs: number | null;
21
+ };
22
+ export type BrowserAutomationRunMinAggregateOutputType = {
23
+ id: string | null;
24
+ automationId: string | null;
25
+ status: $Enums.BrowserAutomationRunStatus | null;
26
+ startedAt: Date | null;
27
+ completedAt: Date | null;
28
+ durationMs: number | null;
29
+ screenshotUrl: string | null;
30
+ evaluationStatus: $Enums.BrowserAutomationEvaluationStatus | null;
31
+ evaluationReason: string | null;
32
+ error: string | null;
33
+ createdAt: Date | null;
34
+ };
35
+ export type BrowserAutomationRunMaxAggregateOutputType = {
36
+ id: string | null;
37
+ automationId: string | null;
38
+ status: $Enums.BrowserAutomationRunStatus | null;
39
+ startedAt: Date | null;
40
+ completedAt: Date | null;
41
+ durationMs: number | null;
42
+ screenshotUrl: string | null;
43
+ evaluationStatus: $Enums.BrowserAutomationEvaluationStatus | null;
44
+ evaluationReason: string | null;
45
+ error: string | null;
46
+ createdAt: Date | null;
47
+ };
48
+ export type BrowserAutomationRunCountAggregateOutputType = {
49
+ id: number;
50
+ automationId: number;
51
+ status: number;
52
+ startedAt: number;
53
+ completedAt: number;
54
+ durationMs: number;
55
+ screenshotUrl: number;
56
+ evaluationStatus: number;
57
+ evaluationReason: number;
58
+ error: number;
59
+ createdAt: number;
60
+ _all: number;
61
+ };
62
+ export type BrowserAutomationRunAvgAggregateInputType = {
63
+ durationMs?: true;
64
+ };
65
+ export type BrowserAutomationRunSumAggregateInputType = {
66
+ durationMs?: true;
67
+ };
68
+ export type BrowserAutomationRunMinAggregateInputType = {
69
+ id?: true;
70
+ automationId?: true;
71
+ status?: true;
72
+ startedAt?: true;
73
+ completedAt?: true;
74
+ durationMs?: true;
75
+ screenshotUrl?: true;
76
+ evaluationStatus?: true;
77
+ evaluationReason?: true;
78
+ error?: true;
79
+ createdAt?: true;
80
+ };
81
+ export type BrowserAutomationRunMaxAggregateInputType = {
82
+ id?: true;
83
+ automationId?: true;
84
+ status?: true;
85
+ startedAt?: true;
86
+ completedAt?: true;
87
+ durationMs?: true;
88
+ screenshotUrl?: true;
89
+ evaluationStatus?: true;
90
+ evaluationReason?: true;
91
+ error?: true;
92
+ createdAt?: true;
93
+ };
94
+ export type BrowserAutomationRunCountAggregateInputType = {
95
+ id?: true;
96
+ automationId?: true;
97
+ status?: true;
98
+ startedAt?: true;
99
+ completedAt?: true;
100
+ durationMs?: true;
101
+ screenshotUrl?: true;
102
+ evaluationStatus?: true;
103
+ evaluationReason?: true;
104
+ error?: true;
105
+ createdAt?: true;
106
+ _all?: true;
107
+ };
108
+ export type BrowserAutomationRunAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
109
+ /**
110
+ * Filter which BrowserAutomationRun to aggregate.
111
+ */
112
+ where?: Prisma.BrowserAutomationRunWhereInput;
113
+ /**
114
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
115
+ *
116
+ * Determine the order of BrowserAutomationRuns to fetch.
117
+ */
118
+ orderBy?: Prisma.BrowserAutomationRunOrderByWithRelationInput | Prisma.BrowserAutomationRunOrderByWithRelationInput[];
119
+ /**
120
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
121
+ *
122
+ * Sets the start position
123
+ */
124
+ cursor?: Prisma.BrowserAutomationRunWhereUniqueInput;
125
+ /**
126
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
127
+ *
128
+ * Take `±n` BrowserAutomationRuns from the position of the cursor.
129
+ */
130
+ take?: number;
131
+ /**
132
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
133
+ *
134
+ * Skip the first `n` BrowserAutomationRuns.
135
+ */
136
+ skip?: number;
137
+ /**
138
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
139
+ *
140
+ * Count returned BrowserAutomationRuns
141
+ **/
142
+ _count?: true | BrowserAutomationRunCountAggregateInputType;
143
+ /**
144
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
145
+ *
146
+ * Select which fields to average
147
+ **/
148
+ _avg?: BrowserAutomationRunAvgAggregateInputType;
149
+ /**
150
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
151
+ *
152
+ * Select which fields to sum
153
+ **/
154
+ _sum?: BrowserAutomationRunSumAggregateInputType;
155
+ /**
156
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
157
+ *
158
+ * Select which fields to find the minimum value
159
+ **/
160
+ _min?: BrowserAutomationRunMinAggregateInputType;
161
+ /**
162
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
163
+ *
164
+ * Select which fields to find the maximum value
165
+ **/
166
+ _max?: BrowserAutomationRunMaxAggregateInputType;
167
+ };
168
+ export type GetBrowserAutomationRunAggregateType<T extends BrowserAutomationRunAggregateArgs> = {
169
+ [P in keyof T & keyof AggregateBrowserAutomationRun]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateBrowserAutomationRun[P]> : Prisma.GetScalarType<T[P], AggregateBrowserAutomationRun[P]>;
170
+ };
171
+ export type BrowserAutomationRunGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
172
+ where?: Prisma.BrowserAutomationRunWhereInput;
173
+ orderBy?: Prisma.BrowserAutomationRunOrderByWithAggregationInput | Prisma.BrowserAutomationRunOrderByWithAggregationInput[];
174
+ by: Prisma.BrowserAutomationRunScalarFieldEnum[] | Prisma.BrowserAutomationRunScalarFieldEnum;
175
+ having?: Prisma.BrowserAutomationRunScalarWhereWithAggregatesInput;
176
+ take?: number;
177
+ skip?: number;
178
+ _count?: BrowserAutomationRunCountAggregateInputType | true;
179
+ _avg?: BrowserAutomationRunAvgAggregateInputType;
180
+ _sum?: BrowserAutomationRunSumAggregateInputType;
181
+ _min?: BrowserAutomationRunMinAggregateInputType;
182
+ _max?: BrowserAutomationRunMaxAggregateInputType;
183
+ };
184
+ export type BrowserAutomationRunGroupByOutputType = {
185
+ id: string;
186
+ automationId: string;
187
+ status: $Enums.BrowserAutomationRunStatus;
188
+ startedAt: Date | null;
189
+ completedAt: Date | null;
190
+ durationMs: number | null;
191
+ screenshotUrl: string | null;
192
+ evaluationStatus: $Enums.BrowserAutomationEvaluationStatus | null;
193
+ evaluationReason: string | null;
194
+ error: string | null;
195
+ createdAt: Date;
196
+ _count: BrowserAutomationRunCountAggregateOutputType | null;
197
+ _avg: BrowserAutomationRunAvgAggregateOutputType | null;
198
+ _sum: BrowserAutomationRunSumAggregateOutputType | null;
199
+ _min: BrowserAutomationRunMinAggregateOutputType | null;
200
+ _max: BrowserAutomationRunMaxAggregateOutputType | null;
201
+ };
202
+ export type GetBrowserAutomationRunGroupByPayload<T extends BrowserAutomationRunGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<BrowserAutomationRunGroupByOutputType, T['by']> & {
203
+ [P in ((keyof T) & (keyof BrowserAutomationRunGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], BrowserAutomationRunGroupByOutputType[P]> : Prisma.GetScalarType<T[P], BrowserAutomationRunGroupByOutputType[P]>;
204
+ }>>;
205
+ export type BrowserAutomationRunWhereInput = {
206
+ AND?: Prisma.BrowserAutomationRunWhereInput | Prisma.BrowserAutomationRunWhereInput[];
207
+ OR?: Prisma.BrowserAutomationRunWhereInput[];
208
+ NOT?: Prisma.BrowserAutomationRunWhereInput | Prisma.BrowserAutomationRunWhereInput[];
209
+ id?: Prisma.StringFilter<"BrowserAutomationRun"> | string;
210
+ automationId?: Prisma.StringFilter<"BrowserAutomationRun"> | string;
211
+ status?: Prisma.EnumBrowserAutomationRunStatusFilter<"BrowserAutomationRun"> | $Enums.BrowserAutomationRunStatus;
212
+ startedAt?: Prisma.DateTimeNullableFilter<"BrowserAutomationRun"> | Date | string | null;
213
+ completedAt?: Prisma.DateTimeNullableFilter<"BrowserAutomationRun"> | Date | string | null;
214
+ durationMs?: Prisma.IntNullableFilter<"BrowserAutomationRun"> | number | null;
215
+ screenshotUrl?: Prisma.StringNullableFilter<"BrowserAutomationRun"> | string | null;
216
+ evaluationStatus?: Prisma.EnumBrowserAutomationEvaluationStatusNullableFilter<"BrowserAutomationRun"> | $Enums.BrowserAutomationEvaluationStatus | null;
217
+ evaluationReason?: Prisma.StringNullableFilter<"BrowserAutomationRun"> | string | null;
218
+ error?: Prisma.StringNullableFilter<"BrowserAutomationRun"> | string | null;
219
+ createdAt?: Prisma.DateTimeFilter<"BrowserAutomationRun"> | Date | string;
220
+ automation?: Prisma.XOR<Prisma.BrowserAutomationScalarRelationFilter, Prisma.BrowserAutomationWhereInput>;
221
+ };
222
+ export type BrowserAutomationRunOrderByWithRelationInput = {
223
+ id?: Prisma.SortOrder;
224
+ automationId?: Prisma.SortOrder;
225
+ status?: Prisma.SortOrder;
226
+ startedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
227
+ completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
228
+ durationMs?: Prisma.SortOrderInput | Prisma.SortOrder;
229
+ screenshotUrl?: Prisma.SortOrderInput | Prisma.SortOrder;
230
+ evaluationStatus?: Prisma.SortOrderInput | Prisma.SortOrder;
231
+ evaluationReason?: Prisma.SortOrderInput | Prisma.SortOrder;
232
+ error?: Prisma.SortOrderInput | Prisma.SortOrder;
233
+ createdAt?: Prisma.SortOrder;
234
+ automation?: Prisma.BrowserAutomationOrderByWithRelationInput;
235
+ };
236
+ export type BrowserAutomationRunWhereUniqueInput = Prisma.AtLeast<{
237
+ id?: string;
238
+ AND?: Prisma.BrowserAutomationRunWhereInput | Prisma.BrowserAutomationRunWhereInput[];
239
+ OR?: Prisma.BrowserAutomationRunWhereInput[];
240
+ NOT?: Prisma.BrowserAutomationRunWhereInput | Prisma.BrowserAutomationRunWhereInput[];
241
+ automationId?: Prisma.StringFilter<"BrowserAutomationRun"> | string;
242
+ status?: Prisma.EnumBrowserAutomationRunStatusFilter<"BrowserAutomationRun"> | $Enums.BrowserAutomationRunStatus;
243
+ startedAt?: Prisma.DateTimeNullableFilter<"BrowserAutomationRun"> | Date | string | null;
244
+ completedAt?: Prisma.DateTimeNullableFilter<"BrowserAutomationRun"> | Date | string | null;
245
+ durationMs?: Prisma.IntNullableFilter<"BrowserAutomationRun"> | number | null;
246
+ screenshotUrl?: Prisma.StringNullableFilter<"BrowserAutomationRun"> | string | null;
247
+ evaluationStatus?: Prisma.EnumBrowserAutomationEvaluationStatusNullableFilter<"BrowserAutomationRun"> | $Enums.BrowserAutomationEvaluationStatus | null;
248
+ evaluationReason?: Prisma.StringNullableFilter<"BrowserAutomationRun"> | string | null;
249
+ error?: Prisma.StringNullableFilter<"BrowserAutomationRun"> | string | null;
250
+ createdAt?: Prisma.DateTimeFilter<"BrowserAutomationRun"> | Date | string;
251
+ automation?: Prisma.XOR<Prisma.BrowserAutomationScalarRelationFilter, Prisma.BrowserAutomationWhereInput>;
252
+ }, "id">;
253
+ export type BrowserAutomationRunOrderByWithAggregationInput = {
254
+ id?: Prisma.SortOrder;
255
+ automationId?: Prisma.SortOrder;
256
+ status?: Prisma.SortOrder;
257
+ startedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
258
+ completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
259
+ durationMs?: Prisma.SortOrderInput | Prisma.SortOrder;
260
+ screenshotUrl?: Prisma.SortOrderInput | Prisma.SortOrder;
261
+ evaluationStatus?: Prisma.SortOrderInput | Prisma.SortOrder;
262
+ evaluationReason?: Prisma.SortOrderInput | Prisma.SortOrder;
263
+ error?: Prisma.SortOrderInput | Prisma.SortOrder;
264
+ createdAt?: Prisma.SortOrder;
265
+ _count?: Prisma.BrowserAutomationRunCountOrderByAggregateInput;
266
+ _avg?: Prisma.BrowserAutomationRunAvgOrderByAggregateInput;
267
+ _max?: Prisma.BrowserAutomationRunMaxOrderByAggregateInput;
268
+ _min?: Prisma.BrowserAutomationRunMinOrderByAggregateInput;
269
+ _sum?: Prisma.BrowserAutomationRunSumOrderByAggregateInput;
270
+ };
271
+ export type BrowserAutomationRunScalarWhereWithAggregatesInput = {
272
+ AND?: Prisma.BrowserAutomationRunScalarWhereWithAggregatesInput | Prisma.BrowserAutomationRunScalarWhereWithAggregatesInput[];
273
+ OR?: Prisma.BrowserAutomationRunScalarWhereWithAggregatesInput[];
274
+ NOT?: Prisma.BrowserAutomationRunScalarWhereWithAggregatesInput | Prisma.BrowserAutomationRunScalarWhereWithAggregatesInput[];
275
+ id?: Prisma.StringWithAggregatesFilter<"BrowserAutomationRun"> | string;
276
+ automationId?: Prisma.StringWithAggregatesFilter<"BrowserAutomationRun"> | string;
277
+ status?: Prisma.EnumBrowserAutomationRunStatusWithAggregatesFilter<"BrowserAutomationRun"> | $Enums.BrowserAutomationRunStatus;
278
+ startedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"BrowserAutomationRun"> | Date | string | null;
279
+ completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"BrowserAutomationRun"> | Date | string | null;
280
+ durationMs?: Prisma.IntNullableWithAggregatesFilter<"BrowserAutomationRun"> | number | null;
281
+ screenshotUrl?: Prisma.StringNullableWithAggregatesFilter<"BrowserAutomationRun"> | string | null;
282
+ evaluationStatus?: Prisma.EnumBrowserAutomationEvaluationStatusNullableWithAggregatesFilter<"BrowserAutomationRun"> | $Enums.BrowserAutomationEvaluationStatus | null;
283
+ evaluationReason?: Prisma.StringNullableWithAggregatesFilter<"BrowserAutomationRun"> | string | null;
284
+ error?: Prisma.StringNullableWithAggregatesFilter<"BrowserAutomationRun"> | string | null;
285
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"BrowserAutomationRun"> | Date | string;
286
+ };
287
+ export type BrowserAutomationRunCreateInput = {
288
+ id?: string;
289
+ status?: $Enums.BrowserAutomationRunStatus;
290
+ startedAt?: Date | string | null;
291
+ completedAt?: Date | string | null;
292
+ durationMs?: number | null;
293
+ screenshotUrl?: string | null;
294
+ evaluationStatus?: $Enums.BrowserAutomationEvaluationStatus | null;
295
+ evaluationReason?: string | null;
296
+ error?: string | null;
297
+ createdAt?: Date | string;
298
+ automation: Prisma.BrowserAutomationCreateNestedOneWithoutRunsInput;
299
+ };
300
+ export type BrowserAutomationRunUncheckedCreateInput = {
301
+ id?: string;
302
+ automationId: string;
303
+ status?: $Enums.BrowserAutomationRunStatus;
304
+ startedAt?: Date | string | null;
305
+ completedAt?: Date | string | null;
306
+ durationMs?: number | null;
307
+ screenshotUrl?: string | null;
308
+ evaluationStatus?: $Enums.BrowserAutomationEvaluationStatus | null;
309
+ evaluationReason?: string | null;
310
+ error?: string | null;
311
+ createdAt?: Date | string;
312
+ };
313
+ export type BrowserAutomationRunUpdateInput = {
314
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
315
+ status?: Prisma.EnumBrowserAutomationRunStatusFieldUpdateOperationsInput | $Enums.BrowserAutomationRunStatus;
316
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
317
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
318
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
319
+ screenshotUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
320
+ evaluationStatus?: Prisma.NullableEnumBrowserAutomationEvaluationStatusFieldUpdateOperationsInput | $Enums.BrowserAutomationEvaluationStatus | null;
321
+ evaluationReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
322
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
323
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
324
+ automation?: Prisma.BrowserAutomationUpdateOneRequiredWithoutRunsNestedInput;
325
+ };
326
+ export type BrowserAutomationRunUncheckedUpdateInput = {
327
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
328
+ automationId?: Prisma.StringFieldUpdateOperationsInput | string;
329
+ status?: Prisma.EnumBrowserAutomationRunStatusFieldUpdateOperationsInput | $Enums.BrowserAutomationRunStatus;
330
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
331
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
332
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
333
+ screenshotUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
334
+ evaluationStatus?: Prisma.NullableEnumBrowserAutomationEvaluationStatusFieldUpdateOperationsInput | $Enums.BrowserAutomationEvaluationStatus | null;
335
+ evaluationReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
336
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
337
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
338
+ };
339
+ export type BrowserAutomationRunCreateManyInput = {
340
+ id?: string;
341
+ automationId: string;
342
+ status?: $Enums.BrowserAutomationRunStatus;
343
+ startedAt?: Date | string | null;
344
+ completedAt?: Date | string | null;
345
+ durationMs?: number | null;
346
+ screenshotUrl?: string | null;
347
+ evaluationStatus?: $Enums.BrowserAutomationEvaluationStatus | null;
348
+ evaluationReason?: string | null;
349
+ error?: string | null;
350
+ createdAt?: Date | string;
351
+ };
352
+ export type BrowserAutomationRunUpdateManyMutationInput = {
353
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
354
+ status?: Prisma.EnumBrowserAutomationRunStatusFieldUpdateOperationsInput | $Enums.BrowserAutomationRunStatus;
355
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
356
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
357
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
358
+ screenshotUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
359
+ evaluationStatus?: Prisma.NullableEnumBrowserAutomationEvaluationStatusFieldUpdateOperationsInput | $Enums.BrowserAutomationEvaluationStatus | null;
360
+ evaluationReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
361
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
362
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
363
+ };
364
+ export type BrowserAutomationRunUncheckedUpdateManyInput = {
365
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
366
+ automationId?: Prisma.StringFieldUpdateOperationsInput | string;
367
+ status?: Prisma.EnumBrowserAutomationRunStatusFieldUpdateOperationsInput | $Enums.BrowserAutomationRunStatus;
368
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
369
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
370
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
371
+ screenshotUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
372
+ evaluationStatus?: Prisma.NullableEnumBrowserAutomationEvaluationStatusFieldUpdateOperationsInput | $Enums.BrowserAutomationEvaluationStatus | null;
373
+ evaluationReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
374
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
375
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
376
+ };
377
+ export type BrowserAutomationRunListRelationFilter = {
378
+ every?: Prisma.BrowserAutomationRunWhereInput;
379
+ some?: Prisma.BrowserAutomationRunWhereInput;
380
+ none?: Prisma.BrowserAutomationRunWhereInput;
381
+ };
382
+ export type BrowserAutomationRunOrderByRelationAggregateInput = {
383
+ _count?: Prisma.SortOrder;
384
+ };
385
+ export type BrowserAutomationRunCountOrderByAggregateInput = {
386
+ id?: Prisma.SortOrder;
387
+ automationId?: Prisma.SortOrder;
388
+ status?: Prisma.SortOrder;
389
+ startedAt?: Prisma.SortOrder;
390
+ completedAt?: Prisma.SortOrder;
391
+ durationMs?: Prisma.SortOrder;
392
+ screenshotUrl?: Prisma.SortOrder;
393
+ evaluationStatus?: Prisma.SortOrder;
394
+ evaluationReason?: Prisma.SortOrder;
395
+ error?: Prisma.SortOrder;
396
+ createdAt?: Prisma.SortOrder;
397
+ };
398
+ export type BrowserAutomationRunAvgOrderByAggregateInput = {
399
+ durationMs?: Prisma.SortOrder;
400
+ };
401
+ export type BrowserAutomationRunMaxOrderByAggregateInput = {
402
+ id?: Prisma.SortOrder;
403
+ automationId?: Prisma.SortOrder;
404
+ status?: Prisma.SortOrder;
405
+ startedAt?: Prisma.SortOrder;
406
+ completedAt?: Prisma.SortOrder;
407
+ durationMs?: Prisma.SortOrder;
408
+ screenshotUrl?: Prisma.SortOrder;
409
+ evaluationStatus?: Prisma.SortOrder;
410
+ evaluationReason?: Prisma.SortOrder;
411
+ error?: Prisma.SortOrder;
412
+ createdAt?: Prisma.SortOrder;
413
+ };
414
+ export type BrowserAutomationRunMinOrderByAggregateInput = {
415
+ id?: Prisma.SortOrder;
416
+ automationId?: Prisma.SortOrder;
417
+ status?: Prisma.SortOrder;
418
+ startedAt?: Prisma.SortOrder;
419
+ completedAt?: Prisma.SortOrder;
420
+ durationMs?: Prisma.SortOrder;
421
+ screenshotUrl?: Prisma.SortOrder;
422
+ evaluationStatus?: Prisma.SortOrder;
423
+ evaluationReason?: Prisma.SortOrder;
424
+ error?: Prisma.SortOrder;
425
+ createdAt?: Prisma.SortOrder;
426
+ };
427
+ export type BrowserAutomationRunSumOrderByAggregateInput = {
428
+ durationMs?: Prisma.SortOrder;
429
+ };
430
+ export type BrowserAutomationRunCreateNestedManyWithoutAutomationInput = {
431
+ create?: Prisma.XOR<Prisma.BrowserAutomationRunCreateWithoutAutomationInput, Prisma.BrowserAutomationRunUncheckedCreateWithoutAutomationInput> | Prisma.BrowserAutomationRunCreateWithoutAutomationInput[] | Prisma.BrowserAutomationRunUncheckedCreateWithoutAutomationInput[];
432
+ connectOrCreate?: Prisma.BrowserAutomationRunCreateOrConnectWithoutAutomationInput | Prisma.BrowserAutomationRunCreateOrConnectWithoutAutomationInput[];
433
+ createMany?: Prisma.BrowserAutomationRunCreateManyAutomationInputEnvelope;
434
+ connect?: Prisma.BrowserAutomationRunWhereUniqueInput | Prisma.BrowserAutomationRunWhereUniqueInput[];
435
+ };
436
+ export type BrowserAutomationRunUncheckedCreateNestedManyWithoutAutomationInput = {
437
+ create?: Prisma.XOR<Prisma.BrowserAutomationRunCreateWithoutAutomationInput, Prisma.BrowserAutomationRunUncheckedCreateWithoutAutomationInput> | Prisma.BrowserAutomationRunCreateWithoutAutomationInput[] | Prisma.BrowserAutomationRunUncheckedCreateWithoutAutomationInput[];
438
+ connectOrCreate?: Prisma.BrowserAutomationRunCreateOrConnectWithoutAutomationInput | Prisma.BrowserAutomationRunCreateOrConnectWithoutAutomationInput[];
439
+ createMany?: Prisma.BrowserAutomationRunCreateManyAutomationInputEnvelope;
440
+ connect?: Prisma.BrowserAutomationRunWhereUniqueInput | Prisma.BrowserAutomationRunWhereUniqueInput[];
441
+ };
442
+ export type BrowserAutomationRunUpdateManyWithoutAutomationNestedInput = {
443
+ create?: Prisma.XOR<Prisma.BrowserAutomationRunCreateWithoutAutomationInput, Prisma.BrowserAutomationRunUncheckedCreateWithoutAutomationInput> | Prisma.BrowserAutomationRunCreateWithoutAutomationInput[] | Prisma.BrowserAutomationRunUncheckedCreateWithoutAutomationInput[];
444
+ connectOrCreate?: Prisma.BrowserAutomationRunCreateOrConnectWithoutAutomationInput | Prisma.BrowserAutomationRunCreateOrConnectWithoutAutomationInput[];
445
+ upsert?: Prisma.BrowserAutomationRunUpsertWithWhereUniqueWithoutAutomationInput | Prisma.BrowserAutomationRunUpsertWithWhereUniqueWithoutAutomationInput[];
446
+ createMany?: Prisma.BrowserAutomationRunCreateManyAutomationInputEnvelope;
447
+ set?: Prisma.BrowserAutomationRunWhereUniqueInput | Prisma.BrowserAutomationRunWhereUniqueInput[];
448
+ disconnect?: Prisma.BrowserAutomationRunWhereUniqueInput | Prisma.BrowserAutomationRunWhereUniqueInput[];
449
+ delete?: Prisma.BrowserAutomationRunWhereUniqueInput | Prisma.BrowserAutomationRunWhereUniqueInput[];
450
+ connect?: Prisma.BrowserAutomationRunWhereUniqueInput | Prisma.BrowserAutomationRunWhereUniqueInput[];
451
+ update?: Prisma.BrowserAutomationRunUpdateWithWhereUniqueWithoutAutomationInput | Prisma.BrowserAutomationRunUpdateWithWhereUniqueWithoutAutomationInput[];
452
+ updateMany?: Prisma.BrowserAutomationRunUpdateManyWithWhereWithoutAutomationInput | Prisma.BrowserAutomationRunUpdateManyWithWhereWithoutAutomationInput[];
453
+ deleteMany?: Prisma.BrowserAutomationRunScalarWhereInput | Prisma.BrowserAutomationRunScalarWhereInput[];
454
+ };
455
+ export type BrowserAutomationRunUncheckedUpdateManyWithoutAutomationNestedInput = {
456
+ create?: Prisma.XOR<Prisma.BrowserAutomationRunCreateWithoutAutomationInput, Prisma.BrowserAutomationRunUncheckedCreateWithoutAutomationInput> | Prisma.BrowserAutomationRunCreateWithoutAutomationInput[] | Prisma.BrowserAutomationRunUncheckedCreateWithoutAutomationInput[];
457
+ connectOrCreate?: Prisma.BrowserAutomationRunCreateOrConnectWithoutAutomationInput | Prisma.BrowserAutomationRunCreateOrConnectWithoutAutomationInput[];
458
+ upsert?: Prisma.BrowserAutomationRunUpsertWithWhereUniqueWithoutAutomationInput | Prisma.BrowserAutomationRunUpsertWithWhereUniqueWithoutAutomationInput[];
459
+ createMany?: Prisma.BrowserAutomationRunCreateManyAutomationInputEnvelope;
460
+ set?: Prisma.BrowserAutomationRunWhereUniqueInput | Prisma.BrowserAutomationRunWhereUniqueInput[];
461
+ disconnect?: Prisma.BrowserAutomationRunWhereUniqueInput | Prisma.BrowserAutomationRunWhereUniqueInput[];
462
+ delete?: Prisma.BrowserAutomationRunWhereUniqueInput | Prisma.BrowserAutomationRunWhereUniqueInput[];
463
+ connect?: Prisma.BrowserAutomationRunWhereUniqueInput | Prisma.BrowserAutomationRunWhereUniqueInput[];
464
+ update?: Prisma.BrowserAutomationRunUpdateWithWhereUniqueWithoutAutomationInput | Prisma.BrowserAutomationRunUpdateWithWhereUniqueWithoutAutomationInput[];
465
+ updateMany?: Prisma.BrowserAutomationRunUpdateManyWithWhereWithoutAutomationInput | Prisma.BrowserAutomationRunUpdateManyWithWhereWithoutAutomationInput[];
466
+ deleteMany?: Prisma.BrowserAutomationRunScalarWhereInput | Prisma.BrowserAutomationRunScalarWhereInput[];
467
+ };
468
+ export type EnumBrowserAutomationRunStatusFieldUpdateOperationsInput = {
469
+ set?: $Enums.BrowserAutomationRunStatus;
470
+ };
471
+ export type NullableEnumBrowserAutomationEvaluationStatusFieldUpdateOperationsInput = {
472
+ set?: $Enums.BrowserAutomationEvaluationStatus | null;
473
+ };
474
+ export type BrowserAutomationRunCreateWithoutAutomationInput = {
475
+ id?: string;
476
+ status?: $Enums.BrowserAutomationRunStatus;
477
+ startedAt?: Date | string | null;
478
+ completedAt?: Date | string | null;
479
+ durationMs?: number | null;
480
+ screenshotUrl?: string | null;
481
+ evaluationStatus?: $Enums.BrowserAutomationEvaluationStatus | null;
482
+ evaluationReason?: string | null;
483
+ error?: string | null;
484
+ createdAt?: Date | string;
485
+ };
486
+ export type BrowserAutomationRunUncheckedCreateWithoutAutomationInput = {
487
+ id?: string;
488
+ status?: $Enums.BrowserAutomationRunStatus;
489
+ startedAt?: Date | string | null;
490
+ completedAt?: Date | string | null;
491
+ durationMs?: number | null;
492
+ screenshotUrl?: string | null;
493
+ evaluationStatus?: $Enums.BrowserAutomationEvaluationStatus | null;
494
+ evaluationReason?: string | null;
495
+ error?: string | null;
496
+ createdAt?: Date | string;
497
+ };
498
+ export type BrowserAutomationRunCreateOrConnectWithoutAutomationInput = {
499
+ where: Prisma.BrowserAutomationRunWhereUniqueInput;
500
+ create: Prisma.XOR<Prisma.BrowserAutomationRunCreateWithoutAutomationInput, Prisma.BrowserAutomationRunUncheckedCreateWithoutAutomationInput>;
501
+ };
502
+ export type BrowserAutomationRunCreateManyAutomationInputEnvelope = {
503
+ data: Prisma.BrowserAutomationRunCreateManyAutomationInput | Prisma.BrowserAutomationRunCreateManyAutomationInput[];
504
+ skipDuplicates?: boolean;
505
+ };
506
+ export type BrowserAutomationRunUpsertWithWhereUniqueWithoutAutomationInput = {
507
+ where: Prisma.BrowserAutomationRunWhereUniqueInput;
508
+ update: Prisma.XOR<Prisma.BrowserAutomationRunUpdateWithoutAutomationInput, Prisma.BrowserAutomationRunUncheckedUpdateWithoutAutomationInput>;
509
+ create: Prisma.XOR<Prisma.BrowserAutomationRunCreateWithoutAutomationInput, Prisma.BrowserAutomationRunUncheckedCreateWithoutAutomationInput>;
510
+ };
511
+ export type BrowserAutomationRunUpdateWithWhereUniqueWithoutAutomationInput = {
512
+ where: Prisma.BrowserAutomationRunWhereUniqueInput;
513
+ data: Prisma.XOR<Prisma.BrowserAutomationRunUpdateWithoutAutomationInput, Prisma.BrowserAutomationRunUncheckedUpdateWithoutAutomationInput>;
514
+ };
515
+ export type BrowserAutomationRunUpdateManyWithWhereWithoutAutomationInput = {
516
+ where: Prisma.BrowserAutomationRunScalarWhereInput;
517
+ data: Prisma.XOR<Prisma.BrowserAutomationRunUpdateManyMutationInput, Prisma.BrowserAutomationRunUncheckedUpdateManyWithoutAutomationInput>;
518
+ };
519
+ export type BrowserAutomationRunScalarWhereInput = {
520
+ AND?: Prisma.BrowserAutomationRunScalarWhereInput | Prisma.BrowserAutomationRunScalarWhereInput[];
521
+ OR?: Prisma.BrowserAutomationRunScalarWhereInput[];
522
+ NOT?: Prisma.BrowserAutomationRunScalarWhereInput | Prisma.BrowserAutomationRunScalarWhereInput[];
523
+ id?: Prisma.StringFilter<"BrowserAutomationRun"> | string;
524
+ automationId?: Prisma.StringFilter<"BrowserAutomationRun"> | string;
525
+ status?: Prisma.EnumBrowserAutomationRunStatusFilter<"BrowserAutomationRun"> | $Enums.BrowserAutomationRunStatus;
526
+ startedAt?: Prisma.DateTimeNullableFilter<"BrowserAutomationRun"> | Date | string | null;
527
+ completedAt?: Prisma.DateTimeNullableFilter<"BrowserAutomationRun"> | Date | string | null;
528
+ durationMs?: Prisma.IntNullableFilter<"BrowserAutomationRun"> | number | null;
529
+ screenshotUrl?: Prisma.StringNullableFilter<"BrowserAutomationRun"> | string | null;
530
+ evaluationStatus?: Prisma.EnumBrowserAutomationEvaluationStatusNullableFilter<"BrowserAutomationRun"> | $Enums.BrowserAutomationEvaluationStatus | null;
531
+ evaluationReason?: Prisma.StringNullableFilter<"BrowserAutomationRun"> | string | null;
532
+ error?: Prisma.StringNullableFilter<"BrowserAutomationRun"> | string | null;
533
+ createdAt?: Prisma.DateTimeFilter<"BrowserAutomationRun"> | Date | string;
534
+ };
535
+ export type BrowserAutomationRunCreateManyAutomationInput = {
536
+ id?: string;
537
+ status?: $Enums.BrowserAutomationRunStatus;
538
+ startedAt?: Date | string | null;
539
+ completedAt?: Date | string | null;
540
+ durationMs?: number | null;
541
+ screenshotUrl?: string | null;
542
+ evaluationStatus?: $Enums.BrowserAutomationEvaluationStatus | null;
543
+ evaluationReason?: string | null;
544
+ error?: string | null;
545
+ createdAt?: Date | string;
546
+ };
547
+ export type BrowserAutomationRunUpdateWithoutAutomationInput = {
548
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
549
+ status?: Prisma.EnumBrowserAutomationRunStatusFieldUpdateOperationsInput | $Enums.BrowserAutomationRunStatus;
550
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
551
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
552
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
553
+ screenshotUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
554
+ evaluationStatus?: Prisma.NullableEnumBrowserAutomationEvaluationStatusFieldUpdateOperationsInput | $Enums.BrowserAutomationEvaluationStatus | null;
555
+ evaluationReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
556
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
557
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
558
+ };
559
+ export type BrowserAutomationRunUncheckedUpdateWithoutAutomationInput = {
560
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
561
+ status?: Prisma.EnumBrowserAutomationRunStatusFieldUpdateOperationsInput | $Enums.BrowserAutomationRunStatus;
562
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
563
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
564
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
565
+ screenshotUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
566
+ evaluationStatus?: Prisma.NullableEnumBrowserAutomationEvaluationStatusFieldUpdateOperationsInput | $Enums.BrowserAutomationEvaluationStatus | null;
567
+ evaluationReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
568
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
569
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
570
+ };
571
+ export type BrowserAutomationRunUncheckedUpdateManyWithoutAutomationInput = {
572
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
573
+ status?: Prisma.EnumBrowserAutomationRunStatusFieldUpdateOperationsInput | $Enums.BrowserAutomationRunStatus;
574
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
575
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
576
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
577
+ screenshotUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
578
+ evaluationStatus?: Prisma.NullableEnumBrowserAutomationEvaluationStatusFieldUpdateOperationsInput | $Enums.BrowserAutomationEvaluationStatus | null;
579
+ evaluationReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
580
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
581
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
582
+ };
583
+ export type BrowserAutomationRunSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
584
+ id?: boolean;
585
+ automationId?: boolean;
586
+ status?: boolean;
587
+ startedAt?: boolean;
588
+ completedAt?: boolean;
589
+ durationMs?: boolean;
590
+ screenshotUrl?: boolean;
591
+ evaluationStatus?: boolean;
592
+ evaluationReason?: boolean;
593
+ error?: boolean;
594
+ createdAt?: boolean;
595
+ automation?: boolean | Prisma.BrowserAutomationDefaultArgs<ExtArgs>;
596
+ }, ExtArgs["result"]["browserAutomationRun"]>;
597
+ export type BrowserAutomationRunSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
598
+ id?: boolean;
599
+ automationId?: boolean;
600
+ status?: boolean;
601
+ startedAt?: boolean;
602
+ completedAt?: boolean;
603
+ durationMs?: boolean;
604
+ screenshotUrl?: boolean;
605
+ evaluationStatus?: boolean;
606
+ evaluationReason?: boolean;
607
+ error?: boolean;
608
+ createdAt?: boolean;
609
+ automation?: boolean | Prisma.BrowserAutomationDefaultArgs<ExtArgs>;
610
+ }, ExtArgs["result"]["browserAutomationRun"]>;
611
+ export type BrowserAutomationRunSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
612
+ id?: boolean;
613
+ automationId?: boolean;
614
+ status?: boolean;
615
+ startedAt?: boolean;
616
+ completedAt?: boolean;
617
+ durationMs?: boolean;
618
+ screenshotUrl?: boolean;
619
+ evaluationStatus?: boolean;
620
+ evaluationReason?: boolean;
621
+ error?: boolean;
622
+ createdAt?: boolean;
623
+ automation?: boolean | Prisma.BrowserAutomationDefaultArgs<ExtArgs>;
624
+ }, ExtArgs["result"]["browserAutomationRun"]>;
625
+ export type BrowserAutomationRunSelectScalar = {
626
+ id?: boolean;
627
+ automationId?: boolean;
628
+ status?: boolean;
629
+ startedAt?: boolean;
630
+ completedAt?: boolean;
631
+ durationMs?: boolean;
632
+ screenshotUrl?: boolean;
633
+ evaluationStatus?: boolean;
634
+ evaluationReason?: boolean;
635
+ error?: boolean;
636
+ createdAt?: boolean;
637
+ };
638
+ export type BrowserAutomationRunOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "automationId" | "status" | "startedAt" | "completedAt" | "durationMs" | "screenshotUrl" | "evaluationStatus" | "evaluationReason" | "error" | "createdAt", ExtArgs["result"]["browserAutomationRun"]>;
639
+ export type BrowserAutomationRunInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
640
+ automation?: boolean | Prisma.BrowserAutomationDefaultArgs<ExtArgs>;
641
+ };
642
+ export type BrowserAutomationRunIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
643
+ automation?: boolean | Prisma.BrowserAutomationDefaultArgs<ExtArgs>;
644
+ };
645
+ export type BrowserAutomationRunIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
646
+ automation?: boolean | Prisma.BrowserAutomationDefaultArgs<ExtArgs>;
647
+ };
648
+ export type $BrowserAutomationRunPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
649
+ name: "BrowserAutomationRun";
650
+ objects: {
651
+ automation: Prisma.$BrowserAutomationPayload<ExtArgs>;
652
+ };
653
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
654
+ id: string;
655
+ /**
656
+ * Parent automation
657
+ */
658
+ automationId: string;
659
+ /**
660
+ * Execution status
661
+ */
662
+ status: $Enums.BrowserAutomationRunStatus;
663
+ /**
664
+ * Timestamps
665
+ */
666
+ startedAt: Date | null;
667
+ completedAt: Date | null;
668
+ /**
669
+ * Duration in milliseconds
670
+ */
671
+ durationMs: number | null;
672
+ /**
673
+ * Screenshot URL in S3 (if successful)
674
+ */
675
+ screenshotUrl: string | null;
676
+ /**
677
+ * Evaluation result - whether the automation fulfilled the task requirements
678
+ */
679
+ evaluationStatus: $Enums.BrowserAutomationEvaluationStatus | null;
680
+ /**
681
+ * AI explanation of why it passed or failed
682
+ */
683
+ evaluationReason: string | null;
684
+ /**
685
+ * Error message (if failed)
686
+ */
687
+ error: string | null;
688
+ createdAt: Date;
689
+ }, ExtArgs["result"]["browserAutomationRun"]>;
690
+ composites: {};
691
+ };
692
+ export type BrowserAutomationRunGetPayload<S extends boolean | null | undefined | BrowserAutomationRunDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BrowserAutomationRunPayload, S>;
693
+ export type BrowserAutomationRunCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<BrowserAutomationRunFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
694
+ select?: BrowserAutomationRunCountAggregateInputType | true;
695
+ };
696
+ export interface BrowserAutomationRunDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
697
+ [K: symbol]: {
698
+ types: Prisma.TypeMap<ExtArgs>['model']['BrowserAutomationRun'];
699
+ meta: {
700
+ name: 'BrowserAutomationRun';
701
+ };
702
+ };
703
+ /**
704
+ * Find zero or one BrowserAutomationRun that matches the filter.
705
+ * @param {BrowserAutomationRunFindUniqueArgs} args - Arguments to find a BrowserAutomationRun
706
+ * @example
707
+ * // Get one BrowserAutomationRun
708
+ * const browserAutomationRun = await prisma.browserAutomationRun.findUnique({
709
+ * where: {
710
+ * // ... provide filter here
711
+ * }
712
+ * })
713
+ */
714
+ findUnique<T extends BrowserAutomationRunFindUniqueArgs>(args: Prisma.SelectSubset<T, BrowserAutomationRunFindUniqueArgs<ExtArgs>>): Prisma.Prisma__BrowserAutomationRunClient<runtime.Types.Result.GetResult<Prisma.$BrowserAutomationRunPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
715
+ /**
716
+ * Find one BrowserAutomationRun that matches the filter or throw an error with `error.code='P2025'`
717
+ * if no matches were found.
718
+ * @param {BrowserAutomationRunFindUniqueOrThrowArgs} args - Arguments to find a BrowserAutomationRun
719
+ * @example
720
+ * // Get one BrowserAutomationRun
721
+ * const browserAutomationRun = await prisma.browserAutomationRun.findUniqueOrThrow({
722
+ * where: {
723
+ * // ... provide filter here
724
+ * }
725
+ * })
726
+ */
727
+ findUniqueOrThrow<T extends BrowserAutomationRunFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, BrowserAutomationRunFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__BrowserAutomationRunClient<runtime.Types.Result.GetResult<Prisma.$BrowserAutomationRunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
728
+ /**
729
+ * Find the first BrowserAutomationRun that matches the filter.
730
+ * Note, that providing `undefined` is treated as the value not being there.
731
+ * Read more here: https://pris.ly/d/null-undefined
732
+ * @param {BrowserAutomationRunFindFirstArgs} args - Arguments to find a BrowserAutomationRun
733
+ * @example
734
+ * // Get one BrowserAutomationRun
735
+ * const browserAutomationRun = await prisma.browserAutomationRun.findFirst({
736
+ * where: {
737
+ * // ... provide filter here
738
+ * }
739
+ * })
740
+ */
741
+ findFirst<T extends BrowserAutomationRunFindFirstArgs>(args?: Prisma.SelectSubset<T, BrowserAutomationRunFindFirstArgs<ExtArgs>>): Prisma.Prisma__BrowserAutomationRunClient<runtime.Types.Result.GetResult<Prisma.$BrowserAutomationRunPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
742
+ /**
743
+ * Find the first BrowserAutomationRun that matches the filter or
744
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
745
+ * Note, that providing `undefined` is treated as the value not being there.
746
+ * Read more here: https://pris.ly/d/null-undefined
747
+ * @param {BrowserAutomationRunFindFirstOrThrowArgs} args - Arguments to find a BrowserAutomationRun
748
+ * @example
749
+ * // Get one BrowserAutomationRun
750
+ * const browserAutomationRun = await prisma.browserAutomationRun.findFirstOrThrow({
751
+ * where: {
752
+ * // ... provide filter here
753
+ * }
754
+ * })
755
+ */
756
+ findFirstOrThrow<T extends BrowserAutomationRunFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, BrowserAutomationRunFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__BrowserAutomationRunClient<runtime.Types.Result.GetResult<Prisma.$BrowserAutomationRunPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
757
+ /**
758
+ * Find zero or more BrowserAutomationRuns that matches the filter.
759
+ * Note, that providing `undefined` is treated as the value not being there.
760
+ * Read more here: https://pris.ly/d/null-undefined
761
+ * @param {BrowserAutomationRunFindManyArgs} args - Arguments to filter and select certain fields only.
762
+ * @example
763
+ * // Get all BrowserAutomationRuns
764
+ * const browserAutomationRuns = await prisma.browserAutomationRun.findMany()
765
+ *
766
+ * // Get first 10 BrowserAutomationRuns
767
+ * const browserAutomationRuns = await prisma.browserAutomationRun.findMany({ take: 10 })
768
+ *
769
+ * // Only select the `id`
770
+ * const browserAutomationRunWithIdOnly = await prisma.browserAutomationRun.findMany({ select: { id: true } })
771
+ *
772
+ */
773
+ findMany<T extends BrowserAutomationRunFindManyArgs>(args?: Prisma.SelectSubset<T, BrowserAutomationRunFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BrowserAutomationRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
774
+ /**
775
+ * Create a BrowserAutomationRun.
776
+ * @param {BrowserAutomationRunCreateArgs} args - Arguments to create a BrowserAutomationRun.
777
+ * @example
778
+ * // Create one BrowserAutomationRun
779
+ * const BrowserAutomationRun = await prisma.browserAutomationRun.create({
780
+ * data: {
781
+ * // ... data to create a BrowserAutomationRun
782
+ * }
783
+ * })
784
+ *
785
+ */
786
+ create<T extends BrowserAutomationRunCreateArgs>(args: Prisma.SelectSubset<T, BrowserAutomationRunCreateArgs<ExtArgs>>): Prisma.Prisma__BrowserAutomationRunClient<runtime.Types.Result.GetResult<Prisma.$BrowserAutomationRunPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
787
+ /**
788
+ * Create many BrowserAutomationRuns.
789
+ * @param {BrowserAutomationRunCreateManyArgs} args - Arguments to create many BrowserAutomationRuns.
790
+ * @example
791
+ * // Create many BrowserAutomationRuns
792
+ * const browserAutomationRun = await prisma.browserAutomationRun.createMany({
793
+ * data: [
794
+ * // ... provide data here
795
+ * ]
796
+ * })
797
+ *
798
+ */
799
+ createMany<T extends BrowserAutomationRunCreateManyArgs>(args?: Prisma.SelectSubset<T, BrowserAutomationRunCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
800
+ /**
801
+ * Create many BrowserAutomationRuns and returns the data saved in the database.
802
+ * @param {BrowserAutomationRunCreateManyAndReturnArgs} args - Arguments to create many BrowserAutomationRuns.
803
+ * @example
804
+ * // Create many BrowserAutomationRuns
805
+ * const browserAutomationRun = await prisma.browserAutomationRun.createManyAndReturn({
806
+ * data: [
807
+ * // ... provide data here
808
+ * ]
809
+ * })
810
+ *
811
+ * // Create many BrowserAutomationRuns and only return the `id`
812
+ * const browserAutomationRunWithIdOnly = await prisma.browserAutomationRun.createManyAndReturn({
813
+ * select: { id: true },
814
+ * data: [
815
+ * // ... provide data here
816
+ * ]
817
+ * })
818
+ * Note, that providing `undefined` is treated as the value not being there.
819
+ * Read more here: https://pris.ly/d/null-undefined
820
+ *
821
+ */
822
+ createManyAndReturn<T extends BrowserAutomationRunCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, BrowserAutomationRunCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BrowserAutomationRunPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
823
+ /**
824
+ * Delete a BrowserAutomationRun.
825
+ * @param {BrowserAutomationRunDeleteArgs} args - Arguments to delete one BrowserAutomationRun.
826
+ * @example
827
+ * // Delete one BrowserAutomationRun
828
+ * const BrowserAutomationRun = await prisma.browserAutomationRun.delete({
829
+ * where: {
830
+ * // ... filter to delete one BrowserAutomationRun
831
+ * }
832
+ * })
833
+ *
834
+ */
835
+ delete<T extends BrowserAutomationRunDeleteArgs>(args: Prisma.SelectSubset<T, BrowserAutomationRunDeleteArgs<ExtArgs>>): Prisma.Prisma__BrowserAutomationRunClient<runtime.Types.Result.GetResult<Prisma.$BrowserAutomationRunPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
836
+ /**
837
+ * Update one BrowserAutomationRun.
838
+ * @param {BrowserAutomationRunUpdateArgs} args - Arguments to update one BrowserAutomationRun.
839
+ * @example
840
+ * // Update one BrowserAutomationRun
841
+ * const browserAutomationRun = await prisma.browserAutomationRun.update({
842
+ * where: {
843
+ * // ... provide filter here
844
+ * },
845
+ * data: {
846
+ * // ... provide data here
847
+ * }
848
+ * })
849
+ *
850
+ */
851
+ update<T extends BrowserAutomationRunUpdateArgs>(args: Prisma.SelectSubset<T, BrowserAutomationRunUpdateArgs<ExtArgs>>): Prisma.Prisma__BrowserAutomationRunClient<runtime.Types.Result.GetResult<Prisma.$BrowserAutomationRunPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
852
+ /**
853
+ * Delete zero or more BrowserAutomationRuns.
854
+ * @param {BrowserAutomationRunDeleteManyArgs} args - Arguments to filter BrowserAutomationRuns to delete.
855
+ * @example
856
+ * // Delete a few BrowserAutomationRuns
857
+ * const { count } = await prisma.browserAutomationRun.deleteMany({
858
+ * where: {
859
+ * // ... provide filter here
860
+ * }
861
+ * })
862
+ *
863
+ */
864
+ deleteMany<T extends BrowserAutomationRunDeleteManyArgs>(args?: Prisma.SelectSubset<T, BrowserAutomationRunDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
865
+ /**
866
+ * Update zero or more BrowserAutomationRuns.
867
+ * Note, that providing `undefined` is treated as the value not being there.
868
+ * Read more here: https://pris.ly/d/null-undefined
869
+ * @param {BrowserAutomationRunUpdateManyArgs} args - Arguments to update one or more rows.
870
+ * @example
871
+ * // Update many BrowserAutomationRuns
872
+ * const browserAutomationRun = await prisma.browserAutomationRun.updateMany({
873
+ * where: {
874
+ * // ... provide filter here
875
+ * },
876
+ * data: {
877
+ * // ... provide data here
878
+ * }
879
+ * })
880
+ *
881
+ */
882
+ updateMany<T extends BrowserAutomationRunUpdateManyArgs>(args: Prisma.SelectSubset<T, BrowserAutomationRunUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
883
+ /**
884
+ * Update zero or more BrowserAutomationRuns and returns the data updated in the database.
885
+ * @param {BrowserAutomationRunUpdateManyAndReturnArgs} args - Arguments to update many BrowserAutomationRuns.
886
+ * @example
887
+ * // Update many BrowserAutomationRuns
888
+ * const browserAutomationRun = await prisma.browserAutomationRun.updateManyAndReturn({
889
+ * where: {
890
+ * // ... provide filter here
891
+ * },
892
+ * data: [
893
+ * // ... provide data here
894
+ * ]
895
+ * })
896
+ *
897
+ * // Update zero or more BrowserAutomationRuns and only return the `id`
898
+ * const browserAutomationRunWithIdOnly = await prisma.browserAutomationRun.updateManyAndReturn({
899
+ * select: { id: true },
900
+ * where: {
901
+ * // ... provide filter here
902
+ * },
903
+ * data: [
904
+ * // ... provide data here
905
+ * ]
906
+ * })
907
+ * Note, that providing `undefined` is treated as the value not being there.
908
+ * Read more here: https://pris.ly/d/null-undefined
909
+ *
910
+ */
911
+ updateManyAndReturn<T extends BrowserAutomationRunUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, BrowserAutomationRunUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BrowserAutomationRunPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
912
+ /**
913
+ * Create or update one BrowserAutomationRun.
914
+ * @param {BrowserAutomationRunUpsertArgs} args - Arguments to update or create a BrowserAutomationRun.
915
+ * @example
916
+ * // Update or create a BrowserAutomationRun
917
+ * const browserAutomationRun = await prisma.browserAutomationRun.upsert({
918
+ * create: {
919
+ * // ... data to create a BrowserAutomationRun
920
+ * },
921
+ * update: {
922
+ * // ... in case it already exists, update
923
+ * },
924
+ * where: {
925
+ * // ... the filter for the BrowserAutomationRun we want to update
926
+ * }
927
+ * })
928
+ */
929
+ upsert<T extends BrowserAutomationRunUpsertArgs>(args: Prisma.SelectSubset<T, BrowserAutomationRunUpsertArgs<ExtArgs>>): Prisma.Prisma__BrowserAutomationRunClient<runtime.Types.Result.GetResult<Prisma.$BrowserAutomationRunPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
930
+ /**
931
+ * Count the number of BrowserAutomationRuns.
932
+ * Note, that providing `undefined` is treated as the value not being there.
933
+ * Read more here: https://pris.ly/d/null-undefined
934
+ * @param {BrowserAutomationRunCountArgs} args - Arguments to filter BrowserAutomationRuns to count.
935
+ * @example
936
+ * // Count the number of BrowserAutomationRuns
937
+ * const count = await prisma.browserAutomationRun.count({
938
+ * where: {
939
+ * // ... the filter for the BrowserAutomationRuns we want to count
940
+ * }
941
+ * })
942
+ **/
943
+ count<T extends BrowserAutomationRunCountArgs>(args?: Prisma.Subset<T, BrowserAutomationRunCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], BrowserAutomationRunCountAggregateOutputType> : number>;
944
+ /**
945
+ * Allows you to perform aggregations operations on a BrowserAutomationRun.
946
+ * Note, that providing `undefined` is treated as the value not being there.
947
+ * Read more here: https://pris.ly/d/null-undefined
948
+ * @param {BrowserAutomationRunAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
949
+ * @example
950
+ * // Ordered by age ascending
951
+ * // Where email contains prisma.io
952
+ * // Limited to the 10 users
953
+ * const aggregations = await prisma.user.aggregate({
954
+ * _avg: {
955
+ * age: true,
956
+ * },
957
+ * where: {
958
+ * email: {
959
+ * contains: "prisma.io",
960
+ * },
961
+ * },
962
+ * orderBy: {
963
+ * age: "asc",
964
+ * },
965
+ * take: 10,
966
+ * })
967
+ **/
968
+ aggregate<T extends BrowserAutomationRunAggregateArgs>(args: Prisma.Subset<T, BrowserAutomationRunAggregateArgs>): Prisma.PrismaPromise<GetBrowserAutomationRunAggregateType<T>>;
969
+ /**
970
+ * Group by BrowserAutomationRun.
971
+ * Note, that providing `undefined` is treated as the value not being there.
972
+ * Read more here: https://pris.ly/d/null-undefined
973
+ * @param {BrowserAutomationRunGroupByArgs} args - Group by arguments.
974
+ * @example
975
+ * // Group by city, order by createdAt, get count
976
+ * const result = await prisma.user.groupBy({
977
+ * by: ['city', 'createdAt'],
978
+ * orderBy: {
979
+ * createdAt: true
980
+ * },
981
+ * _count: {
982
+ * _all: true
983
+ * },
984
+ * })
985
+ *
986
+ **/
987
+ groupBy<T extends BrowserAutomationRunGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
988
+ orderBy: BrowserAutomationRunGroupByArgs['orderBy'];
989
+ } : {
990
+ orderBy?: BrowserAutomationRunGroupByArgs['orderBy'];
991
+ }, 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 ? {
992
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
993
+ Error,
994
+ 'Field ',
995
+ P,
996
+ ` in "having" needs to be provided in "by"`
997
+ ];
998
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
999
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1000
+ }[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 ? {} : {
1001
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1002
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1003
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1004
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, BrowserAutomationRunGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBrowserAutomationRunGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1005
+ /**
1006
+ * Fields of the BrowserAutomationRun model
1007
+ */
1008
+ readonly fields: BrowserAutomationRunFieldRefs;
1009
+ }
1010
+ /**
1011
+ * The delegate class that acts as a "Promise-like" for BrowserAutomationRun.
1012
+ * Why is this prefixed with `Prisma__`?
1013
+ * Because we want to prevent naming conflicts as mentioned in
1014
+ * https://github.com/prisma/prisma-client-js/issues/707
1015
+ */
1016
+ export interface Prisma__BrowserAutomationRunClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1017
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1018
+ automation<T extends Prisma.BrowserAutomationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BrowserAutomationDefaultArgs<ExtArgs>>): Prisma.Prisma__BrowserAutomationClient<runtime.Types.Result.GetResult<Prisma.$BrowserAutomationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1019
+ /**
1020
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1021
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1022
+ * @param onrejected The callback to execute when the Promise is rejected.
1023
+ * @returns A Promise for the completion of which ever callback is executed.
1024
+ */
1025
+ 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>;
1026
+ /**
1027
+ * Attaches a callback for only the rejection of the Promise.
1028
+ * @param onrejected The callback to execute when the Promise is rejected.
1029
+ * @returns A Promise for the completion of the callback.
1030
+ */
1031
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1032
+ /**
1033
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1034
+ * resolved value cannot be modified from the callback.
1035
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1036
+ * @returns A Promise for the completion of the callback.
1037
+ */
1038
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1039
+ }
1040
+ /**
1041
+ * Fields of the BrowserAutomationRun model
1042
+ */
1043
+ export interface BrowserAutomationRunFieldRefs {
1044
+ readonly id: Prisma.FieldRef<"BrowserAutomationRun", 'String'>;
1045
+ readonly automationId: Prisma.FieldRef<"BrowserAutomationRun", 'String'>;
1046
+ readonly status: Prisma.FieldRef<"BrowserAutomationRun", 'BrowserAutomationRunStatus'>;
1047
+ readonly startedAt: Prisma.FieldRef<"BrowserAutomationRun", 'DateTime'>;
1048
+ readonly completedAt: Prisma.FieldRef<"BrowserAutomationRun", 'DateTime'>;
1049
+ readonly durationMs: Prisma.FieldRef<"BrowserAutomationRun", 'Int'>;
1050
+ readonly screenshotUrl: Prisma.FieldRef<"BrowserAutomationRun", 'String'>;
1051
+ readonly evaluationStatus: Prisma.FieldRef<"BrowserAutomationRun", 'BrowserAutomationEvaluationStatus'>;
1052
+ readonly evaluationReason: Prisma.FieldRef<"BrowserAutomationRun", 'String'>;
1053
+ readonly error: Prisma.FieldRef<"BrowserAutomationRun", 'String'>;
1054
+ readonly createdAt: Prisma.FieldRef<"BrowserAutomationRun", 'DateTime'>;
1055
+ }
1056
+ /**
1057
+ * BrowserAutomationRun findUnique
1058
+ */
1059
+ export type BrowserAutomationRunFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1060
+ /**
1061
+ * Select specific fields to fetch from the BrowserAutomationRun
1062
+ */
1063
+ select?: Prisma.BrowserAutomationRunSelect<ExtArgs> | null;
1064
+ /**
1065
+ * Omit specific fields from the BrowserAutomationRun
1066
+ */
1067
+ omit?: Prisma.BrowserAutomationRunOmit<ExtArgs> | null;
1068
+ /**
1069
+ * Choose, which related nodes to fetch as well
1070
+ */
1071
+ include?: Prisma.BrowserAutomationRunInclude<ExtArgs> | null;
1072
+ /**
1073
+ * Filter, which BrowserAutomationRun to fetch.
1074
+ */
1075
+ where: Prisma.BrowserAutomationRunWhereUniqueInput;
1076
+ };
1077
+ /**
1078
+ * BrowserAutomationRun findUniqueOrThrow
1079
+ */
1080
+ export type BrowserAutomationRunFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1081
+ /**
1082
+ * Select specific fields to fetch from the BrowserAutomationRun
1083
+ */
1084
+ select?: Prisma.BrowserAutomationRunSelect<ExtArgs> | null;
1085
+ /**
1086
+ * Omit specific fields from the BrowserAutomationRun
1087
+ */
1088
+ omit?: Prisma.BrowserAutomationRunOmit<ExtArgs> | null;
1089
+ /**
1090
+ * Choose, which related nodes to fetch as well
1091
+ */
1092
+ include?: Prisma.BrowserAutomationRunInclude<ExtArgs> | null;
1093
+ /**
1094
+ * Filter, which BrowserAutomationRun to fetch.
1095
+ */
1096
+ where: Prisma.BrowserAutomationRunWhereUniqueInput;
1097
+ };
1098
+ /**
1099
+ * BrowserAutomationRun findFirst
1100
+ */
1101
+ export type BrowserAutomationRunFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1102
+ /**
1103
+ * Select specific fields to fetch from the BrowserAutomationRun
1104
+ */
1105
+ select?: Prisma.BrowserAutomationRunSelect<ExtArgs> | null;
1106
+ /**
1107
+ * Omit specific fields from the BrowserAutomationRun
1108
+ */
1109
+ omit?: Prisma.BrowserAutomationRunOmit<ExtArgs> | null;
1110
+ /**
1111
+ * Choose, which related nodes to fetch as well
1112
+ */
1113
+ include?: Prisma.BrowserAutomationRunInclude<ExtArgs> | null;
1114
+ /**
1115
+ * Filter, which BrowserAutomationRun to fetch.
1116
+ */
1117
+ where?: Prisma.BrowserAutomationRunWhereInput;
1118
+ /**
1119
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1120
+ *
1121
+ * Determine the order of BrowserAutomationRuns to fetch.
1122
+ */
1123
+ orderBy?: Prisma.BrowserAutomationRunOrderByWithRelationInput | Prisma.BrowserAutomationRunOrderByWithRelationInput[];
1124
+ /**
1125
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1126
+ *
1127
+ * Sets the position for searching for BrowserAutomationRuns.
1128
+ */
1129
+ cursor?: Prisma.BrowserAutomationRunWhereUniqueInput;
1130
+ /**
1131
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1132
+ *
1133
+ * Take `±n` BrowserAutomationRuns from the position of the cursor.
1134
+ */
1135
+ take?: number;
1136
+ /**
1137
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1138
+ *
1139
+ * Skip the first `n` BrowserAutomationRuns.
1140
+ */
1141
+ skip?: number;
1142
+ /**
1143
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1144
+ *
1145
+ * Filter by unique combinations of BrowserAutomationRuns.
1146
+ */
1147
+ distinct?: Prisma.BrowserAutomationRunScalarFieldEnum | Prisma.BrowserAutomationRunScalarFieldEnum[];
1148
+ };
1149
+ /**
1150
+ * BrowserAutomationRun findFirstOrThrow
1151
+ */
1152
+ export type BrowserAutomationRunFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1153
+ /**
1154
+ * Select specific fields to fetch from the BrowserAutomationRun
1155
+ */
1156
+ select?: Prisma.BrowserAutomationRunSelect<ExtArgs> | null;
1157
+ /**
1158
+ * Omit specific fields from the BrowserAutomationRun
1159
+ */
1160
+ omit?: Prisma.BrowserAutomationRunOmit<ExtArgs> | null;
1161
+ /**
1162
+ * Choose, which related nodes to fetch as well
1163
+ */
1164
+ include?: Prisma.BrowserAutomationRunInclude<ExtArgs> | null;
1165
+ /**
1166
+ * Filter, which BrowserAutomationRun to fetch.
1167
+ */
1168
+ where?: Prisma.BrowserAutomationRunWhereInput;
1169
+ /**
1170
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1171
+ *
1172
+ * Determine the order of BrowserAutomationRuns to fetch.
1173
+ */
1174
+ orderBy?: Prisma.BrowserAutomationRunOrderByWithRelationInput | Prisma.BrowserAutomationRunOrderByWithRelationInput[];
1175
+ /**
1176
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1177
+ *
1178
+ * Sets the position for searching for BrowserAutomationRuns.
1179
+ */
1180
+ cursor?: Prisma.BrowserAutomationRunWhereUniqueInput;
1181
+ /**
1182
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1183
+ *
1184
+ * Take `±n` BrowserAutomationRuns from the position of the cursor.
1185
+ */
1186
+ take?: number;
1187
+ /**
1188
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1189
+ *
1190
+ * Skip the first `n` BrowserAutomationRuns.
1191
+ */
1192
+ skip?: number;
1193
+ /**
1194
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1195
+ *
1196
+ * Filter by unique combinations of BrowserAutomationRuns.
1197
+ */
1198
+ distinct?: Prisma.BrowserAutomationRunScalarFieldEnum | Prisma.BrowserAutomationRunScalarFieldEnum[];
1199
+ };
1200
+ /**
1201
+ * BrowserAutomationRun findMany
1202
+ */
1203
+ export type BrowserAutomationRunFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1204
+ /**
1205
+ * Select specific fields to fetch from the BrowserAutomationRun
1206
+ */
1207
+ select?: Prisma.BrowserAutomationRunSelect<ExtArgs> | null;
1208
+ /**
1209
+ * Omit specific fields from the BrowserAutomationRun
1210
+ */
1211
+ omit?: Prisma.BrowserAutomationRunOmit<ExtArgs> | null;
1212
+ /**
1213
+ * Choose, which related nodes to fetch as well
1214
+ */
1215
+ include?: Prisma.BrowserAutomationRunInclude<ExtArgs> | null;
1216
+ /**
1217
+ * Filter, which BrowserAutomationRuns to fetch.
1218
+ */
1219
+ where?: Prisma.BrowserAutomationRunWhereInput;
1220
+ /**
1221
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1222
+ *
1223
+ * Determine the order of BrowserAutomationRuns to fetch.
1224
+ */
1225
+ orderBy?: Prisma.BrowserAutomationRunOrderByWithRelationInput | Prisma.BrowserAutomationRunOrderByWithRelationInput[];
1226
+ /**
1227
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1228
+ *
1229
+ * Sets the position for listing BrowserAutomationRuns.
1230
+ */
1231
+ cursor?: Prisma.BrowserAutomationRunWhereUniqueInput;
1232
+ /**
1233
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1234
+ *
1235
+ * Take `±n` BrowserAutomationRuns from the position of the cursor.
1236
+ */
1237
+ take?: number;
1238
+ /**
1239
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1240
+ *
1241
+ * Skip the first `n` BrowserAutomationRuns.
1242
+ */
1243
+ skip?: number;
1244
+ /**
1245
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1246
+ *
1247
+ * Filter by unique combinations of BrowserAutomationRuns.
1248
+ */
1249
+ distinct?: Prisma.BrowserAutomationRunScalarFieldEnum | Prisma.BrowserAutomationRunScalarFieldEnum[];
1250
+ };
1251
+ /**
1252
+ * BrowserAutomationRun create
1253
+ */
1254
+ export type BrowserAutomationRunCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1255
+ /**
1256
+ * Select specific fields to fetch from the BrowserAutomationRun
1257
+ */
1258
+ select?: Prisma.BrowserAutomationRunSelect<ExtArgs> | null;
1259
+ /**
1260
+ * Omit specific fields from the BrowserAutomationRun
1261
+ */
1262
+ omit?: Prisma.BrowserAutomationRunOmit<ExtArgs> | null;
1263
+ /**
1264
+ * Choose, which related nodes to fetch as well
1265
+ */
1266
+ include?: Prisma.BrowserAutomationRunInclude<ExtArgs> | null;
1267
+ /**
1268
+ * The data needed to create a BrowserAutomationRun.
1269
+ */
1270
+ data: Prisma.XOR<Prisma.BrowserAutomationRunCreateInput, Prisma.BrowserAutomationRunUncheckedCreateInput>;
1271
+ };
1272
+ /**
1273
+ * BrowserAutomationRun createMany
1274
+ */
1275
+ export type BrowserAutomationRunCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1276
+ /**
1277
+ * The data used to create many BrowserAutomationRuns.
1278
+ */
1279
+ data: Prisma.BrowserAutomationRunCreateManyInput | Prisma.BrowserAutomationRunCreateManyInput[];
1280
+ skipDuplicates?: boolean;
1281
+ };
1282
+ /**
1283
+ * BrowserAutomationRun createManyAndReturn
1284
+ */
1285
+ export type BrowserAutomationRunCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1286
+ /**
1287
+ * Select specific fields to fetch from the BrowserAutomationRun
1288
+ */
1289
+ select?: Prisma.BrowserAutomationRunSelectCreateManyAndReturn<ExtArgs> | null;
1290
+ /**
1291
+ * Omit specific fields from the BrowserAutomationRun
1292
+ */
1293
+ omit?: Prisma.BrowserAutomationRunOmit<ExtArgs> | null;
1294
+ /**
1295
+ * The data used to create many BrowserAutomationRuns.
1296
+ */
1297
+ data: Prisma.BrowserAutomationRunCreateManyInput | Prisma.BrowserAutomationRunCreateManyInput[];
1298
+ skipDuplicates?: boolean;
1299
+ /**
1300
+ * Choose, which related nodes to fetch as well
1301
+ */
1302
+ include?: Prisma.BrowserAutomationRunIncludeCreateManyAndReturn<ExtArgs> | null;
1303
+ };
1304
+ /**
1305
+ * BrowserAutomationRun update
1306
+ */
1307
+ export type BrowserAutomationRunUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1308
+ /**
1309
+ * Select specific fields to fetch from the BrowserAutomationRun
1310
+ */
1311
+ select?: Prisma.BrowserAutomationRunSelect<ExtArgs> | null;
1312
+ /**
1313
+ * Omit specific fields from the BrowserAutomationRun
1314
+ */
1315
+ omit?: Prisma.BrowserAutomationRunOmit<ExtArgs> | null;
1316
+ /**
1317
+ * Choose, which related nodes to fetch as well
1318
+ */
1319
+ include?: Prisma.BrowserAutomationRunInclude<ExtArgs> | null;
1320
+ /**
1321
+ * The data needed to update a BrowserAutomationRun.
1322
+ */
1323
+ data: Prisma.XOR<Prisma.BrowserAutomationRunUpdateInput, Prisma.BrowserAutomationRunUncheckedUpdateInput>;
1324
+ /**
1325
+ * Choose, which BrowserAutomationRun to update.
1326
+ */
1327
+ where: Prisma.BrowserAutomationRunWhereUniqueInput;
1328
+ };
1329
+ /**
1330
+ * BrowserAutomationRun updateMany
1331
+ */
1332
+ export type BrowserAutomationRunUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1333
+ /**
1334
+ * The data used to update BrowserAutomationRuns.
1335
+ */
1336
+ data: Prisma.XOR<Prisma.BrowserAutomationRunUpdateManyMutationInput, Prisma.BrowserAutomationRunUncheckedUpdateManyInput>;
1337
+ /**
1338
+ * Filter which BrowserAutomationRuns to update
1339
+ */
1340
+ where?: Prisma.BrowserAutomationRunWhereInput;
1341
+ /**
1342
+ * Limit how many BrowserAutomationRuns to update.
1343
+ */
1344
+ limit?: number;
1345
+ };
1346
+ /**
1347
+ * BrowserAutomationRun updateManyAndReturn
1348
+ */
1349
+ export type BrowserAutomationRunUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1350
+ /**
1351
+ * Select specific fields to fetch from the BrowserAutomationRun
1352
+ */
1353
+ select?: Prisma.BrowserAutomationRunSelectUpdateManyAndReturn<ExtArgs> | null;
1354
+ /**
1355
+ * Omit specific fields from the BrowserAutomationRun
1356
+ */
1357
+ omit?: Prisma.BrowserAutomationRunOmit<ExtArgs> | null;
1358
+ /**
1359
+ * The data used to update BrowserAutomationRuns.
1360
+ */
1361
+ data: Prisma.XOR<Prisma.BrowserAutomationRunUpdateManyMutationInput, Prisma.BrowserAutomationRunUncheckedUpdateManyInput>;
1362
+ /**
1363
+ * Filter which BrowserAutomationRuns to update
1364
+ */
1365
+ where?: Prisma.BrowserAutomationRunWhereInput;
1366
+ /**
1367
+ * Limit how many BrowserAutomationRuns to update.
1368
+ */
1369
+ limit?: number;
1370
+ /**
1371
+ * Choose, which related nodes to fetch as well
1372
+ */
1373
+ include?: Prisma.BrowserAutomationRunIncludeUpdateManyAndReturn<ExtArgs> | null;
1374
+ };
1375
+ /**
1376
+ * BrowserAutomationRun upsert
1377
+ */
1378
+ export type BrowserAutomationRunUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1379
+ /**
1380
+ * Select specific fields to fetch from the BrowserAutomationRun
1381
+ */
1382
+ select?: Prisma.BrowserAutomationRunSelect<ExtArgs> | null;
1383
+ /**
1384
+ * Omit specific fields from the BrowserAutomationRun
1385
+ */
1386
+ omit?: Prisma.BrowserAutomationRunOmit<ExtArgs> | null;
1387
+ /**
1388
+ * Choose, which related nodes to fetch as well
1389
+ */
1390
+ include?: Prisma.BrowserAutomationRunInclude<ExtArgs> | null;
1391
+ /**
1392
+ * The filter to search for the BrowserAutomationRun to update in case it exists.
1393
+ */
1394
+ where: Prisma.BrowserAutomationRunWhereUniqueInput;
1395
+ /**
1396
+ * In case the BrowserAutomationRun found by the `where` argument doesn't exist, create a new BrowserAutomationRun with this data.
1397
+ */
1398
+ create: Prisma.XOR<Prisma.BrowserAutomationRunCreateInput, Prisma.BrowserAutomationRunUncheckedCreateInput>;
1399
+ /**
1400
+ * In case the BrowserAutomationRun was found with the provided `where` argument, update it with this data.
1401
+ */
1402
+ update: Prisma.XOR<Prisma.BrowserAutomationRunUpdateInput, Prisma.BrowserAutomationRunUncheckedUpdateInput>;
1403
+ };
1404
+ /**
1405
+ * BrowserAutomationRun delete
1406
+ */
1407
+ export type BrowserAutomationRunDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1408
+ /**
1409
+ * Select specific fields to fetch from the BrowserAutomationRun
1410
+ */
1411
+ select?: Prisma.BrowserAutomationRunSelect<ExtArgs> | null;
1412
+ /**
1413
+ * Omit specific fields from the BrowserAutomationRun
1414
+ */
1415
+ omit?: Prisma.BrowserAutomationRunOmit<ExtArgs> | null;
1416
+ /**
1417
+ * Choose, which related nodes to fetch as well
1418
+ */
1419
+ include?: Prisma.BrowserAutomationRunInclude<ExtArgs> | null;
1420
+ /**
1421
+ * Filter which BrowserAutomationRun to delete.
1422
+ */
1423
+ where: Prisma.BrowserAutomationRunWhereUniqueInput;
1424
+ };
1425
+ /**
1426
+ * BrowserAutomationRun deleteMany
1427
+ */
1428
+ export type BrowserAutomationRunDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1429
+ /**
1430
+ * Filter which BrowserAutomationRuns to delete
1431
+ */
1432
+ where?: Prisma.BrowserAutomationRunWhereInput;
1433
+ /**
1434
+ * Limit how many BrowserAutomationRuns to delete.
1435
+ */
1436
+ limit?: number;
1437
+ };
1438
+ /**
1439
+ * BrowserAutomationRun without action
1440
+ */
1441
+ export type BrowserAutomationRunDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1442
+ /**
1443
+ * Select specific fields to fetch from the BrowserAutomationRun
1444
+ */
1445
+ select?: Prisma.BrowserAutomationRunSelect<ExtArgs> | null;
1446
+ /**
1447
+ * Omit specific fields from the BrowserAutomationRun
1448
+ */
1449
+ omit?: Prisma.BrowserAutomationRunOmit<ExtArgs> | null;
1450
+ /**
1451
+ * Choose, which related nodes to fetch as well
1452
+ */
1453
+ include?: Prisma.BrowserAutomationRunInclude<ExtArgs> | null;
1454
+ };
1455
+ //# sourceMappingURL=BrowserAutomationRun.d.ts.map