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