vms-nest-api-document 49.0.0 → 51.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/services/account/analytics/admin_login_analytics_service.d.ts +12 -27
- package/dist/services/account/analytics/admin_login_analytics_service.js +4 -19
- package/dist/services/account/analytics/driver_login_analytics_service.d.ts +19 -40
- package/dist/services/account/analytics/driver_login_analytics_service.js +4 -21
- package/dist/services/account/analytics/parent_login_analytics_service.d.ts +19 -40
- package/dist/services/account/analytics/parent_login_analytics_service.js +4 -21
- package/dist/services/account/analytics/student_login_analytics_service.d.ts +19 -40
- package/dist/services/account/analytics/student_login_analytics_service.js +4 -21
- package/dist/services/account/analytics/user_login_analytics_service.d.ts +13 -31
- package/dist/services/account/analytics/user_login_analytics_service.js +4 -20
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +189 -10
- package/dist/services/account/analytics/user_page_analytics_service.js +20 -1
- package/dist/services/account/analytics/user_report_analytics_service.d.ts +189 -10
- package/dist/services/account/analytics/user_report_analytics_service.js +20 -1
- package/dist/services/account/user_bookmark_service.d.ts +1 -1
- 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/master/bookmark/master_bookmark_module_service.d.ts +1 -1
- package/dist/services/master/bookmark/master_bookmark_module_service.js +21 -1
- package/dist/services/master/bookmark/master_bookmark_page_service.d.ts +26 -1
- package/dist/services/master/bookmark/master_bookmark_page_service.js +29 -1
- package/dist/services/master/bookmark/master_bookmark_sub_module_service.d.ts +1 -1
- package/dist/services/master/bookmark/master_bookmark_sub_module_service.js +29 -1
- package/dist/services/website/contact_us_detail_service.d.ts +3 -3
- package/dist/services/website/request_demo.service.d.ts +12 -12
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -106,9 +116,10 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
|
|
|
106
116
|
include_master_data: YesNo;
|
|
107
117
|
date_format_id: string;
|
|
108
118
|
time_zone_id: string;
|
|
109
|
-
|
|
119
|
+
platform: LoginFrom[];
|
|
110
120
|
from_date: string;
|
|
111
121
|
to_date: string;
|
|
122
|
+
organisation_ids: string[];
|
|
112
123
|
user_ids: string[];
|
|
113
124
|
user_page_analytics_ids: string[];
|
|
114
125
|
}, {
|
|
@@ -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;
|
|
@@ -136,12 +146,13 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
|
|
|
136
146
|
direction: OrderBy;
|
|
137
147
|
}[] | undefined;
|
|
138
148
|
include_master_data?: YesNo | undefined;
|
|
149
|
+
platform?: LoginFrom[] | undefined;
|
|
139
150
|
organisation_ids?: string[] | 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;
|
|
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;
|
|
204
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 };
|
|
@@ -259,6 +259,8 @@ var ENDPOINTS = {
|
|
|
259
259
|
find: `${URL}/search`,
|
|
260
260
|
create: URL,
|
|
261
261
|
// UserPageAnalytics Report APIs
|
|
262
|
+
report_page_count: `${URL}/report_page_count`,
|
|
263
|
+
report_daily_page_count: `${URL}/report_daily_page_count`,
|
|
262
264
|
monthly_page_analysis: `${URL}/monthly_page_analysis`
|
|
263
265
|
};
|
|
264
266
|
var UserPageAnalyticsSchema = z3.object({
|
|
@@ -284,18 +286,35 @@ var UserPageAnalyticsQuerySchema = BaseQuerySchema.extend({
|
|
|
284
286
|
from_date: dateMandatory("From Date"),
|
|
285
287
|
to_date: dateMandatory("To Date")
|
|
286
288
|
});
|
|
289
|
+
var UserPageAnalyticsPageCountReportSchema = BaseQuerySchema.extend({
|
|
290
|
+
// Date Filter
|
|
291
|
+
date: dateMandatory("Date")
|
|
292
|
+
});
|
|
293
|
+
var UserPageAnalyticsDailyPageCountReportSchema = BaseQuerySchema.extend({
|
|
294
|
+
// Relations - Parent
|
|
295
|
+
organisation_id: single_select_mandatory("UserOrganisation"),
|
|
296
|
+
// Date Range Filter
|
|
297
|
+
from_date: dateMandatory("From Date"),
|
|
298
|
+
to_date: dateMandatory("To Date")
|
|
299
|
+
});
|
|
287
300
|
var UserPageAnalyticsMonthlyPageAnalysisSchema = BaseQuerySchema.extend({
|
|
288
301
|
// Date Filter
|
|
289
302
|
date: dateMandatory("Date")
|
|
290
303
|
});
|
|
291
304
|
var findUserPageAnalytics = (payload) => apiPost(ENDPOINTS.find, payload);
|
|
292
305
|
var createUserPageAnalytics = (payload) => apiPost(ENDPOINTS.create, payload);
|
|
306
|
+
var getUserPageAnalyticsPageCountReport = (payload) => apiPost(ENDPOINTS.report_page_count, payload);
|
|
307
|
+
var getUserPageAnalyticsDailyPageCountReport = (payload) => apiPost(ENDPOINTS.report_daily_page_count, payload);
|
|
293
308
|
var getUserPageAnalyticsMonthlyPageAnalysis = (payload) => apiPost(ENDPOINTS.monthly_page_analysis, payload);
|
|
294
309
|
export {
|
|
310
|
+
UserPageAnalyticsDailyPageCountReportSchema,
|
|
295
311
|
UserPageAnalyticsMonthlyPageAnalysisSchema,
|
|
312
|
+
UserPageAnalyticsPageCountReportSchema,
|
|
296
313
|
UserPageAnalyticsQuerySchema,
|
|
297
314
|
UserPageAnalyticsSchema,
|
|
298
315
|
createUserPageAnalytics,
|
|
299
316
|
findUserPageAnalytics,
|
|
300
|
-
|
|
317
|
+
getUserPageAnalyticsDailyPageCountReport,
|
|
318
|
+
getUserPageAnalyticsMonthlyPageAnalysis,
|
|
319
|
+
getUserPageAnalyticsPageCountReport
|
|
301
320
|
};
|
|
@@ -20,6 +20,17 @@ interface UserReportAnalytics {
|
|
|
20
20
|
user_details: string;
|
|
21
21
|
user_image_url: string;
|
|
22
22
|
}
|
|
23
|
+
interface UserReportAnalyticsReportCountReportReturn {
|
|
24
|
+
organisation_id: string;
|
|
25
|
+
organisation_name: string;
|
|
26
|
+
organisation_code: string;
|
|
27
|
+
organisation_logo_url: string;
|
|
28
|
+
report_count: number;
|
|
29
|
+
}
|
|
30
|
+
interface UserReportAnalyticsDailyReportCountReportReturn {
|
|
31
|
+
date: string;
|
|
32
|
+
report_count: number;
|
|
33
|
+
}
|
|
23
34
|
interface UserReportAnalyticsMonthlyReportAnalysisReturn {
|
|
24
35
|
module_name: string;
|
|
25
36
|
page_name: string;
|
|
@@ -36,18 +47,18 @@ declare const UserReportAnalyticsSchema: z.ZodObject<{
|
|
|
36
47
|
user_id: z.ZodEffects<z.ZodString, string, string>;
|
|
37
48
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
38
49
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
organisation_id: string;
|
|
40
50
|
status: Status;
|
|
41
51
|
platform: LoginFrom;
|
|
52
|
+
organisation_id: string;
|
|
42
53
|
user_id: string;
|
|
43
54
|
page_name: string;
|
|
44
55
|
module_name: string;
|
|
45
56
|
report_name: string;
|
|
46
57
|
report_type: DownloadReportType;
|
|
47
58
|
}, {
|
|
48
|
-
organisation_id: string;
|
|
49
59
|
status: Status;
|
|
50
60
|
platform: LoginFrom;
|
|
61
|
+
organisation_id: string;
|
|
51
62
|
user_id: string;
|
|
52
63
|
page_name: string;
|
|
53
64
|
module_name: string;
|
|
@@ -94,9 +105,8 @@ declare const UserReportAnalyticsQuerySchema: z.ZodObject<{
|
|
|
94
105
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
95
106
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
96
107
|
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
status: Status[];
|
|
98
|
-
platform: LoginFrom[];
|
|
99
108
|
search: string;
|
|
109
|
+
status: Status[];
|
|
100
110
|
paging: PAGING;
|
|
101
111
|
page_count: number;
|
|
102
112
|
page_index: number;
|
|
@@ -116,9 +126,10 @@ declare const UserReportAnalyticsQuerySchema: z.ZodObject<{
|
|
|
116
126
|
include_master_data: YesNo;
|
|
117
127
|
date_format_id: string;
|
|
118
128
|
time_zone_id: string;
|
|
119
|
-
|
|
129
|
+
platform: LoginFrom[];
|
|
120
130
|
from_date: string;
|
|
121
131
|
to_date: string;
|
|
132
|
+
organisation_ids: string[];
|
|
122
133
|
user_ids: string[];
|
|
123
134
|
report_type: DownloadReportType[];
|
|
124
135
|
user_report_analytics_ids: string[];
|
|
@@ -127,9 +138,8 @@ declare const UserReportAnalyticsQuerySchema: z.ZodObject<{
|
|
|
127
138
|
time_zone_id: string;
|
|
128
139
|
from_date: string;
|
|
129
140
|
to_date: string;
|
|
130
|
-
status?: Status[] | undefined;
|
|
131
|
-
platform?: LoginFrom[] | undefined;
|
|
132
141
|
search?: string | undefined;
|
|
142
|
+
status?: Status[] | undefined;
|
|
133
143
|
paging?: PAGING | undefined;
|
|
134
144
|
page_count?: unknown;
|
|
135
145
|
page_index?: unknown;
|
|
@@ -147,13 +157,14 @@ declare const UserReportAnalyticsQuerySchema: z.ZodObject<{
|
|
|
147
157
|
direction: OrderBy;
|
|
148
158
|
}[] | undefined;
|
|
149
159
|
include_master_data?: YesNo | undefined;
|
|
160
|
+
platform?: LoginFrom[] | undefined;
|
|
150
161
|
organisation_ids?: string[] | undefined;
|
|
151
162
|
user_ids?: string[] | undefined;
|
|
152
163
|
report_type?: DownloadReportType[] | undefined;
|
|
153
164
|
user_report_analytics_ids?: string[] | undefined;
|
|
154
165
|
}>;
|
|
155
166
|
type UserReportAnalyticsQueryDTO = z.infer<typeof UserReportAnalyticsQuerySchema>;
|
|
156
|
-
declare const
|
|
167
|
+
declare const UserReportAnalyticsReportCountReportSchema: z.ZodObject<{
|
|
157
168
|
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
158
169
|
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
159
170
|
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
@@ -186,9 +197,9 @@ declare const UserReportAnalyticsMonthlyReportAnalysisSchema: z.ZodObject<{
|
|
|
186
197
|
} & {
|
|
187
198
|
date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
188
199
|
}, "strip", z.ZodTypeAny, {
|
|
200
|
+
search: string;
|
|
189
201
|
status: Status[];
|
|
190
202
|
date: string;
|
|
191
|
-
search: string;
|
|
192
203
|
paging: PAGING;
|
|
193
204
|
page_count: number;
|
|
194
205
|
page_index: number;
|
|
@@ -212,8 +223,174 @@ declare const UserReportAnalyticsMonthlyReportAnalysisSchema: z.ZodObject<{
|
|
|
212
223
|
date: string;
|
|
213
224
|
date_format_id: string;
|
|
214
225
|
time_zone_id: string;
|
|
226
|
+
search?: string | undefined;
|
|
215
227
|
status?: Status[] | undefined;
|
|
228
|
+
paging?: PAGING | undefined;
|
|
229
|
+
page_count?: unknown;
|
|
230
|
+
page_index?: unknown;
|
|
231
|
+
load_parents?: LoadParents | undefined;
|
|
232
|
+
load_parents_list?: string[] | undefined;
|
|
233
|
+
load_child?: LoadChild | undefined;
|
|
234
|
+
load_child_list?: string[] | undefined;
|
|
235
|
+
load_child_count?: LoadChildCount | undefined;
|
|
236
|
+
load_child_count_list?: string[] | undefined;
|
|
237
|
+
include_details?: Record<string, any> | undefined;
|
|
238
|
+
where_relations?: Record<string, any> | undefined;
|
|
239
|
+
order_by?: {
|
|
240
|
+
name: string;
|
|
241
|
+
field: string;
|
|
242
|
+
direction: OrderBy;
|
|
243
|
+
}[] | undefined;
|
|
244
|
+
include_master_data?: YesNo | undefined;
|
|
245
|
+
}>;
|
|
246
|
+
type UserReportAnalyticsReportCountReportDTO = z.infer<typeof UserReportAnalyticsReportCountReportSchema>;
|
|
247
|
+
declare const UserReportAnalyticsDailyReportCountReportSchema: z.ZodObject<{
|
|
248
|
+
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
249
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
250
|
+
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
251
|
+
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
252
|
+
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
253
|
+
load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
|
|
254
|
+
load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
255
|
+
load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
|
|
256
|
+
load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
257
|
+
load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
|
|
258
|
+
load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
259
|
+
include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
260
|
+
where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
261
|
+
order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
262
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
263
|
+
field: z.ZodEffects<z.ZodString, string, string>;
|
|
264
|
+
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
265
|
+
}, "strip", z.ZodTypeAny, {
|
|
266
|
+
name: string;
|
|
267
|
+
field: string;
|
|
268
|
+
direction: OrderBy;
|
|
269
|
+
}, {
|
|
270
|
+
name: string;
|
|
271
|
+
field: string;
|
|
272
|
+
direction: OrderBy;
|
|
273
|
+
}>, "many">>>;
|
|
274
|
+
include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
275
|
+
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
276
|
+
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
277
|
+
} & {
|
|
278
|
+
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
279
|
+
from_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
280
|
+
to_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
281
|
+
}, "strip", z.ZodTypeAny, {
|
|
282
|
+
search: string;
|
|
283
|
+
status: Status[];
|
|
284
|
+
paging: PAGING;
|
|
285
|
+
page_count: number;
|
|
286
|
+
page_index: number;
|
|
287
|
+
load_parents: LoadParents;
|
|
288
|
+
load_parents_list: string[];
|
|
289
|
+
load_child: LoadChild;
|
|
290
|
+
load_child_list: string[];
|
|
291
|
+
load_child_count: LoadChildCount;
|
|
292
|
+
load_child_count_list: string[];
|
|
293
|
+
include_details: Record<string, any>;
|
|
294
|
+
where_relations: Record<string, any>;
|
|
295
|
+
order_by: {
|
|
296
|
+
name: string;
|
|
297
|
+
field: string;
|
|
298
|
+
direction: OrderBy;
|
|
299
|
+
}[];
|
|
300
|
+
include_master_data: YesNo;
|
|
301
|
+
date_format_id: string;
|
|
302
|
+
time_zone_id: string;
|
|
303
|
+
from_date: string;
|
|
304
|
+
to_date: string;
|
|
305
|
+
organisation_id: string;
|
|
306
|
+
}, {
|
|
307
|
+
date_format_id: string;
|
|
308
|
+
time_zone_id: string;
|
|
309
|
+
from_date: string;
|
|
310
|
+
to_date: string;
|
|
311
|
+
organisation_id: string;
|
|
216
312
|
search?: string | undefined;
|
|
313
|
+
status?: Status[] | undefined;
|
|
314
|
+
paging?: PAGING | undefined;
|
|
315
|
+
page_count?: unknown;
|
|
316
|
+
page_index?: unknown;
|
|
317
|
+
load_parents?: LoadParents | undefined;
|
|
318
|
+
load_parents_list?: string[] | undefined;
|
|
319
|
+
load_child?: LoadChild | undefined;
|
|
320
|
+
load_child_list?: string[] | undefined;
|
|
321
|
+
load_child_count?: LoadChildCount | undefined;
|
|
322
|
+
load_child_count_list?: string[] | undefined;
|
|
323
|
+
include_details?: Record<string, any> | undefined;
|
|
324
|
+
where_relations?: Record<string, any> | undefined;
|
|
325
|
+
order_by?: {
|
|
326
|
+
name: string;
|
|
327
|
+
field: string;
|
|
328
|
+
direction: OrderBy;
|
|
329
|
+
}[] | undefined;
|
|
330
|
+
include_master_data?: YesNo | undefined;
|
|
331
|
+
}>;
|
|
332
|
+
type UserReportAnalyticsDailyReportCountReportDTO = z.infer<typeof UserReportAnalyticsDailyReportCountReportSchema>;
|
|
333
|
+
declare const UserReportAnalyticsMonthlyReportAnalysisSchema: z.ZodObject<{
|
|
334
|
+
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
335
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
336
|
+
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
337
|
+
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
338
|
+
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
339
|
+
load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
|
|
340
|
+
load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
341
|
+
load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
|
|
342
|
+
load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
343
|
+
load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
|
|
344
|
+
load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
345
|
+
include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
346
|
+
where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
347
|
+
order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
348
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
349
|
+
field: z.ZodEffects<z.ZodString, string, string>;
|
|
350
|
+
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
351
|
+
}, "strip", z.ZodTypeAny, {
|
|
352
|
+
name: string;
|
|
353
|
+
field: string;
|
|
354
|
+
direction: OrderBy;
|
|
355
|
+
}, {
|
|
356
|
+
name: string;
|
|
357
|
+
field: string;
|
|
358
|
+
direction: OrderBy;
|
|
359
|
+
}>, "many">>>;
|
|
360
|
+
include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
361
|
+
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
362
|
+
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
363
|
+
} & {
|
|
364
|
+
date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
|
|
365
|
+
}, "strip", z.ZodTypeAny, {
|
|
366
|
+
search: string;
|
|
367
|
+
status: Status[];
|
|
368
|
+
date: string;
|
|
369
|
+
paging: PAGING;
|
|
370
|
+
page_count: number;
|
|
371
|
+
page_index: number;
|
|
372
|
+
load_parents: LoadParents;
|
|
373
|
+
load_parents_list: string[];
|
|
374
|
+
load_child: LoadChild;
|
|
375
|
+
load_child_list: string[];
|
|
376
|
+
load_child_count: LoadChildCount;
|
|
377
|
+
load_child_count_list: string[];
|
|
378
|
+
include_details: Record<string, any>;
|
|
379
|
+
where_relations: Record<string, any>;
|
|
380
|
+
order_by: {
|
|
381
|
+
name: string;
|
|
382
|
+
field: string;
|
|
383
|
+
direction: OrderBy;
|
|
384
|
+
}[];
|
|
385
|
+
include_master_data: YesNo;
|
|
386
|
+
date_format_id: string;
|
|
387
|
+
time_zone_id: string;
|
|
388
|
+
}, {
|
|
389
|
+
date: string;
|
|
390
|
+
date_format_id: string;
|
|
391
|
+
time_zone_id: string;
|
|
392
|
+
search?: string | undefined;
|
|
393
|
+
status?: Status[] | undefined;
|
|
217
394
|
paging?: PAGING | undefined;
|
|
218
395
|
page_count?: unknown;
|
|
219
396
|
page_index?: unknown;
|
|
@@ -235,6 +412,8 @@ declare const UserReportAnalyticsMonthlyReportAnalysisSchema: z.ZodObject<{
|
|
|
235
412
|
type UserReportAnalyticsMonthlyReportAnalysisDTO = z.infer<typeof UserReportAnalyticsMonthlyReportAnalysisSchema>;
|
|
236
413
|
declare const findUserReportAnalytics: (payload: UserReportAnalyticsQueryDTO) => Promise<FBR<UserReportAnalytics[]>>;
|
|
237
414
|
declare const createUserReportAnalytics: (payload: UserReportAnalyticsDTO) => Promise<SBR>;
|
|
415
|
+
declare const getUserReportAnalyticsReportCount: (payload: UserReportAnalyticsReportCountReportDTO) => Promise<FBR<UserReportAnalyticsReportCountReportReturn[]>>;
|
|
416
|
+
declare const getUserReportAnalyticsDailyReportCount: (payload: UserReportAnalyticsDailyReportCountReportDTO) => Promise<FBR<UserReportAnalyticsDailyReportCountReportReturn[]>>;
|
|
238
417
|
declare const getUserReportAnalyticsMonthlyReportAnalysis: (payload: UserReportAnalyticsMonthlyReportAnalysisDTO) => Promise<FBR<UserReportAnalyticsMonthlyReportAnalysisReturn[]>>;
|
|
239
418
|
|
|
240
|
-
export { type UserReportAnalytics, type UserReportAnalyticsDTO, type UserReportAnalyticsMonthlyReportAnalysisDTO, type UserReportAnalyticsMonthlyReportAnalysisReturn, UserReportAnalyticsMonthlyReportAnalysisSchema, type UserReportAnalyticsQueryDTO, UserReportAnalyticsQuerySchema, UserReportAnalyticsSchema, createUserReportAnalytics, findUserReportAnalytics, getUserReportAnalyticsMonthlyReportAnalysis };
|
|
419
|
+
export { type UserReportAnalytics, type UserReportAnalyticsDTO, type UserReportAnalyticsDailyReportCountReportDTO, type UserReportAnalyticsDailyReportCountReportReturn, UserReportAnalyticsDailyReportCountReportSchema, type UserReportAnalyticsMonthlyReportAnalysisDTO, type UserReportAnalyticsMonthlyReportAnalysisReturn, UserReportAnalyticsMonthlyReportAnalysisSchema, type UserReportAnalyticsQueryDTO, UserReportAnalyticsQuerySchema, type UserReportAnalyticsReportCountReportDTO, type UserReportAnalyticsReportCountReportReturn, UserReportAnalyticsReportCountReportSchema, UserReportAnalyticsSchema, createUserReportAnalytics, findUserReportAnalytics, getUserReportAnalyticsDailyReportCount, getUserReportAnalyticsMonthlyReportAnalysis, getUserReportAnalyticsReportCount };
|
|
@@ -264,6 +264,8 @@ var ENDPOINTS = {
|
|
|
264
264
|
find: `${URL}/search`,
|
|
265
265
|
create: URL,
|
|
266
266
|
// UserReportAnalytics Report APIs
|
|
267
|
+
report_count: `${URL}/report_count`,
|
|
268
|
+
report_daily_count: `${URL}/report_daily_count`,
|
|
267
269
|
monthly_report_analysis: `${URL}/monthly_report_analysis`
|
|
268
270
|
};
|
|
269
271
|
var UserReportAnalyticsSchema = z3.object({
|
|
@@ -300,18 +302,35 @@ var UserReportAnalyticsQuerySchema = BaseQuerySchema.extend({
|
|
|
300
302
|
from_date: dateMandatory("From Date"),
|
|
301
303
|
to_date: dateMandatory("To Date")
|
|
302
304
|
});
|
|
305
|
+
var UserReportAnalyticsReportCountReportSchema = BaseQuerySchema.extend({
|
|
306
|
+
// Date Filter
|
|
307
|
+
date: dateMandatory("Date")
|
|
308
|
+
});
|
|
309
|
+
var UserReportAnalyticsDailyReportCountReportSchema = BaseQuerySchema.extend({
|
|
310
|
+
// Relations - Parent
|
|
311
|
+
organisation_id: single_select_mandatory("UserOrganisation"),
|
|
312
|
+
// Date Range Filter
|
|
313
|
+
from_date: dateMandatory("From Date"),
|
|
314
|
+
to_date: dateMandatory("To Date")
|
|
315
|
+
});
|
|
303
316
|
var UserReportAnalyticsMonthlyReportAnalysisSchema = BaseQuerySchema.extend({
|
|
304
317
|
// Date Filter
|
|
305
318
|
date: dateMandatory("Date")
|
|
306
319
|
});
|
|
307
320
|
var findUserReportAnalytics = (payload) => apiPost(ENDPOINTS.find, payload);
|
|
308
321
|
var createUserReportAnalytics = (payload) => apiPost(ENDPOINTS.create, payload);
|
|
322
|
+
var getUserReportAnalyticsReportCount = (payload) => apiPost(ENDPOINTS.report_count, payload);
|
|
323
|
+
var getUserReportAnalyticsDailyReportCount = (payload) => apiPost(ENDPOINTS.report_daily_count, payload);
|
|
309
324
|
var getUserReportAnalyticsMonthlyReportAnalysis = (payload) => apiPost(ENDPOINTS.monthly_report_analysis, payload);
|
|
310
325
|
export {
|
|
326
|
+
UserReportAnalyticsDailyReportCountReportSchema,
|
|
311
327
|
UserReportAnalyticsMonthlyReportAnalysisSchema,
|
|
312
328
|
UserReportAnalyticsQuerySchema,
|
|
329
|
+
UserReportAnalyticsReportCountReportSchema,
|
|
313
330
|
UserReportAnalyticsSchema,
|
|
314
331
|
createUserReportAnalytics,
|
|
315
332
|
findUserReportAnalytics,
|
|
316
|
-
|
|
333
|
+
getUserReportAnalyticsDailyReportCount,
|
|
334
|
+
getUserReportAnalyticsMonthlyReportAnalysis,
|
|
335
|
+
getUserReportAnalyticsReportCount
|
|
317
336
|
};
|
|
@@ -2,6 +2,6 @@ import '../../core/BaseResponse.js';
|
|
|
2
2
|
import 'zod';
|
|
3
3
|
import '../../core/Enums.js';
|
|
4
4
|
import '../../user_organisation_service-4_J4l-fj.js';
|
|
5
|
-
export { U as UserBookmark,
|
|
5
|
+
export { U as UserBookmark, C as UserBookmarkSaveSelectionDTO, D as UserBookmarkSaveSelectionItemSchema, E as UserBookmarkSaveSelectionSchema, G as UserBookmarkSelectionQueryDTO, H as UserBookmarkSelectionQuerySchema, I as user_bookmark_get_selected_list, J as user_bookmark_get_selection_list, K as user_bookmark_save_selection } from '../master/bookmark/master_bookmark_page_service.js';
|
|
6
6
|
import '../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
|