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