vms-nest-api-document 50.0.0 → 52.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/{fasttag_details--_pQCEZ1.d.ts → fasttag_details-Dqz6tgCT.d.ts} +1 -1
- package/dist/services/account/analytics/admin_login_analytics_service.d.ts +10 -25
- package/dist/services/account/analytics/admin_login_analytics_service.js +4 -19
- package/dist/services/account/analytics/driver_login_analytics_service.d.ts +20 -41
- package/dist/services/account/analytics/driver_login_analytics_service.js +4 -21
- package/dist/services/account/analytics/parent_login_analytics_service.d.ts +20 -41
- package/dist/services/account/analytics/parent_login_analytics_service.js +4 -21
- package/dist/services/account/analytics/student_login_analytics_service.d.ts +17 -38
- package/dist/services/account/analytics/student_login_analytics_service.js +4 -21
- package/dist/services/account/analytics/user_login_analytics_service.d.ts +12 -30
- package/dist/services/account/analytics/user_login_analytics_service.js +4 -20
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +188 -9
- package/dist/services/account/analytics/user_page_analytics_service.js +20 -1
- package/dist/services/account/analytics/user_report_analytics_service.d.ts +188 -9
- package/dist/services/account/analytics/user_report_analytics_service.js +20 -1
- package/dist/services/account/eway_bill_details.d.ts +1 -1
- package/dist/services/account/fasttag_details.d.ts +2 -2
- package/dist/services/account/fasttag_transactions.d.ts +2 -2
- 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/core/external_api_push.service.d.ts +5 -5
- package/dist/services/core/external_api_share.service.d.ts +11 -11
- package/dist/services/core/external_api_sync.service.d.ts +5 -5
- 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 +1 -1
- package/dist/services/fleet/bus_mangement/day_run_special_schedule_api.d.ts +1 -1
- 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_models/FuelConsumptionMonthly.d.ts +2 -0
- package/dist/services/gps/reports/gps_models/GPSOverSpeedViolation.d.ts +25 -11
- package/dist/services/gps/reports/gps_models/OverSpeedViolationMonthly.d.ts +14 -0
- 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/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 +2 -2
- 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 +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 +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_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/exclusive_feature_access.d.ts +1 -1
- package/dist/{user_organisation_service-DP1LVLgH.d.ts → user_organisation_service-4_J4l-fj.d.ts} +470 -470
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LoginFrom, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
|
-
import {
|
|
2
|
+
import { FBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
interface StudentLoginAnalytics {
|
|
@@ -29,26 +29,6 @@ interface StudentLoginAnalyticsDailyLoginReportReturn {
|
|
|
29
29
|
date: string;
|
|
30
30
|
login_count: number;
|
|
31
31
|
}
|
|
32
|
-
declare const StudentLoginAnalyticsSchema: z.ZodObject<{
|
|
33
|
-
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
34
|
-
organisation_branch_id: z.ZodEffects<z.ZodString, string, string>;
|
|
35
|
-
student_id: z.ZodEffects<z.ZodString, string, string>;
|
|
36
|
-
platform: z.ZodType<LoginFrom, z.ZodTypeDef, LoginFrom>;
|
|
37
|
-
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
38
|
-
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
organisation_id: string;
|
|
40
|
-
organisation_branch_id: string;
|
|
41
|
-
status: Status;
|
|
42
|
-
platform: LoginFrom;
|
|
43
|
-
student_id: string;
|
|
44
|
-
}, {
|
|
45
|
-
organisation_id: string;
|
|
46
|
-
organisation_branch_id: string;
|
|
47
|
-
status: Status;
|
|
48
|
-
platform: LoginFrom;
|
|
49
|
-
student_id: string;
|
|
50
|
-
}>;
|
|
51
|
-
type StudentLoginAnalyticsDTO = z.infer<typeof StudentLoginAnalyticsSchema>;
|
|
52
32
|
declare const StudentLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
53
33
|
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
54
34
|
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
@@ -88,9 +68,8 @@ declare const StudentLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
88
68
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
89
69
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
90
70
|
}, "strip", z.ZodTypeAny, {
|
|
91
|
-
status: Status[];
|
|
92
|
-
platform: LoginFrom[];
|
|
93
71
|
search: string;
|
|
72
|
+
status: Status[];
|
|
94
73
|
paging: PAGING;
|
|
95
74
|
page_count: number;
|
|
96
75
|
page_index: number;
|
|
@@ -112,6 +91,7 @@ declare const StudentLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
112
91
|
time_zone_id: string;
|
|
113
92
|
organisation_ids: string[];
|
|
114
93
|
organisation_branch_ids: string[];
|
|
94
|
+
platform: LoginFrom[];
|
|
115
95
|
from_date: string;
|
|
116
96
|
to_date: string;
|
|
117
97
|
student_login_analytics_ids: string[];
|
|
@@ -121,9 +101,8 @@ declare const StudentLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
121
101
|
time_zone_id: string;
|
|
122
102
|
from_date: string;
|
|
123
103
|
to_date: string;
|
|
124
|
-
status?: Status[] | undefined;
|
|
125
|
-
platform?: LoginFrom[] | undefined;
|
|
126
104
|
search?: string | undefined;
|
|
105
|
+
status?: Status[] | undefined;
|
|
127
106
|
paging?: PAGING | undefined;
|
|
128
107
|
page_count?: unknown;
|
|
129
108
|
page_index?: unknown;
|
|
@@ -143,6 +122,7 @@ declare const StudentLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
143
122
|
include_master_data?: YesNo | undefined;
|
|
144
123
|
organisation_ids?: string[] | undefined;
|
|
145
124
|
organisation_branch_ids?: string[] | undefined;
|
|
125
|
+
platform?: LoginFrom[] | undefined;
|
|
146
126
|
student_login_analytics_ids?: string[] | undefined;
|
|
147
127
|
student_ids?: string[] | undefined;
|
|
148
128
|
}>;
|
|
@@ -182,11 +162,9 @@ declare const StudentLoginAnalyticsLoginCountReportSchema: z.ZodObject<{
|
|
|
182
162
|
organisation_branch_id: z.ZodEffects<z.ZodString, string, string>;
|
|
183
163
|
date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
184
164
|
}, "strip", z.ZodTypeAny, {
|
|
185
|
-
|
|
186
|
-
organisation_branch_id: string;
|
|
165
|
+
search: string;
|
|
187
166
|
status: Status[];
|
|
188
167
|
date: string;
|
|
189
|
-
search: string;
|
|
190
168
|
paging: PAGING;
|
|
191
169
|
page_count: number;
|
|
192
170
|
page_index: number;
|
|
@@ -206,14 +184,16 @@ declare const StudentLoginAnalyticsLoginCountReportSchema: z.ZodObject<{
|
|
|
206
184
|
include_master_data: YesNo;
|
|
207
185
|
date_format_id: string;
|
|
208
186
|
time_zone_id: string;
|
|
209
|
-
}, {
|
|
210
187
|
organisation_id: string;
|
|
211
188
|
organisation_branch_id: string;
|
|
189
|
+
}, {
|
|
212
190
|
date: string;
|
|
213
191
|
date_format_id: string;
|
|
214
192
|
time_zone_id: string;
|
|
215
|
-
|
|
193
|
+
organisation_id: string;
|
|
194
|
+
organisation_branch_id: string;
|
|
216
195
|
search?: string | undefined;
|
|
196
|
+
status?: Status[] | undefined;
|
|
217
197
|
paging?: PAGING | undefined;
|
|
218
198
|
page_count?: unknown;
|
|
219
199
|
page_index?: unknown;
|
|
@@ -270,10 +250,8 @@ declare const StudentLoginAnalyticsDailyLoginReportSchema: z.ZodObject<{
|
|
|
270
250
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
271
251
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
272
252
|
}, "strip", z.ZodTypeAny, {
|
|
273
|
-
organisation_id: string;
|
|
274
|
-
organisation_branch_id: string;
|
|
275
|
-
status: Status[];
|
|
276
253
|
search: string;
|
|
254
|
+
status: Status[];
|
|
277
255
|
paging: PAGING;
|
|
278
256
|
page_count: number;
|
|
279
257
|
page_index: number;
|
|
@@ -295,17 +273,19 @@ declare const StudentLoginAnalyticsDailyLoginReportSchema: z.ZodObject<{
|
|
|
295
273
|
time_zone_id: string;
|
|
296
274
|
from_date: string;
|
|
297
275
|
to_date: string;
|
|
298
|
-
student_id: string;
|
|
299
|
-
}, {
|
|
300
276
|
organisation_id: string;
|
|
301
277
|
organisation_branch_id: string;
|
|
278
|
+
student_id: string;
|
|
279
|
+
}, {
|
|
302
280
|
date_format_id: string;
|
|
303
281
|
time_zone_id: string;
|
|
304
282
|
from_date: string;
|
|
305
283
|
to_date: string;
|
|
284
|
+
organisation_id: string;
|
|
285
|
+
organisation_branch_id: string;
|
|
306
286
|
student_id: string;
|
|
307
|
-
status?: Status[] | undefined;
|
|
308
287
|
search?: string | undefined;
|
|
288
|
+
status?: Status[] | undefined;
|
|
309
289
|
paging?: PAGING | undefined;
|
|
310
290
|
page_count?: unknown;
|
|
311
291
|
page_index?: unknown;
|
|
@@ -326,8 +306,7 @@ declare const StudentLoginAnalyticsDailyLoginReportSchema: z.ZodObject<{
|
|
|
326
306
|
}>;
|
|
327
307
|
type StudentLoginAnalyticsDailyLoginReportDTO = z.infer<typeof StudentLoginAnalyticsDailyLoginReportSchema>;
|
|
328
308
|
declare const findStudentLoginAnalytics: (payload: StudentLoginAnalyticsQueryDTO) => Promise<FBR<StudentLoginAnalytics[]>>;
|
|
329
|
-
declare const createStudentLoginAnalytics: (payload: StudentLoginAnalyticsDTO) => Promise<SBR>;
|
|
330
309
|
declare const getStudentLoginAnalyticsLoginCountReport: (payload: StudentLoginAnalyticsLoginCountReportDTO) => Promise<FBR<StudentLoginAnalyticsLoginCountReportReturn[]>>;
|
|
331
310
|
declare const getStudentLoginAnalyticsDailyLoginReport: (payload: StudentLoginAnalyticsDailyLoginReportDTO) => Promise<FBR<StudentLoginAnalyticsDailyLoginReportReturn[]>>;
|
|
332
311
|
|
|
333
|
-
export { type StudentLoginAnalytics, type
|
|
312
|
+
export { type StudentLoginAnalytics, type StudentLoginAnalyticsDailyLoginReportDTO, type StudentLoginAnalyticsDailyLoginReportReturn, StudentLoginAnalyticsDailyLoginReportSchema, type StudentLoginAnalyticsLoginCountReportDTO, type StudentLoginAnalyticsLoginCountReportReturn, StudentLoginAnalyticsLoginCountReportSchema, type StudentLoginAnalyticsQueryDTO, StudentLoginAnalyticsQuerySchema, findStudentLoginAnalytics, getStudentLoginAnalyticsDailyLoginReport, getStudentLoginAnalyticsLoginCountReport };
|
|
@@ -14,9 +14,6 @@ var apiPost = async (url, data) => {
|
|
|
14
14
|
return response.data;
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
// src/services/account/analytics/student_login_analytics_service.ts
|
|
18
|
-
import { z as z3 } from "zod";
|
|
19
|
-
|
|
20
17
|
// src/zod_utils/zod_utils.ts
|
|
21
18
|
import { z } from "zod";
|
|
22
19
|
|
|
@@ -175,10 +172,10 @@ var LoginFrom = /* @__PURE__ */ ((LoginFrom2) => {
|
|
|
175
172
|
LoginFrom2["iOSPWA"] = "iOSPWA";
|
|
176
173
|
return LoginFrom2;
|
|
177
174
|
})(LoginFrom || {});
|
|
178
|
-
var Status = /* @__PURE__ */ ((
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
return
|
|
175
|
+
var Status = /* @__PURE__ */ ((Status3) => {
|
|
176
|
+
Status3["Active"] = "Active";
|
|
177
|
+
Status3["Inactive"] = "Inactive";
|
|
178
|
+
return Status3;
|
|
182
179
|
})(Status || {});
|
|
183
180
|
var FileType = /* @__PURE__ */ ((FileType2) => {
|
|
184
181
|
FileType2["NoFile"] = "NoFile";
|
|
@@ -257,21 +254,10 @@ var URL = "analytics/student_login_analytics";
|
|
|
257
254
|
var ENDPOINTS = {
|
|
258
255
|
// StudentLoginAnalytics APIs
|
|
259
256
|
find: `${URL}/search`,
|
|
260
|
-
create: URL,
|
|
261
257
|
// StudentLoginAnalytics Report APIs
|
|
262
258
|
report_login_count: `${URL}/report_login_count`,
|
|
263
259
|
report_daily_login: `${URL}/report_daily_login`
|
|
264
260
|
};
|
|
265
|
-
var StudentLoginAnalyticsSchema = z3.object({
|
|
266
|
-
// Relations - Parent
|
|
267
|
-
organisation_id: single_select_mandatory("UserOrganisation"),
|
|
268
|
-
organisation_branch_id: single_select_optional("OrganisationBranch"),
|
|
269
|
-
student_id: single_select_mandatory("Student"),
|
|
270
|
-
// Main Field Details
|
|
271
|
-
platform: enumMandatory("Platform", LoginFrom, "Web" /* Web */),
|
|
272
|
-
// Metadata
|
|
273
|
-
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
274
|
-
});
|
|
275
261
|
var StudentLoginAnalyticsQuerySchema = BaseQuerySchema.extend({
|
|
276
262
|
// Self Table
|
|
277
263
|
student_login_analytics_ids: multi_select_optional("StudentLoginAnalytics"),
|
|
@@ -302,15 +288,12 @@ var StudentLoginAnalyticsDailyLoginReportSchema = BaseQuerySchema.extend({
|
|
|
302
288
|
to_date: dateMandatory("To Date")
|
|
303
289
|
});
|
|
304
290
|
var findStudentLoginAnalytics = (payload) => apiPost(ENDPOINTS.find, payload);
|
|
305
|
-
var createStudentLoginAnalytics = (payload) => apiPost(ENDPOINTS.create, payload);
|
|
306
291
|
var getStudentLoginAnalyticsLoginCountReport = (payload) => apiPost(ENDPOINTS.report_login_count, payload);
|
|
307
292
|
var getStudentLoginAnalyticsDailyLoginReport = (payload) => apiPost(ENDPOINTS.report_daily_login, payload);
|
|
308
293
|
export {
|
|
309
294
|
StudentLoginAnalyticsDailyLoginReportSchema,
|
|
310
295
|
StudentLoginAnalyticsLoginCountReportSchema,
|
|
311
296
|
StudentLoginAnalyticsQuerySchema,
|
|
312
|
-
StudentLoginAnalyticsSchema,
|
|
313
|
-
createStudentLoginAnalytics,
|
|
314
297
|
findStudentLoginAnalytics,
|
|
315
298
|
getStudentLoginAnalyticsDailyLoginReport,
|
|
316
299
|
getStudentLoginAnalyticsLoginCountReport
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LoginFrom, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
|
-
import {
|
|
2
|
+
import { FBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
interface UserLoginAnalytics {
|
|
@@ -27,23 +27,6 @@ interface UserLoginAnalyticsDailyLoginReportReturn {
|
|
|
27
27
|
date: string;
|
|
28
28
|
login_count: number;
|
|
29
29
|
}
|
|
30
|
-
declare const UserLoginAnalyticsSchema: z.ZodObject<{
|
|
31
|
-
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
32
|
-
user_id: z.ZodEffects<z.ZodString, string, string>;
|
|
33
|
-
platform: z.ZodType<LoginFrom, z.ZodTypeDef, LoginFrom>;
|
|
34
|
-
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
35
|
-
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
organisation_id: string;
|
|
37
|
-
status: Status;
|
|
38
|
-
platform: LoginFrom;
|
|
39
|
-
user_id: string;
|
|
40
|
-
}, {
|
|
41
|
-
organisation_id: string;
|
|
42
|
-
status: Status;
|
|
43
|
-
platform: LoginFrom;
|
|
44
|
-
user_id: string;
|
|
45
|
-
}>;
|
|
46
|
-
type UserLoginAnalyticsDTO = z.infer<typeof UserLoginAnalyticsSchema>;
|
|
47
30
|
declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
48
31
|
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
49
32
|
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
@@ -82,9 +65,8 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
82
65
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
83
66
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
84
67
|
}, "strip", z.ZodTypeAny, {
|
|
85
|
-
status: Status[];
|
|
86
|
-
platform: LoginFrom[];
|
|
87
68
|
search: string;
|
|
69
|
+
status: Status[];
|
|
88
70
|
paging: PAGING;
|
|
89
71
|
page_count: number;
|
|
90
72
|
page_index: number;
|
|
@@ -105,6 +87,7 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
105
87
|
date_format_id: string;
|
|
106
88
|
time_zone_id: string;
|
|
107
89
|
organisation_ids: string[];
|
|
90
|
+
platform: LoginFrom[];
|
|
108
91
|
from_date: string;
|
|
109
92
|
to_date: string;
|
|
110
93
|
user_login_analytics_ids: string[];
|
|
@@ -114,9 +97,8 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
114
97
|
time_zone_id: string;
|
|
115
98
|
from_date: string;
|
|
116
99
|
to_date: string;
|
|
117
|
-
status?: Status[] | undefined;
|
|
118
|
-
platform?: LoginFrom[] | undefined;
|
|
119
100
|
search?: string | undefined;
|
|
101
|
+
status?: Status[] | undefined;
|
|
120
102
|
paging?: PAGING | undefined;
|
|
121
103
|
page_count?: unknown;
|
|
122
104
|
page_index?: unknown;
|
|
@@ -135,6 +117,7 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
135
117
|
}[] | undefined;
|
|
136
118
|
include_master_data?: YesNo | undefined;
|
|
137
119
|
organisation_ids?: string[] | undefined;
|
|
120
|
+
platform?: LoginFrom[] | undefined;
|
|
138
121
|
user_login_analytics_ids?: string[] | undefined;
|
|
139
122
|
user_ids?: string[] | undefined;
|
|
140
123
|
}>;
|
|
@@ -172,9 +155,9 @@ declare const UserLoginAnalyticsLoginCountReportSchema: z.ZodObject<{
|
|
|
172
155
|
} & {
|
|
173
156
|
date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
174
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
|
+
search: string;
|
|
175
159
|
status: Status[];
|
|
176
160
|
date: string;
|
|
177
|
-
search: string;
|
|
178
161
|
paging: PAGING;
|
|
179
162
|
page_count: number;
|
|
180
163
|
page_index: number;
|
|
@@ -198,8 +181,8 @@ declare const UserLoginAnalyticsLoginCountReportSchema: z.ZodObject<{
|
|
|
198
181
|
date: string;
|
|
199
182
|
date_format_id: string;
|
|
200
183
|
time_zone_id: string;
|
|
201
|
-
status?: Status[] | undefined;
|
|
202
184
|
search?: string | undefined;
|
|
185
|
+
status?: Status[] | undefined;
|
|
203
186
|
paging?: PAGING | undefined;
|
|
204
187
|
page_count?: unknown;
|
|
205
188
|
page_index?: unknown;
|
|
@@ -254,9 +237,8 @@ declare const UserLoginAnalyticsDailyLoginReportSchema: z.ZodObject<{
|
|
|
254
237
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
255
238
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
256
239
|
}, "strip", z.ZodTypeAny, {
|
|
257
|
-
organisation_id: string;
|
|
258
|
-
status: Status[];
|
|
259
240
|
search: string;
|
|
241
|
+
status: Status[];
|
|
260
242
|
paging: PAGING;
|
|
261
243
|
page_count: number;
|
|
262
244
|
page_index: number;
|
|
@@ -278,14 +260,15 @@ declare const UserLoginAnalyticsDailyLoginReportSchema: z.ZodObject<{
|
|
|
278
260
|
time_zone_id: string;
|
|
279
261
|
from_date: string;
|
|
280
262
|
to_date: string;
|
|
281
|
-
}, {
|
|
282
263
|
organisation_id: string;
|
|
264
|
+
}, {
|
|
283
265
|
date_format_id: string;
|
|
284
266
|
time_zone_id: string;
|
|
285
267
|
from_date: string;
|
|
286
268
|
to_date: string;
|
|
287
|
-
|
|
269
|
+
organisation_id: string;
|
|
288
270
|
search?: string | undefined;
|
|
271
|
+
status?: Status[] | undefined;
|
|
289
272
|
paging?: PAGING | undefined;
|
|
290
273
|
page_count?: unknown;
|
|
291
274
|
page_index?: unknown;
|
|
@@ -306,8 +289,7 @@ declare const UserLoginAnalyticsDailyLoginReportSchema: z.ZodObject<{
|
|
|
306
289
|
}>;
|
|
307
290
|
type UserLoginAnalyticsDailyLoginReportDTO = z.infer<typeof UserLoginAnalyticsDailyLoginReportSchema>;
|
|
308
291
|
declare const findUserLoginAnalytics: (payload: UserLoginAnalyticsQueryDTO) => Promise<FBR<UserLoginAnalytics[]>>;
|
|
309
|
-
declare const createUserLoginAnalytics: (payload: UserLoginAnalyticsDTO) => Promise<SBR>;
|
|
310
292
|
declare const getUserLoginAnalyticsLoginCountReport: (payload: UserLoginAnalyticsLoginCountReportDTO) => Promise<FBR<UserLoginAnalyticsLoginCountReportReturn[]>>;
|
|
311
293
|
declare const getUserLoginAnalyticsDailyLoginReport: (payload: UserLoginAnalyticsDailyLoginReportDTO) => Promise<FBR<UserLoginAnalyticsDailyLoginReportReturn[]>>;
|
|
312
294
|
|
|
313
|
-
export { type UserLoginAnalytics, type
|
|
295
|
+
export { type UserLoginAnalytics, type UserLoginAnalyticsDailyLoginReportDTO, type UserLoginAnalyticsDailyLoginReportReturn, UserLoginAnalyticsDailyLoginReportSchema, type UserLoginAnalyticsLoginCountReportDTO, type UserLoginAnalyticsLoginCountReportReturn, UserLoginAnalyticsLoginCountReportSchema, type UserLoginAnalyticsQueryDTO, UserLoginAnalyticsQuerySchema, findUserLoginAnalytics, getUserLoginAnalyticsDailyLoginReport, getUserLoginAnalyticsLoginCountReport };
|
|
@@ -14,9 +14,6 @@ var apiPost = async (url, data) => {
|
|
|
14
14
|
return response.data;
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
// src/services/account/analytics/user_login_analytics_service.ts
|
|
18
|
-
import { z as z3 } from "zod";
|
|
19
|
-
|
|
20
17
|
// src/zod_utils/zod_utils.ts
|
|
21
18
|
import { z } from "zod";
|
|
22
19
|
|
|
@@ -175,10 +172,10 @@ var LoginFrom = /* @__PURE__ */ ((LoginFrom2) => {
|
|
|
175
172
|
LoginFrom2["iOSPWA"] = "iOSPWA";
|
|
176
173
|
return LoginFrom2;
|
|
177
174
|
})(LoginFrom || {});
|
|
178
|
-
var Status = /* @__PURE__ */ ((
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
return
|
|
175
|
+
var Status = /* @__PURE__ */ ((Status3) => {
|
|
176
|
+
Status3["Active"] = "Active";
|
|
177
|
+
Status3["Inactive"] = "Inactive";
|
|
178
|
+
return Status3;
|
|
182
179
|
})(Status || {});
|
|
183
180
|
var FileType = /* @__PURE__ */ ((FileType2) => {
|
|
184
181
|
FileType2["NoFile"] = "NoFile";
|
|
@@ -257,20 +254,10 @@ var URL = "analytics/user_login_analytics";
|
|
|
257
254
|
var ENDPOINTS = {
|
|
258
255
|
// UserLoginAnalytics APIs
|
|
259
256
|
find: `${URL}/search`,
|
|
260
|
-
create: URL,
|
|
261
257
|
// UserLoginAnalytics Report APIs
|
|
262
258
|
report_login_count: `${URL}/report_login_count`,
|
|
263
259
|
report_daily_login: `${URL}/report_daily_login`
|
|
264
260
|
};
|
|
265
|
-
var UserLoginAnalyticsSchema = z3.object({
|
|
266
|
-
// Relations - Parent
|
|
267
|
-
organisation_id: single_select_mandatory("UserOrganisation"),
|
|
268
|
-
user_id: single_select_mandatory("User"),
|
|
269
|
-
// Main Field Details
|
|
270
|
-
platform: enumMandatory("Platform", LoginFrom, "Web" /* Web */),
|
|
271
|
-
// Metadata
|
|
272
|
-
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
273
|
-
});
|
|
274
261
|
var UserLoginAnalyticsQuerySchema = BaseQuerySchema.extend({
|
|
275
262
|
// Self Table
|
|
276
263
|
user_login_analytics_ids: multi_select_optional("UserLoginAnalytics"),
|
|
@@ -295,15 +282,12 @@ var UserLoginAnalyticsDailyLoginReportSchema = BaseQuerySchema.extend({
|
|
|
295
282
|
to_date: dateMandatory("To Date")
|
|
296
283
|
});
|
|
297
284
|
var findUserLoginAnalytics = (payload) => apiPost(ENDPOINTS.find, payload);
|
|
298
|
-
var createUserLoginAnalytics = (payload) => apiPost(ENDPOINTS.create, payload);
|
|
299
285
|
var getUserLoginAnalyticsLoginCountReport = (payload) => apiPost(ENDPOINTS.report_login_count, payload);
|
|
300
286
|
var getUserLoginAnalyticsDailyLoginReport = (payload) => apiPost(ENDPOINTS.report_daily_login, payload);
|
|
301
287
|
export {
|
|
302
288
|
UserLoginAnalyticsDailyLoginReportSchema,
|
|
303
289
|
UserLoginAnalyticsLoginCountReportSchema,
|
|
304
290
|
UserLoginAnalyticsQuerySchema,
|
|
305
|
-
UserLoginAnalyticsSchema,
|
|
306
|
-
createUserLoginAnalytics,
|
|
307
291
|
findUserLoginAnalytics,
|
|
308
292
|
getUserLoginAnalyticsDailyLoginReport,
|
|
309
293
|
getUserLoginAnalyticsLoginCountReport
|
|
@@ -18,6 +18,17 @@ interface UserPageAnalytics {
|
|
|
18
18
|
user_details: string;
|
|
19
19
|
user_image_url: string;
|
|
20
20
|
}
|
|
21
|
+
interface UserPageAnalyticsPageCountReportReturn {
|
|
22
|
+
organisation_id: string;
|
|
23
|
+
organisation_name: string;
|
|
24
|
+
organisation_code: string;
|
|
25
|
+
organisation_logo_url: string;
|
|
26
|
+
page_count: number;
|
|
27
|
+
}
|
|
28
|
+
interface UserPageAnalyticsDailyPageCountReportReturn {
|
|
29
|
+
date: string;
|
|
30
|
+
page_count: number;
|
|
31
|
+
}
|
|
21
32
|
interface UserPageAnalyticsMonthlyPageAnalysisReturn {
|
|
22
33
|
module_name: string;
|
|
23
34
|
page_name: string;
|
|
@@ -31,16 +42,16 @@ declare const UserPageAnalyticsSchema: z.ZodObject<{
|
|
|
31
42
|
platform: z.ZodType<LoginFrom, z.ZodTypeDef, LoginFrom>;
|
|
32
43
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
33
44
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
organisation_id: string;
|
|
35
45
|
status: Status;
|
|
36
46
|
platform: LoginFrom;
|
|
47
|
+
organisation_id: string;
|
|
37
48
|
user_id: string;
|
|
38
49
|
page_name: string;
|
|
39
50
|
module_name: string;
|
|
40
51
|
}, {
|
|
41
|
-
organisation_id: string;
|
|
42
52
|
status: Status;
|
|
43
53
|
platform: LoginFrom;
|
|
54
|
+
organisation_id: string;
|
|
44
55
|
user_id: string;
|
|
45
56
|
page_name: string;
|
|
46
57
|
module_name: string;
|
|
@@ -84,9 +95,8 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
|
|
|
84
95
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
85
96
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
86
97
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
-
status: Status[];
|
|
88
|
-
platform: LoginFrom[];
|
|
89
98
|
search: string;
|
|
99
|
+
status: Status[];
|
|
90
100
|
paging: PAGING;
|
|
91
101
|
page_count: number;
|
|
92
102
|
page_index: number;
|
|
@@ -107,6 +117,7 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
|
|
|
107
117
|
date_format_id: string;
|
|
108
118
|
time_zone_id: string;
|
|
109
119
|
organisation_ids: string[];
|
|
120
|
+
platform: LoginFrom[];
|
|
110
121
|
from_date: string;
|
|
111
122
|
to_date: string;
|
|
112
123
|
user_ids: string[];
|
|
@@ -116,9 +127,8 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
|
|
|
116
127
|
time_zone_id: string;
|
|
117
128
|
from_date: string;
|
|
118
129
|
to_date: string;
|
|
119
|
-
status?: Status[] | undefined;
|
|
120
|
-
platform?: LoginFrom[] | undefined;
|
|
121
130
|
search?: string | undefined;
|
|
131
|
+
status?: Status[] | undefined;
|
|
122
132
|
paging?: PAGING | undefined;
|
|
123
133
|
page_count?: unknown;
|
|
124
134
|
page_index?: unknown;
|
|
@@ -137,11 +147,12 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
|
|
|
137
147
|
}[] | undefined;
|
|
138
148
|
include_master_data?: YesNo | undefined;
|
|
139
149
|
organisation_ids?: string[] | undefined;
|
|
150
|
+
platform?: LoginFrom[] | undefined;
|
|
140
151
|
user_ids?: string[] | undefined;
|
|
141
152
|
user_page_analytics_ids?: string[] | undefined;
|
|
142
153
|
}>;
|
|
143
154
|
type UserPageAnalyticsQueryDTO = z.infer<typeof UserPageAnalyticsQuerySchema>;
|
|
144
|
-
declare const
|
|
155
|
+
declare const UserPageAnalyticsPageCountReportSchema: z.ZodObject<{
|
|
145
156
|
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
146
157
|
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
147
158
|
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
@@ -174,9 +185,9 @@ declare const UserPageAnalyticsMonthlyPageAnalysisSchema: z.ZodObject<{
|
|
|
174
185
|
} & {
|
|
175
186
|
date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
176
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
|
+
search: string;
|
|
177
189
|
status: Status[];
|
|
178
190
|
date: string;
|
|
179
|
-
search: string;
|
|
180
191
|
paging: PAGING;
|
|
181
192
|
page_count: number;
|
|
182
193
|
page_index: number;
|
|
@@ -200,8 +211,174 @@ declare const UserPageAnalyticsMonthlyPageAnalysisSchema: z.ZodObject<{
|
|
|
200
211
|
date: string;
|
|
201
212
|
date_format_id: string;
|
|
202
213
|
time_zone_id: string;
|
|
214
|
+
search?: string | undefined;
|
|
203
215
|
status?: Status[] | undefined;
|
|
216
|
+
paging?: PAGING | undefined;
|
|
217
|
+
page_count?: unknown;
|
|
218
|
+
page_index?: unknown;
|
|
219
|
+
load_parents?: LoadParents | undefined;
|
|
220
|
+
load_parents_list?: string[] | undefined;
|
|
221
|
+
load_child?: LoadChild | undefined;
|
|
222
|
+
load_child_list?: string[] | undefined;
|
|
223
|
+
load_child_count?: LoadChildCount | undefined;
|
|
224
|
+
load_child_count_list?: string[] | undefined;
|
|
225
|
+
include_details?: Record<string, any> | undefined;
|
|
226
|
+
where_relations?: Record<string, any> | undefined;
|
|
227
|
+
order_by?: {
|
|
228
|
+
name: string;
|
|
229
|
+
field: string;
|
|
230
|
+
direction: OrderBy;
|
|
231
|
+
}[] | undefined;
|
|
232
|
+
include_master_data?: YesNo | undefined;
|
|
233
|
+
}>;
|
|
234
|
+
type UserPageAnalyticsPageCountReportDTO = z.infer<typeof UserPageAnalyticsPageCountReportSchema>;
|
|
235
|
+
declare const UserPageAnalyticsDailyPageCountReportSchema: z.ZodObject<{
|
|
236
|
+
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
237
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
238
|
+
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
239
|
+
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
240
|
+
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
241
|
+
load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
|
|
242
|
+
load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
243
|
+
load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
|
|
244
|
+
load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
245
|
+
load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
|
|
246
|
+
load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
247
|
+
include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
248
|
+
where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
249
|
+
order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
250
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
251
|
+
field: z.ZodEffects<z.ZodString, string, string>;
|
|
252
|
+
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
253
|
+
}, "strip", z.ZodTypeAny, {
|
|
254
|
+
name: string;
|
|
255
|
+
field: string;
|
|
256
|
+
direction: OrderBy;
|
|
257
|
+
}, {
|
|
258
|
+
name: string;
|
|
259
|
+
field: string;
|
|
260
|
+
direction: OrderBy;
|
|
261
|
+
}>, "many">>>;
|
|
262
|
+
include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
263
|
+
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
264
|
+
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
265
|
+
} & {
|
|
266
|
+
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
267
|
+
from_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
268
|
+
to_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
269
|
+
}, "strip", z.ZodTypeAny, {
|
|
270
|
+
search: string;
|
|
271
|
+
status: Status[];
|
|
272
|
+
paging: PAGING;
|
|
273
|
+
page_count: number;
|
|
274
|
+
page_index: number;
|
|
275
|
+
load_parents: LoadParents;
|
|
276
|
+
load_parents_list: string[];
|
|
277
|
+
load_child: LoadChild;
|
|
278
|
+
load_child_list: string[];
|
|
279
|
+
load_child_count: LoadChildCount;
|
|
280
|
+
load_child_count_list: string[];
|
|
281
|
+
include_details: Record<string, any>;
|
|
282
|
+
where_relations: Record<string, any>;
|
|
283
|
+
order_by: {
|
|
284
|
+
name: string;
|
|
285
|
+
field: string;
|
|
286
|
+
direction: OrderBy;
|
|
287
|
+
}[];
|
|
288
|
+
include_master_data: YesNo;
|
|
289
|
+
date_format_id: string;
|
|
290
|
+
time_zone_id: string;
|
|
291
|
+
from_date: string;
|
|
292
|
+
to_date: string;
|
|
293
|
+
organisation_id: string;
|
|
294
|
+
}, {
|
|
295
|
+
date_format_id: string;
|
|
296
|
+
time_zone_id: string;
|
|
297
|
+
from_date: string;
|
|
298
|
+
to_date: string;
|
|
299
|
+
organisation_id: string;
|
|
204
300
|
search?: string | undefined;
|
|
301
|
+
status?: Status[] | undefined;
|
|
302
|
+
paging?: PAGING | undefined;
|
|
303
|
+
page_count?: unknown;
|
|
304
|
+
page_index?: unknown;
|
|
305
|
+
load_parents?: LoadParents | undefined;
|
|
306
|
+
load_parents_list?: string[] | undefined;
|
|
307
|
+
load_child?: LoadChild | undefined;
|
|
308
|
+
load_child_list?: string[] | undefined;
|
|
309
|
+
load_child_count?: LoadChildCount | undefined;
|
|
310
|
+
load_child_count_list?: string[] | undefined;
|
|
311
|
+
include_details?: Record<string, any> | undefined;
|
|
312
|
+
where_relations?: Record<string, any> | undefined;
|
|
313
|
+
order_by?: {
|
|
314
|
+
name: string;
|
|
315
|
+
field: string;
|
|
316
|
+
direction: OrderBy;
|
|
317
|
+
}[] | undefined;
|
|
318
|
+
include_master_data?: YesNo | undefined;
|
|
319
|
+
}>;
|
|
320
|
+
type UserPageAnalyticsDailyPageCountReportDTO = z.infer<typeof UserPageAnalyticsDailyPageCountReportSchema>;
|
|
321
|
+
declare const UserPageAnalyticsMonthlyPageAnalysisSchema: z.ZodObject<{
|
|
322
|
+
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
323
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
324
|
+
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
325
|
+
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
326
|
+
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
327
|
+
load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
|
|
328
|
+
load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
329
|
+
load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
|
|
330
|
+
load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
331
|
+
load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
|
|
332
|
+
load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
333
|
+
include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
334
|
+
where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
335
|
+
order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
336
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
337
|
+
field: z.ZodEffects<z.ZodString, string, string>;
|
|
338
|
+
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
339
|
+
}, "strip", z.ZodTypeAny, {
|
|
340
|
+
name: string;
|
|
341
|
+
field: string;
|
|
342
|
+
direction: OrderBy;
|
|
343
|
+
}, {
|
|
344
|
+
name: string;
|
|
345
|
+
field: string;
|
|
346
|
+
direction: OrderBy;
|
|
347
|
+
}>, "many">>>;
|
|
348
|
+
include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
349
|
+
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
350
|
+
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
351
|
+
} & {
|
|
352
|
+
date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
353
|
+
}, "strip", z.ZodTypeAny, {
|
|
354
|
+
search: string;
|
|
355
|
+
status: Status[];
|
|
356
|
+
date: string;
|
|
357
|
+
paging: PAGING;
|
|
358
|
+
page_count: number;
|
|
359
|
+
page_index: number;
|
|
360
|
+
load_parents: LoadParents;
|
|
361
|
+
load_parents_list: string[];
|
|
362
|
+
load_child: LoadChild;
|
|
363
|
+
load_child_list: string[];
|
|
364
|
+
load_child_count: LoadChildCount;
|
|
365
|
+
load_child_count_list: string[];
|
|
366
|
+
include_details: Record<string, any>;
|
|
367
|
+
where_relations: Record<string, any>;
|
|
368
|
+
order_by: {
|
|
369
|
+
name: string;
|
|
370
|
+
field: string;
|
|
371
|
+
direction: OrderBy;
|
|
372
|
+
}[];
|
|
373
|
+
include_master_data: YesNo;
|
|
374
|
+
date_format_id: string;
|
|
375
|
+
time_zone_id: string;
|
|
376
|
+
}, {
|
|
377
|
+
date: string;
|
|
378
|
+
date_format_id: string;
|
|
379
|
+
time_zone_id: string;
|
|
380
|
+
search?: string | undefined;
|
|
381
|
+
status?: Status[] | undefined;
|
|
205
382
|
paging?: PAGING | undefined;
|
|
206
383
|
page_count?: unknown;
|
|
207
384
|
page_index?: unknown;
|
|
@@ -223,6 +400,8 @@ declare const UserPageAnalyticsMonthlyPageAnalysisSchema: z.ZodObject<{
|
|
|
223
400
|
type UserPageAnalyticsMonthlyPageAnalysisDTO = z.infer<typeof UserPageAnalyticsMonthlyPageAnalysisSchema>;
|
|
224
401
|
declare const findUserPageAnalytics: (payload: UserPageAnalyticsQueryDTO) => Promise<FBR<UserPageAnalytics[]>>;
|
|
225
402
|
declare const createUserPageAnalytics: (payload: UserPageAnalyticsDTO) => Promise<SBR>;
|
|
403
|
+
declare const getUserPageAnalyticsPageCountReport: (payload: UserPageAnalyticsPageCountReportDTO) => Promise<FBR<UserPageAnalyticsPageCountReportReturn[]>>;
|
|
404
|
+
declare const getUserPageAnalyticsDailyPageCountReport: (payload: UserPageAnalyticsDailyPageCountReportDTO) => Promise<FBR<UserPageAnalyticsDailyPageCountReportReturn[]>>;
|
|
226
405
|
declare const getUserPageAnalyticsMonthlyPageAnalysis: (payload: UserPageAnalyticsMonthlyPageAnalysisDTO) => Promise<FBR<UserPageAnalyticsMonthlyPageAnalysisReturn[]>>;
|
|
227
406
|
|
|
228
|
-
export { type UserPageAnalytics, type UserPageAnalyticsDTO, type UserPageAnalyticsMonthlyPageAnalysisDTO, type UserPageAnalyticsMonthlyPageAnalysisReturn, UserPageAnalyticsMonthlyPageAnalysisSchema, type UserPageAnalyticsQueryDTO, UserPageAnalyticsQuerySchema, UserPageAnalyticsSchema, createUserPageAnalytics, findUserPageAnalytics, getUserPageAnalyticsMonthlyPageAnalysis };
|
|
407
|
+
export { type UserPageAnalytics, type UserPageAnalyticsDTO, type UserPageAnalyticsDailyPageCountReportDTO, type UserPageAnalyticsDailyPageCountReportReturn, UserPageAnalyticsDailyPageCountReportSchema, type UserPageAnalyticsMonthlyPageAnalysisDTO, type UserPageAnalyticsMonthlyPageAnalysisReturn, UserPageAnalyticsMonthlyPageAnalysisSchema, type UserPageAnalyticsPageCountReportDTO, type UserPageAnalyticsPageCountReportReturn, UserPageAnalyticsPageCountReportSchema, type UserPageAnalyticsQueryDTO, UserPageAnalyticsQuerySchema, UserPageAnalyticsSchema, createUserPageAnalytics, findUserPageAnalytics, getUserPageAnalyticsDailyPageCountReport, getUserPageAnalyticsMonthlyPageAnalysis, getUserPageAnalyticsPageCountReport };
|