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