vms-nest-prisma-api-document 8.0.1 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/Enums.d.ts +21 -4
- package/dist/core/Enums.js +25 -2
- package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
- package/dist/services/account/bookmark_service.d.ts +9 -9
- package/dist/services/account/ticket_service.d.ts +17 -17
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +17 -17
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +50 -50
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.js +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +35 -35
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.js +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +17 -17
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +12 -12
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +13 -13
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +15 -15
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_live_track_share_link_service.js +1 -2
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.js +1 -2
- package/dist/services/gps/features/preferences/user_notification_preferences.service.d.ts +192 -0
- package/dist/services/gps/features/preferences/user_notification_preferences.service.js +365 -0
- package/dist/services/gps/features/preferences/user_report_preferences.service.d.ts +173 -0
- package/dist/services/gps/features/preferences/user_report_preferences.service.js +346 -0
- 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 +6 -6
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +3 -3
- 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/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-D2pCLN2b.d.ts → user_organisation_service-djKCoZTQ.d.ts} +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-djKCoZTQ.js';
|
|
5
5
|
import { GPSGeofence } from './gps_geofence_service.js';
|
|
6
6
|
import { GPSGeofenceTransaction } from './gps_geofence_transaction_service.js';
|
|
7
7
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
@@ -46,29 +46,29 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
46
46
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
47
47
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
-
|
|
49
|
+
duration_seconds: number;
|
|
50
50
|
status: Status;
|
|
51
51
|
organisation_id: string;
|
|
52
|
-
time_zone_id: string;
|
|
53
|
-
driver_id: string;
|
|
54
52
|
vehicle_id: string;
|
|
53
|
+
driver_id: string;
|
|
54
|
+
time_zone_id: string;
|
|
55
|
+
gps_geofence_id: string;
|
|
55
56
|
geofence_enter_date_time: string;
|
|
56
57
|
geofence_exit_date_time: string;
|
|
57
|
-
duration_seconds: number;
|
|
58
58
|
enter_gps_geofence_transaction_id: string;
|
|
59
59
|
exit_gps_geofence_transaction_id: string;
|
|
60
60
|
}, {
|
|
61
|
-
gps_geofence_id: string;
|
|
62
61
|
status: Status;
|
|
63
62
|
organisation_id: string;
|
|
64
|
-
time_zone_id: string;
|
|
65
|
-
driver_id: string;
|
|
66
63
|
vehicle_id: string;
|
|
64
|
+
driver_id: string;
|
|
65
|
+
time_zone_id: string;
|
|
66
|
+
gps_geofence_id: string;
|
|
67
67
|
geofence_enter_date_time: string;
|
|
68
68
|
enter_gps_geofence_transaction_id: string;
|
|
69
69
|
exit_gps_geofence_transaction_id: string;
|
|
70
|
-
geofence_exit_date_time?: string | undefined;
|
|
71
70
|
duration_seconds?: unknown;
|
|
71
|
+
geofence_exit_date_time?: string | undefined;
|
|
72
72
|
}>;
|
|
73
73
|
type GPSGeofenceTransactionSummaryDTO = z.infer<typeof GPSGeofenceTransactionSummarySchema>;
|
|
74
74
|
declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
@@ -110,6 +110,7 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
|
110
110
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
111
111
|
}, "strip", z.ZodTypeAny, {
|
|
112
112
|
status: Status[];
|
|
113
|
+
time_zone_id: string;
|
|
113
114
|
search: string;
|
|
114
115
|
paging: PAGING;
|
|
115
116
|
page_count: number;
|
|
@@ -129,16 +130,15 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
|
129
130
|
}[];
|
|
130
131
|
include_master_data: YesNo;
|
|
131
132
|
date_format_id: string;
|
|
132
|
-
time_zone_id: string;
|
|
133
133
|
organisation_ids: string[];
|
|
134
|
-
gps_geofence_ids: string[];
|
|
135
134
|
vehicle_ids: string[];
|
|
136
135
|
driver_ids: string[];
|
|
137
136
|
from_date: string;
|
|
138
137
|
to_date: string;
|
|
138
|
+
gps_geofence_ids: string[];
|
|
139
139
|
}, {
|
|
140
|
-
date_format_id: string;
|
|
141
140
|
time_zone_id: string;
|
|
141
|
+
date_format_id: string;
|
|
142
142
|
from_date: string;
|
|
143
143
|
to_date: string;
|
|
144
144
|
status?: Status[] | undefined;
|
|
@@ -161,9 +161,9 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
|
161
161
|
}[] | undefined;
|
|
162
162
|
include_master_data?: YesNo | undefined;
|
|
163
163
|
organisation_ids?: string[] | undefined;
|
|
164
|
-
gps_geofence_ids?: string[] | undefined;
|
|
165
164
|
vehicle_ids?: string[] | undefined;
|
|
166
165
|
driver_ids?: string[] | undefined;
|
|
166
|
+
gps_geofence_ids?: string[] | undefined;
|
|
167
167
|
}>;
|
|
168
168
|
type GPSGeofenceTransactionSummaryQueryDTO = z.infer<typeof GPSGeofenceTransactionSummaryQuerySchema>;
|
|
169
169
|
declare const toGPSGeofenceTransactionSummaryPayload: (data: GPSGeofenceTransactionSummary) => GPSGeofenceTransactionSummaryDTO;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-djKCoZTQ.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -55,31 +55,31 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
55
55
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
56
56
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
status: Status;
|
|
59
|
-
organisation_id: string;
|
|
60
|
-
time_zone_id: string;
|
|
61
|
-
driver_id: string;
|
|
62
|
-
vehicle_id: string;
|
|
63
|
-
duration_seconds: number;
|
|
64
58
|
from_geofence_exit_date_time: string;
|
|
65
59
|
to_geofence_enter_date_time: string;
|
|
60
|
+
duration_seconds: number;
|
|
66
61
|
travel_duration_seconds: number;
|
|
67
62
|
stopped_duration_seconds: number;
|
|
68
63
|
max_speed: number;
|
|
69
64
|
avg_speed: number;
|
|
65
|
+
status: Status;
|
|
66
|
+
organisation_id: string;
|
|
67
|
+
vehicle_id: string;
|
|
68
|
+
driver_id: string;
|
|
70
69
|
from_geofence_id: string;
|
|
71
70
|
to_geofence_id: string;
|
|
71
|
+
time_zone_id: string;
|
|
72
72
|
distance_meters?: number | undefined;
|
|
73
73
|
}, {
|
|
74
|
+
from_geofence_exit_date_time: string;
|
|
75
|
+
to_geofence_enter_date_time: string;
|
|
74
76
|
status: Status;
|
|
75
77
|
organisation_id: string;
|
|
76
|
-
time_zone_id: string;
|
|
77
|
-
driver_id: string;
|
|
78
78
|
vehicle_id: string;
|
|
79
|
-
|
|
80
|
-
to_geofence_enter_date_time: string;
|
|
79
|
+
driver_id: string;
|
|
81
80
|
from_geofence_id: string;
|
|
82
81
|
to_geofence_id: string;
|
|
82
|
+
time_zone_id: string;
|
|
83
83
|
duration_seconds?: unknown;
|
|
84
84
|
travel_duration_seconds?: unknown;
|
|
85
85
|
stopped_duration_seconds?: unknown;
|
|
@@ -128,6 +128,7 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
|
|
|
128
128
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
129
129
|
}, "strip", z.ZodTypeAny, {
|
|
130
130
|
status: Status[];
|
|
131
|
+
time_zone_id: string;
|
|
131
132
|
search: string;
|
|
132
133
|
paging: PAGING;
|
|
133
134
|
page_count: number;
|
|
@@ -147,17 +148,16 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
|
|
|
147
148
|
}[];
|
|
148
149
|
include_master_data: YesNo;
|
|
149
150
|
date_format_id: string;
|
|
150
|
-
time_zone_id: string;
|
|
151
151
|
organisation_ids: string[];
|
|
152
152
|
vehicle_ids: string[];
|
|
153
153
|
driver_ids: string[];
|
|
154
|
-
from_date: string;
|
|
155
|
-
to_date: string;
|
|
156
154
|
from_geofence_ids: string[];
|
|
157
155
|
to_geofence_ids: string[];
|
|
156
|
+
from_date: string;
|
|
157
|
+
to_date: string;
|
|
158
158
|
}, {
|
|
159
|
-
date_format_id: string;
|
|
160
159
|
time_zone_id: string;
|
|
160
|
+
date_format_id: string;
|
|
161
161
|
from_date: string;
|
|
162
162
|
to_date: string;
|
|
163
163
|
status?: Status[] | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LinkType, LinkStatus, Status, NotificationType, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-djKCoZTQ.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -221,9 +221,8 @@ var YesNo = /* @__PURE__ */ ((YesNo2) => {
|
|
|
221
221
|
return YesNo2;
|
|
222
222
|
})(YesNo || {});
|
|
223
223
|
var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
|
|
224
|
-
NotificationType2["Whatsapp"] = "Whatsapp";
|
|
225
|
-
NotificationType2["Message"] = "Message";
|
|
226
224
|
NotificationType2["Email"] = "Email";
|
|
225
|
+
NotificationType2["Push"] = "Push";
|
|
227
226
|
return NotificationType2;
|
|
228
227
|
})(NotificationType || {});
|
|
229
228
|
var LinkType = /* @__PURE__ */ ((LinkType2) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TrackHistoryLinkStatus, Status, NotificationType, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-djKCoZTQ.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -193,9 +193,8 @@ var YesNo = /* @__PURE__ */ ((YesNo2) => {
|
|
|
193
193
|
return YesNo2;
|
|
194
194
|
})(YesNo || {});
|
|
195
195
|
var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
|
|
196
|
-
NotificationType2["Whatsapp"] = "Whatsapp";
|
|
197
|
-
NotificationType2["Message"] = "Message";
|
|
198
196
|
NotificationType2["Email"] = "Email";
|
|
197
|
+
NotificationType2["Push"] = "Push";
|
|
199
198
|
return NotificationType2;
|
|
200
199
|
})(NotificationType || {});
|
|
201
200
|
var TrackHistoryLinkStatus = /* @__PURE__ */ ((TrackHistoryLinkStatus2) => {
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { YesNo, NotificationType, NotificationPreference, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../../../core/Enums.js';
|
|
2
|
+
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle } from '../../../../user_organisation_service-djKCoZTQ.js';
|
|
5
|
+
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
|
+
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
|
+
|
|
8
|
+
interface UserNotificationPreferences extends Record<string, unknown> {
|
|
9
|
+
notification_preference_id: string;
|
|
10
|
+
notification_name: string;
|
|
11
|
+
notification_status: YesNo;
|
|
12
|
+
notification_type: NotificationType;
|
|
13
|
+
mobile_numbers?: string;
|
|
14
|
+
email_ids?: string;
|
|
15
|
+
cc_email_ids?: string;
|
|
16
|
+
notification_list: NotificationPreference[];
|
|
17
|
+
is_all_vehicles: YesNo;
|
|
18
|
+
status: Status;
|
|
19
|
+
added_date_time: string;
|
|
20
|
+
modified_date_time: string;
|
|
21
|
+
organisation_id: string;
|
|
22
|
+
UserOrganisation?: UserOrganisation;
|
|
23
|
+
UserNotificationPreferenceUserLink: UserNotificationPreferenceUserLink[];
|
|
24
|
+
UserNotificationPreferenceVehicleLink: UserNotificationPreferenceVehicleLink[];
|
|
25
|
+
_count?: {
|
|
26
|
+
UserNotificationPreferenceUserLink: number;
|
|
27
|
+
UserNotificationPreferenceVehicleLink: number;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
interface UserNotificationPreferenceVehicleLink extends Record<string, unknown> {
|
|
31
|
+
notification_vehicle_id: string;
|
|
32
|
+
status: Status;
|
|
33
|
+
added_date_time: string;
|
|
34
|
+
modified_date_time: string;
|
|
35
|
+
vehicle_id: string;
|
|
36
|
+
MasterVehicle?: MasterVehicle;
|
|
37
|
+
vehicle_number?: string;
|
|
38
|
+
vehicle_type?: string;
|
|
39
|
+
notification_preference_id: string;
|
|
40
|
+
UserNotificationPreferences?: UserNotificationPreferences;
|
|
41
|
+
}
|
|
42
|
+
interface UserNotificationPreferenceUserLink extends Record<string, unknown> {
|
|
43
|
+
notification_user_id: string;
|
|
44
|
+
status: Status;
|
|
45
|
+
added_date_time: string;
|
|
46
|
+
modified_date_time: string;
|
|
47
|
+
user_id: string;
|
|
48
|
+
User?: User;
|
|
49
|
+
notification_preference_id: string;
|
|
50
|
+
UserNotificationPreferences?: UserNotificationPreferences;
|
|
51
|
+
}
|
|
52
|
+
declare const UserNotificationPreferencesSchema: z.ZodObject<{
|
|
53
|
+
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
54
|
+
notification_name: z.ZodEffects<z.ZodString, string, string>;
|
|
55
|
+
notification_status: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
|
|
56
|
+
notification_type: z.ZodType<NotificationType, z.ZodTypeDef, NotificationType>;
|
|
57
|
+
mobile_numbers: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
58
|
+
email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
59
|
+
cc_email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
60
|
+
is_all_vehicles: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
|
|
61
|
+
notification_list: z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof NotificationPreference>, "many">>;
|
|
62
|
+
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
63
|
+
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
64
|
+
user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
65
|
+
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
notification_name: string;
|
|
67
|
+
notification_status: YesNo;
|
|
68
|
+
notification_type: NotificationType;
|
|
69
|
+
mobile_numbers: string;
|
|
70
|
+
email_ids: string;
|
|
71
|
+
cc_email_ids: string;
|
|
72
|
+
notification_list: NotificationPreference[];
|
|
73
|
+
is_all_vehicles: YesNo;
|
|
74
|
+
status: Status;
|
|
75
|
+
organisation_id: string;
|
|
76
|
+
vehicle_ids: string[];
|
|
77
|
+
user_ids: string[];
|
|
78
|
+
}, {
|
|
79
|
+
notification_name: string;
|
|
80
|
+
notification_status: YesNo;
|
|
81
|
+
notification_type: NotificationType;
|
|
82
|
+
is_all_vehicles: YesNo;
|
|
83
|
+
status: Status;
|
|
84
|
+
organisation_id: string;
|
|
85
|
+
mobile_numbers?: string | undefined;
|
|
86
|
+
email_ids?: string | undefined;
|
|
87
|
+
cc_email_ids?: string | undefined;
|
|
88
|
+
notification_list?: NotificationPreference[] | undefined;
|
|
89
|
+
vehicle_ids?: string[] | undefined;
|
|
90
|
+
user_ids?: string[] | undefined;
|
|
91
|
+
}>;
|
|
92
|
+
type UserNotificationPreferencesDTO = z.infer<typeof UserNotificationPreferencesSchema>;
|
|
93
|
+
declare const UserNotificationPreferencesQuerySchema: z.ZodObject<{
|
|
94
|
+
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
95
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
96
|
+
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
97
|
+
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
98
|
+
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
99
|
+
load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
|
|
100
|
+
load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
101
|
+
load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
|
|
102
|
+
load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
103
|
+
load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
|
|
104
|
+
load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
105
|
+
include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
106
|
+
where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
107
|
+
order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
108
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
109
|
+
field: z.ZodEffects<z.ZodString, string, string>;
|
|
110
|
+
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
|
112
|
+
name: string;
|
|
113
|
+
field: string;
|
|
114
|
+
direction: OrderBy;
|
|
115
|
+
}, {
|
|
116
|
+
name: string;
|
|
117
|
+
field: string;
|
|
118
|
+
direction: OrderBy;
|
|
119
|
+
}>, "many">>>;
|
|
120
|
+
include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
121
|
+
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
122
|
+
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
123
|
+
} & {
|
|
124
|
+
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
125
|
+
notification_preference_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
126
|
+
notification_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
127
|
+
notification_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof NotificationType>, "many">>>;
|
|
128
|
+
is_all_vehicles: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
129
|
+
}, "strip", z.ZodTypeAny, {
|
|
130
|
+
notification_status: YesNo[];
|
|
131
|
+
notification_type: NotificationType[];
|
|
132
|
+
is_all_vehicles: YesNo[];
|
|
133
|
+
status: Status[];
|
|
134
|
+
search: string;
|
|
135
|
+
paging: PAGING;
|
|
136
|
+
page_count: number;
|
|
137
|
+
page_index: number;
|
|
138
|
+
load_parents: LoadParents;
|
|
139
|
+
load_parents_list: string[];
|
|
140
|
+
load_child: LoadChild;
|
|
141
|
+
load_child_list: string[];
|
|
142
|
+
load_child_count: LoadChildCount;
|
|
143
|
+
load_child_count_list: string[];
|
|
144
|
+
include_details: Record<string, any>;
|
|
145
|
+
where_relations: Record<string, any>;
|
|
146
|
+
order_by: {
|
|
147
|
+
name: string;
|
|
148
|
+
field: string;
|
|
149
|
+
direction: OrderBy;
|
|
150
|
+
}[];
|
|
151
|
+
include_master_data: YesNo;
|
|
152
|
+
date_format_id: string;
|
|
153
|
+
time_zone_id: string;
|
|
154
|
+
organisation_ids: string[];
|
|
155
|
+
notification_preference_ids: string[];
|
|
156
|
+
}, {
|
|
157
|
+
date_format_id: string;
|
|
158
|
+
time_zone_id: string;
|
|
159
|
+
notification_status?: YesNo[] | undefined;
|
|
160
|
+
notification_type?: NotificationType[] | undefined;
|
|
161
|
+
is_all_vehicles?: YesNo[] | undefined;
|
|
162
|
+
status?: Status[] | undefined;
|
|
163
|
+
search?: string | undefined;
|
|
164
|
+
paging?: PAGING | undefined;
|
|
165
|
+
page_count?: unknown;
|
|
166
|
+
page_index?: unknown;
|
|
167
|
+
load_parents?: LoadParents | undefined;
|
|
168
|
+
load_parents_list?: string[] | undefined;
|
|
169
|
+
load_child?: LoadChild | undefined;
|
|
170
|
+
load_child_list?: string[] | undefined;
|
|
171
|
+
load_child_count?: LoadChildCount | undefined;
|
|
172
|
+
load_child_count_list?: string[] | undefined;
|
|
173
|
+
include_details?: Record<string, any> | undefined;
|
|
174
|
+
where_relations?: Record<string, any> | undefined;
|
|
175
|
+
order_by?: {
|
|
176
|
+
name: string;
|
|
177
|
+
field: string;
|
|
178
|
+
direction: OrderBy;
|
|
179
|
+
}[] | undefined;
|
|
180
|
+
include_master_data?: YesNo | undefined;
|
|
181
|
+
organisation_ids?: string[] | undefined;
|
|
182
|
+
notification_preference_ids?: string[] | undefined;
|
|
183
|
+
}>;
|
|
184
|
+
type UserNotificationPreferencesQueryDTO = z.infer<typeof UserNotificationPreferencesQuerySchema>;
|
|
185
|
+
declare const toUserNotificationPreferencesPayload: (data: UserNotificationPreferences) => UserNotificationPreferencesDTO;
|
|
186
|
+
declare const newUserNotificationPreferencesPayload: () => UserNotificationPreferencesDTO;
|
|
187
|
+
declare const findUserNotificationPreferences: (data: UserNotificationPreferencesQueryDTO) => Promise<FBR<UserNotificationPreferences[]>>;
|
|
188
|
+
declare const createUserNotificationPreferences: (data: UserNotificationPreferencesDTO) => Promise<SBR>;
|
|
189
|
+
declare const updateUserNotificationPreferences: (id: string, data: UserNotificationPreferencesDTO) => Promise<SBR>;
|
|
190
|
+
declare const deleteUserNotificationPreferences: (id: string) => Promise<SBR>;
|
|
191
|
+
|
|
192
|
+
export { type UserNotificationPreferenceUserLink, type UserNotificationPreferenceVehicleLink, type UserNotificationPreferences, type UserNotificationPreferencesDTO, type UserNotificationPreferencesQueryDTO, UserNotificationPreferencesQuerySchema, UserNotificationPreferencesSchema, createUserNotificationPreferences, deleteUserNotificationPreferences, findUserNotificationPreferences, newUserNotificationPreferencesPayload, toUserNotificationPreferencesPayload, updateUserNotificationPreferences };
|