@trycompai/db 1.3.22 → 2.0.0

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