vms-nest-prisma-api-document 45.0.0 → 55.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/Enums.d.ts +1 -2
- package/dist/core/Enums.js +0 -1
- package/dist/services/account/bookmark_service.d.ts +5 -5
- package/dist/services/account/notification_preferences.service.d.ts +20 -20
- package/dist/services/account/report_preferences.service.d.ts +20 -20
- package/dist/services/account/ticket_service.d.ts +4 -4
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +42 -42
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +24 -24
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +3 -3
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +9 -23
- package/dist/services/gps/features/gps_live_track_share_link_service.js +0 -11
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +14 -14
- 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-DRukc453.d.ts → user_organisation_service-Da1BdaCu.d.ts} +2 -2
package/dist/core/Enums.d.ts
CHANGED
package/dist/core/Enums.js
CHANGED
|
@@ -243,7 +243,6 @@ var LinkStatus = /* @__PURE__ */ ((LinkStatus2) => {
|
|
|
243
243
|
LinkStatus2["Active"] = "Active";
|
|
244
244
|
LinkStatus2["Inactive"] = "Inactive";
|
|
245
245
|
LinkStatus2["Expired"] = "Expired";
|
|
246
|
-
LinkStatus2["TripEnded"] = "TripEnded";
|
|
247
246
|
return LinkStatus2;
|
|
248
247
|
})(LinkStatus || {});
|
|
249
248
|
var InspectionStatus = /* @__PURE__ */ ((InspectionStatus2) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MenuType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User } from '../../user_organisation_service-Da1BdaCu.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -42,8 +42,8 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
43
|
status: Status;
|
|
44
44
|
organisation_id: string;
|
|
45
|
-
group_name: string;
|
|
46
45
|
user_id: string;
|
|
46
|
+
group_name: string;
|
|
47
47
|
module_name: string;
|
|
48
48
|
menu_type: MenuType;
|
|
49
49
|
group_name_language: string;
|
|
@@ -56,8 +56,8 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
56
56
|
}, {
|
|
57
57
|
status: Status;
|
|
58
58
|
organisation_id: string;
|
|
59
|
-
group_name: string;
|
|
60
59
|
user_id: string;
|
|
60
|
+
group_name: string;
|
|
61
61
|
module_name: string;
|
|
62
62
|
menu_type: MenuType;
|
|
63
63
|
group_name_language: string;
|
|
@@ -106,6 +106,7 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
106
106
|
menu_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof MenuType>, "many">>>;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
108
|
status: Status[];
|
|
109
|
+
user_ids: string[];
|
|
109
110
|
search: string;
|
|
110
111
|
paging: PAGING;
|
|
111
112
|
page_count: number;
|
|
@@ -127,13 +128,13 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
127
128
|
date_format_id: string;
|
|
128
129
|
time_zone_id: string;
|
|
129
130
|
organisation_ids: string[];
|
|
130
|
-
user_ids: string[];
|
|
131
131
|
menu_type: MenuType[];
|
|
132
132
|
bookmark_ids: string[];
|
|
133
133
|
}, {
|
|
134
134
|
date_format_id: string;
|
|
135
135
|
time_zone_id: string;
|
|
136
136
|
status?: Status[] | undefined;
|
|
137
|
+
user_ids?: string[] | undefined;
|
|
137
138
|
search?: string | undefined;
|
|
138
139
|
paging?: PAGING | undefined;
|
|
139
140
|
page_count?: unknown;
|
|
@@ -153,7 +154,6 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
153
154
|
}[] | undefined;
|
|
154
155
|
include_master_data?: YesNo | undefined;
|
|
155
156
|
organisation_ids?: string[] | undefined;
|
|
156
|
-
user_ids?: string[] | undefined;
|
|
157
157
|
menu_type?: MenuType[] | undefined;
|
|
158
158
|
bookmark_ids?: string[] | undefined;
|
|
159
159
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnOff, NotificationChannel, YesNo, NotificationList, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle, a as User } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, a as User } from '../../user_organisation_service-Da1BdaCu.js';
|
|
5
5
|
import { GPSGeofence } from '../gps/features/geofence/gps_geofence_service.js';
|
|
6
6
|
import '../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../master/main/master_main_sim_provider_service.js';
|
|
@@ -85,39 +85,39 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
|
|
|
85
85
|
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
86
86
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
notification_name: string;
|
|
89
|
+
notification_status: OnOff;
|
|
90
|
+
notification_channels: NotificationChannel[];
|
|
88
91
|
mobile_numbers: string;
|
|
89
92
|
email_ids: string;
|
|
90
93
|
cc_email_ids: string;
|
|
94
|
+
all_users: YesNo;
|
|
95
|
+
notification_list: NotificationList[];
|
|
96
|
+
over_speed_limit: number;
|
|
97
|
+
all_geofences: YesNo;
|
|
91
98
|
all_vehicles: YesNo;
|
|
92
99
|
status: Status;
|
|
93
100
|
organisation_id: string;
|
|
94
|
-
vehicle_ids: string[];
|
|
95
101
|
user_ids: string[];
|
|
96
102
|
gps_geofence_ids: string[];
|
|
103
|
+
vehicle_ids: string[];
|
|
104
|
+
}, {
|
|
97
105
|
notification_name: string;
|
|
98
106
|
notification_status: OnOff;
|
|
99
|
-
notification_channels: NotificationChannel[];
|
|
100
107
|
all_users: YesNo;
|
|
101
|
-
notification_list: NotificationList[];
|
|
102
|
-
over_speed_limit: number;
|
|
103
108
|
all_geofences: YesNo;
|
|
104
|
-
}, {
|
|
105
109
|
all_vehicles: YesNo;
|
|
106
110
|
status: Status;
|
|
107
111
|
organisation_id: string;
|
|
108
|
-
|
|
109
|
-
notification_status: OnOff;
|
|
110
|
-
all_users: YesNo;
|
|
111
|
-
all_geofences: YesNo;
|
|
112
|
+
notification_channels?: NotificationChannel[] | undefined;
|
|
112
113
|
mobile_numbers?: string | undefined;
|
|
113
114
|
email_ids?: string | undefined;
|
|
114
115
|
cc_email_ids?: string | undefined;
|
|
115
|
-
vehicle_ids?: string[] | undefined;
|
|
116
|
-
user_ids?: string[] | undefined;
|
|
117
|
-
gps_geofence_ids?: string[] | undefined;
|
|
118
|
-
notification_channels?: NotificationChannel[] | undefined;
|
|
119
116
|
notification_list?: NotificationList[] | undefined;
|
|
120
117
|
over_speed_limit?: unknown;
|
|
118
|
+
user_ids?: string[] | undefined;
|
|
119
|
+
gps_geofence_ids?: string[] | undefined;
|
|
120
|
+
vehicle_ids?: string[] | undefined;
|
|
121
121
|
}>;
|
|
122
122
|
type OrganisationNotificationPreferenceDTO = z.infer<typeof OrganisationNotificationPreferenceSchema>;
|
|
123
123
|
declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
@@ -157,6 +157,9 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
157
157
|
notification_channels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof NotificationChannel>, "many">>>;
|
|
158
158
|
notification_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof NotificationList>, "many">>>;
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
notification_status: OnOff[];
|
|
161
|
+
notification_channels: NotificationChannel[];
|
|
162
|
+
notification_list: NotificationList[];
|
|
160
163
|
status: Status[];
|
|
161
164
|
search: string;
|
|
162
165
|
paging: PAGING;
|
|
@@ -179,13 +182,13 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
179
182
|
date_format_id: string;
|
|
180
183
|
time_zone_id: string;
|
|
181
184
|
organisation_ids: string[];
|
|
182
|
-
notification_status: OnOff[];
|
|
183
|
-
notification_channels: NotificationChannel[];
|
|
184
|
-
notification_list: NotificationList[];
|
|
185
185
|
notification_preference_ids: string[];
|
|
186
186
|
}, {
|
|
187
187
|
date_format_id: string;
|
|
188
188
|
time_zone_id: string;
|
|
189
|
+
notification_status?: OnOff[] | undefined;
|
|
190
|
+
notification_channels?: NotificationChannel[] | undefined;
|
|
191
|
+
notification_list?: NotificationList[] | undefined;
|
|
189
192
|
status?: Status[] | undefined;
|
|
190
193
|
search?: string | undefined;
|
|
191
194
|
paging?: PAGING | undefined;
|
|
@@ -206,9 +209,6 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
206
209
|
}[] | undefined;
|
|
207
210
|
include_master_data?: YesNo | undefined;
|
|
208
211
|
organisation_ids?: string[] | undefined;
|
|
209
|
-
notification_status?: OnOff[] | undefined;
|
|
210
|
-
notification_channels?: NotificationChannel[] | undefined;
|
|
211
|
-
notification_list?: NotificationList[] | undefined;
|
|
212
212
|
notification_preference_ids?: string[] | undefined;
|
|
213
213
|
}>;
|
|
214
214
|
type OrganisationNotificationPreferenceQueryDTO = z.infer<typeof OrganisationNotificationPreferenceQuerySchema>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnOff, ReportType, ReportList, ReportChannel, YesNo, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../user_organisation_service-Da1BdaCu.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -113,7 +113,6 @@ declare const OrganisationReportAutomationMailQuerySchema: z.ZodObject<{
|
|
|
113
113
|
report_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReportType>, "many">>>;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
115
|
status: Status[];
|
|
116
|
-
report_type: ReportType[];
|
|
117
116
|
search: string;
|
|
118
117
|
paging: PAGING;
|
|
119
118
|
page_count: number;
|
|
@@ -135,13 +134,13 @@ declare const OrganisationReportAutomationMailQuerySchema: z.ZodObject<{
|
|
|
135
134
|
date_format_id: string;
|
|
136
135
|
time_zone_id: string;
|
|
137
136
|
organisation_ids: string[];
|
|
137
|
+
report_type: ReportType[];
|
|
138
138
|
report_preference_ids: string[];
|
|
139
139
|
report_automation_mail_ids: string[];
|
|
140
140
|
}, {
|
|
141
141
|
date_format_id: string;
|
|
142
142
|
time_zone_id: string;
|
|
143
143
|
status?: Status[] | undefined;
|
|
144
|
-
report_type?: ReportType[] | undefined;
|
|
145
144
|
search?: string | undefined;
|
|
146
145
|
paging?: PAGING | undefined;
|
|
147
146
|
page_count?: unknown;
|
|
@@ -161,6 +160,7 @@ declare const OrganisationReportAutomationMailQuerySchema: z.ZodObject<{
|
|
|
161
160
|
}[] | undefined;
|
|
162
161
|
include_master_data?: YesNo | undefined;
|
|
163
162
|
organisation_ids?: string[] | undefined;
|
|
163
|
+
report_type?: ReportType[] | undefined;
|
|
164
164
|
report_preference_ids?: string[] | undefined;
|
|
165
165
|
report_automation_mail_ids?: string[] | undefined;
|
|
166
166
|
}>;
|
|
@@ -179,11 +179,6 @@ declare const OrganisationReportPreferenceSchema: z.ZodObject<{
|
|
|
179
179
|
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
180
180
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
181
181
|
}, "strip", z.ZodTypeAny, {
|
|
182
|
-
report_name: string;
|
|
183
|
-
report_status: OnOff;
|
|
184
|
-
report_types: ReportType[];
|
|
185
|
-
report_list: ReportList[];
|
|
186
|
-
report_channels: ReportChannel.Email[];
|
|
187
182
|
mobile_numbers: string;
|
|
188
183
|
email_ids: string;
|
|
189
184
|
cc_email_ids: string;
|
|
@@ -191,19 +186,24 @@ declare const OrganisationReportPreferenceSchema: z.ZodObject<{
|
|
|
191
186
|
status: Status;
|
|
192
187
|
organisation_id: string;
|
|
193
188
|
vehicle_ids: string[];
|
|
194
|
-
}, {
|
|
195
189
|
report_name: string;
|
|
196
190
|
report_status: OnOff;
|
|
191
|
+
report_types: ReportType[];
|
|
192
|
+
report_list: ReportList[];
|
|
193
|
+
report_channels: ReportChannel.Email[];
|
|
194
|
+
}, {
|
|
197
195
|
all_vehicles: YesNo;
|
|
198
196
|
status: Status;
|
|
199
197
|
organisation_id: string;
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
report_channels?: ReportChannel.Email[] | undefined;
|
|
198
|
+
report_name: string;
|
|
199
|
+
report_status: OnOff;
|
|
203
200
|
mobile_numbers?: string | undefined;
|
|
204
201
|
email_ids?: string | undefined;
|
|
205
202
|
cc_email_ids?: string | undefined;
|
|
206
203
|
vehicle_ids?: string[] | undefined;
|
|
204
|
+
report_types?: ReportType[] | undefined;
|
|
205
|
+
report_list?: ReportList[] | undefined;
|
|
206
|
+
report_channels?: ReportChannel.Email[] | undefined;
|
|
207
207
|
}>;
|
|
208
208
|
type OrganisationReportPreferenceDTO = z.infer<typeof OrganisationReportPreferenceSchema>;
|
|
209
209
|
declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
|
|
@@ -244,10 +244,6 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
|
|
|
244
244
|
report_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReportList>, "many">>>;
|
|
245
245
|
report_channels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReportChannel>, "many">>>;
|
|
246
246
|
}, "strip", z.ZodTypeAny, {
|
|
247
|
-
report_status: OnOff[];
|
|
248
|
-
report_types: ReportType[];
|
|
249
|
-
report_list: ReportList[];
|
|
250
|
-
report_channels: ReportChannel.Email[];
|
|
251
247
|
status: Status[];
|
|
252
248
|
search: string;
|
|
253
249
|
paging: PAGING;
|
|
@@ -270,14 +266,14 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
|
|
|
270
266
|
date_format_id: string;
|
|
271
267
|
time_zone_id: string;
|
|
272
268
|
organisation_ids: string[];
|
|
269
|
+
report_status: OnOff[];
|
|
270
|
+
report_types: ReportType[];
|
|
271
|
+
report_list: ReportList[];
|
|
272
|
+
report_channels: ReportChannel.Email[];
|
|
273
273
|
report_preference_ids: string[];
|
|
274
274
|
}, {
|
|
275
275
|
date_format_id: string;
|
|
276
276
|
time_zone_id: string;
|
|
277
|
-
report_status?: OnOff[] | undefined;
|
|
278
|
-
report_types?: ReportType[] | undefined;
|
|
279
|
-
report_list?: ReportList[] | undefined;
|
|
280
|
-
report_channels?: ReportChannel.Email[] | undefined;
|
|
281
277
|
status?: Status[] | undefined;
|
|
282
278
|
search?: string | undefined;
|
|
283
279
|
paging?: PAGING | undefined;
|
|
@@ -298,6 +294,10 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
|
|
|
298
294
|
}[] | undefined;
|
|
299
295
|
include_master_data?: YesNo | undefined;
|
|
300
296
|
organisation_ids?: string[] | undefined;
|
|
297
|
+
report_status?: OnOff[] | undefined;
|
|
298
|
+
report_types?: ReportType[] | undefined;
|
|
299
|
+
report_list?: ReportList[] | undefined;
|
|
300
|
+
report_channels?: ReportChannel.Email[] | undefined;
|
|
301
301
|
report_preference_ids?: string[] | undefined;
|
|
302
302
|
}>;
|
|
303
303
|
type OrganisationReportPreferenceQueryDTO = z.infer<typeof OrganisationReportPreferenceQuerySchema>;
|
|
@@ -2,7 +2,7 @@ import { TicketStatus, Status, FileType, PAGING, LoadParents, LoadChild, LoadChi
|
|
|
2
2
|
import { BaseCommionFile, FBR, SBR, BR, AWSPresignedUrl } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User } from '../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User } from '../../user_organisation_service-Da1BdaCu.js';
|
|
6
6
|
import { UserAdmin } from '../main/users/user_admin_service.js';
|
|
7
7
|
import '../master/main/master_main_sim_provider_service.js';
|
|
8
8
|
|
|
@@ -120,8 +120,8 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
120
120
|
}, "strip", z.ZodTypeAny, {
|
|
121
121
|
status: Status;
|
|
122
122
|
organisation_id: string;
|
|
123
|
-
description: string;
|
|
124
123
|
user_id: string;
|
|
124
|
+
description: string;
|
|
125
125
|
admin_id: string;
|
|
126
126
|
subject: string;
|
|
127
127
|
admin_message: string;
|
|
@@ -201,6 +201,7 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
201
201
|
ticket_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof TicketStatus>, "many">>>;
|
|
202
202
|
}, "strip", z.ZodTypeAny, {
|
|
203
203
|
status: Status[];
|
|
204
|
+
user_ids: string[];
|
|
204
205
|
search: string;
|
|
205
206
|
paging: PAGING;
|
|
206
207
|
page_count: number;
|
|
@@ -222,7 +223,6 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
222
223
|
date_format_id: string;
|
|
223
224
|
time_zone_id: string;
|
|
224
225
|
organisation_ids: string[];
|
|
225
|
-
user_ids: string[];
|
|
226
226
|
admin_ids: string[];
|
|
227
227
|
ticket_status: TicketStatus[];
|
|
228
228
|
ticket_ids: string[];
|
|
@@ -230,6 +230,7 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
230
230
|
date_format_id: string;
|
|
231
231
|
time_zone_id: string;
|
|
232
232
|
status?: Status[] | undefined;
|
|
233
|
+
user_ids?: string[] | undefined;
|
|
233
234
|
search?: string | undefined;
|
|
234
235
|
paging?: PAGING | undefined;
|
|
235
236
|
page_count?: unknown;
|
|
@@ -249,7 +250,6 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
249
250
|
}[] | undefined;
|
|
250
251
|
include_master_data?: YesNo | undefined;
|
|
251
252
|
organisation_ids?: string[] | undefined;
|
|
252
|
-
user_ids?: string[] | undefined;
|
|
253
253
|
admin_ids?: string[] | undefined;
|
|
254
254
|
ticket_status?: TicketStatus[] | undefined;
|
|
255
255
|
ticket_ids?: string[] | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice } from '../../../user_organisation_service-Da1BdaCu.js';
|
|
5
5
|
import { FuelConsumptionMonthly } from '../../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
6
6
|
import '../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -2,7 +2,7 @@ import { GPSFuelApproveStatus, RefillEntrySource, RefillMethod, PaymentMode, Pay
|
|
|
2
2
|
import { BaseCommionFile, FBR, SBR, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-Da1BdaCu.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
8
8
|
|
|
@@ -101,6 +101,7 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
101
101
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
102
102
|
fleet_fuel_refill_id: z.ZodEffects<z.ZodString, string, string>;
|
|
103
103
|
}, "strip", z.ZodTypeAny, {
|
|
104
|
+
fleet_fuel_refill_id: string;
|
|
104
105
|
status: Status;
|
|
105
106
|
organisation_id: string;
|
|
106
107
|
usage_type: string;
|
|
@@ -111,13 +112,12 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
111
112
|
file_description: string;
|
|
112
113
|
file_size: number;
|
|
113
114
|
file_metadata: Record<string, any>;
|
|
114
|
-
fleet_fuel_refill_id: string;
|
|
115
115
|
}, {
|
|
116
|
+
fleet_fuel_refill_id: string;
|
|
116
117
|
status: Status;
|
|
117
118
|
organisation_id: string;
|
|
118
119
|
usage_type: string;
|
|
119
120
|
file_type: FileType;
|
|
120
|
-
fleet_fuel_refill_id: string;
|
|
121
121
|
file_url?: string | undefined;
|
|
122
122
|
file_key?: string | undefined;
|
|
123
123
|
file_name?: string | undefined;
|
|
@@ -181,6 +181,7 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
181
181
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
182
182
|
fleet_fuel_refill_id: z.ZodEffects<z.ZodString, string, string>;
|
|
183
183
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
184
|
+
fleet_fuel_refill_id: string;
|
|
184
185
|
status: Status;
|
|
185
186
|
organisation_id: string;
|
|
186
187
|
usage_type: string;
|
|
@@ -191,13 +192,12 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
191
192
|
file_description: string;
|
|
192
193
|
file_size: number;
|
|
193
194
|
file_metadata: Record<string, any>;
|
|
194
|
-
fleet_fuel_refill_id: string;
|
|
195
195
|
}, {
|
|
196
|
+
fleet_fuel_refill_id: string;
|
|
196
197
|
status: Status;
|
|
197
198
|
organisation_id: string;
|
|
198
199
|
usage_type: string;
|
|
199
200
|
file_type: FileType;
|
|
200
|
-
fleet_fuel_refill_id: string;
|
|
201
201
|
file_url?: string | undefined;
|
|
202
202
|
file_key?: string | undefined;
|
|
203
203
|
file_name?: string | undefined;
|
|
@@ -206,23 +206,12 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
206
206
|
file_metadata?: Record<string, any> | undefined;
|
|
207
207
|
}>, "many">>>;
|
|
208
208
|
}, "strip", z.ZodTypeAny, {
|
|
209
|
-
odometer_reading: number;
|
|
210
209
|
date_time: string;
|
|
211
210
|
admin_verify_status: GPSFuelApproveStatus;
|
|
212
211
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
213
212
|
entry_source: RefillEntrySource;
|
|
214
213
|
source_reference_id: string;
|
|
215
214
|
source_notes: string;
|
|
216
|
-
google_location: string;
|
|
217
|
-
status: Status;
|
|
218
|
-
organisation_id: string;
|
|
219
|
-
user_id: string;
|
|
220
|
-
vehicle_id: string;
|
|
221
|
-
driver_id: string;
|
|
222
|
-
device_id: string;
|
|
223
|
-
vehicle_fuel_type_id: string;
|
|
224
|
-
vehicle_fuel_unit_id: string;
|
|
225
|
-
time_zone_id: string;
|
|
226
215
|
refill_method: RefillMethod;
|
|
227
216
|
refill_details: string;
|
|
228
217
|
filled_by_person: string;
|
|
@@ -232,12 +221,23 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
232
221
|
payment_reference_number: string;
|
|
233
222
|
fuel_card_number: string;
|
|
234
223
|
payment_notes: string;
|
|
224
|
+
google_location: string;
|
|
225
|
+
odometer_reading: number;
|
|
235
226
|
tank_size: number;
|
|
236
227
|
is_full_tank: YesNo;
|
|
237
228
|
is_previous_entries_missed: YesNo;
|
|
229
|
+
status: Status;
|
|
230
|
+
organisation_id: string;
|
|
231
|
+
user_id: string;
|
|
232
|
+
vehicle_id: string;
|
|
233
|
+
driver_id: string;
|
|
234
|
+
device_id: string;
|
|
238
235
|
vendor_id: string;
|
|
239
236
|
fuel_station_id: string;
|
|
237
|
+
vehicle_fuel_type_id: string;
|
|
238
|
+
vehicle_fuel_unit_id: string;
|
|
240
239
|
FleetFuelRefillFile: {
|
|
240
|
+
fleet_fuel_refill_id: string;
|
|
241
241
|
status: Status;
|
|
242
242
|
organisation_id: string;
|
|
243
243
|
usage_type: string;
|
|
@@ -248,50 +248,46 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
248
248
|
file_description: string;
|
|
249
249
|
file_size: number;
|
|
250
250
|
file_metadata: Record<string, any>;
|
|
251
|
-
fleet_fuel_refill_id: string;
|
|
252
251
|
}[];
|
|
253
|
-
|
|
254
|
-
total_cost?: number | undefined;
|
|
255
|
-
latitude?: number | undefined;
|
|
256
|
-
longitude?: number | undefined;
|
|
252
|
+
time_zone_id: string;
|
|
257
253
|
before_refill_quantity?: number | undefined;
|
|
258
254
|
after_refill_quantity?: number | undefined;
|
|
259
255
|
refill_quantity?: number | undefined;
|
|
260
256
|
verified_refill_quantity?: number | undefined;
|
|
261
257
|
diff_refill_quantity?: number | undefined;
|
|
258
|
+
cost_per_unit?: number | undefined;
|
|
259
|
+
total_cost?: number | undefined;
|
|
260
|
+
latitude?: number | undefined;
|
|
261
|
+
longitude?: number | undefined;
|
|
262
262
|
}, {
|
|
263
263
|
date_time: string;
|
|
264
264
|
admin_verify_status: GPSFuelApproveStatus;
|
|
265
265
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
266
|
+
payment_mode: PaymentMode;
|
|
267
|
+
payment_status: PaymentStatus;
|
|
268
|
+
is_full_tank: YesNo;
|
|
269
|
+
is_previous_entries_missed: YesNo;
|
|
266
270
|
status: Status;
|
|
267
271
|
organisation_id: string;
|
|
268
272
|
user_id: string;
|
|
269
273
|
vehicle_id: string;
|
|
270
274
|
driver_id: string;
|
|
271
275
|
device_id: string;
|
|
276
|
+
vendor_id: string;
|
|
277
|
+
fuel_station_id: string;
|
|
272
278
|
vehicle_fuel_type_id: string;
|
|
273
279
|
vehicle_fuel_unit_id: string;
|
|
274
280
|
time_zone_id: string;
|
|
275
|
-
payment_mode: PaymentMode;
|
|
276
|
-
payment_status: PaymentStatus;
|
|
277
|
-
is_full_tank: YesNo;
|
|
278
|
-
is_previous_entries_missed: YesNo;
|
|
279
|
-
vendor_id: string;
|
|
280
|
-
fuel_station_id: string;
|
|
281
|
-
odometer_reading?: unknown;
|
|
282
|
-
cost_per_unit?: unknown;
|
|
283
|
-
total_cost?: unknown;
|
|
284
|
-
entry_source?: RefillEntrySource | undefined;
|
|
285
|
-
source_reference_id?: string | undefined;
|
|
286
|
-
source_notes?: string | undefined;
|
|
287
|
-
latitude?: unknown;
|
|
288
|
-
longitude?: unknown;
|
|
289
|
-
google_location?: string | undefined;
|
|
290
281
|
before_refill_quantity?: unknown;
|
|
291
282
|
after_refill_quantity?: unknown;
|
|
292
283
|
refill_quantity?: unknown;
|
|
293
284
|
verified_refill_quantity?: unknown;
|
|
294
285
|
diff_refill_quantity?: unknown;
|
|
286
|
+
cost_per_unit?: unknown;
|
|
287
|
+
total_cost?: unknown;
|
|
288
|
+
entry_source?: RefillEntrySource | undefined;
|
|
289
|
+
source_reference_id?: string | undefined;
|
|
290
|
+
source_notes?: string | undefined;
|
|
295
291
|
refill_method?: RefillMethod | undefined;
|
|
296
292
|
refill_details?: string | undefined;
|
|
297
293
|
filled_by_person?: string | undefined;
|
|
@@ -299,13 +295,17 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
299
295
|
payment_reference_number?: string | undefined;
|
|
300
296
|
fuel_card_number?: string | undefined;
|
|
301
297
|
payment_notes?: string | undefined;
|
|
298
|
+
latitude?: unknown;
|
|
299
|
+
longitude?: unknown;
|
|
300
|
+
google_location?: string | undefined;
|
|
301
|
+
odometer_reading?: unknown;
|
|
302
302
|
tank_size?: unknown;
|
|
303
303
|
FleetFuelRefillFile?: {
|
|
304
|
+
fleet_fuel_refill_id: string;
|
|
304
305
|
status: Status;
|
|
305
306
|
organisation_id: string;
|
|
306
307
|
usage_type: string;
|
|
307
308
|
file_type: FileType;
|
|
308
|
-
fleet_fuel_refill_id: string;
|
|
309
309
|
file_url?: string | undefined;
|
|
310
310
|
file_key?: string | undefined;
|
|
311
311
|
file_name?: string | undefined;
|
|
@@ -391,13 +391,13 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
391
391
|
vehicle_ids: string[];
|
|
392
392
|
driver_ids: string[];
|
|
393
393
|
device_ids: string[];
|
|
394
|
+
vendor_ids: string[];
|
|
395
|
+
fuel_station_ids: string[];
|
|
394
396
|
vehicle_fuel_type_ids: string[];
|
|
395
397
|
vehicle_fuel_unit_ids: string[];
|
|
398
|
+
fleet_fuel_refill_ids: string[];
|
|
396
399
|
from_date: string;
|
|
397
400
|
to_date: string;
|
|
398
|
-
vendor_ids: string[];
|
|
399
|
-
fuel_station_ids: string[];
|
|
400
|
-
fleet_fuel_refill_ids: string[];
|
|
401
401
|
}, {
|
|
402
402
|
time_zone_id: string;
|
|
403
403
|
date_format_id: string;
|
|
@@ -430,10 +430,10 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
430
430
|
vehicle_ids?: string[] | undefined;
|
|
431
431
|
driver_ids?: string[] | undefined;
|
|
432
432
|
device_ids?: string[] | undefined;
|
|
433
|
-
vehicle_fuel_type_ids?: string[] | undefined;
|
|
434
|
-
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
435
433
|
vendor_ids?: string[] | undefined;
|
|
436
434
|
fuel_station_ids?: string[] | undefined;
|
|
435
|
+
vehicle_fuel_type_ids?: string[] | undefined;
|
|
436
|
+
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
437
437
|
fleet_fuel_refill_ids?: string[] | undefined;
|
|
438
438
|
}>;
|
|
439
439
|
type FleetFuelRefillQueryDTO = z.infer<typeof FleetFuelRefillQuerySchema>;
|