vms-nest-prisma-api-document 216.0.0 → 219.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 (109) hide show
  1. package/dist/core/Enums.d.ts +50 -1
  2. package/dist/core/Enums.js +59 -0
  3. package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
  4. package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
  5. package/dist/services/account/bookmark_service.d.ts +9 -9
  6. package/dist/services/account/notification_preferences.service.d.ts +1 -1
  7. package/dist/services/account/report_preferences.service.d.ts +1 -1
  8. package/dist/services/account/ticket_service.d.ts +1 -1
  9. package/dist/services/fleet/bus_mangement/bus_stop.d.ts +1 -1
  10. package/dist/services/fleet/bus_mangement/calender.d.ts +2 -2
  11. package/dist/services/fleet/bus_mangement/master_route.d.ts +1 -1
  12. package/dist/services/fleet/bus_mangement/notice_board.d.ts +1 -1
  13. package/dist/services/fleet/bus_mangement/student.d.ts +8 -8
  14. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
  15. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +8 -9
  16. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.js +1 -0
  17. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +3 -4
  18. package/dist/services/fleet/incident_management/incident_management_service.d.ts +603 -0
  19. package/dist/services/fleet/incident_management/incident_management_service.js +746 -0
  20. package/dist/services/fleet/issue_management/issue_management_service.d.ts +69 -59
  21. package/dist/services/fleet/issue_management/issue_management_service.js +100 -91
  22. package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +400 -0
  23. package/dist/services/fleet/service_management/fleet_service_management_service.js +573 -0
  24. package/dist/services/fleet/service_management/fleet_service_management_task_service.d.ts +145 -0
  25. package/dist/services/fleet/service_management/fleet_service_management_task_service.js +326 -0
  26. package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.d.ts +4 -288
  27. package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.js +107 -43
  28. package/dist/services/fleet/vendor_management/fleet_vendor_service.d.ts +5 -1219
  29. package/dist/services/fleet/vendor_management/fleet_vendor_service.js +161 -144
  30. package/dist/services/fleet/vendor_management/fleet_vendor_service_center.d.ts +4 -312
  31. package/dist/services/fleet/vendor_management/fleet_vendor_service_center.js +58 -55
  32. package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +3 -3
  33. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +6 -6
  34. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +7 -7
  35. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +2 -2
  36. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +5 -5
  37. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +8 -8
  38. package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
  39. package/dist/services/main/devices/master_device_service.d.ts +1 -1
  40. package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
  41. package/dist/services/main/sims/master_sim_service.d.ts +1 -1
  42. package/dist/services/main/users/auth_service.d.ts +1 -1
  43. package/dist/services/main/users/user_admin_service.d.ts +20 -20
  44. package/dist/services/main/users/user_organisation_service.d.ts +1 -1
  45. package/dist/services/main/users/user_service.d.ts +1 -1
  46. package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
  47. package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
  48. package/dist/services/main/vehicle/master_vehicle_service.js +108 -47
  49. package/dist/services/master/bus/master_class_service.d.ts +1 -1
  50. package/dist/services/master/bus/master_program_service.d.ts +1 -1
  51. package/dist/services/master/bus/master_relationship_service.d.ts +1 -1
  52. package/dist/services/master/bus/master_section_service.d.ts +1 -1
  53. package/dist/services/master/bus/master_semester_service.d.ts +1 -1
  54. package/dist/services/master/bus/master_stream_service.d.ts +1 -1
  55. package/dist/services/master/bus/master_year_service.d.ts +1 -1
  56. package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
  57. package/dist/services/master/device/master_device_model_service.d.ts +1 -1
  58. package/dist/services/master/device/master_device_type_service.d.ts +1 -1
  59. package/dist/services/master/expense/master_expense_name_service.d.ts +9 -9
  60. package/dist/services/master/expense/master_expense_type_service.d.ts +3 -3
  61. package/dist/services/master/expense/master_fuel_company_service.d.ts +4 -140
  62. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +4 -124
  63. package/dist/services/master/expense/master_vendor_tag_service.d.ts +4 -124
  64. package/dist/services/master/expense/master_vendor_type_service.d.ts +4 -124
  65. package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +6 -6
  66. package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +4 -4
  67. package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +4 -4
  68. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +4 -4
  69. package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +6 -6
  70. package/dist/services/master/main/master_main_country_service.d.ts +1 -1
  71. package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
  72. package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
  73. package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
  74. package/dist/services/master/main/master_main_landmark_service.d.ts +4 -158
  75. package/dist/services/master/main/master_main_language_service.d.ts +1 -1
  76. package/dist/services/master/main/master_main_state_service.d.ts +1 -1
  77. package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
  78. package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
  79. package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
  80. package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
  81. package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
  82. package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
  83. package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
  84. package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
  85. package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
  86. package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
  87. package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
  88. package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
  89. package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
  90. package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
  91. package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
  92. package/dist/services/master/tyre/master_tyre_model_service.d.ts +7 -7
  93. package/dist/services/master/user/master_user_role_service.d.ts +1 -1
  94. package/dist/services/master/user/master_user_status_service.d.ts +1 -1
  95. package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
  96. package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
  97. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +1 -1
  98. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
  99. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
  100. package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
  101. package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
  102. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
  103. package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
  104. package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
  105. package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
  106. package/dist/services/website/contact_us_detail_service.d.ts +1 -1
  107. package/dist/services/website/static_pages_service.d.ts +1 -1
  108. package/dist/{user_organisation_service-C186BM9A.d.ts → user_organisation_service-Bkq3GOUs.d.ts} +4915 -2363
  109. package/package.json +1 -1
@@ -1,314 +1,6 @@
1
- import { YesNo, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../../core/Enums.js';
2
- import { FBR, SBR } from '../../../core/BaseResponse.js';
3
- import { z } from 'zod';
4
- import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
5
- import { FleetVendor } from './fleet_vendor_service.js';
6
- import { U as UserOrganisation } from '../../../user_organisation_service-C186BM9A.js';
1
+ import '../../../core/Enums.js';
2
+ import '../../../core/BaseResponse.js';
3
+ import 'zod';
4
+ export { g as FleetVendorServiceCenter, hv as FleetVendorServiceCenterDTO, hx as FleetVendorServiceCenterQueryDTO, hw as FleetVendorServiceCenterQuerySchema, hu as FleetVendorServiceCenterSchema, hB as createFleetVendorServiceCenter, hD as deleteFleetVendorServiceCenter, hA as findFleetVendorServiceCenter, hz as newFleetVendorServiceCenterPayload, hy as toFleetVendorServiceCenterPayload, hC as updateFleetVendorServiceCenter } from '../../../user_organisation_service-Bkq3GOUs.js';
7
5
  import '../../../zod_utils/zod_base_schema.js';
8
- import '../../master/expense/master_vendor_type_service.js';
9
- import '../../master/expense/master_vendor_tag_service.js';
10
- import '../../master/expense/master_vendor_document_type_service.js';
11
6
  import '../../master/main/master_main_sim_provider_service.js';
12
-
13
- interface FleetVendorServiceCenter extends Record<string, unknown> {
14
- service_center_id: string;
15
- center_name: string;
16
- center_code?: string;
17
- is_company_owned: YesNo;
18
- oem_authorised: YesNo;
19
- oem_brand_name?: string;
20
- service_brand_name?: string;
21
- center_notes?: string;
22
- is_preferred_center: YesNo;
23
- operating_hours?: string;
24
- is_24x7: YesNo;
25
- supports_credit: YesNo;
26
- pickup_and_drop: YesNo;
27
- roadside_assistance: YesNo;
28
- warranty_repairs: YesNo;
29
- supported_service_types?: string;
30
- supported_vehicle_types?: string;
31
- has_alignment_bay: YesNo;
32
- has_body_shop: YesNo;
33
- has_paint_booth: YesNo;
34
- has_wash_bay: YesNo;
35
- has_tow_truck: YesNo;
36
- service_capacity_per_day?: number;
37
- eta_regular_service_hours?: number;
38
- eta_repair_hours?: number;
39
- center_email?: string;
40
- center_mobile?: string;
41
- center_phone?: string;
42
- website_url?: string;
43
- address_line1?: string;
44
- address_line2?: string;
45
- locality_landmark?: string;
46
- neighborhood?: string;
47
- town_city?: string;
48
- district_county?: string;
49
- state_province_region?: string;
50
- postal_code?: string;
51
- country?: string;
52
- country_code?: string;
53
- latitude?: number;
54
- longitude?: number;
55
- google_location?: string;
56
- landmark_id?: string;
57
- MasterMainLandMark?: MasterMainLandmark;
58
- landmark_location?: string;
59
- landmark_distance?: number;
60
- status: Status;
61
- added_date_time: string;
62
- modified_date_time: string;
63
- organisation_id: string;
64
- UserOrganisation?: UserOrganisation;
65
- vendor_id: string;
66
- FleetVendor?: FleetVendor;
67
- vendor_name?: string;
68
- _count?: {
69
- FleetServiceJobCard: number;
70
- };
71
- }
72
- declare const FleetVendorServiceCenterSchema: z.ZodObject<{
73
- organisation_id: z.ZodEffects<z.ZodString, string, string>;
74
- vendor_id: z.ZodEffects<z.ZodString, string, string>;
75
- center_name: z.ZodEffects<z.ZodString, string, string>;
76
- center_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
77
- is_company_owned: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
78
- oem_authorised: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
79
- oem_brand_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
80
- service_brand_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
81
- operating_hours: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
82
- is_24x7: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
83
- supports_credit: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
84
- pickup_and_drop: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
85
- roadside_assistance: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
86
- warranty_repairs: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
87
- supported_service_types: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
88
- supported_vehicle_types: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
89
- has_alignment_bay: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
90
- has_body_shop: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
91
- has_paint_booth: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
92
- has_wash_bay: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
93
- has_tow_truck: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
94
- service_capacity_per_day: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
95
- eta_regular_service_hours: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
96
- eta_repair_hours: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
97
- center_email: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
98
- center_mobile: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
99
- center_phone: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
100
- website_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
101
- address_line1: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
102
- address_line2: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
103
- locality_landmark: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
104
- neighborhood: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
105
- town_city: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
106
- district_county: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
107
- state_province_region: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
108
- postal_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
109
- country: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
110
- country_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
111
- latitude: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
112
- longitude: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
113
- google_location: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
114
- center_notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
115
- is_preferred_center: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
116
- status: z.ZodType<Status, z.ZodTypeDef, Status>;
117
- }, "strip", z.ZodTypeAny, {
118
- vendor_id: string;
119
- status: Status;
120
- organisation_id: string;
121
- address_line1: string;
122
- address_line2: string;
123
- locality_landmark: string;
124
- neighborhood: string;
125
- town_city: string;
126
- district_county: string;
127
- state_province_region: string;
128
- postal_code: string;
129
- country: string;
130
- country_code: string;
131
- google_location: string;
132
- is_company_owned: YesNo;
133
- operating_hours: string;
134
- is_24x7: YesNo;
135
- supports_credit: YesNo;
136
- website_url: string;
137
- center_name: string;
138
- center_code: string;
139
- oem_authorised: YesNo;
140
- oem_brand_name: string;
141
- service_brand_name: string;
142
- center_notes: string;
143
- is_preferred_center: YesNo;
144
- pickup_and_drop: YesNo;
145
- roadside_assistance: YesNo;
146
- warranty_repairs: YesNo;
147
- supported_service_types: string;
148
- supported_vehicle_types: string;
149
- has_alignment_bay: YesNo;
150
- has_body_shop: YesNo;
151
- has_paint_booth: YesNo;
152
- has_wash_bay: YesNo;
153
- has_tow_truck: YesNo;
154
- service_capacity_per_day: number;
155
- eta_regular_service_hours: number;
156
- eta_repair_hours: number;
157
- center_email: string;
158
- center_mobile: string;
159
- center_phone: string;
160
- latitude?: number | undefined;
161
- longitude?: number | undefined;
162
- }, {
163
- vendor_id: string;
164
- status: Status;
165
- organisation_id: string;
166
- is_company_owned: YesNo;
167
- is_24x7: YesNo;
168
- supports_credit: YesNo;
169
- center_name: string;
170
- oem_authorised: YesNo;
171
- is_preferred_center: YesNo;
172
- pickup_and_drop: YesNo;
173
- roadside_assistance: YesNo;
174
- warranty_repairs: YesNo;
175
- has_alignment_bay: YesNo;
176
- has_body_shop: YesNo;
177
- has_paint_booth: YesNo;
178
- has_wash_bay: YesNo;
179
- has_tow_truck: YesNo;
180
- address_line1?: string | undefined;
181
- address_line2?: string | undefined;
182
- locality_landmark?: string | undefined;
183
- neighborhood?: string | undefined;
184
- town_city?: string | undefined;
185
- district_county?: string | undefined;
186
- state_province_region?: string | undefined;
187
- postal_code?: string | undefined;
188
- country?: string | undefined;
189
- country_code?: string | undefined;
190
- latitude?: unknown;
191
- longitude?: unknown;
192
- google_location?: string | undefined;
193
- operating_hours?: string | undefined;
194
- website_url?: string | undefined;
195
- center_code?: string | undefined;
196
- oem_brand_name?: string | undefined;
197
- service_brand_name?: string | undefined;
198
- center_notes?: string | undefined;
199
- supported_service_types?: string | undefined;
200
- supported_vehicle_types?: string | undefined;
201
- service_capacity_per_day?: unknown;
202
- eta_regular_service_hours?: unknown;
203
- eta_repair_hours?: unknown;
204
- center_email?: string | undefined;
205
- center_mobile?: string | undefined;
206
- center_phone?: string | undefined;
207
- }>;
208
- type FleetVendorServiceCenterDTO = z.infer<typeof FleetVendorServiceCenterSchema>;
209
- declare const FleetVendorServiceCenterQuerySchema: z.ZodObject<{
210
- search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
211
- status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
212
- paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
213
- page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
214
- page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
215
- load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
216
- load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
217
- load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
218
- load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
219
- load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
220
- load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
221
- include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
222
- where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
223
- order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
224
- name: z.ZodEffects<z.ZodString, string, string>;
225
- field: z.ZodEffects<z.ZodString, string, string>;
226
- direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
227
- }, "strip", z.ZodTypeAny, {
228
- name: string;
229
- field: string;
230
- direction: OrderBy;
231
- }, {
232
- name: string;
233
- field: string;
234
- direction: OrderBy;
235
- }>, "many">>>;
236
- include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
237
- date_format_id: z.ZodEffects<z.ZodString, string, string>;
238
- time_zone_id: z.ZodEffects<z.ZodString, string, string>;
239
- } & {
240
- organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
241
- vendor_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
242
- landmark_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
243
- service_center_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
244
- is_company_owned: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
245
- oem_authorised: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
246
- is_preferred_station: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
247
- }, "strip", z.ZodTypeAny, {
248
- status: Status[];
249
- search: string;
250
- paging: PAGING;
251
- page_count: number;
252
- page_index: number;
253
- load_parents: LoadParents;
254
- load_parents_list: string[];
255
- load_child: LoadChild;
256
- load_child_list: string[];
257
- load_child_count: LoadChildCount;
258
- load_child_count_list: string[];
259
- include_details: Record<string, any>;
260
- where_relations: Record<string, any>;
261
- order_by: {
262
- name: string;
263
- field: string;
264
- direction: OrderBy;
265
- }[];
266
- include_master_data: YesNo;
267
- date_format_id: string;
268
- time_zone_id: string;
269
- organisation_ids: string[];
270
- vendor_ids: string[];
271
- landmark_ids: string[];
272
- is_company_owned: YesNo[];
273
- is_preferred_station: YesNo[];
274
- oem_authorised: YesNo[];
275
- service_center_ids: string[];
276
- }, {
277
- date_format_id: string;
278
- time_zone_id: string;
279
- status?: Status[] | undefined;
280
- search?: string | undefined;
281
- paging?: PAGING | undefined;
282
- page_count?: unknown;
283
- page_index?: unknown;
284
- load_parents?: LoadParents | undefined;
285
- load_parents_list?: string[] | undefined;
286
- load_child?: LoadChild | undefined;
287
- load_child_list?: string[] | undefined;
288
- load_child_count?: LoadChildCount | undefined;
289
- load_child_count_list?: string[] | undefined;
290
- include_details?: Record<string, any> | undefined;
291
- where_relations?: Record<string, any> | undefined;
292
- order_by?: {
293
- name: string;
294
- field: string;
295
- direction: OrderBy;
296
- }[] | undefined;
297
- include_master_data?: YesNo | undefined;
298
- organisation_ids?: string[] | undefined;
299
- vendor_ids?: string[] | undefined;
300
- landmark_ids?: string[] | undefined;
301
- is_company_owned?: YesNo[] | undefined;
302
- is_preferred_station?: YesNo[] | undefined;
303
- oem_authorised?: YesNo[] | undefined;
304
- service_center_ids?: string[] | undefined;
305
- }>;
306
- type FleetVendorServiceCenterQueryDTO = z.infer<typeof FleetVendorServiceCenterQuerySchema>;
307
- declare const toFleetVendorServiceCenterPayload: (vendorServiceCenter: FleetVendorServiceCenter) => FleetVendorServiceCenterDTO;
308
- declare const newFleetVendorServiceCenterPayload: () => FleetVendorServiceCenterDTO;
309
- declare const findFleetVendorServiceCenter: (data: FleetVendorServiceCenterQueryDTO) => Promise<FBR<FleetVendorServiceCenter[]>>;
310
- declare const createFleetVendorServiceCenter: (data: FleetVendorServiceCenterDTO) => Promise<SBR>;
311
- declare const updateFleetVendorServiceCenter: (id: string, data: FleetVendorServiceCenterDTO) => Promise<SBR>;
312
- declare const deleteFleetVendorServiceCenter: (id: string) => Promise<SBR>;
313
-
314
- export { type FleetVendorServiceCenter, type FleetVendorServiceCenterDTO, type FleetVendorServiceCenterQueryDTO, FleetVendorServiceCenterQuerySchema, FleetVendorServiceCenterSchema, createFleetVendorServiceCenter, deleteFleetVendorServiceCenter, findFleetVendorServiceCenter, newFleetVendorServiceCenterPayload, toFleetVendorServiceCenterPayload, updateFleetVendorServiceCenter };
@@ -268,32 +268,36 @@ var FleetVendorServiceCenterSchema = z3.object({
268
268
  // ✅ Single-Selection -> UserOrganisation
269
269
  vendor_id: single_select_mandatory("FleetVendor"),
270
270
  // ✅ Single-Selection -> FleetVendor
271
- center_name: stringMandatory("Center Name", 3, 150),
272
- center_code: stringOptional("Center Code", 0, 50),
271
+ // Basic Info
272
+ center_name: stringMandatory("Center Name", 3, 100),
273
+ center_code: stringOptional("Center Code", 0, 100),
273
274
  is_company_owned: enumMandatory("Is Company Owned", YesNo, "No" /* No */),
274
275
  oem_authorised: enumMandatory("OEM Authorised", YesNo, "No" /* No */),
275
- oem_brand_name: stringOptional("OEM Brand Name", 0, 150),
276
- service_brand_name: stringOptional("Service Brand Name", 0, 150),
277
- operating_hours: stringOptional("Operating Hours", 0, 200),
276
+ oem_brand_name: stringOptional("OEM Brand Name", 0, 100),
277
+ service_brand_name: stringOptional("Service Brand Name", 0, 100),
278
+ // Operational Details
279
+ operating_hours: stringOptional("Operating Hours", 0, 100),
278
280
  is_24x7: enumMandatory("Is 24x7", YesNo, "No" /* No */),
279
281
  supports_credit: enumMandatory("Supports Credit", YesNo, "No" /* No */),
280
282
  pickup_and_drop: enumMandatory("Pickup And Drop", YesNo, "No" /* No */),
281
283
  roadside_assistance: enumMandatory("Roadside Assistance", YesNo, "No" /* No */),
282
284
  warranty_repairs: enumMandatory("Warranty Repairs", YesNo, "No" /* No */),
283
- supported_service_types: stringOptional("Supported Service Types", 0, 300),
284
- supported_vehicle_types: stringOptional("Supported Vehicle Types", 0, 200),
285
+ supported_service_types: stringOptional("Supported Service Types", 0, 500),
286
+ supported_vehicle_types: stringOptional("Supported Vehicle Types", 0, 500),
285
287
  has_alignment_bay: enumMandatory("Has Alignment Bay", YesNo, "No" /* No */),
286
288
  has_body_shop: enumMandatory("Has Body Shop", YesNo, "No" /* No */),
287
- has_paint_booth: enumMandatory("Has Paint Booth", YesNo, "Yes" /* Yes */),
289
+ has_paint_booth: enumMandatory("Has Paint Booth", YesNo, "No" /* No */),
288
290
  has_wash_bay: enumMandatory("Has Wash Bay", YesNo, "Yes" /* Yes */),
289
- has_tow_truck: enumMandatory("Has Tow Truck", YesNo, "Yes" /* Yes */),
291
+ has_tow_truck: enumMandatory("Has Tow Truck", YesNo, "No" /* No */),
290
292
  service_capacity_per_day: numberOptional("Service Capacity Per Day", 0),
291
293
  eta_regular_service_hours: numberOptional("ETA Regular Service Hours"),
292
294
  eta_repair_hours: numberOptional("ETA Repair Hours"),
295
+ // Contact Info
293
296
  center_email: stringOptional("Center Email", 0, 100),
294
297
  center_mobile: stringOptional("Center Mobile", 0, 15),
295
298
  center_phone: stringOptional("Center Phone", 0, 15),
296
299
  website_url: stringOptional("Website URL", 0, 200),
300
+ // Address
297
301
  address_line1: stringOptional("Address Line 1", 0, 150),
298
302
  address_line2: stringOptional("Address Line 2", 0, 150),
299
303
  locality_landmark: stringOptional("Locality / Landmark", 0, 150),
@@ -308,6 +312,7 @@ var FleetVendorServiceCenterSchema = z3.object({
308
312
  latitude: doubleOptionalLatLng("Latitude"),
309
313
  longitude: doubleOptionalLatLng("Longitude"),
310
314
  google_location: stringOptional("Google Location", 0, 500),
315
+ // Notes
311
316
  center_notes: stringOptional("Center Notes", 0, 2e3),
312
317
  is_preferred_center: enumMandatory("Is Preferred Center", YesNo, "No" /* No */),
313
318
  status: enumMandatory("Status", Status, "Active" /* Active */)
@@ -317,64 +322,62 @@ var FleetVendorServiceCenterQuerySchema = BaseQuerySchema.extend({
317
322
  // ✅ Single-Selection -> UserOrganisation
318
323
  vendor_ids: multi_select_optional("FleetVendor"),
319
324
  // ✅ Single-Selection -> FleetVendor
320
- landmark_ids: multi_select_optional("MasterMainLandMark"),
321
- // ✅ Single-Selection -> MasterMainLandMark
322
325
  service_center_ids: multi_select_optional("FleetVendorServiceCenter"),
323
326
  // ✅ Single-Selection -> FleetVendorServiceCenter
324
327
  is_company_owned: enumArrayOptional("Is Company Owned", YesNo),
325
328
  oem_authorised: enumArrayOptional("OEM Authorised", YesNo),
326
329
  is_preferred_station: enumArrayOptional("Is Preferred Station", YesNo)
327
330
  });
328
- var toFleetVendorServiceCenterPayload = (vendorServiceCenter) => ({
331
+ var toFleetVendorServiceCenterPayload = (row) => ({
329
332
  // Basic Info
330
- center_name: vendorServiceCenter.center_name || "",
331
- center_code: vendorServiceCenter.center_code || "",
332
- is_company_owned: vendorServiceCenter.is_company_owned || "No" /* No */,
333
- oem_authorised: vendorServiceCenter.oem_authorised || "No" /* No */,
334
- oem_brand_name: vendorServiceCenter.oem_brand_name || "",
335
- service_brand_name: vendorServiceCenter.service_brand_name || "",
333
+ center_name: row.center_name || "",
334
+ center_code: row.center_code || "",
335
+ is_company_owned: row.is_company_owned || "No" /* No */,
336
+ oem_authorised: row.oem_authorised || "No" /* No */,
337
+ oem_brand_name: row.oem_brand_name || "",
338
+ service_brand_name: row.service_brand_name || "",
336
339
  // Notes
337
- center_notes: vendorServiceCenter.center_notes || "",
338
- is_preferred_center: vendorServiceCenter.is_preferred_center || "No" /* No */,
340
+ center_notes: row.center_notes || "",
341
+ is_preferred_center: row.is_preferred_center || "No" /* No */,
339
342
  // Operational Details
340
- operating_hours: vendorServiceCenter.operating_hours || "",
341
- is_24x7: vendorServiceCenter.is_24x7 || "No" /* No */,
342
- supports_credit: vendorServiceCenter.supports_credit || "No" /* No */,
343
- pickup_and_drop: vendorServiceCenter.pickup_and_drop || "No" /* No */,
344
- roadside_assistance: vendorServiceCenter.roadside_assistance || "No" /* No */,
345
- warranty_repairs: vendorServiceCenter.warranty_repairs || "No" /* No */,
346
- supported_service_types: vendorServiceCenter.supported_service_types || "",
347
- supported_vehicle_types: vendorServiceCenter.supported_vehicle_types || "",
348
- has_alignment_bay: vendorServiceCenter.has_alignment_bay || "No" /* No */,
349
- has_body_shop: vendorServiceCenter.has_body_shop || "No" /* No */,
350
- has_paint_booth: vendorServiceCenter.has_paint_booth || "No" /* No */,
351
- has_wash_bay: vendorServiceCenter.has_wash_bay || "Yes" /* Yes */,
352
- has_tow_truck: vendorServiceCenter.has_tow_truck || "No" /* No */,
353
- service_capacity_per_day: vendorServiceCenter.service_capacity_per_day || 0,
354
- eta_regular_service_hours: vendorServiceCenter.eta_regular_service_hours || 0,
355
- eta_repair_hours: vendorServiceCenter.eta_repair_hours || 0,
343
+ operating_hours: row.operating_hours || "",
344
+ is_24x7: row.is_24x7 || "No" /* No */,
345
+ supports_credit: row.supports_credit || "No" /* No */,
346
+ pickup_and_drop: row.pickup_and_drop || "No" /* No */,
347
+ roadside_assistance: row.roadside_assistance || "No" /* No */,
348
+ warranty_repairs: row.warranty_repairs || "No" /* No */,
349
+ supported_service_types: row.supported_service_types || "",
350
+ supported_vehicle_types: row.supported_vehicle_types || "",
351
+ has_alignment_bay: row.has_alignment_bay || "No" /* No */,
352
+ has_body_shop: row.has_body_shop || "No" /* No */,
353
+ has_paint_booth: row.has_paint_booth || "No" /* No */,
354
+ has_wash_bay: row.has_wash_bay || "Yes" /* Yes */,
355
+ has_tow_truck: row.has_tow_truck || "No" /* No */,
356
+ service_capacity_per_day: row.service_capacity_per_day || 0,
357
+ eta_regular_service_hours: row.eta_regular_service_hours || 0,
358
+ eta_repair_hours: row.eta_repair_hours || 0,
356
359
  // Contact Info
357
- center_email: vendorServiceCenter.center_email || "",
358
- center_mobile: vendorServiceCenter.center_mobile || "",
359
- center_phone: vendorServiceCenter.center_phone || "",
360
- website_url: vendorServiceCenter.website_url || "",
360
+ center_email: row.center_email || "",
361
+ center_mobile: row.center_mobile || "",
362
+ center_phone: row.center_phone || "",
363
+ website_url: row.website_url || "",
361
364
  // Address Details
362
- address_line1: vendorServiceCenter.address_line1 || "",
363
- address_line2: vendorServiceCenter.address_line2 || "",
364
- locality_landmark: vendorServiceCenter.locality_landmark || "",
365
- neighborhood: vendorServiceCenter.neighborhood || "",
366
- town_city: vendorServiceCenter.town_city || "",
367
- district_county: vendorServiceCenter.district_county || "",
368
- state_province_region: vendorServiceCenter.state_province_region || "",
369
- postal_code: vendorServiceCenter.postal_code || "",
370
- country: vendorServiceCenter.country || "",
371
- country_code: vendorServiceCenter.country_code || "",
365
+ address_line1: row.address_line1 || "",
366
+ address_line2: row.address_line2 || "",
367
+ locality_landmark: row.locality_landmark || "",
368
+ neighborhood: row.neighborhood || "",
369
+ town_city: row.town_city || "",
370
+ district_county: row.district_county || "",
371
+ state_province_region: row.state_province_region || "",
372
+ postal_code: row.postal_code || "",
373
+ country: row.country || "",
374
+ country_code: row.country_code || "",
372
375
  // Location Details
373
- latitude: vendorServiceCenter.latitude || 0,
374
- longitude: vendorServiceCenter.longitude || 0,
375
- google_location: vendorServiceCenter.google_location || "",
376
- organisation_id: vendorServiceCenter.organisation_id || "",
377
- vendor_id: vendorServiceCenter.vendor_id || "",
376
+ latitude: row.latitude || 0,
377
+ longitude: row.longitude || 0,
378
+ google_location: row.google_location || "",
379
+ organisation_id: row.organisation_id || "",
380
+ vendor_id: row.vendor_id || "",
378
381
  status: "Active" /* Active */
379
382
  });
380
383
  var newFleetVendorServiceCenterPayload = () => ({
@@ -1,7 +1,7 @@
1
1
  import { GeofencePurposeType, GeofenceType, 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-C186BM9A.js';
4
+ import { U as UserOrganisation } from '../../../../user_organisation_service-Bkq3GOUs.js';
5
5
  import '../../../../zod_utils/zod_base_schema.js';
6
6
  import '../../../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -85,6 +85,7 @@ declare const GPSGeofenceSchema: z.ZodObject<{
85
85
  status: Status;
86
86
  organisation_id: string;
87
87
  country_code: string;
88
+ google_location: string;
88
89
  address_line1: string;
89
90
  address_line2: string;
90
91
  locality_landmark: string;
@@ -102,7 +103,6 @@ declare const GPSGeofenceSchema: z.ZodObject<{
102
103
  latitude: number;
103
104
  longitude: number;
104
105
  }[];
105
- google_location: string;
106
106
  latitude?: number | undefined;
107
107
  longitude?: number | undefined;
108
108
  radius_m?: number | undefined;
@@ -116,6 +116,7 @@ declare const GPSGeofenceSchema: z.ZodObject<{
116
116
  country_code?: string | undefined;
117
117
  latitude?: unknown;
118
118
  longitude?: unknown;
119
+ google_location?: string | undefined;
119
120
  address_line1?: string | undefined;
120
121
  address_line2?: string | undefined;
121
122
  locality_landmark?: string | undefined;
@@ -132,7 +133,6 @@ declare const GPSGeofenceSchema: z.ZodObject<{
132
133
  latitude?: unknown;
133
134
  longitude?: unknown;
134
135
  }[] | undefined;
135
- google_location?: string | undefined;
136
136
  }>;
137
137
  type GPSGeofenceDTO = z.infer<typeof GPSGeofenceSchema>;
138
138
  declare const GPSGeofenceQuerySchema: z.ZodObject<{
@@ -1,7 +1,7 @@
1
1
  import { GeofenceStatusType, 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, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-C186BM9A.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-Bkq3GOUs.js';
5
5
  import { GPSGeofence } from './gps_geofence_service.js';
6
6
  import '../../../../zod_utils/zod_base_schema.js';
7
7
  import '../../../master/main/master_main_sim_provider_service.js';
@@ -36,23 +36,23 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
36
36
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
37
37
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
38
38
  }, "strip", z.ZodTypeAny, {
39
+ geofence_status_type: GeofenceStatusType;
40
+ geofence_time: string;
39
41
  status: Status;
40
42
  organisation_id: string;
41
43
  vehicle_id: string;
42
44
  driver_id: string;
43
45
  gps_geofence_id: string;
44
46
  time_zone_id: string;
47
+ }, {
45
48
  geofence_status_type: GeofenceStatusType;
46
49
  geofence_time: string;
47
- }, {
48
50
  status: Status;
49
51
  organisation_id: string;
50
52
  vehicle_id: string;
51
53
  driver_id: string;
52
54
  gps_geofence_id: string;
53
55
  time_zone_id: string;
54
- geofence_status_type: GeofenceStatusType;
55
- geofence_time: string;
56
56
  }>;
57
57
  type GPSGeofenceTransactionDTO = z.infer<typeof GPSGeofenceTransactionSchema>;
58
58
  declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
@@ -94,6 +94,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
94
94
  from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
95
95
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
96
96
  }, "strip", z.ZodTypeAny, {
97
+ geofence_status_type: GeofenceStatusType[];
97
98
  status: Status[];
98
99
  time_zone_id: string;
99
100
  search: string;
@@ -121,12 +122,12 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
121
122
  gps_geofence_ids: string[];
122
123
  from_date: string;
123
124
  to_date: string;
124
- geofence_status_type: GeofenceStatusType[];
125
125
  }, {
126
126
  time_zone_id: string;
127
127
  date_format_id: string;
128
128
  from_date: string;
129
129
  to_date: string;
130
+ geofence_status_type?: GeofenceStatusType[] | undefined;
130
131
  status?: Status[] | undefined;
131
132
  search?: string | undefined;
132
133
  paging?: PAGING | undefined;
@@ -150,7 +151,6 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
150
151
  vehicle_ids?: string[] | undefined;
151
152
  driver_ids?: string[] | undefined;
152
153
  gps_geofence_ids?: string[] | undefined;
153
- geofence_status_type?: GeofenceStatusType[] | undefined;
154
154
  }>;
155
155
  type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
156
156
  declare const toGPSGeofenceTransactionPayload: (data: GPSGeofenceTransaction) => GPSGeofenceTransactionDTO;
@@ -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, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-C186BM9A.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-Bkq3GOUs.js';
5
5
  import { GPSGeofence } from './gps_geofence_service.js';
6
6
  import { GPSGeofenceTransaction } from './gps_geofence_transaction_service.js';
7
7
  import '../../../../zod_utils/zod_base_schema.js';
@@ -46,27 +46,27 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
46
46
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
47
47
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
48
48
  }, "strip", z.ZodTypeAny, {
49
- geofence_enter_date_time: string;
50
- geofence_exit_date_time: string;
51
- duration_seconds: number;
52
49
  status: Status;
53
50
  organisation_id: string;
54
51
  vehicle_id: string;
55
52
  driver_id: string;
56
53
  gps_geofence_id: string;
54
+ time_zone_id: string;
55
+ geofence_enter_date_time: string;
56
+ geofence_exit_date_time: string;
57
+ duration_seconds: number;
57
58
  enter_gps_geofence_transaction_id: string;
58
59
  exit_gps_geofence_transaction_id: string;
59
- time_zone_id: string;
60
60
  }, {
61
- geofence_enter_date_time: string;
62
61
  status: Status;
63
62
  organisation_id: string;
64
63
  vehicle_id: string;
65
64
  driver_id: string;
66
65
  gps_geofence_id: string;
66
+ time_zone_id: string;
67
+ geofence_enter_date_time: string;
67
68
  enter_gps_geofence_transaction_id: string;
68
69
  exit_gps_geofence_transaction_id: string;
69
- time_zone_id: string;
70
70
  geofence_exit_date_time?: string | undefined;
71
71
  duration_seconds?: unknown;
72
72
  }>;
@@ -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, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-C186BM9A.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-Bkq3GOUs.js';
5
5
  import '../../../../zod_utils/zod_base_schema.js';
6
6
  import '../../../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -55,12 +55,12 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
55
55
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
56
56
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
57
57
  }, "strip", z.ZodTypeAny, {
58
- duration_seconds: number;
59
58
  status: Status;
60
59
  organisation_id: string;
61
60
  vehicle_id: string;
62
61
  driver_id: string;
63
62
  time_zone_id: string;
63
+ duration_seconds: number;
64
64
  from_geofence_exit_date_time: string;
65
65
  to_geofence_enter_date_time: string;
66
66
  travel_duration_seconds: number;