efiber-prisma-schema 2.0.6 → 2.0.8

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