@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,1146 +0,0 @@
1
- import type * as runtime from "@prisma/client/runtime/client";
2
- import type * as Prisma from "../internal/prismaNamespace.js";
3
- /**
4
- * Model EmployeeTrainingVideoCompletion
5
- *
6
- */
7
- export type EmployeeTrainingVideoCompletionModel = runtime.Types.Result.DefaultSelection<Prisma.$EmployeeTrainingVideoCompletionPayload>;
8
- export type AggregateEmployeeTrainingVideoCompletion = {
9
- _count: EmployeeTrainingVideoCompletionCountAggregateOutputType | null;
10
- _min: EmployeeTrainingVideoCompletionMinAggregateOutputType | null;
11
- _max: EmployeeTrainingVideoCompletionMaxAggregateOutputType | null;
12
- };
13
- export type EmployeeTrainingVideoCompletionMinAggregateOutputType = {
14
- id: string | null;
15
- completedAt: Date | null;
16
- videoId: string | null;
17
- memberId: string | null;
18
- };
19
- export type EmployeeTrainingVideoCompletionMaxAggregateOutputType = {
20
- id: string | null;
21
- completedAt: Date | null;
22
- videoId: string | null;
23
- memberId: string | null;
24
- };
25
- export type EmployeeTrainingVideoCompletionCountAggregateOutputType = {
26
- id: number;
27
- completedAt: number;
28
- videoId: number;
29
- memberId: number;
30
- _all: number;
31
- };
32
- export type EmployeeTrainingVideoCompletionMinAggregateInputType = {
33
- id?: true;
34
- completedAt?: true;
35
- videoId?: true;
36
- memberId?: true;
37
- };
38
- export type EmployeeTrainingVideoCompletionMaxAggregateInputType = {
39
- id?: true;
40
- completedAt?: true;
41
- videoId?: true;
42
- memberId?: true;
43
- };
44
- export type EmployeeTrainingVideoCompletionCountAggregateInputType = {
45
- id?: true;
46
- completedAt?: true;
47
- videoId?: true;
48
- memberId?: true;
49
- _all?: true;
50
- };
51
- export type EmployeeTrainingVideoCompletionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
52
- /**
53
- * Filter which EmployeeTrainingVideoCompletion to aggregate.
54
- */
55
- where?: Prisma.EmployeeTrainingVideoCompletionWhereInput;
56
- /**
57
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
58
- *
59
- * Determine the order of EmployeeTrainingVideoCompletions to fetch.
60
- */
61
- orderBy?: Prisma.EmployeeTrainingVideoCompletionOrderByWithRelationInput | Prisma.EmployeeTrainingVideoCompletionOrderByWithRelationInput[];
62
- /**
63
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
64
- *
65
- * Sets the start position
66
- */
67
- cursor?: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput;
68
- /**
69
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
70
- *
71
- * Take `±n` EmployeeTrainingVideoCompletions from the position of the cursor.
72
- */
73
- take?: number;
74
- /**
75
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
76
- *
77
- * Skip the first `n` EmployeeTrainingVideoCompletions.
78
- */
79
- skip?: number;
80
- /**
81
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
82
- *
83
- * Count returned EmployeeTrainingVideoCompletions
84
- **/
85
- _count?: true | EmployeeTrainingVideoCompletionCountAggregateInputType;
86
- /**
87
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
88
- *
89
- * Select which fields to find the minimum value
90
- **/
91
- _min?: EmployeeTrainingVideoCompletionMinAggregateInputType;
92
- /**
93
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
94
- *
95
- * Select which fields to find the maximum value
96
- **/
97
- _max?: EmployeeTrainingVideoCompletionMaxAggregateInputType;
98
- };
99
- export type GetEmployeeTrainingVideoCompletionAggregateType<T extends EmployeeTrainingVideoCompletionAggregateArgs> = {
100
- [P in keyof T & keyof AggregateEmployeeTrainingVideoCompletion]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateEmployeeTrainingVideoCompletion[P]> : Prisma.GetScalarType<T[P], AggregateEmployeeTrainingVideoCompletion[P]>;
101
- };
102
- export type EmployeeTrainingVideoCompletionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
103
- where?: Prisma.EmployeeTrainingVideoCompletionWhereInput;
104
- orderBy?: Prisma.EmployeeTrainingVideoCompletionOrderByWithAggregationInput | Prisma.EmployeeTrainingVideoCompletionOrderByWithAggregationInput[];
105
- by: Prisma.EmployeeTrainingVideoCompletionScalarFieldEnum[] | Prisma.EmployeeTrainingVideoCompletionScalarFieldEnum;
106
- having?: Prisma.EmployeeTrainingVideoCompletionScalarWhereWithAggregatesInput;
107
- take?: number;
108
- skip?: number;
109
- _count?: EmployeeTrainingVideoCompletionCountAggregateInputType | true;
110
- _min?: EmployeeTrainingVideoCompletionMinAggregateInputType;
111
- _max?: EmployeeTrainingVideoCompletionMaxAggregateInputType;
112
- };
113
- export type EmployeeTrainingVideoCompletionGroupByOutputType = {
114
- id: string;
115
- completedAt: Date | null;
116
- videoId: string;
117
- memberId: string;
118
- _count: EmployeeTrainingVideoCompletionCountAggregateOutputType | null;
119
- _min: EmployeeTrainingVideoCompletionMinAggregateOutputType | null;
120
- _max: EmployeeTrainingVideoCompletionMaxAggregateOutputType | null;
121
- };
122
- export type GetEmployeeTrainingVideoCompletionGroupByPayload<T extends EmployeeTrainingVideoCompletionGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<EmployeeTrainingVideoCompletionGroupByOutputType, T['by']> & {
123
- [P in ((keyof T) & (keyof EmployeeTrainingVideoCompletionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], EmployeeTrainingVideoCompletionGroupByOutputType[P]> : Prisma.GetScalarType<T[P], EmployeeTrainingVideoCompletionGroupByOutputType[P]>;
124
- }>>;
125
- export type EmployeeTrainingVideoCompletionWhereInput = {
126
- AND?: Prisma.EmployeeTrainingVideoCompletionWhereInput | Prisma.EmployeeTrainingVideoCompletionWhereInput[];
127
- OR?: Prisma.EmployeeTrainingVideoCompletionWhereInput[];
128
- NOT?: Prisma.EmployeeTrainingVideoCompletionWhereInput | Prisma.EmployeeTrainingVideoCompletionWhereInput[];
129
- id?: Prisma.StringFilter<"EmployeeTrainingVideoCompletion"> | string;
130
- completedAt?: Prisma.DateTimeNullableFilter<"EmployeeTrainingVideoCompletion"> | Date | string | null;
131
- videoId?: Prisma.StringFilter<"EmployeeTrainingVideoCompletion"> | string;
132
- memberId?: Prisma.StringFilter<"EmployeeTrainingVideoCompletion"> | string;
133
- member?: Prisma.XOR<Prisma.MemberScalarRelationFilter, Prisma.MemberWhereInput>;
134
- };
135
- export type EmployeeTrainingVideoCompletionOrderByWithRelationInput = {
136
- id?: Prisma.SortOrder;
137
- completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
138
- videoId?: Prisma.SortOrder;
139
- memberId?: Prisma.SortOrder;
140
- member?: Prisma.MemberOrderByWithRelationInput;
141
- };
142
- export type EmployeeTrainingVideoCompletionWhereUniqueInput = Prisma.AtLeast<{
143
- id?: string;
144
- memberId_videoId?: Prisma.EmployeeTrainingVideoCompletionMemberIdVideoIdCompoundUniqueInput;
145
- AND?: Prisma.EmployeeTrainingVideoCompletionWhereInput | Prisma.EmployeeTrainingVideoCompletionWhereInput[];
146
- OR?: Prisma.EmployeeTrainingVideoCompletionWhereInput[];
147
- NOT?: Prisma.EmployeeTrainingVideoCompletionWhereInput | Prisma.EmployeeTrainingVideoCompletionWhereInput[];
148
- completedAt?: Prisma.DateTimeNullableFilter<"EmployeeTrainingVideoCompletion"> | Date | string | null;
149
- videoId?: Prisma.StringFilter<"EmployeeTrainingVideoCompletion"> | string;
150
- memberId?: Prisma.StringFilter<"EmployeeTrainingVideoCompletion"> | string;
151
- member?: Prisma.XOR<Prisma.MemberScalarRelationFilter, Prisma.MemberWhereInput>;
152
- }, "id" | "memberId_videoId">;
153
- export type EmployeeTrainingVideoCompletionOrderByWithAggregationInput = {
154
- id?: Prisma.SortOrder;
155
- completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
156
- videoId?: Prisma.SortOrder;
157
- memberId?: Prisma.SortOrder;
158
- _count?: Prisma.EmployeeTrainingVideoCompletionCountOrderByAggregateInput;
159
- _max?: Prisma.EmployeeTrainingVideoCompletionMaxOrderByAggregateInput;
160
- _min?: Prisma.EmployeeTrainingVideoCompletionMinOrderByAggregateInput;
161
- };
162
- export type EmployeeTrainingVideoCompletionScalarWhereWithAggregatesInput = {
163
- AND?: Prisma.EmployeeTrainingVideoCompletionScalarWhereWithAggregatesInput | Prisma.EmployeeTrainingVideoCompletionScalarWhereWithAggregatesInput[];
164
- OR?: Prisma.EmployeeTrainingVideoCompletionScalarWhereWithAggregatesInput[];
165
- NOT?: Prisma.EmployeeTrainingVideoCompletionScalarWhereWithAggregatesInput | Prisma.EmployeeTrainingVideoCompletionScalarWhereWithAggregatesInput[];
166
- id?: Prisma.StringWithAggregatesFilter<"EmployeeTrainingVideoCompletion"> | string;
167
- completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"EmployeeTrainingVideoCompletion"> | Date | string | null;
168
- videoId?: Prisma.StringWithAggregatesFilter<"EmployeeTrainingVideoCompletion"> | string;
169
- memberId?: Prisma.StringWithAggregatesFilter<"EmployeeTrainingVideoCompletion"> | string;
170
- };
171
- export type EmployeeTrainingVideoCompletionCreateInput = {
172
- id?: string;
173
- completedAt?: Date | string | null;
174
- videoId: string;
175
- member: Prisma.MemberCreateNestedOneWithoutEmployeeTrainingVideoCompletionInput;
176
- };
177
- export type EmployeeTrainingVideoCompletionUncheckedCreateInput = {
178
- id?: string;
179
- completedAt?: Date | string | null;
180
- videoId: string;
181
- memberId: string;
182
- };
183
- export type EmployeeTrainingVideoCompletionUpdateInput = {
184
- id?: Prisma.StringFieldUpdateOperationsInput | string;
185
- completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
186
- videoId?: Prisma.StringFieldUpdateOperationsInput | string;
187
- member?: Prisma.MemberUpdateOneRequiredWithoutEmployeeTrainingVideoCompletionNestedInput;
188
- };
189
- export type EmployeeTrainingVideoCompletionUncheckedUpdateInput = {
190
- id?: Prisma.StringFieldUpdateOperationsInput | string;
191
- completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
192
- videoId?: Prisma.StringFieldUpdateOperationsInput | string;
193
- memberId?: Prisma.StringFieldUpdateOperationsInput | string;
194
- };
195
- export type EmployeeTrainingVideoCompletionCreateManyInput = {
196
- id?: string;
197
- completedAt?: Date | string | null;
198
- videoId: string;
199
- memberId: string;
200
- };
201
- export type EmployeeTrainingVideoCompletionUpdateManyMutationInput = {
202
- id?: Prisma.StringFieldUpdateOperationsInput | string;
203
- completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
204
- videoId?: Prisma.StringFieldUpdateOperationsInput | string;
205
- };
206
- export type EmployeeTrainingVideoCompletionUncheckedUpdateManyInput = {
207
- id?: Prisma.StringFieldUpdateOperationsInput | string;
208
- completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
209
- videoId?: Prisma.StringFieldUpdateOperationsInput | string;
210
- memberId?: Prisma.StringFieldUpdateOperationsInput | string;
211
- };
212
- export type EmployeeTrainingVideoCompletionMemberIdVideoIdCompoundUniqueInput = {
213
- memberId: string;
214
- videoId: string;
215
- };
216
- export type EmployeeTrainingVideoCompletionCountOrderByAggregateInput = {
217
- id?: Prisma.SortOrder;
218
- completedAt?: Prisma.SortOrder;
219
- videoId?: Prisma.SortOrder;
220
- memberId?: Prisma.SortOrder;
221
- };
222
- export type EmployeeTrainingVideoCompletionMaxOrderByAggregateInput = {
223
- id?: Prisma.SortOrder;
224
- completedAt?: Prisma.SortOrder;
225
- videoId?: Prisma.SortOrder;
226
- memberId?: Prisma.SortOrder;
227
- };
228
- export type EmployeeTrainingVideoCompletionMinOrderByAggregateInput = {
229
- id?: Prisma.SortOrder;
230
- completedAt?: Prisma.SortOrder;
231
- videoId?: Prisma.SortOrder;
232
- memberId?: Prisma.SortOrder;
233
- };
234
- export type EmployeeTrainingVideoCompletionListRelationFilter = {
235
- every?: Prisma.EmployeeTrainingVideoCompletionWhereInput;
236
- some?: Prisma.EmployeeTrainingVideoCompletionWhereInput;
237
- none?: Prisma.EmployeeTrainingVideoCompletionWhereInput;
238
- };
239
- export type EmployeeTrainingVideoCompletionOrderByRelationAggregateInput = {
240
- _count?: Prisma.SortOrder;
241
- };
242
- export type EmployeeTrainingVideoCompletionCreateNestedManyWithoutMemberInput = {
243
- create?: Prisma.XOR<Prisma.EmployeeTrainingVideoCompletionCreateWithoutMemberInput, Prisma.EmployeeTrainingVideoCompletionUncheckedCreateWithoutMemberInput> | Prisma.EmployeeTrainingVideoCompletionCreateWithoutMemberInput[] | Prisma.EmployeeTrainingVideoCompletionUncheckedCreateWithoutMemberInput[];
244
- connectOrCreate?: Prisma.EmployeeTrainingVideoCompletionCreateOrConnectWithoutMemberInput | Prisma.EmployeeTrainingVideoCompletionCreateOrConnectWithoutMemberInput[];
245
- createMany?: Prisma.EmployeeTrainingVideoCompletionCreateManyMemberInputEnvelope;
246
- connect?: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput | Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput[];
247
- };
248
- export type EmployeeTrainingVideoCompletionUncheckedCreateNestedManyWithoutMemberInput = {
249
- create?: Prisma.XOR<Prisma.EmployeeTrainingVideoCompletionCreateWithoutMemberInput, Prisma.EmployeeTrainingVideoCompletionUncheckedCreateWithoutMemberInput> | Prisma.EmployeeTrainingVideoCompletionCreateWithoutMemberInput[] | Prisma.EmployeeTrainingVideoCompletionUncheckedCreateWithoutMemberInput[];
250
- connectOrCreate?: Prisma.EmployeeTrainingVideoCompletionCreateOrConnectWithoutMemberInput | Prisma.EmployeeTrainingVideoCompletionCreateOrConnectWithoutMemberInput[];
251
- createMany?: Prisma.EmployeeTrainingVideoCompletionCreateManyMemberInputEnvelope;
252
- connect?: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput | Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput[];
253
- };
254
- export type EmployeeTrainingVideoCompletionUpdateManyWithoutMemberNestedInput = {
255
- create?: Prisma.XOR<Prisma.EmployeeTrainingVideoCompletionCreateWithoutMemberInput, Prisma.EmployeeTrainingVideoCompletionUncheckedCreateWithoutMemberInput> | Prisma.EmployeeTrainingVideoCompletionCreateWithoutMemberInput[] | Prisma.EmployeeTrainingVideoCompletionUncheckedCreateWithoutMemberInput[];
256
- connectOrCreate?: Prisma.EmployeeTrainingVideoCompletionCreateOrConnectWithoutMemberInput | Prisma.EmployeeTrainingVideoCompletionCreateOrConnectWithoutMemberInput[];
257
- upsert?: Prisma.EmployeeTrainingVideoCompletionUpsertWithWhereUniqueWithoutMemberInput | Prisma.EmployeeTrainingVideoCompletionUpsertWithWhereUniqueWithoutMemberInput[];
258
- createMany?: Prisma.EmployeeTrainingVideoCompletionCreateManyMemberInputEnvelope;
259
- set?: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput | Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput[];
260
- disconnect?: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput | Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput[];
261
- delete?: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput | Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput[];
262
- connect?: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput | Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput[];
263
- update?: Prisma.EmployeeTrainingVideoCompletionUpdateWithWhereUniqueWithoutMemberInput | Prisma.EmployeeTrainingVideoCompletionUpdateWithWhereUniqueWithoutMemberInput[];
264
- updateMany?: Prisma.EmployeeTrainingVideoCompletionUpdateManyWithWhereWithoutMemberInput | Prisma.EmployeeTrainingVideoCompletionUpdateManyWithWhereWithoutMemberInput[];
265
- deleteMany?: Prisma.EmployeeTrainingVideoCompletionScalarWhereInput | Prisma.EmployeeTrainingVideoCompletionScalarWhereInput[];
266
- };
267
- export type EmployeeTrainingVideoCompletionUncheckedUpdateManyWithoutMemberNestedInput = {
268
- create?: Prisma.XOR<Prisma.EmployeeTrainingVideoCompletionCreateWithoutMemberInput, Prisma.EmployeeTrainingVideoCompletionUncheckedCreateWithoutMemberInput> | Prisma.EmployeeTrainingVideoCompletionCreateWithoutMemberInput[] | Prisma.EmployeeTrainingVideoCompletionUncheckedCreateWithoutMemberInput[];
269
- connectOrCreate?: Prisma.EmployeeTrainingVideoCompletionCreateOrConnectWithoutMemberInput | Prisma.EmployeeTrainingVideoCompletionCreateOrConnectWithoutMemberInput[];
270
- upsert?: Prisma.EmployeeTrainingVideoCompletionUpsertWithWhereUniqueWithoutMemberInput | Prisma.EmployeeTrainingVideoCompletionUpsertWithWhereUniqueWithoutMemberInput[];
271
- createMany?: Prisma.EmployeeTrainingVideoCompletionCreateManyMemberInputEnvelope;
272
- set?: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput | Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput[];
273
- disconnect?: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput | Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput[];
274
- delete?: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput | Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput[];
275
- connect?: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput | Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput[];
276
- update?: Prisma.EmployeeTrainingVideoCompletionUpdateWithWhereUniqueWithoutMemberInput | Prisma.EmployeeTrainingVideoCompletionUpdateWithWhereUniqueWithoutMemberInput[];
277
- updateMany?: Prisma.EmployeeTrainingVideoCompletionUpdateManyWithWhereWithoutMemberInput | Prisma.EmployeeTrainingVideoCompletionUpdateManyWithWhereWithoutMemberInput[];
278
- deleteMany?: Prisma.EmployeeTrainingVideoCompletionScalarWhereInput | Prisma.EmployeeTrainingVideoCompletionScalarWhereInput[];
279
- };
280
- export type EmployeeTrainingVideoCompletionCreateWithoutMemberInput = {
281
- id?: string;
282
- completedAt?: Date | string | null;
283
- videoId: string;
284
- };
285
- export type EmployeeTrainingVideoCompletionUncheckedCreateWithoutMemberInput = {
286
- id?: string;
287
- completedAt?: Date | string | null;
288
- videoId: string;
289
- };
290
- export type EmployeeTrainingVideoCompletionCreateOrConnectWithoutMemberInput = {
291
- where: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput;
292
- create: Prisma.XOR<Prisma.EmployeeTrainingVideoCompletionCreateWithoutMemberInput, Prisma.EmployeeTrainingVideoCompletionUncheckedCreateWithoutMemberInput>;
293
- };
294
- export type EmployeeTrainingVideoCompletionCreateManyMemberInputEnvelope = {
295
- data: Prisma.EmployeeTrainingVideoCompletionCreateManyMemberInput | Prisma.EmployeeTrainingVideoCompletionCreateManyMemberInput[];
296
- skipDuplicates?: boolean;
297
- };
298
- export type EmployeeTrainingVideoCompletionUpsertWithWhereUniqueWithoutMemberInput = {
299
- where: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput;
300
- update: Prisma.XOR<Prisma.EmployeeTrainingVideoCompletionUpdateWithoutMemberInput, Prisma.EmployeeTrainingVideoCompletionUncheckedUpdateWithoutMemberInput>;
301
- create: Prisma.XOR<Prisma.EmployeeTrainingVideoCompletionCreateWithoutMemberInput, Prisma.EmployeeTrainingVideoCompletionUncheckedCreateWithoutMemberInput>;
302
- };
303
- export type EmployeeTrainingVideoCompletionUpdateWithWhereUniqueWithoutMemberInput = {
304
- where: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput;
305
- data: Prisma.XOR<Prisma.EmployeeTrainingVideoCompletionUpdateWithoutMemberInput, Prisma.EmployeeTrainingVideoCompletionUncheckedUpdateWithoutMemberInput>;
306
- };
307
- export type EmployeeTrainingVideoCompletionUpdateManyWithWhereWithoutMemberInput = {
308
- where: Prisma.EmployeeTrainingVideoCompletionScalarWhereInput;
309
- data: Prisma.XOR<Prisma.EmployeeTrainingVideoCompletionUpdateManyMutationInput, Prisma.EmployeeTrainingVideoCompletionUncheckedUpdateManyWithoutMemberInput>;
310
- };
311
- export type EmployeeTrainingVideoCompletionScalarWhereInput = {
312
- AND?: Prisma.EmployeeTrainingVideoCompletionScalarWhereInput | Prisma.EmployeeTrainingVideoCompletionScalarWhereInput[];
313
- OR?: Prisma.EmployeeTrainingVideoCompletionScalarWhereInput[];
314
- NOT?: Prisma.EmployeeTrainingVideoCompletionScalarWhereInput | Prisma.EmployeeTrainingVideoCompletionScalarWhereInput[];
315
- id?: Prisma.StringFilter<"EmployeeTrainingVideoCompletion"> | string;
316
- completedAt?: Prisma.DateTimeNullableFilter<"EmployeeTrainingVideoCompletion"> | Date | string | null;
317
- videoId?: Prisma.StringFilter<"EmployeeTrainingVideoCompletion"> | string;
318
- memberId?: Prisma.StringFilter<"EmployeeTrainingVideoCompletion"> | string;
319
- };
320
- export type EmployeeTrainingVideoCompletionCreateManyMemberInput = {
321
- id?: string;
322
- completedAt?: Date | string | null;
323
- videoId: string;
324
- };
325
- export type EmployeeTrainingVideoCompletionUpdateWithoutMemberInput = {
326
- id?: Prisma.StringFieldUpdateOperationsInput | string;
327
- completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
328
- videoId?: Prisma.StringFieldUpdateOperationsInput | string;
329
- };
330
- export type EmployeeTrainingVideoCompletionUncheckedUpdateWithoutMemberInput = {
331
- id?: Prisma.StringFieldUpdateOperationsInput | string;
332
- completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
333
- videoId?: Prisma.StringFieldUpdateOperationsInput | string;
334
- };
335
- export type EmployeeTrainingVideoCompletionUncheckedUpdateManyWithoutMemberInput = {
336
- id?: Prisma.StringFieldUpdateOperationsInput | string;
337
- completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
338
- videoId?: Prisma.StringFieldUpdateOperationsInput | string;
339
- };
340
- export type EmployeeTrainingVideoCompletionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
341
- id?: boolean;
342
- completedAt?: boolean;
343
- videoId?: boolean;
344
- memberId?: boolean;
345
- member?: boolean | Prisma.MemberDefaultArgs<ExtArgs>;
346
- }, ExtArgs["result"]["employeeTrainingVideoCompletion"]>;
347
- export type EmployeeTrainingVideoCompletionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
348
- id?: boolean;
349
- completedAt?: boolean;
350
- videoId?: boolean;
351
- memberId?: boolean;
352
- member?: boolean | Prisma.MemberDefaultArgs<ExtArgs>;
353
- }, ExtArgs["result"]["employeeTrainingVideoCompletion"]>;
354
- export type EmployeeTrainingVideoCompletionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
355
- id?: boolean;
356
- completedAt?: boolean;
357
- videoId?: boolean;
358
- memberId?: boolean;
359
- member?: boolean | Prisma.MemberDefaultArgs<ExtArgs>;
360
- }, ExtArgs["result"]["employeeTrainingVideoCompletion"]>;
361
- export type EmployeeTrainingVideoCompletionSelectScalar = {
362
- id?: boolean;
363
- completedAt?: boolean;
364
- videoId?: boolean;
365
- memberId?: boolean;
366
- };
367
- export type EmployeeTrainingVideoCompletionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "completedAt" | "videoId" | "memberId", ExtArgs["result"]["employeeTrainingVideoCompletion"]>;
368
- export type EmployeeTrainingVideoCompletionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
369
- member?: boolean | Prisma.MemberDefaultArgs<ExtArgs>;
370
- };
371
- export type EmployeeTrainingVideoCompletionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
372
- member?: boolean | Prisma.MemberDefaultArgs<ExtArgs>;
373
- };
374
- export type EmployeeTrainingVideoCompletionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
375
- member?: boolean | Prisma.MemberDefaultArgs<ExtArgs>;
376
- };
377
- export type $EmployeeTrainingVideoCompletionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
378
- name: "EmployeeTrainingVideoCompletion";
379
- objects: {
380
- member: Prisma.$MemberPayload<ExtArgs>;
381
- };
382
- scalars: runtime.Types.Extensions.GetPayloadResult<{
383
- id: string;
384
- completedAt: Date | null;
385
- videoId: string;
386
- memberId: string;
387
- }, ExtArgs["result"]["employeeTrainingVideoCompletion"]>;
388
- composites: {};
389
- };
390
- export type EmployeeTrainingVideoCompletionGetPayload<S extends boolean | null | undefined | EmployeeTrainingVideoCompletionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EmployeeTrainingVideoCompletionPayload, S>;
391
- export type EmployeeTrainingVideoCompletionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<EmployeeTrainingVideoCompletionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
392
- select?: EmployeeTrainingVideoCompletionCountAggregateInputType | true;
393
- };
394
- export interface EmployeeTrainingVideoCompletionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
395
- [K: symbol]: {
396
- types: Prisma.TypeMap<ExtArgs>['model']['EmployeeTrainingVideoCompletion'];
397
- meta: {
398
- name: 'EmployeeTrainingVideoCompletion';
399
- };
400
- };
401
- /**
402
- * Find zero or one EmployeeTrainingVideoCompletion that matches the filter.
403
- * @param {EmployeeTrainingVideoCompletionFindUniqueArgs} args - Arguments to find a EmployeeTrainingVideoCompletion
404
- * @example
405
- * // Get one EmployeeTrainingVideoCompletion
406
- * const employeeTrainingVideoCompletion = await prisma.employeeTrainingVideoCompletion.findUnique({
407
- * where: {
408
- * // ... provide filter here
409
- * }
410
- * })
411
- */
412
- findUnique<T extends EmployeeTrainingVideoCompletionFindUniqueArgs>(args: Prisma.SelectSubset<T, EmployeeTrainingVideoCompletionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EmployeeTrainingVideoCompletionClient<runtime.Types.Result.GetResult<Prisma.$EmployeeTrainingVideoCompletionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
413
- /**
414
- * Find one EmployeeTrainingVideoCompletion that matches the filter or throw an error with `error.code='P2025'`
415
- * if no matches were found.
416
- * @param {EmployeeTrainingVideoCompletionFindUniqueOrThrowArgs} args - Arguments to find a EmployeeTrainingVideoCompletion
417
- * @example
418
- * // Get one EmployeeTrainingVideoCompletion
419
- * const employeeTrainingVideoCompletion = await prisma.employeeTrainingVideoCompletion.findUniqueOrThrow({
420
- * where: {
421
- * // ... provide filter here
422
- * }
423
- * })
424
- */
425
- findUniqueOrThrow<T extends EmployeeTrainingVideoCompletionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EmployeeTrainingVideoCompletionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EmployeeTrainingVideoCompletionClient<runtime.Types.Result.GetResult<Prisma.$EmployeeTrainingVideoCompletionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
426
- /**
427
- * Find the first EmployeeTrainingVideoCompletion that matches the filter.
428
- * Note, that providing `undefined` is treated as the value not being there.
429
- * Read more here: https://pris.ly/d/null-undefined
430
- * @param {EmployeeTrainingVideoCompletionFindFirstArgs} args - Arguments to find a EmployeeTrainingVideoCompletion
431
- * @example
432
- * // Get one EmployeeTrainingVideoCompletion
433
- * const employeeTrainingVideoCompletion = await prisma.employeeTrainingVideoCompletion.findFirst({
434
- * where: {
435
- * // ... provide filter here
436
- * }
437
- * })
438
- */
439
- findFirst<T extends EmployeeTrainingVideoCompletionFindFirstArgs>(args?: Prisma.SelectSubset<T, EmployeeTrainingVideoCompletionFindFirstArgs<ExtArgs>>): Prisma.Prisma__EmployeeTrainingVideoCompletionClient<runtime.Types.Result.GetResult<Prisma.$EmployeeTrainingVideoCompletionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
440
- /**
441
- * Find the first EmployeeTrainingVideoCompletion that matches the filter or
442
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
443
- * Note, that providing `undefined` is treated as the value not being there.
444
- * Read more here: https://pris.ly/d/null-undefined
445
- * @param {EmployeeTrainingVideoCompletionFindFirstOrThrowArgs} args - Arguments to find a EmployeeTrainingVideoCompletion
446
- * @example
447
- * // Get one EmployeeTrainingVideoCompletion
448
- * const employeeTrainingVideoCompletion = await prisma.employeeTrainingVideoCompletion.findFirstOrThrow({
449
- * where: {
450
- * // ... provide filter here
451
- * }
452
- * })
453
- */
454
- findFirstOrThrow<T extends EmployeeTrainingVideoCompletionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EmployeeTrainingVideoCompletionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EmployeeTrainingVideoCompletionClient<runtime.Types.Result.GetResult<Prisma.$EmployeeTrainingVideoCompletionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
455
- /**
456
- * Find zero or more EmployeeTrainingVideoCompletions that matches the filter.
457
- * Note, that providing `undefined` is treated as the value not being there.
458
- * Read more here: https://pris.ly/d/null-undefined
459
- * @param {EmployeeTrainingVideoCompletionFindManyArgs} args - Arguments to filter and select certain fields only.
460
- * @example
461
- * // Get all EmployeeTrainingVideoCompletions
462
- * const employeeTrainingVideoCompletions = await prisma.employeeTrainingVideoCompletion.findMany()
463
- *
464
- * // Get first 10 EmployeeTrainingVideoCompletions
465
- * const employeeTrainingVideoCompletions = await prisma.employeeTrainingVideoCompletion.findMany({ take: 10 })
466
- *
467
- * // Only select the `id`
468
- * const employeeTrainingVideoCompletionWithIdOnly = await prisma.employeeTrainingVideoCompletion.findMany({ select: { id: true } })
469
- *
470
- */
471
- findMany<T extends EmployeeTrainingVideoCompletionFindManyArgs>(args?: Prisma.SelectSubset<T, EmployeeTrainingVideoCompletionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmployeeTrainingVideoCompletionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
472
- /**
473
- * Create a EmployeeTrainingVideoCompletion.
474
- * @param {EmployeeTrainingVideoCompletionCreateArgs} args - Arguments to create a EmployeeTrainingVideoCompletion.
475
- * @example
476
- * // Create one EmployeeTrainingVideoCompletion
477
- * const EmployeeTrainingVideoCompletion = await prisma.employeeTrainingVideoCompletion.create({
478
- * data: {
479
- * // ... data to create a EmployeeTrainingVideoCompletion
480
- * }
481
- * })
482
- *
483
- */
484
- create<T extends EmployeeTrainingVideoCompletionCreateArgs>(args: Prisma.SelectSubset<T, EmployeeTrainingVideoCompletionCreateArgs<ExtArgs>>): Prisma.Prisma__EmployeeTrainingVideoCompletionClient<runtime.Types.Result.GetResult<Prisma.$EmployeeTrainingVideoCompletionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
485
- /**
486
- * Create many EmployeeTrainingVideoCompletions.
487
- * @param {EmployeeTrainingVideoCompletionCreateManyArgs} args - Arguments to create many EmployeeTrainingVideoCompletions.
488
- * @example
489
- * // Create many EmployeeTrainingVideoCompletions
490
- * const employeeTrainingVideoCompletion = await prisma.employeeTrainingVideoCompletion.createMany({
491
- * data: [
492
- * // ... provide data here
493
- * ]
494
- * })
495
- *
496
- */
497
- createMany<T extends EmployeeTrainingVideoCompletionCreateManyArgs>(args?: Prisma.SelectSubset<T, EmployeeTrainingVideoCompletionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
498
- /**
499
- * Create many EmployeeTrainingVideoCompletions and returns the data saved in the database.
500
- * @param {EmployeeTrainingVideoCompletionCreateManyAndReturnArgs} args - Arguments to create many EmployeeTrainingVideoCompletions.
501
- * @example
502
- * // Create many EmployeeTrainingVideoCompletions
503
- * const employeeTrainingVideoCompletion = await prisma.employeeTrainingVideoCompletion.createManyAndReturn({
504
- * data: [
505
- * // ... provide data here
506
- * ]
507
- * })
508
- *
509
- * // Create many EmployeeTrainingVideoCompletions and only return the `id`
510
- * const employeeTrainingVideoCompletionWithIdOnly = await prisma.employeeTrainingVideoCompletion.createManyAndReturn({
511
- * select: { id: true },
512
- * data: [
513
- * // ... provide data here
514
- * ]
515
- * })
516
- * Note, that providing `undefined` is treated as the value not being there.
517
- * Read more here: https://pris.ly/d/null-undefined
518
- *
519
- */
520
- createManyAndReturn<T extends EmployeeTrainingVideoCompletionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, EmployeeTrainingVideoCompletionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmployeeTrainingVideoCompletionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
521
- /**
522
- * Delete a EmployeeTrainingVideoCompletion.
523
- * @param {EmployeeTrainingVideoCompletionDeleteArgs} args - Arguments to delete one EmployeeTrainingVideoCompletion.
524
- * @example
525
- * // Delete one EmployeeTrainingVideoCompletion
526
- * const EmployeeTrainingVideoCompletion = await prisma.employeeTrainingVideoCompletion.delete({
527
- * where: {
528
- * // ... filter to delete one EmployeeTrainingVideoCompletion
529
- * }
530
- * })
531
- *
532
- */
533
- delete<T extends EmployeeTrainingVideoCompletionDeleteArgs>(args: Prisma.SelectSubset<T, EmployeeTrainingVideoCompletionDeleteArgs<ExtArgs>>): Prisma.Prisma__EmployeeTrainingVideoCompletionClient<runtime.Types.Result.GetResult<Prisma.$EmployeeTrainingVideoCompletionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
534
- /**
535
- * Update one EmployeeTrainingVideoCompletion.
536
- * @param {EmployeeTrainingVideoCompletionUpdateArgs} args - Arguments to update one EmployeeTrainingVideoCompletion.
537
- * @example
538
- * // Update one EmployeeTrainingVideoCompletion
539
- * const employeeTrainingVideoCompletion = await prisma.employeeTrainingVideoCompletion.update({
540
- * where: {
541
- * // ... provide filter here
542
- * },
543
- * data: {
544
- * // ... provide data here
545
- * }
546
- * })
547
- *
548
- */
549
- update<T extends EmployeeTrainingVideoCompletionUpdateArgs>(args: Prisma.SelectSubset<T, EmployeeTrainingVideoCompletionUpdateArgs<ExtArgs>>): Prisma.Prisma__EmployeeTrainingVideoCompletionClient<runtime.Types.Result.GetResult<Prisma.$EmployeeTrainingVideoCompletionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
550
- /**
551
- * Delete zero or more EmployeeTrainingVideoCompletions.
552
- * @param {EmployeeTrainingVideoCompletionDeleteManyArgs} args - Arguments to filter EmployeeTrainingVideoCompletions to delete.
553
- * @example
554
- * // Delete a few EmployeeTrainingVideoCompletions
555
- * const { count } = await prisma.employeeTrainingVideoCompletion.deleteMany({
556
- * where: {
557
- * // ... provide filter here
558
- * }
559
- * })
560
- *
561
- */
562
- deleteMany<T extends EmployeeTrainingVideoCompletionDeleteManyArgs>(args?: Prisma.SelectSubset<T, EmployeeTrainingVideoCompletionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
563
- /**
564
- * Update zero or more EmployeeTrainingVideoCompletions.
565
- * Note, that providing `undefined` is treated as the value not being there.
566
- * Read more here: https://pris.ly/d/null-undefined
567
- * @param {EmployeeTrainingVideoCompletionUpdateManyArgs} args - Arguments to update one or more rows.
568
- * @example
569
- * // Update many EmployeeTrainingVideoCompletions
570
- * const employeeTrainingVideoCompletion = await prisma.employeeTrainingVideoCompletion.updateMany({
571
- * where: {
572
- * // ... provide filter here
573
- * },
574
- * data: {
575
- * // ... provide data here
576
- * }
577
- * })
578
- *
579
- */
580
- updateMany<T extends EmployeeTrainingVideoCompletionUpdateManyArgs>(args: Prisma.SelectSubset<T, EmployeeTrainingVideoCompletionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
581
- /**
582
- * Update zero or more EmployeeTrainingVideoCompletions and returns the data updated in the database.
583
- * @param {EmployeeTrainingVideoCompletionUpdateManyAndReturnArgs} args - Arguments to update many EmployeeTrainingVideoCompletions.
584
- * @example
585
- * // Update many EmployeeTrainingVideoCompletions
586
- * const employeeTrainingVideoCompletion = await prisma.employeeTrainingVideoCompletion.updateManyAndReturn({
587
- * where: {
588
- * // ... provide filter here
589
- * },
590
- * data: [
591
- * // ... provide data here
592
- * ]
593
- * })
594
- *
595
- * // Update zero or more EmployeeTrainingVideoCompletions and only return the `id`
596
- * const employeeTrainingVideoCompletionWithIdOnly = await prisma.employeeTrainingVideoCompletion.updateManyAndReturn({
597
- * select: { id: true },
598
- * where: {
599
- * // ... provide filter here
600
- * },
601
- * data: [
602
- * // ... provide data here
603
- * ]
604
- * })
605
- * Note, that providing `undefined` is treated as the value not being there.
606
- * Read more here: https://pris.ly/d/null-undefined
607
- *
608
- */
609
- updateManyAndReturn<T extends EmployeeTrainingVideoCompletionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, EmployeeTrainingVideoCompletionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EmployeeTrainingVideoCompletionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
610
- /**
611
- * Create or update one EmployeeTrainingVideoCompletion.
612
- * @param {EmployeeTrainingVideoCompletionUpsertArgs} args - Arguments to update or create a EmployeeTrainingVideoCompletion.
613
- * @example
614
- * // Update or create a EmployeeTrainingVideoCompletion
615
- * const employeeTrainingVideoCompletion = await prisma.employeeTrainingVideoCompletion.upsert({
616
- * create: {
617
- * // ... data to create a EmployeeTrainingVideoCompletion
618
- * },
619
- * update: {
620
- * // ... in case it already exists, update
621
- * },
622
- * where: {
623
- * // ... the filter for the EmployeeTrainingVideoCompletion we want to update
624
- * }
625
- * })
626
- */
627
- upsert<T extends EmployeeTrainingVideoCompletionUpsertArgs>(args: Prisma.SelectSubset<T, EmployeeTrainingVideoCompletionUpsertArgs<ExtArgs>>): Prisma.Prisma__EmployeeTrainingVideoCompletionClient<runtime.Types.Result.GetResult<Prisma.$EmployeeTrainingVideoCompletionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
628
- /**
629
- * Count the number of EmployeeTrainingVideoCompletions.
630
- * Note, that providing `undefined` is treated as the value not being there.
631
- * Read more here: https://pris.ly/d/null-undefined
632
- * @param {EmployeeTrainingVideoCompletionCountArgs} args - Arguments to filter EmployeeTrainingVideoCompletions to count.
633
- * @example
634
- * // Count the number of EmployeeTrainingVideoCompletions
635
- * const count = await prisma.employeeTrainingVideoCompletion.count({
636
- * where: {
637
- * // ... the filter for the EmployeeTrainingVideoCompletions we want to count
638
- * }
639
- * })
640
- **/
641
- count<T extends EmployeeTrainingVideoCompletionCountArgs>(args?: Prisma.Subset<T, EmployeeTrainingVideoCompletionCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], EmployeeTrainingVideoCompletionCountAggregateOutputType> : number>;
642
- /**
643
- * Allows you to perform aggregations operations on a EmployeeTrainingVideoCompletion.
644
- * Note, that providing `undefined` is treated as the value not being there.
645
- * Read more here: https://pris.ly/d/null-undefined
646
- * @param {EmployeeTrainingVideoCompletionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
647
- * @example
648
- * // Ordered by age ascending
649
- * // Where email contains prisma.io
650
- * // Limited to the 10 users
651
- * const aggregations = await prisma.user.aggregate({
652
- * _avg: {
653
- * age: true,
654
- * },
655
- * where: {
656
- * email: {
657
- * contains: "prisma.io",
658
- * },
659
- * },
660
- * orderBy: {
661
- * age: "asc",
662
- * },
663
- * take: 10,
664
- * })
665
- **/
666
- aggregate<T extends EmployeeTrainingVideoCompletionAggregateArgs>(args: Prisma.Subset<T, EmployeeTrainingVideoCompletionAggregateArgs>): Prisma.PrismaPromise<GetEmployeeTrainingVideoCompletionAggregateType<T>>;
667
- /**
668
- * Group by EmployeeTrainingVideoCompletion.
669
- * Note, that providing `undefined` is treated as the value not being there.
670
- * Read more here: https://pris.ly/d/null-undefined
671
- * @param {EmployeeTrainingVideoCompletionGroupByArgs} args - Group by arguments.
672
- * @example
673
- * // Group by city, order by createdAt, get count
674
- * const result = await prisma.user.groupBy({
675
- * by: ['city', 'createdAt'],
676
- * orderBy: {
677
- * createdAt: true
678
- * },
679
- * _count: {
680
- * _all: true
681
- * },
682
- * })
683
- *
684
- **/
685
- groupBy<T extends EmployeeTrainingVideoCompletionGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
686
- orderBy: EmployeeTrainingVideoCompletionGroupByArgs['orderBy'];
687
- } : {
688
- orderBy?: EmployeeTrainingVideoCompletionGroupByArgs['orderBy'];
689
- }, 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 ? {
690
- [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
691
- Error,
692
- 'Field ',
693
- P,
694
- ` in "having" needs to be provided in "by"`
695
- ];
696
- }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
697
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
698
- }[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 ? {} : {
699
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
700
- }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
701
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
702
- }[OrderFields]>(args: Prisma.SubsetIntersection<T, EmployeeTrainingVideoCompletionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEmployeeTrainingVideoCompletionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
703
- /**
704
- * Fields of the EmployeeTrainingVideoCompletion model
705
- */
706
- readonly fields: EmployeeTrainingVideoCompletionFieldRefs;
707
- }
708
- /**
709
- * The delegate class that acts as a "Promise-like" for EmployeeTrainingVideoCompletion.
710
- * Why is this prefixed with `Prisma__`?
711
- * Because we want to prevent naming conflicts as mentioned in
712
- * https://github.com/prisma/prisma-client-js/issues/707
713
- */
714
- export interface Prisma__EmployeeTrainingVideoCompletionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
715
- readonly [Symbol.toStringTag]: "PrismaPromise";
716
- member<T extends Prisma.MemberDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.MemberDefaultArgs<ExtArgs>>): Prisma.Prisma__MemberClient<runtime.Types.Result.GetResult<Prisma.$MemberPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
717
- /**
718
- * Attaches callbacks for the resolution and/or rejection of the Promise.
719
- * @param onfulfilled The callback to execute when the Promise is resolved.
720
- * @param onrejected The callback to execute when the Promise is rejected.
721
- * @returns A Promise for the completion of which ever callback is executed.
722
- */
723
- 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>;
724
- /**
725
- * Attaches a callback for only the rejection of the Promise.
726
- * @param onrejected The callback to execute when the Promise is rejected.
727
- * @returns A Promise for the completion of the callback.
728
- */
729
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
730
- /**
731
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
732
- * resolved value cannot be modified from the callback.
733
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
734
- * @returns A Promise for the completion of the callback.
735
- */
736
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
737
- }
738
- /**
739
- * Fields of the EmployeeTrainingVideoCompletion model
740
- */
741
- export interface EmployeeTrainingVideoCompletionFieldRefs {
742
- readonly id: Prisma.FieldRef<"EmployeeTrainingVideoCompletion", 'String'>;
743
- readonly completedAt: Prisma.FieldRef<"EmployeeTrainingVideoCompletion", 'DateTime'>;
744
- readonly videoId: Prisma.FieldRef<"EmployeeTrainingVideoCompletion", 'String'>;
745
- readonly memberId: Prisma.FieldRef<"EmployeeTrainingVideoCompletion", 'String'>;
746
- }
747
- /**
748
- * EmployeeTrainingVideoCompletion findUnique
749
- */
750
- export type EmployeeTrainingVideoCompletionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
751
- /**
752
- * Select specific fields to fetch from the EmployeeTrainingVideoCompletion
753
- */
754
- select?: Prisma.EmployeeTrainingVideoCompletionSelect<ExtArgs> | null;
755
- /**
756
- * Omit specific fields from the EmployeeTrainingVideoCompletion
757
- */
758
- omit?: Prisma.EmployeeTrainingVideoCompletionOmit<ExtArgs> | null;
759
- /**
760
- * Choose, which related nodes to fetch as well
761
- */
762
- include?: Prisma.EmployeeTrainingVideoCompletionInclude<ExtArgs> | null;
763
- /**
764
- * Filter, which EmployeeTrainingVideoCompletion to fetch.
765
- */
766
- where: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput;
767
- };
768
- /**
769
- * EmployeeTrainingVideoCompletion findUniqueOrThrow
770
- */
771
- export type EmployeeTrainingVideoCompletionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
772
- /**
773
- * Select specific fields to fetch from the EmployeeTrainingVideoCompletion
774
- */
775
- select?: Prisma.EmployeeTrainingVideoCompletionSelect<ExtArgs> | null;
776
- /**
777
- * Omit specific fields from the EmployeeTrainingVideoCompletion
778
- */
779
- omit?: Prisma.EmployeeTrainingVideoCompletionOmit<ExtArgs> | null;
780
- /**
781
- * Choose, which related nodes to fetch as well
782
- */
783
- include?: Prisma.EmployeeTrainingVideoCompletionInclude<ExtArgs> | null;
784
- /**
785
- * Filter, which EmployeeTrainingVideoCompletion to fetch.
786
- */
787
- where: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput;
788
- };
789
- /**
790
- * EmployeeTrainingVideoCompletion findFirst
791
- */
792
- export type EmployeeTrainingVideoCompletionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
793
- /**
794
- * Select specific fields to fetch from the EmployeeTrainingVideoCompletion
795
- */
796
- select?: Prisma.EmployeeTrainingVideoCompletionSelect<ExtArgs> | null;
797
- /**
798
- * Omit specific fields from the EmployeeTrainingVideoCompletion
799
- */
800
- omit?: Prisma.EmployeeTrainingVideoCompletionOmit<ExtArgs> | null;
801
- /**
802
- * Choose, which related nodes to fetch as well
803
- */
804
- include?: Prisma.EmployeeTrainingVideoCompletionInclude<ExtArgs> | null;
805
- /**
806
- * Filter, which EmployeeTrainingVideoCompletion to fetch.
807
- */
808
- where?: Prisma.EmployeeTrainingVideoCompletionWhereInput;
809
- /**
810
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
811
- *
812
- * Determine the order of EmployeeTrainingVideoCompletions to fetch.
813
- */
814
- orderBy?: Prisma.EmployeeTrainingVideoCompletionOrderByWithRelationInput | Prisma.EmployeeTrainingVideoCompletionOrderByWithRelationInput[];
815
- /**
816
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
817
- *
818
- * Sets the position for searching for EmployeeTrainingVideoCompletions.
819
- */
820
- cursor?: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput;
821
- /**
822
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
823
- *
824
- * Take `±n` EmployeeTrainingVideoCompletions from the position of the cursor.
825
- */
826
- take?: number;
827
- /**
828
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
829
- *
830
- * Skip the first `n` EmployeeTrainingVideoCompletions.
831
- */
832
- skip?: number;
833
- /**
834
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
835
- *
836
- * Filter by unique combinations of EmployeeTrainingVideoCompletions.
837
- */
838
- distinct?: Prisma.EmployeeTrainingVideoCompletionScalarFieldEnum | Prisma.EmployeeTrainingVideoCompletionScalarFieldEnum[];
839
- };
840
- /**
841
- * EmployeeTrainingVideoCompletion findFirstOrThrow
842
- */
843
- export type EmployeeTrainingVideoCompletionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
844
- /**
845
- * Select specific fields to fetch from the EmployeeTrainingVideoCompletion
846
- */
847
- select?: Prisma.EmployeeTrainingVideoCompletionSelect<ExtArgs> | null;
848
- /**
849
- * Omit specific fields from the EmployeeTrainingVideoCompletion
850
- */
851
- omit?: Prisma.EmployeeTrainingVideoCompletionOmit<ExtArgs> | null;
852
- /**
853
- * Choose, which related nodes to fetch as well
854
- */
855
- include?: Prisma.EmployeeTrainingVideoCompletionInclude<ExtArgs> | null;
856
- /**
857
- * Filter, which EmployeeTrainingVideoCompletion to fetch.
858
- */
859
- where?: Prisma.EmployeeTrainingVideoCompletionWhereInput;
860
- /**
861
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
862
- *
863
- * Determine the order of EmployeeTrainingVideoCompletions to fetch.
864
- */
865
- orderBy?: Prisma.EmployeeTrainingVideoCompletionOrderByWithRelationInput | Prisma.EmployeeTrainingVideoCompletionOrderByWithRelationInput[];
866
- /**
867
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
868
- *
869
- * Sets the position for searching for EmployeeTrainingVideoCompletions.
870
- */
871
- cursor?: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput;
872
- /**
873
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
874
- *
875
- * Take `±n` EmployeeTrainingVideoCompletions from the position of the cursor.
876
- */
877
- take?: number;
878
- /**
879
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
880
- *
881
- * Skip the first `n` EmployeeTrainingVideoCompletions.
882
- */
883
- skip?: number;
884
- /**
885
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
886
- *
887
- * Filter by unique combinations of EmployeeTrainingVideoCompletions.
888
- */
889
- distinct?: Prisma.EmployeeTrainingVideoCompletionScalarFieldEnum | Prisma.EmployeeTrainingVideoCompletionScalarFieldEnum[];
890
- };
891
- /**
892
- * EmployeeTrainingVideoCompletion findMany
893
- */
894
- export type EmployeeTrainingVideoCompletionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
895
- /**
896
- * Select specific fields to fetch from the EmployeeTrainingVideoCompletion
897
- */
898
- select?: Prisma.EmployeeTrainingVideoCompletionSelect<ExtArgs> | null;
899
- /**
900
- * Omit specific fields from the EmployeeTrainingVideoCompletion
901
- */
902
- omit?: Prisma.EmployeeTrainingVideoCompletionOmit<ExtArgs> | null;
903
- /**
904
- * Choose, which related nodes to fetch as well
905
- */
906
- include?: Prisma.EmployeeTrainingVideoCompletionInclude<ExtArgs> | null;
907
- /**
908
- * Filter, which EmployeeTrainingVideoCompletions to fetch.
909
- */
910
- where?: Prisma.EmployeeTrainingVideoCompletionWhereInput;
911
- /**
912
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
913
- *
914
- * Determine the order of EmployeeTrainingVideoCompletions to fetch.
915
- */
916
- orderBy?: Prisma.EmployeeTrainingVideoCompletionOrderByWithRelationInput | Prisma.EmployeeTrainingVideoCompletionOrderByWithRelationInput[];
917
- /**
918
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
919
- *
920
- * Sets the position for listing EmployeeTrainingVideoCompletions.
921
- */
922
- cursor?: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput;
923
- /**
924
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
925
- *
926
- * Take `±n` EmployeeTrainingVideoCompletions from the position of the cursor.
927
- */
928
- take?: number;
929
- /**
930
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
931
- *
932
- * Skip the first `n` EmployeeTrainingVideoCompletions.
933
- */
934
- skip?: number;
935
- /**
936
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
937
- *
938
- * Filter by unique combinations of EmployeeTrainingVideoCompletions.
939
- */
940
- distinct?: Prisma.EmployeeTrainingVideoCompletionScalarFieldEnum | Prisma.EmployeeTrainingVideoCompletionScalarFieldEnum[];
941
- };
942
- /**
943
- * EmployeeTrainingVideoCompletion create
944
- */
945
- export type EmployeeTrainingVideoCompletionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
946
- /**
947
- * Select specific fields to fetch from the EmployeeTrainingVideoCompletion
948
- */
949
- select?: Prisma.EmployeeTrainingVideoCompletionSelect<ExtArgs> | null;
950
- /**
951
- * Omit specific fields from the EmployeeTrainingVideoCompletion
952
- */
953
- omit?: Prisma.EmployeeTrainingVideoCompletionOmit<ExtArgs> | null;
954
- /**
955
- * Choose, which related nodes to fetch as well
956
- */
957
- include?: Prisma.EmployeeTrainingVideoCompletionInclude<ExtArgs> | null;
958
- /**
959
- * The data needed to create a EmployeeTrainingVideoCompletion.
960
- */
961
- data: Prisma.XOR<Prisma.EmployeeTrainingVideoCompletionCreateInput, Prisma.EmployeeTrainingVideoCompletionUncheckedCreateInput>;
962
- };
963
- /**
964
- * EmployeeTrainingVideoCompletion createMany
965
- */
966
- export type EmployeeTrainingVideoCompletionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
967
- /**
968
- * The data used to create many EmployeeTrainingVideoCompletions.
969
- */
970
- data: Prisma.EmployeeTrainingVideoCompletionCreateManyInput | Prisma.EmployeeTrainingVideoCompletionCreateManyInput[];
971
- skipDuplicates?: boolean;
972
- };
973
- /**
974
- * EmployeeTrainingVideoCompletion createManyAndReturn
975
- */
976
- export type EmployeeTrainingVideoCompletionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
977
- /**
978
- * Select specific fields to fetch from the EmployeeTrainingVideoCompletion
979
- */
980
- select?: Prisma.EmployeeTrainingVideoCompletionSelectCreateManyAndReturn<ExtArgs> | null;
981
- /**
982
- * Omit specific fields from the EmployeeTrainingVideoCompletion
983
- */
984
- omit?: Prisma.EmployeeTrainingVideoCompletionOmit<ExtArgs> | null;
985
- /**
986
- * The data used to create many EmployeeTrainingVideoCompletions.
987
- */
988
- data: Prisma.EmployeeTrainingVideoCompletionCreateManyInput | Prisma.EmployeeTrainingVideoCompletionCreateManyInput[];
989
- skipDuplicates?: boolean;
990
- /**
991
- * Choose, which related nodes to fetch as well
992
- */
993
- include?: Prisma.EmployeeTrainingVideoCompletionIncludeCreateManyAndReturn<ExtArgs> | null;
994
- };
995
- /**
996
- * EmployeeTrainingVideoCompletion update
997
- */
998
- export type EmployeeTrainingVideoCompletionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
999
- /**
1000
- * Select specific fields to fetch from the EmployeeTrainingVideoCompletion
1001
- */
1002
- select?: Prisma.EmployeeTrainingVideoCompletionSelect<ExtArgs> | null;
1003
- /**
1004
- * Omit specific fields from the EmployeeTrainingVideoCompletion
1005
- */
1006
- omit?: Prisma.EmployeeTrainingVideoCompletionOmit<ExtArgs> | null;
1007
- /**
1008
- * Choose, which related nodes to fetch as well
1009
- */
1010
- include?: Prisma.EmployeeTrainingVideoCompletionInclude<ExtArgs> | null;
1011
- /**
1012
- * The data needed to update a EmployeeTrainingVideoCompletion.
1013
- */
1014
- data: Prisma.XOR<Prisma.EmployeeTrainingVideoCompletionUpdateInput, Prisma.EmployeeTrainingVideoCompletionUncheckedUpdateInput>;
1015
- /**
1016
- * Choose, which EmployeeTrainingVideoCompletion to update.
1017
- */
1018
- where: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput;
1019
- };
1020
- /**
1021
- * EmployeeTrainingVideoCompletion updateMany
1022
- */
1023
- export type EmployeeTrainingVideoCompletionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1024
- /**
1025
- * The data used to update EmployeeTrainingVideoCompletions.
1026
- */
1027
- data: Prisma.XOR<Prisma.EmployeeTrainingVideoCompletionUpdateManyMutationInput, Prisma.EmployeeTrainingVideoCompletionUncheckedUpdateManyInput>;
1028
- /**
1029
- * Filter which EmployeeTrainingVideoCompletions to update
1030
- */
1031
- where?: Prisma.EmployeeTrainingVideoCompletionWhereInput;
1032
- /**
1033
- * Limit how many EmployeeTrainingVideoCompletions to update.
1034
- */
1035
- limit?: number;
1036
- };
1037
- /**
1038
- * EmployeeTrainingVideoCompletion updateManyAndReturn
1039
- */
1040
- export type EmployeeTrainingVideoCompletionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1041
- /**
1042
- * Select specific fields to fetch from the EmployeeTrainingVideoCompletion
1043
- */
1044
- select?: Prisma.EmployeeTrainingVideoCompletionSelectUpdateManyAndReturn<ExtArgs> | null;
1045
- /**
1046
- * Omit specific fields from the EmployeeTrainingVideoCompletion
1047
- */
1048
- omit?: Prisma.EmployeeTrainingVideoCompletionOmit<ExtArgs> | null;
1049
- /**
1050
- * The data used to update EmployeeTrainingVideoCompletions.
1051
- */
1052
- data: Prisma.XOR<Prisma.EmployeeTrainingVideoCompletionUpdateManyMutationInput, Prisma.EmployeeTrainingVideoCompletionUncheckedUpdateManyInput>;
1053
- /**
1054
- * Filter which EmployeeTrainingVideoCompletions to update
1055
- */
1056
- where?: Prisma.EmployeeTrainingVideoCompletionWhereInput;
1057
- /**
1058
- * Limit how many EmployeeTrainingVideoCompletions to update.
1059
- */
1060
- limit?: number;
1061
- /**
1062
- * Choose, which related nodes to fetch as well
1063
- */
1064
- include?: Prisma.EmployeeTrainingVideoCompletionIncludeUpdateManyAndReturn<ExtArgs> | null;
1065
- };
1066
- /**
1067
- * EmployeeTrainingVideoCompletion upsert
1068
- */
1069
- export type EmployeeTrainingVideoCompletionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1070
- /**
1071
- * Select specific fields to fetch from the EmployeeTrainingVideoCompletion
1072
- */
1073
- select?: Prisma.EmployeeTrainingVideoCompletionSelect<ExtArgs> | null;
1074
- /**
1075
- * Omit specific fields from the EmployeeTrainingVideoCompletion
1076
- */
1077
- omit?: Prisma.EmployeeTrainingVideoCompletionOmit<ExtArgs> | null;
1078
- /**
1079
- * Choose, which related nodes to fetch as well
1080
- */
1081
- include?: Prisma.EmployeeTrainingVideoCompletionInclude<ExtArgs> | null;
1082
- /**
1083
- * The filter to search for the EmployeeTrainingVideoCompletion to update in case it exists.
1084
- */
1085
- where: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput;
1086
- /**
1087
- * In case the EmployeeTrainingVideoCompletion found by the `where` argument doesn't exist, create a new EmployeeTrainingVideoCompletion with this data.
1088
- */
1089
- create: Prisma.XOR<Prisma.EmployeeTrainingVideoCompletionCreateInput, Prisma.EmployeeTrainingVideoCompletionUncheckedCreateInput>;
1090
- /**
1091
- * In case the EmployeeTrainingVideoCompletion was found with the provided `where` argument, update it with this data.
1092
- */
1093
- update: Prisma.XOR<Prisma.EmployeeTrainingVideoCompletionUpdateInput, Prisma.EmployeeTrainingVideoCompletionUncheckedUpdateInput>;
1094
- };
1095
- /**
1096
- * EmployeeTrainingVideoCompletion delete
1097
- */
1098
- export type EmployeeTrainingVideoCompletionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1099
- /**
1100
- * Select specific fields to fetch from the EmployeeTrainingVideoCompletion
1101
- */
1102
- select?: Prisma.EmployeeTrainingVideoCompletionSelect<ExtArgs> | null;
1103
- /**
1104
- * Omit specific fields from the EmployeeTrainingVideoCompletion
1105
- */
1106
- omit?: Prisma.EmployeeTrainingVideoCompletionOmit<ExtArgs> | null;
1107
- /**
1108
- * Choose, which related nodes to fetch as well
1109
- */
1110
- include?: Prisma.EmployeeTrainingVideoCompletionInclude<ExtArgs> | null;
1111
- /**
1112
- * Filter which EmployeeTrainingVideoCompletion to delete.
1113
- */
1114
- where: Prisma.EmployeeTrainingVideoCompletionWhereUniqueInput;
1115
- };
1116
- /**
1117
- * EmployeeTrainingVideoCompletion deleteMany
1118
- */
1119
- export type EmployeeTrainingVideoCompletionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1120
- /**
1121
- * Filter which EmployeeTrainingVideoCompletions to delete
1122
- */
1123
- where?: Prisma.EmployeeTrainingVideoCompletionWhereInput;
1124
- /**
1125
- * Limit how many EmployeeTrainingVideoCompletions to delete.
1126
- */
1127
- limit?: number;
1128
- };
1129
- /**
1130
- * EmployeeTrainingVideoCompletion without action
1131
- */
1132
- export type EmployeeTrainingVideoCompletionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1133
- /**
1134
- * Select specific fields to fetch from the EmployeeTrainingVideoCompletion
1135
- */
1136
- select?: Prisma.EmployeeTrainingVideoCompletionSelect<ExtArgs> | null;
1137
- /**
1138
- * Omit specific fields from the EmployeeTrainingVideoCompletion
1139
- */
1140
- omit?: Prisma.EmployeeTrainingVideoCompletionOmit<ExtArgs> | null;
1141
- /**
1142
- * Choose, which related nodes to fetch as well
1143
- */
1144
- include?: Prisma.EmployeeTrainingVideoCompletionInclude<ExtArgs> | null;
1145
- };
1146
- //# sourceMappingURL=EmployeeTrainingVideoCompletion.d.ts.map