sgerp-frontend-lib 0.1.1 → 0.1.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 (255) hide show
  1. package/README.md +1 -1
  2. package/dist/connection-manager.d.ts +48 -0
  3. package/dist/connection-manager.d.ts.map +1 -0
  4. package/dist/connection-manager.js +156 -0
  5. package/dist/index.js +20 -2
  6. package/dist/locales/locale-server.d.ts +10 -0
  7. package/dist/locales/locale-server.d.ts.map +1 -0
  8. package/dist/locales/locale-server.js +49 -0
  9. package/dist/locales/locale.d.ts +23 -0
  10. package/dist/locales/locale.d.ts.map +1 -0
  11. package/dist/locales/locale.js +145 -0
  12. package/dist/locales/locale_en.d.ts.map +1 -1
  13. package/dist/locales/locale_en.js +84 -9
  14. package/dist/locales/locale_ja.d.ts.map +1 -1
  15. package/dist/locales/locale_ja.js +84 -9
  16. package/dist/locales/locale_ms.d.ts.map +1 -1
  17. package/dist/locales/locale_ms.js +84 -9
  18. package/dist/locales/useLocalization.d.ts +11 -0
  19. package/dist/locales/useLocalization.d.ts.map +1 -0
  20. package/dist/locales/useLocalization.js +64 -0
  21. package/dist/locales.d.ts +228 -0
  22. package/dist/locales.d.ts.map +1 -0
  23. package/dist/locales.js +229 -0
  24. package/dist/sgerp/api/client.d.ts +45 -0
  25. package/dist/sgerp/api/client.d.ts.map +1 -0
  26. package/dist/sgerp/api/client.js +141 -0
  27. package/dist/sgerp/client.js +341 -0
  28. package/dist/sgerp/collection.d.ts +391 -0
  29. package/dist/sgerp/collection.d.ts.map +1 -0
  30. package/dist/sgerp/collection.js +756 -0
  31. package/dist/sgerp/collections/account/user.d.ts +8 -0
  32. package/dist/sgerp/collections/account/user.d.ts.map +1 -0
  33. package/dist/sgerp/collections/account/user.js +10 -0
  34. package/dist/sgerp/collections/masstransit/building.d.ts +26 -0
  35. package/dist/sgerp/collections/masstransit/building.d.ts.map +1 -0
  36. package/dist/sgerp/collections/masstransit/building.js +53 -0
  37. package/dist/sgerp/collections/masstransit/transitstop.d.ts +15 -0
  38. package/dist/sgerp/collections/masstransit/transitstop.d.ts.map +1 -0
  39. package/dist/sgerp/collections/masstransit/transitstop.js +54 -0
  40. package/dist/sgerp/collections/masstransit/transitstopset.d.ts +10 -0
  41. package/dist/sgerp/collections/masstransit/transitstopset.d.ts.map +1 -0
  42. package/dist/sgerp/collections/masstransit/transitstopset.js +10 -0
  43. package/dist/sgerp/collections/sharing/organization-project.d.ts +11 -0
  44. package/dist/sgerp/collections/sharing/organization-project.d.ts.map +1 -0
  45. package/dist/sgerp/collections/sharing/organization-project.js +13 -0
  46. package/dist/sgerp/collections/sharing/organization.d.ts +11 -0
  47. package/dist/sgerp/collections/sharing/organization.d.ts.map +1 -0
  48. package/dist/sgerp/collections/sharing/organization.js +13 -0
  49. package/dist/sgerp/collections/sharing/pricing.d.ts +18 -0
  50. package/dist/sgerp/collections/sharing/pricing.d.ts.map +1 -0
  51. package/dist/sgerp/collections/sharing/pricing.js +23 -0
  52. package/dist/sgerp/collections/sharing/project-member.d.ts +8 -0
  53. package/dist/sgerp/collections/sharing/project-member.d.ts.map +1 -0
  54. package/dist/sgerp/collections/sharing/project-member.js +10 -0
  55. package/dist/sgerp/collections/sharing/project.d.ts +8 -0
  56. package/dist/sgerp/collections/sharing/project.d.ts.map +1 -0
  57. package/dist/sgerp/collections/sharing/project.js +10 -0
  58. package/dist/sgerp/collections/simulation/booking.d.ts +11 -0
  59. package/dist/sgerp/collections/simulation/booking.d.ts.map +1 -0
  60. package/dist/sgerp/collections/simulation/booking.js +13 -0
  61. package/dist/sgerp/collections/simulation/dataset.d.ts +14 -0
  62. package/dist/sgerp/collections/simulation/dataset.d.ts.map +1 -0
  63. package/dist/sgerp/collections/simulation/dataset.js +17 -0
  64. package/dist/sgerp/collections/simulation/driver.d.ts +12 -0
  65. package/dist/sgerp/collections/simulation/driver.d.ts.map +1 -0
  66. package/dist/sgerp/collections/simulation/driver.js +40 -0
  67. package/dist/sgerp/collections/simulation/geofence.d.ts +24 -0
  68. package/dist/sgerp/collections/simulation/geofence.d.ts.map +1 -0
  69. package/dist/sgerp/collections/simulation/geofence.js +66 -0
  70. package/dist/sgerp/collections/simulation/mapboxtoken.d.ts +18 -0
  71. package/dist/sgerp/collections/simulation/mapboxtoken.d.ts.map +1 -0
  72. package/dist/sgerp/collections/simulation/mapboxtoken.js +24 -0
  73. package/dist/sgerp/collections/simulation/node.js +13 -0
  74. package/dist/sgerp/collections/simulation/operationslocation.d.ts +28 -0
  75. package/dist/sgerp/collections/simulation/operationslocation.d.ts.map +1 -0
  76. package/dist/sgerp/collections/simulation/operationslocation.js +64 -0
  77. package/dist/sgerp/collections/simulation/operationslocationgroup.d.ts +12 -0
  78. package/dist/sgerp/collections/simulation/operationslocationgroup.d.ts.map +1 -0
  79. package/dist/sgerp/collections/simulation/operationslocationgroup.js +24 -0
  80. package/dist/sgerp/collections/simulation/routingprofile.d.ts +10 -0
  81. package/dist/sgerp/collections/simulation/routingprofile.d.ts.map +1 -0
  82. package/dist/sgerp/collections/simulation/routingprofile.js +10 -0
  83. package/dist/sgerp/collections/simulation/simulation.d.ts +12 -0
  84. package/dist/sgerp/collections/simulation/simulation.d.ts.map +1 -0
  85. package/dist/sgerp/collections/simulation/simulation.js +35 -0
  86. package/dist/sgerp/collections/simulation/simulationprocessor.d.ts +19 -0
  87. package/dist/sgerp/collections/simulation/simulationprocessor.d.ts.map +1 -0
  88. package/dist/sgerp/collections/simulation/simulationprocessor.js +27 -0
  89. package/dist/sgerp/collections/simulation/vehicle.js +13 -0
  90. package/dist/sgerp/collections/simulation/vehicletype.d.ts +11 -0
  91. package/dist/sgerp/collections/simulation/vehicletype.d.ts.map +1 -0
  92. package/dist/sgerp/collections/simulation/vehicletype.js +13 -0
  93. package/dist/sgerp/collections/sms_notify/smsscheduled.d.ts +11 -0
  94. package/dist/sgerp/collections/sms_notify/smsscheduled.d.ts.map +1 -0
  95. package/dist/sgerp/collections/sms_notify/smsscheduled.js +13 -0
  96. package/dist/sgerp/collections/transportation/passenger.d.ts +8 -0
  97. package/dist/sgerp/collections/transportation/passenger.d.ts.map +1 -0
  98. package/dist/sgerp/collections/transportation/passenger.js +10 -0
  99. package/dist/sgerp/collections/transportation/ticket.d.ts +11 -0
  100. package/dist/sgerp/collections/transportation/ticket.d.ts.map +1 -0
  101. package/dist/sgerp/collections/transportation/ticket.js +13 -0
  102. package/dist/sgerp/collections/transportation/transaction.d.ts +11 -0
  103. package/dist/sgerp/collections/transportation/transaction.d.ts.map +1 -0
  104. package/dist/sgerp/collections/transportation/transaction.js +13 -0
  105. package/dist/sgerp/constants/bulkoperations-enums.d.ts +71 -0
  106. package/dist/sgerp/constants/bulkoperations-enums.d.ts.map +1 -0
  107. package/dist/sgerp/constants/bulkoperations-enums.js +99 -0
  108. package/dist/sgerp/constants/messages-enums.d.ts +47 -0
  109. package/dist/sgerp/constants/messages-enums.d.ts.map +1 -0
  110. package/dist/sgerp/constants/messages-enums.js +67 -0
  111. package/dist/sgerp/constants/scheduling-enums.d.ts +42 -0
  112. package/dist/sgerp/constants/scheduling-enums.d.ts.map +1 -0
  113. package/dist/sgerp/constants/scheduling-enums.js +61 -0
  114. package/dist/sgerp/constants/simulation-enums.d.ts +93 -0
  115. package/dist/sgerp/constants/simulation-enums.d.ts.map +1 -0
  116. package/dist/sgerp/constants/simulation-enums.js +147 -0
  117. package/dist/sgerp/constants/solver-strategies.d.ts +75 -0
  118. package/dist/sgerp/constants/solver-strategies.d.ts.map +1 -0
  119. package/dist/sgerp/constants/solver-strategies.js +26 -0
  120. package/dist/sgerp/context/sgerp-context.js +134 -0
  121. package/dist/sgerp/domains.d.ts +47 -0
  122. package/dist/sgerp/domains.d.ts.map +1 -0
  123. package/dist/sgerp/domains.js +45 -0
  124. package/dist/sgerp/hooks/use-collection.js +122 -0
  125. package/dist/sgerp/hooks/use-live-updates.js +16 -13
  126. package/dist/sgerp/index.js +153 -0
  127. package/dist/sgerp/map-states/operations-location-state.d.ts +12 -0
  128. package/dist/sgerp/map-states/operations-location-state.d.ts.map +1 -0
  129. package/dist/sgerp/map-states/operations-location-state.js +86 -0
  130. package/dist/sgerp/routing/index.d.ts +51 -0
  131. package/dist/sgerp/routing/index.d.ts.map +1 -0
  132. package/dist/sgerp/routing/index.js +373 -0
  133. package/dist/sgerp/simulation-logic/fetchUtils.js +226 -0
  134. package/dist/sgerp/simulation-logic/index.js +27 -7
  135. package/dist/sgerp/simulation-logic/manualEditUtils.js +69 -0
  136. package/dist/sgerp/simulation-logic/mapUtils.js +58 -0
  137. package/dist/sgerp/simulation-logic/optimisticUpdateUtils.js +8 -5
  138. package/dist/sgerp/simulation-logic/referenceUtils.js +110 -0
  139. package/dist/sgerp/simulation-logic/routeCalculationUtils.js +43 -0
  140. package/dist/sgerp/simulation-logic/timeShiftUtils.js +63 -0
  141. package/dist/sgerp/types/account/user.d.ts +38 -0
  142. package/dist/sgerp/types/account/user.d.ts.map +1 -0
  143. package/dist/sgerp/types/account/user.js +2 -0
  144. package/dist/sgerp/types/bulkoperations/index.d.ts +37 -0
  145. package/dist/sgerp/types/bulkoperations/index.d.ts.map +1 -0
  146. package/dist/sgerp/types/bulkoperations/index.js +35 -0
  147. package/dist/sgerp/types/bulkoperations/vehicle-upload.d.ts +335 -0
  148. package/dist/sgerp/types/bulkoperations/vehicle-upload.d.ts.map +1 -0
  149. package/dist/sgerp/types/bulkoperations/vehicle-upload.js +49 -0
  150. package/dist/sgerp/types/config.d.ts +25 -0
  151. package/dist/sgerp/types/config.d.ts.map +1 -0
  152. package/dist/sgerp/types/config.js +2 -0
  153. package/dist/sgerp/types/geojson.d.ts +45 -0
  154. package/dist/sgerp/types/geojson.d.ts.map +1 -0
  155. package/dist/sgerp/types/geojson.js +6 -0
  156. package/dist/sgerp/types/map.d.ts +24 -0
  157. package/dist/sgerp/types/map.d.ts.map +1 -0
  158. package/dist/sgerp/types/map.js +2 -0
  159. package/dist/sgerp/types/masstransit/building.d.ts +24 -0
  160. package/dist/sgerp/types/masstransit/building.d.ts.map +1 -0
  161. package/dist/sgerp/types/masstransit/building.js +2 -0
  162. package/dist/sgerp/types/masstransit/transitstop.d.ts +35 -0
  163. package/dist/sgerp/types/masstransit/transitstop.d.ts.map +1 -0
  164. package/dist/sgerp/types/masstransit/transitstop.js +2 -0
  165. package/dist/sgerp/types/masstransit/transitstopset.d.ts +14 -0
  166. package/dist/sgerp/types/masstransit/transitstopset.d.ts.map +1 -0
  167. package/dist/sgerp/types/masstransit/transitstopset.js +2 -0
  168. package/dist/sgerp/types/sharing/organization-project.d.ts +14 -0
  169. package/dist/sgerp/types/sharing/organization-project.d.ts.map +1 -0
  170. package/dist/sgerp/types/sharing/organization-project.js +2 -0
  171. package/dist/sgerp/types/sharing/organization.d.ts +14 -0
  172. package/dist/sgerp/types/sharing/organization.d.ts.map +1 -0
  173. package/dist/sgerp/types/sharing/organization.js +2 -0
  174. package/dist/sgerp/types/sharing/pricing.d.ts +98 -0
  175. package/dist/sgerp/types/sharing/pricing.d.ts.map +1 -0
  176. package/dist/sgerp/types/sharing/pricing.js +2 -0
  177. package/dist/sgerp/types/sharing/project-member.d.ts +15 -0
  178. package/dist/sgerp/types/sharing/project-member.d.ts.map +1 -0
  179. package/dist/sgerp/types/sharing/project-member.js +2 -0
  180. package/dist/sgerp/types/sharing/project.d.ts +16 -0
  181. package/dist/sgerp/types/sharing/project.d.ts.map +1 -0
  182. package/dist/sgerp/types/sharing/project.js +2 -0
  183. package/dist/sgerp/types/simulation/booking.d.ts +128 -0
  184. package/dist/sgerp/types/simulation/booking.d.ts.map +1 -0
  185. package/dist/sgerp/types/simulation/booking.js +24 -0
  186. package/dist/sgerp/types/simulation/calculation-params.d.ts +20 -0
  187. package/dist/sgerp/types/simulation/calculation-params.d.ts.map +1 -0
  188. package/dist/sgerp/types/simulation/calculation-params.js +2 -0
  189. package/dist/sgerp/types/simulation/dataset.d.ts +16 -0
  190. package/dist/sgerp/types/simulation/dataset.d.ts.map +1 -0
  191. package/dist/sgerp/types/simulation/dataset.js +2 -0
  192. package/dist/sgerp/types/simulation/driver.d.ts +19 -0
  193. package/dist/sgerp/types/simulation/driver.d.ts.map +1 -0
  194. package/dist/sgerp/types/simulation/driver.js +2 -0
  195. package/dist/sgerp/types/simulation/geofence.d.ts +19 -0
  196. package/dist/sgerp/types/simulation/geofence.d.ts.map +1 -0
  197. package/dist/sgerp/types/simulation/geofence.js +2 -0
  198. package/dist/sgerp/types/simulation/logistics-api-settings.d.ts +98 -0
  199. package/dist/sgerp/types/simulation/logistics-api-settings.d.ts.map +1 -0
  200. package/dist/sgerp/types/simulation/logistics-api-settings.js +104 -0
  201. package/dist/sgerp/types/simulation/mapboxtoken.d.ts +13 -0
  202. package/dist/sgerp/types/simulation/mapboxtoken.d.ts.map +1 -0
  203. package/dist/sgerp/types/simulation/mapboxtoken.js +2 -0
  204. package/dist/sgerp/types/simulation/node.js +5 -2
  205. package/dist/sgerp/types/simulation/operationslocation.d.ts +40 -0
  206. package/dist/sgerp/types/simulation/operationslocation.d.ts.map +1 -0
  207. package/dist/sgerp/types/simulation/operationslocation.js +2 -0
  208. package/dist/sgerp/types/simulation/operationslocationgroup.d.ts +11 -0
  209. package/dist/sgerp/types/simulation/operationslocationgroup.d.ts.map +1 -0
  210. package/dist/sgerp/types/simulation/operationslocationgroup.js +2 -0
  211. package/dist/sgerp/types/simulation/pricing.d.ts +171 -0
  212. package/dist/sgerp/types/simulation/pricing.d.ts.map +1 -0
  213. package/dist/sgerp/types/simulation/pricing.js +2 -0
  214. package/dist/sgerp/types/simulation/route-cost-modification.d.ts +35 -0
  215. package/dist/sgerp/types/simulation/route-cost-modification.d.ts.map +1 -0
  216. package/dist/sgerp/types/simulation/route-cost-modification.js +5 -0
  217. package/dist/sgerp/types/simulation/routing-engine-settings.d.ts +42 -0
  218. package/dist/sgerp/types/simulation/routing-engine-settings.d.ts.map +1 -0
  219. package/dist/sgerp/types/simulation/routing-engine-settings.js +35 -0
  220. package/dist/sgerp/types/simulation/routingprofile.d.ts +32 -0
  221. package/dist/sgerp/types/simulation/routingprofile.d.ts.map +1 -0
  222. package/dist/sgerp/types/simulation/routingprofile.js +37 -0
  223. package/dist/sgerp/types/simulation/simulation.d.ts +120 -0
  224. package/dist/sgerp/types/simulation/simulation.d.ts.map +1 -0
  225. package/dist/sgerp/types/simulation/simulation.js +2 -0
  226. package/dist/sgerp/types/simulation/simulationprocessor.d.ts +31 -0
  227. package/dist/sgerp/types/simulation/simulationprocessor.d.ts.map +1 -0
  228. package/dist/sgerp/types/simulation/simulationprocessor.js +2 -0
  229. package/dist/sgerp/types/simulation/vehicle.js +2 -1
  230. package/dist/sgerp/types/simulation/vehicletype.d.ts +33 -0
  231. package/dist/sgerp/types/simulation/vehicletype.d.ts.map +1 -0
  232. package/dist/sgerp/types/simulation/vehicletype.js +2 -0
  233. package/dist/sgerp/types/sms_notify/smsscheduled.d.ts +36 -0
  234. package/dist/sgerp/types/sms_notify/smsscheduled.d.ts.map +1 -0
  235. package/dist/sgerp/types/sms_notify/smsscheduled.js +6 -0
  236. package/dist/sgerp/types/transportation/passenger.d.ts +49 -0
  237. package/dist/sgerp/types/transportation/passenger.d.ts.map +1 -0
  238. package/dist/sgerp/types/transportation/passenger.js +13 -0
  239. package/dist/sgerp/types/transportation/ticket.d.ts +31 -0
  240. package/dist/sgerp/types/transportation/ticket.d.ts.map +1 -0
  241. package/dist/sgerp/types/transportation/ticket.js +2 -0
  242. package/dist/sgerp/types/transportation/transaction.d.ts +71 -0
  243. package/dist/sgerp/types/transportation/transaction.d.ts.map +1 -0
  244. package/dist/sgerp/types/transportation/transaction.js +54 -0
  245. package/dist/sgerp/utils/bookingPayload.d.ts +80 -0
  246. package/dist/sgerp/utils/bookingPayload.d.ts.map +1 -0
  247. package/dist/sgerp/utils/bookingPayload.js +44 -0
  248. package/dist/sgerp/utils/color.d.ts +30 -0
  249. package/dist/sgerp/utils/color.d.ts.map +1 -0
  250. package/dist/sgerp/utils/color.js +117 -0
  251. package/dist/sgerp/utils/enum-helpers.d.ts +41 -0
  252. package/dist/sgerp/utils/enum-helpers.d.ts.map +1 -0
  253. package/dist/sgerp/utils/enum-helpers.js +54 -0
  254. package/dist/sgerp/utils/routeUtils.js +171 -0
  255. package/package.json +1 -1
@@ -0,0 +1,38 @@
1
+ /**
2
+ * User model from SGERP API
3
+ */
4
+ export interface User {
5
+ id: number;
6
+ last_login: string;
7
+ is_superuser: boolean;
8
+ username: string;
9
+ first_name: string;
10
+ last_name: string;
11
+ email: string;
12
+ is_staff: boolean;
13
+ is_active: boolean;
14
+ date_joined: string;
15
+ created_at: string;
16
+ modified_at: string;
17
+ external_id: string | null;
18
+ options: Record<string, unknown>;
19
+ organization_id: number | null;
20
+ phone: string | null;
21
+ created_by_id: number | null;
22
+ }
23
+ /**
24
+ * Generic pagination metadata for SGERP API responses
25
+ */
26
+ export interface SGERPMeta {
27
+ has_more: boolean;
28
+ next: string | null;
29
+ next_offset: string | null;
30
+ }
31
+ /**
32
+ * Generic list response from SGERP API
33
+ */
34
+ export interface SGERPListResponse<T> {
35
+ meta: SGERPMeta;
36
+ objects: T[];
37
+ }
38
+ //# sourceMappingURL=user.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../sgerplib/sgerp/types/account/user.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,CAAC,EAAE,CAAC;CACd"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,37 @@
1
+ import type { VehicleUploadPayload, VehicleUploadResult } from './vehicle-upload';
2
+ import { BulkTaskExecutionMode, BulkTaskType, type BulkTaskExecutionModeValue, type BulkTaskTypeValue } from '../../constants/bulkoperations-enums';
3
+ export { BulkTaskExecutionMode, BulkTaskType };
4
+ export type { BulkTaskExecutionModeValue, BulkTaskTypeValue };
5
+ /**
6
+ * Union type for all possible bulk task payloads
7
+ */
8
+ export type BulkTaskPayloadType = VehicleUploadPayload | Record<string, unknown>;
9
+ /**
10
+ * Union type for all possible bulk task results
11
+ */
12
+ export type BulkTaskResultType = VehicleUploadResult | Record<string, unknown>;
13
+ /**
14
+ * Bulk task message
15
+ */
16
+ export interface BulkTaskMessage {
17
+ /** Project id. Mandatory for access control purposes */
18
+ project_id: number;
19
+ /** User id: Filled on backend. Used for access control purposes */
20
+ user_id?: number | null;
21
+ /** Simulation id */
22
+ simulation_id?: number | null;
23
+ /** Payload for the task */
24
+ payload: BulkTaskPayloadType;
25
+ /** Type of the bulk action */
26
+ type: BulkTaskTypeValue;
27
+ /** Result of the bulk action */
28
+ result?: BulkTaskResultType | null;
29
+ /** Execution mode */
30
+ execution_mode?: BulkTaskExecutionModeValue;
31
+ }
32
+ /**
33
+ * Helper to create a vehicle upload task message
34
+ */
35
+ export declare function createVehicleUploadTask(projectId: number, simulationId: number, payload: VehicleUploadPayload, executionMode?: BulkTaskExecutionModeValue): BulkTaskMessage;
36
+ export * from './vehicle-upload';
37
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../sgerplib/sgerp/types/bulkoperations/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,qBAAqB,EACrB,YAAY,EACZ,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACvB,MAAM,sCAAsC,CAAC;AAG9C,OAAO,EAAE,qBAAqB,EAAE,YAAY,EAAE,CAAC;AAC/C,YAAY,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,CAAC;AAE9D;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAC3B,oBAAoB,GAEpB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAC1B,mBAAmB,GAEnB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE5B;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,wDAAwD;IACxD,UAAU,EAAE,MAAM,CAAC;IACnB,mEAAmE;IACnE,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,oBAAoB;IACpB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,2BAA2B;IAC3B,OAAO,EAAE,mBAAmB,CAAC;IAC7B,8BAA8B;IAC9B,IAAI,EAAE,iBAAiB,CAAC;IACxB,gCAAgC;IAChC,MAAM,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACnC,qBAAqB;IACrB,cAAc,CAAC,EAAE,0BAA0B,CAAC;CAC7C;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,oBAAoB,EAC7B,aAAa,GAAE,0BAAuD,GACrE,eAAe,CAQjB;AAGD,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.BulkTaskType = exports.BulkTaskExecutionMode = void 0;
18
+ exports.createVehicleUploadTask = createVehicleUploadTask;
19
+ const bulkoperations_enums_1 = require("../../constants/bulkoperations-enums");
20
+ Object.defineProperty(exports, "BulkTaskExecutionMode", { enumerable: true, get: function () { return bulkoperations_enums_1.BulkTaskExecutionMode; } });
21
+ Object.defineProperty(exports, "BulkTaskType", { enumerable: true, get: function () { return bulkoperations_enums_1.BulkTaskType; } });
22
+ /**
23
+ * Helper to create a vehicle upload task message
24
+ */
25
+ function createVehicleUploadTask(projectId, simulationId, payload, executionMode = bulkoperations_enums_1.BulkTaskExecutionMode.SYNC) {
26
+ return {
27
+ project_id: projectId,
28
+ simulation_id: simulationId,
29
+ payload,
30
+ type: bulkoperations_enums_1.BulkTaskType.VEHICLE_UPLOAD,
31
+ execution_mode: executionMode,
32
+ };
33
+ }
34
+ // Re-export vehicle upload types
35
+ __exportStar(require("./vehicle-upload"), exports);
@@ -0,0 +1,335 @@
1
+ import type { RoutingEngineSettings } from '../simulation/routing-engine-settings';
2
+ import type { FinalizationTypeValue } from '../../constants/simulation-enums';
3
+ /**
4
+ * Vehicle status enum
5
+ * From simulation.agents.enums.VehicleStatus
6
+ */
7
+ export declare const VehicleStatus: {
8
+ readonly IDLE: "idle";
9
+ readonly DRIVING: "driving";
10
+ readonly SERVICING: "servicing";
11
+ readonly WAITING: "waiting";
12
+ readonly SELECTING_NEXT_NODE: "selecting_next_node";
13
+ };
14
+ export type VehicleStatusValue = typeof VehicleStatus[keyof typeof VehicleStatus];
15
+ /**
16
+ * Vehicle use option enum
17
+ * From simulation.agents.enums.VehicleUseOption
18
+ */
19
+ export declare const VehicleUseOption: {
20
+ readonly ENABLED: "enabled";
21
+ readonly DISABLED: "disabled";
22
+ };
23
+ export type VehicleUseOptionValue = typeof VehicleUseOption[keyof typeof VehicleUseOption];
24
+ /**
25
+ * Vehicle export attempt status enum
26
+ * From simulation.agents.enums.VehicleExportAttemptStatus
27
+ */
28
+ export declare const VehicleExportAttemptStatus: {
29
+ readonly SUCCESS: "success";
30
+ readonly FAIL: "fail";
31
+ };
32
+ export type VehicleExportAttemptStatusValue = typeof VehicleExportAttemptStatus[keyof typeof VehicleExportAttemptStatus];
33
+ /**
34
+ * Re-export FinalizationType from simulation enums
35
+ */
36
+ export type { FinalizationTypeValue as FinalizationType } from '../../constants/simulation-enums';
37
+ export { FinalizationType as FinalizationTypeEnum } from '../../constants/simulation-enums';
38
+ /**
39
+ * Model for bulk task vehicle upload.
40
+ * Based on Python Pydantic model: BulkTaskVehicleUploadModel
41
+ * Explanations for corresponding attributes see in simulation.models.Vehicle
42
+ */
43
+ export interface VehicleUploadModel {
44
+ /** DB identifier (for updates) */
45
+ id?: number | null;
46
+ /** Vehicle type ID if present */
47
+ vehicle_type_id?: number | null;
48
+ /** Agent id (UUID) */
49
+ agent_id?: string | null;
50
+ /** Amortized linear cost factor */
51
+ amortized_linear_cost_factor?: number | null;
52
+ /** Amortized quadratic cost factor */
53
+ amortized_quadratic_cost_factor?: number | null;
54
+ /** Current bearing */
55
+ bearing?: number;
56
+ /** Capacity dictionary */
57
+ capacity?: Record<string, number>;
58
+ /** Characteristics (flexible dictionary) */
59
+ characteristics?: Record<string, unknown>;
60
+ /** Color hex code */
61
+ color?: string;
62
+ /** Created at timestamp */
63
+ created_at?: string;
64
+ /** Current simulation timestamp */
65
+ current_sim_ts?: string;
66
+ /** Driver ID */
67
+ driver_id?: number | null;
68
+ /** Dynamic break average time between breaks */
69
+ dynamic_break_avg_time_between_breaks?: number | null;
70
+ /** Dynamic break duration */
71
+ dynamic_break_duration?: number | null;
72
+ /** Dynamic break end time */
73
+ dynamic_break_end_time?: string | null;
74
+ /** Dynamic break max latency */
75
+ dynamic_break_max_latency?: number | null;
76
+ /** Dynamic break min path duration */
77
+ dynamic_break_min_path_duration?: number | null;
78
+ /** Dynamic break start time */
79
+ dynamic_break_start_time?: string | null;
80
+ /** Efficiency (flexible dictionary or null) */
81
+ efficiency?: Record<string, unknown> | null;
82
+ /** End time */
83
+ end_time?: string | null;
84
+ /** End time node index */
85
+ end_time_node_index?: number | null;
86
+ /** Geofence IDs */
87
+ geofence_ids?: number[];
88
+ /** In use flag */
89
+ in_use?: VehicleUseOptionValue;
90
+ /** Is invalidated - soft deletion flag */
91
+ is_invalidated?: boolean;
92
+ /** H3 index */
93
+ h3?: string;
94
+ /** Labels */
95
+ labels?: string[];
96
+ /** Current latitude */
97
+ lat?: number;
98
+ /** Current longitude */
99
+ lon?: number;
100
+ /** LIFO order check */
101
+ lifo_order_check?: boolean;
102
+ /** Max dropoff locations */
103
+ max_dropoff_locations?: number | null;
104
+ /** Max physical stops */
105
+ max_physical_stops?: number | null;
106
+ /** Max pickup locations */
107
+ max_pickup_locations?: number | null;
108
+ /** Max trip duration (seconds) */
109
+ max_trip_duration?: number | null;
110
+ /** Max trip length (meters) */
111
+ max_trip_length?: number | null;
112
+ /** Modified at timestamp */
113
+ modified_at?: string;
114
+ /** Number of trips */
115
+ number_of_trips?: number | null;
116
+ /** Project id. If absent, would be taken from task.project_id */
117
+ project_id?: number | null;
118
+ /** Registration number */
119
+ registration_number?: string | null;
120
+ /** Routing engine settings */
121
+ routing_engine_settings?: RoutingEngineSettings | null;
122
+ /** Server timestamp - autoset usually for DB constraint non-null */
123
+ server_ts?: string;
124
+ /** Status - just IDLE for DB constraint */
125
+ status?: VehicleStatusValue;
126
+ /** Service number */
127
+ service_number?: string;
128
+ /** Should wait until */
129
+ should_wait_until?: string | null;
130
+ /** Sim enable GPS noise - research sim only */
131
+ sim_enable_gps_noise?: boolean;
132
+ /** Sim GPS noise distance */
133
+ sim_gps_noise_distance?: number;
134
+ /** Simulation ID */
135
+ simulation_id?: number | null;
136
+ /** Simulation step pause - research sims related only */
137
+ simulation_step_pause?: number;
138
+ /** Simulation time speedup factor */
139
+ simulation_time_speedup_factor?: number;
140
+ /** Speed (km/h) */
141
+ speed?: number;
142
+ /** Current route */
143
+ current_route?: Record<string, unknown>;
144
+ /** Start time */
145
+ start_time?: string | null;
146
+ /** Start time node index */
147
+ start_time_node_index?: number | null;
148
+ /** Vehicle cost */
149
+ vehicle_cost?: number | null;
150
+ /** Zero cost if only partial routes */
151
+ zero_cost_if_only_partial_routes?: boolean | null;
152
+ /** Assigned nodes protection interval */
153
+ assigned_nodes_protection_interval?: number | null;
154
+ /** Assigned nodes protection max locations */
155
+ assigned_nodes_protection_max_locations?: number | null;
156
+ /** Upload index - used only inside python to handle vehicles */
157
+ upload_index?: number | null;
158
+ /** Simulation template id */
159
+ simulation_template_id?: number | null;
160
+ /** Simulation template name */
161
+ simulation_template_name?: string | null;
162
+ /** Simulation start date, assuming project's timezone (YYYY-MM-DD) */
163
+ simulation_start_date?: string | null;
164
+ /** Driver login (driver.user.username) */
165
+ driver_user_username?: string | null;
166
+ /** Allow late on assigned nodes */
167
+ allow_late_on_assigned_nodes?: boolean | null;
168
+ /** Start location of the vehicle by latitude */
169
+ start_location_lat?: number | null;
170
+ /** Start location of the vehicle by longitude */
171
+ start_location_lon?: number | null;
172
+ /** Start location of the vehicle - node.location_name */
173
+ start_location_name?: string;
174
+ /** Start location of the vehicle - node.display_name */
175
+ start_location_display_name?: string;
176
+ /** Start location code the vehicle - node.code */
177
+ start_location_code?: string;
178
+ /** End location of the vehicle by latitude */
179
+ end_location_lat?: number | null;
180
+ /** End location of the vehicle by longitude */
181
+ end_location_lon?: number | null;
182
+ /** End location of the vehicle - node.location_name */
183
+ end_location_name?: string;
184
+ /** End location of the vehicle - node.display_name */
185
+ end_location_display_name?: string;
186
+ /** End location code the vehicle - node.code */
187
+ end_location_code?: string;
188
+ /** Start location of the vehicle by identifier from masstransit */
189
+ start_location_transitstop_id?: number | null;
190
+ /** End location of the vehicle by identifier from masstransit */
191
+ end_location_transitstop_id?: number | null;
192
+ /** Start location of the vehicle by identifier from operations locations */
193
+ start_location_operations_location_id?: number | null;
194
+ /** End location of the vehicle by identifier from operations locations */
195
+ end_location_operations_location_id?: number | null;
196
+ /** Start location node finalization type */
197
+ start_location_finalization_type?: FinalizationTypeValue;
198
+ /** Start location node max slack */
199
+ start_location_max_slack?: number | null;
200
+ /** End location node finalization type */
201
+ end_location_finalization_type?: FinalizationTypeValue;
202
+ /** End location node max slack */
203
+ end_location_max_slack?: number | null;
204
+ /** Start location of the vehicle by identifier from operations locations */
205
+ start_location_operations_location_external_id?: string | null;
206
+ /** End location of the vehicle by identifier from operations locations */
207
+ end_location_operations_location_external_id?: string | null;
208
+ /** The system where this vehicle is being exported to */
209
+ export_system_name?: string | null;
210
+ /** The status of the last export attempt */
211
+ export_last_attempt_status?: VehicleExportAttemptStatusValue | null;
212
+ /** The timestamp of the last export attempt */
213
+ export_last_attempt_ts?: string | null;
214
+ /** Export is currently in progress */
215
+ export_in_progress?: boolean | null;
216
+ /** Time when export was initiated */
217
+ export_progress_started_at?: string | null;
218
+ /** The initiator (username) of the last export attempt */
219
+ export_last_attempt_initiator_username?: string | null;
220
+ /** The initiator (user id) of the last export attempt */
221
+ export_last_attempt_initiator_user_id?: number | null;
222
+ }
223
+ /**
224
+ * Payload for vehicle upload task
225
+ */
226
+ export interface VehicleUploadPayload {
227
+ /** List of vehicles for upload */
228
+ vehicles: VehicleUploadModel[];
229
+ /** Whether overlap check should take place */
230
+ check_overlaps?: boolean;
231
+ }
232
+ /**
233
+ * More detailed information about uploaded vehicle
234
+ */
235
+ export interface VehicleUploadResultVehicle {
236
+ /** Vehicle ID */
237
+ id: number;
238
+ /** Simulation ID */
239
+ simulation_id: number;
240
+ /** Agent ID (UUID string) */
241
+ agent_id: string;
242
+ /** Driver ID */
243
+ driver_id?: number | null;
244
+ /** Registration number */
245
+ registration_number?: string | null;
246
+ /** Service number */
247
+ service_number?: string | null;
248
+ }
249
+ /**
250
+ * Result of created nodes
251
+ */
252
+ export interface VehicleUploadCreatedNode {
253
+ /** Node ID */
254
+ id: number;
255
+ /** Simulation ID */
256
+ simulation_id: number;
257
+ /** Assigned vehicle ID */
258
+ assigned_vehicle_id: number;
259
+ /** Latitude */
260
+ lat: number;
261
+ /** Longitude */
262
+ lon: number;
263
+ /** Location name */
264
+ location_name?: string;
265
+ /** Display name */
266
+ display_name?: string;
267
+ /** Location code */
268
+ location_code?: string;
269
+ /** Operation location id */
270
+ operation_location_id?: number | null;
271
+ }
272
+ /**
273
+ * Type of overlap
274
+ */
275
+ export interface VehicleUploadOverlap {
276
+ /** Type of the overlap */
277
+ type: string;
278
+ /** Origin of the overlap validation */
279
+ origin: string;
280
+ /** Existing vehicle id of overlap */
281
+ existing_vehicle_id?: number | null;
282
+ /** Simulation id of the overlap */
283
+ simulation_id: number;
284
+ /** Value (can be number or string) */
285
+ value: number | string;
286
+ }
287
+ /**
288
+ * Enums of Invalid Info Types
289
+ */
290
+ export declare enum InvalidVehicleUploadInfoType {
291
+ INVALID_SIMULATION_TEMPLATE = "invalid_simulation_template",
292
+ INVALID_SIMULATION_DATE = "invalid_simulation_date",
293
+ INVALID_SIMULATION = "invalid_simulation",
294
+ CONFLICTING_SIMULATIONS_FOR_TEMPLATE = "conflicting_simulations_for_template",
295
+ VEHICLE_OVERLAP = "vehicle_overlap",
296
+ INVALID_DRIVER_ID = "invalid_driver_id",
297
+ INVALID_DRIVER_USERNAME = "invalid_driver_username",
298
+ INVALID_VEHICLE_TYPE = "invalid_vehicle_type",
299
+ INVALID_START_END_LOCATION_ID = "invalid_start_and_end_location_id",
300
+ INVALID_DRIVER_ORGANIZATION = "invalid_organization_for_driver",
301
+ INVALID_PERMISSIONS_DRIVER_ASSIGNMENT = "invalid_permissions_organization_for_driver_assignment"
302
+ }
303
+ /**
304
+ * Class to capture invalid vehicles
305
+ */
306
+ export interface VehiclesInvalidUploadInfo {
307
+ /** Upload index of the vehicle */
308
+ index: number;
309
+ /** Type of the invalid issue */
310
+ type: InvalidVehicleUploadInfoType;
311
+ /** Is upload done by simulation template */
312
+ by_simulation_template?: boolean;
313
+ }
314
+ /**
315
+ * Result of vehicle upload task
316
+ */
317
+ export interface VehicleUploadResult {
318
+ /** List of vehicles for upload, from db */
319
+ created_vehicles: VehicleUploadResultVehicle[];
320
+ /** List of nodes that got created */
321
+ created_nodes: VehicleUploadCreatedNode[];
322
+ /** Vehicles with invalid information that didn't get created */
323
+ invalid_vehicles_info: VehiclesInvalidUploadInfo[];
324
+ /** Overlaps, if any */
325
+ overlaps: VehicleUploadOverlap[];
326
+ /** Missing driver ids */
327
+ missing_driver_ids: number[];
328
+ /** Missing driver usernames */
329
+ missing_driver_usernames: string[];
330
+ /** Missing, duplicate simulation template errors */
331
+ simulation_template_errors: Record<string, unknown>;
332
+ /** Missing locations */
333
+ missing_location_ids: Record<string, unknown>;
334
+ }
335
+ //# sourceMappingURL=vehicle-upload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"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AAM,EAAE,OAAO,CAAC,CAAC;CAC/C"}
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InvalidVehicleUploadInfoType = exports.FinalizationTypeEnum = exports.VehicleExportAttemptStatus = exports.VehicleUseOption = exports.VehicleStatus = void 0;
4
+ /**
5
+ * Vehicle status enum
6
+ * From simulation.agents.enums.VehicleStatus
7
+ */
8
+ exports.VehicleStatus = {
9
+ IDLE: 'idle',
10
+ DRIVING: 'driving',
11
+ SERVICING: 'servicing',
12
+ WAITING: 'waiting',
13
+ SELECTING_NEXT_NODE: 'selecting_next_node',
14
+ };
15
+ /**
16
+ * Vehicle use option enum
17
+ * From simulation.agents.enums.VehicleUseOption
18
+ */
19
+ exports.VehicleUseOption = {
20
+ ENABLED: 'enabled',
21
+ DISABLED: 'disabled',
22
+ };
23
+ /**
24
+ * Vehicle export attempt status enum
25
+ * From simulation.agents.enums.VehicleExportAttemptStatus
26
+ */
27
+ exports.VehicleExportAttemptStatus = {
28
+ SUCCESS: 'success',
29
+ FAIL: 'fail',
30
+ };
31
+ var simulation_enums_1 = require("../../constants/simulation-enums");
32
+ Object.defineProperty(exports, "FinalizationTypeEnum", { enumerable: true, get: function () { return simulation_enums_1.FinalizationType; } });
33
+ /**
34
+ * Enums of Invalid Info Types
35
+ */
36
+ var InvalidVehicleUploadInfoType;
37
+ (function (InvalidVehicleUploadInfoType) {
38
+ InvalidVehicleUploadInfoType["INVALID_SIMULATION_TEMPLATE"] = "invalid_simulation_template";
39
+ InvalidVehicleUploadInfoType["INVALID_SIMULATION_DATE"] = "invalid_simulation_date";
40
+ InvalidVehicleUploadInfoType["INVALID_SIMULATION"] = "invalid_simulation";
41
+ InvalidVehicleUploadInfoType["CONFLICTING_SIMULATIONS_FOR_TEMPLATE"] = "conflicting_simulations_for_template";
42
+ InvalidVehicleUploadInfoType["VEHICLE_OVERLAP"] = "vehicle_overlap";
43
+ InvalidVehicleUploadInfoType["INVALID_DRIVER_ID"] = "invalid_driver_id";
44
+ InvalidVehicleUploadInfoType["INVALID_DRIVER_USERNAME"] = "invalid_driver_username";
45
+ InvalidVehicleUploadInfoType["INVALID_VEHICLE_TYPE"] = "invalid_vehicle_type";
46
+ InvalidVehicleUploadInfoType["INVALID_START_END_LOCATION_ID"] = "invalid_start_and_end_location_id";
47
+ InvalidVehicleUploadInfoType["INVALID_DRIVER_ORGANIZATION"] = "invalid_organization_for_driver";
48
+ InvalidVehicleUploadInfoType["INVALID_PERMISSIONS_DRIVER_ASSIGNMENT"] = "invalid_permissions_organization_for_driver_assignment";
49
+ })(InvalidVehicleUploadInfoType || (exports.InvalidVehicleUploadInfoType = InvalidVehicleUploadInfoType = {}));
@@ -0,0 +1,25 @@
1
+ export type Environment = 'localhost' | 'staging' | 'production';
2
+ /**
3
+ * Represents a connection profile (user + environment + credentials)
4
+ */
5
+ export interface Connection {
6
+ id: string;
7
+ name?: string;
8
+ environment: Environment;
9
+ user: string;
10
+ password: string;
11
+ baseUrl: string;
12
+ headers?: Record<string, string>;
13
+ }
14
+ export interface SGERPConfig {
15
+ connections: Record<string, Connection>;
16
+ activeConnection: string;
17
+ timeout?: number;
18
+ }
19
+ export interface RequestConfig {
20
+ headers?: Record<string, string>;
21
+ timeout?: number;
22
+ signal?: AbortSignal;
23
+ params?: Record<string, unknown>;
24
+ }
25
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../sgerplib/sgerp/types/config.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,SAAS,GAAG,YAAY,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,WAAW,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAClC;AAED,MAAM,WAAW,WAAW;IAC1B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACxC,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAClC"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,45 @@
1
+ /**
2
+ * GeoJSON type definitions
3
+ * Based on RFC 7946: https://tools.ietf.org/html/rfc7946
4
+ */
5
+ export type GeoJSONGeometryType = 'Point' | 'LineString' | 'Polygon' | 'MultiPoint' | 'MultiLineString' | 'MultiPolygon';
6
+ export interface GeoJSONPoint {
7
+ type: 'Point';
8
+ coordinates: [number, number];
9
+ }
10
+ export interface GeoJSONLineString {
11
+ type: 'LineString';
12
+ coordinates: [number, number][];
13
+ }
14
+ export interface GeoJSONPolygon {
15
+ type: 'Polygon';
16
+ coordinates: [number, number][][];
17
+ }
18
+ export interface GeoJSONMultiPoint {
19
+ type: 'MultiPoint';
20
+ coordinates: [number, number][];
21
+ }
22
+ export interface GeoJSONMultiLineString {
23
+ type: 'MultiLineString';
24
+ coordinates: [number, number][][];
25
+ }
26
+ export interface GeoJSONMultiPolygon {
27
+ type: 'MultiPolygon';
28
+ coordinates: [number, number][][][];
29
+ }
30
+ export type GeoJSONGeometry = GeoJSONPoint | GeoJSONLineString | GeoJSONPolygon | GeoJSONMultiPoint | GeoJSONMultiLineString | GeoJSONMultiPolygon;
31
+ export interface GeoJSONFeature<P = Record<string, unknown>> {
32
+ type: 'Feature';
33
+ geometry: GeoJSONGeometry | null;
34
+ properties: P;
35
+ id?: string | number;
36
+ }
37
+ export interface GeoJSONFeatureCollection<P = Record<string, unknown>> {
38
+ type: 'FeatureCollection';
39
+ features: GeoJSONFeature<P>[];
40
+ }
41
+ /**
42
+ * Function type for converting a model to a GeoJSON feature
43
+ */
44
+ export type ToGeoJSONFeature<T> = (model: T) => GeoJSONFeature | null;
45
+ //# sourceMappingURL=geojson.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geojson.d.ts","sourceRoot":"","sources":["../../../sgerplib/sgerp/types/geojson.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,YAAY,GAAG,SAAS,GAAG,YAAY,GAAG,iBAAiB,GAAG,cAAc,CAAC;AAEzH,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,OAAO,CAAC;IACd,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC/B;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,YAAY,CAAC;IACnB,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;CACjC;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,SAAS,CAAC;IAChB,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,YAAY,CAAC;IACnB,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;CACjC;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,iBAAiB,CAAC;IACxB,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,cAAc,CAAC;IACrB,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,EAAE,EAAE,CAAC;CACrC;AAED,MAAM,MAAM,eAAe,GACvB,YAAY,GACZ,iBAAiB,GACjB,cAAc,GACd,iBAAiB,GACjB,sBAAsB,GACtB,mBAAmB,CAAC;AAExB,MAAM,WAAW,cAAc,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACzD,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,EAAE,eAAe,GAAG,IAAI,CAAC;IACjC,UAAU,EAAE,CAAC,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,wBAAwB,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACnE,IAAI,EAAE,mBAAmB,CAAC;IAC1B,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,cAAc,GAAG,IAAI,CAAC"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ /**
3
+ * GeoJSON type definitions
4
+ * Based on RFC 7946: https://tools.ietf.org/html/rfc7946
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,24 @@
1
+ export interface MapLayerConfig {
2
+ source: mapboxgl.AnySourceData;
3
+ layers: mapboxgl.AnyLayer[];
4
+ interactions?: Array<{
5
+ layer_id: string;
6
+ interaction_type: 'hover' | 'click';
7
+ properties: string | string[];
8
+ }>;
9
+ }
10
+ export interface MapStateConfig {
11
+ mapBoundingBox?: [[number, number], [number, number]];
12
+ mapLayers: {
13
+ [key: string]: MapLayerConfig;
14
+ };
15
+ markers?: Array<{
16
+ coordinates: [number, number];
17
+ html: string;
18
+ }>;
19
+ mapImages?: Array<{
20
+ name: string;
21
+ url: string;
22
+ }>;
23
+ }
24
+ //# sourceMappingURL=map.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../../sgerplib/sgerp/types/map.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,QAAQ,CAAC,aAAa,CAAC;IAC/B,MAAM,EAAE,QAAQ,CAAC,QAAQ,EAAE,CAAC;IAC5B,YAAY,CAAC,EAAE,KAAK,CAAC;QACnB,QAAQ,EAAE,MAAM,CAAC;QACjB,gBAAgB,EAAE,OAAO,GAAG,OAAO,CAAC;QACpC,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;KAC/B,CAAC,CAAC;CACJ;AAED,MAAM,WAAW,cAAc;IAC7B,cAAc,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACtD,SAAS,EAAE;QACT,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,CAAC;KAC/B,CAAC;IACF,OAAO,CAAC,EAAE,KAAK,CAAC;QACd,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAC9B,IAAI,EAAE,MAAM,CAAC;KACd,CAAC,CAAC;IACH,SAAS,CAAC,EAAE,KAAK,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;KACb,CAAC,CAAC;CACJ"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });