vms-nest-prisma-api-document 7.0.0 → 7.0.2

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 (73) hide show
  1. package/dist/services/account/bookmark_service.d.ts +9 -9
  2. package/dist/services/account/ticket_service.d.ts +17 -17
  3. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
  4. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +1 -1
  5. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
  6. package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +60 -20
  7. package/dist/services/gps/features/geofence/gps_geofence_service.js +35 -5
  8. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +12 -12
  9. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +15 -15
  10. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +8 -8
  11. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +17 -17
  12. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +10 -10
  13. package/dist/services/main/devices/master_device_service.d.ts +1 -1
  14. package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
  15. package/dist/services/main/sims/master_sim_service.d.ts +1 -1
  16. package/dist/services/main/users/auth_service.d.ts +1 -1
  17. package/dist/services/main/users/user_organisation_service.d.ts +1 -1
  18. package/dist/services/main/users/user_service.d.ts +1 -1
  19. package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
  20. package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
  21. package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
  22. package/dist/services/master/device/master_device_model_service.d.ts +1 -1
  23. package/dist/services/master/device/master_device_type_service.d.ts +1 -1
  24. package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
  25. package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
  26. package/dist/services/master/expense/master_fuel_company_service.d.ts +6 -6
  27. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +3 -3
  28. package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
  29. package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
  30. package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
  31. package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
  32. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
  33. package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
  34. package/dist/services/master/main/master_main_country_service.d.ts +1 -1
  35. package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
  36. package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
  37. package/dist/services/master/main/master_main_eway_bill_provider_service.d.ts +2 -2
  38. package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
  39. package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
  40. package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
  41. package/dist/services/master/main/master_main_language_service.d.ts +1 -1
  42. package/dist/services/master/main/master_main_state_service.d.ts +1 -1
  43. package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
  44. package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
  45. package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
  46. package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
  47. package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
  48. package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
  49. package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
  50. package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
  51. package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
  52. package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
  53. package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
  54. package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
  55. package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
  56. package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
  57. package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
  58. package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
  59. package/dist/services/master/user/master_user_role_service.d.ts +1 -1
  60. package/dist/services/master/user/master_user_status_service.d.ts +1 -1
  61. package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
  62. package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
  63. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +1 -1
  64. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
  65. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
  66. package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
  67. package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
  68. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
  69. package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
  70. package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
  71. package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
  72. package/dist/{user_organisation_service-BmevBmkg.d.ts → user_organisation_service-CzSOu4tx.d.ts} +8 -4
  73. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { MenuType, 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 } from '../../user_organisation_service-BmevBmkg.js';
4
+ import { U as UserOrganisation, a as User } from '../../user_organisation_service-CzSOu4tx.js';
5
5
  import '../../zod_utils/zod_base_schema.js';
6
6
  import '../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -40,12 +40,9 @@ declare const BookMarkSchema: z.ZodObject<{
40
40
  sub_item_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
41
41
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
42
42
  }, "strip", z.ZodTypeAny, {
43
- status: Status;
44
- organisation_id: string;
45
- user_id: string;
46
- group_name: string;
47
43
  module_name: string;
48
44
  menu_type: MenuType;
45
+ group_name: string;
49
46
  group_name_language: string;
50
47
  group_icon: string;
51
48
  group_url: string;
@@ -53,16 +50,19 @@ declare const BookMarkSchema: z.ZodObject<{
53
50
  sub_item_name_language: string;
54
51
  sub_item_icon: string;
55
52
  sub_item_url: string;
56
- }, {
57
53
  status: Status;
58
54
  organisation_id: string;
59
55
  user_id: string;
60
- group_name: string;
56
+ }, {
61
57
  module_name: string;
62
58
  menu_type: MenuType;
59
+ group_name: string;
63
60
  group_name_language: string;
64
61
  group_icon: string;
65
62
  group_url: string;
63
+ status: Status;
64
+ organisation_id: string;
65
+ user_id: string;
66
66
  sub_item_name?: string | undefined;
67
67
  sub_item_name_language?: string | undefined;
68
68
  sub_item_icon?: string | undefined;
@@ -105,6 +105,7 @@ declare const BookMarkQuerySchema: z.ZodObject<{
105
105
  bookmark_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
106
106
  menu_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof MenuType>, "many">>>;
107
107
  }, "strip", z.ZodTypeAny, {
108
+ menu_type: MenuType[];
108
109
  status: Status[];
109
110
  search: string;
110
111
  paging: PAGING;
@@ -128,11 +129,11 @@ declare const BookMarkQuerySchema: z.ZodObject<{
128
129
  time_zone_id: string;
129
130
  organisation_ids: string[];
130
131
  user_ids: string[];
131
- menu_type: MenuType[];
132
132
  bookmark_ids: string[];
133
133
  }, {
134
134
  date_format_id: string;
135
135
  time_zone_id: string;
136
+ menu_type?: MenuType[] | undefined;
136
137
  status?: Status[] | undefined;
137
138
  search?: string | undefined;
138
139
  paging?: PAGING | undefined;
@@ -154,7 +155,6 @@ declare const BookMarkQuerySchema: z.ZodObject<{
154
155
  include_master_data?: YesNo | undefined;
155
156
  organisation_ids?: string[] | undefined;
156
157
  user_ids?: string[] | undefined;
157
- menu_type?: MenuType[] | undefined;
158
158
  bookmark_ids?: string[] | undefined;
159
159
  }>;
160
160
  type BookMarkQueryDTO = z.infer<typeof BookMarkQuerySchema>;
@@ -1,7 +1,7 @@
1
1
  import { FileType, Status, TicketStatus, 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 } from '../../user_organisation_service-BmevBmkg.js';
4
+ import { U as UserOrganisation, a as User } from '../../user_organisation_service-CzSOu4tx.js';
5
5
  import { UserAdmin } from '../main/users/user_admin_service.js';
6
6
  import '../../zod_utils/zod_base_schema.js';
7
7
  import '../master/main/master_main_sim_provider_service.js';
@@ -50,19 +50,19 @@ declare const TicketFileSchema: z.ZodObject<{
50
50
  file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
51
51
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
52
52
  }, "strip", z.ZodTypeAny, {
53
+ status: Status;
54
+ organisation_id: string;
53
55
  file_type: FileType;
54
56
  file_url: string;
55
57
  file_key: string;
56
58
  file_description: string;
57
59
  file_size: number;
58
60
  file_metadata: Record<string, any>;
59
- status: Status;
60
- organisation_id: string;
61
61
  ticket_id: string;
62
62
  }, {
63
- file_type: FileType;
64
63
  status: Status;
65
64
  organisation_id: string;
65
+ file_type: FileType;
66
66
  ticket_id: string;
67
67
  file_url?: string | undefined;
68
68
  file_key?: string | undefined;
@@ -90,19 +90,19 @@ declare const TicketSchema: z.ZodObject<{
90
90
  file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
91
91
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
92
92
  }, z.UnknownKeysParam, z.ZodTypeAny, {
93
+ status: Status;
94
+ organisation_id: string;
93
95
  file_type: FileType;
94
96
  file_url: string;
95
97
  file_key: string;
96
98
  file_description: string;
97
99
  file_size: number;
98
100
  file_metadata: Record<string, any>;
99
- status: Status;
100
- organisation_id: string;
101
101
  ticket_id: string;
102
102
  }, {
103
- file_type: FileType;
104
103
  status: Status;
105
104
  organisation_id: string;
105
+ file_type: FileType;
106
106
  ticket_id: string;
107
107
  file_url?: string | undefined;
108
108
  file_key?: string | undefined;
@@ -114,36 +114,36 @@ declare const TicketSchema: z.ZodObject<{
114
114
  }, "strip", z.ZodTypeAny, {
115
115
  status: Status;
116
116
  organisation_id: string;
117
- subject: string;
117
+ user_id: string;
118
118
  description: string;
119
+ admin_id: string;
120
+ subject: string;
119
121
  admin_message: string;
120
122
  ticket_status: TicketStatus;
121
- user_id: string;
122
- admin_id: string;
123
123
  ticket_files: {
124
+ status: Status;
125
+ organisation_id: string;
124
126
  file_type: FileType;
125
127
  file_url: string;
126
128
  file_key: string;
127
129
  file_description: string;
128
130
  file_size: number;
129
131
  file_metadata: Record<string, any>;
130
- status: Status;
131
- organisation_id: string;
132
132
  ticket_id: string;
133
133
  }[];
134
134
  }, {
135
135
  status: Status;
136
136
  organisation_id: string;
137
- subject: string;
138
- ticket_status: TicketStatus;
139
137
  user_id: string;
140
138
  admin_id: string;
139
+ subject: string;
140
+ ticket_status: TicketStatus;
141
141
  description?: string | undefined;
142
142
  admin_message?: string | undefined;
143
143
  ticket_files?: {
144
- file_type: FileType;
145
144
  status: Status;
146
145
  organisation_id: string;
146
+ file_type: FileType;
147
147
  ticket_id: string;
148
148
  file_url?: string | undefined;
149
149
  file_key?: string | undefined;
@@ -191,7 +191,6 @@ declare const TicketQuerySchema: z.ZodObject<{
191
191
  ticket_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof TicketStatus>, "many">>>;
192
192
  }, "strip", z.ZodTypeAny, {
193
193
  status: Status[];
194
- ticket_status: TicketStatus[];
195
194
  search: string;
196
195
  paging: PAGING;
197
196
  page_count: number;
@@ -215,12 +214,12 @@ declare const TicketQuerySchema: z.ZodObject<{
215
214
  organisation_ids: string[];
216
215
  user_ids: string[];
217
216
  admin_ids: string[];
217
+ ticket_status: TicketStatus[];
218
218
  ticket_ids: string[];
219
219
  }, {
220
220
  date_format_id: string;
221
221
  time_zone_id: string;
222
222
  status?: Status[] | undefined;
223
- ticket_status?: TicketStatus[] | undefined;
224
223
  search?: string | undefined;
225
224
  paging?: PAGING | undefined;
226
225
  page_count?: unknown;
@@ -242,6 +241,7 @@ declare const TicketQuerySchema: z.ZodObject<{
242
241
  organisation_ids?: string[] | undefined;
243
242
  user_ids?: string[] | undefined;
244
243
  admin_ids?: string[] | undefined;
244
+ ticket_status?: TicketStatus[] | undefined;
245
245
  ticket_ids?: string[] | undefined;
246
246
  }>;
247
247
  type TicketQueryDTO = z.infer<typeof TicketQuerySchema>;
@@ -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-BmevBmkg.js';
4
+ import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice } from '../../../user_organisation_service-CzSOu4tx.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 { YesNo, PaymentMode, PaymentStatus, RefillMethod, RefillEntrySource, GPS
2
2
  import { 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-BmevBmkg.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-CzSOu4tx.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 { RefillEntrySource, GPSFuelApproveStatus, Status, FileType, PAGING, Load
2
2
  import { 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-BmevBmkg.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-CzSOu4tx.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-BmevBmkg.js';
4
+ import { U as UserOrganisation } from '../../../../user_organisation_service-CzSOu4tx.js';
5
5
  import '../../../../zod_utils/zod_base_schema.js';
6
6
  import '../../../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -10,13 +10,23 @@ interface GPSGeofence extends Record<string, unknown> {
10
10
  geofence_name: string;
11
11
  geofence_purpose_type: GeofencePurposeType;
12
12
  geofence_description?: string;
13
- geofence_location: string;
14
13
  geofence_type: GeofenceType;
15
14
  radius_m?: number;
16
15
  radius_km?: number;
17
16
  latitude?: number;
18
17
  longitude?: number;
19
18
  poliline_data?: GPSGeofencePolilineData[];
19
+ address_line1?: string;
20
+ address_line2?: string;
21
+ locality_landmark?: string;
22
+ neighborhood?: string;
23
+ town_city?: string;
24
+ district_county?: string;
25
+ state_province_region?: string;
26
+ postal_code?: string;
27
+ country?: string;
28
+ country_code?: string;
29
+ google_location?: string;
20
30
  status: Status;
21
31
  added_date_time: string;
22
32
  modified_date_time: string;
@@ -42,9 +52,8 @@ type GPSGeofencePolilineDataDTO = z.infer<typeof GPSGeofencePolilineDataSchema>;
42
52
  declare const GPSGeofenceSchema: z.ZodObject<{
43
53
  organisation_id: z.ZodEffects<z.ZodString, string, string>;
44
54
  geofence_name: z.ZodEffects<z.ZodString, string, string>;
45
- geofence_location: z.ZodEffects<z.ZodString, string, string>;
46
- geofence_description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
47
55
  geofence_purpose_type: z.ZodType<GeofencePurposeType, z.ZodTypeDef, GeofencePurposeType>;
56
+ geofence_description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
48
57
  geofence_type: z.ZodType<GeofenceType, z.ZodTypeDef, GeofenceType>;
49
58
  radius_km: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
50
59
  radius_m: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
@@ -60,39 +69,70 @@ declare const GPSGeofenceSchema: z.ZodObject<{
60
69
  latitude?: unknown;
61
70
  longitude?: unknown;
62
71
  }>, "many">>>;
72
+ address_line1: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
73
+ address_line2: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
74
+ locality_landmark: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
75
+ neighborhood: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
76
+ town_city: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
77
+ district_county: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
78
+ state_province_region: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
79
+ postal_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
80
+ country: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
81
+ country_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
82
+ google_location: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
63
83
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
64
84
  }, "strip", z.ZodTypeAny, {
65
- status: Status;
66
- organisation_id: string;
67
85
  geofence_name: string;
68
86
  geofence_purpose_type: GeofencePurposeType;
69
87
  geofence_description: string;
70
- geofence_location: string;
71
88
  geofence_type: GeofenceType;
72
89
  poliline_data: {
73
90
  latitude: number;
74
91
  longitude: number;
75
92
  }[];
76
- latitude?: number | undefined;
77
- longitude?: number | undefined;
93
+ address_line1: string;
94
+ address_line2: string;
95
+ locality_landmark: string;
96
+ neighborhood: string;
97
+ town_city: string;
98
+ district_county: string;
99
+ state_province_region: string;
100
+ postal_code: string;
101
+ country: string;
102
+ country_code: string;
103
+ google_location: string;
104
+ status: Status;
105
+ organisation_id: string;
78
106
  radius_m?: number | undefined;
79
107
  radius_km?: number | undefined;
108
+ latitude?: number | undefined;
109
+ longitude?: number | undefined;
80
110
  }, {
81
- status: Status;
82
- organisation_id: string;
83
111
  geofence_name: string;
84
112
  geofence_purpose_type: GeofencePurposeType;
85
- geofence_location: string;
86
113
  geofence_type: GeofenceType;
87
- latitude?: unknown;
88
- longitude?: unknown;
114
+ status: Status;
115
+ organisation_id: string;
89
116
  geofence_description?: string | undefined;
90
117
  radius_m?: unknown;
91
118
  radius_km?: unknown;
119
+ latitude?: unknown;
120
+ longitude?: unknown;
92
121
  poliline_data?: {
93
122
  latitude?: unknown;
94
123
  longitude?: unknown;
95
124
  }[] | undefined;
125
+ address_line1?: string | undefined;
126
+ address_line2?: string | undefined;
127
+ locality_landmark?: string | undefined;
128
+ neighborhood?: string | undefined;
129
+ town_city?: string | undefined;
130
+ district_county?: string | undefined;
131
+ state_province_region?: string | undefined;
132
+ postal_code?: string | undefined;
133
+ country?: string | undefined;
134
+ country_code?: string | undefined;
135
+ google_location?: string | undefined;
96
136
  }>;
97
137
  type GPSGeofenceDTO = z.infer<typeof GPSGeofenceSchema>;
98
138
  declare const GPSGeofenceQuerySchema: z.ZodObject<{
@@ -131,8 +171,9 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
131
171
  geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
132
172
  gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
133
173
  }, "strip", z.ZodTypeAny, {
174
+ geofence_purpose_type: GeofencePurposeType[];
175
+ geofence_type: GeofenceType[];
134
176
  status: Status[];
135
- time_zone_id: string;
136
177
  search: string;
137
178
  paging: PAGING;
138
179
  page_count: number;
@@ -152,13 +193,14 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
152
193
  }[];
153
194
  include_master_data: YesNo;
154
195
  date_format_id: string;
196
+ time_zone_id: string;
155
197
  organisation_ids: string[];
156
198
  gps_geofence_ids: string[];
157
- geofence_purpose_type: GeofencePurposeType[];
158
- geofence_type: GeofenceType[];
159
199
  }, {
160
- time_zone_id: string;
161
200
  date_format_id: string;
201
+ time_zone_id: string;
202
+ geofence_purpose_type?: GeofencePurposeType[] | undefined;
203
+ geofence_type?: GeofenceType[] | undefined;
162
204
  status?: Status[] | undefined;
163
205
  search?: string | undefined;
164
206
  paging?: PAGING | undefined;
@@ -180,8 +222,6 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
180
222
  include_master_data?: YesNo | undefined;
181
223
  organisation_ids?: string[] | undefined;
182
224
  gps_geofence_ids?: string[] | undefined;
183
- geofence_purpose_type?: GeofencePurposeType[] | undefined;
184
- geofence_type?: GeofenceType[] | undefined;
185
225
  }>;
186
226
  type GPSGeofenceQueryDTO = z.infer<typeof GPSGeofenceQuerySchema>;
187
227
  declare const toGPSGeofencePayload: (data: GPSGeofence) => GPSGeofenceDTO;
@@ -362,13 +362,12 @@ var GPSGeofencePolilineDataSchema = z3.object({
362
362
  var GPSGeofenceSchema = z3.object({
363
363
  organisation_id: single_select_mandatory("UserOrganisation"),
364
364
  geofence_name: stringMandatory("Geofence Name", 3, 100),
365
- geofence_location: stringMandatory("Geofence Location", 3, 200),
366
- geofence_description: stringOptional("Geofence Description", 0, 500),
367
365
  geofence_purpose_type: enumMandatory(
368
366
  "Geofence Purpuse Type",
369
367
  GeofencePurposeType,
370
368
  "TripSourceLocation" /* TripSourceLocation */
371
369
  ),
370
+ geofence_description: stringOptional("Geofence Description", 0, 500),
372
371
  geofence_type: enumMandatory(
373
372
  "Geofence Type",
374
373
  GeofenceType,
@@ -383,6 +382,17 @@ var GPSGeofenceSchema = z3.object({
383
382
  GPSGeofencePolilineDataSchema,
384
383
  []
385
384
  ),
385
+ address_line1: stringOptional("Address Line 1", 0, 150),
386
+ address_line2: stringOptional("Address Line 2", 0, 150),
387
+ locality_landmark: stringOptional("Locality / Landmark", 0, 150),
388
+ neighborhood: stringOptional("Neighborhood", 0, 100),
389
+ town_city: stringOptional("Town / City", 0, 100),
390
+ district_county: stringOptional("District / County", 0, 100),
391
+ state_province_region: stringOptional("State / Province / Region", 0, 100),
392
+ postal_code: stringOptional("Postal Code", 0, 20),
393
+ country: stringOptional("Country", 0, 100),
394
+ country_code: stringOptional("Country Code", 0, 5),
395
+ google_location: stringOptional("Google Location", 0, 100),
386
396
  status: enumMandatory("Status", Status, "Active" /* Active */)
387
397
  });
388
398
  var GPSGeofenceQuerySchema = BaseQuerySchema.extend({
@@ -404,7 +414,6 @@ var GPSGeofenceQuerySchema = BaseQuerySchema.extend({
404
414
  var toGPSGeofencePayload = (data) => ({
405
415
  organisation_id: data.organisation_id,
406
416
  geofence_name: data.geofence_name,
407
- geofence_location: data.geofence_location,
408
417
  geofence_description: data.geofence_description ?? "",
409
418
  geofence_purpose_type: data.geofence_purpose_type,
410
419
  geofence_type: data.geofence_type,
@@ -413,20 +422,41 @@ var toGPSGeofencePayload = (data) => ({
413
422
  latitude: data.latitude,
414
423
  longitude: data.longitude,
415
424
  poliline_data: data.poliline_data ?? [],
425
+ address_line1: data.address_line1 ?? "",
426
+ address_line2: data.address_line2 ?? "",
427
+ locality_landmark: data.locality_landmark ?? "",
428
+ neighborhood: data.neighborhood ?? "",
429
+ town_city: data.town_city ?? "",
430
+ district_county: data.district_county ?? "",
431
+ state_province_region: data.state_province_region ?? "",
432
+ postal_code: data.postal_code ?? "",
433
+ country: data.country ?? "",
434
+ country_code: data.country_code ?? "",
435
+ google_location: data.google_location ?? "",
416
436
  status: data.status
417
437
  });
418
438
  var newGPSGeofencePayload = () => ({
419
439
  organisation_id: "",
420
440
  geofence_name: "",
421
- geofence_location: "",
422
- geofence_description: "",
423
441
  geofence_purpose_type: "TripSourceLocation" /* TripSourceLocation */,
442
+ geofence_description: "",
424
443
  geofence_type: "Circle" /* Circle */,
425
444
  radius_m: 0,
426
445
  radius_km: 0,
427
446
  latitude: 0,
428
447
  longitude: 0,
429
448
  poliline_data: [],
449
+ address_line1: "",
450
+ address_line2: "",
451
+ locality_landmark: "",
452
+ neighborhood: "",
453
+ town_city: "",
454
+ district_county: "",
455
+ state_province_region: "",
456
+ postal_code: "",
457
+ country: "",
458
+ country_code: "",
459
+ google_location: "",
430
460
  status: "Active" /* Active */
431
461
  });
432
462
  var findGPSGeofence = async (data) => {
@@ -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-BmevBmkg.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-CzSOu4tx.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,21 +36,21 @@ 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
40
  status: Status;
40
41
  organisation_id: string;
41
- vehicle_id: string;
42
- driver_id: string;
43
- gps_geofence_id: string;
44
42
  time_zone_id: string;
43
+ driver_id: string;
44
+ vehicle_id: string;
45
45
  geofence_status_type: GeofenceStatusType;
46
46
  geofence_time: string;
47
47
  }, {
48
+ gps_geofence_id: string;
48
49
  status: Status;
49
50
  organisation_id: string;
50
- vehicle_id: string;
51
- driver_id: string;
52
- gps_geofence_id: string;
53
51
  time_zone_id: string;
52
+ driver_id: string;
53
+ vehicle_id: string;
54
54
  geofence_status_type: GeofenceStatusType;
55
55
  geofence_time: string;
56
56
  }>;
@@ -95,7 +95,6 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
95
95
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
96
96
  }, "strip", z.ZodTypeAny, {
97
97
  status: Status[];
98
- time_zone_id: string;
99
98
  search: string;
100
99
  paging: PAGING;
101
100
  page_count: number;
@@ -115,16 +114,17 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
115
114
  }[];
116
115
  include_master_data: YesNo;
117
116
  date_format_id: string;
117
+ time_zone_id: string;
118
118
  organisation_ids: string[];
119
+ gps_geofence_ids: string[];
119
120
  vehicle_ids: string[];
120
121
  driver_ids: string[];
121
- gps_geofence_ids: string[];
122
+ geofence_status_type: GeofenceStatusType[];
122
123
  from_date: string;
123
124
  to_date: string;
124
- geofence_status_type: GeofenceStatusType[];
125
125
  }, {
126
- time_zone_id: string;
127
126
  date_format_id: string;
127
+ time_zone_id: string;
128
128
  from_date: string;
129
129
  to_date: string;
130
130
  status?: Status[] | undefined;
@@ -147,9 +147,9 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
147
147
  }[] | undefined;
148
148
  include_master_data?: YesNo | undefined;
149
149
  organisation_ids?: string[] | undefined;
150
+ gps_geofence_ids?: string[] | undefined;
150
151
  vehicle_ids?: string[] | undefined;
151
152
  driver_ids?: string[] | undefined;
152
- gps_geofence_ids?: string[] | undefined;
153
153
  geofence_status_type?: GeofenceStatusType[] | undefined;
154
154
  }>;
155
155
  type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
@@ -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-BmevBmkg.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-CzSOu4tx.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,27 +46,27 @@ 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
- geofence_enter_date_time: string;
50
- geofence_exit_date_time: string;
51
- duration_seconds: number;
49
+ gps_geofence_id: string;
52
50
  status: Status;
53
51
  organisation_id: string;
54
- vehicle_id: string;
52
+ time_zone_id: string;
55
53
  driver_id: string;
56
- gps_geofence_id: string;
54
+ vehicle_id: string;
55
+ geofence_enter_date_time: string;
56
+ geofence_exit_date_time: string;
57
+ duration_seconds: number;
57
58
  enter_gps_geofence_transaction_id: string;
58
59
  exit_gps_geofence_transaction_id: string;
59
- time_zone_id: string;
60
60
  }, {
61
- geofence_enter_date_time: string;
61
+ gps_geofence_id: string;
62
62
  status: Status;
63
63
  organisation_id: string;
64
- vehicle_id: string;
64
+ time_zone_id: string;
65
65
  driver_id: string;
66
- gps_geofence_id: string;
66
+ vehicle_id: string;
67
+ geofence_enter_date_time: string;
67
68
  enter_gps_geofence_transaction_id: string;
68
69
  exit_gps_geofence_transaction_id: string;
69
- time_zone_id: string;
70
70
  geofence_exit_date_time?: string | undefined;
71
71
  duration_seconds?: unknown;
72
72
  }>;
@@ -110,7 +110,6 @@ 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;
114
113
  search: string;
115
114
  paging: PAGING;
116
115
  page_count: number;
@@ -130,15 +129,16 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
130
129
  }[];
131
130
  include_master_data: YesNo;
132
131
  date_format_id: string;
132
+ time_zone_id: string;
133
133
  organisation_ids: string[];
134
+ gps_geofence_ids: string[];
134
135
  vehicle_ids: string[];
135
136
  driver_ids: string[];
136
- gps_geofence_ids: string[];
137
137
  from_date: string;
138
138
  to_date: string;
139
139
  }, {
140
- time_zone_id: string;
141
140
  date_format_id: string;
141
+ time_zone_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;
164
165
  vehicle_ids?: string[] | undefined;
165
166
  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;