vms-nest-prisma-api-document 45.0.0 → 50.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/core/Enums.d.ts +1 -2
- package/dist/core/Enums.js +0 -1
- package/dist/services/account/bookmark_service.d.ts +5 -5
- package/dist/services/account/notification_preferences.service.d.ts +20 -20
- package/dist/services/account/report_preferences.service.d.ts +20 -20
- package/dist/services/account/ticket_service.d.ts +4 -4
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +17 -17
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +32 -32
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +46 -46
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +3 -3
- 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_live_track_share_link_service.js +0 -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 +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 +5 -5
- 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 +5 -5
- 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/package.json +1 -1
- package/dist/{user_organisation_service-DRukc453.d.ts → user_organisation_service-Da1BdaCu.d.ts} +2 -2
package/dist/core/Enums.d.ts
CHANGED
package/dist/core/Enums.js
CHANGED
|
@@ -243,7 +243,6 @@ var LinkStatus = /* @__PURE__ */ ((LinkStatus2) => {
|
|
|
243
243
|
LinkStatus2["Active"] = "Active";
|
|
244
244
|
LinkStatus2["Inactive"] = "Inactive";
|
|
245
245
|
LinkStatus2["Expired"] = "Expired";
|
|
246
|
-
LinkStatus2["TripEnded"] = "TripEnded";
|
|
247
246
|
return LinkStatus2;
|
|
248
247
|
})(LinkStatus || {});
|
|
249
248
|
var InspectionStatus = /* @__PURE__ */ ((InspectionStatus2) => {
|
|
@@ -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-Da1BdaCu.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -42,8 +42,8 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
43
|
status: Status;
|
|
44
44
|
organisation_id: string;
|
|
45
|
-
group_name: string;
|
|
46
45
|
user_id: string;
|
|
46
|
+
group_name: string;
|
|
47
47
|
module_name: string;
|
|
48
48
|
menu_type: MenuType;
|
|
49
49
|
group_name_language: string;
|
|
@@ -56,8 +56,8 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
56
56
|
}, {
|
|
57
57
|
status: Status;
|
|
58
58
|
organisation_id: string;
|
|
59
|
-
group_name: string;
|
|
60
59
|
user_id: string;
|
|
60
|
+
group_name: string;
|
|
61
61
|
module_name: string;
|
|
62
62
|
menu_type: MenuType;
|
|
63
63
|
group_name_language: string;
|
|
@@ -106,6 +106,7 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
106
106
|
menu_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof MenuType>, "many">>>;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
108
|
status: Status[];
|
|
109
|
+
user_ids: string[];
|
|
109
110
|
search: string;
|
|
110
111
|
paging: PAGING;
|
|
111
112
|
page_count: number;
|
|
@@ -127,13 +128,13 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
127
128
|
date_format_id: string;
|
|
128
129
|
time_zone_id: string;
|
|
129
130
|
organisation_ids: string[];
|
|
130
|
-
user_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
136
|
status?: Status[] | undefined;
|
|
137
|
+
user_ids?: string[] | undefined;
|
|
137
138
|
search?: string | undefined;
|
|
138
139
|
paging?: PAGING | undefined;
|
|
139
140
|
page_count?: unknown;
|
|
@@ -153,7 +154,6 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
153
154
|
}[] | undefined;
|
|
154
155
|
include_master_data?: YesNo | undefined;
|
|
155
156
|
organisation_ids?: string[] | undefined;
|
|
156
|
-
user_ids?: string[] | undefined;
|
|
157
157
|
menu_type?: MenuType[] | undefined;
|
|
158
158
|
bookmark_ids?: string[] | undefined;
|
|
159
159
|
}>;
|
|
@@ -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-Da1BdaCu.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,39 +85,39 @@ 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
|
+
notification_name: string;
|
|
89
|
+
notification_status: OnOff;
|
|
90
|
+
notification_channels: NotificationChannel[];
|
|
88
91
|
mobile_numbers: string;
|
|
89
92
|
email_ids: string;
|
|
90
93
|
cc_email_ids: string;
|
|
94
|
+
all_users: YesNo;
|
|
95
|
+
notification_list: NotificationList[];
|
|
96
|
+
over_speed_limit: number;
|
|
97
|
+
all_geofences: YesNo;
|
|
91
98
|
all_vehicles: YesNo;
|
|
92
99
|
status: Status;
|
|
93
100
|
organisation_id: string;
|
|
94
|
-
vehicle_ids: string[];
|
|
95
101
|
user_ids: string[];
|
|
96
102
|
gps_geofence_ids: string[];
|
|
103
|
+
vehicle_ids: string[];
|
|
104
|
+
}, {
|
|
97
105
|
notification_name: string;
|
|
98
106
|
notification_status: OnOff;
|
|
99
|
-
notification_channels: NotificationChannel[];
|
|
100
107
|
all_users: YesNo;
|
|
101
|
-
notification_list: NotificationList[];
|
|
102
|
-
over_speed_limit: number;
|
|
103
108
|
all_geofences: YesNo;
|
|
104
|
-
}, {
|
|
105
109
|
all_vehicles: YesNo;
|
|
106
110
|
status: Status;
|
|
107
111
|
organisation_id: string;
|
|
108
|
-
|
|
109
|
-
notification_status: OnOff;
|
|
110
|
-
all_users: YesNo;
|
|
111
|
-
all_geofences: YesNo;
|
|
112
|
+
notification_channels?: NotificationChannel[] | undefined;
|
|
112
113
|
mobile_numbers?: string | undefined;
|
|
113
114
|
email_ids?: string | undefined;
|
|
114
115
|
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
116
|
notification_list?: NotificationList[] | undefined;
|
|
120
117
|
over_speed_limit?: unknown;
|
|
118
|
+
user_ids?: string[] | undefined;
|
|
119
|
+
gps_geofence_ids?: string[] | undefined;
|
|
120
|
+
vehicle_ids?: string[] | undefined;
|
|
121
121
|
}>;
|
|
122
122
|
type OrganisationNotificationPreferenceDTO = z.infer<typeof OrganisationNotificationPreferenceSchema>;
|
|
123
123
|
declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
@@ -157,6 +157,9 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
157
157
|
notification_channels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof NotificationChannel>, "many">>>;
|
|
158
158
|
notification_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof NotificationList>, "many">>>;
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
notification_status: OnOff[];
|
|
161
|
+
notification_channels: NotificationChannel[];
|
|
162
|
+
notification_list: NotificationList[];
|
|
160
163
|
status: Status[];
|
|
161
164
|
search: string;
|
|
162
165
|
paging: PAGING;
|
|
@@ -179,13 +182,13 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
179
182
|
date_format_id: string;
|
|
180
183
|
time_zone_id: string;
|
|
181
184
|
organisation_ids: string[];
|
|
182
|
-
notification_status: OnOff[];
|
|
183
|
-
notification_channels: NotificationChannel[];
|
|
184
|
-
notification_list: NotificationList[];
|
|
185
185
|
notification_preference_ids: string[];
|
|
186
186
|
}, {
|
|
187
187
|
date_format_id: string;
|
|
188
188
|
time_zone_id: string;
|
|
189
|
+
notification_status?: OnOff[] | undefined;
|
|
190
|
+
notification_channels?: NotificationChannel[] | undefined;
|
|
191
|
+
notification_list?: NotificationList[] | undefined;
|
|
189
192
|
status?: Status[] | undefined;
|
|
190
193
|
search?: string | undefined;
|
|
191
194
|
paging?: PAGING | undefined;
|
|
@@ -206,9 +209,6 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
206
209
|
}[] | undefined;
|
|
207
210
|
include_master_data?: YesNo | undefined;
|
|
208
211
|
organisation_ids?: string[] | undefined;
|
|
209
|
-
notification_status?: OnOff[] | undefined;
|
|
210
|
-
notification_channels?: NotificationChannel[] | undefined;
|
|
211
|
-
notification_list?: NotificationList[] | undefined;
|
|
212
212
|
notification_preference_ids?: string[] | undefined;
|
|
213
213
|
}>;
|
|
214
214
|
type OrganisationNotificationPreferenceQueryDTO = z.infer<typeof OrganisationNotificationPreferenceQuerySchema>;
|
|
@@ -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-Da1BdaCu.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -113,7 +113,6 @@ 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[];
|
|
117
116
|
search: string;
|
|
118
117
|
paging: PAGING;
|
|
119
118
|
page_count: number;
|
|
@@ -135,13 +134,13 @@ declare const OrganisationReportAutomationMailQuerySchema: z.ZodObject<{
|
|
|
135
134
|
date_format_id: string;
|
|
136
135
|
time_zone_id: string;
|
|
137
136
|
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;
|
|
145
144
|
search?: string | undefined;
|
|
146
145
|
paging?: PAGING | undefined;
|
|
147
146
|
page_count?: unknown;
|
|
@@ -161,6 +160,7 @@ declare const OrganisationReportAutomationMailQuerySchema: z.ZodObject<{
|
|
|
161
160
|
}[] | undefined;
|
|
162
161
|
include_master_data?: YesNo | undefined;
|
|
163
162
|
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,11 +179,6 @@ 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
|
-
report_name: string;
|
|
183
|
-
report_status: OnOff;
|
|
184
|
-
report_types: ReportType[];
|
|
185
|
-
report_list: ReportList[];
|
|
186
|
-
report_channels: ReportChannel.Email[];
|
|
187
182
|
mobile_numbers: string;
|
|
188
183
|
email_ids: string;
|
|
189
184
|
cc_email_ids: string;
|
|
@@ -191,19 +186,24 @@ declare const OrganisationReportPreferenceSchema: z.ZodObject<{
|
|
|
191
186
|
status: Status;
|
|
192
187
|
organisation_id: string;
|
|
193
188
|
vehicle_ids: string[];
|
|
194
|
-
}, {
|
|
195
189
|
report_name: string;
|
|
196
190
|
report_status: OnOff;
|
|
191
|
+
report_types: ReportType[];
|
|
192
|
+
report_list: ReportList[];
|
|
193
|
+
report_channels: ReportChannel.Email[];
|
|
194
|
+
}, {
|
|
197
195
|
all_vehicles: YesNo;
|
|
198
196
|
status: Status;
|
|
199
197
|
organisation_id: string;
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
report_channels?: ReportChannel.Email[] | undefined;
|
|
198
|
+
report_name: string;
|
|
199
|
+
report_status: OnOff;
|
|
203
200
|
mobile_numbers?: string | undefined;
|
|
204
201
|
email_ids?: string | undefined;
|
|
205
202
|
cc_email_ids?: string | undefined;
|
|
206
203
|
vehicle_ids?: string[] | undefined;
|
|
204
|
+
report_types?: ReportType[] | undefined;
|
|
205
|
+
report_list?: ReportList[] | undefined;
|
|
206
|
+
report_channels?: ReportChannel.Email[] | undefined;
|
|
207
207
|
}>;
|
|
208
208
|
type OrganisationReportPreferenceDTO = z.infer<typeof OrganisationReportPreferenceSchema>;
|
|
209
209
|
declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
|
|
@@ -244,10 +244,6 @@ 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[];
|
|
251
247
|
status: Status[];
|
|
252
248
|
search: string;
|
|
253
249
|
paging: PAGING;
|
|
@@ -270,14 +266,14 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
|
|
|
270
266
|
date_format_id: string;
|
|
271
267
|
time_zone_id: string;
|
|
272
268
|
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;
|
|
281
277
|
status?: Status[] | undefined;
|
|
282
278
|
search?: string | undefined;
|
|
283
279
|
paging?: PAGING | undefined;
|
|
@@ -298,6 +294,10 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
|
|
|
298
294
|
}[] | undefined;
|
|
299
295
|
include_master_data?: YesNo | undefined;
|
|
300
296
|
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-Da1BdaCu.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
|
-
description: string;
|
|
124
123
|
user_id: string;
|
|
124
|
+
description: string;
|
|
125
125
|
admin_id: string;
|
|
126
126
|
subject: string;
|
|
127
127
|
admin_message: string;
|
|
@@ -201,6 +201,7 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
201
201
|
ticket_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof TicketStatus>, "many">>>;
|
|
202
202
|
}, "strip", z.ZodTypeAny, {
|
|
203
203
|
status: Status[];
|
|
204
|
+
user_ids: string[];
|
|
204
205
|
search: string;
|
|
205
206
|
paging: PAGING;
|
|
206
207
|
page_count: number;
|
|
@@ -222,7 +223,6 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
222
223
|
date_format_id: string;
|
|
223
224
|
time_zone_id: string;
|
|
224
225
|
organisation_ids: string[];
|
|
225
|
-
user_ids: string[];
|
|
226
226
|
admin_ids: string[];
|
|
227
227
|
ticket_status: TicketStatus[];
|
|
228
228
|
ticket_ids: string[];
|
|
@@ -230,6 +230,7 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
230
230
|
date_format_id: string;
|
|
231
231
|
time_zone_id: string;
|
|
232
232
|
status?: Status[] | undefined;
|
|
233
|
+
user_ids?: string[] | undefined;
|
|
233
234
|
search?: string | undefined;
|
|
234
235
|
paging?: PAGING | undefined;
|
|
235
236
|
page_count?: unknown;
|
|
@@ -249,7 +250,6 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
249
250
|
}[] | undefined;
|
|
250
251
|
include_master_data?: YesNo | undefined;
|
|
251
252
|
organisation_ids?: string[] | undefined;
|
|
252
|
-
user_ids?: string[] | undefined;
|
|
253
253
|
admin_ids?: string[] | undefined;
|
|
254
254
|
ticket_status?: TicketStatus[] | undefined;
|
|
255
255
|
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-Da1BdaCu.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';
|
|
@@ -62,22 +62,22 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
62
62
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
64
|
date: string;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
user_id: string;
|
|
68
|
-
vehicle_id: string;
|
|
69
|
-
driver_id: string;
|
|
70
|
-
device_id: string;
|
|
65
|
+
start_fuel_liters: number;
|
|
66
|
+
end_fuel_liters: number;
|
|
71
67
|
total_km: number;
|
|
72
68
|
consumed_fuel_liters: number;
|
|
73
69
|
refills_count: number;
|
|
74
|
-
start_fuel_liters: number;
|
|
75
|
-
end_fuel_liters: number;
|
|
76
70
|
refill_liters: number;
|
|
77
71
|
removals_count: number;
|
|
78
72
|
removal_liters: number;
|
|
79
73
|
mileage_kmpl: number;
|
|
80
74
|
liters_per_100km: number;
|
|
75
|
+
status: Status;
|
|
76
|
+
organisation_id: string;
|
|
77
|
+
user_id: string;
|
|
78
|
+
vehicle_id: string;
|
|
79
|
+
driver_id: string;
|
|
80
|
+
device_id: string;
|
|
81
81
|
}, {
|
|
82
82
|
date: string;
|
|
83
83
|
status: Status;
|
|
@@ -86,11 +86,11 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
86
86
|
vehicle_id: string;
|
|
87
87
|
driver_id: string;
|
|
88
88
|
device_id: string;
|
|
89
|
+
start_fuel_liters?: unknown;
|
|
90
|
+
end_fuel_liters?: unknown;
|
|
89
91
|
total_km?: unknown;
|
|
90
92
|
consumed_fuel_liters?: unknown;
|
|
91
93
|
refills_count?: unknown;
|
|
92
|
-
start_fuel_liters?: unknown;
|
|
93
|
-
end_fuel_liters?: unknown;
|
|
94
94
|
refill_liters?: unknown;
|
|
95
95
|
removals_count?: unknown;
|
|
96
96
|
removal_liters?: unknown;
|
|
@@ -140,7 +140,6 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
140
140
|
day_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
141
141
|
}, "strip", z.ZodTypeAny, {
|
|
142
142
|
status: Status[];
|
|
143
|
-
time_zone_id: string;
|
|
144
143
|
search: string;
|
|
145
144
|
paging: PAGING;
|
|
146
145
|
page_count: number;
|
|
@@ -160,6 +159,7 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
160
159
|
}[];
|
|
161
160
|
include_master_data: YesNo;
|
|
162
161
|
date_format_id: string;
|
|
162
|
+
time_zone_id: string;
|
|
163
163
|
organisation_ids: string[];
|
|
164
164
|
user_ids: string[];
|
|
165
165
|
vehicle_ids: string[];
|
|
@@ -170,8 +170,8 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
170
170
|
vehicle_summary: YesNo;
|
|
171
171
|
day_summary: YesNo;
|
|
172
172
|
}, {
|
|
173
|
-
time_zone_id: string;
|
|
174
173
|
date_format_id: string;
|
|
174
|
+
time_zone_id: string;
|
|
175
175
|
from_date: string;
|
|
176
176
|
to_date: string;
|
|
177
177
|
status?: Status[] | undefined;
|
|
@@ -239,7 +239,6 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
239
239
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
240
240
|
}, "strip", z.ZodTypeAny, {
|
|
241
241
|
status: Status[];
|
|
242
|
-
time_zone_id: string;
|
|
243
242
|
search: string;
|
|
244
243
|
paging: PAGING;
|
|
245
244
|
page_count: number;
|
|
@@ -259,13 +258,14 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
259
258
|
}[];
|
|
260
259
|
include_master_data: YesNo;
|
|
261
260
|
date_format_id: string;
|
|
261
|
+
time_zone_id: string;
|
|
262
262
|
organisation_ids: string[];
|
|
263
263
|
vehicle_ids: string[];
|
|
264
264
|
from_date: string;
|
|
265
265
|
to_date: string;
|
|
266
266
|
}, {
|
|
267
|
-
time_zone_id: string;
|
|
268
267
|
date_format_id: string;
|
|
268
|
+
time_zone_id: string;
|
|
269
269
|
from_date: string;
|
|
270
270
|
to_date: string;
|
|
271
271
|
status?: Status[] | undefined;
|
|
@@ -327,7 +327,6 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
327
327
|
}, "strip", z.ZodTypeAny, {
|
|
328
328
|
date: string;
|
|
329
329
|
status: Status[];
|
|
330
|
-
time_zone_id: string;
|
|
331
330
|
search: string;
|
|
332
331
|
paging: PAGING;
|
|
333
332
|
page_count: number;
|
|
@@ -347,11 +346,12 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
347
346
|
}[];
|
|
348
347
|
include_master_data: YesNo;
|
|
349
348
|
date_format_id: string;
|
|
349
|
+
time_zone_id: string;
|
|
350
350
|
organisation_utrack_id: string;
|
|
351
351
|
}, {
|
|
352
352
|
date: string;
|
|
353
|
-
time_zone_id: string;
|
|
354
353
|
date_format_id: string;
|
|
354
|
+
time_zone_id: string;
|
|
355
355
|
organisation_utrack_id: string;
|
|
356
356
|
status?: Status[] | undefined;
|
|
357
357
|
search?: string | undefined;
|
|
@@ -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, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-Da1BdaCu.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
|
|
|
@@ -206,23 +206,23 @@ 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
|
-
date_time: string;
|
|
211
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
212
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
213
|
-
entry_source: RefillEntrySource;
|
|
214
|
-
source_reference_id: string;
|
|
215
|
-
source_notes: string;
|
|
216
|
-
google_location: string;
|
|
217
209
|
status: Status;
|
|
218
210
|
organisation_id: string;
|
|
219
211
|
user_id: string;
|
|
220
212
|
vehicle_id: string;
|
|
221
213
|
driver_id: string;
|
|
222
214
|
device_id: string;
|
|
215
|
+
time_zone_id: string;
|
|
223
216
|
vehicle_fuel_type_id: string;
|
|
224
217
|
vehicle_fuel_unit_id: string;
|
|
225
|
-
|
|
218
|
+
odometer_reading: number;
|
|
219
|
+
google_location: string;
|
|
220
|
+
date_time: string;
|
|
221
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
222
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
223
|
+
entry_source: RefillEntrySource;
|
|
224
|
+
source_reference_id: string;
|
|
225
|
+
source_notes: string;
|
|
226
226
|
refill_method: RefillMethod;
|
|
227
227
|
refill_details: string;
|
|
228
228
|
filled_by_person: string;
|
|
@@ -250,8 +250,6 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
250
250
|
file_metadata: Record<string, any>;
|
|
251
251
|
fleet_fuel_refill_id: string;
|
|
252
252
|
}[];
|
|
253
|
-
cost_per_unit?: number | undefined;
|
|
254
|
-
total_cost?: number | undefined;
|
|
255
253
|
latitude?: number | undefined;
|
|
256
254
|
longitude?: number | undefined;
|
|
257
255
|
before_refill_quantity?: number | undefined;
|
|
@@ -259,19 +257,21 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
259
257
|
refill_quantity?: number | undefined;
|
|
260
258
|
verified_refill_quantity?: number | undefined;
|
|
261
259
|
diff_refill_quantity?: number | undefined;
|
|
260
|
+
cost_per_unit?: number | undefined;
|
|
261
|
+
total_cost?: number | undefined;
|
|
262
262
|
}, {
|
|
263
|
-
date_time: string;
|
|
264
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
265
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
266
263
|
status: Status;
|
|
267
264
|
organisation_id: string;
|
|
268
265
|
user_id: string;
|
|
269
266
|
vehicle_id: string;
|
|
270
267
|
driver_id: string;
|
|
271
268
|
device_id: string;
|
|
269
|
+
time_zone_id: string;
|
|
272
270
|
vehicle_fuel_type_id: string;
|
|
273
271
|
vehicle_fuel_unit_id: string;
|
|
274
|
-
|
|
272
|
+
date_time: string;
|
|
273
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
274
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
275
275
|
payment_mode: PaymentMode;
|
|
276
276
|
payment_status: PaymentStatus;
|
|
277
277
|
is_full_tank: YesNo;
|
|
@@ -279,11 +279,6 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
279
279
|
vendor_id: string;
|
|
280
280
|
fuel_station_id: string;
|
|
281
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
282
|
latitude?: unknown;
|
|
288
283
|
longitude?: unknown;
|
|
289
284
|
google_location?: string | undefined;
|
|
@@ -292,6 +287,11 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
292
287
|
refill_quantity?: unknown;
|
|
293
288
|
verified_refill_quantity?: unknown;
|
|
294
289
|
diff_refill_quantity?: unknown;
|
|
290
|
+
cost_per_unit?: unknown;
|
|
291
|
+
total_cost?: unknown;
|
|
292
|
+
entry_source?: RefillEntrySource | undefined;
|
|
293
|
+
source_reference_id?: string | undefined;
|
|
294
|
+
source_notes?: string | undefined;
|
|
295
295
|
refill_method?: RefillMethod | undefined;
|
|
296
296
|
refill_details?: string | undefined;
|
|
297
297
|
filled_by_person?: string | undefined;
|
|
@@ -362,11 +362,7 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
362
362
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
363
363
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
364
364
|
}, "strip", z.ZodTypeAny, {
|
|
365
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
366
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
367
|
-
entry_source: RefillEntrySource[];
|
|
368
365
|
status: Status[];
|
|
369
|
-
time_zone_id: string;
|
|
370
366
|
search: string;
|
|
371
367
|
paging: PAGING;
|
|
372
368
|
page_count: number;
|
|
@@ -386,26 +382,27 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
386
382
|
}[];
|
|
387
383
|
include_master_data: YesNo;
|
|
388
384
|
date_format_id: string;
|
|
385
|
+
time_zone_id: string;
|
|
389
386
|
organisation_ids: string[];
|
|
390
387
|
user_ids: string[];
|
|
391
388
|
vehicle_ids: string[];
|
|
392
389
|
driver_ids: string[];
|
|
393
390
|
device_ids: string[];
|
|
394
|
-
vehicle_fuel_type_ids: string[];
|
|
395
|
-
vehicle_fuel_unit_ids: string[];
|
|
396
391
|
from_date: string;
|
|
397
392
|
to_date: string;
|
|
393
|
+
vehicle_fuel_type_ids: string[];
|
|
394
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
395
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
396
|
+
entry_source: RefillEntrySource[];
|
|
398
397
|
vendor_ids: string[];
|
|
399
398
|
fuel_station_ids: string[];
|
|
399
|
+
vehicle_fuel_unit_ids: string[];
|
|
400
400
|
fleet_fuel_refill_ids: string[];
|
|
401
401
|
}, {
|
|
402
|
-
time_zone_id: string;
|
|
403
402
|
date_format_id: string;
|
|
403
|
+
time_zone_id: string;
|
|
404
404
|
from_date: string;
|
|
405
405
|
to_date: string;
|
|
406
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
407
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
408
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
409
406
|
status?: Status[] | undefined;
|
|
410
407
|
search?: string | undefined;
|
|
411
408
|
paging?: PAGING | undefined;
|
|
@@ -431,9 +428,12 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
431
428
|
driver_ids?: string[] | undefined;
|
|
432
429
|
device_ids?: string[] | undefined;
|
|
433
430
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
434
|
-
|
|
431
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
432
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
433
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
435
434
|
vendor_ids?: string[] | undefined;
|
|
436
435
|
fuel_station_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>;
|