vms-nest-prisma-api-document 50.0.0 → 60.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 +4 -1
- package/dist/core/Enums.js +5 -0
- 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 +11 -11
- package/dist/services/account/notification_preferences.service.d.ts +18 -18
- package/dist/services/account/report_preferences.service.d.ts +7 -7
- package/dist/services/account/ticket_service.d.ts +3 -3
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +17 -17
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +32 -32
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +46 -46
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +3 -3
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +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 +11 -25
- package/dist/services/gps/features/gps_live_track_share_link_service.js +8 -19
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +11 -11
- package/dist/services/gps/features/gps_track_history_share_link_service.js +8 -9
- 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 +5 -5
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/dist/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/faq_service.d.ts +1 -1
- package/package.json +1 -1
- package/dist/{user_organisation_service-Da1BdaCu.d.ts → user_organisation_service-DqZC6EYi.d.ts} +29 -29
package/dist/core/Enums.d.ts
CHANGED
|
@@ -162,6 +162,9 @@ declare enum NotificationList {
|
|
|
162
162
|
FuelSuddenDecrease = "FuelSuddenDecrease",
|
|
163
163
|
OverSpeed = "OverSpeed"
|
|
164
164
|
}
|
|
165
|
+
declare enum ShareChannel {
|
|
166
|
+
Email = "Email"
|
|
167
|
+
}
|
|
165
168
|
declare enum NotificationChannel {
|
|
166
169
|
Push = "Push",
|
|
167
170
|
Email = "Email"
|
|
@@ -639,4 +642,4 @@ declare enum PaymentMode {
|
|
|
639
642
|
Other = "Other"
|
|
640
643
|
}
|
|
641
644
|
|
|
642
|
-
export { AdminRole, AlertSubType, AlertType, BillingStatus, BooleanType, DeviceStatus, DeviceType, DocumentStatus, DocumentType, DocumentValidityStatus, DoorSensorStatus, ExpenseCategory, FileType, FleetSize, GPSFuelApproveStatus, GPSSource, GPSType, GeofencePurposeType, GeofenceStatusType, GeofenceType, InspectionActionStatus, InspectionStatus, InspectionType, Is12AM, IssueSeverity, IssueSource, IssueStatus, JobCardStatus, LifeExpiry, LinkStatus, LinkType, LoadChild, LoadChildCount, LoadParents, LoginFrom, MenuType, Module, NightDriving, NotificationChannel, NotificationList, NotificationPreference, OdometerSource, OnOff, OrderBy, OverSpeed, PAGING, PaymentMode, PaymentStatus, Priority, PurchaseOrderStatus, PurchaseType, PurchaseVehicleType, RecurrenceInterval, RefillEntrySource, RefillMethod, ReminderSource, ReminderStatus, ReminderTriggerType, ReportChannel, ReportList, ReportType, RequestType, RetreadingMethod, ScheduleStatus, ScheduleType, ServiceType, SimStatus, Status, StockType, TicketStatus, TimeSlot, TrackHistoryLinkStatus, TyreStatus, VerifyStatus, YesNo };
|
|
645
|
+
export { AdminRole, AlertSubType, AlertType, BillingStatus, BooleanType, DeviceStatus, DeviceType, DocumentStatus, DocumentType, DocumentValidityStatus, DoorSensorStatus, ExpenseCategory, FileType, FleetSize, GPSFuelApproveStatus, GPSSource, GPSType, GeofencePurposeType, GeofenceStatusType, GeofenceType, InspectionActionStatus, InspectionStatus, InspectionType, Is12AM, IssueSeverity, IssueSource, IssueStatus, JobCardStatus, LifeExpiry, LinkStatus, LinkType, LoadChild, LoadChildCount, LoadParents, LoginFrom, MenuType, Module, NightDriving, NotificationChannel, NotificationList, NotificationPreference, OdometerSource, OnOff, OrderBy, OverSpeed, PAGING, PaymentMode, PaymentStatus, Priority, PurchaseOrderStatus, PurchaseType, PurchaseVehicleType, RecurrenceInterval, RefillEntrySource, RefillMethod, ReminderSource, ReminderStatus, ReminderTriggerType, ReportChannel, ReportList, ReportType, RequestType, RetreadingMethod, ScheduleStatus, ScheduleType, ServiceType, ShareChannel, SimStatus, Status, StockType, TicketStatus, TimeSlot, TrackHistoryLinkStatus, TyreStatus, VerifyStatus, YesNo };
|
package/dist/core/Enums.js
CHANGED
|
@@ -191,6 +191,10 @@ var NotificationList = /* @__PURE__ */ ((NotificationList2) => {
|
|
|
191
191
|
NotificationList2["OverSpeed"] = "OverSpeed";
|
|
192
192
|
return NotificationList2;
|
|
193
193
|
})(NotificationList || {});
|
|
194
|
+
var ShareChannel = /* @__PURE__ */ ((ShareChannel2) => {
|
|
195
|
+
ShareChannel2["Email"] = "Email";
|
|
196
|
+
return ShareChannel2;
|
|
197
|
+
})(ShareChannel || {});
|
|
194
198
|
var NotificationChannel = /* @__PURE__ */ ((NotificationChannel2) => {
|
|
195
199
|
NotificationChannel2["Push"] = "Push";
|
|
196
200
|
NotificationChannel2["Email"] = "Email";
|
|
@@ -781,6 +785,7 @@ export {
|
|
|
781
785
|
ScheduleStatus,
|
|
782
786
|
ScheduleType,
|
|
783
787
|
ServiceType,
|
|
788
|
+
ShareChannel,
|
|
784
789
|
SimStatus,
|
|
785
790
|
Status,
|
|
786
791
|
StockType,
|
|
@@ -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-DqZC6EYi.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,8 +105,8 @@ 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
|
-
user_ids: string[];
|
|
110
110
|
search: string;
|
|
111
111
|
paging: PAGING;
|
|
112
112
|
page_count: number;
|
|
@@ -128,13 +128,13 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
128
128
|
date_format_id: string;
|
|
129
129
|
time_zone_id: string;
|
|
130
130
|
organisation_ids: string[];
|
|
131
|
-
|
|
131
|
+
user_ids: string[];
|
|
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
|
-
user_ids?: string[] | undefined;
|
|
138
138
|
search?: string | undefined;
|
|
139
139
|
paging?: PAGING | undefined;
|
|
140
140
|
page_count?: unknown;
|
|
@@ -154,7 +154,7 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
154
154
|
}[] | undefined;
|
|
155
155
|
include_master_data?: YesNo | undefined;
|
|
156
156
|
organisation_ids?: string[] | undefined;
|
|
157
|
-
|
|
157
|
+
user_ids?: string[] | undefined;
|
|
158
158
|
bookmark_ids?: string[] | undefined;
|
|
159
159
|
}>;
|
|
160
160
|
type BookMarkQueryDTO = z.infer<typeof BookMarkQuerySchema>;
|
|
@@ -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-DqZC6EYi.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,6 +85,12 @@ 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
|
+
status: Status;
|
|
89
|
+
organisation_id: string;
|
|
90
|
+
user_ids: string[];
|
|
91
|
+
vehicle_ids: string[];
|
|
92
|
+
all_vehicles: YesNo;
|
|
93
|
+
gps_geofence_ids: string[];
|
|
88
94
|
notification_name: string;
|
|
89
95
|
notification_status: OnOff;
|
|
90
96
|
notification_channels: NotificationChannel[];
|
|
@@ -95,29 +101,23 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
|
|
|
95
101
|
notification_list: NotificationList[];
|
|
96
102
|
over_speed_limit: number;
|
|
97
103
|
all_geofences: YesNo;
|
|
98
|
-
|
|
104
|
+
}, {
|
|
99
105
|
status: Status;
|
|
100
106
|
organisation_id: string;
|
|
101
|
-
|
|
102
|
-
gps_geofence_ids: string[];
|
|
103
|
-
vehicle_ids: string[];
|
|
104
|
-
}, {
|
|
107
|
+
all_vehicles: YesNo;
|
|
105
108
|
notification_name: string;
|
|
106
109
|
notification_status: OnOff;
|
|
107
110
|
all_users: YesNo;
|
|
108
111
|
all_geofences: YesNo;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
+
user_ids?: string[] | undefined;
|
|
113
|
+
vehicle_ids?: string[] | undefined;
|
|
114
|
+
gps_geofence_ids?: string[] | undefined;
|
|
112
115
|
notification_channels?: NotificationChannel[] | undefined;
|
|
113
116
|
mobile_numbers?: string | undefined;
|
|
114
117
|
email_ids?: string | undefined;
|
|
115
118
|
cc_email_ids?: string | undefined;
|
|
116
119
|
notification_list?: NotificationList[] | undefined;
|
|
117
120
|
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,9 +157,6 @@ 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[];
|
|
163
160
|
status: Status[];
|
|
164
161
|
search: string;
|
|
165
162
|
paging: PAGING;
|
|
@@ -182,13 +179,13 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
182
179
|
date_format_id: string;
|
|
183
180
|
time_zone_id: string;
|
|
184
181
|
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;
|
|
192
189
|
status?: Status[] | undefined;
|
|
193
190
|
search?: string | undefined;
|
|
194
191
|
paging?: PAGING | undefined;
|
|
@@ -209,6 +206,9 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
209
206
|
}[] | undefined;
|
|
210
207
|
include_master_data?: YesNo | undefined;
|
|
211
208
|
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-DqZC6EYi.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -179,28 +179,28 @@ 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
|
-
mobile_numbers: string;
|
|
183
|
-
email_ids: string;
|
|
184
|
-
cc_email_ids: string;
|
|
185
|
-
all_vehicles: YesNo;
|
|
186
182
|
status: Status;
|
|
187
183
|
organisation_id: string;
|
|
188
184
|
vehicle_ids: string[];
|
|
185
|
+
all_vehicles: YesNo;
|
|
186
|
+
mobile_numbers: string;
|
|
187
|
+
email_ids: string;
|
|
188
|
+
cc_email_ids: string;
|
|
189
189
|
report_name: string;
|
|
190
190
|
report_status: OnOff;
|
|
191
191
|
report_types: ReportType[];
|
|
192
192
|
report_list: ReportList[];
|
|
193
193
|
report_channels: ReportChannel.Email[];
|
|
194
194
|
}, {
|
|
195
|
-
all_vehicles: YesNo;
|
|
196
195
|
status: Status;
|
|
197
196
|
organisation_id: string;
|
|
197
|
+
all_vehicles: YesNo;
|
|
198
198
|
report_name: string;
|
|
199
199
|
report_status: OnOff;
|
|
200
|
+
vehicle_ids?: string[] | undefined;
|
|
200
201
|
mobile_numbers?: string | undefined;
|
|
201
202
|
email_ids?: string | undefined;
|
|
202
203
|
cc_email_ids?: string | undefined;
|
|
203
|
-
vehicle_ids?: string[] | undefined;
|
|
204
204
|
report_types?: ReportType[] | undefined;
|
|
205
205
|
report_list?: ReportList[] | undefined;
|
|
206
206
|
report_channels?: ReportChannel.Email[] | undefined;
|
|
@@ -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-DqZC6EYi.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
|
|
|
@@ -201,7 +201,6 @@ 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[];
|
|
205
204
|
search: string;
|
|
206
205
|
paging: PAGING;
|
|
207
206
|
page_count: number;
|
|
@@ -223,6 +222,7 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
223
222
|
date_format_id: string;
|
|
224
223
|
time_zone_id: string;
|
|
225
224
|
organisation_ids: string[];
|
|
225
|
+
user_ids: string[];
|
|
226
226
|
admin_ids: string[];
|
|
227
227
|
ticket_status: TicketStatus[];
|
|
228
228
|
ticket_ids: string[];
|
|
@@ -230,7 +230,6 @@ 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;
|
|
234
233
|
search?: string | undefined;
|
|
235
234
|
paging?: PAGING | undefined;
|
|
236
235
|
page_count?: unknown;
|
|
@@ -250,6 +249,7 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
250
249
|
}[] | undefined;
|
|
251
250
|
include_master_data?: YesNo | undefined;
|
|
252
251
|
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-DqZC6EYi.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 { 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-DqZC6EYi.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
8
8
|
|
|
@@ -206,23 +206,23 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
206
206
|
file_metadata?: Record<string, any> | undefined;
|
|
207
207
|
}>, "many">>>;
|
|
208
208
|
}, "strip", z.ZodTypeAny, {
|
|
209
|
+
odometer_reading: number;
|
|
210
|
+
date_time: string;
|
|
211
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
212
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
213
|
+
entry_source: RefillEntrySource;
|
|
214
|
+
source_reference_id: string;
|
|
215
|
+
source_notes: string;
|
|
216
|
+
google_location: string;
|
|
209
217
|
status: Status;
|
|
210
218
|
organisation_id: string;
|
|
211
219
|
user_id: string;
|
|
212
220
|
vehicle_id: string;
|
|
213
221
|
driver_id: string;
|
|
214
222
|
device_id: string;
|
|
215
|
-
time_zone_id: string;
|
|
216
223
|
vehicle_fuel_type_id: string;
|
|
217
224
|
vehicle_fuel_unit_id: string;
|
|
218
|
-
|
|
219
|
-
google_location: string;
|
|
220
|
-
date_time: string;
|
|
221
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
222
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
223
|
-
entry_source: RefillEntrySource;
|
|
224
|
-
source_reference_id: string;
|
|
225
|
-
source_notes: string;
|
|
225
|
+
time_zone_id: string;
|
|
226
226
|
refill_method: RefillMethod;
|
|
227
227
|
refill_details: string;
|
|
228
228
|
filled_by_person: string;
|
|
@@ -250,6 +250,8 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
250
250
|
file_metadata: Record<string, any>;
|
|
251
251
|
fleet_fuel_refill_id: string;
|
|
252
252
|
}[];
|
|
253
|
+
cost_per_unit?: number | undefined;
|
|
254
|
+
total_cost?: number | undefined;
|
|
253
255
|
latitude?: number | undefined;
|
|
254
256
|
longitude?: number | undefined;
|
|
255
257
|
before_refill_quantity?: number | undefined;
|
|
@@ -257,21 +259,19 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
257
259
|
refill_quantity?: number | undefined;
|
|
258
260
|
verified_refill_quantity?: number | undefined;
|
|
259
261
|
diff_refill_quantity?: number | undefined;
|
|
260
|
-
cost_per_unit?: number | undefined;
|
|
261
|
-
total_cost?: number | undefined;
|
|
262
262
|
}, {
|
|
263
|
+
date_time: string;
|
|
264
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
265
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
263
266
|
status: Status;
|
|
264
267
|
organisation_id: string;
|
|
265
268
|
user_id: string;
|
|
266
269
|
vehicle_id: string;
|
|
267
270
|
driver_id: string;
|
|
268
271
|
device_id: string;
|
|
269
|
-
time_zone_id: string;
|
|
270
272
|
vehicle_fuel_type_id: string;
|
|
271
273
|
vehicle_fuel_unit_id: string;
|
|
272
|
-
|
|
273
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
274
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
274
|
+
time_zone_id: string;
|
|
275
275
|
payment_mode: PaymentMode;
|
|
276
276
|
payment_status: PaymentStatus;
|
|
277
277
|
is_full_tank: YesNo;
|
|
@@ -279,6 +279,11 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
279
279
|
vendor_id: string;
|
|
280
280
|
fuel_station_id: string;
|
|
281
281
|
odometer_reading?: unknown;
|
|
282
|
+
cost_per_unit?: unknown;
|
|
283
|
+
total_cost?: unknown;
|
|
284
|
+
entry_source?: RefillEntrySource | undefined;
|
|
285
|
+
source_reference_id?: string | undefined;
|
|
286
|
+
source_notes?: string | undefined;
|
|
282
287
|
latitude?: unknown;
|
|
283
288
|
longitude?: unknown;
|
|
284
289
|
google_location?: string | undefined;
|
|
@@ -287,11 +292,6 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
287
292
|
refill_quantity?: unknown;
|
|
288
293
|
verified_refill_quantity?: unknown;
|
|
289
294
|
diff_refill_quantity?: unknown;
|
|
290
|
-
cost_per_unit?: unknown;
|
|
291
|
-
total_cost?: unknown;
|
|
292
|
-
entry_source?: RefillEntrySource | undefined;
|
|
293
|
-
source_reference_id?: string | undefined;
|
|
294
|
-
source_notes?: string | undefined;
|
|
295
295
|
refill_method?: RefillMethod | undefined;
|
|
296
296
|
refill_details?: string | undefined;
|
|
297
297
|
filled_by_person?: string | undefined;
|
|
@@ -362,7 +362,11 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
362
362
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
363
363
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
364
364
|
}, "strip", z.ZodTypeAny, {
|
|
365
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
366
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
367
|
+
entry_source: RefillEntrySource[];
|
|
365
368
|
status: Status[];
|
|
369
|
+
time_zone_id: string;
|
|
366
370
|
search: string;
|
|
367
371
|
paging: PAGING;
|
|
368
372
|
page_count: number;
|
|
@@ -382,27 +386,26 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
382
386
|
}[];
|
|
383
387
|
include_master_data: YesNo;
|
|
384
388
|
date_format_id: string;
|
|
385
|
-
time_zone_id: string;
|
|
386
389
|
organisation_ids: string[];
|
|
387
390
|
user_ids: string[];
|
|
388
391
|
vehicle_ids: string[];
|
|
389
392
|
driver_ids: string[];
|
|
390
393
|
device_ids: string[];
|
|
394
|
+
vehicle_fuel_type_ids: string[];
|
|
395
|
+
vehicle_fuel_unit_ids: string[];
|
|
391
396
|
from_date: string;
|
|
392
397
|
to_date: string;
|
|
393
|
-
vehicle_fuel_type_ids: string[];
|
|
394
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
395
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
396
|
-
entry_source: RefillEntrySource[];
|
|
397
398
|
vendor_ids: string[];
|
|
398
399
|
fuel_station_ids: string[];
|
|
399
|
-
vehicle_fuel_unit_ids: string[];
|
|
400
400
|
fleet_fuel_refill_ids: string[];
|
|
401
401
|
}, {
|
|
402
|
-
date_format_id: string;
|
|
403
402
|
time_zone_id: string;
|
|
403
|
+
date_format_id: string;
|
|
404
404
|
from_date: string;
|
|
405
405
|
to_date: string;
|
|
406
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
407
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
408
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
406
409
|
status?: Status[] | undefined;
|
|
407
410
|
search?: string | undefined;
|
|
408
411
|
paging?: PAGING | undefined;
|
|
@@ -428,12 +431,9 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
428
431
|
driver_ids?: string[] | undefined;
|
|
429
432
|
device_ids?: string[] | undefined;
|
|
430
433
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
431
|
-
|
|
432
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
433
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
434
|
+
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
434
435
|
vendor_ids?: string[] | undefined;
|
|
435
436
|
fuel_station_ids?: string[] | undefined;
|
|
436
|
-
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
437
437
|
fleet_fuel_refill_ids?: string[] | undefined;
|
|
438
438
|
}>;
|
|
439
439
|
type FleetFuelRefillQueryDTO = z.infer<typeof FleetFuelRefillQuerySchema>;
|