vms-nest-prisma-api-document 6.0.6 → 6.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/services/account/alert_service.d.ts +32 -32
- package/dist/services/account/bookmark_service.d.ts +11 -11
- package/dist/services/account/notification_service.d.ts +6 -6
- package/dist/services/account/ticket_service.d.ts +3 -3
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +4 -4
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.js +2 -2
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_data_service.d.ts +11 -11
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +10 -10
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +5 -5
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +3 -3
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +43 -43
- package/dist/services/main/devices/master_device_service.d.ts +1 -1
- package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
- package/dist/services/main/sims/master_sim_service.d.ts +1 -1
- package/dist/services/main/users/auth_service.d.ts +1 -1
- package/dist/services/main/users/user_organisation_service.d.ts +1 -1
- package/dist/services/main/users/user_service.d.ts +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
- package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
- package/dist/services/master/device/master_device_model_service.d.ts +1 -1
- package/dist/services/master/device/master_device_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_fuel_company_service.d.ts +6 -6
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +3 -3
- package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
- package/dist/services/master/main/master_main_country_service.d.ts +1 -1
- package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
- package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
- package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_state_service.d.ts +1 -1
- package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
- package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
- package/dist/services/master/user/master_user_role_service.d.ts +1 -1
- package/dist/services/master/user/master_user_status_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/dist/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/faq_service.d.ts +1 -1
- package/package.json +1 -1
- package/dist/{user_organisation_service-CBArMKRF.d.ts → user_organisation_service-_rBwGIT-.d.ts} +24 -24
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Module, SubModule, AlertType, AlertSubType, YesNo, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../user_organisation_service-_rBwGIT-.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -93,12 +93,6 @@ declare const AlertSchema: z.ZodObject<{
|
|
|
93
93
|
driver_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
94
94
|
gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
|
-
status: Status;
|
|
97
|
-
organisation_id: string;
|
|
98
|
-
user_id: string;
|
|
99
|
-
user_ids: string[];
|
|
100
|
-
vehicle_ids: string[];
|
|
101
|
-
driver_ids: string[];
|
|
102
96
|
module: Module;
|
|
103
97
|
sub_module: SubModule;
|
|
104
98
|
alert_type: AlertType;
|
|
@@ -118,18 +112,21 @@ declare const AlertSchema: z.ZodObject<{
|
|
|
118
112
|
all_trips: YesNo;
|
|
119
113
|
all_geofences: YesNo;
|
|
120
114
|
all_drivers: YesNo;
|
|
121
|
-
gps_geofence_ids: string[];
|
|
122
|
-
}, {
|
|
123
115
|
status: Status;
|
|
124
116
|
organisation_id: string;
|
|
125
117
|
user_id: string;
|
|
118
|
+
vehicle_ids: string[];
|
|
119
|
+
user_ids: string[];
|
|
120
|
+
driver_ids: string[];
|
|
121
|
+
gps_geofence_ids: string[];
|
|
122
|
+
}, {
|
|
126
123
|
module: Module;
|
|
127
124
|
sub_module: SubModule;
|
|
128
125
|
alert_type: AlertType;
|
|
129
126
|
alert_sub_type: AlertSubType;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
127
|
+
status: Status;
|
|
128
|
+
organisation_id: string;
|
|
129
|
+
user_id: string;
|
|
133
130
|
alert_key_1?: string | undefined;
|
|
134
131
|
alert_key_2?: string | undefined;
|
|
135
132
|
alert_key_3?: string | undefined;
|
|
@@ -145,6 +142,9 @@ declare const AlertSchema: z.ZodObject<{
|
|
|
145
142
|
all_trips?: YesNo | undefined;
|
|
146
143
|
all_geofences?: YesNo | undefined;
|
|
147
144
|
all_drivers?: YesNo | undefined;
|
|
145
|
+
vehicle_ids?: string[] | undefined;
|
|
146
|
+
user_ids?: string[] | undefined;
|
|
147
|
+
driver_ids?: string[] | undefined;
|
|
148
148
|
gps_geofence_ids?: string[] | undefined;
|
|
149
149
|
}>;
|
|
150
150
|
type AlertDTO = z.infer<typeof AlertSchema>;
|
|
@@ -192,7 +192,17 @@ declare const AlertQuerySchema: z.ZodObject<{
|
|
|
192
192
|
is_whatsapp: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
193
193
|
is_email: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
194
194
|
}, "strip", z.ZodTypeAny, {
|
|
195
|
+
module: Module.ABC[];
|
|
196
|
+
sub_module: SubModule.ABC[];
|
|
197
|
+
alert_type: AlertType.ABC[];
|
|
198
|
+
alert_sub_type: AlertSubType.ABC[];
|
|
199
|
+
is_edit: YesNo[];
|
|
200
|
+
is_push: YesNo[];
|
|
201
|
+
is_sms: YesNo[];
|
|
202
|
+
is_whatsapp: YesNo[];
|
|
203
|
+
is_email: YesNo[];
|
|
195
204
|
status: Status[];
|
|
205
|
+
user_ids: string[];
|
|
196
206
|
search: string;
|
|
197
207
|
paging: PAGING;
|
|
198
208
|
page_count: number;
|
|
@@ -214,21 +224,21 @@ declare const AlertQuerySchema: z.ZodObject<{
|
|
|
214
224
|
date_format_id: string;
|
|
215
225
|
time_zone_id: string;
|
|
216
226
|
organisation_ids: string[];
|
|
217
|
-
user_ids: string[];
|
|
218
|
-
module: Module.ABC[];
|
|
219
|
-
sub_module: SubModule.ABC[];
|
|
220
|
-
alert_type: AlertType.ABC[];
|
|
221
|
-
alert_sub_type: AlertSubType.ABC[];
|
|
222
|
-
is_edit: YesNo[];
|
|
223
|
-
is_push: YesNo[];
|
|
224
|
-
is_sms: YesNo[];
|
|
225
|
-
is_whatsapp: YesNo[];
|
|
226
|
-
is_email: YesNo[];
|
|
227
227
|
alert_ids: string[];
|
|
228
228
|
}, {
|
|
229
229
|
date_format_id: string;
|
|
230
230
|
time_zone_id: string;
|
|
231
|
+
module?: Module.ABC[] | undefined;
|
|
232
|
+
sub_module?: SubModule.ABC[] | undefined;
|
|
233
|
+
alert_type?: AlertType.ABC[] | undefined;
|
|
234
|
+
alert_sub_type?: AlertSubType.ABC[] | undefined;
|
|
235
|
+
is_edit?: YesNo[] | undefined;
|
|
236
|
+
is_push?: YesNo[] | undefined;
|
|
237
|
+
is_sms?: YesNo[] | undefined;
|
|
238
|
+
is_whatsapp?: YesNo[] | undefined;
|
|
239
|
+
is_email?: YesNo[] | undefined;
|
|
231
240
|
status?: Status[] | undefined;
|
|
241
|
+
user_ids?: string[] | undefined;
|
|
232
242
|
search?: string | undefined;
|
|
233
243
|
paging?: PAGING | undefined;
|
|
234
244
|
page_count?: unknown;
|
|
@@ -248,16 +258,6 @@ declare const AlertQuerySchema: z.ZodObject<{
|
|
|
248
258
|
}[] | undefined;
|
|
249
259
|
include_master_data?: YesNo | undefined;
|
|
250
260
|
organisation_ids?: string[] | undefined;
|
|
251
|
-
user_ids?: string[] | undefined;
|
|
252
|
-
module?: Module.ABC[] | undefined;
|
|
253
|
-
sub_module?: SubModule.ABC[] | undefined;
|
|
254
|
-
alert_type?: AlertType.ABC[] | undefined;
|
|
255
|
-
alert_sub_type?: AlertSubType.ABC[] | undefined;
|
|
256
|
-
is_edit?: YesNo[] | undefined;
|
|
257
|
-
is_push?: YesNo[] | undefined;
|
|
258
|
-
is_sms?: YesNo[] | undefined;
|
|
259
|
-
is_whatsapp?: YesNo[] | undefined;
|
|
260
|
-
is_email?: YesNo[] | undefined;
|
|
261
261
|
alert_ids?: string[] | undefined;
|
|
262
262
|
}>;
|
|
263
263
|
type AlertQueryDTO = z.infer<typeof AlertQuerySchema>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MenuType, 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, a as User } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User } from '../../user_organisation_service-_rBwGIT-.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -40,9 +40,12 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
40
40
|
sub_item_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
41
41
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
status: Status;
|
|
44
|
+
organisation_id: string;
|
|
45
|
+
user_id: string;
|
|
46
|
+
group_name: string;
|
|
43
47
|
module_name: string;
|
|
44
48
|
menu_type: MenuType;
|
|
45
|
-
group_name: string;
|
|
46
49
|
group_name_language: string;
|
|
47
50
|
group_icon: string;
|
|
48
51
|
group_url: string;
|
|
@@ -50,19 +53,16 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
50
53
|
sub_item_name_language: string;
|
|
51
54
|
sub_item_icon: string;
|
|
52
55
|
sub_item_url: string;
|
|
56
|
+
}, {
|
|
53
57
|
status: Status;
|
|
54
58
|
organisation_id: string;
|
|
55
59
|
user_id: string;
|
|
56
|
-
|
|
60
|
+
group_name: string;
|
|
57
61
|
module_name: string;
|
|
58
62
|
menu_type: MenuType;
|
|
59
|
-
group_name: string;
|
|
60
63
|
group_name_language: string;
|
|
61
64
|
group_icon: string;
|
|
62
65
|
group_url: string;
|
|
63
|
-
status: Status;
|
|
64
|
-
organisation_id: string;
|
|
65
|
-
user_id: string;
|
|
66
66
|
sub_item_name?: string | undefined;
|
|
67
67
|
sub_item_name_language?: string | undefined;
|
|
68
68
|
sub_item_icon?: string | undefined;
|
|
@@ -105,8 +105,8 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
105
105
|
bookmark_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
106
106
|
menu_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof MenuType>, "many">>>;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
|
-
menu_type: MenuType[];
|
|
109
108
|
status: Status[];
|
|
109
|
+
user_ids: string[];
|
|
110
110
|
search: string;
|
|
111
111
|
paging: PAGING;
|
|
112
112
|
page_count: number;
|
|
@@ -128,13 +128,13 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
128
128
|
date_format_id: string;
|
|
129
129
|
time_zone_id: string;
|
|
130
130
|
organisation_ids: string[];
|
|
131
|
-
|
|
131
|
+
menu_type: MenuType[];
|
|
132
132
|
bookmark_ids: string[];
|
|
133
133
|
}, {
|
|
134
134
|
date_format_id: string;
|
|
135
135
|
time_zone_id: string;
|
|
136
|
-
menu_type?: MenuType[] | undefined;
|
|
137
136
|
status?: Status[] | undefined;
|
|
137
|
+
user_ids?: string[] | undefined;
|
|
138
138
|
search?: string | undefined;
|
|
139
139
|
paging?: PAGING | undefined;
|
|
140
140
|
page_count?: unknown;
|
|
@@ -154,7 +154,7 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
154
154
|
}[] | undefined;
|
|
155
155
|
include_master_data?: YesNo | undefined;
|
|
156
156
|
organisation_ids?: string[] | undefined;
|
|
157
|
-
|
|
157
|
+
menu_type?: MenuType[] | undefined;
|
|
158
158
|
bookmark_ids?: string[] | undefined;
|
|
159
159
|
}>;
|
|
160
160
|
type BookMarkQueryDTO = z.infer<typeof BookMarkQuerySchema>;
|
|
@@ -2,7 +2,7 @@ import { YesNo, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy
|
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { Alert } from './alert_service.js';
|
|
5
|
-
import { U as UserOrganisation, a as User } from '../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User } from '../../user_organisation_service-_rBwGIT-.js';
|
|
6
6
|
import '../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../master/main/master_main_sim_provider_service.js';
|
|
8
8
|
|
|
@@ -46,12 +46,12 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
46
46
|
user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
47
47
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
-
status: Status;
|
|
50
|
-
organisation_id: string;
|
|
51
|
-
user_ids: string[];
|
|
52
49
|
alert_id: string;
|
|
53
50
|
mobile_numbers: string;
|
|
54
51
|
emails: string;
|
|
52
|
+
status: Status;
|
|
53
|
+
organisation_id: string;
|
|
54
|
+
user_ids: string[];
|
|
55
55
|
notification_title: string;
|
|
56
56
|
notification_message: string;
|
|
57
57
|
is_push_sent: YesNo;
|
|
@@ -59,14 +59,14 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
59
59
|
is_whatsapp_sent: YesNo;
|
|
60
60
|
is_email_sent: YesNo;
|
|
61
61
|
}, {
|
|
62
|
+
alert_id: string;
|
|
62
63
|
status: Status;
|
|
63
64
|
organisation_id: string;
|
|
64
|
-
alert_id: string;
|
|
65
65
|
notification_title: string;
|
|
66
66
|
notification_message: string;
|
|
67
|
-
user_ids?: string[] | undefined;
|
|
68
67
|
mobile_numbers?: string | undefined;
|
|
69
68
|
emails?: string | undefined;
|
|
69
|
+
user_ids?: string[] | undefined;
|
|
70
70
|
is_push_sent?: YesNo | undefined;
|
|
71
71
|
is_sms_sent?: YesNo | undefined;
|
|
72
72
|
is_whatsapp_sent?: YesNo | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FileType, Status, TicketStatus, 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, a as User } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User } from '../../user_organisation_service-_rBwGIT-.js';
|
|
5
5
|
import { UserAdmin } from '../main/users/user_admin_service.js';
|
|
6
6
|
import '../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../master/main/master_main_sim_provider_service.js';
|
|
@@ -191,6 +191,7 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
191
191
|
ticket_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof TicketStatus>, "many">>>;
|
|
192
192
|
}, "strip", z.ZodTypeAny, {
|
|
193
193
|
status: Status[];
|
|
194
|
+
user_ids: string[];
|
|
194
195
|
search: string;
|
|
195
196
|
paging: PAGING;
|
|
196
197
|
page_count: number;
|
|
@@ -212,7 +213,6 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
212
213
|
date_format_id: string;
|
|
213
214
|
time_zone_id: string;
|
|
214
215
|
organisation_ids: string[];
|
|
215
|
-
user_ids: string[];
|
|
216
216
|
admin_ids: string[];
|
|
217
217
|
ticket_status: TicketStatus[];
|
|
218
218
|
ticket_ids: string[];
|
|
@@ -220,6 +220,7 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
220
220
|
date_format_id: string;
|
|
221
221
|
time_zone_id: string;
|
|
222
222
|
status?: Status[] | undefined;
|
|
223
|
+
user_ids?: string[] | undefined;
|
|
223
224
|
search?: string | undefined;
|
|
224
225
|
paging?: PAGING | undefined;
|
|
225
226
|
page_count?: unknown;
|
|
@@ -239,7 +240,6 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
239
240
|
}[] | undefined;
|
|
240
241
|
include_master_data?: YesNo | undefined;
|
|
241
242
|
organisation_ids?: string[] | undefined;
|
|
242
|
-
user_ids?: string[] | undefined;
|
|
243
243
|
admin_ids?: string[] | undefined;
|
|
244
244
|
ticket_status?: TicketStatus[] | undefined;
|
|
245
245
|
ticket_ids?: string[] | undefined;
|
|
@@ -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, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice } from '../../../user_organisation_service-_rBwGIT-.js';
|
|
5
5
|
import { FuelConsumptionMonthly } from '../../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
6
6
|
import '../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { YesNo, PaymentMode, PaymentStatus, RefillMethod, RefillEntrySource, GPSFuelApproveStatus, Status, FileType, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType } from '../../../user_organisation_service-_rBwGIT-.js';
|
|
5
5
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
6
6
|
import { MasterVehicleFuelUnit } from '../../master/vehicle/master_vehicle_fuel_unit_service.js';
|
|
7
7
|
import '../../../zod_utils/zod_base_schema.js';
|
|
@@ -98,7 +98,7 @@ interface FleetFuelRefillFile extends Record<string, unknown> {
|
|
|
98
98
|
fleet_fuel_refill_id: string;
|
|
99
99
|
FleetFuelRefill?: FleetFuelRefill;
|
|
100
100
|
}
|
|
101
|
-
declare const
|
|
101
|
+
declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
102
102
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
103
103
|
user_id: z.ZodEffects<z.ZodString, string, string>;
|
|
104
104
|
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -222,7 +222,7 @@ declare const FleetFuelRefillchema: z.ZodObject<{
|
|
|
222
222
|
longitude?: unknown;
|
|
223
223
|
google_location?: string | undefined;
|
|
224
224
|
}>;
|
|
225
|
-
type FleetFuelRefillDTO = z.infer<typeof
|
|
225
|
+
type FleetFuelRefillDTO = z.infer<typeof FleetFuelRefillSchema>;
|
|
226
226
|
declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
227
227
|
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
228
228
|
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
@@ -349,4 +349,4 @@ declare const createFleetFuelRefill: (data: FleetFuelRefillDTO) => Promise<SBR>;
|
|
|
349
349
|
declare const updateFleetFuelRefill: (id: string, data: FleetFuelRefillDTO) => Promise<SBR>;
|
|
350
350
|
declare const deleteFleetFuelRefill: (id: string) => Promise<SBR>;
|
|
351
351
|
|
|
352
|
-
export { type FleetFuelRefill, type FleetFuelRefillDTO, type FleetFuelRefillFile, type FleetFuelRefillQueryDTO, FleetFuelRefillQuerySchema,
|
|
352
|
+
export { type FleetFuelRefill, type FleetFuelRefillDTO, type FleetFuelRefillFile, type FleetFuelRefillQueryDTO, FleetFuelRefillQuerySchema, FleetFuelRefillSchema, createFleetFuelRefill, deleteFleetFuelRefill, findFleetFuelRefill, newFleetFuelRefillPayload, toFleetFuelRefillPayload, updateFleetFuelRefill };
|
|
@@ -328,7 +328,7 @@ var ENDPOINTS = {
|
|
|
328
328
|
update: (id) => `${URL}/${id}`,
|
|
329
329
|
delete: (id) => `${URL}/${id}`
|
|
330
330
|
};
|
|
331
|
-
var
|
|
331
|
+
var FleetFuelRefillSchema = z3.object({
|
|
332
332
|
organisation_id: single_select_mandatory("UserOrganisation"),
|
|
333
333
|
user_id: single_select_optional("User"),
|
|
334
334
|
vehicle_id: single_select_mandatory("MasterVehicle"),
|
|
@@ -552,7 +552,7 @@ var deleteFleetFuelRefill = async (id) => {
|
|
|
552
552
|
};
|
|
553
553
|
export {
|
|
554
554
|
FleetFuelRefillQuerySchema,
|
|
555
|
-
|
|
555
|
+
FleetFuelRefillSchema,
|
|
556
556
|
createFleetFuelRefill,
|
|
557
557
|
deleteFleetFuelRefill,
|
|
558
558
|
findFleetFuelRefill,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RefillEntrySource, GPSFuelApproveStatus, Status, FileType, 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, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType } from '../../../user_organisation_service-_rBwGIT-.js';
|
|
5
5
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
6
6
|
import { MasterVehicleFuelUnit } from '../../master/vehicle/master_vehicle_fuel_unit_service.js';
|
|
7
7
|
import { MasterVehicleFuelRemovalReason } from '../../master/vehicle/master_vehicle_fuel_removal_reason_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GeofenceType, GeofencePurposeType, 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-
|
|
4
|
+
import { U as UserOrganisation } from '../../../../user_organisation_service-_rBwGIT-.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -59,8 +59,6 @@ declare const GPSGeofenceDataSchema: z.ZodObject<{
|
|
|
59
59
|
geofence_purpose_type: z.ZodType<GeofencePurposeType, z.ZodTypeDef, GeofencePurposeType>;
|
|
60
60
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
status: Status;
|
|
63
|
-
organisation_id: string;
|
|
64
62
|
geofence_name: string;
|
|
65
63
|
location_name: string;
|
|
66
64
|
geofence_type: GeofenceType;
|
|
@@ -70,19 +68,21 @@ declare const GPSGeofenceDataSchema: z.ZodObject<{
|
|
|
70
68
|
}[];
|
|
71
69
|
geofence_description: string;
|
|
72
70
|
geofence_purpose_type: GeofencePurposeType;
|
|
71
|
+
status: Status;
|
|
72
|
+
organisation_id: string;
|
|
73
|
+
radius_km?: number | undefined;
|
|
73
74
|
latitude?: number | undefined;
|
|
74
75
|
longitude?: number | undefined;
|
|
75
|
-
radius_km?: number | undefined;
|
|
76
76
|
}, {
|
|
77
|
-
status: Status;
|
|
78
|
-
organisation_id: string;
|
|
79
77
|
geofence_name: string;
|
|
80
78
|
location_name: string;
|
|
81
79
|
geofence_type: GeofenceType;
|
|
82
80
|
geofence_purpose_type: GeofencePurposeType;
|
|
81
|
+
status: Status;
|
|
82
|
+
organisation_id: string;
|
|
83
|
+
radius_km?: unknown;
|
|
83
84
|
latitude?: unknown;
|
|
84
85
|
longitude?: unknown;
|
|
85
|
-
radius_km?: unknown;
|
|
86
86
|
poliline_data?: {
|
|
87
87
|
latitude?: unknown;
|
|
88
88
|
longitude?: unknown;
|
|
@@ -125,6 +125,8 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
|
|
|
125
125
|
geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
|
|
126
126
|
geofence_purpose_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofencePurposeType>, "many">>>;
|
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
geofence_type: GeofenceType[];
|
|
129
|
+
geofence_purpose_type: GeofencePurposeType[];
|
|
128
130
|
status: Status[];
|
|
129
131
|
search: string;
|
|
130
132
|
paging: PAGING;
|
|
@@ -147,11 +149,11 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
|
|
|
147
149
|
date_format_id: string;
|
|
148
150
|
time_zone_id: string;
|
|
149
151
|
organisation_ids: string[];
|
|
150
|
-
geofence_type: GeofenceType[];
|
|
151
|
-
geofence_purpose_type: GeofencePurposeType[];
|
|
152
152
|
}, {
|
|
153
153
|
date_format_id: string;
|
|
154
154
|
time_zone_id: string;
|
|
155
|
+
geofence_type?: GeofenceType[] | undefined;
|
|
156
|
+
geofence_purpose_type?: GeofencePurposeType[] | undefined;
|
|
155
157
|
status?: Status[] | undefined;
|
|
156
158
|
search?: string | undefined;
|
|
157
159
|
paging?: PAGING | undefined;
|
|
@@ -172,8 +174,6 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
|
|
|
172
174
|
}[] | undefined;
|
|
173
175
|
include_master_data?: YesNo | undefined;
|
|
174
176
|
organisation_ids?: string[] | undefined;
|
|
175
|
-
geofence_type?: GeofenceType[] | undefined;
|
|
176
|
-
geofence_purpose_type?: GeofencePurposeType[] | undefined;
|
|
177
177
|
}>;
|
|
178
178
|
type GPSGeofenceDataQueryDTO = z.infer<typeof GPSGeofenceDataQuerySchema>;
|
|
179
179
|
declare const toGPSGeofenceDataPayload: (data: GPSGeofenceData) => GPSGeofenceDataDTO;
|
|
@@ -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-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-_rBwGIT-.js';
|
|
5
5
|
import { GPSGeofenceData } from './gps_geofence_data_service.js';
|
|
6
6
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
@@ -31,21 +31,21 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
|
31
31
|
geofence_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
32
32
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
|
|
35
|
-
geofence_time: string;
|
|
34
|
+
gps_geofence_id: string;
|
|
36
35
|
status: Status;
|
|
37
36
|
organisation_id: string;
|
|
38
|
-
vehicle_id: string;
|
|
39
37
|
driver_id: string;
|
|
40
|
-
|
|
41
|
-
}, {
|
|
38
|
+
vehicle_id: string;
|
|
42
39
|
geofence_status_type: GeofenceStatusType;
|
|
43
40
|
geofence_time: string;
|
|
41
|
+
}, {
|
|
42
|
+
gps_geofence_id: string;
|
|
44
43
|
status: Status;
|
|
45
44
|
organisation_id: string;
|
|
46
|
-
vehicle_id: string;
|
|
47
45
|
driver_id: string;
|
|
48
|
-
|
|
46
|
+
vehicle_id: string;
|
|
47
|
+
geofence_status_type: GeofenceStatusType;
|
|
48
|
+
geofence_time: string;
|
|
49
49
|
}>;
|
|
50
50
|
type GPSGeofenceTransactionDTO = z.infer<typeof GPSGeofenceTransactionSchema>;
|
|
51
51
|
declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
@@ -85,7 +85,6 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
85
85
|
gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
86
86
|
geofence_status_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceStatusType>, "many">>>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
-
geofence_status_type: GeofenceStatusType[];
|
|
89
88
|
status: Status[];
|
|
90
89
|
search: string;
|
|
91
90
|
paging: PAGING;
|
|
@@ -110,11 +109,11 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
110
109
|
organisation_ids: string[];
|
|
111
110
|
vehicle_ids: string[];
|
|
112
111
|
driver_ids: string[];
|
|
112
|
+
geofence_status_type: GeofenceStatusType[];
|
|
113
113
|
gps_geofence_ids: string[];
|
|
114
114
|
}, {
|
|
115
115
|
date_format_id: string;
|
|
116
116
|
time_zone_id: string;
|
|
117
|
-
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
118
117
|
status?: Status[] | undefined;
|
|
119
118
|
search?: string | undefined;
|
|
120
119
|
paging?: PAGING | undefined;
|
|
@@ -137,6 +136,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
137
136
|
organisation_ids?: string[] | undefined;
|
|
138
137
|
vehicle_ids?: string[] | undefined;
|
|
139
138
|
driver_ids?: string[] | undefined;
|
|
139
|
+
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
140
140
|
gps_geofence_ids?: string[] | undefined;
|
|
141
141
|
}>;
|
|
142
142
|
type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
|
|
@@ -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-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-_rBwGIT-.js';
|
|
5
5
|
import { GPSGeofenceData } from './gps_geofence_data_service.js';
|
|
6
6
|
import { GPSGeofenceTransaction } from './gps_geofence_transaction_service.js';
|
|
7
7
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
@@ -40,22 +40,22 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
40
40
|
duration_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
41
41
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
gps_geofence_id: string;
|
|
43
44
|
status: Status;
|
|
44
45
|
organisation_id: string;
|
|
45
|
-
vehicle_id: string;
|
|
46
46
|
driver_id: string;
|
|
47
|
-
|
|
47
|
+
vehicle_id: string;
|
|
48
48
|
geofence_enter_date_time: string;
|
|
49
49
|
geofence_exit_date_time: string;
|
|
50
50
|
duration_seconds: number;
|
|
51
51
|
enter_gps_geofence_transaction_id: string;
|
|
52
52
|
exit_gps_geofence_transaction_id: string;
|
|
53
53
|
}, {
|
|
54
|
+
gps_geofence_id: string;
|
|
54
55
|
status: Status;
|
|
55
56
|
organisation_id: string;
|
|
56
|
-
vehicle_id: string;
|
|
57
57
|
driver_id: string;
|
|
58
|
-
|
|
58
|
+
vehicle_id: string;
|
|
59
59
|
geofence_enter_date_time: string;
|
|
60
60
|
enter_gps_geofence_transaction_id: string;
|
|
61
61
|
exit_gps_geofence_transaction_id: string;
|
|
@@ -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-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-_rBwGIT-.js';
|
|
5
5
|
import { GPSGeofenceData } from './gps_geofence_data_service.js';
|
|
6
6
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
@@ -64,8 +64,8 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
65
|
status: Status;
|
|
66
66
|
organisation_id: string;
|
|
67
|
-
vehicle_id: string;
|
|
68
67
|
driver_id: string;
|
|
68
|
+
vehicle_id: string;
|
|
69
69
|
duration_seconds: number;
|
|
70
70
|
from_geofence_exit_date_time: string;
|
|
71
71
|
to_geofence_enter_date_time: string;
|
|
@@ -87,8 +87,8 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
87
87
|
}, {
|
|
88
88
|
status: Status;
|
|
89
89
|
organisation_id: string;
|
|
90
|
-
vehicle_id: string;
|
|
91
90
|
driver_id: string;
|
|
91
|
+
vehicle_id: string;
|
|
92
92
|
from_geofence_exit_date_time: string;
|
|
93
93
|
to_geofence_enter_date_time: string;
|
|
94
94
|
from_geofence_id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LinkType, LinkStatus, Status, NotificationType, 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 } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-_rBwGIT-.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TrackHistoryLinkStatus, Status, NotificationType, 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 } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-_rBwGIT-.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|