vms-nest-prisma-api-document 65.0.0 → 75.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/gps/features/gps_live_track_share_link_service.d.ts +13 -56
- package/dist/services/gps/features/gps_live_track_share_link_service.js +8 -26
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +17 -52
- package/dist/services/gps/features/gps_track_history_share_link_service.js +12 -23
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- package/dist/services/master/main/master_main_eway_bill_provider_service.d.ts +2 -2
- package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
- package/dist/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/static_pages_service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LinkType, LinkStatus, Status, ShareChannel, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
|
-
import { FBR, SBR } from '../../../core/BaseResponse.js';
|
|
2
|
+
import { FBR, BR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-DqZC6EYi.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
@@ -48,17 +48,17 @@ declare const GPSLiveTrackShareLinkNotificationSchema: z.ZodObject<{
|
|
|
48
48
|
cc_email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
49
49
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
gps_live_track_share_link_id: string;
|
|
52
51
|
status: Status;
|
|
53
52
|
organisation_id: string;
|
|
54
53
|
share_channels: ShareChannel.Email[];
|
|
55
54
|
mobile_numbers: string;
|
|
56
55
|
email_ids: string;
|
|
57
56
|
cc_email_ids: string;
|
|
58
|
-
}, {
|
|
59
57
|
gps_live_track_share_link_id: string;
|
|
58
|
+
}, {
|
|
60
59
|
status: Status;
|
|
61
60
|
organisation_id: string;
|
|
61
|
+
gps_live_track_share_link_id: string;
|
|
62
62
|
share_channels?: ShareChannel.Email[] | undefined;
|
|
63
63
|
mobile_numbers?: string | undefined;
|
|
64
64
|
email_ids?: string | undefined;
|
|
@@ -71,79 +71,36 @@ declare const GPSLiveTrackShareLinkSchema: z.ZodObject<{
|
|
|
71
71
|
expire_milliseconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
72
72
|
link_status: z.ZodType<LinkStatus, z.ZodTypeDef, LinkStatus>;
|
|
73
73
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
74
|
-
GPSLiveTrackShareLinkNotification: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
75
|
-
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
76
|
-
gps_live_track_share_link_id: z.ZodEffects<z.ZodString, string, string>;
|
|
77
|
-
share_channels: z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof ShareChannel>, "many">>;
|
|
78
|
-
mobile_numbers: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
79
|
-
email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
80
|
-
cc_email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
81
|
-
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
82
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
83
|
-
gps_live_track_share_link_id: string;
|
|
84
|
-
status: Status;
|
|
85
|
-
organisation_id: string;
|
|
86
|
-
share_channels: ShareChannel.Email[];
|
|
87
|
-
mobile_numbers: string;
|
|
88
|
-
email_ids: string;
|
|
89
|
-
cc_email_ids: string;
|
|
90
|
-
}, {
|
|
91
|
-
gps_live_track_share_link_id: string;
|
|
92
|
-
status: Status;
|
|
93
|
-
organisation_id: string;
|
|
94
|
-
share_channels?: ShareChannel.Email[] | undefined;
|
|
95
|
-
mobile_numbers?: string | undefined;
|
|
96
|
-
email_ids?: string | undefined;
|
|
97
|
-
cc_email_ids?: string | undefined;
|
|
98
|
-
}>, "many">>>;
|
|
99
74
|
}, "strip", z.ZodTypeAny, {
|
|
100
75
|
link_status: LinkStatus;
|
|
101
76
|
status: Status;
|
|
102
77
|
organisation_id: string;
|
|
103
78
|
vehicle_id: string;
|
|
104
79
|
expire_milliseconds: number;
|
|
105
|
-
GPSLiveTrackShareLinkNotification: {
|
|
106
|
-
gps_live_track_share_link_id: string;
|
|
107
|
-
status: Status;
|
|
108
|
-
organisation_id: string;
|
|
109
|
-
share_channels: ShareChannel.Email[];
|
|
110
|
-
mobile_numbers: string;
|
|
111
|
-
email_ids: string;
|
|
112
|
-
cc_email_ids: string;
|
|
113
|
-
}[];
|
|
114
80
|
}, {
|
|
115
81
|
link_status: LinkStatus;
|
|
116
82
|
status: Status;
|
|
117
83
|
organisation_id: string;
|
|
118
84
|
vehicle_id: string;
|
|
119
85
|
expire_milliseconds?: unknown;
|
|
120
|
-
GPSLiveTrackShareLinkNotification?: {
|
|
121
|
-
gps_live_track_share_link_id: string;
|
|
122
|
-
status: Status;
|
|
123
|
-
organisation_id: string;
|
|
124
|
-
share_channels?: ShareChannel.Email[] | undefined;
|
|
125
|
-
mobile_numbers?: string | undefined;
|
|
126
|
-
email_ids?: string | undefined;
|
|
127
|
-
cc_email_ids?: string | undefined;
|
|
128
|
-
}[] | undefined;
|
|
129
86
|
}>;
|
|
130
87
|
type GPSLiveTrackShareLinkDTO = z.infer<typeof GPSLiveTrackShareLinkSchema>;
|
|
131
|
-
declare const
|
|
88
|
+
declare const GPSLiveTrackShareLinkUpdateExpiryTimeSchema: z.ZodObject<{
|
|
132
89
|
expire_milliseconds: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
133
90
|
}, "strip", z.ZodTypeAny, {
|
|
134
91
|
expire_milliseconds: number;
|
|
135
92
|
}, {
|
|
136
93
|
expire_milliseconds?: unknown;
|
|
137
94
|
}>;
|
|
138
|
-
type
|
|
139
|
-
declare const
|
|
95
|
+
type GPSLiveTrackShareLinkUpdateExpiryTimeDTO = z.infer<typeof GPSLiveTrackShareLinkUpdateExpiryTimeSchema>;
|
|
96
|
+
declare const GPSLiveTrackShareLinkUpdateLinkStatusSchema: z.ZodObject<{
|
|
140
97
|
link_status: z.ZodType<LinkStatus, z.ZodTypeDef, LinkStatus>;
|
|
141
98
|
}, "strip", z.ZodTypeAny, {
|
|
142
99
|
link_status: LinkStatus;
|
|
143
100
|
}, {
|
|
144
101
|
link_status: LinkStatus;
|
|
145
102
|
}>;
|
|
146
|
-
type
|
|
103
|
+
type GPSLiveTrackShareLinkUpdateLinkStatusDTO = z.infer<typeof GPSLiveTrackShareLinkUpdateLinkStatusSchema>;
|
|
147
104
|
declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
148
105
|
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
149
106
|
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
@@ -182,6 +139,7 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
|
182
139
|
}, "strip", z.ZodTypeAny, {
|
|
183
140
|
link_status: LinkStatus[];
|
|
184
141
|
status: Status[];
|
|
142
|
+
time_zone_id: string;
|
|
185
143
|
search: string;
|
|
186
144
|
paging: PAGING;
|
|
187
145
|
page_count: number;
|
|
@@ -201,13 +159,12 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
|
201
159
|
}[];
|
|
202
160
|
include_master_data: YesNo;
|
|
203
161
|
date_format_id: string;
|
|
204
|
-
time_zone_id: string;
|
|
205
162
|
organisation_ids: string[];
|
|
206
163
|
vehicle_ids: string[];
|
|
207
164
|
gps_live_track_share_link_ids: string[];
|
|
208
165
|
}, {
|
|
209
|
-
date_format_id: string;
|
|
210
166
|
time_zone_id: string;
|
|
167
|
+
date_format_id: string;
|
|
211
168
|
link_status?: LinkStatus[] | undefined;
|
|
212
169
|
status?: Status[] | undefined;
|
|
213
170
|
search?: string | undefined;
|
|
@@ -236,10 +193,10 @@ type GPSLiveTrackShareLinkQueryDTO = z.infer<typeof GPSLiveTrackShareLinkQuerySc
|
|
|
236
193
|
declare const toGPSLiveTrackShareLinkPayload: (data: GPSLiveTrackShareLink) => GPSLiveTrackShareLinkDTO;
|
|
237
194
|
declare const newGPSLiveTrackShareLinkPayload: () => GPSLiveTrackShareLinkDTO;
|
|
238
195
|
declare const findGPSLiveTrackShareLink: (data: GPSLiveTrackShareLinkQueryDTO) => Promise<FBR<GPSLiveTrackShareLink[]>>;
|
|
239
|
-
declare const createGPSLiveTrackShareLink: (data: GPSLiveTrackShareLinkDTO) => Promise<
|
|
240
|
-
declare const extendGPSLiveTrackLinkTime: (id: string, data:
|
|
241
|
-
declare const updateGPSLiveTrackLinkStatus: (id: string, data:
|
|
196
|
+
declare const createGPSLiveTrackShareLink: (data: GPSLiveTrackShareLinkDTO) => Promise<BR<GPSLiveTrackShareLink>>;
|
|
197
|
+
declare const extendGPSLiveTrackLinkTime: (id: string, data: GPSLiveTrackShareLinkUpdateExpiryTimeDTO) => Promise<SBR>;
|
|
198
|
+
declare const updateGPSLiveTrackLinkStatus: (id: string, data: GPSLiveTrackShareLinkUpdateLinkStatusDTO) => Promise<SBR>;
|
|
242
199
|
declare const deleteGPSLiveTrackShareLink: (id: string) => Promise<SBR>;
|
|
243
200
|
declare const createGPSLiveTrackShareLinkNotification: (data: GPSLiveTrackShareLinkNotificationDTO) => Promise<SBR>;
|
|
244
201
|
|
|
245
|
-
export { type GPSLiveTrackShareLink, type GPSLiveTrackShareLinkDTO, type GPSLiveTrackShareLinkNotification, type GPSLiveTrackShareLinkNotificationDTO, GPSLiveTrackShareLinkNotificationSchema, type GPSLiveTrackShareLinkQueryDTO, GPSLiveTrackShareLinkQuerySchema, GPSLiveTrackShareLinkSchema, type
|
|
202
|
+
export { type GPSLiveTrackShareLink, type GPSLiveTrackShareLinkDTO, type GPSLiveTrackShareLinkNotification, type GPSLiveTrackShareLinkNotificationDTO, GPSLiveTrackShareLinkNotificationSchema, type GPSLiveTrackShareLinkQueryDTO, GPSLiveTrackShareLinkQuerySchema, GPSLiveTrackShareLinkSchema, type GPSLiveTrackShareLinkUpdateExpiryTimeDTO, GPSLiveTrackShareLinkUpdateExpiryTimeSchema, type GPSLiveTrackShareLinkUpdateLinkStatusDTO, GPSLiveTrackShareLinkUpdateLinkStatusSchema, createGPSLiveTrackShareLink, createGPSLiveTrackShareLinkNotification, deleteGPSLiveTrackShareLink, extendGPSLiveTrackLinkTime, findGPSLiveTrackShareLink, newGPSLiveTrackShareLinkPayload, toGPSLiveTrackShareLinkPayload, updateGPSLiveTrackLinkStatus };
|
|
@@ -132,18 +132,6 @@ var enumArrayOptional = (fieldName, enumType, defaultValue = getAllEnums(enumTyp
|
|
|
132
132
|
return schema.optional().default(() => defaultValue);
|
|
133
133
|
};
|
|
134
134
|
var dynamicJsonSchema = (fieldName, defaultValue = {}) => z.record(z.any()).optional().default(() => defaultValue);
|
|
135
|
-
var nestedArrayOfObjectsOptional = (fieldName, schema, defaultValue = [], min = 0, max) => {
|
|
136
|
-
let arraySchema = z.array(schema, {
|
|
137
|
-
invalid_type_error: `${fieldName} must be an array of objects.`
|
|
138
|
-
}).min(min, `${fieldName} must contain at least ${min} items.`);
|
|
139
|
-
if (max !== void 0) {
|
|
140
|
-
arraySchema = arraySchema.max(
|
|
141
|
-
max,
|
|
142
|
-
`${fieldName} must contain at most ${max} items.`
|
|
143
|
-
);
|
|
144
|
-
}
|
|
145
|
-
return arraySchema.optional().default(() => defaultValue);
|
|
146
|
-
};
|
|
147
135
|
var single_select_mandatory = (fieldName) => {
|
|
148
136
|
const schema = z.string().trim().nonempty(`Please select ${fieldName}.`).transform(handleNullOrUndefined);
|
|
149
137
|
return schema;
|
|
@@ -307,6 +295,7 @@ var GPSLiveTrackShareLinkNotificationSchema = z3.object({
|
|
|
307
295
|
organisation_id: single_select_optional("UserOrganisation"),
|
|
308
296
|
// ✅ Single-Selection -> UserOrganisation
|
|
309
297
|
gps_live_track_share_link_id: single_select_optional("GPSLiveTrackShareLink"),
|
|
298
|
+
// ✅ Single-Selection -> GPSLiveTrackShareLink
|
|
310
299
|
share_channels: enumArrayMandatory(
|
|
311
300
|
"Share Channels",
|
|
312
301
|
ShareChannel,
|
|
@@ -322,17 +311,12 @@ var GPSLiveTrackShareLinkSchema = z3.object({
|
|
|
322
311
|
vehicle_id: single_select_mandatory("Vehicle ID"),
|
|
323
312
|
expire_milliseconds: numberOptional("Expire Milliseconds"),
|
|
324
313
|
link_status: enumMandatory("Link Status", LinkStatus, "Active" /* Active */),
|
|
325
|
-
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
326
|
-
GPSLiveTrackShareLinkNotification: nestedArrayOfObjectsOptional(
|
|
327
|
-
"GPSLiveTrackShareLinkNotification",
|
|
328
|
-
GPSLiveTrackShareLinkNotificationSchema,
|
|
329
|
-
[]
|
|
330
|
-
)
|
|
314
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
331
315
|
});
|
|
332
|
-
var
|
|
316
|
+
var GPSLiveTrackShareLinkUpdateExpiryTimeSchema = z3.object({
|
|
333
317
|
expire_milliseconds: numberMandatory("Expire Milliseconds")
|
|
334
318
|
});
|
|
335
|
-
var
|
|
319
|
+
var GPSLiveTrackShareLinkUpdateLinkStatusSchema = z3.object({
|
|
336
320
|
link_status: enumMandatory("Link Status", LinkStatus, "Active" /* Active */)
|
|
337
321
|
});
|
|
338
322
|
var GPSLiveTrackShareLinkQuerySchema = BaseQuerySchema.extend({
|
|
@@ -353,16 +337,14 @@ var toGPSLiveTrackShareLinkPayload = (data) => ({
|
|
|
353
337
|
vehicle_id: data.vehicle_id,
|
|
354
338
|
expire_milliseconds: 0,
|
|
355
339
|
link_status: data.link_status,
|
|
356
|
-
status: data.status
|
|
357
|
-
GPSLiveTrackShareLinkNotification: []
|
|
340
|
+
status: data.status
|
|
358
341
|
});
|
|
359
342
|
var newGPSLiveTrackShareLinkPayload = () => ({
|
|
360
343
|
organisation_id: "",
|
|
361
344
|
vehicle_id: "",
|
|
362
345
|
expire_milliseconds: 0,
|
|
363
346
|
link_status: "Active" /* Active */,
|
|
364
|
-
status: "Active" /* Active
|
|
365
|
-
GPSLiveTrackShareLinkNotification: []
|
|
347
|
+
status: "Active" /* Active */
|
|
366
348
|
});
|
|
367
349
|
var findGPSLiveTrackShareLink = async (data) => {
|
|
368
350
|
return apiPost(ENDPOINTS.find, data);
|
|
@@ -386,8 +368,8 @@ export {
|
|
|
386
368
|
GPSLiveTrackShareLinkNotificationSchema,
|
|
387
369
|
GPSLiveTrackShareLinkQuerySchema,
|
|
388
370
|
GPSLiveTrackShareLinkSchema,
|
|
389
|
-
|
|
390
|
-
|
|
371
|
+
GPSLiveTrackShareLinkUpdateExpiryTimeSchema,
|
|
372
|
+
GPSLiveTrackShareLinkUpdateLinkStatusSchema,
|
|
391
373
|
createGPSLiveTrackShareLink,
|
|
392
374
|
createGPSLiveTrackShareLinkNotification,
|
|
393
375
|
deleteGPSLiveTrackShareLink,
|
|
@@ -48,17 +48,17 @@ declare const GPSTrackHistoryShareLinkNotificationSchema: z.ZodObject<{
|
|
|
48
48
|
cc_email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
49
49
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
gps_track_history_share_link_id: string;
|
|
51
52
|
status: Status;
|
|
52
53
|
organisation_id: string;
|
|
53
54
|
share_channels: ShareChannel.Email[];
|
|
54
55
|
mobile_numbers: string;
|
|
55
56
|
email_ids: string;
|
|
56
57
|
cc_email_ids: string;
|
|
57
|
-
gps_track_history_share_link_id: string;
|
|
58
58
|
}, {
|
|
59
|
+
gps_track_history_share_link_id: string;
|
|
59
60
|
status: Status;
|
|
60
61
|
organisation_id: string;
|
|
61
|
-
gps_track_history_share_link_id: string;
|
|
62
62
|
share_channels?: ShareChannel.Email[] | undefined;
|
|
63
63
|
mobile_numbers?: string | undefined;
|
|
64
64
|
email_ids?: string | undefined;
|
|
@@ -73,67 +73,32 @@ declare const GPSTrackHistoryShareLinkSchema: z.ZodObject<{
|
|
|
73
73
|
link_status: z.ZodType<TrackHistoryLinkStatus, z.ZodTypeDef, TrackHistoryLinkStatus>;
|
|
74
74
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
75
75
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
76
|
-
GPSTrackHistoryShareLinkNotification: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
77
|
-
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
78
|
-
gps_track_history_share_link_id: z.ZodEffects<z.ZodString, string, string>;
|
|
79
|
-
share_channels: z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof ShareChannel>, "many">>;
|
|
80
|
-
mobile_numbers: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
81
|
-
email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
82
|
-
cc_email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
83
|
-
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
84
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
85
|
-
status: Status;
|
|
86
|
-
organisation_id: string;
|
|
87
|
-
share_channels: ShareChannel.Email[];
|
|
88
|
-
mobile_numbers: string;
|
|
89
|
-
email_ids: string;
|
|
90
|
-
cc_email_ids: string;
|
|
91
|
-
gps_track_history_share_link_id: string;
|
|
92
|
-
}, {
|
|
93
|
-
status: Status;
|
|
94
|
-
organisation_id: string;
|
|
95
|
-
gps_track_history_share_link_id: string;
|
|
96
|
-
share_channels?: ShareChannel.Email[] | undefined;
|
|
97
|
-
mobile_numbers?: string | undefined;
|
|
98
|
-
email_ids?: string | undefined;
|
|
99
|
-
cc_email_ids?: string | undefined;
|
|
100
|
-
}>, "many">>>;
|
|
101
76
|
}, "strip", z.ZodTypeAny, {
|
|
77
|
+
from_date_time: string;
|
|
78
|
+
to_date_time: string;
|
|
102
79
|
link_status: TrackHistoryLinkStatus;
|
|
103
80
|
status: Status;
|
|
104
81
|
organisation_id: string;
|
|
105
82
|
vehicle_id: string;
|
|
106
83
|
time_zone_id: string;
|
|
84
|
+
}, {
|
|
107
85
|
from_date_time: string;
|
|
108
86
|
to_date_time: string;
|
|
109
|
-
GPSTrackHistoryShareLinkNotification: {
|
|
110
|
-
status: Status;
|
|
111
|
-
organisation_id: string;
|
|
112
|
-
share_channels: ShareChannel.Email[];
|
|
113
|
-
mobile_numbers: string;
|
|
114
|
-
email_ids: string;
|
|
115
|
-
cc_email_ids: string;
|
|
116
|
-
gps_track_history_share_link_id: string;
|
|
117
|
-
}[];
|
|
118
|
-
}, {
|
|
119
87
|
link_status: TrackHistoryLinkStatus;
|
|
120
88
|
status: Status;
|
|
121
89
|
organisation_id: string;
|
|
122
90
|
vehicle_id: string;
|
|
123
91
|
time_zone_id: string;
|
|
124
|
-
from_date_time: string;
|
|
125
|
-
to_date_time: string;
|
|
126
|
-
GPSTrackHistoryShareLinkNotification?: {
|
|
127
|
-
status: Status;
|
|
128
|
-
organisation_id: string;
|
|
129
|
-
gps_track_history_share_link_id: string;
|
|
130
|
-
share_channels?: ShareChannel.Email[] | undefined;
|
|
131
|
-
mobile_numbers?: string | undefined;
|
|
132
|
-
email_ids?: string | undefined;
|
|
133
|
-
cc_email_ids?: string | undefined;
|
|
134
|
-
}[] | undefined;
|
|
135
92
|
}>;
|
|
136
93
|
type GPSTrackHistoryShareLinkDTO = z.infer<typeof GPSTrackHistoryShareLinkSchema>;
|
|
94
|
+
declare const GPSTrackHistoryShareLinkUpdateLinkStatusSchema: z.ZodObject<{
|
|
95
|
+
link_status: z.ZodType<TrackHistoryLinkStatus, z.ZodTypeDef, TrackHistoryLinkStatus>;
|
|
96
|
+
}, "strip", z.ZodTypeAny, {
|
|
97
|
+
link_status: TrackHistoryLinkStatus;
|
|
98
|
+
}, {
|
|
99
|
+
link_status: TrackHistoryLinkStatus;
|
|
100
|
+
}>;
|
|
101
|
+
type GPSTrackHistoryShareLinkUpdateLinkStatusDTO = z.infer<typeof GPSTrackHistoryShareLinkUpdateLinkStatusSchema>;
|
|
137
102
|
declare const GPSTrackHistoryShareLinkQuerySchema: z.ZodObject<{
|
|
138
103
|
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
139
104
|
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
@@ -172,6 +137,7 @@ declare const GPSTrackHistoryShareLinkQuerySchema: z.ZodObject<{
|
|
|
172
137
|
}, "strip", z.ZodTypeAny, {
|
|
173
138
|
link_status: TrackHistoryLinkStatus[];
|
|
174
139
|
status: Status[];
|
|
140
|
+
time_zone_id: string;
|
|
175
141
|
search: string;
|
|
176
142
|
paging: PAGING;
|
|
177
143
|
page_count: number;
|
|
@@ -191,13 +157,12 @@ declare const GPSTrackHistoryShareLinkQuerySchema: z.ZodObject<{
|
|
|
191
157
|
}[];
|
|
192
158
|
include_master_data: YesNo;
|
|
193
159
|
date_format_id: string;
|
|
194
|
-
time_zone_id: string;
|
|
195
160
|
organisation_ids: string[];
|
|
196
161
|
vehicle_ids: string[];
|
|
197
162
|
gps_track_history_share_link_ids: string[];
|
|
198
163
|
}, {
|
|
199
|
-
date_format_id: string;
|
|
200
164
|
time_zone_id: string;
|
|
165
|
+
date_format_id: string;
|
|
201
166
|
link_status?: TrackHistoryLinkStatus[] | undefined;
|
|
202
167
|
status?: Status[] | undefined;
|
|
203
168
|
search?: string | undefined;
|
|
@@ -227,8 +192,8 @@ declare const toGPSTrackHistoryShareLinkPayload: (data: GPSTrackHistoryShareLink
|
|
|
227
192
|
declare const newGPSTrackHistoryShareLinkPayload: () => GPSTrackHistoryShareLinkDTO;
|
|
228
193
|
declare const findGPSTrackHistoryShareLink: (data: GPSTrackHistoryShareLinkQueryDTO) => Promise<FBR<GPSTrackHistoryShareLink[]>>;
|
|
229
194
|
declare const createGPSTrackHistoryShareLink: (data: GPSTrackHistoryShareLinkDTO) => Promise<SBR>;
|
|
230
|
-
declare const
|
|
195
|
+
declare const updateTrackHistoryLinkStatus: (id: string, data: GPSTrackHistoryShareLinkUpdateLinkStatusDTO) => Promise<SBR>;
|
|
231
196
|
declare const deleteGPSTrackHistoryShareLink: (id: string) => Promise<SBR>;
|
|
232
197
|
declare const createGPSTrackHistoryShareLinkNotification: (data: GPSTrackHistoryShareLinkNotificationDTO) => Promise<SBR>;
|
|
233
198
|
|
|
234
|
-
export { type GPSTrackHistoryShareLink, type GPSTrackHistoryShareLinkDTO, type GPSTrackHistoryShareLinkNotification, type GPSTrackHistoryShareLinkNotificationDTO, GPSTrackHistoryShareLinkNotificationSchema, type GPSTrackHistoryShareLinkQueryDTO, GPSTrackHistoryShareLinkQuerySchema, GPSTrackHistoryShareLinkSchema, createGPSTrackHistoryShareLink, createGPSTrackHistoryShareLinkNotification, deleteGPSTrackHistoryShareLink, findGPSTrackHistoryShareLink, newGPSTrackHistoryShareLinkPayload, toGPSTrackHistoryShareLinkPayload,
|
|
199
|
+
export { type GPSTrackHistoryShareLink, type GPSTrackHistoryShareLinkDTO, type GPSTrackHistoryShareLinkNotification, type GPSTrackHistoryShareLinkNotificationDTO, GPSTrackHistoryShareLinkNotificationSchema, type GPSTrackHistoryShareLinkQueryDTO, GPSTrackHistoryShareLinkQuerySchema, GPSTrackHistoryShareLinkSchema, type GPSTrackHistoryShareLinkUpdateLinkStatusDTO, GPSTrackHistoryShareLinkUpdateLinkStatusSchema, createGPSTrackHistoryShareLink, createGPSTrackHistoryShareLinkNotification, deleteGPSTrackHistoryShareLink, findGPSTrackHistoryShareLink, newGPSTrackHistoryShareLinkPayload, toGPSTrackHistoryShareLinkPayload, updateTrackHistoryLinkStatus };
|
|
@@ -118,18 +118,6 @@ var enumArrayOptional = (fieldName, enumType, defaultValue = getAllEnums(enumTyp
|
|
|
118
118
|
return schema.optional().default(() => defaultValue);
|
|
119
119
|
};
|
|
120
120
|
var dynamicJsonSchema = (fieldName, defaultValue = {}) => z.record(z.any()).optional().default(() => defaultValue);
|
|
121
|
-
var nestedArrayOfObjectsOptional = (fieldName, schema, defaultValue = [], min = 0, max) => {
|
|
122
|
-
let arraySchema = z.array(schema, {
|
|
123
|
-
invalid_type_error: `${fieldName} must be an array of objects.`
|
|
124
|
-
}).min(min, `${fieldName} must contain at least ${min} items.`);
|
|
125
|
-
if (max !== void 0) {
|
|
126
|
-
arraySchema = arraySchema.max(
|
|
127
|
-
max,
|
|
128
|
-
`${fieldName} must contain at most ${max} items.`
|
|
129
|
-
);
|
|
130
|
-
}
|
|
131
|
-
return arraySchema.optional().default(() => defaultValue);
|
|
132
|
-
};
|
|
133
121
|
var single_select_mandatory = (fieldName) => {
|
|
134
122
|
const schema = z.string().trim().nonempty(`Please select ${fieldName}.`).transform(handleNullOrUndefined);
|
|
135
123
|
return schema;
|
|
@@ -285,7 +273,7 @@ var ENDPOINTS = {
|
|
|
285
273
|
find: `${URL}/search`,
|
|
286
274
|
create_notification: `${URL}/create_notification`,
|
|
287
275
|
create: URL,
|
|
288
|
-
|
|
276
|
+
update_track_history_link_status: (id) => `${URL}/update_track_history_link_status/${id}`,
|
|
289
277
|
delete: (id) => `${URL}/${id}`
|
|
290
278
|
};
|
|
291
279
|
var GPSTrackHistoryShareLinkNotificationSchema = z3.object({
|
|
@@ -315,11 +303,13 @@ var GPSTrackHistoryShareLinkSchema = z3.object({
|
|
|
315
303
|
"Active" /* Active */
|
|
316
304
|
),
|
|
317
305
|
status: enumMandatory("Status", Status, "Active" /* Active */),
|
|
318
|
-
time_zone_id: single_select_mandatory("MasterMainTimeZone")
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
306
|
+
time_zone_id: single_select_mandatory("MasterMainTimeZone")
|
|
307
|
+
});
|
|
308
|
+
var GPSTrackHistoryShareLinkUpdateLinkStatusSchema = z3.object({
|
|
309
|
+
link_status: enumMandatory(
|
|
310
|
+
"Track History Link Status",
|
|
311
|
+
TrackHistoryLinkStatus,
|
|
312
|
+
"Active" /* Active */
|
|
323
313
|
)
|
|
324
314
|
});
|
|
325
315
|
var GPSTrackHistoryShareLinkQuerySchema = BaseQuerySchema.extend({
|
|
@@ -344,7 +334,6 @@ var toGPSTrackHistoryShareLinkPayload = (data) => ({
|
|
|
344
334
|
to_date_time: data.to_date_time,
|
|
345
335
|
link_status: data.link_status,
|
|
346
336
|
status: data.status,
|
|
347
|
-
GPSTrackHistoryShareLinkNotification: [],
|
|
348
337
|
time_zone_id: ""
|
|
349
338
|
// Needs to be provided manually
|
|
350
339
|
});
|
|
@@ -355,7 +344,6 @@ var newGPSTrackHistoryShareLinkPayload = () => ({
|
|
|
355
344
|
to_date_time: "",
|
|
356
345
|
link_status: "Active" /* Active */,
|
|
357
346
|
status: "Active" /* Active */,
|
|
358
|
-
GPSTrackHistoryShareLinkNotification: [],
|
|
359
347
|
time_zone_id: ""
|
|
360
348
|
// Needs to be provided manually
|
|
361
349
|
});
|
|
@@ -365,8 +353,8 @@ var findGPSTrackHistoryShareLink = async (data) => {
|
|
|
365
353
|
var createGPSTrackHistoryShareLink = async (data) => {
|
|
366
354
|
return apiPost(ENDPOINTS.create, data);
|
|
367
355
|
};
|
|
368
|
-
var
|
|
369
|
-
return apiPatch(ENDPOINTS.
|
|
356
|
+
var updateTrackHistoryLinkStatus = async (id, data) => {
|
|
357
|
+
return apiPatch(ENDPOINTS.update_track_history_link_status(id), data);
|
|
370
358
|
};
|
|
371
359
|
var deleteGPSTrackHistoryShareLink = async (id) => {
|
|
372
360
|
return apiDelete(ENDPOINTS.delete(id));
|
|
@@ -378,11 +366,12 @@ export {
|
|
|
378
366
|
GPSTrackHistoryShareLinkNotificationSchema,
|
|
379
367
|
GPSTrackHistoryShareLinkQuerySchema,
|
|
380
368
|
GPSTrackHistoryShareLinkSchema,
|
|
369
|
+
GPSTrackHistoryShareLinkUpdateLinkStatusSchema,
|
|
381
370
|
createGPSTrackHistoryShareLink,
|
|
382
371
|
createGPSTrackHistoryShareLinkNotification,
|
|
383
372
|
deleteGPSTrackHistoryShareLink,
|
|
384
373
|
findGPSTrackHistoryShareLink,
|
|
385
374
|
newGPSTrackHistoryShareLinkPayload,
|
|
386
375
|
toGPSTrackHistoryShareLinkPayload,
|
|
387
|
-
|
|
376
|
+
updateTrackHistoryLinkStatus
|
|
388
377
|
};
|
|
@@ -34,41 +34,41 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
|
|
|
34
34
|
vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
35
35
|
driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
db_group: string;
|
|
38
|
-
db_instance: string;
|
|
39
|
-
night_driving: NightDriving;
|
|
40
37
|
search: string;
|
|
41
38
|
paging: PAGING;
|
|
42
39
|
page_count: number;
|
|
43
40
|
page_index: number;
|
|
41
|
+
login_from: LoginFrom;
|
|
44
42
|
date_format_id: string;
|
|
45
43
|
time_zone_id: string;
|
|
46
|
-
login_from: LoginFrom;
|
|
47
44
|
organisation_id: string;
|
|
45
|
+
db_instance: string;
|
|
46
|
+
db_group: string;
|
|
48
47
|
vehicle_ids: string[];
|
|
49
48
|
from_date: string;
|
|
50
49
|
to_date: string;
|
|
51
50
|
time_slot: TimeSlot;
|
|
51
|
+
night_driving: NightDriving;
|
|
52
52
|
over_speed: OverSpeed;
|
|
53
53
|
utilization_km: number;
|
|
54
54
|
vehicle_summary: YesNo;
|
|
55
55
|
driver_summary: YesNo;
|
|
56
56
|
}, {
|
|
57
|
-
|
|
58
|
-
db_instance: string;
|
|
57
|
+
login_from: LoginFrom;
|
|
59
58
|
date_format_id: string;
|
|
60
59
|
time_zone_id: string;
|
|
61
|
-
login_from: LoginFrom;
|
|
62
60
|
organisation_id: string;
|
|
61
|
+
db_instance: string;
|
|
62
|
+
db_group: string;
|
|
63
63
|
from_date: string;
|
|
64
64
|
to_date: string;
|
|
65
|
-
night_driving?: NightDriving | undefined;
|
|
66
65
|
search?: string | undefined;
|
|
67
66
|
paging?: PAGING | undefined;
|
|
68
67
|
page_count?: unknown;
|
|
69
68
|
page_index?: unknown;
|
|
70
69
|
vehicle_ids?: string[] | undefined;
|
|
71
70
|
time_slot?: TimeSlot | undefined;
|
|
71
|
+
night_driving?: NightDriving | undefined;
|
|
72
72
|
over_speed?: OverSpeed | undefined;
|
|
73
73
|
utilization_km?: unknown;
|
|
74
74
|
vehicle_summary?: YesNo | undefined;
|
|
@@ -97,40 +97,40 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
|
|
|
97
97
|
vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
98
98
|
driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
|
-
db_group: string;
|
|
101
|
-
db_instance: string;
|
|
102
|
-
night_driving: NightDriving;
|
|
103
100
|
search: string;
|
|
104
101
|
paging: PAGING;
|
|
105
102
|
page_count: number;
|
|
106
103
|
page_index: number;
|
|
104
|
+
login_from: LoginFrom;
|
|
107
105
|
date_format_id: string;
|
|
108
106
|
time_zone_id: string;
|
|
109
|
-
login_from: LoginFrom;
|
|
110
107
|
organisation_id: string;
|
|
108
|
+
db_instance: string;
|
|
109
|
+
db_group: string;
|
|
111
110
|
from_date: string;
|
|
112
111
|
to_date: string;
|
|
113
112
|
time_slot: TimeSlot;
|
|
113
|
+
night_driving: NightDriving;
|
|
114
114
|
over_speed: OverSpeed;
|
|
115
115
|
utilization_km: number;
|
|
116
116
|
vehicle_summary: YesNo;
|
|
117
117
|
driver_summary: YesNo;
|
|
118
118
|
driver_ids: string[];
|
|
119
119
|
}, {
|
|
120
|
-
|
|
121
|
-
db_instance: string;
|
|
120
|
+
login_from: LoginFrom;
|
|
122
121
|
date_format_id: string;
|
|
123
122
|
time_zone_id: string;
|
|
124
|
-
login_from: LoginFrom;
|
|
125
123
|
organisation_id: string;
|
|
124
|
+
db_instance: string;
|
|
125
|
+
db_group: string;
|
|
126
126
|
from_date: string;
|
|
127
127
|
to_date: string;
|
|
128
|
-
night_driving?: NightDriving | undefined;
|
|
129
128
|
search?: string | undefined;
|
|
130
129
|
paging?: PAGING | undefined;
|
|
131
130
|
page_count?: unknown;
|
|
132
131
|
page_index?: unknown;
|
|
133
132
|
time_slot?: TimeSlot | undefined;
|
|
133
|
+
night_driving?: NightDriving | undefined;
|
|
134
134
|
over_speed?: OverSpeed | undefined;
|
|
135
135
|
utilization_km?: unknown;
|
|
136
136
|
vehicle_summary?: YesNo | undefined;
|
|
@@ -157,16 +157,16 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
157
157
|
interval_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
158
158
|
boolean_type: z.ZodType<BooleanType, z.ZodTypeDef, BooleanType>;
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
|
-
db_group: string;
|
|
161
|
-
db_instance: string;
|
|
162
160
|
search: string;
|
|
163
161
|
paging: PAGING;
|
|
164
162
|
page_count: number;
|
|
165
163
|
page_index: number;
|
|
164
|
+
login_from: LoginFrom;
|
|
166
165
|
date_format_id: string;
|
|
167
166
|
time_zone_id: string;
|
|
168
|
-
login_from: LoginFrom;
|
|
169
167
|
organisation_id: string;
|
|
168
|
+
db_instance: string;
|
|
169
|
+
db_group: string;
|
|
170
170
|
vehicle_ids: string[];
|
|
171
171
|
from_date: string;
|
|
172
172
|
to_date: string;
|
|
@@ -174,12 +174,12 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
174
174
|
interval_seconds: number;
|
|
175
175
|
boolean_type: BooleanType;
|
|
176
176
|
}, {
|
|
177
|
-
|
|
178
|
-
db_instance: string;
|
|
177
|
+
login_from: LoginFrom;
|
|
179
178
|
date_format_id: string;
|
|
180
179
|
time_zone_id: string;
|
|
181
|
-
login_from: LoginFrom;
|
|
182
180
|
organisation_id: string;
|
|
181
|
+
db_instance: string;
|
|
182
|
+
db_group: string;
|
|
183
183
|
from_date: string;
|
|
184
184
|
to_date: string;
|
|
185
185
|
gps_type: GPSType;
|
|
@@ -208,26 +208,26 @@ declare const MultipleVehicleLast24HoursReportSchema: z.ZodObject<{
|
|
|
208
208
|
utilization_km: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
209
209
|
is12am: z.ZodType<Is12AM, z.ZodTypeDef, Is12AM>;
|
|
210
210
|
}, "strip", z.ZodTypeAny, {
|
|
211
|
-
db_group: string;
|
|
212
|
-
db_instance: string;
|
|
213
211
|
search: string;
|
|
214
212
|
paging: PAGING;
|
|
215
213
|
page_count: number;
|
|
216
214
|
page_index: number;
|
|
215
|
+
login_from: LoginFrom;
|
|
217
216
|
date_format_id: string;
|
|
218
217
|
time_zone_id: string;
|
|
219
|
-
login_from: LoginFrom;
|
|
220
218
|
organisation_id: string;
|
|
219
|
+
db_instance: string;
|
|
220
|
+
db_group: string;
|
|
221
221
|
vehicle_ids: string[];
|
|
222
222
|
utilization_km: number;
|
|
223
223
|
is12am: Is12AM;
|
|
224
224
|
}, {
|
|
225
|
-
|
|
226
|
-
db_instance: string;
|
|
225
|
+
login_from: LoginFrom;
|
|
227
226
|
date_format_id: string;
|
|
228
227
|
time_zone_id: string;
|
|
229
|
-
login_from: LoginFrom;
|
|
230
228
|
organisation_id: string;
|
|
229
|
+
db_instance: string;
|
|
230
|
+
db_group: string;
|
|
231
231
|
is12am: Is12AM;
|
|
232
232
|
search?: string | undefined;
|
|
233
233
|
paging?: PAGING | undefined;
|
|
@@ -254,27 +254,27 @@ declare const SingleVehicleReportSchema: z.ZodObject<{
|
|
|
254
254
|
to_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
255
255
|
interval_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
256
256
|
}, "strip", z.ZodTypeAny, {
|
|
257
|
-
db_group: string;
|
|
258
|
-
db_instance: string;
|
|
259
257
|
search: string;
|
|
260
258
|
paging: PAGING;
|
|
261
259
|
page_count: number;
|
|
262
260
|
page_index: number;
|
|
261
|
+
login_from: LoginFrom;
|
|
263
262
|
date_format_id: string;
|
|
264
263
|
time_zone_id: string;
|
|
265
|
-
login_from: LoginFrom;
|
|
266
264
|
organisation_id: string;
|
|
265
|
+
db_instance: string;
|
|
266
|
+
db_group: string;
|
|
267
267
|
interval_seconds: number;
|
|
268
268
|
vehicle_id: string;
|
|
269
269
|
from_date_time: string;
|
|
270
270
|
to_date_time: string;
|
|
271
271
|
}, {
|
|
272
|
-
|
|
273
|
-
db_instance: string;
|
|
272
|
+
login_from: LoginFrom;
|
|
274
273
|
date_format_id: string;
|
|
275
274
|
time_zone_id: string;
|
|
276
|
-
login_from: LoginFrom;
|
|
277
275
|
organisation_id: string;
|
|
276
|
+
db_instance: string;
|
|
277
|
+
db_group: string;
|
|
278
278
|
vehicle_id: string;
|
|
279
279
|
from_date_time: string;
|
|
280
280
|
to_date_time: string;
|
|
@@ -299,24 +299,24 @@ declare const VehicleDashboardSummaryQuerySchema: z.ZodObject<{
|
|
|
299
299
|
db_group: z.ZodEffects<z.ZodString, string, string>;
|
|
300
300
|
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
301
301
|
}, "strip", z.ZodTypeAny, {
|
|
302
|
-
db_group: string;
|
|
303
|
-
db_instance: string;
|
|
304
302
|
search: string;
|
|
305
303
|
paging: PAGING;
|
|
306
304
|
page_count: number;
|
|
307
305
|
page_index: number;
|
|
306
|
+
login_from: LoginFrom;
|
|
308
307
|
date_format_id: string;
|
|
309
308
|
time_zone_id: string;
|
|
310
|
-
login_from: LoginFrom;
|
|
311
309
|
organisation_id: string;
|
|
310
|
+
db_instance: string;
|
|
311
|
+
db_group: string;
|
|
312
312
|
vehicle_id: string;
|
|
313
313
|
}, {
|
|
314
|
-
|
|
315
|
-
db_instance: string;
|
|
314
|
+
login_from: LoginFrom;
|
|
316
315
|
date_format_id: string;
|
|
317
316
|
time_zone_id: string;
|
|
318
|
-
login_from: LoginFrom;
|
|
319
317
|
organisation_id: string;
|
|
318
|
+
db_instance: string;
|
|
319
|
+
db_group: string;
|
|
320
320
|
vehicle_id: string;
|
|
321
321
|
search?: string | undefined;
|
|
322
322
|
paging?: PAGING | undefined;
|
|
@@ -346,16 +346,16 @@ declare const AlertReportSchema: z.ZodObject<{
|
|
|
346
346
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
347
347
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
348
348
|
}, "strip", z.ZodTypeAny, {
|
|
349
|
-
db_group: string;
|
|
350
|
-
db_instance: string;
|
|
351
349
|
search: string;
|
|
352
350
|
paging: PAGING;
|
|
353
351
|
page_count: number;
|
|
354
352
|
page_index: number;
|
|
353
|
+
login_from: LoginFrom;
|
|
355
354
|
date_format_id: string;
|
|
356
355
|
time_zone_id: string;
|
|
357
|
-
login_from: LoginFrom;
|
|
358
356
|
organisation_id: string;
|
|
357
|
+
db_instance: string;
|
|
358
|
+
db_group: string;
|
|
359
359
|
vehicle_ids: string[];
|
|
360
360
|
from_date: string;
|
|
361
361
|
to_date: string;
|
|
@@ -366,12 +366,12 @@ declare const AlertReportSchema: z.ZodObject<{
|
|
|
366
366
|
alert_types: AlertType[];
|
|
367
367
|
alert_sub_types: AlertSubType[];
|
|
368
368
|
}, {
|
|
369
|
-
|
|
370
|
-
db_instance: string;
|
|
369
|
+
login_from: LoginFrom;
|
|
371
370
|
date_format_id: string;
|
|
372
371
|
time_zone_id: string;
|
|
373
|
-
login_from: LoginFrom;
|
|
374
372
|
organisation_id: string;
|
|
373
|
+
db_instance: string;
|
|
374
|
+
db_group: string;
|
|
375
375
|
from_date: string;
|
|
376
376
|
to_date: string;
|
|
377
377
|
search?: string | undefined;
|
|
@@ -15,12 +15,12 @@ declare const MasterMainEwayBillProviderSchema: z.ZodObject<{
|
|
|
15
15
|
provider_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
16
16
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
status: Status;
|
|
19
18
|
provider_name: string;
|
|
20
19
|
provider_code: string;
|
|
21
|
-
}, {
|
|
22
20
|
status: Status;
|
|
21
|
+
}, {
|
|
23
22
|
provider_name: string;
|
|
23
|
+
status: Status;
|
|
24
24
|
provider_code?: string | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
type MasterMainEwayBillProviderDTO = z.infer<typeof MasterMainEwayBillProviderSchema>;
|
|
@@ -15,12 +15,12 @@ declare const MasterMainFasttagBankSchema: z.ZodObject<{
|
|
|
15
15
|
bank_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
16
16
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
status: Status;
|
|
18
19
|
bank_name: string;
|
|
19
20
|
bank_code: string;
|
|
20
|
-
status: Status;
|
|
21
21
|
}, {
|
|
22
|
-
bank_name: string;
|
|
23
22
|
status: Status;
|
|
23
|
+
bank_name: string;
|
|
24
24
|
bank_code?: string | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
type MasterMainFasttagBankDTO = z.infer<typeof MasterMainFasttagBankSchema>;
|
|
@@ -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;
|
|
@@ -19,11 +19,11 @@ declare const StaticPageSchema: z.ZodObject<{
|
|
|
19
19
|
page_content: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
20
20
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
status: Status;
|
|
23
22
|
page_name: string;
|
|
24
23
|
page_code: string;
|
|
25
24
|
page_url: string;
|
|
26
25
|
page_content: string;
|
|
26
|
+
status: Status;
|
|
27
27
|
}, {
|
|
28
28
|
status: Status;
|
|
29
29
|
page_name?: string | undefined;
|
package/package.json
CHANGED