vms-nest-prisma-api-document 6.0.30 → 6.0.50
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 +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_data_service.d.ts +11 -11
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +15 -11
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.js +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +10 -5
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +13 -36
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.js +1 -25
- 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/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 +1 -1
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_state_service.d.ts +1 -1
- package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
- package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
- package/dist/services/master/user/master_user_role_service.d.ts +1 -1
- package/dist/services/master/user/master_user_status_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/package.json +1 -1
- package/dist/{user_organisation_service-D3GhFJqI.d.ts → user_organisation_service-BmevBmkg.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
|
-
login_from: LoginFrom;
|
|
26
25
|
country_id: string;
|
|
26
|
+
login_from: LoginFrom;
|
|
27
27
|
os_details: Record<string, any>;
|
|
28
28
|
ip_details: Record<string, any>;
|
|
29
29
|
}, {
|
|
30
30
|
user_id: string;
|
|
31
31
|
organisation_id: string;
|
|
32
|
-
login_from: LoginFrom;
|
|
33
32
|
country_id: string;
|
|
33
|
+
login_from: LoginFrom;
|
|
34
34
|
os_details?: Record<string, any> | undefined;
|
|
35
35
|
ip_details?: Record<string, any> | undefined;
|
|
36
36
|
}>;
|
|
@@ -48,11 +48,11 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
48
48
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
49
49
|
country_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
login_from: LoginFrom;
|
|
51
52
|
search: string;
|
|
52
53
|
paging: PAGING;
|
|
53
54
|
page_count: number;
|
|
54
55
|
page_index: number;
|
|
55
|
-
login_from: LoginFrom;
|
|
56
56
|
date_format_id: string;
|
|
57
57
|
time_zone_id: string;
|
|
58
58
|
user_ids: string[];
|
|
@@ -43,11 +43,11 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
|
|
|
43
43
|
user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
44
44
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
+
login_from: LoginFrom;
|
|
46
47
|
search: string;
|
|
47
48
|
paging: PAGING;
|
|
48
49
|
page_count: number;
|
|
49
50
|
page_index: number;
|
|
50
|
-
login_from: LoginFrom;
|
|
51
51
|
date_format_id: string;
|
|
52
52
|
time_zone_id: string;
|
|
53
53
|
user_ids: string[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MenuType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User } from '../../user_organisation_service-BmevBmkg.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -40,9 +40,12 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
40
40
|
sub_item_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
41
41
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
status: Status;
|
|
44
|
+
organisation_id: string;
|
|
45
|
+
user_id: string;
|
|
46
|
+
group_name: string;
|
|
43
47
|
module_name: string;
|
|
44
48
|
menu_type: MenuType;
|
|
45
|
-
group_name: string;
|
|
46
49
|
group_name_language: string;
|
|
47
50
|
group_icon: string;
|
|
48
51
|
group_url: string;
|
|
@@ -50,19 +53,16 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
50
53
|
sub_item_name_language: string;
|
|
51
54
|
sub_item_icon: string;
|
|
52
55
|
sub_item_url: string;
|
|
56
|
+
}, {
|
|
53
57
|
status: Status;
|
|
54
58
|
organisation_id: string;
|
|
55
59
|
user_id: string;
|
|
56
|
-
|
|
60
|
+
group_name: string;
|
|
57
61
|
module_name: string;
|
|
58
62
|
menu_type: MenuType;
|
|
59
|
-
group_name: string;
|
|
60
63
|
group_name_language: string;
|
|
61
64
|
group_icon: string;
|
|
62
65
|
group_url: string;
|
|
63
|
-
status: Status;
|
|
64
|
-
organisation_id: string;
|
|
65
|
-
user_id: string;
|
|
66
66
|
sub_item_name?: string | undefined;
|
|
67
67
|
sub_item_name_language?: string | undefined;
|
|
68
68
|
sub_item_icon?: string | undefined;
|
|
@@ -105,7 +105,6 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
105
105
|
bookmark_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
106
106
|
menu_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof MenuType>, "many">>>;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
|
-
menu_type: MenuType[];
|
|
109
108
|
status: Status[];
|
|
110
109
|
search: string;
|
|
111
110
|
paging: PAGING;
|
|
@@ -129,11 +128,11 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
129
128
|
time_zone_id: string;
|
|
130
129
|
organisation_ids: string[];
|
|
131
130
|
user_ids: string[];
|
|
131
|
+
menu_type: MenuType[];
|
|
132
132
|
bookmark_ids: string[];
|
|
133
133
|
}, {
|
|
134
134
|
date_format_id: string;
|
|
135
135
|
time_zone_id: string;
|
|
136
|
-
menu_type?: MenuType[] | undefined;
|
|
137
136
|
status?: Status[] | undefined;
|
|
138
137
|
search?: string | undefined;
|
|
139
138
|
paging?: PAGING | undefined;
|
|
@@ -155,6 +154,7 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
155
154
|
include_master_data?: YesNo | undefined;
|
|
156
155
|
organisation_ids?: string[] | undefined;
|
|
157
156
|
user_ids?: string[] | undefined;
|
|
157
|
+
menu_type?: MenuType[] | undefined;
|
|
158
158
|
bookmark_ids?: string[] | undefined;
|
|
159
159
|
}>;
|
|
160
160
|
type BookMarkQueryDTO = z.infer<typeof BookMarkQuerySchema>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { 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-BmevBmkg.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;
|
|
55
53
|
file_type: FileType;
|
|
56
54
|
file_url: string;
|
|
57
55
|
file_key: string;
|
|
58
56
|
file_description: string;
|
|
59
57
|
file_size: number;
|
|
60
58
|
file_metadata: Record<string, any>;
|
|
59
|
+
status: Status;
|
|
60
|
+
organisation_id: string;
|
|
61
61
|
ticket_id: string;
|
|
62
62
|
}, {
|
|
63
|
+
file_type: FileType;
|
|
63
64
|
status: Status;
|
|
64
65
|
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;
|
|
95
93
|
file_type: FileType;
|
|
96
94
|
file_url: string;
|
|
97
95
|
file_key: string;
|
|
98
96
|
file_description: string;
|
|
99
97
|
file_size: number;
|
|
100
98
|
file_metadata: Record<string, any>;
|
|
99
|
+
status: Status;
|
|
100
|
+
organisation_id: string;
|
|
101
101
|
ticket_id: string;
|
|
102
102
|
}, {
|
|
103
|
+
file_type: FileType;
|
|
103
104
|
status: Status;
|
|
104
105
|
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
|
-
user_id: string;
|
|
118
|
-
description: string;
|
|
119
|
-
admin_id: string;
|
|
120
117
|
subject: string;
|
|
118
|
+
description: string;
|
|
121
119
|
admin_message: string;
|
|
122
120
|
ticket_status: TicketStatus;
|
|
121
|
+
user_id: string;
|
|
122
|
+
admin_id: string;
|
|
123
123
|
ticket_files: {
|
|
124
|
-
status: Status;
|
|
125
|
-
organisation_id: string;
|
|
126
124
|
file_type: FileType;
|
|
127
125
|
file_url: string;
|
|
128
126
|
file_key: string;
|
|
129
127
|
file_description: string;
|
|
130
128
|
file_size: number;
|
|
131
129
|
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
|
-
user_id: string;
|
|
138
|
-
admin_id: string;
|
|
139
137
|
subject: string;
|
|
140
138
|
ticket_status: TicketStatus;
|
|
139
|
+
user_id: string;
|
|
140
|
+
admin_id: string;
|
|
141
141
|
description?: string | undefined;
|
|
142
142
|
admin_message?: string | undefined;
|
|
143
143
|
ticket_files?: {
|
|
144
|
+
file_type: FileType;
|
|
144
145
|
status: Status;
|
|
145
146
|
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,6 +191,7 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
191
191
|
ticket_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof TicketStatus>, "many">>>;
|
|
192
192
|
}, "strip", z.ZodTypeAny, {
|
|
193
193
|
status: Status[];
|
|
194
|
+
ticket_status: TicketStatus[];
|
|
194
195
|
search: string;
|
|
195
196
|
paging: PAGING;
|
|
196
197
|
page_count: number;
|
|
@@ -214,12 +215,12 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
214
215
|
organisation_ids: string[];
|
|
215
216
|
user_ids: string[];
|
|
216
217
|
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;
|
|
223
224
|
search?: string | undefined;
|
|
224
225
|
paging?: PAGING | undefined;
|
|
225
226
|
page_count?: unknown;
|
|
@@ -241,7 +242,6 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
241
242
|
organisation_ids?: string[] | undefined;
|
|
242
243
|
user_ids?: string[] | undefined;
|
|
243
244
|
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-BmevBmkg.js';
|
|
5
5
|
import { FuelConsumptionMonthly } from '../../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
6
6
|
import '../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -2,7 +2,7 @@ import { YesNo, PaymentMode, PaymentStatus, RefillMethod, RefillEntrySource, GPS
|
|
|
2
2
|
import { FBR, SBR, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, 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-BmevBmkg.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
|
|
|
@@ -2,7 +2,7 @@ import { RefillEntrySource, GPSFuelApproveStatus, Status, FileType, PAGING, Load
|
|
|
2
2
|
import { FBR, SBR, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, 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-BmevBmkg.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
7
|
import { MasterVehicleFuelRemovalReason } from '../../master/vehicle/master_vehicle_fuel_removal_reason_service.js';
|
|
8
8
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GeofenceType, GeofencePurposeType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation } from '../../../../user_organisation_service-BmevBmkg.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -59,8 +59,6 @@ declare const GPSGeofenceDataSchema: z.ZodObject<{
|
|
|
59
59
|
geofence_purpose_type: z.ZodType<GeofencePurposeType, z.ZodTypeDef, GeofencePurposeType>;
|
|
60
60
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
status: Status;
|
|
63
|
-
organisation_id: string;
|
|
64
62
|
geofence_name: string;
|
|
65
63
|
location_name: string;
|
|
66
64
|
geofence_type: GeofenceType;
|
|
@@ -70,19 +68,21 @@ declare const GPSGeofenceDataSchema: z.ZodObject<{
|
|
|
70
68
|
}[];
|
|
71
69
|
geofence_description: string;
|
|
72
70
|
geofence_purpose_type: GeofencePurposeType;
|
|
71
|
+
status: Status;
|
|
72
|
+
organisation_id: string;
|
|
73
|
+
radius_km?: number | undefined;
|
|
73
74
|
latitude?: number | undefined;
|
|
74
75
|
longitude?: number | undefined;
|
|
75
|
-
radius_km?: number | undefined;
|
|
76
76
|
}, {
|
|
77
|
-
status: Status;
|
|
78
|
-
organisation_id: string;
|
|
79
77
|
geofence_name: string;
|
|
80
78
|
location_name: string;
|
|
81
79
|
geofence_type: GeofenceType;
|
|
82
80
|
geofence_purpose_type: GeofencePurposeType;
|
|
81
|
+
status: Status;
|
|
82
|
+
organisation_id: string;
|
|
83
|
+
radius_km?: unknown;
|
|
83
84
|
latitude?: unknown;
|
|
84
85
|
longitude?: unknown;
|
|
85
|
-
radius_km?: unknown;
|
|
86
86
|
poliline_data?: {
|
|
87
87
|
latitude?: unknown;
|
|
88
88
|
longitude?: unknown;
|
|
@@ -125,6 +125,8 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
|
|
|
125
125
|
geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
|
|
126
126
|
geofence_purpose_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofencePurposeType>, "many">>>;
|
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
geofence_type: GeofenceType[];
|
|
129
|
+
geofence_purpose_type: GeofencePurposeType[];
|
|
128
130
|
status: Status[];
|
|
129
131
|
search: string;
|
|
130
132
|
paging: PAGING;
|
|
@@ -147,11 +149,11 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
|
|
|
147
149
|
date_format_id: string;
|
|
148
150
|
time_zone_id: string;
|
|
149
151
|
organisation_ids: string[];
|
|
150
|
-
geofence_type: GeofenceType[];
|
|
151
|
-
geofence_purpose_type: GeofencePurposeType[];
|
|
152
152
|
}, {
|
|
153
153
|
date_format_id: string;
|
|
154
154
|
time_zone_id: string;
|
|
155
|
+
geofence_type?: GeofenceType[] | undefined;
|
|
156
|
+
geofence_purpose_type?: GeofencePurposeType[] | undefined;
|
|
155
157
|
status?: Status[] | undefined;
|
|
156
158
|
search?: string | undefined;
|
|
157
159
|
paging?: PAGING | undefined;
|
|
@@ -172,8 +174,6 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
|
|
|
172
174
|
}[] | undefined;
|
|
173
175
|
include_master_data?: YesNo | undefined;
|
|
174
176
|
organisation_ids?: string[] | undefined;
|
|
175
|
-
geofence_type?: GeofenceType[] | undefined;
|
|
176
|
-
geofence_purpose_type?: GeofencePurposeType[] | undefined;
|
|
177
177
|
}>;
|
|
178
178
|
type GPSGeofenceDataQueryDTO = z.infer<typeof GPSGeofenceDataQuerySchema>;
|
|
179
179
|
declare const toGPSGeofenceDataPayload: (data: GPSGeofenceData) => GPSGeofenceDataDTO;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GeofenceStatusType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-BmevBmkg.js';
|
|
5
5
|
import { GPSGeofenceData } from './gps_geofence_data_service.js';
|
|
6
6
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
@@ -17,35 +17,39 @@ interface GPSGeofenceTransaction extends Record<string, unknown> {
|
|
|
17
17
|
UserOrganisation?: UserOrganisation;
|
|
18
18
|
vehicle_id: string;
|
|
19
19
|
MasterVehicle?: MasterVehicle;
|
|
20
|
+
vehicle_number?: string;
|
|
21
|
+
vehicle_type?: string;
|
|
20
22
|
driver_id?: string;
|
|
21
23
|
MasterDriver?: MasterDriver;
|
|
24
|
+
driver_details?: string;
|
|
22
25
|
gps_geofence_id: string;
|
|
23
26
|
GPSGeofenceData?: GPSGeofenceData;
|
|
27
|
+
geofence_details?: string;
|
|
24
28
|
}
|
|
25
29
|
declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
26
30
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
27
31
|
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
28
|
-
gps_geofence_id: z.ZodEffects<z.ZodString, string, string>;
|
|
29
32
|
driver_id: z.ZodEffects<z.ZodString, string, string>;
|
|
33
|
+
gps_geofence_id: z.ZodEffects<z.ZodString, string, string>;
|
|
30
34
|
geofence_status_type: z.ZodType<GeofenceStatusType, z.ZodTypeDef, GeofenceStatusType>;
|
|
31
35
|
geofence_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
32
36
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
33
37
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
|
|
35
|
-
geofence_time: string;
|
|
38
|
+
gps_geofence_id: string;
|
|
36
39
|
status: Status;
|
|
37
40
|
organisation_id: string;
|
|
38
|
-
vehicle_id: string;
|
|
39
41
|
driver_id: string;
|
|
40
|
-
|
|
41
|
-
}, {
|
|
42
|
+
vehicle_id: string;
|
|
42
43
|
geofence_status_type: GeofenceStatusType;
|
|
43
44
|
geofence_time: string;
|
|
45
|
+
}, {
|
|
46
|
+
gps_geofence_id: string;
|
|
44
47
|
status: Status;
|
|
45
48
|
organisation_id: string;
|
|
46
|
-
vehicle_id: string;
|
|
47
49
|
driver_id: string;
|
|
48
|
-
|
|
50
|
+
vehicle_id: string;
|
|
51
|
+
geofence_status_type: GeofenceStatusType;
|
|
52
|
+
geofence_time: string;
|
|
49
53
|
}>;
|
|
50
54
|
type GPSGeofenceTransactionDTO = z.infer<typeof GPSGeofenceTransactionSchema>;
|
|
51
55
|
declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
@@ -85,7 +89,6 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
85
89
|
gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
86
90
|
geofence_status_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceStatusType>, "many">>>;
|
|
87
91
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
-
geofence_status_type: GeofenceStatusType[];
|
|
89
92
|
status: Status[];
|
|
90
93
|
search: string;
|
|
91
94
|
paging: PAGING;
|
|
@@ -110,11 +113,11 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
110
113
|
organisation_ids: string[];
|
|
111
114
|
vehicle_ids: string[];
|
|
112
115
|
driver_ids: string[];
|
|
116
|
+
geofence_status_type: GeofenceStatusType[];
|
|
113
117
|
gps_geofence_ids: string[];
|
|
114
118
|
}, {
|
|
115
119
|
date_format_id: string;
|
|
116
120
|
time_zone_id: string;
|
|
117
|
-
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
118
121
|
status?: Status[] | undefined;
|
|
119
122
|
search?: string | undefined;
|
|
120
123
|
paging?: PAGING | undefined;
|
|
@@ -137,6 +140,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
137
140
|
organisation_ids?: string[] | undefined;
|
|
138
141
|
vehicle_ids?: string[] | undefined;
|
|
139
142
|
driver_ids?: string[] | undefined;
|
|
143
|
+
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
140
144
|
gps_geofence_ids?: string[] | undefined;
|
|
141
145
|
}>;
|
|
142
146
|
type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
|
|
@@ -266,8 +266,8 @@ var ENDPOINTS = {
|
|
|
266
266
|
var GPSGeofenceTransactionSchema = z3.object({
|
|
267
267
|
organisation_id: single_select_mandatory("Organisation ID"),
|
|
268
268
|
vehicle_id: single_select_mandatory("Master Vehicle ID"),
|
|
269
|
-
gps_geofence_id: single_select_mandatory("GPS Geofence ID"),
|
|
270
269
|
driver_id: single_select_optional("Driver ID"),
|
|
270
|
+
gps_geofence_id: single_select_mandatory("GPS Geofence ID"),
|
|
271
271
|
geofence_status_type: enumMandatory(
|
|
272
272
|
"Geofence Status Type",
|
|
273
273
|
GeofenceStatusType,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-BmevBmkg.js';
|
|
5
5
|
import { GPSGeofenceData } from './gps_geofence_data_service.js';
|
|
6
6
|
import { GPSGeofenceTransaction } from './gps_geofence_transaction_service.js';
|
|
7
7
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
@@ -19,14 +19,19 @@ interface GPSGeofenceTransactionSummary extends Record<string, unknown> {
|
|
|
19
19
|
UserOrganisation?: UserOrganisation;
|
|
20
20
|
vehicle_id: string;
|
|
21
21
|
MasterVehicle?: MasterVehicle;
|
|
22
|
+
vehicle_number?: string;
|
|
23
|
+
vehicle_type?: string;
|
|
22
24
|
driver_id?: string;
|
|
23
25
|
MasterDriver?: MasterDriver;
|
|
26
|
+
driver_details?: string;
|
|
24
27
|
gps_geofence_id: string;
|
|
25
28
|
GPSGeofenceData?: GPSGeofenceData;
|
|
29
|
+
geofence_details?: string;
|
|
26
30
|
enter_gps_geofence_transaction_id: string;
|
|
27
31
|
EnterGPSGeofenceTransaction?: GPSGeofenceTransaction;
|
|
28
32
|
exit_gps_geofence_transaction_id?: string;
|
|
29
33
|
ExitGPSGeofenceTransaction?: GPSGeofenceTransaction;
|
|
34
|
+
duration_seconds_f?: string;
|
|
30
35
|
}
|
|
31
36
|
declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
32
37
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -40,22 +45,22 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
40
45
|
duration_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
41
46
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
42
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
|
+
gps_geofence_id: string;
|
|
43
49
|
status: Status;
|
|
44
50
|
organisation_id: string;
|
|
45
|
-
vehicle_id: string;
|
|
46
51
|
driver_id: string;
|
|
47
|
-
|
|
52
|
+
vehicle_id: string;
|
|
48
53
|
geofence_enter_date_time: string;
|
|
49
54
|
geofence_exit_date_time: string;
|
|
50
55
|
duration_seconds: number;
|
|
51
56
|
enter_gps_geofence_transaction_id: string;
|
|
52
57
|
exit_gps_geofence_transaction_id: string;
|
|
53
58
|
}, {
|
|
59
|
+
gps_geofence_id: string;
|
|
54
60
|
status: Status;
|
|
55
61
|
organisation_id: string;
|
|
56
|
-
vehicle_id: string;
|
|
57
62
|
driver_id: string;
|
|
58
|
-
|
|
63
|
+
vehicle_id: string;
|
|
59
64
|
geofence_enter_date_time: string;
|
|
60
65
|
enter_gps_geofence_transaction_id: string;
|
|
61
66
|
exit_gps_geofence_transaction_id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-BmevBmkg.js';
|
|
5
5
|
import { GPSGeofenceData } from './gps_geofence_data_service.js';
|
|
6
6
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
@@ -16,14 +16,6 @@ interface TripGeofenceToGeofence extends Record<string, unknown> {
|
|
|
16
16
|
distance_meters?: number;
|
|
17
17
|
max_speed?: number;
|
|
18
18
|
avg_speed?: number;
|
|
19
|
-
start_fuel_liters?: number;
|
|
20
|
-
end_fuel_liters?: number;
|
|
21
|
-
consumed_fuel_liters?: number;
|
|
22
|
-
refill_fuel_liters?: number;
|
|
23
|
-
removal_fuel_liters?: number;
|
|
24
|
-
refills_count?: number;
|
|
25
|
-
removals_count?: number;
|
|
26
|
-
mileage?: number;
|
|
27
19
|
status: Status;
|
|
28
20
|
added_date_time: string;
|
|
29
21
|
modified_date_time: string;
|
|
@@ -31,19 +23,28 @@ interface TripGeofenceToGeofence extends Record<string, unknown> {
|
|
|
31
23
|
UserOrganisation?: UserOrganisation;
|
|
32
24
|
vehicle_id: string;
|
|
33
25
|
MasterVehicle?: MasterVehicle;
|
|
26
|
+
vehicle_number?: string;
|
|
27
|
+
vehicle_type?: string;
|
|
34
28
|
driver_id?: string;
|
|
35
29
|
MasterDriver?: MasterDriver;
|
|
30
|
+
driver_details?: string;
|
|
36
31
|
from_geofence_id: string;
|
|
37
32
|
FromGeofence?: GPSGeofenceData;
|
|
33
|
+
from_geofence_details?: string;
|
|
38
34
|
to_geofence_id: string;
|
|
39
35
|
ToGeofence?: GPSGeofenceData;
|
|
36
|
+
to_geofence_details?: string;
|
|
37
|
+
duration_seconds_f?: string;
|
|
38
|
+
travel_duration_seconds_f?: string;
|
|
39
|
+
stopped_duration_seconds_f?: string;
|
|
40
|
+
distance_km_f?: string;
|
|
40
41
|
}
|
|
41
42
|
declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
42
43
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
43
44
|
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
45
|
+
driver_id: z.ZodEffects<z.ZodString, string, string>;
|
|
44
46
|
from_geofence_id: z.ZodEffects<z.ZodString, string, string>;
|
|
45
47
|
to_geofence_id: z.ZodEffects<z.ZodString, string, string>;
|
|
46
|
-
driver_id: z.ZodEffects<z.ZodString, string, string>;
|
|
47
48
|
from_geofence_exit_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
48
49
|
to_geofence_enter_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
49
50
|
duration_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
@@ -52,20 +53,12 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
52
53
|
distance_meters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
53
54
|
max_speed: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
54
55
|
avg_speed: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
55
|
-
start_fuel_liters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
56
|
-
end_fuel_liters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
57
|
-
consumed_fuel_liters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
58
|
-
refill_fuel_liters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
59
|
-
removal_fuel_liters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
60
|
-
refills_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
61
|
-
removals_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
62
|
-
mileage: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
63
56
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
64
57
|
}, "strip", z.ZodTypeAny, {
|
|
65
58
|
status: Status;
|
|
66
59
|
organisation_id: string;
|
|
67
|
-
vehicle_id: string;
|
|
68
60
|
driver_id: string;
|
|
61
|
+
vehicle_id: string;
|
|
69
62
|
duration_seconds: number;
|
|
70
63
|
from_geofence_exit_date_time: string;
|
|
71
64
|
to_geofence_enter_date_time: string;
|
|
@@ -73,22 +66,14 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
73
66
|
stopped_duration_seconds: number;
|
|
74
67
|
max_speed: number;
|
|
75
68
|
avg_speed: number;
|
|
76
|
-
refills_count: number;
|
|
77
|
-
removals_count: number;
|
|
78
69
|
from_geofence_id: string;
|
|
79
70
|
to_geofence_id: string;
|
|
80
71
|
distance_meters?: number | undefined;
|
|
81
|
-
start_fuel_liters?: number | undefined;
|
|
82
|
-
end_fuel_liters?: number | undefined;
|
|
83
|
-
consumed_fuel_liters?: number | undefined;
|
|
84
|
-
refill_fuel_liters?: number | undefined;
|
|
85
|
-
removal_fuel_liters?: number | undefined;
|
|
86
|
-
mileage?: number | undefined;
|
|
87
72
|
}, {
|
|
88
73
|
status: Status;
|
|
89
74
|
organisation_id: string;
|
|
90
|
-
vehicle_id: string;
|
|
91
75
|
driver_id: string;
|
|
76
|
+
vehicle_id: string;
|
|
92
77
|
from_geofence_exit_date_time: string;
|
|
93
78
|
to_geofence_enter_date_time: string;
|
|
94
79
|
from_geofence_id: string;
|
|
@@ -99,14 +84,6 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
99
84
|
distance_meters?: unknown;
|
|
100
85
|
max_speed?: unknown;
|
|
101
86
|
avg_speed?: unknown;
|
|
102
|
-
start_fuel_liters?: unknown;
|
|
103
|
-
end_fuel_liters?: unknown;
|
|
104
|
-
consumed_fuel_liters?: unknown;
|
|
105
|
-
refill_fuel_liters?: unknown;
|
|
106
|
-
removal_fuel_liters?: unknown;
|
|
107
|
-
refills_count?: unknown;
|
|
108
|
-
removals_count?: unknown;
|
|
109
|
-
mileage?: unknown;
|
|
110
87
|
}>;
|
|
111
88
|
type TripGeofenceToGeofenceDTO = z.infer<typeof TripGeofenceToGeofenceSchema>;
|
|
112
89
|
declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
|