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