efiber-prisma-schema 2.0.5 → 2.0.7

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 (383) hide show
  1. package/package.json +19 -18
  2. package/prisma/schema.prisma +2 -1
  3. package/index.d.ts +0 -10
  4. package/index.js +0 -10
  5. package/prisma/generated/browser.ts +0 -559
  6. package/prisma/generated/client.ts +0 -581
  7. package/prisma/generated/commonInputTypes.ts +0 -1246
  8. package/prisma/generated/enums.ts +0 -188
  9. package/prisma/generated/internal/class.ts +0 -1260
  10. package/prisma/generated/internal/prismaNamespace.ts +0 -11532
  11. package/prisma/generated/internal/prismaNamespaceBrowser.ts +0 -2582
  12. package/prisma/generated/models/AttributeDefinition.ts +0 -1498
  13. package/prisma/generated/models/AttributeValue.ts +0 -1419
  14. package/prisma/generated/models/Audit.ts +0 -1725
  15. package/prisma/generated/models/BillOfMaterial.ts +0 -1934
  16. package/prisma/generated/models/Building.ts +0 -6130
  17. package/prisma/generated/models/BuildingTemplate.ts +0 -2912
  18. package/prisma/generated/models/Cable.ts +0 -10501
  19. package/prisma/generated/models/CableAttachment.ts +0 -1530
  20. package/prisma/generated/models/CableAttributes.ts +0 -2244
  21. package/prisma/generated/models/CableTemplate.ts +0 -3170
  22. package/prisma/generated/models/CamusatClient.ts +0 -2001
  23. package/prisma/generated/models/CamusatCountry.ts +0 -2425
  24. package/prisma/generated/models/CentralOffice.ts +0 -1921
  25. package/prisma/generated/models/CentralOfficeTeam.ts +0 -1620
  26. package/prisma/generated/models/CentralOfficeUser.ts +0 -1650
  27. package/prisma/generated/models/Cluster.ts +0 -10984
  28. package/prisma/generated/models/ClusterComments.ts +0 -1668
  29. package/prisma/generated/models/ClusterNotes.ts +0 -1703
  30. package/prisma/generated/models/Conduit.ts +0 -5119
  31. package/prisma/generated/models/ConduitTemplate.ts +0 -2940
  32. package/prisma/generated/models/Country.ts +0 -1795
  33. package/prisma/generated/models/DispatchMaterial.ts +0 -3070
  34. package/prisma/generated/models/DispatchProject.ts +0 -4179
  35. package/prisma/generated/models/DispatchTeam.ts +0 -3053
  36. package/prisma/generated/models/Duct.ts +0 -1813
  37. package/prisma/generated/models/ElementNode.ts +0 -4413
  38. package/prisma/generated/models/ElementRelation.ts +0 -1644
  39. package/prisma/generated/models/EmailConfigurations.ts +0 -3736
  40. package/prisma/generated/models/EmailTemplates.ts +0 -1739
  41. package/prisma/generated/models/EmailsIncoming.ts +0 -2010
  42. package/prisma/generated/models/EmailsIncomingSample.ts +0 -1503
  43. package/prisma/generated/models/EmailsOutgoing.ts +0 -1648
  44. package/prisma/generated/models/FDTSRO.ts +0 -6180
  45. package/prisma/generated/models/FDTSROTemplate.ts +0 -2912
  46. package/prisma/generated/models/Feature.ts +0 -1867
  47. package/prisma/generated/models/FeatureType.ts +0 -1430
  48. package/prisma/generated/models/IntegrationReportTemplate.ts +0 -1878
  49. package/prisma/generated/models/Loop.ts +0 -5271
  50. package/prisma/generated/models/LoopTemplate.ts +0 -2912
  51. package/prisma/generated/models/MainProject.ts +0 -1664
  52. package/prisma/generated/models/Manhole.ts +0 -5090
  53. package/prisma/generated/models/ManholeTemplate.ts +0 -2912
  54. package/prisma/generated/models/MapElement.ts +0 -3450
  55. package/prisma/generated/models/MapElementTemplate.ts +0 -2742
  56. package/prisma/generated/models/Material.ts +0 -1963
  57. package/prisma/generated/models/MaterialBillOfMaterial.ts +0 -1737
  58. package/prisma/generated/models/MaterialChangeLog.ts +0 -1454
  59. package/prisma/generated/models/NetworkElement.ts +0 -6891
  60. package/prisma/generated/models/NetworkElementInstallation.ts +0 -3320
  61. package/prisma/generated/models/Notifications.ts +0 -1563
  62. package/prisma/generated/models/OptionSource.ts +0 -1132
  63. package/prisma/generated/models/PboFat.ts +0 -8248
  64. package/prisma/generated/models/PboFatAttributes.ts +0 -2672
  65. package/prisma/generated/models/PboFatTemplate.ts +0 -3112
  66. package/prisma/generated/models/Platform.ts +0 -1759
  67. package/prisma/generated/models/Pole.ts +0 -5266
  68. package/prisma/generated/models/PoleTemplate.ts +0 -2912
  69. package/prisma/generated/models/Position.ts +0 -1490
  70. package/prisma/generated/models/PreviousEquipment.ts +0 -1881
  71. package/prisma/generated/models/Project.ts +0 -14893
  72. package/prisma/generated/models/ProjectType.ts +0 -1351
  73. package/prisma/generated/models/ProjectWorkFlow.ts +0 -1856
  74. package/prisma/generated/models/ReportFormats.ts +0 -1768
  75. package/prisma/generated/models/ReportFormulaConfig.ts +0 -1375
  76. package/prisma/generated/models/ReportMetric.ts +0 -1737
  77. package/prisma/generated/models/ReportTable.ts +0 -1498
  78. package/prisma/generated/models/ReportVisualization.ts +0 -1446
  79. package/prisma/generated/models/Revision.ts +0 -4653
  80. package/prisma/generated/models/Role.ts +0 -2960
  81. package/prisma/generated/models/SFU.ts +0 -5977
  82. package/prisma/generated/models/SFUTemplate.ts +0 -2912
  83. package/prisma/generated/models/SpliceClosure.ts +0 -6405
  84. package/prisma/generated/models/SpliceClosureAttributes.ts +0 -2172
  85. package/prisma/generated/models/SpliceClosureTemplate.ts +0 -3176
  86. package/prisma/generated/models/Splitter.ts +0 -1459
  87. package/prisma/generated/models/StockMovement.ts +0 -1589
  88. package/prisma/generated/models/SubsidiaryMaterial.ts +0 -2193
  89. package/prisma/generated/models/SubsidiaryMaterialMovementLog.ts +0 -1966
  90. package/prisma/generated/models/Team.ts +0 -2044
  91. package/prisma/generated/models/TeamMaterial.ts +0 -2193
  92. package/prisma/generated/models/TeamMaterialMovementLog.ts +0 -1966
  93. package/prisma/generated/models/TeamPlatform.ts +0 -1874
  94. package/prisma/generated/models/TeamType.ts +0 -1655
  95. package/prisma/generated/models/Template.ts +0 -1691
  96. package/prisma/generated/models/TemplateComponent.ts +0 -1995
  97. package/prisma/generated/models/User.ts +0 -25676
  98. package/prisma/generated/models/WorkOrder.ts +0 -5901
  99. package/prisma/generated/models/WorkOrderActivityLog.ts +0 -2126
  100. package/prisma/generated/models/WorkOrderChannel.ts +0 -1454
  101. package/prisma/generated/models/WorkOrderComments.ts +0 -1687
  102. package/prisma/generated/models/WorkOrderEditLog.ts +0 -1757
  103. package/prisma/generated/models/WorkOrderMaterial.ts +0 -1933
  104. package/prisma/generated/models/WorkOrderPauses.ts +0 -1454
  105. package/prisma/generated/models/WorkOrderTask.ts +0 -2220
  106. package/prisma/generated/models/WorkOrderTaskData.ts +0 -1244
  107. package/prisma/generated/models/ZoneNro.ts +0 -3926
  108. package/prisma/generated/models/ZoneNroTemplate.ts +0 -2966
  109. package/prisma/generated/models/clientMaterial.ts +0 -2193
  110. package/prisma/generated/models/clientMaterialMovementLog.ts +0 -1966
  111. package/prisma/generated/models/ductTemplate.ts +0 -1606
  112. package/prisma/generated/models/installationSequence.ts +0 -1708
  113. package/prisma/generated/models/integrationProjectUserStatus.ts +0 -1916
  114. package/prisma/generated/models/integrationUserLocation.ts +0 -1681
  115. package/prisma/generated/models/problemCategorization.ts +0 -1543
  116. package/prisma/generated/models/projectPhaseLog.ts +0 -1728
  117. package/prisma/generated/models/qrCodeTag.ts +0 -4978
  118. package/prisma/generated/models/qrCodeTemplate.ts +0 -6500
  119. package/prisma/generated/models/ticketMaterialMovementLog.ts +0 -1651
  120. package/prisma/generated/models.ts +0 -119
  121. package/prisma/migrations/0_init/migration.sql +0 -0
  122. package/prisma/migrations/20231209164007_/migration.sql +0 -8
  123. package/prisma/migrations/20231209192452_country_table/migration.sql +0 -7
  124. package/prisma/migrations/20231209194848_/migration.sql +0 -10
  125. package/prisma/migrations/20231209195140_/migration.sql +0 -8
  126. package/prisma/migrations/20231209201218_country_update/migration.sql +0 -29
  127. package/prisma/migrations/20231209201405_/migration.sql +0 -8
  128. package/prisma/migrations/20231209213149_camusat_country/migration.sql +0 -20
  129. package/prisma/migrations/20231209221814_platform/migration.sql +0 -26
  130. package/prisma/migrations/20231209223246_/migration.sql +0 -16
  131. package/prisma/migrations/20231209231721_roles/migration.sql +0 -34
  132. package/prisma/migrations/20231210113501_team_and_users/migration.sql +0 -119
  133. package/prisma/migrations/20231210181832_user_update/migration.sql +0 -25
  134. package/prisma/migrations/20231219121311_add_projects/migration.sql +0 -60
  135. package/prisma/migrations/20231219123045_/migration.sql +0 -8
  136. package/prisma/migrations/20231219123850_audit/migration.sql +0 -20
  137. package/prisma/migrations/20240116090035_/migration.sql +0 -57
  138. package/prisma/migrations/20240202082320_init/migration.sql +0 -17
  139. package/prisma/migrations/20240202091027_camusat_client/migration.sql +0 -29
  140. package/prisma/migrations/20240202124330_camusatcountry/migration.sql +0 -20
  141. package/prisma/migrations/20240203085209_feature/migration.sql +0 -66
  142. package/prisma/migrations/20240203123342_feature/migration.sql +0 -38
  143. package/prisma/migrations/20240203124454_featuretype/migration.sql +0 -30
  144. package/prisma/migrations/20240203134414_featuretype/migration.sql +0 -8
  145. package/prisma/migrations/20240203154141_featuretype/migration.sql +0 -47
  146. package/prisma/migrations/20240203203915_template/migration.sql +0 -82
  147. package/prisma/migrations/20240204040725_template_component/migration.sql +0 -83
  148. package/prisma/migrations/20240204043127_template_component/migration.sql +0 -3
  149. package/prisma/migrations/20240204051036_template_component/migration.sql +0 -17
  150. package/prisma/migrations/20240204052923_template_component/migration.sql +0 -24
  151. package/prisma/migrations/20240204103902_template_component/migration.sql +0 -10
  152. package/prisma/migrations/20240204112656_camusat_client/migration.sql +0 -13
  153. package/prisma/migrations/20240204113143_camusat_client/migration.sql +0 -16
  154. package/prisma/migrations/20240204133932_camusat_client/migration.sql +0 -13
  155. package/prisma/migrations/20240204134637_camusat_client/migration.sql +0 -16
  156. package/prisma/migrations/20240204135459_camusat_client/migration.sql +0 -8
  157. package/prisma/migrations/20240204135615_camusat_client/migration.sql +0 -16
  158. package/prisma/migrations/20240204141001_camusat_client/migration.sql +0 -16
  159. package/prisma/migrations/20240205070804_template/migration.sql +0 -60
  160. package/prisma/migrations/20240205071138_template/migration.sql +0 -8
  161. package/prisma/migrations/20240205074015_template/migration.sql +0 -11
  162. package/prisma/migrations/20240205100949_template/migration.sql +0 -3
  163. package/prisma/migrations/20240205170632_template/migration.sql +0 -26
  164. package/prisma/migrations/20240205171038_template/migration.sql +0 -8
  165. package/prisma/migrations/20240206115225_template/migration.sql +0 -2
  166. package/prisma/migrations/20240206115743_template/migration.sql +0 -8
  167. package/prisma/migrations/20240206122145_template/migration.sql +0 -8
  168. package/prisma/migrations/20240206122530_template/migration.sql +0 -17
  169. package/prisma/migrations/20240206124010_template/migration.sql +0 -2
  170. package/prisma/migrations/20240206124504_template/migration.sql +0 -8
  171. package/prisma/migrations/20240207123737_template_component/migration.sql +0 -27
  172. package/prisma/migrations/20240207182427_project_workflow/migration.sql +0 -13
  173. package/prisma/migrations/20240208080438_project_workflow/migration.sql +0 -29
  174. package/prisma/migrations/20240208094341_project_workflow/migration.sql +0 -20
  175. package/prisma/migrations/20240208094513_project_workflow/migration.sql +0 -11
  176. package/prisma/migrations/20240208110543_feature/migration.sql +0 -42
  177. package/prisma/migrations/20240209094123_feature/migration.sql +0 -2
  178. package/prisma/migrations/20240211174122_camusat_client/migration.sql +0 -2
  179. package/prisma/migrations/20240219060721_feature/migration.sql +0 -14
  180. package/prisma/migrations/20240220085809_emails/migration.sql +0 -82
  181. package/prisma/migrations/20240226075734_update_email_config_and_workorder/migration.sql +0 -33
  182. package/prisma/migrations/20240227112839_update_email_config/migration.sql +0 -2
  183. package/prisma/migrations/20240227124801_work_order_update/migration.sql +0 -6
  184. package/prisma/migrations/20240301063634_material/migration.sql +0 -40
  185. package/prisma/migrations/20240301064450_material/migration.sql +0 -8
  186. package/prisma/migrations/20240301071914_bill_of_material/migration.sql +0 -32
  187. package/prisma/migrations/20240301130744_dispatch_material/migration.sql +0 -19
  188. package/prisma/migrations/20240304051150_dispatch_material/migration.sql +0 -5
  189. package/prisma/migrations/20240304060722_dispatch_material/migration.sql +0 -5
  190. package/prisma/migrations/20240304060902_dispatch_material/migration.sql +0 -8
  191. package/prisma/migrations/20240304061156_dispatch_material/migration.sql +0 -9
  192. package/prisma/migrations/20240304173952_stock_movement/migration.sql +0 -40
  193. package/prisma/migrations/20240305072137_stock_movement/migration.sql +0 -239
  194. package/prisma/migrations/20240305072744_stock_movement/migration.sql +0 -12
  195. package/prisma/migrations/20240306055959_stock_movement/migration.sql +0 -11
  196. package/prisma/migrations/20240306062724_stock_movement/migration.sql +0 -2
  197. package/prisma/migrations/20240306113309_stock_movement/migration.sql +0 -8
  198. package/prisma/migrations/20240306141448_stock_movement/migration.sql +0 -5
  199. package/prisma/migrations/20240306144254_stock_movement/migration.sql +0 -5
  200. package/prisma/migrations/20240306154800_stock_movement/migration.sql +0 -8
  201. package/prisma/migrations/20240307095205_stock_movement/migration.sql +0 -16
  202. package/prisma/migrations/20240308175028_new/migration.sql +0 -8
  203. package/prisma/migrations/20240310114206_dispatch_project/migration.sql +0 -5
  204. package/prisma/migrations/20240311121226_new/migration.sql +0 -71
  205. package/prisma/migrations/20240311171024_new/migration.sql +0 -8
  206. package/prisma/migrations/20240312090511_material/migration.sql +0 -17
  207. package/prisma/migrations/20240312095600_material/migration.sql +0 -16
  208. package/prisma/migrations/20240312115431_material/migration.sql +0 -11
  209. package/prisma/migrations/20240316161358_work_order/migration.sql +0 -3
  210. package/prisma/migrations/20240318112352_problem_categorization/migration.sql +0 -14
  211. package/prisma/migrations/20240318112616_problem_categorization/migration.sql +0 -8
  212. package/prisma/migrations/20240319072457_work_order/migration.sql +0 -5
  213. package/prisma/migrations/20240320124008_dispatch_project/migration.sql +0 -26
  214. package/prisma/migrations/20240321081929_dispatch_project/migration.sql +0 -8
  215. package/prisma/migrations/20240321102139_work_order/migration.sql +0 -45
  216. package/prisma/migrations/20240321103420_work_order/migration.sql +0 -14
  217. package/prisma/migrations/20240321103537_work_order/migration.sql +0 -2
  218. package/prisma/migrations/20240322061027_material/migration.sql +0 -11
  219. package/prisma/migrations/20240323122952_work_order/migration.sql +0 -6
  220. package/prisma/migrations/20240323125822_work_order/migration.sql +0 -2
  221. package/prisma/migrations/20240325082900_work_order/migration.sql +0 -11
  222. package/prisma/migrations/20240326115608_work_order/migration.sql +0 -18
  223. package/prisma/migrations/20240327051438_work_order/migration.sql +0 -8
  224. package/prisma/migrations/20240327100905_work_order/migration.sql +0 -24
  225. package/prisma/migrations/20240328121421_work_order/migration.sql +0 -26
  226. package/prisma/migrations/20240328122320_work_order/migration.sql +0 -9
  227. package/prisma/migrations/20240328123833_work_order/migration.sql +0 -3
  228. package/prisma/migrations/20240328132921_work_order/migration.sql +0 -5
  229. package/prisma/migrations/20240328142205_work_order/migration.sql +0 -2
  230. package/prisma/migrations/20240401184203_billof_material/migration.sql +0 -8
  231. package/prisma/migrations/20240402125649_feature/migration.sql +0 -2
  232. package/prisma/migrations/20240404054220_project/migration.sql +0 -29
  233. package/prisma/migrations/20240407224722_user/migration.sql +0 -2
  234. package/prisma/migrations/20240408100730_template_component/migration.sql +0 -12
  235. package/prisma/migrations/20240409094754_template/migration.sql +0 -2
  236. package/prisma/migrations/20240409095653_template/migration.sql +0 -2
  237. package/prisma/migrations/20240409100032_features/migration.sql +0 -2
  238. package/prisma/migrations/20240409100313_project/migration.sql +0 -5
  239. package/prisma/migrations/20240411073053_subject_email_configurations/migration.sql +0 -2
  240. package/prisma/migrations/20240412093517_work_order_tasks/migration.sql +0 -3
  241. package/prisma/migrations/20240413085449_problem_categorization/migration.sql +0 -5
  242. package/prisma/migrations/20240415101559_project/migration.sql +0 -20
  243. package/prisma/migrations/20240417062104_sync_to_git/migration.sql +0 -122
  244. package/prisma/migrations/20240417125606_workorder/migration.sql +0 -2
  245. package/prisma/migrations/20240422112728_movement_logs/migration.sql +0 -17
  246. package/prisma/migrations/20240423100846_work_order_task/migration.sql +0 -3
  247. package/prisma/migrations/20240428163748_email_count/migration.sql +0 -6
  248. package/prisma/migrations/20240430112607_work_order_edit_logs/migration.sql +0 -25
  249. package/prisma/migrations/20240502051952_template_status_color/migration.sql +0 -2
  250. package/prisma/migrations/20240506195539_projecttypes/migration.sql +0 -29
  251. package/prisma/migrations/20240508074229_workorder_task/migration.sql +0 -2
  252. package/prisma/migrations/20240515065236_coms/migration.sql +0 -21
  253. package/prisma/migrations/20240516093046_subsidiary_prefix/migration.sql +0 -2
  254. package/prisma/migrations/20240516170701_/migration.sql +0 -9
  255. package/prisma/migrations/20240520093356_emailconfig/migration.sql +0 -13
  256. package/prisma/migrations/20240530093136_emailtemplates/migration.sql +0 -24
  257. package/prisma/migrations/20240530110729_emailtemplates/migration.sql +0 -4
  258. package/prisma/migrations/20240530113416_emailtemplates/migration.sql +0 -9
  259. package/prisma/migrations/20240605072947_audit/migration.sql +0 -2
  260. package/prisma/migrations/20240605130105_notification_tokens/migration.sql +0 -2
  261. package/prisma/migrations/20240606074325_notifications/migration.sql +0 -21
  262. package/prisma/migrations/20240606074819_notif2/migration.sql +0 -8
  263. package/prisma/migrations/20240606172109_excel_config/migration.sql +0 -2
  264. package/prisma/migrations/20240607094457_reportformats/migration.sql +0 -27
  265. package/prisma/migrations/20240611101040_audit_matrices/migration.sql +0 -2
  266. package/prisma/migrations/20240611102951_workorder_audit_matrix/migration.sql +0 -2
  267. package/prisma/migrations/20240613063600_dispatch_roles/migration.sql +0 -18
  268. package/prisma/migrations/20240613071005_permissions_view_schedule/migration.sql +0 -2
  269. package/prisma/migrations/20240703093757_email_templates_templateinfo/migration.sql +0 -2
  270. package/prisma/migrations/20240715124159_mainproject_roles/migration.sql +0 -5
  271. package/prisma/migrations/20240722073020_admin_permissions_update/migration.sql +0 -4
  272. package/prisma/migrations/20240722082135_edit_projects/migration.sql +0 -2
  273. package/prisma/migrations/20240726090437_user_refresh_token/migration.sql +0 -11
  274. package/prisma/migrations/20240729135109_project_workflow_edit/migration.sql +0 -2
  275. package/prisma/migrations/20240729140705_template_component_project_index/migration.sql +0 -2
  276. package/prisma/migrations/20240731061332_report_format_bom_info/migration.sql +0 -2
  277. package/prisma/migrations/20240805073630_user_platform_relationship/migration.sql +0 -17
  278. package/prisma/migrations/20240809075746_workorder_sla/migration.sql +0 -2
  279. package/prisma/migrations/20240814094717_platform_to_project/migration.sql +0 -17
  280. package/prisma/migrations/20240814102025_platforms_to_project/migration.sql +0 -8
  281. package/prisma/migrations/20240819093908_network_elements/migration.sql +0 -239
  282. package/prisma/migrations/20240820092024_network_element_attributes/migration.sql +0 -276
  283. package/prisma/migrations/20240826083231_fat_template/migration.sql +0 -45
  284. package/prisma/migrations/20240826085204_pbo_pbo_template_to_project/migration.sql +0 -23
  285. package/prisma/migrations/20240826091924_attributes_to_fat_optional/migration.sql +0 -15
  286. package/prisma/migrations/20240902094457_email_signature/migration.sql +0 -2
  287. package/prisma/migrations/20240904092123_pbo_fat_zone_geometry/migration.sql +0 -16
  288. package/prisma/migrations/20240905125754_fat_name_attributes/migration.sql +0 -3
  289. package/prisma/migrations/20240905131742_fat_attribute_visible_on_mobile/migration.sql +0 -2
  290. package/prisma/migrations/20240911083041_country_list_user/migration.sql +0 -17
  291. package/prisma/migrations/20240911135957_actiondate_workorder_activity_log/migration.sql +0 -2
  292. package/prisma/migrations/20240911140227_workorder_activity_log_action_date_string_to_datetime/migration.sql +0 -9
  293. package/prisma/migrations/20240916130344_cable_template/migration.sql +0 -72
  294. package/prisma/migrations/20240916132002_cable_terminal_access/migration.sql +0 -5
  295. package/prisma/migrations/20240917113037_cable_id_on_cable_attributes_optional/migration.sql +0 -8
  296. package/prisma/migrations/20240917114004_visible_on_mobile_cable_attributes/migration.sql +0 -2
  297. package/prisma/migrations/20240917114107_visible_on_mobile_cable_attributes/migration.sql +0 -9
  298. package/prisma/migrations/20240919080014_create_cluster_and_central_office_tables/migration.sql +0 -54
  299. package/prisma/migrations/20240920092832_create_qr_code/migration.sql +0 -39
  300. package/prisma/migrations/20240924121308_qrcode_tag/migration.sql +0 -23
  301. package/prisma/migrations/20241003093709_integration_login_permissions/migration.sql +0 -3
  302. package/prisma/migrations/20241024090904_project_phase/migration.sql +0 -2
  303. package/prisma/migrations/20241024115650_project_phase_log/migration.sql +0 -24
  304. package/prisma/migrations/20241026095632_pbo_fat_attributes/migration.sql +0 -2
  305. package/prisma/migrations/20241028095307_qr_code_template_i_ds/migration.sql +0 -9
  306. package/prisma/migrations/20241029081315_add_more_network_elements/migration.sql +0 -273
  307. package/prisma/migrations/20241029084826_cable_coordinates/migration.sql +0 -5
  308. package/prisma/migrations/20241029092244_splice_closure_to_project/migration.sql +0 -5
  309. package/prisma/migrations/20241029092705_splice_closure_to_cluster/migration.sql +0 -5
  310. package/prisma/migrations/20241029094049_network_element_templates/migration.sql +0 -295
  311. package/prisma/migrations/20241029102645_network_elements_name/migration.sql +0 -50
  312. package/prisma/migrations/20241102074544_mail_carboncopy_list/migration.sql +0 -2
  313. package/prisma/migrations/20241104114549_change_qr_code_to_qr_code_template/migration.sql +0 -122
  314. package/prisma/migrations/20241104121110_qr_code_template_to_network_element_template/migration.sql +0 -33
  315. package/prisma/migrations/20241106101316_zone_coordinates/migration.sql +0 -5
  316. package/prisma/migrations/20241201141127_auto_name_elements/migration.sql +0 -39
  317. package/prisma/migrations/20241201144124_auto_name_element/migration.sql +0 -39
  318. package/prisma/migrations/20241201150401_template_index/migration.sql +0 -29
  319. package/prisma/migrations/20241205084445_template_id/migration.sql +0 -59
  320. package/prisma/migrations/20241205093552_integration_project_user_status/migration.sql +0 -23
  321. package/prisma/migrations/20241211093653_installation_sequence/migration.sql +0 -90
  322. package/prisma/migrations/20241211150807_installation_index/migration.sql +0 -2
  323. package/prisma/migrations/20241217082800_cluster_boundary/migration.sql +0 -3
  324. package/prisma/migrations/20250114092907_workorder_to_pbo_fat/migration.sql +0 -5
  325. package/prisma/migrations/20250114112746_workorder_to_sfu_and_building/migration.sql +0 -9
  326. package/prisma/migrations/20250211070850_networkelement_sequence/migration.sql +0 -19
  327. package/prisma/migrations/20250211072332_refresh_db/migration.sql +0 -95
  328. package/prisma/migrations/20250211080946_installation_sequence_self_relation/migration.sql +0 -6
  329. package/prisma/migrations/20250220100853_cluster_to_user_status/migration.sql +0 -32
  330. package/prisma/migrations/20250228100106_qr_code_template_to_cluster/migration.sql +0 -5
  331. package/prisma/migrations/20250304155122_clusters_to_users_centraloffices_to_users/migration.sql +0 -50
  332. package/prisma/migrations/20250306100801_templates_to_projects/migration.sql +0 -244
  333. package/prisma/migrations/20250306101814_cluster_naming_convention/migration.sql +0 -2
  334. package/prisma/migrations/20250311083647_previous_equipment/migration.sql +0 -28
  335. package/prisma/migrations/20250311141713_make_qrcode_template_prefix_unique/migration.sql +0 -8
  336. package/prisma/migrations/20250313114158_ne_coordinates/migration.sql +0 -32
  337. package/prisma/migrations/20250317072348_integration_user_location_model/migration.sql +0 -23
  338. package/prisma/migrations/20250416100413_standardize_cluster_centraloffice_qrcode/migration.sql +0 -8
  339. package/prisma/migrations/20250514130302_work_order_pause_table/migration.sql +0 -18
  340. package/prisma/migrations/20250514143429_work_order_pauses_end_at_nullable/migration.sql +0 -2
  341. package/prisma/migrations/20250514144701_workorder_is_paused_column/migration.sql +0 -2
  342. package/prisma/migrations/20250516124919_team_to_dispatch_team/migration.sql +0 -5
  343. package/prisma/migrations/20250519061226_camusat_client_to_user/migration.sql +0 -16
  344. package/prisma/migrations/20250611094742_integration_reports_kpi/migration.sql +0 -136
  345. package/prisma/migrations/20250618064448_optionalize_report_metrics/migration.sql +0 -4
  346. package/prisma/migrations/20250618072220_metricids_to_reportvisualization/migration.sql +0 -12
  347. package/prisma/migrations/20250618140056_report_metric_type/migration.sql +0 -5
  348. package/prisma/migrations/20250701090108_network_element_classification/migration.sql +0 -5
  349. package/prisma/migrations/20250701095803_network_element_texts/migration.sql +0 -59
  350. package/prisma/migrations/20250702092223_network_elements_files/migration.sql +0 -59
  351. package/prisma/migrations/20250730060532_mapelements/migration.sql +0 -95
  352. package/prisma/migrations/20250730080107_map_element_type/migration.sql +0 -8
  353. package/prisma/migrations/20250730152717_map_element_templates_to_projects/migration.sql +0 -28
  354. package/prisma/migrations/20250825114129_as_built_coordinates/migration.sql +0 -23
  355. package/prisma/migrations/20250826103723_central_office_team/migration.sql +0 -44
  356. package/prisma/migrations/20250828071450_is_installed/migration.sql +0 -37
  357. package/prisma/migrations/20250828080138_installation_status/migration.sql +0 -2
  358. package/prisma/migrations/20250901055110_web_notifications/migration.sql +0 -8
  359. package/prisma/migrations/20250901072039_cluster_comments/migration.sql +0 -22
  360. package/prisma/migrations/20250901112738_cluster_status_phase/migration.sql +0 -17
  361. package/prisma/migrations/20250902073555_cluster_comments_type/migration.sql +0 -9
  362. package/prisma/migrations/20250902170717_ne_installation_status/migration.sql +0 -35
  363. package/prisma/migrations/20250903092620_network_element_revision/migration.sql +0 -91
  364. package/prisma/migrations/20250903094438_revision_to_cluster/migration.sql +0 -5
  365. package/prisma/migrations/20250909084233_element_node/migration.sql +0 -191
  366. package/prisma/migrations/20250925093531_cluster_notes/migration.sql +0 -27
  367. package/prisma/migrations/20251010080110_create_conduit_ne/migration.sql +0 -212
  368. package/prisma/migrations/20251010083652_conduit_coordinates/migration.sql +0 -2
  369. package/prisma/migrations/20251015110151_denormalized_attributes_fat/migration.sql +0 -79
  370. package/prisma/migrations/20251015114440_fat_maximum_capacity/migration.sql +0 -9
  371. package/prisma/migrations/20251022155308_client_revision_id/migration.sql +0 -2
  372. package/prisma/migrations/20251023080808_backfill_ne_attributes/migration.sql +0 -164
  373. package/prisma/migrations/20251023103204_ne_attribute_addition/migration.sql +0 -24
  374. package/prisma/migrations/20251023170405_building_address/migration.sql +0 -2
  375. package/prisma/migrations/20251025065659_sfu_address/migration.sql +0 -2
  376. package/prisma/migrations/20251028133222_workorder_config_custom_sla/migration.sql +0 -3
  377. package/prisma/migrations/20251029064618_sla_start_at/migration.sql +0 -2
  378. package/prisma/migrations/20251029072210_workorder_comments/migration.sql +0 -23
  379. package/prisma/migrations/20251105075805_cable_subcable/migration.sql +0 -7
  380. package/prisma/migrations/20251106090226_conduit_name_prefix/migration.sql +0 -2
  381. package/prisma/migrations/20251106101538_max_capacity_string/migration.sql +0 -2
  382. package/prisma/migrations/migration_lock.toml +0 -3
  383. package/prisma.config.ts +0 -18
@@ -1,2044 +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 `Team` 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 Team
17
- *
18
- */
19
- export type TeamModel = runtime.Types.Result.DefaultSelection<Prisma.$TeamPayload>
20
-
21
- export type AggregateTeam = {
22
- _count: TeamCountAggregateOutputType | null
23
- _avg: TeamAvgAggregateOutputType | null
24
- _sum: TeamSumAggregateOutputType | null
25
- _min: TeamMinAggregateOutputType | null
26
- _max: TeamMaxAggregateOutputType | null
27
- }
28
-
29
- export type TeamAvgAggregateOutputType = {
30
- no: number | null
31
- }
32
-
33
- export type TeamSumAggregateOutputType = {
34
- no: number | null
35
- }
36
-
37
- export type TeamMinAggregateOutputType = {
38
- id: string | null
39
- no: number | null
40
- name: string | null
41
- description: string | null
42
- status: string | null
43
- createdAt: Date | null
44
- updatedAt: Date | null
45
- deletedAt: Date | null
46
- teamTypeId: string | null
47
- }
48
-
49
- export type TeamMaxAggregateOutputType = {
50
- id: string | null
51
- no: number | null
52
- name: string | null
53
- description: string | null
54
- status: string | null
55
- createdAt: Date | null
56
- updatedAt: Date | null
57
- deletedAt: Date | null
58
- teamTypeId: string | null
59
- }
60
-
61
- export type TeamCountAggregateOutputType = {
62
- id: number
63
- no: number
64
- name: number
65
- description: number
66
- status: number
67
- countries: number
68
- platforms: number
69
- createdAt: number
70
- updatedAt: number
71
- deletedAt: number
72
- teamTypeId: number
73
- _all: number
74
- }
75
-
76
-
77
- export type TeamAvgAggregateInputType = {
78
- no?: true
79
- }
80
-
81
- export type TeamSumAggregateInputType = {
82
- no?: true
83
- }
84
-
85
- export type TeamMinAggregateInputType = {
86
- id?: true
87
- no?: true
88
- name?: true
89
- description?: true
90
- status?: true
91
- createdAt?: true
92
- updatedAt?: true
93
- deletedAt?: true
94
- teamTypeId?: true
95
- }
96
-
97
- export type TeamMaxAggregateInputType = {
98
- id?: true
99
- no?: true
100
- name?: true
101
- description?: true
102
- status?: true
103
- createdAt?: true
104
- updatedAt?: true
105
- deletedAt?: true
106
- teamTypeId?: true
107
- }
108
-
109
- export type TeamCountAggregateInputType = {
110
- id?: true
111
- no?: true
112
- name?: true
113
- description?: true
114
- status?: true
115
- countries?: true
116
- platforms?: true
117
- createdAt?: true
118
- updatedAt?: true
119
- deletedAt?: true
120
- teamTypeId?: true
121
- _all?: true
122
- }
123
-
124
- export type TeamAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
125
- /**
126
- * Filter which Team to aggregate.
127
- */
128
- where?: Prisma.TeamWhereInput
129
- /**
130
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
131
- *
132
- * Determine the order of Teams to fetch.
133
- */
134
- orderBy?: Prisma.TeamOrderByWithRelationInput | Prisma.TeamOrderByWithRelationInput[]
135
- /**
136
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
137
- *
138
- * Sets the start position
139
- */
140
- cursor?: Prisma.TeamWhereUniqueInput
141
- /**
142
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
143
- *
144
- * Take `±n` Teams from the position of the cursor.
145
- */
146
- take?: number
147
- /**
148
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
149
- *
150
- * Skip the first `n` Teams.
151
- */
152
- skip?: number
153
- /**
154
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
155
- *
156
- * Count returned Teams
157
- **/
158
- _count?: true | TeamCountAggregateInputType
159
- /**
160
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
161
- *
162
- * Select which fields to average
163
- **/
164
- _avg?: TeamAvgAggregateInputType
165
- /**
166
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
167
- *
168
- * Select which fields to sum
169
- **/
170
- _sum?: TeamSumAggregateInputType
171
- /**
172
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
173
- *
174
- * Select which fields to find the minimum value
175
- **/
176
- _min?: TeamMinAggregateInputType
177
- /**
178
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
179
- *
180
- * Select which fields to find the maximum value
181
- **/
182
- _max?: TeamMaxAggregateInputType
183
- }
184
-
185
- export type GetTeamAggregateType<T extends TeamAggregateArgs> = {
186
- [P in keyof T & keyof AggregateTeam]: P extends '_count' | 'count'
187
- ? T[P] extends true
188
- ? number
189
- : Prisma.GetScalarType<T[P], AggregateTeam[P]>
190
- : Prisma.GetScalarType<T[P], AggregateTeam[P]>
191
- }
192
-
193
-
194
-
195
-
196
- export type TeamGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
197
- where?: Prisma.TeamWhereInput
198
- orderBy?: Prisma.TeamOrderByWithAggregationInput | Prisma.TeamOrderByWithAggregationInput[]
199
- by: Prisma.TeamScalarFieldEnum[] | Prisma.TeamScalarFieldEnum
200
- having?: Prisma.TeamScalarWhereWithAggregatesInput
201
- take?: number
202
- skip?: number
203
- _count?: TeamCountAggregateInputType | true
204
- _avg?: TeamAvgAggregateInputType
205
- _sum?: TeamSumAggregateInputType
206
- _min?: TeamMinAggregateInputType
207
- _max?: TeamMaxAggregateInputType
208
- }
209
-
210
- export type TeamGroupByOutputType = {
211
- id: string
212
- no: number
213
- name: string
214
- description: string | null
215
- status: string
216
- countries: runtime.JsonValue | null
217
- platforms: runtime.JsonValue | null
218
- createdAt: Date
219
- updatedAt: Date
220
- deletedAt: Date | null
221
- teamTypeId: string
222
- _count: TeamCountAggregateOutputType | null
223
- _avg: TeamAvgAggregateOutputType | null
224
- _sum: TeamSumAggregateOutputType | null
225
- _min: TeamMinAggregateOutputType | null
226
- _max: TeamMaxAggregateOutputType | null
227
- }
228
-
229
- type GetTeamGroupByPayload<T extends TeamGroupByArgs> = Prisma.PrismaPromise<
230
- Array<
231
- Prisma.PickEnumerable<TeamGroupByOutputType, T['by']> &
232
- {
233
- [P in ((keyof T) & (keyof TeamGroupByOutputType))]: P extends '_count'
234
- ? T[P] extends boolean
235
- ? number
236
- : Prisma.GetScalarType<T[P], TeamGroupByOutputType[P]>
237
- : Prisma.GetScalarType<T[P], TeamGroupByOutputType[P]>
238
- }
239
- >
240
- >
241
-
242
-
243
-
244
- export type TeamWhereInput = {
245
- AND?: Prisma.TeamWhereInput | Prisma.TeamWhereInput[]
246
- OR?: Prisma.TeamWhereInput[]
247
- NOT?: Prisma.TeamWhereInput | Prisma.TeamWhereInput[]
248
- id?: Prisma.StringFilter<"Team"> | string
249
- no?: Prisma.IntFilter<"Team"> | number
250
- name?: Prisma.StringFilter<"Team"> | string
251
- description?: Prisma.StringNullableFilter<"Team"> | string | null
252
- status?: Prisma.StringFilter<"Team"> | string
253
- countries?: Prisma.JsonNullableFilter<"Team">
254
- platforms?: Prisma.JsonNullableFilter<"Team">
255
- createdAt?: Prisma.DateTimeFilter<"Team"> | Date | string
256
- updatedAt?: Prisma.DateTimeFilter<"Team"> | Date | string
257
- deletedAt?: Prisma.DateTimeNullableFilter<"Team"> | Date | string | null
258
- teamTypeId?: Prisma.StringFilter<"Team"> | string
259
- teamType?: Prisma.XOR<Prisma.TeamTypeScalarRelationFilter, Prisma.TeamTypeWhereInput>
260
- TeamPlatform?: Prisma.TeamPlatformListRelationFilter
261
- User?: Prisma.UserListRelationFilter
262
- DispatchTeam?: Prisma.DispatchTeamListRelationFilter
263
- }
264
-
265
- export type TeamOrderByWithRelationInput = {
266
- id?: Prisma.SortOrder
267
- no?: Prisma.SortOrder
268
- name?: Prisma.SortOrder
269
- description?: Prisma.SortOrderInput | Prisma.SortOrder
270
- status?: Prisma.SortOrder
271
- countries?: Prisma.SortOrderInput | Prisma.SortOrder
272
- platforms?: Prisma.SortOrderInput | Prisma.SortOrder
273
- createdAt?: Prisma.SortOrder
274
- updatedAt?: Prisma.SortOrder
275
- deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
276
- teamTypeId?: Prisma.SortOrder
277
- teamType?: Prisma.TeamTypeOrderByWithRelationInput
278
- TeamPlatform?: Prisma.TeamPlatformOrderByRelationAggregateInput
279
- User?: Prisma.UserOrderByRelationAggregateInput
280
- DispatchTeam?: Prisma.DispatchTeamOrderByRelationAggregateInput
281
- }
282
-
283
- export type TeamWhereUniqueInput = Prisma.AtLeast<{
284
- id?: string
285
- AND?: Prisma.TeamWhereInput | Prisma.TeamWhereInput[]
286
- OR?: Prisma.TeamWhereInput[]
287
- NOT?: Prisma.TeamWhereInput | Prisma.TeamWhereInput[]
288
- no?: Prisma.IntFilter<"Team"> | number
289
- name?: Prisma.StringFilter<"Team"> | string
290
- description?: Prisma.StringNullableFilter<"Team"> | string | null
291
- status?: Prisma.StringFilter<"Team"> | string
292
- countries?: Prisma.JsonNullableFilter<"Team">
293
- platforms?: Prisma.JsonNullableFilter<"Team">
294
- createdAt?: Prisma.DateTimeFilter<"Team"> | Date | string
295
- updatedAt?: Prisma.DateTimeFilter<"Team"> | Date | string
296
- deletedAt?: Prisma.DateTimeNullableFilter<"Team"> | Date | string | null
297
- teamTypeId?: Prisma.StringFilter<"Team"> | string
298
- teamType?: Prisma.XOR<Prisma.TeamTypeScalarRelationFilter, Prisma.TeamTypeWhereInput>
299
- TeamPlatform?: Prisma.TeamPlatformListRelationFilter
300
- User?: Prisma.UserListRelationFilter
301
- DispatchTeam?: Prisma.DispatchTeamListRelationFilter
302
- }, "id" | "id">
303
-
304
- export type TeamOrderByWithAggregationInput = {
305
- id?: Prisma.SortOrder
306
- no?: Prisma.SortOrder
307
- name?: Prisma.SortOrder
308
- description?: Prisma.SortOrderInput | Prisma.SortOrder
309
- status?: Prisma.SortOrder
310
- countries?: Prisma.SortOrderInput | Prisma.SortOrder
311
- platforms?: Prisma.SortOrderInput | Prisma.SortOrder
312
- createdAt?: Prisma.SortOrder
313
- updatedAt?: Prisma.SortOrder
314
- deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
315
- teamTypeId?: Prisma.SortOrder
316
- _count?: Prisma.TeamCountOrderByAggregateInput
317
- _avg?: Prisma.TeamAvgOrderByAggregateInput
318
- _max?: Prisma.TeamMaxOrderByAggregateInput
319
- _min?: Prisma.TeamMinOrderByAggregateInput
320
- _sum?: Prisma.TeamSumOrderByAggregateInput
321
- }
322
-
323
- export type TeamScalarWhereWithAggregatesInput = {
324
- AND?: Prisma.TeamScalarWhereWithAggregatesInput | Prisma.TeamScalarWhereWithAggregatesInput[]
325
- OR?: Prisma.TeamScalarWhereWithAggregatesInput[]
326
- NOT?: Prisma.TeamScalarWhereWithAggregatesInput | Prisma.TeamScalarWhereWithAggregatesInput[]
327
- id?: Prisma.StringWithAggregatesFilter<"Team"> | string
328
- no?: Prisma.IntWithAggregatesFilter<"Team"> | number
329
- name?: Prisma.StringWithAggregatesFilter<"Team"> | string
330
- description?: Prisma.StringNullableWithAggregatesFilter<"Team"> | string | null
331
- status?: Prisma.StringWithAggregatesFilter<"Team"> | string
332
- countries?: Prisma.JsonNullableWithAggregatesFilter<"Team">
333
- platforms?: Prisma.JsonNullableWithAggregatesFilter<"Team">
334
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"Team"> | Date | string
335
- updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Team"> | Date | string
336
- deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Team"> | Date | string | null
337
- teamTypeId?: Prisma.StringWithAggregatesFilter<"Team"> | string
338
- }
339
-
340
- export type TeamCreateInput = {
341
- id?: string
342
- no?: number
343
- name: string
344
- description?: string | null
345
- status?: string
346
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
347
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
348
- createdAt?: Date | string
349
- updatedAt?: Date | string
350
- deletedAt?: Date | string | null
351
- teamType: Prisma.TeamTypeCreateNestedOneWithoutTeamInput
352
- TeamPlatform?: Prisma.TeamPlatformCreateNestedManyWithoutTeamInput
353
- User?: Prisma.UserCreateNestedManyWithoutTeamInput
354
- DispatchTeam?: Prisma.DispatchTeamCreateNestedManyWithoutContractorTeamInput
355
- }
356
-
357
- export type TeamUncheckedCreateInput = {
358
- id?: string
359
- no?: number
360
- name: string
361
- description?: string | null
362
- status?: string
363
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
364
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
365
- createdAt?: Date | string
366
- updatedAt?: Date | string
367
- deletedAt?: Date | string | null
368
- teamTypeId: string
369
- TeamPlatform?: Prisma.TeamPlatformUncheckedCreateNestedManyWithoutTeamInput
370
- User?: Prisma.UserUncheckedCreateNestedManyWithoutTeamInput
371
- DispatchTeam?: Prisma.DispatchTeamUncheckedCreateNestedManyWithoutContractorTeamInput
372
- }
373
-
374
- export type TeamUpdateInput = {
375
- id?: Prisma.StringFieldUpdateOperationsInput | string
376
- no?: Prisma.IntFieldUpdateOperationsInput | number
377
- name?: Prisma.StringFieldUpdateOperationsInput | string
378
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
379
- status?: Prisma.StringFieldUpdateOperationsInput | string
380
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
381
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
382
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
383
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
384
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
385
- teamType?: Prisma.TeamTypeUpdateOneRequiredWithoutTeamNestedInput
386
- TeamPlatform?: Prisma.TeamPlatformUpdateManyWithoutTeamNestedInput
387
- User?: Prisma.UserUpdateManyWithoutTeamNestedInput
388
- DispatchTeam?: Prisma.DispatchTeamUpdateManyWithoutContractorTeamNestedInput
389
- }
390
-
391
- export type TeamUncheckedUpdateInput = {
392
- id?: Prisma.StringFieldUpdateOperationsInput | string
393
- no?: Prisma.IntFieldUpdateOperationsInput | number
394
- name?: Prisma.StringFieldUpdateOperationsInput | string
395
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
396
- status?: Prisma.StringFieldUpdateOperationsInput | string
397
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
398
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
399
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
400
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
401
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
402
- teamTypeId?: Prisma.StringFieldUpdateOperationsInput | string
403
- TeamPlatform?: Prisma.TeamPlatformUncheckedUpdateManyWithoutTeamNestedInput
404
- User?: Prisma.UserUncheckedUpdateManyWithoutTeamNestedInput
405
- DispatchTeam?: Prisma.DispatchTeamUncheckedUpdateManyWithoutContractorTeamNestedInput
406
- }
407
-
408
- export type TeamCreateManyInput = {
409
- id?: string
410
- no?: number
411
- name: string
412
- description?: string | null
413
- status?: string
414
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
415
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
416
- createdAt?: Date | string
417
- updatedAt?: Date | string
418
- deletedAt?: Date | string | null
419
- teamTypeId: string
420
- }
421
-
422
- export type TeamUpdateManyMutationInput = {
423
- id?: Prisma.StringFieldUpdateOperationsInput | string
424
- no?: Prisma.IntFieldUpdateOperationsInput | number
425
- name?: Prisma.StringFieldUpdateOperationsInput | string
426
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
427
- status?: Prisma.StringFieldUpdateOperationsInput | string
428
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
429
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
430
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
431
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
432
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
433
- }
434
-
435
- export type TeamUncheckedUpdateManyInput = {
436
- id?: Prisma.StringFieldUpdateOperationsInput | string
437
- no?: Prisma.IntFieldUpdateOperationsInput | number
438
- name?: Prisma.StringFieldUpdateOperationsInput | string
439
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
440
- status?: Prisma.StringFieldUpdateOperationsInput | string
441
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
442
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
443
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
444
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
445
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
446
- teamTypeId?: Prisma.StringFieldUpdateOperationsInput | string
447
- }
448
-
449
- export type TeamListRelationFilter = {
450
- every?: Prisma.TeamWhereInput
451
- some?: Prisma.TeamWhereInput
452
- none?: Prisma.TeamWhereInput
453
- }
454
-
455
- export type TeamOrderByRelationAggregateInput = {
456
- _count?: Prisma.SortOrder
457
- }
458
-
459
- export type TeamCountOrderByAggregateInput = {
460
- id?: Prisma.SortOrder
461
- no?: Prisma.SortOrder
462
- name?: Prisma.SortOrder
463
- description?: Prisma.SortOrder
464
- status?: Prisma.SortOrder
465
- countries?: Prisma.SortOrder
466
- platforms?: Prisma.SortOrder
467
- createdAt?: Prisma.SortOrder
468
- updatedAt?: Prisma.SortOrder
469
- deletedAt?: Prisma.SortOrder
470
- teamTypeId?: Prisma.SortOrder
471
- }
472
-
473
- export type TeamAvgOrderByAggregateInput = {
474
- no?: Prisma.SortOrder
475
- }
476
-
477
- export type TeamMaxOrderByAggregateInput = {
478
- id?: Prisma.SortOrder
479
- no?: Prisma.SortOrder
480
- name?: Prisma.SortOrder
481
- description?: Prisma.SortOrder
482
- status?: Prisma.SortOrder
483
- createdAt?: Prisma.SortOrder
484
- updatedAt?: Prisma.SortOrder
485
- deletedAt?: Prisma.SortOrder
486
- teamTypeId?: Prisma.SortOrder
487
- }
488
-
489
- export type TeamMinOrderByAggregateInput = {
490
- id?: Prisma.SortOrder
491
- no?: Prisma.SortOrder
492
- name?: Prisma.SortOrder
493
- description?: Prisma.SortOrder
494
- status?: Prisma.SortOrder
495
- createdAt?: Prisma.SortOrder
496
- updatedAt?: Prisma.SortOrder
497
- deletedAt?: Prisma.SortOrder
498
- teamTypeId?: Prisma.SortOrder
499
- }
500
-
501
- export type TeamSumOrderByAggregateInput = {
502
- no?: Prisma.SortOrder
503
- }
504
-
505
- export type TeamScalarRelationFilter = {
506
- is?: Prisma.TeamWhereInput
507
- isNot?: Prisma.TeamWhereInput
508
- }
509
-
510
- export type TeamNullableScalarRelationFilter = {
511
- is?: Prisma.TeamWhereInput | null
512
- isNot?: Prisma.TeamWhereInput | null
513
- }
514
-
515
- export type TeamCreateNestedManyWithoutTeamTypeInput = {
516
- create?: Prisma.XOR<Prisma.TeamCreateWithoutTeamTypeInput, Prisma.TeamUncheckedCreateWithoutTeamTypeInput> | Prisma.TeamCreateWithoutTeamTypeInput[] | Prisma.TeamUncheckedCreateWithoutTeamTypeInput[]
517
- connectOrCreate?: Prisma.TeamCreateOrConnectWithoutTeamTypeInput | Prisma.TeamCreateOrConnectWithoutTeamTypeInput[]
518
- createMany?: Prisma.TeamCreateManyTeamTypeInputEnvelope
519
- connect?: Prisma.TeamWhereUniqueInput | Prisma.TeamWhereUniqueInput[]
520
- }
521
-
522
- export type TeamUncheckedCreateNestedManyWithoutTeamTypeInput = {
523
- create?: Prisma.XOR<Prisma.TeamCreateWithoutTeamTypeInput, Prisma.TeamUncheckedCreateWithoutTeamTypeInput> | Prisma.TeamCreateWithoutTeamTypeInput[] | Prisma.TeamUncheckedCreateWithoutTeamTypeInput[]
524
- connectOrCreate?: Prisma.TeamCreateOrConnectWithoutTeamTypeInput | Prisma.TeamCreateOrConnectWithoutTeamTypeInput[]
525
- createMany?: Prisma.TeamCreateManyTeamTypeInputEnvelope
526
- connect?: Prisma.TeamWhereUniqueInput | Prisma.TeamWhereUniqueInput[]
527
- }
528
-
529
- export type TeamUpdateManyWithoutTeamTypeNestedInput = {
530
- create?: Prisma.XOR<Prisma.TeamCreateWithoutTeamTypeInput, Prisma.TeamUncheckedCreateWithoutTeamTypeInput> | Prisma.TeamCreateWithoutTeamTypeInput[] | Prisma.TeamUncheckedCreateWithoutTeamTypeInput[]
531
- connectOrCreate?: Prisma.TeamCreateOrConnectWithoutTeamTypeInput | Prisma.TeamCreateOrConnectWithoutTeamTypeInput[]
532
- upsert?: Prisma.TeamUpsertWithWhereUniqueWithoutTeamTypeInput | Prisma.TeamUpsertWithWhereUniqueWithoutTeamTypeInput[]
533
- createMany?: Prisma.TeamCreateManyTeamTypeInputEnvelope
534
- set?: Prisma.TeamWhereUniqueInput | Prisma.TeamWhereUniqueInput[]
535
- disconnect?: Prisma.TeamWhereUniqueInput | Prisma.TeamWhereUniqueInput[]
536
- delete?: Prisma.TeamWhereUniqueInput | Prisma.TeamWhereUniqueInput[]
537
- connect?: Prisma.TeamWhereUniqueInput | Prisma.TeamWhereUniqueInput[]
538
- update?: Prisma.TeamUpdateWithWhereUniqueWithoutTeamTypeInput | Prisma.TeamUpdateWithWhereUniqueWithoutTeamTypeInput[]
539
- updateMany?: Prisma.TeamUpdateManyWithWhereWithoutTeamTypeInput | Prisma.TeamUpdateManyWithWhereWithoutTeamTypeInput[]
540
- deleteMany?: Prisma.TeamScalarWhereInput | Prisma.TeamScalarWhereInput[]
541
- }
542
-
543
- export type TeamUncheckedUpdateManyWithoutTeamTypeNestedInput = {
544
- create?: Prisma.XOR<Prisma.TeamCreateWithoutTeamTypeInput, Prisma.TeamUncheckedCreateWithoutTeamTypeInput> | Prisma.TeamCreateWithoutTeamTypeInput[] | Prisma.TeamUncheckedCreateWithoutTeamTypeInput[]
545
- connectOrCreate?: Prisma.TeamCreateOrConnectWithoutTeamTypeInput | Prisma.TeamCreateOrConnectWithoutTeamTypeInput[]
546
- upsert?: Prisma.TeamUpsertWithWhereUniqueWithoutTeamTypeInput | Prisma.TeamUpsertWithWhereUniqueWithoutTeamTypeInput[]
547
- createMany?: Prisma.TeamCreateManyTeamTypeInputEnvelope
548
- set?: Prisma.TeamWhereUniqueInput | Prisma.TeamWhereUniqueInput[]
549
- disconnect?: Prisma.TeamWhereUniqueInput | Prisma.TeamWhereUniqueInput[]
550
- delete?: Prisma.TeamWhereUniqueInput | Prisma.TeamWhereUniqueInput[]
551
- connect?: Prisma.TeamWhereUniqueInput | Prisma.TeamWhereUniqueInput[]
552
- update?: Prisma.TeamUpdateWithWhereUniqueWithoutTeamTypeInput | Prisma.TeamUpdateWithWhereUniqueWithoutTeamTypeInput[]
553
- updateMany?: Prisma.TeamUpdateManyWithWhereWithoutTeamTypeInput | Prisma.TeamUpdateManyWithWhereWithoutTeamTypeInput[]
554
- deleteMany?: Prisma.TeamScalarWhereInput | Prisma.TeamScalarWhereInput[]
555
- }
556
-
557
- export type TeamCreateNestedOneWithoutTeamPlatformInput = {
558
- create?: Prisma.XOR<Prisma.TeamCreateWithoutTeamPlatformInput, Prisma.TeamUncheckedCreateWithoutTeamPlatformInput>
559
- connectOrCreate?: Prisma.TeamCreateOrConnectWithoutTeamPlatformInput
560
- connect?: Prisma.TeamWhereUniqueInput
561
- }
562
-
563
- export type TeamUpdateOneRequiredWithoutTeamPlatformNestedInput = {
564
- create?: Prisma.XOR<Prisma.TeamCreateWithoutTeamPlatformInput, Prisma.TeamUncheckedCreateWithoutTeamPlatformInput>
565
- connectOrCreate?: Prisma.TeamCreateOrConnectWithoutTeamPlatformInput
566
- upsert?: Prisma.TeamUpsertWithoutTeamPlatformInput
567
- connect?: Prisma.TeamWhereUniqueInput
568
- update?: Prisma.XOR<Prisma.XOR<Prisma.TeamUpdateToOneWithWhereWithoutTeamPlatformInput, Prisma.TeamUpdateWithoutTeamPlatformInput>, Prisma.TeamUncheckedUpdateWithoutTeamPlatformInput>
569
- }
570
-
571
- export type TeamCreateNestedOneWithoutUserInput = {
572
- create?: Prisma.XOR<Prisma.TeamCreateWithoutUserInput, Prisma.TeamUncheckedCreateWithoutUserInput>
573
- connectOrCreate?: Prisma.TeamCreateOrConnectWithoutUserInput
574
- connect?: Prisma.TeamWhereUniqueInput
575
- }
576
-
577
- export type TeamUpdateOneWithoutUserNestedInput = {
578
- create?: Prisma.XOR<Prisma.TeamCreateWithoutUserInput, Prisma.TeamUncheckedCreateWithoutUserInput>
579
- connectOrCreate?: Prisma.TeamCreateOrConnectWithoutUserInput
580
- upsert?: Prisma.TeamUpsertWithoutUserInput
581
- disconnect?: Prisma.TeamWhereInput | boolean
582
- delete?: Prisma.TeamWhereInput | boolean
583
- connect?: Prisma.TeamWhereUniqueInput
584
- update?: Prisma.XOR<Prisma.XOR<Prisma.TeamUpdateToOneWithWhereWithoutUserInput, Prisma.TeamUpdateWithoutUserInput>, Prisma.TeamUncheckedUpdateWithoutUserInput>
585
- }
586
-
587
- export type TeamCreateNestedOneWithoutDispatchTeamInput = {
588
- create?: Prisma.XOR<Prisma.TeamCreateWithoutDispatchTeamInput, Prisma.TeamUncheckedCreateWithoutDispatchTeamInput>
589
- connectOrCreate?: Prisma.TeamCreateOrConnectWithoutDispatchTeamInput
590
- connect?: Prisma.TeamWhereUniqueInput
591
- }
592
-
593
- export type TeamUpdateOneWithoutDispatchTeamNestedInput = {
594
- create?: Prisma.XOR<Prisma.TeamCreateWithoutDispatchTeamInput, Prisma.TeamUncheckedCreateWithoutDispatchTeamInput>
595
- connectOrCreate?: Prisma.TeamCreateOrConnectWithoutDispatchTeamInput
596
- upsert?: Prisma.TeamUpsertWithoutDispatchTeamInput
597
- disconnect?: Prisma.TeamWhereInput | boolean
598
- delete?: Prisma.TeamWhereInput | boolean
599
- connect?: Prisma.TeamWhereUniqueInput
600
- update?: Prisma.XOR<Prisma.XOR<Prisma.TeamUpdateToOneWithWhereWithoutDispatchTeamInput, Prisma.TeamUpdateWithoutDispatchTeamInput>, Prisma.TeamUncheckedUpdateWithoutDispatchTeamInput>
601
- }
602
-
603
- export type TeamCreateWithoutTeamTypeInput = {
604
- id?: string
605
- no?: number
606
- name: string
607
- description?: string | null
608
- status?: string
609
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
610
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
611
- createdAt?: Date | string
612
- updatedAt?: Date | string
613
- deletedAt?: Date | string | null
614
- TeamPlatform?: Prisma.TeamPlatformCreateNestedManyWithoutTeamInput
615
- User?: Prisma.UserCreateNestedManyWithoutTeamInput
616
- DispatchTeam?: Prisma.DispatchTeamCreateNestedManyWithoutContractorTeamInput
617
- }
618
-
619
- export type TeamUncheckedCreateWithoutTeamTypeInput = {
620
- id?: string
621
- no?: number
622
- name: string
623
- description?: string | null
624
- status?: string
625
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
626
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
627
- createdAt?: Date | string
628
- updatedAt?: Date | string
629
- deletedAt?: Date | string | null
630
- TeamPlatform?: Prisma.TeamPlatformUncheckedCreateNestedManyWithoutTeamInput
631
- User?: Prisma.UserUncheckedCreateNestedManyWithoutTeamInput
632
- DispatchTeam?: Prisma.DispatchTeamUncheckedCreateNestedManyWithoutContractorTeamInput
633
- }
634
-
635
- export type TeamCreateOrConnectWithoutTeamTypeInput = {
636
- where: Prisma.TeamWhereUniqueInput
637
- create: Prisma.XOR<Prisma.TeamCreateWithoutTeamTypeInput, Prisma.TeamUncheckedCreateWithoutTeamTypeInput>
638
- }
639
-
640
- export type TeamCreateManyTeamTypeInputEnvelope = {
641
- data: Prisma.TeamCreateManyTeamTypeInput | Prisma.TeamCreateManyTeamTypeInput[]
642
- skipDuplicates?: boolean
643
- }
644
-
645
- export type TeamUpsertWithWhereUniqueWithoutTeamTypeInput = {
646
- where: Prisma.TeamWhereUniqueInput
647
- update: Prisma.XOR<Prisma.TeamUpdateWithoutTeamTypeInput, Prisma.TeamUncheckedUpdateWithoutTeamTypeInput>
648
- create: Prisma.XOR<Prisma.TeamCreateWithoutTeamTypeInput, Prisma.TeamUncheckedCreateWithoutTeamTypeInput>
649
- }
650
-
651
- export type TeamUpdateWithWhereUniqueWithoutTeamTypeInput = {
652
- where: Prisma.TeamWhereUniqueInput
653
- data: Prisma.XOR<Prisma.TeamUpdateWithoutTeamTypeInput, Prisma.TeamUncheckedUpdateWithoutTeamTypeInput>
654
- }
655
-
656
- export type TeamUpdateManyWithWhereWithoutTeamTypeInput = {
657
- where: Prisma.TeamScalarWhereInput
658
- data: Prisma.XOR<Prisma.TeamUpdateManyMutationInput, Prisma.TeamUncheckedUpdateManyWithoutTeamTypeInput>
659
- }
660
-
661
- export type TeamScalarWhereInput = {
662
- AND?: Prisma.TeamScalarWhereInput | Prisma.TeamScalarWhereInput[]
663
- OR?: Prisma.TeamScalarWhereInput[]
664
- NOT?: Prisma.TeamScalarWhereInput | Prisma.TeamScalarWhereInput[]
665
- id?: Prisma.StringFilter<"Team"> | string
666
- no?: Prisma.IntFilter<"Team"> | number
667
- name?: Prisma.StringFilter<"Team"> | string
668
- description?: Prisma.StringNullableFilter<"Team"> | string | null
669
- status?: Prisma.StringFilter<"Team"> | string
670
- countries?: Prisma.JsonNullableFilter<"Team">
671
- platforms?: Prisma.JsonNullableFilter<"Team">
672
- createdAt?: Prisma.DateTimeFilter<"Team"> | Date | string
673
- updatedAt?: Prisma.DateTimeFilter<"Team"> | Date | string
674
- deletedAt?: Prisma.DateTimeNullableFilter<"Team"> | Date | string | null
675
- teamTypeId?: Prisma.StringFilter<"Team"> | string
676
- }
677
-
678
- export type TeamCreateWithoutTeamPlatformInput = {
679
- id?: string
680
- no?: number
681
- name: string
682
- description?: string | null
683
- status?: string
684
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
685
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
686
- createdAt?: Date | string
687
- updatedAt?: Date | string
688
- deletedAt?: Date | string | null
689
- teamType: Prisma.TeamTypeCreateNestedOneWithoutTeamInput
690
- User?: Prisma.UserCreateNestedManyWithoutTeamInput
691
- DispatchTeam?: Prisma.DispatchTeamCreateNestedManyWithoutContractorTeamInput
692
- }
693
-
694
- export type TeamUncheckedCreateWithoutTeamPlatformInput = {
695
- id?: string
696
- no?: number
697
- name: string
698
- description?: string | null
699
- status?: string
700
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
701
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
702
- createdAt?: Date | string
703
- updatedAt?: Date | string
704
- deletedAt?: Date | string | null
705
- teamTypeId: string
706
- User?: Prisma.UserUncheckedCreateNestedManyWithoutTeamInput
707
- DispatchTeam?: Prisma.DispatchTeamUncheckedCreateNestedManyWithoutContractorTeamInput
708
- }
709
-
710
- export type TeamCreateOrConnectWithoutTeamPlatformInput = {
711
- where: Prisma.TeamWhereUniqueInput
712
- create: Prisma.XOR<Prisma.TeamCreateWithoutTeamPlatformInput, Prisma.TeamUncheckedCreateWithoutTeamPlatformInput>
713
- }
714
-
715
- export type TeamUpsertWithoutTeamPlatformInput = {
716
- update: Prisma.XOR<Prisma.TeamUpdateWithoutTeamPlatformInput, Prisma.TeamUncheckedUpdateWithoutTeamPlatformInput>
717
- create: Prisma.XOR<Prisma.TeamCreateWithoutTeamPlatformInput, Prisma.TeamUncheckedCreateWithoutTeamPlatformInput>
718
- where?: Prisma.TeamWhereInput
719
- }
720
-
721
- export type TeamUpdateToOneWithWhereWithoutTeamPlatformInput = {
722
- where?: Prisma.TeamWhereInput
723
- data: Prisma.XOR<Prisma.TeamUpdateWithoutTeamPlatformInput, Prisma.TeamUncheckedUpdateWithoutTeamPlatformInput>
724
- }
725
-
726
- export type TeamUpdateWithoutTeamPlatformInput = {
727
- id?: Prisma.StringFieldUpdateOperationsInput | string
728
- no?: Prisma.IntFieldUpdateOperationsInput | number
729
- name?: Prisma.StringFieldUpdateOperationsInput | string
730
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
731
- status?: Prisma.StringFieldUpdateOperationsInput | string
732
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
733
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
734
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
735
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
736
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
737
- teamType?: Prisma.TeamTypeUpdateOneRequiredWithoutTeamNestedInput
738
- User?: Prisma.UserUpdateManyWithoutTeamNestedInput
739
- DispatchTeam?: Prisma.DispatchTeamUpdateManyWithoutContractorTeamNestedInput
740
- }
741
-
742
- export type TeamUncheckedUpdateWithoutTeamPlatformInput = {
743
- id?: Prisma.StringFieldUpdateOperationsInput | string
744
- no?: Prisma.IntFieldUpdateOperationsInput | number
745
- name?: Prisma.StringFieldUpdateOperationsInput | string
746
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
747
- status?: Prisma.StringFieldUpdateOperationsInput | string
748
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
749
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
750
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
751
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
752
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
753
- teamTypeId?: Prisma.StringFieldUpdateOperationsInput | string
754
- User?: Prisma.UserUncheckedUpdateManyWithoutTeamNestedInput
755
- DispatchTeam?: Prisma.DispatchTeamUncheckedUpdateManyWithoutContractorTeamNestedInput
756
- }
757
-
758
- export type TeamCreateWithoutUserInput = {
759
- id?: string
760
- no?: number
761
- name: string
762
- description?: string | null
763
- status?: string
764
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
765
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
766
- createdAt?: Date | string
767
- updatedAt?: Date | string
768
- deletedAt?: Date | string | null
769
- teamType: Prisma.TeamTypeCreateNestedOneWithoutTeamInput
770
- TeamPlatform?: Prisma.TeamPlatformCreateNestedManyWithoutTeamInput
771
- DispatchTeam?: Prisma.DispatchTeamCreateNestedManyWithoutContractorTeamInput
772
- }
773
-
774
- export type TeamUncheckedCreateWithoutUserInput = {
775
- id?: string
776
- no?: number
777
- name: string
778
- description?: string | null
779
- status?: string
780
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
781
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
782
- createdAt?: Date | string
783
- updatedAt?: Date | string
784
- deletedAt?: Date | string | null
785
- teamTypeId: string
786
- TeamPlatform?: Prisma.TeamPlatformUncheckedCreateNestedManyWithoutTeamInput
787
- DispatchTeam?: Prisma.DispatchTeamUncheckedCreateNestedManyWithoutContractorTeamInput
788
- }
789
-
790
- export type TeamCreateOrConnectWithoutUserInput = {
791
- where: Prisma.TeamWhereUniqueInput
792
- create: Prisma.XOR<Prisma.TeamCreateWithoutUserInput, Prisma.TeamUncheckedCreateWithoutUserInput>
793
- }
794
-
795
- export type TeamUpsertWithoutUserInput = {
796
- update: Prisma.XOR<Prisma.TeamUpdateWithoutUserInput, Prisma.TeamUncheckedUpdateWithoutUserInput>
797
- create: Prisma.XOR<Prisma.TeamCreateWithoutUserInput, Prisma.TeamUncheckedCreateWithoutUserInput>
798
- where?: Prisma.TeamWhereInput
799
- }
800
-
801
- export type TeamUpdateToOneWithWhereWithoutUserInput = {
802
- where?: Prisma.TeamWhereInput
803
- data: Prisma.XOR<Prisma.TeamUpdateWithoutUserInput, Prisma.TeamUncheckedUpdateWithoutUserInput>
804
- }
805
-
806
- export type TeamUpdateWithoutUserInput = {
807
- id?: Prisma.StringFieldUpdateOperationsInput | string
808
- no?: Prisma.IntFieldUpdateOperationsInput | number
809
- name?: Prisma.StringFieldUpdateOperationsInput | string
810
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
811
- status?: Prisma.StringFieldUpdateOperationsInput | string
812
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
813
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
814
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
815
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
816
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
817
- teamType?: Prisma.TeamTypeUpdateOneRequiredWithoutTeamNestedInput
818
- TeamPlatform?: Prisma.TeamPlatformUpdateManyWithoutTeamNestedInput
819
- DispatchTeam?: Prisma.DispatchTeamUpdateManyWithoutContractorTeamNestedInput
820
- }
821
-
822
- export type TeamUncheckedUpdateWithoutUserInput = {
823
- id?: Prisma.StringFieldUpdateOperationsInput | string
824
- no?: Prisma.IntFieldUpdateOperationsInput | number
825
- name?: Prisma.StringFieldUpdateOperationsInput | string
826
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
827
- status?: Prisma.StringFieldUpdateOperationsInput | string
828
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
829
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
830
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
831
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
832
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
833
- teamTypeId?: Prisma.StringFieldUpdateOperationsInput | string
834
- TeamPlatform?: Prisma.TeamPlatformUncheckedUpdateManyWithoutTeamNestedInput
835
- DispatchTeam?: Prisma.DispatchTeamUncheckedUpdateManyWithoutContractorTeamNestedInput
836
- }
837
-
838
- export type TeamCreateWithoutDispatchTeamInput = {
839
- id?: string
840
- no?: number
841
- name: string
842
- description?: string | null
843
- status?: string
844
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
845
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
846
- createdAt?: Date | string
847
- updatedAt?: Date | string
848
- deletedAt?: Date | string | null
849
- teamType: Prisma.TeamTypeCreateNestedOneWithoutTeamInput
850
- TeamPlatform?: Prisma.TeamPlatformCreateNestedManyWithoutTeamInput
851
- User?: Prisma.UserCreateNestedManyWithoutTeamInput
852
- }
853
-
854
- export type TeamUncheckedCreateWithoutDispatchTeamInput = {
855
- id?: string
856
- no?: number
857
- name: string
858
- description?: string | null
859
- status?: string
860
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
861
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
862
- createdAt?: Date | string
863
- updatedAt?: Date | string
864
- deletedAt?: Date | string | null
865
- teamTypeId: string
866
- TeamPlatform?: Prisma.TeamPlatformUncheckedCreateNestedManyWithoutTeamInput
867
- User?: Prisma.UserUncheckedCreateNestedManyWithoutTeamInput
868
- }
869
-
870
- export type TeamCreateOrConnectWithoutDispatchTeamInput = {
871
- where: Prisma.TeamWhereUniqueInput
872
- create: Prisma.XOR<Prisma.TeamCreateWithoutDispatchTeamInput, Prisma.TeamUncheckedCreateWithoutDispatchTeamInput>
873
- }
874
-
875
- export type TeamUpsertWithoutDispatchTeamInput = {
876
- update: Prisma.XOR<Prisma.TeamUpdateWithoutDispatchTeamInput, Prisma.TeamUncheckedUpdateWithoutDispatchTeamInput>
877
- create: Prisma.XOR<Prisma.TeamCreateWithoutDispatchTeamInput, Prisma.TeamUncheckedCreateWithoutDispatchTeamInput>
878
- where?: Prisma.TeamWhereInput
879
- }
880
-
881
- export type TeamUpdateToOneWithWhereWithoutDispatchTeamInput = {
882
- where?: Prisma.TeamWhereInput
883
- data: Prisma.XOR<Prisma.TeamUpdateWithoutDispatchTeamInput, Prisma.TeamUncheckedUpdateWithoutDispatchTeamInput>
884
- }
885
-
886
- export type TeamUpdateWithoutDispatchTeamInput = {
887
- id?: Prisma.StringFieldUpdateOperationsInput | string
888
- no?: Prisma.IntFieldUpdateOperationsInput | number
889
- name?: Prisma.StringFieldUpdateOperationsInput | string
890
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
891
- status?: Prisma.StringFieldUpdateOperationsInput | string
892
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
893
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
894
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
895
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
896
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
897
- teamType?: Prisma.TeamTypeUpdateOneRequiredWithoutTeamNestedInput
898
- TeamPlatform?: Prisma.TeamPlatformUpdateManyWithoutTeamNestedInput
899
- User?: Prisma.UserUpdateManyWithoutTeamNestedInput
900
- }
901
-
902
- export type TeamUncheckedUpdateWithoutDispatchTeamInput = {
903
- id?: Prisma.StringFieldUpdateOperationsInput | string
904
- no?: Prisma.IntFieldUpdateOperationsInput | number
905
- name?: Prisma.StringFieldUpdateOperationsInput | string
906
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
907
- status?: Prisma.StringFieldUpdateOperationsInput | string
908
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
909
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
910
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
911
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
912
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
913
- teamTypeId?: Prisma.StringFieldUpdateOperationsInput | string
914
- TeamPlatform?: Prisma.TeamPlatformUncheckedUpdateManyWithoutTeamNestedInput
915
- User?: Prisma.UserUncheckedUpdateManyWithoutTeamNestedInput
916
- }
917
-
918
- export type TeamCreateManyTeamTypeInput = {
919
- id?: string
920
- no?: number
921
- name: string
922
- description?: string | null
923
- status?: string
924
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
925
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
926
- createdAt?: Date | string
927
- updatedAt?: Date | string
928
- deletedAt?: Date | string | null
929
- }
930
-
931
- export type TeamUpdateWithoutTeamTypeInput = {
932
- id?: Prisma.StringFieldUpdateOperationsInput | string
933
- no?: Prisma.IntFieldUpdateOperationsInput | number
934
- name?: Prisma.StringFieldUpdateOperationsInput | string
935
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
936
- status?: Prisma.StringFieldUpdateOperationsInput | string
937
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
938
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
939
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
940
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
941
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
942
- TeamPlatform?: Prisma.TeamPlatformUpdateManyWithoutTeamNestedInput
943
- User?: Prisma.UserUpdateManyWithoutTeamNestedInput
944
- DispatchTeam?: Prisma.DispatchTeamUpdateManyWithoutContractorTeamNestedInput
945
- }
946
-
947
- export type TeamUncheckedUpdateWithoutTeamTypeInput = {
948
- id?: Prisma.StringFieldUpdateOperationsInput | string
949
- no?: Prisma.IntFieldUpdateOperationsInput | number
950
- name?: Prisma.StringFieldUpdateOperationsInput | string
951
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
952
- status?: Prisma.StringFieldUpdateOperationsInput | string
953
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
954
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
955
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
956
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
957
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
958
- TeamPlatform?: Prisma.TeamPlatformUncheckedUpdateManyWithoutTeamNestedInput
959
- User?: Prisma.UserUncheckedUpdateManyWithoutTeamNestedInput
960
- DispatchTeam?: Prisma.DispatchTeamUncheckedUpdateManyWithoutContractorTeamNestedInput
961
- }
962
-
963
- export type TeamUncheckedUpdateManyWithoutTeamTypeInput = {
964
- id?: Prisma.StringFieldUpdateOperationsInput | string
965
- no?: Prisma.IntFieldUpdateOperationsInput | number
966
- name?: Prisma.StringFieldUpdateOperationsInput | string
967
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
968
- status?: Prisma.StringFieldUpdateOperationsInput | string
969
- countries?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
970
- platforms?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
971
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
972
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
973
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
974
- }
975
-
976
-
977
- /**
978
- * Count Type TeamCountOutputType
979
- */
980
-
981
- export type TeamCountOutputType = {
982
- TeamPlatform: number
983
- User: number
984
- DispatchTeam: number
985
- }
986
-
987
- export type TeamCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
988
- TeamPlatform?: boolean | TeamCountOutputTypeCountTeamPlatformArgs
989
- User?: boolean | TeamCountOutputTypeCountUserArgs
990
- DispatchTeam?: boolean | TeamCountOutputTypeCountDispatchTeamArgs
991
- }
992
-
993
- /**
994
- * TeamCountOutputType without action
995
- */
996
- export type TeamCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
997
- /**
998
- * Select specific fields to fetch from the TeamCountOutputType
999
- */
1000
- select?: Prisma.TeamCountOutputTypeSelect<ExtArgs> | null
1001
- }
1002
-
1003
- /**
1004
- * TeamCountOutputType without action
1005
- */
1006
- export type TeamCountOutputTypeCountTeamPlatformArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1007
- where?: Prisma.TeamPlatformWhereInput
1008
- }
1009
-
1010
- /**
1011
- * TeamCountOutputType without action
1012
- */
1013
- export type TeamCountOutputTypeCountUserArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1014
- where?: Prisma.UserWhereInput
1015
- }
1016
-
1017
- /**
1018
- * TeamCountOutputType without action
1019
- */
1020
- export type TeamCountOutputTypeCountDispatchTeamArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1021
- where?: Prisma.DispatchTeamWhereInput
1022
- }
1023
-
1024
-
1025
- export type TeamSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1026
- id?: boolean
1027
- no?: boolean
1028
- name?: boolean
1029
- description?: boolean
1030
- status?: boolean
1031
- countries?: boolean
1032
- platforms?: boolean
1033
- createdAt?: boolean
1034
- updatedAt?: boolean
1035
- deletedAt?: boolean
1036
- teamTypeId?: boolean
1037
- teamType?: boolean | Prisma.TeamTypeDefaultArgs<ExtArgs>
1038
- TeamPlatform?: boolean | Prisma.Team$TeamPlatformArgs<ExtArgs>
1039
- User?: boolean | Prisma.Team$UserArgs<ExtArgs>
1040
- DispatchTeam?: boolean | Prisma.Team$DispatchTeamArgs<ExtArgs>
1041
- _count?: boolean | Prisma.TeamCountOutputTypeDefaultArgs<ExtArgs>
1042
- }, ExtArgs["result"]["team"]>
1043
-
1044
- export type TeamSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1045
- id?: boolean
1046
- no?: boolean
1047
- name?: boolean
1048
- description?: boolean
1049
- status?: boolean
1050
- countries?: boolean
1051
- platforms?: boolean
1052
- createdAt?: boolean
1053
- updatedAt?: boolean
1054
- deletedAt?: boolean
1055
- teamTypeId?: boolean
1056
- teamType?: boolean | Prisma.TeamTypeDefaultArgs<ExtArgs>
1057
- }, ExtArgs["result"]["team"]>
1058
-
1059
- export type TeamSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1060
- id?: boolean
1061
- no?: boolean
1062
- name?: boolean
1063
- description?: boolean
1064
- status?: boolean
1065
- countries?: boolean
1066
- platforms?: boolean
1067
- createdAt?: boolean
1068
- updatedAt?: boolean
1069
- deletedAt?: boolean
1070
- teamTypeId?: boolean
1071
- teamType?: boolean | Prisma.TeamTypeDefaultArgs<ExtArgs>
1072
- }, ExtArgs["result"]["team"]>
1073
-
1074
- export type TeamSelectScalar = {
1075
- id?: boolean
1076
- no?: boolean
1077
- name?: boolean
1078
- description?: boolean
1079
- status?: boolean
1080
- countries?: boolean
1081
- platforms?: boolean
1082
- createdAt?: boolean
1083
- updatedAt?: boolean
1084
- deletedAt?: boolean
1085
- teamTypeId?: boolean
1086
- }
1087
-
1088
- export type TeamOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "no" | "name" | "description" | "status" | "countries" | "platforms" | "createdAt" | "updatedAt" | "deletedAt" | "teamTypeId", ExtArgs["result"]["team"]>
1089
- export type TeamInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1090
- teamType?: boolean | Prisma.TeamTypeDefaultArgs<ExtArgs>
1091
- TeamPlatform?: boolean | Prisma.Team$TeamPlatformArgs<ExtArgs>
1092
- User?: boolean | Prisma.Team$UserArgs<ExtArgs>
1093
- DispatchTeam?: boolean | Prisma.Team$DispatchTeamArgs<ExtArgs>
1094
- _count?: boolean | Prisma.TeamCountOutputTypeDefaultArgs<ExtArgs>
1095
- }
1096
- export type TeamIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1097
- teamType?: boolean | Prisma.TeamTypeDefaultArgs<ExtArgs>
1098
- }
1099
- export type TeamIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1100
- teamType?: boolean | Prisma.TeamTypeDefaultArgs<ExtArgs>
1101
- }
1102
-
1103
- export type $TeamPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1104
- name: "Team"
1105
- objects: {
1106
- teamType: Prisma.$TeamTypePayload<ExtArgs>
1107
- TeamPlatform: Prisma.$TeamPlatformPayload<ExtArgs>[]
1108
- User: Prisma.$UserPayload<ExtArgs>[]
1109
- DispatchTeam: Prisma.$DispatchTeamPayload<ExtArgs>[]
1110
- }
1111
- scalars: runtime.Types.Extensions.GetPayloadResult<{
1112
- id: string
1113
- no: number
1114
- name: string
1115
- description: string | null
1116
- status: string
1117
- countries: runtime.JsonValue | null
1118
- platforms: runtime.JsonValue | null
1119
- createdAt: Date
1120
- updatedAt: Date
1121
- deletedAt: Date | null
1122
- teamTypeId: string
1123
- }, ExtArgs["result"]["team"]>
1124
- composites: {}
1125
- }
1126
-
1127
- export type TeamGetPayload<S extends boolean | null | undefined | TeamDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TeamPayload, S>
1128
-
1129
- export type TeamCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1130
- Omit<TeamFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1131
- select?: TeamCountAggregateInputType | true
1132
- }
1133
-
1134
- export interface TeamDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1135
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Team'], meta: { name: 'Team' } }
1136
- /**
1137
- * Find zero or one Team that matches the filter.
1138
- * @param {TeamFindUniqueArgs} args - Arguments to find a Team
1139
- * @example
1140
- * // Get one Team
1141
- * const team = await prisma.team.findUnique({
1142
- * where: {
1143
- * // ... provide filter here
1144
- * }
1145
- * })
1146
- */
1147
- findUnique<T extends TeamFindUniqueArgs>(args: Prisma.SelectSubset<T, TeamFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TeamClient<runtime.Types.Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1148
-
1149
- /**
1150
- * Find one Team that matches the filter or throw an error with `error.code='P2025'`
1151
- * if no matches were found.
1152
- * @param {TeamFindUniqueOrThrowArgs} args - Arguments to find a Team
1153
- * @example
1154
- * // Get one Team
1155
- * const team = await prisma.team.findUniqueOrThrow({
1156
- * where: {
1157
- * // ... provide filter here
1158
- * }
1159
- * })
1160
- */
1161
- findUniqueOrThrow<T extends TeamFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TeamFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TeamClient<runtime.Types.Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1162
-
1163
- /**
1164
- * Find the first Team that matches the filter.
1165
- * Note, that providing `undefined` is treated as the value not being there.
1166
- * Read more here: https://pris.ly/d/null-undefined
1167
- * @param {TeamFindFirstArgs} args - Arguments to find a Team
1168
- * @example
1169
- * // Get one Team
1170
- * const team = await prisma.team.findFirst({
1171
- * where: {
1172
- * // ... provide filter here
1173
- * }
1174
- * })
1175
- */
1176
- findFirst<T extends TeamFindFirstArgs>(args?: Prisma.SelectSubset<T, TeamFindFirstArgs<ExtArgs>>): Prisma.Prisma__TeamClient<runtime.Types.Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1177
-
1178
- /**
1179
- * Find the first Team that matches the filter or
1180
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1181
- * Note, that providing `undefined` is treated as the value not being there.
1182
- * Read more here: https://pris.ly/d/null-undefined
1183
- * @param {TeamFindFirstOrThrowArgs} args - Arguments to find a Team
1184
- * @example
1185
- * // Get one Team
1186
- * const team = await prisma.team.findFirstOrThrow({
1187
- * where: {
1188
- * // ... provide filter here
1189
- * }
1190
- * })
1191
- */
1192
- findFirstOrThrow<T extends TeamFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TeamFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TeamClient<runtime.Types.Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1193
-
1194
- /**
1195
- * Find zero or more Teams that matches the filter.
1196
- * Note, that providing `undefined` is treated as the value not being there.
1197
- * Read more here: https://pris.ly/d/null-undefined
1198
- * @param {TeamFindManyArgs} args - Arguments to filter and select certain fields only.
1199
- * @example
1200
- * // Get all Teams
1201
- * const teams = await prisma.team.findMany()
1202
- *
1203
- * // Get first 10 Teams
1204
- * const teams = await prisma.team.findMany({ take: 10 })
1205
- *
1206
- * // Only select the `id`
1207
- * const teamWithIdOnly = await prisma.team.findMany({ select: { id: true } })
1208
- *
1209
- */
1210
- findMany<T extends TeamFindManyArgs>(args?: Prisma.SelectSubset<T, TeamFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1211
-
1212
- /**
1213
- * Create a Team.
1214
- * @param {TeamCreateArgs} args - Arguments to create a Team.
1215
- * @example
1216
- * // Create one Team
1217
- * const Team = await prisma.team.create({
1218
- * data: {
1219
- * // ... data to create a Team
1220
- * }
1221
- * })
1222
- *
1223
- */
1224
- create<T extends TeamCreateArgs>(args: Prisma.SelectSubset<T, TeamCreateArgs<ExtArgs>>): Prisma.Prisma__TeamClient<runtime.Types.Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1225
-
1226
- /**
1227
- * Create many Teams.
1228
- * @param {TeamCreateManyArgs} args - Arguments to create many Teams.
1229
- * @example
1230
- * // Create many Teams
1231
- * const team = await prisma.team.createMany({
1232
- * data: [
1233
- * // ... provide data here
1234
- * ]
1235
- * })
1236
- *
1237
- */
1238
- createMany<T extends TeamCreateManyArgs>(args?: Prisma.SelectSubset<T, TeamCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1239
-
1240
- /**
1241
- * Create many Teams and returns the data saved in the database.
1242
- * @param {TeamCreateManyAndReturnArgs} args - Arguments to create many Teams.
1243
- * @example
1244
- * // Create many Teams
1245
- * const team = await prisma.team.createManyAndReturn({
1246
- * data: [
1247
- * // ... provide data here
1248
- * ]
1249
- * })
1250
- *
1251
- * // Create many Teams and only return the `id`
1252
- * const teamWithIdOnly = await prisma.team.createManyAndReturn({
1253
- * select: { id: true },
1254
- * data: [
1255
- * // ... provide data here
1256
- * ]
1257
- * })
1258
- * Note, that providing `undefined` is treated as the value not being there.
1259
- * Read more here: https://pris.ly/d/null-undefined
1260
- *
1261
- */
1262
- createManyAndReturn<T extends TeamCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TeamCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1263
-
1264
- /**
1265
- * Delete a Team.
1266
- * @param {TeamDeleteArgs} args - Arguments to delete one Team.
1267
- * @example
1268
- * // Delete one Team
1269
- * const Team = await prisma.team.delete({
1270
- * where: {
1271
- * // ... filter to delete one Team
1272
- * }
1273
- * })
1274
- *
1275
- */
1276
- delete<T extends TeamDeleteArgs>(args: Prisma.SelectSubset<T, TeamDeleteArgs<ExtArgs>>): Prisma.Prisma__TeamClient<runtime.Types.Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1277
-
1278
- /**
1279
- * Update one Team.
1280
- * @param {TeamUpdateArgs} args - Arguments to update one Team.
1281
- * @example
1282
- * // Update one Team
1283
- * const team = await prisma.team.update({
1284
- * where: {
1285
- * // ... provide filter here
1286
- * },
1287
- * data: {
1288
- * // ... provide data here
1289
- * }
1290
- * })
1291
- *
1292
- */
1293
- update<T extends TeamUpdateArgs>(args: Prisma.SelectSubset<T, TeamUpdateArgs<ExtArgs>>): Prisma.Prisma__TeamClient<runtime.Types.Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1294
-
1295
- /**
1296
- * Delete zero or more Teams.
1297
- * @param {TeamDeleteManyArgs} args - Arguments to filter Teams to delete.
1298
- * @example
1299
- * // Delete a few Teams
1300
- * const { count } = await prisma.team.deleteMany({
1301
- * where: {
1302
- * // ... provide filter here
1303
- * }
1304
- * })
1305
- *
1306
- */
1307
- deleteMany<T extends TeamDeleteManyArgs>(args?: Prisma.SelectSubset<T, TeamDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1308
-
1309
- /**
1310
- * Update zero or more Teams.
1311
- * Note, that providing `undefined` is treated as the value not being there.
1312
- * Read more here: https://pris.ly/d/null-undefined
1313
- * @param {TeamUpdateManyArgs} args - Arguments to update one or more rows.
1314
- * @example
1315
- * // Update many Teams
1316
- * const team = await prisma.team.updateMany({
1317
- * where: {
1318
- * // ... provide filter here
1319
- * },
1320
- * data: {
1321
- * // ... provide data here
1322
- * }
1323
- * })
1324
- *
1325
- */
1326
- updateMany<T extends TeamUpdateManyArgs>(args: Prisma.SelectSubset<T, TeamUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1327
-
1328
- /**
1329
- * Update zero or more Teams and returns the data updated in the database.
1330
- * @param {TeamUpdateManyAndReturnArgs} args - Arguments to update many Teams.
1331
- * @example
1332
- * // Update many Teams
1333
- * const team = await prisma.team.updateManyAndReturn({
1334
- * where: {
1335
- * // ... provide filter here
1336
- * },
1337
- * data: [
1338
- * // ... provide data here
1339
- * ]
1340
- * })
1341
- *
1342
- * // Update zero or more Teams and only return the `id`
1343
- * const teamWithIdOnly = await prisma.team.updateManyAndReturn({
1344
- * select: { id: true },
1345
- * where: {
1346
- * // ... provide filter here
1347
- * },
1348
- * data: [
1349
- * // ... provide data here
1350
- * ]
1351
- * })
1352
- * Note, that providing `undefined` is treated as the value not being there.
1353
- * Read more here: https://pris.ly/d/null-undefined
1354
- *
1355
- */
1356
- updateManyAndReturn<T extends TeamUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TeamUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1357
-
1358
- /**
1359
- * Create or update one Team.
1360
- * @param {TeamUpsertArgs} args - Arguments to update or create a Team.
1361
- * @example
1362
- * // Update or create a Team
1363
- * const team = await prisma.team.upsert({
1364
- * create: {
1365
- * // ... data to create a Team
1366
- * },
1367
- * update: {
1368
- * // ... in case it already exists, update
1369
- * },
1370
- * where: {
1371
- * // ... the filter for the Team we want to update
1372
- * }
1373
- * })
1374
- */
1375
- upsert<T extends TeamUpsertArgs>(args: Prisma.SelectSubset<T, TeamUpsertArgs<ExtArgs>>): Prisma.Prisma__TeamClient<runtime.Types.Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1376
-
1377
-
1378
- /**
1379
- * Count the number of Teams.
1380
- * Note, that providing `undefined` is treated as the value not being there.
1381
- * Read more here: https://pris.ly/d/null-undefined
1382
- * @param {TeamCountArgs} args - Arguments to filter Teams to count.
1383
- * @example
1384
- * // Count the number of Teams
1385
- * const count = await prisma.team.count({
1386
- * where: {
1387
- * // ... the filter for the Teams we want to count
1388
- * }
1389
- * })
1390
- **/
1391
- count<T extends TeamCountArgs>(
1392
- args?: Prisma.Subset<T, TeamCountArgs>,
1393
- ): Prisma.PrismaPromise<
1394
- T extends runtime.Types.Utils.Record<'select', any>
1395
- ? T['select'] extends true
1396
- ? number
1397
- : Prisma.GetScalarType<T['select'], TeamCountAggregateOutputType>
1398
- : number
1399
- >
1400
-
1401
- /**
1402
- * Allows you to perform aggregations operations on a Team.
1403
- * Note, that providing `undefined` is treated as the value not being there.
1404
- * Read more here: https://pris.ly/d/null-undefined
1405
- * @param {TeamAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1406
- * @example
1407
- * // Ordered by age ascending
1408
- * // Where email contains prisma.io
1409
- * // Limited to the 10 users
1410
- * const aggregations = await prisma.user.aggregate({
1411
- * _avg: {
1412
- * age: true,
1413
- * },
1414
- * where: {
1415
- * email: {
1416
- * contains: "prisma.io",
1417
- * },
1418
- * },
1419
- * orderBy: {
1420
- * age: "asc",
1421
- * },
1422
- * take: 10,
1423
- * })
1424
- **/
1425
- aggregate<T extends TeamAggregateArgs>(args: Prisma.Subset<T, TeamAggregateArgs>): Prisma.PrismaPromise<GetTeamAggregateType<T>>
1426
-
1427
- /**
1428
- * Group by Team.
1429
- * Note, that providing `undefined` is treated as the value not being there.
1430
- * Read more here: https://pris.ly/d/null-undefined
1431
- * @param {TeamGroupByArgs} args - Group by arguments.
1432
- * @example
1433
- * // Group by city, order by createdAt, get count
1434
- * const result = await prisma.user.groupBy({
1435
- * by: ['city', 'createdAt'],
1436
- * orderBy: {
1437
- * createdAt: true
1438
- * },
1439
- * _count: {
1440
- * _all: true
1441
- * },
1442
- * })
1443
- *
1444
- **/
1445
- groupBy<
1446
- T extends TeamGroupByArgs,
1447
- HasSelectOrTake extends Prisma.Or<
1448
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1449
- Prisma.Extends<'take', Prisma.Keys<T>>
1450
- >,
1451
- OrderByArg extends Prisma.True extends HasSelectOrTake
1452
- ? { orderBy: TeamGroupByArgs['orderBy'] }
1453
- : { orderBy?: TeamGroupByArgs['orderBy'] },
1454
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1455
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1456
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1457
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1458
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1459
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1460
- InputErrors extends ByEmpty extends Prisma.True
1461
- ? `Error: "by" must not be empty.`
1462
- : HavingValid extends Prisma.False
1463
- ? {
1464
- [P in HavingFields]: P extends ByFields
1465
- ? never
1466
- : P extends string
1467
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1468
- : [
1469
- Error,
1470
- 'Field ',
1471
- P,
1472
- ` in "having" needs to be provided in "by"`,
1473
- ]
1474
- }[HavingFields]
1475
- : 'take' extends Prisma.Keys<T>
1476
- ? 'orderBy' extends Prisma.Keys<T>
1477
- ? ByValid extends Prisma.True
1478
- ? {}
1479
- : {
1480
- [P in OrderFields]: P extends ByFields
1481
- ? never
1482
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1483
- }[OrderFields]
1484
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1485
- : 'skip' extends Prisma.Keys<T>
1486
- ? 'orderBy' extends Prisma.Keys<T>
1487
- ? ByValid extends Prisma.True
1488
- ? {}
1489
- : {
1490
- [P in OrderFields]: P extends ByFields
1491
- ? never
1492
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1493
- }[OrderFields]
1494
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1495
- : ByValid extends Prisma.True
1496
- ? {}
1497
- : {
1498
- [P in OrderFields]: P extends ByFields
1499
- ? never
1500
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1501
- }[OrderFields]
1502
- >(args: Prisma.SubsetIntersection<T, TeamGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTeamGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1503
- /**
1504
- * Fields of the Team model
1505
- */
1506
- readonly fields: TeamFieldRefs;
1507
- }
1508
-
1509
- /**
1510
- * The delegate class that acts as a "Promise-like" for Team.
1511
- * Why is this prefixed with `Prisma__`?
1512
- * Because we want to prevent naming conflicts as mentioned in
1513
- * https://github.com/prisma/prisma-client-js/issues/707
1514
- */
1515
- export interface Prisma__TeamClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1516
- readonly [Symbol.toStringTag]: "PrismaPromise"
1517
- teamType<T extends Prisma.TeamTypeDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TeamTypeDefaultArgs<ExtArgs>>): Prisma.Prisma__TeamTypeClient<runtime.Types.Result.GetResult<Prisma.$TeamTypePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1518
- TeamPlatform<T extends Prisma.Team$TeamPlatformArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Team$TeamPlatformArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamPlatformPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1519
- User<T extends Prisma.Team$UserArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Team$UserArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1520
- DispatchTeam<T extends Prisma.Team$DispatchTeamArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Team$DispatchTeamArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DispatchTeamPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1521
- /**
1522
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1523
- * @param onfulfilled The callback to execute when the Promise is resolved.
1524
- * @param onrejected The callback to execute when the Promise is rejected.
1525
- * @returns A Promise for the completion of which ever callback is executed.
1526
- */
1527
- 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>
1528
- /**
1529
- * Attaches a callback for only the rejection of the Promise.
1530
- * @param onrejected The callback to execute when the Promise is rejected.
1531
- * @returns A Promise for the completion of the callback.
1532
- */
1533
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1534
- /**
1535
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1536
- * resolved value cannot be modified from the callback.
1537
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1538
- * @returns A Promise for the completion of the callback.
1539
- */
1540
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1541
- }
1542
-
1543
-
1544
-
1545
-
1546
- /**
1547
- * Fields of the Team model
1548
- */
1549
- export interface TeamFieldRefs {
1550
- readonly id: Prisma.FieldRef<"Team", 'String'>
1551
- readonly no: Prisma.FieldRef<"Team", 'Int'>
1552
- readonly name: Prisma.FieldRef<"Team", 'String'>
1553
- readonly description: Prisma.FieldRef<"Team", 'String'>
1554
- readonly status: Prisma.FieldRef<"Team", 'String'>
1555
- readonly countries: Prisma.FieldRef<"Team", 'Json'>
1556
- readonly platforms: Prisma.FieldRef<"Team", 'Json'>
1557
- readonly createdAt: Prisma.FieldRef<"Team", 'DateTime'>
1558
- readonly updatedAt: Prisma.FieldRef<"Team", 'DateTime'>
1559
- readonly deletedAt: Prisma.FieldRef<"Team", 'DateTime'>
1560
- readonly teamTypeId: Prisma.FieldRef<"Team", 'String'>
1561
- }
1562
-
1563
-
1564
- // Custom InputTypes
1565
- /**
1566
- * Team findUnique
1567
- */
1568
- export type TeamFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1569
- /**
1570
- * Select specific fields to fetch from the Team
1571
- */
1572
- select?: Prisma.TeamSelect<ExtArgs> | null
1573
- /**
1574
- * Omit specific fields from the Team
1575
- */
1576
- omit?: Prisma.TeamOmit<ExtArgs> | null
1577
- /**
1578
- * Choose, which related nodes to fetch as well
1579
- */
1580
- include?: Prisma.TeamInclude<ExtArgs> | null
1581
- /**
1582
- * Filter, which Team to fetch.
1583
- */
1584
- where: Prisma.TeamWhereUniqueInput
1585
- }
1586
-
1587
- /**
1588
- * Team findUniqueOrThrow
1589
- */
1590
- export type TeamFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1591
- /**
1592
- * Select specific fields to fetch from the Team
1593
- */
1594
- select?: Prisma.TeamSelect<ExtArgs> | null
1595
- /**
1596
- * Omit specific fields from the Team
1597
- */
1598
- omit?: Prisma.TeamOmit<ExtArgs> | null
1599
- /**
1600
- * Choose, which related nodes to fetch as well
1601
- */
1602
- include?: Prisma.TeamInclude<ExtArgs> | null
1603
- /**
1604
- * Filter, which Team to fetch.
1605
- */
1606
- where: Prisma.TeamWhereUniqueInput
1607
- }
1608
-
1609
- /**
1610
- * Team findFirst
1611
- */
1612
- export type TeamFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1613
- /**
1614
- * Select specific fields to fetch from the Team
1615
- */
1616
- select?: Prisma.TeamSelect<ExtArgs> | null
1617
- /**
1618
- * Omit specific fields from the Team
1619
- */
1620
- omit?: Prisma.TeamOmit<ExtArgs> | null
1621
- /**
1622
- * Choose, which related nodes to fetch as well
1623
- */
1624
- include?: Prisma.TeamInclude<ExtArgs> | null
1625
- /**
1626
- * Filter, which Team to fetch.
1627
- */
1628
- where?: Prisma.TeamWhereInput
1629
- /**
1630
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1631
- *
1632
- * Determine the order of Teams to fetch.
1633
- */
1634
- orderBy?: Prisma.TeamOrderByWithRelationInput | Prisma.TeamOrderByWithRelationInput[]
1635
- /**
1636
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1637
- *
1638
- * Sets the position for searching for Teams.
1639
- */
1640
- cursor?: Prisma.TeamWhereUniqueInput
1641
- /**
1642
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1643
- *
1644
- * Take `±n` Teams from the position of the cursor.
1645
- */
1646
- take?: number
1647
- /**
1648
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1649
- *
1650
- * Skip the first `n` Teams.
1651
- */
1652
- skip?: number
1653
- /**
1654
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1655
- *
1656
- * Filter by unique combinations of Teams.
1657
- */
1658
- distinct?: Prisma.TeamScalarFieldEnum | Prisma.TeamScalarFieldEnum[]
1659
- }
1660
-
1661
- /**
1662
- * Team findFirstOrThrow
1663
- */
1664
- export type TeamFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1665
- /**
1666
- * Select specific fields to fetch from the Team
1667
- */
1668
- select?: Prisma.TeamSelect<ExtArgs> | null
1669
- /**
1670
- * Omit specific fields from the Team
1671
- */
1672
- omit?: Prisma.TeamOmit<ExtArgs> | null
1673
- /**
1674
- * Choose, which related nodes to fetch as well
1675
- */
1676
- include?: Prisma.TeamInclude<ExtArgs> | null
1677
- /**
1678
- * Filter, which Team to fetch.
1679
- */
1680
- where?: Prisma.TeamWhereInput
1681
- /**
1682
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1683
- *
1684
- * Determine the order of Teams to fetch.
1685
- */
1686
- orderBy?: Prisma.TeamOrderByWithRelationInput | Prisma.TeamOrderByWithRelationInput[]
1687
- /**
1688
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1689
- *
1690
- * Sets the position for searching for Teams.
1691
- */
1692
- cursor?: Prisma.TeamWhereUniqueInput
1693
- /**
1694
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1695
- *
1696
- * Take `±n` Teams from the position of the cursor.
1697
- */
1698
- take?: number
1699
- /**
1700
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1701
- *
1702
- * Skip the first `n` Teams.
1703
- */
1704
- skip?: number
1705
- /**
1706
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1707
- *
1708
- * Filter by unique combinations of Teams.
1709
- */
1710
- distinct?: Prisma.TeamScalarFieldEnum | Prisma.TeamScalarFieldEnum[]
1711
- }
1712
-
1713
- /**
1714
- * Team findMany
1715
- */
1716
- export type TeamFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1717
- /**
1718
- * Select specific fields to fetch from the Team
1719
- */
1720
- select?: Prisma.TeamSelect<ExtArgs> | null
1721
- /**
1722
- * Omit specific fields from the Team
1723
- */
1724
- omit?: Prisma.TeamOmit<ExtArgs> | null
1725
- /**
1726
- * Choose, which related nodes to fetch as well
1727
- */
1728
- include?: Prisma.TeamInclude<ExtArgs> | null
1729
- /**
1730
- * Filter, which Teams to fetch.
1731
- */
1732
- where?: Prisma.TeamWhereInput
1733
- /**
1734
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1735
- *
1736
- * Determine the order of Teams to fetch.
1737
- */
1738
- orderBy?: Prisma.TeamOrderByWithRelationInput | Prisma.TeamOrderByWithRelationInput[]
1739
- /**
1740
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1741
- *
1742
- * Sets the position for listing Teams.
1743
- */
1744
- cursor?: Prisma.TeamWhereUniqueInput
1745
- /**
1746
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1747
- *
1748
- * Take `±n` Teams from the position of the cursor.
1749
- */
1750
- take?: number
1751
- /**
1752
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1753
- *
1754
- * Skip the first `n` Teams.
1755
- */
1756
- skip?: number
1757
- distinct?: Prisma.TeamScalarFieldEnum | Prisma.TeamScalarFieldEnum[]
1758
- }
1759
-
1760
- /**
1761
- * Team create
1762
- */
1763
- export type TeamCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1764
- /**
1765
- * Select specific fields to fetch from the Team
1766
- */
1767
- select?: Prisma.TeamSelect<ExtArgs> | null
1768
- /**
1769
- * Omit specific fields from the Team
1770
- */
1771
- omit?: Prisma.TeamOmit<ExtArgs> | null
1772
- /**
1773
- * Choose, which related nodes to fetch as well
1774
- */
1775
- include?: Prisma.TeamInclude<ExtArgs> | null
1776
- /**
1777
- * The data needed to create a Team.
1778
- */
1779
- data: Prisma.XOR<Prisma.TeamCreateInput, Prisma.TeamUncheckedCreateInput>
1780
- }
1781
-
1782
- /**
1783
- * Team createMany
1784
- */
1785
- export type TeamCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1786
- /**
1787
- * The data used to create many Teams.
1788
- */
1789
- data: Prisma.TeamCreateManyInput | Prisma.TeamCreateManyInput[]
1790
- skipDuplicates?: boolean
1791
- }
1792
-
1793
- /**
1794
- * Team createManyAndReturn
1795
- */
1796
- export type TeamCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1797
- /**
1798
- * Select specific fields to fetch from the Team
1799
- */
1800
- select?: Prisma.TeamSelectCreateManyAndReturn<ExtArgs> | null
1801
- /**
1802
- * Omit specific fields from the Team
1803
- */
1804
- omit?: Prisma.TeamOmit<ExtArgs> | null
1805
- /**
1806
- * The data used to create many Teams.
1807
- */
1808
- data: Prisma.TeamCreateManyInput | Prisma.TeamCreateManyInput[]
1809
- skipDuplicates?: boolean
1810
- /**
1811
- * Choose, which related nodes to fetch as well
1812
- */
1813
- include?: Prisma.TeamIncludeCreateManyAndReturn<ExtArgs> | null
1814
- }
1815
-
1816
- /**
1817
- * Team update
1818
- */
1819
- export type TeamUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1820
- /**
1821
- * Select specific fields to fetch from the Team
1822
- */
1823
- select?: Prisma.TeamSelect<ExtArgs> | null
1824
- /**
1825
- * Omit specific fields from the Team
1826
- */
1827
- omit?: Prisma.TeamOmit<ExtArgs> | null
1828
- /**
1829
- * Choose, which related nodes to fetch as well
1830
- */
1831
- include?: Prisma.TeamInclude<ExtArgs> | null
1832
- /**
1833
- * The data needed to update a Team.
1834
- */
1835
- data: Prisma.XOR<Prisma.TeamUpdateInput, Prisma.TeamUncheckedUpdateInput>
1836
- /**
1837
- * Choose, which Team to update.
1838
- */
1839
- where: Prisma.TeamWhereUniqueInput
1840
- }
1841
-
1842
- /**
1843
- * Team updateMany
1844
- */
1845
- export type TeamUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1846
- /**
1847
- * The data used to update Teams.
1848
- */
1849
- data: Prisma.XOR<Prisma.TeamUpdateManyMutationInput, Prisma.TeamUncheckedUpdateManyInput>
1850
- /**
1851
- * Filter which Teams to update
1852
- */
1853
- where?: Prisma.TeamWhereInput
1854
- /**
1855
- * Limit how many Teams to update.
1856
- */
1857
- limit?: number
1858
- }
1859
-
1860
- /**
1861
- * Team updateManyAndReturn
1862
- */
1863
- export type TeamUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1864
- /**
1865
- * Select specific fields to fetch from the Team
1866
- */
1867
- select?: Prisma.TeamSelectUpdateManyAndReturn<ExtArgs> | null
1868
- /**
1869
- * Omit specific fields from the Team
1870
- */
1871
- omit?: Prisma.TeamOmit<ExtArgs> | null
1872
- /**
1873
- * The data used to update Teams.
1874
- */
1875
- data: Prisma.XOR<Prisma.TeamUpdateManyMutationInput, Prisma.TeamUncheckedUpdateManyInput>
1876
- /**
1877
- * Filter which Teams to update
1878
- */
1879
- where?: Prisma.TeamWhereInput
1880
- /**
1881
- * Limit how many Teams to update.
1882
- */
1883
- limit?: number
1884
- /**
1885
- * Choose, which related nodes to fetch as well
1886
- */
1887
- include?: Prisma.TeamIncludeUpdateManyAndReturn<ExtArgs> | null
1888
- }
1889
-
1890
- /**
1891
- * Team upsert
1892
- */
1893
- export type TeamUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1894
- /**
1895
- * Select specific fields to fetch from the Team
1896
- */
1897
- select?: Prisma.TeamSelect<ExtArgs> | null
1898
- /**
1899
- * Omit specific fields from the Team
1900
- */
1901
- omit?: Prisma.TeamOmit<ExtArgs> | null
1902
- /**
1903
- * Choose, which related nodes to fetch as well
1904
- */
1905
- include?: Prisma.TeamInclude<ExtArgs> | null
1906
- /**
1907
- * The filter to search for the Team to update in case it exists.
1908
- */
1909
- where: Prisma.TeamWhereUniqueInput
1910
- /**
1911
- * In case the Team found by the `where` argument doesn't exist, create a new Team with this data.
1912
- */
1913
- create: Prisma.XOR<Prisma.TeamCreateInput, Prisma.TeamUncheckedCreateInput>
1914
- /**
1915
- * In case the Team was found with the provided `where` argument, update it with this data.
1916
- */
1917
- update: Prisma.XOR<Prisma.TeamUpdateInput, Prisma.TeamUncheckedUpdateInput>
1918
- }
1919
-
1920
- /**
1921
- * Team delete
1922
- */
1923
- export type TeamDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1924
- /**
1925
- * Select specific fields to fetch from the Team
1926
- */
1927
- select?: Prisma.TeamSelect<ExtArgs> | null
1928
- /**
1929
- * Omit specific fields from the Team
1930
- */
1931
- omit?: Prisma.TeamOmit<ExtArgs> | null
1932
- /**
1933
- * Choose, which related nodes to fetch as well
1934
- */
1935
- include?: Prisma.TeamInclude<ExtArgs> | null
1936
- /**
1937
- * Filter which Team to delete.
1938
- */
1939
- where: Prisma.TeamWhereUniqueInput
1940
- }
1941
-
1942
- /**
1943
- * Team deleteMany
1944
- */
1945
- export type TeamDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1946
- /**
1947
- * Filter which Teams to delete
1948
- */
1949
- where?: Prisma.TeamWhereInput
1950
- /**
1951
- * Limit how many Teams to delete.
1952
- */
1953
- limit?: number
1954
- }
1955
-
1956
- /**
1957
- * Team.TeamPlatform
1958
- */
1959
- export type Team$TeamPlatformArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1960
- /**
1961
- * Select specific fields to fetch from the TeamPlatform
1962
- */
1963
- select?: Prisma.TeamPlatformSelect<ExtArgs> | null
1964
- /**
1965
- * Omit specific fields from the TeamPlatform
1966
- */
1967
- omit?: Prisma.TeamPlatformOmit<ExtArgs> | null
1968
- /**
1969
- * Choose, which related nodes to fetch as well
1970
- */
1971
- include?: Prisma.TeamPlatformInclude<ExtArgs> | null
1972
- where?: Prisma.TeamPlatformWhereInput
1973
- orderBy?: Prisma.TeamPlatformOrderByWithRelationInput | Prisma.TeamPlatformOrderByWithRelationInput[]
1974
- cursor?: Prisma.TeamPlatformWhereUniqueInput
1975
- take?: number
1976
- skip?: number
1977
- distinct?: Prisma.TeamPlatformScalarFieldEnum | Prisma.TeamPlatformScalarFieldEnum[]
1978
- }
1979
-
1980
- /**
1981
- * Team.User
1982
- */
1983
- export type Team$UserArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1984
- /**
1985
- * Select specific fields to fetch from the User
1986
- */
1987
- select?: Prisma.UserSelect<ExtArgs> | null
1988
- /**
1989
- * Omit specific fields from the User
1990
- */
1991
- omit?: Prisma.UserOmit<ExtArgs> | null
1992
- /**
1993
- * Choose, which related nodes to fetch as well
1994
- */
1995
- include?: Prisma.UserInclude<ExtArgs> | null
1996
- where?: Prisma.UserWhereInput
1997
- orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[]
1998
- cursor?: Prisma.UserWhereUniqueInput
1999
- take?: number
2000
- skip?: number
2001
- distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[]
2002
- }
2003
-
2004
- /**
2005
- * Team.DispatchTeam
2006
- */
2007
- export type Team$DispatchTeamArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2008
- /**
2009
- * Select specific fields to fetch from the DispatchTeam
2010
- */
2011
- select?: Prisma.DispatchTeamSelect<ExtArgs> | null
2012
- /**
2013
- * Omit specific fields from the DispatchTeam
2014
- */
2015
- omit?: Prisma.DispatchTeamOmit<ExtArgs> | null
2016
- /**
2017
- * Choose, which related nodes to fetch as well
2018
- */
2019
- include?: Prisma.DispatchTeamInclude<ExtArgs> | null
2020
- where?: Prisma.DispatchTeamWhereInput
2021
- orderBy?: Prisma.DispatchTeamOrderByWithRelationInput | Prisma.DispatchTeamOrderByWithRelationInput[]
2022
- cursor?: Prisma.DispatchTeamWhereUniqueInput
2023
- take?: number
2024
- skip?: number
2025
- distinct?: Prisma.DispatchTeamScalarFieldEnum | Prisma.DispatchTeamScalarFieldEnum[]
2026
- }
2027
-
2028
- /**
2029
- * Team without action
2030
- */
2031
- export type TeamDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2032
- /**
2033
- * Select specific fields to fetch from the Team
2034
- */
2035
- select?: Prisma.TeamSelect<ExtArgs> | null
2036
- /**
2037
- * Omit specific fields from the Team
2038
- */
2039
- omit?: Prisma.TeamOmit<ExtArgs> | null
2040
- /**
2041
- * Choose, which related nodes to fetch as well
2042
- */
2043
- include?: Prisma.TeamInclude<ExtArgs> | null
2044
- }