vms-nest-prisma-api-document 140.0.0 → 160.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
  2. package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
  3. package/dist/services/account/bookmark_service.d.ts +1 -1
  4. package/dist/services/account/notification_preferences.service.d.ts +1 -1
  5. package/dist/services/account/report_preferences.service.d.ts +1 -1
  6. package/dist/services/account/ticket_service.d.ts +1 -1
  7. package/dist/services/fleet/bus_mangement/bus_stop.d.ts +19 -19
  8. package/dist/services/fleet/bus_mangement/calender.d.ts +1 -1
  9. package/dist/services/fleet/bus_mangement/master_route.d.ts +41 -41
  10. package/dist/services/fleet/bus_mangement/notice_board.d.ts +1 -1
  11. package/dist/services/fleet/bus_mangement/student.d.ts +20 -20
  12. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
  13. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +1 -1
  14. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
  15. package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
  16. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +6 -6
  17. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +7 -7
  18. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +2 -2
  19. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +5 -5
  20. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +8 -8
  21. package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
  22. package/dist/services/main/devices/master_device_service.d.ts +1 -1
  23. package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
  24. package/dist/services/main/sims/master_sim_service.d.ts +1 -1
  25. package/dist/services/main/users/auth_service.d.ts +1 -1
  26. package/dist/services/main/users/user_organisation_service.d.ts +1 -1
  27. package/dist/services/main/users/user_organisation_service.js +83 -75
  28. package/dist/services/main/users/user_service.d.ts +1 -1
  29. package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
  30. package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
  31. package/dist/services/master/bus/master_class_service.d.ts +1 -1
  32. package/dist/services/master/bus/master_program_service.d.ts +1 -1
  33. package/dist/services/master/bus/master_relationship_service.d.ts +1 -1
  34. package/dist/services/master/bus/master_section_service.d.ts +1 -1
  35. package/dist/services/master/bus/master_semester_service.d.ts +1 -1
  36. package/dist/services/master/bus/master_stream_service.d.ts +1 -1
  37. package/dist/services/master/bus/master_year_service.d.ts +1 -1
  38. package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
  39. package/dist/services/master/device/master_device_model_service.d.ts +1 -1
  40. package/dist/services/master/device/master_device_type_service.d.ts +1 -1
  41. package/dist/services/master/expense/master_expense_name_service.d.ts +135 -4
  42. package/dist/services/master/expense/master_expense_type_service.d.ts +125 -4
  43. package/dist/services/master/expense/master_fuel_company_service.d.ts +6 -6
  44. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +3 -3
  45. package/dist/services/master/expense/master_vendor_type_service.d.ts +124 -4
  46. package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +127 -4
  47. package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +127 -4
  48. package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +127 -4
  49. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +127 -4
  50. package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +127 -4
  51. package/dist/services/master/main/master_main_country_service.d.ts +1 -1
  52. package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
  53. package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
  54. package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
  55. package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
  56. package/dist/services/master/main/master_main_language_service.d.ts +1 -1
  57. package/dist/services/master/main/master_main_state_service.d.ts +1 -1
  58. package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
  59. package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
  60. package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
  61. package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
  62. package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
  63. package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
  64. package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
  65. package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
  66. package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
  67. package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +2 -1
  68. package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +269 -4
  69. package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +132 -4
  70. package/dist/services/master/trip/master_trip_party_type_service.d.ts +127 -4
  71. package/dist/services/master/tyre/master_tyre_grade_service.d.ts +128 -4
  72. package/dist/services/master/tyre/master_tyre_make_service.d.ts +2 -1
  73. package/dist/services/master/tyre/master_tyre_model_service.d.ts +261 -4
  74. package/dist/services/master/user/master_user_role_service.d.ts +1 -1
  75. package/dist/services/master/user/master_user_status_service.d.ts +1 -1
  76. package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
  77. package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
  78. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +1 -1
  79. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
  80. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
  81. package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
  82. package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
  83. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
  84. package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
  85. package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
  86. package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
  87. package/dist/services/website/contact_us_detail_service.d.ts +1 -1
  88. package/dist/services/website/faq_service.d.ts +1 -1
  89. package/dist/{user_organisation_service-CdoeXDR4.d.ts → user_organisation_service-DmtsKLFI.d.ts} +34 -1912
  90. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, f as MasterMainCountry } from '../../../user_organisation_service-CdoeXDR4.js';
4
+ import { U as UserOrganisation, f as MasterMainCountry } from '../../../user_organisation_service-DmtsKLFI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
7
7
 
@@ -28,21 +28,21 @@ declare const MasterFuelCompanySchema: z.ZodObject<{
28
28
  logo_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
29
29
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
30
30
  }, "strip", z.ZodTypeAny, {
31
+ company_name: string;
31
32
  description: string;
33
+ logo_url: string;
34
+ logo_key: string;
32
35
  status: Status;
33
36
  organisation_id: string;
34
37
  country_id: string;
35
- logo_key: string;
36
- logo_url: string;
37
- company_name: string;
38
38
  }, {
39
+ company_name: string;
39
40
  status: Status;
40
41
  organisation_id: string;
41
42
  country_id: string;
42
- company_name: string;
43
43
  description?: string | undefined;
44
- logo_key?: string | undefined;
45
44
  logo_url?: string | undefined;
45
+ logo_key?: string | undefined;
46
46
  }>;
47
47
  type MasterFuelCompanyDTO = z.infer<typeof MasterFuelCompanySchema>;
48
48
  declare const MasterFuelCompanyQuerySchema: z.ZodObject<{
@@ -1,7 +1,7 @@
1
1
  import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation } from '../../../user_organisation_service-CdoeXDR4.js';
4
+ import { U as UserOrganisation } from '../../../user_organisation_service-DmtsKLFI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
7
7
 
@@ -21,14 +21,14 @@ declare const MasterVendorDocumentTypeSchema: z.ZodObject<{
21
21
  description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
22
22
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
23
23
  }, "strip", z.ZodTypeAny, {
24
- document_type: string;
25
24
  description: string;
26
25
  status: Status;
27
26
  organisation_id: string;
28
- }, {
29
27
  document_type: string;
28
+ }, {
30
29
  status: Status;
31
30
  organisation_id: string;
31
+ document_type: string;
32
32
  description?: string | undefined;
33
33
  }>;
34
34
  type MasterVendorDocumentTypeDTO = z.infer<typeof MasterVendorDocumentTypeSchema>;
@@ -1,6 +1,126 @@
1
- import '../../../core/Enums.js';
2
- import '../../../core/BaseResponse.js';
3
- import 'zod';
4
- export { jw as MasterVendorType, jy as MasterVendorTypeDTO, jA as MasterVendorTypeQueryDTO, jz as MasterVendorTypeQuerySchema, jx as MasterVendorTypeSchema, jE as createMasterVendorType, jG as deleteMasterVendorType, jD as findMasterVendorTypes, jH as getMasterVendorTypeCache, jC as newMasterVendorTypePayload, jB as toMasterVendorTypePayload, jF as updateMasterVendorType } from '../../../user_organisation_service-CdoeXDR4.js';
1
+ import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
+ import { FBR, SBR } from '../../../core/BaseResponse.js';
3
+ import { z } from 'zod';
4
+ import { U as UserOrganisation } from '../../../user_organisation_service-DmtsKLFI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
7
+
8
+ interface MasterVendorType extends Record<string, unknown> {
9
+ vendor_type_id: string;
10
+ vendor_type: string;
11
+ description?: string;
12
+ status: Status;
13
+ added_date_time: string;
14
+ modified_date_time: string;
15
+ organisation_id?: string;
16
+ UserOrganisation?: UserOrganisation;
17
+ }
18
+ declare const MasterVendorTypeSchema: z.ZodObject<{
19
+ organisation_id: z.ZodEffects<z.ZodString, string, string>;
20
+ vendor_type: z.ZodEffects<z.ZodString, string, string>;
21
+ description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
22
+ status: z.ZodType<Status, z.ZodTypeDef, Status>;
23
+ }, "strip", z.ZodTypeAny, {
24
+ status: Status;
25
+ organisation_id: string;
26
+ description: string;
27
+ vendor_type: string;
28
+ }, {
29
+ status: Status;
30
+ organisation_id: string;
31
+ vendor_type: string;
32
+ description?: string | undefined;
33
+ }>;
34
+ type MasterVendorTypeDTO = z.infer<typeof MasterVendorTypeSchema>;
35
+ declare const MasterVendorTypeQuerySchema: z.ZodObject<{
36
+ search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
37
+ status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
38
+ paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
39
+ page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
40
+ page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
41
+ load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
42
+ load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
43
+ load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
44
+ load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
45
+ load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
46
+ load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
47
+ include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
48
+ where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
49
+ order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
50
+ name: z.ZodEffects<z.ZodString, string, string>;
51
+ field: z.ZodEffects<z.ZodString, string, string>;
52
+ direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ name: string;
55
+ field: string;
56
+ direction: OrderBy;
57
+ }, {
58
+ name: string;
59
+ field: string;
60
+ direction: OrderBy;
61
+ }>, "many">>>;
62
+ include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
63
+ date_format_id: z.ZodEffects<z.ZodString, string, string>;
64
+ time_zone_id: z.ZodEffects<z.ZodString, string, string>;
65
+ } & {
66
+ organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
67
+ vendor_type_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
68
+ }, "strip", z.ZodTypeAny, {
69
+ status: Status[];
70
+ search: string;
71
+ paging: PAGING;
72
+ page_count: number;
73
+ page_index: number;
74
+ load_parents: LoadParents;
75
+ load_parents_list: string[];
76
+ load_child: LoadChild;
77
+ load_child_list: string[];
78
+ load_child_count: LoadChildCount;
79
+ load_child_count_list: string[];
80
+ include_details: Record<string, any>;
81
+ where_relations: Record<string, any>;
82
+ order_by: {
83
+ name: string;
84
+ field: string;
85
+ direction: OrderBy;
86
+ }[];
87
+ include_master_data: YesNo;
88
+ date_format_id: string;
89
+ time_zone_id: string;
90
+ organisation_ids: string[];
91
+ vendor_type_ids: string[];
92
+ }, {
93
+ date_format_id: string;
94
+ time_zone_id: string;
95
+ status?: Status[] | undefined;
96
+ search?: string | undefined;
97
+ paging?: PAGING | undefined;
98
+ page_count?: unknown;
99
+ page_index?: unknown;
100
+ load_parents?: LoadParents | undefined;
101
+ load_parents_list?: string[] | undefined;
102
+ load_child?: LoadChild | undefined;
103
+ load_child_list?: string[] | undefined;
104
+ load_child_count?: LoadChildCount | undefined;
105
+ load_child_count_list?: string[] | undefined;
106
+ include_details?: Record<string, any> | undefined;
107
+ where_relations?: Record<string, any> | undefined;
108
+ order_by?: {
109
+ name: string;
110
+ field: string;
111
+ direction: OrderBy;
112
+ }[] | undefined;
113
+ include_master_data?: YesNo | undefined;
114
+ organisation_ids?: string[] | undefined;
115
+ vendor_type_ids?: string[] | undefined;
116
+ }>;
117
+ type MasterVendorTypeQueryDTO = z.infer<typeof MasterVendorTypeQuerySchema>;
118
+ declare const toMasterVendorTypePayload: (row: MasterVendorType) => MasterVendorTypeDTO;
119
+ declare const newMasterVendorTypePayload: () => MasterVendorTypeDTO;
120
+ declare const findMasterVendorTypes: (data: MasterVendorTypeQueryDTO) => Promise<FBR<MasterVendorType[]>>;
121
+ declare const createMasterVendorType: (data: MasterVendorTypeDTO) => Promise<SBR>;
122
+ declare const updateMasterVendorType: (id: string, data: MasterVendorTypeDTO) => Promise<SBR>;
123
+ declare const deleteMasterVendorType: (id: string) => Promise<SBR>;
124
+ declare const getMasterVendorTypeCache: (organisation_id: string) => Promise<FBR<MasterVendorType[]>>;
125
+
126
+ export { type MasterVendorType, type MasterVendorTypeDTO, type MasterVendorTypeQueryDTO, MasterVendorTypeQuerySchema, MasterVendorTypeSchema, createMasterVendorType, deleteMasterVendorType, findMasterVendorTypes, getMasterVendorTypeCache, newMasterVendorTypePayload, toMasterVendorTypePayload, updateMasterVendorType };
@@ -1,6 +1,129 @@
1
- import '../../../core/Enums.js';
2
- import '../../../core/BaseResponse.js';
3
- import 'zod';
4
- export { iM as MasterFleetIncidentSeverity, iO as MasterFleetIncidentSeverityDTO, iQ as MasterFleetIncidentSeverityQueryDTO, iP as MasterFleetIncidentSeverityQuerySchema, iN as MasterFleetIncidentSeveritySchema, iU as createMasterFleetIncidentSeverity, iW as deleteMasterFleetIncidentSeverity, iT as findMasterFleetIncidentSeverities, iX as getMasterFleetIncidentSeverityCache, iS as newMasterFleetIncidentSeverityPayload, iR as toMasterFleetIncidentSeverityPayload, iV as updateMasterFleetIncidentSeverity } from '../../../user_organisation_service-CdoeXDR4.js';
1
+ import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
+ import { FBR, SBR } from '../../../core/BaseResponse.js';
3
+ import { z } from 'zod';
4
+ import { U as UserOrganisation } from '../../../user_organisation_service-DmtsKLFI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
7
+
8
+ interface MasterFleetIncidentSeverity extends Record<string, unknown> {
9
+ fleet_incident_severity_id: string;
10
+ fleet_incident_severity: string;
11
+ description?: string;
12
+ status: Status;
13
+ added_date_time: string;
14
+ modified_date_time: string;
15
+ organisation_id?: string;
16
+ UserOrganisation?: UserOrganisation;
17
+ _count?: {
18
+ FleetIncidentManagement: number;
19
+ };
20
+ }
21
+ declare const MasterFleetIncidentSeveritySchema: z.ZodObject<{
22
+ organisation_id: z.ZodEffects<z.ZodString, string, string>;
23
+ fleet_incident_severity: z.ZodEffects<z.ZodString, string, string>;
24
+ description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
25
+ status: z.ZodType<Status, z.ZodTypeDef, Status>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ status: Status;
28
+ organisation_id: string;
29
+ description: string;
30
+ fleet_incident_severity: string;
31
+ }, {
32
+ status: Status;
33
+ organisation_id: string;
34
+ fleet_incident_severity: string;
35
+ description?: string | undefined;
36
+ }>;
37
+ type MasterFleetIncidentSeverityDTO = z.infer<typeof MasterFleetIncidentSeveritySchema>;
38
+ declare const MasterFleetIncidentSeverityQuerySchema: z.ZodObject<{
39
+ search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
40
+ status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
41
+ paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
42
+ page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
43
+ page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
44
+ load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
45
+ load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
46
+ load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
47
+ load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
48
+ load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
49
+ load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
50
+ include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
51
+ where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
52
+ order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
53
+ name: z.ZodEffects<z.ZodString, string, string>;
54
+ field: z.ZodEffects<z.ZodString, string, string>;
55
+ direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ name: string;
58
+ field: string;
59
+ direction: OrderBy;
60
+ }, {
61
+ name: string;
62
+ field: string;
63
+ direction: OrderBy;
64
+ }>, "many">>>;
65
+ include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
66
+ date_format_id: z.ZodEffects<z.ZodString, string, string>;
67
+ time_zone_id: z.ZodEffects<z.ZodString, string, string>;
68
+ } & {
69
+ organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
70
+ fleet_incident_severity_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ status: Status[];
73
+ search: string;
74
+ paging: PAGING;
75
+ page_count: number;
76
+ page_index: number;
77
+ load_parents: LoadParents;
78
+ load_parents_list: string[];
79
+ load_child: LoadChild;
80
+ load_child_list: string[];
81
+ load_child_count: LoadChildCount;
82
+ load_child_count_list: string[];
83
+ include_details: Record<string, any>;
84
+ where_relations: Record<string, any>;
85
+ order_by: {
86
+ name: string;
87
+ field: string;
88
+ direction: OrderBy;
89
+ }[];
90
+ include_master_data: YesNo;
91
+ date_format_id: string;
92
+ time_zone_id: string;
93
+ organisation_ids: string[];
94
+ fleet_incident_severity_ids: string[];
95
+ }, {
96
+ date_format_id: string;
97
+ time_zone_id: string;
98
+ status?: Status[] | undefined;
99
+ search?: string | undefined;
100
+ paging?: PAGING | undefined;
101
+ page_count?: unknown;
102
+ page_index?: unknown;
103
+ load_parents?: LoadParents | undefined;
104
+ load_parents_list?: string[] | undefined;
105
+ load_child?: LoadChild | undefined;
106
+ load_child_list?: string[] | undefined;
107
+ load_child_count?: LoadChildCount | undefined;
108
+ load_child_count_list?: string[] | undefined;
109
+ include_details?: Record<string, any> | undefined;
110
+ where_relations?: Record<string, any> | undefined;
111
+ order_by?: {
112
+ name: string;
113
+ field: string;
114
+ direction: OrderBy;
115
+ }[] | undefined;
116
+ include_master_data?: YesNo | undefined;
117
+ organisation_ids?: string[] | undefined;
118
+ fleet_incident_severity_ids?: string[] | undefined;
119
+ }>;
120
+ type MasterFleetIncidentSeverityQueryDTO = z.infer<typeof MasterFleetIncidentSeverityQuerySchema>;
121
+ declare const toMasterFleetIncidentSeverityPayload: (row: MasterFleetIncidentSeverity) => MasterFleetIncidentSeverityDTO;
122
+ declare const newMasterFleetIncidentSeverityPayload: () => MasterFleetIncidentSeverityDTO;
123
+ declare const findMasterFleetIncidentSeverities: (data: MasterFleetIncidentSeverityQueryDTO) => Promise<FBR<MasterFleetIncidentSeverity[]>>;
124
+ declare const createMasterFleetIncidentSeverity: (data: MasterFleetIncidentSeverityDTO) => Promise<SBR>;
125
+ declare const updateMasterFleetIncidentSeverity: (id: string, data: MasterFleetIncidentSeverityDTO) => Promise<SBR>;
126
+ declare const deleteMasterFleetIncidentSeverity: (id: string) => Promise<SBR>;
127
+ declare const getMasterFleetIncidentSeverityCache: (organisation_id: string) => Promise<FBR<MasterFleetIncidentSeverity[]>>;
128
+
129
+ export { type MasterFleetIncidentSeverity, type MasterFleetIncidentSeverityDTO, type MasterFleetIncidentSeverityQueryDTO, MasterFleetIncidentSeverityQuerySchema, MasterFleetIncidentSeveritySchema, createMasterFleetIncidentSeverity, deleteMasterFleetIncidentSeverity, findMasterFleetIncidentSeverities, getMasterFleetIncidentSeverityCache, newMasterFleetIncidentSeverityPayload, toMasterFleetIncidentSeverityPayload, updateMasterFleetIncidentSeverity };
@@ -1,6 +1,129 @@
1
- import '../../../core/Enums.js';
2
- import '../../../core/BaseResponse.js';
3
- import 'zod';
4
- export { iA as MasterFleetIncidentStatus, iC as MasterFleetIncidentStatusDTO, iE as MasterFleetIncidentStatusQueryDTO, iD as MasterFleetIncidentStatusQuerySchema, iB as MasterFleetIncidentStatusSchema, iI as createMasterFleetIncidentStatus, iK as deleteMasterFleetIncidentStatus, iH as findMasterFleetIncidentStatuses, iL as getMasterFleetIncidentStatusCache, iG as newMasterFleetIncidentStatusPayload, iF as toMasterFleetIncidentStatusPayload, iJ as updateMasterFleetIncidentStatus } from '../../../user_organisation_service-CdoeXDR4.js';
1
+ import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
+ import { FBR, SBR } from '../../../core/BaseResponse.js';
3
+ import { z } from 'zod';
4
+ import { U as UserOrganisation } from '../../../user_organisation_service-DmtsKLFI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
7
+
8
+ interface MasterFleetIncidentStatus extends Record<string, unknown> {
9
+ fleet_incident_status_id: string;
10
+ fleet_incident_status: string;
11
+ description?: string;
12
+ status: Status;
13
+ added_date_time: string;
14
+ modified_date_time: string;
15
+ organisation_id?: string;
16
+ UserOrganisation?: UserOrganisation;
17
+ _count?: {
18
+ FleetIncidentManagement: number;
19
+ };
20
+ }
21
+ declare const MasterFleetIncidentStatusSchema: z.ZodObject<{
22
+ organisation_id: z.ZodEffects<z.ZodString, string, string>;
23
+ fleet_incident_status: z.ZodEffects<z.ZodString, string, string>;
24
+ description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
25
+ status: z.ZodType<Status, z.ZodTypeDef, Status>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ status: Status;
28
+ organisation_id: string;
29
+ description: string;
30
+ fleet_incident_status: string;
31
+ }, {
32
+ status: Status;
33
+ organisation_id: string;
34
+ fleet_incident_status: string;
35
+ description?: string | undefined;
36
+ }>;
37
+ type MasterFleetIncidentStatusDTO = z.infer<typeof MasterFleetIncidentStatusSchema>;
38
+ declare const MasterFleetIncidentStatusQuerySchema: z.ZodObject<{
39
+ search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
40
+ status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
41
+ paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
42
+ page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
43
+ page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
44
+ load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
45
+ load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
46
+ load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
47
+ load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
48
+ load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
49
+ load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
50
+ include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
51
+ where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
52
+ order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
53
+ name: z.ZodEffects<z.ZodString, string, string>;
54
+ field: z.ZodEffects<z.ZodString, string, string>;
55
+ direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ name: string;
58
+ field: string;
59
+ direction: OrderBy;
60
+ }, {
61
+ name: string;
62
+ field: string;
63
+ direction: OrderBy;
64
+ }>, "many">>>;
65
+ include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
66
+ date_format_id: z.ZodEffects<z.ZodString, string, string>;
67
+ time_zone_id: z.ZodEffects<z.ZodString, string, string>;
68
+ } & {
69
+ organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
70
+ fleet_incident_status_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ status: Status[];
73
+ search: string;
74
+ paging: PAGING;
75
+ page_count: number;
76
+ page_index: number;
77
+ load_parents: LoadParents;
78
+ load_parents_list: string[];
79
+ load_child: LoadChild;
80
+ load_child_list: string[];
81
+ load_child_count: LoadChildCount;
82
+ load_child_count_list: string[];
83
+ include_details: Record<string, any>;
84
+ where_relations: Record<string, any>;
85
+ order_by: {
86
+ name: string;
87
+ field: string;
88
+ direction: OrderBy;
89
+ }[];
90
+ include_master_data: YesNo;
91
+ date_format_id: string;
92
+ time_zone_id: string;
93
+ organisation_ids: string[];
94
+ fleet_incident_status_ids: string[];
95
+ }, {
96
+ date_format_id: string;
97
+ time_zone_id: string;
98
+ status?: Status[] | undefined;
99
+ search?: string | undefined;
100
+ paging?: PAGING | undefined;
101
+ page_count?: unknown;
102
+ page_index?: unknown;
103
+ load_parents?: LoadParents | undefined;
104
+ load_parents_list?: string[] | undefined;
105
+ load_child?: LoadChild | undefined;
106
+ load_child_list?: string[] | undefined;
107
+ load_child_count?: LoadChildCount | undefined;
108
+ load_child_count_list?: string[] | undefined;
109
+ include_details?: Record<string, any> | undefined;
110
+ where_relations?: Record<string, any> | undefined;
111
+ order_by?: {
112
+ name: string;
113
+ field: string;
114
+ direction: OrderBy;
115
+ }[] | undefined;
116
+ include_master_data?: YesNo | undefined;
117
+ organisation_ids?: string[] | undefined;
118
+ fleet_incident_status_ids?: string[] | undefined;
119
+ }>;
120
+ type MasterFleetIncidentStatusQueryDTO = z.infer<typeof MasterFleetIncidentStatusQuerySchema>;
121
+ declare const toMasterFleetIncidentStatusPayload: (row: MasterFleetIncidentStatus) => MasterFleetIncidentStatusDTO;
122
+ declare const newMasterFleetIncidentStatusPayload: () => MasterFleetIncidentStatusDTO;
123
+ declare const findMasterFleetIncidentStatuses: (data: MasterFleetIncidentStatusQueryDTO) => Promise<FBR<MasterFleetIncidentStatus[]>>;
124
+ declare const createMasterFleetIncidentStatus: (data: MasterFleetIncidentStatusDTO) => Promise<SBR>;
125
+ declare const updateMasterFleetIncidentStatus: (id: string, data: MasterFleetIncidentStatusDTO) => Promise<SBR>;
126
+ declare const deleteMasterFleetIncidentStatus: (id: string) => Promise<SBR>;
127
+ declare const getMasterFleetIncidentStatusCache: (organisation_id: string) => Promise<FBR<MasterFleetIncidentStatus[]>>;
128
+
129
+ export { type MasterFleetIncidentStatus, type MasterFleetIncidentStatusDTO, type MasterFleetIncidentStatusQueryDTO, MasterFleetIncidentStatusQuerySchema, MasterFleetIncidentStatusSchema, createMasterFleetIncidentStatus, deleteMasterFleetIncidentStatus, findMasterFleetIncidentStatuses, getMasterFleetIncidentStatusCache, newMasterFleetIncidentStatusPayload, toMasterFleetIncidentStatusPayload, updateMasterFleetIncidentStatus };
@@ -1,6 +1,129 @@
1
- import '../../../core/Enums.js';
2
- import '../../../core/BaseResponse.js';
3
- import 'zod';
4
- export { io as MasterFleetIncidentType, iq as MasterFleetIncidentTypeDTO, is as MasterFleetIncidentTypeQueryDTO, ir as MasterFleetIncidentTypeQuerySchema, ip as MasterFleetIncidentTypeSchema, iw as createMasterFleetIncidentType, iy as deleteMasterFleetIncidentType, iv as findMasterFleetIncidentTypes, iz as getMasterFleetIncidentTypeCache, iu as newMasterFleetIncidentTypePayload, it as toMasterFleetIncidentTypePayload, ix as updateMasterFleetIncidentType } from '../../../user_organisation_service-CdoeXDR4.js';
1
+ import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
+ import { FBR, SBR } from '../../../core/BaseResponse.js';
3
+ import { z } from 'zod';
4
+ import { U as UserOrganisation } from '../../../user_organisation_service-DmtsKLFI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
7
+
8
+ interface MasterFleetIncidentType extends Record<string, unknown> {
9
+ fleet_incident_type_id: string;
10
+ fleet_incident_type: string;
11
+ description?: string;
12
+ status: Status;
13
+ added_date_time: string;
14
+ modified_date_time: string;
15
+ organisation_id?: string;
16
+ UserOrganisation?: UserOrganisation;
17
+ _count?: {
18
+ FleetIncidentManagement: number;
19
+ };
20
+ }
21
+ declare const MasterFleetIncidentTypeSchema: z.ZodObject<{
22
+ organisation_id: z.ZodEffects<z.ZodString, string, string>;
23
+ fleet_incident_type: z.ZodEffects<z.ZodString, string, string>;
24
+ description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
25
+ status: z.ZodType<Status, z.ZodTypeDef, Status>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ status: Status;
28
+ organisation_id: string;
29
+ description: string;
30
+ fleet_incident_type: string;
31
+ }, {
32
+ status: Status;
33
+ organisation_id: string;
34
+ fleet_incident_type: string;
35
+ description?: string | undefined;
36
+ }>;
37
+ type MasterFleetIncidentTypeDTO = z.infer<typeof MasterFleetIncidentTypeSchema>;
38
+ declare const MasterFleetIncidentTypeQuerySchema: z.ZodObject<{
39
+ search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
40
+ status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
41
+ paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
42
+ page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
43
+ page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
44
+ load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
45
+ load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
46
+ load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
47
+ load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
48
+ load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
49
+ load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
50
+ include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
51
+ where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
52
+ order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
53
+ name: z.ZodEffects<z.ZodString, string, string>;
54
+ field: z.ZodEffects<z.ZodString, string, string>;
55
+ direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ name: string;
58
+ field: string;
59
+ direction: OrderBy;
60
+ }, {
61
+ name: string;
62
+ field: string;
63
+ direction: OrderBy;
64
+ }>, "many">>>;
65
+ include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
66
+ date_format_id: z.ZodEffects<z.ZodString, string, string>;
67
+ time_zone_id: z.ZodEffects<z.ZodString, string, string>;
68
+ } & {
69
+ organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
70
+ fleet_incident_type_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ status: Status[];
73
+ search: string;
74
+ paging: PAGING;
75
+ page_count: number;
76
+ page_index: number;
77
+ load_parents: LoadParents;
78
+ load_parents_list: string[];
79
+ load_child: LoadChild;
80
+ load_child_list: string[];
81
+ load_child_count: LoadChildCount;
82
+ load_child_count_list: string[];
83
+ include_details: Record<string, any>;
84
+ where_relations: Record<string, any>;
85
+ order_by: {
86
+ name: string;
87
+ field: string;
88
+ direction: OrderBy;
89
+ }[];
90
+ include_master_data: YesNo;
91
+ date_format_id: string;
92
+ time_zone_id: string;
93
+ organisation_ids: string[];
94
+ fleet_incident_type_ids: string[];
95
+ }, {
96
+ date_format_id: string;
97
+ time_zone_id: string;
98
+ status?: Status[] | undefined;
99
+ search?: string | undefined;
100
+ paging?: PAGING | undefined;
101
+ page_count?: unknown;
102
+ page_index?: unknown;
103
+ load_parents?: LoadParents | undefined;
104
+ load_parents_list?: string[] | undefined;
105
+ load_child?: LoadChild | undefined;
106
+ load_child_list?: string[] | undefined;
107
+ load_child_count?: LoadChildCount | undefined;
108
+ load_child_count_list?: string[] | undefined;
109
+ include_details?: Record<string, any> | undefined;
110
+ where_relations?: Record<string, any> | undefined;
111
+ order_by?: {
112
+ name: string;
113
+ field: string;
114
+ direction: OrderBy;
115
+ }[] | undefined;
116
+ include_master_data?: YesNo | undefined;
117
+ organisation_ids?: string[] | undefined;
118
+ fleet_incident_type_ids?: string[] | undefined;
119
+ }>;
120
+ type MasterFleetIncidentTypeQueryDTO = z.infer<typeof MasterFleetIncidentTypeQuerySchema>;
121
+ declare const toMasterFleetIncidentTypePayload: (row: MasterFleetIncidentType) => MasterFleetIncidentTypeDTO;
122
+ declare const newMasterFleetIncidentTypePayload: () => MasterFleetIncidentTypeDTO;
123
+ declare const findMasterFleetIncidentTypes: (data: MasterFleetIncidentTypeQueryDTO) => Promise<FBR<MasterFleetIncidentType[]>>;
124
+ declare const createMasterFleetIncidentType: (data: MasterFleetIncidentTypeDTO) => Promise<SBR>;
125
+ declare const updateMasterFleetIncidentType: (id: string, data: MasterFleetIncidentTypeDTO) => Promise<SBR>;
126
+ declare const deleteMasterFleetIncidentType: (id: string) => Promise<SBR>;
127
+ declare const getMasterFleetIncidentTypeCache: (organisation_id: string) => Promise<FBR<MasterFleetIncidentType[]>>;
128
+
129
+ export { type MasterFleetIncidentType, type MasterFleetIncidentTypeDTO, type MasterFleetIncidentTypeQueryDTO, MasterFleetIncidentTypeQuerySchema, MasterFleetIncidentTypeSchema, createMasterFleetIncidentType, deleteMasterFleetIncidentType, findMasterFleetIncidentTypes, getMasterFleetIncidentTypeCache, newMasterFleetIncidentTypePayload, toMasterFleetIncidentTypePayload, updateMasterFleetIncidentType };