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