vms-nest-api-document 60.0.0 → 63.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/{eway_bill_details-DxMfbuOb.d.ts → eway_bill_details-fPC5sPAn.d.ts} +132 -86
- package/dist/services/account/analytics/admin_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/driver_login_analytics_service.d.ts +4 -4
- package/dist/services/account/analytics/parent_login_analytics_service.d.ts +6 -6
- package/dist/services/account/analytics/student_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/user_login_analytics_service.d.ts +2 -2
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +2 -2
- package/dist/services/account/analytics/user_report_analytics_service.d.ts +2 -2
- package/dist/services/account/eway_bill_details.d.ts +1 -1
- package/dist/services/account/fasttag_details.d.ts +1 -1
- package/dist/services/account/fasttag_transactions.d.ts +1 -1
- package/dist/services/account/invoice_service.d.ts +1 -1
- package/dist/services/account/notification_preferences.service.d.ts +1 -1
- package/dist/services/account/report_preferences.service.d.ts +1 -1
- package/dist/services/account/ticket_service.d.ts +1 -1
- package/dist/services/account/user_bookmark_service.d.ts +1 -1
- package/dist/services/account/user_bookmark_service.js +37 -2
- package/dist/services/core/external_api_push.service.d.ts +1 -1
- package/dist/services/core/external_api_share.service.d.ts +1 -1
- package/dist/services/core/external_api_sync.service.d.ts +1 -1
- package/dist/services/fleet/breakdown_management/breakdown_management_service.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/bus_stop.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/day_run_daily_schedule_api.d.ts +35 -35
- package/dist/services/fleet/bus_mangement/day_run_special_schedule_api.d.ts +35 -35
- package/dist/services/fleet/bus_mangement/master_daily_schedule.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_route.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_special_schedule.d.ts +1 -1
- package/dist/services/fleet/document_management/document_management_service.d.ts +1 -1
- 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/fleet/incident_management/incident_management_service.d.ts +1 -1
- package/dist/services/fleet/inspection_management/fleet_inspection_form_service.d.ts +1 -1
- package/dist/services/fleet/inspection_management/fleet_inspection_management_service.d.ts +1 -1
- package/dist/services/fleet/inspection_management/fleet_inspection_schedule_service.d.ts +1 -1
- package/dist/services/fleet/issue_management/issue_management_service.d.ts +1 -1
- package/dist/services/fleet/school_management/calendar_service.d.ts +1 -1
- package/dist/services/fleet/school_management/notice_board_service.d.ts +1 -1
- package/dist/services/fleet/school_management/student_service.d.ts +1 -1
- package/dist/services/fleet/service_management/fleet_service_schedule_service.d.ts +1 -1
- package/dist/services/fleet/service_management/fleet_service_service.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service_center.d.ts +1 -1
- package/dist/services/fleet/workshop_management/fleet_workshop_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
- 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 +1 -1
- package/dist/services/gps/features/gps_lock_digital_door_log_service.d.ts +1 -1
- package/dist/services/gps/features/gps_lock_relay_log_service.d.ts +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +18 -18
- package/dist/services/main/device/master_data_check_service.d.ts +3 -3
- package/dist/services/main/device/master_device_service.d.ts +4 -4
- package/dist/services/main/device/master_traccar_server_service.d.ts +4 -4
- package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
- package/dist/services/main/users/auth_service.d.ts +1 -1
- package/dist/services/main/users/user_admin_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/users/user_service.js +43 -0
- package/dist/services/main/vehicle/childs/shared_vehicles.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/bookmark/master_bookmark_module_service.d.ts +1 -1
- package/dist/services/master/bookmark/master_bookmark_page_service.d.ts +1 -1
- package/dist/services/master/bookmark/master_bookmark_sub_module_service.d.ts +1 -1
- package/dist/services/master/bus/master_class_service.d.ts +1 -1
- package/dist/services/master/bus/master_program_service.d.ts +1 -1
- package/dist/services/master/bus/master_relationship_service.d.ts +1 -1
- package/dist/services/master/bus/master_section_service.d.ts +1 -1
- package/dist/services/master/bus/master_semester_service.d.ts +1 -1
- package/dist/services/master/bus/master_stream_service.d.ts +1 -1
- package/dist/services/master/bus/master_year_service.d.ts +1 -1
- package/dist/services/master/cache_reset/master_reset_cache_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_tag_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_breakdown_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_part_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_fasttag_bank_service.d.ts +1 -1
- 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_sim_provider_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_state_service.js +5 -0
- 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_fleet_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/dist/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/exclusive_feature_access.d.ts +1 -1
- package/dist/services/website/request_demo.service.d.ts +4 -4
- package/dist/services/website/static_pages_service.d.ts +3 -3
- package/package.json +1 -1
|
@@ -79,11 +79,11 @@ declare const UserAdminLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
79
79
|
include_master_data: YesNo;
|
|
80
80
|
date_format_id: string;
|
|
81
81
|
time_zone_id: string;
|
|
82
|
-
user_admin_login_analytics_ids: string[];
|
|
83
|
-
admin_ids: string[];
|
|
84
82
|
platform: LoginFrom[];
|
|
85
83
|
from_date: string;
|
|
86
84
|
to_date: string;
|
|
85
|
+
user_admin_login_analytics_ids: string[];
|
|
86
|
+
admin_ids: string[];
|
|
87
87
|
}, {
|
|
88
88
|
date_format_id: string;
|
|
89
89
|
time_zone_id: string;
|
|
@@ -108,9 +108,9 @@ declare const UserAdminLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
108
108
|
direction: OrderBy;
|
|
109
109
|
}[] | undefined;
|
|
110
110
|
include_master_data?: YesNo | undefined;
|
|
111
|
+
platform?: LoginFrom[] | undefined;
|
|
111
112
|
user_admin_login_analytics_ids?: string[] | undefined;
|
|
112
113
|
admin_ids?: string[] | undefined;
|
|
113
|
-
platform?: LoginFrom[] | undefined;
|
|
114
114
|
}>;
|
|
115
115
|
type UserAdminLoginAnalyticsQueryDTO = z.infer<typeof UserAdminLoginAnalyticsQuerySchema>;
|
|
116
116
|
declare const UserAdminLoginAnalyticsLoginCountReportSchema: z.ZodObject<{
|
|
@@ -89,12 +89,12 @@ declare const MasterDriverLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
89
89
|
include_master_data: YesNo;
|
|
90
90
|
date_format_id: string;
|
|
91
91
|
time_zone_id: string;
|
|
92
|
+
organisation_ids: string[];
|
|
93
|
+
organisation_branch_ids: string[];
|
|
92
94
|
platform: LoginFrom[];
|
|
93
95
|
from_date: string;
|
|
94
96
|
to_date: string;
|
|
95
97
|
master_driver_login_analytics_ids: string[];
|
|
96
|
-
organisation_ids: string[];
|
|
97
|
-
organisation_branch_ids: string[];
|
|
98
98
|
driver_ids: string[];
|
|
99
99
|
}, {
|
|
100
100
|
date_format_id: string;
|
|
@@ -120,10 +120,10 @@ declare const MasterDriverLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
120
120
|
direction: OrderBy;
|
|
121
121
|
}[] | undefined;
|
|
122
122
|
include_master_data?: YesNo | undefined;
|
|
123
|
-
platform?: LoginFrom[] | undefined;
|
|
124
|
-
master_driver_login_analytics_ids?: string[] | undefined;
|
|
125
123
|
organisation_ids?: string[] | undefined;
|
|
126
124
|
organisation_branch_ids?: string[] | undefined;
|
|
125
|
+
platform?: LoginFrom[] | undefined;
|
|
126
|
+
master_driver_login_analytics_ids?: string[] | undefined;
|
|
127
127
|
driver_ids?: string[] | undefined;
|
|
128
128
|
}>;
|
|
129
129
|
type MasterDriverLoginAnalyticsQueryDTO = z.infer<typeof MasterDriverLoginAnalyticsQuerySchema>;
|
|
@@ -89,13 +89,13 @@ declare const StudentGuardianLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
89
89
|
include_master_data: YesNo;
|
|
90
90
|
date_format_id: string;
|
|
91
91
|
time_zone_id: string;
|
|
92
|
-
|
|
93
|
-
from_date: string;
|
|
94
|
-
to_date: string;
|
|
92
|
+
guardian_login_analytics_ids: string[];
|
|
95
93
|
organisation_ids: string[];
|
|
96
94
|
organisation_branch_ids: string[];
|
|
97
|
-
guardian_login_analytics_ids: string[];
|
|
98
95
|
guardian_ids: string[];
|
|
96
|
+
platform: LoginFrom[];
|
|
97
|
+
from_date: string;
|
|
98
|
+
to_date: string;
|
|
99
99
|
}, {
|
|
100
100
|
date_format_id: string;
|
|
101
101
|
time_zone_id: string;
|
|
@@ -120,11 +120,11 @@ declare const StudentGuardianLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
120
120
|
direction: OrderBy;
|
|
121
121
|
}[] | undefined;
|
|
122
122
|
include_master_data?: YesNo | undefined;
|
|
123
|
-
|
|
123
|
+
guardian_login_analytics_ids?: string[] | undefined;
|
|
124
124
|
organisation_ids?: string[] | undefined;
|
|
125
125
|
organisation_branch_ids?: string[] | undefined;
|
|
126
|
-
guardian_login_analytics_ids?: string[] | undefined;
|
|
127
126
|
guardian_ids?: string[] | undefined;
|
|
127
|
+
platform?: LoginFrom[] | undefined;
|
|
128
128
|
}>;
|
|
129
129
|
type StudentGuardianLoginAnalyticsQueryDTO = z.infer<typeof StudentGuardianLoginAnalyticsQuerySchema>;
|
|
130
130
|
declare const StudentGuardianLoginAnalyticsLoginCountReportSchema: z.ZodObject<{
|
|
@@ -89,11 +89,11 @@ declare const StudentLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
89
89
|
include_master_data: YesNo;
|
|
90
90
|
date_format_id: string;
|
|
91
91
|
time_zone_id: string;
|
|
92
|
+
organisation_ids: string[];
|
|
93
|
+
organisation_branch_ids: string[];
|
|
92
94
|
platform: LoginFrom[];
|
|
93
95
|
from_date: string;
|
|
94
96
|
to_date: string;
|
|
95
|
-
organisation_ids: string[];
|
|
96
|
-
organisation_branch_ids: string[];
|
|
97
97
|
student_login_analytics_ids: string[];
|
|
98
98
|
student_ids: string[];
|
|
99
99
|
}, {
|
|
@@ -120,9 +120,9 @@ declare const StudentLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
120
120
|
direction: OrderBy;
|
|
121
121
|
}[] | undefined;
|
|
122
122
|
include_master_data?: YesNo | undefined;
|
|
123
|
-
platform?: LoginFrom[] | undefined;
|
|
124
123
|
organisation_ids?: string[] | undefined;
|
|
125
124
|
organisation_branch_ids?: string[] | undefined;
|
|
125
|
+
platform?: LoginFrom[] | undefined;
|
|
126
126
|
student_login_analytics_ids?: string[] | undefined;
|
|
127
127
|
student_ids?: string[] | undefined;
|
|
128
128
|
}>;
|
|
@@ -86,10 +86,10 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
86
86
|
include_master_data: YesNo;
|
|
87
87
|
date_format_id: string;
|
|
88
88
|
time_zone_id: string;
|
|
89
|
+
organisation_ids: string[];
|
|
89
90
|
platform: LoginFrom[];
|
|
90
91
|
from_date: string;
|
|
91
92
|
to_date: string;
|
|
92
|
-
organisation_ids: string[];
|
|
93
93
|
user_login_analytics_ids: string[];
|
|
94
94
|
user_ids: string[];
|
|
95
95
|
}, {
|
|
@@ -116,8 +116,8 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
116
116
|
direction: OrderBy;
|
|
117
117
|
}[] | undefined;
|
|
118
118
|
include_master_data?: YesNo | undefined;
|
|
119
|
-
platform?: LoginFrom[] | undefined;
|
|
120
119
|
organisation_ids?: string[] | undefined;
|
|
120
|
+
platform?: LoginFrom[] | undefined;
|
|
121
121
|
user_login_analytics_ids?: string[] | undefined;
|
|
122
122
|
user_ids?: string[] | undefined;
|
|
123
123
|
}>;
|
|
@@ -116,10 +116,10 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
|
|
|
116
116
|
include_master_data: YesNo;
|
|
117
117
|
date_format_id: string;
|
|
118
118
|
time_zone_id: string;
|
|
119
|
+
organisation_ids: string[];
|
|
119
120
|
platform: LoginFrom[];
|
|
120
121
|
from_date: string;
|
|
121
122
|
to_date: string;
|
|
122
|
-
organisation_ids: string[];
|
|
123
123
|
user_ids: string[];
|
|
124
124
|
user_page_analytics_ids: string[];
|
|
125
125
|
}, {
|
|
@@ -146,8 +146,8 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
|
|
|
146
146
|
direction: OrderBy;
|
|
147
147
|
}[] | undefined;
|
|
148
148
|
include_master_data?: YesNo | undefined;
|
|
149
|
-
platform?: LoginFrom[] | undefined;
|
|
150
149
|
organisation_ids?: string[] | undefined;
|
|
150
|
+
platform?: LoginFrom[] | undefined;
|
|
151
151
|
user_ids?: string[] | undefined;
|
|
152
152
|
user_page_analytics_ids?: string[] | undefined;
|
|
153
153
|
}>;
|
|
@@ -126,10 +126,10 @@ declare const UserReportAnalyticsQuerySchema: z.ZodObject<{
|
|
|
126
126
|
include_master_data: YesNo;
|
|
127
127
|
date_format_id: string;
|
|
128
128
|
time_zone_id: string;
|
|
129
|
+
organisation_ids: string[];
|
|
129
130
|
platform: LoginFrom[];
|
|
130
131
|
from_date: string;
|
|
131
132
|
to_date: string;
|
|
132
|
-
organisation_ids: string[];
|
|
133
133
|
user_ids: string[];
|
|
134
134
|
report_type: DownloadReportType[];
|
|
135
135
|
user_report_analytics_ids: string[];
|
|
@@ -157,8 +157,8 @@ declare const UserReportAnalyticsQuerySchema: z.ZodObject<{
|
|
|
157
157
|
direction: OrderBy;
|
|
158
158
|
}[] | undefined;
|
|
159
159
|
include_master_data?: YesNo | undefined;
|
|
160
|
-
platform?: LoginFrom[] | undefined;
|
|
161
160
|
organisation_ids?: string[] | undefined;
|
|
161
|
+
platform?: LoginFrom[] | undefined;
|
|
162
162
|
user_ids?: string[] | undefined;
|
|
163
163
|
report_type?: DownloadReportType[] | undefined;
|
|
164
164
|
user_report_analytics_ids?: string[] | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../../core/Enums.js';
|
|
2
2
|
import '../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export {
|
|
4
|
+
export { Dh as EWayBillDetails, Di as EWayBillDetailsDTO, Dj as EWayBillDetailsQueryDTO, Dk as EWayBillDetailsQuerySchema, Dl as EWayBillDetailsSchema, Dm as createEWayBillDetails, Dn as deleteEWayBillDetails, Do as findEWayBillDetails, Dp as newEWayBillDetailsPayload, Dq as toEWayBillDetailsPayload, Dr as updateEWayBillDetails } from '../../eway_bill_details-fPC5sPAn.js';
|
|
5
5
|
import '../master/main/master_main_eway_bill_provider_service.js';
|
|
6
6
|
import '../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../../core/Enums.js';
|
|
2
2
|
import '../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export {
|
|
4
|
+
export { yH as FASTagDetails, yI as FASTagDetailsDTO, yJ as FASTagDetailsQueryDTO, yK as FASTagDetailsQuerySchema, yL as FASTagDetailsSchema, yM as createFASTagDetails, yN as deleteFASTagDetails, yO as findFASTagDetails, yP as newFASTagDetailsPayload, yQ as toFASTagDetailsPayload, yR as updateFASTagDetails } from '../../eway_bill_details-fPC5sPAn.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
7
7
|
import '../master/main/master_main_eway_bill_provider_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../../core/Enums.js';
|
|
2
2
|
import '../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export {
|
|
4
|
+
export { yl as FASTagTransaction, ym as FASTagTransactionDTO, yn as FASTagTransactionQueryDTO, yo as FASTagTransactionQuerySchema, yp as FASTagTransactionSchema, yq as createFASTagTransaction, yr as deleteFASTagTransaction, ys as findFASTagTransactions, yt as newFASTagTransactionPayload, yu as toFASTagTransactionPayload, yv as updateFASTagTransaction } from '../../eway_bill_details-fPC5sPAn.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
7
7
|
import '../master/main/master_main_eway_bill_provider_service.js';
|
|
@@ -2,6 +2,6 @@ import '../../core/Enums.js';
|
|
|
2
2
|
import '../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../zod_utils/zod_base_schema.js';
|
|
5
|
-
export { wu as Invoice, wv as InvoiceDTO, ww as InvoiceFile, wx as InvoiceFileDTO, wy as InvoiceFileSchema, wz as InvoiceQueryDTO, wA as InvoiceQuerySchema, wB as InvoiceSchema, wC as createInvoice, wD as create_invoice_file, wE as deleteInvoice, wF as findInvoices, wG as get_invoice_file_presigned_url, wH as newInvoicePayload, wI as remove_invoice_file, wJ as toInvoicePayload, wK as updateInvoice } from '../../eway_bill_details-
|
|
5
|
+
export { wu as Invoice, wv as InvoiceDTO, ww as InvoiceFile, wx as InvoiceFileDTO, wy as InvoiceFileSchema, wz as InvoiceQueryDTO, wA as InvoiceQuerySchema, wB as InvoiceSchema, wC as createInvoice, wD as create_invoice_file, wE as deleteInvoice, wF as findInvoices, wG as get_invoice_file_presigned_url, wH as newInvoicePayload, wI as remove_invoice_file, wJ as toInvoicePayload, wK as updateInvoice } from '../../eway_bill_details-fPC5sPAn.js';
|
|
6
6
|
import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
7
7
|
import '../master/main/master_main_eway_bill_provider_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../../core/Enums.js';
|
|
2
2
|
import '../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { o_ as OrganisationNotificationPreference, o$ as OrganisationNotificationPreferenceDTO, p0 as OrganisationNotificationPreferenceGeofenceLink, p1 as OrganisationNotificationPreferenceQueryDTO, p2 as OrganisationNotificationPreferenceQuerySchema, p3 as OrganisationNotificationPreferenceSchema, p4 as OrganisationNotificationPreferenceUserLink, p5 as OrganisationNotificationPreferenceVehicleLink, p6 as createOrganisationNotificationPreference, p7 as deleteOrganisationNotificationPreference, p8 as findOrganisationNotificationPreference, p9 as newOrganisationNotificationPreferencePayload, pa as toOrganisationNotificationPreferencePayload, pb as updateOrganisationNotificationPreference } from '../../eway_bill_details-
|
|
4
|
+
export { o_ as OrganisationNotificationPreference, o$ as OrganisationNotificationPreferenceDTO, p0 as OrganisationNotificationPreferenceGeofenceLink, p1 as OrganisationNotificationPreferenceQueryDTO, p2 as OrganisationNotificationPreferenceQuerySchema, p3 as OrganisationNotificationPreferenceSchema, p4 as OrganisationNotificationPreferenceUserLink, p5 as OrganisationNotificationPreferenceVehicleLink, p6 as createOrganisationNotificationPreference, p7 as deleteOrganisationNotificationPreference, p8 as findOrganisationNotificationPreference, p9 as newOrganisationNotificationPreferencePayload, pa as toOrganisationNotificationPreferencePayload, pb as updateOrganisationNotificationPreference } from '../../eway_bill_details-fPC5sPAn.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
7
7
|
import '../master/main/master_main_eway_bill_provider_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../../core/Enums.js';
|
|
2
2
|
import '../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { tZ as OrganisationReportAutomationMail, t_ as OrganisationReportAutomationMailQueryDTO, t$ as OrganisationReportAutomationMailQuerySchema, u0 as OrganisationReportAutomationMailVehicleLink, u1 as OrganisationReportPreference, u2 as OrganisationReportPreferenceDTO, u3 as OrganisationReportPreferenceQueryDTO, u4 as OrganisationReportPreferenceQuerySchema, u5 as OrganisationReportPreferenceSchema, u6 as OrganisationReportPreferenceVehicleLink, u7 as createOrganisationReportPreference, u8 as deleteOrganisationReportPreference, u9 as findOrganisationReportAutomationMail, ua as findOrganisationReportPreference, ub as newOrganisationReportPreferencePayload, uc as toOrganisationReportPreferencePayload, ud as updateOrganisationReportPreference } from '../../eway_bill_details-
|
|
4
|
+
export { tZ as OrganisationReportAutomationMail, t_ as OrganisationReportAutomationMailQueryDTO, t$ as OrganisationReportAutomationMailQuerySchema, u0 as OrganisationReportAutomationMailVehicleLink, u1 as OrganisationReportPreference, u2 as OrganisationReportPreferenceDTO, u3 as OrganisationReportPreferenceQueryDTO, u4 as OrganisationReportPreferenceQuerySchema, u5 as OrganisationReportPreferenceSchema, u6 as OrganisationReportPreferenceVehicleLink, u7 as createOrganisationReportPreference, u8 as deleteOrganisationReportPreference, u9 as findOrganisationReportAutomationMail, ua as findOrganisationReportPreference, ub as newOrganisationReportPreferencePayload, uc as toOrganisationReportPreferencePayload, ud as updateOrganisationReportPreference } from '../../eway_bill_details-fPC5sPAn.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
7
7
|
import '../master/main/master_main_eway_bill_provider_service.js';
|
|
@@ -2,6 +2,6 @@ import '../../core/Enums.js';
|
|
|
2
2
|
import '../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../zod_utils/zod_base_schema.js';
|
|
5
|
-
export { w8 as Ticket, w9 as TicketDTO, wa as TicketFile, wb as TicketFileDTO, wc as TicketFileSchema, wd as TicketQueryDTO, we as TicketQuerySchema, wf as TicketSchema, wg as TicketVerifyDTO, wh as TicketVerifySchema, wi as createTicket, wj as create_ticket_file, wk as deleteTicket, wl as findTickets, wm as get_ticket_file_presigned_url, wn as newTicketPayload, wo as newVerifyTicketPayload, wp as remove_ticket_file, wq as toTicketPayload, wr as toVerifyTicketPayload, ws as updateTicket, wt as updateVerifyStatus } from '../../eway_bill_details-
|
|
5
|
+
export { w8 as Ticket, w9 as TicketDTO, wa as TicketFile, wb as TicketFileDTO, wc as TicketFileSchema, wd as TicketQueryDTO, we as TicketQuerySchema, wf as TicketSchema, wg as TicketVerifyDTO, wh as TicketVerifySchema, wi as createTicket, wj as create_ticket_file, wk as deleteTicket, wl as findTickets, wm as get_ticket_file_presigned_url, wn as newTicketPayload, wo as newVerifyTicketPayload, wp as remove_ticket_file, wq as toTicketPayload, wr as toVerifyTicketPayload, ws as updateTicket, wt as updateVerifyStatus } from '../../eway_bill_details-fPC5sPAn.js';
|
|
6
6
|
import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
7
7
|
import '../master/main/master_main_eway_bill_provider_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../../core/BaseResponse.js';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import '../../core/Enums.js';
|
|
4
|
-
export { xq as UserBookmark, xr as
|
|
4
|
+
export { xq as UserBookmark, xr as UserBookmarkPageURLDTO, xs as UserBookmarkPageURLSchema, xt as UserBookmarkSaveSelectionDTO, xu as UserBookmarkSaveSelectionItemSchema, xv as UserBookmarkSaveSelectionSchema, xw as UserBookmarkSelectionQueryDTO, xx as UserBookmarkSelectionQuerySchema, xy as user_bookmark_get_selected_list, xz as user_bookmark_get_selection_list, xA as user_bookmark_page_by_url_add, xB as user_bookmark_page_by_url_remove, xC as user_bookmark_save_selection } from '../../eway_bill_details-fPC5sPAn.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
7
7
|
import '../master/main/master_main_eway_bill_provider_service.js';
|
|
@@ -20,6 +20,24 @@ import { z as z2 } from "zod";
|
|
|
20
20
|
// src/zod_utils/zod_utils.ts
|
|
21
21
|
import { z } from "zod";
|
|
22
22
|
var handleNullOrUndefined = (value) => typeof value === "string" ? value : "";
|
|
23
|
+
var stringMandatory = (fieldName, min = 1, max = 100) => {
|
|
24
|
+
const schema = z.string().trim().min(min, `${fieldName} must be at least ${min} characters.`).max(max, `${fieldName} must be at most ${max} characters.`).nonempty(`${fieldName} is required.`).transform(handleNullOrUndefined);
|
|
25
|
+
return schema;
|
|
26
|
+
};
|
|
27
|
+
var numberMandatory = (fieldName, min = 1, max = 1e14, defaultValue = 0) => {
|
|
28
|
+
return z.preprocess(
|
|
29
|
+
(val) => {
|
|
30
|
+
if (val === null || val === void 0 || val === "") {
|
|
31
|
+
return defaultValue;
|
|
32
|
+
}
|
|
33
|
+
if (typeof val === "string" && !isNaN(Number(val))) {
|
|
34
|
+
return Number(val);
|
|
35
|
+
}
|
|
36
|
+
return val;
|
|
37
|
+
},
|
|
38
|
+
z.number({ invalid_type_error: `${fieldName} must be a number.` }).min(min, `${fieldName} must be at least ${min}.`).max(max, `${fieldName} must be at most ${max}.`)
|
|
39
|
+
);
|
|
40
|
+
};
|
|
23
41
|
var single_select_mandatory = (fieldName) => {
|
|
24
42
|
const schema = z.string().trim().nonempty(`Please select ${fieldName}.`).transform(handleNullOrUndefined);
|
|
25
43
|
return schema;
|
|
@@ -30,7 +48,9 @@ var URL = "account/user_bookmarks";
|
|
|
30
48
|
var ENDPOINTS = {
|
|
31
49
|
selection_list: `${URL}/selection_list`,
|
|
32
50
|
save_selection: `${URL}/save_selection`,
|
|
33
|
-
selected_list: `${URL}/selected_list
|
|
51
|
+
selected_list: `${URL}/selected_list`,
|
|
52
|
+
bookmark_page_by_url_add: `${URL}/bookmark_page_by_url_add`,
|
|
53
|
+
bookmark_page_by_url_remove: `${URL}/bookmark_page_by_url_remove`
|
|
34
54
|
};
|
|
35
55
|
var UserBookmarkSelectionQuerySchema = z2.object({
|
|
36
56
|
organisation_id: single_select_mandatory("UserOrganisation"),
|
|
@@ -38,7 +58,7 @@ var UserBookmarkSelectionQuerySchema = z2.object({
|
|
|
38
58
|
});
|
|
39
59
|
var UserBookmarkSaveSelectionItemSchema = z2.object({
|
|
40
60
|
bookmark_page_id: single_select_mandatory("MasterBookmarkPage"),
|
|
41
|
-
sort_order:
|
|
61
|
+
sort_order: numberMandatory("Sort Order")
|
|
42
62
|
});
|
|
43
63
|
var UserBookmarkSaveSelectionSchema = z2.object({
|
|
44
64
|
// Relations - Parent
|
|
@@ -46,6 +66,12 @@ var UserBookmarkSaveSelectionSchema = z2.object({
|
|
|
46
66
|
user_id: single_select_mandatory("User"),
|
|
47
67
|
pages: z2.array(UserBookmarkSaveSelectionItemSchema).default([])
|
|
48
68
|
});
|
|
69
|
+
var UserBookmarkPageURLSchema = z2.object({
|
|
70
|
+
// Relations - Parent
|
|
71
|
+
organisation_id: single_select_mandatory("UserOrganisation"),
|
|
72
|
+
user_id: single_select_mandatory("User"),
|
|
73
|
+
page_url: stringMandatory("Page URL", 1, 300)
|
|
74
|
+
});
|
|
49
75
|
var user_bookmark_get_selection_list = async (data) => {
|
|
50
76
|
return apiPost(ENDPOINTS.selection_list, data);
|
|
51
77
|
};
|
|
@@ -55,11 +81,20 @@ var user_bookmark_save_selection = async (data) => {
|
|
|
55
81
|
var user_bookmark_get_selected_list = async (data) => {
|
|
56
82
|
return apiPost(ENDPOINTS.selected_list, data);
|
|
57
83
|
};
|
|
84
|
+
var user_bookmark_page_by_url_add = async (data) => {
|
|
85
|
+
return apiPost(ENDPOINTS.bookmark_page_by_url_add, data);
|
|
86
|
+
};
|
|
87
|
+
var user_bookmark_page_by_url_remove = async (data) => {
|
|
88
|
+
return apiPost(ENDPOINTS.bookmark_page_by_url_remove, data);
|
|
89
|
+
};
|
|
58
90
|
export {
|
|
91
|
+
UserBookmarkPageURLSchema,
|
|
59
92
|
UserBookmarkSaveSelectionItemSchema,
|
|
60
93
|
UserBookmarkSaveSelectionSchema,
|
|
61
94
|
UserBookmarkSelectionQuerySchema,
|
|
62
95
|
user_bookmark_get_selected_list,
|
|
63
96
|
user_bookmark_get_selection_list,
|
|
97
|
+
user_bookmark_page_by_url_add,
|
|
98
|
+
user_bookmark_page_by_url_remove,
|
|
64
99
|
user_bookmark_save_selection
|
|
65
100
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { YesNo, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../core/Enums.js';
|
|
2
2
|
import { SBR, FBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle } from '../../eway_bill_details-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../eway_bill_details-fPC5sPAn.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
7
7
|
import '../master/main/master_main_eway_bill_provider_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { YesNo, APIAuthType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../core/Enums.js';
|
|
2
2
|
import { SBR, FBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle } from '../../eway_bill_details-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../eway_bill_details-fPC5sPAn.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
7
7
|
import '../master/main/master_main_eway_bill_provider_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { YesNo, Status, APISyncRunType, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../core/Enums.js';
|
|
2
2
|
import { SBR, FBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation } from '../../eway_bill_details-
|
|
4
|
+
import { U as UserOrganisation } from '../../eway_bill_details-fPC5sPAn.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
7
7
|
import '../master/main/master_main_eway_bill_provider_service.js';
|
|
@@ -2,6 +2,6 @@ import '../../../core/Enums.js';
|
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
export { iX as BreakdownDashboard, iY as FleetBreakdown, iZ as FleetBreakdownCost, i_ as FleetBreakdownCostDTO, i$ as FleetBreakdownCostQueryDTO, j0 as FleetBreakdownCostQuerySchema, j1 as FleetBreakdownCostSchema, j2 as FleetBreakdownDTO, j3 as FleetBreakdownDashBoardQueryDTO, j4 as FleetBreakdownDashBoardQuerySchema, j5 as FleetBreakdownFile, j6 as FleetBreakdownFileDTO, j7 as FleetBreakdownFileSchema, j8 as FleetBreakdownQueryDTO, j9 as FleetBreakdownQuerySchema, ja as FleetBreakdownSchema, jb as breakdown_dashboard, jc as createFleetBreakdown, jd as createFleetBreakdownCost, je as create_breakdown_file, jf as deleteFleetBreakdown, jg as deleteFleetBreakdownCost, jh as findFleetBreakdown, ji as findFleetBreakdownCost, jj as get_breakdown_file_presigned_url, jk as newFleetBreakdownCostPayload, jl as newFleetBreakdownPayload, jm as remove_breakdown_file, jn as toFleetBreakdownCostPayload, jo as toFleetBreakdownPayload, jp as updateFleetBreakdown, jq as updateFleetBreakdownCost } from '../../../eway_bill_details-
|
|
5
|
+
export { iX as BreakdownDashboard, iY as FleetBreakdown, iZ as FleetBreakdownCost, i_ as FleetBreakdownCostDTO, i$ as FleetBreakdownCostQueryDTO, j0 as FleetBreakdownCostQuerySchema, j1 as FleetBreakdownCostSchema, j2 as FleetBreakdownDTO, j3 as FleetBreakdownDashBoardQueryDTO, j4 as FleetBreakdownDashBoardQuerySchema, j5 as FleetBreakdownFile, j6 as FleetBreakdownFileDTO, j7 as FleetBreakdownFileSchema, j8 as FleetBreakdownQueryDTO, j9 as FleetBreakdownQuerySchema, ja as FleetBreakdownSchema, jb as breakdown_dashboard, jc as createFleetBreakdown, jd as createFleetBreakdownCost, je as create_breakdown_file, jf as deleteFleetBreakdown, jg as deleteFleetBreakdownCost, jh as findFleetBreakdown, ji as findFleetBreakdownCost, jj as get_breakdown_file_presigned_url, jk as newFleetBreakdownCostPayload, jl as newFleetBreakdownPayload, jm as remove_breakdown_file, jn as toFleetBreakdownCostPayload, jo as toFleetBreakdownPayload, jp as updateFleetBreakdown, jq as updateFleetBreakdownCost } from '../../../eway_bill_details-fPC5sPAn.js';
|
|
6
6
|
import '../../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
7
7
|
import '../../master/main/master_main_eway_bill_provider_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../../../core/Enums.js';
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { lB as BusDashBoardQueryDTO, lC as BusDashBoardQuerySchema, lD as BusDashboard, B as BusStop, lE as BusStopDTO, lF as BusStopPolygonData, lG as BusStopPolygonDataDTO, lH as BusStopPolygonDataSchema, lI as BusStopQueryDTO, lJ as BusStopQuerySchema, lK as BusStopSchema, lL as bus_dashboard, lM as createBusStop, lN as deleteBusStop, lO as findBusStop, lP as newBusStopPayload, lQ as toBusStopPayload, lR as updateBusStop } from '../../../eway_bill_details-
|
|
4
|
+
export { lB as BusDashBoardQueryDTO, lC as BusDashBoardQuerySchema, lD as BusDashboard, B as BusStop, lE as BusStopDTO, lF as BusStopPolygonData, lG as BusStopPolygonDataDTO, lH as BusStopPolygonDataSchema, lI as BusStopQueryDTO, lJ as BusStopQuerySchema, lK as BusStopSchema, lL as bus_dashboard, lM as createBusStop, lN as deleteBusStop, lO as findBusStop, lP as newBusStopPayload, lQ as toBusStopPayload, lR as updateBusStop } from '../../../eway_bill_details-fPC5sPAn.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
7
7
|
import '../../master/main/master_main_eway_bill_provider_service.js';
|