vms-nest-prisma-api-document 5.0.3 → 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.
@@ -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[];
@@ -18,6 +18,7 @@ interface GPSFuelVehicleDailySummary extends Record<string, unknown> {
18
18
  removal_liters: number;
19
19
  mileage: number;
20
20
  date: string;
21
+ date_f: string;
21
22
  status: Status;
22
23
  added_date_time: string;
23
24
  modified_date_time: string;
@@ -47,36 +48,36 @@ declare const GPSFuelVehicleDailySummarySchema: z.ZodObject<{
47
48
  date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
48
49
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
49
50
  }, "strip", z.ZodTypeAny, {
50
- start_fuel_liters: number;
51
- end_fuel_liters: number;
52
- total_km: number;
53
- consumed_fuel_liters: number;
54
- refills_count: number;
55
- removals_count: number;
56
- mileage: number;
57
- date: string;
58
51
  status: Status;
59
52
  organisation_id: string;
60
53
  vehicle_id: string;
61
54
  device_id: string;
62
55
  driver_id: string;
56
+ date: string;
57
+ total_km: number;
58
+ consumed_fuel_liters: number;
59
+ refills_count: number;
63
60
  refills_liters: number;
61
+ start_fuel_liters: number;
62
+ end_fuel_liters: number;
63
+ removals_count: number;
64
+ mileage: number;
64
65
  removals_liters: number;
65
66
  }, {
66
- date: string;
67
67
  status: Status;
68
68
  organisation_id: string;
69
69
  vehicle_id: string;
70
70
  device_id: string;
71
71
  driver_id: string;
72
- start_fuel_liters?: unknown;
73
- end_fuel_liters?: unknown;
72
+ date: string;
74
73
  total_km?: unknown;
75
74
  consumed_fuel_liters?: unknown;
76
75
  refills_count?: unknown;
76
+ refills_liters?: unknown;
77
+ start_fuel_liters?: unknown;
78
+ end_fuel_liters?: unknown;
77
79
  removals_count?: unknown;
78
80
  mileage?: unknown;
79
- refills_liters?: unknown;
80
81
  removals_liters?: unknown;
81
82
  }>;
82
83
  type GPSFuelVehicleDailySummaryDTO = z.infer<typeof GPSFuelVehicleDailySummarySchema>;
@@ -121,6 +122,7 @@ declare const GPSFuelVehicleDailySummaryQuerySchema: z.ZodObject<{
121
122
  day_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
122
123
  }, "strip", z.ZodTypeAny, {
123
124
  status: Status[];
125
+ time_zone_id: string;
124
126
  search: string;
125
127
  paging: PAGING;
126
128
  page_count: number;
@@ -140,7 +142,6 @@ declare const GPSFuelVehicleDailySummaryQuerySchema: z.ZodObject<{
140
142
  }[];
141
143
  include_master_data: YesNo;
142
144
  date_format_id: string;
143
- time_zone_id: string;
144
145
  organisation_ids: string[];
145
146
  vehicle_ids: string[];
146
147
  device_ids: string[];
@@ -150,8 +151,8 @@ declare const GPSFuelVehicleDailySummaryQuerySchema: z.ZodObject<{
150
151
  vehicle_summary: YesNo;
151
152
  day_summary: YesNo;
152
153
  }, {
153
- date_format_id: string;
154
154
  time_zone_id: string;
155
+ date_format_id: string;
155
156
  from_date: string;
156
157
  to_date: string;
157
158
  status?: Status[] | undefined;
@@ -218,6 +219,7 @@ declare const GPSFuelVehicleMonthlySummaryQuerySchema: z.ZodObject<{
218
219
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
219
220
  }, "strip", z.ZodTypeAny, {
220
221
  status: Status[];
222
+ time_zone_id: string;
221
223
  search: string;
222
224
  paging: PAGING;
223
225
  page_count: number;
@@ -237,14 +239,13 @@ declare const GPSFuelVehicleMonthlySummaryQuerySchema: z.ZodObject<{
237
239
  }[];
238
240
  include_master_data: YesNo;
239
241
  date_format_id: string;
240
- time_zone_id: string;
241
242
  organisation_ids: string[];
242
243
  vehicle_ids: string[];
243
244
  from_date: string;
244
245
  to_date: string;
245
246
  }, {
246
- date_format_id: string;
247
247
  time_zone_id: string;
248
+ date_format_id: string;
248
249
  from_date: string;
249
250
  to_date: string;
250
251
  status?: Status[] | undefined;
@@ -65,17 +65,6 @@ declare const GPSFuelVehicleRefillSchema: z.ZodObject<{
65
65
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
66
66
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
67
67
  }, "strip", z.ZodTypeAny, {
68
- status: Status;
69
- organisation_id: string;
70
- vehicle_id: string;
71
- device_id: string;
72
- driver_id: string;
73
- time_zone_id: string;
74
- user_id: string;
75
- gl: string;
76
- lid: string;
77
- ll: string;
78
- ld: number;
79
68
  before_refill_fuel_liters: number;
80
69
  after_refill_fuel_liters: number;
81
70
  gps_refill_liters: number;
@@ -84,28 +73,33 @@ declare const GPSFuelVehicleRefillSchema: z.ZodObject<{
84
73
  transporter_verify_status: GPSFuelApproveStatus;
85
74
  date_time: string;
86
75
  refill_details: string;
87
- latitude?: number | undefined;
88
- longitude?: number | undefined;
76
+ gl: string;
77
+ lid: string;
78
+ ll: string;
79
+ ld: number;
80
+ status: Status;
81
+ organisation_id: string;
82
+ vehicle_id: string;
83
+ device_id: string;
84
+ driver_id: string;
85
+ user_id: string;
86
+ time_zone_id: string;
89
87
  diff_refill_liters?: number | undefined;
90
88
  cost_per_liter?: number | undefined;
91
89
  total_cost?: number | undefined;
90
+ latitude?: number | undefined;
91
+ longitude?: number | undefined;
92
92
  }, {
93
+ admin_verify_status: GPSFuelApproveStatus;
94
+ transporter_verify_status: GPSFuelApproveStatus;
95
+ date_time: string;
93
96
  status: Status;
94
97
  organisation_id: string;
95
98
  vehicle_id: string;
96
99
  device_id: string;
97
100
  driver_id: string;
98
- time_zone_id: string;
99
101
  user_id: string;
100
- admin_verify_status: GPSFuelApproveStatus;
101
- transporter_verify_status: GPSFuelApproveStatus;
102
- date_time: string;
103
- latitude?: unknown;
104
- longitude?: unknown;
105
- gl?: string | undefined;
106
- lid?: string | undefined;
107
- ll?: string | undefined;
108
- ld?: unknown;
102
+ time_zone_id: string;
109
103
  before_refill_fuel_liters?: unknown;
110
104
  after_refill_fuel_liters?: unknown;
111
105
  gps_refill_liters?: unknown;
@@ -114,6 +108,12 @@ declare const GPSFuelVehicleRefillSchema: z.ZodObject<{
114
108
  cost_per_liter?: unknown;
115
109
  total_cost?: unknown;
116
110
  refill_details?: string | undefined;
111
+ latitude?: unknown;
112
+ longitude?: unknown;
113
+ gl?: string | undefined;
114
+ lid?: string | undefined;
115
+ ll?: string | undefined;
116
+ ld?: unknown;
117
117
  }>;
118
118
  type GPSFuelVehicleRefillDTO = z.infer<typeof GPSFuelVehicleRefillSchema>;
119
119
  declare const GPSFuelVehicleRefillQuerySchema: z.ZodObject<{
@@ -157,7 +157,10 @@ declare const GPSFuelVehicleRefillQuerySchema: z.ZodObject<{
157
157
  from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
158
158
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
159
159
  }, "strip", z.ZodTypeAny, {
160
+ admin_verify_status: GPSFuelApproveStatus[];
161
+ transporter_verify_status: GPSFuelApproveStatus[];
160
162
  status: Status[];
163
+ time_zone_id: string;
161
164
  search: string;
162
165
  paging: PAGING;
163
166
  page_count: number;
@@ -177,21 +180,20 @@ declare const GPSFuelVehicleRefillQuerySchema: z.ZodObject<{
177
180
  }[];
178
181
  include_master_data: YesNo;
179
182
  date_format_id: string;
180
- time_zone_id: string;
181
183
  organisation_ids: string[];
184
+ user_ids: string[];
182
185
  vehicle_ids: string[];
183
186
  device_ids: string[];
184
187
  driver_ids: string[];
185
188
  from_date: string;
186
189
  to_date: string;
187
- user_ids: string[];
188
- admin_verify_status: GPSFuelApproveStatus[];
189
- transporter_verify_status: GPSFuelApproveStatus[];
190
190
  }, {
191
- date_format_id: string;
192
191
  time_zone_id: string;
192
+ date_format_id: string;
193
193
  from_date: string;
194
194
  to_date: string;
195
+ admin_verify_status?: GPSFuelApproveStatus[] | undefined;
196
+ transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
195
197
  status?: Status[] | undefined;
196
198
  search?: string | undefined;
197
199
  paging?: PAGING | undefined;
@@ -212,12 +214,10 @@ declare const GPSFuelVehicleRefillQuerySchema: z.ZodObject<{
212
214
  }[] | undefined;
213
215
  include_master_data?: YesNo | undefined;
214
216
  organisation_ids?: string[] | undefined;
217
+ user_ids?: string[] | undefined;
215
218
  vehicle_ids?: string[] | undefined;
216
219
  device_ids?: string[] | undefined;
217
220
  driver_ids?: string[] | undefined;
218
- user_ids?: string[] | undefined;
219
- admin_verify_status?: GPSFuelApproveStatus[] | undefined;
220
- transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
221
221
  }>;
222
222
  type GPSFuelVehicleRefillQueryDTO = z.infer<typeof GPSFuelVehicleRefillQuerySchema>;
223
223
  declare const toGPSFuelVehicleRefillPayload: (data: GPSFuelVehicleRefill) => GPSFuelVehicleRefillDTO;
@@ -65,49 +65,49 @@ declare const GPSFuelVehicleRemovalSchema: z.ZodObject<{
65
65
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
66
66
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
67
67
  }, "strip", z.ZodTypeAny, {
68
+ admin_verify_status: GPSFuelApproveStatus;
69
+ transporter_verify_status: GPSFuelApproveStatus;
70
+ date_time: string;
71
+ gl: string;
72
+ lid: string;
73
+ ll: string;
74
+ ld: number;
68
75
  status: Status;
69
76
  organisation_id: string;
70
77
  vehicle_id: string;
71
78
  device_id: string;
72
79
  driver_id: string;
73
- time_zone_id: string;
74
80
  user_id: string;
75
- gl: string;
76
- lid: string;
77
- ll: string;
78
- ld: number;
79
- admin_verify_status: GPSFuelApproveStatus;
80
- transporter_verify_status: GPSFuelApproveStatus;
81
- date_time: string;
81
+ time_zone_id: string;
82
82
  before_remove_fuel_liters: number;
83
83
  after_remove_fuel_liters: number;
84
84
  gps_removal_liters: number;
85
85
  verified_removal_liters: number;
86
86
  removal_details: string;
87
- latitude?: number | undefined;
88
- longitude?: number | undefined;
89
87
  cost_per_liter?: number | undefined;
90
88
  total_cost?: number | undefined;
89
+ latitude?: number | undefined;
90
+ longitude?: number | undefined;
91
91
  diff_removal_liters?: number | undefined;
92
92
  }, {
93
+ admin_verify_status: GPSFuelApproveStatus;
94
+ transporter_verify_status: GPSFuelApproveStatus;
95
+ date_time: string;
93
96
  status: Status;
94
97
  organisation_id: string;
95
98
  vehicle_id: string;
96
99
  device_id: string;
97
100
  driver_id: string;
98
- time_zone_id: string;
99
101
  user_id: string;
100
- admin_verify_status: GPSFuelApproveStatus;
101
- transporter_verify_status: GPSFuelApproveStatus;
102
- date_time: string;
102
+ time_zone_id: string;
103
+ cost_per_liter?: unknown;
104
+ total_cost?: unknown;
103
105
  latitude?: unknown;
104
106
  longitude?: unknown;
105
107
  gl?: string | undefined;
106
108
  lid?: string | undefined;
107
109
  ll?: string | undefined;
108
110
  ld?: unknown;
109
- cost_per_liter?: unknown;
110
- total_cost?: unknown;
111
111
  before_remove_fuel_liters?: unknown;
112
112
  after_remove_fuel_liters?: unknown;
113
113
  gps_removal_liters?: unknown;
@@ -157,7 +157,10 @@ declare const GPSFuelVehicleRemovalQuerySchema: z.ZodObject<{
157
157
  from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
158
158
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
159
159
  }, "strip", z.ZodTypeAny, {
160
+ admin_verify_status: GPSFuelApproveStatus[];
161
+ transporter_verify_status: GPSFuelApproveStatus[];
160
162
  status: Status[];
163
+ time_zone_id: string;
161
164
  search: string;
162
165
  paging: PAGING;
163
166
  page_count: number;
@@ -177,21 +180,20 @@ declare const GPSFuelVehicleRemovalQuerySchema: z.ZodObject<{
177
180
  }[];
178
181
  include_master_data: YesNo;
179
182
  date_format_id: string;
180
- time_zone_id: string;
181
183
  organisation_ids: string[];
184
+ user_ids: string[];
182
185
  vehicle_ids: string[];
183
186
  device_ids: string[];
184
187
  driver_ids: string[];
185
188
  from_date: string;
186
189
  to_date: string;
187
- user_ids: string[];
188
- admin_verify_status: GPSFuelApproveStatus[];
189
- transporter_verify_status: GPSFuelApproveStatus[];
190
190
  }, {
191
- date_format_id: string;
192
191
  time_zone_id: string;
192
+ date_format_id: string;
193
193
  from_date: string;
194
194
  to_date: string;
195
+ admin_verify_status?: GPSFuelApproveStatus[] | undefined;
196
+ transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
195
197
  status?: Status[] | undefined;
196
198
  search?: string | undefined;
197
199
  paging?: PAGING | undefined;
@@ -212,12 +214,10 @@ declare const GPSFuelVehicleRemovalQuerySchema: z.ZodObject<{
212
214
  }[] | undefined;
213
215
  include_master_data?: YesNo | undefined;
214
216
  organisation_ids?: string[] | undefined;
217
+ user_ids?: string[] | undefined;
215
218
  vehicle_ids?: string[] | undefined;
216
219
  device_ids?: string[] | undefined;
217
220
  driver_ids?: string[] | undefined;
218
- user_ids?: string[] | undefined;
219
- admin_verify_status?: GPSFuelApproveStatus[] | undefined;
220
- transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
221
221
  }>;
222
222
  type GPSFuelVehicleRemovalQueryDTO = z.infer<typeof GPSFuelVehicleRemovalQuerySchema>;
223
223
  declare const toGPSFuelVehicleRemovalPayload: (item: GPSFuelVehicleRemoval) => GPSFuelVehicleRemovalDTO;
@@ -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
- gps_geofence_id: string;
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
- geofence_status_type: GeofenceStatusType;
48
- geofence_time: string;
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
- latitude?: unknown;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vms-nest-prisma-api-document",
3
- "version": "5.0.3",
3
+ "version": "5.0.4",
4
4
  "description": "Reusable API SDK built with NestJS, Prisma, Axios, and Zod for VMS frontends.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",