vms-nest-prisma-api-document 5.0.2 → 5.0.4
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/gps/features/fuel/gps_fuel_vehicle_daily_summary_service.d.ts +1 -0
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_refill_service.d.ts +13 -12
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_removal_service.d.ts +13 -12
- package/dist/services/gps/features/geofence/gps_geofence_data_service.d.ts +10 -10
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +9 -9
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +4 -4
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +2 -2
- 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/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/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
|
-
country_id: string;
|
|
26
25
|
login_from: LoginFrom;
|
|
26
|
+
country_id: string;
|
|
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
|
-
country_id: string;
|
|
33
32
|
login_from: LoginFrom;
|
|
33
|
+
country_id: string;
|
|
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;
|
|
52
51
|
search: string;
|
|
53
52
|
paging: PAGING;
|
|
54
53
|
page_count: number;
|
|
55
54
|
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;
|
|
47
46
|
search: string;
|
|
48
47
|
paging: PAGING;
|
|
49
48
|
page_count: number;
|
|
50
49
|
page_index: number;
|
|
50
|
+
login_from: LoginFrom;
|
|
51
51
|
date_format_id: string;
|
|
52
52
|
time_zone_id: string;
|
|
53
53
|
user_ids: string[];
|
|
@@ -15,6 +15,7 @@ interface GPSFuelVehicleRefill extends Record<string, unknown> {
|
|
|
15
15
|
admin_verify_status: GPSFuelApproveStatus;
|
|
16
16
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
17
17
|
date_time: string;
|
|
18
|
+
date_time_f: string;
|
|
18
19
|
cost_per_liter?: number;
|
|
19
20
|
total_cost?: number;
|
|
20
21
|
refill_details?: string;
|
|
@@ -64,9 +65,14 @@ declare const GPSFuelVehicleRefillSchema: z.ZodObject<{
|
|
|
64
65
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
65
66
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
66
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
|
+
before_refill_fuel_liters: number;
|
|
69
|
+
after_refill_fuel_liters: number;
|
|
70
|
+
gps_refill_liters: number;
|
|
71
|
+
verified_refill_liters: number;
|
|
67
72
|
admin_verify_status: GPSFuelApproveStatus;
|
|
68
73
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
69
74
|
date_time: string;
|
|
75
|
+
refill_details: string;
|
|
70
76
|
gl: string;
|
|
71
77
|
lid: string;
|
|
72
78
|
ll: string;
|
|
@@ -78,16 +84,11 @@ declare const GPSFuelVehicleRefillSchema: z.ZodObject<{
|
|
|
78
84
|
driver_id: string;
|
|
79
85
|
user_id: string;
|
|
80
86
|
time_zone_id: string;
|
|
81
|
-
|
|
82
|
-
after_refill_fuel_liters: number;
|
|
83
|
-
gps_refill_liters: number;
|
|
84
|
-
verified_refill_liters: number;
|
|
85
|
-
refill_details: string;
|
|
87
|
+
diff_refill_liters?: number | undefined;
|
|
86
88
|
cost_per_liter?: number | undefined;
|
|
87
89
|
total_cost?: number | undefined;
|
|
88
90
|
latitude?: number | undefined;
|
|
89
91
|
longitude?: number | undefined;
|
|
90
|
-
diff_refill_liters?: number | undefined;
|
|
91
92
|
}, {
|
|
92
93
|
admin_verify_status: GPSFuelApproveStatus;
|
|
93
94
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
@@ -99,20 +100,20 @@ declare const GPSFuelVehicleRefillSchema: z.ZodObject<{
|
|
|
99
100
|
driver_id: string;
|
|
100
101
|
user_id: string;
|
|
101
102
|
time_zone_id: string;
|
|
103
|
+
before_refill_fuel_liters?: unknown;
|
|
104
|
+
after_refill_fuel_liters?: unknown;
|
|
105
|
+
gps_refill_liters?: unknown;
|
|
106
|
+
verified_refill_liters?: unknown;
|
|
107
|
+
diff_refill_liters?: unknown;
|
|
102
108
|
cost_per_liter?: unknown;
|
|
103
109
|
total_cost?: unknown;
|
|
110
|
+
refill_details?: string | undefined;
|
|
104
111
|
latitude?: unknown;
|
|
105
112
|
longitude?: unknown;
|
|
106
113
|
gl?: string | undefined;
|
|
107
114
|
lid?: string | undefined;
|
|
108
115
|
ll?: string | undefined;
|
|
109
116
|
ld?: unknown;
|
|
110
|
-
before_refill_fuel_liters?: unknown;
|
|
111
|
-
after_refill_fuel_liters?: unknown;
|
|
112
|
-
gps_refill_liters?: unknown;
|
|
113
|
-
verified_refill_liters?: unknown;
|
|
114
|
-
diff_refill_liters?: unknown;
|
|
115
|
-
refill_details?: string | undefined;
|
|
116
117
|
}>;
|
|
117
118
|
type GPSFuelVehicleRefillDTO = z.infer<typeof GPSFuelVehicleRefillSchema>;
|
|
118
119
|
declare const GPSFuelVehicleRefillQuerySchema: z.ZodObject<{
|
|
@@ -15,6 +15,7 @@ interface GPSFuelVehicleRemoval extends Record<string, unknown> {
|
|
|
15
15
|
admin_verify_status: GPSFuelApproveStatus;
|
|
16
16
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
17
17
|
date_time: string;
|
|
18
|
+
date_time_f: string;
|
|
18
19
|
cost_per_liter?: number;
|
|
19
20
|
total_cost?: number;
|
|
20
21
|
removal_details?: string;
|
|
@@ -64,14 +65,9 @@ declare const GPSFuelVehicleRemovalSchema: z.ZodObject<{
|
|
|
64
65
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
65
66
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
66
67
|
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
before_remove_fuel_liters: number;
|
|
68
|
-
after_remove_fuel_liters: number;
|
|
69
|
-
gps_removal_liters: number;
|
|
70
|
-
verified_removal_liters: number;
|
|
71
68
|
admin_verify_status: GPSFuelApproveStatus;
|
|
72
69
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
73
70
|
date_time: string;
|
|
74
|
-
removal_details: string;
|
|
75
71
|
gl: string;
|
|
76
72
|
lid: string;
|
|
77
73
|
ll: string;
|
|
@@ -83,11 +79,16 @@ declare const GPSFuelVehicleRemovalSchema: z.ZodObject<{
|
|
|
83
79
|
driver_id: string;
|
|
84
80
|
user_id: string;
|
|
85
81
|
time_zone_id: string;
|
|
86
|
-
|
|
82
|
+
before_remove_fuel_liters: number;
|
|
83
|
+
after_remove_fuel_liters: number;
|
|
84
|
+
gps_removal_liters: number;
|
|
85
|
+
verified_removal_liters: number;
|
|
86
|
+
removal_details: string;
|
|
87
87
|
cost_per_liter?: number | undefined;
|
|
88
88
|
total_cost?: number | undefined;
|
|
89
89
|
latitude?: number | undefined;
|
|
90
90
|
longitude?: number | undefined;
|
|
91
|
+
diff_removal_liters?: number | undefined;
|
|
91
92
|
}, {
|
|
92
93
|
admin_verify_status: GPSFuelApproveStatus;
|
|
93
94
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
@@ -99,20 +100,20 @@ declare const GPSFuelVehicleRemovalSchema: z.ZodObject<{
|
|
|
99
100
|
driver_id: string;
|
|
100
101
|
user_id: string;
|
|
101
102
|
time_zone_id: string;
|
|
102
|
-
before_remove_fuel_liters?: unknown;
|
|
103
|
-
after_remove_fuel_liters?: unknown;
|
|
104
|
-
gps_removal_liters?: unknown;
|
|
105
|
-
verified_removal_liters?: unknown;
|
|
106
|
-
diff_removal_liters?: unknown;
|
|
107
103
|
cost_per_liter?: unknown;
|
|
108
104
|
total_cost?: unknown;
|
|
109
|
-
removal_details?: string | undefined;
|
|
110
105
|
latitude?: unknown;
|
|
111
106
|
longitude?: unknown;
|
|
112
107
|
gl?: string | undefined;
|
|
113
108
|
lid?: string | undefined;
|
|
114
109
|
ll?: string | undefined;
|
|
115
110
|
ld?: unknown;
|
|
111
|
+
before_remove_fuel_liters?: unknown;
|
|
112
|
+
after_remove_fuel_liters?: unknown;
|
|
113
|
+
gps_removal_liters?: unknown;
|
|
114
|
+
verified_removal_liters?: unknown;
|
|
115
|
+
diff_removal_liters?: unknown;
|
|
116
|
+
removal_details?: string | undefined;
|
|
116
117
|
}>;
|
|
117
118
|
type GPSFuelVehicleRemovalDTO = z.infer<typeof GPSFuelVehicleRemovalSchema>;
|
|
118
119
|
declare const GPSFuelVehicleRemovalQuerySchema: z.ZodObject<{
|
|
@@ -59,6 +59,8 @@ declare const GPSGeofenceDataSchema: z.ZodObject<{
|
|
|
59
59
|
geofence_purpose_type: z.ZodType<GeofencePurposeType, z.ZodTypeDef, GeofencePurposeType>;
|
|
60
60
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
status: Status;
|
|
63
|
+
organisation_id: string;
|
|
62
64
|
geofence_name: string;
|
|
63
65
|
location_name: string;
|
|
64
66
|
geofence_type: GeofenceType;
|
|
@@ -68,21 +70,19 @@ declare const GPSGeofenceDataSchema: z.ZodObject<{
|
|
|
68
70
|
}[];
|
|
69
71
|
geofence_description: string;
|
|
70
72
|
geofence_purpose_type: GeofencePurposeType;
|
|
71
|
-
status: Status;
|
|
72
|
-
organisation_id: string;
|
|
73
|
-
radius_km?: number | undefined;
|
|
74
73
|
latitude?: number | undefined;
|
|
75
74
|
longitude?: number | undefined;
|
|
75
|
+
radius_km?: number | undefined;
|
|
76
76
|
}, {
|
|
77
|
+
status: Status;
|
|
78
|
+
organisation_id: string;
|
|
77
79
|
geofence_name: string;
|
|
78
80
|
location_name: string;
|
|
79
81
|
geofence_type: GeofenceType;
|
|
80
82
|
geofence_purpose_type: GeofencePurposeType;
|
|
81
|
-
status: Status;
|
|
82
|
-
organisation_id: string;
|
|
83
|
-
radius_km?: unknown;
|
|
84
83
|
latitude?: unknown;
|
|
85
84
|
longitude?: unknown;
|
|
85
|
+
radius_km?: unknown;
|
|
86
86
|
poliline_data?: {
|
|
87
87
|
latitude?: unknown;
|
|
88
88
|
longitude?: unknown;
|
|
@@ -125,8 +125,6 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
|
|
|
125
125
|
geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
|
|
126
126
|
geofence_purpose_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofencePurposeType>, "many">>>;
|
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
|
-
geofence_type: GeofenceType[];
|
|
129
|
-
geofence_purpose_type: GeofencePurposeType[];
|
|
130
128
|
status: Status[];
|
|
131
129
|
search: string;
|
|
132
130
|
paging: PAGING;
|
|
@@ -149,11 +147,11 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
|
|
|
149
147
|
date_format_id: string;
|
|
150
148
|
time_zone_id: string;
|
|
151
149
|
organisation_ids: string[];
|
|
150
|
+
geofence_type: GeofenceType[];
|
|
151
|
+
geofence_purpose_type: GeofencePurposeType[];
|
|
152
152
|
}, {
|
|
153
153
|
date_format_id: string;
|
|
154
154
|
time_zone_id: string;
|
|
155
|
-
geofence_type?: GeofenceType[] | undefined;
|
|
156
|
-
geofence_purpose_type?: GeofencePurposeType[] | undefined;
|
|
157
155
|
status?: Status[] | undefined;
|
|
158
156
|
search?: string | undefined;
|
|
159
157
|
paging?: PAGING | undefined;
|
|
@@ -174,6 +172,8 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
|
|
|
174
172
|
}[] | undefined;
|
|
175
173
|
include_master_data?: YesNo | undefined;
|
|
176
174
|
organisation_ids?: string[] | undefined;
|
|
175
|
+
geofence_type?: GeofenceType[] | undefined;
|
|
176
|
+
geofence_purpose_type?: GeofencePurposeType[] | undefined;
|
|
177
177
|
}>;
|
|
178
178
|
type GPSGeofenceDataQueryDTO = z.infer<typeof GPSGeofenceDataQuerySchema>;
|
|
179
179
|
declare const toGPSGeofenceDataPayload: (data: GPSGeofenceData) => GPSGeofenceDataDTO;
|
|
@@ -31,21 +31,21 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
|
31
31
|
geofence_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
32
32
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
|
|
34
|
+
geofence_status_type: GeofenceStatusType;
|
|
35
|
+
geofence_time: string;
|
|
35
36
|
status: Status;
|
|
36
37
|
organisation_id: string;
|
|
37
|
-
driver_id: string;
|
|
38
38
|
vehicle_id: string;
|
|
39
|
+
driver_id: string;
|
|
40
|
+
gps_geofence_id: string;
|
|
41
|
+
}, {
|
|
39
42
|
geofence_status_type: GeofenceStatusType;
|
|
40
43
|
geofence_time: string;
|
|
41
|
-
}, {
|
|
42
|
-
gps_geofence_id: string;
|
|
43
44
|
status: Status;
|
|
44
45
|
organisation_id: string;
|
|
45
|
-
driver_id: string;
|
|
46
46
|
vehicle_id: string;
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
driver_id: string;
|
|
48
|
+
gps_geofence_id: string;
|
|
49
49
|
}>;
|
|
50
50
|
type GPSGeofenceTransactionDTO = z.infer<typeof GPSGeofenceTransactionSchema>;
|
|
51
51
|
declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
@@ -85,6 +85,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
85
85
|
gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
86
86
|
geofence_status_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceStatusType>, "many">>>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
geofence_status_type: GeofenceStatusType[];
|
|
88
89
|
status: Status[];
|
|
89
90
|
search: string;
|
|
90
91
|
paging: PAGING;
|
|
@@ -109,11 +110,11 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
109
110
|
organisation_ids: string[];
|
|
110
111
|
vehicle_ids: string[];
|
|
111
112
|
driver_ids: string[];
|
|
112
|
-
geofence_status_type: GeofenceStatusType[];
|
|
113
113
|
gps_geofence_ids: string[];
|
|
114
114
|
}, {
|
|
115
115
|
date_format_id: string;
|
|
116
116
|
time_zone_id: string;
|
|
117
|
+
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
117
118
|
status?: Status[] | undefined;
|
|
118
119
|
search?: string | undefined;
|
|
119
120
|
paging?: PAGING | undefined;
|
|
@@ -136,7 +137,6 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
136
137
|
organisation_ids?: string[] | undefined;
|
|
137
138
|
vehicle_ids?: string[] | undefined;
|
|
138
139
|
driver_ids?: string[] | undefined;
|
|
139
|
-
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
140
140
|
gps_geofence_ids?: string[] | undefined;
|
|
141
141
|
}>;
|
|
142
142
|
type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
|
|
@@ -40,22 +40,22 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
40
40
|
duration_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
41
41
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
gps_geofence_id: string;
|
|
44
43
|
status: Status;
|
|
45
44
|
organisation_id: string;
|
|
46
|
-
driver_id: string;
|
|
47
45
|
vehicle_id: string;
|
|
46
|
+
driver_id: string;
|
|
47
|
+
gps_geofence_id: string;
|
|
48
48
|
geofence_enter_date_time: string;
|
|
49
49
|
geofence_exit_date_time: string;
|
|
50
50
|
duration_seconds: number;
|
|
51
51
|
enter_gps_geofence_transaction_id: string;
|
|
52
52
|
exit_gps_geofence_transaction_id: string;
|
|
53
53
|
}, {
|
|
54
|
-
gps_geofence_id: string;
|
|
55
54
|
status: Status;
|
|
56
55
|
organisation_id: string;
|
|
57
|
-
driver_id: string;
|
|
58
56
|
vehicle_id: string;
|
|
57
|
+
driver_id: string;
|
|
58
|
+
gps_geofence_id: string;
|
|
59
59
|
geofence_enter_date_time: string;
|
|
60
60
|
enter_gps_geofence_transaction_id: string;
|
|
61
61
|
exit_gps_geofence_transaction_id: string;
|
|
@@ -64,8 +64,8 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
65
|
status: Status;
|
|
66
66
|
organisation_id: string;
|
|
67
|
-
driver_id: string;
|
|
68
67
|
vehicle_id: string;
|
|
68
|
+
driver_id: string;
|
|
69
69
|
duration_seconds: number;
|
|
70
70
|
from_geofence_exit_date_time: string;
|
|
71
71
|
to_geofence_enter_date_time: string;
|
|
@@ -87,8 +87,8 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
87
87
|
}, {
|
|
88
88
|
status: Status;
|
|
89
89
|
organisation_id: string;
|
|
90
|
-
driver_id: string;
|
|
91
90
|
vehicle_id: string;
|
|
91
|
+
driver_id: string;
|
|
92
92
|
from_geofence_exit_date_time: string;
|
|
93
93
|
to_geofence_enter_date_time: string;
|
|
94
94
|
from_geofence_id: string;
|
|
@@ -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>;
|
|
@@ -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 MasterMainFasttagSchema: 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 MasterMainFasttagDTO = z.infer<typeof MasterMainFasttagSchema>;
|
package/package.json
CHANGED