@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
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteUserInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The user identifier - can be Radar _id, userId, or deviceId.\"),\n}).describe(\"Request parameters for deleting a user.\");\nconst RadarDeleteUser_MetaResponseSchema: z.ZodTypeAny = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API.\"),\n}).describe(\"Metadata response from Radar API.\");\nexport const RadarDeleteUserOutput: z.ZodTypeAny = z.object({\n meta: RadarDeleteUser_MetaResponseSchema.nullable(),\n}).describe(\"Response schema for deleted user.\");\n\nexport const radarDeleteUser = action(\"RADAR_DELETE_USER\", {\n slug: \"radar-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user by Radar _id, userId, or deviceId. Use after confirming the user identifier exists.\",\n input: RadarDeleteUserInput,\n output: RadarDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EACxF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,qCAAmDA,IAAAA,EAAE,OAAO,EAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,EACzE,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteUserInput = z.object({\n id: z.string().describe(\"The user identifier - can be Radar _id, userId, or deviceId.\"),\n}).describe(\"Request parameters for deleting a user.\");\nconst RadarDeleteUser_MetaResponseSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).describe(\"Metadata response from Radar API.\");\nexport const RadarDeleteUserOutput = z.object({\n meta: RadarDeleteUser_MetaResponseSchema.nullable(),\n}).describe(\"Response schema for deleted user.\");\n\nexport const radarDeleteUser = action(\"RADAR_DELETE_USER\", {\n slug: \"radar-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user by Radar _id, userId, or deviceId. Use after confirming the user identifier exists.\",\n input: RadarDeleteUserInput,\n output: RadarDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EACxF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-user.d.ts
4
- declare const RadarDeleteUserInput: z.ZodTypeAny;
5
- declare const RadarDeleteUserOutput: z.ZodTypeAny;
6
- declare const radarDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RadarDeleteUserInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RadarDeleteUserOutput: z.ZodObject<{
8
+ meta: z.ZodNullable<z.ZodObject<{
9
+ code: z.ZodNullable<z.ZodNumber>;
10
+ }, z.core.$strip>>;
11
+ }, z.core.$strip>;
12
+ declare const radarDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ id: string;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { radarDeleteUser };
9
17
  //# sourceMappingURL=delete-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAEiB;AAAA,cAIzC,qBAAA,EAAuB,CAAA,CAAE,UAEU;AAAA,cAEnC,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAMpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAIrB,eAAA,gCAAe,wBAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-user.d.ts
4
- declare const RadarDeleteUserInput: z.ZodTypeAny;
5
- declare const RadarDeleteUserOutput: z.ZodTypeAny;
6
- declare const radarDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RadarDeleteUserInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RadarDeleteUserOutput: z.ZodObject<{
8
+ meta: z.ZodNullable<z.ZodObject<{
9
+ code: z.ZodNullable<z.ZodNumber>;
10
+ }, z.core.$strip>>;
11
+ }, z.core.$strip>;
12
+ declare const radarDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ id: string;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { radarDeleteUser };
9
17
  //# sourceMappingURL=delete-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAEiB;AAAA,cAIzC,qBAAA,EAAuB,CAAA,CAAE,UAEU;AAAA,cAEnC,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAMpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAIrB,eAAA,gCAAe,wBAAA"}
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/delete-user.ts
4
4
  const RadarDeleteUserInput = z.object({ id: z.string().describe("The user identifier - can be Radar _id, userId, or deviceId.") }).describe("Request parameters for deleting a user.");
5
- const RadarDeleteUser_MetaResponseSchema = z.object({ code: z.number().int().describe("HTTP status code returned by the API.") }).describe("Metadata response from Radar API.");
5
+ const RadarDeleteUser_MetaResponseSchema = z.object({ code: z.number().int().describe("HTTP status code returned by the API.").nullable() }).describe("Metadata response from Radar API.");
6
6
  const radarDeleteUser = action("RADAR_DELETE_USER", {
7
7
  slug: "radar-delete-user",
8
8
  name: "Delete User",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteUserInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The user identifier - can be Radar _id, userId, or deviceId.\"),\n}).describe(\"Request parameters for deleting a user.\");\nconst RadarDeleteUser_MetaResponseSchema: z.ZodTypeAny = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API.\"),\n}).describe(\"Metadata response from Radar API.\");\nexport const RadarDeleteUserOutput: z.ZodTypeAny = z.object({\n meta: RadarDeleteUser_MetaResponseSchema.nullable(),\n}).describe(\"Response schema for deleted user.\");\n\nexport const radarDeleteUser = action(\"RADAR_DELETE_USER\", {\n slug: \"radar-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user by Radar _id, userId, or deviceId. Use after confirming the user identifier exists.\",\n input: RadarDeleteUserInput,\n output: RadarDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqC,EAAE,OAAO,EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EACxF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,qCAAmD,EAAE,OAAO,EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,EACzE,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAK/C,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteUserInput = z.object({\n id: z.string().describe(\"The user identifier - can be Radar _id, userId, or deviceId.\"),\n}).describe(\"Request parameters for deleting a user.\");\nconst RadarDeleteUser_MetaResponseSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).describe(\"Metadata response from Radar API.\");\nexport const RadarDeleteUserOutput = z.object({\n meta: RadarDeleteUser_MetaResponseSchema.nullable(),\n}).describe(\"Response schema for deleted user.\");\n\nexport const radarDeleteUser = action(\"RADAR_DELETE_USER\", {\n slug: \"radar-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user by Radar _id, userId, or deviceId. Use after confirming the user identifier exists.\",\n input: RadarDeleteUserInput,\n output: RadarDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EACxF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,qCAAqC,EAAE,OAAO,EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAK/C,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmC,EAAE,OAAO,EAC5C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
@@ -10,7 +10,7 @@ const RadarForwardGeocodeInput = zod.z.object({
10
10
  const RadarForwardGeocode_GeometrySchema = zod.z.object({ coordinates: zod.z.array(zod.z.number()).describe("Longitude and latitude of the match as [lon, lat]") }).describe("Geographic geometry coordinates of the match.");
11
11
  const RadarForwardGeocode_AddressSchema = zod.z.object({
12
12
  city: zod.z.string().describe("City name").nullable().optional(),
13
- layer: zod.z.string().describe("Layer or place type of match"),
13
+ layer: zod.z.string().describe("Layer or place type of match").nullable(),
14
14
  state: zod.z.string().describe("State name").nullable().optional(),
15
15
  county: zod.z.string().describe("County name").nullable().optional(),
16
16
  number: zod.z.string().describe("Street number").nullable().optional(),
@@ -24,10 +24,10 @@ const RadarForwardGeocode_AddressSchema = zod.z.object({
24
24
  confidence: zod.z.string().describe("Confidence level (e.g., 'exact', 'interpolated', 'fallback')").nullable().optional(),
25
25
  placeLabel: zod.z.string().describe("Place description or label").nullable().optional(),
26
26
  postalCode: zod.z.string().describe("Postal code").nullable().optional(),
27
- countryCode: zod.z.string().describe("Country code of matched address"),
27
+ countryCode: zod.z.string().describe("Country code of matched address").nullable(),
28
28
  countryFlag: zod.z.string().describe("Country flag emoji").nullable().optional(),
29
- addressLabel: zod.z.string().describe("Primary display address"),
30
- formattedAddress: zod.z.string().describe("Formatted complete address")
29
+ addressLabel: zod.z.string().describe("Primary display address").nullable(),
30
+ formattedAddress: zod.z.string().describe("Formatted complete address").nullable()
31
31
  }).describe("A matched address object from forward geocoding.");
32
32
  const RadarForwardGeocodeOutput = zod.z.object({ addresses: zod.z.array(RadarForwardGeocode_AddressSchema).describe("List of matched address objects") }).describe("Response model containing a list of matched addresses.");
33
33
  const radarForwardGeocode = require_action.action("RADAR_FORWARD_GEOCODE", {
@@ -1 +1 @@
1
- {"version":3,"file":"forward-geocode.cjs","names":["z","action"],"sources":["../../src/actions/forward-geocode.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarForwardGeocodeInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (default 10, max 100)\").optional(),\n query: z.string().describe(\"The full address or query string to geocode\"),\n layers: z.array(z.string()).describe(\"Place types to filter results, comma-separated (e.g., 'address','locality')\").optional(),\n country: z.string().describe(\"Two-letter ISO 3166-1 alpha-2 country code to filter results\").optional(),\n}).describe(\"Request model for forward geocoding an address string to geographic coordinates.\");\nconst RadarForwardGeocode_GeometrySchema: z.ZodTypeAny = z.object({\n coordinates: z.array(z.number()).describe(\"Longitude and latitude of the match as [lon, lat]\"),\n}).describe(\"Geographic geometry coordinates of the match.\");\nconst RadarForwardGeocode_AddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n layer: z.string().describe(\"Layer or place type of match\"),\n state: z.string().describe(\"State name\").nullable().optional(),\n county: z.string().describe(\"County name\").nullable().optional(),\n number: z.string().describe(\"Street number\").nullable().optional(),\n street: z.string().describe(\"Street name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n placeId: z.string().describe(\"Unique identifier for the place\").nullable().optional(),\n geometry: RadarForwardGeocode_GeometrySchema.nullable(),\n latitude: z.number().describe(\"Latitude of the matched address\").nullable().optional(),\n longitude: z.number().describe(\"Longitude of the matched address\").nullable().optional(),\n stateCode: z.string().describe(\"State code\").nullable().optional(),\n confidence: z.string().describe(\"Confidence level (e.g., 'exact', 'interpolated', 'fallback')\").nullable().optional(),\n placeLabel: z.string().describe(\"Place description or label\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code\").nullable().optional(),\n countryCode: z.string().describe(\"Country code of matched address\"),\n countryFlag: z.string().describe(\"Country flag emoji\").nullable().optional(),\n addressLabel: z.string().describe(\"Primary display address\"),\n formattedAddress: z.string().describe(\"Formatted complete address\"),\n}).describe(\"A matched address object from forward geocoding.\");\nexport const RadarForwardGeocodeOutput: z.ZodTypeAny = z.object({\n addresses: z.array(RadarForwardGeocode_AddressSchema).describe(\"List of matched address objects\"),\n}).describe(\"Response model containing a list of matched addresses.\");\n\nexport const radarForwardGeocode = action(\"RADAR_FORWARD_GEOCODE\", {\n slug: \"radar-forward-geocode\",\n name: \"Forward Geocode\",\n description: \"Tool to convert an address into geographic coordinates. Use when you have a full address string and need precise latitude/longitude before further location analysis.\",\n input: RadarForwardGeocodeInput,\n output: RadarForwardGeocodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACvG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACxE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAM,qCAAmDA,IAAAA,EAAE,OAAO,EAChE,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,EAC/F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAOA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AAC,CAAC,SAAS,iCAAiC;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CAC3D,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AACpE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,WAAWA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,iCAAiC,EAClG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"forward-geocode.cjs","names":["z","action"],"sources":["../../src/actions/forward-geocode.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarForwardGeocodeInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (default 10, max 100)\").optional(),\n query: z.string().describe(\"The full address or query string to geocode\"),\n layers: z.array(z.string()).describe(\"Place types to filter results, comma-separated (e.g., 'address','locality')\").optional(),\n country: z.string().describe(\"Two-letter ISO 3166-1 alpha-2 country code to filter results\").optional(),\n}).describe(\"Request model for forward geocoding an address string to geographic coordinates.\");\nconst RadarForwardGeocode_GeometrySchema = z.object({\n coordinates: z.array(z.number()).describe(\"Longitude and latitude of the match as [lon, lat]\"),\n}).describe(\"Geographic geometry coordinates of the match.\");\nconst RadarForwardGeocode_AddressSchema = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n layer: z.string().describe(\"Layer or place type of match\").nullable(),\n state: z.string().describe(\"State name\").nullable().optional(),\n county: z.string().describe(\"County name\").nullable().optional(),\n number: z.string().describe(\"Street number\").nullable().optional(),\n street: z.string().describe(\"Street name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n placeId: z.string().describe(\"Unique identifier for the place\").nullable().optional(),\n geometry: RadarForwardGeocode_GeometrySchema.nullable(),\n latitude: z.number().describe(\"Latitude of the matched address\").nullable().optional(),\n longitude: z.number().describe(\"Longitude of the matched address\").nullable().optional(),\n stateCode: z.string().describe(\"State code\").nullable().optional(),\n confidence: z.string().describe(\"Confidence level (e.g., 'exact', 'interpolated', 'fallback')\").nullable().optional(),\n placeLabel: z.string().describe(\"Place description or label\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code\").nullable().optional(),\n countryCode: z.string().describe(\"Country code of matched address\").nullable(),\n countryFlag: z.string().describe(\"Country flag emoji\").nullable().optional(),\n addressLabel: z.string().describe(\"Primary display address\").nullable(),\n formattedAddress: z.string().describe(\"Formatted complete address\").nullable(),\n}).describe(\"A matched address object from forward geocoding.\");\nexport const RadarForwardGeocodeOutput = z.object({\n addresses: z.array(RadarForwardGeocode_AddressSchema).describe(\"List of matched address objects\"),\n}).describe(\"Response model containing a list of matched addresses.\");\n\nexport const radarForwardGeocode = action(\"RADAR_FORWARD_GEOCODE\", {\n slug: \"radar-forward-geocode\",\n name: \"Forward Geocode\",\n description: \"Tool to convert an address into geographic coordinates. Use when you have a full address string and need precise latitude/longitude before further location analysis.\",\n input: RadarForwardGeocodeInput,\n output: RadarForwardGeocodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACvG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACxE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,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,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACtE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,WAAWA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,iCAAiC,EAClG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,43 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/forward-geocode.d.ts
4
- declare const RadarForwardGeocodeInput: z.ZodTypeAny;
5
- declare const RadarForwardGeocodeOutput: z.ZodTypeAny;
6
- declare const radarForwardGeocode: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RadarForwardGeocodeInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ query: z.ZodString;
7
+ layers: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
+ country: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const RadarForwardGeocodeOutput: z.ZodObject<{
11
+ addresses: z.ZodArray<z.ZodObject<{
12
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ layer: z.ZodNullable<z.ZodString>;
14
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ county: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ placeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ geometry: z.ZodNullable<z.ZodObject<{
21
+ coordinates: z.ZodArray<z.ZodNumber>;
22
+ }, z.core.$strip>>;
23
+ latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
+ stateCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ confidence: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ placeLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ countryCode: z.ZodNullable<z.ZodString>;
30
+ countryFlag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ addressLabel: z.ZodNullable<z.ZodString>;
32
+ formattedAddress: z.ZodNullable<z.ZodString>;
33
+ }, z.core.$strip>>;
34
+ }, z.core.$strip>;
35
+ declare const radarForwardGeocode: import("@keystrokehq/action").WorkflowActionDefinition<{
36
+ query: string;
37
+ limit?: number | undefined;
38
+ layers?: string[] | undefined;
39
+ country?: string | undefined;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
41
  //#endregion
8
42
  export { radarForwardGeocode };
9
43
  //# sourceMappingURL=forward-geocode.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"forward-geocode.d.cts","names":[],"sources":["../../src/actions/forward-geocode.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAKsD;AAAA,cAyBlF,yBAAA,EAA2B,CAAA,CAAE,UAE2B;AAAA,cAExD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"forward-geocode.d.cts","names":[],"sources":["../../src/actions/forward-geocode.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cA8BxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,43 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/forward-geocode.d.ts
4
- declare const RadarForwardGeocodeInput: z.ZodTypeAny;
5
- declare const RadarForwardGeocodeOutput: z.ZodTypeAny;
6
- declare const radarForwardGeocode: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RadarForwardGeocodeInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ query: z.ZodString;
7
+ layers: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
+ country: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const RadarForwardGeocodeOutput: z.ZodObject<{
11
+ addresses: z.ZodArray<z.ZodObject<{
12
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ layer: z.ZodNullable<z.ZodString>;
14
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ county: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ placeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ geometry: z.ZodNullable<z.ZodObject<{
21
+ coordinates: z.ZodArray<z.ZodNumber>;
22
+ }, z.core.$strip>>;
23
+ latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
+ stateCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ confidence: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ placeLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ countryCode: z.ZodNullable<z.ZodString>;
30
+ countryFlag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ addressLabel: z.ZodNullable<z.ZodString>;
32
+ formattedAddress: z.ZodNullable<z.ZodString>;
33
+ }, z.core.$strip>>;
34
+ }, z.core.$strip>;
35
+ declare const radarForwardGeocode: import("@keystrokehq/action").WorkflowActionDefinition<{
36
+ query: string;
37
+ limit?: number | undefined;
38
+ layers?: string[] | undefined;
39
+ country?: string | undefined;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
41
  //#endregion
8
42
  export { radarForwardGeocode };
9
43
  //# sourceMappingURL=forward-geocode.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"forward-geocode.d.mts","names":[],"sources":["../../src/actions/forward-geocode.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAKsD;AAAA,cAyBlF,yBAAA,EAA2B,CAAA,CAAE,UAE2B;AAAA,cAExD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"forward-geocode.d.mts","names":[],"sources":["../../src/actions/forward-geocode.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cA8BxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -10,7 +10,7 @@ const RadarForwardGeocodeInput = z.object({
10
10
  const RadarForwardGeocode_GeometrySchema = z.object({ coordinates: z.array(z.number()).describe("Longitude and latitude of the match as [lon, lat]") }).describe("Geographic geometry coordinates of the match.");
11
11
  const RadarForwardGeocode_AddressSchema = z.object({
12
12
  city: z.string().describe("City name").nullable().optional(),
13
- layer: z.string().describe("Layer or place type of match"),
13
+ layer: z.string().describe("Layer or place type of match").nullable(),
14
14
  state: z.string().describe("State name").nullable().optional(),
15
15
  county: z.string().describe("County name").nullable().optional(),
16
16
  number: z.string().describe("Street number").nullable().optional(),
@@ -24,10 +24,10 @@ const RadarForwardGeocode_AddressSchema = z.object({
24
24
  confidence: z.string().describe("Confidence level (e.g., 'exact', 'interpolated', 'fallback')").nullable().optional(),
25
25
  placeLabel: z.string().describe("Place description or label").nullable().optional(),
26
26
  postalCode: z.string().describe("Postal code").nullable().optional(),
27
- countryCode: z.string().describe("Country code of matched address"),
27
+ countryCode: z.string().describe("Country code of matched address").nullable(),
28
28
  countryFlag: z.string().describe("Country flag emoji").nullable().optional(),
29
- addressLabel: z.string().describe("Primary display address"),
30
- formattedAddress: z.string().describe("Formatted complete address")
29
+ addressLabel: z.string().describe("Primary display address").nullable(),
30
+ formattedAddress: z.string().describe("Formatted complete address").nullable()
31
31
  }).describe("A matched address object from forward geocoding.");
32
32
  const radarForwardGeocode = action("RADAR_FORWARD_GEOCODE", {
33
33
  slug: "radar-forward-geocode",
@@ -1 +1 @@
1
- {"version":3,"file":"forward-geocode.mjs","names":[],"sources":["../../src/actions/forward-geocode.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarForwardGeocodeInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (default 10, max 100)\").optional(),\n query: z.string().describe(\"The full address or query string to geocode\"),\n layers: z.array(z.string()).describe(\"Place types to filter results, comma-separated (e.g., 'address','locality')\").optional(),\n country: z.string().describe(\"Two-letter ISO 3166-1 alpha-2 country code to filter results\").optional(),\n}).describe(\"Request model for forward geocoding an address string to geographic coordinates.\");\nconst RadarForwardGeocode_GeometrySchema: z.ZodTypeAny = z.object({\n coordinates: z.array(z.number()).describe(\"Longitude and latitude of the match as [lon, lat]\"),\n}).describe(\"Geographic geometry coordinates of the match.\");\nconst RadarForwardGeocode_AddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n layer: z.string().describe(\"Layer or place type of match\"),\n state: z.string().describe(\"State name\").nullable().optional(),\n county: z.string().describe(\"County name\").nullable().optional(),\n number: z.string().describe(\"Street number\").nullable().optional(),\n street: z.string().describe(\"Street name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n placeId: z.string().describe(\"Unique identifier for the place\").nullable().optional(),\n geometry: RadarForwardGeocode_GeometrySchema.nullable(),\n latitude: z.number().describe(\"Latitude of the matched address\").nullable().optional(),\n longitude: z.number().describe(\"Longitude of the matched address\").nullable().optional(),\n stateCode: z.string().describe(\"State code\").nullable().optional(),\n confidence: z.string().describe(\"Confidence level (e.g., 'exact', 'interpolated', 'fallback')\").nullable().optional(),\n placeLabel: z.string().describe(\"Place description or label\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code\").nullable().optional(),\n countryCode: z.string().describe(\"Country code of matched address\"),\n countryFlag: z.string().describe(\"Country flag emoji\").nullable().optional(),\n addressLabel: z.string().describe(\"Primary display address\"),\n formattedAddress: z.string().describe(\"Formatted complete address\"),\n}).describe(\"A matched address object from forward geocoding.\");\nexport const RadarForwardGeocodeOutput: z.ZodTypeAny = z.object({\n addresses: z.array(RadarForwardGeocode_AddressSchema).describe(\"List of matched address objects\"),\n}).describe(\"Response model containing a list of matched addresses.\");\n\nexport const radarForwardGeocode = action(\"RADAR_FORWARD_GEOCODE\", {\n slug: \"radar-forward-geocode\",\n name: \"Forward Geocode\",\n description: \"Tool to convert an address into geographic coordinates. Use when you have a full address string and need precise latitude/longitude before further location analysis.\",\n input: RadarForwardGeocodeInput,\n output: RadarForwardGeocodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACxE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAM,qCAAmD,EAAE,OAAO,EAChE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,EAC/F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,oCAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,QAAQ,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DAAkD;AAK9D,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,WAAW,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,iCAAiC,EAClG,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"forward-geocode.mjs","names":[],"sources":["../../src/actions/forward-geocode.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarForwardGeocodeInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (default 10, max 100)\").optional(),\n query: z.string().describe(\"The full address or query string to geocode\"),\n layers: z.array(z.string()).describe(\"Place types to filter results, comma-separated (e.g., 'address','locality')\").optional(),\n country: z.string().describe(\"Two-letter ISO 3166-1 alpha-2 country code to filter results\").optional(),\n}).describe(\"Request model for forward geocoding an address string to geographic coordinates.\");\nconst RadarForwardGeocode_GeometrySchema = z.object({\n coordinates: z.array(z.number()).describe(\"Longitude and latitude of the match as [lon, lat]\"),\n}).describe(\"Geographic geometry coordinates of the match.\");\nconst RadarForwardGeocode_AddressSchema = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n layer: z.string().describe(\"Layer or place type of match\").nullable(),\n state: z.string().describe(\"State name\").nullable().optional(),\n county: z.string().describe(\"County name\").nullable().optional(),\n number: z.string().describe(\"Street number\").nullable().optional(),\n street: z.string().describe(\"Street name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n placeId: z.string().describe(\"Unique identifier for the place\").nullable().optional(),\n geometry: RadarForwardGeocode_GeometrySchema.nullable(),\n latitude: z.number().describe(\"Latitude of the matched address\").nullable().optional(),\n longitude: z.number().describe(\"Longitude of the matched address\").nullable().optional(),\n stateCode: z.string().describe(\"State code\").nullable().optional(),\n confidence: z.string().describe(\"Confidence level (e.g., 'exact', 'interpolated', 'fallback')\").nullable().optional(),\n placeLabel: z.string().describe(\"Place description or label\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code\").nullable().optional(),\n countryCode: z.string().describe(\"Country code of matched address\").nullable(),\n countryFlag: z.string().describe(\"Country flag emoji\").nullable().optional(),\n addressLabel: z.string().describe(\"Primary display address\").nullable(),\n formattedAddress: z.string().describe(\"Formatted complete address\").nullable(),\n}).describe(\"A matched address object from forward geocoding.\");\nexport const RadarForwardGeocodeOutput = z.object({\n addresses: z.array(RadarForwardGeocode_AddressSchema).describe(\"List of matched address objects\"),\n}).describe(\"Response model containing a list of matched addresses.\");\n\nexport const radarForwardGeocode = action(\"RADAR_FORWARD_GEOCODE\", {\n slug: \"radar-forward-geocode\",\n name: \"Forward Geocode\",\n description: \"Tool to convert an address into geographic coordinates. Use when you have a full address string and need precise latitude/longitude before further location analysis.\",\n input: RadarForwardGeocodeInput,\n output: RadarForwardGeocodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACxE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAM,qCAAqC,EAAE,OAAO,EAClD,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,EAC/F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8B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AAS;CAC3E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACtE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAK9D,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,WAAW,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,iCAAiC,EAClG,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
@@ -6,25 +6,25 @@ const RadarGetBeaconByTagInput = zod.z.object({
6
6
  externalId: zod.z.string().describe("An external ID for the beacon (required)")
7
7
  }).describe("Request model for getting a beacon by tag and external ID.\nBoth tag and externalId are required to uniquely identify a beacon.");
8
8
  const RadarGetBeaconByTag_BeaconSchema = zod.z.object({
9
- id: zod.z.string().describe("Beacon ID"),
9
+ id: zod.z.string().describe("Beacon ID").nullable(),
10
10
  url: zod.z.string().describe("URL for Eddystone URL").nullable().optional(),
11
11
  type: zod.z.enum([
12
12
  "iBeacon",
13
13
  "eddystone_uid",
14
14
  "eddystone_url"
15
- ]).describe("Beacon technology type"),
15
+ ]).describe("Beacon technology type").nullable(),
16
16
  uuid: zod.z.string().describe("UUID for iBeacon").nullable().optional(),
17
17
  major: zod.z.number().int().describe("Major value for iBeacon").nullable().optional(),
18
18
  minor: zod.z.number().int().describe("Minor value for iBeacon").nullable().optional(),
19
- placeId: zod.z.string().describe("Radar placeId associated with the beacon"),
20
- deviceId: zod.z.string().describe("Device ID or serial number of the beacon"),
19
+ placeId: zod.z.string().describe("Radar placeId associated with the beacon").nullable(),
20
+ deviceId: zod.z.string().describe("Device ID or serial number of the beacon").nullable(),
21
21
  instance: zod.z.string().describe("Instance for Eddystone UID").nullable().optional(),
22
- latitude: zod.z.number().describe("Latitude of the beacon"),
22
+ latitude: zod.z.number().describe("Latitude of the beacon").nullable(),
23
23
  metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata of the beacon").nullable().optional(),
24
- createdAt: zod.z.string().describe("Timestamp when created (ISO 8601)"),
25
- longitude: zod.z.number().describe("Longitude of the beacon"),
24
+ createdAt: zod.z.string().describe("Timestamp when created (ISO 8601)").nullable(),
25
+ longitude: zod.z.number().describe("Longitude of the beacon").nullable(),
26
26
  namespace: zod.z.string().describe("Namespace for Eddystone UID").nullable().optional(),
27
- updatedAt: zod.z.string().describe("Timestamp when last updated (ISO 8601)"),
27
+ updatedAt: zod.z.string().describe("Timestamp when last updated (ISO 8601)").nullable(),
28
28
  externalId: zod.z.string().describe("External ID of the beacon").nullable().optional(),
29
29
  description: zod.z.string().describe("Description of the beacon").nullable().optional()
30
30
  }).describe("Beacon object returned by Radar.");
@@ -1 +1 @@
1
- {"version":3,"file":"get-beacon-by-tag.cjs","names":["z","action"],"sources":["../../src/actions/get-beacon-by-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetBeaconByTagInput: z.ZodTypeAny = z.object({\n tag: z.string().describe(\"A group for the beacon (required)\"),\n externalId: z.string().describe(\"An external ID for the beacon (required)\"),\n}).describe(\"Request model for getting a beacon by tag and external ID.\\nBoth tag and externalId are required to uniquely identify a beacon.\");\nconst RadarGetBeaconByTag_BeaconSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Beacon ID\"),\n url: z.string().describe(\"URL for Eddystone URL\").nullable().optional(),\n type: z.enum([\"iBeacon\", \"eddystone_uid\", \"eddystone_url\"]).describe(\"Beacon technology type\"),\n uuid: z.string().describe(\"UUID for iBeacon\").nullable().optional(),\n major: z.number().int().describe(\"Major value for iBeacon\").nullable().optional(),\n minor: z.number().int().describe(\"Minor value for iBeacon\").nullable().optional(),\n placeId: z.string().describe(\"Radar placeId associated with the beacon\"),\n deviceId: z.string().describe(\"Device ID or serial number of the beacon\"),\n instance: z.string().describe(\"Instance for Eddystone UID\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the beacon\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata of the beacon\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when created (ISO 8601)\"),\n longitude: z.number().describe(\"Longitude of the beacon\"),\n namespace: z.string().describe(\"Namespace for Eddystone UID\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when last updated (ISO 8601)\"),\n externalId: z.string().describe(\"External ID of the beacon\").nullable().optional(),\n description: z.string().describe(\"Description of the beacon\").nullable().optional(),\n}).describe(\"Beacon object returned by Radar.\");\nexport const RadarGetBeaconByTagOutput: z.ZodTypeAny = z.object({\n beacon: RadarGetBeaconByTag_BeaconSchema.nullable(),\n}).describe(\"Response model for getting a beacon by tag and external ID.\");\n\nexport const radarGetBeaconByTag = action(\"RADAR_GET_BEACON_BY_TAG\", {\n slug: \"radar-get-beacon-by-tag\",\n name: \"Get Beacon By Tag\",\n description: \"Tool to get a specific beacon by tag and external ID. Use when you need to retrieve details of a beacon identified by its tag group and external ID.\",\n input: RadarGetBeaconByTagInput,\n output: RadarGetBeaconByTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC5E,CAAC,CAAC,CAAC,SAAS,iIAAiI;AAC7I,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACnC,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAiB;CAAe,CAAC,CAAC,CAAC,SAAS,wBAAwB;CAC7F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AAkC;AAC9C,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,QAAQ,iCAAiC,SAAS,EACpD,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,sBAAsBC,eAAAA,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-beacon-by-tag.cjs","names":["z","action"],"sources":["../../src/actions/get-beacon-by-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetBeaconByTagInput = z.object({\n tag: z.string().describe(\"A group for the beacon (required)\"),\n externalId: z.string().describe(\"An external ID for the beacon (required)\"),\n}).describe(\"Request model for getting a beacon by tag and external ID.\\nBoth tag and externalId are required to uniquely identify a beacon.\");\nconst RadarGetBeaconByTag_BeaconSchema = z.object({\n id: z.string().describe(\"Beacon ID\").nullable(),\n url: z.string().describe(\"URL for Eddystone URL\").nullable().optional(),\n type: z.enum([\"iBeacon\", \"eddystone_uid\", \"eddystone_url\"]).describe(\"Beacon technology type\").nullable(),\n uuid: z.string().describe(\"UUID for iBeacon\").nullable().optional(),\n major: z.number().int().describe(\"Major value for iBeacon\").nullable().optional(),\n minor: z.number().int().describe(\"Minor value for iBeacon\").nullable().optional(),\n placeId: z.string().describe(\"Radar placeId associated with the beacon\").nullable(),\n deviceId: z.string().describe(\"Device ID or serial number of the beacon\").nullable(),\n instance: z.string().describe(\"Instance for Eddystone UID\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the beacon\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata of the beacon\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when created (ISO 8601)\").nullable(),\n longitude: z.number().describe(\"Longitude of the beacon\").nullable(),\n namespace: z.string().describe(\"Namespace for Eddystone UID\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when last updated (ISO 8601)\").nullable(),\n externalId: z.string().describe(\"External ID of the beacon\").nullable().optional(),\n description: z.string().describe(\"Description of the beacon\").nullable().optional(),\n}).describe(\"Beacon object returned by Radar.\");\nexport const RadarGetBeaconByTagOutput = z.object({\n beacon: RadarGetBeaconByTag_BeaconSchema.nullable(),\n}).describe(\"Response model for getting a beacon by tag and external ID.\");\n\nexport const radarGetBeaconByTag = action(\"RADAR_GET_BEACON_BY_TAG\", {\n slug: \"radar-get-beacon-by-tag\",\n name: \"Get Beacon By Tag\",\n description: \"Tool to get a specific beacon by tag and external ID. Use when you need to retrieve details of a beacon identified by its tag group and external ID.\",\n input: RadarGetBeaconByTagInput,\n output: RadarGetBeaconByTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC5E,CAAC,CAAC,CAAC,SAAS,iIAAiI;AAC7I,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAiB;CAAe,CAAC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACxG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAy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M;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-beacon-by-tag.d.ts
4
- declare const RadarGetBeaconByTagInput: z.ZodTypeAny;
5
- declare const RadarGetBeaconByTagOutput: z.ZodTypeAny;
6
- declare const radarGetBeaconByTag: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RadarGetBeaconByTagInput: z.ZodObject<{
5
+ tag: z.ZodString;
6
+ externalId: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const RadarGetBeaconByTagOutput: z.ZodObject<{
9
+ beacon: z.ZodNullable<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ type: z.ZodNullable<z.ZodEnum<{
13
+ iBeacon: "iBeacon";
14
+ eddystone_uid: "eddystone_uid";
15
+ eddystone_url: "eddystone_url";
16
+ }>>;
17
+ uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ major: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ minor: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ placeId: z.ZodNullable<z.ZodString>;
21
+ deviceId: z.ZodNullable<z.ZodString>;
22
+ instance: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ latitude: z.ZodNullable<z.ZodNumber>;
24
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
+ createdAt: z.ZodNullable<z.ZodString>;
26
+ longitude: z.ZodNullable<z.ZodNumber>;
27
+ namespace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ updatedAt: z.ZodNullable<z.ZodString>;
29
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$strip>>;
32
+ }, z.core.$strip>;
33
+ declare const radarGetBeaconByTag: import("@keystrokehq/action").WorkflowActionDefinition<{
34
+ tag: string;
35
+ externalId: string;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { radarGetBeaconByTag };
9
39
  //# sourceMappingURL=get-beacon-by-tag.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-beacon-by-tag.d.cts","names":[],"sources":["../../src/actions/get-beacon-by-tag.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGqG;AAAA,cAoBjI,yBAAA,EAA2B,CAAA,CAAE,UAEgC;AAAA,cAE7D,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-beacon-by-tag.d.cts","names":[],"sources":["../../src/actions/get-beacon-by-tag.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAuBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-beacon-by-tag.d.ts
4
- declare const RadarGetBeaconByTagInput: z.ZodTypeAny;
5
- declare const RadarGetBeaconByTagOutput: z.ZodTypeAny;
6
- declare const radarGetBeaconByTag: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RadarGetBeaconByTagInput: z.ZodObject<{
5
+ tag: z.ZodString;
6
+ externalId: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const RadarGetBeaconByTagOutput: z.ZodObject<{
9
+ beacon: z.ZodNullable<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ type: z.ZodNullable<z.ZodEnum<{
13
+ iBeacon: "iBeacon";
14
+ eddystone_uid: "eddystone_uid";
15
+ eddystone_url: "eddystone_url";
16
+ }>>;
17
+ uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ major: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ minor: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ placeId: z.ZodNullable<z.ZodString>;
21
+ deviceId: z.ZodNullable<z.ZodString>;
22
+ instance: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ latitude: z.ZodNullable<z.ZodNumber>;
24
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
+ createdAt: z.ZodNullable<z.ZodString>;
26
+ longitude: z.ZodNullable<z.ZodNumber>;
27
+ namespace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ updatedAt: z.ZodNullable<z.ZodString>;
29
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$strip>>;
32
+ }, z.core.$strip>;
33
+ declare const radarGetBeaconByTag: import("@keystrokehq/action").WorkflowActionDefinition<{
34
+ tag: string;
35
+ externalId: string;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { radarGetBeaconByTag };
9
39
  //# sourceMappingURL=get-beacon-by-tag.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-beacon-by-tag.d.mts","names":[],"sources":["../../src/actions/get-beacon-by-tag.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGqG;AAAA,cAoBjI,yBAAA,EAA2B,CAAA,CAAE,UAEgC;AAAA,cAE7D,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-beacon-by-tag.d.mts","names":[],"sources":["../../src/actions/get-beacon-by-tag.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAuBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -6,25 +6,25 @@ const RadarGetBeaconByTagInput = z.object({
6
6
  externalId: z.string().describe("An external ID for the beacon (required)")
7
7
  }).describe("Request model for getting a beacon by tag and external ID.\nBoth tag and externalId are required to uniquely identify a beacon.");
8
8
  const RadarGetBeaconByTag_BeaconSchema = z.object({
9
- id: z.string().describe("Beacon ID"),
9
+ id: z.string().describe("Beacon ID").nullable(),
10
10
  url: z.string().describe("URL for Eddystone URL").nullable().optional(),
11
11
  type: z.enum([
12
12
  "iBeacon",
13
13
  "eddystone_uid",
14
14
  "eddystone_url"
15
- ]).describe("Beacon technology type"),
15
+ ]).describe("Beacon technology type").nullable(),
16
16
  uuid: z.string().describe("UUID for iBeacon").nullable().optional(),
17
17
  major: z.number().int().describe("Major value for iBeacon").nullable().optional(),
18
18
  minor: z.number().int().describe("Minor value for iBeacon").nullable().optional(),
19
- placeId: z.string().describe("Radar placeId associated with the beacon"),
20
- deviceId: z.string().describe("Device ID or serial number of the beacon"),
19
+ placeId: z.string().describe("Radar placeId associated with the beacon").nullable(),
20
+ deviceId: z.string().describe("Device ID or serial number of the beacon").nullable(),
21
21
  instance: z.string().describe("Instance for Eddystone UID").nullable().optional(),
22
- latitude: z.number().describe("Latitude of the beacon"),
22
+ latitude: z.number().describe("Latitude of the beacon").nullable(),
23
23
  metadata: z.record(z.string(), z.unknown()).describe("Custom metadata of the beacon").nullable().optional(),
24
- createdAt: z.string().describe("Timestamp when created (ISO 8601)"),
25
- longitude: z.number().describe("Longitude of the beacon"),
24
+ createdAt: z.string().describe("Timestamp when created (ISO 8601)").nullable(),
25
+ longitude: z.number().describe("Longitude of the beacon").nullable(),
26
26
  namespace: z.string().describe("Namespace for Eddystone UID").nullable().optional(),
27
- updatedAt: z.string().describe("Timestamp when last updated (ISO 8601)"),
27
+ updatedAt: z.string().describe("Timestamp when last updated (ISO 8601)").nullable(),
28
28
  externalId: z.string().describe("External ID of the beacon").nullable().optional(),
29
29
  description: z.string().describe("Description of the beacon").nullable().optional()
30
30
  }).describe("Beacon object returned by Radar.");
@@ -1 +1 @@
1
- {"version":3,"file":"get-beacon-by-tag.mjs","names":[],"sources":["../../src/actions/get-beacon-by-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetBeaconByTagInput: z.ZodTypeAny = z.object({\n tag: z.string().describe(\"A group for the beacon (required)\"),\n externalId: z.string().describe(\"An external ID for the beacon (required)\"),\n}).describe(\"Request model for getting a beacon by tag and external ID.\\nBoth tag and externalId are required to uniquely identify a beacon.\");\nconst RadarGetBeaconByTag_BeaconSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Beacon ID\"),\n url: z.string().describe(\"URL for Eddystone URL\").nullable().optional(),\n type: z.enum([\"iBeacon\", \"eddystone_uid\", \"eddystone_url\"]).describe(\"Beacon technology type\"),\n uuid: z.string().describe(\"UUID for iBeacon\").nullable().optional(),\n major: z.number().int().describe(\"Major value for iBeacon\").nullable().optional(),\n minor: z.number().int().describe(\"Minor value for iBeacon\").nullable().optional(),\n placeId: z.string().describe(\"Radar placeId associated with the beacon\"),\n deviceId: z.string().describe(\"Device ID or serial number of the beacon\"),\n instance: z.string().describe(\"Instance for Eddystone UID\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the beacon\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata of the beacon\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when created (ISO 8601)\"),\n longitude: z.number().describe(\"Longitude of the beacon\"),\n namespace: z.string().describe(\"Namespace for Eddystone UID\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when last updated (ISO 8601)\"),\n externalId: z.string().describe(\"External ID of the beacon\").nullable().optional(),\n description: z.string().describe(\"Description of the beacon\").nullable().optional(),\n}).describe(\"Beacon object returned by Radar.\");\nexport const RadarGetBeaconByTagOutput: z.ZodTypeAny = z.object({\n beacon: RadarGetBeaconByTag_BeaconSchema.nullable(),\n}).describe(\"Response model for getting a beacon by tag and external ID.\");\n\nexport const radarGetBeaconByTag = action(\"RADAR_GET_BEACON_BY_TAG\", {\n slug: \"radar-get-beacon-by-tag\",\n name: \"Get Beacon By Tag\",\n description: \"Tool to get a specific beacon by tag and external ID. Use when you need to retrieve details of a beacon identified by its tag group and external ID.\",\n input: RadarGetBeaconByTagInput,\n output: RadarGetBeaconByTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC5E,CAAC,CAAC,CAAC,SAAS,iIAAiI;AAC7I,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACnC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,KAAK;EAAC;EAAW;EAAiB;CAAe,CAAC,CAAC,CAAC,SAAS,wBAAwB;CAC7F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACtD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACxD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAK9C,MAAa,sBAAsB,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,QAAQ,iCAAiC,SAAS,EACpD,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-beacon-by-tag.mjs","names":[],"sources":["../../src/actions/get-beacon-by-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetBeaconByTagInput = z.object({\n tag: z.string().describe(\"A group for the beacon (required)\"),\n externalId: z.string().describe(\"An external ID for the beacon (required)\"),\n}).describe(\"Request model for getting a beacon by tag and external ID.\\nBoth tag and externalId are required to uniquely identify a beacon.\");\nconst RadarGetBeaconByTag_BeaconSchema = z.object({\n id: z.string().describe(\"Beacon ID\").nullable(),\n url: z.string().describe(\"URL for Eddystone URL\").nullable().optional(),\n type: z.enum([\"iBeacon\", \"eddystone_uid\", \"eddystone_url\"]).describe(\"Beacon technology type\").nullable(),\n uuid: z.string().describe(\"UUID for iBeacon\").nullable().optional(),\n major: z.number().int().describe(\"Major value for iBeacon\").nullable().optional(),\n minor: z.number().int().describe(\"Minor value for iBeacon\").nullable().optional(),\n placeId: z.string().describe(\"Radar placeId associated with the beacon\").nullable(),\n deviceId: z.string().describe(\"Device ID or serial number of the beacon\").nullable(),\n instance: z.string().describe(\"Instance for Eddystone UID\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the beacon\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata of the beacon\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when created (ISO 8601)\").nullable(),\n longitude: z.number().describe(\"Longitude of the beacon\").nullable(),\n namespace: z.string().describe(\"Namespace for Eddystone UID\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when last updated (ISO 8601)\").nullable(),\n externalId: z.string().describe(\"External ID of the beacon\").nullable().optional(),\n description: z.string().describe(\"Description of the beacon\").nullable().optional(),\n}).describe(\"Beacon object returned by Radar.\");\nexport const RadarGetBeaconByTagOutput = z.object({\n beacon: RadarGetBeaconByTag_BeaconSchema.nullable(),\n}).describe(\"Response model for getting a beacon by tag and external ID.\");\n\nexport const radarGetBeaconByTag = action(\"RADAR_GET_BEACON_BY_TAG\", {\n slug: \"radar-get-beacon-by-tag\",\n name: \"Get Beacon By Tag\",\n description: \"Tool to get a specific beacon by tag and external ID. Use when you need to retrieve details of a beacon identified by its tag group and external ID.\",\n input: Radar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CAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAK9C,MAAa,sBAAsB,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,QAAQ,iCAAiC,SAAS,EACpD,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
@@ -2,13 +2,13 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-beacon.ts
4
4
  const RadarGetBeaconInput = zod.z.object({ id: zod.z.string().describe("The Radar-generated _id of the beacon to retrieve.") }).describe("Request model for getting a beacon by Radar _id.");
5
- const RadarGetBeacon_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("The HTTP status code of the response") }).describe("Response metadata.");
5
+ const RadarGetBeacon_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("The HTTP status code of the response").nullable() }).describe("Response metadata.");
6
6
  const RadarGetBeacon_GeometryPointSchema = zod.z.object({
7
- type: zod.z.string().describe("Geometry type, typically 'Point'"),
7
+ type: zod.z.string().describe("Geometry type, typically 'Point'").nullable(),
8
8
  coordinates: zod.z.array(zod.z.number()).describe("Coordinates as [longitude, latitude]")
9
9
  }).describe("GeoJSON geometry for the beacon location.");
10
10
  const RadarGetBeacon_BeaconSchema = zod.z.object({
11
- _id: zod.z.string().describe("Unique Radar beacon identifier"),
11
+ _id: zod.z.string().describe("Unique Radar beacon identifier").nullable(),
12
12
  tag: zod.z.string().describe("Tag associated with the beacon").nullable().optional(),
13
13
  live: zod.z.boolean().describe("Whether the beacon is in live mode").nullable().optional(),
14
14
  type: zod.z.string().describe("Beacon technology type").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"get-beacon.cjs","names":["z","action"],"sources":["../../src/actions/get-beacon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetBeaconInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The Radar-generated _id of the beacon to retrieve.\"),\n}).describe(\"Request model for getting a beacon by Radar _id.\");\nconst RadarGetBeacon_MetaSchema: z.ZodTypeAny = z.object({\n code: z.number().int().describe(\"The HTTP status code of the response\"),\n}).describe(\"Response metadata.\");\nconst RadarGetBeacon_GeometryPointSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Geometry type, typically 'Point'\"),\n coordinates: z.array(z.number()).describe(\"Coordinates as [longitude, latitude]\"),\n}).describe(\"GeoJSON geometry for the beacon location.\");\nconst RadarGetBeacon_BeaconSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Unique Radar beacon identifier\"),\n tag: z.string().describe(\"Tag associated with the beacon\").nullable().optional(),\n live: z.boolean().describe(\"Whether the beacon is in live mode\").nullable().optional(),\n type: z.string().describe(\"Beacon technology type\").nullable().optional(),\n uuid: z.string().describe(\"UUID for iBeacon\").nullable().optional(),\n major: z.string().describe(\"Major value for iBeacon\").nullable().optional(),\n minor: z.string().describe(\"Minor value for iBeacon\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the beacon is enabled\").nullable().optional(),\n geometry: RadarGetBeacon_GeometryPointSchema.nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the beacon was created (ISO 8601)\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the beacon was last updated (ISO 8601)\").nullable().optional(),\n externalId: z.string().describe(\"External identifier of the beacon\").nullable().optional(),\n description: z.string().describe(\"Description of the beacon\").nullable().optional(),\n}).describe(\"Beacon object returned by Radar.\");\nexport const RadarGetBeaconOutput: z.ZodTypeAny = z.object({\n meta: RadarGetBeacon_MetaSchema.nullable(),\n beacon: RadarGetBeacon_BeaconSchema.nullable(),\n}).describe(\"Response model for getting a beacon.\");\n\nexport const radarGetBeacon = action(\"RADAR_GET_BEACON\", {\n slug: \"radar-get-beacon\",\n name: \"Get Beacon\",\n description: \"Tool to retrieve a beacon by Radar _id. Use when you need to fetch full details of an existing beacon.\",\n input: RadarGetBeaconInput,\n output: RadarGetBeaconOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO,EACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAC9E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,4BAA0CA,IAAAA,EAAE,OAAO,EACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,EACxE,CAAC,CAAC,CAAC,SAAS,oBAAoB;AAChC,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,8BAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE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AAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-beacon.cjs","names":["z","action"],"sources":["../../src/actions/get-beacon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetBeaconInput = z.object({\n id: z.string().describe(\"The Radar-generated _id of the beacon to retrieve.\"),\n}).describe(\"Request model for getting a beacon by Radar _id.\");\nconst RadarGetBeacon_MetaSchema = z.object({\n code: z.number().int().describe(\"The HTTP status code of the response\").nullable(),\n}).describe(\"Response metadata.\");\nconst RadarGetBeacon_GeometryPointSchema = z.object({\n type: z.string().describe(\"Geometry type, typically 'Point'\").nullable(),\n coordinates: z.array(z.number()).describe(\"Coordinates as [longitude, latitude]\"),\n}).describe(\"GeoJSON geometry for the beacon location.\");\nconst RadarGetBeacon_BeaconSchema = z.object({\n _id: z.string().describe(\"Unique Radar beacon identifier\").nullable(),\n tag: z.string().describe(\"Tag associated with the beacon\").nullable().optional(),\n live: z.boolean().describe(\"Whether the beacon is in live mode\").nullable().optional(),\n type: z.string().describe(\"Beacon technology type\").nullable().optional(),\n uuid: z.string().describe(\"UUID for iBeacon\").nullable().optional(),\n major: z.string().describe(\"Major value for iBeacon\").nullable().optional(),\n minor: z.string().describe(\"Minor value for iBeacon\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the beacon is enabled\").nullable().optional(),\n geometry: RadarGetBeacon_GeometryPointSchema.nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the beacon was created (ISO 8601)\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the beacon was last updated (ISO 8601)\").nullable().optional(),\n externalId: z.string().describe(\"External identifier of the beacon\").nullable().optional(),\n description: z.string().describe(\"Description of the beacon\").nullable().optional(),\n}).describe(\"Beacon object returned by Radar.\");\nexport const RadarGetBeaconOutput = z.object({\n meta: RadarGetBeacon_MetaSchema.nullable(),\n beacon: RadarGetBeacon_BeaconSchema.nullable(),\n}).describe(\"Response model for getting a beacon.\");\n\nexport const radarGetBeacon = action(\"RADAR_GET_BEACON\", {\n slug: \"radar-get-beacon\",\n name: \"Get Beacon\",\n description: \"Tool to retrieve a beacon by Radar _id. Use when you need to fetch full details of an existing beacon.\",\n input: RadarGetBeaconInput,\n output: RadarGetBeaconOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAC9E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,4BAA4BA,IAAAA,EAAE,OAAO,EACzC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,SAAS,oBAAoB;AAChC,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,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