@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
@@ -9,7 +9,7 @@ const RadarGetGeofenceInput = zod.z.object({
9
9
  const RadarGetGeofence_GeometrySchema = zod.z.object({
10
10
  type: zod.z.string().describe("Geometry type: 'Point' or 'Polygon'.").nullable(),
11
11
  coordinates: zod.z.array(zod.z.array(zod.z.array(zod.z.number()))).describe("Coordinates array for the geofence geometry. Nested lists for polygon vertices.")
12
- }).describe("Geometry details of the geofence.");
12
+ }).passthrough().describe("Geometry details of the geofence.");
13
13
  const RadarGetGeofence_GeofenceSchema = zod.z.object({
14
14
  _id: zod.z.string().describe("Unique identifier of the geofence.").nullable(),
15
15
  tag: zod.z.string().describe("Tag associated with the geofence.").nullable().optional(),
@@ -20,8 +20,8 @@ const RadarGetGeofence_GeofenceSchema = zod.z.object({
20
20
  updatedAt: zod.z.string().describe("ISO8601 timestamp when the geofence was last updated.").nullable(),
21
21
  externalId: zod.z.string().describe("External identifier of the geofence.").nullable().optional(),
22
22
  description: zod.z.string().describe("Description of the geofence.").nullable().optional()
23
- }).describe("Representation of a Radar geofence.");
24
- const RadarGetGeofenceOutput = zod.z.object({ geofence: RadarGetGeofence_GeofenceSchema.nullable() }).describe("Response model for GET_GEOFENCE, wrapping the geofence object.");
23
+ }).passthrough().describe("Representation of a Radar geofence.");
24
+ const RadarGetGeofenceOutput = zod.z.object({ geofence: RadarGetGeofence_GeofenceSchema.nullable() }).passthrough().describe("Response model for GET_GEOFENCE, wrapping the geofence object.");
25
25
  const radarGetGeofence = require_action.action("RADAR_GET_GEOFENCE", {
26
26
  slug: "radar-get-geofence",
27
27
  name: "Get Geofence",
@@ -1 +1 @@
1
- {"version":3,"file":"get-geofence.cjs","names":["z","action"],"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,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACrI,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,6GAA6G;AACzH,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC/I,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,UAAU,gCAAgC,SAAS;CACnD,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,UAAU,gCAAgC,SAAS,EACrD,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-geofence.cjs","names":["z","action"],"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}).passthrough().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}).passthrough().describe(\"Representation of a Radar geofence.\");\nexport const RadarGetGeofenceOutput = z.object({\n geofence: RadarGetGeofence_GeofenceSchema.nullable(),\n}).passthrough().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,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACrI,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACnH,CAAC,CA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yBA,IAAAA,EAAE,OAAO,EAC7C,UAAU,gCAAgC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -14,14 +14,14 @@ declare const RadarGetGeofenceOutput: z.ZodObject<{
14
14
  geometry: z.ZodNullable<z.ZodObject<{
15
15
  type: z.ZodNullable<z.ZodString>;
16
16
  coordinates: z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber>>>;
17
- }, z.core.$strip>>;
17
+ }, z.core.$loose>>;
18
18
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19
19
  createdAt: z.ZodNullable<z.ZodString>;
20
20
  updatedAt: z.ZodNullable<z.ZodString>;
21
21
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>>;
24
- }, z.core.$strip>;
23
+ }, z.core.$loose>>;
24
+ }, z.core.$loose>;
25
25
  declare const radarGetGeofence: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  id?: string | undefined;
27
27
  tag?: string | undefined;
@@ -14,14 +14,14 @@ declare const RadarGetGeofenceOutput: z.ZodObject<{
14
14
  geometry: z.ZodNullable<z.ZodObject<{
15
15
  type: z.ZodNullable<z.ZodString>;
16
16
  coordinates: z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber>>>;
17
- }, z.core.$strip>>;
17
+ }, z.core.$loose>>;
18
18
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19
19
  createdAt: z.ZodNullable<z.ZodString>;
20
20
  updatedAt: z.ZodNullable<z.ZodString>;
21
21
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>>;
24
- }, z.core.$strip>;
23
+ }, z.core.$loose>>;
24
+ }, z.core.$loose>;
25
25
  declare const radarGetGeofence: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  id?: string | undefined;
27
27
  tag?: string | undefined;
@@ -9,7 +9,7 @@ const RadarGetGeofenceInput = z.object({
9
9
  const RadarGetGeofence_GeometrySchema = z.object({
10
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
- }).describe("Geometry details of the geofence.");
12
+ }).passthrough().describe("Geometry details of the geofence.");
13
13
  const RadarGetGeofence_GeofenceSchema = z.object({
14
14
  _id: z.string().describe("Unique identifier of the geofence.").nullable(),
15
15
  tag: z.string().describe("Tag associated with the geofence.").nullable().optional(),
@@ -20,13 +20,13 @@ const RadarGetGeofence_GeofenceSchema = z.object({
20
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
- }).describe("Representation of a Radar geofence.");
23
+ }).passthrough().describe("Representation of a Radar geofence.");
24
24
  const radarGetGeofence = action("RADAR_GET_GEOFENCE", {
25
25
  slug: "radar-get-geofence",
26
26
  name: "Get Geofence",
27
27
  description: "Tool to retrieve a geofence by Radar _id or tag/externalId. Use when you need to fetch full details of an existing geofence.",
28
28
  input: RadarGetGeofenceInput,
29
- output: z.object({ geofence: RadarGetGeofence_GeofenceSchema.nullable() }).describe("Response model for GET_GEOFENCE, wrapping the geofence object.")
29
+ output: z.object({ geofence: RadarGetGeofence_GeofenceSchema.nullable() }).passthrough().describe("Response model for GET_GEOFENCE, wrapping the geofence object.")
30
30
  });
31
31
  //#endregion
32
32
  export { radarGetGeofence };
@@ -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.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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AAC,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"}
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}).passthrough().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}).passthrough().describe(\"Representation of a Radar geofence.\");\nexport const RadarGetGeofenceOutput = z.object({\n geofence: RadarGetGeofence_GeofenceSchema.nullable(),\n}).passthrough().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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,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,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAK/D,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,UAAU,gCAAgC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;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").nullable() }).describe("Meta information about the API response.");
5
+ const RadarGetPlacesSettings_MetaInfoSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP response code").nullable() }).passthrough().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(),
@@ -10,11 +10,11 @@ const RadarGetPlacesSettings_PlacesSettingsSchema = zod.z.object({
10
10
  chainDetection: zod.z.boolean().describe("Flag indicating whether chain detection is enabled").nullable().optional(),
11
11
  externalIdRequired: zod.z.boolean().describe("Flag indicating whether an external ID is required for places").nullable().optional(),
12
12
  chainMinimumConfidence: zod.z.number().int().describe("Minimum confidence for chain matching").nullable().optional()
13
- }).describe("Settings related to Radar Places for the project.");
13
+ }).passthrough().describe("Settings related to Radar Places for the project.");
14
14
  const RadarGetPlacesSettingsOutput = zod.z.object({
15
15
  meta: RadarGetPlacesSettings_MetaInfoSchema.nullable(),
16
16
  places: RadarGetPlacesSettings_PlacesSettingsSchema.nullable().optional()
17
- }).describe("Response model for retrieving current Places settings.");
17
+ }).passthrough().describe("Response model for retrieving current Places settings.");
18
18
  const radarGetPlacesSettings = require_action.action("RADAR_GET_PLACES_SETTINGS", {
19
19
  slug: "radar-get-places-settings",
20
20
  name: "Get Places Settings",
@@ -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.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,CAAC,CAAC,SAAS,+EAA+E;AAChJ,MAAM,wCAAwCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,EACjE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,sCAAsC,SAAS;CACrD,QAAQ,4CAA4C,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,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}).passthrough().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}).passthrough().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}).passthrough().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,CAAC,CAAC,SAAS,+EAA+E;AAChJ,MAAM,wCAAwCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,sCAAsC,SAAS;CACrD,QAAQ,4CAA4C,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,7 +5,7 @@ declare const RadarGetPlacesSettingsInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const RadarGetPlacesSettingsOutput: z.ZodObject<{
6
6
  meta: z.ZodNullable<z.ZodObject<{
7
7
  code: z.ZodNullable<z.ZodNumber>;
8
- }, z.core.$strip>>;
8
+ }, z.core.$loose>>;
9
9
  places: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
10
  country: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11
11
  chainIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
@@ -13,8 +13,8 @@ declare const RadarGetPlacesSettingsOutput: z.ZodObject<{
13
13
  chainDetection: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
14
  externalIdRequired: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
15
  chainMinimumConfidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
- }, z.core.$strip>>>;
17
- }, z.core.$strip>;
16
+ }, z.core.$loose>>>;
17
+ }, z.core.$loose>;
18
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]>;
19
19
  //#endregion
20
20
  export { radarGetPlacesSettings };
@@ -5,7 +5,7 @@ declare const RadarGetPlacesSettingsInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const RadarGetPlacesSettingsOutput: z.ZodObject<{
6
6
  meta: z.ZodNullable<z.ZodObject<{
7
7
  code: z.ZodNullable<z.ZodNumber>;
8
- }, z.core.$strip>>;
8
+ }, z.core.$loose>>;
9
9
  places: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
10
  country: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
11
11
  chainIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
@@ -13,8 +13,8 @@ declare const RadarGetPlacesSettingsOutput: z.ZodObject<{
13
13
  chainDetection: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
14
  externalIdRequired: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
15
  chainMinimumConfidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
- }, z.core.$strip>>>;
17
- }, z.core.$strip>;
16
+ }, z.core.$loose>>>;
17
+ }, z.core.$loose>;
18
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]>;
19
19
  //#endregion
20
20
  export { radarGetPlacesSettings };
@@ -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").nullable() }).describe("Meta information about the API response.");
5
+ const RadarGetPlacesSettings_MetaInfoSchema = z.object({ code: z.number().int().describe("HTTP response code").nullable() }).passthrough().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(),
@@ -10,7 +10,7 @@ const RadarGetPlacesSettings_PlacesSettingsSchema = z.object({
10
10
  chainDetection: z.boolean().describe("Flag indicating whether chain detection is enabled").nullable().optional(),
11
11
  externalIdRequired: z.boolean().describe("Flag indicating whether an external ID is required for places").nullable().optional(),
12
12
  chainMinimumConfidence: z.number().int().describe("Minimum confidence for chain matching").nullable().optional()
13
- }).describe("Settings related to Radar Places for the project.");
13
+ }).passthrough().describe("Settings related to Radar Places for the project.");
14
14
  const radarGetPlacesSettings = action("RADAR_GET_PLACES_SETTINGS", {
15
15
  slug: "radar-get-places-settings",
16
16
  name: "Get Places Settings",
@@ -19,7 +19,7 @@ const radarGetPlacesSettings = action("RADAR_GET_PLACES_SETTINGS", {
19
19
  output: z.object({
20
20
  meta: RadarGetPlacesSettings_MetaInfoSchema.nullable(),
21
21
  places: RadarGetPlacesSettings_PlacesSettingsSchema.nullable().optional()
22
- }).describe("Response model for retrieving current Places settings.")
22
+ }).passthrough().describe("Response model for retrieving current Places settings.")
23
23
  });
24
24
  //#endregion
25
25
  export { radarGetPlacesSettings };
@@ -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.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"}
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}).passthrough().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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,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,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAM7E,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,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
@@ -30,24 +30,24 @@ 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").nullable() }).describe("Metadata for the route directions response.");
33
+ const RadarGetRouteDirections_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code").nullable() }).passthrough().describe("Metadata for the route directions response.");
34
34
  const RadarGetRouteDirections_DistanceInfoSchema = zod.z.object({
35
35
  text: zod.z.string().describe("Human-readable distance string").nullable(),
36
36
  value: zod.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 = zod.z.object({
39
39
  text: zod.z.string().describe("Human-readable duration string").nullable(),
40
40
  value: zod.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 = zod.z.object({
43
43
  type: zod.z.string().describe("GeoJSON geometry type (when using linestring format)").nullable().optional(),
44
44
  polyline: zod.z.string().describe("Encoded polyline string representing the route path").nullable().optional(),
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
- }).describe("Route geometry - encoded polyline or linestring.");
46
+ }).passthrough().describe("Route geometry - encoded polyline or linestring.");
47
47
  const RadarGetRouteDirections_LocationSchema = zod.z.object({
48
48
  latitude: zod.z.number().describe("Latitude coordinate").nullable(),
49
49
  longitude: zod.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 = zod.z.object({
52
52
  mode: zod.z.string().describe("Travel mode for this step").nullable().optional(),
53
53
  distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),
@@ -63,7 +63,7 @@ const RadarGetRouteDirections_StepSchema = zod.z.object({
63
63
  start_location: RadarGetRouteDirections_LocationSchema.nullable(),
64
64
  voice_instructions: zod.z.string().describe("Voice instruction text for navigation").nullable().optional(),
65
65
  banner_instructions: zod.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 = zod.z.object({
68
68
  steps: zod.z.array(RadarGetRouteDirections_StepSchema).describe("Turn-by-turn direction steps for this leg"),
69
69
  distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),
@@ -71,17 +71,17 @@ const RadarGetRouteDirections_LegSchema = zod.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 = zod.z.object({
76
76
  legs: zod.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 RadarGetRouteDirectionsOutput = zod.z.object({
82
82
  meta: RadarGetRouteDirections_MetaSchema.nullable(),
83
83
  routes: zod.z.array(RadarGetRouteDirections_RouteSchema).describe("List of routes (multiple if alternatives requested)")
84
- }).describe("Response model containing turn-by-turn directions between multiple locations.");
84
+ }).passthrough().describe("Response model containing turn-by-turn directions between multiple locations.");
85
85
  const radarGetRouteDirections = require_action.action("RADAR_GET_ROUTE_DIRECTIONS", {
86
86
  slug: "radar-get-route-directions",
87
87
  name: "Get Route Directions",
@@ -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.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,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAS;EAAQ;CAAM,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC9I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC7I,OAAOA,IAAAA,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACjI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACrH,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CACnL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;CACxK,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACjI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,qCAAqCA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS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ACzE,aAAa,uCAAuC,SAAS;CAC7D,eAAe,uCAAuC,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,kDAAkD;CAC5G,UAAU,2CAA2C,SAAS;CAC9D,UAAU,2CAA2C,SAAS;CAC9D,UAAU,2CAA2C,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,gCAAgCA,IAAAA,EAAE,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
+ {"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}).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: 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,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAS;EAAQ;CAAM,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC9I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC7I,OAAOA,IAAAA,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACjI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACrH,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CACnL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;CACxK,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACjI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,q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CAAC,SAAS,uCAAuC;AACjE,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,2CAA2C;CACvG,UAAU,2CAA2C,SAAS;CAC9D,UAAU,2CAA2C,SAAS;CAC9D,UAAU,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACzE,aAAa,uCAAuC,SAAS;CAC7D,eAAe,uCAAuC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,kDAAkD;CAC5G,UAAU,2CAA2C,SAAS;CAC9D,UAAU,2CAA2C,SAAS;CAC9D,UAAU,2CAA2C,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAM,mCAAmC,SAAS;CAClD,QAAQA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,qDAAqD;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAA+E;AAEzG,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -14,9 +14,9 @@ declare const RadarGetRouteDirectionsInput: z.ZodObject<{
14
14
  }>>;
15
15
  mode: z.ZodOptional<z.ZodEnum<{
16
16
  car: "car";
17
- truck: "truck";
18
17
  foot: "foot";
19
18
  bike: "bike";
19
+ truck: "truck";
20
20
  }>>;
21
21
  avoid: z.ZodOptional<z.ZodString>;
22
22
  units: z.ZodOptional<z.ZodEnum<{
@@ -36,7 +36,7 @@ declare const RadarGetRouteDirectionsInput: z.ZodObject<{
36
36
  declare const RadarGetRouteDirectionsOutput: z.ZodObject<{
37
37
  meta: z.ZodNullable<z.ZodObject<{
38
38
  code: z.ZodNullable<z.ZodNumber>;
39
- }, z.core.$strip>>;
39
+ }, z.core.$loose>>;
40
40
  routes: z.ZodArray<z.ZodObject<{
41
41
  legs: z.ZodArray<z.ZodObject<{
42
42
  steps: z.ZodArray<z.ZodObject<{
@@ -44,74 +44,74 @@ declare const RadarGetRouteDirectionsOutput: z.ZodObject<{
44
44
  distance: z.ZodNullable<z.ZodObject<{
45
45
  text: z.ZodNullable<z.ZodString>;
46
46
  value: z.ZodNullable<z.ZodNumber>;
47
- }, z.core.$strip>>;
47
+ }, z.core.$loose>>;
48
48
  duration: z.ZodNullable<z.ZodObject<{
49
49
  text: z.ZodNullable<z.ZodString>;
50
50
  value: z.ZodNullable<z.ZodNumber>;
51
- }, z.core.$strip>>;
51
+ }, z.core.$loose>>;
52
52
  geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
53
53
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
54
  polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
55
  coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
56
- }, z.core.$strip>>>;
56
+ }, z.core.$loose>>>;
57
57
  maneuver: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
58
  exit_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
59
  street_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
60
  end_location: z.ZodNullable<z.ZodObject<{
61
61
  latitude: z.ZodNullable<z.ZodNumber>;
62
62
  longitude: z.ZodNullable<z.ZodNumber>;
63
- }, z.core.$strip>>;
63
+ }, z.core.$loose>>;
64
64
  instructions: z.ZodNullable<z.ZodString>;
65
65
  bearing_after: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
66
66
  bearing_before: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
67
67
  start_location: z.ZodNullable<z.ZodObject<{
68
68
  latitude: z.ZodNullable<z.ZodNumber>;
69
69
  longitude: z.ZodNullable<z.ZodNumber>;
70
- }, z.core.$strip>>;
70
+ }, z.core.$loose>>;
71
71
  voice_instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
72
  banner_instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
- }, z.core.$strip>>;
73
+ }, z.core.$loose>>;
74
74
  distance: z.ZodNullable<z.ZodObject<{
75
75
  text: z.ZodNullable<z.ZodString>;
76
76
  value: z.ZodNullable<z.ZodNumber>;
77
- }, z.core.$strip>>;
77
+ }, z.core.$loose>>;
78
78
  duration: z.ZodNullable<z.ZodObject<{
79
79
  text: z.ZodNullable<z.ZodString>;
80
80
  value: z.ZodNullable<z.ZodNumber>;
81
- }, z.core.$strip>>;
81
+ }, z.core.$loose>>;
82
82
  geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
83
83
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
84
  polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85
85
  coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
86
- }, z.core.$strip>>>;
86
+ }, z.core.$loose>>>;
87
87
  endLocation: z.ZodNullable<z.ZodObject<{
88
88
  latitude: z.ZodNullable<z.ZodNumber>;
89
89
  longitude: z.ZodNullable<z.ZodNumber>;
90
- }, z.core.$strip>>;
90
+ }, z.core.$loose>>;
91
91
  startLocation: z.ZodNullable<z.ZodObject<{
92
92
  latitude: z.ZodNullable<z.ZodNumber>;
93
93
  longitude: z.ZodNullable<z.ZodNumber>;
94
- }, z.core.$strip>>;
95
- }, z.core.$strip>>;
94
+ }, z.core.$loose>>;
95
+ }, z.core.$loose>>;
96
96
  distance: z.ZodNullable<z.ZodObject<{
97
97
  text: z.ZodNullable<z.ZodString>;
98
98
  value: z.ZodNullable<z.ZodNumber>;
99
- }, z.core.$strip>>;
99
+ }, z.core.$loose>>;
100
100
  duration: z.ZodNullable<z.ZodObject<{
101
101
  text: z.ZodNullable<z.ZodString>;
102
102
  value: z.ZodNullable<z.ZodNumber>;
103
- }, z.core.$strip>>;
103
+ }, z.core.$loose>>;
104
104
  geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
105
105
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
106
106
  polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
107
107
  coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
108
- }, z.core.$strip>>>;
109
- }, z.core.$strip>>;
110
- }, z.core.$strip>;
108
+ }, z.core.$loose>>>;
109
+ }, z.core.$loose>>;
110
+ }, z.core.$loose>;
111
111
  declare const radarGetRouteDirections: import("@keystrokehq/action").WorkflowActionDefinition<{
112
112
  locations: string;
113
113
  lang?: "de" | "en" | "es" | "fr" | "ja" | "ko" | "pt" | "ru" | undefined;
114
- mode?: "car" | "truck" | "foot" | "bike" | undefined;
114
+ mode?: "car" | "foot" | "bike" | "truck" | undefined;
115
115
  avoid?: string | undefined;
116
116
  units?: "metric" | "imperial" | undefined;
117
117
  heading?: number | undefined;
@@ -14,9 +14,9 @@ declare const RadarGetRouteDirectionsInput: z.ZodObject<{
14
14
  }>>;
15
15
  mode: z.ZodOptional<z.ZodEnum<{
16
16
  car: "car";
17
- truck: "truck";
18
17
  foot: "foot";
19
18
  bike: "bike";
19
+ truck: "truck";
20
20
  }>>;
21
21
  avoid: z.ZodOptional<z.ZodString>;
22
22
  units: z.ZodOptional<z.ZodEnum<{
@@ -36,7 +36,7 @@ declare const RadarGetRouteDirectionsInput: z.ZodObject<{
36
36
  declare const RadarGetRouteDirectionsOutput: z.ZodObject<{
37
37
  meta: z.ZodNullable<z.ZodObject<{
38
38
  code: z.ZodNullable<z.ZodNumber>;
39
- }, z.core.$strip>>;
39
+ }, z.core.$loose>>;
40
40
  routes: z.ZodArray<z.ZodObject<{
41
41
  legs: z.ZodArray<z.ZodObject<{
42
42
  steps: z.ZodArray<z.ZodObject<{
@@ -44,74 +44,74 @@ declare const RadarGetRouteDirectionsOutput: z.ZodObject<{
44
44
  distance: z.ZodNullable<z.ZodObject<{
45
45
  text: z.ZodNullable<z.ZodString>;
46
46
  value: z.ZodNullable<z.ZodNumber>;
47
- }, z.core.$strip>>;
47
+ }, z.core.$loose>>;
48
48
  duration: z.ZodNullable<z.ZodObject<{
49
49
  text: z.ZodNullable<z.ZodString>;
50
50
  value: z.ZodNullable<z.ZodNumber>;
51
- }, z.core.$strip>>;
51
+ }, z.core.$loose>>;
52
52
  geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
53
53
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
54
  polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
55
  coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
56
- }, z.core.$strip>>>;
56
+ }, z.core.$loose>>>;
57
57
  maneuver: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
58
  exit_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
59
  street_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
60
  end_location: z.ZodNullable<z.ZodObject<{
61
61
  latitude: z.ZodNullable<z.ZodNumber>;
62
62
  longitude: z.ZodNullable<z.ZodNumber>;
63
- }, z.core.$strip>>;
63
+ }, z.core.$loose>>;
64
64
  instructions: z.ZodNullable<z.ZodString>;
65
65
  bearing_after: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
66
66
  bearing_before: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
67
67
  start_location: z.ZodNullable<z.ZodObject<{
68
68
  latitude: z.ZodNullable<z.ZodNumber>;
69
69
  longitude: z.ZodNullable<z.ZodNumber>;
70
- }, z.core.$strip>>;
70
+ }, z.core.$loose>>;
71
71
  voice_instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
72
  banner_instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
- }, z.core.$strip>>;
73
+ }, z.core.$loose>>;
74
74
  distance: z.ZodNullable<z.ZodObject<{
75
75
  text: z.ZodNullable<z.ZodString>;
76
76
  value: z.ZodNullable<z.ZodNumber>;
77
- }, z.core.$strip>>;
77
+ }, z.core.$loose>>;
78
78
  duration: z.ZodNullable<z.ZodObject<{
79
79
  text: z.ZodNullable<z.ZodString>;
80
80
  value: z.ZodNullable<z.ZodNumber>;
81
- }, z.core.$strip>>;
81
+ }, z.core.$loose>>;
82
82
  geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
83
83
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
84
  polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85
85
  coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
86
- }, z.core.$strip>>>;
86
+ }, z.core.$loose>>>;
87
87
  endLocation: z.ZodNullable<z.ZodObject<{
88
88
  latitude: z.ZodNullable<z.ZodNumber>;
89
89
  longitude: z.ZodNullable<z.ZodNumber>;
90
- }, z.core.$strip>>;
90
+ }, z.core.$loose>>;
91
91
  startLocation: z.ZodNullable<z.ZodObject<{
92
92
  latitude: z.ZodNullable<z.ZodNumber>;
93
93
  longitude: z.ZodNullable<z.ZodNumber>;
94
- }, z.core.$strip>>;
95
- }, z.core.$strip>>;
94
+ }, z.core.$loose>>;
95
+ }, z.core.$loose>>;
96
96
  distance: z.ZodNullable<z.ZodObject<{
97
97
  text: z.ZodNullable<z.ZodString>;
98
98
  value: z.ZodNullable<z.ZodNumber>;
99
- }, z.core.$strip>>;
99
+ }, z.core.$loose>>;
100
100
  duration: z.ZodNullable<z.ZodObject<{
101
101
  text: z.ZodNullable<z.ZodString>;
102
102
  value: z.ZodNullable<z.ZodNumber>;
103
- }, z.core.$strip>>;
103
+ }, z.core.$loose>>;
104
104
  geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
105
105
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
106
106
  polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
107
107
  coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
108
- }, z.core.$strip>>>;
109
- }, z.core.$strip>>;
110
- }, z.core.$strip>;
108
+ }, z.core.$loose>>>;
109
+ }, z.core.$loose>>;
110
+ }, z.core.$loose>;
111
111
  declare const radarGetRouteDirections: import("@keystrokehq/action").WorkflowActionDefinition<{
112
112
  locations: string;
113
113
  lang?: "de" | "en" | "es" | "fr" | "ja" | "ko" | "pt" | "ru" | undefined;
114
- mode?: "car" | "truck" | "foot" | "bike" | undefined;
114
+ mode?: "car" | "foot" | "bike" | "truck" | undefined;
115
115
  avoid?: string | undefined;
116
116
  units?: "metric" | "imperial" | undefined;
117
117
  heading?: number | undefined;