vms-nest-prisma-api-document 70.0.0 → 80.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.
- package/dist/services/account/bookmark_service.d.ts +9 -9
- package/dist/services/account/notification_preferences.service.d.ts +11 -11
- package/dist/services/account/report_preferences.service.d.ts +24 -24
- package/dist/services/account/ticket_service.d.ts +2 -2
- 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 +42 -42
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +24 -24
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +6 -6
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +7 -7
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +2 -2
- 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 +5 -5
- package/dist/services/gps/features/gps_track_history_share_link_service.js +2 -2
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- 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 +1 -1
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -1
- 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 +3 -3
- 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-DqZC6EYi.d.ts → user_organisation_service-DUivHiRQ.d.ts} +30 -30
- package/package.json +1 -1
|
@@ -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-DUivHiRQ.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
|
+
group_name: string;
|
|
46
|
+
user_id: 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;
|
|
59
|
+
group_name: string;
|
|
55
60
|
user_id: string;
|
|
56
|
-
}, {
|
|
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,7 +105,6 @@ 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[];
|
|
110
109
|
search: string;
|
|
111
110
|
paging: PAGING;
|
|
@@ -129,11 +128,11 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
129
128
|
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
134
|
date_format_id: string;
|
|
135
135
|
time_zone_id: string;
|
|
136
|
-
menu_type?: MenuType[] | undefined;
|
|
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 { OnOff, NotificationChannel, YesNo, NotificationList, 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, M as MasterVehicle, a as User } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, a as User } from '../../user_organisation_service-DUivHiRQ.js';
|
|
5
5
|
import { GPSGeofence } from '../gps/features/geofence/gps_geofence_service.js';
|
|
6
6
|
import '../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../master/main/master_main_sim_provider_service.js';
|
|
@@ -85,37 +85,37 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
|
|
|
85
85
|
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
86
86
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
mobile_numbers: string;
|
|
89
|
+
email_ids: string;
|
|
90
|
+
cc_email_ids: string;
|
|
91
|
+
all_vehicles: YesNo;
|
|
88
92
|
status: Status;
|
|
89
93
|
organisation_id: string;
|
|
90
|
-
user_ids: string[];
|
|
91
94
|
vehicle_ids: string[];
|
|
92
|
-
|
|
95
|
+
user_ids: string[];
|
|
93
96
|
gps_geofence_ids: string[];
|
|
94
97
|
notification_name: string;
|
|
95
98
|
notification_status: OnOff;
|
|
96
99
|
notification_channels: NotificationChannel[];
|
|
97
|
-
mobile_numbers: string;
|
|
98
|
-
email_ids: string;
|
|
99
|
-
cc_email_ids: string;
|
|
100
100
|
all_users: YesNo;
|
|
101
101
|
notification_list: NotificationList[];
|
|
102
102
|
over_speed_limit: number;
|
|
103
103
|
all_geofences: YesNo;
|
|
104
104
|
}, {
|
|
105
|
+
all_vehicles: YesNo;
|
|
105
106
|
status: Status;
|
|
106
107
|
organisation_id: string;
|
|
107
|
-
all_vehicles: YesNo;
|
|
108
108
|
notification_name: string;
|
|
109
109
|
notification_status: OnOff;
|
|
110
110
|
all_users: YesNo;
|
|
111
111
|
all_geofences: YesNo;
|
|
112
|
-
user_ids?: string[] | undefined;
|
|
113
|
-
vehicle_ids?: string[] | undefined;
|
|
114
|
-
gps_geofence_ids?: string[] | undefined;
|
|
115
|
-
notification_channels?: NotificationChannel[] | undefined;
|
|
116
112
|
mobile_numbers?: string | undefined;
|
|
117
113
|
email_ids?: string | undefined;
|
|
118
114
|
cc_email_ids?: string | undefined;
|
|
115
|
+
vehicle_ids?: string[] | undefined;
|
|
116
|
+
user_ids?: string[] | undefined;
|
|
117
|
+
gps_geofence_ids?: string[] | undefined;
|
|
118
|
+
notification_channels?: NotificationChannel[] | undefined;
|
|
119
119
|
notification_list?: NotificationList[] | undefined;
|
|
120
120
|
over_speed_limit?: unknown;
|
|
121
121
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnOff, ReportType, ReportList, ReportChannel, 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, M as MasterVehicle } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../user_organisation_service-DUivHiRQ.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -113,6 +113,7 @@ declare const OrganisationReportAutomationMailQuerySchema: z.ZodObject<{
|
|
|
113
113
|
report_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReportType>, "many">>>;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
115
|
status: Status[];
|
|
116
|
+
report_type: ReportType[];
|
|
116
117
|
search: string;
|
|
117
118
|
paging: PAGING;
|
|
118
119
|
page_count: number;
|
|
@@ -134,13 +135,13 @@ declare const OrganisationReportAutomationMailQuerySchema: z.ZodObject<{
|
|
|
134
135
|
date_format_id: string;
|
|
135
136
|
time_zone_id: string;
|
|
136
137
|
organisation_ids: string[];
|
|
137
|
-
report_type: ReportType[];
|
|
138
138
|
report_preference_ids: string[];
|
|
139
139
|
report_automation_mail_ids: string[];
|
|
140
140
|
}, {
|
|
141
141
|
date_format_id: string;
|
|
142
142
|
time_zone_id: string;
|
|
143
143
|
status?: Status[] | undefined;
|
|
144
|
+
report_type?: ReportType[] | undefined;
|
|
144
145
|
search?: string | undefined;
|
|
145
146
|
paging?: PAGING | undefined;
|
|
146
147
|
page_count?: unknown;
|
|
@@ -160,7 +161,6 @@ declare const OrganisationReportAutomationMailQuerySchema: z.ZodObject<{
|
|
|
160
161
|
}[] | undefined;
|
|
161
162
|
include_master_data?: YesNo | undefined;
|
|
162
163
|
organisation_ids?: string[] | undefined;
|
|
163
|
-
report_type?: ReportType[] | undefined;
|
|
164
164
|
report_preference_ids?: string[] | undefined;
|
|
165
165
|
report_automation_mail_ids?: string[] | undefined;
|
|
166
166
|
}>;
|
|
@@ -179,31 +179,31 @@ declare const OrganisationReportPreferenceSchema: z.ZodObject<{
|
|
|
179
179
|
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
180
180
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
181
181
|
}, "strip", z.ZodTypeAny, {
|
|
182
|
-
status: Status;
|
|
183
|
-
organisation_id: string;
|
|
184
|
-
vehicle_ids: string[];
|
|
185
|
-
all_vehicles: YesNo;
|
|
186
|
-
mobile_numbers: string;
|
|
187
|
-
email_ids: string;
|
|
188
|
-
cc_email_ids: string;
|
|
189
182
|
report_name: string;
|
|
190
183
|
report_status: OnOff;
|
|
191
184
|
report_types: ReportType[];
|
|
192
185
|
report_list: ReportList[];
|
|
193
186
|
report_channels: ReportChannel.Email[];
|
|
194
|
-
|
|
187
|
+
mobile_numbers: string;
|
|
188
|
+
email_ids: string;
|
|
189
|
+
cc_email_ids: string;
|
|
190
|
+
all_vehicles: YesNo;
|
|
195
191
|
status: Status;
|
|
196
192
|
organisation_id: string;
|
|
197
|
-
|
|
193
|
+
vehicle_ids: string[];
|
|
194
|
+
}, {
|
|
198
195
|
report_name: string;
|
|
199
196
|
report_status: OnOff;
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
cc_email_ids?: string | undefined;
|
|
197
|
+
all_vehicles: YesNo;
|
|
198
|
+
status: Status;
|
|
199
|
+
organisation_id: string;
|
|
204
200
|
report_types?: ReportType[] | undefined;
|
|
205
201
|
report_list?: ReportList[] | undefined;
|
|
206
202
|
report_channels?: ReportChannel.Email[] | undefined;
|
|
203
|
+
mobile_numbers?: string | undefined;
|
|
204
|
+
email_ids?: string | undefined;
|
|
205
|
+
cc_email_ids?: string | undefined;
|
|
206
|
+
vehicle_ids?: string[] | undefined;
|
|
207
207
|
}>;
|
|
208
208
|
type OrganisationReportPreferenceDTO = z.infer<typeof OrganisationReportPreferenceSchema>;
|
|
209
209
|
declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
|
|
@@ -244,6 +244,10 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
|
|
|
244
244
|
report_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReportList>, "many">>>;
|
|
245
245
|
report_channels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReportChannel>, "many">>>;
|
|
246
246
|
}, "strip", z.ZodTypeAny, {
|
|
247
|
+
report_status: OnOff[];
|
|
248
|
+
report_types: ReportType[];
|
|
249
|
+
report_list: ReportList[];
|
|
250
|
+
report_channels: ReportChannel.Email[];
|
|
247
251
|
status: Status[];
|
|
248
252
|
search: string;
|
|
249
253
|
paging: PAGING;
|
|
@@ -266,14 +270,14 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
|
|
|
266
270
|
date_format_id: string;
|
|
267
271
|
time_zone_id: string;
|
|
268
272
|
organisation_ids: string[];
|
|
269
|
-
report_status: OnOff[];
|
|
270
|
-
report_types: ReportType[];
|
|
271
|
-
report_list: ReportList[];
|
|
272
|
-
report_channels: ReportChannel.Email[];
|
|
273
273
|
report_preference_ids: string[];
|
|
274
274
|
}, {
|
|
275
275
|
date_format_id: string;
|
|
276
276
|
time_zone_id: string;
|
|
277
|
+
report_status?: OnOff[] | undefined;
|
|
278
|
+
report_types?: ReportType[] | undefined;
|
|
279
|
+
report_list?: ReportList[] | undefined;
|
|
280
|
+
report_channels?: ReportChannel.Email[] | undefined;
|
|
277
281
|
status?: Status[] | undefined;
|
|
278
282
|
search?: string | undefined;
|
|
279
283
|
paging?: PAGING | undefined;
|
|
@@ -294,10 +298,6 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
|
|
|
294
298
|
}[] | undefined;
|
|
295
299
|
include_master_data?: YesNo | undefined;
|
|
296
300
|
organisation_ids?: string[] | undefined;
|
|
297
|
-
report_status?: OnOff[] | undefined;
|
|
298
|
-
report_types?: ReportType[] | undefined;
|
|
299
|
-
report_list?: ReportList[] | undefined;
|
|
300
|
-
report_channels?: ReportChannel.Email[] | undefined;
|
|
301
301
|
report_preference_ids?: string[] | undefined;
|
|
302
302
|
}>;
|
|
303
303
|
type OrganisationReportPreferenceQueryDTO = z.infer<typeof OrganisationReportPreferenceQuerySchema>;
|
|
@@ -2,7 +2,7 @@ import { TicketStatus, Status, FileType, PAGING, LoadParents, LoadChild, LoadChi
|
|
|
2
2
|
import { BaseCommionFile, 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 } from '../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User } from '../../user_organisation_service-DUivHiRQ.js';
|
|
6
6
|
import { UserAdmin } from '../main/users/user_admin_service.js';
|
|
7
7
|
import '../master/main/master_main_sim_provider_service.js';
|
|
8
8
|
|
|
@@ -120,8 +120,8 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
120
120
|
}, "strip", z.ZodTypeAny, {
|
|
121
121
|
status: Status;
|
|
122
122
|
organisation_id: string;
|
|
123
|
-
user_id: string;
|
|
124
123
|
description: string;
|
|
124
|
+
user_id: string;
|
|
125
125
|
admin_id: string;
|
|
126
126
|
subject: string;
|
|
127
127
|
admin_message: 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, a as User, M as MasterVehicle,
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, c as MasterDriver, d as MasterDevice } from '../../../user_organisation_service-DUivHiRQ.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 { GPSFuelApproveStatus, RefillEntrySource, RefillMethod, PaymentMode, Pay
|
|
|
2
2
|
import { BaseCommionFile, 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,
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, c as MasterDriver, d as MasterDevice, e as MasterVehicleFuelType, f as MasterVehicleFuelUnit } from '../../../user_organisation_service-DUivHiRQ.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
8
8
|
|
|
@@ -101,6 +101,7 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
101
101
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
102
102
|
fleet_fuel_refill_id: z.ZodEffects<z.ZodString, string, string>;
|
|
103
103
|
}, "strip", z.ZodTypeAny, {
|
|
104
|
+
fleet_fuel_refill_id: string;
|
|
104
105
|
status: Status;
|
|
105
106
|
organisation_id: string;
|
|
106
107
|
usage_type: string;
|
|
@@ -111,13 +112,12 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
111
112
|
file_description: string;
|
|
112
113
|
file_size: number;
|
|
113
114
|
file_metadata: Record<string, any>;
|
|
114
|
-
fleet_fuel_refill_id: string;
|
|
115
115
|
}, {
|
|
116
|
+
fleet_fuel_refill_id: string;
|
|
116
117
|
status: Status;
|
|
117
118
|
organisation_id: string;
|
|
118
119
|
usage_type: string;
|
|
119
120
|
file_type: FileType;
|
|
120
|
-
fleet_fuel_refill_id: string;
|
|
121
121
|
file_url?: string | undefined;
|
|
122
122
|
file_key?: string | undefined;
|
|
123
123
|
file_name?: string | undefined;
|
|
@@ -181,6 +181,7 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
181
181
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
182
182
|
fleet_fuel_refill_id: z.ZodEffects<z.ZodString, string, string>;
|
|
183
183
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
184
|
+
fleet_fuel_refill_id: string;
|
|
184
185
|
status: Status;
|
|
185
186
|
organisation_id: string;
|
|
186
187
|
usage_type: string;
|
|
@@ -191,13 +192,12 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
191
192
|
file_description: string;
|
|
192
193
|
file_size: number;
|
|
193
194
|
file_metadata: Record<string, any>;
|
|
194
|
-
fleet_fuel_refill_id: string;
|
|
195
195
|
}, {
|
|
196
|
+
fleet_fuel_refill_id: string;
|
|
196
197
|
status: Status;
|
|
197
198
|
organisation_id: string;
|
|
198
199
|
usage_type: string;
|
|
199
200
|
file_type: FileType;
|
|
200
|
-
fleet_fuel_refill_id: string;
|
|
201
201
|
file_url?: string | undefined;
|
|
202
202
|
file_key?: string | undefined;
|
|
203
203
|
file_name?: string | undefined;
|
|
@@ -206,23 +206,12 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
206
206
|
file_metadata?: Record<string, any> | undefined;
|
|
207
207
|
}>, "many">>>;
|
|
208
208
|
}, "strip", z.ZodTypeAny, {
|
|
209
|
-
odometer_reading: number;
|
|
210
209
|
date_time: string;
|
|
211
210
|
admin_verify_status: GPSFuelApproveStatus;
|
|
212
211
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
213
212
|
entry_source: RefillEntrySource;
|
|
214
213
|
source_reference_id: string;
|
|
215
214
|
source_notes: string;
|
|
216
|
-
google_location: string;
|
|
217
|
-
status: Status;
|
|
218
|
-
organisation_id: string;
|
|
219
|
-
user_id: string;
|
|
220
|
-
vehicle_id: string;
|
|
221
|
-
driver_id: string;
|
|
222
|
-
device_id: string;
|
|
223
|
-
vehicle_fuel_type_id: string;
|
|
224
|
-
vehicle_fuel_unit_id: string;
|
|
225
|
-
time_zone_id: string;
|
|
226
215
|
refill_method: RefillMethod;
|
|
227
216
|
refill_details: string;
|
|
228
217
|
filled_by_person: string;
|
|
@@ -232,12 +221,23 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
232
221
|
payment_reference_number: string;
|
|
233
222
|
fuel_card_number: string;
|
|
234
223
|
payment_notes: string;
|
|
224
|
+
google_location: string;
|
|
225
|
+
odometer_reading: number;
|
|
235
226
|
tank_size: number;
|
|
236
227
|
is_full_tank: YesNo;
|
|
237
228
|
is_previous_entries_missed: YesNo;
|
|
229
|
+
status: Status;
|
|
230
|
+
organisation_id: string;
|
|
231
|
+
user_id: string;
|
|
232
|
+
vehicle_id: string;
|
|
233
|
+
driver_id: string;
|
|
234
|
+
device_id: string;
|
|
238
235
|
vendor_id: string;
|
|
239
236
|
fuel_station_id: string;
|
|
237
|
+
vehicle_fuel_type_id: string;
|
|
238
|
+
vehicle_fuel_unit_id: string;
|
|
240
239
|
FleetFuelRefillFile: {
|
|
240
|
+
fleet_fuel_refill_id: string;
|
|
241
241
|
status: Status;
|
|
242
242
|
organisation_id: string;
|
|
243
243
|
usage_type: string;
|
|
@@ -248,50 +248,46 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
248
248
|
file_description: string;
|
|
249
249
|
file_size: number;
|
|
250
250
|
file_metadata: Record<string, any>;
|
|
251
|
-
fleet_fuel_refill_id: string;
|
|
252
251
|
}[];
|
|
253
|
-
|
|
254
|
-
total_cost?: number | undefined;
|
|
255
|
-
latitude?: number | undefined;
|
|
256
|
-
longitude?: number | undefined;
|
|
252
|
+
time_zone_id: string;
|
|
257
253
|
before_refill_quantity?: number | undefined;
|
|
258
254
|
after_refill_quantity?: number | undefined;
|
|
259
255
|
refill_quantity?: number | undefined;
|
|
260
256
|
verified_refill_quantity?: number | undefined;
|
|
261
257
|
diff_refill_quantity?: number | undefined;
|
|
258
|
+
cost_per_unit?: number | undefined;
|
|
259
|
+
total_cost?: number | undefined;
|
|
260
|
+
latitude?: number | undefined;
|
|
261
|
+
longitude?: number | undefined;
|
|
262
262
|
}, {
|
|
263
263
|
date_time: string;
|
|
264
264
|
admin_verify_status: GPSFuelApproveStatus;
|
|
265
265
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
266
|
+
payment_mode: PaymentMode;
|
|
267
|
+
payment_status: PaymentStatus;
|
|
268
|
+
is_full_tank: YesNo;
|
|
269
|
+
is_previous_entries_missed: YesNo;
|
|
266
270
|
status: Status;
|
|
267
271
|
organisation_id: string;
|
|
268
272
|
user_id: string;
|
|
269
273
|
vehicle_id: string;
|
|
270
274
|
driver_id: string;
|
|
271
275
|
device_id: string;
|
|
276
|
+
vendor_id: string;
|
|
277
|
+
fuel_station_id: string;
|
|
272
278
|
vehicle_fuel_type_id: string;
|
|
273
279
|
vehicle_fuel_unit_id: string;
|
|
274
280
|
time_zone_id: string;
|
|
275
|
-
payment_mode: PaymentMode;
|
|
276
|
-
payment_status: PaymentStatus;
|
|
277
|
-
is_full_tank: YesNo;
|
|
278
|
-
is_previous_entries_missed: YesNo;
|
|
279
|
-
vendor_id: string;
|
|
280
|
-
fuel_station_id: string;
|
|
281
|
-
odometer_reading?: unknown;
|
|
282
|
-
cost_per_unit?: unknown;
|
|
283
|
-
total_cost?: unknown;
|
|
284
|
-
entry_source?: RefillEntrySource | undefined;
|
|
285
|
-
source_reference_id?: string | undefined;
|
|
286
|
-
source_notes?: string | undefined;
|
|
287
|
-
latitude?: unknown;
|
|
288
|
-
longitude?: unknown;
|
|
289
|
-
google_location?: string | undefined;
|
|
290
281
|
before_refill_quantity?: unknown;
|
|
291
282
|
after_refill_quantity?: unknown;
|
|
292
283
|
refill_quantity?: unknown;
|
|
293
284
|
verified_refill_quantity?: unknown;
|
|
294
285
|
diff_refill_quantity?: unknown;
|
|
286
|
+
cost_per_unit?: unknown;
|
|
287
|
+
total_cost?: unknown;
|
|
288
|
+
entry_source?: RefillEntrySource | undefined;
|
|
289
|
+
source_reference_id?: string | undefined;
|
|
290
|
+
source_notes?: string | undefined;
|
|
295
291
|
refill_method?: RefillMethod | undefined;
|
|
296
292
|
refill_details?: string | undefined;
|
|
297
293
|
filled_by_person?: string | undefined;
|
|
@@ -299,13 +295,17 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
299
295
|
payment_reference_number?: string | undefined;
|
|
300
296
|
fuel_card_number?: string | undefined;
|
|
301
297
|
payment_notes?: string | undefined;
|
|
298
|
+
latitude?: unknown;
|
|
299
|
+
longitude?: unknown;
|
|
300
|
+
google_location?: string | undefined;
|
|
301
|
+
odometer_reading?: unknown;
|
|
302
302
|
tank_size?: unknown;
|
|
303
303
|
FleetFuelRefillFile?: {
|
|
304
|
+
fleet_fuel_refill_id: string;
|
|
304
305
|
status: Status;
|
|
305
306
|
organisation_id: string;
|
|
306
307
|
usage_type: string;
|
|
307
308
|
file_type: FileType;
|
|
308
|
-
fleet_fuel_refill_id: string;
|
|
309
309
|
file_url?: string | undefined;
|
|
310
310
|
file_key?: string | undefined;
|
|
311
311
|
file_name?: string | undefined;
|
|
@@ -391,13 +391,13 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
391
391
|
vehicle_ids: string[];
|
|
392
392
|
driver_ids: string[];
|
|
393
393
|
device_ids: string[];
|
|
394
|
+
vendor_ids: string[];
|
|
395
|
+
fuel_station_ids: string[];
|
|
394
396
|
vehicle_fuel_type_ids: string[];
|
|
395
397
|
vehicle_fuel_unit_ids: string[];
|
|
398
|
+
fleet_fuel_refill_ids: string[];
|
|
396
399
|
from_date: string;
|
|
397
400
|
to_date: string;
|
|
398
|
-
vendor_ids: string[];
|
|
399
|
-
fuel_station_ids: string[];
|
|
400
|
-
fleet_fuel_refill_ids: string[];
|
|
401
401
|
}, {
|
|
402
402
|
time_zone_id: string;
|
|
403
403
|
date_format_id: string;
|
|
@@ -430,10 +430,10 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
430
430
|
vehicle_ids?: string[] | undefined;
|
|
431
431
|
driver_ids?: string[] | undefined;
|
|
432
432
|
device_ids?: string[] | undefined;
|
|
433
|
-
vehicle_fuel_type_ids?: string[] | undefined;
|
|
434
|
-
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
435
433
|
vendor_ids?: string[] | undefined;
|
|
436
434
|
fuel_station_ids?: string[] | undefined;
|
|
435
|
+
vehicle_fuel_type_ids?: string[] | undefined;
|
|
436
|
+
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
437
437
|
fleet_fuel_refill_ids?: string[] | undefined;
|
|
438
438
|
}>;
|
|
439
439
|
type FleetFuelRefillQueryDTO = z.infer<typeof FleetFuelRefillQuerySchema>;
|
|
@@ -2,7 +2,7 @@ import { GPSFuelApproveStatus, RefillEntrySource, Status, FileType, PAGING, Load
|
|
|
2
2
|
import { BaseCommionFile, 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,
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, c as MasterDriver, d as MasterDevice, e as MasterVehicleFuelType, f as MasterVehicleFuelUnit } from '../../../user_organisation_service-DUivHiRQ.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
7
|
import { MasterVehicleFuelRemovalReason } from '../../master/vehicle/master_vehicle_fuel_removal_reason_service.js';
|
|
8
8
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -84,7 +84,6 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
84
84
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
85
85
|
fleet_fuel_removal_id: z.ZodEffects<z.ZodString, string, string>;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
-
fleet_fuel_removal_id: string;
|
|
88
87
|
status: Status;
|
|
89
88
|
organisation_id: string;
|
|
90
89
|
usage_type: string;
|
|
@@ -95,12 +94,13 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
95
94
|
file_description: string;
|
|
96
95
|
file_size: number;
|
|
97
96
|
file_metadata: Record<string, any>;
|
|
98
|
-
}, {
|
|
99
97
|
fleet_fuel_removal_id: string;
|
|
98
|
+
}, {
|
|
100
99
|
status: Status;
|
|
101
100
|
organisation_id: string;
|
|
102
101
|
usage_type: string;
|
|
103
102
|
file_type: FileType;
|
|
103
|
+
fleet_fuel_removal_id: string;
|
|
104
104
|
file_url?: string | undefined;
|
|
105
105
|
file_key?: string | undefined;
|
|
106
106
|
file_name?: string | undefined;
|
|
@@ -152,7 +152,6 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
152
152
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
153
153
|
fleet_fuel_removal_id: z.ZodEffects<z.ZodString, string, string>;
|
|
154
154
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
155
|
-
fleet_fuel_removal_id: string;
|
|
156
155
|
status: Status;
|
|
157
156
|
organisation_id: string;
|
|
158
157
|
usage_type: string;
|
|
@@ -163,12 +162,13 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
163
162
|
file_description: string;
|
|
164
163
|
file_size: number;
|
|
165
164
|
file_metadata: Record<string, any>;
|
|
166
|
-
}, {
|
|
167
165
|
fleet_fuel_removal_id: string;
|
|
166
|
+
}, {
|
|
168
167
|
status: Status;
|
|
169
168
|
organisation_id: string;
|
|
170
169
|
usage_type: string;
|
|
171
170
|
file_type: FileType;
|
|
171
|
+
fleet_fuel_removal_id: string;
|
|
172
172
|
file_url?: string | undefined;
|
|
173
173
|
file_key?: string | undefined;
|
|
174
174
|
file_name?: string | undefined;
|
|
@@ -177,16 +177,14 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
177
177
|
file_metadata?: Record<string, any> | undefined;
|
|
178
178
|
}>, "many">>>;
|
|
179
179
|
}, "strip", z.ZodTypeAny, {
|
|
180
|
-
odometer_reading: number;
|
|
181
180
|
date_time: string;
|
|
182
181
|
admin_verify_status: GPSFuelApproveStatus;
|
|
183
182
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
184
|
-
fuel_removal_reason_id: string;
|
|
185
|
-
removal_details: string;
|
|
186
183
|
entry_source: RefillEntrySource;
|
|
187
184
|
source_reference_id: string;
|
|
188
185
|
source_notes: string;
|
|
189
186
|
google_location: string;
|
|
187
|
+
odometer_reading: number;
|
|
190
188
|
status: Status;
|
|
191
189
|
organisation_id: string;
|
|
192
190
|
user_id: string;
|
|
@@ -195,8 +193,10 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
195
193
|
device_id: string;
|
|
196
194
|
vehicle_fuel_type_id: string;
|
|
197
195
|
vehicle_fuel_unit_id: string;
|
|
196
|
+
time_zone_id: string;
|
|
197
|
+
fuel_removal_reason_id: string;
|
|
198
|
+
removal_details: string;
|
|
198
199
|
FleetFuelRemovalFile: {
|
|
199
|
-
fleet_fuel_removal_id: string;
|
|
200
200
|
status: Status;
|
|
201
201
|
organisation_id: string;
|
|
202
202
|
usage_type: string;
|
|
@@ -207,22 +207,21 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
207
207
|
file_description: string;
|
|
208
208
|
file_size: number;
|
|
209
209
|
file_metadata: Record<string, any>;
|
|
210
|
+
fleet_fuel_removal_id: string;
|
|
210
211
|
}[];
|
|
211
|
-
|
|
212
|
+
cost_per_unit?: number | undefined;
|
|
213
|
+
total_cost?: number | undefined;
|
|
214
|
+
latitude?: number | undefined;
|
|
215
|
+
longitude?: number | undefined;
|
|
212
216
|
before_removal_quantity?: number | undefined;
|
|
213
217
|
after_removal_quantity?: number | undefined;
|
|
214
218
|
removal_quantity?: number | undefined;
|
|
215
219
|
verified_removal_quantity?: number | undefined;
|
|
216
220
|
diff_removal_quantity?: number | undefined;
|
|
217
|
-
cost_per_unit?: number | undefined;
|
|
218
|
-
total_cost?: number | undefined;
|
|
219
|
-
latitude?: number | undefined;
|
|
220
|
-
longitude?: number | undefined;
|
|
221
221
|
}, {
|
|
222
222
|
date_time: string;
|
|
223
223
|
admin_verify_status: GPSFuelApproveStatus;
|
|
224
224
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
225
|
-
fuel_removal_reason_id: string;
|
|
226
225
|
status: Status;
|
|
227
226
|
organisation_id: string;
|
|
228
227
|
user_id: string;
|
|
@@ -232,27 +231,28 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
232
231
|
vehicle_fuel_type_id: string;
|
|
233
232
|
vehicle_fuel_unit_id: string;
|
|
234
233
|
time_zone_id: string;
|
|
235
|
-
|
|
236
|
-
after_removal_quantity?: unknown;
|
|
237
|
-
removal_quantity?: unknown;
|
|
238
|
-
verified_removal_quantity?: unknown;
|
|
239
|
-
diff_removal_quantity?: unknown;
|
|
240
|
-
odometer_reading?: unknown;
|
|
234
|
+
fuel_removal_reason_id: string;
|
|
241
235
|
cost_per_unit?: unknown;
|
|
242
236
|
total_cost?: unknown;
|
|
243
|
-
removal_details?: string | undefined;
|
|
244
237
|
entry_source?: RefillEntrySource | undefined;
|
|
245
238
|
source_reference_id?: string | undefined;
|
|
246
239
|
source_notes?: string | undefined;
|
|
247
240
|
latitude?: unknown;
|
|
248
241
|
longitude?: unknown;
|
|
249
242
|
google_location?: string | undefined;
|
|
243
|
+
odometer_reading?: unknown;
|
|
244
|
+
before_removal_quantity?: unknown;
|
|
245
|
+
after_removal_quantity?: unknown;
|
|
246
|
+
removal_quantity?: unknown;
|
|
247
|
+
verified_removal_quantity?: unknown;
|
|
248
|
+
diff_removal_quantity?: unknown;
|
|
249
|
+
removal_details?: string | undefined;
|
|
250
250
|
FleetFuelRemovalFile?: {
|
|
251
|
-
fleet_fuel_removal_id: string;
|
|
252
251
|
status: Status;
|
|
253
252
|
organisation_id: string;
|
|
254
253
|
usage_type: string;
|
|
255
254
|
file_type: FileType;
|
|
255
|
+
fleet_fuel_removal_id: string;
|
|
256
256
|
file_url?: string | undefined;
|
|
257
257
|
file_key?: string | undefined;
|
|
258
258
|
file_name?: string | undefined;
|
|
@@ -338,9 +338,9 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
338
338
|
device_ids: string[];
|
|
339
339
|
vehicle_fuel_type_ids: string[];
|
|
340
340
|
vehicle_fuel_unit_ids: string[];
|
|
341
|
-
fuel_removal_reason_ids: string[];
|
|
342
341
|
from_date: string;
|
|
343
342
|
to_date: string;
|
|
343
|
+
fuel_removal_reason_ids: string[];
|
|
344
344
|
}, {
|
|
345
345
|
time_zone_id: string;
|
|
346
346
|
date_format_id: string;
|
|
@@ -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-
|
|
4
|
+
import { U as UserOrganisation } from '../../../../user_organisation_service-DUivHiRQ.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|