@keystrokehq/radar 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/dist/actions/autocomplete-address-or-place.cjs +4 -4
  2. package/dist/actions/autocomplete-address-or-place.cjs.map +1 -1
  3. package/dist/actions/autocomplete-address-or-place.d.cts +4 -4
  4. package/dist/actions/autocomplete-address-or-place.d.mts +4 -4
  5. package/dist/actions/autocomplete-address-or-place.mjs +4 -4
  6. package/dist/actions/autocomplete-address-or-place.mjs.map +1 -1
  7. package/dist/actions/create-beacon.cjs +4 -4
  8. package/dist/actions/create-beacon.cjs.map +1 -1
  9. package/dist/actions/create-beacon.d.cts +4 -4
  10. package/dist/actions/create-beacon.d.mts +4 -4
  11. package/dist/actions/create-beacon.mjs +4 -4
  12. package/dist/actions/create-beacon.mjs.map +1 -1
  13. package/dist/actions/create-trip.cjs +1 -1
  14. package/dist/actions/create-trip.cjs.map +1 -1
  15. package/dist/actions/create-trip.d.cts +1 -1
  16. package/dist/actions/create-trip.d.mts +1 -1
  17. package/dist/actions/create-trip.mjs +1 -1
  18. package/dist/actions/create-trip.mjs.map +1 -1
  19. package/dist/actions/delete-beacon.cjs +2 -2
  20. package/dist/actions/delete-beacon.cjs.map +1 -1
  21. package/dist/actions/delete-beacon.d.cts +2 -2
  22. package/dist/actions/delete-beacon.d.mts +2 -2
  23. package/dist/actions/delete-beacon.mjs +2 -2
  24. package/dist/actions/delete-beacon.mjs.map +1 -1
  25. package/dist/actions/delete-geofence-by-tag.cjs +2 -2
  26. package/dist/actions/delete-geofence-by-tag.cjs.map +1 -1
  27. package/dist/actions/delete-geofence-by-tag.d.cts +2 -2
  28. package/dist/actions/delete-geofence-by-tag.d.mts +2 -2
  29. package/dist/actions/delete-geofence-by-tag.mjs +2 -2
  30. package/dist/actions/delete-geofence-by-tag.mjs.map +1 -1
  31. package/dist/actions/delete-geofence.cjs +2 -2
  32. package/dist/actions/delete-geofence.cjs.map +1 -1
  33. package/dist/actions/delete-geofence.d.cts +2 -2
  34. package/dist/actions/delete-geofence.d.mts +2 -2
  35. package/dist/actions/delete-geofence.mjs +2 -2
  36. package/dist/actions/delete-geofence.mjs.map +1 -1
  37. package/dist/actions/delete-trip.cjs +2 -2
  38. package/dist/actions/delete-trip.cjs.map +1 -1
  39. package/dist/actions/delete-trip.d.cts +2 -2
  40. package/dist/actions/delete-trip.d.mts +2 -2
  41. package/dist/actions/delete-trip.mjs +2 -2
  42. package/dist/actions/delete-trip.mjs.map +1 -1
  43. package/dist/actions/delete-user.cjs +2 -2
  44. package/dist/actions/delete-user.cjs.map +1 -1
  45. package/dist/actions/delete-user.d.cts +2 -2
  46. package/dist/actions/delete-user.d.mts +2 -2
  47. package/dist/actions/delete-user.mjs +2 -2
  48. package/dist/actions/delete-user.mjs.map +1 -1
  49. package/dist/actions/forward-geocode.cjs +3 -3
  50. package/dist/actions/forward-geocode.cjs.map +1 -1
  51. package/dist/actions/forward-geocode.d.cts +3 -3
  52. package/dist/actions/forward-geocode.d.mts +3 -3
  53. package/dist/actions/forward-geocode.mjs +3 -3
  54. package/dist/actions/forward-geocode.mjs.map +1 -1
  55. package/dist/actions/get-beacon-by-tag.cjs +2 -2
  56. package/dist/actions/get-beacon-by-tag.cjs.map +1 -1
  57. package/dist/actions/get-beacon-by-tag.d.cts +2 -2
  58. package/dist/actions/get-beacon-by-tag.d.mts +2 -2
  59. package/dist/actions/get-beacon-by-tag.mjs +2 -2
  60. package/dist/actions/get-beacon-by-tag.mjs.map +1 -1
  61. package/dist/actions/get-beacon.cjs +4 -4
  62. package/dist/actions/get-beacon.cjs.map +1 -1
  63. package/dist/actions/get-beacon.d.cts +4 -4
  64. package/dist/actions/get-beacon.d.mts +4 -4
  65. package/dist/actions/get-beacon.mjs +4 -4
  66. package/dist/actions/get-beacon.mjs.map +1 -1
  67. package/dist/actions/get-context-for-location.cjs +16 -16
  68. package/dist/actions/get-context-for-location.cjs.map +1 -1
  69. package/dist/actions/get-context-for-location.d.cts +16 -16
  70. package/dist/actions/get-context-for-location.d.mts +16 -16
  71. package/dist/actions/get-context-for-location.mjs +16 -16
  72. package/dist/actions/get-context-for-location.mjs.map +1 -1
  73. package/dist/actions/get-geofence.cjs +3 -3
  74. package/dist/actions/get-geofence.cjs.map +1 -1
  75. package/dist/actions/get-geofence.d.cts +3 -3
  76. package/dist/actions/get-geofence.d.mts +3 -3
  77. package/dist/actions/get-geofence.mjs +3 -3
  78. package/dist/actions/get-geofence.mjs.map +1 -1
  79. package/dist/actions/get-places-settings.cjs +3 -3
  80. package/dist/actions/get-places-settings.cjs.map +1 -1
  81. package/dist/actions/get-places-settings.d.cts +3 -3
  82. package/dist/actions/get-places-settings.d.mts +3 -3
  83. package/dist/actions/get-places-settings.mjs +3 -3
  84. package/dist/actions/get-places-settings.mjs.map +1 -1
  85. package/dist/actions/get-route-directions.cjs +9 -9
  86. package/dist/actions/get-route-directions.cjs.map +1 -1
  87. package/dist/actions/get-route-directions.d.cts +20 -20
  88. package/dist/actions/get-route-directions.d.mts +20 -20
  89. package/dist/actions/get-route-directions.mjs +9 -9
  90. package/dist/actions/get-route-directions.mjs.map +1 -1
  91. package/dist/actions/get-route-matrix.cjs +6 -6
  92. package/dist/actions/get-route-matrix.cjs.map +1 -1
  93. package/dist/actions/get-route-matrix.d.cts +9 -9
  94. package/dist/actions/get-route-matrix.d.mts +9 -9
  95. package/dist/actions/get-route-matrix.mjs +6 -6
  96. package/dist/actions/get-route-matrix.mjs.map +1 -1
  97. package/dist/actions/get-trip.cjs +3 -3
  98. package/dist/actions/get-trip.cjs.map +1 -1
  99. package/dist/actions/get-trip.d.cts +4 -4
  100. package/dist/actions/get-trip.d.mts +4 -4
  101. package/dist/actions/get-trip.mjs +3 -3
  102. package/dist/actions/get-trip.mjs.map +1 -1
  103. package/dist/actions/get-user.cjs +2 -2
  104. package/dist/actions/get-user.cjs.map +1 -1
  105. package/dist/actions/get-user.d.cts +2 -2
  106. package/dist/actions/get-user.d.mts +2 -2
  107. package/dist/actions/get-user.mjs +2 -2
  108. package/dist/actions/get-user.mjs.map +1 -1
  109. package/dist/actions/get-users-in-geofence.cjs +2 -2
  110. package/dist/actions/get-users-in-geofence.cjs.map +1 -1
  111. package/dist/actions/get-users-in-geofence.d.cts +2 -2
  112. package/dist/actions/get-users-in-geofence.d.mts +2 -2
  113. package/dist/actions/get-users-in-geofence.mjs +2 -2
  114. package/dist/actions/get-users-in-geofence.mjs.map +1 -1
  115. package/dist/actions/ip-geocode.cjs +1 -1
  116. package/dist/actions/ip-geocode.cjs.map +1 -1
  117. package/dist/actions/ip-geocode.d.cts +1 -1
  118. package/dist/actions/ip-geocode.d.mts +1 -1
  119. package/dist/actions/ip-geocode.mjs +1 -1
  120. package/dist/actions/ip-geocode.mjs.map +1 -1
  121. package/dist/actions/list-events.cjs +6 -6
  122. package/dist/actions/list-events.cjs.map +1 -1
  123. package/dist/actions/list-events.d.cts +6 -6
  124. package/dist/actions/list-events.d.mts +6 -6
  125. package/dist/actions/list-events.mjs +6 -6
  126. package/dist/actions/list-events.mjs.map +1 -1
  127. package/dist/actions/list-geofences.cjs +5 -5
  128. package/dist/actions/list-geofences.cjs.map +1 -1
  129. package/dist/actions/list-geofences.d.cts +5 -5
  130. package/dist/actions/list-geofences.d.mts +5 -5
  131. package/dist/actions/list-geofences.mjs +5 -5
  132. package/dist/actions/list-geofences.mjs.map +1 -1
  133. package/dist/actions/list-trips.cjs +5 -5
  134. package/dist/actions/list-trips.cjs.map +1 -1
  135. package/dist/actions/list-trips.d.cts +6 -6
  136. package/dist/actions/list-trips.d.mts +6 -6
  137. package/dist/actions/list-trips.mjs +5 -5
  138. package/dist/actions/list-trips.mjs.map +1 -1
  139. package/dist/actions/list-users.cjs +3 -3
  140. package/dist/actions/list-users.cjs.map +1 -1
  141. package/dist/actions/list-users.d.cts +3 -3
  142. package/dist/actions/list-users.d.mts +3 -3
  143. package/dist/actions/list-users.mjs +3 -3
  144. package/dist/actions/list-users.mjs.map +1 -1
  145. package/dist/actions/reverse-geocode.cjs +2 -2
  146. package/dist/actions/reverse-geocode.cjs.map +1 -1
  147. package/dist/actions/reverse-geocode.d.cts +2 -2
  148. package/dist/actions/reverse-geocode.d.mts +2 -2
  149. package/dist/actions/reverse-geocode.mjs +2 -2
  150. package/dist/actions/reverse-geocode.mjs.map +1 -1
  151. package/dist/actions/route-distance.cjs +8 -8
  152. package/dist/actions/route-distance.cjs.map +1 -1
  153. package/dist/actions/route-distance.d.cts +23 -23
  154. package/dist/actions/route-distance.d.mts +23 -23
  155. package/dist/actions/route-distance.mjs +8 -8
  156. package/dist/actions/route-distance.mjs.map +1 -1
  157. package/dist/actions/search-geofences-near-location.cjs +3 -3
  158. package/dist/actions/search-geofences-near-location.cjs.map +1 -1
  159. package/dist/actions/search-geofences-near-location.d.cts +3 -3
  160. package/dist/actions/search-geofences-near-location.d.mts +3 -3
  161. package/dist/actions/search-geofences-near-location.mjs +3 -3
  162. package/dist/actions/search-geofences-near-location.mjs.map +1 -1
  163. package/dist/actions/search-places-near-location.cjs +6 -6
  164. package/dist/actions/search-places-near-location.cjs.map +1 -1
  165. package/dist/actions/search-places-near-location.d.cts +6 -6
  166. package/dist/actions/search-places-near-location.d.mts +6 -6
  167. package/dist/actions/search-places-near-location.mjs +6 -6
  168. package/dist/actions/search-places-near-location.mjs.map +1 -1
  169. package/dist/actions/search-users-near-location.cjs +4 -4
  170. package/dist/actions/search-users-near-location.cjs.map +1 -1
  171. package/dist/actions/search-users-near-location.d.cts +4 -4
  172. package/dist/actions/search-users-near-location.d.mts +4 -4
  173. package/dist/actions/search-users-near-location.mjs +4 -4
  174. package/dist/actions/search-users-near-location.mjs.map +1 -1
  175. package/dist/actions/track-location-update.cjs +1 -1
  176. package/dist/actions/track-location-update.cjs.map +1 -1
  177. package/dist/actions/track-location-update.d.cts +1 -1
  178. package/dist/actions/track-location-update.d.mts +1 -1
  179. package/dist/actions/track-location-update.mjs +1 -1
  180. package/dist/actions/track-location-update.mjs.map +1 -1
  181. package/dist/actions/update-places-settings.cjs +3 -3
  182. package/dist/actions/update-places-settings.cjs.map +1 -1
  183. package/dist/actions/update-places-settings.d.cts +3 -3
  184. package/dist/actions/update-places-settings.d.mts +3 -3
  185. package/dist/actions/update-places-settings.mjs +3 -3
  186. package/dist/actions/update-places-settings.mjs.map +1 -1
  187. package/dist/actions/update-trip-by-id.cjs +3 -3
  188. package/dist/actions/update-trip-by-id.cjs.map +1 -1
  189. package/dist/actions/update-trip-by-id.d.cts +4 -4
  190. package/dist/actions/update-trip-by-id.d.mts +4 -4
  191. package/dist/actions/update-trip-by-id.mjs +3 -3
  192. package/dist/actions/update-trip-by-id.mjs.map +1 -1
  193. package/dist/actions/update-trip.cjs +3 -3
  194. package/dist/actions/update-trip.cjs.map +1 -1
  195. package/dist/actions/update-trip.d.cts +5 -5
  196. package/dist/actions/update-trip.d.mts +5 -5
  197. package/dist/actions/update-trip.mjs +3 -3
  198. package/dist/actions/update-trip.mjs.map +1 -1
  199. package/dist/actions/upsert-beacon-by-id.cjs +4 -4
  200. package/dist/actions/upsert-beacon-by-id.cjs.map +1 -1
  201. package/dist/actions/upsert-beacon-by-id.d.cts +4 -4
  202. package/dist/actions/upsert-beacon-by-id.d.mts +4 -4
  203. package/dist/actions/upsert-beacon-by-id.mjs +4 -4
  204. package/dist/actions/upsert-beacon-by-id.mjs.map +1 -1
  205. package/dist/actions/upsert-beacon-by-tag.cjs +6 -6
  206. package/dist/actions/upsert-beacon-by-tag.cjs.map +1 -1
  207. package/dist/actions/upsert-beacon-by-tag.d.cts +7 -7
  208. package/dist/actions/upsert-beacon-by-tag.d.mts +7 -7
  209. package/dist/actions/upsert-beacon-by-tag.mjs +6 -6
  210. package/dist/actions/upsert-beacon-by-tag.mjs.map +1 -1
  211. package/dist/actions/upsert-geofence-by-id.cjs +7 -7
  212. package/dist/actions/upsert-geofence-by-id.cjs.map +1 -1
  213. package/dist/actions/upsert-geofence-by-id.d.cts +8 -8
  214. package/dist/actions/upsert-geofence-by-id.d.mts +8 -8
  215. package/dist/actions/upsert-geofence-by-id.mjs +7 -7
  216. package/dist/actions/upsert-geofence-by-id.mjs.map +1 -1
  217. package/dist/actions/upsert-geofence.cjs +3 -3
  218. package/dist/actions/upsert-geofence.cjs.map +1 -1
  219. package/dist/actions/upsert-geofence.d.cts +3 -3
  220. package/dist/actions/upsert-geofence.d.mts +3 -3
  221. package/dist/actions/upsert-geofence.mjs +3 -3
  222. package/dist/actions/upsert-geofence.mjs.map +1 -1
  223. package/dist/catalog.cjs +1 -1
  224. package/dist/catalog.cjs.map +1 -1
  225. package/dist/catalog.d.cts +1 -1
  226. package/dist/catalog.d.mts +1 -1
  227. package/dist/catalog.mjs +1 -1
  228. package/dist/catalog.mjs.map +1 -1
  229. package/package.json +1 -1
@@ -30,24 +30,24 @@ const RadarGetRouteDirectionsInput = z.object({
30
30
  alternatives: z.boolean().describe("Return alternative routes (only works for two-location routes). Defaults to false").optional(),
31
31
  departureTime: z.string().describe("ISO 8601 datetime for historical traffic consideration (e.g., '2025-01-01T14:30:00Z')").optional()
32
32
  }).describe("Request model for getting turn-by-turn directions between multiple locations.");
33
- const RadarGetRouteDirections_MetaSchema = z.object({ code: z.number().int().describe("HTTP status code").nullable() }).describe("Metadata for the route directions response.");
33
+ const RadarGetRouteDirections_MetaSchema = z.object({ code: z.number().int().describe("HTTP status code").nullable() }).passthrough().describe("Metadata for the route directions response.");
34
34
  const RadarGetRouteDirections_DistanceInfoSchema = z.object({
35
35
  text: z.string().describe("Human-readable distance string").nullable(),
36
36
  value: z.number().describe("Distance value in feet or meters depending on units").nullable()
37
- }).describe("Distance information for a route segment.");
37
+ }).passthrough().describe("Distance information for a route segment.");
38
38
  const RadarGetRouteDirections_DurationInfoSchema = z.object({
39
39
  text: z.string().describe("Human-readable duration string").nullable(),
40
40
  value: z.number().describe("Duration value in seconds").nullable()
41
- }).describe("Duration information for a route segment.");
41
+ }).passthrough().describe("Duration information for a route segment.");
42
42
  const RadarGetRouteDirections_GeometryInfoSchema = z.object({
43
43
  type: z.string().describe("GeoJSON geometry type (when using linestring format)").nullable().optional(),
44
44
  polyline: z.string().describe("Encoded polyline string representing the route path").nullable().optional(),
45
45
  coordinates: z.array(z.array(z.number())).describe("List of [longitude, latitude] coordinate pairs (when using linestring format)").nullable().optional()
46
- }).describe("Route geometry - encoded polyline or linestring.");
46
+ }).passthrough().describe("Route geometry - encoded polyline or linestring.");
47
47
  const RadarGetRouteDirections_LocationSchema = z.object({
48
48
  latitude: z.number().describe("Latitude coordinate").nullable(),
49
49
  longitude: z.number().describe("Longitude coordinate").nullable()
50
- }).describe("Geographic location with latitude and longitude.");
50
+ }).passthrough().describe("Geographic location with latitude and longitude.");
51
51
  const RadarGetRouteDirections_StepSchema = z.object({
52
52
  mode: z.string().describe("Travel mode for this step").nullable().optional(),
53
53
  distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),
@@ -63,7 +63,7 @@ const RadarGetRouteDirections_StepSchema = z.object({
63
63
  start_location: RadarGetRouteDirections_LocationSchema.nullable(),
64
64
  voice_instructions: z.string().describe("Voice instruction text for navigation").nullable().optional(),
65
65
  banner_instructions: z.string().describe("Banner instruction text for display").nullable().optional()
66
- }).describe("A single turn-by-turn direction step.");
66
+ }).passthrough().describe("A single turn-by-turn direction step.");
67
67
  const RadarGetRouteDirections_LegSchema = z.object({
68
68
  steps: z.array(RadarGetRouteDirections_StepSchema).describe("Turn-by-turn direction steps for this leg"),
69
69
  distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),
@@ -71,13 +71,13 @@ const RadarGetRouteDirections_LegSchema = z.object({
71
71
  geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional(),
72
72
  endLocation: RadarGetRouteDirections_LocationSchema.nullable(),
73
73
  startLocation: RadarGetRouteDirections_LocationSchema.nullable()
74
- }).describe("A leg of the route between two consecutive locations.");
74
+ }).passthrough().describe("A leg of the route between two consecutive locations.");
75
75
  const RadarGetRouteDirections_RouteSchema = z.object({
76
76
  legs: z.array(RadarGetRouteDirections_LegSchema).describe("List of route legs between consecutive locations"),
77
77
  distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),
78
78
  duration: RadarGetRouteDirections_DurationInfoSchema.nullable(),
79
79
  geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional()
80
- }).describe("A complete route with legs and steps.");
80
+ }).passthrough().describe("A complete route with legs and steps.");
81
81
  const radarGetRouteDirections = action("RADAR_GET_ROUTE_DIRECTIONS", {
82
82
  slug: "radar-get-route-directions",
83
83
  name: "Get Route Directions",
@@ -86,7 +86,7 @@ const radarGetRouteDirections = action("RADAR_GET_ROUTE_DIRECTIONS", {
86
86
  output: z.object({
87
87
  meta: RadarGetRouteDirections_MetaSchema.nullable(),
88
88
  routes: z.array(RadarGetRouteDirections_RouteSchema).describe("List of routes (multiple if alternatives requested)")
89
- }).describe("Response model containing turn-by-turn directions between multiple locations.")
89
+ }).passthrough().describe("Response model containing turn-by-turn directions between multiple locations.")
90
90
  });
91
91
  //#endregion
92
92
  export { radarGetRouteDirections };
@@ -1 +1 @@
1
- {"version":3,"file":"get-route-directions.mjs","names":[],"sources":["../../src/actions/get-route-directions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetRouteDirectionsInput = z.object({\n lang: z.enum([\"de\", \"en\", \"es\", \"fr\", \"ja\", \"ko\", \"pt\", \"ru\"]).describe(\"Result language. Options: 'de', 'en', 'es', 'fr', 'ja', 'ko', 'pt', 'ru'. Defaults to 'en'\").optional(),\n mode: z.enum([\"car\", \"truck\", \"foot\", \"bike\"]).describe(\"Travel method. Options: 'car', 'truck', 'foot', 'bike'. Defaults to 'car'\").optional(),\n avoid: z.string().describe(\"Route features to bypass, comma-separated. Options: 'tolls', 'highways', 'ferries', 'borderCrossings'\").optional(),\n units: z.enum([\"metric\", \"imperial\"]).describe(\"Distance units. Options: 'metric', 'imperial'. Defaults to 'imperial'\").optional(),\n heading: z.number().describe(\"Initial travel direction in degrees (0=north, 90=east, 180=south, 270=west)\").optional(),\n geometry: z.enum([\"linestring\", \"polyline5\", \"polyline6\"]).describe(\"Response geometry format. Options: 'linestring', 'polyline5', 'polyline6'. Defaults to 'polyline6'\").optional(),\n locations: z.string().describe(\"A list of up to 25 coordinates to visit in order. A pipe-delimited string in the format 'latitude0,longitude0|latitude1,longitude1|...'\"),\n alternatives: z.boolean().describe(\"Return alternative routes (only works for two-location routes). Defaults to false\").optional(),\n departureTime: z.string().describe(\"ISO 8601 datetime for historical traffic consideration (e.g., '2025-01-01T14:30:00Z')\").optional(),\n}).describe(\"Request model for getting turn-by-turn directions between multiple locations.\");\nconst RadarGetRouteDirections_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n}).describe(\"Metadata for the route directions response.\");\nconst RadarGetRouteDirections_DistanceInfoSchema = z.object({\n text: z.string().describe(\"Human-readable distance string\").nullable(),\n value: z.number().describe(\"Distance value in feet or meters depending on units\").nullable(),\n}).describe(\"Distance information for a route segment.\");\nconst RadarGetRouteDirections_DurationInfoSchema = z.object({\n text: z.string().describe(\"Human-readable duration string\").nullable(),\n value: z.number().describe(\"Duration value in seconds\").nullable(),\n}).describe(\"Duration information for a route segment.\");\nconst RadarGetRouteDirections_GeometryInfoSchema = z.object({\n type: z.string().describe(\"GeoJSON geometry type (when using linestring format)\").nullable().optional(),\n polyline: z.string().describe(\"Encoded polyline string representing the route path\").nullable().optional(),\n coordinates: z.array(z.array(z.number())).describe(\"List of [longitude, latitude] coordinate pairs (when using linestring format)\").nullable().optional(),\n}).describe(\"Route geometry - encoded polyline or linestring.\");\nconst RadarGetRouteDirections_LocationSchema = z.object({\n latitude: z.number().describe(\"Latitude coordinate\").nullable(),\n longitude: z.number().describe(\"Longitude coordinate\").nullable(),\n}).describe(\"Geographic location with latitude and longitude.\");\nconst RadarGetRouteDirections_StepSchema = z.object({\n mode: z.string().describe(\"Travel mode for this step\").nullable().optional(),\n distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),\n duration: RadarGetRouteDirections_DurationInfoSchema.nullable(),\n geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional(),\n maneuver: z.string().describe(\"Maneuver type (e.g., 'turn-right', 'merge')\").nullable().optional(),\n exit_name: z.string().describe(\"Exit name if applicable\").nullable().optional(),\n street_name: z.string().describe(\"Street name for this step\").nullable().optional(),\n end_location: RadarGetRouteDirections_LocationSchema.nullable(),\n instructions: z.string().describe(\"Turn-by-turn instruction text\").nullable(),\n bearing_after: z.number().describe(\"Compass bearing after the maneuver\").nullable().optional(),\n bearing_before: z.number().describe(\"Compass bearing before the maneuver\").nullable().optional(),\n start_location: RadarGetRouteDirections_LocationSchema.nullable(),\n voice_instructions: z.string().describe(\"Voice instruction text for navigation\").nullable().optional(),\n banner_instructions: z.string().describe(\"Banner instruction text for display\").nullable().optional(),\n}).describe(\"A single turn-by-turn direction step.\");\nconst RadarGetRouteDirections_LegSchema = z.object({\n steps: z.array(RadarGetRouteDirections_StepSchema).describe(\"Turn-by-turn direction steps for this leg\"),\n distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),\n duration: RadarGetRouteDirections_DurationInfoSchema.nullable(),\n geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional(),\n endLocation: RadarGetRouteDirections_LocationSchema.nullable(),\n startLocation: RadarGetRouteDirections_LocationSchema.nullable(),\n}).describe(\"A leg of the route between two consecutive locations.\");\nconst RadarGetRouteDirections_RouteSchema = z.object({\n legs: z.array(RadarGetRouteDirections_LegSchema).describe(\"List of route legs between consecutive locations\"),\n distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),\n duration: RadarGetRouteDirections_DurationInfoSchema.nullable(),\n geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional(),\n}).describe(\"A complete route with legs and steps.\");\nexport const RadarGetRouteDirectionsOutput = z.object({\n meta: RadarGetRouteDirections_MetaSchema.nullable(),\n routes: z.array(RadarGetRouteDirections_RouteSchema).describe(\"List of routes (multiple if alternatives requested)\"),\n}).describe(\"Response model containing turn-by-turn directions between multiple locations.\");\n\nexport const radarGetRouteDirections = action(\"RADAR_GET_ROUTE_DIRECTIONS\", {\n slug: \"radar-get-route-directions\",\n name: \"Get Route Directions\",\n description: \"Tool to get turn-by-turn directions between multiple locations. Use when you need detailed navigation instructions with steps, distances, and durations for routing.\",\n input: RadarGetRouteDirectionsInput,\n output: RadarGetRouteDirectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAC/K,MAAM,EAAE,KAAK;EAAC;EAAO;EAAS;EAAQ;CAAM,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC9I,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC7I,OAAO,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACjI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACrH,UAAU,EAAE,KAAK;EAAC;EAAc;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CACnL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;CACxK,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACjI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,qCAAqC,EAAE,OAAO,EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,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C,SAAS;CAC9D,UAAU,2CAA2C,SAAS;CAC9D,UAAU,2CAA2C,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAMnD,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,MAAM,mCAAmC,SAAS;EAClD,QAAQ,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,qDAAqD;CACrH,CAAC,CAAC,CAAC,SAAS,+EAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-route-directions.mjs","names":[],"sources":["../../src/actions/get-route-directions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetRouteDirectionsInput = z.object({\n lang: z.enum([\"de\", \"en\", \"es\", \"fr\", \"ja\", \"ko\", \"pt\", \"ru\"]).describe(\"Result language. Options: 'de', 'en', 'es', 'fr', 'ja', 'ko', 'pt', 'ru'. Defaults to 'en'\").optional(),\n mode: z.enum([\"car\", \"truck\", \"foot\", \"bike\"]).describe(\"Travel method. Options: 'car', 'truck', 'foot', 'bike'. Defaults to 'car'\").optional(),\n avoid: z.string().describe(\"Route features to bypass, comma-separated. Options: 'tolls', 'highways', 'ferries', 'borderCrossings'\").optional(),\n units: z.enum([\"metric\", \"imperial\"]).describe(\"Distance units. Options: 'metric', 'imperial'. Defaults to 'imperial'\").optional(),\n heading: z.number().describe(\"Initial travel direction in degrees (0=north, 90=east, 180=south, 270=west)\").optional(),\n geometry: z.enum([\"linestring\", \"polyline5\", \"polyline6\"]).describe(\"Response geometry format. Options: 'linestring', 'polyline5', 'polyline6'. Defaults to 'polyline6'\").optional(),\n locations: z.string().describe(\"A list of up to 25 coordinates to visit in order. A pipe-delimited string in the format 'latitude0,longitude0|latitude1,longitude1|...'\"),\n alternatives: z.boolean().describe(\"Return alternative routes (only works for two-location routes). Defaults to false\").optional(),\n departureTime: z.string().describe(\"ISO 8601 datetime for historical traffic consideration (e.g., '2025-01-01T14:30:00Z')\").optional(),\n}).describe(\"Request model for getting turn-by-turn directions between multiple locations.\");\nconst RadarGetRouteDirections_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n}).passthrough().describe(\"Metadata for the route directions response.\");\nconst RadarGetRouteDirections_DistanceInfoSchema = z.object({\n text: z.string().describe(\"Human-readable distance string\").nullable(),\n value: z.number().describe(\"Distance value in feet or meters depending on units\").nullable(),\n}).passthrough().describe(\"Distance information for a route segment.\");\nconst RadarGetRouteDirections_DurationInfoSchema = z.object({\n text: z.string().describe(\"Human-readable duration string\").nullable(),\n value: z.number().describe(\"Duration value in seconds\").nullable(),\n}).passthrough().describe(\"Duration information for a route segment.\");\nconst RadarGetRouteDirections_GeometryInfoSchema = z.object({\n type: z.string().describe(\"GeoJSON geometry type (when using linestring format)\").nullable().optional(),\n polyline: z.string().describe(\"Encoded polyline string representing the route path\").nullable().optional(),\n coordinates: z.array(z.array(z.number())).describe(\"List of [longitude, latitude] coordinate pairs (when using linestring format)\").nullable().optional(),\n}).passthrough().describe(\"Route geometry - encoded polyline or linestring.\");\nconst RadarGetRouteDirections_LocationSchema = z.object({\n latitude: z.number().describe(\"Latitude coordinate\").nullable(),\n longitude: z.number().describe(\"Longitude coordinate\").nullable(),\n}).passthrough().describe(\"Geographic location with latitude and longitude.\");\nconst RadarGetRouteDirections_StepSchema = z.object({\n mode: z.string().describe(\"Travel mode for this step\").nullable().optional(),\n distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),\n duration: RadarGetRouteDirections_DurationInfoSchema.nullable(),\n geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional(),\n maneuver: z.string().describe(\"Maneuver type (e.g., 'turn-right', 'merge')\").nullable().optional(),\n exit_name: z.string().describe(\"Exit name if applicable\").nullable().optional(),\n street_name: z.string().describe(\"Street name for this step\").nullable().optional(),\n end_location: RadarGetRouteDirections_LocationSchema.nullable(),\n instructions: z.string().describe(\"Turn-by-turn instruction text\").nullable(),\n bearing_after: z.number().describe(\"Compass bearing after the maneuver\").nullable().optional(),\n bearing_before: z.number().describe(\"Compass bearing before the maneuver\").nullable().optional(),\n start_location: RadarGetRouteDirections_LocationSchema.nullable(),\n voice_instructions: z.string().describe(\"Voice instruction text for navigation\").nullable().optional(),\n banner_instructions: z.string().describe(\"Banner instruction text for display\").nullable().optional(),\n}).passthrough().describe(\"A single turn-by-turn direction step.\");\nconst RadarGetRouteDirections_LegSchema = z.object({\n steps: z.array(RadarGetRouteDirections_StepSchema).describe(\"Turn-by-turn direction steps for this leg\"),\n distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),\n duration: RadarGetRouteDirections_DurationInfoSchema.nullable(),\n geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional(),\n endLocation: RadarGetRouteDirections_LocationSchema.nullable(),\n startLocation: RadarGetRouteDirections_LocationSchema.nullable(),\n}).passthrough().describe(\"A leg of the route between two consecutive locations.\");\nconst RadarGetRouteDirections_RouteSchema = z.object({\n legs: z.array(RadarGetRouteDirections_LegSchema).describe(\"List of route legs between consecutive locations\"),\n distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),\n duration: RadarGetRouteDirections_DurationInfoSchema.nullable(),\n geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional(),\n}).passthrough().describe(\"A complete route with legs and steps.\");\nexport const RadarGetRouteDirectionsOutput = z.object({\n meta: RadarGetRouteDirections_MetaSchema.nullable(),\n routes: z.array(RadarGetRouteDirections_RouteSchema).describe(\"List of routes (multiple if alternatives requested)\"),\n}).passthrough().describe(\"Response model containing turn-by-turn directions between multiple locations.\");\n\nexport const radarGetRouteDirections = action(\"RADAR_GET_ROUTE_DIRECTIONS\", {\n slug: \"radar-get-route-directions\",\n name: \"Get Route Directions\",\n description: \"Tool to get turn-by-turn directions between multiple locations. Use when you need detailed navigation instructions with steps, distances, and durations for routing.\",\n input: RadarGetRouteDirectionsInput,\n output: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MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,MAAM,mCAAmC,SAAS;EAClD,QAAQ,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,qDAAqD;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAOhB;AACV,CAAC"}
@@ -12,31 +12,31 @@ const RadarGetRouteMatrixInput = zod.z.object({
12
12
  origins: zod.z.string().describe("Pipe-separated list of origin coordinates as 'lat,lon|lat,lon' (e.g., '40.7128,-74.0060|37.7749,-122.4194')"),
13
13
  destinations: zod.z.string().describe("Pipe-separated list of destination coordinates as 'lat,lon|lat,lon' (e.g., '40.7589,-73.9851|34.0522,-118.2437')")
14
14
  }).describe("Request model for calculating route matrix between multiple origins and destinations.");
15
- const RadarGetRouteMatrix_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code").nullable() }).describe("Metadata for the route matrix response.");
15
+ const RadarGetRouteMatrix_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code").nullable() }).passthrough().describe("Metadata for the route matrix response.");
16
16
  const RadarGetRouteMatrix_DistanceInfoSchema = zod.z.object({
17
17
  text: zod.z.string().describe("Human-readable distance string").nullable(),
18
18
  value: zod.z.number().describe("Distance value in meters or feet depending on units").nullable()
19
- }).describe("Distance information for a route.");
19
+ }).passthrough().describe("Distance information for a route.");
20
20
  const RadarGetRouteMatrix_DurationInfoSchema = zod.z.object({
21
21
  text: zod.z.string().describe("Human-readable duration string").nullable(),
22
22
  value: zod.z.number().describe("Duration value in minutes").nullable()
23
- }).describe("Duration information for a route.");
23
+ }).passthrough().describe("Duration information for a route.");
24
24
  const RadarGetRouteMatrix_MatrixElementSchema = zod.z.object({
25
25
  distance: RadarGetRouteMatrix_DistanceInfoSchema.nullable(),
26
26
  duration: RadarGetRouteMatrix_DurationInfoSchema.nullable(),
27
27
  originIndex: zod.z.number().int().describe("Index of origin in origins array").nullable(),
28
28
  destinationIndex: zod.z.number().int().describe("Index of destination in destinations array").nullable()
29
- }).describe("Individual route element in the matrix containing distance and duration.");
29
+ }).passthrough().describe("Individual route element in the matrix containing distance and duration.");
30
30
  const RadarGetRouteMatrix_CoordinateSchema = zod.z.object({
31
31
  latitude: zod.z.number().describe("Latitude coordinate").nullable(),
32
32
  longitude: zod.z.number().describe("Longitude coordinate").nullable()
33
- }).describe("Geographic coordinate with latitude and longitude.");
33
+ }).passthrough().describe("Geographic coordinate with latitude and longitude.");
34
34
  const RadarGetRouteMatrixOutput = zod.z.object({
35
35
  meta: RadarGetRouteMatrix_MetaSchema.nullable(),
36
36
  matrix: zod.z.array(zod.z.array(RadarGetRouteMatrix_MatrixElementSchema)).describe("2D array of route information for each origin-destination pair"),
37
37
  origins: zod.z.array(RadarGetRouteMatrix_CoordinateSchema).describe("List of origin coordinates"),
38
38
  destinations: zod.z.array(RadarGetRouteMatrix_CoordinateSchema).describe("List of destination coordinates")
39
- }).describe("Response model containing route matrix with distances and durations between origins and destinations.");
39
+ }).passthrough().describe("Response model containing route matrix with distances and durations between origins and destinations.");
40
40
  const radarGetRouteMatrix = require_action.action("RADAR_GET_ROUTE_MATRIX", {
41
41
  slug: "radar-get-route-matrix",
42
42
  name: "Get Route Matrix",
@@ -1 +1 @@
1
- {"version":3,"file":"get-route-matrix.cjs","names":["z","action"],"sources":["../../src/actions/get-route-matrix.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetRouteMatrixInput = z.object({\n mode: z.enum([\"car\", \"truck\", \"foot\", \"bike\"]).describe(\"Travel mode for route calculation\").optional(),\n units: z.enum([\"metric\", \"imperial\"]).describe(\"Unit system for distance measurements (metric returns meters, imperial returns feet)\").optional(),\n origins: z.string().describe(\"Pipe-separated list of origin coordinates as 'lat,lon|lat,lon' (e.g., '40.7128,-74.0060|37.7749,-122.4194')\"),\n destinations: z.string().describe(\"Pipe-separated list of destination coordinates as 'lat,lon|lat,lon' (e.g., '40.7589,-73.9851|34.0522,-118.2437')\"),\n}).describe(\"Request model for calculating route matrix between multiple origins and destinations.\");\nconst RadarGetRouteMatrix_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n}).describe(\"Metadata for the route matrix response.\");\nconst RadarGetRouteMatrix_DistanceInfoSchema = z.object({\n text: z.string().describe(\"Human-readable distance string\").nullable(),\n value: z.number().describe(\"Distance value in meters or feet depending on units\").nullable(),\n}).describe(\"Distance information for a route.\");\nconst RadarGetRouteMatrix_DurationInfoSchema = z.object({\n text: z.string().describe(\"Human-readable duration string\").nullable(),\n value: z.number().describe(\"Duration value in minutes\").nullable(),\n}).describe(\"Duration information for a route.\");\nconst RadarGetRouteMatrix_MatrixElementSchema = z.object({\n distance: RadarGetRouteMatrix_DistanceInfoSchema.nullable(),\n duration: RadarGetRouteMatrix_DurationInfoSchema.nullable(),\n originIndex: z.number().int().describe(\"Index of origin in origins array\").nullable(),\n destinationIndex: z.number().int().describe(\"Index of destination in destinations array\").nullable(),\n}).describe(\"Individual route element in the matrix containing distance and duration.\");\nconst RadarGetRouteMatrix_CoordinateSchema = z.object({\n latitude: z.number().describe(\"Latitude coordinate\").nullable(),\n longitude: z.number().describe(\"Longitude coordinate\").nullable(),\n}).describe(\"Geographic coordinate with latitude and longitude.\");\nexport const RadarGetRouteMatrixOutput = z.object({\n meta: RadarGetRouteMatrix_MetaSchema.nullable(),\n matrix: z.array(z.array(RadarGetRouteMatrix_MatrixElementSchema)).describe(\"2D array of route information for each origin-destination pair\"),\n origins: z.array(RadarGetRouteMatrix_CoordinateSchema).describe(\"List of origin coordinates\"),\n destinations: z.array(RadarGetRouteMatrix_CoordinateSchema).describe(\"List of destination coordinates\"),\n}).describe(\"Response model containing route matrix with distances and durations between origins and destinations.\");\n\nexport const radarGetRouteMatrix = action(\"RADAR_GET_ROUTE_MATRIX\", {\n slug: \"radar-get-route-matrix\",\n name: \"Get Route Matrix\",\n description: \"Tool to calculate travel distance and duration between multiple origins and destinations for up to 625 routes. Use when you need to compute route metrics for multiple origin-destination pairs efficiently.\",\n input: RadarGetRouteMatrixInput,\n output: RadarGetRouteMatrixOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAS;EAAQ;CAAM,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtG,OAAOA,IAAAA,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAChJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CAC1I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;AACtJ,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACnG,MAAM,iCAAiCA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,UAAU,uCAAuC,SAAS;CAC1D,UAAU,uCAAuC,SAAS;CAC1D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAM,+BAA+B,SAAS;CAC9C,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,CAAC,SAAS,gEAAgE;CAC3I,SAASA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,4BAA4B;CAC5F,cAAcA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,iCAAiC;AACxG,CAAC,CAAC,CAAC,SAAS,uGAAuG;AAEnH,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-route-matrix.cjs","names":["z","action"],"sources":["../../src/actions/get-route-matrix.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetRouteMatrixInput = z.object({\n mode: z.enum([\"car\", \"truck\", \"foot\", \"bike\"]).describe(\"Travel mode for route calculation\").optional(),\n units: z.enum([\"metric\", \"imperial\"]).describe(\"Unit system for distance measurements (metric returns meters, imperial returns feet)\").optional(),\n origins: z.string().describe(\"Pipe-separated list of origin coordinates as 'lat,lon|lat,lon' (e.g., '40.7128,-74.0060|37.7749,-122.4194')\"),\n destinations: z.string().describe(\"Pipe-separated list of destination coordinates as 'lat,lon|lat,lon' (e.g., '40.7589,-73.9851|34.0522,-118.2437')\"),\n}).describe(\"Request model for calculating route matrix between multiple origins and destinations.\");\nconst RadarGetRouteMatrix_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n}).passthrough().describe(\"Metadata for the route matrix response.\");\nconst RadarGetRouteMatrix_DistanceInfoSchema = z.object({\n text: z.string().describe(\"Human-readable distance string\").nullable(),\n value: z.number().describe(\"Distance value in meters or feet depending on units\").nullable(),\n}).passthrough().describe(\"Distance information for a route.\");\nconst RadarGetRouteMatrix_DurationInfoSchema = z.object({\n text: z.string().describe(\"Human-readable duration string\").nullable(),\n value: z.number().describe(\"Duration value in minutes\").nullable(),\n}).passthrough().describe(\"Duration information for a route.\");\nconst RadarGetRouteMatrix_MatrixElementSchema = z.object({\n distance: RadarGetRouteMatrix_DistanceInfoSchema.nullable(),\n duration: RadarGetRouteMatrix_DurationInfoSchema.nullable(),\n originIndex: z.number().int().describe(\"Index of origin in origins array\").nullable(),\n destinationIndex: z.number().int().describe(\"Index of destination in destinations array\").nullable(),\n}).passthrough().describe(\"Individual route element in the matrix containing distance and duration.\");\nconst RadarGetRouteMatrix_CoordinateSchema = z.object({\n latitude: z.number().describe(\"Latitude coordinate\").nullable(),\n longitude: z.number().describe(\"Longitude coordinate\").nullable(),\n}).passthrough().describe(\"Geographic coordinate with latitude and longitude.\");\nexport const RadarGetRouteMatrixOutput = z.object({\n meta: RadarGetRouteMatrix_MetaSchema.nullable(),\n matrix: z.array(z.array(RadarGetRouteMatrix_MatrixElementSchema)).describe(\"2D array of route information for each origin-destination pair\"),\n origins: z.array(RadarGetRouteMatrix_CoordinateSchema).describe(\"List of origin coordinates\"),\n destinations: z.array(RadarGetRouteMatrix_CoordinateSchema).describe(\"List of destination coordinates\"),\n}).passthrough().describe(\"Response model containing route matrix with distances and durations between origins and destinations.\");\n\nexport const radarGetRouteMatrix = action(\"RADAR_GET_ROUTE_MATRIX\", {\n slug: \"radar-get-route-matrix\",\n name: \"Get Route Matrix\",\n description: \"Tool to calculate travel distance and duration between multiple origins and destinations for up to 625 routes. Use when you need to compute route metrics for multiple origin-destination pairs efficiently.\",\n input: RadarGetRouteMatrixInput,\n output: RadarGetRouteMatrixOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAS;EAAQ;CAAM,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtG,OAAOA,IAAAA,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAChJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CAC1I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;AACtJ,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACnG,MAAM,iCAAiCA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAM,yCAAy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;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,9 +4,9 @@ import { z } from "zod";
4
4
  declare const RadarGetRouteMatrixInput: z.ZodObject<{
5
5
  mode: z.ZodOptional<z.ZodEnum<{
6
6
  car: "car";
7
- truck: "truck";
8
7
  foot: "foot";
9
8
  bike: "bike";
9
+ truck: "truck";
10
10
  }>>;
11
11
  units: z.ZodOptional<z.ZodEnum<{
12
12
  metric: "metric";
@@ -18,32 +18,32 @@ declare const RadarGetRouteMatrixInput: z.ZodObject<{
18
18
  declare const RadarGetRouteMatrixOutput: z.ZodObject<{
19
19
  meta: z.ZodNullable<z.ZodObject<{
20
20
  code: z.ZodNullable<z.ZodNumber>;
21
- }, z.core.$strip>>;
21
+ }, z.core.$loose>>;
22
22
  matrix: z.ZodArray<z.ZodArray<z.ZodObject<{
23
23
  distance: z.ZodNullable<z.ZodObject<{
24
24
  text: z.ZodNullable<z.ZodString>;
25
25
  value: z.ZodNullable<z.ZodNumber>;
26
- }, z.core.$strip>>;
26
+ }, z.core.$loose>>;
27
27
  duration: z.ZodNullable<z.ZodObject<{
28
28
  text: z.ZodNullable<z.ZodString>;
29
29
  value: z.ZodNullable<z.ZodNumber>;
30
- }, z.core.$strip>>;
30
+ }, z.core.$loose>>;
31
31
  originIndex: z.ZodNullable<z.ZodNumber>;
32
32
  destinationIndex: z.ZodNullable<z.ZodNumber>;
33
- }, z.core.$strip>>>;
33
+ }, z.core.$loose>>>;
34
34
  origins: z.ZodArray<z.ZodObject<{
35
35
  latitude: z.ZodNullable<z.ZodNumber>;
36
36
  longitude: z.ZodNullable<z.ZodNumber>;
37
- }, z.core.$strip>>;
37
+ }, z.core.$loose>>;
38
38
  destinations: z.ZodArray<z.ZodObject<{
39
39
  latitude: z.ZodNullable<z.ZodNumber>;
40
40
  longitude: z.ZodNullable<z.ZodNumber>;
41
- }, z.core.$strip>>;
42
- }, z.core.$strip>;
41
+ }, z.core.$loose>>;
42
+ }, z.core.$loose>;
43
43
  declare const radarGetRouteMatrix: import("@keystrokehq/action").WorkflowActionDefinition<{
44
44
  origins: string;
45
45
  destinations: string;
46
- mode?: "car" | "truck" | "foot" | "bike" | undefined;
46
+ mode?: "car" | "foot" | "bike" | "truck" | undefined;
47
47
  units?: "metric" | "imperial" | undefined;
48
48
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
49
49
  //#endregion
@@ -4,9 +4,9 @@ import { z } from "zod";
4
4
  declare const RadarGetRouteMatrixInput: z.ZodObject<{
5
5
  mode: z.ZodOptional<z.ZodEnum<{
6
6
  car: "car";
7
- truck: "truck";
8
7
  foot: "foot";
9
8
  bike: "bike";
9
+ truck: "truck";
10
10
  }>>;
11
11
  units: z.ZodOptional<z.ZodEnum<{
12
12
  metric: "metric";
@@ -18,32 +18,32 @@ declare const RadarGetRouteMatrixInput: z.ZodObject<{
18
18
  declare const RadarGetRouteMatrixOutput: z.ZodObject<{
19
19
  meta: z.ZodNullable<z.ZodObject<{
20
20
  code: z.ZodNullable<z.ZodNumber>;
21
- }, z.core.$strip>>;
21
+ }, z.core.$loose>>;
22
22
  matrix: z.ZodArray<z.ZodArray<z.ZodObject<{
23
23
  distance: z.ZodNullable<z.ZodObject<{
24
24
  text: z.ZodNullable<z.ZodString>;
25
25
  value: z.ZodNullable<z.ZodNumber>;
26
- }, z.core.$strip>>;
26
+ }, z.core.$loose>>;
27
27
  duration: z.ZodNullable<z.ZodObject<{
28
28
  text: z.ZodNullable<z.ZodString>;
29
29
  value: z.ZodNullable<z.ZodNumber>;
30
- }, z.core.$strip>>;
30
+ }, z.core.$loose>>;
31
31
  originIndex: z.ZodNullable<z.ZodNumber>;
32
32
  destinationIndex: z.ZodNullable<z.ZodNumber>;
33
- }, z.core.$strip>>>;
33
+ }, z.core.$loose>>>;
34
34
  origins: z.ZodArray<z.ZodObject<{
35
35
  latitude: z.ZodNullable<z.ZodNumber>;
36
36
  longitude: z.ZodNullable<z.ZodNumber>;
37
- }, z.core.$strip>>;
37
+ }, z.core.$loose>>;
38
38
  destinations: z.ZodArray<z.ZodObject<{
39
39
  latitude: z.ZodNullable<z.ZodNumber>;
40
40
  longitude: z.ZodNullable<z.ZodNumber>;
41
- }, z.core.$strip>>;
42
- }, z.core.$strip>;
41
+ }, z.core.$loose>>;
42
+ }, z.core.$loose>;
43
43
  declare const radarGetRouteMatrix: import("@keystrokehq/action").WorkflowActionDefinition<{
44
44
  origins: string;
45
45
  destinations: string;
46
- mode?: "car" | "truck" | "foot" | "bike" | undefined;
46
+ mode?: "car" | "foot" | "bike" | "truck" | undefined;
47
47
  units?: "metric" | "imperial" | undefined;
48
48
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
49
49
  //#endregion
@@ -12,25 +12,25 @@ const RadarGetRouteMatrixInput = z.object({
12
12
  origins: z.string().describe("Pipe-separated list of origin coordinates as 'lat,lon|lat,lon' (e.g., '40.7128,-74.0060|37.7749,-122.4194')"),
13
13
  destinations: z.string().describe("Pipe-separated list of destination coordinates as 'lat,lon|lat,lon' (e.g., '40.7589,-73.9851|34.0522,-118.2437')")
14
14
  }).describe("Request model for calculating route matrix between multiple origins and destinations.");
15
- const RadarGetRouteMatrix_MetaSchema = z.object({ code: z.number().int().describe("HTTP status code").nullable() }).describe("Metadata for the route matrix response.");
15
+ const RadarGetRouteMatrix_MetaSchema = z.object({ code: z.number().int().describe("HTTP status code").nullable() }).passthrough().describe("Metadata for the route matrix response.");
16
16
  const RadarGetRouteMatrix_DistanceInfoSchema = z.object({
17
17
  text: z.string().describe("Human-readable distance string").nullable(),
18
18
  value: z.number().describe("Distance value in meters or feet depending on units").nullable()
19
- }).describe("Distance information for a route.");
19
+ }).passthrough().describe("Distance information for a route.");
20
20
  const RadarGetRouteMatrix_DurationInfoSchema = z.object({
21
21
  text: z.string().describe("Human-readable duration string").nullable(),
22
22
  value: z.number().describe("Duration value in minutes").nullable()
23
- }).describe("Duration information for a route.");
23
+ }).passthrough().describe("Duration information for a route.");
24
24
  const RadarGetRouteMatrix_MatrixElementSchema = z.object({
25
25
  distance: RadarGetRouteMatrix_DistanceInfoSchema.nullable(),
26
26
  duration: RadarGetRouteMatrix_DurationInfoSchema.nullable(),
27
27
  originIndex: z.number().int().describe("Index of origin in origins array").nullable(),
28
28
  destinationIndex: z.number().int().describe("Index of destination in destinations array").nullable()
29
- }).describe("Individual route element in the matrix containing distance and duration.");
29
+ }).passthrough().describe("Individual route element in the matrix containing distance and duration.");
30
30
  const RadarGetRouteMatrix_CoordinateSchema = z.object({
31
31
  latitude: z.number().describe("Latitude coordinate").nullable(),
32
32
  longitude: z.number().describe("Longitude coordinate").nullable()
33
- }).describe("Geographic coordinate with latitude and longitude.");
33
+ }).passthrough().describe("Geographic coordinate with latitude and longitude.");
34
34
  const radarGetRouteMatrix = action("RADAR_GET_ROUTE_MATRIX", {
35
35
  slug: "radar-get-route-matrix",
36
36
  name: "Get Route Matrix",
@@ -41,7 +41,7 @@ const radarGetRouteMatrix = action("RADAR_GET_ROUTE_MATRIX", {
41
41
  matrix: z.array(z.array(RadarGetRouteMatrix_MatrixElementSchema)).describe("2D array of route information for each origin-destination pair"),
42
42
  origins: z.array(RadarGetRouteMatrix_CoordinateSchema).describe("List of origin coordinates"),
43
43
  destinations: z.array(RadarGetRouteMatrix_CoordinateSchema).describe("List of destination coordinates")
44
- }).describe("Response model containing route matrix with distances and durations between origins and destinations.")
44
+ }).passthrough().describe("Response model containing route matrix with distances and durations between origins and destinations.")
45
45
  });
46
46
  //#endregion
47
47
  export { radarGetRouteMatrix };
@@ -1 +1 @@
1
- {"version":3,"file":"get-route-matrix.mjs","names":[],"sources":["../../src/actions/get-route-matrix.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetRouteMatrixInput = z.object({\n mode: z.enum([\"car\", \"truck\", \"foot\", \"bike\"]).describe(\"Travel mode for route calculation\").optional(),\n units: z.enum([\"metric\", \"imperial\"]).describe(\"Unit system for distance measurements (metric returns meters, imperial returns feet)\").optional(),\n origins: z.string().describe(\"Pipe-separated list of origin coordinates as 'lat,lon|lat,lon' (e.g., '40.7128,-74.0060|37.7749,-122.4194')\"),\n destinations: z.string().describe(\"Pipe-separated list of destination coordinates as 'lat,lon|lat,lon' (e.g., '40.7589,-73.9851|34.0522,-118.2437')\"),\n}).describe(\"Request model for calculating route matrix between multiple origins and destinations.\");\nconst RadarGetRouteMatrix_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n}).describe(\"Metadata for the route matrix response.\");\nconst RadarGetRouteMatrix_DistanceInfoSchema = z.object({\n text: z.string().describe(\"Human-readable distance string\").nullable(),\n value: z.number().describe(\"Distance value in meters or feet depending on units\").nullable(),\n}).describe(\"Distance information for a route.\");\nconst RadarGetRouteMatrix_DurationInfoSchema = z.object({\n text: z.string().describe(\"Human-readable duration string\").nullable(),\n value: z.number().describe(\"Duration value in minutes\").nullable(),\n}).describe(\"Duration information for a route.\");\nconst RadarGetRouteMatrix_MatrixElementSchema = z.object({\n distance: RadarGetRouteMatrix_DistanceInfoSchema.nullable(),\n duration: RadarGetRouteMatrix_DurationInfoSchema.nullable(),\n originIndex: z.number().int().describe(\"Index of origin in origins array\").nullable(),\n destinationIndex: z.number().int().describe(\"Index of destination in destinations array\").nullable(),\n}).describe(\"Individual route element in the matrix containing distance and duration.\");\nconst RadarGetRouteMatrix_CoordinateSchema = z.object({\n latitude: z.number().describe(\"Latitude coordinate\").nullable(),\n longitude: z.number().describe(\"Longitude coordinate\").nullable(),\n}).describe(\"Geographic coordinate with latitude and longitude.\");\nexport const RadarGetRouteMatrixOutput = z.object({\n meta: RadarGetRouteMatrix_MetaSchema.nullable(),\n matrix: z.array(z.array(RadarGetRouteMatrix_MatrixElementSchema)).describe(\"2D array of route information for each origin-destination pair\"),\n origins: z.array(RadarGetRouteMatrix_CoordinateSchema).describe(\"List of origin coordinates\"),\n destinations: z.array(RadarGetRouteMatrix_CoordinateSchema).describe(\"List of destination coordinates\"),\n}).describe(\"Response model containing route matrix with distances and durations between origins and destinations.\");\n\nexport const radarGetRouteMatrix = action(\"RADAR_GET_ROUTE_MATRIX\", {\n slug: \"radar-get-route-matrix\",\n name: \"Get Route Matrix\",\n description: \"Tool to calculate travel distance and duration between multiple origins and destinations for up to 625 routes. Use when you need to compute route metrics for multiple origin-destination pairs efficiently.\",\n input: RadarGetRouteMatrixInput,\n output: RadarGetRouteMatrixOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,KAAK;EAAC;EAAO;EAAS;EAAQ;CAAM,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtG,OAAO,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAChJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CAC1I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;AACtJ,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACnG,MAAM,iCAAiC,EAAE,OAAO,EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,0CAA0C,EAAE,OAAO;CACvD,UAAU,uCAAuC,SAAS;CAC1D,UAAU,uCAAuC,SAAS;CAC1D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,uCAAuC,EAAE,OAAO;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAQhE,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZuC,EAAE,OAAO;EAChD,MAAM,+BAA+B,SAAS;EAC9C,QAAQ,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC,CAAC,CAAC,SAAS,gEAAgE;EAC3I,SAAS,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,4BAA4B;EAC5F,cAAc,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,iCAAiC;CACxG,CAAC,CAAC,CAAC,SAAS,uGAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-route-matrix.mjs","names":[],"sources":["../../src/actions/get-route-matrix.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetRouteMatrixInput = z.object({\n mode: z.enum([\"car\", \"truck\", \"foot\", \"bike\"]).describe(\"Travel mode for route calculation\").optional(),\n units: z.enum([\"metric\", \"imperial\"]).describe(\"Unit system for distance measurements (metric returns meters, imperial returns feet)\").optional(),\n origins: z.string().describe(\"Pipe-separated list of origin coordinates as 'lat,lon|lat,lon' (e.g., '40.7128,-74.0060|37.7749,-122.4194')\"),\n destinations: z.string().describe(\"Pipe-separated list of destination coordinates as 'lat,lon|lat,lon' (e.g., '40.7589,-73.9851|34.0522,-118.2437')\"),\n}).describe(\"Request model for calculating route matrix between multiple origins and destinations.\");\nconst RadarGetRouteMatrix_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n}).passthrough().describe(\"Metadata for the route matrix response.\");\nconst RadarGetRouteMatrix_DistanceInfoSchema = z.object({\n text: z.string().describe(\"Human-readable distance string\").nullable(),\n value: z.number().describe(\"Distance value in meters or feet depending on units\").nullable(),\n}).passthrough().describe(\"Distance information for a route.\");\nconst RadarGetRouteMatrix_DurationInfoSchema = z.object({\n text: z.string().describe(\"Human-readable duration string\").nullable(),\n value: z.number().describe(\"Duration value in minutes\").nullable(),\n}).passthrough().describe(\"Duration information for a route.\");\nconst RadarGetRouteMatrix_MatrixElementSchema = z.object({\n distance: RadarGetRouteMatrix_DistanceInfoSchema.nullable(),\n duration: RadarGetRouteMatrix_DurationInfoSchema.nullable(),\n originIndex: z.number().int().describe(\"Index of origin in origins array\").nullable(),\n destinationIndex: z.number().int().describe(\"Index of destination in destinations array\").nullable(),\n}).passthrough().describe(\"Individual route element in the matrix containing distance and duration.\");\nconst RadarGetRouteMatrix_CoordinateSchema = z.object({\n latitude: z.number().describe(\"Latitude coordinate\").nullable(),\n longitude: z.number().describe(\"Longitude coordinate\").nullable(),\n}).passthrough().describe(\"Geographic coordinate with latitude and longitude.\");\nexport const RadarGetRouteMatrixOutput = z.object({\n meta: RadarGetRouteMatrix_MetaSchema.nullable(),\n matrix: z.array(z.array(RadarGetRouteMatrix_MatrixElementSchema)).describe(\"2D array of route information for each origin-destination pair\"),\n origins: z.array(RadarGetRouteMatrix_CoordinateSchema).describe(\"List of origin coordinates\"),\n destinations: z.array(RadarGetRouteMatrix_CoordinateSchema).describe(\"List of destination coordinates\"),\n}).passthrough().describe(\"Response model containing route matrix with distances and durations between origins and destinations.\");\n\nexport const radarGetRouteMatrix = action(\"RADAR_GET_ROUTE_MATRIX\", {\n slug: \"radar-get-route-matrix\",\n name: \"Get Route Matrix\",\n description: \"Tool to calculate travel distance and duration between multiple origins and destinations for up to 625 routes. Use when you need to compute route metrics for multiple origin-destination pairs efficiently.\",\n input: RadarGetRouteMatrixInput,\n output: RadarGetRouteMatrixOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,KAAK;EAAC;EAAO;EAAS;EAAQ;CAAM,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtG,OAAO,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAChJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CAC1I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;AACtJ,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACnG,MAAM,iCAAiC,EAAE,OAAO,EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAM,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAM,0CAA0C,EAAE,OAAO;CACvD,UAAU,uCAAuC,SAAS;CAC1D,UAAU,uCAAuC,SAAS;CAC1D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpF,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAA0E;AACpG,MAAM,uCAAuC,EAAE,OAAO;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAQ9E,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZuC,EAAE,OAAO;EAChD,MAAM,+BAA+B,SAAS;EAC9C,QAAQ,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC,CAAC,CAAC,SAAS,gEAAgE;EAC3I,SAAS,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,4BAA4B;EAC5F,cAAc,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,iCAAiC;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uGAOhB;AACV,CAAC"}
@@ -8,7 +8,7 @@ const RadarGetTripInput = zod.z.object({
8
8
  const RadarGetTrip_GeoJSONPointSchema = zod.z.object({
9
9
  type: zod.z.string().default("Point").describe("GeoJSON type, always 'Point'").nullable().optional(),
10
10
  coordinates: zod.z.array(zod.z.number()).describe("Coordinates as [longitude, latitude]")
11
- }).describe("GeoJSON Point location for the trip destination/origin.");
11
+ }).passthrough().describe("GeoJSON Point location for the trip destination/origin.");
12
12
  const RadarGetTrip_TripSchema = zod.z.object({
13
13
  _id: zod.z.string().describe("Unique Radar trip ID").nullable(),
14
14
  eta: zod.z.number().describe("Estimated time of arrival in seconds").nullable().optional(),
@@ -31,8 +31,8 @@ const RadarGetTrip_TripSchema = zod.z.object({
31
31
  approachingThreshold: zod.z.number().int().describe("Distance threshold in meters for approaching status").nullable().optional(),
32
32
  destinationGeofenceTag: zod.z.string().describe("Tag of destination geofence").nullable().optional(),
33
33
  destinationGeofenceExternalId: zod.z.string().describe("External ID of destination geofence").nullable().optional()
34
- }).describe("Trip object returned by Radar.");
35
- const RadarGetTripOutput = zod.z.object({ trip: RadarGetTrip_TripSchema.nullable() }).describe("Response model for GET_TRIP, containing the trip object.");
34
+ }).passthrough().describe("Trip object returned by Radar.");
35
+ const RadarGetTripOutput = zod.z.object({ trip: RadarGetTrip_TripSchema.nullable() }).passthrough().describe("Response model for GET_TRIP, containing the trip object.");
36
36
  const radarGetTrip = require_action.action("RADAR_GET_TRIP", {
37
37
  slug: "radar-get-trip",
38
38
  name: "Get Trip",
@@ -1 +1 @@
1
- {"version":3,"file":"get-trip.cjs","names":["z","action"],"sources":["../../src/actions/get-trip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetTripInput = z.object({\n id: z.string().describe(\"The Radar trip ID or externalId.\"),\n format: z.string().describe(\"Set to 'externalId' when using an external trip ID.\").optional(),\n}).describe(\"Request model for GET_TRIP.\");\nconst RadarGetTrip_GeoJSONPointSchema = z.object({\n type: z.string().default(\"Point\").describe(\"GeoJSON type, always 'Point'\").nullable().optional(),\n coordinates: z.array(z.number()).describe(\"Coordinates as [longitude, latitude]\"),\n}).describe(\"GeoJSON Point location for the trip destination/origin.\");\nconst RadarGetTrip_TripSchema = z.object({\n _id: z.string().describe(\"Unique Radar trip ID\").nullable(),\n eta: z.number().describe(\"Estimated time of arrival in seconds\").nullable().optional(),\n live: z.boolean().describe(\"Whether the trip is live\").nullable().optional(),\n mode: z.string().describe(\"Mode of transport (car, foot, bike)\").nullable().optional(),\n note: z.string().describe(\"Freeform note for the trip\").nullable().optional(),\n issues: z.array(z.unknown()).describe(\"List of trip issues\").nullable().optional(),\n status: z.string().describe(\"Trip status (e.g., created, started, completed)\").nullable(),\n userId: z.string().describe(\"Radar user ID associated with the trip\").nullable().optional(),\n distance: z.number().describe(\"Distance traveled in meters\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data for the trip\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp in ISO8601 format\").nullable().optional(),\n locations: z.array(z.unknown()).describe(\"List of trip locations\").nullable().optional(),\n startedAt: z.string().describe(\"Start timestamp in ISO8601 format\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO8601 format\").nullable(),\n externalId: z.string().describe(\"External trip ID\").nullable().optional(),\n completedAt: z.string().describe(\"Completion timestamp in ISO8601 format if completed\").nullable().optional(),\n originLocation: RadarGetTrip_GeoJSONPointSchema.nullable().optional(),\n destinationLocation: RadarGetTrip_GeoJSONPointSchema.nullable().optional(),\n approachingThreshold: z.number().int().describe(\"Distance threshold in meters for approaching status\").nullable().optional(),\n destinationGeofenceTag: z.string().describe(\"Tag of destination geofence\").nullable().optional(),\n destinationGeofenceExternalId: z.string().describe(\"External ID of destination geofence\").nullable().optional(),\n}).describe(\"Trip object returned by Radar.\");\nexport const RadarGetTripOutput = z.object({\n trip: RadarGetTrip_TripSchema.nullable(),\n}).describe(\"Response model for GET_TRIP, containing the trip object.\");\n\nexport const radarGetTrip = action(\"RADAR_GET_TRIP\", {\n slug: \"radar-get-trip\",\n name: \"Get Trip\",\n description: \"Tool to retrieve a trip by ID or externalId. Use when you have a trip ID or externalId to fetch its details.\",\n input: Rad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AS,CAAC,CAAC,SAAS;CAC/F,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAa,qBAAqBA,IAAAA,EAAE,OAAO,EACzC,MAAM,wBAAwB,SAAS,EACzC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,eAAeC,eAAAA,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-trip.cjs","names":["z","action"],"sources":["../../src/actions/get-trip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetTripInput = z.object({\n id: z.string().describe(\"The Radar trip ID or externalId.\"),\n format: z.string().describe(\"Set to 'externalId' when using an external trip ID.\").optional(),\n}).describe(\"Request model for GET_TRIP.\");\nconst RadarGetTrip_GeoJSONPointSchema = z.object({\n type: z.string().default(\"Point\").describe(\"GeoJSON type, always 'Point'\").nullable().optional(),\n coordinates: z.array(z.number()).describe(\"Coordinates as [longitude, latitude]\"),\n}).passthrough().describe(\"GeoJSON Point location for the trip destination/origin.\");\nconst RadarGetTrip_TripSchema = z.object({\n _id: z.string().describe(\"Unique Radar trip ID\").nullable(),\n eta: z.number().describe(\"Estimated time of arrival in seconds\").nullable().optional(),\n live: z.boolean().describe(\"Whether the trip is live\").nullable().optional(),\n mode: z.string().describe(\"Mode of transport (car, foot, bike)\").nullable().optional(),\n note: z.string().describe(\"Freeform note for the trip\").nullable().optional(),\n issues: z.array(z.unknown()).describe(\"List of trip issues\").nullable().optional(),\n status: z.string().describe(\"Trip status (e.g., created, started, completed)\").nullable(),\n userId: z.string().describe(\"Radar user ID associated with the trip\").nullable().optional(),\n distance: z.number().describe(\"Distance traveled in meters\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data for the trip\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp in ISO8601 format\").nullable().optional(),\n locations: z.array(z.unknown()).describe(\"List of trip locations\").nullable().optional(),\n startedAt: z.string().describe(\"Start timestamp in ISO8601 format\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO8601 format\").nullable(),\n externalId: z.string().describe(\"External trip ID\").nullable().optional(),\n completedAt: z.string().describe(\"Completion timestamp in ISO8601 format if completed\").nullable().optional(),\n originLocation: RadarGetTrip_GeoJSONPointSchema.nullable().optional(),\n destinationLocation: RadarGetTrip_GeoJSONPointSchema.nullable().optional(),\n approachingThreshold: z.number().int().describe(\"Distance threshold in meters for approaching status\").nullable().optional(),\n destinationGeofenceTag: z.string().describe(\"Tag of destination geofence\").nullable().optional(),\n destinationGeofenceExternalId: z.string().describe(\"External ID of destination geofence\").nullable().optional(),\n}).passthrough().describe(\"Trip object returned by Radar.\");\nexport const RadarGetTripOutput = z.object({\n trip: RadarGetTrip_TripSchema.nullable(),\n}).passthrough().describe(\"Response model for GET_TRIP, containing the trip object.\");\n\nexport const radarGetTrip = action(\"RADAR_GET_TRIP\", {\n slug: \"radar-get-trip\",\n name: \"Get Trip\",\n description: \"Tool to retrieve a trip by ID or externalId. Use when you have a trip ID or externalId to fetch its details.\",\n input: RadarGetTripInput,\n output: RadarGetTripOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAoBA,IAAAA,EAAE,OAAO;CACxC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,C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Q;AACV,CAAC"}
@@ -26,16 +26,16 @@ declare const RadarGetTripOutput: z.ZodObject<{
26
26
  originLocation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
27
  type: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
28
28
  coordinates: z.ZodArray<z.ZodNumber>;
29
- }, z.core.$strip>>>;
29
+ }, z.core.$loose>>>;
30
30
  destinationLocation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31
31
  type: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
32
32
  coordinates: z.ZodArray<z.ZodNumber>;
33
- }, z.core.$strip>>>;
33
+ }, z.core.$loose>>>;
34
34
  approachingThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
35
  destinationGeofenceTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  destinationGeofenceExternalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- }, z.core.$strip>>;
38
- }, z.core.$strip>;
37
+ }, z.core.$loose>>;
38
+ }, z.core.$loose>;
39
39
  declare const radarGetTrip: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  id: string;
41
41
  format?: string | undefined;
@@ -26,16 +26,16 @@ declare const RadarGetTripOutput: z.ZodObject<{
26
26
  originLocation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
27
  type: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
28
28
  coordinates: z.ZodArray<z.ZodNumber>;
29
- }, z.core.$strip>>>;
29
+ }, z.core.$loose>>>;
30
30
  destinationLocation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31
31
  type: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
32
32
  coordinates: z.ZodArray<z.ZodNumber>;
33
- }, z.core.$strip>>>;
33
+ }, z.core.$loose>>>;
34
34
  approachingThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
35
  destinationGeofenceTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  destinationGeofenceExternalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- }, z.core.$strip>>;
38
- }, z.core.$strip>;
37
+ }, z.core.$loose>>;
38
+ }, z.core.$loose>;
39
39
  declare const radarGetTrip: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  id: string;
41
41
  format?: string | undefined;
@@ -8,7 +8,7 @@ const RadarGetTripInput = z.object({
8
8
  const RadarGetTrip_GeoJSONPointSchema = z.object({
9
9
  type: z.string().default("Point").describe("GeoJSON type, always 'Point'").nullable().optional(),
10
10
  coordinates: z.array(z.number()).describe("Coordinates as [longitude, latitude]")
11
- }).describe("GeoJSON Point location for the trip destination/origin.");
11
+ }).passthrough().describe("GeoJSON Point location for the trip destination/origin.");
12
12
  const RadarGetTrip_TripSchema = z.object({
13
13
  _id: z.string().describe("Unique Radar trip ID").nullable(),
14
14
  eta: z.number().describe("Estimated time of arrival in seconds").nullable().optional(),
@@ -31,13 +31,13 @@ const RadarGetTrip_TripSchema = z.object({
31
31
  approachingThreshold: z.number().int().describe("Distance threshold in meters for approaching status").nullable().optional(),
32
32
  destinationGeofenceTag: z.string().describe("Tag of destination geofence").nullable().optional(),
33
33
  destinationGeofenceExternalId: z.string().describe("External ID of destination geofence").nullable().optional()
34
- }).describe("Trip object returned by Radar.");
34
+ }).passthrough().describe("Trip object returned by Radar.");
35
35
  const radarGetTrip = action("RADAR_GET_TRIP", {
36
36
  slug: "radar-get-trip",
37
37
  name: "Get Trip",
38
38
  description: "Tool to retrieve a trip by ID or externalId. Use when you have a trip ID or externalId to fetch its details.",
39
39
  input: RadarGetTripInput,
40
- output: z.object({ trip: RadarGetTrip_TripSchema.nullable() }).describe("Response model for GET_TRIP, containing the trip object.")
40
+ output: z.object({ trip: RadarGetTrip_TripSchema.nullable() }).passthrough().describe("Response model for GET_TRIP, containing the trip object.")
41
41
  });
42
42
  //#endregion
43
43
  export { radarGetTrip };
@@ -1 +1 @@
1
- {"version":3,"file":"get-trip.mjs","names":[],"sources":["../../src/actions/get-trip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetTripInput = z.object({\n id: z.string().describe(\"The Radar trip ID or externalId.\"),\n format: z.string().describe(\"Set to 'externalId' when using an external trip ID.\").optional(),\n}).describe(\"Request model for GET_TRIP.\");\nconst RadarGetTrip_GeoJSONPointSchema = z.object({\n type: z.string().default(\"Point\").describe(\"GeoJSON type, always 'Point'\").nullable().optional(),\n coordinates: z.array(z.number()).describe(\"Coordinates as [longitude, latitude]\"),\n}).describe(\"GeoJSON Point location for the trip destination/origin.\");\nconst RadarGetTrip_TripSchema = z.object({\n _id: z.string().describe(\"Unique Radar trip ID\").nullable(),\n eta: z.number().describe(\"Estimated time of arrival in seconds\").nullable().optional(),\n live: z.boolean().describe(\"Whether the trip is live\").nullable().optional(),\n mode: z.string().describe(\"Mode of transport (car, foot, bike)\").nullable().optional(),\n note: z.string().describe(\"Freeform note for the trip\").nullable().optional(),\n issues: z.array(z.unknown()).describe(\"List of trip issues\").nullable().optional(),\n status: z.string().describe(\"Trip status (e.g., created, started, completed)\").nullable(),\n userId: z.string().describe(\"Radar user ID associated with the trip\").nullable().optional(),\n distance: z.number().describe(\"Distance traveled in meters\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data for the trip\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp in ISO8601 format\").nullable().optional(),\n locations: z.array(z.unknown()).describe(\"List of trip locations\").nullable().optional(),\n startedAt: z.string().describe(\"Start timestamp in ISO8601 format\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO8601 format\").nullable(),\n externalId: z.string().describe(\"External trip ID\").nullable().optional(),\n completedAt: z.string().describe(\"Completion timestamp in ISO8601 format if completed\").nullable().optional(),\n originLocation: RadarGetTrip_GeoJSONPointSchema.nullable().optional(),\n destinationLocation: RadarGetTrip_GeoJSONPointSchema.nullable().optional(),\n approachingThreshold: z.number().int().describe(\"Distance threshold in meters for approaching status\").nullable().optional(),\n destinationGeofenceTag: z.string().describe(\"Tag of destination geofence\").nullable().optional(),\n destinationGeofenceExternalId: z.string().describe(\"External ID of destination geofence\").nullable().optional(),\n}).describe(\"Trip object returned by Radar.\");\nexport const RadarGetTripOutput = z.object({\n trip: RadarGetTrip_TripSchema.nullable(),\n}).describe(\"Response model for GET_TRIP, containing the trip object.\");\n\nexport const radarGetTrip = action(\"RADAR_GET_TRIP\", {\n slug: \"radar-get-trip\",\n name: \"Get Trip\",\n description: \"Tool to retrieve a trip by ID or externalId. Use when you have a trip ID or externalId to fetch its details.\",\n input: RadarGetTripInput,\n output: RadarGetTripOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAoB,EAAE,OAAO;CACxC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,0BAA0B,EAAE,OAAO;CACvC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAA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AO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,+BAA+B,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAK5C,MAAa,eAAe,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgC,EAAE,OAAO,EACzC,MAAM,wBAAwB,SAAS,EACzC,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-trip.mjs","names":[],"sources":["../../src/actions/get-trip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetTripInput = z.object({\n id: z.string().describe(\"The Radar trip ID or externalId.\"),\n format: z.string().describe(\"Set to 'externalId' when using an external trip ID.\").optional(),\n}).describe(\"Request model for GET_TRIP.\");\nconst RadarGetTrip_GeoJSONPointSchema = z.object({\n type: z.string().default(\"Point\").describe(\"GeoJSON type, always 'Point'\").nullable().optional(),\n coordinates: z.array(z.number()).describe(\"Coordinates as [longitude, latitude]\"),\n}).passthrough().describe(\"GeoJSON Point location for the trip destination/origin.\");\nconst RadarGetTrip_TripSchema = z.object({\n _id: z.string().describe(\"Unique Radar trip ID\").nullable(),\n eta: z.number().describe(\"Estimated time of arrival in seconds\").nullable().optional(),\n live: z.boolean().describe(\"Whether the trip is live\").nullable().optional(),\n mode: z.string().describe(\"Mode of transport (car, foot, bike)\").nullable().optional(),\n note: z.string().describe(\"Freeform note for the trip\").nullable().optional(),\n issues: z.array(z.unknown()).describe(\"List of trip issues\").nullable().optional(),\n status: z.string().describe(\"Trip status (e.g., created, started, completed)\").nullable(),\n userId: z.string().describe(\"Radar user ID associated with the trip\").nullable().optional(),\n distance: z.number().describe(\"Distance traveled in meters\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data for the trip\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp in ISO8601 format\").nullable().optional(),\n locations: z.array(z.unknown()).describe(\"List of trip locations\").nullable().optional(),\n startedAt: z.string().describe(\"Start timestamp in ISO8601 format\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO8601 format\").nullable(),\n externalId: z.string().describe(\"External trip ID\").nullable().optional(),\n completedAt: z.string().describe(\"Completion timestamp in ISO8601 format if completed\").nullable().optional(),\n originLocation: RadarGetTrip_GeoJSONPointSchema.nullable().optional(),\n destinationLocation: RadarGetTrip_GeoJSONPointSchema.nullable().optional(),\n approachingThreshold: z.number().int().describe(\"Distance threshold in meters for approaching status\").nullable().optional(),\n destinationGeofenceTag: z.string().describe(\"Tag of destination geofence\").nullable().optional(),\n destinationGeofenceExternalId: z.string().describe(\"External ID of destination geofence\").nullable().optional(),\n}).passthrough().describe(\"Trip object returned by Radar.\");\nexport const RadarGetTripOutput = z.object({\n trip: RadarGetTrip_TripSchema.nullable(),\n}).passthrough().describe(\"Response model for GET_TRIP, containing the trip object.\");\n\nexport const radarGetTrip = action(\"RADAR_GET_TRIP\", {\n slug: \"radar-get-trip\",\n name: \"Get Trip\",\n description: \"Tool to retrieve a trip by ID or externalId. Use when you have a trip ID or externalId to fetch its details.\",\n input: RadarGetTripInput,\n output: RadarGetTripOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAoB,EAAE,OAAO;CACxC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,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AAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,gBAAgB,gCAAgC,SAAS,CAAC,CAAC,SAAS;CACpE,qBAAqB,gCAAgC,SAAS,CAAC,CAAC,SAAS;CACzE,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,+BAA+B,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAK1D,MAAa,eAAe,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgC,EAAE,OAAO,EACzC,MAAM,wBAAwB,SAAS,EACzC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
@@ -34,7 +34,7 @@ const RadarGetUser_BeaconInUserSchema = zod.z.object({
34
34
  const RadarGetUser_GeoJSONPointSchema = zod.z.object({
35
35
  type: zod.z.string().default("Point").describe("GeoJSON type, always 'Point'").nullable().optional(),
36
36
  coordinates: zod.z.array(zod.z.number()).describe("Coordinates as [longitude, latitude]")
37
- }).describe("GeoJSON Point representing a geographic location.");
37
+ }).passthrough().describe("GeoJSON Point representing a geographic location.");
38
38
  const RadarGetUser_GeofenceInUserSchema = zod.z.object({
39
39
  _id: zod.z.string().describe("Unique Radar geofence identifier").nullable(),
40
40
  tag: zod.z.string().describe("Tag associated with the geofence").nullable().optional(),
@@ -66,7 +66,7 @@ const RadarGetUser_UserSchema = zod.z.object({
66
66
  description: zod.z.string().describe("Description of the user").nullable().optional(),
67
67
  locationAccuracy: zod.z.number().describe("Accuracy of the location in meters").nullable().optional()
68
68
  }).passthrough().describe("Complete user object returned by Radar with all location and context data.");
69
- const RadarGetUserOutput = zod.z.object({ user: RadarGetUser_UserSchema.nullable() }).describe("Response model for GET_USER, containing the user object with all location and context data.");
69
+ const RadarGetUserOutput = zod.z.object({ user: RadarGetUser_UserSchema.nullable() }).passthrough().describe("Response model for GET_USER, containing the user object with all location and context data.");
70
70
  const radarGetUser = require_action.action("RADAR_GET_USER", {
71
71
  slug: "radar-get-user",
72
72
  name: "Get User",
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetUserInput = z.object({\n id: z.string().describe(\"User identifier - can be Radar _id, userId, or deviceId\"),\n}).describe(\"Request model for getting a user by ID.\");\nconst RadarGetUser_TripInUserSchema = z.object({\n _id: z.string().describe(\"Unique Radar trip identifier\").nullable(),\n status: z.string().describe(\"Trip status (e.g., created, started, completed)\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the trip\").nullable().optional(),\n externalId: z.string().describe(\"External trip identifier\").nullable().optional(),\n}).passthrough().describe(\"Trip object associated with the user if currently on a trip.\");\nconst RadarGetUser_FraudInUserSchema = z.object({\n proxy: z.boolean().describe(\"Whether the user is using a proxy\").nullable().optional(),\n mocked: z.boolean().describe(\"Whether the location appears to be mocked\").nullable().optional(),\n passed: z.boolean().describe(\"Whether the user passed fraud checks\").nullable().optional(),\n bypassed: z.boolean().describe(\"Whether fraud checks were bypassed\").nullable().optional(),\n verified: z.boolean().describe(\"Whether the user has been verified\").nullable().optional(),\n compromisedAt: z.string().describe(\"ISO 8601 timestamp when the user was compromised\").nullable().optional(),\n}).passthrough().describe(\"Fraud detection information for the user.\");\nconst RadarGetUser_PlaceInUserSchema = z.object({\n _id: z.string().describe(\"Unique Radar place identifier\").nullable().optional(),\n name: z.string().describe(\"Name of the place\").nullable().optional(),\n chain: z.record(z.string(), z.unknown()).describe(\"Chain information if applicable\").nullable().optional(),\n categories: z.array(z.string()).describe(\"Categories of the place\").nullable().optional(),\n}).passthrough().describe(\"Place object associated with a user's current location.\");\nconst RadarGetUser_BeaconInUserSchema = z.object({\n _id: z.string().describe(\"Unique Radar beacon identifier\").nullable(),\n tag: z.string().describe(\"Tag associated with the beacon\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the beacon\").nullable().optional(),\n major: z.string().describe(\"Major value of the beacon\").nullable().optional(),\n minor: z.string().describe(\"Minor value of the beacon\").nullable().optional(),\n externalId: z.string().describe(\"External identifier of the beacon\").nullable().optional(),\n description: z.string().describe(\"Description of the beacon\").nullable().optional(),\n}).passthrough().describe(\"Beacon object detected near the user.\");\nconst RadarGetUser_GeoJSONPointSchema = z.object({\n type: z.string().default(\"Point\").describe(\"GeoJSON type, always 'Point'\").nullable().optional(),\n coordinates: z.array(z.number()).describe(\"Coordinates as [longitude, latitude]\"),\n}).describe(\"GeoJSON Point representing a geographic location.\");\nconst RadarGetUser_GeofenceInUserSchema = z.object({\n _id: z.string().describe(\"Unique Radar geofence identifier\").nullable(),\n tag: z.string().describe(\"Tag associated with the geofence\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the geofence\").nullable().optional(),\n externalId: z.string().describe(\"External identifier of the geofence\").nullable().optional(),\n description: z.string().describe(\"Description of the geofence\").nullable().optional(),\n}).passthrough().describe(\"Geofence object associated with a user.\");\nconst RadarGetUser_UserSchema = z.object({\n _id: z.string().describe(\"Internal Radar identifier for the user\").nullable(),\n dma: z.record(z.string(), z.unknown()).describe(\"Designated Market Area information\").nullable().optional(),\n live: z.boolean().describe(\"Whether this is a live (not test) user\").nullable().optional(),\n trip: RadarGetUser_TripInUserSchema.nullable().optional(),\n fraud: RadarGetUser_FraudInUserSchema.nullable().optional(),\n place: RadarGetUser_PlaceInUserSchema.nullable().optional(),\n state: z.record(z.string(), z.unknown()).describe(\"State/region information for the user's location\").nullable().optional(),\n userId: z.string().describe(\"Custom unique identifier for the user (may be absent if only deviceId was provided)\").nullable().optional(),\n beacons: z.array(RadarGetUser_BeaconInUserSchema).describe(\"List of beacons detected near the user\").nullable().optional(),\n country: z.record(z.string(), z.unknown()).describe(\"Country information for the user's location\").nullable().optional(),\n stopped: z.boolean().describe(\"Whether the user is currently stopped\").nullable().optional(),\n deviceId: z.string().describe(\"Identifier for the user's device\").nullable().optional(),\n location: RadarGetUser_GeoJSONPointSchema.nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the user\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n geofences: z.array(RadarGetUser_GeofenceInUserSchema).describe(\"List of geofences the user is currently inside\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp in ISO 8601 format\").nullable(),\n deviceType: z.string().describe(\"Type of device (iOS, Android, Web)\").nullable().optional(),\n foreground: z.boolean().describe(\"Whether the app was in foreground for last location update\").nullable().optional(),\n postalCode: z.record(z.string(), z.unknown()).describe(\"Postal code information for the user's location\").nullable().optional(),\n description: z.string().describe(\"Description of the user\").nullable().optional(),\n locationAccuracy: z.number().describe(\"Accuracy of the location in meters\").nullable().optional(),\n}).passthrough().describe(\"Complete user object returned by Radar with all location and context data.\");\nexport const RadarGetUserOutput = z.object({\n user: RadarGetUser_UserSchema.nullable(),\n}).describe(\"Response model for GET_USER, containing the user object with all location and context data.\");\n\nexport const radarGetUser = action(\"RADAR_GET_USER\", {\n slug: \"radar-get-user\",\n name: \"Get User\",\n description: \"Tool to get a user by Radar _id, userId, or deviceId. Returns the user with all location and context data including geofences, places, beacons, and trip information.\",\n input: RadarGetUserInput,\n output: RadarGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAoBA,IAAAA,EAAE,OAAO,EACxC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACnF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,QAAQ,C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N,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetUserInput = z.object({\n id: z.string().describe(\"User identifier - can be Radar _id, userId, or deviceId\"),\n}).describe(\"Request model for getting a user by ID.\");\nconst RadarGetUser_TripInUserSchema = z.object({\n _id: z.string().describe(\"Unique Radar trip identifier\").nullable(),\n status: z.string().describe(\"Trip status (e.g., created, started, completed)\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the trip\").nullable().optional(),\n externalId: z.string().describe(\"External trip identifier\").nullable().optional(),\n}).passthrough().describe(\"Trip object associated with the user if currently on a trip.\");\nconst RadarGetUser_FraudInUserSchema = z.object({\n proxy: z.boolean().describe(\"Whether the user is using a proxy\").nullable().optional(),\n mocked: z.boolean().describe(\"Whether the location appears to be mocked\").nullable().optional(),\n passed: z.boolean().describe(\"Whether the user passed fraud checks\").nullable().optional(),\n bypassed: z.boolean().describe(\"Whether fraud checks were bypassed\").nullable().optional(),\n verified: z.boolean().describe(\"Whether the user has been verified\").nullable().optional(),\n compromisedAt: z.string().describe(\"ISO 8601 timestamp when the user was compromised\").nullable().optional(),\n}).passthrough().describe(\"Fraud detection information for the user.\");\nconst RadarGetUser_PlaceInUserSchema = z.object({\n _id: z.string().describe(\"Unique Radar place identifier\").nullable().optional(),\n name: z.string().describe(\"Name of the place\").nullable().optional(),\n chain: z.record(z.string(), z.unknown()).describe(\"Chain information if applicable\").nullable().optional(),\n categories: z.array(z.string()).describe(\"Categories of the place\").nullable().optional(),\n}).passthrough().describe(\"Place object associated with a user's current location.\");\nconst RadarGetUser_BeaconInUserSchema = z.object({\n _id: z.string().describe(\"Unique Radar beacon identifier\").nullable(),\n tag: z.string().describe(\"Tag associated with the beacon\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the beacon\").nullable().optional(),\n major: z.string().describe(\"Major value of the beacon\").nullable().optional(),\n minor: z.string().describe(\"Minor value of the beacon\").nullable().optional(),\n externalId: z.string().describe(\"External identifier of the beacon\").nullable().optional(),\n description: z.string().describe(\"Description of the beacon\").nullable().optional(),\n}).passthrough().describe(\"Beacon object detected near the user.\");\nconst RadarGetUser_GeoJSONPointSchema = z.object({\n type: z.string().default(\"Point\").describe(\"GeoJSON type, always 'Point'\").nullable().optional(),\n coordinates: z.array(z.number()).describe(\"Coordinates as [longitude, latitude]\"),\n}).passthrough().describe(\"GeoJSON Point representing a geographic location.\");\nconst RadarGetUser_GeofenceInUserSchema = z.object({\n _id: z.string().describe(\"Unique Radar geofence identifier\").nullable(),\n tag: z.string().describe(\"Tag associated with the geofence\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the geofence\").nullable().optional(),\n externalId: z.string().describe(\"External identifier of the geofence\").nullable().optional(),\n description: z.string().describe(\"Description of the geofence\").nullable().optional(),\n}).passthrough().describe(\"Geofence object associated with a user.\");\nconst RadarGetUser_UserSchema = z.object({\n _id: z.string().describe(\"Internal Radar identifier for the user\").nullable(),\n dma: z.record(z.string(), z.unknown()).describe(\"Designated Market Area information\").nullable().optional(),\n live: z.boolean().describe(\"Whether this is a live (not test) user\").nullable().optional(),\n trip: RadarGetUser_TripInUserSchema.nullable().optional(),\n fraud: RadarGetUser_FraudInUserSchema.nullable().optional(),\n place: RadarGetUser_PlaceInUserSchema.nullable().optional(),\n state: z.record(z.string(), z.unknown()).describe(\"State/region information for the user's location\").nullable().optional(),\n userId: z.string().describe(\"Custom unique identifier for the user (may be absent if only deviceId was provided)\").nullable().optional(),\n beacons: z.array(RadarGetUser_BeaconInUserSchema).describe(\"List of beacons detected near the user\").nullable().optional(),\n country: z.record(z.string(), z.unknown()).describe(\"Country information for the user's location\").nullable().optional(),\n stopped: z.boolean().describe(\"Whether the user is currently stopped\").nullable().optional(),\n deviceId: z.string().describe(\"Identifier for the user's device\").nullable().optional(),\n location: RadarGetUser_GeoJSONPointSchema.nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the user\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n geofences: z.array(RadarGetUser_GeofenceInUserSchema).describe(\"List of geofences the user is currently inside\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp in ISO 8601 format\").nullable(),\n deviceType: z.string().describe(\"Type of device (iOS, Android, Web)\").nullable().optional(),\n foreground: z.boolean().describe(\"Whether the app was in foreground for last location update\").nullable().optional(),\n postalCode: z.record(z.string(), z.unknown()).describe(\"Postal code information for the user's location\").nullable().optional(),\n description: z.string().describe(\"Description of the user\").nullable().optional(),\n locationAccuracy: z.number().describe(\"Accuracy of the location in meters\").nullable().optional(),\n}).passthrough().describe(\"Complete user object returned by Radar with all location and context data.\");\nexport const RadarGetUserOutput = z.object({\n user: RadarGetUser_UserSchema.nullable(),\n}).passthrough().describe(\"Response model for GET_USER, containing the user object with all location and context data.\");\n\nexport const radarGetUser = action(\"RADAR_GET_USER\", {\n slug: \"radar-get-user\",\n name: \"Get User\",\n description: \"Tool to get a user by Radar _id, userId, or deviceId. Returns the user with all location and context data including geofences, places, beacons, and trip information.\",\n input: RadarGetUserInput,\n output: RadarGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAoBA,IAAAA,EAAE,OAAO,EACxC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACnF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAA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