vms-nest-prisma-api-document 978.0.0 → 979.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/user_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
- package/dist/services/core/cronjobs.service.d.ts +12 -12
- package/dist/services/core/external_api.service.d.ts +10 -10
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- package/dist/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/exclusive_feature_access.d.ts +3 -3
- package/dist/services/website/exclusive_feature_access.js +4 -4
- package/dist/services/website/faq_service.d.ts +1 -1
- package/dist/services/website/request_demo.service.d.ts +7 -7
- package/dist/services/website/request_demo.service.js +4 -4
- package/package.json +1 -1
|
@@ -22,15 +22,15 @@ declare const UserLoginAnalyticsSchema: z.ZodObject<{
|
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
user_id: string;
|
|
24
24
|
organisation_id: string;
|
|
25
|
-
login_from: LoginFrom;
|
|
26
25
|
country_id: string;
|
|
26
|
+
login_from: LoginFrom;
|
|
27
27
|
os_details: Record<string, any>;
|
|
28
28
|
ip_details: Record<string, any>;
|
|
29
29
|
}, {
|
|
30
30
|
user_id: string;
|
|
31
31
|
organisation_id: string;
|
|
32
|
-
login_from: LoginFrom;
|
|
33
32
|
country_id: string;
|
|
33
|
+
login_from: LoginFrom;
|
|
34
34
|
os_details?: Record<string, any> | undefined;
|
|
35
35
|
ip_details?: Record<string, any> | undefined;
|
|
36
36
|
}>;
|
|
@@ -48,11 +48,11 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
48
48
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
49
49
|
country_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
login_from: LoginFrom;
|
|
51
52
|
search: string;
|
|
52
53
|
paging: PAGING;
|
|
53
54
|
page_count: number;
|
|
54
55
|
page_index: number;
|
|
55
|
-
login_from: LoginFrom;
|
|
56
56
|
date_format_id: string;
|
|
57
57
|
time_zone_id: string;
|
|
58
58
|
user_ids: string[];
|
|
@@ -43,11 +43,11 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
|
|
|
43
43
|
user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
44
44
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
+
login_from: LoginFrom;
|
|
46
47
|
search: string;
|
|
47
48
|
paging: PAGING;
|
|
48
49
|
page_count: number;
|
|
49
50
|
page_index: number;
|
|
50
|
-
login_from: LoginFrom;
|
|
51
51
|
date_format_id: string;
|
|
52
52
|
time_zone_id: string;
|
|
53
53
|
user_ids: string[];
|
|
@@ -86,8 +86,10 @@ declare const CronMonitorQuerySchema: z.ZodObject<{
|
|
|
86
86
|
run_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof RunType>, "many">>>;
|
|
87
87
|
execution_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ExecutionStatus>, "many">>>;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
|
-
|
|
89
|
+
run_type: RunType[];
|
|
90
|
+
execution_status: ExecutionStatus[];
|
|
90
91
|
status: Status[];
|
|
92
|
+
is_enabled: YesNo[];
|
|
91
93
|
search: string;
|
|
92
94
|
paging: PAGING;
|
|
93
95
|
page_count: number;
|
|
@@ -108,13 +110,13 @@ declare const CronMonitorQuerySchema: z.ZodObject<{
|
|
|
108
110
|
include_master_data: YesNo;
|
|
109
111
|
date_format_id: string;
|
|
110
112
|
time_zone_id: string;
|
|
111
|
-
run_type: RunType[];
|
|
112
|
-
execution_status: ExecutionStatus[];
|
|
113
113
|
}, {
|
|
114
114
|
date_format_id: string;
|
|
115
115
|
time_zone_id: string;
|
|
116
|
-
|
|
116
|
+
run_type?: RunType[] | undefined;
|
|
117
|
+
execution_status?: ExecutionStatus[] | undefined;
|
|
117
118
|
status?: Status[] | undefined;
|
|
119
|
+
is_enabled?: YesNo[] | undefined;
|
|
118
120
|
search?: string | undefined;
|
|
119
121
|
paging?: PAGING | undefined;
|
|
120
122
|
page_count?: unknown;
|
|
@@ -133,8 +135,6 @@ declare const CronMonitorQuerySchema: z.ZodObject<{
|
|
|
133
135
|
direction: OrderBy;
|
|
134
136
|
}[] | undefined;
|
|
135
137
|
include_master_data?: YesNo | undefined;
|
|
136
|
-
run_type?: RunType[] | undefined;
|
|
137
|
-
execution_status?: ExecutionStatus[] | undefined;
|
|
138
138
|
}>;
|
|
139
139
|
type CronMonitorQueryDTO = z.infer<typeof CronMonitorQuerySchema>;
|
|
140
140
|
declare const CronJobLogQuerySchema: z.ZodObject<{
|
|
@@ -173,6 +173,9 @@ declare const CronJobLogQuerySchema: z.ZodObject<{
|
|
|
173
173
|
execution_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ExecutionStatus>, "many">>>;
|
|
174
174
|
is_latest_run: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
175
175
|
}, "strip", z.ZodTypeAny, {
|
|
176
|
+
run_type: RunType[];
|
|
177
|
+
execution_status: ExecutionStatus[];
|
|
178
|
+
is_latest_run: YesNo[];
|
|
176
179
|
status: Status[];
|
|
177
180
|
search: string;
|
|
178
181
|
paging: PAGING;
|
|
@@ -194,13 +197,13 @@ declare const CronJobLogQuerySchema: z.ZodObject<{
|
|
|
194
197
|
include_master_data: YesNo;
|
|
195
198
|
date_format_id: string;
|
|
196
199
|
time_zone_id: string;
|
|
197
|
-
run_type: RunType[];
|
|
198
|
-
execution_status: ExecutionStatus[];
|
|
199
|
-
is_latest_run: YesNo[];
|
|
200
200
|
cron_job_ids: string[];
|
|
201
201
|
}, {
|
|
202
202
|
date_format_id: string;
|
|
203
203
|
time_zone_id: string;
|
|
204
|
+
run_type?: RunType[] | undefined;
|
|
205
|
+
execution_status?: ExecutionStatus[] | undefined;
|
|
206
|
+
is_latest_run?: YesNo[] | undefined;
|
|
204
207
|
status?: Status[] | undefined;
|
|
205
208
|
search?: string | undefined;
|
|
206
209
|
paging?: PAGING | undefined;
|
|
@@ -220,9 +223,6 @@ declare const CronJobLogQuerySchema: z.ZodObject<{
|
|
|
220
223
|
direction: OrderBy;
|
|
221
224
|
}[] | undefined;
|
|
222
225
|
include_master_data?: YesNo | undefined;
|
|
223
|
-
run_type?: RunType[] | undefined;
|
|
224
|
-
execution_status?: ExecutionStatus[] | undefined;
|
|
225
|
-
is_latest_run?: YesNo[] | undefined;
|
|
226
226
|
cron_job_ids?: string[] | undefined;
|
|
227
227
|
}>;
|
|
228
228
|
type CronJobLogQueryDTO = z.infer<typeof CronJobLogQuerySchema>;
|
|
@@ -61,26 +61,26 @@ declare const ApiDataShareManagementSchema: z.ZodObject<{
|
|
|
61
61
|
allowed_ips: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
62
62
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
status: Status;
|
|
65
|
+
is_enabled: YesNo;
|
|
64
66
|
api_name: string;
|
|
65
67
|
vendor_name: string;
|
|
66
68
|
purpose: string;
|
|
67
69
|
description: string;
|
|
68
|
-
is_enabled: YesNo;
|
|
69
70
|
auth_type: APIAuthType;
|
|
70
71
|
api_key: string;
|
|
71
72
|
username: string;
|
|
72
73
|
password: string;
|
|
73
74
|
rate_limit_rpm: number;
|
|
74
75
|
allowed_ips: string[];
|
|
75
|
-
status: Status;
|
|
76
76
|
}, {
|
|
77
|
+
status: Status;
|
|
77
78
|
api_name: string;
|
|
78
79
|
vendor_name: string;
|
|
79
80
|
allowed_ips: string[];
|
|
80
|
-
|
|
81
|
+
is_enabled?: YesNo | undefined;
|
|
81
82
|
purpose?: string | undefined;
|
|
82
83
|
description?: string | undefined;
|
|
83
|
-
is_enabled?: YesNo | undefined;
|
|
84
84
|
auth_type?: APIAuthType | undefined;
|
|
85
85
|
api_key?: string | undefined;
|
|
86
86
|
username?: string | undefined;
|
|
@@ -123,9 +123,8 @@ declare const ApiDataShareManagementQuerySchema: z.ZodObject<{
|
|
|
123
123
|
is_enabled: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
124
124
|
auth_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof APIAuthType>, "many">>>;
|
|
125
125
|
}, "strip", z.ZodTypeAny, {
|
|
126
|
-
is_enabled: YesNo[];
|
|
127
|
-
auth_type: APIAuthType[];
|
|
128
126
|
status: Status[];
|
|
127
|
+
is_enabled: YesNo[];
|
|
129
128
|
search: string;
|
|
130
129
|
paging: PAGING;
|
|
131
130
|
page_count: number;
|
|
@@ -146,13 +145,13 @@ declare const ApiDataShareManagementQuerySchema: z.ZodObject<{
|
|
|
146
145
|
include_master_data: YesNo;
|
|
147
146
|
date_format_id: string;
|
|
148
147
|
time_zone_id: string;
|
|
148
|
+
auth_type: APIAuthType[];
|
|
149
149
|
api_data_share_ids: string[];
|
|
150
150
|
}, {
|
|
151
151
|
date_format_id: string;
|
|
152
152
|
time_zone_id: string;
|
|
153
|
-
is_enabled?: YesNo[] | undefined;
|
|
154
|
-
auth_type?: APIAuthType[] | undefined;
|
|
155
153
|
status?: Status[] | undefined;
|
|
154
|
+
is_enabled?: YesNo[] | undefined;
|
|
156
155
|
search?: string | undefined;
|
|
157
156
|
paging?: PAGING | undefined;
|
|
158
157
|
page_count?: unknown;
|
|
@@ -171,6 +170,7 @@ declare const ApiDataShareManagementQuerySchema: z.ZodObject<{
|
|
|
171
170
|
direction: OrderBy;
|
|
172
171
|
}[] | undefined;
|
|
173
172
|
include_master_data?: YesNo | undefined;
|
|
173
|
+
auth_type?: APIAuthType[] | undefined;
|
|
174
174
|
api_data_share_ids?: string[] | undefined;
|
|
175
175
|
}>;
|
|
176
176
|
type ApiDataShareManagementQueryDTO = z.infer<typeof ApiDataShareManagementQuerySchema>;
|
|
@@ -210,7 +210,6 @@ declare const ApiDataShareHitLogQuerySchema: z.ZodObject<{
|
|
|
210
210
|
is_auth_success: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
211
211
|
}, "strip", z.ZodTypeAny, {
|
|
212
212
|
status: Status[];
|
|
213
|
-
is_auth_success: YesNo[];
|
|
214
213
|
search: string;
|
|
215
214
|
paging: PAGING;
|
|
216
215
|
page_count: number;
|
|
@@ -231,13 +230,13 @@ declare const ApiDataShareHitLogQuerySchema: z.ZodObject<{
|
|
|
231
230
|
include_master_data: YesNo;
|
|
232
231
|
date_format_id: string;
|
|
233
232
|
time_zone_id: string;
|
|
233
|
+
is_auth_success: YesNo[];
|
|
234
234
|
api_data_share_ids: string[];
|
|
235
235
|
api_data_share_hit_log_ids: string[];
|
|
236
236
|
}, {
|
|
237
237
|
date_format_id: string;
|
|
238
238
|
time_zone_id: string;
|
|
239
239
|
status?: Status[] | undefined;
|
|
240
|
-
is_auth_success?: YesNo[] | undefined;
|
|
241
240
|
search?: string | undefined;
|
|
242
241
|
paging?: PAGING | undefined;
|
|
243
242
|
page_count?: unknown;
|
|
@@ -256,6 +255,7 @@ declare const ApiDataShareHitLogQuerySchema: z.ZodObject<{
|
|
|
256
255
|
direction: OrderBy;
|
|
257
256
|
}[] | undefined;
|
|
258
257
|
include_master_data?: YesNo | undefined;
|
|
258
|
+
is_auth_success?: YesNo[] | undefined;
|
|
259
259
|
api_data_share_ids?: string[] | undefined;
|
|
260
260
|
api_data_share_hit_log_ids?: string[] | undefined;
|
|
261
261
|
}>;
|
|
@@ -36,21 +36,21 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
|
|
|
36
36
|
vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
37
37
|
driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
db_group: string;
|
|
40
|
+
db_instance: string;
|
|
41
|
+
night_driving: NightDriving;
|
|
39
42
|
search: string;
|
|
40
43
|
paging: PAGING;
|
|
41
44
|
page_count: number;
|
|
42
45
|
page_index: number;
|
|
43
|
-
login_from: LoginFrom;
|
|
44
46
|
date_format_id: string;
|
|
45
47
|
time_zone_id: string;
|
|
48
|
+
login_from: LoginFrom;
|
|
46
49
|
organisation_id: string;
|
|
47
|
-
db_instance: string;
|
|
48
|
-
db_group: string;
|
|
49
50
|
vehicle_ids: string[];
|
|
50
51
|
from_date: string;
|
|
51
52
|
to_date: string;
|
|
52
53
|
time_slot: TimeSlot;
|
|
53
|
-
night_driving: NightDriving;
|
|
54
54
|
over_speed: OverSpeed;
|
|
55
55
|
utilization_km: number;
|
|
56
56
|
raw_data: YesNo;
|
|
@@ -58,21 +58,21 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
|
|
|
58
58
|
vehicle_summary: YesNo;
|
|
59
59
|
driver_summary: YesNo;
|
|
60
60
|
}, {
|
|
61
|
-
|
|
61
|
+
db_group: string;
|
|
62
|
+
db_instance: string;
|
|
62
63
|
date_format_id: string;
|
|
63
64
|
time_zone_id: string;
|
|
65
|
+
login_from: LoginFrom;
|
|
64
66
|
organisation_id: string;
|
|
65
|
-
db_instance: string;
|
|
66
|
-
db_group: string;
|
|
67
67
|
from_date: string;
|
|
68
68
|
to_date: string;
|
|
69
|
+
night_driving?: NightDriving | undefined;
|
|
69
70
|
search?: string | undefined;
|
|
70
71
|
paging?: PAGING | undefined;
|
|
71
72
|
page_count?: unknown;
|
|
72
73
|
page_index?: unknown;
|
|
73
74
|
vehicle_ids?: string[] | undefined;
|
|
74
75
|
time_slot?: TimeSlot | undefined;
|
|
75
|
-
night_driving?: NightDriving | undefined;
|
|
76
76
|
over_speed?: OverSpeed | undefined;
|
|
77
77
|
utilization_km?: unknown;
|
|
78
78
|
raw_data?: YesNo | undefined;
|
|
@@ -105,20 +105,20 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
|
|
|
105
105
|
vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
106
106
|
driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
|
+
db_group: string;
|
|
109
|
+
db_instance: string;
|
|
110
|
+
night_driving: NightDriving;
|
|
108
111
|
search: string;
|
|
109
112
|
paging: PAGING;
|
|
110
113
|
page_count: number;
|
|
111
114
|
page_index: number;
|
|
112
|
-
login_from: LoginFrom;
|
|
113
115
|
date_format_id: string;
|
|
114
116
|
time_zone_id: string;
|
|
117
|
+
login_from: LoginFrom;
|
|
115
118
|
organisation_id: string;
|
|
116
|
-
db_instance: string;
|
|
117
|
-
db_group: string;
|
|
118
119
|
from_date: string;
|
|
119
120
|
to_date: string;
|
|
120
121
|
time_slot: TimeSlot;
|
|
121
|
-
night_driving: NightDriving;
|
|
122
122
|
over_speed: OverSpeed;
|
|
123
123
|
utilization_km: number;
|
|
124
124
|
raw_data: YesNo;
|
|
@@ -127,20 +127,20 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
|
|
|
127
127
|
driver_summary: YesNo;
|
|
128
128
|
driver_ids: string[];
|
|
129
129
|
}, {
|
|
130
|
-
|
|
130
|
+
db_group: string;
|
|
131
|
+
db_instance: string;
|
|
131
132
|
date_format_id: string;
|
|
132
133
|
time_zone_id: string;
|
|
134
|
+
login_from: LoginFrom;
|
|
133
135
|
organisation_id: string;
|
|
134
|
-
db_instance: string;
|
|
135
|
-
db_group: string;
|
|
136
136
|
from_date: string;
|
|
137
137
|
to_date: string;
|
|
138
|
+
night_driving?: NightDriving | undefined;
|
|
138
139
|
search?: string | undefined;
|
|
139
140
|
paging?: PAGING | undefined;
|
|
140
141
|
page_count?: unknown;
|
|
141
142
|
page_index?: unknown;
|
|
142
143
|
time_slot?: TimeSlot | undefined;
|
|
143
|
-
night_driving?: NightDriving | undefined;
|
|
144
144
|
over_speed?: OverSpeed | undefined;
|
|
145
145
|
utilization_km?: unknown;
|
|
146
146
|
raw_data?: YesNo | undefined;
|
|
@@ -169,16 +169,16 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
169
169
|
interval_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
170
170
|
boolean_type: z.ZodType<BooleanType, z.ZodTypeDef, BooleanType>;
|
|
171
171
|
}, "strip", z.ZodTypeAny, {
|
|
172
|
+
db_group: string;
|
|
173
|
+
db_instance: string;
|
|
172
174
|
search: string;
|
|
173
175
|
paging: PAGING;
|
|
174
176
|
page_count: number;
|
|
175
177
|
page_index: number;
|
|
176
|
-
login_from: LoginFrom;
|
|
177
178
|
date_format_id: string;
|
|
178
179
|
time_zone_id: string;
|
|
180
|
+
login_from: LoginFrom;
|
|
179
181
|
organisation_id: string;
|
|
180
|
-
db_instance: string;
|
|
181
|
-
db_group: string;
|
|
182
182
|
vehicle_ids: string[];
|
|
183
183
|
from_date: string;
|
|
184
184
|
to_date: string;
|
|
@@ -186,12 +186,12 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
186
186
|
interval_seconds: number;
|
|
187
187
|
boolean_type: BooleanType;
|
|
188
188
|
}, {
|
|
189
|
-
|
|
189
|
+
db_group: string;
|
|
190
|
+
db_instance: string;
|
|
190
191
|
date_format_id: string;
|
|
191
192
|
time_zone_id: string;
|
|
193
|
+
login_from: LoginFrom;
|
|
192
194
|
organisation_id: string;
|
|
193
|
-
db_instance: string;
|
|
194
|
-
db_group: string;
|
|
195
195
|
from_date: string;
|
|
196
196
|
to_date: string;
|
|
197
197
|
gps_type: GPSType;
|
|
@@ -220,26 +220,26 @@ declare const MultipleVehicleLast24HoursReportSchema: z.ZodObject<{
|
|
|
220
220
|
utilization_km: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
221
221
|
is12am: z.ZodType<Is12AM, z.ZodTypeDef, Is12AM>;
|
|
222
222
|
}, "strip", z.ZodTypeAny, {
|
|
223
|
+
db_group: string;
|
|
224
|
+
db_instance: string;
|
|
223
225
|
search: string;
|
|
224
226
|
paging: PAGING;
|
|
225
227
|
page_count: number;
|
|
226
228
|
page_index: number;
|
|
227
|
-
login_from: LoginFrom;
|
|
228
229
|
date_format_id: string;
|
|
229
230
|
time_zone_id: string;
|
|
231
|
+
login_from: LoginFrom;
|
|
230
232
|
organisation_id: string;
|
|
231
|
-
db_instance: string;
|
|
232
|
-
db_group: string;
|
|
233
233
|
vehicle_ids: string[];
|
|
234
234
|
utilization_km: number;
|
|
235
235
|
is12am: Is12AM;
|
|
236
236
|
}, {
|
|
237
|
-
|
|
237
|
+
db_group: string;
|
|
238
|
+
db_instance: string;
|
|
238
239
|
date_format_id: string;
|
|
239
240
|
time_zone_id: string;
|
|
241
|
+
login_from: LoginFrom;
|
|
240
242
|
organisation_id: string;
|
|
241
|
-
db_instance: string;
|
|
242
|
-
db_group: string;
|
|
243
243
|
is12am: Is12AM;
|
|
244
244
|
search?: string | undefined;
|
|
245
245
|
paging?: PAGING | undefined;
|
|
@@ -266,27 +266,27 @@ declare const SingleVehicleReportSchema: z.ZodObject<{
|
|
|
266
266
|
to_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
267
267
|
interval_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
268
268
|
}, "strip", z.ZodTypeAny, {
|
|
269
|
+
db_group: string;
|
|
270
|
+
db_instance: string;
|
|
269
271
|
search: string;
|
|
270
272
|
paging: PAGING;
|
|
271
273
|
page_count: number;
|
|
272
274
|
page_index: number;
|
|
273
|
-
login_from: LoginFrom;
|
|
274
275
|
date_format_id: string;
|
|
275
276
|
time_zone_id: string;
|
|
277
|
+
login_from: LoginFrom;
|
|
276
278
|
organisation_id: string;
|
|
277
|
-
db_instance: string;
|
|
278
|
-
db_group: string;
|
|
279
279
|
interval_seconds: number;
|
|
280
280
|
vehicle_id: string;
|
|
281
281
|
from_date_time: string;
|
|
282
282
|
to_date_time: string;
|
|
283
283
|
}, {
|
|
284
|
-
|
|
284
|
+
db_group: string;
|
|
285
|
+
db_instance: string;
|
|
285
286
|
date_format_id: string;
|
|
286
287
|
time_zone_id: string;
|
|
288
|
+
login_from: LoginFrom;
|
|
287
289
|
organisation_id: string;
|
|
288
|
-
db_instance: string;
|
|
289
|
-
db_group: string;
|
|
290
290
|
vehicle_id: string;
|
|
291
291
|
from_date_time: string;
|
|
292
292
|
to_date_time: string;
|
|
@@ -311,24 +311,24 @@ declare const VehicleDashboardSummaryQuerySchema: z.ZodObject<{
|
|
|
311
311
|
db_group: z.ZodEffects<z.ZodString, string, string>;
|
|
312
312
|
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
313
313
|
}, "strip", z.ZodTypeAny, {
|
|
314
|
+
db_group: string;
|
|
315
|
+
db_instance: string;
|
|
314
316
|
search: string;
|
|
315
317
|
paging: PAGING;
|
|
316
318
|
page_count: number;
|
|
317
319
|
page_index: number;
|
|
318
|
-
login_from: LoginFrom;
|
|
319
320
|
date_format_id: string;
|
|
320
321
|
time_zone_id: string;
|
|
322
|
+
login_from: LoginFrom;
|
|
321
323
|
organisation_id: string;
|
|
322
|
-
db_instance: string;
|
|
323
|
-
db_group: string;
|
|
324
324
|
vehicle_id: string;
|
|
325
325
|
}, {
|
|
326
|
-
|
|
326
|
+
db_group: string;
|
|
327
|
+
db_instance: string;
|
|
327
328
|
date_format_id: string;
|
|
328
329
|
time_zone_id: string;
|
|
330
|
+
login_from: LoginFrom;
|
|
329
331
|
organisation_id: string;
|
|
330
|
-
db_instance: string;
|
|
331
|
-
db_group: string;
|
|
332
332
|
vehicle_id: string;
|
|
333
333
|
search?: string | undefined;
|
|
334
334
|
paging?: PAGING | undefined;
|
|
@@ -358,16 +358,16 @@ declare const AlertReportSchema: z.ZodObject<{
|
|
|
358
358
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
359
359
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
360
360
|
}, "strip", z.ZodTypeAny, {
|
|
361
|
+
db_group: string;
|
|
362
|
+
db_instance: string;
|
|
361
363
|
search: string;
|
|
362
364
|
paging: PAGING;
|
|
363
365
|
page_count: number;
|
|
364
366
|
page_index: number;
|
|
365
|
-
login_from: LoginFrom;
|
|
366
367
|
date_format_id: string;
|
|
367
368
|
time_zone_id: string;
|
|
369
|
+
login_from: LoginFrom;
|
|
368
370
|
organisation_id: string;
|
|
369
|
-
db_instance: string;
|
|
370
|
-
db_group: string;
|
|
371
371
|
vehicle_ids: string[];
|
|
372
372
|
from_date: string;
|
|
373
373
|
to_date: string;
|
|
@@ -378,12 +378,12 @@ declare const AlertReportSchema: z.ZodObject<{
|
|
|
378
378
|
alert_types: AlertType[];
|
|
379
379
|
alert_sub_types: AlertSubType[];
|
|
380
380
|
}, {
|
|
381
|
-
|
|
381
|
+
db_group: string;
|
|
382
|
+
db_instance: string;
|
|
382
383
|
date_format_id: string;
|
|
383
384
|
time_zone_id: string;
|
|
385
|
+
login_from: LoginFrom;
|
|
384
386
|
organisation_id: string;
|
|
385
|
-
db_instance: string;
|
|
386
|
-
db_group: string;
|
|
387
387
|
from_date: string;
|
|
388
388
|
to_date: string;
|
|
389
389
|
search?: string | undefined;
|
|
@@ -31,6 +31,7 @@ declare const ContactUsDetailSchema: z.ZodObject<{
|
|
|
31
31
|
telegram_chat_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
32
32
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
status: Status;
|
|
34
35
|
mobile_number: string;
|
|
35
36
|
email: string;
|
|
36
37
|
facebook_link: string;
|
|
@@ -41,7 +42,6 @@ declare const ContactUsDetailSchema: z.ZodObject<{
|
|
|
41
42
|
pinterest_link: string;
|
|
42
43
|
whats_app_chat_url: string;
|
|
43
44
|
telegram_chat_url: string;
|
|
44
|
-
status: Status;
|
|
45
45
|
}, {
|
|
46
46
|
status: Status;
|
|
47
47
|
mobile_number?: string | undefined;
|
|
@@ -117,11 +117,11 @@ declare const ExclusiveFeatureAccessQuerySchema: z.ZodObject<{
|
|
|
117
117
|
exclusive_feature_access_ids?: string[] | undefined;
|
|
118
118
|
}>;
|
|
119
119
|
type ExclusiveFeatureAccessQueryDTO = z.infer<typeof ExclusiveFeatureAccessQuerySchema>;
|
|
120
|
-
declare const
|
|
121
|
-
declare const
|
|
120
|
+
declare const toExclusiveFeatureAccessPayload: (row: ExclusiveFeatureAccess) => ExclusiveFeatureAccessDTO;
|
|
121
|
+
declare const newExclusiveFeatureAccessPayload: () => ExclusiveFeatureAccessDTO;
|
|
122
122
|
declare const findExclusiveFeatureAccess: (data: ExclusiveFeatureAccessQueryDTO) => Promise<FBR<ExclusiveFeatureAccess[]>>;
|
|
123
123
|
declare const createDemo: (data: ExclusiveFeatureAccessDTO) => Promise<SBR>;
|
|
124
124
|
declare const updateExclusiveFeatureAccess: (id: string, data: ExclusiveFeatureAccessDTO) => Promise<SBR>;
|
|
125
125
|
declare const deleteExclusiveFeatureAccess: (id: string) => Promise<SBR>;
|
|
126
126
|
|
|
127
|
-
export { type ExclusiveFeatureAccess, type ExclusiveFeatureAccessDTO, type ExclusiveFeatureAccessQueryDTO, ExclusiveFeatureAccessQuerySchema, ExclusiveFeatureAccessSchema, createDemo, deleteExclusiveFeatureAccess, findExclusiveFeatureAccess,
|
|
127
|
+
export { type ExclusiveFeatureAccess, type ExclusiveFeatureAccessDTO, type ExclusiveFeatureAccessQueryDTO, ExclusiveFeatureAccessQuerySchema, ExclusiveFeatureAccessSchema, createDemo, deleteExclusiveFeatureAccess, findExclusiveFeatureAccess, newExclusiveFeatureAccessPayload, toExclusiveFeatureAccessPayload, updateExclusiveFeatureAccess };
|
|
@@ -269,7 +269,7 @@ var ExclusiveFeatureAccessQuerySchema = BaseQuerySchema.extend({
|
|
|
269
269
|
organisation_ids: multi_select_optional("UserOrganisation")
|
|
270
270
|
// Multi-Selection -> UserOrganisation
|
|
271
271
|
});
|
|
272
|
-
var
|
|
272
|
+
var toExclusiveFeatureAccessPayload = (row) => ({
|
|
273
273
|
subject: row.subject || "",
|
|
274
274
|
message: row.message || "",
|
|
275
275
|
// Relations - Parent
|
|
@@ -277,7 +277,7 @@ var toFaqPayload = (row) => ({
|
|
|
277
277
|
// Metadata
|
|
278
278
|
status: row.status
|
|
279
279
|
});
|
|
280
|
-
var
|
|
280
|
+
var newExclusiveFeatureAccessPayload = () => ({
|
|
281
281
|
subject: "",
|
|
282
282
|
message: "",
|
|
283
283
|
// Relations - Parent
|
|
@@ -303,7 +303,7 @@ export {
|
|
|
303
303
|
createDemo,
|
|
304
304
|
deleteExclusiveFeatureAccess,
|
|
305
305
|
findExclusiveFeatureAccess,
|
|
306
|
-
|
|
307
|
-
|
|
306
|
+
newExclusiveFeatureAccessPayload,
|
|
307
|
+
toExclusiveFeatureAccessPayload,
|
|
308
308
|
updateExclusiveFeatureAccess
|
|
309
309
|
};
|
|
@@ -17,10 +17,10 @@ declare const FaqSchema: z.ZodObject<{
|
|
|
17
17
|
faq_content: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
18
18
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
status: Status;
|
|
21
20
|
faq_section: string;
|
|
22
21
|
faq_header: string;
|
|
23
22
|
faq_content: string;
|
|
23
|
+
status: Status;
|
|
24
24
|
}, {
|
|
25
25
|
status: Status;
|
|
26
26
|
faq_section?: string | undefined;
|
|
@@ -25,10 +25,10 @@ declare const RequestDemoSchema: z.ZodObject<{
|
|
|
25
25
|
admin_view: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
|
|
26
26
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
|
-
email: string;
|
|
29
28
|
status: Status;
|
|
30
29
|
message: string;
|
|
31
30
|
name: string;
|
|
31
|
+
email: string;
|
|
32
32
|
mobile: string;
|
|
33
33
|
admin_message: string;
|
|
34
34
|
city: string;
|
|
@@ -37,8 +37,8 @@ declare const RequestDemoSchema: z.ZodObject<{
|
|
|
37
37
|
status: Status;
|
|
38
38
|
name: string;
|
|
39
39
|
admin_view: YesNo;
|
|
40
|
-
email?: string | undefined;
|
|
41
40
|
message?: string | undefined;
|
|
41
|
+
email?: string | undefined;
|
|
42
42
|
mobile?: string | undefined;
|
|
43
43
|
admin_message?: string | undefined;
|
|
44
44
|
city?: string | undefined;
|
|
@@ -134,25 +134,25 @@ declare const RequestDemoCreateSchema: z.ZodObject<{
|
|
|
134
134
|
message: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
135
135
|
city: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
136
136
|
}, "strip", z.ZodTypeAny, {
|
|
137
|
-
email: string;
|
|
138
137
|
message: string;
|
|
139
138
|
name: string;
|
|
139
|
+
email: string;
|
|
140
140
|
mobile: string;
|
|
141
141
|
city: string;
|
|
142
142
|
}, {
|
|
143
143
|
name: string;
|
|
144
|
-
email?: string | undefined;
|
|
145
144
|
message?: string | undefined;
|
|
145
|
+
email?: string | undefined;
|
|
146
146
|
mobile?: string | undefined;
|
|
147
147
|
city?: string | undefined;
|
|
148
148
|
}>;
|
|
149
149
|
type RequestDemoCreateDTO = z.infer<typeof RequestDemoCreateSchema>;
|
|
150
|
-
declare const
|
|
151
|
-
declare const
|
|
150
|
+
declare const todRequestDemoPayload: (row: RequestDemo) => RequestDemoDTO;
|
|
151
|
+
declare const newdRequestDemoPayload: () => RequestDemoDTO;
|
|
152
152
|
declare const findRequestDemo: (data: RequestDemoQueryDTO) => Promise<FBR<RequestDemo[]>>;
|
|
153
153
|
declare const createDemo: (data: RequestDemoDTO) => Promise<SBR>;
|
|
154
154
|
declare const updateRequestDemo: (id: string, data: RequestDemoDTO) => Promise<SBR>;
|
|
155
155
|
declare const deleteRequestDemo: (id: string) => Promise<SBR>;
|
|
156
156
|
declare const createRequestDemo: (data: RequestDemoCreateDTO) => Promise<FBR<RequestDemo[]>>;
|
|
157
157
|
|
|
158
|
-
export { type RequestDemo, type RequestDemoCreateDTO, RequestDemoCreateSchema, type RequestDemoDTO, type RequestDemoQueryDTO, RequestDemoQuerySchema, RequestDemoSchema, createDemo, createRequestDemo, deleteRequestDemo, findRequestDemo,
|
|
158
|
+
export { type RequestDemo, type RequestDemoCreateDTO, RequestDemoCreateSchema, type RequestDemoDTO, type RequestDemoQueryDTO, RequestDemoQuerySchema, RequestDemoSchema, createDemo, createRequestDemo, deleteRequestDemo, findRequestDemo, newdRequestDemoPayload, todRequestDemoPayload, updateRequestDemo };
|
|
@@ -276,7 +276,7 @@ var RequestDemoCreateSchema = z3.object({
|
|
|
276
276
|
message: stringOptional("Message", 0, 500),
|
|
277
277
|
city: stringOptional("City", 0, 100)
|
|
278
278
|
});
|
|
279
|
-
var
|
|
279
|
+
var todRequestDemoPayload = (row) => ({
|
|
280
280
|
name: row.name || "",
|
|
281
281
|
mobile: row.mobile || "",
|
|
282
282
|
email: row.email || "",
|
|
@@ -288,7 +288,7 @@ var toFaqPayload = (row) => ({
|
|
|
288
288
|
// Metadata
|
|
289
289
|
status: row.status
|
|
290
290
|
});
|
|
291
|
-
var
|
|
291
|
+
var newdRequestDemoPayload = () => ({
|
|
292
292
|
name: "",
|
|
293
293
|
mobile: "",
|
|
294
294
|
email: "",
|
|
@@ -323,7 +323,7 @@ export {
|
|
|
323
323
|
createRequestDemo,
|
|
324
324
|
deleteRequestDemo,
|
|
325
325
|
findRequestDemo,
|
|
326
|
-
|
|
327
|
-
|
|
326
|
+
newdRequestDemoPayload,
|
|
327
|
+
todRequestDemoPayload,
|
|
328
328
|
updateRequestDemo
|
|
329
329
|
};
|
package/package.json
CHANGED