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