@trycompai/db 1.3.22-canary.0 → 2.0.0

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