vms-nest-prisma-api-document 5.0.4 → 5.0.5

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
- login_from: LoginFrom;
26
25
  country_id: string;
26
+ login_from: LoginFrom;
27
27
  os_details: Record<string, any>;
28
28
  ip_details: Record<string, any>;
29
29
  }, {
30
30
  user_id: string;
31
31
  organisation_id: string;
32
- login_from: LoginFrom;
33
32
  country_id: string;
33
+ login_from: LoginFrom;
34
34
  os_details?: Record<string, any> | undefined;
35
35
  ip_details?: Record<string, any> | undefined;
36
36
  }>;
@@ -48,11 +48,11 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
48
48
  organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
49
49
  country_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
50
50
  }, "strip", z.ZodTypeAny, {
51
+ login_from: LoginFrom;
51
52
  search: string;
52
53
  paging: PAGING;
53
54
  page_count: number;
54
55
  page_index: number;
55
- login_from: LoginFrom;
56
56
  date_format_id: string;
57
57
  time_zone_id: string;
58
58
  user_ids: string[];
@@ -43,11 +43,11 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
43
43
  user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
44
44
  organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
45
45
  }, "strip", z.ZodTypeAny, {
46
+ login_from: LoginFrom;
46
47
  search: string;
47
48
  paging: PAGING;
48
49
  page_count: number;
49
50
  page_index: number;
50
- login_from: LoginFrom;
51
51
  date_format_id: string;
52
52
  time_zone_id: string;
53
53
  user_ids: string[];
@@ -48,36 +48,36 @@ declare const GPSFuelVehicleDailySummarySchema: z.ZodObject<{
48
48
  date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
49
49
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
50
50
  }, "strip", z.ZodTypeAny, {
51
+ start_fuel_liters: number;
52
+ end_fuel_liters: number;
53
+ total_km: number;
54
+ consumed_fuel_liters: number;
55
+ refills_count: number;
56
+ removals_count: number;
57
+ mileage: number;
58
+ date: string;
51
59
  status: Status;
52
60
  organisation_id: string;
53
61
  vehicle_id: string;
54
62
  device_id: string;
55
63
  driver_id: string;
56
- date: string;
57
- total_km: number;
58
- consumed_fuel_liters: number;
59
- refills_count: number;
60
64
  refills_liters: number;
61
- start_fuel_liters: number;
62
- end_fuel_liters: number;
63
- removals_count: number;
64
- mileage: number;
65
65
  removals_liters: number;
66
66
  }, {
67
+ date: string;
67
68
  status: Status;
68
69
  organisation_id: string;
69
70
  vehicle_id: string;
70
71
  device_id: string;
71
72
  driver_id: string;
72
- date: string;
73
+ start_fuel_liters?: unknown;
74
+ end_fuel_liters?: unknown;
73
75
  total_km?: unknown;
74
76
  consumed_fuel_liters?: unknown;
75
77
  refills_count?: unknown;
76
- refills_liters?: unknown;
77
- start_fuel_liters?: unknown;
78
- end_fuel_liters?: unknown;
79
78
  removals_count?: unknown;
80
79
  mileage?: unknown;
80
+ refills_liters?: unknown;
81
81
  removals_liters?: unknown;
82
82
  }>;
83
83
  type GPSFuelVehicleDailySummaryDTO = z.infer<typeof GPSFuelVehicleDailySummarySchema>;
@@ -122,7 +122,6 @@ declare const GPSFuelVehicleDailySummaryQuerySchema: z.ZodObject<{
122
122
  day_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
123
123
  }, "strip", z.ZodTypeAny, {
124
124
  status: Status[];
125
- time_zone_id: string;
126
125
  search: string;
127
126
  paging: PAGING;
128
127
  page_count: number;
@@ -142,6 +141,7 @@ declare const GPSFuelVehicleDailySummaryQuerySchema: z.ZodObject<{
142
141
  }[];
143
142
  include_master_data: YesNo;
144
143
  date_format_id: string;
144
+ time_zone_id: string;
145
145
  organisation_ids: string[];
146
146
  vehicle_ids: string[];
147
147
  device_ids: string[];
@@ -151,8 +151,8 @@ declare const GPSFuelVehicleDailySummaryQuerySchema: z.ZodObject<{
151
151
  vehicle_summary: YesNo;
152
152
  day_summary: YesNo;
153
153
  }, {
154
- time_zone_id: string;
155
154
  date_format_id: string;
155
+ time_zone_id: string;
156
156
  from_date: string;
157
157
  to_date: string;
158
158
  status?: Status[] | undefined;
@@ -219,7 +219,6 @@ declare const GPSFuelVehicleMonthlySummaryQuerySchema: z.ZodObject<{
219
219
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
220
220
  }, "strip", z.ZodTypeAny, {
221
221
  status: Status[];
222
- time_zone_id: string;
223
222
  search: string;
224
223
  paging: PAGING;
225
224
  page_count: number;
@@ -239,13 +238,14 @@ declare const GPSFuelVehicleMonthlySummaryQuerySchema: z.ZodObject<{
239
238
  }[];
240
239
  include_master_data: YesNo;
241
240
  date_format_id: string;
241
+ time_zone_id: string;
242
242
  organisation_ids: string[];
243
243
  vehicle_ids: string[];
244
244
  from_date: string;
245
245
  to_date: string;
246
246
  }, {
247
- time_zone_id: string;
248
247
  date_format_id: string;
248
+ time_zone_id: string;
249
249
  from_date: string;
250
250
  to_date: string;
251
251
  status?: Status[] | undefined;
@@ -65,6 +65,17 @@ 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;
68
79
  before_refill_fuel_liters: number;
69
80
  after_refill_fuel_liters: number;
70
81
  gps_refill_liters: number;
@@ -73,33 +84,28 @@ declare const GPSFuelVehicleRefillSchema: z.ZodObject<{
73
84
  transporter_verify_status: GPSFuelApproveStatus;
74
85
  date_time: string;
75
86
  refill_details: string;
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;
87
+ latitude?: number | undefined;
88
+ longitude?: number | undefined;
87
89
  diff_refill_liters?: number | undefined;
88
90
  cost_per_liter?: number | undefined;
89
91
  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;
96
93
  status: Status;
97
94
  organisation_id: string;
98
95
  vehicle_id: string;
99
96
  device_id: string;
100
97
  driver_id: string;
101
- user_id: string;
102
98
  time_zone_id: string;
99
+ 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;
103
109
  before_refill_fuel_liters?: unknown;
104
110
  after_refill_fuel_liters?: unknown;
105
111
  gps_refill_liters?: unknown;
@@ -108,12 +114,6 @@ declare const GPSFuelVehicleRefillSchema: z.ZodObject<{
108
114
  cost_per_liter?: unknown;
109
115
  total_cost?: unknown;
110
116
  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,10 +157,7 @@ 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[];
162
160
  status: Status[];
163
- time_zone_id: string;
164
161
  search: string;
165
162
  paging: PAGING;
166
163
  page_count: number;
@@ -180,20 +177,21 @@ declare const GPSFuelVehicleRefillQuerySchema: z.ZodObject<{
180
177
  }[];
181
178
  include_master_data: YesNo;
182
179
  date_format_id: string;
180
+ time_zone_id: string;
183
181
  organisation_ids: string[];
184
- user_ids: string[];
185
182
  vehicle_ids: string[];
186
183
  device_ids: string[];
187
184
  driver_ids: string[];
188
185
  from_date: string;
189
186
  to_date: string;
187
+ user_ids: string[];
188
+ admin_verify_status: GPSFuelApproveStatus[];
189
+ transporter_verify_status: GPSFuelApproveStatus[];
190
190
  }, {
191
- time_zone_id: string;
192
191
  date_format_id: string;
192
+ time_zone_id: string;
193
193
  from_date: string;
194
194
  to_date: string;
195
- admin_verify_status?: GPSFuelApproveStatus[] | undefined;
196
- transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
197
195
  status?: Status[] | undefined;
198
196
  search?: string | undefined;
199
197
  paging?: PAGING | undefined;
@@ -214,10 +212,12 @@ declare const GPSFuelVehicleRefillQuerySchema: z.ZodObject<{
214
212
  }[] | undefined;
215
213
  include_master_data?: YesNo | undefined;
216
214
  organisation_ids?: string[] | undefined;
217
- user_ids?: string[] | undefined;
218
215
  vehicle_ids?: string[] | undefined;
219
216
  device_ids?: string[] | undefined;
220
217
  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;
75
68
  status: Status;
76
69
  organisation_id: string;
77
70
  vehicle_id: string;
78
71
  device_id: string;
79
72
  driver_id: string;
80
- user_id: string;
81
73
  time_zone_id: string;
74
+ 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;
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
- cost_per_liter?: number | undefined;
88
- total_cost?: number | undefined;
89
87
  latitude?: number | undefined;
90
88
  longitude?: number | undefined;
89
+ cost_per_liter?: number | undefined;
90
+ total_cost?: 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;
96
93
  status: Status;
97
94
  organisation_id: string;
98
95
  vehicle_id: string;
99
96
  device_id: string;
100
97
  driver_id: string;
101
- user_id: string;
102
98
  time_zone_id: string;
103
- cost_per_liter?: unknown;
104
- total_cost?: unknown;
99
+ user_id: string;
100
+ admin_verify_status: GPSFuelApproveStatus;
101
+ transporter_verify_status: GPSFuelApproveStatus;
102
+ date_time: string;
105
103
  latitude?: unknown;
106
104
  longitude?: unknown;
107
105
  gl?: string | undefined;
108
106
  lid?: string | undefined;
109
107
  ll?: string | undefined;
110
108
  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,10 +157,7 @@ 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[];
162
160
  status: Status[];
163
- time_zone_id: string;
164
161
  search: string;
165
162
  paging: PAGING;
166
163
  page_count: number;
@@ -180,20 +177,21 @@ declare const GPSFuelVehicleRemovalQuerySchema: z.ZodObject<{
180
177
  }[];
181
178
  include_master_data: YesNo;
182
179
  date_format_id: string;
180
+ time_zone_id: string;
183
181
  organisation_ids: string[];
184
- user_ids: string[];
185
182
  vehicle_ids: string[];
186
183
  device_ids: string[];
187
184
  driver_ids: string[];
188
185
  from_date: string;
189
186
  to_date: string;
187
+ user_ids: string[];
188
+ admin_verify_status: GPSFuelApproveStatus[];
189
+ transporter_verify_status: GPSFuelApproveStatus[];
190
190
  }, {
191
- time_zone_id: string;
192
191
  date_format_id: string;
192
+ time_zone_id: string;
193
193
  from_date: string;
194
194
  to_date: string;
195
- admin_verify_status?: GPSFuelApproveStatus[] | undefined;
196
- transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
197
195
  status?: Status[] | undefined;
198
196
  search?: string | undefined;
199
197
  paging?: PAGING | undefined;
@@ -214,10 +212,12 @@ declare const GPSFuelVehicleRemovalQuerySchema: z.ZodObject<{
214
212
  }[] | undefined;
215
213
  include_master_data?: YesNo | undefined;
216
214
  organisation_ids?: string[] | undefined;
217
- user_ids?: string[] | undefined;
218
215
  vehicle_ids?: string[] | undefined;
219
216
  device_ids?: string[] | undefined;
220
217
  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;
@@ -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;
45
46
  status: Status;
46
47
  organisation_id: string;
47
48
  type: NotificationType;
48
49
  to_recipients: string;
49
- gps_live_track_share_link_id: string;
50
50
  }, {
51
+ gps_live_track_share_link_id: string;
51
52
  status: Status;
52
53
  organisation_id: string;
53
54
  type: NotificationType;
54
55
  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;
76
77
  status: Status;
77
78
  organisation_id: string;
78
79
  type: NotificationType;
79
80
  to_recipients: string;
80
- gps_live_track_share_link_id: string;
81
81
  }, {
82
+ gps_live_track_share_link_id: string;
82
83
  status: Status;
83
84
  organisation_id: string;
84
85
  type: NotificationType;
85
86
  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;
89
91
  link_status: LinkStatus;
90
92
  status: Status;
91
93
  organisation_id: string;
92
94
  vehicle_id: string;
93
95
  trip_id: string;
96
+ expire_milliseconds: number;
94
97
  notifications: {
98
+ gps_live_track_share_link_id: string;
95
99
  status: Status;
96
100
  organisation_id: string;
97
101
  type: NotificationType;
98
102
  to_recipients: string;
99
- gps_live_track_share_link_id: string;
100
103
  }[];
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;
107
108
  link_status: LinkStatus;
108
109
  status: Status;
109
110
  organisation_id: string;
110
111
  vehicle_id: string;
111
112
  trip_id: string;
112
- link_type: LinkType;
113
+ latitude?: unknown;
114
+ longitude?: unknown;
115
+ location?: string | undefined;
116
+ expire_milliseconds?: unknown;
113
117
  notifications?: {
118
+ gps_live_track_share_link_id: string;
114
119
  status: Status;
115
120
  organisation_id: string;
116
121
  type: NotificationType;
117
122
  to_recipients: string;
118
- gps_live_track_share_link_id: string;
119
123
  }[] | 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,6 +176,7 @@ 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[];
179
180
  link_status: LinkStatus[];
180
181
  status: Status[];
181
182
  search: string;
@@ -201,10 +202,10 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
201
202
  organisation_ids: string[];
202
203
  vehicle_ids: string[];
203
204
  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;
208
209
  link_status?: LinkStatus[] | undefined;
209
210
  status?: Status[] | undefined;
210
211
  search?: string | undefined;
@@ -228,7 +229,6 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
228
229
  organisation_ids?: string[] | undefined;
229
230
  vehicle_ids?: string[] | undefined;
230
231
  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;
44
43
  status: Status;
45
44
  organisation_id: string;
46
45
  type: NotificationType;
47
46
  to_recipients: string;
48
- }, {
49
47
  gps_track_history_share_link_id: string;
48
+ }, {
50
49
  status: Status;
51
50
  organisation_id: string;
52
51
  type: NotificationType;
53
52
  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;
72
71
  status: Status;
73
72
  organisation_id: string;
74
73
  type: NotificationType;
75
74
  to_recipients: string;
76
- }, {
77
75
  gps_track_history_share_link_id: string;
76
+ }, {
78
77
  status: Status;
79
78
  organisation_id: string;
80
79
  type: NotificationType;
81
80
  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;
86
84
  link_status: TrackHistoryLinkStatus;
87
85
  status: Status;
88
86
  organisation_id: string;
89
87
  vehicle_id: string;
90
88
  trip_id: string;
91
89
  notifications: {
92
- gps_track_history_share_link_id: string;
93
90
  status: Status;
94
91
  organisation_id: string;
95
92
  type: NotificationType;
96
93
  to_recipients: string;
94
+ gps_track_history_share_link_id: string;
97
95
  }[];
98
- }, {
99
96
  from_date_time: string;
100
97
  to_date_time: string;
98
+ }, {
101
99
  link_status: TrackHistoryLinkStatus;
102
100
  status: Status;
103
101
  organisation_id: string;
104
102
  vehicle_id: string;
105
103
  trip_id: string;
104
+ from_date_time: string;
105
+ to_date_time: string;
106
106
  notifications?: {
107
- gps_track_history_share_link_id: string;
108
107
  status: Status;
109
108
  organisation_id: string;
110
109
  type: NotificationType;
111
110
  to_recipients: string;
111
+ gps_track_history_share_link_id: string;
112
112
  }[] | undefined;
113
113
  }>;
114
114
  type GPSTrackHistoryShareLinkDTO = z.infer<typeof GPSTrackHistoryShareLinkSchema>;