@keystrokehq/radar 0.1.4 → 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 -6
- package/dist/actions/autocomplete-address-or-place.d.cts.map +1 -1
- package/dist/actions/autocomplete-address-or-place.d.mts +3 -6
- 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 -12
- package/dist/actions/create-beacon.d.cts.map +1 -1
- package/dist/actions/create-beacon.d.mts +3 -12
- 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 -18
- package/dist/actions/create-trip.d.cts.map +1 -1
- package/dist/actions/create-trip.d.mts +3 -18
- 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 -3
- package/dist/actions/delete-beacon.d.cts.map +1 -1
- package/dist/actions/delete-beacon.d.mts +3 -3
- 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 -4
- package/dist/actions/delete-geofence-by-tag.d.cts.map +1 -1
- package/dist/actions/delete-geofence-by-tag.d.mts +3 -4
- 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 -3
- package/dist/actions/delete-geofence.d.cts.map +1 -1
- package/dist/actions/delete-geofence.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-trip.d.cts.map +1 -1
- package/dist/actions/delete-trip.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +3 -3
- 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 -6
- package/dist/actions/forward-geocode.d.cts.map +1 -1
- package/dist/actions/forward-geocode.d.mts +3 -6
- 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 -4
- package/dist/actions/get-beacon-by-tag.d.cts.map +1 -1
- package/dist/actions/get-beacon-by-tag.d.mts +3 -4
- 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 -3
- package/dist/actions/get-beacon.d.cts.map +1 -1
- package/dist/actions/get-beacon.d.mts +3 -3
- 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 -4
- package/dist/actions/get-context-for-location.d.cts.map +1 -1
- package/dist/actions/get-context-for-location.d.mts +3 -4
- 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 -5
- package/dist/actions/get-geofence.d.cts.map +1 -1
- package/dist/actions/get-geofence.d.mts +3 -5
- 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 -1
- package/dist/actions/get-places-settings.d.cts.map +1 -1
- package/dist/actions/get-places-settings.d.mts +3 -1
- 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 +3 -11
- package/dist/actions/get-route-directions.d.cts.map +1 -1
- package/dist/actions/get-route-directions.d.mts +3 -11
- 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 -6
- package/dist/actions/get-route-matrix.d.cts.map +1 -1
- package/dist/actions/get-route-matrix.d.mts +3 -6
- 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 -4
- package/dist/actions/get-trip.d.cts.map +1 -1
- package/dist/actions/get-trip.d.mts +3 -4
- 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 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -3
- 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 -6
- package/dist/actions/get-users-in-geofence.d.cts.map +1 -1
- package/dist/actions/get-users-in-geofence.d.mts +3 -6
- 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 -3
- package/dist/actions/ip-geocode.d.cts.map +1 -1
- package/dist/actions/ip-geocode.d.mts +3 -3
- 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 -10
- package/dist/actions/list-events.d.cts.map +1 -1
- package/dist/actions/list-events.d.mts +3 -10
- 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 -11
- package/dist/actions/list-geofences.d.cts.map +1 -1
- package/dist/actions/list-geofences.d.mts +3 -11
- 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 -8
- package/dist/actions/list-trips.d.cts.map +1 -1
- package/dist/actions/list-trips.d.mts +3 -8
- 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 -9
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -9
- 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 -6
- package/dist/actions/reverse-geocode.d.cts.map +1 -1
- package/dist/actions/reverse-geocode.d.mts +3 -6
- 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 +3 -8
- package/dist/actions/route-distance.d.cts.map +1 -1
- package/dist/actions/route-distance.d.mts +3 -8
- 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 -7
- package/dist/actions/search-geofences-near-location.d.cts.map +1 -1
- package/dist/actions/search-geofences-near-location.d.mts +3 -7
- 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 -11
- package/dist/actions/search-places-near-location.d.cts.map +1 -1
- package/dist/actions/search-places-near-location.d.mts +3 -11
- 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 -6
- package/dist/actions/search-users-near-location.d.cts.map +1 -1
- package/dist/actions/search-users-near-location.d.mts +3 -6
- 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 -19
- package/dist/actions/track-location-update.d.cts.map +1 -1
- package/dist/actions/track-location-update.d.mts +3 -19
- 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 -5
- package/dist/actions/update-places-settings.d.cts.map +1 -1
- package/dist/actions/update-places-settings.d.mts +3 -5
- 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 -6
- package/dist/actions/update-trip-by-id.d.cts.map +1 -1
- package/dist/actions/update-trip-by-id.d.mts +3 -6
- 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 -20
- package/dist/actions/update-trip.d.cts.map +1 -1
- package/dist/actions/update-trip.d.mts +3 -20
- 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 -12
- package/dist/actions/upsert-beacon-by-id.d.cts.map +1 -1
- package/dist/actions/upsert-beacon-by-id.d.mts +3 -12
- 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 -14
- package/dist/actions/upsert-beacon-by-tag.d.cts.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.d.mts +3 -14
- 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 -11
- package/dist/actions/upsert-geofence-by-id.d.cts.map +1 -1
- package/dist/actions/upsert-geofence-by-id.d.mts +3 -11
- 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 -10
- package/dist/actions/upsert-geofence.d.cts.map +1 -1
- package/dist/actions/upsert-geofence.d.mts +3 -10
- 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 +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- 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,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/list-users.d.ts
|
|
@@ -27,15 +29,7 @@ declare const RadarListUsersOutput: z.ZodObject<{
|
|
|
27
29
|
foreground: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
28
30
|
}, z.core.$loose>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const radarListUsers:
|
|
31
|
-
tags?: string[] | undefined;
|
|
32
|
-
limit?: number | undefined;
|
|
33
|
-
afterId?: string | undefined;
|
|
34
|
-
createdAfter?: string | undefined;
|
|
35
|
-
updatedAfter?: string | undefined;
|
|
36
|
-
createdBefore?: string | undefined;
|
|
37
|
-
updatedBefore?: string | undefined;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
32
|
+
declare const radarListUsers: AppAction<typeof RadarListUsersInput, typeof RadarListUsersOutput, typeof radar.credential>;
|
|
39
33
|
//#endregion
|
|
40
34
|
export { radarListUsers };
|
|
41
35
|
//# sourceMappingURL=list-users.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;cAwBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,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/list-users.d.ts
|
|
@@ -27,15 +29,7 @@ declare const RadarListUsersOutput: z.ZodObject<{
|
|
|
27
29
|
foreground: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
28
30
|
}, z.core.$loose>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const radarListUsers:
|
|
31
|
-
tags?: string[] | undefined;
|
|
32
|
-
limit?: number | undefined;
|
|
33
|
-
afterId?: string | undefined;
|
|
34
|
-
createdAfter?: string | undefined;
|
|
35
|
-
updatedAfter?: string | undefined;
|
|
36
|
-
createdBefore?: string | undefined;
|
|
37
|
-
updatedBefore?: string | undefined;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
32
|
+
declare const radarListUsers: AppAction<typeof RadarListUsersInput, typeof RadarListUsersOutput, typeof radar.credential>;
|
|
39
33
|
//#endregion
|
|
40
34
|
export { radarListUsers };
|
|
41
35
|
//# sourceMappingURL=list-users.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;cAwBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarListUsersInput = z.object({\n tags: z.array(z.string()).describe(\"Only return users who have all of these tags\").optional(),\n limit: z.number().int().describe(\"Maximum number of users to return\").optional(),\n afterId: z.string().describe(\"User ID after which to return users for pagination\").optional(),\n createdAfter: z.string().describe(\"Only return users created after this ISO 8601 timestamp\").optional(),\n updatedAfter: z.string().describe(\"Only return users updated after this ISO 8601 timestamp\").optional(),\n createdBefore: z.string().describe(\"Only return users created before this ISO 8601 timestamp\").optional(),\n updatedBefore: z.string().describe(\"Only return users updated before this ISO 8601 timestamp\").optional(),\n}).describe(\"Request model for listing users with optional filtering and pagination.\");\nconst RadarListUsers_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n hasMore: z.boolean().describe(\"Whether there are more users to fetch\").nullable(),\n}).passthrough().describe(\"Pagination metadata for list users response.\");\nconst RadarListUsers_UserSchema = z.object({\n _id: z.string().describe(\"Internal Radar identifier for the user\").nullable(),\n live: z.boolean().describe(\"Whether this is a live (not test) user\").nullable().optional(),\n userId: z.string().describe(\"Custom unique identifier for the user (may be absent if only deviceId was provided)\").nullable().optional(),\n stopped: z.boolean().describe(\"Whether the user is currently stopped\").nullable().optional(),\n deviceId: z.string().describe(\"Identifier for the user's device\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the user\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n updatedAt: z.string().describe(\"Last updated timestamp in ISO 8601 format\").nullable(),\n foreground: z.boolean().describe(\"Whether the app was in foreground for last location update\").nullable().optional(),\n}).passthrough().describe(\"User object returned by Radar.\");\nexport const RadarListUsersOutput = z.object({\n meta: RadarListUsers_MetaSchema.nullable(),\n users: z.array(RadarListUsers_UserSchema).describe(\"List of user objects\"),\n}).passthrough().describe(\"Response model for LIST_USERS, containing users and pagination metadata.\");\n\nexport const radarListUsers = action(\"RADAR_LIST_USERS\", {\n slug: \"radar-list-users\",\n name: \"List Users\",\n description: \"Tool to list Radar users sorted by update time. Use when you need to page through users in your project.\",\n input: RadarListUsersInput,\n output: RadarListUsersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.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 RadarListUsersInput = z.object({\n tags: z.array(z.string()).describe(\"Only return users who have all of these tags\").optional(),\n limit: z.number().int().describe(\"Maximum number of users to return\").optional(),\n afterId: z.string().describe(\"User ID after which to return users for pagination\").optional(),\n createdAfter: z.string().describe(\"Only return users created after this ISO 8601 timestamp\").optional(),\n updatedAfter: z.string().describe(\"Only return users updated after this ISO 8601 timestamp\").optional(),\n createdBefore: z.string().describe(\"Only return users created before this ISO 8601 timestamp\").optional(),\n updatedBefore: z.string().describe(\"Only return users updated before this ISO 8601 timestamp\").optional(),\n}).describe(\"Request model for listing users with optional filtering and pagination.\");\nconst RadarListUsers_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n hasMore: z.boolean().describe(\"Whether there are more users to fetch\").nullable(),\n}).passthrough().describe(\"Pagination metadata for list users response.\");\nconst RadarListUsers_UserSchema = z.object({\n _id: z.string().describe(\"Internal Radar identifier for the user\").nullable(),\n live: z.boolean().describe(\"Whether this is a live (not test) user\").nullable().optional(),\n userId: z.string().describe(\"Custom unique identifier for the user (may be absent if only deviceId was provided)\").nullable().optional(),\n stopped: z.boolean().describe(\"Whether the user is currently stopped\").nullable().optional(),\n deviceId: z.string().describe(\"Identifier for the user's device\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the user\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n updatedAt: z.string().describe(\"Last updated timestamp in ISO 8601 format\").nullable(),\n foreground: z.boolean().describe(\"Whether the app was in foreground for last location update\").nullable().optional(),\n}).passthrough().describe(\"User object returned by Radar.\");\nexport const RadarListUsersOutput = z.object({\n meta: RadarListUsers_MetaSchema.nullable(),\n users: z.array(RadarListUsers_UserSchema).describe(\"List of user objects\"),\n}).passthrough().describe(\"Response model for LIST_USERS, containing users and pagination metadata.\");\n\nexport const radarListUsers: AppAction<\n typeof RadarListUsersInput,\n typeof RadarListUsersOutput,\n typeof radar.credential\n> = action(\"RADAR_LIST_USERS\", {\n slug: \"radar-list-users\",\n name: \"List Users\",\n description: \"Tool to list Radar users sorted by update time. Use when you need to page through users in your project.\",\n input: RadarListUsersInput,\n output: RadarListUsersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,4BAA4B,EAAE,OAAO;CACzC,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,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C,YAAY,CAAC,CAAC,SAAS,0EAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reverse-geocode.cjs","names":["z","action"],"sources":["../../src/actions/reverse-geocode.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarReverseGeocodeInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (default 1, max 10)\").optional(),\n layers: z.array(z.string()).describe(\"Place types to restrict results, comma-separated (e.g., ['address','place'])\").optional(),\n country: z.string().describe(\"Two-letter ISO 3166-1 alpha-2 country code to filter results\").optional(),\n coordinates: z.string().describe(\"Latitude and longitude in 'lat,lon' format\"),\n}).describe(\"Request model for reverse geocoding coordinates to structured addresses.\");\nconst RadarReverseGeocode_AddressSchema = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n layer: z.string().describe(\"Layer of result (e.g., 'address','place')\").nullable().optional(),\n state: z.string().describe(\"State/province 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 distance: z.number().describe(\"Distance from queried coordinates in meters\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the result\").nullable().optional(),\n longitude: z.number().describe(\"Longitude of the result\").nullable().optional(),\n stateCode: z.string().describe(\"State/province code\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code if available\").nullable().optional(),\n countryCode: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable().optional(),\n countryFlag: z.string().describe(\"Emoji flag of the country\").nullable().optional(),\n addressLabel: z.string().describe(\"Formatted address label\").nullable().optional(),\n formattedAddress: z.string().describe(\"Complete formatted address\").nullable().optional(),\n}).passthrough().describe(\"A matched address object from reverse geocoding.\");\nexport const RadarReverseGeocodeOutput = z.object({\n addresses: z.array(RadarReverseGeocode_AddressSchema).describe(\"List of addresses found for the given coordinates\"),\n}).passthrough().describe(\"Response model containing a list of matched address objects from reverse geocoding.\");\n\nexport const radarReverseGeocode = action(\"RADAR_REVERSE_GEOCODE\", {\n slug: \"radar-reverse-geocode\",\n name: \"Reverse Geocode\",\n description: \"Tool to convert geographic coordinates to structured addresses. Use when you have latitude/longitude and need a human-readable address.\",\n input: RadarReverseGeocodeInput,\n output: RadarReverseGeocodeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"reverse-geocode.cjs","names":["z","action"],"sources":["../../src/actions/reverse-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 RadarReverseGeocodeInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (default 1, max 10)\").optional(),\n layers: z.array(z.string()).describe(\"Place types to restrict results, comma-separated (e.g., ['address','place'])\").optional(),\n country: z.string().describe(\"Two-letter ISO 3166-1 alpha-2 country code to filter results\").optional(),\n coordinates: z.string().describe(\"Latitude and longitude in 'lat,lon' format\"),\n}).describe(\"Request model for reverse geocoding coordinates to structured addresses.\");\nconst RadarReverseGeocode_AddressSchema = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n layer: z.string().describe(\"Layer of result (e.g., 'address','place')\").nullable().optional(),\n state: z.string().describe(\"State/province 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 distance: z.number().describe(\"Distance from queried coordinates in meters\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the result\").nullable().optional(),\n longitude: z.number().describe(\"Longitude of the result\").nullable().optional(),\n stateCode: z.string().describe(\"State/province code\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code if available\").nullable().optional(),\n countryCode: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable().optional(),\n countryFlag: z.string().describe(\"Emoji flag of the country\").nullable().optional(),\n addressLabel: z.string().describe(\"Formatted address label\").nullable().optional(),\n formattedAddress: z.string().describe(\"Complete formatted address\").nullable().optional(),\n}).passthrough().describe(\"A matched address object from reverse geocoding.\");\nexport const RadarReverseGeocodeOutput = z.object({\n addresses: z.array(RadarReverseGeocode_AddressSchema).describe(\"List of addresses found for the given coordinates\"),\n}).passthrough().describe(\"Response model containing a list of matched address objects from reverse geocoding.\");\n\nexport const radarReverseGeocode: AppAction<\n typeof RadarReverseGeocodeInput,\n typeof RadarReverseGeocodeOutput,\n typeof radar.credential\n> = action(\"RADAR_REVERSE_GEOCODE\", {\n slug: \"radar-reverse-geocode\",\n name: \"Reverse Geocode\",\n description: \"Tool to convert geographic coordinates to structured addresses. Use when you have latitude/longitude and need a human-readable address.\",\n input: RadarReverseGeocodeInput,\n output: RadarReverseGeocodeOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC9H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC/E,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE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,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,WAAWA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,mDAAmD,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qFAAqF;AAE/G,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/reverse-geocode.d.ts
|
|
@@ -28,12 +30,7 @@ declare const RadarReverseGeocodeOutput: z.ZodObject<{
|
|
|
28
30
|
formattedAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
31
|
}, z.core.$loose>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const radarReverseGeocode:
|
|
32
|
-
coordinates: string;
|
|
33
|
-
limit?: number | undefined;
|
|
34
|
-
layers?: string[] | undefined;
|
|
35
|
-
country?: string | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
|
+
declare const radarReverseGeocode: AppAction<typeof RadarReverseGeocodeInput, typeof RadarReverseGeocodeOutput, typeof radar.credential>;
|
|
37
34
|
//#endregion
|
|
38
35
|
export { radarReverseGeocode };
|
|
39
36
|
//# sourceMappingURL=reverse-geocode.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reverse-geocode.d.cts","names":[],"sources":["../../src/actions/reverse-geocode.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"reverse-geocode.d.cts","names":[],"sources":["../../src/actions/reverse-geocode.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAyBxB,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/reverse-geocode.d.ts
|
|
@@ -28,12 +30,7 @@ declare const RadarReverseGeocodeOutput: z.ZodObject<{
|
|
|
28
30
|
formattedAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
31
|
}, z.core.$loose>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const radarReverseGeocode:
|
|
32
|
-
coordinates: string;
|
|
33
|
-
limit?: number | undefined;
|
|
34
|
-
layers?: string[] | undefined;
|
|
35
|
-
country?: string | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
|
+
declare const radarReverseGeocode: AppAction<typeof RadarReverseGeocodeInput, typeof RadarReverseGeocodeOutput, typeof radar.credential>;
|
|
37
34
|
//#endregion
|
|
38
35
|
export { radarReverseGeocode };
|
|
39
36
|
//# sourceMappingURL=reverse-geocode.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reverse-geocode.d.mts","names":[],"sources":["../../src/actions/reverse-geocode.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"reverse-geocode.d.mts","names":[],"sources":["../../src/actions/reverse-geocode.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAyBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reverse-geocode.mjs","names":[],"sources":["../../src/actions/reverse-geocode.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarReverseGeocodeInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (default 1, max 10)\").optional(),\n layers: z.array(z.string()).describe(\"Place types to restrict results, comma-separated (e.g., ['address','place'])\").optional(),\n country: z.string().describe(\"Two-letter ISO 3166-1 alpha-2 country code to filter results\").optional(),\n coordinates: z.string().describe(\"Latitude and longitude in 'lat,lon' format\"),\n}).describe(\"Request model for reverse geocoding coordinates to structured addresses.\");\nconst RadarReverseGeocode_AddressSchema = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n layer: z.string().describe(\"Layer of result (e.g., 'address','place')\").nullable().optional(),\n state: z.string().describe(\"State/province 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 distance: z.number().describe(\"Distance from queried coordinates in meters\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the result\").nullable().optional(),\n longitude: z.number().describe(\"Longitude of the result\").nullable().optional(),\n stateCode: z.string().describe(\"State/province code\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code if available\").nullable().optional(),\n countryCode: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable().optional(),\n countryFlag: z.string().describe(\"Emoji flag of the country\").nullable().optional(),\n addressLabel: z.string().describe(\"Formatted address label\").nullable().optional(),\n formattedAddress: z.string().describe(\"Complete formatted address\").nullable().optional(),\n}).passthrough().describe(\"A matched address object from reverse geocoding.\");\nexport const RadarReverseGeocodeOutput = z.object({\n addresses: z.array(RadarReverseGeocode_AddressSchema).describe(\"List of addresses found for the given coordinates\"),\n}).passthrough().describe(\"Response model containing a list of matched address objects from reverse geocoding.\");\n\nexport const radarReverseGeocode = action(\"RADAR_REVERSE_GEOCODE\", {\n slug: \"radar-reverse-geocode\",\n name: \"Reverse Geocode\",\n description: \"Tool to convert geographic coordinates to structured addresses. Use when you have latitude/longitude and need a human-readable address.\",\n input: RadarReverseGeocodeInput,\n output: RadarReverseGeocodeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"reverse-geocode.mjs","names":[],"sources":["../../src/actions/reverse-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 RadarReverseGeocodeInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (default 1, max 10)\").optional(),\n layers: z.array(z.string()).describe(\"Place types to restrict results, comma-separated (e.g., ['address','place'])\").optional(),\n country: z.string().describe(\"Two-letter ISO 3166-1 alpha-2 country code to filter results\").optional(),\n coordinates: z.string().describe(\"Latitude and longitude in 'lat,lon' format\"),\n}).describe(\"Request model for reverse geocoding coordinates to structured addresses.\");\nconst RadarReverseGeocode_AddressSchema = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n layer: z.string().describe(\"Layer of result (e.g., 'address','place')\").nullable().optional(),\n state: z.string().describe(\"State/province 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 distance: z.number().describe(\"Distance from queried coordinates in meters\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the result\").nullable().optional(),\n longitude: z.number().describe(\"Longitude of the result\").nullable().optional(),\n stateCode: z.string().describe(\"State/province code\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code if available\").nullable().optional(),\n countryCode: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable().optional(),\n countryFlag: z.string().describe(\"Emoji flag of the country\").nullable().optional(),\n addressLabel: z.string().describe(\"Formatted address label\").nullable().optional(),\n formattedAddress: z.string().describe(\"Complete formatted address\").nullable().optional(),\n}).passthrough().describe(\"A matched address object from reverse geocoding.\");\nexport const RadarReverseGeocodeOutput = z.object({\n addresses: z.array(RadarReverseGeocode_AddressSchema).describe(\"List of addresses found for the given coordinates\"),\n}).passthrough().describe(\"Response model containing a list of matched address objects from reverse geocoding.\");\n\nexport const radarReverseGeocode: AppAction<\n typeof RadarReverseGeocodeInput,\n typeof RadarReverseGeocodeOutput,\n typeof radar.credential\n> = action(\"RADAR_REVERSE_GEOCODE\", {\n slug: \"radar-reverse-geocode\",\n name: \"Reverse Geocode\",\n description: \"Tool to convert geographic coordinates to structured addresses. Use when you have latitude/longitude and need a human-readable address.\",\n input: RadarReverseGeocodeInput,\n output: RadarReverseGeocodeOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC9H,SAAS,EAAE,OAAO,CAAC,CAAC,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AAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,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,mDAAmD,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route-distance.cjs","names":["z","action"],"sources":["../../src/actions/route-distance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarRouteDistanceInput = z.object({\n mode: z.enum([\"car\", \"truck\", \"foot\", \"bike\"]).default(\"car\").describe(\"Routing mode\").optional(),\n avoid: z.string().describe(\"Route features to avoid, comma-separated (e.g., 'tolls,ferries')\").optional(),\n units: z.enum([\"metric\", \"imperial\"]).default(\"metric\").describe(\"Units for distance measurement\").optional(),\n origins: z.string().describe(\"Origin coordinate as 'latitude,longitude'\"),\n geometry: z.enum([\"polyline\", \"polyline5\", \"polyline6\", \"linestring\"]).describe(\"Format for route geometry in response. Options: 'polyline', 'polyline5', 'polyline6', 'linestring'\").optional(),\n destinations: z.string().describe(\"Destination coordinate as 'latitude,longitude'\"),\n}).describe(\"Request model for calculating route distance and duration.\");\nconst RadarRouteDistance_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n}).passthrough().describe(\"Metadata for the route distance response.\");\nconst RadarRouteDistance_DistanceInfoSchema = z.object({\n text: z.string().describe(\"Human-readable distance string\").nullable(),\n value: z.number().describe(\"Distance value in meters or feet depending on units\").nullable(),\n}).passthrough().describe(\"Distance information for a route.\");\nconst RadarRouteDistance_DurationInfoSchema = z.object({\n text: z.string().describe(\"Human-readable duration string\").nullable(),\n value: z.number().describe(\"Duration value in minutes\").nullable(),\n}).passthrough().describe(\"Duration information for a route.\");\nconst RadarRouteDistance_RouteGeometrySchema = z.object({\n type: z.string().describe(\"GeoJSON geometry type; 'LineString' when using linestring format\").nullable().optional(),\n polyline: z.string().describe(\"Encoded polyline string (polyline format)\").nullable().optional(),\n polyline5: z.string().describe(\"Encoded polyline5 string (polyline5 format)\").nullable().optional(),\n polyline6: z.string().describe(\"Encoded polyline6 string (polyline6 format)\").nullable().optional(),\n coordinates: z.array(z.array(z.number())).describe(\"List of [longitude, latitude] coordinate pairs (linestring format)\").nullable().optional(),\n}).passthrough().describe(\"Route geometry - can be GeoJSON LineString or encoded polyline format.\");\nconst RadarRouteDistance_TransportRouteSchema = z.object({\n distance: RadarRouteDistance_DistanceInfoSchema.nullable(),\n duration: RadarRouteDistance_DurationInfoSchema.nullable(),\n geometry: RadarRouteDistance_RouteGeometrySchema.nullable().optional(),\n}).passthrough().describe(\"Route information for a transport mode (car, truck, foot, bike).\");\nconst RadarRouteDistance_GeodesicRouteSchema = z.object({\n distance: RadarRouteDistance_DistanceInfoSchema.nullable(),\n}).passthrough().describe(\"Geodesic (straight-line) route information.\");\nconst RadarRouteDistance_RoutesSchema = z.object({\n car: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n bike: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n foot: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n truck: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n geodesic: RadarRouteDistance_GeodesicRouteSchema.nullable().optional(),\n}).passthrough().describe(\"Routes object containing geodesic and mode-specific route information.\");\nexport const RadarRouteDistanceOutput = z.object({\n meta: RadarRouteDistance_MetaSchema.nullable(),\n routes: RadarRouteDistance_RoutesSchema.nullable(),\n}).passthrough().describe(\"Response model for route distance and duration calculation.\");\n\nexport const radarRouteDistance = action(\"RADAR_ROUTE_DISTANCE\", {\n slug: \"radar-route-distance\",\n name: \"Route Distance\",\n description: \"Tool to compute distance and travel time between origins and destinations. Use when you need route metrics before optimizing or timing routes.\",\n input: RadarRouteDistanceInput,\n output: RadarRouteDistanceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"route-distance.cjs","names":["z","action"],"sources":["../../src/actions/route-distance.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 RadarRouteDistanceInput = z.object({\n mode: z.enum([\"car\", \"truck\", \"foot\", \"bike\"]).default(\"car\").describe(\"Routing mode\").optional(),\n avoid: z.string().describe(\"Route features to avoid, comma-separated (e.g., 'tolls,ferries')\").optional(),\n units: z.enum([\"metric\", \"imperial\"]).default(\"metric\").describe(\"Units for distance measurement\").optional(),\n origins: z.string().describe(\"Origin coordinate as 'latitude,longitude'\"),\n geometry: z.enum([\"polyline\", \"polyline5\", \"polyline6\", \"linestring\"]).describe(\"Format for route geometry in response. Options: 'polyline', 'polyline5', 'polyline6', 'linestring'\").optional(),\n destinations: z.string().describe(\"Destination coordinate as 'latitude,longitude'\"),\n}).describe(\"Request model for calculating route distance and duration.\");\nconst RadarRouteDistance_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n}).passthrough().describe(\"Metadata for the route distance response.\");\nconst RadarRouteDistance_DistanceInfoSchema = z.object({\n text: z.string().describe(\"Human-readable distance string\").nullable(),\n value: z.number().describe(\"Distance value in meters or feet depending on units\").nullable(),\n}).passthrough().describe(\"Distance information for a route.\");\nconst RadarRouteDistance_DurationInfoSchema = z.object({\n text: z.string().describe(\"Human-readable duration string\").nullable(),\n value: z.number().describe(\"Duration value in minutes\").nullable(),\n}).passthrough().describe(\"Duration information for a route.\");\nconst RadarRouteDistance_RouteGeometrySchema = z.object({\n type: z.string().describe(\"GeoJSON geometry type; 'LineString' when using linestring format\").nullable().optional(),\n polyline: z.string().describe(\"Encoded polyline string (polyline format)\").nullable().optional(),\n polyline5: z.string().describe(\"Encoded polyline5 string (polyline5 format)\").nullable().optional(),\n polyline6: z.string().describe(\"Encoded polyline6 string (polyline6 format)\").nullable().optional(),\n coordinates: z.array(z.array(z.number())).describe(\"List of [longitude, latitude] coordinate pairs (linestring format)\").nullable().optional(),\n}).passthrough().describe(\"Route geometry - can be GeoJSON LineString or encoded polyline format.\");\nconst RadarRouteDistance_TransportRouteSchema = z.object({\n distance: RadarRouteDistance_DistanceInfoSchema.nullable(),\n duration: RadarRouteDistance_DurationInfoSchema.nullable(),\n geometry: RadarRouteDistance_RouteGeometrySchema.nullable().optional(),\n}).passthrough().describe(\"Route information for a transport mode (car, truck, foot, bike).\");\nconst RadarRouteDistance_GeodesicRouteSchema = z.object({\n distance: RadarRouteDistance_DistanceInfoSchema.nullable(),\n}).passthrough().describe(\"Geodesic (straight-line) route information.\");\nconst RadarRouteDistance_RoutesSchema = z.object({\n car: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n bike: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n foot: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n truck: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n geodesic: RadarRouteDistance_GeodesicRouteSchema.nullable().optional(),\n}).passthrough().describe(\"Routes object containing geodesic and mode-specific route information.\");\nexport const RadarRouteDistanceOutput = z.object({\n meta: RadarRouteDistance_MetaSchema.nullable(),\n routes: RadarRouteDistance_RoutesSchema.nullable(),\n}).passthrough().describe(\"Response model for route distance and duration calculation.\");\n\nexport const radarRouteDistance: AppAction<\n typeof RadarRouteDistanceInput,\n typeof RadarRouteDistanceOutput,\n typeof radar.credential\n> = action(\"RADAR_ROUTE_DISTANCE\", {\n slug: \"radar-route-distance\",\n name: \"Route Distance\",\n description: \"Tool to compute distance and travel time between origins and destinations. Use when you need route metrics before optimizing or timing routes.\",\n input: RadarRouteDistanceInput,\n output: RadarRouteDistanceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAS;EAAQ;CAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxG,OAAOA,IAAAA,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAa;EAAa;CAAY,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC/L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACpF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,gCAAgCA,IAAAA,EAAE,OAAO,EAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CA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,SAAS,kEAAkE;AAC5F,MAAM,yCAAyCA,IAAAA,EAAE,OAAO,EACtD,UAAU,sCAAsC,SAAS,EAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,KAAK,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACjE,MAAM,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAM,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAO,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAU,uCAAuC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAClG,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAM,8BAA8B,SAAS;CAC7C,QAAQ,gCAAgC,SAAS;AACnD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,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/route-distance.d.ts
|
|
@@ -103,14 +105,7 @@ declare const RadarRouteDistanceOutput: z.ZodObject<{
|
|
|
103
105
|
}, z.core.$loose>>>;
|
|
104
106
|
}, z.core.$loose>>;
|
|
105
107
|
}, z.core.$loose>;
|
|
106
|
-
declare const radarRouteDistance:
|
|
107
|
-
origins: string;
|
|
108
|
-
destinations: string;
|
|
109
|
-
mode?: "car" | "foot" | "bike" | "truck" | undefined;
|
|
110
|
-
avoid?: string | undefined;
|
|
111
|
-
units?: "metric" | "imperial" | undefined;
|
|
112
|
-
geometry?: "linestring" | "polyline5" | "polyline6" | "polyline" | undefined;
|
|
113
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
108
|
+
declare const radarRouteDistance: AppAction<typeof RadarRouteDistanceInput, typeof RadarRouteDistanceOutput, typeof radar.credential>;
|
|
114
109
|
//#endregion
|
|
115
110
|
export { radarRouteDistance };
|
|
116
111
|
//# sourceMappingURL=route-distance.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route-distance.d.cts","names":[],"sources":["../../src/actions/route-distance.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"route-distance.d.cts","names":[],"sources":["../../src/actions/route-distance.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAyCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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/route-distance.d.ts
|
|
@@ -103,14 +105,7 @@ declare const RadarRouteDistanceOutput: z.ZodObject<{
|
|
|
103
105
|
}, z.core.$loose>>>;
|
|
104
106
|
}, z.core.$loose>>;
|
|
105
107
|
}, z.core.$loose>;
|
|
106
|
-
declare const radarRouteDistance:
|
|
107
|
-
origins: string;
|
|
108
|
-
destinations: string;
|
|
109
|
-
mode?: "car" | "foot" | "bike" | "truck" | undefined;
|
|
110
|
-
avoid?: string | undefined;
|
|
111
|
-
units?: "metric" | "imperial" | undefined;
|
|
112
|
-
geometry?: "linestring" | "polyline5" | "polyline6" | "polyline" | undefined;
|
|
113
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
108
|
+
declare const radarRouteDistance: AppAction<typeof RadarRouteDistanceInput, typeof RadarRouteDistanceOutput, typeof radar.credential>;
|
|
114
109
|
//#endregion
|
|
115
110
|
export { radarRouteDistance };
|
|
116
111
|
//# sourceMappingURL=route-distance.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route-distance.d.mts","names":[],"sources":["../../src/actions/route-distance.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"route-distance.d.mts","names":[],"sources":["../../src/actions/route-distance.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAyCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route-distance.mjs","names":[],"sources":["../../src/actions/route-distance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarRouteDistanceInput = z.object({\n mode: z.enum([\"car\", \"truck\", \"foot\", \"bike\"]).default(\"car\").describe(\"Routing mode\").optional(),\n avoid: z.string().describe(\"Route features to avoid, comma-separated (e.g., 'tolls,ferries')\").optional(),\n units: z.enum([\"metric\", \"imperial\"]).default(\"metric\").describe(\"Units for distance measurement\").optional(),\n origins: z.string().describe(\"Origin coordinate as 'latitude,longitude'\"),\n geometry: z.enum([\"polyline\", \"polyline5\", \"polyline6\", \"linestring\"]).describe(\"Format for route geometry in response. Options: 'polyline', 'polyline5', 'polyline6', 'linestring'\").optional(),\n destinations: z.string().describe(\"Destination coordinate as 'latitude,longitude'\"),\n}).describe(\"Request model for calculating route distance and duration.\");\nconst RadarRouteDistance_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n}).passthrough().describe(\"Metadata for the route distance response.\");\nconst RadarRouteDistance_DistanceInfoSchema = z.object({\n text: z.string().describe(\"Human-readable distance string\").nullable(),\n value: z.number().describe(\"Distance value in meters or feet depending on units\").nullable(),\n}).passthrough().describe(\"Distance information for a route.\");\nconst RadarRouteDistance_DurationInfoSchema = z.object({\n text: z.string().describe(\"Human-readable duration string\").nullable(),\n value: z.number().describe(\"Duration value in minutes\").nullable(),\n}).passthrough().describe(\"Duration information for a route.\");\nconst RadarRouteDistance_RouteGeometrySchema = z.object({\n type: z.string().describe(\"GeoJSON geometry type; 'LineString' when using linestring format\").nullable().optional(),\n polyline: z.string().describe(\"Encoded polyline string (polyline format)\").nullable().optional(),\n polyline5: z.string().describe(\"Encoded polyline5 string (polyline5 format)\").nullable().optional(),\n polyline6: z.string().describe(\"Encoded polyline6 string (polyline6 format)\").nullable().optional(),\n coordinates: z.array(z.array(z.number())).describe(\"List of [longitude, latitude] coordinate pairs (linestring format)\").nullable().optional(),\n}).passthrough().describe(\"Route geometry - can be GeoJSON LineString or encoded polyline format.\");\nconst RadarRouteDistance_TransportRouteSchema = z.object({\n distance: RadarRouteDistance_DistanceInfoSchema.nullable(),\n duration: RadarRouteDistance_DurationInfoSchema.nullable(),\n geometry: RadarRouteDistance_RouteGeometrySchema.nullable().optional(),\n}).passthrough().describe(\"Route information for a transport mode (car, truck, foot, bike).\");\nconst RadarRouteDistance_GeodesicRouteSchema = z.object({\n distance: RadarRouteDistance_DistanceInfoSchema.nullable(),\n}).passthrough().describe(\"Geodesic (straight-line) route information.\");\nconst RadarRouteDistance_RoutesSchema = z.object({\n car: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n bike: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n foot: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n truck: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n geodesic: RadarRouteDistance_GeodesicRouteSchema.nullable().optional(),\n}).passthrough().describe(\"Routes object containing geodesic and mode-specific route information.\");\nexport const RadarRouteDistanceOutput = z.object({\n meta: RadarRouteDistance_MetaSchema.nullable(),\n routes: RadarRouteDistance_RoutesSchema.nullable(),\n}).passthrough().describe(\"Response model for route distance and duration calculation.\");\n\nexport const radarRouteDistance = action(\"RADAR_ROUTE_DISTANCE\", {\n slug: \"radar-route-distance\",\n name: \"Route Distance\",\n description: \"Tool to compute distance and travel time between origins and destinations. Use when you need route metrics before optimizing or timing routes.\",\n input: RadarRouteDistanceInput,\n output: RadarRouteDistanceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"route-distance.mjs","names":[],"sources":["../../src/actions/route-distance.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 RadarRouteDistanceInput = z.object({\n mode: z.enum([\"car\", \"truck\", \"foot\", \"bike\"]).default(\"car\").describe(\"Routing mode\").optional(),\n avoid: z.string().describe(\"Route features to avoid, comma-separated (e.g., 'tolls,ferries')\").optional(),\n units: z.enum([\"metric\", \"imperial\"]).default(\"metric\").describe(\"Units for distance measurement\").optional(),\n origins: z.string().describe(\"Origin coordinate as 'latitude,longitude'\"),\n geometry: z.enum([\"polyline\", \"polyline5\", \"polyline6\", \"linestring\"]).describe(\"Format for route geometry in response. Options: 'polyline', 'polyline5', 'polyline6', 'linestring'\").optional(),\n destinations: z.string().describe(\"Destination coordinate as 'latitude,longitude'\"),\n}).describe(\"Request model for calculating route distance and duration.\");\nconst RadarRouteDistance_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n}).passthrough().describe(\"Metadata for the route distance response.\");\nconst RadarRouteDistance_DistanceInfoSchema = z.object({\n text: z.string().describe(\"Human-readable distance string\").nullable(),\n value: z.number().describe(\"Distance value in meters or feet depending on units\").nullable(),\n}).passthrough().describe(\"Distance information for a route.\");\nconst RadarRouteDistance_DurationInfoSchema = z.object({\n text: z.string().describe(\"Human-readable duration string\").nullable(),\n value: z.number().describe(\"Duration value in minutes\").nullable(),\n}).passthrough().describe(\"Duration information for a route.\");\nconst RadarRouteDistance_RouteGeometrySchema = z.object({\n type: z.string().describe(\"GeoJSON geometry type; 'LineString' when using linestring format\").nullable().optional(),\n polyline: z.string().describe(\"Encoded polyline string (polyline format)\").nullable().optional(),\n polyline5: z.string().describe(\"Encoded polyline5 string (polyline5 format)\").nullable().optional(),\n polyline6: z.string().describe(\"Encoded polyline6 string (polyline6 format)\").nullable().optional(),\n coordinates: z.array(z.array(z.number())).describe(\"List of [longitude, latitude] coordinate pairs (linestring format)\").nullable().optional(),\n}).passthrough().describe(\"Route geometry - can be GeoJSON LineString or encoded polyline format.\");\nconst RadarRouteDistance_TransportRouteSchema = z.object({\n distance: RadarRouteDistance_DistanceInfoSchema.nullable(),\n duration: RadarRouteDistance_DurationInfoSchema.nullable(),\n geometry: RadarRouteDistance_RouteGeometrySchema.nullable().optional(),\n}).passthrough().describe(\"Route information for a transport mode (car, truck, foot, bike).\");\nconst RadarRouteDistance_GeodesicRouteSchema = z.object({\n distance: RadarRouteDistance_DistanceInfoSchema.nullable(),\n}).passthrough().describe(\"Geodesic (straight-line) route information.\");\nconst RadarRouteDistance_RoutesSchema = z.object({\n car: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n bike: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n foot: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n truck: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n geodesic: RadarRouteDistance_GeodesicRouteSchema.nullable().optional(),\n}).passthrough().describe(\"Routes object containing geodesic and mode-specific route information.\");\nexport const RadarRouteDistanceOutput = z.object({\n meta: RadarRouteDistance_MetaSchema.nullable(),\n routes: RadarRouteDistance_RoutesSchema.nullable(),\n}).passthrough().describe(\"Response model for route distance and duration calculation.\");\n\nexport const radarRouteDistance: AppAction<\n typeof RadarRouteDistanceInput,\n typeof RadarRouteDistanceOutput,\n typeof radar.credential\n> = action(\"RADAR_ROUTE_DISTANCE\", {\n slug: \"radar-route-distance\",\n name: \"Route Distance\",\n description: \"Tool to compute distance and travel time between origins and destinations. Use when you need route metrics before optimizing or timing routes.\",\n input: RadarRouteDistanceInput,\n output: RadarRouteDistanceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,KAAK;EAAC;EAAO;EAAS;EAAQ;CAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxG,OAAO,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC5G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,UAAU,EAAE,KAAK;EAAC;EAAY;EAAa;EAAa;CAAY,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC/L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACpF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,gCAAgC,EAAE,OAAO,EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,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YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,kCAAkC,EAAE,OAAO;CAC/C,KAAK,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACjE,MAAM,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAM,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAO,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAU,uCAAuC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAMlG,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdsC,EAAE,OAAO;EAC/C,MAAM,8BAA8B,SAAS;EAC7C,QAAQ,gCAAgC,SAAS;CACnD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-geofences-near-location.cjs","names":["z","action"],"sources":["../../src/actions/search-geofences-near-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarSearchGeofencesNearLocationInput = z.object({\n tags: z.array(z.string()).describe(\"Filter geofences by these tags\").optional(),\n radius: z.number().int().describe(\"Search radius in meters (default 1000, max 10000)\").optional(),\n latitude: z.number().describe(\"Latitude of the location to search near\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Filter geofences by metadata key-value pairs\").optional(),\n longitude: z.number().describe(\"Longitude of the location to search near\"),\n}).describe(\"Request model for SEARCH_GEOFENCES_NEAR_LOCATION.\");\nconst RadarSearchGeofencesNearLocation_GeometrySchema = z.object({\n type: z.string().describe(\"Geometry type: 'Point' or 'Polygon'.\").nullable(),\n coordinates: z.array(z.unknown()).describe(\"Coordinates array for the geofence geometry.\"),\n}).passthrough().describe(\"Geometry details of a geofence.\");\nconst RadarSearchGeofencesNearLocation_SearchGeofenceSchema = z.object({\n _id: z.string().describe(\"Unique identifier of the geofence.\").nullable(),\n tag: z.string().describe(\"Tag associated with the geofence.\").nullable().optional(),\n live: z.boolean().describe(\"Whether the geofence is live.\").nullable().optional(),\n type: z.string().describe(\"Type of geofence (circle or polygon).\").nullable().optional(),\n geometry: RadarSearchGeofencesNearLocation_GeometrySchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the geofence.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when created (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when last updated (ISO 8601).\").nullable().optional(),\n externalId: z.string().describe(\"External identifier of the geofence.\").nullable().optional(),\n description: z.string().describe(\"Description of the geofence.\").nullable().optional(),\n geometryCenter: z.record(z.string(), z.unknown()).describe(\"Center point of the geofence geometry.\").nullable().optional(),\n geometryRadius: z.number().describe(\"Radius of the geofence in meters.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a Radar geofence returned in search.\");\nexport const RadarSearchGeofencesNearLocationOutput = z.object({\n meta: z.record(z.string(), z.unknown()).describe(\"Response metadata.\"),\n geofences: z.array(RadarSearchGeofencesNearLocation_SearchGeofenceSchema).describe(\"List of geofences near the specified location.\"),\n}).passthrough().describe(\"Response model for SEARCH_GEOFENCES_NEAR_LOCATION.\");\n\nexport const radarSearchGeofencesNearLocation = action(\"RADAR_SEARCH_GEOFENCES_NEAR_LOCATION\", {\n slug: \"radar-search-geofences-near-location\",\n name: \"Search Geofences\",\n description: \"Tool to search for geofences near a given location. Use when you need to find geofences within a radius of specified coordinates.\",\n input: RadarSearchGeofencesNearLocationInput,\n output: RadarSearchGeofencesNearLocationOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-geofences-near-location.cjs","names":["z","action"],"sources":["../../src/actions/search-geofences-near-location.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 RadarSearchGeofencesNearLocationInput = z.object({\n tags: z.array(z.string()).describe(\"Filter geofences by these tags\").optional(),\n radius: z.number().int().describe(\"Search radius in meters (default 1000, max 10000)\").optional(),\n latitude: z.number().describe(\"Latitude of the location to search near\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Filter geofences by metadata key-value pairs\").optional(),\n longitude: z.number().describe(\"Longitude of the location to search near\"),\n}).describe(\"Request model for SEARCH_GEOFENCES_NEAR_LOCATION.\");\nconst RadarSearchGeofencesNearLocation_GeometrySchema = z.object({\n type: z.string().describe(\"Geometry type: 'Point' or 'Polygon'.\").nullable(),\n coordinates: z.array(z.unknown()).describe(\"Coordinates array for the geofence geometry.\"),\n}).passthrough().describe(\"Geometry details of a geofence.\");\nconst RadarSearchGeofencesNearLocation_SearchGeofenceSchema = z.object({\n _id: z.string().describe(\"Unique identifier of the geofence.\").nullable(),\n tag: z.string().describe(\"Tag associated with the geofence.\").nullable().optional(),\n live: z.boolean().describe(\"Whether the geofence is live.\").nullable().optional(),\n type: z.string().describe(\"Type of geofence (circle or polygon).\").nullable().optional(),\n geometry: RadarSearchGeofencesNearLocation_GeometrySchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the geofence.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when created (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when last updated (ISO 8601).\").nullable().optional(),\n externalId: z.string().describe(\"External identifier of the geofence.\").nullable().optional(),\n description: z.string().describe(\"Description of the geofence.\").nullable().optional(),\n geometryCenter: z.record(z.string(), z.unknown()).describe(\"Center point of the geofence geometry.\").nullable().optional(),\n geometryRadius: z.number().describe(\"Radius of the geofence in meters.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a Radar geofence returned in search.\");\nexport const RadarSearchGeofencesNearLocationOutput = z.object({\n meta: z.record(z.string(), z.unknown()).describe(\"Response metadata.\"),\n geofences: z.array(RadarSearchGeofencesNearLocation_SearchGeofenceSchema).describe(\"List of geofences near the specified location.\"),\n}).passthrough().describe(\"Response model for SEARCH_GEOFENCES_NEAR_LOCATION.\");\n\nexport const radarSearchGeofencesNearLocation: AppAction<\n typeof RadarSearchGeofencesNearLocationInput,\n typeof RadarSearchGeofencesNearLocationOutput,\n typeof radar.credential\n> = action(\"RADAR_SEARCH_GEOFENCES_NEAR_LOCATION\", {\n slug: \"radar-search-geofences-near-location\",\n name: \"Search Geofences\",\n description: \"Tool to search for geofences near a given location. Use when you need to find geofences within a radius of specified coordinates.\",\n input: RadarSearchGeofencesNearLocationInput,\n output: RadarSearchGeofencesNearLocationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACvE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC3E,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,wDAAwDA,I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,SAAS,wDAAwD;AAClF,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oBAAoB;CACrE,WAAWA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,gDAAgD;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,mCAITC,eAAAA,OAAO,wCAAwC;CACjD,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/search-geofences-near-location.d.ts
|
|
@@ -28,13 +30,7 @@ declare const RadarSearchGeofencesNearLocationOutput: z.ZodObject<{
|
|
|
28
30
|
geometryRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
31
|
}, z.core.$loose>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const radarSearchGeofencesNearLocation:
|
|
32
|
-
latitude: number;
|
|
33
|
-
longitude: number;
|
|
34
|
-
tags?: string[] | undefined;
|
|
35
|
-
radius?: number | undefined;
|
|
36
|
-
metadata?: Record<string, unknown> | undefined;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
|
+
declare const radarSearchGeofencesNearLocation: AppAction<typeof RadarSearchGeofencesNearLocationInput, typeof RadarSearchGeofencesNearLocationOutput, typeof radar.credential>;
|
|
38
34
|
//#endregion
|
|
39
35
|
export { radarSearchGeofencesNearLocation };
|
|
40
36
|
//# sourceMappingURL=search-geofences-near-location.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-geofences-near-location.d.cts","names":[],"sources":["../../src/actions/search-geofences-near-location.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-geofences-near-location.d.cts","names":[],"sources":["../../src/actions/search-geofences-near-location.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;cAyBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAKtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,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/search-geofences-near-location.d.ts
|
|
@@ -28,13 +30,7 @@ declare const RadarSearchGeofencesNearLocationOutput: z.ZodObject<{
|
|
|
28
30
|
geometryRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
31
|
}, z.core.$loose>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const radarSearchGeofencesNearLocation:
|
|
32
|
-
latitude: number;
|
|
33
|
-
longitude: number;
|
|
34
|
-
tags?: string[] | undefined;
|
|
35
|
-
radius?: number | undefined;
|
|
36
|
-
metadata?: Record<string, unknown> | undefined;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
|
+
declare const radarSearchGeofencesNearLocation: AppAction<typeof RadarSearchGeofencesNearLocationInput, typeof RadarSearchGeofencesNearLocationOutput, typeof radar.credential>;
|
|
38
34
|
//#endregion
|
|
39
35
|
export { radarSearchGeofencesNearLocation };
|
|
40
36
|
//# sourceMappingURL=search-geofences-near-location.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-geofences-near-location.d.mts","names":[],"sources":["../../src/actions/search-geofences-near-location.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-geofences-near-location.d.mts","names":[],"sources":["../../src/actions/search-geofences-near-location.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;cAyBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAKtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-geofences-near-location.mjs","names":[],"sources":["../../src/actions/search-geofences-near-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarSearchGeofencesNearLocationInput = z.object({\n tags: z.array(z.string()).describe(\"Filter geofences by these tags\").optional(),\n radius: z.number().int().describe(\"Search radius in meters (default 1000, max 10000)\").optional(),\n latitude: z.number().describe(\"Latitude of the location to search near\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Filter geofences by metadata key-value pairs\").optional(),\n longitude: z.number().describe(\"Longitude of the location to search near\"),\n}).describe(\"Request model for SEARCH_GEOFENCES_NEAR_LOCATION.\");\nconst RadarSearchGeofencesNearLocation_GeometrySchema = z.object({\n type: z.string().describe(\"Geometry type: 'Point' or 'Polygon'.\").nullable(),\n coordinates: z.array(z.unknown()).describe(\"Coordinates array for the geofence geometry.\"),\n}).passthrough().describe(\"Geometry details of a geofence.\");\nconst RadarSearchGeofencesNearLocation_SearchGeofenceSchema = z.object({\n _id: z.string().describe(\"Unique identifier of the geofence.\").nullable(),\n tag: z.string().describe(\"Tag associated with the geofence.\").nullable().optional(),\n live: z.boolean().describe(\"Whether the geofence is live.\").nullable().optional(),\n type: z.string().describe(\"Type of geofence (circle or polygon).\").nullable().optional(),\n geometry: RadarSearchGeofencesNearLocation_GeometrySchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the geofence.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when created (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when last updated (ISO 8601).\").nullable().optional(),\n externalId: z.string().describe(\"External identifier of the geofence.\").nullable().optional(),\n description: z.string().describe(\"Description of the geofence.\").nullable().optional(),\n geometryCenter: z.record(z.string(), z.unknown()).describe(\"Center point of the geofence geometry.\").nullable().optional(),\n geometryRadius: z.number().describe(\"Radius of the geofence in meters.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a Radar geofence returned in search.\");\nexport const RadarSearchGeofencesNearLocationOutput = z.object({\n meta: z.record(z.string(), z.unknown()).describe(\"Response metadata.\"),\n geofences: z.array(RadarSearchGeofencesNearLocation_SearchGeofenceSchema).describe(\"List of geofences near the specified location.\"),\n}).passthrough().describe(\"Response model for SEARCH_GEOFENCES_NEAR_LOCATION.\");\n\nexport const radarSearchGeofencesNearLocation = action(\"RADAR_SEARCH_GEOFENCES_NEAR_LOCATION\", {\n slug: \"radar-search-geofences-near-location\",\n name: \"Search Geofences\",\n description: \"Tool to search for geofences near a given location. Use when you need to find geofences within a radius of specified coordinates.\",\n input: RadarSearchGeofencesNearLocationInput,\n output: RadarSearchGeofencesNearLocationOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-geofences-near-location.mjs","names":[],"sources":["../../src/actions/search-geofences-near-location.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 RadarSearchGeofencesNearLocationInput = z.object({\n tags: z.array(z.string()).describe(\"Filter geofences by these tags\").optional(),\n radius: z.number().int().describe(\"Search radius in meters (default 1000, max 10000)\").optional(),\n latitude: z.number().describe(\"Latitude of the location to search near\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Filter geofences by metadata key-value pairs\").optional(),\n longitude: z.number().describe(\"Longitude of the location to search near\"),\n}).describe(\"Request model for SEARCH_GEOFENCES_NEAR_LOCATION.\");\nconst RadarSearchGeofencesNearLocation_GeometrySchema = z.object({\n type: z.string().describe(\"Geometry type: 'Point' or 'Polygon'.\").nullable(),\n coordinates: z.array(z.unknown()).describe(\"Coordinates array for the geofence geometry.\"),\n}).passthrough().describe(\"Geometry details of a geofence.\");\nconst RadarSearchGeofencesNearLocation_SearchGeofenceSchema = z.object({\n _id: z.string().describe(\"Unique identifier of the geofence.\").nullable(),\n tag: z.string().describe(\"Tag associated with the geofence.\").nullable().optional(),\n live: z.boolean().describe(\"Whether the geofence is live.\").nullable().optional(),\n type: z.string().describe(\"Type of geofence (circle or polygon).\").nullable().optional(),\n geometry: RadarSearchGeofencesNearLocation_GeometrySchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the geofence.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when created (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when last updated (ISO 8601).\").nullable().optional(),\n externalId: z.string().describe(\"External identifier of the geofence.\").nullable().optional(),\n description: z.string().describe(\"Description of the geofence.\").nullable().optional(),\n geometryCenter: z.record(z.string(), z.unknown()).describe(\"Center point of the geofence geometry.\").nullable().optional(),\n geometryRadius: z.number().describe(\"Radius of the geofence in meters.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a Radar geofence returned in search.\");\nexport const RadarSearchGeofencesNearLocationOutput = z.object({\n meta: z.record(z.string(), z.unknown()).describe(\"Response metadata.\"),\n geofences: z.array(RadarSearchGeofencesNearLocation_SearchGeofenceSchema).describe(\"List of geofences near the specified location.\"),\n}).passthrough().describe(\"Response model for SEARCH_GEOFENCES_NEAR_LOCATION.\");\n\nexport const radarSearchGeofencesNearLocation: AppAction<\n typeof RadarSearchGeofencesNearLocationInput,\n typeof RadarSearchGeofencesNearLocationOutput,\n typeof radar.credential\n> = action(\"RADAR_SEARCH_GEOFENCES_NEAR_LOCATION\", {\n slug: \"radar-search-geofences-near-location\",\n name: \"Search Geofences\",\n description: \"Tool to search for geofences near a given location. Use when you need to find geofences within a radius of specified coordinates.\",\n input: RadarSearchGeofencesNearLocationInput,\n output: RadarSearchGeofencesNearLocationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACvE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC3E,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kDAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,wDAAwD,EAAE,OAAO;CACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAU,gDAAgD,SAAS;CACnE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAMlF,MAAa,mCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oBAAoB;EACrE,WAAW,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,gDAAgD;CACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-places-near-location.cjs","names":["z","action"],"sources":["../../src/actions/search-places-near-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarSearchPlacesNearLocationInput = z.object({\n near: z.string().describe(\"Coordinates to search near in 'lat,lng' format\"),\n brand: z.string().describe(\"Filter by brand name or ID\").optional(),\n limit: z.number().int().default(10).describe(\"Number of results to return; max 100; defaults to 10\").optional(),\n chains: z.array(z.string()).describe(\"Filter by chain IDs\").optional(),\n groups: z.array(z.string()).describe(\"Filter by custom group names\").optional(),\n radius: z.number().int().default(1000).describe(\"Search radius in meters; max 10000 (10 km); defaults to 1000\").optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n categories: z.array(z.string()).describe(\"Filter by category names\").optional(),\n chain_metadata: z.boolean().describe(\"If true, includes chain metadata in each place object\").optional(),\n}).describe(\"Request model for SEARCH_PLACES_NEAR_LOCATION.\");\nconst RadarSearchPlacesNearLocation_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code of the response\").nullable(),\n}).passthrough();\nconst RadarSearchPlacesNearLocation_LinksSchema = z.object({\n next: z.string().describe(\"URL for next page\").nullable().optional(),\n prev: z.string().describe(\"URL for previous page\").nullable().optional(),\n}).passthrough();\nconst RadarSearchPlacesNearLocation_ChainSchema = z.object({\n id: z.string().describe(\"Chain unique identifier\").nullable().optional(),\n name: z.string().describe(\"Chain name\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the chain\").nullable().optional(),\n externalId: z.string().describe(\"Chain external ID\").nullable().optional(),\n}).passthrough();\nconst RadarSearchPlacesNearLocation_GeoJSONPointSchema = z.object({\n type: z.string().describe(\"GeoJSON type, must be 'Point'\").nullable(),\n coordinates: z.array(z.number()).describe(\"Coordinates as [lng, lat]\"),\n}).passthrough();\nconst RadarSearchPlacesNearLocation_PlaceSchema = z.object({\n _id: z.string().describe(\"Place unique identifier\").nullable(),\n name: z.string().describe(\"Name of the place\").nullable(),\n chain: RadarSearchPlacesNearLocation_ChainSchema.nullable().optional(),\n distance: z.number().describe(\"Distance in meters from the search origin\").nullable().optional(),\n location: RadarSearchPlacesNearLocation_GeoJSONPointSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the place\").nullable().optional(),\n categories: z.array(z.string()).describe(\"Categories associated with the place\"),\n externalId: z.string().describe(\"External ID of the place\").nullable().optional(),\n description: z.string().describe(\"Description of the place\").nullable().optional(),\n formattedAddress: z.string().describe(\"Formatted address of the place\").nullable().optional(),\n}).passthrough();\nexport const RadarSearchPlacesNearLocationOutput = z.object({\n meta: RadarSearchPlacesNearLocation_MetaSchema.nullable(),\n links: RadarSearchPlacesNearLocation_LinksSchema.nullable().optional(),\n places: z.array(RadarSearchPlacesNearLocation_PlaceSchema).describe(\"List of places found\"),\n}).passthrough();\n\nexport const radarSearchPlacesNearLocation = action(\"RADAR_SEARCH_PLACES_NEAR_LOCATION\", {\n slug: \"radar-search-places-near-location\",\n name: \"Search Places Near Location\",\n description: \"Tool to search for places near given coordinates. Use when you need to find points of interest around a location.\",\n input: RadarSearchPlacesNearLocationInput,\n output: RadarSearchPlacesNearLocationOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-places-near-location.cjs","names":["z","action"],"sources":["../../src/actions/search-places-near-location.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 RadarSearchPlacesNearLocationInput = z.object({\n near: z.string().describe(\"Coordinates to search near in 'lat,lng' format\"),\n brand: z.string().describe(\"Filter by brand name or ID\").optional(),\n limit: z.number().int().default(10).describe(\"Number of results to return; max 100; defaults to 10\").optional(),\n chains: z.array(z.string()).describe(\"Filter by chain IDs\").optional(),\n groups: z.array(z.string()).describe(\"Filter by custom group names\").optional(),\n radius: z.number().int().default(1000).describe(\"Search radius in meters; max 10000 (10 km); defaults to 1000\").optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n categories: z.array(z.string()).describe(\"Filter by category names\").optional(),\n chain_metadata: z.boolean().describe(\"If true, includes chain metadata in each place object\").optional(),\n}).describe(\"Request model for SEARCH_PLACES_NEAR_LOCATION.\");\nconst RadarSearchPlacesNearLocation_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code of the response\").nullable(),\n}).passthrough();\nconst RadarSearchPlacesNearLocation_LinksSchema = z.object({\n next: z.string().describe(\"URL for next page\").nullable().optional(),\n prev: z.string().describe(\"URL for previous page\").nullable().optional(),\n}).passthrough();\nconst RadarSearchPlacesNearLocation_ChainSchema = z.object({\n id: z.string().describe(\"Chain unique identifier\").nullable().optional(),\n name: z.string().describe(\"Chain name\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata for the chain\").nullable().optional(),\n externalId: z.string().describe(\"Chain external ID\").nullable().optional(),\n}).passthrough();\nconst RadarSearchPlacesNearLocation_GeoJSONPointSchema = z.object({\n type: z.string().describe(\"GeoJSON type, must be 'Point'\").nullable(),\n coordinates: z.array(z.number()).describe(\"Coordinates as [lng, lat]\"),\n}).passthrough();\nconst RadarSearchPlacesNearLocation_PlaceSchema = z.object({\n _id: z.string().describe(\"Place unique identifier\").nullable(),\n name: z.string().describe(\"Name of the place\").nullable(),\n chain: RadarSearchPlacesNearLocation_ChainSchema.nullable().optional(),\n distance: z.number().describe(\"Distance in meters from the search origin\").nullable().optional(),\n location: RadarSearchPlacesNearLocation_GeoJSONPointSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the place\").nullable().optional(),\n categories: z.array(z.string()).describe(\"Categories associated with the place\"),\n externalId: z.string().describe(\"External ID of the place\").nullable().optional(),\n description: z.string().describe(\"Description of the place\").nullable().optional(),\n formattedAddress: z.string().describe(\"Formatted address of the place\").nullable().optional(),\n}).passthrough();\nexport const RadarSearchPlacesNearLocationOutput = z.object({\n meta: RadarSearchPlacesNearLocation_MetaSchema.nullable(),\n links: RadarSearchPlacesNearLocation_LinksSchema.nullable().optional(),\n places: z.array(RadarSearchPlacesNearLocation_PlaceSchema).describe(\"List of places found\"),\n}).passthrough();\n\nexport const radarSearchPlacesNearLocation: AppAction<\n typeof RadarSearchPlacesNearLocationInput,\n typeof RadarSearchPlacesNearLocationOutput,\n typeof radar.credential\n> = action(\"RADAR_SEARCH_PLACES_NEAR_LOCATION\", {\n slug: \"radar-search-places-near-location\",\n name: \"Search Places Near Location\",\n description: \"Tool to search for places near given coordinates. Use when you need to find points of interest around a location.\",\n input: RadarSearchPlacesNearLocationInput,\n output: RadarSearchPlacesNearLocationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9E,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,C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|
@@ -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/search-places-near-location.d.ts
|
|
@@ -41,17 +43,7 @@ declare const RadarSearchPlacesNearLocationOutput: z.ZodObject<{
|
|
|
41
43
|
formattedAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
44
|
}, z.core.$loose>>;
|
|
43
45
|
}, z.core.$loose>;
|
|
44
|
-
declare const radarSearchPlacesNearLocation:
|
|
45
|
-
near: string;
|
|
46
|
-
brand?: string | undefined;
|
|
47
|
-
limit?: number | undefined;
|
|
48
|
-
chains?: string[] | undefined;
|
|
49
|
-
groups?: string[] | undefined;
|
|
50
|
-
radius?: number | undefined;
|
|
51
|
-
country?: string | undefined;
|
|
52
|
-
categories?: string[] | undefined;
|
|
53
|
-
chain_metadata?: boolean | undefined;
|
|
54
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
46
|
+
declare const radarSearchPlacesNearLocation: AppAction<typeof RadarSearchPlacesNearLocationInput, typeof RadarSearchPlacesNearLocationOutput, typeof radar.credential>;
|
|
55
47
|
//#endregion
|
|
56
48
|
export { radarSearchPlacesNearLocation };
|
|
57
49
|
//# sourceMappingURL=search-places-near-location.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-places-near-location.d.cts","names":[],"sources":["../../src/actions/search-places-near-location.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-places-near-location.d.cts","names":[],"sources":["../../src/actions/search-places-near-location.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;cAwClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,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/search-places-near-location.d.ts
|
|
@@ -41,17 +43,7 @@ declare const RadarSearchPlacesNearLocationOutput: z.ZodObject<{
|
|
|
41
43
|
formattedAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
44
|
}, z.core.$loose>>;
|
|
43
45
|
}, z.core.$loose>;
|
|
44
|
-
declare const radarSearchPlacesNearLocation:
|
|
45
|
-
near: string;
|
|
46
|
-
brand?: string | undefined;
|
|
47
|
-
limit?: number | undefined;
|
|
48
|
-
chains?: string[] | undefined;
|
|
49
|
-
groups?: string[] | undefined;
|
|
50
|
-
radius?: number | undefined;
|
|
51
|
-
country?: string | undefined;
|
|
52
|
-
categories?: string[] | undefined;
|
|
53
|
-
chain_metadata?: boolean | undefined;
|
|
54
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
46
|
+
declare const radarSearchPlacesNearLocation: AppAction<typeof RadarSearchPlacesNearLocationInput, typeof RadarSearchPlacesNearLocationOutput, typeof radar.credential>;
|
|
55
47
|
//#endregion
|
|
56
48
|
export { radarSearchPlacesNearLocation };
|
|
57
49
|
//# sourceMappingURL=search-places-near-location.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-places-near-location.d.mts","names":[],"sources":["../../src/actions/search-places-near-location.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-places-near-location.d.mts","names":[],"sources":["../../src/actions/search-places-near-location.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;cAwClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,KAAA,CAAM,UAAA"}
|