@trycompai/db 2.0.0 → 2.0.2

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