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,2220 +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 `WorkOrderTask` 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 WorkOrderTask
17
- *
18
- */
19
- export type WorkOrderTaskModel = runtime.Types.Result.DefaultSelection<Prisma.$WorkOrderTaskPayload>
20
-
21
- export type AggregateWorkOrderTask = {
22
- _count: WorkOrderTaskCountAggregateOutputType | null
23
- _avg: WorkOrderTaskAvgAggregateOutputType | null
24
- _sum: WorkOrderTaskSumAggregateOutputType | null
25
- _min: WorkOrderTaskMinAggregateOutputType | null
26
- _max: WorkOrderTaskMaxAggregateOutputType | null
27
- }
28
-
29
- export type WorkOrderTaskAvgAggregateOutputType = {
30
- no: number | null
31
- }
32
-
33
- export type WorkOrderTaskSumAggregateOutputType = {
34
- no: number | null
35
- }
36
-
37
- export type WorkOrderTaskMinAggregateOutputType = {
38
- id: string | null
39
- no: number | null
40
- name: string | null
41
- buttonName: string | null
42
- isSpecialFeature: boolean | null
43
- statusColor: string | null
44
- featureName: string | null
45
- status: string | null
46
- comments: string | null
47
- scheduledStartAt: Date | null
48
- createdAt: Date | null
49
- updatedAt: Date | null
50
- deletedAt: Date | null
51
- technicianId: string | null
52
- workOrderId: string | null
53
- templateComponentId: string | null
54
- }
55
-
56
- export type WorkOrderTaskMaxAggregateOutputType = {
57
- id: string | null
58
- no: number | null
59
- name: string | null
60
- buttonName: string | null
61
- isSpecialFeature: boolean | null
62
- statusColor: string | null
63
- featureName: string | null
64
- status: string | null
65
- comments: string | null
66
- scheduledStartAt: Date | null
67
- createdAt: Date | null
68
- updatedAt: Date | null
69
- deletedAt: Date | null
70
- technicianId: string | null
71
- workOrderId: string | null
72
- templateComponentId: string | null
73
- }
74
-
75
- export type WorkOrderTaskCountAggregateOutputType = {
76
- id: number
77
- no: number
78
- name: number
79
- buttonName: number
80
- isSpecialFeature: number
81
- statusColor: number
82
- featureName: number
83
- status: number
84
- features: number
85
- comments: number
86
- scheduledStartAt: number
87
- createdAt: number
88
- updatedAt: number
89
- deletedAt: number
90
- technicianId: number
91
- workOrderId: number
92
- templateComponentId: number
93
- _all: number
94
- }
95
-
96
-
97
- export type WorkOrderTaskAvgAggregateInputType = {
98
- no?: true
99
- }
100
-
101
- export type WorkOrderTaskSumAggregateInputType = {
102
- no?: true
103
- }
104
-
105
- export type WorkOrderTaskMinAggregateInputType = {
106
- id?: true
107
- no?: true
108
- name?: true
109
- buttonName?: true
110
- isSpecialFeature?: true
111
- statusColor?: true
112
- featureName?: true
113
- status?: true
114
- comments?: true
115
- scheduledStartAt?: true
116
- createdAt?: true
117
- updatedAt?: true
118
- deletedAt?: true
119
- technicianId?: true
120
- workOrderId?: true
121
- templateComponentId?: true
122
- }
123
-
124
- export type WorkOrderTaskMaxAggregateInputType = {
125
- id?: true
126
- no?: true
127
- name?: true
128
- buttonName?: true
129
- isSpecialFeature?: true
130
- statusColor?: true
131
- featureName?: true
132
- status?: true
133
- comments?: true
134
- scheduledStartAt?: true
135
- createdAt?: true
136
- updatedAt?: true
137
- deletedAt?: true
138
- technicianId?: true
139
- workOrderId?: true
140
- templateComponentId?: true
141
- }
142
-
143
- export type WorkOrderTaskCountAggregateInputType = {
144
- id?: true
145
- no?: true
146
- name?: true
147
- buttonName?: true
148
- isSpecialFeature?: true
149
- statusColor?: true
150
- featureName?: true
151
- status?: true
152
- features?: true
153
- comments?: true
154
- scheduledStartAt?: true
155
- createdAt?: true
156
- updatedAt?: true
157
- deletedAt?: true
158
- technicianId?: true
159
- workOrderId?: true
160
- templateComponentId?: true
161
- _all?: true
162
- }
163
-
164
- export type WorkOrderTaskAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
165
- /**
166
- * Filter which WorkOrderTask to aggregate.
167
- */
168
- where?: Prisma.WorkOrderTaskWhereInput
169
- /**
170
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
171
- *
172
- * Determine the order of WorkOrderTasks to fetch.
173
- */
174
- orderBy?: Prisma.WorkOrderTaskOrderByWithRelationInput | Prisma.WorkOrderTaskOrderByWithRelationInput[]
175
- /**
176
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
177
- *
178
- * Sets the start position
179
- */
180
- cursor?: Prisma.WorkOrderTaskWhereUniqueInput
181
- /**
182
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
183
- *
184
- * Take `±n` WorkOrderTasks from the position of the cursor.
185
- */
186
- take?: number
187
- /**
188
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
189
- *
190
- * Skip the first `n` WorkOrderTasks.
191
- */
192
- skip?: number
193
- /**
194
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
195
- *
196
- * Count returned WorkOrderTasks
197
- **/
198
- _count?: true | WorkOrderTaskCountAggregateInputType
199
- /**
200
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
201
- *
202
- * Select which fields to average
203
- **/
204
- _avg?: WorkOrderTaskAvgAggregateInputType
205
- /**
206
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
207
- *
208
- * Select which fields to sum
209
- **/
210
- _sum?: WorkOrderTaskSumAggregateInputType
211
- /**
212
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
213
- *
214
- * Select which fields to find the minimum value
215
- **/
216
- _min?: WorkOrderTaskMinAggregateInputType
217
- /**
218
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
219
- *
220
- * Select which fields to find the maximum value
221
- **/
222
- _max?: WorkOrderTaskMaxAggregateInputType
223
- }
224
-
225
- export type GetWorkOrderTaskAggregateType<T extends WorkOrderTaskAggregateArgs> = {
226
- [P in keyof T & keyof AggregateWorkOrderTask]: P extends '_count' | 'count'
227
- ? T[P] extends true
228
- ? number
229
- : Prisma.GetScalarType<T[P], AggregateWorkOrderTask[P]>
230
- : Prisma.GetScalarType<T[P], AggregateWorkOrderTask[P]>
231
- }
232
-
233
-
234
-
235
-
236
- export type WorkOrderTaskGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
237
- where?: Prisma.WorkOrderTaskWhereInput
238
- orderBy?: Prisma.WorkOrderTaskOrderByWithAggregationInput | Prisma.WorkOrderTaskOrderByWithAggregationInput[]
239
- by: Prisma.WorkOrderTaskScalarFieldEnum[] | Prisma.WorkOrderTaskScalarFieldEnum
240
- having?: Prisma.WorkOrderTaskScalarWhereWithAggregatesInput
241
- take?: number
242
- skip?: number
243
- _count?: WorkOrderTaskCountAggregateInputType | true
244
- _avg?: WorkOrderTaskAvgAggregateInputType
245
- _sum?: WorkOrderTaskSumAggregateInputType
246
- _min?: WorkOrderTaskMinAggregateInputType
247
- _max?: WorkOrderTaskMaxAggregateInputType
248
- }
249
-
250
- export type WorkOrderTaskGroupByOutputType = {
251
- id: string
252
- no: number
253
- name: string
254
- buttonName: string
255
- isSpecialFeature: boolean
256
- statusColor: string | null
257
- featureName: string | null
258
- status: string
259
- features: runtime.JsonValue | null
260
- comments: string | null
261
- scheduledStartAt: Date | null
262
- createdAt: Date
263
- updatedAt: Date
264
- deletedAt: Date | null
265
- technicianId: string | null
266
- workOrderId: string
267
- templateComponentId: string
268
- _count: WorkOrderTaskCountAggregateOutputType | null
269
- _avg: WorkOrderTaskAvgAggregateOutputType | null
270
- _sum: WorkOrderTaskSumAggregateOutputType | null
271
- _min: WorkOrderTaskMinAggregateOutputType | null
272
- _max: WorkOrderTaskMaxAggregateOutputType | null
273
- }
274
-
275
- type GetWorkOrderTaskGroupByPayload<T extends WorkOrderTaskGroupByArgs> = Prisma.PrismaPromise<
276
- Array<
277
- Prisma.PickEnumerable<WorkOrderTaskGroupByOutputType, T['by']> &
278
- {
279
- [P in ((keyof T) & (keyof WorkOrderTaskGroupByOutputType))]: P extends '_count'
280
- ? T[P] extends boolean
281
- ? number
282
- : Prisma.GetScalarType<T[P], WorkOrderTaskGroupByOutputType[P]>
283
- : Prisma.GetScalarType<T[P], WorkOrderTaskGroupByOutputType[P]>
284
- }
285
- >
286
- >
287
-
288
-
289
-
290
- export type WorkOrderTaskWhereInput = {
291
- AND?: Prisma.WorkOrderTaskWhereInput | Prisma.WorkOrderTaskWhereInput[]
292
- OR?: Prisma.WorkOrderTaskWhereInput[]
293
- NOT?: Prisma.WorkOrderTaskWhereInput | Prisma.WorkOrderTaskWhereInput[]
294
- id?: Prisma.StringFilter<"WorkOrderTask"> | string
295
- no?: Prisma.IntFilter<"WorkOrderTask"> | number
296
- name?: Prisma.StringFilter<"WorkOrderTask"> | string
297
- buttonName?: Prisma.StringFilter<"WorkOrderTask"> | string
298
- isSpecialFeature?: Prisma.BoolFilter<"WorkOrderTask"> | boolean
299
- statusColor?: Prisma.StringNullableFilter<"WorkOrderTask"> | string | null
300
- featureName?: Prisma.StringNullableFilter<"WorkOrderTask"> | string | null
301
- status?: Prisma.StringFilter<"WorkOrderTask"> | string
302
- features?: Prisma.JsonNullableFilter<"WorkOrderTask">
303
- comments?: Prisma.StringNullableFilter<"WorkOrderTask"> | string | null
304
- scheduledStartAt?: Prisma.DateTimeNullableFilter<"WorkOrderTask"> | Date | string | null
305
- createdAt?: Prisma.DateTimeFilter<"WorkOrderTask"> | Date | string
306
- updatedAt?: Prisma.DateTimeFilter<"WorkOrderTask"> | Date | string
307
- deletedAt?: Prisma.DateTimeNullableFilter<"WorkOrderTask"> | Date | string | null
308
- technicianId?: Prisma.StringNullableFilter<"WorkOrderTask"> | string | null
309
- workOrderId?: Prisma.StringFilter<"WorkOrderTask"> | string
310
- templateComponentId?: Prisma.StringFilter<"WorkOrderTask"> | string
311
- technician?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
312
- workOrder?: Prisma.XOR<Prisma.WorkOrderScalarRelationFilter, Prisma.WorkOrderWhereInput>
313
- templateComponent?: Prisma.XOR<Prisma.TemplateComponentNullableScalarRelationFilter, Prisma.TemplateComponentWhereInput> | null
314
- }
315
-
316
- export type WorkOrderTaskOrderByWithRelationInput = {
317
- id?: Prisma.SortOrder
318
- no?: Prisma.SortOrder
319
- name?: Prisma.SortOrder
320
- buttonName?: Prisma.SortOrder
321
- isSpecialFeature?: Prisma.SortOrder
322
- statusColor?: Prisma.SortOrderInput | Prisma.SortOrder
323
- featureName?: Prisma.SortOrderInput | Prisma.SortOrder
324
- status?: Prisma.SortOrder
325
- features?: Prisma.SortOrderInput | Prisma.SortOrder
326
- comments?: Prisma.SortOrderInput | Prisma.SortOrder
327
- scheduledStartAt?: Prisma.SortOrderInput | Prisma.SortOrder
328
- createdAt?: Prisma.SortOrder
329
- updatedAt?: Prisma.SortOrder
330
- deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
331
- technicianId?: Prisma.SortOrderInput | Prisma.SortOrder
332
- workOrderId?: Prisma.SortOrder
333
- templateComponentId?: Prisma.SortOrder
334
- technician?: Prisma.UserOrderByWithRelationInput
335
- workOrder?: Prisma.WorkOrderOrderByWithRelationInput
336
- templateComponent?: Prisma.TemplateComponentOrderByWithRelationInput
337
- }
338
-
339
- export type WorkOrderTaskWhereUniqueInput = Prisma.AtLeast<{
340
- id?: string
341
- AND?: Prisma.WorkOrderTaskWhereInput | Prisma.WorkOrderTaskWhereInput[]
342
- OR?: Prisma.WorkOrderTaskWhereInput[]
343
- NOT?: Prisma.WorkOrderTaskWhereInput | Prisma.WorkOrderTaskWhereInput[]
344
- no?: Prisma.IntFilter<"WorkOrderTask"> | number
345
- name?: Prisma.StringFilter<"WorkOrderTask"> | string
346
- buttonName?: Prisma.StringFilter<"WorkOrderTask"> | string
347
- isSpecialFeature?: Prisma.BoolFilter<"WorkOrderTask"> | boolean
348
- statusColor?: Prisma.StringNullableFilter<"WorkOrderTask"> | string | null
349
- featureName?: Prisma.StringNullableFilter<"WorkOrderTask"> | string | null
350
- status?: Prisma.StringFilter<"WorkOrderTask"> | string
351
- features?: Prisma.JsonNullableFilter<"WorkOrderTask">
352
- comments?: Prisma.StringNullableFilter<"WorkOrderTask"> | string | null
353
- scheduledStartAt?: Prisma.DateTimeNullableFilter<"WorkOrderTask"> | Date | string | null
354
- createdAt?: Prisma.DateTimeFilter<"WorkOrderTask"> | Date | string
355
- updatedAt?: Prisma.DateTimeFilter<"WorkOrderTask"> | Date | string
356
- deletedAt?: Prisma.DateTimeNullableFilter<"WorkOrderTask"> | Date | string | null
357
- technicianId?: Prisma.StringNullableFilter<"WorkOrderTask"> | string | null
358
- workOrderId?: Prisma.StringFilter<"WorkOrderTask"> | string
359
- templateComponentId?: Prisma.StringFilter<"WorkOrderTask"> | string
360
- technician?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
361
- workOrder?: Prisma.XOR<Prisma.WorkOrderScalarRelationFilter, Prisma.WorkOrderWhereInput>
362
- templateComponent?: Prisma.XOR<Prisma.TemplateComponentNullableScalarRelationFilter, Prisma.TemplateComponentWhereInput> | null
363
- }, "id" | "id">
364
-
365
- export type WorkOrderTaskOrderByWithAggregationInput = {
366
- id?: Prisma.SortOrder
367
- no?: Prisma.SortOrder
368
- name?: Prisma.SortOrder
369
- buttonName?: Prisma.SortOrder
370
- isSpecialFeature?: Prisma.SortOrder
371
- statusColor?: Prisma.SortOrderInput | Prisma.SortOrder
372
- featureName?: Prisma.SortOrderInput | Prisma.SortOrder
373
- status?: Prisma.SortOrder
374
- features?: Prisma.SortOrderInput | Prisma.SortOrder
375
- comments?: Prisma.SortOrderInput | Prisma.SortOrder
376
- scheduledStartAt?: Prisma.SortOrderInput | Prisma.SortOrder
377
- createdAt?: Prisma.SortOrder
378
- updatedAt?: Prisma.SortOrder
379
- deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
380
- technicianId?: Prisma.SortOrderInput | Prisma.SortOrder
381
- workOrderId?: Prisma.SortOrder
382
- templateComponentId?: Prisma.SortOrder
383
- _count?: Prisma.WorkOrderTaskCountOrderByAggregateInput
384
- _avg?: Prisma.WorkOrderTaskAvgOrderByAggregateInput
385
- _max?: Prisma.WorkOrderTaskMaxOrderByAggregateInput
386
- _min?: Prisma.WorkOrderTaskMinOrderByAggregateInput
387
- _sum?: Prisma.WorkOrderTaskSumOrderByAggregateInput
388
- }
389
-
390
- export type WorkOrderTaskScalarWhereWithAggregatesInput = {
391
- AND?: Prisma.WorkOrderTaskScalarWhereWithAggregatesInput | Prisma.WorkOrderTaskScalarWhereWithAggregatesInput[]
392
- OR?: Prisma.WorkOrderTaskScalarWhereWithAggregatesInput[]
393
- NOT?: Prisma.WorkOrderTaskScalarWhereWithAggregatesInput | Prisma.WorkOrderTaskScalarWhereWithAggregatesInput[]
394
- id?: Prisma.StringWithAggregatesFilter<"WorkOrderTask"> | string
395
- no?: Prisma.IntWithAggregatesFilter<"WorkOrderTask"> | number
396
- name?: Prisma.StringWithAggregatesFilter<"WorkOrderTask"> | string
397
- buttonName?: Prisma.StringWithAggregatesFilter<"WorkOrderTask"> | string
398
- isSpecialFeature?: Prisma.BoolWithAggregatesFilter<"WorkOrderTask"> | boolean
399
- statusColor?: Prisma.StringNullableWithAggregatesFilter<"WorkOrderTask"> | string | null
400
- featureName?: Prisma.StringNullableWithAggregatesFilter<"WorkOrderTask"> | string | null
401
- status?: Prisma.StringWithAggregatesFilter<"WorkOrderTask"> | string
402
- features?: Prisma.JsonNullableWithAggregatesFilter<"WorkOrderTask">
403
- comments?: Prisma.StringNullableWithAggregatesFilter<"WorkOrderTask"> | string | null
404
- scheduledStartAt?: Prisma.DateTimeNullableWithAggregatesFilter<"WorkOrderTask"> | Date | string | null
405
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"WorkOrderTask"> | Date | string
406
- updatedAt?: Prisma.DateTimeWithAggregatesFilter<"WorkOrderTask"> | Date | string
407
- deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"WorkOrderTask"> | Date | string | null
408
- technicianId?: Prisma.StringNullableWithAggregatesFilter<"WorkOrderTask"> | string | null
409
- workOrderId?: Prisma.StringWithAggregatesFilter<"WorkOrderTask"> | string
410
- templateComponentId?: Prisma.StringWithAggregatesFilter<"WorkOrderTask"> | string
411
- }
412
-
413
- export type WorkOrderTaskCreateInput = {
414
- id?: string
415
- no?: number
416
- name: string
417
- buttonName: string
418
- isSpecialFeature?: boolean
419
- statusColor?: string | null
420
- featureName?: string | null
421
- status?: string
422
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
423
- comments?: string | null
424
- scheduledStartAt?: Date | string | null
425
- createdAt?: Date | string
426
- updatedAt?: Date | string
427
- deletedAt?: Date | string | null
428
- technician?: Prisma.UserCreateNestedOneWithoutWorkOrderTasksInput
429
- workOrder: Prisma.WorkOrderCreateNestedOneWithoutWorkOrderTasksInput
430
- templateComponent?: Prisma.TemplateComponentCreateNestedOneWithoutWorkOrderTasksInput
431
- }
432
-
433
- export type WorkOrderTaskUncheckedCreateInput = {
434
- id?: string
435
- no?: number
436
- name: string
437
- buttonName: string
438
- isSpecialFeature?: boolean
439
- statusColor?: string | null
440
- featureName?: string | null
441
- status?: string
442
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
443
- comments?: string | null
444
- scheduledStartAt?: Date | string | null
445
- createdAt?: Date | string
446
- updatedAt?: Date | string
447
- deletedAt?: Date | string | null
448
- technicianId?: string | null
449
- workOrderId: string
450
- templateComponentId: string
451
- }
452
-
453
- export type WorkOrderTaskUpdateInput = {
454
- id?: Prisma.StringFieldUpdateOperationsInput | string
455
- no?: Prisma.IntFieldUpdateOperationsInput | number
456
- name?: Prisma.StringFieldUpdateOperationsInput | string
457
- buttonName?: Prisma.StringFieldUpdateOperationsInput | string
458
- isSpecialFeature?: Prisma.BoolFieldUpdateOperationsInput | boolean
459
- statusColor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
460
- featureName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
461
- status?: Prisma.StringFieldUpdateOperationsInput | string
462
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
463
- comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
464
- scheduledStartAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
465
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
466
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
467
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
468
- technician?: Prisma.UserUpdateOneWithoutWorkOrderTasksNestedInput
469
- workOrder?: Prisma.WorkOrderUpdateOneRequiredWithoutWorkOrderTasksNestedInput
470
- templateComponent?: Prisma.TemplateComponentUpdateOneWithoutWorkOrderTasksNestedInput
471
- }
472
-
473
- export type WorkOrderTaskUncheckedUpdateInput = {
474
- id?: Prisma.StringFieldUpdateOperationsInput | string
475
- no?: Prisma.IntFieldUpdateOperationsInput | number
476
- name?: Prisma.StringFieldUpdateOperationsInput | string
477
- buttonName?: Prisma.StringFieldUpdateOperationsInput | string
478
- isSpecialFeature?: Prisma.BoolFieldUpdateOperationsInput | boolean
479
- statusColor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
480
- featureName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
481
- status?: Prisma.StringFieldUpdateOperationsInput | string
482
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
483
- comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
484
- scheduledStartAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
485
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
486
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
487
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
488
- technicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
489
- workOrderId?: Prisma.StringFieldUpdateOperationsInput | string
490
- templateComponentId?: Prisma.StringFieldUpdateOperationsInput | string
491
- }
492
-
493
- export type WorkOrderTaskCreateManyInput = {
494
- id?: string
495
- no?: number
496
- name: string
497
- buttonName: string
498
- isSpecialFeature?: boolean
499
- statusColor?: string | null
500
- featureName?: string | null
501
- status?: string
502
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
503
- comments?: string | null
504
- scheduledStartAt?: Date | string | null
505
- createdAt?: Date | string
506
- updatedAt?: Date | string
507
- deletedAt?: Date | string | null
508
- technicianId?: string | null
509
- workOrderId: string
510
- templateComponentId: string
511
- }
512
-
513
- export type WorkOrderTaskUpdateManyMutationInput = {
514
- id?: Prisma.StringFieldUpdateOperationsInput | string
515
- no?: Prisma.IntFieldUpdateOperationsInput | number
516
- name?: Prisma.StringFieldUpdateOperationsInput | string
517
- buttonName?: Prisma.StringFieldUpdateOperationsInput | string
518
- isSpecialFeature?: Prisma.BoolFieldUpdateOperationsInput | boolean
519
- statusColor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
520
- featureName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
521
- status?: Prisma.StringFieldUpdateOperationsInput | string
522
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
523
- comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
524
- scheduledStartAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
525
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
526
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
527
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
528
- }
529
-
530
- export type WorkOrderTaskUncheckedUpdateManyInput = {
531
- id?: Prisma.StringFieldUpdateOperationsInput | string
532
- no?: Prisma.IntFieldUpdateOperationsInput | number
533
- name?: Prisma.StringFieldUpdateOperationsInput | string
534
- buttonName?: Prisma.StringFieldUpdateOperationsInput | string
535
- isSpecialFeature?: Prisma.BoolFieldUpdateOperationsInput | boolean
536
- statusColor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
537
- featureName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
538
- status?: Prisma.StringFieldUpdateOperationsInput | string
539
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
540
- comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
541
- scheduledStartAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
542
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
543
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
544
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
545
- technicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
546
- workOrderId?: Prisma.StringFieldUpdateOperationsInput | string
547
- templateComponentId?: Prisma.StringFieldUpdateOperationsInput | string
548
- }
549
-
550
- export type WorkOrderTaskListRelationFilter = {
551
- every?: Prisma.WorkOrderTaskWhereInput
552
- some?: Prisma.WorkOrderTaskWhereInput
553
- none?: Prisma.WorkOrderTaskWhereInput
554
- }
555
-
556
- export type WorkOrderTaskOrderByRelationAggregateInput = {
557
- _count?: Prisma.SortOrder
558
- }
559
-
560
- export type WorkOrderTaskCountOrderByAggregateInput = {
561
- id?: Prisma.SortOrder
562
- no?: Prisma.SortOrder
563
- name?: Prisma.SortOrder
564
- buttonName?: Prisma.SortOrder
565
- isSpecialFeature?: Prisma.SortOrder
566
- statusColor?: Prisma.SortOrder
567
- featureName?: Prisma.SortOrder
568
- status?: Prisma.SortOrder
569
- features?: Prisma.SortOrder
570
- comments?: Prisma.SortOrder
571
- scheduledStartAt?: Prisma.SortOrder
572
- createdAt?: Prisma.SortOrder
573
- updatedAt?: Prisma.SortOrder
574
- deletedAt?: Prisma.SortOrder
575
- technicianId?: Prisma.SortOrder
576
- workOrderId?: Prisma.SortOrder
577
- templateComponentId?: Prisma.SortOrder
578
- }
579
-
580
- export type WorkOrderTaskAvgOrderByAggregateInput = {
581
- no?: Prisma.SortOrder
582
- }
583
-
584
- export type WorkOrderTaskMaxOrderByAggregateInput = {
585
- id?: Prisma.SortOrder
586
- no?: Prisma.SortOrder
587
- name?: Prisma.SortOrder
588
- buttonName?: Prisma.SortOrder
589
- isSpecialFeature?: Prisma.SortOrder
590
- statusColor?: Prisma.SortOrder
591
- featureName?: Prisma.SortOrder
592
- status?: Prisma.SortOrder
593
- comments?: Prisma.SortOrder
594
- scheduledStartAt?: Prisma.SortOrder
595
- createdAt?: Prisma.SortOrder
596
- updatedAt?: Prisma.SortOrder
597
- deletedAt?: Prisma.SortOrder
598
- technicianId?: Prisma.SortOrder
599
- workOrderId?: Prisma.SortOrder
600
- templateComponentId?: Prisma.SortOrder
601
- }
602
-
603
- export type WorkOrderTaskMinOrderByAggregateInput = {
604
- id?: Prisma.SortOrder
605
- no?: Prisma.SortOrder
606
- name?: Prisma.SortOrder
607
- buttonName?: Prisma.SortOrder
608
- isSpecialFeature?: Prisma.SortOrder
609
- statusColor?: Prisma.SortOrder
610
- featureName?: Prisma.SortOrder
611
- status?: Prisma.SortOrder
612
- comments?: Prisma.SortOrder
613
- scheduledStartAt?: Prisma.SortOrder
614
- createdAt?: Prisma.SortOrder
615
- updatedAt?: Prisma.SortOrder
616
- deletedAt?: Prisma.SortOrder
617
- technicianId?: Prisma.SortOrder
618
- workOrderId?: Prisma.SortOrder
619
- templateComponentId?: Prisma.SortOrder
620
- }
621
-
622
- export type WorkOrderTaskSumOrderByAggregateInput = {
623
- no?: Prisma.SortOrder
624
- }
625
-
626
- export type WorkOrderTaskCreateNestedManyWithoutTemplateComponentInput = {
627
- create?: Prisma.XOR<Prisma.WorkOrderTaskCreateWithoutTemplateComponentInput, Prisma.WorkOrderTaskUncheckedCreateWithoutTemplateComponentInput> | Prisma.WorkOrderTaskCreateWithoutTemplateComponentInput[] | Prisma.WorkOrderTaskUncheckedCreateWithoutTemplateComponentInput[]
628
- connectOrCreate?: Prisma.WorkOrderTaskCreateOrConnectWithoutTemplateComponentInput | Prisma.WorkOrderTaskCreateOrConnectWithoutTemplateComponentInput[]
629
- createMany?: Prisma.WorkOrderTaskCreateManyTemplateComponentInputEnvelope
630
- connect?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
631
- }
632
-
633
- export type WorkOrderTaskUncheckedCreateNestedManyWithoutTemplateComponentInput = {
634
- create?: Prisma.XOR<Prisma.WorkOrderTaskCreateWithoutTemplateComponentInput, Prisma.WorkOrderTaskUncheckedCreateWithoutTemplateComponentInput> | Prisma.WorkOrderTaskCreateWithoutTemplateComponentInput[] | Prisma.WorkOrderTaskUncheckedCreateWithoutTemplateComponentInput[]
635
- connectOrCreate?: Prisma.WorkOrderTaskCreateOrConnectWithoutTemplateComponentInput | Prisma.WorkOrderTaskCreateOrConnectWithoutTemplateComponentInput[]
636
- createMany?: Prisma.WorkOrderTaskCreateManyTemplateComponentInputEnvelope
637
- connect?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
638
- }
639
-
640
- export type WorkOrderTaskUpdateManyWithoutTemplateComponentNestedInput = {
641
- create?: Prisma.XOR<Prisma.WorkOrderTaskCreateWithoutTemplateComponentInput, Prisma.WorkOrderTaskUncheckedCreateWithoutTemplateComponentInput> | Prisma.WorkOrderTaskCreateWithoutTemplateComponentInput[] | Prisma.WorkOrderTaskUncheckedCreateWithoutTemplateComponentInput[]
642
- connectOrCreate?: Prisma.WorkOrderTaskCreateOrConnectWithoutTemplateComponentInput | Prisma.WorkOrderTaskCreateOrConnectWithoutTemplateComponentInput[]
643
- upsert?: Prisma.WorkOrderTaskUpsertWithWhereUniqueWithoutTemplateComponentInput | Prisma.WorkOrderTaskUpsertWithWhereUniqueWithoutTemplateComponentInput[]
644
- createMany?: Prisma.WorkOrderTaskCreateManyTemplateComponentInputEnvelope
645
- set?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
646
- disconnect?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
647
- delete?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
648
- connect?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
649
- update?: Prisma.WorkOrderTaskUpdateWithWhereUniqueWithoutTemplateComponentInput | Prisma.WorkOrderTaskUpdateWithWhereUniqueWithoutTemplateComponentInput[]
650
- updateMany?: Prisma.WorkOrderTaskUpdateManyWithWhereWithoutTemplateComponentInput | Prisma.WorkOrderTaskUpdateManyWithWhereWithoutTemplateComponentInput[]
651
- deleteMany?: Prisma.WorkOrderTaskScalarWhereInput | Prisma.WorkOrderTaskScalarWhereInput[]
652
- }
653
-
654
- export type WorkOrderTaskUncheckedUpdateManyWithoutTemplateComponentNestedInput = {
655
- create?: Prisma.XOR<Prisma.WorkOrderTaskCreateWithoutTemplateComponentInput, Prisma.WorkOrderTaskUncheckedCreateWithoutTemplateComponentInput> | Prisma.WorkOrderTaskCreateWithoutTemplateComponentInput[] | Prisma.WorkOrderTaskUncheckedCreateWithoutTemplateComponentInput[]
656
- connectOrCreate?: Prisma.WorkOrderTaskCreateOrConnectWithoutTemplateComponentInput | Prisma.WorkOrderTaskCreateOrConnectWithoutTemplateComponentInput[]
657
- upsert?: Prisma.WorkOrderTaskUpsertWithWhereUniqueWithoutTemplateComponentInput | Prisma.WorkOrderTaskUpsertWithWhereUniqueWithoutTemplateComponentInput[]
658
- createMany?: Prisma.WorkOrderTaskCreateManyTemplateComponentInputEnvelope
659
- set?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
660
- disconnect?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
661
- delete?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
662
- connect?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
663
- update?: Prisma.WorkOrderTaskUpdateWithWhereUniqueWithoutTemplateComponentInput | Prisma.WorkOrderTaskUpdateWithWhereUniqueWithoutTemplateComponentInput[]
664
- updateMany?: Prisma.WorkOrderTaskUpdateManyWithWhereWithoutTemplateComponentInput | Prisma.WorkOrderTaskUpdateManyWithWhereWithoutTemplateComponentInput[]
665
- deleteMany?: Prisma.WorkOrderTaskScalarWhereInput | Prisma.WorkOrderTaskScalarWhereInput[]
666
- }
667
-
668
- export type WorkOrderTaskCreateNestedManyWithoutTechnicianInput = {
669
- create?: Prisma.XOR<Prisma.WorkOrderTaskCreateWithoutTechnicianInput, Prisma.WorkOrderTaskUncheckedCreateWithoutTechnicianInput> | Prisma.WorkOrderTaskCreateWithoutTechnicianInput[] | Prisma.WorkOrderTaskUncheckedCreateWithoutTechnicianInput[]
670
- connectOrCreate?: Prisma.WorkOrderTaskCreateOrConnectWithoutTechnicianInput | Prisma.WorkOrderTaskCreateOrConnectWithoutTechnicianInput[]
671
- createMany?: Prisma.WorkOrderTaskCreateManyTechnicianInputEnvelope
672
- connect?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
673
- }
674
-
675
- export type WorkOrderTaskUncheckedCreateNestedManyWithoutTechnicianInput = {
676
- create?: Prisma.XOR<Prisma.WorkOrderTaskCreateWithoutTechnicianInput, Prisma.WorkOrderTaskUncheckedCreateWithoutTechnicianInput> | Prisma.WorkOrderTaskCreateWithoutTechnicianInput[] | Prisma.WorkOrderTaskUncheckedCreateWithoutTechnicianInput[]
677
- connectOrCreate?: Prisma.WorkOrderTaskCreateOrConnectWithoutTechnicianInput | Prisma.WorkOrderTaskCreateOrConnectWithoutTechnicianInput[]
678
- createMany?: Prisma.WorkOrderTaskCreateManyTechnicianInputEnvelope
679
- connect?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
680
- }
681
-
682
- export type WorkOrderTaskUpdateManyWithoutTechnicianNestedInput = {
683
- create?: Prisma.XOR<Prisma.WorkOrderTaskCreateWithoutTechnicianInput, Prisma.WorkOrderTaskUncheckedCreateWithoutTechnicianInput> | Prisma.WorkOrderTaskCreateWithoutTechnicianInput[] | Prisma.WorkOrderTaskUncheckedCreateWithoutTechnicianInput[]
684
- connectOrCreate?: Prisma.WorkOrderTaskCreateOrConnectWithoutTechnicianInput | Prisma.WorkOrderTaskCreateOrConnectWithoutTechnicianInput[]
685
- upsert?: Prisma.WorkOrderTaskUpsertWithWhereUniqueWithoutTechnicianInput | Prisma.WorkOrderTaskUpsertWithWhereUniqueWithoutTechnicianInput[]
686
- createMany?: Prisma.WorkOrderTaskCreateManyTechnicianInputEnvelope
687
- set?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
688
- disconnect?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
689
- delete?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
690
- connect?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
691
- update?: Prisma.WorkOrderTaskUpdateWithWhereUniqueWithoutTechnicianInput | Prisma.WorkOrderTaskUpdateWithWhereUniqueWithoutTechnicianInput[]
692
- updateMany?: Prisma.WorkOrderTaskUpdateManyWithWhereWithoutTechnicianInput | Prisma.WorkOrderTaskUpdateManyWithWhereWithoutTechnicianInput[]
693
- deleteMany?: Prisma.WorkOrderTaskScalarWhereInput | Prisma.WorkOrderTaskScalarWhereInput[]
694
- }
695
-
696
- export type WorkOrderTaskUncheckedUpdateManyWithoutTechnicianNestedInput = {
697
- create?: Prisma.XOR<Prisma.WorkOrderTaskCreateWithoutTechnicianInput, Prisma.WorkOrderTaskUncheckedCreateWithoutTechnicianInput> | Prisma.WorkOrderTaskCreateWithoutTechnicianInput[] | Prisma.WorkOrderTaskUncheckedCreateWithoutTechnicianInput[]
698
- connectOrCreate?: Prisma.WorkOrderTaskCreateOrConnectWithoutTechnicianInput | Prisma.WorkOrderTaskCreateOrConnectWithoutTechnicianInput[]
699
- upsert?: Prisma.WorkOrderTaskUpsertWithWhereUniqueWithoutTechnicianInput | Prisma.WorkOrderTaskUpsertWithWhereUniqueWithoutTechnicianInput[]
700
- createMany?: Prisma.WorkOrderTaskCreateManyTechnicianInputEnvelope
701
- set?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
702
- disconnect?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
703
- delete?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
704
- connect?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
705
- update?: Prisma.WorkOrderTaskUpdateWithWhereUniqueWithoutTechnicianInput | Prisma.WorkOrderTaskUpdateWithWhereUniqueWithoutTechnicianInput[]
706
- updateMany?: Prisma.WorkOrderTaskUpdateManyWithWhereWithoutTechnicianInput | Prisma.WorkOrderTaskUpdateManyWithWhereWithoutTechnicianInput[]
707
- deleteMany?: Prisma.WorkOrderTaskScalarWhereInput | Prisma.WorkOrderTaskScalarWhereInput[]
708
- }
709
-
710
- export type WorkOrderTaskCreateNestedManyWithoutWorkOrderInput = {
711
- create?: Prisma.XOR<Prisma.WorkOrderTaskCreateWithoutWorkOrderInput, Prisma.WorkOrderTaskUncheckedCreateWithoutWorkOrderInput> | Prisma.WorkOrderTaskCreateWithoutWorkOrderInput[] | Prisma.WorkOrderTaskUncheckedCreateWithoutWorkOrderInput[]
712
- connectOrCreate?: Prisma.WorkOrderTaskCreateOrConnectWithoutWorkOrderInput | Prisma.WorkOrderTaskCreateOrConnectWithoutWorkOrderInput[]
713
- createMany?: Prisma.WorkOrderTaskCreateManyWorkOrderInputEnvelope
714
- connect?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
715
- }
716
-
717
- export type WorkOrderTaskUncheckedCreateNestedManyWithoutWorkOrderInput = {
718
- create?: Prisma.XOR<Prisma.WorkOrderTaskCreateWithoutWorkOrderInput, Prisma.WorkOrderTaskUncheckedCreateWithoutWorkOrderInput> | Prisma.WorkOrderTaskCreateWithoutWorkOrderInput[] | Prisma.WorkOrderTaskUncheckedCreateWithoutWorkOrderInput[]
719
- connectOrCreate?: Prisma.WorkOrderTaskCreateOrConnectWithoutWorkOrderInput | Prisma.WorkOrderTaskCreateOrConnectWithoutWorkOrderInput[]
720
- createMany?: Prisma.WorkOrderTaskCreateManyWorkOrderInputEnvelope
721
- connect?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
722
- }
723
-
724
- export type WorkOrderTaskUpdateManyWithoutWorkOrderNestedInput = {
725
- create?: Prisma.XOR<Prisma.WorkOrderTaskCreateWithoutWorkOrderInput, Prisma.WorkOrderTaskUncheckedCreateWithoutWorkOrderInput> | Prisma.WorkOrderTaskCreateWithoutWorkOrderInput[] | Prisma.WorkOrderTaskUncheckedCreateWithoutWorkOrderInput[]
726
- connectOrCreate?: Prisma.WorkOrderTaskCreateOrConnectWithoutWorkOrderInput | Prisma.WorkOrderTaskCreateOrConnectWithoutWorkOrderInput[]
727
- upsert?: Prisma.WorkOrderTaskUpsertWithWhereUniqueWithoutWorkOrderInput | Prisma.WorkOrderTaskUpsertWithWhereUniqueWithoutWorkOrderInput[]
728
- createMany?: Prisma.WorkOrderTaskCreateManyWorkOrderInputEnvelope
729
- set?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
730
- disconnect?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
731
- delete?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
732
- connect?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
733
- update?: Prisma.WorkOrderTaskUpdateWithWhereUniqueWithoutWorkOrderInput | Prisma.WorkOrderTaskUpdateWithWhereUniqueWithoutWorkOrderInput[]
734
- updateMany?: Prisma.WorkOrderTaskUpdateManyWithWhereWithoutWorkOrderInput | Prisma.WorkOrderTaskUpdateManyWithWhereWithoutWorkOrderInput[]
735
- deleteMany?: Prisma.WorkOrderTaskScalarWhereInput | Prisma.WorkOrderTaskScalarWhereInput[]
736
- }
737
-
738
- export type WorkOrderTaskUncheckedUpdateManyWithoutWorkOrderNestedInput = {
739
- create?: Prisma.XOR<Prisma.WorkOrderTaskCreateWithoutWorkOrderInput, Prisma.WorkOrderTaskUncheckedCreateWithoutWorkOrderInput> | Prisma.WorkOrderTaskCreateWithoutWorkOrderInput[] | Prisma.WorkOrderTaskUncheckedCreateWithoutWorkOrderInput[]
740
- connectOrCreate?: Prisma.WorkOrderTaskCreateOrConnectWithoutWorkOrderInput | Prisma.WorkOrderTaskCreateOrConnectWithoutWorkOrderInput[]
741
- upsert?: Prisma.WorkOrderTaskUpsertWithWhereUniqueWithoutWorkOrderInput | Prisma.WorkOrderTaskUpsertWithWhereUniqueWithoutWorkOrderInput[]
742
- createMany?: Prisma.WorkOrderTaskCreateManyWorkOrderInputEnvelope
743
- set?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
744
- disconnect?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
745
- delete?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
746
- connect?: Prisma.WorkOrderTaskWhereUniqueInput | Prisma.WorkOrderTaskWhereUniqueInput[]
747
- update?: Prisma.WorkOrderTaskUpdateWithWhereUniqueWithoutWorkOrderInput | Prisma.WorkOrderTaskUpdateWithWhereUniqueWithoutWorkOrderInput[]
748
- updateMany?: Prisma.WorkOrderTaskUpdateManyWithWhereWithoutWorkOrderInput | Prisma.WorkOrderTaskUpdateManyWithWhereWithoutWorkOrderInput[]
749
- deleteMany?: Prisma.WorkOrderTaskScalarWhereInput | Prisma.WorkOrderTaskScalarWhereInput[]
750
- }
751
-
752
- export type WorkOrderTaskCreateWithoutTemplateComponentInput = {
753
- id?: string
754
- no?: number
755
- name: string
756
- buttonName: string
757
- isSpecialFeature?: boolean
758
- statusColor?: string | null
759
- featureName?: string | null
760
- status?: string
761
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
762
- comments?: string | null
763
- scheduledStartAt?: Date | string | null
764
- createdAt?: Date | string
765
- updatedAt?: Date | string
766
- deletedAt?: Date | string | null
767
- technician?: Prisma.UserCreateNestedOneWithoutWorkOrderTasksInput
768
- workOrder: Prisma.WorkOrderCreateNestedOneWithoutWorkOrderTasksInput
769
- }
770
-
771
- export type WorkOrderTaskUncheckedCreateWithoutTemplateComponentInput = {
772
- id?: string
773
- no?: number
774
- name: string
775
- buttonName: string
776
- isSpecialFeature?: boolean
777
- statusColor?: string | null
778
- featureName?: string | null
779
- status?: string
780
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
781
- comments?: string | null
782
- scheduledStartAt?: Date | string | null
783
- createdAt?: Date | string
784
- updatedAt?: Date | string
785
- deletedAt?: Date | string | null
786
- technicianId?: string | null
787
- workOrderId: string
788
- }
789
-
790
- export type WorkOrderTaskCreateOrConnectWithoutTemplateComponentInput = {
791
- where: Prisma.WorkOrderTaskWhereUniqueInput
792
- create: Prisma.XOR<Prisma.WorkOrderTaskCreateWithoutTemplateComponentInput, Prisma.WorkOrderTaskUncheckedCreateWithoutTemplateComponentInput>
793
- }
794
-
795
- export type WorkOrderTaskCreateManyTemplateComponentInputEnvelope = {
796
- data: Prisma.WorkOrderTaskCreateManyTemplateComponentInput | Prisma.WorkOrderTaskCreateManyTemplateComponentInput[]
797
- skipDuplicates?: boolean
798
- }
799
-
800
- export type WorkOrderTaskUpsertWithWhereUniqueWithoutTemplateComponentInput = {
801
- where: Prisma.WorkOrderTaskWhereUniqueInput
802
- update: Prisma.XOR<Prisma.WorkOrderTaskUpdateWithoutTemplateComponentInput, Prisma.WorkOrderTaskUncheckedUpdateWithoutTemplateComponentInput>
803
- create: Prisma.XOR<Prisma.WorkOrderTaskCreateWithoutTemplateComponentInput, Prisma.WorkOrderTaskUncheckedCreateWithoutTemplateComponentInput>
804
- }
805
-
806
- export type WorkOrderTaskUpdateWithWhereUniqueWithoutTemplateComponentInput = {
807
- where: Prisma.WorkOrderTaskWhereUniqueInput
808
- data: Prisma.XOR<Prisma.WorkOrderTaskUpdateWithoutTemplateComponentInput, Prisma.WorkOrderTaskUncheckedUpdateWithoutTemplateComponentInput>
809
- }
810
-
811
- export type WorkOrderTaskUpdateManyWithWhereWithoutTemplateComponentInput = {
812
- where: Prisma.WorkOrderTaskScalarWhereInput
813
- data: Prisma.XOR<Prisma.WorkOrderTaskUpdateManyMutationInput, Prisma.WorkOrderTaskUncheckedUpdateManyWithoutTemplateComponentInput>
814
- }
815
-
816
- export type WorkOrderTaskScalarWhereInput = {
817
- AND?: Prisma.WorkOrderTaskScalarWhereInput | Prisma.WorkOrderTaskScalarWhereInput[]
818
- OR?: Prisma.WorkOrderTaskScalarWhereInput[]
819
- NOT?: Prisma.WorkOrderTaskScalarWhereInput | Prisma.WorkOrderTaskScalarWhereInput[]
820
- id?: Prisma.StringFilter<"WorkOrderTask"> | string
821
- no?: Prisma.IntFilter<"WorkOrderTask"> | number
822
- name?: Prisma.StringFilter<"WorkOrderTask"> | string
823
- buttonName?: Prisma.StringFilter<"WorkOrderTask"> | string
824
- isSpecialFeature?: Prisma.BoolFilter<"WorkOrderTask"> | boolean
825
- statusColor?: Prisma.StringNullableFilter<"WorkOrderTask"> | string | null
826
- featureName?: Prisma.StringNullableFilter<"WorkOrderTask"> | string | null
827
- status?: Prisma.StringFilter<"WorkOrderTask"> | string
828
- features?: Prisma.JsonNullableFilter<"WorkOrderTask">
829
- comments?: Prisma.StringNullableFilter<"WorkOrderTask"> | string | null
830
- scheduledStartAt?: Prisma.DateTimeNullableFilter<"WorkOrderTask"> | Date | string | null
831
- createdAt?: Prisma.DateTimeFilter<"WorkOrderTask"> | Date | string
832
- updatedAt?: Prisma.DateTimeFilter<"WorkOrderTask"> | Date | string
833
- deletedAt?: Prisma.DateTimeNullableFilter<"WorkOrderTask"> | Date | string | null
834
- technicianId?: Prisma.StringNullableFilter<"WorkOrderTask"> | string | null
835
- workOrderId?: Prisma.StringFilter<"WorkOrderTask"> | string
836
- templateComponentId?: Prisma.StringFilter<"WorkOrderTask"> | string
837
- }
838
-
839
- export type WorkOrderTaskCreateWithoutTechnicianInput = {
840
- id?: string
841
- no?: number
842
- name: string
843
- buttonName: string
844
- isSpecialFeature?: boolean
845
- statusColor?: string | null
846
- featureName?: string | null
847
- status?: string
848
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
849
- comments?: string | null
850
- scheduledStartAt?: Date | string | null
851
- createdAt?: Date | string
852
- updatedAt?: Date | string
853
- deletedAt?: Date | string | null
854
- workOrder: Prisma.WorkOrderCreateNestedOneWithoutWorkOrderTasksInput
855
- templateComponent?: Prisma.TemplateComponentCreateNestedOneWithoutWorkOrderTasksInput
856
- }
857
-
858
- export type WorkOrderTaskUncheckedCreateWithoutTechnicianInput = {
859
- id?: string
860
- no?: number
861
- name: string
862
- buttonName: string
863
- isSpecialFeature?: boolean
864
- statusColor?: string | null
865
- featureName?: string | null
866
- status?: string
867
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
868
- comments?: string | null
869
- scheduledStartAt?: Date | string | null
870
- createdAt?: Date | string
871
- updatedAt?: Date | string
872
- deletedAt?: Date | string | null
873
- workOrderId: string
874
- templateComponentId: string
875
- }
876
-
877
- export type WorkOrderTaskCreateOrConnectWithoutTechnicianInput = {
878
- where: Prisma.WorkOrderTaskWhereUniqueInput
879
- create: Prisma.XOR<Prisma.WorkOrderTaskCreateWithoutTechnicianInput, Prisma.WorkOrderTaskUncheckedCreateWithoutTechnicianInput>
880
- }
881
-
882
- export type WorkOrderTaskCreateManyTechnicianInputEnvelope = {
883
- data: Prisma.WorkOrderTaskCreateManyTechnicianInput | Prisma.WorkOrderTaskCreateManyTechnicianInput[]
884
- skipDuplicates?: boolean
885
- }
886
-
887
- export type WorkOrderTaskUpsertWithWhereUniqueWithoutTechnicianInput = {
888
- where: Prisma.WorkOrderTaskWhereUniqueInput
889
- update: Prisma.XOR<Prisma.WorkOrderTaskUpdateWithoutTechnicianInput, Prisma.WorkOrderTaskUncheckedUpdateWithoutTechnicianInput>
890
- create: Prisma.XOR<Prisma.WorkOrderTaskCreateWithoutTechnicianInput, Prisma.WorkOrderTaskUncheckedCreateWithoutTechnicianInput>
891
- }
892
-
893
- export type WorkOrderTaskUpdateWithWhereUniqueWithoutTechnicianInput = {
894
- where: Prisma.WorkOrderTaskWhereUniqueInput
895
- data: Prisma.XOR<Prisma.WorkOrderTaskUpdateWithoutTechnicianInput, Prisma.WorkOrderTaskUncheckedUpdateWithoutTechnicianInput>
896
- }
897
-
898
- export type WorkOrderTaskUpdateManyWithWhereWithoutTechnicianInput = {
899
- where: Prisma.WorkOrderTaskScalarWhereInput
900
- data: Prisma.XOR<Prisma.WorkOrderTaskUpdateManyMutationInput, Prisma.WorkOrderTaskUncheckedUpdateManyWithoutTechnicianInput>
901
- }
902
-
903
- export type WorkOrderTaskCreateWithoutWorkOrderInput = {
904
- id?: string
905
- no?: number
906
- name: string
907
- buttonName: string
908
- isSpecialFeature?: boolean
909
- statusColor?: string | null
910
- featureName?: string | null
911
- status?: string
912
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
913
- comments?: string | null
914
- scheduledStartAt?: Date | string | null
915
- createdAt?: Date | string
916
- updatedAt?: Date | string
917
- deletedAt?: Date | string | null
918
- technician?: Prisma.UserCreateNestedOneWithoutWorkOrderTasksInput
919
- templateComponent?: Prisma.TemplateComponentCreateNestedOneWithoutWorkOrderTasksInput
920
- }
921
-
922
- export type WorkOrderTaskUncheckedCreateWithoutWorkOrderInput = {
923
- id?: string
924
- no?: number
925
- name: string
926
- buttonName: string
927
- isSpecialFeature?: boolean
928
- statusColor?: string | null
929
- featureName?: string | null
930
- status?: string
931
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
932
- comments?: string | null
933
- scheduledStartAt?: Date | string | null
934
- createdAt?: Date | string
935
- updatedAt?: Date | string
936
- deletedAt?: Date | string | null
937
- technicianId?: string | null
938
- templateComponentId: string
939
- }
940
-
941
- export type WorkOrderTaskCreateOrConnectWithoutWorkOrderInput = {
942
- where: Prisma.WorkOrderTaskWhereUniqueInput
943
- create: Prisma.XOR<Prisma.WorkOrderTaskCreateWithoutWorkOrderInput, Prisma.WorkOrderTaskUncheckedCreateWithoutWorkOrderInput>
944
- }
945
-
946
- export type WorkOrderTaskCreateManyWorkOrderInputEnvelope = {
947
- data: Prisma.WorkOrderTaskCreateManyWorkOrderInput | Prisma.WorkOrderTaskCreateManyWorkOrderInput[]
948
- skipDuplicates?: boolean
949
- }
950
-
951
- export type WorkOrderTaskUpsertWithWhereUniqueWithoutWorkOrderInput = {
952
- where: Prisma.WorkOrderTaskWhereUniqueInput
953
- update: Prisma.XOR<Prisma.WorkOrderTaskUpdateWithoutWorkOrderInput, Prisma.WorkOrderTaskUncheckedUpdateWithoutWorkOrderInput>
954
- create: Prisma.XOR<Prisma.WorkOrderTaskCreateWithoutWorkOrderInput, Prisma.WorkOrderTaskUncheckedCreateWithoutWorkOrderInput>
955
- }
956
-
957
- export type WorkOrderTaskUpdateWithWhereUniqueWithoutWorkOrderInput = {
958
- where: Prisma.WorkOrderTaskWhereUniqueInput
959
- data: Prisma.XOR<Prisma.WorkOrderTaskUpdateWithoutWorkOrderInput, Prisma.WorkOrderTaskUncheckedUpdateWithoutWorkOrderInput>
960
- }
961
-
962
- export type WorkOrderTaskUpdateManyWithWhereWithoutWorkOrderInput = {
963
- where: Prisma.WorkOrderTaskScalarWhereInput
964
- data: Prisma.XOR<Prisma.WorkOrderTaskUpdateManyMutationInput, Prisma.WorkOrderTaskUncheckedUpdateManyWithoutWorkOrderInput>
965
- }
966
-
967
- export type WorkOrderTaskCreateManyTemplateComponentInput = {
968
- id?: string
969
- no?: number
970
- name: string
971
- buttonName: string
972
- isSpecialFeature?: boolean
973
- statusColor?: string | null
974
- featureName?: string | null
975
- status?: string
976
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
977
- comments?: string | null
978
- scheduledStartAt?: Date | string | null
979
- createdAt?: Date | string
980
- updatedAt?: Date | string
981
- deletedAt?: Date | string | null
982
- technicianId?: string | null
983
- workOrderId: string
984
- }
985
-
986
- export type WorkOrderTaskUpdateWithoutTemplateComponentInput = {
987
- id?: Prisma.StringFieldUpdateOperationsInput | string
988
- no?: Prisma.IntFieldUpdateOperationsInput | number
989
- name?: Prisma.StringFieldUpdateOperationsInput | string
990
- buttonName?: Prisma.StringFieldUpdateOperationsInput | string
991
- isSpecialFeature?: Prisma.BoolFieldUpdateOperationsInput | boolean
992
- statusColor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
993
- featureName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
994
- status?: Prisma.StringFieldUpdateOperationsInput | string
995
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
996
- comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
997
- scheduledStartAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
998
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
999
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1000
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1001
- technician?: Prisma.UserUpdateOneWithoutWorkOrderTasksNestedInput
1002
- workOrder?: Prisma.WorkOrderUpdateOneRequiredWithoutWorkOrderTasksNestedInput
1003
- }
1004
-
1005
- export type WorkOrderTaskUncheckedUpdateWithoutTemplateComponentInput = {
1006
- id?: Prisma.StringFieldUpdateOperationsInput | string
1007
- no?: Prisma.IntFieldUpdateOperationsInput | number
1008
- name?: Prisma.StringFieldUpdateOperationsInput | string
1009
- buttonName?: Prisma.StringFieldUpdateOperationsInput | string
1010
- isSpecialFeature?: Prisma.BoolFieldUpdateOperationsInput | boolean
1011
- statusColor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1012
- featureName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1013
- status?: Prisma.StringFieldUpdateOperationsInput | string
1014
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1015
- comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1016
- scheduledStartAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1017
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1018
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1019
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1020
- technicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1021
- workOrderId?: Prisma.StringFieldUpdateOperationsInput | string
1022
- }
1023
-
1024
- export type WorkOrderTaskUncheckedUpdateManyWithoutTemplateComponentInput = {
1025
- id?: Prisma.StringFieldUpdateOperationsInput | string
1026
- no?: Prisma.IntFieldUpdateOperationsInput | number
1027
- name?: Prisma.StringFieldUpdateOperationsInput | string
1028
- buttonName?: Prisma.StringFieldUpdateOperationsInput | string
1029
- isSpecialFeature?: Prisma.BoolFieldUpdateOperationsInput | boolean
1030
- statusColor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1031
- featureName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1032
- status?: Prisma.StringFieldUpdateOperationsInput | string
1033
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1034
- comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1035
- scheduledStartAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1036
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1037
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1038
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1039
- technicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1040
- workOrderId?: Prisma.StringFieldUpdateOperationsInput | string
1041
- }
1042
-
1043
- export type WorkOrderTaskCreateManyTechnicianInput = {
1044
- id?: string
1045
- no?: number
1046
- name: string
1047
- buttonName: string
1048
- isSpecialFeature?: boolean
1049
- statusColor?: string | null
1050
- featureName?: string | null
1051
- status?: string
1052
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1053
- comments?: string | null
1054
- scheduledStartAt?: Date | string | null
1055
- createdAt?: Date | string
1056
- updatedAt?: Date | string
1057
- deletedAt?: Date | string | null
1058
- workOrderId: string
1059
- templateComponentId: string
1060
- }
1061
-
1062
- export type WorkOrderTaskUpdateWithoutTechnicianInput = {
1063
- id?: Prisma.StringFieldUpdateOperationsInput | string
1064
- no?: Prisma.IntFieldUpdateOperationsInput | number
1065
- name?: Prisma.StringFieldUpdateOperationsInput | string
1066
- buttonName?: Prisma.StringFieldUpdateOperationsInput | string
1067
- isSpecialFeature?: Prisma.BoolFieldUpdateOperationsInput | boolean
1068
- statusColor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1069
- featureName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1070
- status?: Prisma.StringFieldUpdateOperationsInput | string
1071
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1072
- comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1073
- scheduledStartAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1074
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1075
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1076
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1077
- workOrder?: Prisma.WorkOrderUpdateOneRequiredWithoutWorkOrderTasksNestedInput
1078
- templateComponent?: Prisma.TemplateComponentUpdateOneWithoutWorkOrderTasksNestedInput
1079
- }
1080
-
1081
- export type WorkOrderTaskUncheckedUpdateWithoutTechnicianInput = {
1082
- id?: Prisma.StringFieldUpdateOperationsInput | string
1083
- no?: Prisma.IntFieldUpdateOperationsInput | number
1084
- name?: Prisma.StringFieldUpdateOperationsInput | string
1085
- buttonName?: Prisma.StringFieldUpdateOperationsInput | string
1086
- isSpecialFeature?: Prisma.BoolFieldUpdateOperationsInput | boolean
1087
- statusColor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1088
- featureName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1089
- status?: Prisma.StringFieldUpdateOperationsInput | string
1090
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1091
- comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1092
- scheduledStartAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1093
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1094
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1095
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1096
- workOrderId?: Prisma.StringFieldUpdateOperationsInput | string
1097
- templateComponentId?: Prisma.StringFieldUpdateOperationsInput | string
1098
- }
1099
-
1100
- export type WorkOrderTaskUncheckedUpdateManyWithoutTechnicianInput = {
1101
- id?: Prisma.StringFieldUpdateOperationsInput | string
1102
- no?: Prisma.IntFieldUpdateOperationsInput | number
1103
- name?: Prisma.StringFieldUpdateOperationsInput | string
1104
- buttonName?: Prisma.StringFieldUpdateOperationsInput | string
1105
- isSpecialFeature?: Prisma.BoolFieldUpdateOperationsInput | boolean
1106
- statusColor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1107
- featureName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1108
- status?: Prisma.StringFieldUpdateOperationsInput | string
1109
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1110
- comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1111
- scheduledStartAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1112
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1113
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1114
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1115
- workOrderId?: Prisma.StringFieldUpdateOperationsInput | string
1116
- templateComponentId?: Prisma.StringFieldUpdateOperationsInput | string
1117
- }
1118
-
1119
- export type WorkOrderTaskCreateManyWorkOrderInput = {
1120
- id?: string
1121
- no?: number
1122
- name: string
1123
- buttonName: string
1124
- isSpecialFeature?: boolean
1125
- statusColor?: string | null
1126
- featureName?: string | null
1127
- status?: string
1128
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1129
- comments?: string | null
1130
- scheduledStartAt?: Date | string | null
1131
- createdAt?: Date | string
1132
- updatedAt?: Date | string
1133
- deletedAt?: Date | string | null
1134
- technicianId?: string | null
1135
- templateComponentId: string
1136
- }
1137
-
1138
- export type WorkOrderTaskUpdateWithoutWorkOrderInput = {
1139
- id?: Prisma.StringFieldUpdateOperationsInput | string
1140
- no?: Prisma.IntFieldUpdateOperationsInput | number
1141
- name?: Prisma.StringFieldUpdateOperationsInput | string
1142
- buttonName?: Prisma.StringFieldUpdateOperationsInput | string
1143
- isSpecialFeature?: Prisma.BoolFieldUpdateOperationsInput | boolean
1144
- statusColor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1145
- featureName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1146
- status?: Prisma.StringFieldUpdateOperationsInput | string
1147
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1148
- comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1149
- scheduledStartAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1150
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1151
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1152
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1153
- technician?: Prisma.UserUpdateOneWithoutWorkOrderTasksNestedInput
1154
- templateComponent?: Prisma.TemplateComponentUpdateOneWithoutWorkOrderTasksNestedInput
1155
- }
1156
-
1157
- export type WorkOrderTaskUncheckedUpdateWithoutWorkOrderInput = {
1158
- id?: Prisma.StringFieldUpdateOperationsInput | string
1159
- no?: Prisma.IntFieldUpdateOperationsInput | number
1160
- name?: Prisma.StringFieldUpdateOperationsInput | string
1161
- buttonName?: Prisma.StringFieldUpdateOperationsInput | string
1162
- isSpecialFeature?: Prisma.BoolFieldUpdateOperationsInput | boolean
1163
- statusColor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1164
- featureName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1165
- status?: Prisma.StringFieldUpdateOperationsInput | string
1166
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1167
- comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1168
- scheduledStartAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1169
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1170
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1171
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1172
- technicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1173
- templateComponentId?: Prisma.StringFieldUpdateOperationsInput | string
1174
- }
1175
-
1176
- export type WorkOrderTaskUncheckedUpdateManyWithoutWorkOrderInput = {
1177
- id?: Prisma.StringFieldUpdateOperationsInput | string
1178
- no?: Prisma.IntFieldUpdateOperationsInput | number
1179
- name?: Prisma.StringFieldUpdateOperationsInput | string
1180
- buttonName?: Prisma.StringFieldUpdateOperationsInput | string
1181
- isSpecialFeature?: Prisma.BoolFieldUpdateOperationsInput | boolean
1182
- statusColor?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1183
- featureName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1184
- status?: Prisma.StringFieldUpdateOperationsInput | string
1185
- features?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1186
- comments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1187
- scheduledStartAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1188
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1189
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1190
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1191
- technicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1192
- templateComponentId?: Prisma.StringFieldUpdateOperationsInput | string
1193
- }
1194
-
1195
-
1196
-
1197
- export type WorkOrderTaskSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1198
- id?: boolean
1199
- no?: boolean
1200
- name?: boolean
1201
- buttonName?: boolean
1202
- isSpecialFeature?: boolean
1203
- statusColor?: boolean
1204
- featureName?: boolean
1205
- status?: boolean
1206
- features?: boolean
1207
- comments?: boolean
1208
- scheduledStartAt?: boolean
1209
- createdAt?: boolean
1210
- updatedAt?: boolean
1211
- deletedAt?: boolean
1212
- technicianId?: boolean
1213
- workOrderId?: boolean
1214
- templateComponentId?: boolean
1215
- technician?: boolean | Prisma.WorkOrderTask$technicianArgs<ExtArgs>
1216
- workOrder?: boolean | Prisma.WorkOrderDefaultArgs<ExtArgs>
1217
- templateComponent?: boolean | Prisma.WorkOrderTask$templateComponentArgs<ExtArgs>
1218
- }, ExtArgs["result"]["workOrderTask"]>
1219
-
1220
- export type WorkOrderTaskSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1221
- id?: boolean
1222
- no?: boolean
1223
- name?: boolean
1224
- buttonName?: boolean
1225
- isSpecialFeature?: boolean
1226
- statusColor?: boolean
1227
- featureName?: boolean
1228
- status?: boolean
1229
- features?: boolean
1230
- comments?: boolean
1231
- scheduledStartAt?: boolean
1232
- createdAt?: boolean
1233
- updatedAt?: boolean
1234
- deletedAt?: boolean
1235
- technicianId?: boolean
1236
- workOrderId?: boolean
1237
- templateComponentId?: boolean
1238
- technician?: boolean | Prisma.WorkOrderTask$technicianArgs<ExtArgs>
1239
- workOrder?: boolean | Prisma.WorkOrderDefaultArgs<ExtArgs>
1240
- templateComponent?: boolean | Prisma.WorkOrderTask$templateComponentArgs<ExtArgs>
1241
- }, ExtArgs["result"]["workOrderTask"]>
1242
-
1243
- export type WorkOrderTaskSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1244
- id?: boolean
1245
- no?: boolean
1246
- name?: boolean
1247
- buttonName?: boolean
1248
- isSpecialFeature?: boolean
1249
- statusColor?: boolean
1250
- featureName?: boolean
1251
- status?: boolean
1252
- features?: boolean
1253
- comments?: boolean
1254
- scheduledStartAt?: boolean
1255
- createdAt?: boolean
1256
- updatedAt?: boolean
1257
- deletedAt?: boolean
1258
- technicianId?: boolean
1259
- workOrderId?: boolean
1260
- templateComponentId?: boolean
1261
- technician?: boolean | Prisma.WorkOrderTask$technicianArgs<ExtArgs>
1262
- workOrder?: boolean | Prisma.WorkOrderDefaultArgs<ExtArgs>
1263
- templateComponent?: boolean | Prisma.WorkOrderTask$templateComponentArgs<ExtArgs>
1264
- }, ExtArgs["result"]["workOrderTask"]>
1265
-
1266
- export type WorkOrderTaskSelectScalar = {
1267
- id?: boolean
1268
- no?: boolean
1269
- name?: boolean
1270
- buttonName?: boolean
1271
- isSpecialFeature?: boolean
1272
- statusColor?: boolean
1273
- featureName?: boolean
1274
- status?: boolean
1275
- features?: boolean
1276
- comments?: boolean
1277
- scheduledStartAt?: boolean
1278
- createdAt?: boolean
1279
- updatedAt?: boolean
1280
- deletedAt?: boolean
1281
- technicianId?: boolean
1282
- workOrderId?: boolean
1283
- templateComponentId?: boolean
1284
- }
1285
-
1286
- export type WorkOrderTaskOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "no" | "name" | "buttonName" | "isSpecialFeature" | "statusColor" | "featureName" | "status" | "features" | "comments" | "scheduledStartAt" | "createdAt" | "updatedAt" | "deletedAt" | "technicianId" | "workOrderId" | "templateComponentId", ExtArgs["result"]["workOrderTask"]>
1287
- export type WorkOrderTaskInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1288
- technician?: boolean | Prisma.WorkOrderTask$technicianArgs<ExtArgs>
1289
- workOrder?: boolean | Prisma.WorkOrderDefaultArgs<ExtArgs>
1290
- templateComponent?: boolean | Prisma.WorkOrderTask$templateComponentArgs<ExtArgs>
1291
- }
1292
- export type WorkOrderTaskIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1293
- technician?: boolean | Prisma.WorkOrderTask$technicianArgs<ExtArgs>
1294
- workOrder?: boolean | Prisma.WorkOrderDefaultArgs<ExtArgs>
1295
- templateComponent?: boolean | Prisma.WorkOrderTask$templateComponentArgs<ExtArgs>
1296
- }
1297
- export type WorkOrderTaskIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1298
- technician?: boolean | Prisma.WorkOrderTask$technicianArgs<ExtArgs>
1299
- workOrder?: boolean | Prisma.WorkOrderDefaultArgs<ExtArgs>
1300
- templateComponent?: boolean | Prisma.WorkOrderTask$templateComponentArgs<ExtArgs>
1301
- }
1302
-
1303
- export type $WorkOrderTaskPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1304
- name: "WorkOrderTask"
1305
- objects: {
1306
- technician: Prisma.$UserPayload<ExtArgs> | null
1307
- workOrder: Prisma.$WorkOrderPayload<ExtArgs>
1308
- templateComponent: Prisma.$TemplateComponentPayload<ExtArgs> | null
1309
- }
1310
- scalars: runtime.Types.Extensions.GetPayloadResult<{
1311
- id: string
1312
- no: number
1313
- name: string
1314
- buttonName: string
1315
- isSpecialFeature: boolean
1316
- statusColor: string | null
1317
- featureName: string | null
1318
- status: string
1319
- features: runtime.JsonValue | null
1320
- comments: string | null
1321
- scheduledStartAt: Date | null
1322
- createdAt: Date
1323
- updatedAt: Date
1324
- deletedAt: Date | null
1325
- technicianId: string | null
1326
- workOrderId: string
1327
- templateComponentId: string
1328
- }, ExtArgs["result"]["workOrderTask"]>
1329
- composites: {}
1330
- }
1331
-
1332
- export type WorkOrderTaskGetPayload<S extends boolean | null | undefined | WorkOrderTaskDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$WorkOrderTaskPayload, S>
1333
-
1334
- export type WorkOrderTaskCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1335
- Omit<WorkOrderTaskFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1336
- select?: WorkOrderTaskCountAggregateInputType | true
1337
- }
1338
-
1339
- export interface WorkOrderTaskDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1340
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['WorkOrderTask'], meta: { name: 'WorkOrderTask' } }
1341
- /**
1342
- * Find zero or one WorkOrderTask that matches the filter.
1343
- * @param {WorkOrderTaskFindUniqueArgs} args - Arguments to find a WorkOrderTask
1344
- * @example
1345
- * // Get one WorkOrderTask
1346
- * const workOrderTask = await prisma.workOrderTask.findUnique({
1347
- * where: {
1348
- * // ... provide filter here
1349
- * }
1350
- * })
1351
- */
1352
- findUnique<T extends WorkOrderTaskFindUniqueArgs>(args: Prisma.SelectSubset<T, WorkOrderTaskFindUniqueArgs<ExtArgs>>): Prisma.Prisma__WorkOrderTaskClient<runtime.Types.Result.GetResult<Prisma.$WorkOrderTaskPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1353
-
1354
- /**
1355
- * Find one WorkOrderTask that matches the filter or throw an error with `error.code='P2025'`
1356
- * if no matches were found.
1357
- * @param {WorkOrderTaskFindUniqueOrThrowArgs} args - Arguments to find a WorkOrderTask
1358
- * @example
1359
- * // Get one WorkOrderTask
1360
- * const workOrderTask = await prisma.workOrderTask.findUniqueOrThrow({
1361
- * where: {
1362
- * // ... provide filter here
1363
- * }
1364
- * })
1365
- */
1366
- findUniqueOrThrow<T extends WorkOrderTaskFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, WorkOrderTaskFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkOrderTaskClient<runtime.Types.Result.GetResult<Prisma.$WorkOrderTaskPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1367
-
1368
- /**
1369
- * Find the first WorkOrderTask that matches the filter.
1370
- * Note, that providing `undefined` is treated as the value not being there.
1371
- * Read more here: https://pris.ly/d/null-undefined
1372
- * @param {WorkOrderTaskFindFirstArgs} args - Arguments to find a WorkOrderTask
1373
- * @example
1374
- * // Get one WorkOrderTask
1375
- * const workOrderTask = await prisma.workOrderTask.findFirst({
1376
- * where: {
1377
- * // ... provide filter here
1378
- * }
1379
- * })
1380
- */
1381
- findFirst<T extends WorkOrderTaskFindFirstArgs>(args?: Prisma.SelectSubset<T, WorkOrderTaskFindFirstArgs<ExtArgs>>): Prisma.Prisma__WorkOrderTaskClient<runtime.Types.Result.GetResult<Prisma.$WorkOrderTaskPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1382
-
1383
- /**
1384
- * Find the first WorkOrderTask that matches the filter or
1385
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1386
- * Note, that providing `undefined` is treated as the value not being there.
1387
- * Read more here: https://pris.ly/d/null-undefined
1388
- * @param {WorkOrderTaskFindFirstOrThrowArgs} args - Arguments to find a WorkOrderTask
1389
- * @example
1390
- * // Get one WorkOrderTask
1391
- * const workOrderTask = await prisma.workOrderTask.findFirstOrThrow({
1392
- * where: {
1393
- * // ... provide filter here
1394
- * }
1395
- * })
1396
- */
1397
- findFirstOrThrow<T extends WorkOrderTaskFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, WorkOrderTaskFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkOrderTaskClient<runtime.Types.Result.GetResult<Prisma.$WorkOrderTaskPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1398
-
1399
- /**
1400
- * Find zero or more WorkOrderTasks that matches the filter.
1401
- * Note, that providing `undefined` is treated as the value not being there.
1402
- * Read more here: https://pris.ly/d/null-undefined
1403
- * @param {WorkOrderTaskFindManyArgs} args - Arguments to filter and select certain fields only.
1404
- * @example
1405
- * // Get all WorkOrderTasks
1406
- * const workOrderTasks = await prisma.workOrderTask.findMany()
1407
- *
1408
- * // Get first 10 WorkOrderTasks
1409
- * const workOrderTasks = await prisma.workOrderTask.findMany({ take: 10 })
1410
- *
1411
- * // Only select the `id`
1412
- * const workOrderTaskWithIdOnly = await prisma.workOrderTask.findMany({ select: { id: true } })
1413
- *
1414
- */
1415
- findMany<T extends WorkOrderTaskFindManyArgs>(args?: Prisma.SelectSubset<T, WorkOrderTaskFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkOrderTaskPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1416
-
1417
- /**
1418
- * Create a WorkOrderTask.
1419
- * @param {WorkOrderTaskCreateArgs} args - Arguments to create a WorkOrderTask.
1420
- * @example
1421
- * // Create one WorkOrderTask
1422
- * const WorkOrderTask = await prisma.workOrderTask.create({
1423
- * data: {
1424
- * // ... data to create a WorkOrderTask
1425
- * }
1426
- * })
1427
- *
1428
- */
1429
- create<T extends WorkOrderTaskCreateArgs>(args: Prisma.SelectSubset<T, WorkOrderTaskCreateArgs<ExtArgs>>): Prisma.Prisma__WorkOrderTaskClient<runtime.Types.Result.GetResult<Prisma.$WorkOrderTaskPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1430
-
1431
- /**
1432
- * Create many WorkOrderTasks.
1433
- * @param {WorkOrderTaskCreateManyArgs} args - Arguments to create many WorkOrderTasks.
1434
- * @example
1435
- * // Create many WorkOrderTasks
1436
- * const workOrderTask = await prisma.workOrderTask.createMany({
1437
- * data: [
1438
- * // ... provide data here
1439
- * ]
1440
- * })
1441
- *
1442
- */
1443
- createMany<T extends WorkOrderTaskCreateManyArgs>(args?: Prisma.SelectSubset<T, WorkOrderTaskCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1444
-
1445
- /**
1446
- * Create many WorkOrderTasks and returns the data saved in the database.
1447
- * @param {WorkOrderTaskCreateManyAndReturnArgs} args - Arguments to create many WorkOrderTasks.
1448
- * @example
1449
- * // Create many WorkOrderTasks
1450
- * const workOrderTask = await prisma.workOrderTask.createManyAndReturn({
1451
- * data: [
1452
- * // ... provide data here
1453
- * ]
1454
- * })
1455
- *
1456
- * // Create many WorkOrderTasks and only return the `id`
1457
- * const workOrderTaskWithIdOnly = await prisma.workOrderTask.createManyAndReturn({
1458
- * select: { id: true },
1459
- * data: [
1460
- * // ... provide data here
1461
- * ]
1462
- * })
1463
- * Note, that providing `undefined` is treated as the value not being there.
1464
- * Read more here: https://pris.ly/d/null-undefined
1465
- *
1466
- */
1467
- createManyAndReturn<T extends WorkOrderTaskCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, WorkOrderTaskCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkOrderTaskPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1468
-
1469
- /**
1470
- * Delete a WorkOrderTask.
1471
- * @param {WorkOrderTaskDeleteArgs} args - Arguments to delete one WorkOrderTask.
1472
- * @example
1473
- * // Delete one WorkOrderTask
1474
- * const WorkOrderTask = await prisma.workOrderTask.delete({
1475
- * where: {
1476
- * // ... filter to delete one WorkOrderTask
1477
- * }
1478
- * })
1479
- *
1480
- */
1481
- delete<T extends WorkOrderTaskDeleteArgs>(args: Prisma.SelectSubset<T, WorkOrderTaskDeleteArgs<ExtArgs>>): Prisma.Prisma__WorkOrderTaskClient<runtime.Types.Result.GetResult<Prisma.$WorkOrderTaskPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1482
-
1483
- /**
1484
- * Update one WorkOrderTask.
1485
- * @param {WorkOrderTaskUpdateArgs} args - Arguments to update one WorkOrderTask.
1486
- * @example
1487
- * // Update one WorkOrderTask
1488
- * const workOrderTask = await prisma.workOrderTask.update({
1489
- * where: {
1490
- * // ... provide filter here
1491
- * },
1492
- * data: {
1493
- * // ... provide data here
1494
- * }
1495
- * })
1496
- *
1497
- */
1498
- update<T extends WorkOrderTaskUpdateArgs>(args: Prisma.SelectSubset<T, WorkOrderTaskUpdateArgs<ExtArgs>>): Prisma.Prisma__WorkOrderTaskClient<runtime.Types.Result.GetResult<Prisma.$WorkOrderTaskPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1499
-
1500
- /**
1501
- * Delete zero or more WorkOrderTasks.
1502
- * @param {WorkOrderTaskDeleteManyArgs} args - Arguments to filter WorkOrderTasks to delete.
1503
- * @example
1504
- * // Delete a few WorkOrderTasks
1505
- * const { count } = await prisma.workOrderTask.deleteMany({
1506
- * where: {
1507
- * // ... provide filter here
1508
- * }
1509
- * })
1510
- *
1511
- */
1512
- deleteMany<T extends WorkOrderTaskDeleteManyArgs>(args?: Prisma.SelectSubset<T, WorkOrderTaskDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1513
-
1514
- /**
1515
- * Update zero or more WorkOrderTasks.
1516
- * Note, that providing `undefined` is treated as the value not being there.
1517
- * Read more here: https://pris.ly/d/null-undefined
1518
- * @param {WorkOrderTaskUpdateManyArgs} args - Arguments to update one or more rows.
1519
- * @example
1520
- * // Update many WorkOrderTasks
1521
- * const workOrderTask = await prisma.workOrderTask.updateMany({
1522
- * where: {
1523
- * // ... provide filter here
1524
- * },
1525
- * data: {
1526
- * // ... provide data here
1527
- * }
1528
- * })
1529
- *
1530
- */
1531
- updateMany<T extends WorkOrderTaskUpdateManyArgs>(args: Prisma.SelectSubset<T, WorkOrderTaskUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1532
-
1533
- /**
1534
- * Update zero or more WorkOrderTasks and returns the data updated in the database.
1535
- * @param {WorkOrderTaskUpdateManyAndReturnArgs} args - Arguments to update many WorkOrderTasks.
1536
- * @example
1537
- * // Update many WorkOrderTasks
1538
- * const workOrderTask = await prisma.workOrderTask.updateManyAndReturn({
1539
- * where: {
1540
- * // ... provide filter here
1541
- * },
1542
- * data: [
1543
- * // ... provide data here
1544
- * ]
1545
- * })
1546
- *
1547
- * // Update zero or more WorkOrderTasks and only return the `id`
1548
- * const workOrderTaskWithIdOnly = await prisma.workOrderTask.updateManyAndReturn({
1549
- * select: { id: true },
1550
- * where: {
1551
- * // ... provide filter here
1552
- * },
1553
- * data: [
1554
- * // ... provide data here
1555
- * ]
1556
- * })
1557
- * Note, that providing `undefined` is treated as the value not being there.
1558
- * Read more here: https://pris.ly/d/null-undefined
1559
- *
1560
- */
1561
- updateManyAndReturn<T extends WorkOrderTaskUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, WorkOrderTaskUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkOrderTaskPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1562
-
1563
- /**
1564
- * Create or update one WorkOrderTask.
1565
- * @param {WorkOrderTaskUpsertArgs} args - Arguments to update or create a WorkOrderTask.
1566
- * @example
1567
- * // Update or create a WorkOrderTask
1568
- * const workOrderTask = await prisma.workOrderTask.upsert({
1569
- * create: {
1570
- * // ... data to create a WorkOrderTask
1571
- * },
1572
- * update: {
1573
- * // ... in case it already exists, update
1574
- * },
1575
- * where: {
1576
- * // ... the filter for the WorkOrderTask we want to update
1577
- * }
1578
- * })
1579
- */
1580
- upsert<T extends WorkOrderTaskUpsertArgs>(args: Prisma.SelectSubset<T, WorkOrderTaskUpsertArgs<ExtArgs>>): Prisma.Prisma__WorkOrderTaskClient<runtime.Types.Result.GetResult<Prisma.$WorkOrderTaskPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1581
-
1582
-
1583
- /**
1584
- * Count the number of WorkOrderTasks.
1585
- * Note, that providing `undefined` is treated as the value not being there.
1586
- * Read more here: https://pris.ly/d/null-undefined
1587
- * @param {WorkOrderTaskCountArgs} args - Arguments to filter WorkOrderTasks to count.
1588
- * @example
1589
- * // Count the number of WorkOrderTasks
1590
- * const count = await prisma.workOrderTask.count({
1591
- * where: {
1592
- * // ... the filter for the WorkOrderTasks we want to count
1593
- * }
1594
- * })
1595
- **/
1596
- count<T extends WorkOrderTaskCountArgs>(
1597
- args?: Prisma.Subset<T, WorkOrderTaskCountArgs>,
1598
- ): Prisma.PrismaPromise<
1599
- T extends runtime.Types.Utils.Record<'select', any>
1600
- ? T['select'] extends true
1601
- ? number
1602
- : Prisma.GetScalarType<T['select'], WorkOrderTaskCountAggregateOutputType>
1603
- : number
1604
- >
1605
-
1606
- /**
1607
- * Allows you to perform aggregations operations on a WorkOrderTask.
1608
- * Note, that providing `undefined` is treated as the value not being there.
1609
- * Read more here: https://pris.ly/d/null-undefined
1610
- * @param {WorkOrderTaskAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1611
- * @example
1612
- * // Ordered by age ascending
1613
- * // Where email contains prisma.io
1614
- * // Limited to the 10 users
1615
- * const aggregations = await prisma.user.aggregate({
1616
- * _avg: {
1617
- * age: true,
1618
- * },
1619
- * where: {
1620
- * email: {
1621
- * contains: "prisma.io",
1622
- * },
1623
- * },
1624
- * orderBy: {
1625
- * age: "asc",
1626
- * },
1627
- * take: 10,
1628
- * })
1629
- **/
1630
- aggregate<T extends WorkOrderTaskAggregateArgs>(args: Prisma.Subset<T, WorkOrderTaskAggregateArgs>): Prisma.PrismaPromise<GetWorkOrderTaskAggregateType<T>>
1631
-
1632
- /**
1633
- * Group by WorkOrderTask.
1634
- * Note, that providing `undefined` is treated as the value not being there.
1635
- * Read more here: https://pris.ly/d/null-undefined
1636
- * @param {WorkOrderTaskGroupByArgs} args - Group by arguments.
1637
- * @example
1638
- * // Group by city, order by createdAt, get count
1639
- * const result = await prisma.user.groupBy({
1640
- * by: ['city', 'createdAt'],
1641
- * orderBy: {
1642
- * createdAt: true
1643
- * },
1644
- * _count: {
1645
- * _all: true
1646
- * },
1647
- * })
1648
- *
1649
- **/
1650
- groupBy<
1651
- T extends WorkOrderTaskGroupByArgs,
1652
- HasSelectOrTake extends Prisma.Or<
1653
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1654
- Prisma.Extends<'take', Prisma.Keys<T>>
1655
- >,
1656
- OrderByArg extends Prisma.True extends HasSelectOrTake
1657
- ? { orderBy: WorkOrderTaskGroupByArgs['orderBy'] }
1658
- : { orderBy?: WorkOrderTaskGroupByArgs['orderBy'] },
1659
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1660
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1661
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1662
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1663
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1664
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1665
- InputErrors extends ByEmpty extends Prisma.True
1666
- ? `Error: "by" must not be empty.`
1667
- : HavingValid extends Prisma.False
1668
- ? {
1669
- [P in HavingFields]: P extends ByFields
1670
- ? never
1671
- : P extends string
1672
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1673
- : [
1674
- Error,
1675
- 'Field ',
1676
- P,
1677
- ` in "having" needs to be provided in "by"`,
1678
- ]
1679
- }[HavingFields]
1680
- : 'take' extends Prisma.Keys<T>
1681
- ? 'orderBy' extends Prisma.Keys<T>
1682
- ? ByValid extends Prisma.True
1683
- ? {}
1684
- : {
1685
- [P in OrderFields]: P extends ByFields
1686
- ? never
1687
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1688
- }[OrderFields]
1689
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1690
- : 'skip' extends Prisma.Keys<T>
1691
- ? 'orderBy' extends Prisma.Keys<T>
1692
- ? ByValid extends Prisma.True
1693
- ? {}
1694
- : {
1695
- [P in OrderFields]: P extends ByFields
1696
- ? never
1697
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1698
- }[OrderFields]
1699
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1700
- : ByValid extends Prisma.True
1701
- ? {}
1702
- : {
1703
- [P in OrderFields]: P extends ByFields
1704
- ? never
1705
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1706
- }[OrderFields]
1707
- >(args: Prisma.SubsetIntersection<T, WorkOrderTaskGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWorkOrderTaskGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1708
- /**
1709
- * Fields of the WorkOrderTask model
1710
- */
1711
- readonly fields: WorkOrderTaskFieldRefs;
1712
- }
1713
-
1714
- /**
1715
- * The delegate class that acts as a "Promise-like" for WorkOrderTask.
1716
- * Why is this prefixed with `Prisma__`?
1717
- * Because we want to prevent naming conflicts as mentioned in
1718
- * https://github.com/prisma/prisma-client-js/issues/707
1719
- */
1720
- export interface Prisma__WorkOrderTaskClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1721
- readonly [Symbol.toStringTag]: "PrismaPromise"
1722
- technician<T extends Prisma.WorkOrderTask$technicianArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkOrderTask$technicianArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1723
- workOrder<T extends Prisma.WorkOrderDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkOrderDefaultArgs<ExtArgs>>): Prisma.Prisma__WorkOrderClient<runtime.Types.Result.GetResult<Prisma.$WorkOrderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1724
- templateComponent<T extends Prisma.WorkOrderTask$templateComponentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkOrderTask$templateComponentArgs<ExtArgs>>): Prisma.Prisma__TemplateComponentClient<runtime.Types.Result.GetResult<Prisma.$TemplateComponentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1725
- /**
1726
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1727
- * @param onfulfilled The callback to execute when the Promise is resolved.
1728
- * @param onrejected The callback to execute when the Promise is rejected.
1729
- * @returns A Promise for the completion of which ever callback is executed.
1730
- */
1731
- 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>
1732
- /**
1733
- * Attaches a callback for only the rejection of the Promise.
1734
- * @param onrejected The callback to execute when the Promise is rejected.
1735
- * @returns A Promise for the completion of the callback.
1736
- */
1737
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1738
- /**
1739
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1740
- * resolved value cannot be modified from the callback.
1741
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1742
- * @returns A Promise for the completion of the callback.
1743
- */
1744
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1745
- }
1746
-
1747
-
1748
-
1749
-
1750
- /**
1751
- * Fields of the WorkOrderTask model
1752
- */
1753
- export interface WorkOrderTaskFieldRefs {
1754
- readonly id: Prisma.FieldRef<"WorkOrderTask", 'String'>
1755
- readonly no: Prisma.FieldRef<"WorkOrderTask", 'Int'>
1756
- readonly name: Prisma.FieldRef<"WorkOrderTask", 'String'>
1757
- readonly buttonName: Prisma.FieldRef<"WorkOrderTask", 'String'>
1758
- readonly isSpecialFeature: Prisma.FieldRef<"WorkOrderTask", 'Boolean'>
1759
- readonly statusColor: Prisma.FieldRef<"WorkOrderTask", 'String'>
1760
- readonly featureName: Prisma.FieldRef<"WorkOrderTask", 'String'>
1761
- readonly status: Prisma.FieldRef<"WorkOrderTask", 'String'>
1762
- readonly features: Prisma.FieldRef<"WorkOrderTask", 'Json'>
1763
- readonly comments: Prisma.FieldRef<"WorkOrderTask", 'String'>
1764
- readonly scheduledStartAt: Prisma.FieldRef<"WorkOrderTask", 'DateTime'>
1765
- readonly createdAt: Prisma.FieldRef<"WorkOrderTask", 'DateTime'>
1766
- readonly updatedAt: Prisma.FieldRef<"WorkOrderTask", 'DateTime'>
1767
- readonly deletedAt: Prisma.FieldRef<"WorkOrderTask", 'DateTime'>
1768
- readonly technicianId: Prisma.FieldRef<"WorkOrderTask", 'String'>
1769
- readonly workOrderId: Prisma.FieldRef<"WorkOrderTask", 'String'>
1770
- readonly templateComponentId: Prisma.FieldRef<"WorkOrderTask", 'String'>
1771
- }
1772
-
1773
-
1774
- // Custom InputTypes
1775
- /**
1776
- * WorkOrderTask findUnique
1777
- */
1778
- export type WorkOrderTaskFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1779
- /**
1780
- * Select specific fields to fetch from the WorkOrderTask
1781
- */
1782
- select?: Prisma.WorkOrderTaskSelect<ExtArgs> | null
1783
- /**
1784
- * Omit specific fields from the WorkOrderTask
1785
- */
1786
- omit?: Prisma.WorkOrderTaskOmit<ExtArgs> | null
1787
- /**
1788
- * Choose, which related nodes to fetch as well
1789
- */
1790
- include?: Prisma.WorkOrderTaskInclude<ExtArgs> | null
1791
- /**
1792
- * Filter, which WorkOrderTask to fetch.
1793
- */
1794
- where: Prisma.WorkOrderTaskWhereUniqueInput
1795
- }
1796
-
1797
- /**
1798
- * WorkOrderTask findUniqueOrThrow
1799
- */
1800
- export type WorkOrderTaskFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1801
- /**
1802
- * Select specific fields to fetch from the WorkOrderTask
1803
- */
1804
- select?: Prisma.WorkOrderTaskSelect<ExtArgs> | null
1805
- /**
1806
- * Omit specific fields from the WorkOrderTask
1807
- */
1808
- omit?: Prisma.WorkOrderTaskOmit<ExtArgs> | null
1809
- /**
1810
- * Choose, which related nodes to fetch as well
1811
- */
1812
- include?: Prisma.WorkOrderTaskInclude<ExtArgs> | null
1813
- /**
1814
- * Filter, which WorkOrderTask to fetch.
1815
- */
1816
- where: Prisma.WorkOrderTaskWhereUniqueInput
1817
- }
1818
-
1819
- /**
1820
- * WorkOrderTask findFirst
1821
- */
1822
- export type WorkOrderTaskFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1823
- /**
1824
- * Select specific fields to fetch from the WorkOrderTask
1825
- */
1826
- select?: Prisma.WorkOrderTaskSelect<ExtArgs> | null
1827
- /**
1828
- * Omit specific fields from the WorkOrderTask
1829
- */
1830
- omit?: Prisma.WorkOrderTaskOmit<ExtArgs> | null
1831
- /**
1832
- * Choose, which related nodes to fetch as well
1833
- */
1834
- include?: Prisma.WorkOrderTaskInclude<ExtArgs> | null
1835
- /**
1836
- * Filter, which WorkOrderTask to fetch.
1837
- */
1838
- where?: Prisma.WorkOrderTaskWhereInput
1839
- /**
1840
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1841
- *
1842
- * Determine the order of WorkOrderTasks to fetch.
1843
- */
1844
- orderBy?: Prisma.WorkOrderTaskOrderByWithRelationInput | Prisma.WorkOrderTaskOrderByWithRelationInput[]
1845
- /**
1846
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1847
- *
1848
- * Sets the position for searching for WorkOrderTasks.
1849
- */
1850
- cursor?: Prisma.WorkOrderTaskWhereUniqueInput
1851
- /**
1852
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1853
- *
1854
- * Take `±n` WorkOrderTasks from the position of the cursor.
1855
- */
1856
- take?: number
1857
- /**
1858
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1859
- *
1860
- * Skip the first `n` WorkOrderTasks.
1861
- */
1862
- skip?: number
1863
- /**
1864
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1865
- *
1866
- * Filter by unique combinations of WorkOrderTasks.
1867
- */
1868
- distinct?: Prisma.WorkOrderTaskScalarFieldEnum | Prisma.WorkOrderTaskScalarFieldEnum[]
1869
- }
1870
-
1871
- /**
1872
- * WorkOrderTask findFirstOrThrow
1873
- */
1874
- export type WorkOrderTaskFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1875
- /**
1876
- * Select specific fields to fetch from the WorkOrderTask
1877
- */
1878
- select?: Prisma.WorkOrderTaskSelect<ExtArgs> | null
1879
- /**
1880
- * Omit specific fields from the WorkOrderTask
1881
- */
1882
- omit?: Prisma.WorkOrderTaskOmit<ExtArgs> | null
1883
- /**
1884
- * Choose, which related nodes to fetch as well
1885
- */
1886
- include?: Prisma.WorkOrderTaskInclude<ExtArgs> | null
1887
- /**
1888
- * Filter, which WorkOrderTask to fetch.
1889
- */
1890
- where?: Prisma.WorkOrderTaskWhereInput
1891
- /**
1892
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1893
- *
1894
- * Determine the order of WorkOrderTasks to fetch.
1895
- */
1896
- orderBy?: Prisma.WorkOrderTaskOrderByWithRelationInput | Prisma.WorkOrderTaskOrderByWithRelationInput[]
1897
- /**
1898
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1899
- *
1900
- * Sets the position for searching for WorkOrderTasks.
1901
- */
1902
- cursor?: Prisma.WorkOrderTaskWhereUniqueInput
1903
- /**
1904
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1905
- *
1906
- * Take `±n` WorkOrderTasks from the position of the cursor.
1907
- */
1908
- take?: number
1909
- /**
1910
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1911
- *
1912
- * Skip the first `n` WorkOrderTasks.
1913
- */
1914
- skip?: number
1915
- /**
1916
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1917
- *
1918
- * Filter by unique combinations of WorkOrderTasks.
1919
- */
1920
- distinct?: Prisma.WorkOrderTaskScalarFieldEnum | Prisma.WorkOrderTaskScalarFieldEnum[]
1921
- }
1922
-
1923
- /**
1924
- * WorkOrderTask findMany
1925
- */
1926
- export type WorkOrderTaskFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1927
- /**
1928
- * Select specific fields to fetch from the WorkOrderTask
1929
- */
1930
- select?: Prisma.WorkOrderTaskSelect<ExtArgs> | null
1931
- /**
1932
- * Omit specific fields from the WorkOrderTask
1933
- */
1934
- omit?: Prisma.WorkOrderTaskOmit<ExtArgs> | null
1935
- /**
1936
- * Choose, which related nodes to fetch as well
1937
- */
1938
- include?: Prisma.WorkOrderTaskInclude<ExtArgs> | null
1939
- /**
1940
- * Filter, which WorkOrderTasks to fetch.
1941
- */
1942
- where?: Prisma.WorkOrderTaskWhereInput
1943
- /**
1944
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1945
- *
1946
- * Determine the order of WorkOrderTasks to fetch.
1947
- */
1948
- orderBy?: Prisma.WorkOrderTaskOrderByWithRelationInput | Prisma.WorkOrderTaskOrderByWithRelationInput[]
1949
- /**
1950
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1951
- *
1952
- * Sets the position for listing WorkOrderTasks.
1953
- */
1954
- cursor?: Prisma.WorkOrderTaskWhereUniqueInput
1955
- /**
1956
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1957
- *
1958
- * Take `±n` WorkOrderTasks from the position of the cursor.
1959
- */
1960
- take?: number
1961
- /**
1962
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1963
- *
1964
- * Skip the first `n` WorkOrderTasks.
1965
- */
1966
- skip?: number
1967
- distinct?: Prisma.WorkOrderTaskScalarFieldEnum | Prisma.WorkOrderTaskScalarFieldEnum[]
1968
- }
1969
-
1970
- /**
1971
- * WorkOrderTask create
1972
- */
1973
- export type WorkOrderTaskCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1974
- /**
1975
- * Select specific fields to fetch from the WorkOrderTask
1976
- */
1977
- select?: Prisma.WorkOrderTaskSelect<ExtArgs> | null
1978
- /**
1979
- * Omit specific fields from the WorkOrderTask
1980
- */
1981
- omit?: Prisma.WorkOrderTaskOmit<ExtArgs> | null
1982
- /**
1983
- * Choose, which related nodes to fetch as well
1984
- */
1985
- include?: Prisma.WorkOrderTaskInclude<ExtArgs> | null
1986
- /**
1987
- * The data needed to create a WorkOrderTask.
1988
- */
1989
- data: Prisma.XOR<Prisma.WorkOrderTaskCreateInput, Prisma.WorkOrderTaskUncheckedCreateInput>
1990
- }
1991
-
1992
- /**
1993
- * WorkOrderTask createMany
1994
- */
1995
- export type WorkOrderTaskCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1996
- /**
1997
- * The data used to create many WorkOrderTasks.
1998
- */
1999
- data: Prisma.WorkOrderTaskCreateManyInput | Prisma.WorkOrderTaskCreateManyInput[]
2000
- skipDuplicates?: boolean
2001
- }
2002
-
2003
- /**
2004
- * WorkOrderTask createManyAndReturn
2005
- */
2006
- export type WorkOrderTaskCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2007
- /**
2008
- * Select specific fields to fetch from the WorkOrderTask
2009
- */
2010
- select?: Prisma.WorkOrderTaskSelectCreateManyAndReturn<ExtArgs> | null
2011
- /**
2012
- * Omit specific fields from the WorkOrderTask
2013
- */
2014
- omit?: Prisma.WorkOrderTaskOmit<ExtArgs> | null
2015
- /**
2016
- * The data used to create many WorkOrderTasks.
2017
- */
2018
- data: Prisma.WorkOrderTaskCreateManyInput | Prisma.WorkOrderTaskCreateManyInput[]
2019
- skipDuplicates?: boolean
2020
- /**
2021
- * Choose, which related nodes to fetch as well
2022
- */
2023
- include?: Prisma.WorkOrderTaskIncludeCreateManyAndReturn<ExtArgs> | null
2024
- }
2025
-
2026
- /**
2027
- * WorkOrderTask update
2028
- */
2029
- export type WorkOrderTaskUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2030
- /**
2031
- * Select specific fields to fetch from the WorkOrderTask
2032
- */
2033
- select?: Prisma.WorkOrderTaskSelect<ExtArgs> | null
2034
- /**
2035
- * Omit specific fields from the WorkOrderTask
2036
- */
2037
- omit?: Prisma.WorkOrderTaskOmit<ExtArgs> | null
2038
- /**
2039
- * Choose, which related nodes to fetch as well
2040
- */
2041
- include?: Prisma.WorkOrderTaskInclude<ExtArgs> | null
2042
- /**
2043
- * The data needed to update a WorkOrderTask.
2044
- */
2045
- data: Prisma.XOR<Prisma.WorkOrderTaskUpdateInput, Prisma.WorkOrderTaskUncheckedUpdateInput>
2046
- /**
2047
- * Choose, which WorkOrderTask to update.
2048
- */
2049
- where: Prisma.WorkOrderTaskWhereUniqueInput
2050
- }
2051
-
2052
- /**
2053
- * WorkOrderTask updateMany
2054
- */
2055
- export type WorkOrderTaskUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2056
- /**
2057
- * The data used to update WorkOrderTasks.
2058
- */
2059
- data: Prisma.XOR<Prisma.WorkOrderTaskUpdateManyMutationInput, Prisma.WorkOrderTaskUncheckedUpdateManyInput>
2060
- /**
2061
- * Filter which WorkOrderTasks to update
2062
- */
2063
- where?: Prisma.WorkOrderTaskWhereInput
2064
- /**
2065
- * Limit how many WorkOrderTasks to update.
2066
- */
2067
- limit?: number
2068
- }
2069
-
2070
- /**
2071
- * WorkOrderTask updateManyAndReturn
2072
- */
2073
- export type WorkOrderTaskUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2074
- /**
2075
- * Select specific fields to fetch from the WorkOrderTask
2076
- */
2077
- select?: Prisma.WorkOrderTaskSelectUpdateManyAndReturn<ExtArgs> | null
2078
- /**
2079
- * Omit specific fields from the WorkOrderTask
2080
- */
2081
- omit?: Prisma.WorkOrderTaskOmit<ExtArgs> | null
2082
- /**
2083
- * The data used to update WorkOrderTasks.
2084
- */
2085
- data: Prisma.XOR<Prisma.WorkOrderTaskUpdateManyMutationInput, Prisma.WorkOrderTaskUncheckedUpdateManyInput>
2086
- /**
2087
- * Filter which WorkOrderTasks to update
2088
- */
2089
- where?: Prisma.WorkOrderTaskWhereInput
2090
- /**
2091
- * Limit how many WorkOrderTasks to update.
2092
- */
2093
- limit?: number
2094
- /**
2095
- * Choose, which related nodes to fetch as well
2096
- */
2097
- include?: Prisma.WorkOrderTaskIncludeUpdateManyAndReturn<ExtArgs> | null
2098
- }
2099
-
2100
- /**
2101
- * WorkOrderTask upsert
2102
- */
2103
- export type WorkOrderTaskUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2104
- /**
2105
- * Select specific fields to fetch from the WorkOrderTask
2106
- */
2107
- select?: Prisma.WorkOrderTaskSelect<ExtArgs> | null
2108
- /**
2109
- * Omit specific fields from the WorkOrderTask
2110
- */
2111
- omit?: Prisma.WorkOrderTaskOmit<ExtArgs> | null
2112
- /**
2113
- * Choose, which related nodes to fetch as well
2114
- */
2115
- include?: Prisma.WorkOrderTaskInclude<ExtArgs> | null
2116
- /**
2117
- * The filter to search for the WorkOrderTask to update in case it exists.
2118
- */
2119
- where: Prisma.WorkOrderTaskWhereUniqueInput
2120
- /**
2121
- * In case the WorkOrderTask found by the `where` argument doesn't exist, create a new WorkOrderTask with this data.
2122
- */
2123
- create: Prisma.XOR<Prisma.WorkOrderTaskCreateInput, Prisma.WorkOrderTaskUncheckedCreateInput>
2124
- /**
2125
- * In case the WorkOrderTask was found with the provided `where` argument, update it with this data.
2126
- */
2127
- update: Prisma.XOR<Prisma.WorkOrderTaskUpdateInput, Prisma.WorkOrderTaskUncheckedUpdateInput>
2128
- }
2129
-
2130
- /**
2131
- * WorkOrderTask delete
2132
- */
2133
- export type WorkOrderTaskDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2134
- /**
2135
- * Select specific fields to fetch from the WorkOrderTask
2136
- */
2137
- select?: Prisma.WorkOrderTaskSelect<ExtArgs> | null
2138
- /**
2139
- * Omit specific fields from the WorkOrderTask
2140
- */
2141
- omit?: Prisma.WorkOrderTaskOmit<ExtArgs> | null
2142
- /**
2143
- * Choose, which related nodes to fetch as well
2144
- */
2145
- include?: Prisma.WorkOrderTaskInclude<ExtArgs> | null
2146
- /**
2147
- * Filter which WorkOrderTask to delete.
2148
- */
2149
- where: Prisma.WorkOrderTaskWhereUniqueInput
2150
- }
2151
-
2152
- /**
2153
- * WorkOrderTask deleteMany
2154
- */
2155
- export type WorkOrderTaskDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2156
- /**
2157
- * Filter which WorkOrderTasks to delete
2158
- */
2159
- where?: Prisma.WorkOrderTaskWhereInput
2160
- /**
2161
- * Limit how many WorkOrderTasks to delete.
2162
- */
2163
- limit?: number
2164
- }
2165
-
2166
- /**
2167
- * WorkOrderTask.technician
2168
- */
2169
- export type WorkOrderTask$technicianArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2170
- /**
2171
- * Select specific fields to fetch from the User
2172
- */
2173
- select?: Prisma.UserSelect<ExtArgs> | null
2174
- /**
2175
- * Omit specific fields from the User
2176
- */
2177
- omit?: Prisma.UserOmit<ExtArgs> | null
2178
- /**
2179
- * Choose, which related nodes to fetch as well
2180
- */
2181
- include?: Prisma.UserInclude<ExtArgs> | null
2182
- where?: Prisma.UserWhereInput
2183
- }
2184
-
2185
- /**
2186
- * WorkOrderTask.templateComponent
2187
- */
2188
- export type WorkOrderTask$templateComponentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2189
- /**
2190
- * Select specific fields to fetch from the TemplateComponent
2191
- */
2192
- select?: Prisma.TemplateComponentSelect<ExtArgs> | null
2193
- /**
2194
- * Omit specific fields from the TemplateComponent
2195
- */
2196
- omit?: Prisma.TemplateComponentOmit<ExtArgs> | null
2197
- /**
2198
- * Choose, which related nodes to fetch as well
2199
- */
2200
- include?: Prisma.TemplateComponentInclude<ExtArgs> | null
2201
- where?: Prisma.TemplateComponentWhereInput
2202
- }
2203
-
2204
- /**
2205
- * WorkOrderTask without action
2206
- */
2207
- export type WorkOrderTaskDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2208
- /**
2209
- * Select specific fields to fetch from the WorkOrderTask
2210
- */
2211
- select?: Prisma.WorkOrderTaskSelect<ExtArgs> | null
2212
- /**
2213
- * Omit specific fields from the WorkOrderTask
2214
- */
2215
- omit?: Prisma.WorkOrderTaskOmit<ExtArgs> | null
2216
- /**
2217
- * Choose, which related nodes to fetch as well
2218
- */
2219
- include?: Prisma.WorkOrderTaskInclude<ExtArgs> | null
2220
- }