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