vms-nest-prisma-api-document 6.0.1 → 6.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/services/account/alert_service.d.ts +32 -32
- package/dist/services/account/bookmark_service.d.ts +3 -3
- package/dist/services/account/notification_service.d.ts +6 -6
- package/dist/services/account/ticket_service.d.ts +19 -19
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +12 -12
- 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 +43 -43
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_daily_summary_service.d.ts +1 -1
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_refill_service.d.ts +1 -1
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_removal_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_data_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 +5 -5
- 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 +17 -17
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +10 -10
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +43 -43
- package/dist/services/main/devices/master_device_service.d.ts +1 -1
- package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
- package/dist/services/main/sims/master_sim_service.d.ts +1 -1
- package/dist/services/main/users/auth_service.d.ts +1 -1
- package/dist/services/main/users/user_organisation_service.d.ts +1 -1
- package/dist/services/main/users/user_service.d.ts +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.js +8 -8
- 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_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 +4 -4
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/dist/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/faq_service.d.ts +1 -1
- package/package.json +1 -1
- package/dist/{user_organisation_service-nBb1eZ0_.d.ts → user_organisation_service-_rBwGIT-.d.ts} +23 -23
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Module, SubModule, AlertType, AlertSubType, YesNo, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../user_organisation_service-_rBwGIT-.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -93,12 +93,6 @@ declare const AlertSchema: z.ZodObject<{
|
|
|
93
93
|
driver_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
94
94
|
gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
|
-
status: Status;
|
|
97
|
-
organisation_id: string;
|
|
98
|
-
user_id: string;
|
|
99
|
-
user_ids: string[];
|
|
100
|
-
vehicle_ids: string[];
|
|
101
|
-
driver_ids: string[];
|
|
102
96
|
module: Module;
|
|
103
97
|
sub_module: SubModule;
|
|
104
98
|
alert_type: AlertType;
|
|
@@ -118,18 +112,21 @@ declare const AlertSchema: z.ZodObject<{
|
|
|
118
112
|
all_trips: YesNo;
|
|
119
113
|
all_geofences: YesNo;
|
|
120
114
|
all_drivers: YesNo;
|
|
121
|
-
gps_geofence_ids: string[];
|
|
122
|
-
}, {
|
|
123
115
|
status: Status;
|
|
124
116
|
organisation_id: string;
|
|
125
117
|
user_id: string;
|
|
118
|
+
vehicle_ids: string[];
|
|
119
|
+
user_ids: string[];
|
|
120
|
+
driver_ids: string[];
|
|
121
|
+
gps_geofence_ids: string[];
|
|
122
|
+
}, {
|
|
126
123
|
module: Module;
|
|
127
124
|
sub_module: SubModule;
|
|
128
125
|
alert_type: AlertType;
|
|
129
126
|
alert_sub_type: AlertSubType;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
127
|
+
status: Status;
|
|
128
|
+
organisation_id: string;
|
|
129
|
+
user_id: string;
|
|
133
130
|
alert_key_1?: string | undefined;
|
|
134
131
|
alert_key_2?: string | undefined;
|
|
135
132
|
alert_key_3?: string | undefined;
|
|
@@ -145,6 +142,9 @@ declare const AlertSchema: z.ZodObject<{
|
|
|
145
142
|
all_trips?: YesNo | undefined;
|
|
146
143
|
all_geofences?: YesNo | undefined;
|
|
147
144
|
all_drivers?: YesNo | undefined;
|
|
145
|
+
vehicle_ids?: string[] | undefined;
|
|
146
|
+
user_ids?: string[] | undefined;
|
|
147
|
+
driver_ids?: string[] | undefined;
|
|
148
148
|
gps_geofence_ids?: string[] | undefined;
|
|
149
149
|
}>;
|
|
150
150
|
type AlertDTO = z.infer<typeof AlertSchema>;
|
|
@@ -192,7 +192,17 @@ declare const AlertQuerySchema: z.ZodObject<{
|
|
|
192
192
|
is_whatsapp: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
193
193
|
is_email: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
194
194
|
}, "strip", z.ZodTypeAny, {
|
|
195
|
+
module: Module.ABC[];
|
|
196
|
+
sub_module: SubModule.ABC[];
|
|
197
|
+
alert_type: AlertType.ABC[];
|
|
198
|
+
alert_sub_type: AlertSubType.ABC[];
|
|
199
|
+
is_edit: YesNo[];
|
|
200
|
+
is_push: YesNo[];
|
|
201
|
+
is_sms: YesNo[];
|
|
202
|
+
is_whatsapp: YesNo[];
|
|
203
|
+
is_email: YesNo[];
|
|
195
204
|
status: Status[];
|
|
205
|
+
user_ids: string[];
|
|
196
206
|
search: string;
|
|
197
207
|
paging: PAGING;
|
|
198
208
|
page_count: number;
|
|
@@ -214,21 +224,21 @@ declare const AlertQuerySchema: z.ZodObject<{
|
|
|
214
224
|
date_format_id: string;
|
|
215
225
|
time_zone_id: string;
|
|
216
226
|
organisation_ids: string[];
|
|
217
|
-
user_ids: string[];
|
|
218
|
-
module: Module.ABC[];
|
|
219
|
-
sub_module: SubModule.ABC[];
|
|
220
|
-
alert_type: AlertType.ABC[];
|
|
221
|
-
alert_sub_type: AlertSubType.ABC[];
|
|
222
|
-
is_edit: YesNo[];
|
|
223
|
-
is_push: YesNo[];
|
|
224
|
-
is_sms: YesNo[];
|
|
225
|
-
is_whatsapp: YesNo[];
|
|
226
|
-
is_email: YesNo[];
|
|
227
227
|
alert_ids: string[];
|
|
228
228
|
}, {
|
|
229
229
|
date_format_id: string;
|
|
230
230
|
time_zone_id: string;
|
|
231
|
+
module?: Module.ABC[] | undefined;
|
|
232
|
+
sub_module?: SubModule.ABC[] | undefined;
|
|
233
|
+
alert_type?: AlertType.ABC[] | undefined;
|
|
234
|
+
alert_sub_type?: AlertSubType.ABC[] | undefined;
|
|
235
|
+
is_edit?: YesNo[] | undefined;
|
|
236
|
+
is_push?: YesNo[] | undefined;
|
|
237
|
+
is_sms?: YesNo[] | undefined;
|
|
238
|
+
is_whatsapp?: YesNo[] | undefined;
|
|
239
|
+
is_email?: YesNo[] | undefined;
|
|
231
240
|
status?: Status[] | undefined;
|
|
241
|
+
user_ids?: string[] | undefined;
|
|
232
242
|
search?: string | undefined;
|
|
233
243
|
paging?: PAGING | undefined;
|
|
234
244
|
page_count?: unknown;
|
|
@@ -248,16 +258,6 @@ declare const AlertQuerySchema: z.ZodObject<{
|
|
|
248
258
|
}[] | undefined;
|
|
249
259
|
include_master_data?: YesNo | undefined;
|
|
250
260
|
organisation_ids?: string[] | undefined;
|
|
251
|
-
user_ids?: string[] | undefined;
|
|
252
|
-
module?: Module.ABC[] | undefined;
|
|
253
|
-
sub_module?: SubModule.ABC[] | undefined;
|
|
254
|
-
alert_type?: AlertType.ABC[] | undefined;
|
|
255
|
-
alert_sub_type?: AlertSubType.ABC[] | undefined;
|
|
256
|
-
is_edit?: YesNo[] | undefined;
|
|
257
|
-
is_push?: YesNo[] | undefined;
|
|
258
|
-
is_sms?: YesNo[] | undefined;
|
|
259
|
-
is_whatsapp?: YesNo[] | undefined;
|
|
260
|
-
is_email?: YesNo[] | undefined;
|
|
261
261
|
alert_ids?: string[] | undefined;
|
|
262
262
|
}>;
|
|
263
263
|
type AlertQueryDTO = z.infer<typeof AlertQuerySchema>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MenuType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User } from '../../user_organisation_service-_rBwGIT-.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -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
|
}>;
|
|
@@ -2,7 +2,7 @@ import { YesNo, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy
|
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { Alert } from './alert_service.js';
|
|
5
|
-
import { U as UserOrganisation, a as User } from '../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User } from '../../user_organisation_service-_rBwGIT-.js';
|
|
6
6
|
import '../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../master/main/master_main_sim_provider_service.js';
|
|
8
8
|
|
|
@@ -46,12 +46,12 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
46
46
|
user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
47
47
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
-
status: Status;
|
|
50
|
-
organisation_id: string;
|
|
51
|
-
user_ids: string[];
|
|
52
49
|
alert_id: string;
|
|
53
50
|
mobile_numbers: string;
|
|
54
51
|
emails: string;
|
|
52
|
+
status: Status;
|
|
53
|
+
organisation_id: string;
|
|
54
|
+
user_ids: string[];
|
|
55
55
|
notification_title: string;
|
|
56
56
|
notification_message: string;
|
|
57
57
|
is_push_sent: YesNo;
|
|
@@ -59,14 +59,14 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
59
59
|
is_whatsapp_sent: YesNo;
|
|
60
60
|
is_email_sent: YesNo;
|
|
61
61
|
}, {
|
|
62
|
+
alert_id: string;
|
|
62
63
|
status: Status;
|
|
63
64
|
organisation_id: string;
|
|
64
|
-
alert_id: string;
|
|
65
65
|
notification_title: string;
|
|
66
66
|
notification_message: string;
|
|
67
|
-
user_ids?: string[] | undefined;
|
|
68
67
|
mobile_numbers?: string | undefined;
|
|
69
68
|
emails?: string | undefined;
|
|
69
|
+
user_ids?: string[] | undefined;
|
|
70
70
|
is_push_sent?: YesNo | undefined;
|
|
71
71
|
is_sms_sent?: YesNo | undefined;
|
|
72
72
|
is_whatsapp_sent?: YesNo | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FileType, Status, TicketStatus, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User } from '../../user_organisation_service-_rBwGIT-.js';
|
|
5
5
|
import { UserAdmin } from '../main/users/user_admin_service.js';
|
|
6
6
|
import '../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../master/main/master_main_sim_provider_service.js';
|
|
@@ -50,19 +50,19 @@ declare const TicketFileSchema: z.ZodObject<{
|
|
|
50
50
|
file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
51
51
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
status: Status;
|
|
54
|
+
organisation_id: string;
|
|
53
55
|
file_type: FileType;
|
|
54
56
|
file_url: string;
|
|
55
57
|
file_key: string;
|
|
56
58
|
file_description: string;
|
|
57
59
|
file_size: number;
|
|
58
60
|
file_metadata: Record<string, any>;
|
|
59
|
-
status: Status;
|
|
60
|
-
organisation_id: string;
|
|
61
61
|
ticket_id: string;
|
|
62
62
|
}, {
|
|
63
|
-
file_type: FileType;
|
|
64
63
|
status: Status;
|
|
65
64
|
organisation_id: string;
|
|
65
|
+
file_type: FileType;
|
|
66
66
|
ticket_id: string;
|
|
67
67
|
file_url?: string | undefined;
|
|
68
68
|
file_key?: string | undefined;
|
|
@@ -90,19 +90,19 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
90
90
|
file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
91
91
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
92
92
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
93
|
+
status: Status;
|
|
94
|
+
organisation_id: string;
|
|
93
95
|
file_type: FileType;
|
|
94
96
|
file_url: string;
|
|
95
97
|
file_key: string;
|
|
96
98
|
file_description: string;
|
|
97
99
|
file_size: number;
|
|
98
100
|
file_metadata: Record<string, any>;
|
|
99
|
-
status: Status;
|
|
100
|
-
organisation_id: string;
|
|
101
101
|
ticket_id: string;
|
|
102
102
|
}, {
|
|
103
|
-
file_type: FileType;
|
|
104
103
|
status: Status;
|
|
105
104
|
organisation_id: string;
|
|
105
|
+
file_type: FileType;
|
|
106
106
|
ticket_id: string;
|
|
107
107
|
file_url?: string | undefined;
|
|
108
108
|
file_key?: string | undefined;
|
|
@@ -114,36 +114,36 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
115
|
status: Status;
|
|
116
116
|
organisation_id: string;
|
|
117
|
-
|
|
117
|
+
user_id: string;
|
|
118
118
|
description: string;
|
|
119
|
+
admin_id: string;
|
|
120
|
+
subject: string;
|
|
119
121
|
admin_message: string;
|
|
120
122
|
ticket_status: TicketStatus;
|
|
121
|
-
user_id: string;
|
|
122
|
-
admin_id: string;
|
|
123
123
|
ticket_files: {
|
|
124
|
+
status: Status;
|
|
125
|
+
organisation_id: string;
|
|
124
126
|
file_type: FileType;
|
|
125
127
|
file_url: string;
|
|
126
128
|
file_key: string;
|
|
127
129
|
file_description: string;
|
|
128
130
|
file_size: number;
|
|
129
131
|
file_metadata: Record<string, any>;
|
|
130
|
-
status: Status;
|
|
131
|
-
organisation_id: string;
|
|
132
132
|
ticket_id: string;
|
|
133
133
|
}[];
|
|
134
134
|
}, {
|
|
135
135
|
status: Status;
|
|
136
136
|
organisation_id: string;
|
|
137
|
-
subject: string;
|
|
138
|
-
ticket_status: TicketStatus;
|
|
139
137
|
user_id: string;
|
|
140
138
|
admin_id: string;
|
|
139
|
+
subject: string;
|
|
140
|
+
ticket_status: TicketStatus;
|
|
141
141
|
description?: string | undefined;
|
|
142
142
|
admin_message?: string | undefined;
|
|
143
143
|
ticket_files?: {
|
|
144
|
-
file_type: FileType;
|
|
145
144
|
status: Status;
|
|
146
145
|
organisation_id: string;
|
|
146
|
+
file_type: FileType;
|
|
147
147
|
ticket_id: string;
|
|
148
148
|
file_url?: string | undefined;
|
|
149
149
|
file_key?: string | undefined;
|
|
@@ -191,7 +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
|
-
|
|
194
|
+
user_ids: string[];
|
|
195
195
|
search: string;
|
|
196
196
|
paging: PAGING;
|
|
197
197
|
page_count: number;
|
|
@@ -213,14 +213,14 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
213
213
|
date_format_id: string;
|
|
214
214
|
time_zone_id: string;
|
|
215
215
|
organisation_ids: string[];
|
|
216
|
-
user_ids: string[];
|
|
217
216
|
admin_ids: string[];
|
|
217
|
+
ticket_status: TicketStatus[];
|
|
218
218
|
ticket_ids: string[];
|
|
219
219
|
}, {
|
|
220
220
|
date_format_id: string;
|
|
221
221
|
time_zone_id: string;
|
|
222
222
|
status?: Status[] | undefined;
|
|
223
|
-
|
|
223
|
+
user_ids?: string[] | undefined;
|
|
224
224
|
search?: string | undefined;
|
|
225
225
|
paging?: PAGING | undefined;
|
|
226
226
|
page_count?: unknown;
|
|
@@ -240,8 +240,8 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
240
240
|
}[] | undefined;
|
|
241
241
|
include_master_data?: YesNo | undefined;
|
|
242
242
|
organisation_ids?: string[] | undefined;
|
|
243
|
-
user_ids?: string[] | undefined;
|
|
244
243
|
admin_ids?: string[] | undefined;
|
|
244
|
+
ticket_status?: TicketStatus[] | undefined;
|
|
245
245
|
ticket_ids?: string[] | undefined;
|
|
246
246
|
}>;
|
|
247
247
|
type TicketQueryDTO = z.infer<typeof TicketQuerySchema>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice } from '../../../user_organisation_service-_rBwGIT-.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -59,6 +59,12 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
59
59
|
liters_per_100km: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
|
|
60
60
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
status: Status;
|
|
63
|
+
organisation_id: string;
|
|
64
|
+
user_id: string;
|
|
65
|
+
vehicle_id: string;
|
|
66
|
+
driver_id: string;
|
|
67
|
+
device_id: string;
|
|
62
68
|
date: string;
|
|
63
69
|
start_fuel_liters: number;
|
|
64
70
|
end_fuel_liters: number;
|
|
@@ -70,20 +76,14 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
70
76
|
removal_liters: number;
|
|
71
77
|
mileage_kmpl: number;
|
|
72
78
|
liters_per_100km: number;
|
|
73
|
-
status: Status;
|
|
74
|
-
organisation_id: string;
|
|
75
|
-
user_id: string;
|
|
76
|
-
vehicle_id: string;
|
|
77
|
-
driver_id: string;
|
|
78
|
-
device_id: string;
|
|
79
79
|
}, {
|
|
80
|
-
date: string;
|
|
81
80
|
status: Status;
|
|
82
81
|
organisation_id: string;
|
|
83
82
|
user_id: string;
|
|
84
83
|
vehicle_id: string;
|
|
85
84
|
driver_id: string;
|
|
86
85
|
device_id: string;
|
|
86
|
+
date: string;
|
|
87
87
|
start_fuel_liters?: unknown;
|
|
88
88
|
end_fuel_liters?: unknown;
|
|
89
89
|
total_km?: unknown;
|
|
@@ -138,6 +138,7 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
138
138
|
day_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
139
139
|
}, "strip", z.ZodTypeAny, {
|
|
140
140
|
status: Status[];
|
|
141
|
+
time_zone_id: string;
|
|
141
142
|
search: string;
|
|
142
143
|
paging: PAGING;
|
|
143
144
|
page_count: number;
|
|
@@ -157,7 +158,6 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
157
158
|
}[];
|
|
158
159
|
include_master_data: YesNo;
|
|
159
160
|
date_format_id: string;
|
|
160
|
-
time_zone_id: string;
|
|
161
161
|
organisation_ids: string[];
|
|
162
162
|
user_ids: string[];
|
|
163
163
|
vehicle_ids: string[];
|
|
@@ -168,8 +168,8 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
168
168
|
vehicle_summary: YesNo;
|
|
169
169
|
day_summary: YesNo;
|
|
170
170
|
}, {
|
|
171
|
-
date_format_id: string;
|
|
172
171
|
time_zone_id: string;
|
|
172
|
+
date_format_id: string;
|
|
173
173
|
from_date: string;
|
|
174
174
|
to_date: string;
|
|
175
175
|
status?: Status[] | undefined;
|
|
@@ -237,6 +237,7 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
237
237
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
238
238
|
}, "strip", z.ZodTypeAny, {
|
|
239
239
|
status: Status[];
|
|
240
|
+
time_zone_id: string;
|
|
240
241
|
search: string;
|
|
241
242
|
paging: PAGING;
|
|
242
243
|
page_count: number;
|
|
@@ -256,14 +257,13 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
256
257
|
}[];
|
|
257
258
|
include_master_data: YesNo;
|
|
258
259
|
date_format_id: string;
|
|
259
|
-
time_zone_id: string;
|
|
260
260
|
organisation_ids: string[];
|
|
261
261
|
vehicle_ids: string[];
|
|
262
262
|
from_date: string;
|
|
263
263
|
to_date: string;
|
|
264
264
|
}, {
|
|
265
|
-
date_format_id: string;
|
|
266
265
|
time_zone_id: string;
|
|
266
|
+
date_format_id: string;
|
|
267
267
|
from_date: string;
|
|
268
268
|
to_date: string;
|
|
269
269
|
status?: Status[] | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { YesNo, PaymentMode, PaymentStatus, RefillMethod, RefillEntrySource, GPSFuelApproveStatus, Status, FileType, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType } from '../../../user_organisation_service-_rBwGIT-.js';
|
|
5
5
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
6
6
|
import { MasterVehicleFuelUnit } from '../../master/vehicle/master_vehicle_fuel_unit_service.js';
|
|
7
7
|
import '../../../zod_utils/zod_base_schema.js';
|
|
@@ -139,24 +139,29 @@ declare const FleetFuelRefillchema: z.ZodObject<{
|
|
|
139
139
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
140
140
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
141
141
|
}, "strip", z.ZodTypeAny, {
|
|
142
|
+
odometer_reading: number;
|
|
143
|
+
date_time: string;
|
|
144
|
+
entry_source: RefillEntrySource;
|
|
145
|
+
source_reference_id: string;
|
|
146
|
+
source_notes: string;
|
|
147
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
148
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
149
|
+
google_location: string;
|
|
142
150
|
status: Status;
|
|
143
151
|
organisation_id: string;
|
|
144
152
|
user_id: string;
|
|
145
153
|
vehicle_id: string;
|
|
146
154
|
driver_id: string;
|
|
147
155
|
device_id: string;
|
|
148
|
-
time_zone_id: string;
|
|
149
156
|
vehicle_fuel_type_id: string;
|
|
150
|
-
odometer_reading: number;
|
|
151
|
-
google_location: string;
|
|
152
157
|
vehicle_fuel_unit_id: string;
|
|
158
|
+
time_zone_id: string;
|
|
153
159
|
before_refill_quantity: number;
|
|
154
160
|
after_refill_quantity: number;
|
|
155
161
|
refill_quantity: number;
|
|
156
162
|
verified_refill_quantity: number;
|
|
157
163
|
is_full_tank: YesNo;
|
|
158
164
|
is_previous_entries_missed: YesNo;
|
|
159
|
-
date_time: string;
|
|
160
165
|
invoice_number: string;
|
|
161
166
|
payment_mode: PaymentMode;
|
|
162
167
|
payment_status: PaymentStatus;
|
|
@@ -167,38 +172,38 @@ declare const FleetFuelRefillchema: z.ZodObject<{
|
|
|
167
172
|
refill_details: string;
|
|
168
173
|
payment_details: string;
|
|
169
174
|
filled_by_person: string;
|
|
170
|
-
entry_source: RefillEntrySource;
|
|
171
|
-
source_reference_id: string;
|
|
172
|
-
source_notes: string;
|
|
173
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
174
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
175
175
|
vendor_id: string;
|
|
176
176
|
fuel_station_id: string;
|
|
177
|
+
cost_per_unit?: number | undefined;
|
|
178
|
+
total_cost?: number | undefined;
|
|
177
179
|
latitude?: number | undefined;
|
|
178
180
|
longitude?: number | undefined;
|
|
179
181
|
diff_refill_quantity?: number | undefined;
|
|
180
|
-
cost_per_unit?: number | undefined;
|
|
181
|
-
total_cost?: number | undefined;
|
|
182
182
|
}, {
|
|
183
|
+
date_time: string;
|
|
184
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
185
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
183
186
|
status: Status;
|
|
184
187
|
organisation_id: string;
|
|
185
188
|
user_id: string;
|
|
186
189
|
vehicle_id: string;
|
|
187
190
|
driver_id: string;
|
|
188
191
|
device_id: string;
|
|
189
|
-
time_zone_id: string;
|
|
190
192
|
vehicle_fuel_type_id: string;
|
|
191
193
|
vehicle_fuel_unit_id: string;
|
|
194
|
+
time_zone_id: string;
|
|
192
195
|
is_full_tank: YesNo;
|
|
193
196
|
is_previous_entries_missed: YesNo;
|
|
194
|
-
date_time: string;
|
|
195
197
|
payment_mode: PaymentMode;
|
|
196
198
|
payment_status: PaymentStatus;
|
|
197
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
198
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
199
199
|
vendor_id: string;
|
|
200
200
|
fuel_station_id: string;
|
|
201
201
|
odometer_reading?: unknown;
|
|
202
|
+
cost_per_unit?: unknown;
|
|
203
|
+
total_cost?: unknown;
|
|
204
|
+
entry_source?: RefillEntrySource | undefined;
|
|
205
|
+
source_reference_id?: string | undefined;
|
|
206
|
+
source_notes?: string | undefined;
|
|
202
207
|
latitude?: unknown;
|
|
203
208
|
longitude?: unknown;
|
|
204
209
|
google_location?: string | undefined;
|
|
@@ -207,8 +212,6 @@ declare const FleetFuelRefillchema: z.ZodObject<{
|
|
|
207
212
|
refill_quantity?: unknown;
|
|
208
213
|
verified_refill_quantity?: unknown;
|
|
209
214
|
diff_refill_quantity?: unknown;
|
|
210
|
-
cost_per_unit?: unknown;
|
|
211
|
-
total_cost?: unknown;
|
|
212
215
|
invoice_number?: string | undefined;
|
|
213
216
|
payment_reference_number?: string | undefined;
|
|
214
217
|
fuel_card_number?: string | undefined;
|
|
@@ -217,9 +220,6 @@ declare const FleetFuelRefillchema: z.ZodObject<{
|
|
|
217
220
|
refill_details?: string | undefined;
|
|
218
221
|
payment_details?: string | undefined;
|
|
219
222
|
filled_by_person?: string | undefined;
|
|
220
|
-
entry_source?: RefillEntrySource | undefined;
|
|
221
|
-
source_reference_id?: string | undefined;
|
|
222
|
-
source_notes?: string | undefined;
|
|
223
223
|
}>;
|
|
224
224
|
type FleetFuelRefillDTO = z.infer<typeof FleetFuelRefillchema>;
|
|
225
225
|
declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
@@ -268,7 +268,11 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
268
268
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
269
269
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
270
270
|
}, "strip", z.ZodTypeAny, {
|
|
271
|
+
entry_source: RefillEntrySource[];
|
|
272
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
273
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
271
274
|
status: Status[];
|
|
275
|
+
time_zone_id: string;
|
|
272
276
|
search: string;
|
|
273
277
|
paging: PAGING;
|
|
274
278
|
page_count: number;
|
|
@@ -288,26 +292,25 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
288
292
|
}[];
|
|
289
293
|
include_master_data: YesNo;
|
|
290
294
|
date_format_id: string;
|
|
291
|
-
time_zone_id: string;
|
|
292
295
|
organisation_ids: string[];
|
|
293
296
|
user_ids: string[];
|
|
294
297
|
vehicle_ids: string[];
|
|
295
298
|
driver_ids: string[];
|
|
296
299
|
device_ids: string[];
|
|
300
|
+
vehicle_fuel_type_ids: string[];
|
|
301
|
+
vehicle_fuel_unit_ids: string[];
|
|
297
302
|
from_date: string;
|
|
298
303
|
to_date: string;
|
|
299
|
-
vehicle_fuel_type_ids: string[];
|
|
300
|
-
entry_source: RefillEntrySource[];
|
|
301
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
302
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
303
304
|
vendor_ids: string[];
|
|
304
305
|
fuel_station_ids: string[];
|
|
305
|
-
vehicle_fuel_unit_ids: string[];
|
|
306
306
|
}, {
|
|
307
|
-
date_format_id: string;
|
|
308
307
|
time_zone_id: string;
|
|
308
|
+
date_format_id: string;
|
|
309
309
|
from_date: string;
|
|
310
310
|
to_date: string;
|
|
311
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
312
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
313
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
311
314
|
status?: Status[] | undefined;
|
|
312
315
|
search?: string | undefined;
|
|
313
316
|
paging?: PAGING | undefined;
|
|
@@ -333,12 +336,9 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
333
336
|
driver_ids?: string[] | undefined;
|
|
334
337
|
device_ids?: string[] | undefined;
|
|
335
338
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
336
|
-
|
|
337
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
338
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
339
|
+
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
339
340
|
vendor_ids?: string[] | undefined;
|
|
340
341
|
fuel_station_ids?: string[] | undefined;
|
|
341
|
-
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
342
342
|
}>;
|
|
343
343
|
type FleetFuelRefillQueryDTO = z.infer<typeof FleetFuelRefillQuerySchema>;
|
|
344
344
|
declare const toFleetFuelRefillPayload: (row: FleetFuelRefill) => FleetFuelRefillDTO;
|