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,1454 +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 `WorkOrderChannel` 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 WorkOrderChannel
17
- *
18
- */
19
- export type WorkOrderChannelModel = runtime.Types.Result.DefaultSelection<Prisma.$WorkOrderChannelPayload>
20
-
21
- export type AggregateWorkOrderChannel = {
22
- _count: WorkOrderChannelCountAggregateOutputType | null
23
- _avg: WorkOrderChannelAvgAggregateOutputType | null
24
- _sum: WorkOrderChannelSumAggregateOutputType | null
25
- _min: WorkOrderChannelMinAggregateOutputType | null
26
- _max: WorkOrderChannelMaxAggregateOutputType | null
27
- }
28
-
29
- export type WorkOrderChannelAvgAggregateOutputType = {
30
- no: number | null
31
- }
32
-
33
- export type WorkOrderChannelSumAggregateOutputType = {
34
- no: number | null
35
- }
36
-
37
- export type WorkOrderChannelMinAggregateOutputType = {
38
- id: string | null
39
- no: number | null
40
- name: string | null
41
- projectId: string | null
42
- createdAt: Date | null
43
- updatedAt: Date | null
44
- deletedAt: Date | null
45
- }
46
-
47
- export type WorkOrderChannelMaxAggregateOutputType = {
48
- id: string | null
49
- no: number | null
50
- name: string | null
51
- projectId: string | null
52
- createdAt: Date | null
53
- updatedAt: Date | null
54
- deletedAt: Date | null
55
- }
56
-
57
- export type WorkOrderChannelCountAggregateOutputType = {
58
- id: number
59
- no: number
60
- name: number
61
- projectId: number
62
- createdAt: number
63
- updatedAt: number
64
- deletedAt: number
65
- _all: number
66
- }
67
-
68
-
69
- export type WorkOrderChannelAvgAggregateInputType = {
70
- no?: true
71
- }
72
-
73
- export type WorkOrderChannelSumAggregateInputType = {
74
- no?: true
75
- }
76
-
77
- export type WorkOrderChannelMinAggregateInputType = {
78
- id?: true
79
- no?: true
80
- name?: true
81
- projectId?: true
82
- createdAt?: true
83
- updatedAt?: true
84
- deletedAt?: true
85
- }
86
-
87
- export type WorkOrderChannelMaxAggregateInputType = {
88
- id?: true
89
- no?: true
90
- name?: true
91
- projectId?: true
92
- createdAt?: true
93
- updatedAt?: true
94
- deletedAt?: true
95
- }
96
-
97
- export type WorkOrderChannelCountAggregateInputType = {
98
- id?: true
99
- no?: true
100
- name?: true
101
- projectId?: true
102
- createdAt?: true
103
- updatedAt?: true
104
- deletedAt?: true
105
- _all?: true
106
- }
107
-
108
- export type WorkOrderChannelAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
109
- /**
110
- * Filter which WorkOrderChannel to aggregate.
111
- */
112
- where?: Prisma.WorkOrderChannelWhereInput
113
- /**
114
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
115
- *
116
- * Determine the order of WorkOrderChannels to fetch.
117
- */
118
- orderBy?: Prisma.WorkOrderChannelOrderByWithRelationInput | Prisma.WorkOrderChannelOrderByWithRelationInput[]
119
- /**
120
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
121
- *
122
- * Sets the start position
123
- */
124
- cursor?: Prisma.WorkOrderChannelWhereUniqueInput
125
- /**
126
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
127
- *
128
- * Take `±n` WorkOrderChannels from the position of the cursor.
129
- */
130
- take?: number
131
- /**
132
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
133
- *
134
- * Skip the first `n` WorkOrderChannels.
135
- */
136
- skip?: number
137
- /**
138
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
139
- *
140
- * Count returned WorkOrderChannels
141
- **/
142
- _count?: true | WorkOrderChannelCountAggregateInputType
143
- /**
144
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
145
- *
146
- * Select which fields to average
147
- **/
148
- _avg?: WorkOrderChannelAvgAggregateInputType
149
- /**
150
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
151
- *
152
- * Select which fields to sum
153
- **/
154
- _sum?: WorkOrderChannelSumAggregateInputType
155
- /**
156
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
157
- *
158
- * Select which fields to find the minimum value
159
- **/
160
- _min?: WorkOrderChannelMinAggregateInputType
161
- /**
162
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
163
- *
164
- * Select which fields to find the maximum value
165
- **/
166
- _max?: WorkOrderChannelMaxAggregateInputType
167
- }
168
-
169
- export type GetWorkOrderChannelAggregateType<T extends WorkOrderChannelAggregateArgs> = {
170
- [P in keyof T & keyof AggregateWorkOrderChannel]: P extends '_count' | 'count'
171
- ? T[P] extends true
172
- ? number
173
- : Prisma.GetScalarType<T[P], AggregateWorkOrderChannel[P]>
174
- : Prisma.GetScalarType<T[P], AggregateWorkOrderChannel[P]>
175
- }
176
-
177
-
178
-
179
-
180
- export type WorkOrderChannelGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
181
- where?: Prisma.WorkOrderChannelWhereInput
182
- orderBy?: Prisma.WorkOrderChannelOrderByWithAggregationInput | Prisma.WorkOrderChannelOrderByWithAggregationInput[]
183
- by: Prisma.WorkOrderChannelScalarFieldEnum[] | Prisma.WorkOrderChannelScalarFieldEnum
184
- having?: Prisma.WorkOrderChannelScalarWhereWithAggregatesInput
185
- take?: number
186
- skip?: number
187
- _count?: WorkOrderChannelCountAggregateInputType | true
188
- _avg?: WorkOrderChannelAvgAggregateInputType
189
- _sum?: WorkOrderChannelSumAggregateInputType
190
- _min?: WorkOrderChannelMinAggregateInputType
191
- _max?: WorkOrderChannelMaxAggregateInputType
192
- }
193
-
194
- export type WorkOrderChannelGroupByOutputType = {
195
- id: string
196
- no: number
197
- name: string
198
- projectId: string
199
- createdAt: Date
200
- updatedAt: Date
201
- deletedAt: Date | null
202
- _count: WorkOrderChannelCountAggregateOutputType | null
203
- _avg: WorkOrderChannelAvgAggregateOutputType | null
204
- _sum: WorkOrderChannelSumAggregateOutputType | null
205
- _min: WorkOrderChannelMinAggregateOutputType | null
206
- _max: WorkOrderChannelMaxAggregateOutputType | null
207
- }
208
-
209
- type GetWorkOrderChannelGroupByPayload<T extends WorkOrderChannelGroupByArgs> = Prisma.PrismaPromise<
210
- Array<
211
- Prisma.PickEnumerable<WorkOrderChannelGroupByOutputType, T['by']> &
212
- {
213
- [P in ((keyof T) & (keyof WorkOrderChannelGroupByOutputType))]: P extends '_count'
214
- ? T[P] extends boolean
215
- ? number
216
- : Prisma.GetScalarType<T[P], WorkOrderChannelGroupByOutputType[P]>
217
- : Prisma.GetScalarType<T[P], WorkOrderChannelGroupByOutputType[P]>
218
- }
219
- >
220
- >
221
-
222
-
223
-
224
- export type WorkOrderChannelWhereInput = {
225
- AND?: Prisma.WorkOrderChannelWhereInput | Prisma.WorkOrderChannelWhereInput[]
226
- OR?: Prisma.WorkOrderChannelWhereInput[]
227
- NOT?: Prisma.WorkOrderChannelWhereInput | Prisma.WorkOrderChannelWhereInput[]
228
- id?: Prisma.StringFilter<"WorkOrderChannel"> | string
229
- no?: Prisma.IntFilter<"WorkOrderChannel"> | number
230
- name?: Prisma.StringFilter<"WorkOrderChannel"> | string
231
- projectId?: Prisma.StringFilter<"WorkOrderChannel"> | string
232
- createdAt?: Prisma.DateTimeFilter<"WorkOrderChannel"> | Date | string
233
- updatedAt?: Prisma.DateTimeFilter<"WorkOrderChannel"> | Date | string
234
- deletedAt?: Prisma.DateTimeNullableFilter<"WorkOrderChannel"> | Date | string | null
235
- Project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
236
- }
237
-
238
- export type WorkOrderChannelOrderByWithRelationInput = {
239
- id?: Prisma.SortOrder
240
- no?: Prisma.SortOrder
241
- name?: Prisma.SortOrder
242
- projectId?: Prisma.SortOrder
243
- createdAt?: Prisma.SortOrder
244
- updatedAt?: Prisma.SortOrder
245
- deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
246
- Project?: Prisma.ProjectOrderByWithRelationInput
247
- }
248
-
249
- export type WorkOrderChannelWhereUniqueInput = Prisma.AtLeast<{
250
- id?: string
251
- AND?: Prisma.WorkOrderChannelWhereInput | Prisma.WorkOrderChannelWhereInput[]
252
- OR?: Prisma.WorkOrderChannelWhereInput[]
253
- NOT?: Prisma.WorkOrderChannelWhereInput | Prisma.WorkOrderChannelWhereInput[]
254
- no?: Prisma.IntFilter<"WorkOrderChannel"> | number
255
- name?: Prisma.StringFilter<"WorkOrderChannel"> | string
256
- projectId?: Prisma.StringFilter<"WorkOrderChannel"> | string
257
- createdAt?: Prisma.DateTimeFilter<"WorkOrderChannel"> | Date | string
258
- updatedAt?: Prisma.DateTimeFilter<"WorkOrderChannel"> | Date | string
259
- deletedAt?: Prisma.DateTimeNullableFilter<"WorkOrderChannel"> | Date | string | null
260
- Project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
261
- }, "id" | "id">
262
-
263
- export type WorkOrderChannelOrderByWithAggregationInput = {
264
- id?: Prisma.SortOrder
265
- no?: Prisma.SortOrder
266
- name?: Prisma.SortOrder
267
- projectId?: Prisma.SortOrder
268
- createdAt?: Prisma.SortOrder
269
- updatedAt?: Prisma.SortOrder
270
- deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
271
- _count?: Prisma.WorkOrderChannelCountOrderByAggregateInput
272
- _avg?: Prisma.WorkOrderChannelAvgOrderByAggregateInput
273
- _max?: Prisma.WorkOrderChannelMaxOrderByAggregateInput
274
- _min?: Prisma.WorkOrderChannelMinOrderByAggregateInput
275
- _sum?: Prisma.WorkOrderChannelSumOrderByAggregateInput
276
- }
277
-
278
- export type WorkOrderChannelScalarWhereWithAggregatesInput = {
279
- AND?: Prisma.WorkOrderChannelScalarWhereWithAggregatesInput | Prisma.WorkOrderChannelScalarWhereWithAggregatesInput[]
280
- OR?: Prisma.WorkOrderChannelScalarWhereWithAggregatesInput[]
281
- NOT?: Prisma.WorkOrderChannelScalarWhereWithAggregatesInput | Prisma.WorkOrderChannelScalarWhereWithAggregatesInput[]
282
- id?: Prisma.StringWithAggregatesFilter<"WorkOrderChannel"> | string
283
- no?: Prisma.IntWithAggregatesFilter<"WorkOrderChannel"> | number
284
- name?: Prisma.StringWithAggregatesFilter<"WorkOrderChannel"> | string
285
- projectId?: Prisma.StringWithAggregatesFilter<"WorkOrderChannel"> | string
286
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"WorkOrderChannel"> | Date | string
287
- updatedAt?: Prisma.DateTimeWithAggregatesFilter<"WorkOrderChannel"> | Date | string
288
- deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"WorkOrderChannel"> | Date | string | null
289
- }
290
-
291
- export type WorkOrderChannelCreateInput = {
292
- id?: string
293
- no?: number
294
- name: string
295
- createdAt?: Date | string
296
- updatedAt?: Date | string
297
- deletedAt?: Date | string | null
298
- Project: Prisma.ProjectCreateNestedOneWithoutWorkOrderChannelInput
299
- }
300
-
301
- export type WorkOrderChannelUncheckedCreateInput = {
302
- id?: string
303
- no?: number
304
- name: string
305
- projectId: string
306
- createdAt?: Date | string
307
- updatedAt?: Date | string
308
- deletedAt?: Date | string | null
309
- }
310
-
311
- export type WorkOrderChannelUpdateInput = {
312
- id?: Prisma.StringFieldUpdateOperationsInput | string
313
- no?: Prisma.IntFieldUpdateOperationsInput | number
314
- name?: Prisma.StringFieldUpdateOperationsInput | string
315
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
316
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
317
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
318
- Project?: Prisma.ProjectUpdateOneRequiredWithoutWorkOrderChannelNestedInput
319
- }
320
-
321
- export type WorkOrderChannelUncheckedUpdateInput = {
322
- id?: Prisma.StringFieldUpdateOperationsInput | string
323
- no?: Prisma.IntFieldUpdateOperationsInput | number
324
- name?: Prisma.StringFieldUpdateOperationsInput | string
325
- projectId?: Prisma.StringFieldUpdateOperationsInput | string
326
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
327
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
328
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
329
- }
330
-
331
- export type WorkOrderChannelCreateManyInput = {
332
- id?: string
333
- no?: number
334
- name: string
335
- projectId: string
336
- createdAt?: Date | string
337
- updatedAt?: Date | string
338
- deletedAt?: Date | string | null
339
- }
340
-
341
- export type WorkOrderChannelUpdateManyMutationInput = {
342
- id?: Prisma.StringFieldUpdateOperationsInput | string
343
- no?: Prisma.IntFieldUpdateOperationsInput | number
344
- name?: Prisma.StringFieldUpdateOperationsInput | string
345
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
346
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
347
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
348
- }
349
-
350
- export type WorkOrderChannelUncheckedUpdateManyInput = {
351
- id?: Prisma.StringFieldUpdateOperationsInput | string
352
- no?: Prisma.IntFieldUpdateOperationsInput | number
353
- name?: Prisma.StringFieldUpdateOperationsInput | string
354
- projectId?: Prisma.StringFieldUpdateOperationsInput | string
355
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
356
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
357
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
358
- }
359
-
360
- export type WorkOrderChannelListRelationFilter = {
361
- every?: Prisma.WorkOrderChannelWhereInput
362
- some?: Prisma.WorkOrderChannelWhereInput
363
- none?: Prisma.WorkOrderChannelWhereInput
364
- }
365
-
366
- export type WorkOrderChannelOrderByRelationAggregateInput = {
367
- _count?: Prisma.SortOrder
368
- }
369
-
370
- export type WorkOrderChannelCountOrderByAggregateInput = {
371
- id?: Prisma.SortOrder
372
- no?: Prisma.SortOrder
373
- name?: Prisma.SortOrder
374
- projectId?: Prisma.SortOrder
375
- createdAt?: Prisma.SortOrder
376
- updatedAt?: Prisma.SortOrder
377
- deletedAt?: Prisma.SortOrder
378
- }
379
-
380
- export type WorkOrderChannelAvgOrderByAggregateInput = {
381
- no?: Prisma.SortOrder
382
- }
383
-
384
- export type WorkOrderChannelMaxOrderByAggregateInput = {
385
- id?: Prisma.SortOrder
386
- no?: Prisma.SortOrder
387
- name?: Prisma.SortOrder
388
- projectId?: Prisma.SortOrder
389
- createdAt?: Prisma.SortOrder
390
- updatedAt?: Prisma.SortOrder
391
- deletedAt?: Prisma.SortOrder
392
- }
393
-
394
- export type WorkOrderChannelMinOrderByAggregateInput = {
395
- id?: Prisma.SortOrder
396
- no?: Prisma.SortOrder
397
- name?: Prisma.SortOrder
398
- projectId?: Prisma.SortOrder
399
- createdAt?: Prisma.SortOrder
400
- updatedAt?: Prisma.SortOrder
401
- deletedAt?: Prisma.SortOrder
402
- }
403
-
404
- export type WorkOrderChannelSumOrderByAggregateInput = {
405
- no?: Prisma.SortOrder
406
- }
407
-
408
- export type WorkOrderChannelCreateNestedManyWithoutProjectInput = {
409
- create?: Prisma.XOR<Prisma.WorkOrderChannelCreateWithoutProjectInput, Prisma.WorkOrderChannelUncheckedCreateWithoutProjectInput> | Prisma.WorkOrderChannelCreateWithoutProjectInput[] | Prisma.WorkOrderChannelUncheckedCreateWithoutProjectInput[]
410
- connectOrCreate?: Prisma.WorkOrderChannelCreateOrConnectWithoutProjectInput | Prisma.WorkOrderChannelCreateOrConnectWithoutProjectInput[]
411
- createMany?: Prisma.WorkOrderChannelCreateManyProjectInputEnvelope
412
- connect?: Prisma.WorkOrderChannelWhereUniqueInput | Prisma.WorkOrderChannelWhereUniqueInput[]
413
- }
414
-
415
- export type WorkOrderChannelUncheckedCreateNestedManyWithoutProjectInput = {
416
- create?: Prisma.XOR<Prisma.WorkOrderChannelCreateWithoutProjectInput, Prisma.WorkOrderChannelUncheckedCreateWithoutProjectInput> | Prisma.WorkOrderChannelCreateWithoutProjectInput[] | Prisma.WorkOrderChannelUncheckedCreateWithoutProjectInput[]
417
- connectOrCreate?: Prisma.WorkOrderChannelCreateOrConnectWithoutProjectInput | Prisma.WorkOrderChannelCreateOrConnectWithoutProjectInput[]
418
- createMany?: Prisma.WorkOrderChannelCreateManyProjectInputEnvelope
419
- connect?: Prisma.WorkOrderChannelWhereUniqueInput | Prisma.WorkOrderChannelWhereUniqueInput[]
420
- }
421
-
422
- export type WorkOrderChannelUpdateManyWithoutProjectNestedInput = {
423
- create?: Prisma.XOR<Prisma.WorkOrderChannelCreateWithoutProjectInput, Prisma.WorkOrderChannelUncheckedCreateWithoutProjectInput> | Prisma.WorkOrderChannelCreateWithoutProjectInput[] | Prisma.WorkOrderChannelUncheckedCreateWithoutProjectInput[]
424
- connectOrCreate?: Prisma.WorkOrderChannelCreateOrConnectWithoutProjectInput | Prisma.WorkOrderChannelCreateOrConnectWithoutProjectInput[]
425
- upsert?: Prisma.WorkOrderChannelUpsertWithWhereUniqueWithoutProjectInput | Prisma.WorkOrderChannelUpsertWithWhereUniqueWithoutProjectInput[]
426
- createMany?: Prisma.WorkOrderChannelCreateManyProjectInputEnvelope
427
- set?: Prisma.WorkOrderChannelWhereUniqueInput | Prisma.WorkOrderChannelWhereUniqueInput[]
428
- disconnect?: Prisma.WorkOrderChannelWhereUniqueInput | Prisma.WorkOrderChannelWhereUniqueInput[]
429
- delete?: Prisma.WorkOrderChannelWhereUniqueInput | Prisma.WorkOrderChannelWhereUniqueInput[]
430
- connect?: Prisma.WorkOrderChannelWhereUniqueInput | Prisma.WorkOrderChannelWhereUniqueInput[]
431
- update?: Prisma.WorkOrderChannelUpdateWithWhereUniqueWithoutProjectInput | Prisma.WorkOrderChannelUpdateWithWhereUniqueWithoutProjectInput[]
432
- updateMany?: Prisma.WorkOrderChannelUpdateManyWithWhereWithoutProjectInput | Prisma.WorkOrderChannelUpdateManyWithWhereWithoutProjectInput[]
433
- deleteMany?: Prisma.WorkOrderChannelScalarWhereInput | Prisma.WorkOrderChannelScalarWhereInput[]
434
- }
435
-
436
- export type WorkOrderChannelUncheckedUpdateManyWithoutProjectNestedInput = {
437
- create?: Prisma.XOR<Prisma.WorkOrderChannelCreateWithoutProjectInput, Prisma.WorkOrderChannelUncheckedCreateWithoutProjectInput> | Prisma.WorkOrderChannelCreateWithoutProjectInput[] | Prisma.WorkOrderChannelUncheckedCreateWithoutProjectInput[]
438
- connectOrCreate?: Prisma.WorkOrderChannelCreateOrConnectWithoutProjectInput | Prisma.WorkOrderChannelCreateOrConnectWithoutProjectInput[]
439
- upsert?: Prisma.WorkOrderChannelUpsertWithWhereUniqueWithoutProjectInput | Prisma.WorkOrderChannelUpsertWithWhereUniqueWithoutProjectInput[]
440
- createMany?: Prisma.WorkOrderChannelCreateManyProjectInputEnvelope
441
- set?: Prisma.WorkOrderChannelWhereUniqueInput | Prisma.WorkOrderChannelWhereUniqueInput[]
442
- disconnect?: Prisma.WorkOrderChannelWhereUniqueInput | Prisma.WorkOrderChannelWhereUniqueInput[]
443
- delete?: Prisma.WorkOrderChannelWhereUniqueInput | Prisma.WorkOrderChannelWhereUniqueInput[]
444
- connect?: Prisma.WorkOrderChannelWhereUniqueInput | Prisma.WorkOrderChannelWhereUniqueInput[]
445
- update?: Prisma.WorkOrderChannelUpdateWithWhereUniqueWithoutProjectInput | Prisma.WorkOrderChannelUpdateWithWhereUniqueWithoutProjectInput[]
446
- updateMany?: Prisma.WorkOrderChannelUpdateManyWithWhereWithoutProjectInput | Prisma.WorkOrderChannelUpdateManyWithWhereWithoutProjectInput[]
447
- deleteMany?: Prisma.WorkOrderChannelScalarWhereInput | Prisma.WorkOrderChannelScalarWhereInput[]
448
- }
449
-
450
- export type WorkOrderChannelCreateWithoutProjectInput = {
451
- id?: string
452
- no?: number
453
- name: string
454
- createdAt?: Date | string
455
- updatedAt?: Date | string
456
- deletedAt?: Date | string | null
457
- }
458
-
459
- export type WorkOrderChannelUncheckedCreateWithoutProjectInput = {
460
- id?: string
461
- no?: number
462
- name: string
463
- createdAt?: Date | string
464
- updatedAt?: Date | string
465
- deletedAt?: Date | string | null
466
- }
467
-
468
- export type WorkOrderChannelCreateOrConnectWithoutProjectInput = {
469
- where: Prisma.WorkOrderChannelWhereUniqueInput
470
- create: Prisma.XOR<Prisma.WorkOrderChannelCreateWithoutProjectInput, Prisma.WorkOrderChannelUncheckedCreateWithoutProjectInput>
471
- }
472
-
473
- export type WorkOrderChannelCreateManyProjectInputEnvelope = {
474
- data: Prisma.WorkOrderChannelCreateManyProjectInput | Prisma.WorkOrderChannelCreateManyProjectInput[]
475
- skipDuplicates?: boolean
476
- }
477
-
478
- export type WorkOrderChannelUpsertWithWhereUniqueWithoutProjectInput = {
479
- where: Prisma.WorkOrderChannelWhereUniqueInput
480
- update: Prisma.XOR<Prisma.WorkOrderChannelUpdateWithoutProjectInput, Prisma.WorkOrderChannelUncheckedUpdateWithoutProjectInput>
481
- create: Prisma.XOR<Prisma.WorkOrderChannelCreateWithoutProjectInput, Prisma.WorkOrderChannelUncheckedCreateWithoutProjectInput>
482
- }
483
-
484
- export type WorkOrderChannelUpdateWithWhereUniqueWithoutProjectInput = {
485
- where: Prisma.WorkOrderChannelWhereUniqueInput
486
- data: Prisma.XOR<Prisma.WorkOrderChannelUpdateWithoutProjectInput, Prisma.WorkOrderChannelUncheckedUpdateWithoutProjectInput>
487
- }
488
-
489
- export type WorkOrderChannelUpdateManyWithWhereWithoutProjectInput = {
490
- where: Prisma.WorkOrderChannelScalarWhereInput
491
- data: Prisma.XOR<Prisma.WorkOrderChannelUpdateManyMutationInput, Prisma.WorkOrderChannelUncheckedUpdateManyWithoutProjectInput>
492
- }
493
-
494
- export type WorkOrderChannelScalarWhereInput = {
495
- AND?: Prisma.WorkOrderChannelScalarWhereInput | Prisma.WorkOrderChannelScalarWhereInput[]
496
- OR?: Prisma.WorkOrderChannelScalarWhereInput[]
497
- NOT?: Prisma.WorkOrderChannelScalarWhereInput | Prisma.WorkOrderChannelScalarWhereInput[]
498
- id?: Prisma.StringFilter<"WorkOrderChannel"> | string
499
- no?: Prisma.IntFilter<"WorkOrderChannel"> | number
500
- name?: Prisma.StringFilter<"WorkOrderChannel"> | string
501
- projectId?: Prisma.StringFilter<"WorkOrderChannel"> | string
502
- createdAt?: Prisma.DateTimeFilter<"WorkOrderChannel"> | Date | string
503
- updatedAt?: Prisma.DateTimeFilter<"WorkOrderChannel"> | Date | string
504
- deletedAt?: Prisma.DateTimeNullableFilter<"WorkOrderChannel"> | Date | string | null
505
- }
506
-
507
- export type WorkOrderChannelCreateManyProjectInput = {
508
- id?: string
509
- no?: number
510
- name: string
511
- createdAt?: Date | string
512
- updatedAt?: Date | string
513
- deletedAt?: Date | string | null
514
- }
515
-
516
- export type WorkOrderChannelUpdateWithoutProjectInput = {
517
- id?: Prisma.StringFieldUpdateOperationsInput | string
518
- no?: Prisma.IntFieldUpdateOperationsInput | number
519
- name?: Prisma.StringFieldUpdateOperationsInput | string
520
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
521
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
522
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
523
- }
524
-
525
- export type WorkOrderChannelUncheckedUpdateWithoutProjectInput = {
526
- id?: Prisma.StringFieldUpdateOperationsInput | string
527
- no?: Prisma.IntFieldUpdateOperationsInput | number
528
- name?: Prisma.StringFieldUpdateOperationsInput | string
529
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
530
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
531
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
532
- }
533
-
534
- export type WorkOrderChannelUncheckedUpdateManyWithoutProjectInput = {
535
- id?: Prisma.StringFieldUpdateOperationsInput | string
536
- no?: Prisma.IntFieldUpdateOperationsInput | number
537
- name?: Prisma.StringFieldUpdateOperationsInput | string
538
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
539
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
540
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
541
- }
542
-
543
-
544
-
545
- export type WorkOrderChannelSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
546
- id?: boolean
547
- no?: boolean
548
- name?: boolean
549
- projectId?: boolean
550
- createdAt?: boolean
551
- updatedAt?: boolean
552
- deletedAt?: boolean
553
- Project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
554
- }, ExtArgs["result"]["workOrderChannel"]>
555
-
556
- export type WorkOrderChannelSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
557
- id?: boolean
558
- no?: boolean
559
- name?: boolean
560
- projectId?: boolean
561
- createdAt?: boolean
562
- updatedAt?: boolean
563
- deletedAt?: boolean
564
- Project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
565
- }, ExtArgs["result"]["workOrderChannel"]>
566
-
567
- export type WorkOrderChannelSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
568
- id?: boolean
569
- no?: boolean
570
- name?: boolean
571
- projectId?: boolean
572
- createdAt?: boolean
573
- updatedAt?: boolean
574
- deletedAt?: boolean
575
- Project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
576
- }, ExtArgs["result"]["workOrderChannel"]>
577
-
578
- export type WorkOrderChannelSelectScalar = {
579
- id?: boolean
580
- no?: boolean
581
- name?: boolean
582
- projectId?: boolean
583
- createdAt?: boolean
584
- updatedAt?: boolean
585
- deletedAt?: boolean
586
- }
587
-
588
- export type WorkOrderChannelOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "no" | "name" | "projectId" | "createdAt" | "updatedAt" | "deletedAt", ExtArgs["result"]["workOrderChannel"]>
589
- export type WorkOrderChannelInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
590
- Project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
591
- }
592
- export type WorkOrderChannelIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
593
- Project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
594
- }
595
- export type WorkOrderChannelIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
596
- Project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
597
- }
598
-
599
- export type $WorkOrderChannelPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
600
- name: "WorkOrderChannel"
601
- objects: {
602
- Project: Prisma.$ProjectPayload<ExtArgs>
603
- }
604
- scalars: runtime.Types.Extensions.GetPayloadResult<{
605
- id: string
606
- no: number
607
- name: string
608
- projectId: string
609
- createdAt: Date
610
- updatedAt: Date
611
- deletedAt: Date | null
612
- }, ExtArgs["result"]["workOrderChannel"]>
613
- composites: {}
614
- }
615
-
616
- export type WorkOrderChannelGetPayload<S extends boolean | null | undefined | WorkOrderChannelDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$WorkOrderChannelPayload, S>
617
-
618
- export type WorkOrderChannelCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
619
- Omit<WorkOrderChannelFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
620
- select?: WorkOrderChannelCountAggregateInputType | true
621
- }
622
-
623
- export interface WorkOrderChannelDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
624
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['WorkOrderChannel'], meta: { name: 'WorkOrderChannel' } }
625
- /**
626
- * Find zero or one WorkOrderChannel that matches the filter.
627
- * @param {WorkOrderChannelFindUniqueArgs} args - Arguments to find a WorkOrderChannel
628
- * @example
629
- * // Get one WorkOrderChannel
630
- * const workOrderChannel = await prisma.workOrderChannel.findUnique({
631
- * where: {
632
- * // ... provide filter here
633
- * }
634
- * })
635
- */
636
- findUnique<T extends WorkOrderChannelFindUniqueArgs>(args: Prisma.SelectSubset<T, WorkOrderChannelFindUniqueArgs<ExtArgs>>): Prisma.Prisma__WorkOrderChannelClient<runtime.Types.Result.GetResult<Prisma.$WorkOrderChannelPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
637
-
638
- /**
639
- * Find one WorkOrderChannel that matches the filter or throw an error with `error.code='P2025'`
640
- * if no matches were found.
641
- * @param {WorkOrderChannelFindUniqueOrThrowArgs} args - Arguments to find a WorkOrderChannel
642
- * @example
643
- * // Get one WorkOrderChannel
644
- * const workOrderChannel = await prisma.workOrderChannel.findUniqueOrThrow({
645
- * where: {
646
- * // ... provide filter here
647
- * }
648
- * })
649
- */
650
- findUniqueOrThrow<T extends WorkOrderChannelFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, WorkOrderChannelFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkOrderChannelClient<runtime.Types.Result.GetResult<Prisma.$WorkOrderChannelPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
651
-
652
- /**
653
- * Find the first WorkOrderChannel that matches the filter.
654
- * Note, that providing `undefined` is treated as the value not being there.
655
- * Read more here: https://pris.ly/d/null-undefined
656
- * @param {WorkOrderChannelFindFirstArgs} args - Arguments to find a WorkOrderChannel
657
- * @example
658
- * // Get one WorkOrderChannel
659
- * const workOrderChannel = await prisma.workOrderChannel.findFirst({
660
- * where: {
661
- * // ... provide filter here
662
- * }
663
- * })
664
- */
665
- findFirst<T extends WorkOrderChannelFindFirstArgs>(args?: Prisma.SelectSubset<T, WorkOrderChannelFindFirstArgs<ExtArgs>>): Prisma.Prisma__WorkOrderChannelClient<runtime.Types.Result.GetResult<Prisma.$WorkOrderChannelPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
666
-
667
- /**
668
- * Find the first WorkOrderChannel that matches the filter or
669
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
670
- * Note, that providing `undefined` is treated as the value not being there.
671
- * Read more here: https://pris.ly/d/null-undefined
672
- * @param {WorkOrderChannelFindFirstOrThrowArgs} args - Arguments to find a WorkOrderChannel
673
- * @example
674
- * // Get one WorkOrderChannel
675
- * const workOrderChannel = await prisma.workOrderChannel.findFirstOrThrow({
676
- * where: {
677
- * // ... provide filter here
678
- * }
679
- * })
680
- */
681
- findFirstOrThrow<T extends WorkOrderChannelFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, WorkOrderChannelFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkOrderChannelClient<runtime.Types.Result.GetResult<Prisma.$WorkOrderChannelPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
682
-
683
- /**
684
- * Find zero or more WorkOrderChannels that matches the filter.
685
- * Note, that providing `undefined` is treated as the value not being there.
686
- * Read more here: https://pris.ly/d/null-undefined
687
- * @param {WorkOrderChannelFindManyArgs} args - Arguments to filter and select certain fields only.
688
- * @example
689
- * // Get all WorkOrderChannels
690
- * const workOrderChannels = await prisma.workOrderChannel.findMany()
691
- *
692
- * // Get first 10 WorkOrderChannels
693
- * const workOrderChannels = await prisma.workOrderChannel.findMany({ take: 10 })
694
- *
695
- * // Only select the `id`
696
- * const workOrderChannelWithIdOnly = await prisma.workOrderChannel.findMany({ select: { id: true } })
697
- *
698
- */
699
- findMany<T extends WorkOrderChannelFindManyArgs>(args?: Prisma.SelectSubset<T, WorkOrderChannelFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkOrderChannelPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
700
-
701
- /**
702
- * Create a WorkOrderChannel.
703
- * @param {WorkOrderChannelCreateArgs} args - Arguments to create a WorkOrderChannel.
704
- * @example
705
- * // Create one WorkOrderChannel
706
- * const WorkOrderChannel = await prisma.workOrderChannel.create({
707
- * data: {
708
- * // ... data to create a WorkOrderChannel
709
- * }
710
- * })
711
- *
712
- */
713
- create<T extends WorkOrderChannelCreateArgs>(args: Prisma.SelectSubset<T, WorkOrderChannelCreateArgs<ExtArgs>>): Prisma.Prisma__WorkOrderChannelClient<runtime.Types.Result.GetResult<Prisma.$WorkOrderChannelPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
714
-
715
- /**
716
- * Create many WorkOrderChannels.
717
- * @param {WorkOrderChannelCreateManyArgs} args - Arguments to create many WorkOrderChannels.
718
- * @example
719
- * // Create many WorkOrderChannels
720
- * const workOrderChannel = await prisma.workOrderChannel.createMany({
721
- * data: [
722
- * // ... provide data here
723
- * ]
724
- * })
725
- *
726
- */
727
- createMany<T extends WorkOrderChannelCreateManyArgs>(args?: Prisma.SelectSubset<T, WorkOrderChannelCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
728
-
729
- /**
730
- * Create many WorkOrderChannels and returns the data saved in the database.
731
- * @param {WorkOrderChannelCreateManyAndReturnArgs} args - Arguments to create many WorkOrderChannels.
732
- * @example
733
- * // Create many WorkOrderChannels
734
- * const workOrderChannel = await prisma.workOrderChannel.createManyAndReturn({
735
- * data: [
736
- * // ... provide data here
737
- * ]
738
- * })
739
- *
740
- * // Create many WorkOrderChannels and only return the `id`
741
- * const workOrderChannelWithIdOnly = await prisma.workOrderChannel.createManyAndReturn({
742
- * select: { id: true },
743
- * data: [
744
- * // ... provide data here
745
- * ]
746
- * })
747
- * Note, that providing `undefined` is treated as the value not being there.
748
- * Read more here: https://pris.ly/d/null-undefined
749
- *
750
- */
751
- createManyAndReturn<T extends WorkOrderChannelCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, WorkOrderChannelCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkOrderChannelPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
752
-
753
- /**
754
- * Delete a WorkOrderChannel.
755
- * @param {WorkOrderChannelDeleteArgs} args - Arguments to delete one WorkOrderChannel.
756
- * @example
757
- * // Delete one WorkOrderChannel
758
- * const WorkOrderChannel = await prisma.workOrderChannel.delete({
759
- * where: {
760
- * // ... filter to delete one WorkOrderChannel
761
- * }
762
- * })
763
- *
764
- */
765
- delete<T extends WorkOrderChannelDeleteArgs>(args: Prisma.SelectSubset<T, WorkOrderChannelDeleteArgs<ExtArgs>>): Prisma.Prisma__WorkOrderChannelClient<runtime.Types.Result.GetResult<Prisma.$WorkOrderChannelPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
766
-
767
- /**
768
- * Update one WorkOrderChannel.
769
- * @param {WorkOrderChannelUpdateArgs} args - Arguments to update one WorkOrderChannel.
770
- * @example
771
- * // Update one WorkOrderChannel
772
- * const workOrderChannel = await prisma.workOrderChannel.update({
773
- * where: {
774
- * // ... provide filter here
775
- * },
776
- * data: {
777
- * // ... provide data here
778
- * }
779
- * })
780
- *
781
- */
782
- update<T extends WorkOrderChannelUpdateArgs>(args: Prisma.SelectSubset<T, WorkOrderChannelUpdateArgs<ExtArgs>>): Prisma.Prisma__WorkOrderChannelClient<runtime.Types.Result.GetResult<Prisma.$WorkOrderChannelPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
783
-
784
- /**
785
- * Delete zero or more WorkOrderChannels.
786
- * @param {WorkOrderChannelDeleteManyArgs} args - Arguments to filter WorkOrderChannels to delete.
787
- * @example
788
- * // Delete a few WorkOrderChannels
789
- * const { count } = await prisma.workOrderChannel.deleteMany({
790
- * where: {
791
- * // ... provide filter here
792
- * }
793
- * })
794
- *
795
- */
796
- deleteMany<T extends WorkOrderChannelDeleteManyArgs>(args?: Prisma.SelectSubset<T, WorkOrderChannelDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
797
-
798
- /**
799
- * Update zero or more WorkOrderChannels.
800
- * Note, that providing `undefined` is treated as the value not being there.
801
- * Read more here: https://pris.ly/d/null-undefined
802
- * @param {WorkOrderChannelUpdateManyArgs} args - Arguments to update one or more rows.
803
- * @example
804
- * // Update many WorkOrderChannels
805
- * const workOrderChannel = await prisma.workOrderChannel.updateMany({
806
- * where: {
807
- * // ... provide filter here
808
- * },
809
- * data: {
810
- * // ... provide data here
811
- * }
812
- * })
813
- *
814
- */
815
- updateMany<T extends WorkOrderChannelUpdateManyArgs>(args: Prisma.SelectSubset<T, WorkOrderChannelUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
816
-
817
- /**
818
- * Update zero or more WorkOrderChannels and returns the data updated in the database.
819
- * @param {WorkOrderChannelUpdateManyAndReturnArgs} args - Arguments to update many WorkOrderChannels.
820
- * @example
821
- * // Update many WorkOrderChannels
822
- * const workOrderChannel = await prisma.workOrderChannel.updateManyAndReturn({
823
- * where: {
824
- * // ... provide filter here
825
- * },
826
- * data: [
827
- * // ... provide data here
828
- * ]
829
- * })
830
- *
831
- * // Update zero or more WorkOrderChannels and only return the `id`
832
- * const workOrderChannelWithIdOnly = await prisma.workOrderChannel.updateManyAndReturn({
833
- * select: { id: true },
834
- * where: {
835
- * // ... provide filter here
836
- * },
837
- * data: [
838
- * // ... provide data here
839
- * ]
840
- * })
841
- * Note, that providing `undefined` is treated as the value not being there.
842
- * Read more here: https://pris.ly/d/null-undefined
843
- *
844
- */
845
- updateManyAndReturn<T extends WorkOrderChannelUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, WorkOrderChannelUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkOrderChannelPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
846
-
847
- /**
848
- * Create or update one WorkOrderChannel.
849
- * @param {WorkOrderChannelUpsertArgs} args - Arguments to update or create a WorkOrderChannel.
850
- * @example
851
- * // Update or create a WorkOrderChannel
852
- * const workOrderChannel = await prisma.workOrderChannel.upsert({
853
- * create: {
854
- * // ... data to create a WorkOrderChannel
855
- * },
856
- * update: {
857
- * // ... in case it already exists, update
858
- * },
859
- * where: {
860
- * // ... the filter for the WorkOrderChannel we want to update
861
- * }
862
- * })
863
- */
864
- upsert<T extends WorkOrderChannelUpsertArgs>(args: Prisma.SelectSubset<T, WorkOrderChannelUpsertArgs<ExtArgs>>): Prisma.Prisma__WorkOrderChannelClient<runtime.Types.Result.GetResult<Prisma.$WorkOrderChannelPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
865
-
866
-
867
- /**
868
- * Count the number of WorkOrderChannels.
869
- * Note, that providing `undefined` is treated as the value not being there.
870
- * Read more here: https://pris.ly/d/null-undefined
871
- * @param {WorkOrderChannelCountArgs} args - Arguments to filter WorkOrderChannels to count.
872
- * @example
873
- * // Count the number of WorkOrderChannels
874
- * const count = await prisma.workOrderChannel.count({
875
- * where: {
876
- * // ... the filter for the WorkOrderChannels we want to count
877
- * }
878
- * })
879
- **/
880
- count<T extends WorkOrderChannelCountArgs>(
881
- args?: Prisma.Subset<T, WorkOrderChannelCountArgs>,
882
- ): Prisma.PrismaPromise<
883
- T extends runtime.Types.Utils.Record<'select', any>
884
- ? T['select'] extends true
885
- ? number
886
- : Prisma.GetScalarType<T['select'], WorkOrderChannelCountAggregateOutputType>
887
- : number
888
- >
889
-
890
- /**
891
- * Allows you to perform aggregations operations on a WorkOrderChannel.
892
- * Note, that providing `undefined` is treated as the value not being there.
893
- * Read more here: https://pris.ly/d/null-undefined
894
- * @param {WorkOrderChannelAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
895
- * @example
896
- * // Ordered by age ascending
897
- * // Where email contains prisma.io
898
- * // Limited to the 10 users
899
- * const aggregations = await prisma.user.aggregate({
900
- * _avg: {
901
- * age: true,
902
- * },
903
- * where: {
904
- * email: {
905
- * contains: "prisma.io",
906
- * },
907
- * },
908
- * orderBy: {
909
- * age: "asc",
910
- * },
911
- * take: 10,
912
- * })
913
- **/
914
- aggregate<T extends WorkOrderChannelAggregateArgs>(args: Prisma.Subset<T, WorkOrderChannelAggregateArgs>): Prisma.PrismaPromise<GetWorkOrderChannelAggregateType<T>>
915
-
916
- /**
917
- * Group by WorkOrderChannel.
918
- * Note, that providing `undefined` is treated as the value not being there.
919
- * Read more here: https://pris.ly/d/null-undefined
920
- * @param {WorkOrderChannelGroupByArgs} args - Group by arguments.
921
- * @example
922
- * // Group by city, order by createdAt, get count
923
- * const result = await prisma.user.groupBy({
924
- * by: ['city', 'createdAt'],
925
- * orderBy: {
926
- * createdAt: true
927
- * },
928
- * _count: {
929
- * _all: true
930
- * },
931
- * })
932
- *
933
- **/
934
- groupBy<
935
- T extends WorkOrderChannelGroupByArgs,
936
- HasSelectOrTake extends Prisma.Or<
937
- Prisma.Extends<'skip', Prisma.Keys<T>>,
938
- Prisma.Extends<'take', Prisma.Keys<T>>
939
- >,
940
- OrderByArg extends Prisma.True extends HasSelectOrTake
941
- ? { orderBy: WorkOrderChannelGroupByArgs['orderBy'] }
942
- : { orderBy?: WorkOrderChannelGroupByArgs['orderBy'] },
943
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
944
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
945
- ByValid extends Prisma.Has<ByFields, OrderFields>,
946
- HavingFields extends Prisma.GetHavingFields<T['having']>,
947
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
948
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
949
- InputErrors extends ByEmpty extends Prisma.True
950
- ? `Error: "by" must not be empty.`
951
- : HavingValid extends Prisma.False
952
- ? {
953
- [P in HavingFields]: P extends ByFields
954
- ? never
955
- : P extends string
956
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
957
- : [
958
- Error,
959
- 'Field ',
960
- P,
961
- ` in "having" needs to be provided in "by"`,
962
- ]
963
- }[HavingFields]
964
- : 'take' extends Prisma.Keys<T>
965
- ? 'orderBy' extends Prisma.Keys<T>
966
- ? ByValid extends Prisma.True
967
- ? {}
968
- : {
969
- [P in OrderFields]: P extends ByFields
970
- ? never
971
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
972
- }[OrderFields]
973
- : 'Error: If you provide "take", you also need to provide "orderBy"'
974
- : 'skip' extends Prisma.Keys<T>
975
- ? 'orderBy' extends Prisma.Keys<T>
976
- ? ByValid extends Prisma.True
977
- ? {}
978
- : {
979
- [P in OrderFields]: P extends ByFields
980
- ? never
981
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
982
- }[OrderFields]
983
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
984
- : ByValid extends Prisma.True
985
- ? {}
986
- : {
987
- [P in OrderFields]: P extends ByFields
988
- ? never
989
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
990
- }[OrderFields]
991
- >(args: Prisma.SubsetIntersection<T, WorkOrderChannelGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWorkOrderChannelGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
992
- /**
993
- * Fields of the WorkOrderChannel model
994
- */
995
- readonly fields: WorkOrderChannelFieldRefs;
996
- }
997
-
998
- /**
999
- * The delegate class that acts as a "Promise-like" for WorkOrderChannel.
1000
- * Why is this prefixed with `Prisma__`?
1001
- * Because we want to prevent naming conflicts as mentioned in
1002
- * https://github.com/prisma/prisma-client-js/issues/707
1003
- */
1004
- export interface Prisma__WorkOrderChannelClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1005
- readonly [Symbol.toStringTag]: "PrismaPromise"
1006
- Project<T extends Prisma.ProjectDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProjectDefaultArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1007
- /**
1008
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1009
- * @param onfulfilled The callback to execute when the Promise is resolved.
1010
- * @param onrejected The callback to execute when the Promise is rejected.
1011
- * @returns A Promise for the completion of which ever callback is executed.
1012
- */
1013
- 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>
1014
- /**
1015
- * Attaches a callback for only the rejection of the Promise.
1016
- * @param onrejected The callback to execute when the Promise is rejected.
1017
- * @returns A Promise for the completion of the callback.
1018
- */
1019
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1020
- /**
1021
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1022
- * resolved value cannot be modified from the callback.
1023
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1024
- * @returns A Promise for the completion of the callback.
1025
- */
1026
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1027
- }
1028
-
1029
-
1030
-
1031
-
1032
- /**
1033
- * Fields of the WorkOrderChannel model
1034
- */
1035
- export interface WorkOrderChannelFieldRefs {
1036
- readonly id: Prisma.FieldRef<"WorkOrderChannel", 'String'>
1037
- readonly no: Prisma.FieldRef<"WorkOrderChannel", 'Int'>
1038
- readonly name: Prisma.FieldRef<"WorkOrderChannel", 'String'>
1039
- readonly projectId: Prisma.FieldRef<"WorkOrderChannel", 'String'>
1040
- readonly createdAt: Prisma.FieldRef<"WorkOrderChannel", 'DateTime'>
1041
- readonly updatedAt: Prisma.FieldRef<"WorkOrderChannel", 'DateTime'>
1042
- readonly deletedAt: Prisma.FieldRef<"WorkOrderChannel", 'DateTime'>
1043
- }
1044
-
1045
-
1046
- // Custom InputTypes
1047
- /**
1048
- * WorkOrderChannel findUnique
1049
- */
1050
- export type WorkOrderChannelFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1051
- /**
1052
- * Select specific fields to fetch from the WorkOrderChannel
1053
- */
1054
- select?: Prisma.WorkOrderChannelSelect<ExtArgs> | null
1055
- /**
1056
- * Omit specific fields from the WorkOrderChannel
1057
- */
1058
- omit?: Prisma.WorkOrderChannelOmit<ExtArgs> | null
1059
- /**
1060
- * Choose, which related nodes to fetch as well
1061
- */
1062
- include?: Prisma.WorkOrderChannelInclude<ExtArgs> | null
1063
- /**
1064
- * Filter, which WorkOrderChannel to fetch.
1065
- */
1066
- where: Prisma.WorkOrderChannelWhereUniqueInput
1067
- }
1068
-
1069
- /**
1070
- * WorkOrderChannel findUniqueOrThrow
1071
- */
1072
- export type WorkOrderChannelFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1073
- /**
1074
- * Select specific fields to fetch from the WorkOrderChannel
1075
- */
1076
- select?: Prisma.WorkOrderChannelSelect<ExtArgs> | null
1077
- /**
1078
- * Omit specific fields from the WorkOrderChannel
1079
- */
1080
- omit?: Prisma.WorkOrderChannelOmit<ExtArgs> | null
1081
- /**
1082
- * Choose, which related nodes to fetch as well
1083
- */
1084
- include?: Prisma.WorkOrderChannelInclude<ExtArgs> | null
1085
- /**
1086
- * Filter, which WorkOrderChannel to fetch.
1087
- */
1088
- where: Prisma.WorkOrderChannelWhereUniqueInput
1089
- }
1090
-
1091
- /**
1092
- * WorkOrderChannel findFirst
1093
- */
1094
- export type WorkOrderChannelFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1095
- /**
1096
- * Select specific fields to fetch from the WorkOrderChannel
1097
- */
1098
- select?: Prisma.WorkOrderChannelSelect<ExtArgs> | null
1099
- /**
1100
- * Omit specific fields from the WorkOrderChannel
1101
- */
1102
- omit?: Prisma.WorkOrderChannelOmit<ExtArgs> | null
1103
- /**
1104
- * Choose, which related nodes to fetch as well
1105
- */
1106
- include?: Prisma.WorkOrderChannelInclude<ExtArgs> | null
1107
- /**
1108
- * Filter, which WorkOrderChannel to fetch.
1109
- */
1110
- where?: Prisma.WorkOrderChannelWhereInput
1111
- /**
1112
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1113
- *
1114
- * Determine the order of WorkOrderChannels to fetch.
1115
- */
1116
- orderBy?: Prisma.WorkOrderChannelOrderByWithRelationInput | Prisma.WorkOrderChannelOrderByWithRelationInput[]
1117
- /**
1118
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1119
- *
1120
- * Sets the position for searching for WorkOrderChannels.
1121
- */
1122
- cursor?: Prisma.WorkOrderChannelWhereUniqueInput
1123
- /**
1124
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1125
- *
1126
- * Take `±n` WorkOrderChannels from the position of the cursor.
1127
- */
1128
- take?: number
1129
- /**
1130
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1131
- *
1132
- * Skip the first `n` WorkOrderChannels.
1133
- */
1134
- skip?: number
1135
- /**
1136
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1137
- *
1138
- * Filter by unique combinations of WorkOrderChannels.
1139
- */
1140
- distinct?: Prisma.WorkOrderChannelScalarFieldEnum | Prisma.WorkOrderChannelScalarFieldEnum[]
1141
- }
1142
-
1143
- /**
1144
- * WorkOrderChannel findFirstOrThrow
1145
- */
1146
- export type WorkOrderChannelFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1147
- /**
1148
- * Select specific fields to fetch from the WorkOrderChannel
1149
- */
1150
- select?: Prisma.WorkOrderChannelSelect<ExtArgs> | null
1151
- /**
1152
- * Omit specific fields from the WorkOrderChannel
1153
- */
1154
- omit?: Prisma.WorkOrderChannelOmit<ExtArgs> | null
1155
- /**
1156
- * Choose, which related nodes to fetch as well
1157
- */
1158
- include?: Prisma.WorkOrderChannelInclude<ExtArgs> | null
1159
- /**
1160
- * Filter, which WorkOrderChannel to fetch.
1161
- */
1162
- where?: Prisma.WorkOrderChannelWhereInput
1163
- /**
1164
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1165
- *
1166
- * Determine the order of WorkOrderChannels to fetch.
1167
- */
1168
- orderBy?: Prisma.WorkOrderChannelOrderByWithRelationInput | Prisma.WorkOrderChannelOrderByWithRelationInput[]
1169
- /**
1170
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1171
- *
1172
- * Sets the position for searching for WorkOrderChannels.
1173
- */
1174
- cursor?: Prisma.WorkOrderChannelWhereUniqueInput
1175
- /**
1176
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1177
- *
1178
- * Take `±n` WorkOrderChannels from the position of the cursor.
1179
- */
1180
- take?: number
1181
- /**
1182
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1183
- *
1184
- * Skip the first `n` WorkOrderChannels.
1185
- */
1186
- skip?: number
1187
- /**
1188
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1189
- *
1190
- * Filter by unique combinations of WorkOrderChannels.
1191
- */
1192
- distinct?: Prisma.WorkOrderChannelScalarFieldEnum | Prisma.WorkOrderChannelScalarFieldEnum[]
1193
- }
1194
-
1195
- /**
1196
- * WorkOrderChannel findMany
1197
- */
1198
- export type WorkOrderChannelFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1199
- /**
1200
- * Select specific fields to fetch from the WorkOrderChannel
1201
- */
1202
- select?: Prisma.WorkOrderChannelSelect<ExtArgs> | null
1203
- /**
1204
- * Omit specific fields from the WorkOrderChannel
1205
- */
1206
- omit?: Prisma.WorkOrderChannelOmit<ExtArgs> | null
1207
- /**
1208
- * Choose, which related nodes to fetch as well
1209
- */
1210
- include?: Prisma.WorkOrderChannelInclude<ExtArgs> | null
1211
- /**
1212
- * Filter, which WorkOrderChannels to fetch.
1213
- */
1214
- where?: Prisma.WorkOrderChannelWhereInput
1215
- /**
1216
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1217
- *
1218
- * Determine the order of WorkOrderChannels to fetch.
1219
- */
1220
- orderBy?: Prisma.WorkOrderChannelOrderByWithRelationInput | Prisma.WorkOrderChannelOrderByWithRelationInput[]
1221
- /**
1222
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1223
- *
1224
- * Sets the position for listing WorkOrderChannels.
1225
- */
1226
- cursor?: Prisma.WorkOrderChannelWhereUniqueInput
1227
- /**
1228
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1229
- *
1230
- * Take `±n` WorkOrderChannels from the position of the cursor.
1231
- */
1232
- take?: number
1233
- /**
1234
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1235
- *
1236
- * Skip the first `n` WorkOrderChannels.
1237
- */
1238
- skip?: number
1239
- distinct?: Prisma.WorkOrderChannelScalarFieldEnum | Prisma.WorkOrderChannelScalarFieldEnum[]
1240
- }
1241
-
1242
- /**
1243
- * WorkOrderChannel create
1244
- */
1245
- export type WorkOrderChannelCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1246
- /**
1247
- * Select specific fields to fetch from the WorkOrderChannel
1248
- */
1249
- select?: Prisma.WorkOrderChannelSelect<ExtArgs> | null
1250
- /**
1251
- * Omit specific fields from the WorkOrderChannel
1252
- */
1253
- omit?: Prisma.WorkOrderChannelOmit<ExtArgs> | null
1254
- /**
1255
- * Choose, which related nodes to fetch as well
1256
- */
1257
- include?: Prisma.WorkOrderChannelInclude<ExtArgs> | null
1258
- /**
1259
- * The data needed to create a WorkOrderChannel.
1260
- */
1261
- data: Prisma.XOR<Prisma.WorkOrderChannelCreateInput, Prisma.WorkOrderChannelUncheckedCreateInput>
1262
- }
1263
-
1264
- /**
1265
- * WorkOrderChannel createMany
1266
- */
1267
- export type WorkOrderChannelCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1268
- /**
1269
- * The data used to create many WorkOrderChannels.
1270
- */
1271
- data: Prisma.WorkOrderChannelCreateManyInput | Prisma.WorkOrderChannelCreateManyInput[]
1272
- skipDuplicates?: boolean
1273
- }
1274
-
1275
- /**
1276
- * WorkOrderChannel createManyAndReturn
1277
- */
1278
- export type WorkOrderChannelCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1279
- /**
1280
- * Select specific fields to fetch from the WorkOrderChannel
1281
- */
1282
- select?: Prisma.WorkOrderChannelSelectCreateManyAndReturn<ExtArgs> | null
1283
- /**
1284
- * Omit specific fields from the WorkOrderChannel
1285
- */
1286
- omit?: Prisma.WorkOrderChannelOmit<ExtArgs> | null
1287
- /**
1288
- * The data used to create many WorkOrderChannels.
1289
- */
1290
- data: Prisma.WorkOrderChannelCreateManyInput | Prisma.WorkOrderChannelCreateManyInput[]
1291
- skipDuplicates?: boolean
1292
- /**
1293
- * Choose, which related nodes to fetch as well
1294
- */
1295
- include?: Prisma.WorkOrderChannelIncludeCreateManyAndReturn<ExtArgs> | null
1296
- }
1297
-
1298
- /**
1299
- * WorkOrderChannel update
1300
- */
1301
- export type WorkOrderChannelUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1302
- /**
1303
- * Select specific fields to fetch from the WorkOrderChannel
1304
- */
1305
- select?: Prisma.WorkOrderChannelSelect<ExtArgs> | null
1306
- /**
1307
- * Omit specific fields from the WorkOrderChannel
1308
- */
1309
- omit?: Prisma.WorkOrderChannelOmit<ExtArgs> | null
1310
- /**
1311
- * Choose, which related nodes to fetch as well
1312
- */
1313
- include?: Prisma.WorkOrderChannelInclude<ExtArgs> | null
1314
- /**
1315
- * The data needed to update a WorkOrderChannel.
1316
- */
1317
- data: Prisma.XOR<Prisma.WorkOrderChannelUpdateInput, Prisma.WorkOrderChannelUncheckedUpdateInput>
1318
- /**
1319
- * Choose, which WorkOrderChannel to update.
1320
- */
1321
- where: Prisma.WorkOrderChannelWhereUniqueInput
1322
- }
1323
-
1324
- /**
1325
- * WorkOrderChannel updateMany
1326
- */
1327
- export type WorkOrderChannelUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1328
- /**
1329
- * The data used to update WorkOrderChannels.
1330
- */
1331
- data: Prisma.XOR<Prisma.WorkOrderChannelUpdateManyMutationInput, Prisma.WorkOrderChannelUncheckedUpdateManyInput>
1332
- /**
1333
- * Filter which WorkOrderChannels to update
1334
- */
1335
- where?: Prisma.WorkOrderChannelWhereInput
1336
- /**
1337
- * Limit how many WorkOrderChannels to update.
1338
- */
1339
- limit?: number
1340
- }
1341
-
1342
- /**
1343
- * WorkOrderChannel updateManyAndReturn
1344
- */
1345
- export type WorkOrderChannelUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1346
- /**
1347
- * Select specific fields to fetch from the WorkOrderChannel
1348
- */
1349
- select?: Prisma.WorkOrderChannelSelectUpdateManyAndReturn<ExtArgs> | null
1350
- /**
1351
- * Omit specific fields from the WorkOrderChannel
1352
- */
1353
- omit?: Prisma.WorkOrderChannelOmit<ExtArgs> | null
1354
- /**
1355
- * The data used to update WorkOrderChannels.
1356
- */
1357
- data: Prisma.XOR<Prisma.WorkOrderChannelUpdateManyMutationInput, Prisma.WorkOrderChannelUncheckedUpdateManyInput>
1358
- /**
1359
- * Filter which WorkOrderChannels to update
1360
- */
1361
- where?: Prisma.WorkOrderChannelWhereInput
1362
- /**
1363
- * Limit how many WorkOrderChannels to update.
1364
- */
1365
- limit?: number
1366
- /**
1367
- * Choose, which related nodes to fetch as well
1368
- */
1369
- include?: Prisma.WorkOrderChannelIncludeUpdateManyAndReturn<ExtArgs> | null
1370
- }
1371
-
1372
- /**
1373
- * WorkOrderChannel upsert
1374
- */
1375
- export type WorkOrderChannelUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1376
- /**
1377
- * Select specific fields to fetch from the WorkOrderChannel
1378
- */
1379
- select?: Prisma.WorkOrderChannelSelect<ExtArgs> | null
1380
- /**
1381
- * Omit specific fields from the WorkOrderChannel
1382
- */
1383
- omit?: Prisma.WorkOrderChannelOmit<ExtArgs> | null
1384
- /**
1385
- * Choose, which related nodes to fetch as well
1386
- */
1387
- include?: Prisma.WorkOrderChannelInclude<ExtArgs> | null
1388
- /**
1389
- * The filter to search for the WorkOrderChannel to update in case it exists.
1390
- */
1391
- where: Prisma.WorkOrderChannelWhereUniqueInput
1392
- /**
1393
- * In case the WorkOrderChannel found by the `where` argument doesn't exist, create a new WorkOrderChannel with this data.
1394
- */
1395
- create: Prisma.XOR<Prisma.WorkOrderChannelCreateInput, Prisma.WorkOrderChannelUncheckedCreateInput>
1396
- /**
1397
- * In case the WorkOrderChannel was found with the provided `where` argument, update it with this data.
1398
- */
1399
- update: Prisma.XOR<Prisma.WorkOrderChannelUpdateInput, Prisma.WorkOrderChannelUncheckedUpdateInput>
1400
- }
1401
-
1402
- /**
1403
- * WorkOrderChannel delete
1404
- */
1405
- export type WorkOrderChannelDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1406
- /**
1407
- * Select specific fields to fetch from the WorkOrderChannel
1408
- */
1409
- select?: Prisma.WorkOrderChannelSelect<ExtArgs> | null
1410
- /**
1411
- * Omit specific fields from the WorkOrderChannel
1412
- */
1413
- omit?: Prisma.WorkOrderChannelOmit<ExtArgs> | null
1414
- /**
1415
- * Choose, which related nodes to fetch as well
1416
- */
1417
- include?: Prisma.WorkOrderChannelInclude<ExtArgs> | null
1418
- /**
1419
- * Filter which WorkOrderChannel to delete.
1420
- */
1421
- where: Prisma.WorkOrderChannelWhereUniqueInput
1422
- }
1423
-
1424
- /**
1425
- * WorkOrderChannel deleteMany
1426
- */
1427
- export type WorkOrderChannelDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1428
- /**
1429
- * Filter which WorkOrderChannels to delete
1430
- */
1431
- where?: Prisma.WorkOrderChannelWhereInput
1432
- /**
1433
- * Limit how many WorkOrderChannels to delete.
1434
- */
1435
- limit?: number
1436
- }
1437
-
1438
- /**
1439
- * WorkOrderChannel without action
1440
- */
1441
- export type WorkOrderChannelDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1442
- /**
1443
- * Select specific fields to fetch from the WorkOrderChannel
1444
- */
1445
- select?: Prisma.WorkOrderChannelSelect<ExtArgs> | null
1446
- /**
1447
- * Omit specific fields from the WorkOrderChannel
1448
- */
1449
- omit?: Prisma.WorkOrderChannelOmit<ExtArgs> | null
1450
- /**
1451
- * Choose, which related nodes to fetch as well
1452
- */
1453
- include?: Prisma.WorkOrderChannelInclude<ExtArgs> | null
1454
- }