vms-nest-prisma-api-document 6.0.24 → 6.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/services/account/bookmark_service.d.ts +1 -1
- package/dist/services/account/ticket_service.d.ts +1 -1
- 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 -51
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +35 -36
- package/dist/services/gps/features/geofence/gps_geofence_data_service.d.ts +11 -11
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +10 -10
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +5 -5
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +3 -3
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +17 -17
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +10 -10
- package/dist/services/gps/reports/gps_models/GpsAlert.d.ts +8 -7
- package/dist/services/gps/reports/gps_models/GpsPacket.d.ts +22 -12
- package/dist/services/gps/reports/gps_models/GpsSensor.d.ts +16 -9
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +6 -6
- package/dist/services/gps/reports/gps_reports_mongo_service.js +10 -10
- 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 +4 -130
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +3 -3
- 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 +4 -135
- 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/dist/{user_organisation_service-BLMLICYW.d.ts → user_organisation_service-De28fHzO.d.ts} +284 -6
- package/package.json +1 -1
- package/dist/services/account/notification_service.d.ts +0 -232
- package/dist/services/account/notification_service.js +0 -529
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
import { Module, AlertType, AlertSubType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } 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, b as MasterDriver } from '../../user_organisation_service-BLMLICYW.js';
|
|
5
|
-
import { GPSGeofenceData } from '../gps/features/geofence/gps_geofence_data_service.js';
|
|
6
|
-
import { MasterMainLandmark } from '../master/main/master_main_landmark_service.js';
|
|
7
|
-
import '../../zod_utils/zod_base_schema.js';
|
|
8
|
-
import '../master/main/master_main_sim_provider_service.js';
|
|
9
|
-
|
|
10
|
-
interface Notification extends Record<string, unknown> {
|
|
11
|
-
notification_id: string;
|
|
12
|
-
module: Module;
|
|
13
|
-
alert_type: AlertType;
|
|
14
|
-
alert_sub_type: AlertSubType;
|
|
15
|
-
date_time: string;
|
|
16
|
-
date_time_f?: string;
|
|
17
|
-
notification_message: string;
|
|
18
|
-
notification_html_message: string;
|
|
19
|
-
notification_key_1?: string;
|
|
20
|
-
notification_key_2?: string;
|
|
21
|
-
notification_key_3?: string;
|
|
22
|
-
notification_key_4?: string;
|
|
23
|
-
notification_key_5?: string;
|
|
24
|
-
notification_key_6?: string;
|
|
25
|
-
latitude?: number;
|
|
26
|
-
longitude?: number;
|
|
27
|
-
google_location?: string;
|
|
28
|
-
landmark_id?: string;
|
|
29
|
-
MasterMainLandmark?: MasterMainLandmark;
|
|
30
|
-
landmark_location?: string;
|
|
31
|
-
landmark_distance?: number;
|
|
32
|
-
status: Status;
|
|
33
|
-
added_date_time: string;
|
|
34
|
-
modified_date_time: string;
|
|
35
|
-
organisation_id: string;
|
|
36
|
-
UserOrganisation: UserOrganisation;
|
|
37
|
-
user_id?: string;
|
|
38
|
-
User?: User | null;
|
|
39
|
-
user_details?: string;
|
|
40
|
-
vehicle_id?: string;
|
|
41
|
-
MasterVehicle?: MasterVehicle | null;
|
|
42
|
-
vehicle_number?: string;
|
|
43
|
-
vehicle_type?: string;
|
|
44
|
-
driver_id?: string;
|
|
45
|
-
MasterDriver?: MasterDriver | null;
|
|
46
|
-
driver_details?: string;
|
|
47
|
-
gps_geofence_id?: string;
|
|
48
|
-
GPSGeofenceData?: GPSGeofenceData | null;
|
|
49
|
-
}
|
|
50
|
-
declare const NotificationSchema: z.ZodObject<{
|
|
51
|
-
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
52
|
-
user_id: z.ZodEffects<z.ZodString, string, string>;
|
|
53
|
-
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
54
|
-
driver_id: z.ZodEffects<z.ZodString, string, string>;
|
|
55
|
-
gps_geofence_id: z.ZodEffects<z.ZodString, string, string>;
|
|
56
|
-
date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
57
|
-
notification_message: z.ZodEffects<z.ZodString, string, string>;
|
|
58
|
-
notification_html_message: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
59
|
-
latitude: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
60
|
-
longitude: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
61
|
-
google_location: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
62
|
-
notification_key_1: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
63
|
-
notification_key_2: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
64
|
-
notification_key_3: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
65
|
-
notification_key_4: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
66
|
-
notification_key_5: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
67
|
-
notification_key_6: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
68
|
-
module: z.ZodType<Module, z.ZodTypeDef, Module>;
|
|
69
|
-
alert_type: z.ZodType<AlertType, z.ZodTypeDef, AlertType>;
|
|
70
|
-
alert_sub_type: z.ZodType<AlertSubType, z.ZodTypeDef, AlertSubType>;
|
|
71
|
-
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
72
|
-
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
73
|
-
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
status: Status;
|
|
75
|
-
organisation_id: string;
|
|
76
|
-
user_id: string;
|
|
77
|
-
time_zone_id: string;
|
|
78
|
-
driver_id: string;
|
|
79
|
-
vehicle_id: string;
|
|
80
|
-
gps_geofence_id: string;
|
|
81
|
-
google_location: string;
|
|
82
|
-
module: Module;
|
|
83
|
-
alert_type: AlertType;
|
|
84
|
-
alert_sub_type: AlertSubType;
|
|
85
|
-
date_time: string;
|
|
86
|
-
notification_message: string;
|
|
87
|
-
notification_html_message: string;
|
|
88
|
-
notification_key_1: string;
|
|
89
|
-
notification_key_2: string;
|
|
90
|
-
notification_key_3: string;
|
|
91
|
-
notification_key_4: string;
|
|
92
|
-
notification_key_5: string;
|
|
93
|
-
notification_key_6: string;
|
|
94
|
-
latitude?: number | undefined;
|
|
95
|
-
longitude?: number | undefined;
|
|
96
|
-
}, {
|
|
97
|
-
status: Status;
|
|
98
|
-
organisation_id: string;
|
|
99
|
-
user_id: string;
|
|
100
|
-
time_zone_id: string;
|
|
101
|
-
driver_id: string;
|
|
102
|
-
vehicle_id: string;
|
|
103
|
-
gps_geofence_id: string;
|
|
104
|
-
module: Module;
|
|
105
|
-
alert_type: AlertType;
|
|
106
|
-
alert_sub_type: AlertSubType;
|
|
107
|
-
date_time: string;
|
|
108
|
-
notification_message: string;
|
|
109
|
-
latitude?: unknown;
|
|
110
|
-
longitude?: unknown;
|
|
111
|
-
google_location?: string | undefined;
|
|
112
|
-
notification_html_message?: string | undefined;
|
|
113
|
-
notification_key_1?: string | undefined;
|
|
114
|
-
notification_key_2?: string | undefined;
|
|
115
|
-
notification_key_3?: string | undefined;
|
|
116
|
-
notification_key_4?: string | undefined;
|
|
117
|
-
notification_key_5?: string | undefined;
|
|
118
|
-
notification_key_6?: string | undefined;
|
|
119
|
-
}>;
|
|
120
|
-
type NotificationDTO = z.infer<typeof NotificationSchema>;
|
|
121
|
-
declare const NotificationQuerySchema: z.ZodObject<{
|
|
122
|
-
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
123
|
-
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
124
|
-
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
125
|
-
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
126
|
-
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
127
|
-
load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
|
|
128
|
-
load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
129
|
-
load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
|
|
130
|
-
load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
131
|
-
load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
|
|
132
|
-
load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
133
|
-
include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
134
|
-
where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
135
|
-
order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
136
|
-
name: z.ZodEffects<z.ZodString, string, string>;
|
|
137
|
-
field: z.ZodEffects<z.ZodString, string, string>;
|
|
138
|
-
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
139
|
-
}, "strip", z.ZodTypeAny, {
|
|
140
|
-
name: string;
|
|
141
|
-
field: string;
|
|
142
|
-
direction: OrderBy;
|
|
143
|
-
}, {
|
|
144
|
-
name: string;
|
|
145
|
-
field: string;
|
|
146
|
-
direction: OrderBy;
|
|
147
|
-
}>, "many">>>;
|
|
148
|
-
include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
149
|
-
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
150
|
-
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
151
|
-
} & {
|
|
152
|
-
notification_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
153
|
-
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
154
|
-
user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
155
|
-
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
156
|
-
driver_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
157
|
-
gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
158
|
-
module: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Module>, "many">>>;
|
|
159
|
-
alert_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof AlertType>, "many">>>;
|
|
160
|
-
alert_sub_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof AlertSubType>, "many">>>;
|
|
161
|
-
}, "strip", z.ZodTypeAny, {
|
|
162
|
-
status: Status[];
|
|
163
|
-
search: string;
|
|
164
|
-
paging: PAGING;
|
|
165
|
-
page_count: number;
|
|
166
|
-
page_index: number;
|
|
167
|
-
load_parents: LoadParents;
|
|
168
|
-
load_parents_list: string[];
|
|
169
|
-
load_child: LoadChild;
|
|
170
|
-
load_child_list: string[];
|
|
171
|
-
load_child_count: LoadChildCount;
|
|
172
|
-
load_child_count_list: string[];
|
|
173
|
-
include_details: Record<string, any>;
|
|
174
|
-
where_relations: Record<string, any>;
|
|
175
|
-
order_by: {
|
|
176
|
-
name: string;
|
|
177
|
-
field: string;
|
|
178
|
-
direction: OrderBy;
|
|
179
|
-
}[];
|
|
180
|
-
include_master_data: YesNo;
|
|
181
|
-
date_format_id: string;
|
|
182
|
-
time_zone_id: string;
|
|
183
|
-
organisation_ids: string[];
|
|
184
|
-
user_ids: string[];
|
|
185
|
-
vehicle_ids: string[];
|
|
186
|
-
driver_ids: string[];
|
|
187
|
-
module: Module[];
|
|
188
|
-
alert_type: AlertType[];
|
|
189
|
-
alert_sub_type: AlertSubType[];
|
|
190
|
-
notification_ids: string[];
|
|
191
|
-
gps_geofence_ids: string[];
|
|
192
|
-
}, {
|
|
193
|
-
date_format_id: string;
|
|
194
|
-
time_zone_id: string;
|
|
195
|
-
status?: Status[] | undefined;
|
|
196
|
-
search?: string | undefined;
|
|
197
|
-
paging?: PAGING | undefined;
|
|
198
|
-
page_count?: unknown;
|
|
199
|
-
page_index?: unknown;
|
|
200
|
-
load_parents?: LoadParents | undefined;
|
|
201
|
-
load_parents_list?: string[] | undefined;
|
|
202
|
-
load_child?: LoadChild | undefined;
|
|
203
|
-
load_child_list?: string[] | undefined;
|
|
204
|
-
load_child_count?: LoadChildCount | undefined;
|
|
205
|
-
load_child_count_list?: string[] | undefined;
|
|
206
|
-
include_details?: Record<string, any> | undefined;
|
|
207
|
-
where_relations?: Record<string, any> | undefined;
|
|
208
|
-
order_by?: {
|
|
209
|
-
name: string;
|
|
210
|
-
field: string;
|
|
211
|
-
direction: OrderBy;
|
|
212
|
-
}[] | undefined;
|
|
213
|
-
include_master_data?: YesNo | undefined;
|
|
214
|
-
organisation_ids?: string[] | undefined;
|
|
215
|
-
user_ids?: string[] | undefined;
|
|
216
|
-
vehicle_ids?: string[] | undefined;
|
|
217
|
-
driver_ids?: string[] | undefined;
|
|
218
|
-
module?: Module[] | undefined;
|
|
219
|
-
alert_type?: AlertType[] | undefined;
|
|
220
|
-
alert_sub_type?: AlertSubType[] | undefined;
|
|
221
|
-
notification_ids?: string[] | undefined;
|
|
222
|
-
gps_geofence_ids?: string[] | undefined;
|
|
223
|
-
}>;
|
|
224
|
-
type NotificationQueryDTO = z.infer<typeof NotificationQuerySchema>;
|
|
225
|
-
declare const toNotificationPayload: (row: Notification) => NotificationDTO;
|
|
226
|
-
declare const newNotificationPayload: () => NotificationDTO;
|
|
227
|
-
declare const findNotifications: (data: NotificationQueryDTO) => Promise<FBR<Notification[]>>;
|
|
228
|
-
declare const createNotification: (data: NotificationDTO) => Promise<SBR>;
|
|
229
|
-
declare const updateNotification: (id: string, data: NotificationDTO) => Promise<SBR>;
|
|
230
|
-
declare const deleteNotification: (id: string) => Promise<SBR>;
|
|
231
|
-
|
|
232
|
-
export { type Notification, type NotificationDTO, type NotificationQueryDTO, NotificationQuerySchema, NotificationSchema, createNotification, deleteNotification, findNotifications, newNotificationPayload, toNotificationPayload, updateNotification };
|