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