vms-nest-prisma-api-document 9.0.0 → 10.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/analytics/user_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
- package/dist/services/account/bookmark_service.d.ts +9 -9
- package/dist/services/account/ticket_service.d.ts +17 -17
- 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 +50 -50
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.js +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +35 -35
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.js +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +17 -17
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +12 -12
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +13 -13
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +15 -15
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/preferences/user_notification_preferences.service.d.ts +1 -1
- package/dist/services/gps/features/preferences/user_report_preferences.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_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 +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/package.json +1 -1
- package/dist/{user_organisation_service-D2pCLN2b.d.ts → user_organisation_service-djKCoZTQ.d.ts} +3 -3
|
@@ -22,15 +22,15 @@ declare const UserLoginAnalyticsSchema: z.ZodObject<{
|
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
user_id: string;
|
|
24
24
|
organisation_id: string;
|
|
25
|
-
country_id: string;
|
|
26
25
|
login_from: LoginFrom;
|
|
26
|
+
country_id: string;
|
|
27
27
|
os_details: Record<string, any>;
|
|
28
28
|
ip_details: Record<string, any>;
|
|
29
29
|
}, {
|
|
30
30
|
user_id: string;
|
|
31
31
|
organisation_id: string;
|
|
32
|
-
country_id: string;
|
|
33
32
|
login_from: LoginFrom;
|
|
33
|
+
country_id: string;
|
|
34
34
|
os_details?: Record<string, any> | undefined;
|
|
35
35
|
ip_details?: Record<string, any> | undefined;
|
|
36
36
|
}>;
|
|
@@ -48,11 +48,11 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
48
48
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
49
49
|
country_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
login_from: LoginFrom;
|
|
52
51
|
search: string;
|
|
53
52
|
paging: PAGING;
|
|
54
53
|
page_count: number;
|
|
55
54
|
page_index: number;
|
|
55
|
+
login_from: LoginFrom;
|
|
56
56
|
date_format_id: string;
|
|
57
57
|
time_zone_id: string;
|
|
58
58
|
user_ids: string[];
|
|
@@ -43,11 +43,11 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
|
|
|
43
43
|
user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
44
44
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
login_from: LoginFrom;
|
|
47
46
|
search: string;
|
|
48
47
|
paging: PAGING;
|
|
49
48
|
page_count: number;
|
|
50
49
|
page_index: number;
|
|
50
|
+
login_from: LoginFrom;
|
|
51
51
|
date_format_id: string;
|
|
52
52
|
time_zone_id: string;
|
|
53
53
|
user_ids: string[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MenuType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User } from '../../user_organisation_service-djKCoZTQ.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -40,12 +40,9 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
40
40
|
sub_item_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
41
41
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
status: Status;
|
|
44
|
-
organisation_id: string;
|
|
45
|
-
user_id: string;
|
|
46
|
-
group_name: string;
|
|
47
43
|
module_name: string;
|
|
48
44
|
menu_type: MenuType;
|
|
45
|
+
group_name: string;
|
|
49
46
|
group_name_language: string;
|
|
50
47
|
group_icon: string;
|
|
51
48
|
group_url: string;
|
|
@@ -53,16 +50,19 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
53
50
|
sub_item_name_language: string;
|
|
54
51
|
sub_item_icon: string;
|
|
55
52
|
sub_item_url: string;
|
|
56
|
-
}, {
|
|
57
53
|
status: Status;
|
|
58
54
|
organisation_id: string;
|
|
59
55
|
user_id: string;
|
|
60
|
-
|
|
56
|
+
}, {
|
|
61
57
|
module_name: string;
|
|
62
58
|
menu_type: MenuType;
|
|
59
|
+
group_name: string;
|
|
63
60
|
group_name_language: string;
|
|
64
61
|
group_icon: string;
|
|
65
62
|
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,6 +105,7 @@ 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[];
|
|
108
109
|
status: Status[];
|
|
109
110
|
search: string;
|
|
110
111
|
paging: PAGING;
|
|
@@ -128,11 +129,11 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
128
129
|
time_zone_id: string;
|
|
129
130
|
organisation_ids: string[];
|
|
130
131
|
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;
|
|
136
137
|
status?: Status[] | undefined;
|
|
137
138
|
search?: string | undefined;
|
|
138
139
|
paging?: PAGING | undefined;
|
|
@@ -154,7 +155,6 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
154
155
|
include_master_data?: YesNo | undefined;
|
|
155
156
|
organisation_ids?: string[] | undefined;
|
|
156
157
|
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 { 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-djKCoZTQ.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,6 @@ 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
|
-
ticket_status: TicketStatus[];
|
|
195
194
|
search: string;
|
|
196
195
|
paging: PAGING;
|
|
197
196
|
page_count: number;
|
|
@@ -215,12 +214,12 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
215
214
|
organisation_ids: string[];
|
|
216
215
|
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
|
-
ticket_status?: TicketStatus[] | undefined;
|
|
224
223
|
search?: string | undefined;
|
|
225
224
|
paging?: PAGING | undefined;
|
|
226
225
|
page_count?: unknown;
|
|
@@ -242,6 +241,7 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
242
241
|
organisation_ids?: string[] | undefined;
|
|
243
242
|
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-djKCoZTQ.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
|
-
|
|
65
|
+
status: Status;
|
|
66
|
+
organisation_id: string;
|
|
67
|
+
user_id: string;
|
|
68
|
+
vehicle_id: string;
|
|
69
|
+
driver_id: string;
|
|
70
|
+
device_id: string;
|
|
67
71
|
total_km: number;
|
|
68
72
|
consumed_fuel_liters: number;
|
|
69
73
|
refills_count: number;
|
|
74
|
+
start_fuel_liters: number;
|
|
75
|
+
end_fuel_liters: number;
|
|
70
76
|
refill_liters: number;
|
|
71
77
|
removals_count: number;
|
|
72
78
|
removal_liters: number;
|
|
73
79
|
mileage_kmpl: number;
|
|
74
80
|
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;
|
|
91
89
|
total_km?: unknown;
|
|
92
90
|
consumed_fuel_liters?: unknown;
|
|
93
91
|
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,6 +140,7 @@ 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;
|
|
143
144
|
search: string;
|
|
144
145
|
paging: PAGING;
|
|
145
146
|
page_count: number;
|
|
@@ -159,7 +160,6 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
159
160
|
}[];
|
|
160
161
|
include_master_data: YesNo;
|
|
161
162
|
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
|
-
date_format_id: string;
|
|
174
173
|
time_zone_id: string;
|
|
174
|
+
date_format_id: string;
|
|
175
175
|
from_date: string;
|
|
176
176
|
to_date: string;
|
|
177
177
|
status?: Status[] | undefined;
|
|
@@ -239,6 +239,7 @@ 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;
|
|
242
243
|
search: string;
|
|
243
244
|
paging: PAGING;
|
|
244
245
|
page_count: number;
|
|
@@ -258,14 +259,13 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
258
259
|
}[];
|
|
259
260
|
include_master_data: YesNo;
|
|
260
261
|
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
|
-
date_format_id: string;
|
|
268
267
|
time_zone_id: string;
|
|
268
|
+
date_format_id: string;
|
|
269
269
|
from_date: string;
|
|
270
270
|
to_date: string;
|
|
271
271
|
status?: Status[] | undefined;
|
|
@@ -327,6 +327,7 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
327
327
|
}, "strip", z.ZodTypeAny, {
|
|
328
328
|
date: string;
|
|
329
329
|
status: Status[];
|
|
330
|
+
time_zone_id: string;
|
|
330
331
|
search: string;
|
|
331
332
|
paging: PAGING;
|
|
332
333
|
page_count: number;
|
|
@@ -346,12 +347,11 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
346
347
|
}[];
|
|
347
348
|
include_master_data: YesNo;
|
|
348
349
|
date_format_id: string;
|
|
349
|
-
time_zone_id: string;
|
|
350
350
|
organisation_utrack_id: string;
|
|
351
351
|
}, {
|
|
352
352
|
date: string;
|
|
353
|
-
date_format_id: string;
|
|
354
353
|
time_zone_id: string;
|
|
354
|
+
date_format_id: string;
|
|
355
355
|
organisation_utrack_id: string;
|
|
356
356
|
status?: Status[] | undefined;
|
|
357
357
|
search?: string | undefined;
|
|
@@ -2,7 +2,7 @@ import { YesNo, PaymentMode, PaymentStatus, RefillMethod, RefillEntrySource, GPS
|
|
|
2
2
|
import { FBR, SBR, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, 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-djKCoZTQ.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
|
|
|
@@ -111,24 +111,24 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
111
111
|
file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
112
112
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
|
+
fleet_fuel_refill_id: string;
|
|
114
115
|
status: Status;
|
|
115
116
|
organisation_id: string;
|
|
116
|
-
file_name: string;
|
|
117
117
|
file_type: FileType;
|
|
118
|
-
fleet_fuel_refill_id: string;
|
|
119
118
|
file_url: string;
|
|
120
119
|
file_key: string;
|
|
120
|
+
file_name: string;
|
|
121
121
|
file_description: string;
|
|
122
122
|
file_size: number;
|
|
123
123
|
file_metadata: Record<string, any>;
|
|
124
124
|
}, {
|
|
125
|
+
fleet_fuel_refill_id: string;
|
|
125
126
|
status: Status;
|
|
126
127
|
organisation_id: string;
|
|
127
128
|
file_type: FileType;
|
|
128
|
-
fleet_fuel_refill_id: string;
|
|
129
|
-
file_name?: string | undefined;
|
|
130
129
|
file_url?: string | undefined;
|
|
131
130
|
file_key?: string | undefined;
|
|
131
|
+
file_name?: string | undefined;
|
|
132
132
|
file_description?: string | undefined;
|
|
133
133
|
file_size?: unknown;
|
|
134
134
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -187,40 +187,30 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
187
187
|
file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
188
188
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
189
189
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
190
|
+
fleet_fuel_refill_id: string;
|
|
190
191
|
status: Status;
|
|
191
192
|
organisation_id: string;
|
|
192
|
-
file_name: string;
|
|
193
193
|
file_type: FileType;
|
|
194
|
-
fleet_fuel_refill_id: string;
|
|
195
194
|
file_url: string;
|
|
196
195
|
file_key: string;
|
|
196
|
+
file_name: string;
|
|
197
197
|
file_description: string;
|
|
198
198
|
file_size: number;
|
|
199
199
|
file_metadata: Record<string, any>;
|
|
200
200
|
}, {
|
|
201
|
+
fleet_fuel_refill_id: string;
|
|
201
202
|
status: Status;
|
|
202
203
|
organisation_id: string;
|
|
203
204
|
file_type: FileType;
|
|
204
|
-
fleet_fuel_refill_id: string;
|
|
205
|
-
file_name?: string | undefined;
|
|
206
205
|
file_url?: string | undefined;
|
|
207
206
|
file_key?: string | undefined;
|
|
207
|
+
file_name?: string | undefined;
|
|
208
208
|
file_description?: string | undefined;
|
|
209
209
|
file_size?: unknown;
|
|
210
210
|
file_metadata?: Record<string, any> | undefined;
|
|
211
211
|
}>, "many">>>;
|
|
212
212
|
}, "strip", z.ZodTypeAny, {
|
|
213
|
-
status: Status;
|
|
214
|
-
organisation_id: string;
|
|
215
|
-
user_id: string;
|
|
216
|
-
vehicle_id: string;
|
|
217
|
-
driver_id: string;
|
|
218
|
-
device_id: string;
|
|
219
|
-
time_zone_id: string;
|
|
220
|
-
vehicle_fuel_type_id: string;
|
|
221
|
-
vehicle_fuel_unit_id: string;
|
|
222
213
|
odometer_reading: number;
|
|
223
|
-
google_location: string;
|
|
224
214
|
is_full_tank: YesNo;
|
|
225
215
|
is_previous_entries_missed: YesNo;
|
|
226
216
|
date_time: string;
|
|
@@ -239,22 +229,30 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
239
229
|
source_notes: string;
|
|
240
230
|
admin_verify_status: GPSFuelApproveStatus;
|
|
241
231
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
232
|
+
google_location: string;
|
|
233
|
+
status: Status;
|
|
234
|
+
organisation_id: string;
|
|
235
|
+
user_id: string;
|
|
236
|
+
vehicle_id: string;
|
|
237
|
+
driver_id: string;
|
|
238
|
+
device_id: string;
|
|
242
239
|
vendor_id: string;
|
|
243
240
|
fuel_station_id: string;
|
|
241
|
+
vehicle_fuel_type_id: string;
|
|
242
|
+
vehicle_fuel_unit_id: string;
|
|
243
|
+
time_zone_id: string;
|
|
244
244
|
refill_files: {
|
|
245
|
+
fleet_fuel_refill_id: string;
|
|
245
246
|
status: Status;
|
|
246
247
|
organisation_id: string;
|
|
247
|
-
file_name: string;
|
|
248
248
|
file_type: FileType;
|
|
249
|
-
fleet_fuel_refill_id: string;
|
|
250
249
|
file_url: string;
|
|
251
250
|
file_key: string;
|
|
251
|
+
file_name: string;
|
|
252
252
|
file_description: string;
|
|
253
253
|
file_size: number;
|
|
254
254
|
file_metadata: Record<string, any>;
|
|
255
255
|
}[];
|
|
256
|
-
latitude?: number | undefined;
|
|
257
|
-
longitude?: number | undefined;
|
|
258
256
|
before_refill_quantity?: number | undefined;
|
|
259
257
|
after_refill_quantity?: number | undefined;
|
|
260
258
|
refill_quantity?: number | undefined;
|
|
@@ -262,16 +260,9 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
262
260
|
diff_refill_quantity?: number | undefined;
|
|
263
261
|
cost_per_unit?: number | undefined;
|
|
264
262
|
total_cost?: number | undefined;
|
|
263
|
+
latitude?: number | undefined;
|
|
264
|
+
longitude?: number | undefined;
|
|
265
265
|
}, {
|
|
266
|
-
status: Status;
|
|
267
|
-
organisation_id: string;
|
|
268
|
-
user_id: string;
|
|
269
|
-
vehicle_id: string;
|
|
270
|
-
driver_id: string;
|
|
271
|
-
device_id: string;
|
|
272
|
-
time_zone_id: string;
|
|
273
|
-
vehicle_fuel_type_id: string;
|
|
274
|
-
vehicle_fuel_unit_id: string;
|
|
275
266
|
is_full_tank: YesNo;
|
|
276
267
|
is_previous_entries_missed: YesNo;
|
|
277
268
|
date_time: string;
|
|
@@ -279,17 +270,23 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
279
270
|
payment_status: PaymentStatus;
|
|
280
271
|
admin_verify_status: GPSFuelApproveStatus;
|
|
281
272
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
273
|
+
status: Status;
|
|
274
|
+
organisation_id: string;
|
|
275
|
+
user_id: string;
|
|
276
|
+
vehicle_id: string;
|
|
277
|
+
driver_id: string;
|
|
278
|
+
device_id: string;
|
|
282
279
|
vendor_id: string;
|
|
283
280
|
fuel_station_id: string;
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
google_location?: string | undefined;
|
|
281
|
+
vehicle_fuel_type_id: string;
|
|
282
|
+
vehicle_fuel_unit_id: string;
|
|
283
|
+
time_zone_id: string;
|
|
288
284
|
before_refill_quantity?: unknown;
|
|
289
285
|
after_refill_quantity?: unknown;
|
|
290
286
|
refill_quantity?: unknown;
|
|
291
287
|
verified_refill_quantity?: unknown;
|
|
292
288
|
diff_refill_quantity?: unknown;
|
|
289
|
+
odometer_reading?: unknown;
|
|
293
290
|
cost_per_unit?: unknown;
|
|
294
291
|
total_cost?: unknown;
|
|
295
292
|
invoice_number?: string | undefined;
|
|
@@ -303,14 +300,17 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
303
300
|
entry_source?: RefillEntrySource | undefined;
|
|
304
301
|
source_reference_id?: string | undefined;
|
|
305
302
|
source_notes?: string | undefined;
|
|
303
|
+
latitude?: unknown;
|
|
304
|
+
longitude?: unknown;
|
|
305
|
+
google_location?: string | undefined;
|
|
306
306
|
refill_files?: {
|
|
307
|
+
fleet_fuel_refill_id: string;
|
|
307
308
|
status: Status;
|
|
308
309
|
organisation_id: string;
|
|
309
310
|
file_type: FileType;
|
|
310
|
-
fleet_fuel_refill_id: string;
|
|
311
|
-
file_name?: string | undefined;
|
|
312
311
|
file_url?: string | undefined;
|
|
313
312
|
file_key?: string | undefined;
|
|
313
|
+
file_name?: string | undefined;
|
|
314
314
|
file_description?: string | undefined;
|
|
315
315
|
file_size?: unknown;
|
|
316
316
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -364,7 +364,11 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
364
364
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
365
365
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
366
366
|
}, "strip", z.ZodTypeAny, {
|
|
367
|
+
entry_source: RefillEntrySource[];
|
|
368
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
369
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
367
370
|
status: Status[];
|
|
371
|
+
time_zone_id: string;
|
|
368
372
|
search: string;
|
|
369
373
|
paging: PAGING;
|
|
370
374
|
page_count: number;
|
|
@@ -384,27 +388,26 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
384
388
|
}[];
|
|
385
389
|
include_master_data: YesNo;
|
|
386
390
|
date_format_id: string;
|
|
387
|
-
time_zone_id: string;
|
|
388
391
|
organisation_ids: string[];
|
|
389
392
|
user_ids: string[];
|
|
390
393
|
vehicle_ids: string[];
|
|
391
394
|
driver_ids: string[];
|
|
392
395
|
device_ids: string[];
|
|
393
|
-
from_date: string;
|
|
394
|
-
to_date: string;
|
|
395
|
-
vehicle_fuel_type_ids: string[];
|
|
396
|
-
entry_source: RefillEntrySource[];
|
|
397
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
398
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
399
396
|
vendor_ids: string[];
|
|
400
397
|
fuel_station_ids: string[];
|
|
398
|
+
vehicle_fuel_type_ids: string[];
|
|
401
399
|
vehicle_fuel_unit_ids: string[];
|
|
402
400
|
fleet_fuel_refill_ids: string[];
|
|
401
|
+
from_date: string;
|
|
402
|
+
to_date: string;
|
|
403
403
|
}, {
|
|
404
|
-
date_format_id: string;
|
|
405
404
|
time_zone_id: string;
|
|
405
|
+
date_format_id: string;
|
|
406
406
|
from_date: string;
|
|
407
407
|
to_date: string;
|
|
408
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
409
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
410
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
408
411
|
status?: Status[] | undefined;
|
|
409
412
|
search?: string | undefined;
|
|
410
413
|
paging?: PAGING | undefined;
|
|
@@ -429,12 +432,9 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
429
432
|
vehicle_ids?: string[] | undefined;
|
|
430
433
|
driver_ids?: string[] | undefined;
|
|
431
434
|
device_ids?: string[] | undefined;
|
|
432
|
-
vehicle_fuel_type_ids?: string[] | undefined;
|
|
433
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
434
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
435
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
436
435
|
vendor_ids?: string[] | undefined;
|
|
437
436
|
fuel_station_ids?: string[] | undefined;
|
|
437
|
+
vehicle_fuel_type_ids?: string[] | undefined;
|
|
438
438
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
439
439
|
fleet_fuel_refill_ids?: string[] | undefined;
|
|
440
440
|
}>;
|
|
@@ -378,7 +378,7 @@ var FleetFuelRefillSchema = z3.object({
|
|
|
378
378
|
after_refill_quantity: doubleOptional("After Refill Quantity"),
|
|
379
379
|
refill_quantity: doubleOptional("Refill Quantity"),
|
|
380
380
|
verified_refill_quantity: doubleOptional("Verified Refill Quantity"),
|
|
381
|
-
diff_refill_quantity: doubleOptional("Difference Refill Quantity"),
|
|
381
|
+
diff_refill_quantity: doubleOptional("Difference Refill Quantity", -100),
|
|
382
382
|
odometer_reading: numberOptional("Odometer Reading"),
|
|
383
383
|
is_full_tank: enumMandatory("Is Full Tank", YesNo, "No" /* No */),
|
|
384
384
|
is_previous_entries_missed: enumMandatory(
|