@keystrokehq/radar 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (297) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/autocomplete-address-or-place.cjs +8 -8
  4. package/dist/actions/autocomplete-address-or-place.cjs.map +1 -1
  5. package/dist/actions/autocomplete-address-or-place.d.cts +50 -3
  6. package/dist/actions/autocomplete-address-or-place.d.cts.map +1 -1
  7. package/dist/actions/autocomplete-address-or-place.d.mts +50 -3
  8. package/dist/actions/autocomplete-address-or-place.d.mts.map +1 -1
  9. package/dist/actions/autocomplete-address-or-place.mjs +8 -8
  10. package/dist/actions/autocomplete-address-or-place.mjs.map +1 -1
  11. package/dist/actions/create-beacon.cjs +9 -9
  12. package/dist/actions/create-beacon.cjs.map +1 -1
  13. package/dist/actions/create-beacon.d.cts +56 -3
  14. package/dist/actions/create-beacon.d.cts.map +1 -1
  15. package/dist/actions/create-beacon.d.mts +56 -3
  16. package/dist/actions/create-beacon.d.mts.map +1 -1
  17. package/dist/actions/create-beacon.mjs +9 -9
  18. package/dist/actions/create-beacon.mjs.map +1 -1
  19. package/dist/actions/create-trip.cjs.map +1 -1
  20. package/dist/actions/create-trip.d.cts +44 -3
  21. package/dist/actions/create-trip.d.cts.map +1 -1
  22. package/dist/actions/create-trip.d.mts +44 -3
  23. package/dist/actions/create-trip.d.mts.map +1 -1
  24. package/dist/actions/create-trip.mjs.map +1 -1
  25. package/dist/actions/delete-beacon.cjs +1 -1
  26. package/dist/actions/delete-beacon.cjs.map +1 -1
  27. package/dist/actions/delete-beacon.d.cts +11 -3
  28. package/dist/actions/delete-beacon.d.cts.map +1 -1
  29. package/dist/actions/delete-beacon.d.mts +11 -3
  30. package/dist/actions/delete-beacon.d.mts.map +1 -1
  31. package/dist/actions/delete-beacon.mjs +1 -1
  32. package/dist/actions/delete-beacon.mjs.map +1 -1
  33. package/dist/actions/delete-geofence-by-tag.cjs +1 -1
  34. package/dist/actions/delete-geofence-by-tag.cjs.map +1 -1
  35. package/dist/actions/delete-geofence-by-tag.d.cts +13 -3
  36. package/dist/actions/delete-geofence-by-tag.d.cts.map +1 -1
  37. package/dist/actions/delete-geofence-by-tag.d.mts +13 -3
  38. package/dist/actions/delete-geofence-by-tag.d.mts.map +1 -1
  39. package/dist/actions/delete-geofence-by-tag.mjs +1 -1
  40. package/dist/actions/delete-geofence-by-tag.mjs.map +1 -1
  41. package/dist/actions/delete-geofence.cjs +1 -1
  42. package/dist/actions/delete-geofence.cjs.map +1 -1
  43. package/dist/actions/delete-geofence.d.cts +11 -3
  44. package/dist/actions/delete-geofence.d.cts.map +1 -1
  45. package/dist/actions/delete-geofence.d.mts +11 -3
  46. package/dist/actions/delete-geofence.d.mts.map +1 -1
  47. package/dist/actions/delete-geofence.mjs +1 -1
  48. package/dist/actions/delete-geofence.mjs.map +1 -1
  49. package/dist/actions/delete-trip.cjs +1 -1
  50. package/dist/actions/delete-trip.cjs.map +1 -1
  51. package/dist/actions/delete-trip.d.cts +11 -3
  52. package/dist/actions/delete-trip.d.cts.map +1 -1
  53. package/dist/actions/delete-trip.d.mts +11 -3
  54. package/dist/actions/delete-trip.d.mts.map +1 -1
  55. package/dist/actions/delete-trip.mjs +1 -1
  56. package/dist/actions/delete-trip.mjs.map +1 -1
  57. package/dist/actions/delete-user.cjs +1 -1
  58. package/dist/actions/delete-user.cjs.map +1 -1
  59. package/dist/actions/delete-user.d.cts +11 -3
  60. package/dist/actions/delete-user.d.cts.map +1 -1
  61. package/dist/actions/delete-user.d.mts +11 -3
  62. package/dist/actions/delete-user.d.mts.map +1 -1
  63. package/dist/actions/delete-user.mjs +1 -1
  64. package/dist/actions/delete-user.mjs.map +1 -1
  65. package/dist/actions/forward-geocode.cjs +4 -4
  66. package/dist/actions/forward-geocode.cjs.map +1 -1
  67. package/dist/actions/forward-geocode.d.cts +37 -3
  68. package/dist/actions/forward-geocode.d.cts.map +1 -1
  69. package/dist/actions/forward-geocode.d.mts +37 -3
  70. package/dist/actions/forward-geocode.d.mts.map +1 -1
  71. package/dist/actions/forward-geocode.mjs +4 -4
  72. package/dist/actions/forward-geocode.mjs.map +1 -1
  73. package/dist/actions/get-beacon-by-tag.cjs +8 -8
  74. package/dist/actions/get-beacon-by-tag.cjs.map +1 -1
  75. package/dist/actions/get-beacon-by-tag.d.cts +33 -3
  76. package/dist/actions/get-beacon-by-tag.d.cts.map +1 -1
  77. package/dist/actions/get-beacon-by-tag.d.mts +33 -3
  78. package/dist/actions/get-beacon-by-tag.d.mts.map +1 -1
  79. package/dist/actions/get-beacon-by-tag.mjs +8 -8
  80. package/dist/actions/get-beacon-by-tag.mjs.map +1 -1
  81. package/dist/actions/get-beacon.cjs +3 -3
  82. package/dist/actions/get-beacon.cjs.map +1 -1
  83. package/dist/actions/get-beacon.d.cts +29 -3
  84. package/dist/actions/get-beacon.d.cts.map +1 -1
  85. package/dist/actions/get-beacon.d.mts +29 -3
  86. package/dist/actions/get-beacon.d.mts.map +1 -1
  87. package/dist/actions/get-beacon.mjs +3 -3
  88. package/dist/actions/get-beacon.mjs.map +1 -1
  89. package/dist/actions/get-context-for-location.cjs +2 -2
  90. package/dist/actions/get-context-for-location.cjs.map +1 -1
  91. package/dist/actions/get-context-for-location.d.cts +85 -3
  92. package/dist/actions/get-context-for-location.d.cts.map +1 -1
  93. package/dist/actions/get-context-for-location.d.mts +85 -3
  94. package/dist/actions/get-context-for-location.d.mts.map +1 -1
  95. package/dist/actions/get-context-for-location.mjs +2 -2
  96. package/dist/actions/get-context-for-location.mjs.map +1 -1
  97. package/dist/actions/get-geofence.cjs +5 -5
  98. package/dist/actions/get-geofence.cjs.map +1 -1
  99. package/dist/actions/get-geofence.d.cts +26 -3
  100. package/dist/actions/get-geofence.d.cts.map +1 -1
  101. package/dist/actions/get-geofence.d.mts +26 -3
  102. package/dist/actions/get-geofence.d.mts.map +1 -1
  103. package/dist/actions/get-geofence.mjs +5 -5
  104. package/dist/actions/get-geofence.mjs.map +1 -1
  105. package/dist/actions/get-places-settings.cjs +1 -1
  106. package/dist/actions/get-places-settings.cjs.map +1 -1
  107. package/dist/actions/get-places-settings.d.cts +15 -3
  108. package/dist/actions/get-places-settings.d.cts.map +1 -1
  109. package/dist/actions/get-places-settings.d.mts +15 -3
  110. package/dist/actions/get-places-settings.d.mts.map +1 -1
  111. package/dist/actions/get-places-settings.mjs +1 -1
  112. package/dist/actions/get-places-settings.mjs.map +1 -1
  113. package/dist/actions/get-route-directions.cjs +8 -8
  114. package/dist/actions/get-route-directions.cjs.map +1 -1
  115. package/dist/actions/get-route-directions.d.cts +118 -3
  116. package/dist/actions/get-route-directions.d.cts.map +1 -1
  117. package/dist/actions/get-route-directions.d.mts +118 -3
  118. package/dist/actions/get-route-directions.d.mts.map +1 -1
  119. package/dist/actions/get-route-directions.mjs +8 -8
  120. package/dist/actions/get-route-directions.mjs.map +1 -1
  121. package/dist/actions/get-route-matrix.cjs +9 -9
  122. package/dist/actions/get-route-matrix.cjs.map +1 -1
  123. package/dist/actions/get-route-matrix.d.cts +45 -3
  124. package/dist/actions/get-route-matrix.d.cts.map +1 -1
  125. package/dist/actions/get-route-matrix.d.mts +45 -3
  126. package/dist/actions/get-route-matrix.d.mts.map +1 -1
  127. package/dist/actions/get-route-matrix.mjs +9 -9
  128. package/dist/actions/get-route-matrix.mjs.map +1 -1
  129. package/dist/actions/get-trip.cjs +3 -3
  130. package/dist/actions/get-trip.cjs.map +1 -1
  131. package/dist/actions/get-trip.d.cts +39 -3
  132. package/dist/actions/get-trip.d.cts.map +1 -1
  133. package/dist/actions/get-trip.d.mts +39 -3
  134. package/dist/actions/get-trip.d.mts.map +1 -1
  135. package/dist/actions/get-trip.mjs +3 -3
  136. package/dist/actions/get-trip.mjs.map +1 -1
  137. package/dist/actions/get-user.cjs +6 -6
  138. package/dist/actions/get-user.cjs.map +1 -1
  139. package/dist/actions/get-user.d.cts +66 -3
  140. package/dist/actions/get-user.d.cts.map +1 -1
  141. package/dist/actions/get-user.d.mts +66 -3
  142. package/dist/actions/get-user.d.mts.map +1 -1
  143. package/dist/actions/get-user.mjs +6 -6
  144. package/dist/actions/get-user.mjs.map +1 -1
  145. package/dist/actions/get-users-in-geofence.cjs +2 -2
  146. package/dist/actions/get-users-in-geofence.cjs.map +1 -1
  147. package/dist/actions/get-users-in-geofence.d.cts +19 -3
  148. package/dist/actions/get-users-in-geofence.d.cts.map +1 -1
  149. package/dist/actions/get-users-in-geofence.d.mts +19 -3
  150. package/dist/actions/get-users-in-geofence.d.mts.map +1 -1
  151. package/dist/actions/get-users-in-geofence.mjs +2 -2
  152. package/dist/actions/get-users-in-geofence.mjs.map +1 -1
  153. package/dist/actions/ip-geocode.cjs +4 -4
  154. package/dist/actions/ip-geocode.cjs.map +1 -1
  155. package/dist/actions/ip-geocode.d.cts +20 -3
  156. package/dist/actions/ip-geocode.d.cts.map +1 -1
  157. package/dist/actions/ip-geocode.d.mts +20 -3
  158. package/dist/actions/ip-geocode.d.mts.map +1 -1
  159. package/dist/actions/ip-geocode.mjs +4 -4
  160. package/dist/actions/ip-geocode.mjs.map +1 -1
  161. package/dist/actions/list-events.cjs +4 -4
  162. package/dist/actions/list-events.cjs.map +1 -1
  163. package/dist/actions/list-events.d.cts +52 -3
  164. package/dist/actions/list-events.d.cts.map +1 -1
  165. package/dist/actions/list-events.d.mts +52 -3
  166. package/dist/actions/list-events.d.mts.map +1 -1
  167. package/dist/actions/list-events.mjs +4 -4
  168. package/dist/actions/list-events.mjs.map +1 -1
  169. package/dist/actions/list-geofences.cjs +8 -8
  170. package/dist/actions/list-geofences.cjs.map +1 -1
  171. package/dist/actions/list-geofences.d.cts +50 -3
  172. package/dist/actions/list-geofences.d.cts.map +1 -1
  173. package/dist/actions/list-geofences.d.mts +50 -3
  174. package/dist/actions/list-geofences.d.mts.map +1 -1
  175. package/dist/actions/list-geofences.mjs +8 -8
  176. package/dist/actions/list-geofences.mjs.map +1 -1
  177. package/dist/actions/list-trips.cjs +4 -4
  178. package/dist/actions/list-trips.cjs.map +1 -1
  179. package/dist/actions/list-trips.d.cts +50 -3
  180. package/dist/actions/list-trips.d.cts.map +1 -1
  181. package/dist/actions/list-trips.d.mts +50 -3
  182. package/dist/actions/list-trips.d.mts.map +1 -1
  183. package/dist/actions/list-trips.mjs +4 -4
  184. package/dist/actions/list-trips.mjs.map +1 -1
  185. package/dist/actions/list-users.cjs +5 -5
  186. package/dist/actions/list-users.cjs.map +1 -1
  187. package/dist/actions/list-users.d.cts +35 -3
  188. package/dist/actions/list-users.d.cts.map +1 -1
  189. package/dist/actions/list-users.d.mts +35 -3
  190. package/dist/actions/list-users.d.mts.map +1 -1
  191. package/dist/actions/list-users.mjs +5 -5
  192. package/dist/actions/list-users.mjs.map +1 -1
  193. package/dist/actions/reverse-geocode.cjs.map +1 -1
  194. package/dist/actions/reverse-geocode.d.cts +33 -3
  195. package/dist/actions/reverse-geocode.d.cts.map +1 -1
  196. package/dist/actions/reverse-geocode.d.mts +33 -3
  197. package/dist/actions/reverse-geocode.d.mts.map +1 -1
  198. package/dist/actions/reverse-geocode.mjs.map +1 -1
  199. package/dist/actions/route-distance.cjs +5 -5
  200. package/dist/actions/route-distance.cjs.map +1 -1
  201. package/dist/actions/route-distance.d.cts +110 -3
  202. package/dist/actions/route-distance.d.cts.map +1 -1
  203. package/dist/actions/route-distance.d.mts +110 -3
  204. package/dist/actions/route-distance.d.mts.map +1 -1
  205. package/dist/actions/route-distance.mjs +5 -5
  206. package/dist/actions/route-distance.mjs.map +1 -1
  207. package/dist/actions/search-geofences-near-location.cjs +2 -2
  208. package/dist/actions/search-geofences-near-location.cjs.map +1 -1
  209. package/dist/actions/search-geofences-near-location.d.cts +34 -3
  210. package/dist/actions/search-geofences-near-location.d.cts.map +1 -1
  211. package/dist/actions/search-geofences-near-location.d.mts +34 -3
  212. package/dist/actions/search-geofences-near-location.d.mts.map +1 -1
  213. package/dist/actions/search-geofences-near-location.mjs +2 -2
  214. package/dist/actions/search-geofences-near-location.mjs.map +1 -1
  215. package/dist/actions/search-places-near-location.cjs +4 -4
  216. package/dist/actions/search-places-near-location.cjs.map +1 -1
  217. package/dist/actions/search-places-near-location.d.cts +51 -3
  218. package/dist/actions/search-places-near-location.d.cts.map +1 -1
  219. package/dist/actions/search-places-near-location.d.mts +51 -3
  220. package/dist/actions/search-places-near-location.d.mts.map +1 -1
  221. package/dist/actions/search-places-near-location.mjs +4 -4
  222. package/dist/actions/search-places-near-location.mjs.map +1 -1
  223. package/dist/actions/search-users-near-location.cjs +5 -5
  224. package/dist/actions/search-users-near-location.cjs.map +1 -1
  225. package/dist/actions/search-users-near-location.d.cts +28 -3
  226. package/dist/actions/search-users-near-location.d.cts.map +1 -1
  227. package/dist/actions/search-users-near-location.d.mts +28 -3
  228. package/dist/actions/search-users-near-location.d.mts.map +1 -1
  229. package/dist/actions/search-users-near-location.mjs +5 -5
  230. package/dist/actions/search-users-near-location.mjs.map +1 -1
  231. package/dist/actions/track-location-update.cjs.map +1 -1
  232. package/dist/actions/track-location-update.d.cts +43 -3
  233. package/dist/actions/track-location-update.d.cts.map +1 -1
  234. package/dist/actions/track-location-update.d.mts +43 -3
  235. package/dist/actions/track-location-update.d.mts.map +1 -1
  236. package/dist/actions/track-location-update.mjs.map +1 -1
  237. package/dist/actions/update-places-settings.cjs +1 -1
  238. package/dist/actions/update-places-settings.cjs.map +1 -1
  239. package/dist/actions/update-places-settings.d.cts +23 -3
  240. package/dist/actions/update-places-settings.d.cts.map +1 -1
  241. package/dist/actions/update-places-settings.d.mts +23 -3
  242. package/dist/actions/update-places-settings.d.mts.map +1 -1
  243. package/dist/actions/update-places-settings.mjs +1 -1
  244. package/dist/actions/update-places-settings.mjs.map +1 -1
  245. package/dist/actions/update-trip-by-id.cjs.map +1 -1
  246. package/dist/actions/update-trip-by-id.d.cts +47 -3
  247. package/dist/actions/update-trip-by-id.d.cts.map +1 -1
  248. package/dist/actions/update-trip-by-id.d.mts +47 -3
  249. package/dist/actions/update-trip-by-id.d.mts.map +1 -1
  250. package/dist/actions/update-trip-by-id.mjs.map +1 -1
  251. package/dist/actions/update-trip.cjs +2 -2
  252. package/dist/actions/update-trip.cjs.map +1 -1
  253. package/dist/actions/update-trip.d.cts +67 -3
  254. package/dist/actions/update-trip.d.cts.map +1 -1
  255. package/dist/actions/update-trip.d.mts +67 -3
  256. package/dist/actions/update-trip.d.mts.map +1 -1
  257. package/dist/actions/update-trip.mjs +2 -2
  258. package/dist/actions/update-trip.mjs.map +1 -1
  259. package/dist/actions/upsert-beacon-by-id.cjs +6 -6
  260. package/dist/actions/upsert-beacon-by-id.cjs.map +1 -1
  261. package/dist/actions/upsert-beacon-by-id.d.cts +53 -3
  262. package/dist/actions/upsert-beacon-by-id.d.cts.map +1 -1
  263. package/dist/actions/upsert-beacon-by-id.d.mts +53 -3
  264. package/dist/actions/upsert-beacon-by-id.d.mts.map +1 -1
  265. package/dist/actions/upsert-beacon-by-id.mjs +6 -6
  266. package/dist/actions/upsert-beacon-by-id.mjs.map +1 -1
  267. package/dist/actions/upsert-beacon-by-tag.cjs +2 -2
  268. package/dist/actions/upsert-beacon-by-tag.cjs.map +1 -1
  269. package/dist/actions/upsert-beacon-by-tag.d.cts +54 -3
  270. package/dist/actions/upsert-beacon-by-tag.d.cts.map +1 -1
  271. package/dist/actions/upsert-beacon-by-tag.d.mts +54 -3
  272. package/dist/actions/upsert-beacon-by-tag.d.mts.map +1 -1
  273. package/dist/actions/upsert-beacon-by-tag.mjs +2 -2
  274. package/dist/actions/upsert-beacon-by-tag.mjs.map +1 -1
  275. package/dist/actions/upsert-geofence-by-id.cjs +6 -6
  276. package/dist/actions/upsert-geofence-by-id.cjs.map +1 -1
  277. package/dist/actions/upsert-geofence-by-id.d.cts +48 -3
  278. package/dist/actions/upsert-geofence-by-id.d.cts.map +1 -1
  279. package/dist/actions/upsert-geofence-by-id.d.mts +48 -3
  280. package/dist/actions/upsert-geofence-by-id.d.mts.map +1 -1
  281. package/dist/actions/upsert-geofence-by-id.mjs +6 -6
  282. package/dist/actions/upsert-geofence-by-id.mjs.map +1 -1
  283. package/dist/actions/upsert-geofence.cjs +4 -4
  284. package/dist/actions/upsert-geofence.cjs.map +1 -1
  285. package/dist/actions/upsert-geofence.d.cts +40 -3
  286. package/dist/actions/upsert-geofence.d.cts.map +1 -1
  287. package/dist/actions/upsert-geofence.d.mts +40 -3
  288. package/dist/actions/upsert-geofence.d.mts.map +1 -1
  289. package/dist/actions/upsert-geofence.mjs +4 -4
  290. package/dist/actions/upsert-geofence.mjs.map +1 -1
  291. package/dist/catalog.cjs +7 -1
  292. package/dist/catalog.cjs.map +1 -1
  293. package/dist/catalog.d.cts +8 -0
  294. package/dist/catalog.d.mts +8 -0
  295. package/dist/catalog.mjs +7 -1
  296. package/dist/catalog.mjs.map +1 -1
  297. package/package.json +2 -2
@@ -7,17 +7,17 @@ const RadarGetGeofenceInput = z.object({
7
7
  externalId: z.string().describe("External identifier of the geofence. Must be used together with tag.").optional()
8
8
  }).describe("Request model for GET_GEOFENCE.\nGeofences can be looked up by Radar _id OR by tag and externalId together.");
9
9
  const RadarGetGeofence_GeometrySchema = z.object({
10
- type: z.string().describe("Geometry type: 'Point' or 'Polygon'."),
10
+ type: z.string().describe("Geometry type: 'Point' or 'Polygon'.").nullable(),
11
11
  coordinates: z.array(z.array(z.array(z.number()))).describe("Coordinates array for the geofence geometry. Nested lists for polygon vertices.")
12
12
  }).describe("Geometry details of the geofence.");
13
13
  const RadarGetGeofence_GeofenceSchema = z.object({
14
- _id: z.string().describe("Unique identifier of the geofence."),
14
+ _id: z.string().describe("Unique identifier of the geofence.").nullable(),
15
15
  tag: z.string().describe("Tag associated with the geofence.").nullable().optional(),
16
- type: z.string().describe("Type of the geofence, e.g., 'circle'."),
16
+ type: z.string().describe("Type of the geofence, e.g., 'circle'.").nullable(),
17
17
  geometry: RadarGetGeofence_GeometrySchema.nullable(),
18
18
  metadata: z.record(z.string(), z.unknown()).describe("Custom key-value data attached to the geofence.").nullable().optional(),
19
- createdAt: z.string().describe("ISO8601 timestamp when the geofence was created."),
20
- updatedAt: z.string().describe("ISO8601 timestamp when the geofence was last updated."),
19
+ createdAt: z.string().describe("ISO8601 timestamp when the geofence was created.").nullable(),
20
+ updatedAt: z.string().describe("ISO8601 timestamp when the geofence was last updated.").nullable(),
21
21
  externalId: z.string().describe("External identifier of the geofence.").nullable().optional(),
22
22
  description: z.string().describe("Description of the geofence.").nullable().optional()
23
23
  }).describe("Representation of a Radar geofence.");
@@ -1 +1 @@
1
- {"version":3,"file":"get-geofence.mjs","names":[],"sources":["../../src/actions/get-geofence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetGeofenceInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique Radar geofence identifier (e.g., '56db1f4613012711002229f5'). Use this OR tag+externalId.\").optional(),\n tag: z.string().describe(\"Tag of the geofence. Must be used together with externalId.\").optional(),\n externalId: z.string().describe(\"External identifier of the geofence. Must be used together with tag.\").optional(),\n}).describe(\"Request model for GET_GEOFENCE.\\nGeofences can be looked up by Radar _id OR by tag and externalId together.\");\nconst RadarGetGeofence_GeometrySchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Geometry type: 'Point' or 'Polygon'.\"),\n coordinates: z.array(z.array(z.array(z.number()))).describe(\"Coordinates array for the geofence geometry. Nested lists for polygon vertices.\"),\n}).describe(\"Geometry details of the geofence.\");\nconst RadarGetGeofence_GeofenceSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Unique identifier of the geofence.\"),\n tag: z.string().describe(\"Tag associated with the geofence.\").nullable().optional(),\n type: z.string().describe(\"Type of the geofence, e.g., 'circle'.\"),\n geometry: RadarGetGeofence_GeometrySchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the geofence.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the geofence was created.\"),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the geofence was last updated.\"),\n externalId: z.string().describe(\"External identifier of the geofence.\").nullable().optional(),\n description: z.string().describe(\"Description of the geofence.\").nullable().optional(),\n}).describe(\"Representation of a Radar geofence.\");\nexport const RadarGetGeofenceOutput: z.ZodTypeAny = z.object({\n geofence: RadarGetGeofence_GeofenceSchema.nullable(),\n}).describe(\"Response model for GET_GEOFENCE, wrapping the geofence object.\");\n\nexport const radarGetGeofence = action(\"RADAR_GET_GEOFENCE\", {\n slug: \"radar-get-geofence\",\n name: \"Get Geofence\",\n description: \"Tool to retrieve a geofence by Radar _id or tag/externalId. Use when you need to fetch full details of an existing geofence.\",\n input: RadarGetGeofenceInput,\n output: RadarGetGeofenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACrI,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,6GAA6G;AACzH,MAAM,kCAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC/I,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,kCAAgD,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,UAAU,gCAAgC,SAAS;CACnD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAKjD,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,UAAU,gCAAgC,SAAS,EACrD,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-geofence.mjs","names":[],"sources":["../../src/actions/get-geofence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetGeofenceInput = z.object({\n id: z.string().describe(\"Unique Radar geofence identifier (e.g., '56db1f4613012711002229f5'). Use this OR tag+externalId.\").optional(),\n tag: z.string().describe(\"Tag of the geofence. Must be used together with externalId.\").optional(),\n externalId: z.string().describe(\"External identifier of the geofence. Must be used together with tag.\").optional(),\n}).describe(\"Request model for GET_GEOFENCE.\\nGeofences can be looked up by Radar _id OR by tag and externalId together.\");\nconst RadarGetGeofence_GeometrySchema = z.object({\n type: z.string().describe(\"Geometry type: 'Point' or 'Polygon'.\").nullable(),\n coordinates: z.array(z.array(z.array(z.number()))).describe(\"Coordinates array for the geofence geometry. Nested lists for polygon vertices.\"),\n}).describe(\"Geometry details of the geofence.\");\nconst RadarGetGeofence_GeofenceSchema = z.object({\n _id: z.string().describe(\"Unique identifier of the geofence.\").nullable(),\n tag: z.string().describe(\"Tag associated with the geofence.\").nullable().optional(),\n type: z.string().describe(\"Type of the geofence, e.g., 'circle'.\").nullable(),\n geometry: RadarGetGeofence_GeometrySchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the geofence.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the geofence was created.\").nullable(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the geofence was last updated.\").nullable(),\n externalId: z.string().describe(\"External identifier of the geofence.\").nullable().optional(),\n description: z.string().describe(\"Description of the geofence.\").nullable().optional(),\n}).describe(\"Representation of a Radar geofence.\");\nexport const RadarGetGeofenceOutput = z.object({\n geofence: RadarGetGeofence_GeofenceSchema.nullable(),\n}).describe(\"Response model for GET_GEOFENCE, wrapping the geofence object.\");\n\nexport const radarGetGeofence = action(\"RADAR_GET_GEOFENCE\", {\n slug: \"radar-get-geofence\",\n name: \"Get Geofence\",\n description: \"Tool to retrieve a geofence by Radar _id or tag/externalId. Use when you need to fetch full details of an existing geofence.\",\n input: RadarGetGeofenceInput,\n output: RadarGetGeofenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACrI,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,6GAA6G;AACzH,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC/I,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,kCAAkC,EAAE,OAAO;CAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,UAAU,gCAAgC,SAAS;CACnD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAKjD,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,UAAU,gCAAgC,SAAS,EACrD,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-places-settings.ts
4
4
  const RadarGetPlacesSettingsInput = zod.z.object({}).describe("Request model for retrieving current Places settings. No parameters required.");
5
- const RadarGetPlacesSettings_MetaInfoSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP response code") }).describe("Meta information about the API response.");
5
+ const RadarGetPlacesSettings_MetaInfoSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP response code").nullable() }).describe("Meta information about the API response.");
6
6
  const RadarGetPlacesSettings_PlacesSettingsSchema = zod.z.object({
7
7
  country: zod.z.array(zod.z.string()).describe("List of supported country codes").nullable().optional(),
8
8
  chainIds: zod.z.array(zod.z.string()).describe("Allowed chain IDs").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"get-places-settings.cjs","names":["z","action"],"sources":["../../src/actions/get-places-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetPlacesSettingsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving current Places settings. No parameters required.\");\nconst RadarGetPlacesSettings_MetaInfoSchema: z.ZodTypeAny = z.object({\n code: z.number().int().describe(\"HTTP response code\"),\n}).describe(\"Meta information about the API response.\");\nconst RadarGetPlacesSettings_PlacesSettingsSchema: z.ZodTypeAny = z.object({\n country: z.array(z.string()).describe(\"List of supported country codes\").nullable().optional(),\n chainIds: z.array(z.string()).describe(\"Allowed chain IDs\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata about Places settings\").nullable().optional(),\n chainDetection: z.boolean().describe(\"Flag indicating whether chain detection is enabled\").nullable().optional(),\n externalIdRequired: z.boolean().describe(\"Flag indicating whether an external ID is required for places\").nullable().optional(),\n chainMinimumConfidence: z.number().int().describe(\"Minimum confidence for chain matching\").nullable().optional(),\n}).describe(\"Settings related to Radar Places for the project.\");\nexport const RadarGetPlacesSettingsOutput: z.ZodTypeAny = z.object({\n meta: RadarGetPlacesSettings_MetaInfoSchema.nullable(),\n places: RadarGetPlacesSettings_PlacesSettingsSchema.nullable().optional(),\n}).describe(\"Response model for retrieving current Places settings.\");\n\nexport const radarGetPlacesSettings = action(\"RADAR_GET_PLACES_SETTINGS\", {\n slug: \"radar-get-places-settings\",\n name: \"Get Places Settings\",\n description: \"Tool to retrieve current Places settings for your Radar project. Use when you need to inspect chain detection, supported countries, external ID requirements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CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-places-settings.cjs","names":["z","action"],"sources":["../../src/actions/get-places-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetPlacesSettingsInput = z.object({}).describe(\"Request model for retrieving current Places settings. No parameters required.\");\nconst RadarGetPlacesSettings_MetaInfoSchema = z.object({\n code: z.number().int().describe(\"HTTP response code\").nullable(),\n}).describe(\"Meta information about the API response.\");\nconst RadarGetPlacesSettings_PlacesSettingsSchema = z.object({\n country: z.array(z.string()).describe(\"List of supported country codes\").nullable().optional(),\n chainIds: z.array(z.string()).describe(\"Allowed chain IDs\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata about Places settings\").nullable().optional(),\n chainDetection: z.boolean().describe(\"Flag indicating whether chain detection is enabled\").nullable().optional(),\n externalIdRequired: z.boolean().describe(\"Flag indicating whether an external ID is required for places\").nullable().optional(),\n chainMinimumConfidence: z.number().int().describe(\"Minimum confidence for chain matching\").nullable().optional(),\n}).describe(\"Settings related to Radar Places for the project.\");\nexport const RadarGetPlacesSettingsOutput = z.object({\n meta: RadarGetPlacesSettings_MetaInfoSchema.nullable(),\n places: RadarGetPlacesSettings_PlacesSettingsSchema.nullable().optional(),\n}).describe(\"Response model for retrieving current Places settings.\");\n\nexport const radarGetPlacesSettings = action(\"RADAR_GET_PLACES_SETTINGS\", {\n slug: \"radar-get-places-settings\",\n name: \"Get Places Settings\",\n description: \"Tool to retrieve current Places settings for your Radar project. Use when you need to inspect chain detection, supported countries, external ID requirements, and other Places metadata.\",\n input: RadarGetPlacesSettingsInput,\n output: RadarGetPlacesSettingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,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;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-places-settings.d.ts
4
- declare const RadarGetPlacesSettingsInput: z.ZodTypeAny;
5
- declare const RadarGetPlacesSettingsOutput: z.ZodTypeAny;
6
- declare const radarGetPlacesSettings: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RadarGetPlacesSettingsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const RadarGetPlacesSettingsOutput: z.ZodObject<{
6
+ meta: z.ZodNullable<z.ZodObject<{
7
+ code: z.ZodNullable<z.ZodNumber>;
8
+ }, z.core.$strip>>;
9
+ places: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ country: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11
+ chainIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13
+ chainDetection: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
+ externalIdRequired: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ chainMinimumConfidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ }, z.core.$strip>>>;
17
+ }, z.core.$strip>;
18
+ declare const radarGetPlacesSettings: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { radarGetPlacesSettings };
9
21
  //# sourceMappingURL=get-places-settings.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-places-settings.d.cts","names":[],"sources":["../../src/actions/get-places-settings.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAAmH;AAAA,cAYlJ,4BAAA,EAA8B,CAAA,CAAE,UAGwB;AAAA,cAExD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-places-settings.d.cts","names":[],"sources":["../../src/actions/get-places-settings.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAY3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-places-settings.d.ts
4
- declare const RadarGetPlacesSettingsInput: z.ZodTypeAny;
5
- declare const RadarGetPlacesSettingsOutput: z.ZodTypeAny;
6
- declare const radarGetPlacesSettings: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RadarGetPlacesSettingsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const RadarGetPlacesSettingsOutput: z.ZodObject<{
6
+ meta: z.ZodNullable<z.ZodObject<{
7
+ code: z.ZodNullable<z.ZodNumber>;
8
+ }, z.core.$strip>>;
9
+ places: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ country: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11
+ chainIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13
+ chainDetection: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
+ externalIdRequired: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ chainMinimumConfidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ }, z.core.$strip>>>;
17
+ }, z.core.$strip>;
18
+ declare const radarGetPlacesSettings: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { radarGetPlacesSettings };
9
21
  //# sourceMappingURL=get-places-settings.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-places-settings.d.mts","names":[],"sources":["../../src/actions/get-places-settings.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAAmH;AAAA,cAYlJ,4BAAA,EAA8B,CAAA,CAAE,UAGwB;AAAA,cAExD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-places-settings.d.mts","names":[],"sources":["../../src/actions/get-places-settings.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAY3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/get-places-settings.ts
4
4
  const RadarGetPlacesSettingsInput = z.object({}).describe("Request model for retrieving current Places settings. No parameters required.");
5
- const RadarGetPlacesSettings_MetaInfoSchema = z.object({ code: z.number().int().describe("HTTP response code") }).describe("Meta information about the API response.");
5
+ const RadarGetPlacesSettings_MetaInfoSchema = z.object({ code: z.number().int().describe("HTTP response code").nullable() }).describe("Meta information about the API response.");
6
6
  const RadarGetPlacesSettings_PlacesSettingsSchema = z.object({
7
7
  country: z.array(z.string()).describe("List of supported country codes").nullable().optional(),
8
8
  chainIds: z.array(z.string()).describe("Allowed chain IDs").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"get-places-settings.mjs","names":[],"sources":["../../src/actions/get-places-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetPlacesSettingsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving current Places settings. No parameters required.\");\nconst RadarGetPlacesSettings_MetaInfoSchema: z.ZodTypeAny = z.object({\n code: z.number().int().describe(\"HTTP response code\"),\n}).describe(\"Meta information about the API response.\");\nconst RadarGetPlacesSettings_PlacesSettingsSchema: z.ZodTypeAny = z.object({\n country: z.array(z.string()).describe(\"List of supported country codes\").nullable().optional(),\n chainIds: z.array(z.string()).describe(\"Allowed chain IDs\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata about Places settings\").nullable().optional(),\n chainDetection: z.boolean().describe(\"Flag indicating whether chain detection is enabled\").nullable().optional(),\n externalIdRequired: z.boolean().describe(\"Flag indicating whether an external ID is required for places\").nullable().optional(),\n chainMinimumConfidence: z.number().int().describe(\"Minimum confidence for chain matching\").nullable().optional(),\n}).describe(\"Settings related to Radar Places for the project.\");\nexport const RadarGetPlacesSettingsOutput: z.ZodTypeAny = z.object({\n meta: RadarGetPlacesSettings_MetaInfoSchema.nullable(),\n places: RadarGetPlacesSettings_PlacesSettingsSchema.nullable().optional(),\n}).describe(\"Response model for retrieving current Places settings.\");\n\nexport const radarGetPlacesSettings = action(\"RADAR_GET_PLACES_SETTINGS\", {\n slug: \"radar-get-places-settings\",\n name: \"Get Places Settings\",\n description: \"Tool to retrieve current Places settings for your Radar project. Use when you need to inspect chain detection, supported countries, external ID requirements, and other Places metadata.\",\n input: RadarGetPlacesSettingsInput,\n output: RadarGetPlacesSettingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC9J,MAAM,wCAAsD,EAAE,OAAO,EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,EACtD,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,8CAA4D,EAAE,OAAO;CACzE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAM/D,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,MAAM,sCAAsC,SAAS;EACrD,QAAQ,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAC1E,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-places-settings.mjs","names":[],"sources":["../../src/actions/get-places-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetPlacesSettingsInput = z.object({}).describe(\"Request model for retrieving current Places settings. No parameters required.\");\nconst RadarGetPlacesSettings_MetaInfoSchema = z.object({\n code: z.number().int().describe(\"HTTP response code\").nullable(),\n}).describe(\"Meta information about the API response.\");\nconst RadarGetPlacesSettings_PlacesSettingsSchema = z.object({\n country: z.array(z.string()).describe(\"List of supported country codes\").nullable().optional(),\n chainIds: z.array(z.string()).describe(\"Allowed chain IDs\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata about Places settings\").nullable().optional(),\n chainDetection: z.boolean().describe(\"Flag indicating whether chain detection is enabled\").nullable().optional(),\n externalIdRequired: z.boolean().describe(\"Flag indicating whether an external ID is required for places\").nullable().optional(),\n chainMinimumConfidence: z.number().int().describe(\"Minimum confidence for chain matching\").nullable().optional(),\n}).describe(\"Settings related to Radar Places for the project.\");\nexport const RadarGetPlacesSettingsOutput = z.object({\n meta: RadarGetPlacesSettings_MetaInfoSchema.nullable(),\n places: RadarGetPlacesSettings_PlacesSettingsSchema.nullable().optional(),\n}).describe(\"Response model for retrieving current Places settings.\");\n\nexport const radarGetPlacesSettings = action(\"RADAR_GET_PLACES_SETTINGS\", {\n slug: \"radar-get-places-settings\",\n name: \"Get Places Settings\",\n description: \"Tool to retrieve current Places settings for your Radar project. Use when you need to inspect chain detection, supported countries, external ID requirements, and other Places metadata.\",\n input: RadarGetPlacesSettingsInput,\n output: RadarGetPlacesSettingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAChJ,MAAM,wCAAwC,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,EACjE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAM/D,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,sCAAsC,SAAS;EACrD,QAAQ,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAC1E,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
@@ -30,14 +30,14 @@ const RadarGetRouteDirectionsInput = zod.z.object({
30
30
  alternatives: zod.z.boolean().describe("Return alternative routes (only works for two-location routes). Defaults to false").optional(),
31
31
  departureTime: zod.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 = zod.z.object({ code: zod.z.number().int().describe("HTTP status code") }).describe("Metadata for the route directions response.");
33
+ const RadarGetRouteDirections_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code").nullable() }).describe("Metadata for the route directions response.");
34
34
  const RadarGetRouteDirections_DistanceInfoSchema = zod.z.object({
35
- text: zod.z.string().describe("Human-readable distance string"),
36
- value: zod.z.number().describe("Distance value in feet or meters depending on units")
35
+ text: zod.z.string().describe("Human-readable distance string").nullable(),
36
+ value: zod.z.number().describe("Distance value in feet or meters depending on units").nullable()
37
37
  }).describe("Distance information for a route segment.");
38
38
  const RadarGetRouteDirections_DurationInfoSchema = zod.z.object({
39
- text: zod.z.string().describe("Human-readable duration string"),
40
- value: zod.z.number().describe("Duration value in seconds")
39
+ text: zod.z.string().describe("Human-readable duration string").nullable(),
40
+ value: zod.z.number().describe("Duration value in seconds").nullable()
41
41
  }).describe("Duration information for a route segment.");
42
42
  const RadarGetRouteDirections_GeometryInfoSchema = zod.z.object({
43
43
  type: zod.z.string().describe("GeoJSON geometry type (when using linestring format)").nullable().optional(),
@@ -45,8 +45,8 @@ const RadarGetRouteDirections_GeometryInfoSchema = zod.z.object({
45
45
  coordinates: zod.z.array(zod.z.array(zod.z.number())).describe("List of [longitude, latitude] coordinate pairs (when using linestring format)").nullable().optional()
46
46
  }).describe("Route geometry - encoded polyline or linestring.");
47
47
  const RadarGetRouteDirections_LocationSchema = zod.z.object({
48
- latitude: zod.z.number().describe("Latitude coordinate"),
49
- longitude: zod.z.number().describe("Longitude coordinate")
48
+ latitude: zod.z.number().describe("Latitude coordinate").nullable(),
49
+ longitude: zod.z.number().describe("Longitude coordinate").nullable()
50
50
  }).describe("Geographic location with latitude and longitude.");
51
51
  const RadarGetRouteDirections_StepSchema = zod.z.object({
52
52
  mode: zod.z.string().describe("Travel mode for this step").nullable().optional(),
@@ -57,7 +57,7 @@ const RadarGetRouteDirections_StepSchema = zod.z.object({
57
57
  exit_name: zod.z.string().describe("Exit name if applicable").nullable().optional(),
58
58
  street_name: zod.z.string().describe("Street name for this step").nullable().optional(),
59
59
  end_location: RadarGetRouteDirections_LocationSchema.nullable(),
60
- instructions: zod.z.string().describe("Turn-by-turn instruction text"),
60
+ instructions: zod.z.string().describe("Turn-by-turn instruction text").nullable(),
61
61
  bearing_after: zod.z.number().describe("Compass bearing after the maneuver").nullable().optional(),
62
62
  bearing_before: zod.z.number().describe("Compass bearing before the maneuver").nullable().optional(),
63
63
  start_location: RadarGetRouteDirections_LocationSchema.nullable(),
@@ -1 +1 @@
1
- {"version":3,"file":"get-route-directions.cjs","names":["z","action"],"sources":["../../src/actions/get-route-directions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetRouteDirectionsInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n code: z.number().int().describe(\"HTTP status code\"),\n}).describe(\"Metadata for the route directions response.\");\nconst RadarGetRouteDirections_DistanceInfoSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Human-readable distance string\"),\n value: z.number().describe(\"Distance value in feet or meters depending on units\"),\n}).describe(\"Distance information for a route segment.\");\nconst RadarGetRouteDirections_DurationInfoSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Human-readable duration string\"),\n value: z.number().describe(\"Duration value in seconds\"),\n}).describe(\"Duration information for a route segment.\");\nconst RadarGetRouteDirections_GeometryInfoSchema: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n latitude: z.number().describe(\"Latitude coordinate\"),\n longitude: z.number().describe(\"Longitude coordinate\"),\n}).describe(\"Geographic location with latitude and longitude.\");\nconst RadarGetRouteDirections_StepSchema: z.ZodTypeAny = 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\"),\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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM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M,mCAAmC,CAAC,CAAC,SAAS,qDAAqD;AACrH,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAE3F,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-route-directions.cjs","names":["z","action"],"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+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAC/K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AAE,OAAO;CACpD,MAAM,mCAAmC,SAAS;CAClD,QAAQA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,qDAAqD;AACrH,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAE3F,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,124 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-route-directions.d.ts
4
- declare const RadarGetRouteDirectionsInput: z.ZodTypeAny;
5
- declare const RadarGetRouteDirectionsOutput: z.ZodTypeAny;
6
- declare const radarGetRouteDirections: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RadarGetRouteDirectionsInput: z.ZodObject<{
5
+ lang: z.ZodOptional<z.ZodEnum<{
6
+ de: "de";
7
+ en: "en";
8
+ es: "es";
9
+ fr: "fr";
10
+ ja: "ja";
11
+ ko: "ko";
12
+ pt: "pt";
13
+ ru: "ru";
14
+ }>>;
15
+ mode: z.ZodOptional<z.ZodEnum<{
16
+ car: "car";
17
+ truck: "truck";
18
+ foot: "foot";
19
+ bike: "bike";
20
+ }>>;
21
+ avoid: z.ZodOptional<z.ZodString>;
22
+ units: z.ZodOptional<z.ZodEnum<{
23
+ metric: "metric";
24
+ imperial: "imperial";
25
+ }>>;
26
+ heading: z.ZodOptional<z.ZodNumber>;
27
+ geometry: z.ZodOptional<z.ZodEnum<{
28
+ linestring: "linestring";
29
+ polyline5: "polyline5";
30
+ polyline6: "polyline6";
31
+ }>>;
32
+ locations: z.ZodString;
33
+ alternatives: z.ZodOptional<z.ZodBoolean>;
34
+ departureTime: z.ZodOptional<z.ZodString>;
35
+ }, z.core.$strip>;
36
+ declare const RadarGetRouteDirectionsOutput: z.ZodObject<{
37
+ meta: z.ZodNullable<z.ZodObject<{
38
+ code: z.ZodNullable<z.ZodNumber>;
39
+ }, z.core.$strip>>;
40
+ routes: z.ZodArray<z.ZodObject<{
41
+ legs: z.ZodArray<z.ZodObject<{
42
+ steps: z.ZodArray<z.ZodObject<{
43
+ mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ distance: z.ZodNullable<z.ZodObject<{
45
+ text: z.ZodNullable<z.ZodString>;
46
+ value: z.ZodNullable<z.ZodNumber>;
47
+ }, z.core.$strip>>;
48
+ duration: z.ZodNullable<z.ZodObject<{
49
+ text: z.ZodNullable<z.ZodString>;
50
+ value: z.ZodNullable<z.ZodNumber>;
51
+ }, z.core.$strip>>;
52
+ geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
53
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
56
+ }, z.core.$strip>>>;
57
+ maneuver: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ exit_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ street_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ end_location: z.ZodNullable<z.ZodObject<{
61
+ latitude: z.ZodNullable<z.ZodNumber>;
62
+ longitude: z.ZodNullable<z.ZodNumber>;
63
+ }, z.core.$strip>>;
64
+ instructions: z.ZodNullable<z.ZodString>;
65
+ bearing_after: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
66
+ bearing_before: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
67
+ start_location: z.ZodNullable<z.ZodObject<{
68
+ latitude: z.ZodNullable<z.ZodNumber>;
69
+ longitude: z.ZodNullable<z.ZodNumber>;
70
+ }, z.core.$strip>>;
71
+ voice_instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
+ banner_instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
+ }, z.core.$strip>>;
74
+ distance: z.ZodNullable<z.ZodObject<{
75
+ text: z.ZodNullable<z.ZodString>;
76
+ value: z.ZodNullable<z.ZodNumber>;
77
+ }, z.core.$strip>>;
78
+ duration: z.ZodNullable<z.ZodObject<{
79
+ text: z.ZodNullable<z.ZodString>;
80
+ value: z.ZodNullable<z.ZodNumber>;
81
+ }, z.core.$strip>>;
82
+ geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
83
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
+ polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85
+ coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
86
+ }, z.core.$strip>>>;
87
+ endLocation: z.ZodNullable<z.ZodObject<{
88
+ latitude: z.ZodNullable<z.ZodNumber>;
89
+ longitude: z.ZodNullable<z.ZodNumber>;
90
+ }, z.core.$strip>>;
91
+ startLocation: z.ZodNullable<z.ZodObject<{
92
+ latitude: z.ZodNullable<z.ZodNumber>;
93
+ longitude: z.ZodNullable<z.ZodNumber>;
94
+ }, z.core.$strip>>;
95
+ }, z.core.$strip>>;
96
+ distance: z.ZodNullable<z.ZodObject<{
97
+ text: z.ZodNullable<z.ZodString>;
98
+ value: z.ZodNullable<z.ZodNumber>;
99
+ }, z.core.$strip>>;
100
+ duration: z.ZodNullable<z.ZodObject<{
101
+ text: z.ZodNullable<z.ZodString>;
102
+ value: z.ZodNullable<z.ZodNumber>;
103
+ }, z.core.$strip>>;
104
+ geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
105
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
106
+ polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
107
+ coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
108
+ }, z.core.$strip>>>;
109
+ }, z.core.$strip>>;
110
+ }, z.core.$strip>;
111
+ declare const radarGetRouteDirections: import("@keystrokehq/action").WorkflowActionDefinition<{
112
+ locations: string;
113
+ lang?: "de" | "en" | "es" | "fr" | "ja" | "ko" | "pt" | "ru" | undefined;
114
+ mode?: "car" | "truck" | "foot" | "bike" | undefined;
115
+ avoid?: string | undefined;
116
+ units?: "metric" | "imperial" | undefined;
117
+ heading?: number | undefined;
118
+ geometry?: "linestring" | "polyline5" | "polyline6" | undefined;
119
+ alternatives?: boolean | undefined;
120
+ departureTime?: string | undefined;
121
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
122
  //#endregion
8
123
  export { radarGetRouteDirections };
9
124
  //# sourceMappingURL=get-route-directions.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-route-directions.d.cts","names":[],"sources":["../../src/actions/get-route-directions.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAU+C;AAAA,cAmD/E,6BAAA,EAA+B,CAAA,CAAE,UAG8C;AAAA,cAE/E,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-route-directions.d.cts","names":[],"sources":["../../src/actions/get-route-directions.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6D5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,124 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-route-directions.d.ts
4
- declare const RadarGetRouteDirectionsInput: z.ZodTypeAny;
5
- declare const RadarGetRouteDirectionsOutput: z.ZodTypeAny;
6
- declare const radarGetRouteDirections: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RadarGetRouteDirectionsInput: z.ZodObject<{
5
+ lang: z.ZodOptional<z.ZodEnum<{
6
+ de: "de";
7
+ en: "en";
8
+ es: "es";
9
+ fr: "fr";
10
+ ja: "ja";
11
+ ko: "ko";
12
+ pt: "pt";
13
+ ru: "ru";
14
+ }>>;
15
+ mode: z.ZodOptional<z.ZodEnum<{
16
+ car: "car";
17
+ truck: "truck";
18
+ foot: "foot";
19
+ bike: "bike";
20
+ }>>;
21
+ avoid: z.ZodOptional<z.ZodString>;
22
+ units: z.ZodOptional<z.ZodEnum<{
23
+ metric: "metric";
24
+ imperial: "imperial";
25
+ }>>;
26
+ heading: z.ZodOptional<z.ZodNumber>;
27
+ geometry: z.ZodOptional<z.ZodEnum<{
28
+ linestring: "linestring";
29
+ polyline5: "polyline5";
30
+ polyline6: "polyline6";
31
+ }>>;
32
+ locations: z.ZodString;
33
+ alternatives: z.ZodOptional<z.ZodBoolean>;
34
+ departureTime: z.ZodOptional<z.ZodString>;
35
+ }, z.core.$strip>;
36
+ declare const RadarGetRouteDirectionsOutput: z.ZodObject<{
37
+ meta: z.ZodNullable<z.ZodObject<{
38
+ code: z.ZodNullable<z.ZodNumber>;
39
+ }, z.core.$strip>>;
40
+ routes: z.ZodArray<z.ZodObject<{
41
+ legs: z.ZodArray<z.ZodObject<{
42
+ steps: z.ZodArray<z.ZodObject<{
43
+ mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ distance: z.ZodNullable<z.ZodObject<{
45
+ text: z.ZodNullable<z.ZodString>;
46
+ value: z.ZodNullable<z.ZodNumber>;
47
+ }, z.core.$strip>>;
48
+ duration: z.ZodNullable<z.ZodObject<{
49
+ text: z.ZodNullable<z.ZodString>;
50
+ value: z.ZodNullable<z.ZodNumber>;
51
+ }, z.core.$strip>>;
52
+ geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
53
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
56
+ }, z.core.$strip>>>;
57
+ maneuver: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ exit_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ street_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ end_location: z.ZodNullable<z.ZodObject<{
61
+ latitude: z.ZodNullable<z.ZodNumber>;
62
+ longitude: z.ZodNullable<z.ZodNumber>;
63
+ }, z.core.$strip>>;
64
+ instructions: z.ZodNullable<z.ZodString>;
65
+ bearing_after: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
66
+ bearing_before: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
67
+ start_location: z.ZodNullable<z.ZodObject<{
68
+ latitude: z.ZodNullable<z.ZodNumber>;
69
+ longitude: z.ZodNullable<z.ZodNumber>;
70
+ }, z.core.$strip>>;
71
+ voice_instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
+ banner_instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
+ }, z.core.$strip>>;
74
+ distance: z.ZodNullable<z.ZodObject<{
75
+ text: z.ZodNullable<z.ZodString>;
76
+ value: z.ZodNullable<z.ZodNumber>;
77
+ }, z.core.$strip>>;
78
+ duration: z.ZodNullable<z.ZodObject<{
79
+ text: z.ZodNullable<z.ZodString>;
80
+ value: z.ZodNullable<z.ZodNumber>;
81
+ }, z.core.$strip>>;
82
+ geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
83
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
+ polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85
+ coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
86
+ }, z.core.$strip>>>;
87
+ endLocation: z.ZodNullable<z.ZodObject<{
88
+ latitude: z.ZodNullable<z.ZodNumber>;
89
+ longitude: z.ZodNullable<z.ZodNumber>;
90
+ }, z.core.$strip>>;
91
+ startLocation: z.ZodNullable<z.ZodObject<{
92
+ latitude: z.ZodNullable<z.ZodNumber>;
93
+ longitude: z.ZodNullable<z.ZodNumber>;
94
+ }, z.core.$strip>>;
95
+ }, z.core.$strip>>;
96
+ distance: z.ZodNullable<z.ZodObject<{
97
+ text: z.ZodNullable<z.ZodString>;
98
+ value: z.ZodNullable<z.ZodNumber>;
99
+ }, z.core.$strip>>;
100
+ duration: z.ZodNullable<z.ZodObject<{
101
+ text: z.ZodNullable<z.ZodString>;
102
+ value: z.ZodNullable<z.ZodNumber>;
103
+ }, z.core.$strip>>;
104
+ geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
105
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
106
+ polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
107
+ coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
108
+ }, z.core.$strip>>>;
109
+ }, z.core.$strip>>;
110
+ }, z.core.$strip>;
111
+ declare const radarGetRouteDirections: import("@keystrokehq/action").WorkflowActionDefinition<{
112
+ locations: string;
113
+ lang?: "de" | "en" | "es" | "fr" | "ja" | "ko" | "pt" | "ru" | undefined;
114
+ mode?: "car" | "truck" | "foot" | "bike" | undefined;
115
+ avoid?: string | undefined;
116
+ units?: "metric" | "imperial" | undefined;
117
+ heading?: number | undefined;
118
+ geometry?: "linestring" | "polyline5" | "polyline6" | undefined;
119
+ alternatives?: boolean | undefined;
120
+ departureTime?: string | undefined;
121
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
122
  //#endregion
8
123
  export { radarGetRouteDirections };
9
124
  //# sourceMappingURL=get-route-directions.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-route-directions.d.mts","names":[],"sources":["../../src/actions/get-route-directions.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAU+C;AAAA,cAmD/E,6BAAA,EAA+B,CAAA,CAAE,UAG8C;AAAA,cAE/E,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-route-directions.d.mts","names":[],"sources":["../../src/actions/get-route-directions.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6D5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
@@ -30,14 +30,14 @@ 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") }).describe("Metadata for the route directions response.");
33
+ const RadarGetRouteDirections_MetaSchema = z.object({ code: z.number().int().describe("HTTP status code").nullable() }).describe("Metadata for the route directions response.");
34
34
  const RadarGetRouteDirections_DistanceInfoSchema = z.object({
35
- text: z.string().describe("Human-readable distance string"),
36
- value: z.number().describe("Distance value in feet or meters depending on units")
35
+ text: z.string().describe("Human-readable distance string").nullable(),
36
+ value: z.number().describe("Distance value in feet or meters depending on units").nullable()
37
37
  }).describe("Distance information for a route segment.");
38
38
  const RadarGetRouteDirections_DurationInfoSchema = z.object({
39
- text: z.string().describe("Human-readable duration string"),
40
- value: z.number().describe("Duration value in seconds")
39
+ text: z.string().describe("Human-readable duration string").nullable(),
40
+ value: z.number().describe("Duration value in seconds").nullable()
41
41
  }).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(),
@@ -45,8 +45,8 @@ const RadarGetRouteDirections_GeometryInfoSchema = z.object({
45
45
  coordinates: z.array(z.array(z.number())).describe("List of [longitude, latitude] coordinate pairs (when using linestring format)").nullable().optional()
46
46
  }).describe("Route geometry - encoded polyline or linestring.");
47
47
  const RadarGetRouteDirections_LocationSchema = z.object({
48
- latitude: z.number().describe("Latitude coordinate"),
49
- longitude: z.number().describe("Longitude coordinate")
48
+ latitude: z.number().describe("Latitude coordinate").nullable(),
49
+ longitude: z.number().describe("Longitude coordinate").nullable()
50
50
  }).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(),
@@ -57,7 +57,7 @@ const RadarGetRouteDirections_StepSchema = z.object({
57
57
  exit_name: z.string().describe("Exit name if applicable").nullable().optional(),
58
58
  street_name: z.string().describe("Street name for this step").nullable().optional(),
59
59
  end_location: RadarGetRouteDirections_LocationSchema.nullable(),
60
- instructions: z.string().describe("Turn-by-turn instruction text"),
60
+ instructions: z.string().describe("Turn-by-turn instruction text").nullable(),
61
61
  bearing_after: z.number().describe("Compass bearing after the maneuver").nullable().optional(),
62
62
  bearing_before: z.number().describe("Compass bearing before the maneuver").nullable().optional(),
63
63
  start_location: RadarGetRouteDirections_LocationSchema.nullable(),