vms-nest-prisma-api-document 6.0.51 → 7.0.1
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/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +16 -16
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +49 -49
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +34 -34
- package/dist/services/gps/features/geofence/{gps_geofence_data_service.d.ts → gps_geofence_service.d.ts} +75 -28
- package/dist/services/gps/features/geofence/{gps_geofence_data_service.js → gps_geofence_service.js} +74 -39
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +15 -6
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.js +17 -12
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +9 -6
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.js +13 -10
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +5 -3
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.js +11 -8
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +16 -16
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +9 -9
- package/dist/services/master/expense/master_fuel_company_service.d.ts +5 -5
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +2 -2
- package/dist/services/master/main/master_main_eway_bill_provider_service.d.ts +2 -2
- package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
- package/dist/services/master/main/master_main_landmark_service.d.ts +6 -6
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +2 -2
- package/package.json +1 -1
|
@@ -275,7 +275,7 @@ var ENDPOINTS = {
|
|
|
275
275
|
delete: (id) => `${URL}/${id}`
|
|
276
276
|
};
|
|
277
277
|
var GPSGeofenceTransactionSummarySchema = z3.object({
|
|
278
|
-
organisation_id: single_select_mandatory("
|
|
278
|
+
organisation_id: single_select_mandatory("UserOrganisation"),
|
|
279
279
|
vehicle_id: single_select_mandatory("Master Vehicle ID"),
|
|
280
280
|
driver_id: single_select_optional("Driver ID"),
|
|
281
281
|
gps_geofence_id: single_select_mandatory("GPS Geofence ID"),
|
|
@@ -288,15 +288,16 @@ var GPSGeofenceTransactionSummarySchema = z3.object({
|
|
|
288
288
|
geofence_enter_date_time: dateMandatory("Geofence Enter Date Time"),
|
|
289
289
|
geofence_exit_date_time: dateOptional("Geofence Exit Date Time"),
|
|
290
290
|
duration_seconds: numberOptional("Duration Seconds"),
|
|
291
|
-
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
291
|
+
status: enumMandatory("Status", Status, "Active" /* Active */),
|
|
292
|
+
time_zone_id: single_select_mandatory("MasterMainTimeZone")
|
|
292
293
|
});
|
|
293
294
|
var GPSGeofenceTransactionSummaryQuerySchema = BaseQuerySchema.extend({
|
|
294
|
-
organisation_ids: multi_select_optional("
|
|
295
|
+
organisation_ids: multi_select_optional("UserOrganisation"),
|
|
295
296
|
// ✅ Multi-selection -> UserOrganisation
|
|
296
|
-
vehicle_ids: multi_select_optional("
|
|
297
|
+
vehicle_ids: multi_select_optional("MasterVehicle"),
|
|
297
298
|
// ✅ Multi-selection -> MasterVehicle
|
|
298
|
-
driver_ids: multi_select_optional("
|
|
299
|
-
// ✅ Multi-selection ->
|
|
299
|
+
driver_ids: multi_select_optional("MasterDriver"),
|
|
300
|
+
// ✅ Multi-selection -> MasterDriver
|
|
300
301
|
gps_geofence_ids: multi_select_optional("Gps Geofence IDs"),
|
|
301
302
|
// ✅ Multi-selection -> Gps Geofence
|
|
302
303
|
from_date: dateMandatory("From Date"),
|
|
@@ -312,7 +313,8 @@ var toGPSGeofenceTransactionSummaryPayload = (data) => ({
|
|
|
312
313
|
geofence_enter_date_time: data.geofence_enter_date_time,
|
|
313
314
|
geofence_exit_date_time: data.geofence_exit_date_time || "",
|
|
314
315
|
duration_seconds: data.duration_seconds || 0,
|
|
315
|
-
status: data.status
|
|
316
|
+
status: data.status,
|
|
317
|
+
time_zone_id: ""
|
|
316
318
|
});
|
|
317
319
|
var newGPSGeofenceTransactionSummaryPayload = () => ({
|
|
318
320
|
organisation_id: "",
|
|
@@ -324,9 +326,10 @@ var newGPSGeofenceTransactionSummaryPayload = () => ({
|
|
|
324
326
|
geofence_enter_date_time: "",
|
|
325
327
|
geofence_exit_date_time: "",
|
|
326
328
|
duration_seconds: 0,
|
|
327
|
-
status: "Active" /* Active
|
|
329
|
+
status: "Active" /* Active */,
|
|
330
|
+
time_zone_id: ""
|
|
328
331
|
});
|
|
329
|
-
var
|
|
332
|
+
var findGPSGeofenceTransactionSummary = async (data) => {
|
|
330
333
|
return apiPost(ENDPOINTS.find, data);
|
|
331
334
|
};
|
|
332
335
|
var createGPSGeofenceTransactionSummary = async (data) => {
|
|
@@ -343,7 +346,7 @@ export {
|
|
|
343
346
|
GPSGeofenceTransactionSummarySchema,
|
|
344
347
|
createGPSGeofenceTransactionSummary,
|
|
345
348
|
deleteGPSGeofenceTransactionSummary,
|
|
346
|
-
|
|
349
|
+
findGPSGeofenceTransactionSummary,
|
|
347
350
|
newGPSGeofenceTransactionSummaryPayload,
|
|
348
351
|
toGPSGeofenceTransactionSummaryPayload,
|
|
349
352
|
updateGPSGeofenceTransactionSummary
|
|
@@ -2,7 +2,6 @@ import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo
|
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-D3GhFJqI.js';
|
|
5
|
-
import { GPSGeofenceData } from './gps_geofence_data_service.js';
|
|
6
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
7
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
8
7
|
|
|
@@ -29,10 +28,10 @@ interface TripGeofenceToGeofence extends Record<string, unknown> {
|
|
|
29
28
|
MasterDriver?: MasterDriver;
|
|
30
29
|
driver_details?: string;
|
|
31
30
|
from_geofence_id: string;
|
|
32
|
-
FromGeofence?:
|
|
31
|
+
FromGeofence?: TripGeofenceToGeofence;
|
|
33
32
|
from_geofence_details?: string;
|
|
34
33
|
to_geofence_id: string;
|
|
35
|
-
ToGeofence?:
|
|
34
|
+
ToGeofence?: TripGeofenceToGeofence;
|
|
36
35
|
to_geofence_details?: string;
|
|
37
36
|
duration_seconds_f?: string;
|
|
38
37
|
travel_duration_seconds_f?: string;
|
|
@@ -54,9 +53,11 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
54
53
|
max_speed: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
55
54
|
avg_speed: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
56
55
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
56
|
+
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
58
|
status: Status;
|
|
59
59
|
organisation_id: string;
|
|
60
|
+
time_zone_id: string;
|
|
60
61
|
driver_id: string;
|
|
61
62
|
vehicle_id: string;
|
|
62
63
|
duration_seconds: number;
|
|
@@ -72,6 +73,7 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
72
73
|
}, {
|
|
73
74
|
status: Status;
|
|
74
75
|
organisation_id: string;
|
|
76
|
+
time_zone_id: string;
|
|
75
77
|
driver_id: string;
|
|
76
78
|
vehicle_id: string;
|
|
77
79
|
from_geofence_exit_date_time: string;
|
|
@@ -287,7 +287,7 @@ var ENDPOINTS = {
|
|
|
287
287
|
delete: (id) => `${URL}/${id}`
|
|
288
288
|
};
|
|
289
289
|
var TripGeofenceToGeofenceSchema = z3.object({
|
|
290
|
-
organisation_id: single_select_mandatory("
|
|
290
|
+
organisation_id: single_select_mandatory("UserOrganisation"),
|
|
291
291
|
vehicle_id: single_select_mandatory("Master Vehicle ID"),
|
|
292
292
|
driver_id: single_select_optional("Driver ID"),
|
|
293
293
|
from_geofence_id: single_select_mandatory("From Geofence ID"),
|
|
@@ -301,15 +301,16 @@ var TripGeofenceToGeofenceSchema = z3.object({
|
|
|
301
301
|
distance_meters: doubleOptional("Distance KM"),
|
|
302
302
|
max_speed: numberOptional("Max Speed"),
|
|
303
303
|
avg_speed: numberOptional("Avg Speed"),
|
|
304
|
-
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
304
|
+
status: enumMandatory("Status", Status, "Active" /* Active */),
|
|
305
|
+
time_zone_id: single_select_mandatory("MasterMainTimeZone")
|
|
305
306
|
});
|
|
306
307
|
var TripGeofenceToGeofenceQuerySchema = BaseQuerySchema.extend({
|
|
307
|
-
organisation_ids: multi_select_optional("
|
|
308
|
+
organisation_ids: multi_select_optional("UserOrganisation"),
|
|
308
309
|
// ✅ Multi-selection -> UserOrganisation
|
|
309
|
-
vehicle_ids: multi_select_optional("
|
|
310
|
+
vehicle_ids: multi_select_optional("MasterVehicle"),
|
|
310
311
|
// ✅ Multi-selection -> MasterVehicle
|
|
311
|
-
driver_ids: multi_select_optional("
|
|
312
|
-
// ✅ Multi-selection ->
|
|
312
|
+
driver_ids: multi_select_optional("MasterDriver"),
|
|
313
|
+
// ✅ Multi-selection -> MasterDriver
|
|
313
314
|
from_geofence_ids: multi_select_optional("From Geofence IDs"),
|
|
314
315
|
// ✅ Multi-selection -> From Geofence
|
|
315
316
|
to_geofence_ids: multi_select_optional("To Geofence IDs"),
|
|
@@ -331,7 +332,8 @@ var toTripGeofenceToGeofencePayload = (data) => ({
|
|
|
331
332
|
distance_meters: data.distance_meters,
|
|
332
333
|
max_speed: data.max_speed || 0,
|
|
333
334
|
avg_speed: data.avg_speed || 0,
|
|
334
|
-
status: data.status
|
|
335
|
+
status: data.status,
|
|
336
|
+
time_zone_id: ""
|
|
335
337
|
});
|
|
336
338
|
var newTripGeofenceToGeofencePayload = () => ({
|
|
337
339
|
organisation_id: "",
|
|
@@ -347,7 +349,8 @@ var newTripGeofenceToGeofencePayload = () => ({
|
|
|
347
349
|
distance_meters: 0,
|
|
348
350
|
max_speed: 0,
|
|
349
351
|
avg_speed: 0,
|
|
350
|
-
status: "Active" /* Active
|
|
352
|
+
status: "Active" /* Active */,
|
|
353
|
+
time_zone_id: ""
|
|
351
354
|
});
|
|
352
355
|
var findTripGeofenceToGeofence = async (data) => {
|
|
353
356
|
return apiPost(ENDPOINTS.find, data);
|
|
@@ -42,17 +42,17 @@ declare const GPSLiveTrackShareLinkNotificationsSchema: z.ZodObject<{
|
|
|
42
42
|
to_recipients: z.ZodEffects<z.ZodString, string, string>;
|
|
43
43
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
gps_live_track_share_link_id: string;
|
|
46
45
|
status: Status;
|
|
47
46
|
organisation_id: string;
|
|
48
47
|
type: NotificationType;
|
|
49
48
|
to_recipients: string;
|
|
50
|
-
}, {
|
|
51
49
|
gps_live_track_share_link_id: string;
|
|
50
|
+
}, {
|
|
52
51
|
status: Status;
|
|
53
52
|
organisation_id: string;
|
|
54
53
|
type: NotificationType;
|
|
55
54
|
to_recipients: string;
|
|
55
|
+
gps_live_track_share_link_id: string;
|
|
56
56
|
}>;
|
|
57
57
|
type GPSLiveTrackShareLinkNotificationsDTO = z.infer<typeof GPSLiveTrackShareLinkNotificationsSchema>;
|
|
58
58
|
declare const GPSLiveTrackShareLinkSchema: z.ZodObject<{
|
|
@@ -73,54 +73,54 @@ declare const GPSLiveTrackShareLinkSchema: z.ZodObject<{
|
|
|
73
73
|
to_recipients: z.ZodEffects<z.ZodString, string, string>;
|
|
74
74
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
75
75
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
76
|
-
gps_live_track_share_link_id: string;
|
|
77
76
|
status: Status;
|
|
78
77
|
organisation_id: string;
|
|
79
78
|
type: NotificationType;
|
|
80
79
|
to_recipients: string;
|
|
81
|
-
}, {
|
|
82
80
|
gps_live_track_share_link_id: string;
|
|
81
|
+
}, {
|
|
83
82
|
status: Status;
|
|
84
83
|
organisation_id: string;
|
|
85
84
|
type: NotificationType;
|
|
86
85
|
to_recipients: string;
|
|
86
|
+
gps_live_track_share_link_id: string;
|
|
87
87
|
}>, "many">>>;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
|
-
link_type: LinkType;
|
|
90
|
-
location: string;
|
|
91
89
|
link_status: LinkStatus;
|
|
92
90
|
status: Status;
|
|
93
91
|
organisation_id: string;
|
|
94
92
|
vehicle_id: string;
|
|
95
93
|
trip_id: string;
|
|
96
|
-
expire_milliseconds: number;
|
|
97
94
|
notifications: {
|
|
98
|
-
gps_live_track_share_link_id: string;
|
|
99
95
|
status: Status;
|
|
100
96
|
organisation_id: string;
|
|
101
97
|
type: NotificationType;
|
|
102
98
|
to_recipients: string;
|
|
99
|
+
gps_live_track_share_link_id: string;
|
|
103
100
|
}[];
|
|
101
|
+
link_type: LinkType;
|
|
102
|
+
location: string;
|
|
103
|
+
expire_milliseconds: number;
|
|
104
104
|
latitude?: number | undefined;
|
|
105
105
|
longitude?: number | undefined;
|
|
106
106
|
}, {
|
|
107
|
-
link_type: LinkType;
|
|
108
107
|
link_status: LinkStatus;
|
|
109
108
|
status: Status;
|
|
110
109
|
organisation_id: string;
|
|
111
110
|
vehicle_id: string;
|
|
112
111
|
trip_id: string;
|
|
113
|
-
|
|
114
|
-
longitude?: unknown;
|
|
115
|
-
location?: string | undefined;
|
|
116
|
-
expire_milliseconds?: unknown;
|
|
112
|
+
link_type: LinkType;
|
|
117
113
|
notifications?: {
|
|
118
|
-
gps_live_track_share_link_id: string;
|
|
119
114
|
status: Status;
|
|
120
115
|
organisation_id: string;
|
|
121
116
|
type: NotificationType;
|
|
122
117
|
to_recipients: string;
|
|
118
|
+
gps_live_track_share_link_id: string;
|
|
123
119
|
}[] | undefined;
|
|
120
|
+
latitude?: unknown;
|
|
121
|
+
longitude?: unknown;
|
|
122
|
+
location?: string | undefined;
|
|
123
|
+
expire_milliseconds?: unknown;
|
|
124
124
|
}>;
|
|
125
125
|
type GPSLiveTrackShareLinkDTO = z.infer<typeof GPSLiveTrackShareLinkSchema>;
|
|
126
126
|
declare const GPSLiveTrackShareLinkTimeSchema: z.ZodObject<{
|
|
@@ -176,7 +176,6 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
|
176
176
|
link_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof LinkType>, "many">>>;
|
|
177
177
|
link_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof LinkStatus>, "many">>>;
|
|
178
178
|
}, "strip", z.ZodTypeAny, {
|
|
179
|
-
link_type: LinkType[];
|
|
180
179
|
link_status: LinkStatus[];
|
|
181
180
|
status: Status[];
|
|
182
181
|
search: string;
|
|
@@ -202,10 +201,10 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
|
202
201
|
organisation_ids: string[];
|
|
203
202
|
vehicle_ids: string[];
|
|
204
203
|
trip_ids: string[];
|
|
204
|
+
link_type: LinkType[];
|
|
205
205
|
}, {
|
|
206
206
|
date_format_id: string;
|
|
207
207
|
time_zone_id: string;
|
|
208
|
-
link_type?: LinkType[] | undefined;
|
|
209
208
|
link_status?: LinkStatus[] | undefined;
|
|
210
209
|
status?: Status[] | undefined;
|
|
211
210
|
search?: string | undefined;
|
|
@@ -229,6 +228,7 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
|
229
228
|
organisation_ids?: string[] | undefined;
|
|
230
229
|
vehicle_ids?: string[] | undefined;
|
|
231
230
|
trip_ids?: string[] | undefined;
|
|
231
|
+
link_type?: LinkType[] | undefined;
|
|
232
232
|
}>;
|
|
233
233
|
type GPSLiveTrackShareLinkQueryDTO = z.infer<typeof GPSLiveTrackShareLinkQuerySchema>;
|
|
234
234
|
declare const toGPSLiveTrackShareLinkPayload: (data: GPSLiveTrackShareLink) => GPSLiveTrackShareLinkDTO;
|
|
@@ -40,17 +40,17 @@ declare const GPSTrackHistoryShareLinkNotificationsSchema: z.ZodObject<{
|
|
|
40
40
|
to_recipients: z.ZodEffects<z.ZodString, string, string>;
|
|
41
41
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
gps_track_history_share_link_id: string;
|
|
43
44
|
status: Status;
|
|
44
45
|
organisation_id: string;
|
|
45
46
|
type: NotificationType;
|
|
46
47
|
to_recipients: string;
|
|
47
|
-
gps_track_history_share_link_id: string;
|
|
48
48
|
}, {
|
|
49
|
+
gps_track_history_share_link_id: string;
|
|
49
50
|
status: Status;
|
|
50
51
|
organisation_id: string;
|
|
51
52
|
type: NotificationType;
|
|
52
53
|
to_recipients: string;
|
|
53
|
-
gps_track_history_share_link_id: string;
|
|
54
54
|
}>;
|
|
55
55
|
type GPSTrackHistoryShareLinkNotificationsDTO = z.infer<typeof GPSTrackHistoryShareLinkNotificationsSchema>;
|
|
56
56
|
declare const GPSTrackHistoryShareLinkSchema: z.ZodObject<{
|
|
@@ -68,47 +68,47 @@ declare const GPSTrackHistoryShareLinkSchema: z.ZodObject<{
|
|
|
68
68
|
to_recipients: z.ZodEffects<z.ZodString, string, string>;
|
|
69
69
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
70
70
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
71
|
+
gps_track_history_share_link_id: string;
|
|
71
72
|
status: Status;
|
|
72
73
|
organisation_id: string;
|
|
73
74
|
type: NotificationType;
|
|
74
75
|
to_recipients: string;
|
|
75
|
-
gps_track_history_share_link_id: string;
|
|
76
76
|
}, {
|
|
77
|
+
gps_track_history_share_link_id: string;
|
|
77
78
|
status: Status;
|
|
78
79
|
organisation_id: string;
|
|
79
80
|
type: NotificationType;
|
|
80
81
|
to_recipients: string;
|
|
81
|
-
gps_track_history_share_link_id: string;
|
|
82
82
|
}>, "many">>>;
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
84
|
+
from_date_time: string;
|
|
85
|
+
to_date_time: string;
|
|
84
86
|
link_status: TrackHistoryLinkStatus;
|
|
85
87
|
status: Status;
|
|
86
88
|
organisation_id: string;
|
|
87
89
|
vehicle_id: string;
|
|
88
90
|
trip_id: string;
|
|
89
91
|
notifications: {
|
|
92
|
+
gps_track_history_share_link_id: string;
|
|
90
93
|
status: Status;
|
|
91
94
|
organisation_id: string;
|
|
92
95
|
type: NotificationType;
|
|
93
96
|
to_recipients: string;
|
|
94
|
-
gps_track_history_share_link_id: string;
|
|
95
97
|
}[];
|
|
98
|
+
}, {
|
|
96
99
|
from_date_time: string;
|
|
97
100
|
to_date_time: string;
|
|
98
|
-
}, {
|
|
99
101
|
link_status: TrackHistoryLinkStatus;
|
|
100
102
|
status: Status;
|
|
101
103
|
organisation_id: string;
|
|
102
104
|
vehicle_id: string;
|
|
103
105
|
trip_id: string;
|
|
104
|
-
from_date_time: string;
|
|
105
|
-
to_date_time: string;
|
|
106
106
|
notifications?: {
|
|
107
|
+
gps_track_history_share_link_id: string;
|
|
107
108
|
status: Status;
|
|
108
109
|
organisation_id: string;
|
|
109
110
|
type: NotificationType;
|
|
110
111
|
to_recipients: string;
|
|
111
|
-
gps_track_history_share_link_id: string;
|
|
112
112
|
}[] | undefined;
|
|
113
113
|
}>;
|
|
114
114
|
type GPSTrackHistoryShareLinkDTO = z.infer<typeof GPSTrackHistoryShareLinkSchema>;
|
|
@@ -28,21 +28,21 @@ declare const MasterFuelCompanySchema: z.ZodObject<{
|
|
|
28
28
|
logo_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
29
29
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
company_name: string;
|
|
32
31
|
description: string;
|
|
33
|
-
logo_url: string;
|
|
34
|
-
logo_key: string;
|
|
35
32
|
status: Status;
|
|
36
33
|
organisation_id: string;
|
|
37
34
|
country_id: string;
|
|
38
|
-
|
|
35
|
+
logo_key: string;
|
|
36
|
+
logo_url: string;
|
|
39
37
|
company_name: string;
|
|
38
|
+
}, {
|
|
40
39
|
status: Status;
|
|
41
40
|
organisation_id: string;
|
|
42
41
|
country_id: string;
|
|
42
|
+
company_name: string;
|
|
43
43
|
description?: string | undefined;
|
|
44
|
-
logo_url?: string | undefined;
|
|
45
44
|
logo_key?: string | undefined;
|
|
45
|
+
logo_url?: string | undefined;
|
|
46
46
|
}>;
|
|
47
47
|
type MasterFuelCompanyDTO = z.infer<typeof MasterFuelCompanySchema>;
|
|
48
48
|
declare const MasterFuelCompanyQuerySchema: z.ZodObject<{
|
|
@@ -21,14 +21,14 @@ declare const MasterVendorDocumentTypeSchema: z.ZodObject<{
|
|
|
21
21
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
22
22
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
document_type: string;
|
|
24
25
|
description: string;
|
|
25
26
|
status: Status;
|
|
26
27
|
organisation_id: string;
|
|
27
|
-
document_type: string;
|
|
28
28
|
}, {
|
|
29
|
+
document_type: string;
|
|
29
30
|
status: Status;
|
|
30
31
|
organisation_id: string;
|
|
31
|
-
document_type: string;
|
|
32
32
|
description?: string | undefined;
|
|
33
33
|
}>;
|
|
34
34
|
type MasterVendorDocumentTypeDTO = z.infer<typeof MasterVendorDocumentTypeSchema>;
|
|
@@ -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;
|
|
18
19
|
provider_name: string;
|
|
19
20
|
provider_code: string;
|
|
20
|
-
status: Status;
|
|
21
21
|
}, {
|
|
22
|
-
provider_name: string;
|
|
23
22
|
status: Status;
|
|
23
|
+
provider_name: string;
|
|
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;
|
|
19
18
|
bank_name: string;
|
|
20
19
|
bank_code: string;
|
|
21
|
-
}, {
|
|
22
20
|
status: Status;
|
|
21
|
+
}, {
|
|
23
22
|
bank_name: string;
|
|
23
|
+
status: Status;
|
|
24
24
|
bank_code?: string | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
type MasterMainFasttagBankDTO = z.infer<typeof MasterMainFasttagBankSchema>;
|
|
@@ -39,7 +39,6 @@ declare const MasterMainLandmarkSchema: z.ZodObject<{
|
|
|
39
39
|
longitude: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
40
40
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
google_location: string;
|
|
43
42
|
status: Status;
|
|
44
43
|
country_id: string;
|
|
45
44
|
state_id: string;
|
|
@@ -48,6 +47,7 @@ declare const MasterMainLandmarkSchema: z.ZodObject<{
|
|
|
48
47
|
zip_code: string;
|
|
49
48
|
landmark_name: string;
|
|
50
49
|
location: string;
|
|
50
|
+
google_location: string;
|
|
51
51
|
latitude?: number | undefined;
|
|
52
52
|
longitude?: number | undefined;
|
|
53
53
|
}, {
|
|
@@ -55,13 +55,13 @@ declare const MasterMainLandmarkSchema: z.ZodObject<{
|
|
|
55
55
|
country_id: string;
|
|
56
56
|
state_id: string;
|
|
57
57
|
landmark_name: string;
|
|
58
|
-
latitude?: unknown;
|
|
59
|
-
longitude?: unknown;
|
|
60
|
-
google_location?: string | undefined;
|
|
61
58
|
locality?: string | undefined;
|
|
62
59
|
city_district_town?: string | undefined;
|
|
63
60
|
zip_code?: string | undefined;
|
|
61
|
+
latitude?: unknown;
|
|
62
|
+
longitude?: unknown;
|
|
64
63
|
location?: string | undefined;
|
|
64
|
+
google_location?: string | undefined;
|
|
65
65
|
}>;
|
|
66
66
|
type MasterMainLandmarkDTO = z.infer<typeof MasterMainLandmarkSchema>;
|
|
67
67
|
declare const MasterMainLandmarkQuerySchema: z.ZodObject<{
|
|
@@ -100,7 +100,6 @@ declare const MasterMainLandmarkQuerySchema: z.ZodObject<{
|
|
|
100
100
|
landmark_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
102
|
status: Status[];
|
|
103
|
-
time_zone_id: string;
|
|
104
103
|
search: string;
|
|
105
104
|
paging: PAGING;
|
|
106
105
|
page_count: number;
|
|
@@ -120,12 +119,13 @@ declare const MasterMainLandmarkQuerySchema: z.ZodObject<{
|
|
|
120
119
|
}[];
|
|
121
120
|
include_master_data: YesNo;
|
|
122
121
|
date_format_id: string;
|
|
122
|
+
time_zone_id: string;
|
|
123
123
|
country_ids: string[];
|
|
124
124
|
state_ids: string[];
|
|
125
125
|
landmark_ids: string[];
|
|
126
126
|
}, {
|
|
127
|
-
time_zone_id: string;
|
|
128
127
|
date_format_id: string;
|
|
128
|
+
time_zone_id: string;
|
|
129
129
|
status?: Status[] | undefined;
|
|
130
130
|
search?: string | undefined;
|
|
131
131
|
paging?: PAGING | undefined;
|
|
@@ -70,7 +70,6 @@ declare const MasterVehicleFuelRemovalReasonQuerySchema: z.ZodObject<{
|
|
|
70
70
|
fuel_removal_reason_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
71
71
|
}, "strip", z.ZodTypeAny, {
|
|
72
72
|
status: Status[];
|
|
73
|
-
time_zone_id: string;
|
|
74
73
|
search: string;
|
|
75
74
|
paging: PAGING;
|
|
76
75
|
page_count: number;
|
|
@@ -90,11 +89,12 @@ declare const MasterVehicleFuelRemovalReasonQuerySchema: z.ZodObject<{
|
|
|
90
89
|
}[];
|
|
91
90
|
include_master_data: YesNo;
|
|
92
91
|
date_format_id: string;
|
|
92
|
+
time_zone_id: string;
|
|
93
93
|
organisation_ids: string[];
|
|
94
94
|
fuel_removal_reason_ids: string[];
|
|
95
95
|
}, {
|
|
96
|
-
time_zone_id: string;
|
|
97
96
|
date_format_id: string;
|
|
97
|
+
time_zone_id: string;
|
|
98
98
|
status?: Status[] | undefined;
|
|
99
99
|
search?: string | undefined;
|
|
100
100
|
paging?: PAGING | undefined;
|
package/package.json
CHANGED