@trycompai/db 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. package/dist/client.d.ts +2 -2
  2. package/dist/client.d.ts.map +1 -1
  3. package/dist/client.js +24 -3
  4. package/dist/scripts/backfill-framework-versions.d.ts +6 -0
  5. package/dist/scripts/backfill-framework-versions.d.ts.map +1 -0
  6. package/dist/scripts/backfill-framework-versions.js +142 -0
  7. package/package.json +5 -3
  8. package/dist/client.ts +0 -7
  9. package/dist/generated/prisma/client.d.ts +0 -427
  10. package/dist/generated/prisma/client.d.ts.map +0 -1
  11. package/dist/generated/prisma/client.js +0 -73
  12. package/dist/generated/prisma/commonInputTypes.d.ts +0 -2082
  13. package/dist/generated/prisma/commonInputTypes.d.ts.map +0 -1
  14. package/dist/generated/prisma/commonInputTypes.js +0 -11
  15. package/dist/generated/prisma/enums.d.ts +0 -367
  16. package/dist/generated/prisma/enums.d.ts.map +0 -1
  17. package/dist/generated/prisma/enums.js +0 -329
  18. package/dist/generated/prisma/internal/class.d.ts +0 -1000
  19. package/dist/generated/prisma/internal/class.d.ts.map +0 -1
  20. package/dist/generated/prisma/internal/class.js +0 -87
  21. package/dist/generated/prisma/internal/prismaNamespace.d.ts +0 -8063
  22. package/dist/generated/prisma/internal/prismaNamespace.d.ts.map +0 -1
  23. package/dist/generated/prisma/internal/prismaNamespace.js +0 -1256
  24. package/dist/generated/prisma/models/Account.d.ts +0 -1456
  25. package/dist/generated/prisma/models/Account.d.ts.map +0 -1
  26. package/dist/generated/prisma/models/Account.js +0 -2
  27. package/dist/generated/prisma/models/ApiKey.d.ts +0 -1387
  28. package/dist/generated/prisma/models/ApiKey.d.ts.map +0 -1
  29. package/dist/generated/prisma/models/ApiKey.js +0 -2
  30. package/dist/generated/prisma/models/Attachment.d.ts +0 -1520
  31. package/dist/generated/prisma/models/Attachment.d.ts.map +0 -1
  32. package/dist/generated/prisma/models/Attachment.js +0 -2
  33. package/dist/generated/prisma/models/AuditLog.d.ts +0 -1590
  34. package/dist/generated/prisma/models/AuditLog.d.ts.map +0 -1
  35. package/dist/generated/prisma/models/AuditLog.js +0 -2
  36. package/dist/generated/prisma/models/BrowserAutomation.d.ts +0 -1507
  37. package/dist/generated/prisma/models/BrowserAutomation.d.ts.map +0 -1
  38. package/dist/generated/prisma/models/BrowserAutomation.js +0 -2
  39. package/dist/generated/prisma/models/BrowserAutomationRun.d.ts +0 -1455
  40. package/dist/generated/prisma/models/BrowserAutomationRun.d.ts.map +0 -1
  41. package/dist/generated/prisma/models/BrowserAutomationRun.js +0 -2
  42. package/dist/generated/prisma/models/BrowserbaseContext.d.ts +0 -1139
  43. package/dist/generated/prisma/models/BrowserbaseContext.d.ts.map +0 -1
  44. package/dist/generated/prisma/models/BrowserbaseContext.js +0 -2
  45. package/dist/generated/prisma/models/Comment.d.ts +0 -1502
  46. package/dist/generated/prisma/models/Comment.d.ts.map +0 -1
  47. package/dist/generated/prisma/models/Comment.js +0 -2
  48. package/dist/generated/prisma/models/Context.d.ts +0 -1254
  49. package/dist/generated/prisma/models/Context.d.ts.map +0 -1
  50. package/dist/generated/prisma/models/Context.js +0 -2
  51. package/dist/generated/prisma/models/Control.d.ts +0 -1965
  52. package/dist/generated/prisma/models/Control.d.ts.map +0 -1
  53. package/dist/generated/prisma/models/Control.js +0 -2
  54. package/dist/generated/prisma/models/ControlDocumentType.d.ts +0 -1115
  55. package/dist/generated/prisma/models/ControlDocumentType.d.ts.map +0 -1
  56. package/dist/generated/prisma/models/ControlDocumentType.js +0 -2
  57. package/dist/generated/prisma/models/Device.d.ts +0 -1858
  58. package/dist/generated/prisma/models/Device.d.ts.map +0 -1
  59. package/dist/generated/prisma/models/Device.js +0 -2
  60. package/dist/generated/prisma/models/DynamicCheck.d.ts +0 -1517
  61. package/dist/generated/prisma/models/DynamicCheck.d.ts.map +0 -1
  62. package/dist/generated/prisma/models/DynamicCheck.js +0 -2
  63. package/dist/generated/prisma/models/DynamicIntegration.d.ts +0 -1528
  64. package/dist/generated/prisma/models/DynamicIntegration.d.ts.map +0 -1
  65. package/dist/generated/prisma/models/DynamicIntegration.js +0 -2
  66. package/dist/generated/prisma/models/EmployeeTrainingVideoCompletion.d.ts +0 -1146
  67. package/dist/generated/prisma/models/EmployeeTrainingVideoCompletion.d.ts.map +0 -1
  68. package/dist/generated/prisma/models/EmployeeTrainingVideoCompletion.js +0 -2
  69. package/dist/generated/prisma/models/EvidenceAutomation.d.ts +0 -1533
  70. package/dist/generated/prisma/models/EvidenceAutomation.d.ts.map +0 -1
  71. package/dist/generated/prisma/models/EvidenceAutomation.js +0 -2
  72. package/dist/generated/prisma/models/EvidenceAutomationRun.d.ts +0 -1833
  73. package/dist/generated/prisma/models/EvidenceAutomationRun.d.ts.map +0 -1
  74. package/dist/generated/prisma/models/EvidenceAutomationRun.js +0 -2
  75. package/dist/generated/prisma/models/EvidenceAutomationVersion.d.ts +0 -1331
  76. package/dist/generated/prisma/models/EvidenceAutomationVersion.d.ts.map +0 -1
  77. package/dist/generated/prisma/models/EvidenceAutomationVersion.js +0 -2
  78. package/dist/generated/prisma/models/EvidenceSubmission.d.ts +0 -1905
  79. package/dist/generated/prisma/models/EvidenceSubmission.d.ts.map +0 -1
  80. package/dist/generated/prisma/models/EvidenceSubmission.js +0 -2
  81. package/dist/generated/prisma/models/Finding.d.ts +0 -2386
  82. package/dist/generated/prisma/models/Finding.d.ts.map +0 -1
  83. package/dist/generated/prisma/models/Finding.js +0 -2
  84. package/dist/generated/prisma/models/FindingTemplate.d.ts +0 -1264
  85. package/dist/generated/prisma/models/FindingTemplate.d.ts.map +0 -1
  86. package/dist/generated/prisma/models/FindingTemplate.js +0 -2
  87. package/dist/generated/prisma/models/FleetPolicyResult.d.ts +0 -1484
  88. package/dist/generated/prisma/models/FleetPolicyResult.d.ts.map +0 -1
  89. package/dist/generated/prisma/models/FleetPolicyResult.js +0 -2
  90. package/dist/generated/prisma/models/FrameworkEditorControlTemplate.d.ts +0 -1669
  91. package/dist/generated/prisma/models/FrameworkEditorControlTemplate.d.ts.map +0 -1
  92. package/dist/generated/prisma/models/FrameworkEditorControlTemplate.js +0 -2
  93. package/dist/generated/prisma/models/FrameworkEditorFramework.d.ts +0 -1581
  94. package/dist/generated/prisma/models/FrameworkEditorFramework.d.ts.map +0 -1
  95. package/dist/generated/prisma/models/FrameworkEditorFramework.js +0 -2
  96. package/dist/generated/prisma/models/FrameworkEditorPolicyTemplate.d.ts +0 -1428
  97. package/dist/generated/prisma/models/FrameworkEditorPolicyTemplate.d.ts.map +0 -1
  98. package/dist/generated/prisma/models/FrameworkEditorPolicyTemplate.js +0 -2
  99. package/dist/generated/prisma/models/FrameworkEditorRequirement.d.ts +0 -1525
  100. package/dist/generated/prisma/models/FrameworkEditorRequirement.d.ts.map +0 -1
  101. package/dist/generated/prisma/models/FrameworkEditorRequirement.js +0 -2
  102. package/dist/generated/prisma/models/FrameworkEditorTaskTemplate.d.ts +0 -1434
  103. package/dist/generated/prisma/models/FrameworkEditorTaskTemplate.d.ts.map +0 -1
  104. package/dist/generated/prisma/models/FrameworkEditorTaskTemplate.js +0 -2
  105. package/dist/generated/prisma/models/FrameworkEditorVideo.d.ts +0 -1054
  106. package/dist/generated/prisma/models/FrameworkEditorVideo.d.ts.map +0 -1
  107. package/dist/generated/prisma/models/FrameworkEditorVideo.js +0 -2
  108. package/dist/generated/prisma/models/FrameworkInstance.d.ts +0 -1321
  109. package/dist/generated/prisma/models/FrameworkInstance.d.ts.map +0 -1
  110. package/dist/generated/prisma/models/FrameworkInstance.js +0 -2
  111. package/dist/generated/prisma/models/GlobalVendors.d.ts +0 -1358
  112. package/dist/generated/prisma/models/GlobalVendors.d.ts.map +0 -1
  113. package/dist/generated/prisma/models/GlobalVendors.js +0 -2
  114. package/dist/generated/prisma/models/Integration.d.ts +0 -1363
  115. package/dist/generated/prisma/models/Integration.d.ts.map +0 -1
  116. package/dist/generated/prisma/models/Integration.js +0 -2
  117. package/dist/generated/prisma/models/IntegrationCheckResult.d.ts +0 -1408
  118. package/dist/generated/prisma/models/IntegrationCheckResult.d.ts.map +0 -1
  119. package/dist/generated/prisma/models/IntegrationCheckResult.js +0 -2
  120. package/dist/generated/prisma/models/IntegrationCheckRun.d.ts +0 -1958
  121. package/dist/generated/prisma/models/IntegrationCheckRun.d.ts.map +0 -1
  122. package/dist/generated/prisma/models/IntegrationCheckRun.js +0 -2
  123. package/dist/generated/prisma/models/IntegrationConnection.d.ts +0 -2472
  124. package/dist/generated/prisma/models/IntegrationConnection.d.ts.map +0 -1
  125. package/dist/generated/prisma/models/IntegrationConnection.js +0 -2
  126. package/dist/generated/prisma/models/IntegrationCredentialVersion.d.ts +0 -1298
  127. package/dist/generated/prisma/models/IntegrationCredentialVersion.d.ts.map +0 -1
  128. package/dist/generated/prisma/models/IntegrationCredentialVersion.js +0 -2
  129. package/dist/generated/prisma/models/IntegrationOAuthApp.d.ts +0 -1362
  130. package/dist/generated/prisma/models/IntegrationOAuthApp.d.ts.map +0 -1
  131. package/dist/generated/prisma/models/IntegrationOAuthApp.js +0 -2
  132. package/dist/generated/prisma/models/IntegrationOAuthState.d.ts +0 -1131
  133. package/dist/generated/prisma/models/IntegrationOAuthState.d.ts.map +0 -1
  134. package/dist/generated/prisma/models/IntegrationOAuthState.js +0 -2
  135. package/dist/generated/prisma/models/IntegrationPlatformCredential.d.ts +0 -1237
  136. package/dist/generated/prisma/models/IntegrationPlatformCredential.d.ts.map +0 -1
  137. package/dist/generated/prisma/models/IntegrationPlatformCredential.js +0 -2
  138. package/dist/generated/prisma/models/IntegrationPlatformFinding.d.ts +0 -1652
  139. package/dist/generated/prisma/models/IntegrationPlatformFinding.d.ts.map +0 -1
  140. package/dist/generated/prisma/models/IntegrationPlatformFinding.js +0 -2
  141. package/dist/generated/prisma/models/IntegrationProvider.d.ts +0 -1300
  142. package/dist/generated/prisma/models/IntegrationProvider.d.ts.map +0 -1
  143. package/dist/generated/prisma/models/IntegrationProvider.js +0 -2
  144. package/dist/generated/prisma/models/IntegrationResult.d.ts +0 -1539
  145. package/dist/generated/prisma/models/IntegrationResult.d.ts.map +0 -1
  146. package/dist/generated/prisma/models/IntegrationResult.js +0 -2
  147. package/dist/generated/prisma/models/IntegrationRun.d.ts +0 -1596
  148. package/dist/generated/prisma/models/IntegrationRun.d.ts.map +0 -1
  149. package/dist/generated/prisma/models/IntegrationRun.js +0 -2
  150. package/dist/generated/prisma/models/IntegrationSyncLog.d.ts +0 -1716
  151. package/dist/generated/prisma/models/IntegrationSyncLog.d.ts.map +0 -1
  152. package/dist/generated/prisma/models/IntegrationSyncLog.js +0 -2
  153. package/dist/generated/prisma/models/Invitation.d.ts +0 -1404
  154. package/dist/generated/prisma/models/Invitation.d.ts.map +0 -1
  155. package/dist/generated/prisma/models/Invitation.js +0 -2
  156. package/dist/generated/prisma/models/Jwks.d.ts +0 -998
  157. package/dist/generated/prisma/models/Jwks.d.ts.map +0 -1
  158. package/dist/generated/prisma/models/Jwks.js +0 -2
  159. package/dist/generated/prisma/models/KnowledgeBaseDocument.d.ts +0 -1463
  160. package/dist/generated/prisma/models/KnowledgeBaseDocument.d.ts.map +0 -1
  161. package/dist/generated/prisma/models/KnowledgeBaseDocument.js +0 -2
  162. package/dist/generated/prisma/models/Member.d.ts +0 -5530
  163. package/dist/generated/prisma/models/Member.d.ts.map +0 -1
  164. package/dist/generated/prisma/models/Member.js +0 -2
  165. package/dist/generated/prisma/models/Onboarding.d.ts +0 -1376
  166. package/dist/generated/prisma/models/Onboarding.d.ts.map +0 -1
  167. package/dist/generated/prisma/models/Onboarding.js +0 -2
  168. package/dist/generated/prisma/models/Organization.d.ts +0 -14367
  169. package/dist/generated/prisma/models/Organization.d.ts.map +0 -1
  170. package/dist/generated/prisma/models/Organization.js +0 -2
  171. package/dist/generated/prisma/models/OrganizationBilling.d.ts +0 -1222
  172. package/dist/generated/prisma/models/OrganizationBilling.d.ts.map +0 -1
  173. package/dist/generated/prisma/models/OrganizationBilling.js +0 -2
  174. package/dist/generated/prisma/models/OrganizationChart.d.ts +0 -1248
  175. package/dist/generated/prisma/models/OrganizationChart.d.ts.map +0 -1
  176. package/dist/generated/prisma/models/OrganizationChart.js +0 -2
  177. package/dist/generated/prisma/models/OrganizationRole.d.ts +0 -1251
  178. package/dist/generated/prisma/models/OrganizationRole.d.ts.map +0 -1
  179. package/dist/generated/prisma/models/OrganizationRole.js +0 -2
  180. package/dist/generated/prisma/models/PentestSubscription.d.ts +0 -1497
  181. package/dist/generated/prisma/models/PentestSubscription.d.ts.map +0 -1
  182. package/dist/generated/prisma/models/PentestSubscription.js +0 -2
  183. package/dist/generated/prisma/models/Policy.d.ts +0 -3356
  184. package/dist/generated/prisma/models/Policy.d.ts.map +0 -1
  185. package/dist/generated/prisma/models/Policy.js +0 -2
  186. package/dist/generated/prisma/models/PolicyVersion.d.ts +0 -1619
  187. package/dist/generated/prisma/models/PolicyVersion.d.ts.map +0 -1
  188. package/dist/generated/prisma/models/PolicyVersion.js +0 -2
  189. package/dist/generated/prisma/models/Questionnaire.d.ts +0 -1808
  190. package/dist/generated/prisma/models/Questionnaire.d.ts.map +0 -1
  191. package/dist/generated/prisma/models/Questionnaire.js +0 -2
  192. package/dist/generated/prisma/models/QuestionnaireQuestionAnswer.d.ts +0 -1422
  193. package/dist/generated/prisma/models/QuestionnaireQuestionAnswer.d.ts.map +0 -1
  194. package/dist/generated/prisma/models/QuestionnaireQuestionAnswer.js +0 -2
  195. package/dist/generated/prisma/models/RequirementMap.d.ts +0 -1345
  196. package/dist/generated/prisma/models/RequirementMap.d.ts.map +0 -1
  197. package/dist/generated/prisma/models/RequirementMap.js +0 -2
  198. package/dist/generated/prisma/models/Risk.d.ts +0 -1975
  199. package/dist/generated/prisma/models/Risk.d.ts.map +0 -1
  200. package/dist/generated/prisma/models/Risk.js +0 -2
  201. package/dist/generated/prisma/models/RoleNotificationSetting.d.ts +0 -1391
  202. package/dist/generated/prisma/models/RoleNotificationSetting.d.ts.map +0 -1
  203. package/dist/generated/prisma/models/RoleNotificationSetting.js +0 -2
  204. package/dist/generated/prisma/models/SOAAnswer.d.ts +0 -1498
  205. package/dist/generated/prisma/models/SOAAnswer.d.ts.map +0 -1
  206. package/dist/generated/prisma/models/SOAAnswer.js +0 -2
  207. package/dist/generated/prisma/models/SOADocument.d.ts +0 -2272
  208. package/dist/generated/prisma/models/SOADocument.d.ts.map +0 -1
  209. package/dist/generated/prisma/models/SOADocument.js +0 -2
  210. package/dist/generated/prisma/models/SOAFrameworkConfiguration.d.ts +0 -1445
  211. package/dist/generated/prisma/models/SOAFrameworkConfiguration.d.ts.map +0 -1
  212. package/dist/generated/prisma/models/SOAFrameworkConfiguration.js +0 -2
  213. package/dist/generated/prisma/models/Secret.d.ts +0 -1321
  214. package/dist/generated/prisma/models/Secret.d.ts.map +0 -1
  215. package/dist/generated/prisma/models/Secret.js +0 -2
  216. package/dist/generated/prisma/models/SecurityPenetrationTestRun.d.ts +0 -1176
  217. package/dist/generated/prisma/models/SecurityPenetrationTestRun.d.ts.map +0 -1
  218. package/dist/generated/prisma/models/SecurityPenetrationTestRun.js +0 -2
  219. package/dist/generated/prisma/models/SecurityQuestionnaireManualAnswer.d.ts +0 -1510
  220. package/dist/generated/prisma/models/SecurityQuestionnaireManualAnswer.d.ts.map +0 -1
  221. package/dist/generated/prisma/models/SecurityQuestionnaireManualAnswer.js +0 -2
  222. package/dist/generated/prisma/models/Session.d.ts +0 -1351
  223. package/dist/generated/prisma/models/Session.d.ts.map +0 -1
  224. package/dist/generated/prisma/models/Session.js +0 -2
  225. package/dist/generated/prisma/models/Task.d.ts +0 -3980
  226. package/dist/generated/prisma/models/Task.d.ts.map +0 -1
  227. package/dist/generated/prisma/models/Task.js +0 -2
  228. package/dist/generated/prisma/models/TaskItem.d.ts +0 -1961
  229. package/dist/generated/prisma/models/TaskItem.d.ts.map +0 -1
  230. package/dist/generated/prisma/models/TaskItem.js +0 -2
  231. package/dist/generated/prisma/models/Trust.d.ts +0 -2242
  232. package/dist/generated/prisma/models/Trust.d.ts.map +0 -1
  233. package/dist/generated/prisma/models/Trust.js +0 -2
  234. package/dist/generated/prisma/models/TrustAccessGrant.d.ts +0 -1888
  235. package/dist/generated/prisma/models/TrustAccessGrant.d.ts.map +0 -1
  236. package/dist/generated/prisma/models/TrustAccessGrant.js +0 -2
  237. package/dist/generated/prisma/models/TrustAccessRequest.d.ts +0 -2103
  238. package/dist/generated/prisma/models/TrustAccessRequest.d.ts.map +0 -1
  239. package/dist/generated/prisma/models/TrustAccessRequest.js +0 -2
  240. package/dist/generated/prisma/models/TrustCustomLink.d.ts +0 -1354
  241. package/dist/generated/prisma/models/TrustCustomLink.d.ts.map +0 -1
  242. package/dist/generated/prisma/models/TrustCustomLink.js +0 -2
  243. package/dist/generated/prisma/models/TrustDocument.d.ts +0 -1281
  244. package/dist/generated/prisma/models/TrustDocument.d.ts.map +0 -1
  245. package/dist/generated/prisma/models/TrustDocument.js +0 -2
  246. package/dist/generated/prisma/models/TrustNDAAgreement.d.ts +0 -1877
  247. package/dist/generated/prisma/models/TrustNDAAgreement.d.ts.map +0 -1
  248. package/dist/generated/prisma/models/TrustNDAAgreement.js +0 -2
  249. package/dist/generated/prisma/models/TrustResource.d.ts +0 -1328
  250. package/dist/generated/prisma/models/TrustResource.d.ts.map +0 -1
  251. package/dist/generated/prisma/models/TrustResource.js +0 -2
  252. package/dist/generated/prisma/models/User.d.ts +0 -3070
  253. package/dist/generated/prisma/models/User.d.ts.map +0 -1
  254. package/dist/generated/prisma/models/User.js +0 -2
  255. package/dist/generated/prisma/models/Vendor.d.ts +0 -2307
  256. package/dist/generated/prisma/models/Vendor.d.ts.map +0 -1
  257. package/dist/generated/prisma/models/Vendor.js +0 -2
  258. package/dist/generated/prisma/models/VendorContact.d.ts +0 -1246
  259. package/dist/generated/prisma/models/VendorContact.d.ts.map +0 -1
  260. package/dist/generated/prisma/models/VendorContact.js +0 -2
  261. package/dist/generated/prisma/models/Verification.d.ts +0 -1026
  262. package/dist/generated/prisma/models/Verification.d.ts.map +0 -1
  263. package/dist/generated/prisma/models/Verification.js +0 -2
  264. package/dist/generated/prisma/models.d.ts +0 -82
  265. package/dist/generated/prisma/models.d.ts.map +0 -1
  266. package/dist/generated/prisma/models.js +0 -2
  267. package/dist/index.ts +0 -1
  268. package/dist/schema.prisma +0 -2609
@@ -1,2307 +0,0 @@
1
- import type * as runtime from "@prisma/client/runtime/client";
2
- import type * as $Enums from "../enums.js";
3
- import type * as Prisma from "../internal/prismaNamespace.js";
4
- /**
5
- * Model Vendor
6
- *
7
- */
8
- export type VendorModel = runtime.Types.Result.DefaultSelection<Prisma.$VendorPayload>;
9
- export type AggregateVendor = {
10
- _count: VendorCountAggregateOutputType | null;
11
- _avg: VendorAvgAggregateOutputType | null;
12
- _sum: VendorSumAggregateOutputType | null;
13
- _min: VendorMinAggregateOutputType | null;
14
- _max: VendorMaxAggregateOutputType | null;
15
- };
16
- export type VendorAvgAggregateOutputType = {
17
- trustPortalOrder: number | null;
18
- };
19
- export type VendorSumAggregateOutputType = {
20
- trustPortalOrder: number | null;
21
- };
22
- export type VendorMinAggregateOutputType = {
23
- id: string | null;
24
- name: string | null;
25
- description: string | null;
26
- category: $Enums.VendorCategory | null;
27
- status: $Enums.VendorStatus | null;
28
- inherentProbability: $Enums.Likelihood | null;
29
- inherentImpact: $Enums.Impact | null;
30
- residualProbability: $Enums.Likelihood | null;
31
- residualImpact: $Enums.Impact | null;
32
- website: string | null;
33
- isSubProcessor: boolean | null;
34
- logoUrl: string | null;
35
- showOnTrustPortal: boolean | null;
36
- trustPortalOrder: number | null;
37
- createdAt: Date | null;
38
- updatedAt: Date | null;
39
- organizationId: string | null;
40
- assigneeId: string | null;
41
- };
42
- export type VendorMaxAggregateOutputType = {
43
- id: string | null;
44
- name: string | null;
45
- description: string | null;
46
- category: $Enums.VendorCategory | null;
47
- status: $Enums.VendorStatus | null;
48
- inherentProbability: $Enums.Likelihood | null;
49
- inherentImpact: $Enums.Impact | null;
50
- residualProbability: $Enums.Likelihood | null;
51
- residualImpact: $Enums.Impact | null;
52
- website: string | null;
53
- isSubProcessor: boolean | null;
54
- logoUrl: string | null;
55
- showOnTrustPortal: boolean | null;
56
- trustPortalOrder: number | null;
57
- createdAt: Date | null;
58
- updatedAt: Date | null;
59
- organizationId: string | null;
60
- assigneeId: string | null;
61
- };
62
- export type VendorCountAggregateOutputType = {
63
- id: number;
64
- name: number;
65
- description: number;
66
- category: number;
67
- status: number;
68
- inherentProbability: number;
69
- inherentImpact: number;
70
- residualProbability: number;
71
- residualImpact: number;
72
- website: number;
73
- isSubProcessor: number;
74
- logoUrl: number;
75
- showOnTrustPortal: number;
76
- trustPortalOrder: number;
77
- complianceBadges: number;
78
- createdAt: number;
79
- updatedAt: number;
80
- organizationId: number;
81
- assigneeId: number;
82
- _all: number;
83
- };
84
- export type VendorAvgAggregateInputType = {
85
- trustPortalOrder?: true;
86
- };
87
- export type VendorSumAggregateInputType = {
88
- trustPortalOrder?: true;
89
- };
90
- export type VendorMinAggregateInputType = {
91
- id?: true;
92
- name?: true;
93
- description?: true;
94
- category?: true;
95
- status?: true;
96
- inherentProbability?: true;
97
- inherentImpact?: true;
98
- residualProbability?: true;
99
- residualImpact?: true;
100
- website?: true;
101
- isSubProcessor?: true;
102
- logoUrl?: true;
103
- showOnTrustPortal?: true;
104
- trustPortalOrder?: true;
105
- createdAt?: true;
106
- updatedAt?: true;
107
- organizationId?: true;
108
- assigneeId?: true;
109
- };
110
- export type VendorMaxAggregateInputType = {
111
- id?: true;
112
- name?: true;
113
- description?: true;
114
- category?: true;
115
- status?: true;
116
- inherentProbability?: true;
117
- inherentImpact?: true;
118
- residualProbability?: true;
119
- residualImpact?: true;
120
- website?: true;
121
- isSubProcessor?: true;
122
- logoUrl?: true;
123
- showOnTrustPortal?: true;
124
- trustPortalOrder?: true;
125
- createdAt?: true;
126
- updatedAt?: true;
127
- organizationId?: true;
128
- assigneeId?: true;
129
- };
130
- export type VendorCountAggregateInputType = {
131
- id?: true;
132
- name?: true;
133
- description?: true;
134
- category?: true;
135
- status?: true;
136
- inherentProbability?: true;
137
- inherentImpact?: true;
138
- residualProbability?: true;
139
- residualImpact?: true;
140
- website?: true;
141
- isSubProcessor?: true;
142
- logoUrl?: true;
143
- showOnTrustPortal?: true;
144
- trustPortalOrder?: true;
145
- complianceBadges?: true;
146
- createdAt?: true;
147
- updatedAt?: true;
148
- organizationId?: true;
149
- assigneeId?: true;
150
- _all?: true;
151
- };
152
- export type VendorAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
153
- /**
154
- * Filter which Vendor to aggregate.
155
- */
156
- where?: Prisma.VendorWhereInput;
157
- /**
158
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
159
- *
160
- * Determine the order of Vendors to fetch.
161
- */
162
- orderBy?: Prisma.VendorOrderByWithRelationInput | Prisma.VendorOrderByWithRelationInput[];
163
- /**
164
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
165
- *
166
- * Sets the start position
167
- */
168
- cursor?: Prisma.VendorWhereUniqueInput;
169
- /**
170
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
171
- *
172
- * Take `±n` Vendors from the position of the cursor.
173
- */
174
- take?: number;
175
- /**
176
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
177
- *
178
- * Skip the first `n` Vendors.
179
- */
180
- skip?: number;
181
- /**
182
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
183
- *
184
- * Count returned Vendors
185
- **/
186
- _count?: true | VendorCountAggregateInputType;
187
- /**
188
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
189
- *
190
- * Select which fields to average
191
- **/
192
- _avg?: VendorAvgAggregateInputType;
193
- /**
194
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
195
- *
196
- * Select which fields to sum
197
- **/
198
- _sum?: VendorSumAggregateInputType;
199
- /**
200
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
201
- *
202
- * Select which fields to find the minimum value
203
- **/
204
- _min?: VendorMinAggregateInputType;
205
- /**
206
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
207
- *
208
- * Select which fields to find the maximum value
209
- **/
210
- _max?: VendorMaxAggregateInputType;
211
- };
212
- export type GetVendorAggregateType<T extends VendorAggregateArgs> = {
213
- [P in keyof T & keyof AggregateVendor]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateVendor[P]> : Prisma.GetScalarType<T[P], AggregateVendor[P]>;
214
- };
215
- export type VendorGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
216
- where?: Prisma.VendorWhereInput;
217
- orderBy?: Prisma.VendorOrderByWithAggregationInput | Prisma.VendorOrderByWithAggregationInput[];
218
- by: Prisma.VendorScalarFieldEnum[] | Prisma.VendorScalarFieldEnum;
219
- having?: Prisma.VendorScalarWhereWithAggregatesInput;
220
- take?: number;
221
- skip?: number;
222
- _count?: VendorCountAggregateInputType | true;
223
- _avg?: VendorAvgAggregateInputType;
224
- _sum?: VendorSumAggregateInputType;
225
- _min?: VendorMinAggregateInputType;
226
- _max?: VendorMaxAggregateInputType;
227
- };
228
- export type VendorGroupByOutputType = {
229
- id: string;
230
- name: string;
231
- description: string;
232
- category: $Enums.VendorCategory;
233
- status: $Enums.VendorStatus;
234
- inherentProbability: $Enums.Likelihood;
235
- inherentImpact: $Enums.Impact;
236
- residualProbability: $Enums.Likelihood;
237
- residualImpact: $Enums.Impact;
238
- website: string | null;
239
- isSubProcessor: boolean;
240
- logoUrl: string | null;
241
- showOnTrustPortal: boolean;
242
- trustPortalOrder: number | null;
243
- complianceBadges: runtime.JsonValue | null;
244
- createdAt: Date;
245
- updatedAt: Date;
246
- organizationId: string;
247
- assigneeId: string | null;
248
- _count: VendorCountAggregateOutputType | null;
249
- _avg: VendorAvgAggregateOutputType | null;
250
- _sum: VendorSumAggregateOutputType | null;
251
- _min: VendorMinAggregateOutputType | null;
252
- _max: VendorMaxAggregateOutputType | null;
253
- };
254
- export type GetVendorGroupByPayload<T extends VendorGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<VendorGroupByOutputType, T['by']> & {
255
- [P in ((keyof T) & (keyof VendorGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], VendorGroupByOutputType[P]> : Prisma.GetScalarType<T[P], VendorGroupByOutputType[P]>;
256
- }>>;
257
- export type VendorWhereInput = {
258
- AND?: Prisma.VendorWhereInput | Prisma.VendorWhereInput[];
259
- OR?: Prisma.VendorWhereInput[];
260
- NOT?: Prisma.VendorWhereInput | Prisma.VendorWhereInput[];
261
- id?: Prisma.StringFilter<"Vendor"> | string;
262
- name?: Prisma.StringFilter<"Vendor"> | string;
263
- description?: Prisma.StringFilter<"Vendor"> | string;
264
- category?: Prisma.EnumVendorCategoryFilter<"Vendor"> | $Enums.VendorCategory;
265
- status?: Prisma.EnumVendorStatusFilter<"Vendor"> | $Enums.VendorStatus;
266
- inherentProbability?: Prisma.EnumLikelihoodFilter<"Vendor"> | $Enums.Likelihood;
267
- inherentImpact?: Prisma.EnumImpactFilter<"Vendor"> | $Enums.Impact;
268
- residualProbability?: Prisma.EnumLikelihoodFilter<"Vendor"> | $Enums.Likelihood;
269
- residualImpact?: Prisma.EnumImpactFilter<"Vendor"> | $Enums.Impact;
270
- website?: Prisma.StringNullableFilter<"Vendor"> | string | null;
271
- isSubProcessor?: Prisma.BoolFilter<"Vendor"> | boolean;
272
- logoUrl?: Prisma.StringNullableFilter<"Vendor"> | string | null;
273
- showOnTrustPortal?: Prisma.BoolFilter<"Vendor"> | boolean;
274
- trustPortalOrder?: Prisma.IntNullableFilter<"Vendor"> | number | null;
275
- complianceBadges?: Prisma.JsonNullableFilter<"Vendor">;
276
- createdAt?: Prisma.DateTimeFilter<"Vendor"> | Date | string;
277
- updatedAt?: Prisma.DateTimeFilter<"Vendor"> | Date | string;
278
- organizationId?: Prisma.StringFilter<"Vendor"> | string;
279
- assigneeId?: Prisma.StringNullableFilter<"Vendor"> | string | null;
280
- organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
281
- assignee?: Prisma.XOR<Prisma.MemberNullableScalarRelationFilter, Prisma.MemberWhereInput> | null;
282
- contacts?: Prisma.VendorContactListRelationFilter;
283
- tasks?: Prisma.TaskListRelationFilter;
284
- };
285
- export type VendorOrderByWithRelationInput = {
286
- id?: Prisma.SortOrder;
287
- name?: Prisma.SortOrder;
288
- description?: Prisma.SortOrder;
289
- category?: Prisma.SortOrder;
290
- status?: Prisma.SortOrder;
291
- inherentProbability?: Prisma.SortOrder;
292
- inherentImpact?: Prisma.SortOrder;
293
- residualProbability?: Prisma.SortOrder;
294
- residualImpact?: Prisma.SortOrder;
295
- website?: Prisma.SortOrderInput | Prisma.SortOrder;
296
- isSubProcessor?: Prisma.SortOrder;
297
- logoUrl?: Prisma.SortOrderInput | Prisma.SortOrder;
298
- showOnTrustPortal?: Prisma.SortOrder;
299
- trustPortalOrder?: Prisma.SortOrderInput | Prisma.SortOrder;
300
- complianceBadges?: Prisma.SortOrderInput | Prisma.SortOrder;
301
- createdAt?: Prisma.SortOrder;
302
- updatedAt?: Prisma.SortOrder;
303
- organizationId?: Prisma.SortOrder;
304
- assigneeId?: Prisma.SortOrderInput | Prisma.SortOrder;
305
- organization?: Prisma.OrganizationOrderByWithRelationInput;
306
- assignee?: Prisma.MemberOrderByWithRelationInput;
307
- contacts?: Prisma.VendorContactOrderByRelationAggregateInput;
308
- tasks?: Prisma.TaskOrderByRelationAggregateInput;
309
- };
310
- export type VendorWhereUniqueInput = Prisma.AtLeast<{
311
- id?: string;
312
- AND?: Prisma.VendorWhereInput | Prisma.VendorWhereInput[];
313
- OR?: Prisma.VendorWhereInput[];
314
- NOT?: Prisma.VendorWhereInput | Prisma.VendorWhereInput[];
315
- name?: Prisma.StringFilter<"Vendor"> | string;
316
- description?: Prisma.StringFilter<"Vendor"> | string;
317
- category?: Prisma.EnumVendorCategoryFilter<"Vendor"> | $Enums.VendorCategory;
318
- status?: Prisma.EnumVendorStatusFilter<"Vendor"> | $Enums.VendorStatus;
319
- inherentProbability?: Prisma.EnumLikelihoodFilter<"Vendor"> | $Enums.Likelihood;
320
- inherentImpact?: Prisma.EnumImpactFilter<"Vendor"> | $Enums.Impact;
321
- residualProbability?: Prisma.EnumLikelihoodFilter<"Vendor"> | $Enums.Likelihood;
322
- residualImpact?: Prisma.EnumImpactFilter<"Vendor"> | $Enums.Impact;
323
- website?: Prisma.StringNullableFilter<"Vendor"> | string | null;
324
- isSubProcessor?: Prisma.BoolFilter<"Vendor"> | boolean;
325
- logoUrl?: Prisma.StringNullableFilter<"Vendor"> | string | null;
326
- showOnTrustPortal?: Prisma.BoolFilter<"Vendor"> | boolean;
327
- trustPortalOrder?: Prisma.IntNullableFilter<"Vendor"> | number | null;
328
- complianceBadges?: Prisma.JsonNullableFilter<"Vendor">;
329
- createdAt?: Prisma.DateTimeFilter<"Vendor"> | Date | string;
330
- updatedAt?: Prisma.DateTimeFilter<"Vendor"> | Date | string;
331
- organizationId?: Prisma.StringFilter<"Vendor"> | string;
332
- assigneeId?: Prisma.StringNullableFilter<"Vendor"> | string | null;
333
- organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
334
- assignee?: Prisma.XOR<Prisma.MemberNullableScalarRelationFilter, Prisma.MemberWhereInput> | null;
335
- contacts?: Prisma.VendorContactListRelationFilter;
336
- tasks?: Prisma.TaskListRelationFilter;
337
- }, "id">;
338
- export type VendorOrderByWithAggregationInput = {
339
- id?: Prisma.SortOrder;
340
- name?: Prisma.SortOrder;
341
- description?: Prisma.SortOrder;
342
- category?: Prisma.SortOrder;
343
- status?: Prisma.SortOrder;
344
- inherentProbability?: Prisma.SortOrder;
345
- inherentImpact?: Prisma.SortOrder;
346
- residualProbability?: Prisma.SortOrder;
347
- residualImpact?: Prisma.SortOrder;
348
- website?: Prisma.SortOrderInput | Prisma.SortOrder;
349
- isSubProcessor?: Prisma.SortOrder;
350
- logoUrl?: Prisma.SortOrderInput | Prisma.SortOrder;
351
- showOnTrustPortal?: Prisma.SortOrder;
352
- trustPortalOrder?: Prisma.SortOrderInput | Prisma.SortOrder;
353
- complianceBadges?: Prisma.SortOrderInput | Prisma.SortOrder;
354
- createdAt?: Prisma.SortOrder;
355
- updatedAt?: Prisma.SortOrder;
356
- organizationId?: Prisma.SortOrder;
357
- assigneeId?: Prisma.SortOrderInput | Prisma.SortOrder;
358
- _count?: Prisma.VendorCountOrderByAggregateInput;
359
- _avg?: Prisma.VendorAvgOrderByAggregateInput;
360
- _max?: Prisma.VendorMaxOrderByAggregateInput;
361
- _min?: Prisma.VendorMinOrderByAggregateInput;
362
- _sum?: Prisma.VendorSumOrderByAggregateInput;
363
- };
364
- export type VendorScalarWhereWithAggregatesInput = {
365
- AND?: Prisma.VendorScalarWhereWithAggregatesInput | Prisma.VendorScalarWhereWithAggregatesInput[];
366
- OR?: Prisma.VendorScalarWhereWithAggregatesInput[];
367
- NOT?: Prisma.VendorScalarWhereWithAggregatesInput | Prisma.VendorScalarWhereWithAggregatesInput[];
368
- id?: Prisma.StringWithAggregatesFilter<"Vendor"> | string;
369
- name?: Prisma.StringWithAggregatesFilter<"Vendor"> | string;
370
- description?: Prisma.StringWithAggregatesFilter<"Vendor"> | string;
371
- category?: Prisma.EnumVendorCategoryWithAggregatesFilter<"Vendor"> | $Enums.VendorCategory;
372
- status?: Prisma.EnumVendorStatusWithAggregatesFilter<"Vendor"> | $Enums.VendorStatus;
373
- inherentProbability?: Prisma.EnumLikelihoodWithAggregatesFilter<"Vendor"> | $Enums.Likelihood;
374
- inherentImpact?: Prisma.EnumImpactWithAggregatesFilter<"Vendor"> | $Enums.Impact;
375
- residualProbability?: Prisma.EnumLikelihoodWithAggregatesFilter<"Vendor"> | $Enums.Likelihood;
376
- residualImpact?: Prisma.EnumImpactWithAggregatesFilter<"Vendor"> | $Enums.Impact;
377
- website?: Prisma.StringNullableWithAggregatesFilter<"Vendor"> | string | null;
378
- isSubProcessor?: Prisma.BoolWithAggregatesFilter<"Vendor"> | boolean;
379
- logoUrl?: Prisma.StringNullableWithAggregatesFilter<"Vendor"> | string | null;
380
- showOnTrustPortal?: Prisma.BoolWithAggregatesFilter<"Vendor"> | boolean;
381
- trustPortalOrder?: Prisma.IntNullableWithAggregatesFilter<"Vendor"> | number | null;
382
- complianceBadges?: Prisma.JsonNullableWithAggregatesFilter<"Vendor">;
383
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"Vendor"> | Date | string;
384
- updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Vendor"> | Date | string;
385
- organizationId?: Prisma.StringWithAggregatesFilter<"Vendor"> | string;
386
- assigneeId?: Prisma.StringNullableWithAggregatesFilter<"Vendor"> | string | null;
387
- };
388
- export type VendorCreateInput = {
389
- id?: string;
390
- name: string;
391
- description: string;
392
- category?: $Enums.VendorCategory;
393
- status?: $Enums.VendorStatus;
394
- inherentProbability?: $Enums.Likelihood;
395
- inherentImpact?: $Enums.Impact;
396
- residualProbability?: $Enums.Likelihood;
397
- residualImpact?: $Enums.Impact;
398
- website?: string | null;
399
- isSubProcessor?: boolean;
400
- logoUrl?: string | null;
401
- showOnTrustPortal?: boolean;
402
- trustPortalOrder?: number | null;
403
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
404
- createdAt?: Date | string;
405
- updatedAt?: Date | string;
406
- organization: Prisma.OrganizationCreateNestedOneWithoutVendorsInput;
407
- assignee?: Prisma.MemberCreateNestedOneWithoutVendorsInput;
408
- contacts?: Prisma.VendorContactCreateNestedManyWithoutVendorInput;
409
- tasks?: Prisma.TaskCreateNestedManyWithoutVendorsInput;
410
- };
411
- export type VendorUncheckedCreateInput = {
412
- id?: string;
413
- name: string;
414
- description: string;
415
- category?: $Enums.VendorCategory;
416
- status?: $Enums.VendorStatus;
417
- inherentProbability?: $Enums.Likelihood;
418
- inherentImpact?: $Enums.Impact;
419
- residualProbability?: $Enums.Likelihood;
420
- residualImpact?: $Enums.Impact;
421
- website?: string | null;
422
- isSubProcessor?: boolean;
423
- logoUrl?: string | null;
424
- showOnTrustPortal?: boolean;
425
- trustPortalOrder?: number | null;
426
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
427
- createdAt?: Date | string;
428
- updatedAt?: Date | string;
429
- organizationId: string;
430
- assigneeId?: string | null;
431
- contacts?: Prisma.VendorContactUncheckedCreateNestedManyWithoutVendorInput;
432
- tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutVendorsInput;
433
- };
434
- export type VendorUpdateInput = {
435
- id?: Prisma.StringFieldUpdateOperationsInput | string;
436
- name?: Prisma.StringFieldUpdateOperationsInput | string;
437
- description?: Prisma.StringFieldUpdateOperationsInput | string;
438
- category?: Prisma.EnumVendorCategoryFieldUpdateOperationsInput | $Enums.VendorCategory;
439
- status?: Prisma.EnumVendorStatusFieldUpdateOperationsInput | $Enums.VendorStatus;
440
- inherentProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
441
- inherentImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
442
- residualProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
443
- residualImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
444
- website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
445
- isSubProcessor?: Prisma.BoolFieldUpdateOperationsInput | boolean;
446
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
447
- showOnTrustPortal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
448
- trustPortalOrder?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
449
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
450
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
451
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
452
- organization?: Prisma.OrganizationUpdateOneRequiredWithoutVendorsNestedInput;
453
- assignee?: Prisma.MemberUpdateOneWithoutVendorsNestedInput;
454
- contacts?: Prisma.VendorContactUpdateManyWithoutVendorNestedInput;
455
- tasks?: Prisma.TaskUpdateManyWithoutVendorsNestedInput;
456
- };
457
- export type VendorUncheckedUpdateInput = {
458
- id?: Prisma.StringFieldUpdateOperationsInput | string;
459
- name?: Prisma.StringFieldUpdateOperationsInput | string;
460
- description?: Prisma.StringFieldUpdateOperationsInput | string;
461
- category?: Prisma.EnumVendorCategoryFieldUpdateOperationsInput | $Enums.VendorCategory;
462
- status?: Prisma.EnumVendorStatusFieldUpdateOperationsInput | $Enums.VendorStatus;
463
- inherentProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
464
- inherentImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
465
- residualProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
466
- residualImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
467
- website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
468
- isSubProcessor?: Prisma.BoolFieldUpdateOperationsInput | boolean;
469
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
470
- showOnTrustPortal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
471
- trustPortalOrder?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
472
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
473
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
474
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
475
- organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
476
- assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
477
- contacts?: Prisma.VendorContactUncheckedUpdateManyWithoutVendorNestedInput;
478
- tasks?: Prisma.TaskUncheckedUpdateManyWithoutVendorsNestedInput;
479
- };
480
- export type VendorCreateManyInput = {
481
- id?: string;
482
- name: string;
483
- description: string;
484
- category?: $Enums.VendorCategory;
485
- status?: $Enums.VendorStatus;
486
- inherentProbability?: $Enums.Likelihood;
487
- inherentImpact?: $Enums.Impact;
488
- residualProbability?: $Enums.Likelihood;
489
- residualImpact?: $Enums.Impact;
490
- website?: string | null;
491
- isSubProcessor?: boolean;
492
- logoUrl?: string | null;
493
- showOnTrustPortal?: boolean;
494
- trustPortalOrder?: number | null;
495
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
496
- createdAt?: Date | string;
497
- updatedAt?: Date | string;
498
- organizationId: string;
499
- assigneeId?: string | null;
500
- };
501
- export type VendorUpdateManyMutationInput = {
502
- id?: Prisma.StringFieldUpdateOperationsInput | string;
503
- name?: Prisma.StringFieldUpdateOperationsInput | string;
504
- description?: Prisma.StringFieldUpdateOperationsInput | string;
505
- category?: Prisma.EnumVendorCategoryFieldUpdateOperationsInput | $Enums.VendorCategory;
506
- status?: Prisma.EnumVendorStatusFieldUpdateOperationsInput | $Enums.VendorStatus;
507
- inherentProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
508
- inherentImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
509
- residualProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
510
- residualImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
511
- website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
512
- isSubProcessor?: Prisma.BoolFieldUpdateOperationsInput | boolean;
513
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
514
- showOnTrustPortal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
515
- trustPortalOrder?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
516
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
517
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
518
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
519
- };
520
- export type VendorUncheckedUpdateManyInput = {
521
- id?: Prisma.StringFieldUpdateOperationsInput | string;
522
- name?: Prisma.StringFieldUpdateOperationsInput | string;
523
- description?: Prisma.StringFieldUpdateOperationsInput | string;
524
- category?: Prisma.EnumVendorCategoryFieldUpdateOperationsInput | $Enums.VendorCategory;
525
- status?: Prisma.EnumVendorStatusFieldUpdateOperationsInput | $Enums.VendorStatus;
526
- inherentProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
527
- inherentImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
528
- residualProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
529
- residualImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
530
- website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
531
- isSubProcessor?: Prisma.BoolFieldUpdateOperationsInput | boolean;
532
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
533
- showOnTrustPortal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
534
- trustPortalOrder?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
535
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
536
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
537
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
538
- organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
539
- assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
540
- };
541
- export type VendorListRelationFilter = {
542
- every?: Prisma.VendorWhereInput;
543
- some?: Prisma.VendorWhereInput;
544
- none?: Prisma.VendorWhereInput;
545
- };
546
- export type VendorOrderByRelationAggregateInput = {
547
- _count?: Prisma.SortOrder;
548
- };
549
- export type VendorCountOrderByAggregateInput = {
550
- id?: Prisma.SortOrder;
551
- name?: Prisma.SortOrder;
552
- description?: Prisma.SortOrder;
553
- category?: Prisma.SortOrder;
554
- status?: Prisma.SortOrder;
555
- inherentProbability?: Prisma.SortOrder;
556
- inherentImpact?: Prisma.SortOrder;
557
- residualProbability?: Prisma.SortOrder;
558
- residualImpact?: Prisma.SortOrder;
559
- website?: Prisma.SortOrder;
560
- isSubProcessor?: Prisma.SortOrder;
561
- logoUrl?: Prisma.SortOrder;
562
- showOnTrustPortal?: Prisma.SortOrder;
563
- trustPortalOrder?: Prisma.SortOrder;
564
- complianceBadges?: Prisma.SortOrder;
565
- createdAt?: Prisma.SortOrder;
566
- updatedAt?: Prisma.SortOrder;
567
- organizationId?: Prisma.SortOrder;
568
- assigneeId?: Prisma.SortOrder;
569
- };
570
- export type VendorAvgOrderByAggregateInput = {
571
- trustPortalOrder?: Prisma.SortOrder;
572
- };
573
- export type VendorMaxOrderByAggregateInput = {
574
- id?: Prisma.SortOrder;
575
- name?: Prisma.SortOrder;
576
- description?: Prisma.SortOrder;
577
- category?: Prisma.SortOrder;
578
- status?: Prisma.SortOrder;
579
- inherentProbability?: Prisma.SortOrder;
580
- inherentImpact?: Prisma.SortOrder;
581
- residualProbability?: Prisma.SortOrder;
582
- residualImpact?: Prisma.SortOrder;
583
- website?: Prisma.SortOrder;
584
- isSubProcessor?: Prisma.SortOrder;
585
- logoUrl?: Prisma.SortOrder;
586
- showOnTrustPortal?: Prisma.SortOrder;
587
- trustPortalOrder?: Prisma.SortOrder;
588
- createdAt?: Prisma.SortOrder;
589
- updatedAt?: Prisma.SortOrder;
590
- organizationId?: Prisma.SortOrder;
591
- assigneeId?: Prisma.SortOrder;
592
- };
593
- export type VendorMinOrderByAggregateInput = {
594
- id?: Prisma.SortOrder;
595
- name?: Prisma.SortOrder;
596
- description?: Prisma.SortOrder;
597
- category?: Prisma.SortOrder;
598
- status?: Prisma.SortOrder;
599
- inherentProbability?: Prisma.SortOrder;
600
- inherentImpact?: Prisma.SortOrder;
601
- residualProbability?: Prisma.SortOrder;
602
- residualImpact?: Prisma.SortOrder;
603
- website?: Prisma.SortOrder;
604
- isSubProcessor?: Prisma.SortOrder;
605
- logoUrl?: Prisma.SortOrder;
606
- showOnTrustPortal?: Prisma.SortOrder;
607
- trustPortalOrder?: Prisma.SortOrder;
608
- createdAt?: Prisma.SortOrder;
609
- updatedAt?: Prisma.SortOrder;
610
- organizationId?: Prisma.SortOrder;
611
- assigneeId?: Prisma.SortOrder;
612
- };
613
- export type VendorSumOrderByAggregateInput = {
614
- trustPortalOrder?: Prisma.SortOrder;
615
- };
616
- export type VendorScalarRelationFilter = {
617
- is?: Prisma.VendorWhereInput;
618
- isNot?: Prisma.VendorWhereInput;
619
- };
620
- export type VendorCreateNestedManyWithoutAssigneeInput = {
621
- create?: Prisma.XOR<Prisma.VendorCreateWithoutAssigneeInput, Prisma.VendorUncheckedCreateWithoutAssigneeInput> | Prisma.VendorCreateWithoutAssigneeInput[] | Prisma.VendorUncheckedCreateWithoutAssigneeInput[];
622
- connectOrCreate?: Prisma.VendorCreateOrConnectWithoutAssigneeInput | Prisma.VendorCreateOrConnectWithoutAssigneeInput[];
623
- createMany?: Prisma.VendorCreateManyAssigneeInputEnvelope;
624
- connect?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
625
- };
626
- export type VendorUncheckedCreateNestedManyWithoutAssigneeInput = {
627
- create?: Prisma.XOR<Prisma.VendorCreateWithoutAssigneeInput, Prisma.VendorUncheckedCreateWithoutAssigneeInput> | Prisma.VendorCreateWithoutAssigneeInput[] | Prisma.VendorUncheckedCreateWithoutAssigneeInput[];
628
- connectOrCreate?: Prisma.VendorCreateOrConnectWithoutAssigneeInput | Prisma.VendorCreateOrConnectWithoutAssigneeInput[];
629
- createMany?: Prisma.VendorCreateManyAssigneeInputEnvelope;
630
- connect?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
631
- };
632
- export type VendorUpdateManyWithoutAssigneeNestedInput = {
633
- create?: Prisma.XOR<Prisma.VendorCreateWithoutAssigneeInput, Prisma.VendorUncheckedCreateWithoutAssigneeInput> | Prisma.VendorCreateWithoutAssigneeInput[] | Prisma.VendorUncheckedCreateWithoutAssigneeInput[];
634
- connectOrCreate?: Prisma.VendorCreateOrConnectWithoutAssigneeInput | Prisma.VendorCreateOrConnectWithoutAssigneeInput[];
635
- upsert?: Prisma.VendorUpsertWithWhereUniqueWithoutAssigneeInput | Prisma.VendorUpsertWithWhereUniqueWithoutAssigneeInput[];
636
- createMany?: Prisma.VendorCreateManyAssigneeInputEnvelope;
637
- set?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
638
- disconnect?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
639
- delete?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
640
- connect?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
641
- update?: Prisma.VendorUpdateWithWhereUniqueWithoutAssigneeInput | Prisma.VendorUpdateWithWhereUniqueWithoutAssigneeInput[];
642
- updateMany?: Prisma.VendorUpdateManyWithWhereWithoutAssigneeInput | Prisma.VendorUpdateManyWithWhereWithoutAssigneeInput[];
643
- deleteMany?: Prisma.VendorScalarWhereInput | Prisma.VendorScalarWhereInput[];
644
- };
645
- export type VendorUncheckedUpdateManyWithoutAssigneeNestedInput = {
646
- create?: Prisma.XOR<Prisma.VendorCreateWithoutAssigneeInput, Prisma.VendorUncheckedCreateWithoutAssigneeInput> | Prisma.VendorCreateWithoutAssigneeInput[] | Prisma.VendorUncheckedCreateWithoutAssigneeInput[];
647
- connectOrCreate?: Prisma.VendorCreateOrConnectWithoutAssigneeInput | Prisma.VendorCreateOrConnectWithoutAssigneeInput[];
648
- upsert?: Prisma.VendorUpsertWithWhereUniqueWithoutAssigneeInput | Prisma.VendorUpsertWithWhereUniqueWithoutAssigneeInput[];
649
- createMany?: Prisma.VendorCreateManyAssigneeInputEnvelope;
650
- set?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
651
- disconnect?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
652
- delete?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
653
- connect?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
654
- update?: Prisma.VendorUpdateWithWhereUniqueWithoutAssigneeInput | Prisma.VendorUpdateWithWhereUniqueWithoutAssigneeInput[];
655
- updateMany?: Prisma.VendorUpdateManyWithWhereWithoutAssigneeInput | Prisma.VendorUpdateManyWithWhereWithoutAssigneeInput[];
656
- deleteMany?: Prisma.VendorScalarWhereInput | Prisma.VendorScalarWhereInput[];
657
- };
658
- export type VendorCreateNestedManyWithoutOrganizationInput = {
659
- create?: Prisma.XOR<Prisma.VendorCreateWithoutOrganizationInput, Prisma.VendorUncheckedCreateWithoutOrganizationInput> | Prisma.VendorCreateWithoutOrganizationInput[] | Prisma.VendorUncheckedCreateWithoutOrganizationInput[];
660
- connectOrCreate?: Prisma.VendorCreateOrConnectWithoutOrganizationInput | Prisma.VendorCreateOrConnectWithoutOrganizationInput[];
661
- createMany?: Prisma.VendorCreateManyOrganizationInputEnvelope;
662
- connect?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
663
- };
664
- export type VendorUncheckedCreateNestedManyWithoutOrganizationInput = {
665
- create?: Prisma.XOR<Prisma.VendorCreateWithoutOrganizationInput, Prisma.VendorUncheckedCreateWithoutOrganizationInput> | Prisma.VendorCreateWithoutOrganizationInput[] | Prisma.VendorUncheckedCreateWithoutOrganizationInput[];
666
- connectOrCreate?: Prisma.VendorCreateOrConnectWithoutOrganizationInput | Prisma.VendorCreateOrConnectWithoutOrganizationInput[];
667
- createMany?: Prisma.VendorCreateManyOrganizationInputEnvelope;
668
- connect?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
669
- };
670
- export type VendorUpdateManyWithoutOrganizationNestedInput = {
671
- create?: Prisma.XOR<Prisma.VendorCreateWithoutOrganizationInput, Prisma.VendorUncheckedCreateWithoutOrganizationInput> | Prisma.VendorCreateWithoutOrganizationInput[] | Prisma.VendorUncheckedCreateWithoutOrganizationInput[];
672
- connectOrCreate?: Prisma.VendorCreateOrConnectWithoutOrganizationInput | Prisma.VendorCreateOrConnectWithoutOrganizationInput[];
673
- upsert?: Prisma.VendorUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.VendorUpsertWithWhereUniqueWithoutOrganizationInput[];
674
- createMany?: Prisma.VendorCreateManyOrganizationInputEnvelope;
675
- set?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
676
- disconnect?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
677
- delete?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
678
- connect?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
679
- update?: Prisma.VendorUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.VendorUpdateWithWhereUniqueWithoutOrganizationInput[];
680
- updateMany?: Prisma.VendorUpdateManyWithWhereWithoutOrganizationInput | Prisma.VendorUpdateManyWithWhereWithoutOrganizationInput[];
681
- deleteMany?: Prisma.VendorScalarWhereInput | Prisma.VendorScalarWhereInput[];
682
- };
683
- export type VendorUncheckedUpdateManyWithoutOrganizationNestedInput = {
684
- create?: Prisma.XOR<Prisma.VendorCreateWithoutOrganizationInput, Prisma.VendorUncheckedCreateWithoutOrganizationInput> | Prisma.VendorCreateWithoutOrganizationInput[] | Prisma.VendorUncheckedCreateWithoutOrganizationInput[];
685
- connectOrCreate?: Prisma.VendorCreateOrConnectWithoutOrganizationInput | Prisma.VendorCreateOrConnectWithoutOrganizationInput[];
686
- upsert?: Prisma.VendorUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.VendorUpsertWithWhereUniqueWithoutOrganizationInput[];
687
- createMany?: Prisma.VendorCreateManyOrganizationInputEnvelope;
688
- set?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
689
- disconnect?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
690
- delete?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
691
- connect?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
692
- update?: Prisma.VendorUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.VendorUpdateWithWhereUniqueWithoutOrganizationInput[];
693
- updateMany?: Prisma.VendorUpdateManyWithWhereWithoutOrganizationInput | Prisma.VendorUpdateManyWithWhereWithoutOrganizationInput[];
694
- deleteMany?: Prisma.VendorScalarWhereInput | Prisma.VendorScalarWhereInput[];
695
- };
696
- export type VendorCreateNestedManyWithoutTasksInput = {
697
- create?: Prisma.XOR<Prisma.VendorCreateWithoutTasksInput, Prisma.VendorUncheckedCreateWithoutTasksInput> | Prisma.VendorCreateWithoutTasksInput[] | Prisma.VendorUncheckedCreateWithoutTasksInput[];
698
- connectOrCreate?: Prisma.VendorCreateOrConnectWithoutTasksInput | Prisma.VendorCreateOrConnectWithoutTasksInput[];
699
- connect?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
700
- };
701
- export type VendorUncheckedCreateNestedManyWithoutTasksInput = {
702
- create?: Prisma.XOR<Prisma.VendorCreateWithoutTasksInput, Prisma.VendorUncheckedCreateWithoutTasksInput> | Prisma.VendorCreateWithoutTasksInput[] | Prisma.VendorUncheckedCreateWithoutTasksInput[];
703
- connectOrCreate?: Prisma.VendorCreateOrConnectWithoutTasksInput | Prisma.VendorCreateOrConnectWithoutTasksInput[];
704
- connect?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
705
- };
706
- export type VendorUpdateManyWithoutTasksNestedInput = {
707
- create?: Prisma.XOR<Prisma.VendorCreateWithoutTasksInput, Prisma.VendorUncheckedCreateWithoutTasksInput> | Prisma.VendorCreateWithoutTasksInput[] | Prisma.VendorUncheckedCreateWithoutTasksInput[];
708
- connectOrCreate?: Prisma.VendorCreateOrConnectWithoutTasksInput | Prisma.VendorCreateOrConnectWithoutTasksInput[];
709
- upsert?: Prisma.VendorUpsertWithWhereUniqueWithoutTasksInput | Prisma.VendorUpsertWithWhereUniqueWithoutTasksInput[];
710
- set?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
711
- disconnect?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
712
- delete?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
713
- connect?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
714
- update?: Prisma.VendorUpdateWithWhereUniqueWithoutTasksInput | Prisma.VendorUpdateWithWhereUniqueWithoutTasksInput[];
715
- updateMany?: Prisma.VendorUpdateManyWithWhereWithoutTasksInput | Prisma.VendorUpdateManyWithWhereWithoutTasksInput[];
716
- deleteMany?: Prisma.VendorScalarWhereInput | Prisma.VendorScalarWhereInput[];
717
- };
718
- export type VendorUncheckedUpdateManyWithoutTasksNestedInput = {
719
- create?: Prisma.XOR<Prisma.VendorCreateWithoutTasksInput, Prisma.VendorUncheckedCreateWithoutTasksInput> | Prisma.VendorCreateWithoutTasksInput[] | Prisma.VendorUncheckedCreateWithoutTasksInput[];
720
- connectOrCreate?: Prisma.VendorCreateOrConnectWithoutTasksInput | Prisma.VendorCreateOrConnectWithoutTasksInput[];
721
- upsert?: Prisma.VendorUpsertWithWhereUniqueWithoutTasksInput | Prisma.VendorUpsertWithWhereUniqueWithoutTasksInput[];
722
- set?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
723
- disconnect?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
724
- delete?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
725
- connect?: Prisma.VendorWhereUniqueInput | Prisma.VendorWhereUniqueInput[];
726
- update?: Prisma.VendorUpdateWithWhereUniqueWithoutTasksInput | Prisma.VendorUpdateWithWhereUniqueWithoutTasksInput[];
727
- updateMany?: Prisma.VendorUpdateManyWithWhereWithoutTasksInput | Prisma.VendorUpdateManyWithWhereWithoutTasksInput[];
728
- deleteMany?: Prisma.VendorScalarWhereInput | Prisma.VendorScalarWhereInput[];
729
- };
730
- export type EnumVendorCategoryFieldUpdateOperationsInput = {
731
- set?: $Enums.VendorCategory;
732
- };
733
- export type EnumVendorStatusFieldUpdateOperationsInput = {
734
- set?: $Enums.VendorStatus;
735
- };
736
- export type VendorCreateNestedOneWithoutContactsInput = {
737
- create?: Prisma.XOR<Prisma.VendorCreateWithoutContactsInput, Prisma.VendorUncheckedCreateWithoutContactsInput>;
738
- connectOrCreate?: Prisma.VendorCreateOrConnectWithoutContactsInput;
739
- connect?: Prisma.VendorWhereUniqueInput;
740
- };
741
- export type VendorUpdateOneRequiredWithoutContactsNestedInput = {
742
- create?: Prisma.XOR<Prisma.VendorCreateWithoutContactsInput, Prisma.VendorUncheckedCreateWithoutContactsInput>;
743
- connectOrCreate?: Prisma.VendorCreateOrConnectWithoutContactsInput;
744
- upsert?: Prisma.VendorUpsertWithoutContactsInput;
745
- connect?: Prisma.VendorWhereUniqueInput;
746
- update?: Prisma.XOR<Prisma.XOR<Prisma.VendorUpdateToOneWithWhereWithoutContactsInput, Prisma.VendorUpdateWithoutContactsInput>, Prisma.VendorUncheckedUpdateWithoutContactsInput>;
747
- };
748
- export type VendorCreateWithoutAssigneeInput = {
749
- id?: string;
750
- name: string;
751
- description: string;
752
- category?: $Enums.VendorCategory;
753
- status?: $Enums.VendorStatus;
754
- inherentProbability?: $Enums.Likelihood;
755
- inherentImpact?: $Enums.Impact;
756
- residualProbability?: $Enums.Likelihood;
757
- residualImpact?: $Enums.Impact;
758
- website?: string | null;
759
- isSubProcessor?: boolean;
760
- logoUrl?: string | null;
761
- showOnTrustPortal?: boolean;
762
- trustPortalOrder?: number | null;
763
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
764
- createdAt?: Date | string;
765
- updatedAt?: Date | string;
766
- organization: Prisma.OrganizationCreateNestedOneWithoutVendorsInput;
767
- contacts?: Prisma.VendorContactCreateNestedManyWithoutVendorInput;
768
- tasks?: Prisma.TaskCreateNestedManyWithoutVendorsInput;
769
- };
770
- export type VendorUncheckedCreateWithoutAssigneeInput = {
771
- id?: string;
772
- name: string;
773
- description: string;
774
- category?: $Enums.VendorCategory;
775
- status?: $Enums.VendorStatus;
776
- inherentProbability?: $Enums.Likelihood;
777
- inherentImpact?: $Enums.Impact;
778
- residualProbability?: $Enums.Likelihood;
779
- residualImpact?: $Enums.Impact;
780
- website?: string | null;
781
- isSubProcessor?: boolean;
782
- logoUrl?: string | null;
783
- showOnTrustPortal?: boolean;
784
- trustPortalOrder?: number | null;
785
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
786
- createdAt?: Date | string;
787
- updatedAt?: Date | string;
788
- organizationId: string;
789
- contacts?: Prisma.VendorContactUncheckedCreateNestedManyWithoutVendorInput;
790
- tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutVendorsInput;
791
- };
792
- export type VendorCreateOrConnectWithoutAssigneeInput = {
793
- where: Prisma.VendorWhereUniqueInput;
794
- create: Prisma.XOR<Prisma.VendorCreateWithoutAssigneeInput, Prisma.VendorUncheckedCreateWithoutAssigneeInput>;
795
- };
796
- export type VendorCreateManyAssigneeInputEnvelope = {
797
- data: Prisma.VendorCreateManyAssigneeInput | Prisma.VendorCreateManyAssigneeInput[];
798
- skipDuplicates?: boolean;
799
- };
800
- export type VendorUpsertWithWhereUniqueWithoutAssigneeInput = {
801
- where: Prisma.VendorWhereUniqueInput;
802
- update: Prisma.XOR<Prisma.VendorUpdateWithoutAssigneeInput, Prisma.VendorUncheckedUpdateWithoutAssigneeInput>;
803
- create: Prisma.XOR<Prisma.VendorCreateWithoutAssigneeInput, Prisma.VendorUncheckedCreateWithoutAssigneeInput>;
804
- };
805
- export type VendorUpdateWithWhereUniqueWithoutAssigneeInput = {
806
- where: Prisma.VendorWhereUniqueInput;
807
- data: Prisma.XOR<Prisma.VendorUpdateWithoutAssigneeInput, Prisma.VendorUncheckedUpdateWithoutAssigneeInput>;
808
- };
809
- export type VendorUpdateManyWithWhereWithoutAssigneeInput = {
810
- where: Prisma.VendorScalarWhereInput;
811
- data: Prisma.XOR<Prisma.VendorUpdateManyMutationInput, Prisma.VendorUncheckedUpdateManyWithoutAssigneeInput>;
812
- };
813
- export type VendorScalarWhereInput = {
814
- AND?: Prisma.VendorScalarWhereInput | Prisma.VendorScalarWhereInput[];
815
- OR?: Prisma.VendorScalarWhereInput[];
816
- NOT?: Prisma.VendorScalarWhereInput | Prisma.VendorScalarWhereInput[];
817
- id?: Prisma.StringFilter<"Vendor"> | string;
818
- name?: Prisma.StringFilter<"Vendor"> | string;
819
- description?: Prisma.StringFilter<"Vendor"> | string;
820
- category?: Prisma.EnumVendorCategoryFilter<"Vendor"> | $Enums.VendorCategory;
821
- status?: Prisma.EnumVendorStatusFilter<"Vendor"> | $Enums.VendorStatus;
822
- inherentProbability?: Prisma.EnumLikelihoodFilter<"Vendor"> | $Enums.Likelihood;
823
- inherentImpact?: Prisma.EnumImpactFilter<"Vendor"> | $Enums.Impact;
824
- residualProbability?: Prisma.EnumLikelihoodFilter<"Vendor"> | $Enums.Likelihood;
825
- residualImpact?: Prisma.EnumImpactFilter<"Vendor"> | $Enums.Impact;
826
- website?: Prisma.StringNullableFilter<"Vendor"> | string | null;
827
- isSubProcessor?: Prisma.BoolFilter<"Vendor"> | boolean;
828
- logoUrl?: Prisma.StringNullableFilter<"Vendor"> | string | null;
829
- showOnTrustPortal?: Prisma.BoolFilter<"Vendor"> | boolean;
830
- trustPortalOrder?: Prisma.IntNullableFilter<"Vendor"> | number | null;
831
- complianceBadges?: Prisma.JsonNullableFilter<"Vendor">;
832
- createdAt?: Prisma.DateTimeFilter<"Vendor"> | Date | string;
833
- updatedAt?: Prisma.DateTimeFilter<"Vendor"> | Date | string;
834
- organizationId?: Prisma.StringFilter<"Vendor"> | string;
835
- assigneeId?: Prisma.StringNullableFilter<"Vendor"> | string | null;
836
- };
837
- export type VendorCreateWithoutOrganizationInput = {
838
- id?: string;
839
- name: string;
840
- description: string;
841
- category?: $Enums.VendorCategory;
842
- status?: $Enums.VendorStatus;
843
- inherentProbability?: $Enums.Likelihood;
844
- inherentImpact?: $Enums.Impact;
845
- residualProbability?: $Enums.Likelihood;
846
- residualImpact?: $Enums.Impact;
847
- website?: string | null;
848
- isSubProcessor?: boolean;
849
- logoUrl?: string | null;
850
- showOnTrustPortal?: boolean;
851
- trustPortalOrder?: number | null;
852
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
853
- createdAt?: Date | string;
854
- updatedAt?: Date | string;
855
- assignee?: Prisma.MemberCreateNestedOneWithoutVendorsInput;
856
- contacts?: Prisma.VendorContactCreateNestedManyWithoutVendorInput;
857
- tasks?: Prisma.TaskCreateNestedManyWithoutVendorsInput;
858
- };
859
- export type VendorUncheckedCreateWithoutOrganizationInput = {
860
- id?: string;
861
- name: string;
862
- description: string;
863
- category?: $Enums.VendorCategory;
864
- status?: $Enums.VendorStatus;
865
- inherentProbability?: $Enums.Likelihood;
866
- inherentImpact?: $Enums.Impact;
867
- residualProbability?: $Enums.Likelihood;
868
- residualImpact?: $Enums.Impact;
869
- website?: string | null;
870
- isSubProcessor?: boolean;
871
- logoUrl?: string | null;
872
- showOnTrustPortal?: boolean;
873
- trustPortalOrder?: number | null;
874
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
875
- createdAt?: Date | string;
876
- updatedAt?: Date | string;
877
- assigneeId?: string | null;
878
- contacts?: Prisma.VendorContactUncheckedCreateNestedManyWithoutVendorInput;
879
- tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutVendorsInput;
880
- };
881
- export type VendorCreateOrConnectWithoutOrganizationInput = {
882
- where: Prisma.VendorWhereUniqueInput;
883
- create: Prisma.XOR<Prisma.VendorCreateWithoutOrganizationInput, Prisma.VendorUncheckedCreateWithoutOrganizationInput>;
884
- };
885
- export type VendorCreateManyOrganizationInputEnvelope = {
886
- data: Prisma.VendorCreateManyOrganizationInput | Prisma.VendorCreateManyOrganizationInput[];
887
- skipDuplicates?: boolean;
888
- };
889
- export type VendorUpsertWithWhereUniqueWithoutOrganizationInput = {
890
- where: Prisma.VendorWhereUniqueInput;
891
- update: Prisma.XOR<Prisma.VendorUpdateWithoutOrganizationInput, Prisma.VendorUncheckedUpdateWithoutOrganizationInput>;
892
- create: Prisma.XOR<Prisma.VendorCreateWithoutOrganizationInput, Prisma.VendorUncheckedCreateWithoutOrganizationInput>;
893
- };
894
- export type VendorUpdateWithWhereUniqueWithoutOrganizationInput = {
895
- where: Prisma.VendorWhereUniqueInput;
896
- data: Prisma.XOR<Prisma.VendorUpdateWithoutOrganizationInput, Prisma.VendorUncheckedUpdateWithoutOrganizationInput>;
897
- };
898
- export type VendorUpdateManyWithWhereWithoutOrganizationInput = {
899
- where: Prisma.VendorScalarWhereInput;
900
- data: Prisma.XOR<Prisma.VendorUpdateManyMutationInput, Prisma.VendorUncheckedUpdateManyWithoutOrganizationInput>;
901
- };
902
- export type VendorCreateWithoutTasksInput = {
903
- id?: string;
904
- name: string;
905
- description: string;
906
- category?: $Enums.VendorCategory;
907
- status?: $Enums.VendorStatus;
908
- inherentProbability?: $Enums.Likelihood;
909
- inherentImpact?: $Enums.Impact;
910
- residualProbability?: $Enums.Likelihood;
911
- residualImpact?: $Enums.Impact;
912
- website?: string | null;
913
- isSubProcessor?: boolean;
914
- logoUrl?: string | null;
915
- showOnTrustPortal?: boolean;
916
- trustPortalOrder?: number | null;
917
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
918
- createdAt?: Date | string;
919
- updatedAt?: Date | string;
920
- organization: Prisma.OrganizationCreateNestedOneWithoutVendorsInput;
921
- assignee?: Prisma.MemberCreateNestedOneWithoutVendorsInput;
922
- contacts?: Prisma.VendorContactCreateNestedManyWithoutVendorInput;
923
- };
924
- export type VendorUncheckedCreateWithoutTasksInput = {
925
- id?: string;
926
- name: string;
927
- description: string;
928
- category?: $Enums.VendorCategory;
929
- status?: $Enums.VendorStatus;
930
- inherentProbability?: $Enums.Likelihood;
931
- inherentImpact?: $Enums.Impact;
932
- residualProbability?: $Enums.Likelihood;
933
- residualImpact?: $Enums.Impact;
934
- website?: string | null;
935
- isSubProcessor?: boolean;
936
- logoUrl?: string | null;
937
- showOnTrustPortal?: boolean;
938
- trustPortalOrder?: number | null;
939
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
940
- createdAt?: Date | string;
941
- updatedAt?: Date | string;
942
- organizationId: string;
943
- assigneeId?: string | null;
944
- contacts?: Prisma.VendorContactUncheckedCreateNestedManyWithoutVendorInput;
945
- };
946
- export type VendorCreateOrConnectWithoutTasksInput = {
947
- where: Prisma.VendorWhereUniqueInput;
948
- create: Prisma.XOR<Prisma.VendorCreateWithoutTasksInput, Prisma.VendorUncheckedCreateWithoutTasksInput>;
949
- };
950
- export type VendorUpsertWithWhereUniqueWithoutTasksInput = {
951
- where: Prisma.VendorWhereUniqueInput;
952
- update: Prisma.XOR<Prisma.VendorUpdateWithoutTasksInput, Prisma.VendorUncheckedUpdateWithoutTasksInput>;
953
- create: Prisma.XOR<Prisma.VendorCreateWithoutTasksInput, Prisma.VendorUncheckedCreateWithoutTasksInput>;
954
- };
955
- export type VendorUpdateWithWhereUniqueWithoutTasksInput = {
956
- where: Prisma.VendorWhereUniqueInput;
957
- data: Prisma.XOR<Prisma.VendorUpdateWithoutTasksInput, Prisma.VendorUncheckedUpdateWithoutTasksInput>;
958
- };
959
- export type VendorUpdateManyWithWhereWithoutTasksInput = {
960
- where: Prisma.VendorScalarWhereInput;
961
- data: Prisma.XOR<Prisma.VendorUpdateManyMutationInput, Prisma.VendorUncheckedUpdateManyWithoutTasksInput>;
962
- };
963
- export type VendorCreateWithoutContactsInput = {
964
- id?: string;
965
- name: string;
966
- description: string;
967
- category?: $Enums.VendorCategory;
968
- status?: $Enums.VendorStatus;
969
- inherentProbability?: $Enums.Likelihood;
970
- inherentImpact?: $Enums.Impact;
971
- residualProbability?: $Enums.Likelihood;
972
- residualImpact?: $Enums.Impact;
973
- website?: string | null;
974
- isSubProcessor?: boolean;
975
- logoUrl?: string | null;
976
- showOnTrustPortal?: boolean;
977
- trustPortalOrder?: number | null;
978
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
979
- createdAt?: Date | string;
980
- updatedAt?: Date | string;
981
- organization: Prisma.OrganizationCreateNestedOneWithoutVendorsInput;
982
- assignee?: Prisma.MemberCreateNestedOneWithoutVendorsInput;
983
- tasks?: Prisma.TaskCreateNestedManyWithoutVendorsInput;
984
- };
985
- export type VendorUncheckedCreateWithoutContactsInput = {
986
- id?: string;
987
- name: string;
988
- description: string;
989
- category?: $Enums.VendorCategory;
990
- status?: $Enums.VendorStatus;
991
- inherentProbability?: $Enums.Likelihood;
992
- inherentImpact?: $Enums.Impact;
993
- residualProbability?: $Enums.Likelihood;
994
- residualImpact?: $Enums.Impact;
995
- website?: string | null;
996
- isSubProcessor?: boolean;
997
- logoUrl?: string | null;
998
- showOnTrustPortal?: boolean;
999
- trustPortalOrder?: number | null;
1000
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1001
- createdAt?: Date | string;
1002
- updatedAt?: Date | string;
1003
- organizationId: string;
1004
- assigneeId?: string | null;
1005
- tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutVendorsInput;
1006
- };
1007
- export type VendorCreateOrConnectWithoutContactsInput = {
1008
- where: Prisma.VendorWhereUniqueInput;
1009
- create: Prisma.XOR<Prisma.VendorCreateWithoutContactsInput, Prisma.VendorUncheckedCreateWithoutContactsInput>;
1010
- };
1011
- export type VendorUpsertWithoutContactsInput = {
1012
- update: Prisma.XOR<Prisma.VendorUpdateWithoutContactsInput, Prisma.VendorUncheckedUpdateWithoutContactsInput>;
1013
- create: Prisma.XOR<Prisma.VendorCreateWithoutContactsInput, Prisma.VendorUncheckedCreateWithoutContactsInput>;
1014
- where?: Prisma.VendorWhereInput;
1015
- };
1016
- export type VendorUpdateToOneWithWhereWithoutContactsInput = {
1017
- where?: Prisma.VendorWhereInput;
1018
- data: Prisma.XOR<Prisma.VendorUpdateWithoutContactsInput, Prisma.VendorUncheckedUpdateWithoutContactsInput>;
1019
- };
1020
- export type VendorUpdateWithoutContactsInput = {
1021
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1022
- name?: Prisma.StringFieldUpdateOperationsInput | string;
1023
- description?: Prisma.StringFieldUpdateOperationsInput | string;
1024
- category?: Prisma.EnumVendorCategoryFieldUpdateOperationsInput | $Enums.VendorCategory;
1025
- status?: Prisma.EnumVendorStatusFieldUpdateOperationsInput | $Enums.VendorStatus;
1026
- inherentProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1027
- inherentImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1028
- residualProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1029
- residualImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1030
- website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1031
- isSubProcessor?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1032
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1033
- showOnTrustPortal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1034
- trustPortalOrder?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1035
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1036
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1037
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1038
- organization?: Prisma.OrganizationUpdateOneRequiredWithoutVendorsNestedInput;
1039
- assignee?: Prisma.MemberUpdateOneWithoutVendorsNestedInput;
1040
- tasks?: Prisma.TaskUpdateManyWithoutVendorsNestedInput;
1041
- };
1042
- export type VendorUncheckedUpdateWithoutContactsInput = {
1043
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1044
- name?: Prisma.StringFieldUpdateOperationsInput | string;
1045
- description?: Prisma.StringFieldUpdateOperationsInput | string;
1046
- category?: Prisma.EnumVendorCategoryFieldUpdateOperationsInput | $Enums.VendorCategory;
1047
- status?: Prisma.EnumVendorStatusFieldUpdateOperationsInput | $Enums.VendorStatus;
1048
- inherentProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1049
- inherentImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1050
- residualProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1051
- residualImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1052
- website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1053
- isSubProcessor?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1054
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1055
- showOnTrustPortal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1056
- trustPortalOrder?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1057
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1058
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1059
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1060
- organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
1061
- assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1062
- tasks?: Prisma.TaskUncheckedUpdateManyWithoutVendorsNestedInput;
1063
- };
1064
- export type VendorCreateManyAssigneeInput = {
1065
- id?: string;
1066
- name: string;
1067
- description: string;
1068
- category?: $Enums.VendorCategory;
1069
- status?: $Enums.VendorStatus;
1070
- inherentProbability?: $Enums.Likelihood;
1071
- inherentImpact?: $Enums.Impact;
1072
- residualProbability?: $Enums.Likelihood;
1073
- residualImpact?: $Enums.Impact;
1074
- website?: string | null;
1075
- isSubProcessor?: boolean;
1076
- logoUrl?: string | null;
1077
- showOnTrustPortal?: boolean;
1078
- trustPortalOrder?: number | null;
1079
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1080
- createdAt?: Date | string;
1081
- updatedAt?: Date | string;
1082
- organizationId: string;
1083
- };
1084
- export type VendorUpdateWithoutAssigneeInput = {
1085
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1086
- name?: Prisma.StringFieldUpdateOperationsInput | string;
1087
- description?: Prisma.StringFieldUpdateOperationsInput | string;
1088
- category?: Prisma.EnumVendorCategoryFieldUpdateOperationsInput | $Enums.VendorCategory;
1089
- status?: Prisma.EnumVendorStatusFieldUpdateOperationsInput | $Enums.VendorStatus;
1090
- inherentProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1091
- inherentImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1092
- residualProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1093
- residualImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1094
- website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1095
- isSubProcessor?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1096
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1097
- showOnTrustPortal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1098
- trustPortalOrder?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1099
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1100
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1101
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1102
- organization?: Prisma.OrganizationUpdateOneRequiredWithoutVendorsNestedInput;
1103
- contacts?: Prisma.VendorContactUpdateManyWithoutVendorNestedInput;
1104
- tasks?: Prisma.TaskUpdateManyWithoutVendorsNestedInput;
1105
- };
1106
- export type VendorUncheckedUpdateWithoutAssigneeInput = {
1107
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1108
- name?: Prisma.StringFieldUpdateOperationsInput | string;
1109
- description?: Prisma.StringFieldUpdateOperationsInput | string;
1110
- category?: Prisma.EnumVendorCategoryFieldUpdateOperationsInput | $Enums.VendorCategory;
1111
- status?: Prisma.EnumVendorStatusFieldUpdateOperationsInput | $Enums.VendorStatus;
1112
- inherentProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1113
- inherentImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1114
- residualProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1115
- residualImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1116
- website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1117
- isSubProcessor?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1118
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1119
- showOnTrustPortal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1120
- trustPortalOrder?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1121
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1122
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1123
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1124
- organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
1125
- contacts?: Prisma.VendorContactUncheckedUpdateManyWithoutVendorNestedInput;
1126
- tasks?: Prisma.TaskUncheckedUpdateManyWithoutVendorsNestedInput;
1127
- };
1128
- export type VendorUncheckedUpdateManyWithoutAssigneeInput = {
1129
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1130
- name?: Prisma.StringFieldUpdateOperationsInput | string;
1131
- description?: Prisma.StringFieldUpdateOperationsInput | string;
1132
- category?: Prisma.EnumVendorCategoryFieldUpdateOperationsInput | $Enums.VendorCategory;
1133
- status?: Prisma.EnumVendorStatusFieldUpdateOperationsInput | $Enums.VendorStatus;
1134
- inherentProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1135
- inherentImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1136
- residualProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1137
- residualImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1138
- website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1139
- isSubProcessor?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1140
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1141
- showOnTrustPortal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1142
- trustPortalOrder?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1143
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1144
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1145
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1146
- organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
1147
- };
1148
- export type VendorCreateManyOrganizationInput = {
1149
- id?: string;
1150
- name: string;
1151
- description: string;
1152
- category?: $Enums.VendorCategory;
1153
- status?: $Enums.VendorStatus;
1154
- inherentProbability?: $Enums.Likelihood;
1155
- inherentImpact?: $Enums.Impact;
1156
- residualProbability?: $Enums.Likelihood;
1157
- residualImpact?: $Enums.Impact;
1158
- website?: string | null;
1159
- isSubProcessor?: boolean;
1160
- logoUrl?: string | null;
1161
- showOnTrustPortal?: boolean;
1162
- trustPortalOrder?: number | null;
1163
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1164
- createdAt?: Date | string;
1165
- updatedAt?: Date | string;
1166
- assigneeId?: string | null;
1167
- };
1168
- export type VendorUpdateWithoutOrganizationInput = {
1169
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1170
- name?: Prisma.StringFieldUpdateOperationsInput | string;
1171
- description?: Prisma.StringFieldUpdateOperationsInput | string;
1172
- category?: Prisma.EnumVendorCategoryFieldUpdateOperationsInput | $Enums.VendorCategory;
1173
- status?: Prisma.EnumVendorStatusFieldUpdateOperationsInput | $Enums.VendorStatus;
1174
- inherentProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1175
- inherentImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1176
- residualProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1177
- residualImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1178
- website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1179
- isSubProcessor?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1180
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1181
- showOnTrustPortal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1182
- trustPortalOrder?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1183
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1184
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1185
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1186
- assignee?: Prisma.MemberUpdateOneWithoutVendorsNestedInput;
1187
- contacts?: Prisma.VendorContactUpdateManyWithoutVendorNestedInput;
1188
- tasks?: Prisma.TaskUpdateManyWithoutVendorsNestedInput;
1189
- };
1190
- export type VendorUncheckedUpdateWithoutOrganizationInput = {
1191
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1192
- name?: Prisma.StringFieldUpdateOperationsInput | string;
1193
- description?: Prisma.StringFieldUpdateOperationsInput | string;
1194
- category?: Prisma.EnumVendorCategoryFieldUpdateOperationsInput | $Enums.VendorCategory;
1195
- status?: Prisma.EnumVendorStatusFieldUpdateOperationsInput | $Enums.VendorStatus;
1196
- inherentProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1197
- inherentImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1198
- residualProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1199
- residualImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1200
- website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1201
- isSubProcessor?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1202
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1203
- showOnTrustPortal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1204
- trustPortalOrder?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1205
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1206
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1207
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1208
- assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1209
- contacts?: Prisma.VendorContactUncheckedUpdateManyWithoutVendorNestedInput;
1210
- tasks?: Prisma.TaskUncheckedUpdateManyWithoutVendorsNestedInput;
1211
- };
1212
- export type VendorUncheckedUpdateManyWithoutOrganizationInput = {
1213
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1214
- name?: Prisma.StringFieldUpdateOperationsInput | string;
1215
- description?: Prisma.StringFieldUpdateOperationsInput | string;
1216
- category?: Prisma.EnumVendorCategoryFieldUpdateOperationsInput | $Enums.VendorCategory;
1217
- status?: Prisma.EnumVendorStatusFieldUpdateOperationsInput | $Enums.VendorStatus;
1218
- inherentProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1219
- inherentImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1220
- residualProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1221
- residualImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1222
- website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1223
- isSubProcessor?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1224
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1225
- showOnTrustPortal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1226
- trustPortalOrder?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1227
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1228
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1229
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1230
- assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1231
- };
1232
- export type VendorUpdateWithoutTasksInput = {
1233
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1234
- name?: Prisma.StringFieldUpdateOperationsInput | string;
1235
- description?: Prisma.StringFieldUpdateOperationsInput | string;
1236
- category?: Prisma.EnumVendorCategoryFieldUpdateOperationsInput | $Enums.VendorCategory;
1237
- status?: Prisma.EnumVendorStatusFieldUpdateOperationsInput | $Enums.VendorStatus;
1238
- inherentProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1239
- inherentImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1240
- residualProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1241
- residualImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1242
- website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1243
- isSubProcessor?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1244
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1245
- showOnTrustPortal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1246
- trustPortalOrder?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1247
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1248
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1249
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1250
- organization?: Prisma.OrganizationUpdateOneRequiredWithoutVendorsNestedInput;
1251
- assignee?: Prisma.MemberUpdateOneWithoutVendorsNestedInput;
1252
- contacts?: Prisma.VendorContactUpdateManyWithoutVendorNestedInput;
1253
- };
1254
- export type VendorUncheckedUpdateWithoutTasksInput = {
1255
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1256
- name?: Prisma.StringFieldUpdateOperationsInput | string;
1257
- description?: Prisma.StringFieldUpdateOperationsInput | string;
1258
- category?: Prisma.EnumVendorCategoryFieldUpdateOperationsInput | $Enums.VendorCategory;
1259
- status?: Prisma.EnumVendorStatusFieldUpdateOperationsInput | $Enums.VendorStatus;
1260
- inherentProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1261
- inherentImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1262
- residualProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1263
- residualImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1264
- website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1265
- isSubProcessor?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1266
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1267
- showOnTrustPortal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1268
- trustPortalOrder?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1269
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1270
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1271
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1272
- organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
1273
- assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1274
- contacts?: Prisma.VendorContactUncheckedUpdateManyWithoutVendorNestedInput;
1275
- };
1276
- export type VendorUncheckedUpdateManyWithoutTasksInput = {
1277
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1278
- name?: Prisma.StringFieldUpdateOperationsInput | string;
1279
- description?: Prisma.StringFieldUpdateOperationsInput | string;
1280
- category?: Prisma.EnumVendorCategoryFieldUpdateOperationsInput | $Enums.VendorCategory;
1281
- status?: Prisma.EnumVendorStatusFieldUpdateOperationsInput | $Enums.VendorStatus;
1282
- inherentProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1283
- inherentImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1284
- residualProbability?: Prisma.EnumLikelihoodFieldUpdateOperationsInput | $Enums.Likelihood;
1285
- residualImpact?: Prisma.EnumImpactFieldUpdateOperationsInput | $Enums.Impact;
1286
- website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1287
- isSubProcessor?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1288
- logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1289
- showOnTrustPortal?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1290
- trustPortalOrder?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1291
- complianceBadges?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1292
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1293
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1294
- organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
1295
- assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1296
- };
1297
- /**
1298
- * Count Type VendorCountOutputType
1299
- */
1300
- export type VendorCountOutputType = {
1301
- contacts: number;
1302
- tasks: number;
1303
- };
1304
- export type VendorCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1305
- contacts?: boolean | VendorCountOutputTypeCountContactsArgs;
1306
- tasks?: boolean | VendorCountOutputTypeCountTasksArgs;
1307
- };
1308
- /**
1309
- * VendorCountOutputType without action
1310
- */
1311
- export type VendorCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1312
- /**
1313
- * Select specific fields to fetch from the VendorCountOutputType
1314
- */
1315
- select?: Prisma.VendorCountOutputTypeSelect<ExtArgs> | null;
1316
- };
1317
- /**
1318
- * VendorCountOutputType without action
1319
- */
1320
- export type VendorCountOutputTypeCountContactsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1321
- where?: Prisma.VendorContactWhereInput;
1322
- };
1323
- /**
1324
- * VendorCountOutputType without action
1325
- */
1326
- export type VendorCountOutputTypeCountTasksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1327
- where?: Prisma.TaskWhereInput;
1328
- };
1329
- export type VendorSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1330
- id?: boolean;
1331
- name?: boolean;
1332
- description?: boolean;
1333
- category?: boolean;
1334
- status?: boolean;
1335
- inherentProbability?: boolean;
1336
- inherentImpact?: boolean;
1337
- residualProbability?: boolean;
1338
- residualImpact?: boolean;
1339
- website?: boolean;
1340
- isSubProcessor?: boolean;
1341
- logoUrl?: boolean;
1342
- showOnTrustPortal?: boolean;
1343
- trustPortalOrder?: boolean;
1344
- complianceBadges?: boolean;
1345
- createdAt?: boolean;
1346
- updatedAt?: boolean;
1347
- organizationId?: boolean;
1348
- assigneeId?: boolean;
1349
- organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
1350
- assignee?: boolean | Prisma.Vendor$assigneeArgs<ExtArgs>;
1351
- contacts?: boolean | Prisma.Vendor$contactsArgs<ExtArgs>;
1352
- tasks?: boolean | Prisma.Vendor$tasksArgs<ExtArgs>;
1353
- _count?: boolean | Prisma.VendorCountOutputTypeDefaultArgs<ExtArgs>;
1354
- }, ExtArgs["result"]["vendor"]>;
1355
- export type VendorSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1356
- id?: boolean;
1357
- name?: boolean;
1358
- description?: boolean;
1359
- category?: boolean;
1360
- status?: boolean;
1361
- inherentProbability?: boolean;
1362
- inherentImpact?: boolean;
1363
- residualProbability?: boolean;
1364
- residualImpact?: boolean;
1365
- website?: boolean;
1366
- isSubProcessor?: boolean;
1367
- logoUrl?: boolean;
1368
- showOnTrustPortal?: boolean;
1369
- trustPortalOrder?: boolean;
1370
- complianceBadges?: boolean;
1371
- createdAt?: boolean;
1372
- updatedAt?: boolean;
1373
- organizationId?: boolean;
1374
- assigneeId?: boolean;
1375
- organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
1376
- assignee?: boolean | Prisma.Vendor$assigneeArgs<ExtArgs>;
1377
- }, ExtArgs["result"]["vendor"]>;
1378
- export type VendorSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1379
- id?: boolean;
1380
- name?: boolean;
1381
- description?: boolean;
1382
- category?: boolean;
1383
- status?: boolean;
1384
- inherentProbability?: boolean;
1385
- inherentImpact?: boolean;
1386
- residualProbability?: boolean;
1387
- residualImpact?: boolean;
1388
- website?: boolean;
1389
- isSubProcessor?: boolean;
1390
- logoUrl?: boolean;
1391
- showOnTrustPortal?: boolean;
1392
- trustPortalOrder?: boolean;
1393
- complianceBadges?: boolean;
1394
- createdAt?: boolean;
1395
- updatedAt?: boolean;
1396
- organizationId?: boolean;
1397
- assigneeId?: boolean;
1398
- organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
1399
- assignee?: boolean | Prisma.Vendor$assigneeArgs<ExtArgs>;
1400
- }, ExtArgs["result"]["vendor"]>;
1401
- export type VendorSelectScalar = {
1402
- id?: boolean;
1403
- name?: boolean;
1404
- description?: boolean;
1405
- category?: boolean;
1406
- status?: boolean;
1407
- inherentProbability?: boolean;
1408
- inherentImpact?: boolean;
1409
- residualProbability?: boolean;
1410
- residualImpact?: boolean;
1411
- website?: boolean;
1412
- isSubProcessor?: boolean;
1413
- logoUrl?: boolean;
1414
- showOnTrustPortal?: boolean;
1415
- trustPortalOrder?: boolean;
1416
- complianceBadges?: boolean;
1417
- createdAt?: boolean;
1418
- updatedAt?: boolean;
1419
- organizationId?: boolean;
1420
- assigneeId?: boolean;
1421
- };
1422
- export type VendorOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "category" | "status" | "inherentProbability" | "inherentImpact" | "residualProbability" | "residualImpact" | "website" | "isSubProcessor" | "logoUrl" | "showOnTrustPortal" | "trustPortalOrder" | "complianceBadges" | "createdAt" | "updatedAt" | "organizationId" | "assigneeId", ExtArgs["result"]["vendor"]>;
1423
- export type VendorInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1424
- organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
1425
- assignee?: boolean | Prisma.Vendor$assigneeArgs<ExtArgs>;
1426
- contacts?: boolean | Prisma.Vendor$contactsArgs<ExtArgs>;
1427
- tasks?: boolean | Prisma.Vendor$tasksArgs<ExtArgs>;
1428
- _count?: boolean | Prisma.VendorCountOutputTypeDefaultArgs<ExtArgs>;
1429
- };
1430
- export type VendorIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1431
- organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
1432
- assignee?: boolean | Prisma.Vendor$assigneeArgs<ExtArgs>;
1433
- };
1434
- export type VendorIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1435
- organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
1436
- assignee?: boolean | Prisma.Vendor$assigneeArgs<ExtArgs>;
1437
- };
1438
- export type $VendorPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1439
- name: "Vendor";
1440
- objects: {
1441
- organization: Prisma.$OrganizationPayload<ExtArgs>;
1442
- assignee: Prisma.$MemberPayload<ExtArgs> | null;
1443
- contacts: Prisma.$VendorContactPayload<ExtArgs>[];
1444
- tasks: Prisma.$TaskPayload<ExtArgs>[];
1445
- };
1446
- scalars: runtime.Types.Extensions.GetPayloadResult<{
1447
- id: string;
1448
- name: string;
1449
- description: string;
1450
- category: $Enums.VendorCategory;
1451
- status: $Enums.VendorStatus;
1452
- inherentProbability: $Enums.Likelihood;
1453
- inherentImpact: $Enums.Impact;
1454
- residualProbability: $Enums.Likelihood;
1455
- residualImpact: $Enums.Impact;
1456
- website: string | null;
1457
- isSubProcessor: boolean;
1458
- logoUrl: string | null;
1459
- showOnTrustPortal: boolean;
1460
- trustPortalOrder: number | null;
1461
- complianceBadges: runtime.JsonValue | null;
1462
- createdAt: Date;
1463
- updatedAt: Date;
1464
- organizationId: string;
1465
- assigneeId: string | null;
1466
- }, ExtArgs["result"]["vendor"]>;
1467
- composites: {};
1468
- };
1469
- export type VendorGetPayload<S extends boolean | null | undefined | VendorDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$VendorPayload, S>;
1470
- export type VendorCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<VendorFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1471
- select?: VendorCountAggregateInputType | true;
1472
- };
1473
- export interface VendorDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1474
- [K: symbol]: {
1475
- types: Prisma.TypeMap<ExtArgs>['model']['Vendor'];
1476
- meta: {
1477
- name: 'Vendor';
1478
- };
1479
- };
1480
- /**
1481
- * Find zero or one Vendor that matches the filter.
1482
- * @param {VendorFindUniqueArgs} args - Arguments to find a Vendor
1483
- * @example
1484
- * // Get one Vendor
1485
- * const vendor = await prisma.vendor.findUnique({
1486
- * where: {
1487
- * // ... provide filter here
1488
- * }
1489
- * })
1490
- */
1491
- findUnique<T extends VendorFindUniqueArgs>(args: Prisma.SelectSubset<T, VendorFindUniqueArgs<ExtArgs>>): Prisma.Prisma__VendorClient<runtime.Types.Result.GetResult<Prisma.$VendorPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1492
- /**
1493
- * Find one Vendor that matches the filter or throw an error with `error.code='P2025'`
1494
- * if no matches were found.
1495
- * @param {VendorFindUniqueOrThrowArgs} args - Arguments to find a Vendor
1496
- * @example
1497
- * // Get one Vendor
1498
- * const vendor = await prisma.vendor.findUniqueOrThrow({
1499
- * where: {
1500
- * // ... provide filter here
1501
- * }
1502
- * })
1503
- */
1504
- findUniqueOrThrow<T extends VendorFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, VendorFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__VendorClient<runtime.Types.Result.GetResult<Prisma.$VendorPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1505
- /**
1506
- * Find the first Vendor that matches the filter.
1507
- * Note, that providing `undefined` is treated as the value not being there.
1508
- * Read more here: https://pris.ly/d/null-undefined
1509
- * @param {VendorFindFirstArgs} args - Arguments to find a Vendor
1510
- * @example
1511
- * // Get one Vendor
1512
- * const vendor = await prisma.vendor.findFirst({
1513
- * where: {
1514
- * // ... provide filter here
1515
- * }
1516
- * })
1517
- */
1518
- findFirst<T extends VendorFindFirstArgs>(args?: Prisma.SelectSubset<T, VendorFindFirstArgs<ExtArgs>>): Prisma.Prisma__VendorClient<runtime.Types.Result.GetResult<Prisma.$VendorPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1519
- /**
1520
- * Find the first Vendor that matches the filter or
1521
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1522
- * Note, that providing `undefined` is treated as the value not being there.
1523
- * Read more here: https://pris.ly/d/null-undefined
1524
- * @param {VendorFindFirstOrThrowArgs} args - Arguments to find a Vendor
1525
- * @example
1526
- * // Get one Vendor
1527
- * const vendor = await prisma.vendor.findFirstOrThrow({
1528
- * where: {
1529
- * // ... provide filter here
1530
- * }
1531
- * })
1532
- */
1533
- findFirstOrThrow<T extends VendorFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, VendorFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__VendorClient<runtime.Types.Result.GetResult<Prisma.$VendorPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1534
- /**
1535
- * Find zero or more Vendors that matches the filter.
1536
- * Note, that providing `undefined` is treated as the value not being there.
1537
- * Read more here: https://pris.ly/d/null-undefined
1538
- * @param {VendorFindManyArgs} args - Arguments to filter and select certain fields only.
1539
- * @example
1540
- * // Get all Vendors
1541
- * const vendors = await prisma.vendor.findMany()
1542
- *
1543
- * // Get first 10 Vendors
1544
- * const vendors = await prisma.vendor.findMany({ take: 10 })
1545
- *
1546
- * // Only select the `id`
1547
- * const vendorWithIdOnly = await prisma.vendor.findMany({ select: { id: true } })
1548
- *
1549
- */
1550
- findMany<T extends VendorFindManyArgs>(args?: Prisma.SelectSubset<T, VendorFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$VendorPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
1551
- /**
1552
- * Create a Vendor.
1553
- * @param {VendorCreateArgs} args - Arguments to create a Vendor.
1554
- * @example
1555
- * // Create one Vendor
1556
- * const Vendor = await prisma.vendor.create({
1557
- * data: {
1558
- * // ... data to create a Vendor
1559
- * }
1560
- * })
1561
- *
1562
- */
1563
- create<T extends VendorCreateArgs>(args: Prisma.SelectSubset<T, VendorCreateArgs<ExtArgs>>): Prisma.Prisma__VendorClient<runtime.Types.Result.GetResult<Prisma.$VendorPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1564
- /**
1565
- * Create many Vendors.
1566
- * @param {VendorCreateManyArgs} args - Arguments to create many Vendors.
1567
- * @example
1568
- * // Create many Vendors
1569
- * const vendor = await prisma.vendor.createMany({
1570
- * data: [
1571
- * // ... provide data here
1572
- * ]
1573
- * })
1574
- *
1575
- */
1576
- createMany<T extends VendorCreateManyArgs>(args?: Prisma.SelectSubset<T, VendorCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1577
- /**
1578
- * Create many Vendors and returns the data saved in the database.
1579
- * @param {VendorCreateManyAndReturnArgs} args - Arguments to create many Vendors.
1580
- * @example
1581
- * // Create many Vendors
1582
- * const vendor = await prisma.vendor.createManyAndReturn({
1583
- * data: [
1584
- * // ... provide data here
1585
- * ]
1586
- * })
1587
- *
1588
- * // Create many Vendors and only return the `id`
1589
- * const vendorWithIdOnly = await prisma.vendor.createManyAndReturn({
1590
- * select: { id: true },
1591
- * data: [
1592
- * // ... provide data here
1593
- * ]
1594
- * })
1595
- * Note, that providing `undefined` is treated as the value not being there.
1596
- * Read more here: https://pris.ly/d/null-undefined
1597
- *
1598
- */
1599
- createManyAndReturn<T extends VendorCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, VendorCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$VendorPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
1600
- /**
1601
- * Delete a Vendor.
1602
- * @param {VendorDeleteArgs} args - Arguments to delete one Vendor.
1603
- * @example
1604
- * // Delete one Vendor
1605
- * const Vendor = await prisma.vendor.delete({
1606
- * where: {
1607
- * // ... filter to delete one Vendor
1608
- * }
1609
- * })
1610
- *
1611
- */
1612
- delete<T extends VendorDeleteArgs>(args: Prisma.SelectSubset<T, VendorDeleteArgs<ExtArgs>>): Prisma.Prisma__VendorClient<runtime.Types.Result.GetResult<Prisma.$VendorPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1613
- /**
1614
- * Update one Vendor.
1615
- * @param {VendorUpdateArgs} args - Arguments to update one Vendor.
1616
- * @example
1617
- * // Update one Vendor
1618
- * const vendor = await prisma.vendor.update({
1619
- * where: {
1620
- * // ... provide filter here
1621
- * },
1622
- * data: {
1623
- * // ... provide data here
1624
- * }
1625
- * })
1626
- *
1627
- */
1628
- update<T extends VendorUpdateArgs>(args: Prisma.SelectSubset<T, VendorUpdateArgs<ExtArgs>>): Prisma.Prisma__VendorClient<runtime.Types.Result.GetResult<Prisma.$VendorPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1629
- /**
1630
- * Delete zero or more Vendors.
1631
- * @param {VendorDeleteManyArgs} args - Arguments to filter Vendors to delete.
1632
- * @example
1633
- * // Delete a few Vendors
1634
- * const { count } = await prisma.vendor.deleteMany({
1635
- * where: {
1636
- * // ... provide filter here
1637
- * }
1638
- * })
1639
- *
1640
- */
1641
- deleteMany<T extends VendorDeleteManyArgs>(args?: Prisma.SelectSubset<T, VendorDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1642
- /**
1643
- * Update zero or more Vendors.
1644
- * Note, that providing `undefined` is treated as the value not being there.
1645
- * Read more here: https://pris.ly/d/null-undefined
1646
- * @param {VendorUpdateManyArgs} args - Arguments to update one or more rows.
1647
- * @example
1648
- * // Update many Vendors
1649
- * const vendor = await prisma.vendor.updateMany({
1650
- * where: {
1651
- * // ... provide filter here
1652
- * },
1653
- * data: {
1654
- * // ... provide data here
1655
- * }
1656
- * })
1657
- *
1658
- */
1659
- updateMany<T extends VendorUpdateManyArgs>(args: Prisma.SelectSubset<T, VendorUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1660
- /**
1661
- * Update zero or more Vendors and returns the data updated in the database.
1662
- * @param {VendorUpdateManyAndReturnArgs} args - Arguments to update many Vendors.
1663
- * @example
1664
- * // Update many Vendors
1665
- * const vendor = await prisma.vendor.updateManyAndReturn({
1666
- * where: {
1667
- * // ... provide filter here
1668
- * },
1669
- * data: [
1670
- * // ... provide data here
1671
- * ]
1672
- * })
1673
- *
1674
- * // Update zero or more Vendors and only return the `id`
1675
- * const vendorWithIdOnly = await prisma.vendor.updateManyAndReturn({
1676
- * select: { id: true },
1677
- * where: {
1678
- * // ... provide filter here
1679
- * },
1680
- * data: [
1681
- * // ... provide data here
1682
- * ]
1683
- * })
1684
- * Note, that providing `undefined` is treated as the value not being there.
1685
- * Read more here: https://pris.ly/d/null-undefined
1686
- *
1687
- */
1688
- updateManyAndReturn<T extends VendorUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, VendorUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$VendorPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
1689
- /**
1690
- * Create or update one Vendor.
1691
- * @param {VendorUpsertArgs} args - Arguments to update or create a Vendor.
1692
- * @example
1693
- * // Update or create a Vendor
1694
- * const vendor = await prisma.vendor.upsert({
1695
- * create: {
1696
- * // ... data to create a Vendor
1697
- * },
1698
- * update: {
1699
- * // ... in case it already exists, update
1700
- * },
1701
- * where: {
1702
- * // ... the filter for the Vendor we want to update
1703
- * }
1704
- * })
1705
- */
1706
- upsert<T extends VendorUpsertArgs>(args: Prisma.SelectSubset<T, VendorUpsertArgs<ExtArgs>>): Prisma.Prisma__VendorClient<runtime.Types.Result.GetResult<Prisma.$VendorPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1707
- /**
1708
- * Count the number of Vendors.
1709
- * Note, that providing `undefined` is treated as the value not being there.
1710
- * Read more here: https://pris.ly/d/null-undefined
1711
- * @param {VendorCountArgs} args - Arguments to filter Vendors to count.
1712
- * @example
1713
- * // Count the number of Vendors
1714
- * const count = await prisma.vendor.count({
1715
- * where: {
1716
- * // ... the filter for the Vendors we want to count
1717
- * }
1718
- * })
1719
- **/
1720
- count<T extends VendorCountArgs>(args?: Prisma.Subset<T, VendorCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], VendorCountAggregateOutputType> : number>;
1721
- /**
1722
- * Allows you to perform aggregations operations on a Vendor.
1723
- * Note, that providing `undefined` is treated as the value not being there.
1724
- * Read more here: https://pris.ly/d/null-undefined
1725
- * @param {VendorAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1726
- * @example
1727
- * // Ordered by age ascending
1728
- * // Where email contains prisma.io
1729
- * // Limited to the 10 users
1730
- * const aggregations = await prisma.user.aggregate({
1731
- * _avg: {
1732
- * age: true,
1733
- * },
1734
- * where: {
1735
- * email: {
1736
- * contains: "prisma.io",
1737
- * },
1738
- * },
1739
- * orderBy: {
1740
- * age: "asc",
1741
- * },
1742
- * take: 10,
1743
- * })
1744
- **/
1745
- aggregate<T extends VendorAggregateArgs>(args: Prisma.Subset<T, VendorAggregateArgs>): Prisma.PrismaPromise<GetVendorAggregateType<T>>;
1746
- /**
1747
- * Group by Vendor.
1748
- * Note, that providing `undefined` is treated as the value not being there.
1749
- * Read more here: https://pris.ly/d/null-undefined
1750
- * @param {VendorGroupByArgs} args - Group by arguments.
1751
- * @example
1752
- * // Group by city, order by createdAt, get count
1753
- * const result = await prisma.user.groupBy({
1754
- * by: ['city', 'createdAt'],
1755
- * orderBy: {
1756
- * createdAt: true
1757
- * },
1758
- * _count: {
1759
- * _all: true
1760
- * },
1761
- * })
1762
- *
1763
- **/
1764
- groupBy<T extends VendorGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1765
- orderBy: VendorGroupByArgs['orderBy'];
1766
- } : {
1767
- orderBy?: VendorGroupByArgs['orderBy'];
1768
- }, 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 ? {
1769
- [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1770
- Error,
1771
- 'Field ',
1772
- P,
1773
- ` in "having" needs to be provided in "by"`
1774
- ];
1775
- }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1776
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1777
- }[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 ? {} : {
1778
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1779
- }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1780
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1781
- }[OrderFields]>(args: Prisma.SubsetIntersection<T, VendorGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetVendorGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1782
- /**
1783
- * Fields of the Vendor model
1784
- */
1785
- readonly fields: VendorFieldRefs;
1786
- }
1787
- /**
1788
- * The delegate class that acts as a "Promise-like" for Vendor.
1789
- * Why is this prefixed with `Prisma__`?
1790
- * Because we want to prevent naming conflicts as mentioned in
1791
- * https://github.com/prisma/prisma-client-js/issues/707
1792
- */
1793
- export interface Prisma__VendorClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1794
- readonly [Symbol.toStringTag]: "PrismaPromise";
1795
- organization<T extends Prisma.OrganizationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OrganizationDefaultArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1796
- assignee<T extends Prisma.Vendor$assigneeArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Vendor$assigneeArgs<ExtArgs>>): Prisma.Prisma__MemberClient<runtime.Types.Result.GetResult<Prisma.$MemberPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1797
- contacts<T extends Prisma.Vendor$contactsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Vendor$contactsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$VendorContactPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1798
- tasks<T extends Prisma.Vendor$tasksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Vendor$tasksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TaskPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1799
- /**
1800
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1801
- * @param onfulfilled The callback to execute when the Promise is resolved.
1802
- * @param onrejected The callback to execute when the Promise is rejected.
1803
- * @returns A Promise for the completion of which ever callback is executed.
1804
- */
1805
- 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>;
1806
- /**
1807
- * Attaches a callback for only the rejection of the Promise.
1808
- * @param onrejected The callback to execute when the Promise is rejected.
1809
- * @returns A Promise for the completion of the callback.
1810
- */
1811
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1812
- /**
1813
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1814
- * resolved value cannot be modified from the callback.
1815
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1816
- * @returns A Promise for the completion of the callback.
1817
- */
1818
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1819
- }
1820
- /**
1821
- * Fields of the Vendor model
1822
- */
1823
- export interface VendorFieldRefs {
1824
- readonly id: Prisma.FieldRef<"Vendor", 'String'>;
1825
- readonly name: Prisma.FieldRef<"Vendor", 'String'>;
1826
- readonly description: Prisma.FieldRef<"Vendor", 'String'>;
1827
- readonly category: Prisma.FieldRef<"Vendor", 'VendorCategory'>;
1828
- readonly status: Prisma.FieldRef<"Vendor", 'VendorStatus'>;
1829
- readonly inherentProbability: Prisma.FieldRef<"Vendor", 'Likelihood'>;
1830
- readonly inherentImpact: Prisma.FieldRef<"Vendor", 'Impact'>;
1831
- readonly residualProbability: Prisma.FieldRef<"Vendor", 'Likelihood'>;
1832
- readonly residualImpact: Prisma.FieldRef<"Vendor", 'Impact'>;
1833
- readonly website: Prisma.FieldRef<"Vendor", 'String'>;
1834
- readonly isSubProcessor: Prisma.FieldRef<"Vendor", 'Boolean'>;
1835
- readonly logoUrl: Prisma.FieldRef<"Vendor", 'String'>;
1836
- readonly showOnTrustPortal: Prisma.FieldRef<"Vendor", 'Boolean'>;
1837
- readonly trustPortalOrder: Prisma.FieldRef<"Vendor", 'Int'>;
1838
- readonly complianceBadges: Prisma.FieldRef<"Vendor", 'Json'>;
1839
- readonly createdAt: Prisma.FieldRef<"Vendor", 'DateTime'>;
1840
- readonly updatedAt: Prisma.FieldRef<"Vendor", 'DateTime'>;
1841
- readonly organizationId: Prisma.FieldRef<"Vendor", 'String'>;
1842
- readonly assigneeId: Prisma.FieldRef<"Vendor", 'String'>;
1843
- }
1844
- /**
1845
- * Vendor findUnique
1846
- */
1847
- export type VendorFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1848
- /**
1849
- * Select specific fields to fetch from the Vendor
1850
- */
1851
- select?: Prisma.VendorSelect<ExtArgs> | null;
1852
- /**
1853
- * Omit specific fields from the Vendor
1854
- */
1855
- omit?: Prisma.VendorOmit<ExtArgs> | null;
1856
- /**
1857
- * Choose, which related nodes to fetch as well
1858
- */
1859
- include?: Prisma.VendorInclude<ExtArgs> | null;
1860
- /**
1861
- * Filter, which Vendor to fetch.
1862
- */
1863
- where: Prisma.VendorWhereUniqueInput;
1864
- };
1865
- /**
1866
- * Vendor findUniqueOrThrow
1867
- */
1868
- export type VendorFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1869
- /**
1870
- * Select specific fields to fetch from the Vendor
1871
- */
1872
- select?: Prisma.VendorSelect<ExtArgs> | null;
1873
- /**
1874
- * Omit specific fields from the Vendor
1875
- */
1876
- omit?: Prisma.VendorOmit<ExtArgs> | null;
1877
- /**
1878
- * Choose, which related nodes to fetch as well
1879
- */
1880
- include?: Prisma.VendorInclude<ExtArgs> | null;
1881
- /**
1882
- * Filter, which Vendor to fetch.
1883
- */
1884
- where: Prisma.VendorWhereUniqueInput;
1885
- };
1886
- /**
1887
- * Vendor findFirst
1888
- */
1889
- export type VendorFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1890
- /**
1891
- * Select specific fields to fetch from the Vendor
1892
- */
1893
- select?: Prisma.VendorSelect<ExtArgs> | null;
1894
- /**
1895
- * Omit specific fields from the Vendor
1896
- */
1897
- omit?: Prisma.VendorOmit<ExtArgs> | null;
1898
- /**
1899
- * Choose, which related nodes to fetch as well
1900
- */
1901
- include?: Prisma.VendorInclude<ExtArgs> | null;
1902
- /**
1903
- * Filter, which Vendor to fetch.
1904
- */
1905
- where?: Prisma.VendorWhereInput;
1906
- /**
1907
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1908
- *
1909
- * Determine the order of Vendors to fetch.
1910
- */
1911
- orderBy?: Prisma.VendorOrderByWithRelationInput | Prisma.VendorOrderByWithRelationInput[];
1912
- /**
1913
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1914
- *
1915
- * Sets the position for searching for Vendors.
1916
- */
1917
- cursor?: Prisma.VendorWhereUniqueInput;
1918
- /**
1919
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1920
- *
1921
- * Take `±n` Vendors from the position of the cursor.
1922
- */
1923
- take?: number;
1924
- /**
1925
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1926
- *
1927
- * Skip the first `n` Vendors.
1928
- */
1929
- skip?: number;
1930
- /**
1931
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1932
- *
1933
- * Filter by unique combinations of Vendors.
1934
- */
1935
- distinct?: Prisma.VendorScalarFieldEnum | Prisma.VendorScalarFieldEnum[];
1936
- };
1937
- /**
1938
- * Vendor findFirstOrThrow
1939
- */
1940
- export type VendorFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1941
- /**
1942
- * Select specific fields to fetch from the Vendor
1943
- */
1944
- select?: Prisma.VendorSelect<ExtArgs> | null;
1945
- /**
1946
- * Omit specific fields from the Vendor
1947
- */
1948
- omit?: Prisma.VendorOmit<ExtArgs> | null;
1949
- /**
1950
- * Choose, which related nodes to fetch as well
1951
- */
1952
- include?: Prisma.VendorInclude<ExtArgs> | null;
1953
- /**
1954
- * Filter, which Vendor to fetch.
1955
- */
1956
- where?: Prisma.VendorWhereInput;
1957
- /**
1958
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1959
- *
1960
- * Determine the order of Vendors to fetch.
1961
- */
1962
- orderBy?: Prisma.VendorOrderByWithRelationInput | Prisma.VendorOrderByWithRelationInput[];
1963
- /**
1964
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1965
- *
1966
- * Sets the position for searching for Vendors.
1967
- */
1968
- cursor?: Prisma.VendorWhereUniqueInput;
1969
- /**
1970
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1971
- *
1972
- * Take `±n` Vendors from the position of the cursor.
1973
- */
1974
- take?: number;
1975
- /**
1976
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1977
- *
1978
- * Skip the first `n` Vendors.
1979
- */
1980
- skip?: number;
1981
- /**
1982
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1983
- *
1984
- * Filter by unique combinations of Vendors.
1985
- */
1986
- distinct?: Prisma.VendorScalarFieldEnum | Prisma.VendorScalarFieldEnum[];
1987
- };
1988
- /**
1989
- * Vendor findMany
1990
- */
1991
- export type VendorFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1992
- /**
1993
- * Select specific fields to fetch from the Vendor
1994
- */
1995
- select?: Prisma.VendorSelect<ExtArgs> | null;
1996
- /**
1997
- * Omit specific fields from the Vendor
1998
- */
1999
- omit?: Prisma.VendorOmit<ExtArgs> | null;
2000
- /**
2001
- * Choose, which related nodes to fetch as well
2002
- */
2003
- include?: Prisma.VendorInclude<ExtArgs> | null;
2004
- /**
2005
- * Filter, which Vendors to fetch.
2006
- */
2007
- where?: Prisma.VendorWhereInput;
2008
- /**
2009
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2010
- *
2011
- * Determine the order of Vendors to fetch.
2012
- */
2013
- orderBy?: Prisma.VendorOrderByWithRelationInput | Prisma.VendorOrderByWithRelationInput[];
2014
- /**
2015
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2016
- *
2017
- * Sets the position for listing Vendors.
2018
- */
2019
- cursor?: Prisma.VendorWhereUniqueInput;
2020
- /**
2021
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2022
- *
2023
- * Take `±n` Vendors from the position of the cursor.
2024
- */
2025
- take?: number;
2026
- /**
2027
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2028
- *
2029
- * Skip the first `n` Vendors.
2030
- */
2031
- skip?: number;
2032
- /**
2033
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2034
- *
2035
- * Filter by unique combinations of Vendors.
2036
- */
2037
- distinct?: Prisma.VendorScalarFieldEnum | Prisma.VendorScalarFieldEnum[];
2038
- };
2039
- /**
2040
- * Vendor create
2041
- */
2042
- export type VendorCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2043
- /**
2044
- * Select specific fields to fetch from the Vendor
2045
- */
2046
- select?: Prisma.VendorSelect<ExtArgs> | null;
2047
- /**
2048
- * Omit specific fields from the Vendor
2049
- */
2050
- omit?: Prisma.VendorOmit<ExtArgs> | null;
2051
- /**
2052
- * Choose, which related nodes to fetch as well
2053
- */
2054
- include?: Prisma.VendorInclude<ExtArgs> | null;
2055
- /**
2056
- * The data needed to create a Vendor.
2057
- */
2058
- data: Prisma.XOR<Prisma.VendorCreateInput, Prisma.VendorUncheckedCreateInput>;
2059
- };
2060
- /**
2061
- * Vendor createMany
2062
- */
2063
- export type VendorCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2064
- /**
2065
- * The data used to create many Vendors.
2066
- */
2067
- data: Prisma.VendorCreateManyInput | Prisma.VendorCreateManyInput[];
2068
- skipDuplicates?: boolean;
2069
- };
2070
- /**
2071
- * Vendor createManyAndReturn
2072
- */
2073
- export type VendorCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2074
- /**
2075
- * Select specific fields to fetch from the Vendor
2076
- */
2077
- select?: Prisma.VendorSelectCreateManyAndReturn<ExtArgs> | null;
2078
- /**
2079
- * Omit specific fields from the Vendor
2080
- */
2081
- omit?: Prisma.VendorOmit<ExtArgs> | null;
2082
- /**
2083
- * The data used to create many Vendors.
2084
- */
2085
- data: Prisma.VendorCreateManyInput | Prisma.VendorCreateManyInput[];
2086
- skipDuplicates?: boolean;
2087
- /**
2088
- * Choose, which related nodes to fetch as well
2089
- */
2090
- include?: Prisma.VendorIncludeCreateManyAndReturn<ExtArgs> | null;
2091
- };
2092
- /**
2093
- * Vendor update
2094
- */
2095
- export type VendorUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2096
- /**
2097
- * Select specific fields to fetch from the Vendor
2098
- */
2099
- select?: Prisma.VendorSelect<ExtArgs> | null;
2100
- /**
2101
- * Omit specific fields from the Vendor
2102
- */
2103
- omit?: Prisma.VendorOmit<ExtArgs> | null;
2104
- /**
2105
- * Choose, which related nodes to fetch as well
2106
- */
2107
- include?: Prisma.VendorInclude<ExtArgs> | null;
2108
- /**
2109
- * The data needed to update a Vendor.
2110
- */
2111
- data: Prisma.XOR<Prisma.VendorUpdateInput, Prisma.VendorUncheckedUpdateInput>;
2112
- /**
2113
- * Choose, which Vendor to update.
2114
- */
2115
- where: Prisma.VendorWhereUniqueInput;
2116
- };
2117
- /**
2118
- * Vendor updateMany
2119
- */
2120
- export type VendorUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2121
- /**
2122
- * The data used to update Vendors.
2123
- */
2124
- data: Prisma.XOR<Prisma.VendorUpdateManyMutationInput, Prisma.VendorUncheckedUpdateManyInput>;
2125
- /**
2126
- * Filter which Vendors to update
2127
- */
2128
- where?: Prisma.VendorWhereInput;
2129
- /**
2130
- * Limit how many Vendors to update.
2131
- */
2132
- limit?: number;
2133
- };
2134
- /**
2135
- * Vendor updateManyAndReturn
2136
- */
2137
- export type VendorUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2138
- /**
2139
- * Select specific fields to fetch from the Vendor
2140
- */
2141
- select?: Prisma.VendorSelectUpdateManyAndReturn<ExtArgs> | null;
2142
- /**
2143
- * Omit specific fields from the Vendor
2144
- */
2145
- omit?: Prisma.VendorOmit<ExtArgs> | null;
2146
- /**
2147
- * The data used to update Vendors.
2148
- */
2149
- data: Prisma.XOR<Prisma.VendorUpdateManyMutationInput, Prisma.VendorUncheckedUpdateManyInput>;
2150
- /**
2151
- * Filter which Vendors to update
2152
- */
2153
- where?: Prisma.VendorWhereInput;
2154
- /**
2155
- * Limit how many Vendors to update.
2156
- */
2157
- limit?: number;
2158
- /**
2159
- * Choose, which related nodes to fetch as well
2160
- */
2161
- include?: Prisma.VendorIncludeUpdateManyAndReturn<ExtArgs> | null;
2162
- };
2163
- /**
2164
- * Vendor upsert
2165
- */
2166
- export type VendorUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2167
- /**
2168
- * Select specific fields to fetch from the Vendor
2169
- */
2170
- select?: Prisma.VendorSelect<ExtArgs> | null;
2171
- /**
2172
- * Omit specific fields from the Vendor
2173
- */
2174
- omit?: Prisma.VendorOmit<ExtArgs> | null;
2175
- /**
2176
- * Choose, which related nodes to fetch as well
2177
- */
2178
- include?: Prisma.VendorInclude<ExtArgs> | null;
2179
- /**
2180
- * The filter to search for the Vendor to update in case it exists.
2181
- */
2182
- where: Prisma.VendorWhereUniqueInput;
2183
- /**
2184
- * In case the Vendor found by the `where` argument doesn't exist, create a new Vendor with this data.
2185
- */
2186
- create: Prisma.XOR<Prisma.VendorCreateInput, Prisma.VendorUncheckedCreateInput>;
2187
- /**
2188
- * In case the Vendor was found with the provided `where` argument, update it with this data.
2189
- */
2190
- update: Prisma.XOR<Prisma.VendorUpdateInput, Prisma.VendorUncheckedUpdateInput>;
2191
- };
2192
- /**
2193
- * Vendor delete
2194
- */
2195
- export type VendorDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2196
- /**
2197
- * Select specific fields to fetch from the Vendor
2198
- */
2199
- select?: Prisma.VendorSelect<ExtArgs> | null;
2200
- /**
2201
- * Omit specific fields from the Vendor
2202
- */
2203
- omit?: Prisma.VendorOmit<ExtArgs> | null;
2204
- /**
2205
- * Choose, which related nodes to fetch as well
2206
- */
2207
- include?: Prisma.VendorInclude<ExtArgs> | null;
2208
- /**
2209
- * Filter which Vendor to delete.
2210
- */
2211
- where: Prisma.VendorWhereUniqueInput;
2212
- };
2213
- /**
2214
- * Vendor deleteMany
2215
- */
2216
- export type VendorDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2217
- /**
2218
- * Filter which Vendors to delete
2219
- */
2220
- where?: Prisma.VendorWhereInput;
2221
- /**
2222
- * Limit how many Vendors to delete.
2223
- */
2224
- limit?: number;
2225
- };
2226
- /**
2227
- * Vendor.assignee
2228
- */
2229
- export type Vendor$assigneeArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2230
- /**
2231
- * Select specific fields to fetch from the Member
2232
- */
2233
- select?: Prisma.MemberSelect<ExtArgs> | null;
2234
- /**
2235
- * Omit specific fields from the Member
2236
- */
2237
- omit?: Prisma.MemberOmit<ExtArgs> | null;
2238
- /**
2239
- * Choose, which related nodes to fetch as well
2240
- */
2241
- include?: Prisma.MemberInclude<ExtArgs> | null;
2242
- where?: Prisma.MemberWhereInput;
2243
- };
2244
- /**
2245
- * Vendor.contacts
2246
- */
2247
- export type Vendor$contactsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2248
- /**
2249
- * Select specific fields to fetch from the VendorContact
2250
- */
2251
- select?: Prisma.VendorContactSelect<ExtArgs> | null;
2252
- /**
2253
- * Omit specific fields from the VendorContact
2254
- */
2255
- omit?: Prisma.VendorContactOmit<ExtArgs> | null;
2256
- /**
2257
- * Choose, which related nodes to fetch as well
2258
- */
2259
- include?: Prisma.VendorContactInclude<ExtArgs> | null;
2260
- where?: Prisma.VendorContactWhereInput;
2261
- orderBy?: Prisma.VendorContactOrderByWithRelationInput | Prisma.VendorContactOrderByWithRelationInput[];
2262
- cursor?: Prisma.VendorContactWhereUniqueInput;
2263
- take?: number;
2264
- skip?: number;
2265
- distinct?: Prisma.VendorContactScalarFieldEnum | Prisma.VendorContactScalarFieldEnum[];
2266
- };
2267
- /**
2268
- * Vendor.tasks
2269
- */
2270
- export type Vendor$tasksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2271
- /**
2272
- * Select specific fields to fetch from the Task
2273
- */
2274
- select?: Prisma.TaskSelect<ExtArgs> | null;
2275
- /**
2276
- * Omit specific fields from the Task
2277
- */
2278
- omit?: Prisma.TaskOmit<ExtArgs> | null;
2279
- /**
2280
- * Choose, which related nodes to fetch as well
2281
- */
2282
- include?: Prisma.TaskInclude<ExtArgs> | null;
2283
- where?: Prisma.TaskWhereInput;
2284
- orderBy?: Prisma.TaskOrderByWithRelationInput | Prisma.TaskOrderByWithRelationInput[];
2285
- cursor?: Prisma.TaskWhereUniqueInput;
2286
- take?: number;
2287
- skip?: number;
2288
- distinct?: Prisma.TaskScalarFieldEnum | Prisma.TaskScalarFieldEnum[];
2289
- };
2290
- /**
2291
- * Vendor without action
2292
- */
2293
- export type VendorDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2294
- /**
2295
- * Select specific fields to fetch from the Vendor
2296
- */
2297
- select?: Prisma.VendorSelect<ExtArgs> | null;
2298
- /**
2299
- * Omit specific fields from the Vendor
2300
- */
2301
- omit?: Prisma.VendorOmit<ExtArgs> | null;
2302
- /**
2303
- * Choose, which related nodes to fetch as well
2304
- */
2305
- include?: Prisma.VendorInclude<ExtArgs> | null;
2306
- };
2307
- //# sourceMappingURL=Vendor.d.ts.map