@keystrokehq/radar 0.1.5 → 0.1.6
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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/autocomplete-address-or-place.cjs +1 -0
- package/dist/actions/autocomplete-address-or-place.cjs.map +1 -1
- package/dist/actions/autocomplete-address-or-place.d.cts +3 -18
- package/dist/actions/autocomplete-address-or-place.d.cts.map +1 -1
- package/dist/actions/autocomplete-address-or-place.d.mts +3 -18
- package/dist/actions/autocomplete-address-or-place.d.mts.map +1 -1
- package/dist/actions/autocomplete-address-or-place.mjs +1 -0
- package/dist/actions/autocomplete-address-or-place.mjs.map +1 -1
- package/dist/actions/create-beacon.cjs +1 -0
- package/dist/actions/create-beacon.cjs.map +1 -1
- package/dist/actions/create-beacon.d.cts +3 -24
- package/dist/actions/create-beacon.d.cts.map +1 -1
- package/dist/actions/create-beacon.d.mts +3 -24
- package/dist/actions/create-beacon.d.mts.map +1 -1
- package/dist/actions/create-beacon.mjs +1 -0
- package/dist/actions/create-beacon.mjs.map +1 -1
- package/dist/actions/create-trip.cjs +1 -0
- package/dist/actions/create-trip.cjs.map +1 -1
- package/dist/actions/create-trip.d.cts +3 -30
- package/dist/actions/create-trip.d.cts.map +1 -1
- package/dist/actions/create-trip.d.mts +3 -30
- package/dist/actions/create-trip.d.mts.map +1 -1
- package/dist/actions/create-trip.mjs +1 -0
- package/dist/actions/create-trip.mjs.map +1 -1
- package/dist/actions/delete-beacon.cjs +1 -0
- package/dist/actions/delete-beacon.cjs.map +1 -1
- package/dist/actions/delete-beacon.d.cts +3 -15
- package/dist/actions/delete-beacon.d.cts.map +1 -1
- package/dist/actions/delete-beacon.d.mts +3 -15
- package/dist/actions/delete-beacon.d.mts.map +1 -1
- package/dist/actions/delete-beacon.mjs +1 -0
- package/dist/actions/delete-beacon.mjs.map +1 -1
- package/dist/actions/delete-geofence-by-tag.cjs +1 -0
- package/dist/actions/delete-geofence-by-tag.cjs.map +1 -1
- package/dist/actions/delete-geofence-by-tag.d.cts +3 -16
- package/dist/actions/delete-geofence-by-tag.d.cts.map +1 -1
- package/dist/actions/delete-geofence-by-tag.d.mts +3 -16
- package/dist/actions/delete-geofence-by-tag.d.mts.map +1 -1
- package/dist/actions/delete-geofence-by-tag.mjs +1 -0
- package/dist/actions/delete-geofence-by-tag.mjs.map +1 -1
- package/dist/actions/delete-geofence.cjs +1 -0
- package/dist/actions/delete-geofence.cjs.map +1 -1
- package/dist/actions/delete-geofence.d.cts +3 -15
- package/dist/actions/delete-geofence.d.cts.map +1 -1
- package/dist/actions/delete-geofence.d.mts +3 -15
- package/dist/actions/delete-geofence.d.mts.map +1 -1
- package/dist/actions/delete-geofence.mjs +1 -0
- package/dist/actions/delete-geofence.mjs.map +1 -1
- package/dist/actions/delete-trip.cjs +1 -0
- package/dist/actions/delete-trip.cjs.map +1 -1
- package/dist/actions/delete-trip.d.cts +3 -15
- package/dist/actions/delete-trip.d.cts.map +1 -1
- package/dist/actions/delete-trip.d.mts +3 -15
- package/dist/actions/delete-trip.d.mts.map +1 -1
- package/dist/actions/delete-trip.mjs +1 -0
- package/dist/actions/delete-trip.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -0
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +3 -15
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +3 -15
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +1 -0
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/forward-geocode.cjs +1 -0
- package/dist/actions/forward-geocode.cjs.map +1 -1
- package/dist/actions/forward-geocode.d.cts +3 -18
- package/dist/actions/forward-geocode.d.cts.map +1 -1
- package/dist/actions/forward-geocode.d.mts +3 -18
- package/dist/actions/forward-geocode.d.mts.map +1 -1
- package/dist/actions/forward-geocode.mjs +1 -0
- package/dist/actions/forward-geocode.mjs.map +1 -1
- package/dist/actions/get-beacon-by-tag.cjs +1 -0
- package/dist/actions/get-beacon-by-tag.cjs.map +1 -1
- package/dist/actions/get-beacon-by-tag.d.cts +3 -16
- package/dist/actions/get-beacon-by-tag.d.cts.map +1 -1
- package/dist/actions/get-beacon-by-tag.d.mts +3 -16
- package/dist/actions/get-beacon-by-tag.d.mts.map +1 -1
- package/dist/actions/get-beacon-by-tag.mjs +1 -0
- package/dist/actions/get-beacon-by-tag.mjs.map +1 -1
- package/dist/actions/get-beacon.cjs +1 -0
- package/dist/actions/get-beacon.cjs.map +1 -1
- package/dist/actions/get-beacon.d.cts +3 -15
- package/dist/actions/get-beacon.d.cts.map +1 -1
- package/dist/actions/get-beacon.d.mts +3 -15
- package/dist/actions/get-beacon.d.mts.map +1 -1
- package/dist/actions/get-beacon.mjs +1 -0
- package/dist/actions/get-beacon.mjs.map +1 -1
- package/dist/actions/get-context-for-location.cjs +1 -0
- package/dist/actions/get-context-for-location.cjs.map +1 -1
- package/dist/actions/get-context-for-location.d.cts +3 -16
- package/dist/actions/get-context-for-location.d.cts.map +1 -1
- package/dist/actions/get-context-for-location.d.mts +3 -16
- package/dist/actions/get-context-for-location.d.mts.map +1 -1
- package/dist/actions/get-context-for-location.mjs +1 -0
- package/dist/actions/get-context-for-location.mjs.map +1 -1
- package/dist/actions/get-geofence.cjs +1 -0
- package/dist/actions/get-geofence.cjs.map +1 -1
- package/dist/actions/get-geofence.d.cts +3 -17
- package/dist/actions/get-geofence.d.cts.map +1 -1
- package/dist/actions/get-geofence.d.mts +3 -17
- package/dist/actions/get-geofence.d.mts.map +1 -1
- package/dist/actions/get-geofence.mjs +1 -0
- package/dist/actions/get-geofence.mjs.map +1 -1
- package/dist/actions/get-places-settings.cjs +1 -0
- package/dist/actions/get-places-settings.cjs.map +1 -1
- package/dist/actions/get-places-settings.d.cts +3 -13
- package/dist/actions/get-places-settings.d.cts.map +1 -1
- package/dist/actions/get-places-settings.d.mts +3 -13
- package/dist/actions/get-places-settings.d.mts.map +1 -1
- package/dist/actions/get-places-settings.mjs +1 -0
- package/dist/actions/get-places-settings.mjs.map +1 -1
- package/dist/actions/get-route-directions.cjs +1 -0
- package/dist/actions/get-route-directions.cjs.map +1 -1
- package/dist/actions/get-route-directions.d.cts +4 -24
- package/dist/actions/get-route-directions.d.cts.map +1 -1
- package/dist/actions/get-route-directions.d.mts +4 -24
- package/dist/actions/get-route-directions.d.mts.map +1 -1
- package/dist/actions/get-route-directions.mjs +1 -0
- package/dist/actions/get-route-directions.mjs.map +1 -1
- package/dist/actions/get-route-matrix.cjs +1 -0
- package/dist/actions/get-route-matrix.cjs.map +1 -1
- package/dist/actions/get-route-matrix.d.cts +3 -18
- package/dist/actions/get-route-matrix.d.cts.map +1 -1
- package/dist/actions/get-route-matrix.d.mts +3 -18
- package/dist/actions/get-route-matrix.d.mts.map +1 -1
- package/dist/actions/get-route-matrix.mjs +1 -0
- package/dist/actions/get-route-matrix.mjs.map +1 -1
- package/dist/actions/get-trip.cjs +1 -0
- package/dist/actions/get-trip.cjs.map +1 -1
- package/dist/actions/get-trip.d.cts +3 -16
- package/dist/actions/get-trip.d.cts.map +1 -1
- package/dist/actions/get-trip.d.mts +3 -16
- package/dist/actions/get-trip.d.mts.map +1 -1
- package/dist/actions/get-trip.mjs +1 -0
- package/dist/actions/get-trip.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -0
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -15
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -15
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +1 -0
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-users-in-geofence.cjs +1 -0
- package/dist/actions/get-users-in-geofence.cjs.map +1 -1
- package/dist/actions/get-users-in-geofence.d.cts +3 -18
- package/dist/actions/get-users-in-geofence.d.cts.map +1 -1
- package/dist/actions/get-users-in-geofence.d.mts +3 -18
- package/dist/actions/get-users-in-geofence.d.mts.map +1 -1
- package/dist/actions/get-users-in-geofence.mjs +1 -0
- package/dist/actions/get-users-in-geofence.mjs.map +1 -1
- package/dist/actions/ip-geocode.cjs +1 -0
- package/dist/actions/ip-geocode.cjs.map +1 -1
- package/dist/actions/ip-geocode.d.cts +3 -15
- package/dist/actions/ip-geocode.d.cts.map +1 -1
- package/dist/actions/ip-geocode.d.mts +3 -15
- package/dist/actions/ip-geocode.d.mts.map +1 -1
- package/dist/actions/ip-geocode.mjs +1 -0
- package/dist/actions/ip-geocode.mjs.map +1 -1
- package/dist/actions/list-events.cjs +1 -0
- package/dist/actions/list-events.cjs.map +1 -1
- package/dist/actions/list-events.d.cts +3 -22
- package/dist/actions/list-events.d.cts.map +1 -1
- package/dist/actions/list-events.d.mts +3 -22
- package/dist/actions/list-events.d.mts.map +1 -1
- package/dist/actions/list-events.mjs +1 -0
- package/dist/actions/list-events.mjs.map +1 -1
- package/dist/actions/list-geofences.cjs +1 -0
- package/dist/actions/list-geofences.cjs.map +1 -1
- package/dist/actions/list-geofences.d.cts +3 -23
- package/dist/actions/list-geofences.d.cts.map +1 -1
- package/dist/actions/list-geofences.d.mts +3 -23
- package/dist/actions/list-geofences.d.mts.map +1 -1
- package/dist/actions/list-geofences.mjs +1 -0
- package/dist/actions/list-geofences.mjs.map +1 -1
- package/dist/actions/list-trips.cjs +1 -0
- package/dist/actions/list-trips.cjs.map +1 -1
- package/dist/actions/list-trips.d.cts +3 -20
- package/dist/actions/list-trips.d.cts.map +1 -1
- package/dist/actions/list-trips.d.mts +3 -20
- package/dist/actions/list-trips.d.mts.map +1 -1
- package/dist/actions/list-trips.mjs +1 -0
- package/dist/actions/list-trips.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -21
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -21
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/reverse-geocode.cjs +1 -0
- package/dist/actions/reverse-geocode.cjs.map +1 -1
- package/dist/actions/reverse-geocode.d.cts +3 -18
- package/dist/actions/reverse-geocode.d.cts.map +1 -1
- package/dist/actions/reverse-geocode.d.mts +3 -18
- package/dist/actions/reverse-geocode.d.mts.map +1 -1
- package/dist/actions/reverse-geocode.mjs +1 -0
- package/dist/actions/reverse-geocode.mjs.map +1 -1
- package/dist/actions/route-distance.cjs +1 -0
- package/dist/actions/route-distance.cjs.map +1 -1
- package/dist/actions/route-distance.d.cts +5 -22
- package/dist/actions/route-distance.d.cts.map +1 -1
- package/dist/actions/route-distance.d.mts +5 -22
- package/dist/actions/route-distance.d.mts.map +1 -1
- package/dist/actions/route-distance.mjs +1 -0
- package/dist/actions/route-distance.mjs.map +1 -1
- package/dist/actions/search-geofences-near-location.cjs +1 -0
- package/dist/actions/search-geofences-near-location.cjs.map +1 -1
- package/dist/actions/search-geofences-near-location.d.cts +3 -19
- package/dist/actions/search-geofences-near-location.d.cts.map +1 -1
- package/dist/actions/search-geofences-near-location.d.mts +3 -19
- package/dist/actions/search-geofences-near-location.d.mts.map +1 -1
- package/dist/actions/search-geofences-near-location.mjs +1 -0
- package/dist/actions/search-geofences-near-location.mjs.map +1 -1
- package/dist/actions/search-places-near-location.cjs +1 -0
- package/dist/actions/search-places-near-location.cjs.map +1 -1
- package/dist/actions/search-places-near-location.d.cts +3 -23
- package/dist/actions/search-places-near-location.d.cts.map +1 -1
- package/dist/actions/search-places-near-location.d.mts +3 -23
- package/dist/actions/search-places-near-location.d.mts.map +1 -1
- package/dist/actions/search-places-near-location.mjs +1 -0
- package/dist/actions/search-places-near-location.mjs.map +1 -1
- package/dist/actions/search-users-near-location.cjs +1 -0
- package/dist/actions/search-users-near-location.cjs.map +1 -1
- package/dist/actions/search-users-near-location.d.cts +3 -18
- package/dist/actions/search-users-near-location.d.cts.map +1 -1
- package/dist/actions/search-users-near-location.d.mts +3 -18
- package/dist/actions/search-users-near-location.d.mts.map +1 -1
- package/dist/actions/search-users-near-location.mjs +1 -0
- package/dist/actions/search-users-near-location.mjs.map +1 -1
- package/dist/actions/track-location-update.cjs +1 -0
- package/dist/actions/track-location-update.cjs.map +1 -1
- package/dist/actions/track-location-update.d.cts +3 -31
- package/dist/actions/track-location-update.d.cts.map +1 -1
- package/dist/actions/track-location-update.d.mts +3 -31
- package/dist/actions/track-location-update.d.mts.map +1 -1
- package/dist/actions/track-location-update.mjs +1 -0
- package/dist/actions/track-location-update.mjs.map +1 -1
- package/dist/actions/update-places-settings.cjs +1 -0
- package/dist/actions/update-places-settings.cjs.map +1 -1
- package/dist/actions/update-places-settings.d.cts +3 -17
- package/dist/actions/update-places-settings.d.cts.map +1 -1
- package/dist/actions/update-places-settings.d.mts +3 -17
- package/dist/actions/update-places-settings.d.mts.map +1 -1
- package/dist/actions/update-places-settings.mjs +1 -0
- package/dist/actions/update-places-settings.mjs.map +1 -1
- package/dist/actions/update-trip-by-id.cjs +1 -0
- package/dist/actions/update-trip-by-id.cjs.map +1 -1
- package/dist/actions/update-trip-by-id.d.cts +3 -18
- package/dist/actions/update-trip-by-id.d.cts.map +1 -1
- package/dist/actions/update-trip-by-id.d.mts +3 -18
- package/dist/actions/update-trip-by-id.d.mts.map +1 -1
- package/dist/actions/update-trip-by-id.mjs +1 -0
- package/dist/actions/update-trip-by-id.mjs.map +1 -1
- package/dist/actions/update-trip.cjs +1 -0
- package/dist/actions/update-trip.cjs.map +1 -1
- package/dist/actions/update-trip.d.cts +3 -32
- package/dist/actions/update-trip.d.cts.map +1 -1
- package/dist/actions/update-trip.d.mts +3 -32
- package/dist/actions/update-trip.d.mts.map +1 -1
- package/dist/actions/update-trip.mjs +1 -0
- package/dist/actions/update-trip.mjs.map +1 -1
- package/dist/actions/upsert-beacon-by-id.cjs +1 -0
- package/dist/actions/upsert-beacon-by-id.cjs.map +1 -1
- package/dist/actions/upsert-beacon-by-id.d.cts +3 -24
- package/dist/actions/upsert-beacon-by-id.d.cts.map +1 -1
- package/dist/actions/upsert-beacon-by-id.d.mts +3 -24
- package/dist/actions/upsert-beacon-by-id.d.mts.map +1 -1
- package/dist/actions/upsert-beacon-by-id.mjs +1 -0
- package/dist/actions/upsert-beacon-by-id.mjs.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.cjs +1 -0
- package/dist/actions/upsert-beacon-by-tag.cjs.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.d.cts +3 -26
- package/dist/actions/upsert-beacon-by-tag.d.cts.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.d.mts +3 -26
- package/dist/actions/upsert-beacon-by-tag.d.mts.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.mjs +1 -0
- package/dist/actions/upsert-beacon-by-tag.mjs.map +1 -1
- package/dist/actions/upsert-geofence-by-id.cjs +1 -0
- package/dist/actions/upsert-geofence-by-id.cjs.map +1 -1
- package/dist/actions/upsert-geofence-by-id.d.cts +3 -23
- package/dist/actions/upsert-geofence-by-id.d.cts.map +1 -1
- package/dist/actions/upsert-geofence-by-id.d.mts +3 -23
- package/dist/actions/upsert-geofence-by-id.d.mts.map +1 -1
- package/dist/actions/upsert-geofence-by-id.mjs +1 -0
- package/dist/actions/upsert-geofence-by-id.mjs.map +1 -1
- package/dist/actions/upsert-geofence.cjs +1 -0
- package/dist/actions/upsert-geofence.cjs.map +1 -1
- package/dist/actions/upsert-geofence.d.cts +3 -22
- package/dist/actions/upsert-geofence.d.cts.map +1 -1
- package/dist/actions/upsert-geofence.d.mts +3 -22
- package/dist/actions/upsert-geofence.d.mts.map +1 -1
- package/dist/actions/upsert-geofence.mjs +1 -0
- package/dist/actions/upsert-geofence.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-beacon.mjs","names":[],"sources":["../../src/actions/delete-beacon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteBeaconInput = z.object({\n id: z.string().describe(\"The Radar _id of the beacon to delete\"),\n}).describe(\"Request parameters for deleting a beacon.\");\nconst RadarDeleteBeacon_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n}).passthrough().describe(\"Response metadata from Radar API.\");\nexport const RadarDeleteBeaconOutput = z.object({\n meta: RadarDeleteBeacon_MetaSchema.nullable(),\n}).passthrough().describe(\"Response schema for deleted beacon.\\nThe Radar API returns only a meta object with the status code on successful deletion.\");\n\nexport const radarDeleteBeacon = action(\"RADAR_DELETE_BEACON\", {\n slug: \"radar-delete-beacon\",\n name: \"Delete Beacon\",\n description: \"Tool to delete a beacon by its Radar ID. Use when supplying a beacon's unique identifier to remove it.\",\n input: RadarDeleteBeaconInput,\n output: RadarDeleteBeaconOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-beacon.mjs","names":[],"sources":["../../src/actions/delete-beacon.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { radar } from \"../app\";\n\nexport const RadarDeleteBeaconInput = z.object({\n id: z.string().describe(\"The Radar _id of the beacon to delete\"),\n}).describe(\"Request parameters for deleting a beacon.\");\nconst RadarDeleteBeacon_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n}).passthrough().describe(\"Response metadata from Radar API.\");\nexport const RadarDeleteBeaconOutput = z.object({\n meta: RadarDeleteBeacon_MetaSchema.nullable(),\n}).passthrough().describe(\"Response schema for deleted beacon.\\nThe Radar API returns only a meta object with the status code on successful deletion.\");\n\nexport const radarDeleteBeacon: AppAction<\n typeof RadarDeleteBeaconInput,\n typeof RadarDeleteBeaconOutput,\n typeof radar.credential\n> = action(\"RADAR_DELETE_BEACON\", {\n slug: \"radar-delete-beacon\",\n name: \"Delete Beacon\",\n description: \"Tool to delete a beacon by its Radar ID. Use when supplying a beacon's unique identifier to remove it.\",\n input: RadarDeleteBeaconInput,\n output: RadarDeleteBeaconOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACjE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,+BAA+B,EAAE,OAAO,EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbqC,EAAE,OAAO,EAC9C,MAAM,6BAA6B,SAAS,EAC9C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4HAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-geofence-by-tag.cjs","names":["z","action"],"sources":["../../src/actions/delete-geofence-by-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteGeofenceByTagInput = z.object({\n tag: z.string().describe(\"The tag of the geofence to delete\"),\n externalId: z.string().describe(\"The external ID of the geofence to delete\"),\n}).describe(\"Request model to delete a geofence by tag and external ID.\");\nconst RadarDeleteGeofenceByTag_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by Radar API\").nullable(),\n}).passthrough().describe(\"Response metadata from Radar API.\");\nexport const RadarDeleteGeofenceByTagOutput = z.object({\n meta: RadarDeleteGeofenceByTag_MetaSchema.nullable(),\n}).passthrough().describe(\"Response model returned after deleting a geofence by tag and external ID.\\nThe Radar API returns only a meta object with the status code on successful deletion.\");\n\nexport const radarDeleteGeofenceByTag = action(\"RADAR_DELETE_GEOFENCE_BY_TAG\", {\n slug: \"radar-delete-geofence-by-tag\",\n name: \"Delete Geofence By Tag\",\n description: \"Tool to delete a geofence by tag and external ID. Use when you have both the tag and external identifier to remove a specific geofence.\",\n input: RadarDeleteGeofenceByTagInput,\n output: RadarDeleteGeofenceByTagOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-geofence-by-tag.cjs","names":["z","action"],"sources":["../../src/actions/delete-geofence-by-tag.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { radar } from \"../app\";\n\nexport const RadarDeleteGeofenceByTagInput = z.object({\n tag: z.string().describe(\"The tag of the geofence to delete\"),\n externalId: z.string().describe(\"The external ID of the geofence to delete\"),\n}).describe(\"Request model to delete a geofence by tag and external ID.\");\nconst RadarDeleteGeofenceByTag_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by Radar API\").nullable(),\n}).passthrough().describe(\"Response metadata from Radar API.\");\nexport const RadarDeleteGeofenceByTagOutput = z.object({\n meta: RadarDeleteGeofenceByTag_MetaSchema.nullable(),\n}).passthrough().describe(\"Response model returned after deleting a geofence by tag and external ID.\\nThe Radar API returns only a meta object with the status code on successful deletion.\");\n\nexport const radarDeleteGeofenceByTag: AppAction<\n typeof RadarDeleteGeofenceByTagInput,\n typeof RadarDeleteGeofenceByTagOutput,\n typeof radar.credential\n> = action(\"RADAR_DELETE_GEOFENCE_BY_TAG\", {\n slug: \"radar-delete-geofence-by-tag\",\n name: \"Delete Geofence By Tag\",\n description: \"Tool to delete a geofence by tag and external ID. Use when you have both the tag and external identifier to remove a specific geofence.\",\n input: RadarDeleteGeofenceByTagInput,\n output: RadarDeleteGeofenceByTagOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC7E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO,EACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kKAAkK;AAE5L,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { radar } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-geofence-by-tag.d.ts
|
|
@@ -10,22 +12,7 @@ declare const RadarDeleteGeofenceByTagOutput: z.ZodObject<{
|
|
|
10
12
|
code: z.ZodNullable<z.ZodNumber>;
|
|
11
13
|
}, z.core.$loose>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const radarDeleteGeofenceByTag:
|
|
14
|
-
tag: string;
|
|
15
|
-
externalId: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const radarDeleteGeofenceByTag: AppAction<typeof RadarDeleteGeofenceByTagInput, typeof RadarDeleteGeofenceByTagOutput, typeof radar.credential>;
|
|
29
16
|
//#endregion
|
|
30
17
|
export { radarDeleteGeofenceByTag };
|
|
31
18
|
//# sourceMappingURL=delete-geofence-by-tag.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-geofence-by-tag.d.cts","names":[],"sources":["../../src/actions/delete-geofence-by-tag.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-geofence-by-tag.d.cts","names":[],"sources":["../../src/actions/delete-geofence-by-tag.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { radar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-geofence-by-tag.d.ts
|
|
@@ -10,22 +12,7 @@ declare const RadarDeleteGeofenceByTagOutput: z.ZodObject<{
|
|
|
10
12
|
code: z.ZodNullable<z.ZodNumber>;
|
|
11
13
|
}, z.core.$loose>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const radarDeleteGeofenceByTag:
|
|
14
|
-
tag: string;
|
|
15
|
-
externalId: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const radarDeleteGeofenceByTag: AppAction<typeof RadarDeleteGeofenceByTagInput, typeof RadarDeleteGeofenceByTagOutput, typeof radar.credential>;
|
|
29
16
|
//#endregion
|
|
30
17
|
export { radarDeleteGeofenceByTag };
|
|
31
18
|
//# sourceMappingURL=delete-geofence-by-tag.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-geofence-by-tag.d.mts","names":[],"sources":["../../src/actions/delete-geofence-by-tag.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-geofence-by-tag.d.mts","names":[],"sources":["../../src/actions/delete-geofence-by-tag.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-geofence-by-tag.mjs","names":[],"sources":["../../src/actions/delete-geofence-by-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteGeofenceByTagInput = z.object({\n tag: z.string().describe(\"The tag of the geofence to delete\"),\n externalId: z.string().describe(\"The external ID of the geofence to delete\"),\n}).describe(\"Request model to delete a geofence by tag and external ID.\");\nconst RadarDeleteGeofenceByTag_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by Radar API\").nullable(),\n}).passthrough().describe(\"Response metadata from Radar API.\");\nexport const RadarDeleteGeofenceByTagOutput = z.object({\n meta: RadarDeleteGeofenceByTag_MetaSchema.nullable(),\n}).passthrough().describe(\"Response model returned after deleting a geofence by tag and external ID.\\nThe Radar API returns only a meta object with the status code on successful deletion.\");\n\nexport const radarDeleteGeofenceByTag = action(\"RADAR_DELETE_GEOFENCE_BY_TAG\", {\n slug: \"radar-delete-geofence-by-tag\",\n name: \"Delete Geofence By Tag\",\n description: \"Tool to delete a geofence by tag and external ID. Use when you have both the tag and external identifier to remove a specific geofence.\",\n input: RadarDeleteGeofenceByTagInput,\n output: RadarDeleteGeofenceByTagOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-geofence-by-tag.mjs","names":[],"sources":["../../src/actions/delete-geofence-by-tag.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { radar } from \"../app\";\n\nexport const RadarDeleteGeofenceByTagInput = z.object({\n tag: z.string().describe(\"The tag of the geofence to delete\"),\n externalId: z.string().describe(\"The external ID of the geofence to delete\"),\n}).describe(\"Request model to delete a geofence by tag and external ID.\");\nconst RadarDeleteGeofenceByTag_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by Radar API\").nullable(),\n}).passthrough().describe(\"Response metadata from Radar API.\");\nexport const RadarDeleteGeofenceByTagOutput = z.object({\n meta: RadarDeleteGeofenceByTag_MetaSchema.nullable(),\n}).passthrough().describe(\"Response model returned after deleting a geofence by tag and external ID.\\nThe Radar API returns only a meta object with the status code on successful deletion.\");\n\nexport const radarDeleteGeofenceByTag: AppAction<\n typeof RadarDeleteGeofenceByTagInput,\n typeof RadarDeleteGeofenceByTagOutput,\n typeof radar.credential\n> = action(\"RADAR_DELETE_GEOFENCE_BY_TAG\", {\n slug: \"radar-delete-geofence-by-tag\",\n name: \"Delete Geofence By Tag\",\n description: \"Tool to delete a geofence by tag and external ID. Use when you have both the tag and external identifier to remove a specific geofence.\",\n input: RadarDeleteGeofenceByTagInput,\n output: RadarDeleteGeofenceByTagOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC7E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,sCAAsC,EAAE,OAAO,EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kKAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-geofence.cjs","names":["z","action"],"sources":["../../src/actions/delete-geofence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteGeofenceInput = z.object({\n id: z.string().describe(\"Unique ID of the geofence to delete\"),\n}).describe(\"Request model to delete a geofence.\");\nconst RadarDeleteGeofence_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by Radar API\").nullable(),\n}).passthrough().describe(\"Response metadata from Radar API.\");\nexport const RadarDeleteGeofenceOutput = z.object({\n meta: RadarDeleteGeofence_MetaSchema.nullable(),\n}).passthrough().describe(\"Response model returned after deleting a geofence.\\nThe Radar API returns only a meta object with the status code on successful deletion.\");\n\nexport const radarDeleteGeofence = action(\"RADAR_DELETE_GEOFENCE\", {\n slug: \"radar-delete-geofence\",\n name: \"Delete Geofence\",\n description: \"Tool to delete a geofence by ID. Use when supplying a geofence’s unique identifier to remove it.\",\n input: RadarDeleteGeofenceInput,\n output: RadarDeleteGeofenceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-geofence.cjs","names":["z","action"],"sources":["../../src/actions/delete-geofence.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { radar } from \"../app\";\n\nexport const RadarDeleteGeofenceInput = z.object({\n id: z.string().describe(\"Unique ID of the geofence to delete\"),\n}).describe(\"Request model to delete a geofence.\");\nconst RadarDeleteGeofence_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by Radar API\").nullable(),\n}).passthrough().describe(\"Response metadata from Radar API.\");\nexport const RadarDeleteGeofenceOutput = z.object({\n meta: RadarDeleteGeofence_MetaSchema.nullable(),\n}).passthrough().describe(\"Response model returned after deleting a geofence.\\nThe Radar API returns only a meta object with the status code on successful deletion.\");\n\nexport const radarDeleteGeofence: AppAction<\n typeof RadarDeleteGeofenceInput,\n typeof RadarDeleteGeofenceOutput,\n typeof radar.credential\n> = action(\"RADAR_DELETE_GEOFENCE\", {\n slug: \"radar-delete-geofence\",\n name: \"Delete Geofence\",\n description: \"Tool to delete a geofence by ID. Use when supplying a geofence’s unique identifier to remove it.\",\n input: RadarDeleteGeofenceInput,\n output: RadarDeleteGeofenceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EAC/D,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,iCAAiCA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAM,+BAA+B,SAAS,EAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2IAA2I;AAErK,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { radar } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-geofence.d.ts
|
|
@@ -9,21 +11,7 @@ declare const RadarDeleteGeofenceOutput: z.ZodObject<{
|
|
|
9
11
|
code: z.ZodNullable<z.ZodNumber>;
|
|
10
12
|
}, z.core.$loose>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const radarDeleteGeofence:
|
|
13
|
-
id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const radarDeleteGeofence: AppAction<typeof RadarDeleteGeofenceInput, typeof RadarDeleteGeofenceOutput, typeof radar.credential>;
|
|
27
15
|
//#endregion
|
|
28
16
|
export { radarDeleteGeofence };
|
|
29
17
|
//# sourceMappingURL=delete-geofence.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-geofence.d.cts","names":[],"sources":["../../src/actions/delete-geofence.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-geofence.d.cts","names":[],"sources":["../../src/actions/delete-geofence.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAMxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { radar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-geofence.d.ts
|
|
@@ -9,21 +11,7 @@ declare const RadarDeleteGeofenceOutput: z.ZodObject<{
|
|
|
9
11
|
code: z.ZodNullable<z.ZodNumber>;
|
|
10
12
|
}, z.core.$loose>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const radarDeleteGeofence:
|
|
13
|
-
id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const radarDeleteGeofence: AppAction<typeof RadarDeleteGeofenceInput, typeof RadarDeleteGeofenceOutput, typeof radar.credential>;
|
|
27
15
|
//#endregion
|
|
28
16
|
export { radarDeleteGeofence };
|
|
29
17
|
//# sourceMappingURL=delete-geofence.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-geofence.d.mts","names":[],"sources":["../../src/actions/delete-geofence.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-geofence.d.mts","names":[],"sources":["../../src/actions/delete-geofence.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAMxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-geofence.mjs","names":[],"sources":["../../src/actions/delete-geofence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteGeofenceInput = z.object({\n id: z.string().describe(\"Unique ID of the geofence to delete\"),\n}).describe(\"Request model to delete a geofence.\");\nconst RadarDeleteGeofence_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by Radar API\").nullable(),\n}).passthrough().describe(\"Response metadata from Radar API.\");\nexport const RadarDeleteGeofenceOutput = z.object({\n meta: RadarDeleteGeofence_MetaSchema.nullable(),\n}).passthrough().describe(\"Response model returned after deleting a geofence.\\nThe Radar API returns only a meta object with the status code on successful deletion.\");\n\nexport const radarDeleteGeofence = action(\"RADAR_DELETE_GEOFENCE\", {\n slug: \"radar-delete-geofence\",\n name: \"Delete Geofence\",\n description: \"Tool to delete a geofence by ID. Use when supplying a geofence’s unique identifier to remove it.\",\n input: RadarDeleteGeofenceInput,\n output: RadarDeleteGeofenceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-geofence.mjs","names":[],"sources":["../../src/actions/delete-geofence.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { radar } from \"../app\";\n\nexport const RadarDeleteGeofenceInput = z.object({\n id: z.string().describe(\"Unique ID of the geofence to delete\"),\n}).describe(\"Request model to delete a geofence.\");\nconst RadarDeleteGeofence_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by Radar API\").nullable(),\n}).passthrough().describe(\"Response metadata from Radar API.\");\nexport const RadarDeleteGeofenceOutput = z.object({\n meta: RadarDeleteGeofence_MetaSchema.nullable(),\n}).passthrough().describe(\"Response model returned after deleting a geofence.\\nThe Radar API returns only a meta object with the status code on successful deletion.\");\n\nexport const radarDeleteGeofence: AppAction<\n typeof RadarDeleteGeofenceInput,\n typeof RadarDeleteGeofenceOutput,\n typeof radar.credential\n> = action(\"RADAR_DELETE_GEOFENCE\", {\n slug: \"radar-delete-geofence\",\n name: \"Delete Geofence\",\n description: \"Tool to delete a geofence by ID. Use when supplying a geofence’s unique identifier to remove it.\",\n input: RadarDeleteGeofenceInput,\n output: RadarDeleteGeofenceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EAC/D,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,iCAAiC,EAAE,OAAO,EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,MAAM,+BAA+B,SAAS,EAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2IAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-trip.cjs","names":["z","action"],"sources":["../../src/actions/delete-trip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteTripInput = z.object({\n id: z.string().describe(\"The unique identifier of the trip to delete. Can be Radar _id or externalId.\"),\n}).describe(\"Request parameters for deleting a trip.\");\nconst RadarDeleteTrip_MetaResponseSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).passthrough().describe(\"Metadata response from Radar API.\");\nexport const RadarDeleteTripOutput = z.object({\n meta: RadarDeleteTrip_MetaResponseSchema.nullable(),\n}).passthrough().describe(\"Response schema for deleted trip.\");\n\nexport const radarDeleteTrip = action(\"RADAR_DELETE_TRIP\", {\n slug: \"radar-delete-trip\",\n name: \"Delete Trip\",\n description: \"Tool to delete a trip by its Radar ID or external ID. Use after confirming the trip exists.\",\n input: RadarDeleteTripInput,\n output: RadarDeleteTripOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-trip.cjs","names":["z","action"],"sources":["../../src/actions/delete-trip.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { radar } from \"../app\";\n\nexport const RadarDeleteTripInput = z.object({\n id: z.string().describe(\"The unique identifier of the trip to delete. Can be Radar _id or externalId.\"),\n}).describe(\"Request parameters for deleting a trip.\");\nconst RadarDeleteTrip_MetaResponseSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).passthrough().describe(\"Metadata response from Radar API.\");\nexport const RadarDeleteTripOutput = z.object({\n meta: RadarDeleteTrip_MetaResponseSchema.nullable(),\n}).passthrough().describe(\"Response schema for deleted trip.\");\n\nexport const radarDeleteTrip: AppAction<\n typeof RadarDeleteTripInput,\n typeof RadarDeleteTripOutput,\n typeof radar.credential\n> = action(\"RADAR_DELETE_TRIP\", {\n slug: \"radar-delete-trip\",\n name: \"Delete Trip\",\n description: \"Tool to delete a trip by its Radar ID or external ID. Use after confirming the trip exists.\",\n input: RadarDeleteTripInput,\n output: RadarDeleteTripOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,EACxG,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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { radar } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-trip.d.ts
|
|
@@ -9,21 +11,7 @@ declare const RadarDeleteTripOutput: z.ZodObject<{
|
|
|
9
11
|
code: z.ZodNullable<z.ZodNumber>;
|
|
10
12
|
}, z.core.$loose>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const radarDeleteTrip:
|
|
13
|
-
id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const radarDeleteTrip: AppAction<typeof RadarDeleteTripInput, typeof RadarDeleteTripOutput, typeof radar.credential>;
|
|
27
15
|
//#endregion
|
|
28
16
|
export { radarDeleteTrip };
|
|
29
17
|
//# sourceMappingURL=delete-trip.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-trip.d.cts","names":[],"sources":["../../src/actions/delete-trip.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-trip.d.cts","names":[],"sources":["../../src/actions/delete-trip.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAMpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { radar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-trip.d.ts
|
|
@@ -9,21 +11,7 @@ declare const RadarDeleteTripOutput: z.ZodObject<{
|
|
|
9
11
|
code: z.ZodNullable<z.ZodNumber>;
|
|
10
12
|
}, z.core.$loose>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const radarDeleteTrip:
|
|
13
|
-
id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const radarDeleteTrip: AppAction<typeof RadarDeleteTripInput, typeof RadarDeleteTripOutput, typeof radar.credential>;
|
|
27
15
|
//#endregion
|
|
28
16
|
export { radarDeleteTrip };
|
|
29
17
|
//# sourceMappingURL=delete-trip.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-trip.d.mts","names":[],"sources":["../../src/actions/delete-trip.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-trip.d.mts","names":[],"sources":["../../src/actions/delete-trip.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAMpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-trip.mjs","names":[],"sources":["../../src/actions/delete-trip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteTripInput = z.object({\n id: z.string().describe(\"The unique identifier of the trip to delete. Can be Radar _id or externalId.\"),\n}).describe(\"Request parameters for deleting a trip.\");\nconst RadarDeleteTrip_MetaResponseSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).passthrough().describe(\"Metadata response from Radar API.\");\nexport const RadarDeleteTripOutput = z.object({\n meta: RadarDeleteTrip_MetaResponseSchema.nullable(),\n}).passthrough().describe(\"Response schema for deleted trip.\");\n\nexport const radarDeleteTrip = action(\"RADAR_DELETE_TRIP\", {\n slug: \"radar-delete-trip\",\n name: \"Delete Trip\",\n description: \"Tool to delete a trip by its Radar ID or external ID. Use after confirming the trip exists.\",\n input: RadarDeleteTripInput,\n output: RadarDeleteTripOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-trip.mjs","names":[],"sources":["../../src/actions/delete-trip.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { radar } from \"../app\";\n\nexport const RadarDeleteTripInput = z.object({\n id: z.string().describe(\"The unique identifier of the trip to delete. Can be Radar _id or externalId.\"),\n}).describe(\"Request parameters for deleting a trip.\");\nconst RadarDeleteTrip_MetaResponseSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).passthrough().describe(\"Metadata response from Radar API.\");\nexport const RadarDeleteTripOutput = z.object({\n meta: RadarDeleteTrip_MetaResponseSchema.nullable(),\n}).passthrough().describe(\"Response schema for deleted trip.\");\n\nexport const radarDeleteTrip: AppAction<\n typeof RadarDeleteTripInput,\n typeof RadarDeleteTripOutput,\n typeof radar.credential\n> = action(\"RADAR_DELETE_TRIP\", {\n slug: \"radar-delete-trip\",\n name: \"Delete Trip\",\n description: \"Tool to delete a trip by its Radar ID or external ID. Use after confirming the trip exists.\",\n input: RadarDeleteTripInput,\n output: RadarDeleteTripOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,EACxG,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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbmC,EAAE,OAAO,EAC5C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAWhB;AACV,CAAC"}
|
|
@@ -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.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}).passthrough().describe(\"Metadata response from Radar API.\");\nexport const RadarDeleteUserOutput = z.object({\n meta: RadarDeleteUser_MetaResponseSchema.nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { radar } from \"../app\";\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}).passthrough().describe(\"Metadata response from Radar API.\");\nexport const RadarDeleteUserOutput = z.object({\n meta: RadarDeleteUser_MetaResponseSchema.nullable(),\n}).passthrough().describe(\"Response schema for deleted user.\");\n\nexport const radarDeleteUser: AppAction<\n typeof RadarDeleteUserInput,\n typeof RadarDeleteUserOutput,\n typeof radar.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { radar } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-user.d.ts
|
|
@@ -9,21 +11,7 @@ declare const RadarDeleteUserOutput: z.ZodObject<{
|
|
|
9
11
|
code: z.ZodNullable<z.ZodNumber>;
|
|
10
12
|
}, z.core.$loose>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const radarDeleteUser:
|
|
13
|
-
id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const radarDeleteUser: AppAction<typeof RadarDeleteUserInput, typeof RadarDeleteUserOutput, typeof radar.credential>;
|
|
27
15
|
//#endregion
|
|
28
16
|
export { radarDeleteUser };
|
|
29
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":"
|
|
1
|
+
{"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAMpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { radar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-user.d.ts
|
|
@@ -9,21 +11,7 @@ declare const RadarDeleteUserOutput: z.ZodObject<{
|
|
|
9
11
|
code: z.ZodNullable<z.ZodNumber>;
|
|
10
12
|
}, z.core.$loose>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const radarDeleteUser:
|
|
13
|
-
id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const radarDeleteUser: AppAction<typeof RadarDeleteUserInput, typeof RadarDeleteUserOutput, typeof radar.credential>;
|
|
27
15
|
//#endregion
|
|
28
16
|
export { radarDeleteUser };
|
|
29
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":"
|
|
1
|
+
{"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAMpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -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.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}).passthrough().describe(\"Metadata response from Radar API.\");\nexport const RadarDeleteUserOutput = z.object({\n meta: RadarDeleteUser_MetaResponseSchema.nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { radar } from \"../app\";\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}).passthrough().describe(\"Metadata response from Radar API.\");\nexport const RadarDeleteUserOutput = z.object({\n meta: RadarDeleteUser_MetaResponseSchema.nullable(),\n}).passthrough().describe(\"Response schema for deleted user.\");\n\nexport const radarDeleteUser: AppAction<\n typeof RadarDeleteUserInput,\n typeof RadarDeleteUserOutput,\n typeof radar.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbmC,EAAE,OAAO,EAC5C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAWhB;AACV,CAAC"}
|
|
@@ -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.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}).passthrough().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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"forward-geocode.cjs","names":["z","action"],"sources":["../../src/actions/forward-geocode.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { radar } from \"../app\";\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}).passthrough().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}).passthrough().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}).passthrough().describe(\"Response model containing a list of matched addresses.\");\n\nexport const radarForwardGeocode: AppAction<\n typeof RadarForwardGeocodeInput,\n typeof RadarForwardGeocodeOutput,\n typeof radar.credential\n> = 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":";;;;AAMA,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,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAM,qCAAqCA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,EAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAU,mCAAmC,SAAS;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,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,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,WAAWA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,iCAAiC,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { radar } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/forward-geocode.d.ts
|
|
@@ -32,24 +34,7 @@ declare const RadarForwardGeocodeOutput: z.ZodObject<{
|
|
|
32
34
|
formattedAddress: z.ZodNullable<z.ZodString>;
|
|
33
35
|
}, z.core.$loose>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const radarForwardGeocode:
|
|
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<"radar", z.ZodObject<{
|
|
41
|
-
connectionId: z.ZodString;
|
|
42
|
-
entityId: z.ZodString;
|
|
43
|
-
instanceId: z.ZodString;
|
|
44
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
-
generic_api_key: z.ZodString;
|
|
46
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
47
|
-
connectionId: z.ZodString;
|
|
48
|
-
entityId: z.ZodString;
|
|
49
|
-
instanceId: z.ZodString;
|
|
50
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
-
generic_api_key: z.ZodString;
|
|
52
|
-
}, z.core.$strip>>]>;
|
|
37
|
+
declare const radarForwardGeocode: AppAction<typeof RadarForwardGeocodeInput, typeof RadarForwardGeocodeOutput, typeof radar.credential>;
|
|
53
38
|
//#endregion
|
|
54
39
|
export { radarForwardGeocode };
|
|
55
40
|
//# sourceMappingURL=forward-geocode.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forward-geocode.d.cts","names":[],"sources":["../../src/actions/forward-geocode.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"forward-geocode.d.cts","names":[],"sources":["../../src/actions/forward-geocode.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cA8BxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { radar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/forward-geocode.d.ts
|
|
@@ -32,24 +34,7 @@ declare const RadarForwardGeocodeOutput: z.ZodObject<{
|
|
|
32
34
|
formattedAddress: z.ZodNullable<z.ZodString>;
|
|
33
35
|
}, z.core.$loose>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const radarForwardGeocode:
|
|
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<"radar", z.ZodObject<{
|
|
41
|
-
connectionId: z.ZodString;
|
|
42
|
-
entityId: z.ZodString;
|
|
43
|
-
instanceId: z.ZodString;
|
|
44
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
-
generic_api_key: z.ZodString;
|
|
46
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
47
|
-
connectionId: z.ZodString;
|
|
48
|
-
entityId: z.ZodString;
|
|
49
|
-
instanceId: z.ZodString;
|
|
50
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
-
generic_api_key: z.ZodString;
|
|
52
|
-
}, z.core.$strip>>]>;
|
|
37
|
+
declare const radarForwardGeocode: AppAction<typeof RadarForwardGeocodeInput, typeof RadarForwardGeocodeOutput, typeof radar.credential>;
|
|
53
38
|
//#endregion
|
|
54
39
|
export { radarForwardGeocode };
|
|
55
40
|
//# sourceMappingURL=forward-geocode.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forward-geocode.d.mts","names":[],"sources":["../../src/actions/forward-geocode.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"forward-geocode.d.mts","names":[],"sources":["../../src/actions/forward-geocode.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cA8BxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -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.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}).passthrough().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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"forward-geocode.mjs","names":[],"sources":["../../src/actions/forward-geocode.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { radar } from \"../app\";\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}).passthrough().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}).passthrough().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}).passthrough().describe(\"Response model containing a list of matched addresses.\");\n\nexport const radarForwardGeocode: AppAction<\n typeof RadarForwardGeocodeInput,\n typeof RadarForwardGeocodeOutput,\n typeof radar.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,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,8BAA8B,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAU,mCAAmC,SAAS;CACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;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,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAK5E,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,WAAW,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,iCAAiC,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAWhB;AACV,CAAC"}
|