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