vms-nest-prisma-api-document 24.0.0 → 25.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dist/core/Enums.d.ts +28 -12
  2. package/dist/core/Enums.js +34 -14
  3. package/dist/services/account/bookmark_service.d.ts +1 -1
  4. package/dist/services/{gps/features/user_notification_preferences.service.d.ts → account/notification_preferences.service.d.ts} +82 -50
  5. package/dist/services/{gps/features/user_notification_preferences.service.js → account/notification_preferences.service.js} +80 -63
  6. package/dist/services/{gps/features/user_report_preferences.service.d.ts → account/report_preferences.service.d.ts} +64 -53
  7. package/dist/services/{gps/features/user_report_preferences.service.js → account/report_preferences.service.js} +52 -19
  8. package/dist/services/account/ticket_service.d.ts +39 -31
  9. package/dist/services/account/ticket_service.js +27 -23
  10. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
  11. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +1 -1
  12. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
  13. package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +28 -28
  14. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +16 -16
  15. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +11 -11
  16. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +7 -7
  17. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +79 -64
  18. package/dist/services/gps/features/gps_live_track_share_link_service.js +62 -84
  19. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +69 -47
  20. package/dist/services/gps/features/gps_track_history_share_link_service.js +68 -44
  21. package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
  22. package/dist/services/main/devices/master_device_service.d.ts +1 -1
  23. package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
  24. package/dist/services/main/sims/master_sim_service.d.ts +1 -1
  25. package/dist/services/main/users/auth_service.d.ts +1 -1
  26. package/dist/services/main/users/user_organisation_service.d.ts +1 -1
  27. package/dist/services/main/users/user_organisation_service.js +73 -63
  28. package/dist/services/main/users/user_service.d.ts +1 -1
  29. package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
  30. package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
  31. package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
  32. package/dist/services/master/device/master_device_model_service.d.ts +1 -1
  33. package/dist/services/master/device/master_device_type_service.d.ts +1 -1
  34. package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
  35. package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
  36. package/dist/services/master/expense/master_fuel_company_service.d.ts +6 -6
  37. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +3 -3
  38. package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
  39. package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
  40. package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
  41. package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
  42. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
  43. package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
  44. package/dist/services/master/main/master_main_country_service.d.ts +1 -1
  45. package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
  46. package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
  47. package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
  48. package/dist/services/master/main/master_main_landmark_service.d.ts +4 -4
  49. package/dist/services/master/main/master_main_language_service.d.ts +1 -1
  50. package/dist/services/master/main/master_main_state_service.d.ts +1 -1
  51. package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
  52. package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
  53. package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
  54. package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
  55. package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
  56. package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
  57. package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
  58. package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
  59. package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
  60. package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
  61. package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
  62. package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
  63. package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
  64. package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
  65. package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
  66. package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
  67. package/dist/services/master/user/master_user_role_service.d.ts +1 -1
  68. package/dist/services/master/user/master_user_status_service.d.ts +1 -1
  69. package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
  70. package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
  71. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +1 -1
  72. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
  73. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
  74. package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
  75. package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
  76. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
  77. package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
  78. package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
  79. package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
  80. package/dist/{user_organisation_service-C-FbPQmd.d.ts → user_organisation_service-B5QmuUSK.d.ts} +90 -64
  81. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice } from '../../../user_organisation_service-C-FbPQmd.js';
4
+ import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice } from '../../../user_organisation_service-B5QmuUSK.js';
5
5
  import { FuelConsumptionMonthly } from '../../gps/reports/gps_models/FuelConsumptionMonthly.js';
6
6
  import '../../../zod_utils/zod_base_schema.js';
7
7
  import '../../master/main/master_main_sim_provider_service.js';
@@ -2,7 +2,7 @@ import { GPSFuelApproveStatus, RefillEntrySource, RefillMethod, PaymentMode, Pay
2
2
  import { BaseCommionFile, FBR, SBR, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
4
  import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
5
- import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-C-FbPQmd.js';
5
+ import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-B5QmuUSK.js';
6
6
  import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
7
7
  import '../../master/main/master_main_sim_provider_service.js';
8
8
 
@@ -2,7 +2,7 @@ import { GPSFuelApproveStatus, RefillEntrySource, Status, FileType, PAGING, Load
2
2
  import { BaseCommionFile, FBR, SBR, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
4
  import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
5
- import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-C-FbPQmd.js';
5
+ import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-B5QmuUSK.js';
6
6
  import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
7
7
  import { MasterVehicleFuelRemovalReason } from '../../master/vehicle/master_vehicle_fuel_removal_reason_service.js';
8
8
  import '../../master/main/master_main_sim_provider_service.js';
@@ -1,7 +1,7 @@
1
1
  import { GeofencePurposeType, GeofenceType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation } from '../../../../user_organisation_service-C-FbPQmd.js';
4
+ import { U as UserOrganisation } from '../../../../user_organisation_service-B5QmuUSK.js';
5
5
  import '../../../../zod_utils/zod_base_schema.js';
6
6
  import '../../../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -82,14 +82,9 @@ declare const GPSGeofenceSchema: z.ZodObject<{
82
82
  google_location: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
83
83
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
84
84
  }, "strip", z.ZodTypeAny, {
85
- geofence_name: string;
86
- geofence_purpose_type: GeofencePurposeType;
87
- geofence_description: string;
88
- geofence_type: GeofenceType;
89
- poliline_data: {
90
- latitude: number;
91
- longitude: number;
92
- }[];
85
+ status: Status;
86
+ organisation_id: string;
87
+ country_code: string;
93
88
  address_line1: string;
94
89
  address_line2: string;
95
90
  locality_landmark: string;
@@ -99,29 +94,26 @@ declare const GPSGeofenceSchema: z.ZodObject<{
99
94
  state_province_region: string;
100
95
  postal_code: string;
101
96
  country: string;
102
- country_code: string;
97
+ geofence_name: string;
98
+ geofence_purpose_type: GeofencePurposeType;
99
+ geofence_description: string;
100
+ geofence_type: GeofenceType;
101
+ poliline_data: {
102
+ latitude: number;
103
+ longitude: number;
104
+ }[];
103
105
  google_location: string;
104
- status: Status;
105
- organisation_id: string;
106
106
  radius_m?: number | undefined;
107
107
  radius_km?: number | undefined;
108
108
  latitude?: number | undefined;
109
109
  longitude?: number | undefined;
110
110
  }, {
111
+ status: Status;
112
+ organisation_id: string;
111
113
  geofence_name: string;
112
114
  geofence_purpose_type: GeofencePurposeType;
113
115
  geofence_type: GeofenceType;
114
- status: Status;
115
- organisation_id: string;
116
- geofence_description?: string | undefined;
117
- radius_m?: unknown;
118
- radius_km?: unknown;
119
- latitude?: unknown;
120
- longitude?: unknown;
121
- poliline_data?: {
122
- latitude?: unknown;
123
- longitude?: unknown;
124
- }[] | undefined;
116
+ country_code?: string | undefined;
125
117
  address_line1?: string | undefined;
126
118
  address_line2?: string | undefined;
127
119
  locality_landmark?: string | undefined;
@@ -131,7 +123,15 @@ declare const GPSGeofenceSchema: z.ZodObject<{
131
123
  state_province_region?: string | undefined;
132
124
  postal_code?: string | undefined;
133
125
  country?: string | undefined;
134
- country_code?: string | undefined;
126
+ geofence_description?: string | undefined;
127
+ radius_m?: unknown;
128
+ radius_km?: unknown;
129
+ latitude?: unknown;
130
+ longitude?: unknown;
131
+ poliline_data?: {
132
+ latitude?: unknown;
133
+ longitude?: unknown;
134
+ }[] | undefined;
135
135
  google_location?: string | undefined;
136
136
  }>;
137
137
  type GPSGeofenceDTO = z.infer<typeof GPSGeofenceSchema>;
@@ -171,8 +171,6 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
171
171
  geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
172
172
  gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
173
173
  }, "strip", z.ZodTypeAny, {
174
- geofence_purpose_type: GeofencePurposeType[];
175
- geofence_type: GeofenceType[];
176
174
  status: Status[];
177
175
  search: string;
178
176
  paging: PAGING;
@@ -195,12 +193,12 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
195
193
  date_format_id: string;
196
194
  time_zone_id: string;
197
195
  organisation_ids: string[];
196
+ geofence_purpose_type: GeofencePurposeType[];
197
+ geofence_type: GeofenceType[];
198
198
  gps_geofence_ids: string[];
199
199
  }, {
200
200
  date_format_id: string;
201
201
  time_zone_id: string;
202
- geofence_purpose_type?: GeofencePurposeType[] | undefined;
203
- geofence_type?: GeofenceType[] | undefined;
204
202
  status?: Status[] | undefined;
205
203
  search?: string | undefined;
206
204
  paging?: PAGING | undefined;
@@ -221,6 +219,8 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
221
219
  }[] | undefined;
222
220
  include_master_data?: YesNo | undefined;
223
221
  organisation_ids?: string[] | undefined;
222
+ geofence_purpose_type?: GeofencePurposeType[] | undefined;
223
+ geofence_type?: GeofenceType[] | undefined;
224
224
  gps_geofence_ids?: string[] | undefined;
225
225
  }>;
226
226
  type GPSGeofenceQueryDTO = z.infer<typeof GPSGeofenceQuerySchema>;
@@ -1,7 +1,7 @@
1
1
  import { GeofenceStatusType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-C-FbPQmd.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-B5QmuUSK.js';
5
5
  import { GPSGeofence } from './gps_geofence_service.js';
6
6
  import '../../../../zod_utils/zod_base_schema.js';
7
7
  import '../../../master/main/master_main_sim_provider_service.js';
@@ -36,23 +36,23 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
36
36
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
37
37
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
38
38
  }, "strip", z.ZodTypeAny, {
39
- gps_geofence_id: string;
39
+ geofence_status_type: GeofenceStatusType;
40
+ geofence_time: string;
40
41
  status: Status;
41
42
  organisation_id: string;
42
- time_zone_id: string;
43
- driver_id: string;
44
43
  vehicle_id: string;
44
+ driver_id: string;
45
+ gps_geofence_id: string;
46
+ time_zone_id: string;
47
+ }, {
45
48
  geofence_status_type: GeofenceStatusType;
46
49
  geofence_time: string;
47
- }, {
48
- gps_geofence_id: string;
49
50
  status: Status;
50
51
  organisation_id: string;
51
- time_zone_id: string;
52
- driver_id: string;
53
52
  vehicle_id: string;
54
- geofence_status_type: GeofenceStatusType;
55
- geofence_time: string;
53
+ driver_id: string;
54
+ gps_geofence_id: string;
55
+ time_zone_id: string;
56
56
  }>;
57
57
  type GPSGeofenceTransactionDTO = z.infer<typeof GPSGeofenceTransactionSchema>;
58
58
  declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
@@ -94,7 +94,9 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
94
94
  from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
95
95
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
96
96
  }, "strip", z.ZodTypeAny, {
97
+ geofence_status_type: GeofenceStatusType[];
97
98
  status: Status[];
99
+ time_zone_id: string;
98
100
  search: string;
99
101
  paging: PAGING;
100
102
  page_count: number;
@@ -114,19 +116,18 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
114
116
  }[];
115
117
  include_master_data: YesNo;
116
118
  date_format_id: string;
117
- time_zone_id: string;
118
119
  organisation_ids: string[];
119
- gps_geofence_ids: string[];
120
120
  vehicle_ids: string[];
121
121
  driver_ids: string[];
122
- geofence_status_type: GeofenceStatusType[];
122
+ gps_geofence_ids: string[];
123
123
  from_date: string;
124
124
  to_date: string;
125
125
  }, {
126
- date_format_id: string;
127
126
  time_zone_id: string;
127
+ date_format_id: string;
128
128
  from_date: string;
129
129
  to_date: string;
130
+ geofence_status_type?: GeofenceStatusType[] | undefined;
130
131
  status?: Status[] | undefined;
131
132
  search?: string | undefined;
132
133
  paging?: PAGING | undefined;
@@ -147,10 +148,9 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
147
148
  }[] | undefined;
148
149
  include_master_data?: YesNo | undefined;
149
150
  organisation_ids?: string[] | undefined;
150
- gps_geofence_ids?: string[] | undefined;
151
151
  vehicle_ids?: string[] | undefined;
152
152
  driver_ids?: string[] | undefined;
153
- geofence_status_type?: GeofenceStatusType[] | undefined;
153
+ gps_geofence_ids?: string[] | undefined;
154
154
  }>;
155
155
  type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
156
156
  declare const toGPSGeofenceTransactionPayload: (data: GPSGeofenceTransaction) => GPSGeofenceTransactionDTO;
@@ -1,7 +1,7 @@
1
1
  import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-C-FbPQmd.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-B5QmuUSK.js';
5
5
  import { GPSGeofence } from './gps_geofence_service.js';
6
6
  import { GPSGeofenceTransaction } from './gps_geofence_transaction_service.js';
7
7
  import '../../../../zod_utils/zod_base_schema.js';
@@ -46,24 +46,24 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
46
46
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
47
47
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
48
48
  }, "strip", z.ZodTypeAny, {
49
- gps_geofence_id: string;
50
49
  status: Status;
51
50
  organisation_id: string;
52
- time_zone_id: string;
53
- driver_id: string;
54
51
  vehicle_id: string;
52
+ driver_id: string;
53
+ gps_geofence_id: string;
54
+ time_zone_id: string;
55
55
  geofence_enter_date_time: string;
56
56
  geofence_exit_date_time: string;
57
57
  duration_seconds: number;
58
58
  enter_gps_geofence_transaction_id: string;
59
59
  exit_gps_geofence_transaction_id: string;
60
60
  }, {
61
- gps_geofence_id: string;
62
61
  status: Status;
63
62
  organisation_id: string;
64
- time_zone_id: string;
65
- driver_id: string;
66
63
  vehicle_id: string;
64
+ driver_id: string;
65
+ gps_geofence_id: string;
66
+ time_zone_id: string;
67
67
  geofence_enter_date_time: string;
68
68
  enter_gps_geofence_transaction_id: string;
69
69
  exit_gps_geofence_transaction_id: string;
@@ -110,6 +110,7 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
110
110
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
111
111
  }, "strip", z.ZodTypeAny, {
112
112
  status: Status[];
113
+ time_zone_id: string;
113
114
  search: string;
114
115
  paging: PAGING;
115
116
  page_count: number;
@@ -129,16 +130,15 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
129
130
  }[];
130
131
  include_master_data: YesNo;
131
132
  date_format_id: string;
132
- time_zone_id: string;
133
133
  organisation_ids: string[];
134
- gps_geofence_ids: string[];
135
134
  vehicle_ids: string[];
136
135
  driver_ids: string[];
136
+ gps_geofence_ids: string[];
137
137
  from_date: string;
138
138
  to_date: string;
139
139
  }, {
140
- date_format_id: string;
141
140
  time_zone_id: string;
141
+ date_format_id: string;
142
142
  from_date: string;
143
143
  to_date: string;
144
144
  status?: Status[] | undefined;
@@ -161,9 +161,9 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
161
161
  }[] | undefined;
162
162
  include_master_data?: YesNo | undefined;
163
163
  organisation_ids?: string[] | undefined;
164
- gps_geofence_ids?: string[] | undefined;
165
164
  vehicle_ids?: string[] | undefined;
166
165
  driver_ids?: string[] | undefined;
166
+ gps_geofence_ids?: string[] | undefined;
167
167
  }>;
168
168
  type GPSGeofenceTransactionSummaryQueryDTO = z.infer<typeof GPSGeofenceTransactionSummaryQuerySchema>;
169
169
  declare const toGPSGeofenceTransactionSummaryPayload: (data: GPSGeofenceTransactionSummary) => GPSGeofenceTransactionSummaryDTO;
@@ -1,7 +1,7 @@
1
1
  import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-C-FbPQmd.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-B5QmuUSK.js';
5
5
  import '../../../../zod_utils/zod_base_schema.js';
6
6
  import '../../../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -57,9 +57,9 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
57
57
  }, "strip", z.ZodTypeAny, {
58
58
  status: Status;
59
59
  organisation_id: string;
60
- time_zone_id: string;
61
- driver_id: string;
62
60
  vehicle_id: string;
61
+ driver_id: string;
62
+ time_zone_id: string;
63
63
  duration_seconds: number;
64
64
  from_geofence_exit_date_time: string;
65
65
  to_geofence_enter_date_time: string;
@@ -73,9 +73,9 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
73
73
  }, {
74
74
  status: Status;
75
75
  organisation_id: string;
76
- time_zone_id: string;
77
- driver_id: string;
78
76
  vehicle_id: string;
77
+ driver_id: string;
78
+ time_zone_id: string;
79
79
  from_geofence_exit_date_time: string;
80
80
  to_geofence_enter_date_time: string;
81
81
  from_geofence_id: string;
@@ -128,6 +128,7 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
128
128
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
129
129
  }, "strip", z.ZodTypeAny, {
130
130
  status: Status[];
131
+ time_zone_id: string;
131
132
  search: string;
132
133
  paging: PAGING;
133
134
  page_count: number;
@@ -147,7 +148,6 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
147
148
  }[];
148
149
  include_master_data: YesNo;
149
150
  date_format_id: string;
150
- time_zone_id: string;
151
151
  organisation_ids: string[];
152
152
  vehicle_ids: string[];
153
153
  driver_ids: string[];
@@ -156,8 +156,8 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
156
156
  from_geofence_ids: string[];
157
157
  to_geofence_ids: string[];
158
158
  }, {
159
- date_format_id: string;
160
159
  time_zone_id: string;
160
+ date_format_id: string;
161
161
  from_date: string;
162
162
  to_date: string;
163
163
  status?: Status[] | undefined;
@@ -1,7 +1,8 @@
1
- import { LinkType, LinkStatus, Status, NotificationType, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
1
+ import { LinkType, LinkStatus, Status, NotificationChannel, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-C-FbPQmd.js';
4
+ import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-B5QmuUSK.js';
5
+ import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
5
6
  import '../../../zod_utils/zod_base_schema.js';
6
7
  import '../../master/main/master_main_sim_provider_service.js';
7
8
 
@@ -10,7 +11,11 @@ interface GPSLiveTrackShareLink extends Record<string, unknown> {
10
11
  link_type: LinkType;
11
12
  latitude?: number;
12
13
  longitude?: number;
13
- location?: string;
14
+ google_location?: string;
15
+ landmark_id?: string;
16
+ MasterMainLandmark?: MasterMainLandmark;
17
+ landmark_location?: string;
18
+ landmark_distance?: number;
14
19
  expiry_date_time: string;
15
20
  link_status: LinkStatus;
16
21
  status: Status;
@@ -20,13 +25,19 @@ interface GPSLiveTrackShareLink extends Record<string, unknown> {
20
25
  UserOrganisation?: UserOrganisation;
21
26
  vehicle_id: string;
22
27
  MasterVehicle?: MasterVehicle;
23
- trip_id?: string;
28
+ vehicle_number?: string;
29
+ vehicle_type?: string;
24
30
  GPSLiveTrackShareLinkNotifications?: GPSLiveTrackShareLinkNotification[];
31
+ _count?: {
32
+ GPSLiveTrackShareLinkNotification?: number;
33
+ };
25
34
  }
26
35
  interface GPSLiveTrackShareLinkNotification extends Record<string, unknown> {
27
- gps_live_track_share_link_notifications_id: string;
28
- type: NotificationType;
29
- to_recipients: string;
36
+ gps_live_track_share_link_notification_id: string;
37
+ notification_channels: NotificationChannel[];
38
+ mobile_numbers?: string;
39
+ email_ids?: string;
40
+ cc_email_ids?: string;
30
41
  status: Status;
31
42
  added_date_time: string;
32
43
  modified_date_time: string;
@@ -34,92 +45,97 @@ interface GPSLiveTrackShareLinkNotification extends Record<string, unknown> {
34
45
  UserOrganisation?: UserOrganisation;
35
46
  gps_live_track_share_link_id: string;
36
47
  GPSLiveTrackShareLink?: GPSLiveTrackShareLink;
48
+ _count?: {};
37
49
  }
38
- declare const GPSLiveTrackShareLinkNotificationsSchema: z.ZodObject<{
50
+ declare const GPSLiveTrackShareLinkNotificationSchema: z.ZodObject<{
39
51
  organisation_id: z.ZodEffects<z.ZodString, string, string>;
40
52
  gps_live_track_share_link_id: z.ZodEffects<z.ZodString, string, string>;
41
- type: z.ZodType<NotificationType, z.ZodTypeDef, NotificationType>;
42
- to_recipients: z.ZodEffects<z.ZodString, string, string>;
53
+ notification_channels: z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof NotificationChannel>, "many">>;
54
+ mobile_numbers: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
55
+ email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
56
+ cc_email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
43
57
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
44
58
  }, "strip", z.ZodTypeAny, {
59
+ gps_live_track_share_link_id: string;
45
60
  status: Status;
46
61
  organisation_id: string;
47
- type: NotificationType;
48
- gps_live_track_share_link_id: string;
49
- to_recipients: string;
62
+ notification_channels: NotificationChannel[];
63
+ mobile_numbers: string;
64
+ email_ids: string;
65
+ cc_email_ids: string;
50
66
  }, {
67
+ gps_live_track_share_link_id: string;
51
68
  status: Status;
52
69
  organisation_id: string;
53
- type: NotificationType;
54
- gps_live_track_share_link_id: string;
55
- to_recipients: string;
70
+ notification_channels?: NotificationChannel[] | undefined;
71
+ mobile_numbers?: string | undefined;
72
+ email_ids?: string | undefined;
73
+ cc_email_ids?: string | undefined;
56
74
  }>;
57
- type GPSLiveTrackShareLinkNotificationsDTO = z.infer<typeof GPSLiveTrackShareLinkNotificationsSchema>;
75
+ type GPSLiveTrackShareLinkNotificationDTO = z.infer<typeof GPSLiveTrackShareLinkNotificationSchema>;
58
76
  declare const GPSLiveTrackShareLinkSchema: z.ZodObject<{
59
77
  organisation_id: z.ZodEffects<z.ZodString, string, string>;
60
78
  vehicle_id: z.ZodEffects<z.ZodString, string, string>;
61
79
  link_type: z.ZodType<LinkType, z.ZodTypeDef, LinkType>;
62
- latitude: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
63
- longitude: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
64
- location: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
65
80
  expire_milliseconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
66
- trip_id: z.ZodEffects<z.ZodString, string, string>;
67
81
  link_status: z.ZodType<LinkStatus, z.ZodTypeDef, LinkStatus>;
68
82
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
69
- notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
83
+ GPSLiveTrackShareLinkNotification: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
70
84
  organisation_id: z.ZodEffects<z.ZodString, string, string>;
71
85
  gps_live_track_share_link_id: z.ZodEffects<z.ZodString, string, string>;
72
- type: z.ZodType<NotificationType, z.ZodTypeDef, NotificationType>;
73
- to_recipients: z.ZodEffects<z.ZodString, string, string>;
86
+ notification_channels: z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof NotificationChannel>, "many">>;
87
+ mobile_numbers: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
88
+ email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
89
+ cc_email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
74
90
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
75
91
  }, z.UnknownKeysParam, z.ZodTypeAny, {
92
+ gps_live_track_share_link_id: string;
76
93
  status: Status;
77
94
  organisation_id: string;
78
- type: NotificationType;
79
- gps_live_track_share_link_id: string;
80
- to_recipients: string;
95
+ notification_channels: NotificationChannel[];
96
+ mobile_numbers: string;
97
+ email_ids: string;
98
+ cc_email_ids: string;
81
99
  }, {
100
+ gps_live_track_share_link_id: string;
82
101
  status: Status;
83
102
  organisation_id: string;
84
- type: NotificationType;
85
- gps_live_track_share_link_id: string;
86
- to_recipients: string;
103
+ notification_channels?: NotificationChannel[] | undefined;
104
+ mobile_numbers?: string | undefined;
105
+ email_ids?: string | undefined;
106
+ cc_email_ids?: string | undefined;
87
107
  }>, "many">>>;
88
108
  }, "strip", z.ZodTypeAny, {
109
+ link_type: LinkType;
110
+ link_status: LinkStatus;
89
111
  status: Status;
90
112
  organisation_id: string;
91
113
  vehicle_id: string;
92
- link_type: LinkType;
93
- location: string;
94
- link_status: LinkStatus;
95
- trip_id: string;
96
114
  expire_milliseconds: number;
97
- notifications: {
115
+ GPSLiveTrackShareLinkNotification: {
116
+ gps_live_track_share_link_id: string;
98
117
  status: Status;
99
118
  organisation_id: string;
100
- type: NotificationType;
101
- gps_live_track_share_link_id: string;
102
- to_recipients: string;
119
+ notification_channels: NotificationChannel[];
120
+ mobile_numbers: string;
121
+ email_ids: string;
122
+ cc_email_ids: string;
103
123
  }[];
104
- latitude?: number | undefined;
105
- longitude?: number | undefined;
106
124
  }, {
125
+ link_type: LinkType;
126
+ link_status: LinkStatus;
107
127
  status: Status;
108
128
  organisation_id: string;
109
129
  vehicle_id: string;
110
- link_type: LinkType;
111
- link_status: LinkStatus;
112
- trip_id: string;
113
- latitude?: unknown;
114
- longitude?: unknown;
115
- location?: string | undefined;
116
130
  expire_milliseconds?: unknown;
117
- notifications?: {
131
+ GPSLiveTrackShareLinkNotification?: {
132
+ gps_live_track_share_link_id: string;
118
133
  status: Status;
119
134
  organisation_id: string;
120
- type: NotificationType;
121
- gps_live_track_share_link_id: string;
122
- to_recipients: string;
135
+ notification_channels?: NotificationChannel[] | undefined;
136
+ mobile_numbers?: string | undefined;
137
+ email_ids?: string | undefined;
138
+ cc_email_ids?: string | undefined;
123
139
  }[] | undefined;
124
140
  }>;
125
141
  type GPSLiveTrackShareLinkDTO = z.infer<typeof GPSLiveTrackShareLinkSchema>;
@@ -172,12 +188,13 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
172
188
  } & {
173
189
  organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
174
190
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
175
- trip_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
176
191
  link_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof LinkType>, "many">>>;
177
192
  link_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof LinkStatus>, "many">>>;
193
+ gps_live_track_share_link_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
178
194
  }, "strip", z.ZodTypeAny, {
195
+ link_type: LinkType[];
196
+ link_status: LinkStatus[];
179
197
  status: Status[];
180
- vehicle_ids: string[];
181
198
  search: string;
182
199
  paging: PAGING;
183
200
  page_count: number;
@@ -199,14 +216,14 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
199
216
  date_format_id: string;
200
217
  time_zone_id: string;
201
218
  organisation_ids: string[];
202
- link_type: LinkType[];
203
- link_status: LinkStatus[];
204
- trip_ids: string[];
219
+ vehicle_ids: string[];
220
+ gps_live_track_share_link_ids: string[];
205
221
  }, {
206
222
  date_format_id: string;
207
223
  time_zone_id: string;
224
+ link_type?: LinkType[] | undefined;
225
+ link_status?: LinkStatus[] | undefined;
208
226
  status?: Status[] | undefined;
209
- vehicle_ids?: string[] | undefined;
210
227
  search?: string | undefined;
211
228
  paging?: PAGING | undefined;
212
229
  page_count?: unknown;
@@ -226,19 +243,17 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
226
243
  }[] | undefined;
227
244
  include_master_data?: YesNo | undefined;
228
245
  organisation_ids?: string[] | undefined;
229
- link_type?: LinkType[] | undefined;
230
- link_status?: LinkStatus[] | undefined;
231
- trip_ids?: string[] | undefined;
246
+ vehicle_ids?: string[] | undefined;
247
+ gps_live_track_share_link_ids?: string[] | undefined;
232
248
  }>;
233
249
  type GPSLiveTrackShareLinkQueryDTO = z.infer<typeof GPSLiveTrackShareLinkQuerySchema>;
234
250
  declare const toGPSLiveTrackShareLinkPayload: (data: GPSLiveTrackShareLink) => GPSLiveTrackShareLinkDTO;
235
251
  declare const newGPSLiveTrackShareLinkPayload: () => GPSLiveTrackShareLinkDTO;
236
- declare const findGPSLiveTrackShareLinks: (data: GPSLiveTrackShareLinkQueryDTO) => Promise<FBR<GPSLiveTrackShareLink[]>>;
252
+ declare const findGPSLiveTrackShareLink: (data: GPSLiveTrackShareLinkQueryDTO) => Promise<FBR<GPSLiveTrackShareLink[]>>;
237
253
  declare const createGPSLiveTrackShareLink: (data: GPSLiveTrackShareLinkDTO) => Promise<SBR>;
238
- declare const deleteGPSLiveTrackShareLink: (id: string) => Promise<SBR>;
239
254
  declare const extendGPSLiveTrackLinkTime: (id: string, data: GPSLiveTrackShareLinkTimeDTO) => Promise<SBR>;
240
255
  declare const updateGPSLiveTrackLinkStatus: (id: string, data: GPSLiveTrackShareLinkStatusDTO) => Promise<SBR>;
241
- declare const updateGPSLiveTrackTripStatus: (id: string) => Promise<SBR>;
242
- declare const createGPSLiveTrackNotification: (data: GPSLiveTrackShareLinkNotificationsDTO) => Promise<SBR>;
256
+ declare const deleteGPSLiveTrackShareLink: (id: string) => Promise<SBR>;
257
+ declare const createGPSLiveTrackShareLinkNotification: (data: GPSLiveTrackShareLinkNotificationDTO) => Promise<SBR>;
243
258
 
244
- export { type GPSLiveTrackShareLink, type GPSLiveTrackShareLinkDTO, type GPSLiveTrackShareLinkNotification, type GPSLiveTrackShareLinkNotificationsDTO, GPSLiveTrackShareLinkNotificationsSchema, type GPSLiveTrackShareLinkQueryDTO, GPSLiveTrackShareLinkQuerySchema, GPSLiveTrackShareLinkSchema, type GPSLiveTrackShareLinkStatusDTO, GPSLiveTrackShareLinkStatusSchema, type GPSLiveTrackShareLinkTimeDTO, GPSLiveTrackShareLinkTimeSchema, createGPSLiveTrackNotification, createGPSLiveTrackShareLink, deleteGPSLiveTrackShareLink, extendGPSLiveTrackLinkTime, findGPSLiveTrackShareLinks, newGPSLiveTrackShareLinkPayload, toGPSLiveTrackShareLinkPayload, updateGPSLiveTrackLinkStatus, updateGPSLiveTrackTripStatus };
259
+ export { type GPSLiveTrackShareLink, type GPSLiveTrackShareLinkDTO, type GPSLiveTrackShareLinkNotification, type GPSLiveTrackShareLinkNotificationDTO, GPSLiveTrackShareLinkNotificationSchema, type GPSLiveTrackShareLinkQueryDTO, GPSLiveTrackShareLinkQuerySchema, GPSLiveTrackShareLinkSchema, type GPSLiveTrackShareLinkStatusDTO, GPSLiveTrackShareLinkStatusSchema, type GPSLiveTrackShareLinkTimeDTO, GPSLiveTrackShareLinkTimeSchema, createGPSLiveTrackShareLink, createGPSLiveTrackShareLinkNotification, deleteGPSLiveTrackShareLink, extendGPSLiveTrackLinkTime, findGPSLiveTrackShareLink, newGPSLiveTrackShareLinkPayload, toGPSLiveTrackShareLinkPayload, updateGPSLiveTrackLinkStatus };