vms-nest-prisma-api-document 6.0.15 → 6.0.17
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/analytics/user_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
- package/dist/services/account/bookmark_service.d.ts +11 -11
- package/dist/services/account/notification_service.d.ts +35 -26
- package/dist/services/account/notification_service.js +13 -0
- 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 +1 -1
- 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 +3 -3
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +1 -1
- 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_models/GpsAnalytics.d.ts +1 -1
- package/dist/services/gps/reports/gps_models/GpsPacket.d.ts +1 -1
- package/dist/services/gps/reports/gps_models/GpsSensor.d.ts +1 -1
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +49 -49
- package/dist/services/gps/reports/gps_reports_mongo_service.js +6 -6
- 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_admin_service.d.ts +2 -2
- 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_eway_bill_provider_service.d.ts +2 -2
- package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
- package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +7 -7
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_sim_provider_service.d.ts +2 -2
- 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/dist/{user_organisation_service-Cx3ffrVp.d.ts → user_organisation_service-CukiDGua.d.ts} +127 -127
- package/package.json +1 -1
|
@@ -22,15 +22,15 @@ declare const UserLoginAnalyticsSchema: z.ZodObject<{
|
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
user_id: string;
|
|
24
24
|
organisation_id: string;
|
|
25
|
-
login_from: LoginFrom;
|
|
26
25
|
country_id: string;
|
|
26
|
+
login_from: LoginFrom;
|
|
27
27
|
os_details: Record<string, any>;
|
|
28
28
|
ip_details: Record<string, any>;
|
|
29
29
|
}, {
|
|
30
30
|
user_id: string;
|
|
31
31
|
organisation_id: string;
|
|
32
|
-
login_from: LoginFrom;
|
|
33
32
|
country_id: string;
|
|
33
|
+
login_from: LoginFrom;
|
|
34
34
|
os_details?: Record<string, any> | undefined;
|
|
35
35
|
ip_details?: Record<string, any> | undefined;
|
|
36
36
|
}>;
|
|
@@ -48,11 +48,11 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
48
48
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
49
49
|
country_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
login_from: LoginFrom;
|
|
51
52
|
search: string;
|
|
52
53
|
paging: PAGING;
|
|
53
54
|
page_count: number;
|
|
54
55
|
page_index: number;
|
|
55
|
-
login_from: LoginFrom;
|
|
56
56
|
date_format_id: string;
|
|
57
57
|
time_zone_id: string;
|
|
58
58
|
user_ids: string[];
|
|
@@ -43,11 +43,11 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
|
|
|
43
43
|
user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
44
44
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
+
login_from: LoginFrom;
|
|
46
47
|
search: string;
|
|
47
48
|
paging: PAGING;
|
|
48
49
|
page_count: number;
|
|
49
50
|
page_index: number;
|
|
50
|
-
login_from: LoginFrom;
|
|
51
51
|
date_format_id: string;
|
|
52
52
|
time_zone_id: string;
|
|
53
53
|
user_ids: string[];
|
|
@@ -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-CukiDGua.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
|
+
time_zone_id: string;
|
|
110
110
|
search: string;
|
|
111
111
|
paging: PAGING;
|
|
112
112
|
page_count: number;
|
|
@@ -126,14 +126,13 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
126
126
|
}[];
|
|
127
127
|
include_master_data: YesNo;
|
|
128
128
|
date_format_id: string;
|
|
129
|
-
time_zone_id: string;
|
|
130
129
|
organisation_ids: string[];
|
|
131
130
|
user_ids: string[];
|
|
131
|
+
menu_type: MenuType[];
|
|
132
132
|
bookmark_ids: string[];
|
|
133
133
|
}, {
|
|
134
|
-
date_format_id: string;
|
|
135
134
|
time_zone_id: string;
|
|
136
|
-
|
|
135
|
+
date_format_id: string;
|
|
137
136
|
status?: Status[] | undefined;
|
|
138
137
|
search?: string | undefined;
|
|
139
138
|
paging?: PAGING | undefined;
|
|
@@ -155,6 +154,7 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
155
154
|
include_master_data?: YesNo | undefined;
|
|
156
155
|
organisation_ids?: string[] | undefined;
|
|
157
156
|
user_ids?: string[] | undefined;
|
|
157
|
+
menu_type?: MenuType[] | undefined;
|
|
158
158
|
bookmark_ids?: string[] | undefined;
|
|
159
159
|
}>;
|
|
160
160
|
type BookMarkQueryDTO = z.infer<typeof BookMarkQuerySchema>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Module, AlertType, AlertSubType, 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 } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../user_organisation_service-CukiDGua.js';
|
|
5
5
|
import { GPSGeofenceData } from '../gps/features/geofence/gps_geofence_data_service.js';
|
|
6
6
|
import { MasterMainLandmark } from '../master/main/master_main_landmark_service.js';
|
|
7
7
|
import '../../zod_utils/zod_base_schema.js';
|
|
@@ -65,17 +65,15 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
65
65
|
notification_key_4: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
66
66
|
notification_key_5: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
67
67
|
notification_key_6: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
68
|
+
module: z.ZodType<Module, z.ZodTypeDef, Module>;
|
|
69
|
+
alert_type: z.ZodType<AlertType, z.ZodTypeDef, AlertType>;
|
|
70
|
+
alert_sub_type: z.ZodType<AlertSubType, z.ZodTypeDef, AlertSubType>;
|
|
68
71
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
69
72
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
70
73
|
}, "strip", z.ZodTypeAny, {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
time_zone_id: string;
|
|
75
|
-
driver_id: string;
|
|
76
|
-
vehicle_id: string;
|
|
77
|
-
gps_geofence_id: string;
|
|
78
|
-
google_location: string;
|
|
74
|
+
module: Module;
|
|
75
|
+
alert_type: AlertType;
|
|
76
|
+
alert_sub_type: AlertSubType;
|
|
79
77
|
date_time: string;
|
|
80
78
|
notification_message: string;
|
|
81
79
|
notification_html_message: string;
|
|
@@ -85,21 +83,29 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
85
83
|
notification_key_4: string;
|
|
86
84
|
notification_key_5: string;
|
|
87
85
|
notification_key_6: string;
|
|
86
|
+
google_location: string;
|
|
87
|
+
status: Status;
|
|
88
|
+
organisation_id: string;
|
|
89
|
+
user_id: string;
|
|
90
|
+
vehicle_id: string;
|
|
91
|
+
driver_id: string;
|
|
92
|
+
gps_geofence_id: string;
|
|
93
|
+
time_zone_id: string;
|
|
88
94
|
latitude?: number | undefined;
|
|
89
95
|
longitude?: number | undefined;
|
|
90
96
|
}, {
|
|
97
|
+
module: Module;
|
|
98
|
+
alert_type: AlertType;
|
|
99
|
+
alert_sub_type: AlertSubType;
|
|
100
|
+
date_time: string;
|
|
101
|
+
notification_message: string;
|
|
91
102
|
status: Status;
|
|
92
103
|
organisation_id: string;
|
|
93
104
|
user_id: string;
|
|
94
|
-
time_zone_id: string;
|
|
95
|
-
driver_id: string;
|
|
96
105
|
vehicle_id: string;
|
|
106
|
+
driver_id: string;
|
|
97
107
|
gps_geofence_id: string;
|
|
98
|
-
|
|
99
|
-
notification_message: string;
|
|
100
|
-
latitude?: unknown;
|
|
101
|
-
longitude?: unknown;
|
|
102
|
-
google_location?: string | undefined;
|
|
108
|
+
time_zone_id: string;
|
|
103
109
|
notification_html_message?: string | undefined;
|
|
104
110
|
notification_key_1?: string | undefined;
|
|
105
111
|
notification_key_2?: string | undefined;
|
|
@@ -107,6 +113,9 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
107
113
|
notification_key_4?: string | undefined;
|
|
108
114
|
notification_key_5?: string | undefined;
|
|
109
115
|
notification_key_6?: string | undefined;
|
|
116
|
+
latitude?: unknown;
|
|
117
|
+
longitude?: unknown;
|
|
118
|
+
google_location?: string | undefined;
|
|
110
119
|
}>;
|
|
111
120
|
type NotificationDTO = z.infer<typeof NotificationSchema>;
|
|
112
121
|
declare const NotificationQuerySchema: z.ZodObject<{
|
|
@@ -150,7 +159,11 @@ declare const NotificationQuerySchema: z.ZodObject<{
|
|
|
150
159
|
alert_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof AlertType>, "many">>>;
|
|
151
160
|
alert_sub_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof AlertSubType>, "many">>>;
|
|
152
161
|
}, "strip", z.ZodTypeAny, {
|
|
162
|
+
module: Module[];
|
|
163
|
+
alert_type: AlertType[];
|
|
164
|
+
alert_sub_type: AlertSubType[];
|
|
153
165
|
status: Status[];
|
|
166
|
+
time_zone_id: string;
|
|
154
167
|
search: string;
|
|
155
168
|
paging: PAGING;
|
|
156
169
|
page_count: number;
|
|
@@ -170,19 +183,18 @@ declare const NotificationQuerySchema: z.ZodObject<{
|
|
|
170
183
|
}[];
|
|
171
184
|
include_master_data: YesNo;
|
|
172
185
|
date_format_id: string;
|
|
173
|
-
|
|
186
|
+
notification_ids: string[];
|
|
174
187
|
organisation_ids: string[];
|
|
175
188
|
user_ids: string[];
|
|
176
189
|
vehicle_ids: string[];
|
|
177
190
|
driver_ids: string[];
|
|
178
|
-
module: Module[];
|
|
179
|
-
alert_type: AlertType[];
|
|
180
|
-
alert_sub_type: AlertSubType[];
|
|
181
|
-
notification_ids: string[];
|
|
182
191
|
gps_geofence_ids: string[];
|
|
183
192
|
}, {
|
|
184
|
-
date_format_id: string;
|
|
185
193
|
time_zone_id: string;
|
|
194
|
+
date_format_id: string;
|
|
195
|
+
module?: Module[] | undefined;
|
|
196
|
+
alert_type?: AlertType[] | undefined;
|
|
197
|
+
alert_sub_type?: AlertSubType[] | undefined;
|
|
186
198
|
status?: Status[] | undefined;
|
|
187
199
|
search?: string | undefined;
|
|
188
200
|
paging?: PAGING | undefined;
|
|
@@ -202,14 +214,11 @@ declare const NotificationQuerySchema: z.ZodObject<{
|
|
|
202
214
|
direction: OrderBy;
|
|
203
215
|
}[] | undefined;
|
|
204
216
|
include_master_data?: YesNo | undefined;
|
|
217
|
+
notification_ids?: string[] | undefined;
|
|
205
218
|
organisation_ids?: string[] | undefined;
|
|
206
219
|
user_ids?: string[] | undefined;
|
|
207
220
|
vehicle_ids?: string[] | undefined;
|
|
208
221
|
driver_ids?: string[] | undefined;
|
|
209
|
-
module?: Module[] | undefined;
|
|
210
|
-
alert_type?: AlertType[] | undefined;
|
|
211
|
-
alert_sub_type?: AlertSubType[] | undefined;
|
|
212
|
-
notification_ids?: string[] | undefined;
|
|
213
222
|
gps_geofence_ids?: string[] | undefined;
|
|
214
223
|
}>;
|
|
215
224
|
type NotificationQueryDTO = z.infer<typeof NotificationQuerySchema>;
|
|
@@ -412,6 +412,13 @@ var NotificationSchema = z3.object({
|
|
|
412
412
|
notification_key_4: stringOptional("Notification Key 4", 0, 100),
|
|
413
413
|
notification_key_5: stringOptional("Notification Key 5", 0, 100),
|
|
414
414
|
notification_key_6: stringOptional("Notification Key 6", 0, 100),
|
|
415
|
+
module: enumMandatory("Module", Module, "GPSModule" /* GPSModule */),
|
|
416
|
+
alert_type: enumMandatory("Alert Type", AlertType, "Ignition" /* Ignition */),
|
|
417
|
+
alert_sub_type: enumMandatory(
|
|
418
|
+
"Alert Sub Type",
|
|
419
|
+
AlertSubType,
|
|
420
|
+
"IgnitionOn" /* IgnitionOn */
|
|
421
|
+
),
|
|
415
422
|
status: enumMandatory("Status", Status, "Active" /* Active */),
|
|
416
423
|
time_zone_id: single_select_mandatory("MasterMainTimeZone")
|
|
417
424
|
});
|
|
@@ -461,6 +468,9 @@ var toNotificationPayload = (row) => ({
|
|
|
461
468
|
latitude: row.latitude ?? 0,
|
|
462
469
|
longitude: row.longitude ?? 0,
|
|
463
470
|
google_location: row.google_location || "",
|
|
471
|
+
module: row.module,
|
|
472
|
+
alert_type: row.alert_type,
|
|
473
|
+
alert_sub_type: row.alert_sub_type,
|
|
464
474
|
status: row.status,
|
|
465
475
|
time_zone_id: ""
|
|
466
476
|
// Needs to be provided manually
|
|
@@ -488,6 +498,9 @@ var newNotificationPayload = () => ({
|
|
|
488
498
|
latitude: 0,
|
|
489
499
|
longitude: 0,
|
|
490
500
|
google_location: "",
|
|
501
|
+
module: "GPSModule" /* GPSModule */,
|
|
502
|
+
alert_type: "Fuel" /* Fuel */,
|
|
503
|
+
alert_sub_type: "FuelRefill" /* FuelRefill */,
|
|
491
504
|
// metadata
|
|
492
505
|
status: "Active" /* Active */,
|
|
493
506
|
time_zone_id: ""
|
|
@@ -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-CukiDGua.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
|
+
time_zone_id: string;
|
|
194
195
|
search: string;
|
|
195
196
|
paging: PAGING;
|
|
196
197
|
page_count: number;
|
|
@@ -210,15 +211,14 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
210
211
|
}[];
|
|
211
212
|
include_master_data: YesNo;
|
|
212
213
|
date_format_id: string;
|
|
213
|
-
time_zone_id: string;
|
|
214
214
|
organisation_ids: string[];
|
|
215
215
|
user_ids: string[];
|
|
216
216
|
admin_ids: string[];
|
|
217
217
|
ticket_status: TicketStatus[];
|
|
218
218
|
ticket_ids: string[];
|
|
219
219
|
}, {
|
|
220
|
-
date_format_id: string;
|
|
221
220
|
time_zone_id: string;
|
|
221
|
+
date_format_id: string;
|
|
222
222
|
status?: Status[] | undefined;
|
|
223
223
|
search?: string | undefined;
|
|
224
224
|
paging?: PAGING | 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-CukiDGua.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';
|
|
@@ -2,7 +2,7 @@ import { YesNo, PaymentMode, PaymentStatus, RefillMethod, RefillEntrySource, GPS
|
|
|
2
2
|
import { FBR, SBR, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType } from '../../../user_organisation_service-CukiDGua.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
7
|
import { MasterVehicleFuelUnit } from '../../master/vehicle/master_vehicle_fuel_unit_service.js';
|
|
8
8
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -2,7 +2,7 @@ import { RefillEntrySource, GPSFuelApproveStatus, Status, FileType, PAGING, Load
|
|
|
2
2
|
import { FBR, SBR, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType } from '../../../user_organisation_service-CukiDGua.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
7
|
import { MasterVehicleFuelUnit } from '../../master/vehicle/master_vehicle_fuel_unit_service.js';
|
|
8
8
|
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-CukiDGua.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -126,6 +126,7 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
|
|
|
126
126
|
geofence_purpose_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofencePurposeType>, "many">>>;
|
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
128
|
status: Status[];
|
|
129
|
+
time_zone_id: string;
|
|
129
130
|
search: string;
|
|
130
131
|
paging: PAGING;
|
|
131
132
|
page_count: number;
|
|
@@ -145,13 +146,12 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
|
|
|
145
146
|
}[];
|
|
146
147
|
include_master_data: YesNo;
|
|
147
148
|
date_format_id: string;
|
|
148
|
-
time_zone_id: string;
|
|
149
149
|
organisation_ids: string[];
|
|
150
150
|
geofence_type: GeofenceType[];
|
|
151
151
|
geofence_purpose_type: GeofencePurposeType[];
|
|
152
152
|
}, {
|
|
153
|
-
date_format_id: string;
|
|
154
153
|
time_zone_id: string;
|
|
154
|
+
date_format_id: string;
|
|
155
155
|
status?: Status[] | undefined;
|
|
156
156
|
search?: string | undefined;
|
|
157
157
|
paging?: PAGING | undefined;
|
|
@@ -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-CukiDGua.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';
|
|
@@ -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-CukiDGua.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';
|
|
@@ -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-CukiDGua.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';
|
|
@@ -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-CukiDGua.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-CukiDGua.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|