@trycompai/db 1.3.22 → 2.0.0

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