efiber-prisma-schema 2.0.6 → 2.0.8

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 (408) hide show
  1. package/package.json +19 -18
  2. package/prisma/generated/edge.js +73 -28
  3. package/prisma/generated/index-browser.js +14 -13
  4. package/prisma/generated/index.d.ts +24 -9
  5. package/prisma/generated/index.js +95 -29
  6. package/prisma/generated/libquery_engine-darwin-arm64.dylib.node +0 -0
  7. package/prisma/generated/package.json +68 -29
  8. package/prisma/generated/query_engine_bg.js +2 -0
  9. package/prisma/generated/query_engine_bg.wasm +0 -0
  10. package/prisma/generated/runtime/edge-esm.js +35 -0
  11. package/prisma/generated/runtime/edge.js +35 -0
  12. package/prisma/generated/runtime/index-browser.d.ts +303 -20
  13. package/prisma/generated/runtime/index-browser.js +12 -1
  14. package/prisma/generated/runtime/{client.d.ts → library.d.ts} +905 -103
  15. package/prisma/generated/runtime/library.js +147 -0
  16. package/prisma/generated/runtime/react-native.js +84 -0
  17. package/prisma/generated/runtime/wasm-compiler-edge.js +33 -24
  18. package/prisma/generated/runtime/wasm-engine-edge.js +38 -0
  19. package/prisma/generated/schema.prisma +1 -0
  20. package/prisma/generated/wasm-edge-light-loader.mjs +1 -1
  21. package/prisma/generated/wasm-worker-loader.mjs +1 -1
  22. package/prisma/generated/wasm.d.ts +1 -0
  23. package/prisma/generated/{internal/class.ts → wasm.js} +2448 -1238
  24. package/prisma/schema.prisma +1 -0
  25. package/index.d.ts +0 -10
  26. package/index.js +0 -10
  27. package/prisma/generated/browser.ts +0 -559
  28. package/prisma/generated/client.ts +0 -581
  29. package/prisma/generated/commonInputTypes.ts +0 -1246
  30. package/prisma/generated/enums.ts +0 -188
  31. package/prisma/generated/internal/prismaNamespace.ts +0 -11532
  32. package/prisma/generated/internal/prismaNamespaceBrowser.ts +0 -2582
  33. package/prisma/generated/models/AttributeDefinition.ts +0 -1498
  34. package/prisma/generated/models/AttributeValue.ts +0 -1419
  35. package/prisma/generated/models/Audit.ts +0 -1725
  36. package/prisma/generated/models/BillOfMaterial.ts +0 -1934
  37. package/prisma/generated/models/Building.ts +0 -6130
  38. package/prisma/generated/models/BuildingTemplate.ts +0 -2912
  39. package/prisma/generated/models/Cable.ts +0 -10501
  40. package/prisma/generated/models/CableAttachment.ts +0 -1530
  41. package/prisma/generated/models/CableAttributes.ts +0 -2244
  42. package/prisma/generated/models/CableTemplate.ts +0 -3170
  43. package/prisma/generated/models/CamusatClient.ts +0 -2001
  44. package/prisma/generated/models/CamusatCountry.ts +0 -2425
  45. package/prisma/generated/models/CentralOffice.ts +0 -1921
  46. package/prisma/generated/models/CentralOfficeTeam.ts +0 -1620
  47. package/prisma/generated/models/CentralOfficeUser.ts +0 -1650
  48. package/prisma/generated/models/Cluster.ts +0 -10984
  49. package/prisma/generated/models/ClusterComments.ts +0 -1668
  50. package/prisma/generated/models/ClusterNotes.ts +0 -1703
  51. package/prisma/generated/models/Conduit.ts +0 -5119
  52. package/prisma/generated/models/ConduitTemplate.ts +0 -2940
  53. package/prisma/generated/models/Country.ts +0 -1795
  54. package/prisma/generated/models/DispatchMaterial.ts +0 -3070
  55. package/prisma/generated/models/DispatchProject.ts +0 -4179
  56. package/prisma/generated/models/DispatchTeam.ts +0 -3053
  57. package/prisma/generated/models/Duct.ts +0 -1813
  58. package/prisma/generated/models/ElementNode.ts +0 -4413
  59. package/prisma/generated/models/ElementRelation.ts +0 -1644
  60. package/prisma/generated/models/EmailConfigurations.ts +0 -3736
  61. package/prisma/generated/models/EmailTemplates.ts +0 -1739
  62. package/prisma/generated/models/EmailsIncoming.ts +0 -2010
  63. package/prisma/generated/models/EmailsIncomingSample.ts +0 -1503
  64. package/prisma/generated/models/EmailsOutgoing.ts +0 -1648
  65. package/prisma/generated/models/FDTSRO.ts +0 -6180
  66. package/prisma/generated/models/FDTSROTemplate.ts +0 -2912
  67. package/prisma/generated/models/Feature.ts +0 -1867
  68. package/prisma/generated/models/FeatureType.ts +0 -1430
  69. package/prisma/generated/models/IntegrationReportTemplate.ts +0 -1878
  70. package/prisma/generated/models/Loop.ts +0 -5271
  71. package/prisma/generated/models/LoopTemplate.ts +0 -2912
  72. package/prisma/generated/models/MainProject.ts +0 -1664
  73. package/prisma/generated/models/Manhole.ts +0 -5090
  74. package/prisma/generated/models/ManholeTemplate.ts +0 -2912
  75. package/prisma/generated/models/MapElement.ts +0 -3450
  76. package/prisma/generated/models/MapElementTemplate.ts +0 -2742
  77. package/prisma/generated/models/Material.ts +0 -1963
  78. package/prisma/generated/models/MaterialBillOfMaterial.ts +0 -1737
  79. package/prisma/generated/models/MaterialChangeLog.ts +0 -1454
  80. package/prisma/generated/models/NetworkElement.ts +0 -6891
  81. package/prisma/generated/models/NetworkElementInstallation.ts +0 -3320
  82. package/prisma/generated/models/Notifications.ts +0 -1563
  83. package/prisma/generated/models/OptionSource.ts +0 -1132
  84. package/prisma/generated/models/PboFat.ts +0 -8248
  85. package/prisma/generated/models/PboFatAttributes.ts +0 -2672
  86. package/prisma/generated/models/PboFatTemplate.ts +0 -3112
  87. package/prisma/generated/models/Platform.ts +0 -1759
  88. package/prisma/generated/models/Pole.ts +0 -5266
  89. package/prisma/generated/models/PoleTemplate.ts +0 -2912
  90. package/prisma/generated/models/Position.ts +0 -1490
  91. package/prisma/generated/models/PreviousEquipment.ts +0 -1881
  92. package/prisma/generated/models/Project.ts +0 -14893
  93. package/prisma/generated/models/ProjectType.ts +0 -1351
  94. package/prisma/generated/models/ProjectWorkFlow.ts +0 -1856
  95. package/prisma/generated/models/ReportFormats.ts +0 -1768
  96. package/prisma/generated/models/ReportFormulaConfig.ts +0 -1375
  97. package/prisma/generated/models/ReportMetric.ts +0 -1737
  98. package/prisma/generated/models/ReportTable.ts +0 -1498
  99. package/prisma/generated/models/ReportVisualization.ts +0 -1446
  100. package/prisma/generated/models/Revision.ts +0 -4653
  101. package/prisma/generated/models/Role.ts +0 -2960
  102. package/prisma/generated/models/SFU.ts +0 -5977
  103. package/prisma/generated/models/SFUTemplate.ts +0 -2912
  104. package/prisma/generated/models/SpliceClosure.ts +0 -6405
  105. package/prisma/generated/models/SpliceClosureAttributes.ts +0 -2172
  106. package/prisma/generated/models/SpliceClosureTemplate.ts +0 -3176
  107. package/prisma/generated/models/Splitter.ts +0 -1459
  108. package/prisma/generated/models/StockMovement.ts +0 -1589
  109. package/prisma/generated/models/SubsidiaryMaterial.ts +0 -2193
  110. package/prisma/generated/models/SubsidiaryMaterialMovementLog.ts +0 -1966
  111. package/prisma/generated/models/Team.ts +0 -2044
  112. package/prisma/generated/models/TeamMaterial.ts +0 -2193
  113. package/prisma/generated/models/TeamMaterialMovementLog.ts +0 -1966
  114. package/prisma/generated/models/TeamPlatform.ts +0 -1874
  115. package/prisma/generated/models/TeamType.ts +0 -1655
  116. package/prisma/generated/models/Template.ts +0 -1691
  117. package/prisma/generated/models/TemplateComponent.ts +0 -1995
  118. package/prisma/generated/models/User.ts +0 -25676
  119. package/prisma/generated/models/WorkOrder.ts +0 -5901
  120. package/prisma/generated/models/WorkOrderActivityLog.ts +0 -2126
  121. package/prisma/generated/models/WorkOrderChannel.ts +0 -1454
  122. package/prisma/generated/models/WorkOrderComments.ts +0 -1687
  123. package/prisma/generated/models/WorkOrderEditLog.ts +0 -1757
  124. package/prisma/generated/models/WorkOrderMaterial.ts +0 -1933
  125. package/prisma/generated/models/WorkOrderPauses.ts +0 -1454
  126. package/prisma/generated/models/WorkOrderTask.ts +0 -2220
  127. package/prisma/generated/models/WorkOrderTaskData.ts +0 -1244
  128. package/prisma/generated/models/ZoneNro.ts +0 -3926
  129. package/prisma/generated/models/ZoneNroTemplate.ts +0 -2966
  130. package/prisma/generated/models/clientMaterial.ts +0 -2193
  131. package/prisma/generated/models/clientMaterialMovementLog.ts +0 -1966
  132. package/prisma/generated/models/ductTemplate.ts +0 -1606
  133. package/prisma/generated/models/installationSequence.ts +0 -1708
  134. package/prisma/generated/models/integrationProjectUserStatus.ts +0 -1916
  135. package/prisma/generated/models/integrationUserLocation.ts +0 -1681
  136. package/prisma/generated/models/problemCategorization.ts +0 -1543
  137. package/prisma/generated/models/projectPhaseLog.ts +0 -1728
  138. package/prisma/generated/models/qrCodeTag.ts +0 -4978
  139. package/prisma/generated/models/qrCodeTemplate.ts +0 -6500
  140. package/prisma/generated/models/ticketMaterialMovementLog.ts +0 -1651
  141. package/prisma/generated/models.ts +0 -119
  142. package/prisma/generated/query_compiler_bg.js +0 -2
  143. package/prisma/generated/query_compiler_bg.wasm +0 -0
  144. package/prisma/generated/query_compiler_bg.wasm-base64.js +0 -2
  145. package/prisma/generated/runtime/client.js +0 -86
  146. package/prisma/migrations/0_init/migration.sql +0 -0
  147. package/prisma/migrations/20231209164007_/migration.sql +0 -8
  148. package/prisma/migrations/20231209192452_country_table/migration.sql +0 -7
  149. package/prisma/migrations/20231209194848_/migration.sql +0 -10
  150. package/prisma/migrations/20231209195140_/migration.sql +0 -8
  151. package/prisma/migrations/20231209201218_country_update/migration.sql +0 -29
  152. package/prisma/migrations/20231209201405_/migration.sql +0 -8
  153. package/prisma/migrations/20231209213149_camusat_country/migration.sql +0 -20
  154. package/prisma/migrations/20231209221814_platform/migration.sql +0 -26
  155. package/prisma/migrations/20231209223246_/migration.sql +0 -16
  156. package/prisma/migrations/20231209231721_roles/migration.sql +0 -34
  157. package/prisma/migrations/20231210113501_team_and_users/migration.sql +0 -119
  158. package/prisma/migrations/20231210181832_user_update/migration.sql +0 -25
  159. package/prisma/migrations/20231219121311_add_projects/migration.sql +0 -60
  160. package/prisma/migrations/20231219123045_/migration.sql +0 -8
  161. package/prisma/migrations/20231219123850_audit/migration.sql +0 -20
  162. package/prisma/migrations/20240116090035_/migration.sql +0 -57
  163. package/prisma/migrations/20240202082320_init/migration.sql +0 -17
  164. package/prisma/migrations/20240202091027_camusat_client/migration.sql +0 -29
  165. package/prisma/migrations/20240202124330_camusatcountry/migration.sql +0 -20
  166. package/prisma/migrations/20240203085209_feature/migration.sql +0 -66
  167. package/prisma/migrations/20240203123342_feature/migration.sql +0 -38
  168. package/prisma/migrations/20240203124454_featuretype/migration.sql +0 -30
  169. package/prisma/migrations/20240203134414_featuretype/migration.sql +0 -8
  170. package/prisma/migrations/20240203154141_featuretype/migration.sql +0 -47
  171. package/prisma/migrations/20240203203915_template/migration.sql +0 -82
  172. package/prisma/migrations/20240204040725_template_component/migration.sql +0 -83
  173. package/prisma/migrations/20240204043127_template_component/migration.sql +0 -3
  174. package/prisma/migrations/20240204051036_template_component/migration.sql +0 -17
  175. package/prisma/migrations/20240204052923_template_component/migration.sql +0 -24
  176. package/prisma/migrations/20240204103902_template_component/migration.sql +0 -10
  177. package/prisma/migrations/20240204112656_camusat_client/migration.sql +0 -13
  178. package/prisma/migrations/20240204113143_camusat_client/migration.sql +0 -16
  179. package/prisma/migrations/20240204133932_camusat_client/migration.sql +0 -13
  180. package/prisma/migrations/20240204134637_camusat_client/migration.sql +0 -16
  181. package/prisma/migrations/20240204135459_camusat_client/migration.sql +0 -8
  182. package/prisma/migrations/20240204135615_camusat_client/migration.sql +0 -16
  183. package/prisma/migrations/20240204141001_camusat_client/migration.sql +0 -16
  184. package/prisma/migrations/20240205070804_template/migration.sql +0 -60
  185. package/prisma/migrations/20240205071138_template/migration.sql +0 -8
  186. package/prisma/migrations/20240205074015_template/migration.sql +0 -11
  187. package/prisma/migrations/20240205100949_template/migration.sql +0 -3
  188. package/prisma/migrations/20240205170632_template/migration.sql +0 -26
  189. package/prisma/migrations/20240205171038_template/migration.sql +0 -8
  190. package/prisma/migrations/20240206115225_template/migration.sql +0 -2
  191. package/prisma/migrations/20240206115743_template/migration.sql +0 -8
  192. package/prisma/migrations/20240206122145_template/migration.sql +0 -8
  193. package/prisma/migrations/20240206122530_template/migration.sql +0 -17
  194. package/prisma/migrations/20240206124010_template/migration.sql +0 -2
  195. package/prisma/migrations/20240206124504_template/migration.sql +0 -8
  196. package/prisma/migrations/20240207123737_template_component/migration.sql +0 -27
  197. package/prisma/migrations/20240207182427_project_workflow/migration.sql +0 -13
  198. package/prisma/migrations/20240208080438_project_workflow/migration.sql +0 -29
  199. package/prisma/migrations/20240208094341_project_workflow/migration.sql +0 -20
  200. package/prisma/migrations/20240208094513_project_workflow/migration.sql +0 -11
  201. package/prisma/migrations/20240208110543_feature/migration.sql +0 -42
  202. package/prisma/migrations/20240209094123_feature/migration.sql +0 -2
  203. package/prisma/migrations/20240211174122_camusat_client/migration.sql +0 -2
  204. package/prisma/migrations/20240219060721_feature/migration.sql +0 -14
  205. package/prisma/migrations/20240220085809_emails/migration.sql +0 -82
  206. package/prisma/migrations/20240226075734_update_email_config_and_workorder/migration.sql +0 -33
  207. package/prisma/migrations/20240227112839_update_email_config/migration.sql +0 -2
  208. package/prisma/migrations/20240227124801_work_order_update/migration.sql +0 -6
  209. package/prisma/migrations/20240301063634_material/migration.sql +0 -40
  210. package/prisma/migrations/20240301064450_material/migration.sql +0 -8
  211. package/prisma/migrations/20240301071914_bill_of_material/migration.sql +0 -32
  212. package/prisma/migrations/20240301130744_dispatch_material/migration.sql +0 -19
  213. package/prisma/migrations/20240304051150_dispatch_material/migration.sql +0 -5
  214. package/prisma/migrations/20240304060722_dispatch_material/migration.sql +0 -5
  215. package/prisma/migrations/20240304060902_dispatch_material/migration.sql +0 -8
  216. package/prisma/migrations/20240304061156_dispatch_material/migration.sql +0 -9
  217. package/prisma/migrations/20240304173952_stock_movement/migration.sql +0 -40
  218. package/prisma/migrations/20240305072137_stock_movement/migration.sql +0 -239
  219. package/prisma/migrations/20240305072744_stock_movement/migration.sql +0 -12
  220. package/prisma/migrations/20240306055959_stock_movement/migration.sql +0 -11
  221. package/prisma/migrations/20240306062724_stock_movement/migration.sql +0 -2
  222. package/prisma/migrations/20240306113309_stock_movement/migration.sql +0 -8
  223. package/prisma/migrations/20240306141448_stock_movement/migration.sql +0 -5
  224. package/prisma/migrations/20240306144254_stock_movement/migration.sql +0 -5
  225. package/prisma/migrations/20240306154800_stock_movement/migration.sql +0 -8
  226. package/prisma/migrations/20240307095205_stock_movement/migration.sql +0 -16
  227. package/prisma/migrations/20240308175028_new/migration.sql +0 -8
  228. package/prisma/migrations/20240310114206_dispatch_project/migration.sql +0 -5
  229. package/prisma/migrations/20240311121226_new/migration.sql +0 -71
  230. package/prisma/migrations/20240311171024_new/migration.sql +0 -8
  231. package/prisma/migrations/20240312090511_material/migration.sql +0 -17
  232. package/prisma/migrations/20240312095600_material/migration.sql +0 -16
  233. package/prisma/migrations/20240312115431_material/migration.sql +0 -11
  234. package/prisma/migrations/20240316161358_work_order/migration.sql +0 -3
  235. package/prisma/migrations/20240318112352_problem_categorization/migration.sql +0 -14
  236. package/prisma/migrations/20240318112616_problem_categorization/migration.sql +0 -8
  237. package/prisma/migrations/20240319072457_work_order/migration.sql +0 -5
  238. package/prisma/migrations/20240320124008_dispatch_project/migration.sql +0 -26
  239. package/prisma/migrations/20240321081929_dispatch_project/migration.sql +0 -8
  240. package/prisma/migrations/20240321102139_work_order/migration.sql +0 -45
  241. package/prisma/migrations/20240321103420_work_order/migration.sql +0 -14
  242. package/prisma/migrations/20240321103537_work_order/migration.sql +0 -2
  243. package/prisma/migrations/20240322061027_material/migration.sql +0 -11
  244. package/prisma/migrations/20240323122952_work_order/migration.sql +0 -6
  245. package/prisma/migrations/20240323125822_work_order/migration.sql +0 -2
  246. package/prisma/migrations/20240325082900_work_order/migration.sql +0 -11
  247. package/prisma/migrations/20240326115608_work_order/migration.sql +0 -18
  248. package/prisma/migrations/20240327051438_work_order/migration.sql +0 -8
  249. package/prisma/migrations/20240327100905_work_order/migration.sql +0 -24
  250. package/prisma/migrations/20240328121421_work_order/migration.sql +0 -26
  251. package/prisma/migrations/20240328122320_work_order/migration.sql +0 -9
  252. package/prisma/migrations/20240328123833_work_order/migration.sql +0 -3
  253. package/prisma/migrations/20240328132921_work_order/migration.sql +0 -5
  254. package/prisma/migrations/20240328142205_work_order/migration.sql +0 -2
  255. package/prisma/migrations/20240401184203_billof_material/migration.sql +0 -8
  256. package/prisma/migrations/20240402125649_feature/migration.sql +0 -2
  257. package/prisma/migrations/20240404054220_project/migration.sql +0 -29
  258. package/prisma/migrations/20240407224722_user/migration.sql +0 -2
  259. package/prisma/migrations/20240408100730_template_component/migration.sql +0 -12
  260. package/prisma/migrations/20240409094754_template/migration.sql +0 -2
  261. package/prisma/migrations/20240409095653_template/migration.sql +0 -2
  262. package/prisma/migrations/20240409100032_features/migration.sql +0 -2
  263. package/prisma/migrations/20240409100313_project/migration.sql +0 -5
  264. package/prisma/migrations/20240411073053_subject_email_configurations/migration.sql +0 -2
  265. package/prisma/migrations/20240412093517_work_order_tasks/migration.sql +0 -3
  266. package/prisma/migrations/20240413085449_problem_categorization/migration.sql +0 -5
  267. package/prisma/migrations/20240415101559_project/migration.sql +0 -20
  268. package/prisma/migrations/20240417062104_sync_to_git/migration.sql +0 -122
  269. package/prisma/migrations/20240417125606_workorder/migration.sql +0 -2
  270. package/prisma/migrations/20240422112728_movement_logs/migration.sql +0 -17
  271. package/prisma/migrations/20240423100846_work_order_task/migration.sql +0 -3
  272. package/prisma/migrations/20240428163748_email_count/migration.sql +0 -6
  273. package/prisma/migrations/20240430112607_work_order_edit_logs/migration.sql +0 -25
  274. package/prisma/migrations/20240502051952_template_status_color/migration.sql +0 -2
  275. package/prisma/migrations/20240506195539_projecttypes/migration.sql +0 -29
  276. package/prisma/migrations/20240508074229_workorder_task/migration.sql +0 -2
  277. package/prisma/migrations/20240515065236_coms/migration.sql +0 -21
  278. package/prisma/migrations/20240516093046_subsidiary_prefix/migration.sql +0 -2
  279. package/prisma/migrations/20240516170701_/migration.sql +0 -9
  280. package/prisma/migrations/20240520093356_emailconfig/migration.sql +0 -13
  281. package/prisma/migrations/20240530093136_emailtemplates/migration.sql +0 -24
  282. package/prisma/migrations/20240530110729_emailtemplates/migration.sql +0 -4
  283. package/prisma/migrations/20240530113416_emailtemplates/migration.sql +0 -9
  284. package/prisma/migrations/20240605072947_audit/migration.sql +0 -2
  285. package/prisma/migrations/20240605130105_notification_tokens/migration.sql +0 -2
  286. package/prisma/migrations/20240606074325_notifications/migration.sql +0 -21
  287. package/prisma/migrations/20240606074819_notif2/migration.sql +0 -8
  288. package/prisma/migrations/20240606172109_excel_config/migration.sql +0 -2
  289. package/prisma/migrations/20240607094457_reportformats/migration.sql +0 -27
  290. package/prisma/migrations/20240611101040_audit_matrices/migration.sql +0 -2
  291. package/prisma/migrations/20240611102951_workorder_audit_matrix/migration.sql +0 -2
  292. package/prisma/migrations/20240613063600_dispatch_roles/migration.sql +0 -18
  293. package/prisma/migrations/20240613071005_permissions_view_schedule/migration.sql +0 -2
  294. package/prisma/migrations/20240703093757_email_templates_templateinfo/migration.sql +0 -2
  295. package/prisma/migrations/20240715124159_mainproject_roles/migration.sql +0 -5
  296. package/prisma/migrations/20240722073020_admin_permissions_update/migration.sql +0 -4
  297. package/prisma/migrations/20240722082135_edit_projects/migration.sql +0 -2
  298. package/prisma/migrations/20240726090437_user_refresh_token/migration.sql +0 -11
  299. package/prisma/migrations/20240729135109_project_workflow_edit/migration.sql +0 -2
  300. package/prisma/migrations/20240729140705_template_component_project_index/migration.sql +0 -2
  301. package/prisma/migrations/20240731061332_report_format_bom_info/migration.sql +0 -2
  302. package/prisma/migrations/20240805073630_user_platform_relationship/migration.sql +0 -17
  303. package/prisma/migrations/20240809075746_workorder_sla/migration.sql +0 -2
  304. package/prisma/migrations/20240814094717_platform_to_project/migration.sql +0 -17
  305. package/prisma/migrations/20240814102025_platforms_to_project/migration.sql +0 -8
  306. package/prisma/migrations/20240819093908_network_elements/migration.sql +0 -239
  307. package/prisma/migrations/20240820092024_network_element_attributes/migration.sql +0 -276
  308. package/prisma/migrations/20240826083231_fat_template/migration.sql +0 -45
  309. package/prisma/migrations/20240826085204_pbo_pbo_template_to_project/migration.sql +0 -23
  310. package/prisma/migrations/20240826091924_attributes_to_fat_optional/migration.sql +0 -15
  311. package/prisma/migrations/20240902094457_email_signature/migration.sql +0 -2
  312. package/prisma/migrations/20240904092123_pbo_fat_zone_geometry/migration.sql +0 -16
  313. package/prisma/migrations/20240905125754_fat_name_attributes/migration.sql +0 -3
  314. package/prisma/migrations/20240905131742_fat_attribute_visible_on_mobile/migration.sql +0 -2
  315. package/prisma/migrations/20240911083041_country_list_user/migration.sql +0 -17
  316. package/prisma/migrations/20240911135957_actiondate_workorder_activity_log/migration.sql +0 -2
  317. package/prisma/migrations/20240911140227_workorder_activity_log_action_date_string_to_datetime/migration.sql +0 -9
  318. package/prisma/migrations/20240916130344_cable_template/migration.sql +0 -72
  319. package/prisma/migrations/20240916132002_cable_terminal_access/migration.sql +0 -5
  320. package/prisma/migrations/20240917113037_cable_id_on_cable_attributes_optional/migration.sql +0 -8
  321. package/prisma/migrations/20240917114004_visible_on_mobile_cable_attributes/migration.sql +0 -2
  322. package/prisma/migrations/20240917114107_visible_on_mobile_cable_attributes/migration.sql +0 -9
  323. package/prisma/migrations/20240919080014_create_cluster_and_central_office_tables/migration.sql +0 -54
  324. package/prisma/migrations/20240920092832_create_qr_code/migration.sql +0 -39
  325. package/prisma/migrations/20240924121308_qrcode_tag/migration.sql +0 -23
  326. package/prisma/migrations/20241003093709_integration_login_permissions/migration.sql +0 -3
  327. package/prisma/migrations/20241024090904_project_phase/migration.sql +0 -2
  328. package/prisma/migrations/20241024115650_project_phase_log/migration.sql +0 -24
  329. package/prisma/migrations/20241026095632_pbo_fat_attributes/migration.sql +0 -2
  330. package/prisma/migrations/20241028095307_qr_code_template_i_ds/migration.sql +0 -9
  331. package/prisma/migrations/20241029081315_add_more_network_elements/migration.sql +0 -273
  332. package/prisma/migrations/20241029084826_cable_coordinates/migration.sql +0 -5
  333. package/prisma/migrations/20241029092244_splice_closure_to_project/migration.sql +0 -5
  334. package/prisma/migrations/20241029092705_splice_closure_to_cluster/migration.sql +0 -5
  335. package/prisma/migrations/20241029094049_network_element_templates/migration.sql +0 -295
  336. package/prisma/migrations/20241029102645_network_elements_name/migration.sql +0 -50
  337. package/prisma/migrations/20241102074544_mail_carboncopy_list/migration.sql +0 -2
  338. package/prisma/migrations/20241104114549_change_qr_code_to_qr_code_template/migration.sql +0 -122
  339. package/prisma/migrations/20241104121110_qr_code_template_to_network_element_template/migration.sql +0 -33
  340. package/prisma/migrations/20241106101316_zone_coordinates/migration.sql +0 -5
  341. package/prisma/migrations/20241201141127_auto_name_elements/migration.sql +0 -39
  342. package/prisma/migrations/20241201144124_auto_name_element/migration.sql +0 -39
  343. package/prisma/migrations/20241201150401_template_index/migration.sql +0 -29
  344. package/prisma/migrations/20241205084445_template_id/migration.sql +0 -59
  345. package/prisma/migrations/20241205093552_integration_project_user_status/migration.sql +0 -23
  346. package/prisma/migrations/20241211093653_installation_sequence/migration.sql +0 -90
  347. package/prisma/migrations/20241211150807_installation_index/migration.sql +0 -2
  348. package/prisma/migrations/20241217082800_cluster_boundary/migration.sql +0 -3
  349. package/prisma/migrations/20250114092907_workorder_to_pbo_fat/migration.sql +0 -5
  350. package/prisma/migrations/20250114112746_workorder_to_sfu_and_building/migration.sql +0 -9
  351. package/prisma/migrations/20250211070850_networkelement_sequence/migration.sql +0 -19
  352. package/prisma/migrations/20250211072332_refresh_db/migration.sql +0 -95
  353. package/prisma/migrations/20250211080946_installation_sequence_self_relation/migration.sql +0 -6
  354. package/prisma/migrations/20250220100853_cluster_to_user_status/migration.sql +0 -32
  355. package/prisma/migrations/20250228100106_qr_code_template_to_cluster/migration.sql +0 -5
  356. package/prisma/migrations/20250304155122_clusters_to_users_centraloffices_to_users/migration.sql +0 -50
  357. package/prisma/migrations/20250306100801_templates_to_projects/migration.sql +0 -244
  358. package/prisma/migrations/20250306101814_cluster_naming_convention/migration.sql +0 -2
  359. package/prisma/migrations/20250311083647_previous_equipment/migration.sql +0 -28
  360. package/prisma/migrations/20250311141713_make_qrcode_template_prefix_unique/migration.sql +0 -8
  361. package/prisma/migrations/20250313114158_ne_coordinates/migration.sql +0 -32
  362. package/prisma/migrations/20250317072348_integration_user_location_model/migration.sql +0 -23
  363. package/prisma/migrations/20250416100413_standardize_cluster_centraloffice_qrcode/migration.sql +0 -8
  364. package/prisma/migrations/20250514130302_work_order_pause_table/migration.sql +0 -18
  365. package/prisma/migrations/20250514143429_work_order_pauses_end_at_nullable/migration.sql +0 -2
  366. package/prisma/migrations/20250514144701_workorder_is_paused_column/migration.sql +0 -2
  367. package/prisma/migrations/20250516124919_team_to_dispatch_team/migration.sql +0 -5
  368. package/prisma/migrations/20250519061226_camusat_client_to_user/migration.sql +0 -16
  369. package/prisma/migrations/20250611094742_integration_reports_kpi/migration.sql +0 -136
  370. package/prisma/migrations/20250618064448_optionalize_report_metrics/migration.sql +0 -4
  371. package/prisma/migrations/20250618072220_metricids_to_reportvisualization/migration.sql +0 -12
  372. package/prisma/migrations/20250618140056_report_metric_type/migration.sql +0 -5
  373. package/prisma/migrations/20250701090108_network_element_classification/migration.sql +0 -5
  374. package/prisma/migrations/20250701095803_network_element_texts/migration.sql +0 -59
  375. package/prisma/migrations/20250702092223_network_elements_files/migration.sql +0 -59
  376. package/prisma/migrations/20250730060532_mapelements/migration.sql +0 -95
  377. package/prisma/migrations/20250730080107_map_element_type/migration.sql +0 -8
  378. package/prisma/migrations/20250730152717_map_element_templates_to_projects/migration.sql +0 -28
  379. package/prisma/migrations/20250825114129_as_built_coordinates/migration.sql +0 -23
  380. package/prisma/migrations/20250826103723_central_office_team/migration.sql +0 -44
  381. package/prisma/migrations/20250828071450_is_installed/migration.sql +0 -37
  382. package/prisma/migrations/20250828080138_installation_status/migration.sql +0 -2
  383. package/prisma/migrations/20250901055110_web_notifications/migration.sql +0 -8
  384. package/prisma/migrations/20250901072039_cluster_comments/migration.sql +0 -22
  385. package/prisma/migrations/20250901112738_cluster_status_phase/migration.sql +0 -17
  386. package/prisma/migrations/20250902073555_cluster_comments_type/migration.sql +0 -9
  387. package/prisma/migrations/20250902170717_ne_installation_status/migration.sql +0 -35
  388. package/prisma/migrations/20250903092620_network_element_revision/migration.sql +0 -91
  389. package/prisma/migrations/20250903094438_revision_to_cluster/migration.sql +0 -5
  390. package/prisma/migrations/20250909084233_element_node/migration.sql +0 -191
  391. package/prisma/migrations/20250925093531_cluster_notes/migration.sql +0 -27
  392. package/prisma/migrations/20251010080110_create_conduit_ne/migration.sql +0 -212
  393. package/prisma/migrations/20251010083652_conduit_coordinates/migration.sql +0 -2
  394. package/prisma/migrations/20251015110151_denormalized_attributes_fat/migration.sql +0 -79
  395. package/prisma/migrations/20251015114440_fat_maximum_capacity/migration.sql +0 -9
  396. package/prisma/migrations/20251022155308_client_revision_id/migration.sql +0 -2
  397. package/prisma/migrations/20251023080808_backfill_ne_attributes/migration.sql +0 -164
  398. package/prisma/migrations/20251023103204_ne_attribute_addition/migration.sql +0 -24
  399. package/prisma/migrations/20251023170405_building_address/migration.sql +0 -2
  400. package/prisma/migrations/20251025065659_sfu_address/migration.sql +0 -2
  401. package/prisma/migrations/20251028133222_workorder_config_custom_sla/migration.sql +0 -3
  402. package/prisma/migrations/20251029064618_sla_start_at/migration.sql +0 -2
  403. package/prisma/migrations/20251029072210_workorder_comments/migration.sql +0 -23
  404. package/prisma/migrations/20251105075805_cable_subcable/migration.sql +0 -7
  405. package/prisma/migrations/20251106090226_conduit_name_prefix/migration.sql +0 -2
  406. package/prisma/migrations/20251106101538_max_capacity_string/migration.sql +0 -2
  407. package/prisma/migrations/migration_lock.toml +0 -3
  408. package/prisma.config.ts +0 -18
@@ -1,1664 +0,0 @@
1
-
2
- /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
- /* eslint-disable */
4
- // biome-ignore-all lint: generated file
5
- // @ts-nocheck
6
- /*
7
- * This file exports the `MainProject` model and its related types.
8
- *
9
- * 🟢 You can import this file directly.
10
- */
11
- import type * as runtime from "@prisma/client/runtime/client"
12
- import type * as $Enums from "../enums.js"
13
- import type * as Prisma from "../internal/prismaNamespace.js"
14
-
15
- /**
16
- * Model MainProject
17
- *
18
- */
19
- export type MainProjectModel = runtime.Types.Result.DefaultSelection<Prisma.$MainProjectPayload>
20
-
21
- export type AggregateMainProject = {
22
- _count: MainProjectCountAggregateOutputType | null
23
- _avg: MainProjectAvgAggregateOutputType | null
24
- _sum: MainProjectSumAggregateOutputType | null
25
- _min: MainProjectMinAggregateOutputType | null
26
- _max: MainProjectMaxAggregateOutputType | null
27
- }
28
-
29
- export type MainProjectAvgAggregateOutputType = {
30
- no: number | null
31
- }
32
-
33
- export type MainProjectSumAggregateOutputType = {
34
- no: number | null
35
- }
36
-
37
- export type MainProjectMinAggregateOutputType = {
38
- id: string | null
39
- no: number | null
40
- camusatCountryId: string | null
41
- camusatClientId: string | null
42
- name: string | null
43
- }
44
-
45
- export type MainProjectMaxAggregateOutputType = {
46
- id: string | null
47
- no: number | null
48
- camusatCountryId: string | null
49
- camusatClientId: string | null
50
- name: string | null
51
- }
52
-
53
- export type MainProjectCountAggregateOutputType = {
54
- id: number
55
- no: number
56
- camusatCountryId: number
57
- camusatClientId: number
58
- name: number
59
- _all: number
60
- }
61
-
62
-
63
- export type MainProjectAvgAggregateInputType = {
64
- no?: true
65
- }
66
-
67
- export type MainProjectSumAggregateInputType = {
68
- no?: true
69
- }
70
-
71
- export type MainProjectMinAggregateInputType = {
72
- id?: true
73
- no?: true
74
- camusatCountryId?: true
75
- camusatClientId?: true
76
- name?: true
77
- }
78
-
79
- export type MainProjectMaxAggregateInputType = {
80
- id?: true
81
- no?: true
82
- camusatCountryId?: true
83
- camusatClientId?: true
84
- name?: true
85
- }
86
-
87
- export type MainProjectCountAggregateInputType = {
88
- id?: true
89
- no?: true
90
- camusatCountryId?: true
91
- camusatClientId?: true
92
- name?: true
93
- _all?: true
94
- }
95
-
96
- export type MainProjectAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
97
- /**
98
- * Filter which MainProject to aggregate.
99
- */
100
- where?: Prisma.MainProjectWhereInput
101
- /**
102
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
103
- *
104
- * Determine the order of MainProjects to fetch.
105
- */
106
- orderBy?: Prisma.MainProjectOrderByWithRelationInput | Prisma.MainProjectOrderByWithRelationInput[]
107
- /**
108
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
109
- *
110
- * Sets the start position
111
- */
112
- cursor?: Prisma.MainProjectWhereUniqueInput
113
- /**
114
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
115
- *
116
- * Take `±n` MainProjects from the position of the cursor.
117
- */
118
- take?: number
119
- /**
120
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
121
- *
122
- * Skip the first `n` MainProjects.
123
- */
124
- skip?: number
125
- /**
126
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
127
- *
128
- * Count returned MainProjects
129
- **/
130
- _count?: true | MainProjectCountAggregateInputType
131
- /**
132
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
133
- *
134
- * Select which fields to average
135
- **/
136
- _avg?: MainProjectAvgAggregateInputType
137
- /**
138
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
139
- *
140
- * Select which fields to sum
141
- **/
142
- _sum?: MainProjectSumAggregateInputType
143
- /**
144
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
145
- *
146
- * Select which fields to find the minimum value
147
- **/
148
- _min?: MainProjectMinAggregateInputType
149
- /**
150
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
151
- *
152
- * Select which fields to find the maximum value
153
- **/
154
- _max?: MainProjectMaxAggregateInputType
155
- }
156
-
157
- export type GetMainProjectAggregateType<T extends MainProjectAggregateArgs> = {
158
- [P in keyof T & keyof AggregateMainProject]: P extends '_count' | 'count'
159
- ? T[P] extends true
160
- ? number
161
- : Prisma.GetScalarType<T[P], AggregateMainProject[P]>
162
- : Prisma.GetScalarType<T[P], AggregateMainProject[P]>
163
- }
164
-
165
-
166
-
167
-
168
- export type MainProjectGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
169
- where?: Prisma.MainProjectWhereInput
170
- orderBy?: Prisma.MainProjectOrderByWithAggregationInput | Prisma.MainProjectOrderByWithAggregationInput[]
171
- by: Prisma.MainProjectScalarFieldEnum[] | Prisma.MainProjectScalarFieldEnum
172
- having?: Prisma.MainProjectScalarWhereWithAggregatesInput
173
- take?: number
174
- skip?: number
175
- _count?: MainProjectCountAggregateInputType | true
176
- _avg?: MainProjectAvgAggregateInputType
177
- _sum?: MainProjectSumAggregateInputType
178
- _min?: MainProjectMinAggregateInputType
179
- _max?: MainProjectMaxAggregateInputType
180
- }
181
-
182
- export type MainProjectGroupByOutputType = {
183
- id: string
184
- no: number
185
- camusatCountryId: string
186
- camusatClientId: string | null
187
- name: string
188
- _count: MainProjectCountAggregateOutputType | null
189
- _avg: MainProjectAvgAggregateOutputType | null
190
- _sum: MainProjectSumAggregateOutputType | null
191
- _min: MainProjectMinAggregateOutputType | null
192
- _max: MainProjectMaxAggregateOutputType | null
193
- }
194
-
195
- type GetMainProjectGroupByPayload<T extends MainProjectGroupByArgs> = Prisma.PrismaPromise<
196
- Array<
197
- Prisma.PickEnumerable<MainProjectGroupByOutputType, T['by']> &
198
- {
199
- [P in ((keyof T) & (keyof MainProjectGroupByOutputType))]: P extends '_count'
200
- ? T[P] extends boolean
201
- ? number
202
- : Prisma.GetScalarType<T[P], MainProjectGroupByOutputType[P]>
203
- : Prisma.GetScalarType<T[P], MainProjectGroupByOutputType[P]>
204
- }
205
- >
206
- >
207
-
208
-
209
-
210
- export type MainProjectWhereInput = {
211
- AND?: Prisma.MainProjectWhereInput | Prisma.MainProjectWhereInput[]
212
- OR?: Prisma.MainProjectWhereInput[]
213
- NOT?: Prisma.MainProjectWhereInput | Prisma.MainProjectWhereInput[]
214
- id?: Prisma.StringFilter<"MainProject"> | string
215
- no?: Prisma.IntFilter<"MainProject"> | number
216
- camusatCountryId?: Prisma.StringFilter<"MainProject"> | string
217
- camusatClientId?: Prisma.StringNullableFilter<"MainProject"> | string | null
218
- name?: Prisma.StringFilter<"MainProject"> | string
219
- CamusatCountry?: Prisma.XOR<Prisma.CamusatCountryScalarRelationFilter, Prisma.CamusatCountryWhereInput>
220
- CamusatClient?: Prisma.XOR<Prisma.CamusatClientNullableScalarRelationFilter, Prisma.CamusatClientWhereInput> | null
221
- projects?: Prisma.ProjectListRelationFilter
222
- }
223
-
224
- export type MainProjectOrderByWithRelationInput = {
225
- id?: Prisma.SortOrder
226
- no?: Prisma.SortOrder
227
- camusatCountryId?: Prisma.SortOrder
228
- camusatClientId?: Prisma.SortOrderInput | Prisma.SortOrder
229
- name?: Prisma.SortOrder
230
- CamusatCountry?: Prisma.CamusatCountryOrderByWithRelationInput
231
- CamusatClient?: Prisma.CamusatClientOrderByWithRelationInput
232
- projects?: Prisma.ProjectOrderByRelationAggregateInput
233
- }
234
-
235
- export type MainProjectWhereUniqueInput = Prisma.AtLeast<{
236
- id?: string
237
- AND?: Prisma.MainProjectWhereInput | Prisma.MainProjectWhereInput[]
238
- OR?: Prisma.MainProjectWhereInput[]
239
- NOT?: Prisma.MainProjectWhereInput | Prisma.MainProjectWhereInput[]
240
- no?: Prisma.IntFilter<"MainProject"> | number
241
- camusatCountryId?: Prisma.StringFilter<"MainProject"> | string
242
- camusatClientId?: Prisma.StringNullableFilter<"MainProject"> | string | null
243
- name?: Prisma.StringFilter<"MainProject"> | string
244
- CamusatCountry?: Prisma.XOR<Prisma.CamusatCountryScalarRelationFilter, Prisma.CamusatCountryWhereInput>
245
- CamusatClient?: Prisma.XOR<Prisma.CamusatClientNullableScalarRelationFilter, Prisma.CamusatClientWhereInput> | null
246
- projects?: Prisma.ProjectListRelationFilter
247
- }, "id" | "id">
248
-
249
- export type MainProjectOrderByWithAggregationInput = {
250
- id?: Prisma.SortOrder
251
- no?: Prisma.SortOrder
252
- camusatCountryId?: Prisma.SortOrder
253
- camusatClientId?: Prisma.SortOrderInput | Prisma.SortOrder
254
- name?: Prisma.SortOrder
255
- _count?: Prisma.MainProjectCountOrderByAggregateInput
256
- _avg?: Prisma.MainProjectAvgOrderByAggregateInput
257
- _max?: Prisma.MainProjectMaxOrderByAggregateInput
258
- _min?: Prisma.MainProjectMinOrderByAggregateInput
259
- _sum?: Prisma.MainProjectSumOrderByAggregateInput
260
- }
261
-
262
- export type MainProjectScalarWhereWithAggregatesInput = {
263
- AND?: Prisma.MainProjectScalarWhereWithAggregatesInput | Prisma.MainProjectScalarWhereWithAggregatesInput[]
264
- OR?: Prisma.MainProjectScalarWhereWithAggregatesInput[]
265
- NOT?: Prisma.MainProjectScalarWhereWithAggregatesInput | Prisma.MainProjectScalarWhereWithAggregatesInput[]
266
- id?: Prisma.StringWithAggregatesFilter<"MainProject"> | string
267
- no?: Prisma.IntWithAggregatesFilter<"MainProject"> | number
268
- camusatCountryId?: Prisma.StringWithAggregatesFilter<"MainProject"> | string
269
- camusatClientId?: Prisma.StringNullableWithAggregatesFilter<"MainProject"> | string | null
270
- name?: Prisma.StringWithAggregatesFilter<"MainProject"> | string
271
- }
272
-
273
- export type MainProjectCreateInput = {
274
- id?: string
275
- no?: number
276
- name: string
277
- CamusatCountry: Prisma.CamusatCountryCreateNestedOneWithoutMainProjectsInput
278
- CamusatClient?: Prisma.CamusatClientCreateNestedOneWithoutMainProjectInput
279
- projects?: Prisma.ProjectCreateNestedManyWithoutMainProjectInput
280
- }
281
-
282
- export type MainProjectUncheckedCreateInput = {
283
- id?: string
284
- no?: number
285
- camusatCountryId: string
286
- camusatClientId?: string | null
287
- name: string
288
- projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutMainProjectInput
289
- }
290
-
291
- export type MainProjectUpdateInput = {
292
- id?: Prisma.StringFieldUpdateOperationsInput | string
293
- no?: Prisma.IntFieldUpdateOperationsInput | number
294
- name?: Prisma.StringFieldUpdateOperationsInput | string
295
- CamusatCountry?: Prisma.CamusatCountryUpdateOneRequiredWithoutMainProjectsNestedInput
296
- CamusatClient?: Prisma.CamusatClientUpdateOneWithoutMainProjectNestedInput
297
- projects?: Prisma.ProjectUpdateManyWithoutMainProjectNestedInput
298
- }
299
-
300
- export type MainProjectUncheckedUpdateInput = {
301
- id?: Prisma.StringFieldUpdateOperationsInput | string
302
- no?: Prisma.IntFieldUpdateOperationsInput | number
303
- camusatCountryId?: Prisma.StringFieldUpdateOperationsInput | string
304
- camusatClientId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
305
- name?: Prisma.StringFieldUpdateOperationsInput | string
306
- projects?: Prisma.ProjectUncheckedUpdateManyWithoutMainProjectNestedInput
307
- }
308
-
309
- export type MainProjectCreateManyInput = {
310
- id?: string
311
- no?: number
312
- camusatCountryId: string
313
- camusatClientId?: string | null
314
- name: string
315
- }
316
-
317
- export type MainProjectUpdateManyMutationInput = {
318
- id?: Prisma.StringFieldUpdateOperationsInput | string
319
- no?: Prisma.IntFieldUpdateOperationsInput | number
320
- name?: Prisma.StringFieldUpdateOperationsInput | string
321
- }
322
-
323
- export type MainProjectUncheckedUpdateManyInput = {
324
- id?: Prisma.StringFieldUpdateOperationsInput | string
325
- no?: Prisma.IntFieldUpdateOperationsInput | number
326
- camusatCountryId?: Prisma.StringFieldUpdateOperationsInput | string
327
- camusatClientId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
328
- name?: Prisma.StringFieldUpdateOperationsInput | string
329
- }
330
-
331
- export type MainProjectListRelationFilter = {
332
- every?: Prisma.MainProjectWhereInput
333
- some?: Prisma.MainProjectWhereInput
334
- none?: Prisma.MainProjectWhereInput
335
- }
336
-
337
- export type MainProjectOrderByRelationAggregateInput = {
338
- _count?: Prisma.SortOrder
339
- }
340
-
341
- export type MainProjectCountOrderByAggregateInput = {
342
- id?: Prisma.SortOrder
343
- no?: Prisma.SortOrder
344
- camusatCountryId?: Prisma.SortOrder
345
- camusatClientId?: Prisma.SortOrder
346
- name?: Prisma.SortOrder
347
- }
348
-
349
- export type MainProjectAvgOrderByAggregateInput = {
350
- no?: Prisma.SortOrder
351
- }
352
-
353
- export type MainProjectMaxOrderByAggregateInput = {
354
- id?: Prisma.SortOrder
355
- no?: Prisma.SortOrder
356
- camusatCountryId?: Prisma.SortOrder
357
- camusatClientId?: Prisma.SortOrder
358
- name?: Prisma.SortOrder
359
- }
360
-
361
- export type MainProjectMinOrderByAggregateInput = {
362
- id?: Prisma.SortOrder
363
- no?: Prisma.SortOrder
364
- camusatCountryId?: Prisma.SortOrder
365
- camusatClientId?: Prisma.SortOrder
366
- name?: Prisma.SortOrder
367
- }
368
-
369
- export type MainProjectSumOrderByAggregateInput = {
370
- no?: Prisma.SortOrder
371
- }
372
-
373
- export type MainProjectScalarRelationFilter = {
374
- is?: Prisma.MainProjectWhereInput
375
- isNot?: Prisma.MainProjectWhereInput
376
- }
377
-
378
- export type MainProjectCreateNestedManyWithoutCamusatCountryInput = {
379
- create?: Prisma.XOR<Prisma.MainProjectCreateWithoutCamusatCountryInput, Prisma.MainProjectUncheckedCreateWithoutCamusatCountryInput> | Prisma.MainProjectCreateWithoutCamusatCountryInput[] | Prisma.MainProjectUncheckedCreateWithoutCamusatCountryInput[]
380
- connectOrCreate?: Prisma.MainProjectCreateOrConnectWithoutCamusatCountryInput | Prisma.MainProjectCreateOrConnectWithoutCamusatCountryInput[]
381
- createMany?: Prisma.MainProjectCreateManyCamusatCountryInputEnvelope
382
- connect?: Prisma.MainProjectWhereUniqueInput | Prisma.MainProjectWhereUniqueInput[]
383
- }
384
-
385
- export type MainProjectUncheckedCreateNestedManyWithoutCamusatCountryInput = {
386
- create?: Prisma.XOR<Prisma.MainProjectCreateWithoutCamusatCountryInput, Prisma.MainProjectUncheckedCreateWithoutCamusatCountryInput> | Prisma.MainProjectCreateWithoutCamusatCountryInput[] | Prisma.MainProjectUncheckedCreateWithoutCamusatCountryInput[]
387
- connectOrCreate?: Prisma.MainProjectCreateOrConnectWithoutCamusatCountryInput | Prisma.MainProjectCreateOrConnectWithoutCamusatCountryInput[]
388
- createMany?: Prisma.MainProjectCreateManyCamusatCountryInputEnvelope
389
- connect?: Prisma.MainProjectWhereUniqueInput | Prisma.MainProjectWhereUniqueInput[]
390
- }
391
-
392
- export type MainProjectUpdateManyWithoutCamusatCountryNestedInput = {
393
- create?: Prisma.XOR<Prisma.MainProjectCreateWithoutCamusatCountryInput, Prisma.MainProjectUncheckedCreateWithoutCamusatCountryInput> | Prisma.MainProjectCreateWithoutCamusatCountryInput[] | Prisma.MainProjectUncheckedCreateWithoutCamusatCountryInput[]
394
- connectOrCreate?: Prisma.MainProjectCreateOrConnectWithoutCamusatCountryInput | Prisma.MainProjectCreateOrConnectWithoutCamusatCountryInput[]
395
- upsert?: Prisma.MainProjectUpsertWithWhereUniqueWithoutCamusatCountryInput | Prisma.MainProjectUpsertWithWhereUniqueWithoutCamusatCountryInput[]
396
- createMany?: Prisma.MainProjectCreateManyCamusatCountryInputEnvelope
397
- set?: Prisma.MainProjectWhereUniqueInput | Prisma.MainProjectWhereUniqueInput[]
398
- disconnect?: Prisma.MainProjectWhereUniqueInput | Prisma.MainProjectWhereUniqueInput[]
399
- delete?: Prisma.MainProjectWhereUniqueInput | Prisma.MainProjectWhereUniqueInput[]
400
- connect?: Prisma.MainProjectWhereUniqueInput | Prisma.MainProjectWhereUniqueInput[]
401
- update?: Prisma.MainProjectUpdateWithWhereUniqueWithoutCamusatCountryInput | Prisma.MainProjectUpdateWithWhereUniqueWithoutCamusatCountryInput[]
402
- updateMany?: Prisma.MainProjectUpdateManyWithWhereWithoutCamusatCountryInput | Prisma.MainProjectUpdateManyWithWhereWithoutCamusatCountryInput[]
403
- deleteMany?: Prisma.MainProjectScalarWhereInput | Prisma.MainProjectScalarWhereInput[]
404
- }
405
-
406
- export type MainProjectUncheckedUpdateManyWithoutCamusatCountryNestedInput = {
407
- create?: Prisma.XOR<Prisma.MainProjectCreateWithoutCamusatCountryInput, Prisma.MainProjectUncheckedCreateWithoutCamusatCountryInput> | Prisma.MainProjectCreateWithoutCamusatCountryInput[] | Prisma.MainProjectUncheckedCreateWithoutCamusatCountryInput[]
408
- connectOrCreate?: Prisma.MainProjectCreateOrConnectWithoutCamusatCountryInput | Prisma.MainProjectCreateOrConnectWithoutCamusatCountryInput[]
409
- upsert?: Prisma.MainProjectUpsertWithWhereUniqueWithoutCamusatCountryInput | Prisma.MainProjectUpsertWithWhereUniqueWithoutCamusatCountryInput[]
410
- createMany?: Prisma.MainProjectCreateManyCamusatCountryInputEnvelope
411
- set?: Prisma.MainProjectWhereUniqueInput | Prisma.MainProjectWhereUniqueInput[]
412
- disconnect?: Prisma.MainProjectWhereUniqueInput | Prisma.MainProjectWhereUniqueInput[]
413
- delete?: Prisma.MainProjectWhereUniqueInput | Prisma.MainProjectWhereUniqueInput[]
414
- connect?: Prisma.MainProjectWhereUniqueInput | Prisma.MainProjectWhereUniqueInput[]
415
- update?: Prisma.MainProjectUpdateWithWhereUniqueWithoutCamusatCountryInput | Prisma.MainProjectUpdateWithWhereUniqueWithoutCamusatCountryInput[]
416
- updateMany?: Prisma.MainProjectUpdateManyWithWhereWithoutCamusatCountryInput | Prisma.MainProjectUpdateManyWithWhereWithoutCamusatCountryInput[]
417
- deleteMany?: Prisma.MainProjectScalarWhereInput | Prisma.MainProjectScalarWhereInput[]
418
- }
419
-
420
- export type MainProjectCreateNestedManyWithoutCamusatClientInput = {
421
- create?: Prisma.XOR<Prisma.MainProjectCreateWithoutCamusatClientInput, Prisma.MainProjectUncheckedCreateWithoutCamusatClientInput> | Prisma.MainProjectCreateWithoutCamusatClientInput[] | Prisma.MainProjectUncheckedCreateWithoutCamusatClientInput[]
422
- connectOrCreate?: Prisma.MainProjectCreateOrConnectWithoutCamusatClientInput | Prisma.MainProjectCreateOrConnectWithoutCamusatClientInput[]
423
- createMany?: Prisma.MainProjectCreateManyCamusatClientInputEnvelope
424
- connect?: Prisma.MainProjectWhereUniqueInput | Prisma.MainProjectWhereUniqueInput[]
425
- }
426
-
427
- export type MainProjectUncheckedCreateNestedManyWithoutCamusatClientInput = {
428
- create?: Prisma.XOR<Prisma.MainProjectCreateWithoutCamusatClientInput, Prisma.MainProjectUncheckedCreateWithoutCamusatClientInput> | Prisma.MainProjectCreateWithoutCamusatClientInput[] | Prisma.MainProjectUncheckedCreateWithoutCamusatClientInput[]
429
- connectOrCreate?: Prisma.MainProjectCreateOrConnectWithoutCamusatClientInput | Prisma.MainProjectCreateOrConnectWithoutCamusatClientInput[]
430
- createMany?: Prisma.MainProjectCreateManyCamusatClientInputEnvelope
431
- connect?: Prisma.MainProjectWhereUniqueInput | Prisma.MainProjectWhereUniqueInput[]
432
- }
433
-
434
- export type MainProjectUpdateManyWithoutCamusatClientNestedInput = {
435
- create?: Prisma.XOR<Prisma.MainProjectCreateWithoutCamusatClientInput, Prisma.MainProjectUncheckedCreateWithoutCamusatClientInput> | Prisma.MainProjectCreateWithoutCamusatClientInput[] | Prisma.MainProjectUncheckedCreateWithoutCamusatClientInput[]
436
- connectOrCreate?: Prisma.MainProjectCreateOrConnectWithoutCamusatClientInput | Prisma.MainProjectCreateOrConnectWithoutCamusatClientInput[]
437
- upsert?: Prisma.MainProjectUpsertWithWhereUniqueWithoutCamusatClientInput | Prisma.MainProjectUpsertWithWhereUniqueWithoutCamusatClientInput[]
438
- createMany?: Prisma.MainProjectCreateManyCamusatClientInputEnvelope
439
- set?: Prisma.MainProjectWhereUniqueInput | Prisma.MainProjectWhereUniqueInput[]
440
- disconnect?: Prisma.MainProjectWhereUniqueInput | Prisma.MainProjectWhereUniqueInput[]
441
- delete?: Prisma.MainProjectWhereUniqueInput | Prisma.MainProjectWhereUniqueInput[]
442
- connect?: Prisma.MainProjectWhereUniqueInput | Prisma.MainProjectWhereUniqueInput[]
443
- update?: Prisma.MainProjectUpdateWithWhereUniqueWithoutCamusatClientInput | Prisma.MainProjectUpdateWithWhereUniqueWithoutCamusatClientInput[]
444
- updateMany?: Prisma.MainProjectUpdateManyWithWhereWithoutCamusatClientInput | Prisma.MainProjectUpdateManyWithWhereWithoutCamusatClientInput[]
445
- deleteMany?: Prisma.MainProjectScalarWhereInput | Prisma.MainProjectScalarWhereInput[]
446
- }
447
-
448
- export type MainProjectUncheckedUpdateManyWithoutCamusatClientNestedInput = {
449
- create?: Prisma.XOR<Prisma.MainProjectCreateWithoutCamusatClientInput, Prisma.MainProjectUncheckedCreateWithoutCamusatClientInput> | Prisma.MainProjectCreateWithoutCamusatClientInput[] | Prisma.MainProjectUncheckedCreateWithoutCamusatClientInput[]
450
- connectOrCreate?: Prisma.MainProjectCreateOrConnectWithoutCamusatClientInput | Prisma.MainProjectCreateOrConnectWithoutCamusatClientInput[]
451
- upsert?: Prisma.MainProjectUpsertWithWhereUniqueWithoutCamusatClientInput | Prisma.MainProjectUpsertWithWhereUniqueWithoutCamusatClientInput[]
452
- createMany?: Prisma.MainProjectCreateManyCamusatClientInputEnvelope
453
- set?: Prisma.MainProjectWhereUniqueInput | Prisma.MainProjectWhereUniqueInput[]
454
- disconnect?: Prisma.MainProjectWhereUniqueInput | Prisma.MainProjectWhereUniqueInput[]
455
- delete?: Prisma.MainProjectWhereUniqueInput | Prisma.MainProjectWhereUniqueInput[]
456
- connect?: Prisma.MainProjectWhereUniqueInput | Prisma.MainProjectWhereUniqueInput[]
457
- update?: Prisma.MainProjectUpdateWithWhereUniqueWithoutCamusatClientInput | Prisma.MainProjectUpdateWithWhereUniqueWithoutCamusatClientInput[]
458
- updateMany?: Prisma.MainProjectUpdateManyWithWhereWithoutCamusatClientInput | Prisma.MainProjectUpdateManyWithWhereWithoutCamusatClientInput[]
459
- deleteMany?: Prisma.MainProjectScalarWhereInput | Prisma.MainProjectScalarWhereInput[]
460
- }
461
-
462
- export type MainProjectCreateNestedOneWithoutProjectsInput = {
463
- create?: Prisma.XOR<Prisma.MainProjectCreateWithoutProjectsInput, Prisma.MainProjectUncheckedCreateWithoutProjectsInput>
464
- connectOrCreate?: Prisma.MainProjectCreateOrConnectWithoutProjectsInput
465
- connect?: Prisma.MainProjectWhereUniqueInput
466
- }
467
-
468
- export type MainProjectUpdateOneRequiredWithoutProjectsNestedInput = {
469
- create?: Prisma.XOR<Prisma.MainProjectCreateWithoutProjectsInput, Prisma.MainProjectUncheckedCreateWithoutProjectsInput>
470
- connectOrCreate?: Prisma.MainProjectCreateOrConnectWithoutProjectsInput
471
- upsert?: Prisma.MainProjectUpsertWithoutProjectsInput
472
- connect?: Prisma.MainProjectWhereUniqueInput
473
- update?: Prisma.XOR<Prisma.XOR<Prisma.MainProjectUpdateToOneWithWhereWithoutProjectsInput, Prisma.MainProjectUpdateWithoutProjectsInput>, Prisma.MainProjectUncheckedUpdateWithoutProjectsInput>
474
- }
475
-
476
- export type MainProjectCreateWithoutCamusatCountryInput = {
477
- id?: string
478
- no?: number
479
- name: string
480
- CamusatClient?: Prisma.CamusatClientCreateNestedOneWithoutMainProjectInput
481
- projects?: Prisma.ProjectCreateNestedManyWithoutMainProjectInput
482
- }
483
-
484
- export type MainProjectUncheckedCreateWithoutCamusatCountryInput = {
485
- id?: string
486
- no?: number
487
- camusatClientId?: string | null
488
- name: string
489
- projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutMainProjectInput
490
- }
491
-
492
- export type MainProjectCreateOrConnectWithoutCamusatCountryInput = {
493
- where: Prisma.MainProjectWhereUniqueInput
494
- create: Prisma.XOR<Prisma.MainProjectCreateWithoutCamusatCountryInput, Prisma.MainProjectUncheckedCreateWithoutCamusatCountryInput>
495
- }
496
-
497
- export type MainProjectCreateManyCamusatCountryInputEnvelope = {
498
- data: Prisma.MainProjectCreateManyCamusatCountryInput | Prisma.MainProjectCreateManyCamusatCountryInput[]
499
- skipDuplicates?: boolean
500
- }
501
-
502
- export type MainProjectUpsertWithWhereUniqueWithoutCamusatCountryInput = {
503
- where: Prisma.MainProjectWhereUniqueInput
504
- update: Prisma.XOR<Prisma.MainProjectUpdateWithoutCamusatCountryInput, Prisma.MainProjectUncheckedUpdateWithoutCamusatCountryInput>
505
- create: Prisma.XOR<Prisma.MainProjectCreateWithoutCamusatCountryInput, Prisma.MainProjectUncheckedCreateWithoutCamusatCountryInput>
506
- }
507
-
508
- export type MainProjectUpdateWithWhereUniqueWithoutCamusatCountryInput = {
509
- where: Prisma.MainProjectWhereUniqueInput
510
- data: Prisma.XOR<Prisma.MainProjectUpdateWithoutCamusatCountryInput, Prisma.MainProjectUncheckedUpdateWithoutCamusatCountryInput>
511
- }
512
-
513
- export type MainProjectUpdateManyWithWhereWithoutCamusatCountryInput = {
514
- where: Prisma.MainProjectScalarWhereInput
515
- data: Prisma.XOR<Prisma.MainProjectUpdateManyMutationInput, Prisma.MainProjectUncheckedUpdateManyWithoutCamusatCountryInput>
516
- }
517
-
518
- export type MainProjectScalarWhereInput = {
519
- AND?: Prisma.MainProjectScalarWhereInput | Prisma.MainProjectScalarWhereInput[]
520
- OR?: Prisma.MainProjectScalarWhereInput[]
521
- NOT?: Prisma.MainProjectScalarWhereInput | Prisma.MainProjectScalarWhereInput[]
522
- id?: Prisma.StringFilter<"MainProject"> | string
523
- no?: Prisma.IntFilter<"MainProject"> | number
524
- camusatCountryId?: Prisma.StringFilter<"MainProject"> | string
525
- camusatClientId?: Prisma.StringNullableFilter<"MainProject"> | string | null
526
- name?: Prisma.StringFilter<"MainProject"> | string
527
- }
528
-
529
- export type MainProjectCreateWithoutCamusatClientInput = {
530
- id?: string
531
- no?: number
532
- name: string
533
- CamusatCountry: Prisma.CamusatCountryCreateNestedOneWithoutMainProjectsInput
534
- projects?: Prisma.ProjectCreateNestedManyWithoutMainProjectInput
535
- }
536
-
537
- export type MainProjectUncheckedCreateWithoutCamusatClientInput = {
538
- id?: string
539
- no?: number
540
- camusatCountryId: string
541
- name: string
542
- projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutMainProjectInput
543
- }
544
-
545
- export type MainProjectCreateOrConnectWithoutCamusatClientInput = {
546
- where: Prisma.MainProjectWhereUniqueInput
547
- create: Prisma.XOR<Prisma.MainProjectCreateWithoutCamusatClientInput, Prisma.MainProjectUncheckedCreateWithoutCamusatClientInput>
548
- }
549
-
550
- export type MainProjectCreateManyCamusatClientInputEnvelope = {
551
- data: Prisma.MainProjectCreateManyCamusatClientInput | Prisma.MainProjectCreateManyCamusatClientInput[]
552
- skipDuplicates?: boolean
553
- }
554
-
555
- export type MainProjectUpsertWithWhereUniqueWithoutCamusatClientInput = {
556
- where: Prisma.MainProjectWhereUniqueInput
557
- update: Prisma.XOR<Prisma.MainProjectUpdateWithoutCamusatClientInput, Prisma.MainProjectUncheckedUpdateWithoutCamusatClientInput>
558
- create: Prisma.XOR<Prisma.MainProjectCreateWithoutCamusatClientInput, Prisma.MainProjectUncheckedCreateWithoutCamusatClientInput>
559
- }
560
-
561
- export type MainProjectUpdateWithWhereUniqueWithoutCamusatClientInput = {
562
- where: Prisma.MainProjectWhereUniqueInput
563
- data: Prisma.XOR<Prisma.MainProjectUpdateWithoutCamusatClientInput, Prisma.MainProjectUncheckedUpdateWithoutCamusatClientInput>
564
- }
565
-
566
- export type MainProjectUpdateManyWithWhereWithoutCamusatClientInput = {
567
- where: Prisma.MainProjectScalarWhereInput
568
- data: Prisma.XOR<Prisma.MainProjectUpdateManyMutationInput, Prisma.MainProjectUncheckedUpdateManyWithoutCamusatClientInput>
569
- }
570
-
571
- export type MainProjectCreateWithoutProjectsInput = {
572
- id?: string
573
- no?: number
574
- name: string
575
- CamusatCountry: Prisma.CamusatCountryCreateNestedOneWithoutMainProjectsInput
576
- CamusatClient?: Prisma.CamusatClientCreateNestedOneWithoutMainProjectInput
577
- }
578
-
579
- export type MainProjectUncheckedCreateWithoutProjectsInput = {
580
- id?: string
581
- no?: number
582
- camusatCountryId: string
583
- camusatClientId?: string | null
584
- name: string
585
- }
586
-
587
- export type MainProjectCreateOrConnectWithoutProjectsInput = {
588
- where: Prisma.MainProjectWhereUniqueInput
589
- create: Prisma.XOR<Prisma.MainProjectCreateWithoutProjectsInput, Prisma.MainProjectUncheckedCreateWithoutProjectsInput>
590
- }
591
-
592
- export type MainProjectUpsertWithoutProjectsInput = {
593
- update: Prisma.XOR<Prisma.MainProjectUpdateWithoutProjectsInput, Prisma.MainProjectUncheckedUpdateWithoutProjectsInput>
594
- create: Prisma.XOR<Prisma.MainProjectCreateWithoutProjectsInput, Prisma.MainProjectUncheckedCreateWithoutProjectsInput>
595
- where?: Prisma.MainProjectWhereInput
596
- }
597
-
598
- export type MainProjectUpdateToOneWithWhereWithoutProjectsInput = {
599
- where?: Prisma.MainProjectWhereInput
600
- data: Prisma.XOR<Prisma.MainProjectUpdateWithoutProjectsInput, Prisma.MainProjectUncheckedUpdateWithoutProjectsInput>
601
- }
602
-
603
- export type MainProjectUpdateWithoutProjectsInput = {
604
- id?: Prisma.StringFieldUpdateOperationsInput | string
605
- no?: Prisma.IntFieldUpdateOperationsInput | number
606
- name?: Prisma.StringFieldUpdateOperationsInput | string
607
- CamusatCountry?: Prisma.CamusatCountryUpdateOneRequiredWithoutMainProjectsNestedInput
608
- CamusatClient?: Prisma.CamusatClientUpdateOneWithoutMainProjectNestedInput
609
- }
610
-
611
- export type MainProjectUncheckedUpdateWithoutProjectsInput = {
612
- id?: Prisma.StringFieldUpdateOperationsInput | string
613
- no?: Prisma.IntFieldUpdateOperationsInput | number
614
- camusatCountryId?: Prisma.StringFieldUpdateOperationsInput | string
615
- camusatClientId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
616
- name?: Prisma.StringFieldUpdateOperationsInput | string
617
- }
618
-
619
- export type MainProjectCreateManyCamusatCountryInput = {
620
- id?: string
621
- no?: number
622
- camusatClientId?: string | null
623
- name: string
624
- }
625
-
626
- export type MainProjectUpdateWithoutCamusatCountryInput = {
627
- id?: Prisma.StringFieldUpdateOperationsInput | string
628
- no?: Prisma.IntFieldUpdateOperationsInput | number
629
- name?: Prisma.StringFieldUpdateOperationsInput | string
630
- CamusatClient?: Prisma.CamusatClientUpdateOneWithoutMainProjectNestedInput
631
- projects?: Prisma.ProjectUpdateManyWithoutMainProjectNestedInput
632
- }
633
-
634
- export type MainProjectUncheckedUpdateWithoutCamusatCountryInput = {
635
- id?: Prisma.StringFieldUpdateOperationsInput | string
636
- no?: Prisma.IntFieldUpdateOperationsInput | number
637
- camusatClientId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
638
- name?: Prisma.StringFieldUpdateOperationsInput | string
639
- projects?: Prisma.ProjectUncheckedUpdateManyWithoutMainProjectNestedInput
640
- }
641
-
642
- export type MainProjectUncheckedUpdateManyWithoutCamusatCountryInput = {
643
- id?: Prisma.StringFieldUpdateOperationsInput | string
644
- no?: Prisma.IntFieldUpdateOperationsInput | number
645
- camusatClientId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
646
- name?: Prisma.StringFieldUpdateOperationsInput | string
647
- }
648
-
649
- export type MainProjectCreateManyCamusatClientInput = {
650
- id?: string
651
- no?: number
652
- camusatCountryId: string
653
- name: string
654
- }
655
-
656
- export type MainProjectUpdateWithoutCamusatClientInput = {
657
- id?: Prisma.StringFieldUpdateOperationsInput | string
658
- no?: Prisma.IntFieldUpdateOperationsInput | number
659
- name?: Prisma.StringFieldUpdateOperationsInput | string
660
- CamusatCountry?: Prisma.CamusatCountryUpdateOneRequiredWithoutMainProjectsNestedInput
661
- projects?: Prisma.ProjectUpdateManyWithoutMainProjectNestedInput
662
- }
663
-
664
- export type MainProjectUncheckedUpdateWithoutCamusatClientInput = {
665
- id?: Prisma.StringFieldUpdateOperationsInput | string
666
- no?: Prisma.IntFieldUpdateOperationsInput | number
667
- camusatCountryId?: Prisma.StringFieldUpdateOperationsInput | string
668
- name?: Prisma.StringFieldUpdateOperationsInput | string
669
- projects?: Prisma.ProjectUncheckedUpdateManyWithoutMainProjectNestedInput
670
- }
671
-
672
- export type MainProjectUncheckedUpdateManyWithoutCamusatClientInput = {
673
- id?: Prisma.StringFieldUpdateOperationsInput | string
674
- no?: Prisma.IntFieldUpdateOperationsInput | number
675
- camusatCountryId?: Prisma.StringFieldUpdateOperationsInput | string
676
- name?: Prisma.StringFieldUpdateOperationsInput | string
677
- }
678
-
679
-
680
- /**
681
- * Count Type MainProjectCountOutputType
682
- */
683
-
684
- export type MainProjectCountOutputType = {
685
- projects: number
686
- }
687
-
688
- export type MainProjectCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
689
- projects?: boolean | MainProjectCountOutputTypeCountProjectsArgs
690
- }
691
-
692
- /**
693
- * MainProjectCountOutputType without action
694
- */
695
- export type MainProjectCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
696
- /**
697
- * Select specific fields to fetch from the MainProjectCountOutputType
698
- */
699
- select?: Prisma.MainProjectCountOutputTypeSelect<ExtArgs> | null
700
- }
701
-
702
- /**
703
- * MainProjectCountOutputType without action
704
- */
705
- export type MainProjectCountOutputTypeCountProjectsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
706
- where?: Prisma.ProjectWhereInput
707
- }
708
-
709
-
710
- export type MainProjectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
711
- id?: boolean
712
- no?: boolean
713
- camusatCountryId?: boolean
714
- camusatClientId?: boolean
715
- name?: boolean
716
- CamusatCountry?: boolean | Prisma.CamusatCountryDefaultArgs<ExtArgs>
717
- CamusatClient?: boolean | Prisma.MainProject$CamusatClientArgs<ExtArgs>
718
- projects?: boolean | Prisma.MainProject$projectsArgs<ExtArgs>
719
- _count?: boolean | Prisma.MainProjectCountOutputTypeDefaultArgs<ExtArgs>
720
- }, ExtArgs["result"]["mainProject"]>
721
-
722
- export type MainProjectSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
723
- id?: boolean
724
- no?: boolean
725
- camusatCountryId?: boolean
726
- camusatClientId?: boolean
727
- name?: boolean
728
- CamusatCountry?: boolean | Prisma.CamusatCountryDefaultArgs<ExtArgs>
729
- CamusatClient?: boolean | Prisma.MainProject$CamusatClientArgs<ExtArgs>
730
- }, ExtArgs["result"]["mainProject"]>
731
-
732
- export type MainProjectSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
733
- id?: boolean
734
- no?: boolean
735
- camusatCountryId?: boolean
736
- camusatClientId?: boolean
737
- name?: boolean
738
- CamusatCountry?: boolean | Prisma.CamusatCountryDefaultArgs<ExtArgs>
739
- CamusatClient?: boolean | Prisma.MainProject$CamusatClientArgs<ExtArgs>
740
- }, ExtArgs["result"]["mainProject"]>
741
-
742
- export type MainProjectSelectScalar = {
743
- id?: boolean
744
- no?: boolean
745
- camusatCountryId?: boolean
746
- camusatClientId?: boolean
747
- name?: boolean
748
- }
749
-
750
- export type MainProjectOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "no" | "camusatCountryId" | "camusatClientId" | "name", ExtArgs["result"]["mainProject"]>
751
- export type MainProjectInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
752
- CamusatCountry?: boolean | Prisma.CamusatCountryDefaultArgs<ExtArgs>
753
- CamusatClient?: boolean | Prisma.MainProject$CamusatClientArgs<ExtArgs>
754
- projects?: boolean | Prisma.MainProject$projectsArgs<ExtArgs>
755
- _count?: boolean | Prisma.MainProjectCountOutputTypeDefaultArgs<ExtArgs>
756
- }
757
- export type MainProjectIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
758
- CamusatCountry?: boolean | Prisma.CamusatCountryDefaultArgs<ExtArgs>
759
- CamusatClient?: boolean | Prisma.MainProject$CamusatClientArgs<ExtArgs>
760
- }
761
- export type MainProjectIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
762
- CamusatCountry?: boolean | Prisma.CamusatCountryDefaultArgs<ExtArgs>
763
- CamusatClient?: boolean | Prisma.MainProject$CamusatClientArgs<ExtArgs>
764
- }
765
-
766
- export type $MainProjectPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
767
- name: "MainProject"
768
- objects: {
769
- CamusatCountry: Prisma.$CamusatCountryPayload<ExtArgs>
770
- CamusatClient: Prisma.$CamusatClientPayload<ExtArgs> | null
771
- projects: Prisma.$ProjectPayload<ExtArgs>[]
772
- }
773
- scalars: runtime.Types.Extensions.GetPayloadResult<{
774
- id: string
775
- no: number
776
- camusatCountryId: string
777
- camusatClientId: string | null
778
- name: string
779
- }, ExtArgs["result"]["mainProject"]>
780
- composites: {}
781
- }
782
-
783
- export type MainProjectGetPayload<S extends boolean | null | undefined | MainProjectDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$MainProjectPayload, S>
784
-
785
- export type MainProjectCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
786
- Omit<MainProjectFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
787
- select?: MainProjectCountAggregateInputType | true
788
- }
789
-
790
- export interface MainProjectDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
791
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['MainProject'], meta: { name: 'MainProject' } }
792
- /**
793
- * Find zero or one MainProject that matches the filter.
794
- * @param {MainProjectFindUniqueArgs} args - Arguments to find a MainProject
795
- * @example
796
- * // Get one MainProject
797
- * const mainProject = await prisma.mainProject.findUnique({
798
- * where: {
799
- * // ... provide filter here
800
- * }
801
- * })
802
- */
803
- findUnique<T extends MainProjectFindUniqueArgs>(args: Prisma.SelectSubset<T, MainProjectFindUniqueArgs<ExtArgs>>): Prisma.Prisma__MainProjectClient<runtime.Types.Result.GetResult<Prisma.$MainProjectPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
804
-
805
- /**
806
- * Find one MainProject that matches the filter or throw an error with `error.code='P2025'`
807
- * if no matches were found.
808
- * @param {MainProjectFindUniqueOrThrowArgs} args - Arguments to find a MainProject
809
- * @example
810
- * // Get one MainProject
811
- * const mainProject = await prisma.mainProject.findUniqueOrThrow({
812
- * where: {
813
- * // ... provide filter here
814
- * }
815
- * })
816
- */
817
- findUniqueOrThrow<T extends MainProjectFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, MainProjectFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__MainProjectClient<runtime.Types.Result.GetResult<Prisma.$MainProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
818
-
819
- /**
820
- * Find the first MainProject that matches the filter.
821
- * Note, that providing `undefined` is treated as the value not being there.
822
- * Read more here: https://pris.ly/d/null-undefined
823
- * @param {MainProjectFindFirstArgs} args - Arguments to find a MainProject
824
- * @example
825
- * // Get one MainProject
826
- * const mainProject = await prisma.mainProject.findFirst({
827
- * where: {
828
- * // ... provide filter here
829
- * }
830
- * })
831
- */
832
- findFirst<T extends MainProjectFindFirstArgs>(args?: Prisma.SelectSubset<T, MainProjectFindFirstArgs<ExtArgs>>): Prisma.Prisma__MainProjectClient<runtime.Types.Result.GetResult<Prisma.$MainProjectPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
833
-
834
- /**
835
- * Find the first MainProject that matches the filter or
836
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
837
- * Note, that providing `undefined` is treated as the value not being there.
838
- * Read more here: https://pris.ly/d/null-undefined
839
- * @param {MainProjectFindFirstOrThrowArgs} args - Arguments to find a MainProject
840
- * @example
841
- * // Get one MainProject
842
- * const mainProject = await prisma.mainProject.findFirstOrThrow({
843
- * where: {
844
- * // ... provide filter here
845
- * }
846
- * })
847
- */
848
- findFirstOrThrow<T extends MainProjectFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, MainProjectFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__MainProjectClient<runtime.Types.Result.GetResult<Prisma.$MainProjectPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
849
-
850
- /**
851
- * Find zero or more MainProjects that matches the filter.
852
- * Note, that providing `undefined` is treated as the value not being there.
853
- * Read more here: https://pris.ly/d/null-undefined
854
- * @param {MainProjectFindManyArgs} args - Arguments to filter and select certain fields only.
855
- * @example
856
- * // Get all MainProjects
857
- * const mainProjects = await prisma.mainProject.findMany()
858
- *
859
- * // Get first 10 MainProjects
860
- * const mainProjects = await prisma.mainProject.findMany({ take: 10 })
861
- *
862
- * // Only select the `id`
863
- * const mainProjectWithIdOnly = await prisma.mainProject.findMany({ select: { id: true } })
864
- *
865
- */
866
- findMany<T extends MainProjectFindManyArgs>(args?: Prisma.SelectSubset<T, MainProjectFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MainProjectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
867
-
868
- /**
869
- * Create a MainProject.
870
- * @param {MainProjectCreateArgs} args - Arguments to create a MainProject.
871
- * @example
872
- * // Create one MainProject
873
- * const MainProject = await prisma.mainProject.create({
874
- * data: {
875
- * // ... data to create a MainProject
876
- * }
877
- * })
878
- *
879
- */
880
- create<T extends MainProjectCreateArgs>(args: Prisma.SelectSubset<T, MainProjectCreateArgs<ExtArgs>>): Prisma.Prisma__MainProjectClient<runtime.Types.Result.GetResult<Prisma.$MainProjectPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
881
-
882
- /**
883
- * Create many MainProjects.
884
- * @param {MainProjectCreateManyArgs} args - Arguments to create many MainProjects.
885
- * @example
886
- * // Create many MainProjects
887
- * const mainProject = await prisma.mainProject.createMany({
888
- * data: [
889
- * // ... provide data here
890
- * ]
891
- * })
892
- *
893
- */
894
- createMany<T extends MainProjectCreateManyArgs>(args?: Prisma.SelectSubset<T, MainProjectCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
895
-
896
- /**
897
- * Create many MainProjects and returns the data saved in the database.
898
- * @param {MainProjectCreateManyAndReturnArgs} args - Arguments to create many MainProjects.
899
- * @example
900
- * // Create many MainProjects
901
- * const mainProject = await prisma.mainProject.createManyAndReturn({
902
- * data: [
903
- * // ... provide data here
904
- * ]
905
- * })
906
- *
907
- * // Create many MainProjects and only return the `id`
908
- * const mainProjectWithIdOnly = await prisma.mainProject.createManyAndReturn({
909
- * select: { id: true },
910
- * data: [
911
- * // ... provide data here
912
- * ]
913
- * })
914
- * Note, that providing `undefined` is treated as the value not being there.
915
- * Read more here: https://pris.ly/d/null-undefined
916
- *
917
- */
918
- createManyAndReturn<T extends MainProjectCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, MainProjectCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MainProjectPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
919
-
920
- /**
921
- * Delete a MainProject.
922
- * @param {MainProjectDeleteArgs} args - Arguments to delete one MainProject.
923
- * @example
924
- * // Delete one MainProject
925
- * const MainProject = await prisma.mainProject.delete({
926
- * where: {
927
- * // ... filter to delete one MainProject
928
- * }
929
- * })
930
- *
931
- */
932
- delete<T extends MainProjectDeleteArgs>(args: Prisma.SelectSubset<T, MainProjectDeleteArgs<ExtArgs>>): Prisma.Prisma__MainProjectClient<runtime.Types.Result.GetResult<Prisma.$MainProjectPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
933
-
934
- /**
935
- * Update one MainProject.
936
- * @param {MainProjectUpdateArgs} args - Arguments to update one MainProject.
937
- * @example
938
- * // Update one MainProject
939
- * const mainProject = await prisma.mainProject.update({
940
- * where: {
941
- * // ... provide filter here
942
- * },
943
- * data: {
944
- * // ... provide data here
945
- * }
946
- * })
947
- *
948
- */
949
- update<T extends MainProjectUpdateArgs>(args: Prisma.SelectSubset<T, MainProjectUpdateArgs<ExtArgs>>): Prisma.Prisma__MainProjectClient<runtime.Types.Result.GetResult<Prisma.$MainProjectPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
950
-
951
- /**
952
- * Delete zero or more MainProjects.
953
- * @param {MainProjectDeleteManyArgs} args - Arguments to filter MainProjects to delete.
954
- * @example
955
- * // Delete a few MainProjects
956
- * const { count } = await prisma.mainProject.deleteMany({
957
- * where: {
958
- * // ... provide filter here
959
- * }
960
- * })
961
- *
962
- */
963
- deleteMany<T extends MainProjectDeleteManyArgs>(args?: Prisma.SelectSubset<T, MainProjectDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
964
-
965
- /**
966
- * Update zero or more MainProjects.
967
- * Note, that providing `undefined` is treated as the value not being there.
968
- * Read more here: https://pris.ly/d/null-undefined
969
- * @param {MainProjectUpdateManyArgs} args - Arguments to update one or more rows.
970
- * @example
971
- * // Update many MainProjects
972
- * const mainProject = await prisma.mainProject.updateMany({
973
- * where: {
974
- * // ... provide filter here
975
- * },
976
- * data: {
977
- * // ... provide data here
978
- * }
979
- * })
980
- *
981
- */
982
- updateMany<T extends MainProjectUpdateManyArgs>(args: Prisma.SelectSubset<T, MainProjectUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
983
-
984
- /**
985
- * Update zero or more MainProjects and returns the data updated in the database.
986
- * @param {MainProjectUpdateManyAndReturnArgs} args - Arguments to update many MainProjects.
987
- * @example
988
- * // Update many MainProjects
989
- * const mainProject = await prisma.mainProject.updateManyAndReturn({
990
- * where: {
991
- * // ... provide filter here
992
- * },
993
- * data: [
994
- * // ... provide data here
995
- * ]
996
- * })
997
- *
998
- * // Update zero or more MainProjects and only return the `id`
999
- * const mainProjectWithIdOnly = await prisma.mainProject.updateManyAndReturn({
1000
- * select: { id: true },
1001
- * where: {
1002
- * // ... provide filter here
1003
- * },
1004
- * data: [
1005
- * // ... provide data here
1006
- * ]
1007
- * })
1008
- * Note, that providing `undefined` is treated as the value not being there.
1009
- * Read more here: https://pris.ly/d/null-undefined
1010
- *
1011
- */
1012
- updateManyAndReturn<T extends MainProjectUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, MainProjectUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MainProjectPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1013
-
1014
- /**
1015
- * Create or update one MainProject.
1016
- * @param {MainProjectUpsertArgs} args - Arguments to update or create a MainProject.
1017
- * @example
1018
- * // Update or create a MainProject
1019
- * const mainProject = await prisma.mainProject.upsert({
1020
- * create: {
1021
- * // ... data to create a MainProject
1022
- * },
1023
- * update: {
1024
- * // ... in case it already exists, update
1025
- * },
1026
- * where: {
1027
- * // ... the filter for the MainProject we want to update
1028
- * }
1029
- * })
1030
- */
1031
- upsert<T extends MainProjectUpsertArgs>(args: Prisma.SelectSubset<T, MainProjectUpsertArgs<ExtArgs>>): Prisma.Prisma__MainProjectClient<runtime.Types.Result.GetResult<Prisma.$MainProjectPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1032
-
1033
-
1034
- /**
1035
- * Count the number of MainProjects.
1036
- * Note, that providing `undefined` is treated as the value not being there.
1037
- * Read more here: https://pris.ly/d/null-undefined
1038
- * @param {MainProjectCountArgs} args - Arguments to filter MainProjects to count.
1039
- * @example
1040
- * // Count the number of MainProjects
1041
- * const count = await prisma.mainProject.count({
1042
- * where: {
1043
- * // ... the filter for the MainProjects we want to count
1044
- * }
1045
- * })
1046
- **/
1047
- count<T extends MainProjectCountArgs>(
1048
- args?: Prisma.Subset<T, MainProjectCountArgs>,
1049
- ): Prisma.PrismaPromise<
1050
- T extends runtime.Types.Utils.Record<'select', any>
1051
- ? T['select'] extends true
1052
- ? number
1053
- : Prisma.GetScalarType<T['select'], MainProjectCountAggregateOutputType>
1054
- : number
1055
- >
1056
-
1057
- /**
1058
- * Allows you to perform aggregations operations on a MainProject.
1059
- * Note, that providing `undefined` is treated as the value not being there.
1060
- * Read more here: https://pris.ly/d/null-undefined
1061
- * @param {MainProjectAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1062
- * @example
1063
- * // Ordered by age ascending
1064
- * // Where email contains prisma.io
1065
- * // Limited to the 10 users
1066
- * const aggregations = await prisma.user.aggregate({
1067
- * _avg: {
1068
- * age: true,
1069
- * },
1070
- * where: {
1071
- * email: {
1072
- * contains: "prisma.io",
1073
- * },
1074
- * },
1075
- * orderBy: {
1076
- * age: "asc",
1077
- * },
1078
- * take: 10,
1079
- * })
1080
- **/
1081
- aggregate<T extends MainProjectAggregateArgs>(args: Prisma.Subset<T, MainProjectAggregateArgs>): Prisma.PrismaPromise<GetMainProjectAggregateType<T>>
1082
-
1083
- /**
1084
- * Group by MainProject.
1085
- * Note, that providing `undefined` is treated as the value not being there.
1086
- * Read more here: https://pris.ly/d/null-undefined
1087
- * @param {MainProjectGroupByArgs} args - Group by arguments.
1088
- * @example
1089
- * // Group by city, order by createdAt, get count
1090
- * const result = await prisma.user.groupBy({
1091
- * by: ['city', 'createdAt'],
1092
- * orderBy: {
1093
- * createdAt: true
1094
- * },
1095
- * _count: {
1096
- * _all: true
1097
- * },
1098
- * })
1099
- *
1100
- **/
1101
- groupBy<
1102
- T extends MainProjectGroupByArgs,
1103
- HasSelectOrTake extends Prisma.Or<
1104
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1105
- Prisma.Extends<'take', Prisma.Keys<T>>
1106
- >,
1107
- OrderByArg extends Prisma.True extends HasSelectOrTake
1108
- ? { orderBy: MainProjectGroupByArgs['orderBy'] }
1109
- : { orderBy?: MainProjectGroupByArgs['orderBy'] },
1110
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1111
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1112
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1113
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1114
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1115
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1116
- InputErrors extends ByEmpty extends Prisma.True
1117
- ? `Error: "by" must not be empty.`
1118
- : HavingValid extends Prisma.False
1119
- ? {
1120
- [P in HavingFields]: P extends ByFields
1121
- ? never
1122
- : P extends string
1123
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1124
- : [
1125
- Error,
1126
- 'Field ',
1127
- P,
1128
- ` in "having" needs to be provided in "by"`,
1129
- ]
1130
- }[HavingFields]
1131
- : 'take' extends Prisma.Keys<T>
1132
- ? 'orderBy' extends Prisma.Keys<T>
1133
- ? ByValid extends Prisma.True
1134
- ? {}
1135
- : {
1136
- [P in OrderFields]: P extends ByFields
1137
- ? never
1138
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1139
- }[OrderFields]
1140
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1141
- : 'skip' extends Prisma.Keys<T>
1142
- ? 'orderBy' extends Prisma.Keys<T>
1143
- ? ByValid extends Prisma.True
1144
- ? {}
1145
- : {
1146
- [P in OrderFields]: P extends ByFields
1147
- ? never
1148
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1149
- }[OrderFields]
1150
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1151
- : ByValid extends Prisma.True
1152
- ? {}
1153
- : {
1154
- [P in OrderFields]: P extends ByFields
1155
- ? never
1156
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1157
- }[OrderFields]
1158
- >(args: Prisma.SubsetIntersection<T, MainProjectGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMainProjectGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1159
- /**
1160
- * Fields of the MainProject model
1161
- */
1162
- readonly fields: MainProjectFieldRefs;
1163
- }
1164
-
1165
- /**
1166
- * The delegate class that acts as a "Promise-like" for MainProject.
1167
- * Why is this prefixed with `Prisma__`?
1168
- * Because we want to prevent naming conflicts as mentioned in
1169
- * https://github.com/prisma/prisma-client-js/issues/707
1170
- */
1171
- export interface Prisma__MainProjectClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1172
- readonly [Symbol.toStringTag]: "PrismaPromise"
1173
- CamusatCountry<T extends Prisma.CamusatCountryDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CamusatCountryDefaultArgs<ExtArgs>>): Prisma.Prisma__CamusatCountryClient<runtime.Types.Result.GetResult<Prisma.$CamusatCountryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1174
- CamusatClient<T extends Prisma.MainProject$CamusatClientArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.MainProject$CamusatClientArgs<ExtArgs>>): Prisma.Prisma__CamusatClientClient<runtime.Types.Result.GetResult<Prisma.$CamusatClientPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1175
- projects<T extends Prisma.MainProject$projectsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.MainProject$projectsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1176
- /**
1177
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1178
- * @param onfulfilled The callback to execute when the Promise is resolved.
1179
- * @param onrejected The callback to execute when the Promise is rejected.
1180
- * @returns A Promise for the completion of which ever callback is executed.
1181
- */
1182
- 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>
1183
- /**
1184
- * Attaches a callback for only the rejection of the Promise.
1185
- * @param onrejected The callback to execute when the Promise is rejected.
1186
- * @returns A Promise for the completion of the callback.
1187
- */
1188
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1189
- /**
1190
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1191
- * resolved value cannot be modified from the callback.
1192
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1193
- * @returns A Promise for the completion of the callback.
1194
- */
1195
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1196
- }
1197
-
1198
-
1199
-
1200
-
1201
- /**
1202
- * Fields of the MainProject model
1203
- */
1204
- export interface MainProjectFieldRefs {
1205
- readonly id: Prisma.FieldRef<"MainProject", 'String'>
1206
- readonly no: Prisma.FieldRef<"MainProject", 'Int'>
1207
- readonly camusatCountryId: Prisma.FieldRef<"MainProject", 'String'>
1208
- readonly camusatClientId: Prisma.FieldRef<"MainProject", 'String'>
1209
- readonly name: Prisma.FieldRef<"MainProject", 'String'>
1210
- }
1211
-
1212
-
1213
- // Custom InputTypes
1214
- /**
1215
- * MainProject findUnique
1216
- */
1217
- export type MainProjectFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1218
- /**
1219
- * Select specific fields to fetch from the MainProject
1220
- */
1221
- select?: Prisma.MainProjectSelect<ExtArgs> | null
1222
- /**
1223
- * Omit specific fields from the MainProject
1224
- */
1225
- omit?: Prisma.MainProjectOmit<ExtArgs> | null
1226
- /**
1227
- * Choose, which related nodes to fetch as well
1228
- */
1229
- include?: Prisma.MainProjectInclude<ExtArgs> | null
1230
- /**
1231
- * Filter, which MainProject to fetch.
1232
- */
1233
- where: Prisma.MainProjectWhereUniqueInput
1234
- }
1235
-
1236
- /**
1237
- * MainProject findUniqueOrThrow
1238
- */
1239
- export type MainProjectFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1240
- /**
1241
- * Select specific fields to fetch from the MainProject
1242
- */
1243
- select?: Prisma.MainProjectSelect<ExtArgs> | null
1244
- /**
1245
- * Omit specific fields from the MainProject
1246
- */
1247
- omit?: Prisma.MainProjectOmit<ExtArgs> | null
1248
- /**
1249
- * Choose, which related nodes to fetch as well
1250
- */
1251
- include?: Prisma.MainProjectInclude<ExtArgs> | null
1252
- /**
1253
- * Filter, which MainProject to fetch.
1254
- */
1255
- where: Prisma.MainProjectWhereUniqueInput
1256
- }
1257
-
1258
- /**
1259
- * MainProject findFirst
1260
- */
1261
- export type MainProjectFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1262
- /**
1263
- * Select specific fields to fetch from the MainProject
1264
- */
1265
- select?: Prisma.MainProjectSelect<ExtArgs> | null
1266
- /**
1267
- * Omit specific fields from the MainProject
1268
- */
1269
- omit?: Prisma.MainProjectOmit<ExtArgs> | null
1270
- /**
1271
- * Choose, which related nodes to fetch as well
1272
- */
1273
- include?: Prisma.MainProjectInclude<ExtArgs> | null
1274
- /**
1275
- * Filter, which MainProject to fetch.
1276
- */
1277
- where?: Prisma.MainProjectWhereInput
1278
- /**
1279
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1280
- *
1281
- * Determine the order of MainProjects to fetch.
1282
- */
1283
- orderBy?: Prisma.MainProjectOrderByWithRelationInput | Prisma.MainProjectOrderByWithRelationInput[]
1284
- /**
1285
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1286
- *
1287
- * Sets the position for searching for MainProjects.
1288
- */
1289
- cursor?: Prisma.MainProjectWhereUniqueInput
1290
- /**
1291
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1292
- *
1293
- * Take `±n` MainProjects from the position of the cursor.
1294
- */
1295
- take?: number
1296
- /**
1297
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1298
- *
1299
- * Skip the first `n` MainProjects.
1300
- */
1301
- skip?: number
1302
- /**
1303
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1304
- *
1305
- * Filter by unique combinations of MainProjects.
1306
- */
1307
- distinct?: Prisma.MainProjectScalarFieldEnum | Prisma.MainProjectScalarFieldEnum[]
1308
- }
1309
-
1310
- /**
1311
- * MainProject findFirstOrThrow
1312
- */
1313
- export type MainProjectFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1314
- /**
1315
- * Select specific fields to fetch from the MainProject
1316
- */
1317
- select?: Prisma.MainProjectSelect<ExtArgs> | null
1318
- /**
1319
- * Omit specific fields from the MainProject
1320
- */
1321
- omit?: Prisma.MainProjectOmit<ExtArgs> | null
1322
- /**
1323
- * Choose, which related nodes to fetch as well
1324
- */
1325
- include?: Prisma.MainProjectInclude<ExtArgs> | null
1326
- /**
1327
- * Filter, which MainProject to fetch.
1328
- */
1329
- where?: Prisma.MainProjectWhereInput
1330
- /**
1331
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1332
- *
1333
- * Determine the order of MainProjects to fetch.
1334
- */
1335
- orderBy?: Prisma.MainProjectOrderByWithRelationInput | Prisma.MainProjectOrderByWithRelationInput[]
1336
- /**
1337
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1338
- *
1339
- * Sets the position for searching for MainProjects.
1340
- */
1341
- cursor?: Prisma.MainProjectWhereUniqueInput
1342
- /**
1343
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1344
- *
1345
- * Take `±n` MainProjects from the position of the cursor.
1346
- */
1347
- take?: number
1348
- /**
1349
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1350
- *
1351
- * Skip the first `n` MainProjects.
1352
- */
1353
- skip?: number
1354
- /**
1355
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1356
- *
1357
- * Filter by unique combinations of MainProjects.
1358
- */
1359
- distinct?: Prisma.MainProjectScalarFieldEnum | Prisma.MainProjectScalarFieldEnum[]
1360
- }
1361
-
1362
- /**
1363
- * MainProject findMany
1364
- */
1365
- export type MainProjectFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1366
- /**
1367
- * Select specific fields to fetch from the MainProject
1368
- */
1369
- select?: Prisma.MainProjectSelect<ExtArgs> | null
1370
- /**
1371
- * Omit specific fields from the MainProject
1372
- */
1373
- omit?: Prisma.MainProjectOmit<ExtArgs> | null
1374
- /**
1375
- * Choose, which related nodes to fetch as well
1376
- */
1377
- include?: Prisma.MainProjectInclude<ExtArgs> | null
1378
- /**
1379
- * Filter, which MainProjects to fetch.
1380
- */
1381
- where?: Prisma.MainProjectWhereInput
1382
- /**
1383
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1384
- *
1385
- * Determine the order of MainProjects to fetch.
1386
- */
1387
- orderBy?: Prisma.MainProjectOrderByWithRelationInput | Prisma.MainProjectOrderByWithRelationInput[]
1388
- /**
1389
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1390
- *
1391
- * Sets the position for listing MainProjects.
1392
- */
1393
- cursor?: Prisma.MainProjectWhereUniqueInput
1394
- /**
1395
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1396
- *
1397
- * Take `±n` MainProjects from the position of the cursor.
1398
- */
1399
- take?: number
1400
- /**
1401
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1402
- *
1403
- * Skip the first `n` MainProjects.
1404
- */
1405
- skip?: number
1406
- distinct?: Prisma.MainProjectScalarFieldEnum | Prisma.MainProjectScalarFieldEnum[]
1407
- }
1408
-
1409
- /**
1410
- * MainProject create
1411
- */
1412
- export type MainProjectCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1413
- /**
1414
- * Select specific fields to fetch from the MainProject
1415
- */
1416
- select?: Prisma.MainProjectSelect<ExtArgs> | null
1417
- /**
1418
- * Omit specific fields from the MainProject
1419
- */
1420
- omit?: Prisma.MainProjectOmit<ExtArgs> | null
1421
- /**
1422
- * Choose, which related nodes to fetch as well
1423
- */
1424
- include?: Prisma.MainProjectInclude<ExtArgs> | null
1425
- /**
1426
- * The data needed to create a MainProject.
1427
- */
1428
- data: Prisma.XOR<Prisma.MainProjectCreateInput, Prisma.MainProjectUncheckedCreateInput>
1429
- }
1430
-
1431
- /**
1432
- * MainProject createMany
1433
- */
1434
- export type MainProjectCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1435
- /**
1436
- * The data used to create many MainProjects.
1437
- */
1438
- data: Prisma.MainProjectCreateManyInput | Prisma.MainProjectCreateManyInput[]
1439
- skipDuplicates?: boolean
1440
- }
1441
-
1442
- /**
1443
- * MainProject createManyAndReturn
1444
- */
1445
- export type MainProjectCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1446
- /**
1447
- * Select specific fields to fetch from the MainProject
1448
- */
1449
- select?: Prisma.MainProjectSelectCreateManyAndReturn<ExtArgs> | null
1450
- /**
1451
- * Omit specific fields from the MainProject
1452
- */
1453
- omit?: Prisma.MainProjectOmit<ExtArgs> | null
1454
- /**
1455
- * The data used to create many MainProjects.
1456
- */
1457
- data: Prisma.MainProjectCreateManyInput | Prisma.MainProjectCreateManyInput[]
1458
- skipDuplicates?: boolean
1459
- /**
1460
- * Choose, which related nodes to fetch as well
1461
- */
1462
- include?: Prisma.MainProjectIncludeCreateManyAndReturn<ExtArgs> | null
1463
- }
1464
-
1465
- /**
1466
- * MainProject update
1467
- */
1468
- export type MainProjectUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1469
- /**
1470
- * Select specific fields to fetch from the MainProject
1471
- */
1472
- select?: Prisma.MainProjectSelect<ExtArgs> | null
1473
- /**
1474
- * Omit specific fields from the MainProject
1475
- */
1476
- omit?: Prisma.MainProjectOmit<ExtArgs> | null
1477
- /**
1478
- * Choose, which related nodes to fetch as well
1479
- */
1480
- include?: Prisma.MainProjectInclude<ExtArgs> | null
1481
- /**
1482
- * The data needed to update a MainProject.
1483
- */
1484
- data: Prisma.XOR<Prisma.MainProjectUpdateInput, Prisma.MainProjectUncheckedUpdateInput>
1485
- /**
1486
- * Choose, which MainProject to update.
1487
- */
1488
- where: Prisma.MainProjectWhereUniqueInput
1489
- }
1490
-
1491
- /**
1492
- * MainProject updateMany
1493
- */
1494
- export type MainProjectUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1495
- /**
1496
- * The data used to update MainProjects.
1497
- */
1498
- data: Prisma.XOR<Prisma.MainProjectUpdateManyMutationInput, Prisma.MainProjectUncheckedUpdateManyInput>
1499
- /**
1500
- * Filter which MainProjects to update
1501
- */
1502
- where?: Prisma.MainProjectWhereInput
1503
- /**
1504
- * Limit how many MainProjects to update.
1505
- */
1506
- limit?: number
1507
- }
1508
-
1509
- /**
1510
- * MainProject updateManyAndReturn
1511
- */
1512
- export type MainProjectUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1513
- /**
1514
- * Select specific fields to fetch from the MainProject
1515
- */
1516
- select?: Prisma.MainProjectSelectUpdateManyAndReturn<ExtArgs> | null
1517
- /**
1518
- * Omit specific fields from the MainProject
1519
- */
1520
- omit?: Prisma.MainProjectOmit<ExtArgs> | null
1521
- /**
1522
- * The data used to update MainProjects.
1523
- */
1524
- data: Prisma.XOR<Prisma.MainProjectUpdateManyMutationInput, Prisma.MainProjectUncheckedUpdateManyInput>
1525
- /**
1526
- * Filter which MainProjects to update
1527
- */
1528
- where?: Prisma.MainProjectWhereInput
1529
- /**
1530
- * Limit how many MainProjects to update.
1531
- */
1532
- limit?: number
1533
- /**
1534
- * Choose, which related nodes to fetch as well
1535
- */
1536
- include?: Prisma.MainProjectIncludeUpdateManyAndReturn<ExtArgs> | null
1537
- }
1538
-
1539
- /**
1540
- * MainProject upsert
1541
- */
1542
- export type MainProjectUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1543
- /**
1544
- * Select specific fields to fetch from the MainProject
1545
- */
1546
- select?: Prisma.MainProjectSelect<ExtArgs> | null
1547
- /**
1548
- * Omit specific fields from the MainProject
1549
- */
1550
- omit?: Prisma.MainProjectOmit<ExtArgs> | null
1551
- /**
1552
- * Choose, which related nodes to fetch as well
1553
- */
1554
- include?: Prisma.MainProjectInclude<ExtArgs> | null
1555
- /**
1556
- * The filter to search for the MainProject to update in case it exists.
1557
- */
1558
- where: Prisma.MainProjectWhereUniqueInput
1559
- /**
1560
- * In case the MainProject found by the `where` argument doesn't exist, create a new MainProject with this data.
1561
- */
1562
- create: Prisma.XOR<Prisma.MainProjectCreateInput, Prisma.MainProjectUncheckedCreateInput>
1563
- /**
1564
- * In case the MainProject was found with the provided `where` argument, update it with this data.
1565
- */
1566
- update: Prisma.XOR<Prisma.MainProjectUpdateInput, Prisma.MainProjectUncheckedUpdateInput>
1567
- }
1568
-
1569
- /**
1570
- * MainProject delete
1571
- */
1572
- export type MainProjectDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1573
- /**
1574
- * Select specific fields to fetch from the MainProject
1575
- */
1576
- select?: Prisma.MainProjectSelect<ExtArgs> | null
1577
- /**
1578
- * Omit specific fields from the MainProject
1579
- */
1580
- omit?: Prisma.MainProjectOmit<ExtArgs> | null
1581
- /**
1582
- * Choose, which related nodes to fetch as well
1583
- */
1584
- include?: Prisma.MainProjectInclude<ExtArgs> | null
1585
- /**
1586
- * Filter which MainProject to delete.
1587
- */
1588
- where: Prisma.MainProjectWhereUniqueInput
1589
- }
1590
-
1591
- /**
1592
- * MainProject deleteMany
1593
- */
1594
- export type MainProjectDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1595
- /**
1596
- * Filter which MainProjects to delete
1597
- */
1598
- where?: Prisma.MainProjectWhereInput
1599
- /**
1600
- * Limit how many MainProjects to delete.
1601
- */
1602
- limit?: number
1603
- }
1604
-
1605
- /**
1606
- * MainProject.CamusatClient
1607
- */
1608
- export type MainProject$CamusatClientArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1609
- /**
1610
- * Select specific fields to fetch from the CamusatClient
1611
- */
1612
- select?: Prisma.CamusatClientSelect<ExtArgs> | null
1613
- /**
1614
- * Omit specific fields from the CamusatClient
1615
- */
1616
- omit?: Prisma.CamusatClientOmit<ExtArgs> | null
1617
- /**
1618
- * Choose, which related nodes to fetch as well
1619
- */
1620
- include?: Prisma.CamusatClientInclude<ExtArgs> | null
1621
- where?: Prisma.CamusatClientWhereInput
1622
- }
1623
-
1624
- /**
1625
- * MainProject.projects
1626
- */
1627
- export type MainProject$projectsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1628
- /**
1629
- * Select specific fields to fetch from the Project
1630
- */
1631
- select?: Prisma.ProjectSelect<ExtArgs> | null
1632
- /**
1633
- * Omit specific fields from the Project
1634
- */
1635
- omit?: Prisma.ProjectOmit<ExtArgs> | null
1636
- /**
1637
- * Choose, which related nodes to fetch as well
1638
- */
1639
- include?: Prisma.ProjectInclude<ExtArgs> | null
1640
- where?: Prisma.ProjectWhereInput
1641
- orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]
1642
- cursor?: Prisma.ProjectWhereUniqueInput
1643
- take?: number
1644
- skip?: number
1645
- distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]
1646
- }
1647
-
1648
- /**
1649
- * MainProject without action
1650
- */
1651
- export type MainProjectDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1652
- /**
1653
- * Select specific fields to fetch from the MainProject
1654
- */
1655
- select?: Prisma.MainProjectSelect<ExtArgs> | null
1656
- /**
1657
- * Omit specific fields from the MainProject
1658
- */
1659
- omit?: Prisma.MainProjectOmit<ExtArgs> | null
1660
- /**
1661
- * Choose, which related nodes to fetch as well
1662
- */
1663
- include?: Prisma.MainProjectInclude<ExtArgs> | null
1664
- }