@keystrokehq/radar 0.1.0
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/autocomplete-address-or-place.cjs +61 -0
- package/dist/actions/autocomplete-address-or-place.cjs.map +1 -0
- package/dist/actions/autocomplete-address-or-place.d.cts +9 -0
- package/dist/actions/autocomplete-address-or-place.d.cts.map +1 -0
- package/dist/actions/autocomplete-address-or-place.d.mts +9 -0
- package/dist/actions/autocomplete-address-or-place.d.mts.map +1 -0
- package/dist/actions/autocomplete-address-or-place.mjs +60 -0
- package/dist/actions/autocomplete-address-or-place.mjs.map +1 -0
- package/dist/actions/create-beacon.cjs +56 -0
- package/dist/actions/create-beacon.cjs.map +1 -0
- package/dist/actions/create-beacon.d.cts +9 -0
- package/dist/actions/create-beacon.d.cts.map +1 -0
- package/dist/actions/create-beacon.d.mts +9 -0
- package/dist/actions/create-beacon.d.mts.map +1 -0
- package/dist/actions/create-beacon.mjs +55 -0
- package/dist/actions/create-beacon.mjs.map +1 -0
- package/dist/actions/create-trip.cjs +40 -0
- package/dist/actions/create-trip.cjs.map +1 -0
- package/dist/actions/create-trip.d.cts +9 -0
- package/dist/actions/create-trip.d.cts.map +1 -0
- package/dist/actions/create-trip.d.mts +9 -0
- package/dist/actions/create-trip.d.mts.map +1 -0
- package/dist/actions/create-trip.mjs +37 -0
- package/dist/actions/create-trip.mjs.map +1 -0
- package/dist/actions/delete-beacon.cjs +17 -0
- package/dist/actions/delete-beacon.cjs.map +1 -0
- package/dist/actions/delete-beacon.d.cts +9 -0
- package/dist/actions/delete-beacon.d.cts.map +1 -0
- package/dist/actions/delete-beacon.d.mts +9 -0
- package/dist/actions/delete-beacon.d.mts.map +1 -0
- package/dist/actions/delete-beacon.mjs +16 -0
- package/dist/actions/delete-beacon.mjs.map +1 -0
- package/dist/actions/delete-geofence-by-tag.cjs +20 -0
- package/dist/actions/delete-geofence-by-tag.cjs.map +1 -0
- package/dist/actions/delete-geofence-by-tag.d.cts +9 -0
- package/dist/actions/delete-geofence-by-tag.d.cts.map +1 -0
- package/dist/actions/delete-geofence-by-tag.d.mts +9 -0
- package/dist/actions/delete-geofence-by-tag.d.mts.map +1 -0
- package/dist/actions/delete-geofence-by-tag.mjs +19 -0
- package/dist/actions/delete-geofence-by-tag.mjs.map +1 -0
- package/dist/actions/delete-geofence.cjs +17 -0
- package/dist/actions/delete-geofence.cjs.map +1 -0
- package/dist/actions/delete-geofence.d.cts +9 -0
- package/dist/actions/delete-geofence.d.cts.map +1 -0
- package/dist/actions/delete-geofence.d.mts +9 -0
- package/dist/actions/delete-geofence.d.mts.map +1 -0
- package/dist/actions/delete-geofence.mjs +16 -0
- package/dist/actions/delete-geofence.mjs.map +1 -0
- package/dist/actions/delete-trip.cjs +17 -0
- package/dist/actions/delete-trip.cjs.map +1 -0
- package/dist/actions/delete-trip.d.cts +9 -0
- package/dist/actions/delete-trip.d.cts.map +1 -0
- package/dist/actions/delete-trip.d.mts +9 -0
- package/dist/actions/delete-trip.d.mts.map +1 -0
- package/dist/actions/delete-trip.mjs +16 -0
- package/dist/actions/delete-trip.mjs.map +1 -0
- package/dist/actions/delete-user.cjs +17 -0
- package/dist/actions/delete-user.cjs.map +1 -0
- package/dist/actions/delete-user.d.cts +9 -0
- package/dist/actions/delete-user.d.cts.map +1 -0
- package/dist/actions/delete-user.d.mts +9 -0
- package/dist/actions/delete-user.d.mts.map +1 -0
- package/dist/actions/delete-user.mjs +16 -0
- package/dist/actions/delete-user.mjs.map +1 -0
- package/dist/actions/forward-geocode.cjs +43 -0
- package/dist/actions/forward-geocode.cjs.map +1 -0
- package/dist/actions/forward-geocode.d.cts +9 -0
- package/dist/actions/forward-geocode.d.cts.map +1 -0
- package/dist/actions/forward-geocode.d.mts +9 -0
- package/dist/actions/forward-geocode.d.mts.map +1 -0
- package/dist/actions/forward-geocode.mjs +42 -0
- package/dist/actions/forward-geocode.mjs.map +1 -0
- package/dist/actions/get-beacon-by-tag.cjs +42 -0
- package/dist/actions/get-beacon-by-tag.cjs.map +1 -0
- package/dist/actions/get-beacon-by-tag.d.cts +9 -0
- package/dist/actions/get-beacon-by-tag.d.cts.map +1 -0
- package/dist/actions/get-beacon-by-tag.d.mts +9 -0
- package/dist/actions/get-beacon-by-tag.d.mts.map +1 -0
- package/dist/actions/get-beacon-by-tag.mjs +41 -0
- package/dist/actions/get-beacon-by-tag.mjs.map +1 -0
- package/dist/actions/get-beacon.cjs +39 -0
- package/dist/actions/get-beacon.cjs.map +1 -0
- package/dist/actions/get-beacon.d.cts +9 -0
- package/dist/actions/get-beacon.d.cts.map +1 -0
- package/dist/actions/get-beacon.d.mts +9 -0
- package/dist/actions/get-beacon.d.mts.map +1 -0
- package/dist/actions/get-beacon.mjs +38 -0
- package/dist/actions/get-beacon.mjs.map +1 -0
- package/dist/actions/get-context-for-location.cjs +110 -0
- package/dist/actions/get-context-for-location.cjs.map +1 -0
- package/dist/actions/get-context-for-location.d.cts +9 -0
- package/dist/actions/get-context-for-location.d.cts.map +1 -0
- package/dist/actions/get-context-for-location.d.mts +9 -0
- package/dist/actions/get-context-for-location.d.mts.map +1 -0
- package/dist/actions/get-context-for-location.mjs +109 -0
- package/dist/actions/get-context-for-location.mjs.map +1 -0
- package/dist/actions/get-geofence.cjs +35 -0
- package/dist/actions/get-geofence.cjs.map +1 -0
- package/dist/actions/get-geofence.d.cts +9 -0
- package/dist/actions/get-geofence.d.cts.map +1 -0
- package/dist/actions/get-geofence.d.mts +9 -0
- package/dist/actions/get-geofence.d.mts.map +1 -0
- package/dist/actions/get-geofence.mjs +34 -0
- package/dist/actions/get-geofence.mjs.map +1 -0
- package/dist/actions/get-places-settings.cjs +28 -0
- package/dist/actions/get-places-settings.cjs.map +1 -0
- package/dist/actions/get-places-settings.d.cts +9 -0
- package/dist/actions/get-places-settings.d.cts.map +1 -0
- package/dist/actions/get-places-settings.d.mts +9 -0
- package/dist/actions/get-places-settings.d.mts.map +1 -0
- package/dist/actions/get-places-settings.mjs +27 -0
- package/dist/actions/get-places-settings.mjs.map +1 -0
- package/dist/actions/get-route-directions.cjs +95 -0
- package/dist/actions/get-route-directions.cjs.map +1 -0
- package/dist/actions/get-route-directions.d.cts +9 -0
- package/dist/actions/get-route-directions.d.cts.map +1 -0
- package/dist/actions/get-route-directions.d.mts +9 -0
- package/dist/actions/get-route-directions.d.mts.map +1 -0
- package/dist/actions/get-route-directions.mjs +94 -0
- package/dist/actions/get-route-directions.mjs.map +1 -0
- package/dist/actions/get-route-matrix.cjs +50 -0
- package/dist/actions/get-route-matrix.cjs.map +1 -0
- package/dist/actions/get-route-matrix.d.cts +9 -0
- package/dist/actions/get-route-matrix.d.cts.map +1 -0
- package/dist/actions/get-route-matrix.d.mts +9 -0
- package/dist/actions/get-route-matrix.d.mts.map +1 -0
- package/dist/actions/get-route-matrix.mjs +49 -0
- package/dist/actions/get-route-matrix.mjs.map +1 -0
- package/dist/actions/get-trip.cjs +46 -0
- package/dist/actions/get-trip.cjs.map +1 -0
- package/dist/actions/get-trip.d.cts +9 -0
- package/dist/actions/get-trip.d.cts.map +1 -0
- package/dist/actions/get-trip.d.mts +9 -0
- package/dist/actions/get-trip.d.mts.map +1 -0
- package/dist/actions/get-trip.mjs +45 -0
- package/dist/actions/get-trip.mjs.map +1 -0
- package/dist/actions/get-user.cjs +80 -0
- package/dist/actions/get-user.cjs.map +1 -0
- package/dist/actions/get-user.d.cts +9 -0
- package/dist/actions/get-user.d.cts.map +1 -0
- package/dist/actions/get-user.d.mts +9 -0
- package/dist/actions/get-user.d.mts.map +1 -0
- package/dist/actions/get-user.mjs +79 -0
- package/dist/actions/get-user.mjs.map +1 -0
- package/dist/actions/get-users-in-geofence.cjs +28 -0
- package/dist/actions/get-users-in-geofence.cjs.map +1 -0
- package/dist/actions/get-users-in-geofence.d.cts +9 -0
- package/dist/actions/get-users-in-geofence.d.cts.map +1 -0
- package/dist/actions/get-users-in-geofence.d.mts +9 -0
- package/dist/actions/get-users-in-geofence.d.mts.map +1 -0
- package/dist/actions/get-users-in-geofence.mjs +27 -0
- package/dist/actions/get-users-in-geofence.mjs.map +1 -0
- package/dist/actions/index.cjs +75 -0
- package/dist/actions/index.d.cts +38 -0
- package/dist/actions/index.d.mts +38 -0
- package/dist/actions/index.mjs +38 -0
- package/dist/actions/ip-geocode.cjs +29 -0
- package/dist/actions/ip-geocode.cjs.map +1 -0
- package/dist/actions/ip-geocode.d.cts +9 -0
- package/dist/actions/ip-geocode.d.cts.map +1 -0
- package/dist/actions/ip-geocode.d.mts +9 -0
- package/dist/actions/ip-geocode.d.mts.map +1 -0
- package/dist/actions/ip-geocode.mjs +26 -0
- package/dist/actions/ip-geocode.mjs.map +1 -0
- package/dist/actions/list-events.cjs +59 -0
- package/dist/actions/list-events.cjs.map +1 -0
- package/dist/actions/list-events.d.cts +9 -0
- package/dist/actions/list-events.d.cts.map +1 -0
- package/dist/actions/list-events.d.mts +9 -0
- package/dist/actions/list-events.d.mts.map +1 -0
- package/dist/actions/list-events.mjs +58 -0
- package/dist/actions/list-events.mjs.map +1 -0
- package/dist/actions/list-geofences.cjs +57 -0
- package/dist/actions/list-geofences.cjs.map +1 -0
- package/dist/actions/list-geofences.d.cts +9 -0
- package/dist/actions/list-geofences.d.cts.map +1 -0
- package/dist/actions/list-geofences.d.mts +9 -0
- package/dist/actions/list-geofences.d.mts.map +1 -0
- package/dist/actions/list-geofences.mjs +56 -0
- package/dist/actions/list-geofences.mjs.map +1 -0
- package/dist/actions/list-trips.cjs +59 -0
- package/dist/actions/list-trips.cjs.map +1 -0
- package/dist/actions/list-trips.d.cts +9 -0
- package/dist/actions/list-trips.d.cts.map +1 -0
- package/dist/actions/list-trips.d.mts +9 -0
- package/dist/actions/list-trips.d.mts.map +1 -0
- package/dist/actions/list-trips.mjs +58 -0
- package/dist/actions/list-trips.mjs.map +1 -0
- package/dist/actions/list-users.cjs +42 -0
- package/dist/actions/list-users.cjs.map +1 -0
- package/dist/actions/list-users.d.cts +9 -0
- package/dist/actions/list-users.d.cts.map +1 -0
- package/dist/actions/list-users.d.mts +9 -0
- package/dist/actions/list-users.d.mts.map +1 -0
- package/dist/actions/list-users.mjs +41 -0
- package/dist/actions/list-users.mjs.map +1 -0
- package/dist/actions/reverse-geocode.cjs +40 -0
- package/dist/actions/reverse-geocode.cjs.map +1 -0
- package/dist/actions/reverse-geocode.d.cts +9 -0
- package/dist/actions/reverse-geocode.d.cts.map +1 -0
- package/dist/actions/reverse-geocode.d.mts +9 -0
- package/dist/actions/reverse-geocode.d.mts.map +1 -0
- package/dist/actions/reverse-geocode.mjs +39 -0
- package/dist/actions/reverse-geocode.mjs.map +1 -0
- package/dist/actions/route-distance.cjs +65 -0
- package/dist/actions/route-distance.cjs.map +1 -0
- package/dist/actions/route-distance.d.cts +9 -0
- package/dist/actions/route-distance.d.cts.map +1 -0
- package/dist/actions/route-distance.d.mts +9 -0
- package/dist/actions/route-distance.d.mts.map +1 -0
- package/dist/actions/route-distance.mjs +64 -0
- package/dist/actions/route-distance.mjs.map +1 -0
- package/dist/actions/search-geofences-near-location.cjs +43 -0
- package/dist/actions/search-geofences-near-location.cjs.map +1 -0
- package/dist/actions/search-geofences-near-location.d.cts +9 -0
- package/dist/actions/search-geofences-near-location.d.cts.map +1 -0
- package/dist/actions/search-geofences-near-location.d.mts +9 -0
- package/dist/actions/search-geofences-near-location.d.mts.map +1 -0
- package/dist/actions/search-geofences-near-location.mjs +42 -0
- package/dist/actions/search-geofences-near-location.mjs.map +1 -0
- package/dist/actions/search-places-near-location.cjs +57 -0
- package/dist/actions/search-places-near-location.cjs.map +1 -0
- package/dist/actions/search-places-near-location.d.cts +9 -0
- package/dist/actions/search-places-near-location.d.cts.map +1 -0
- package/dist/actions/search-places-near-location.d.mts +9 -0
- package/dist/actions/search-places-near-location.d.mts.map +1 -0
- package/dist/actions/search-places-near-location.mjs +56 -0
- package/dist/actions/search-places-near-location.mjs.map +1 -0
- package/dist/actions/search-users-near-location.cjs +39 -0
- package/dist/actions/search-users-near-location.cjs.map +1 -0
- package/dist/actions/search-users-near-location.d.cts +9 -0
- package/dist/actions/search-users-near-location.d.cts.map +1 -0
- package/dist/actions/search-users-near-location.d.mts +9 -0
- package/dist/actions/search-users-near-location.d.mts.map +1 -0
- package/dist/actions/search-users-near-location.mjs +38 -0
- package/dist/actions/search-users-near-location.mjs.map +1 -0
- package/dist/actions/track-location-update.cjs +38 -0
- package/dist/actions/track-location-update.cjs.map +1 -0
- package/dist/actions/track-location-update.d.cts +9 -0
- package/dist/actions/track-location-update.d.cts.map +1 -0
- package/dist/actions/track-location-update.d.mts +9 -0
- package/dist/actions/track-location-update.d.mts.map +1 -0
- package/dist/actions/track-location-update.mjs +35 -0
- package/dist/actions/track-location-update.mjs.map +1 -0
- package/dist/actions/update-places-settings.cjs +28 -0
- package/dist/actions/update-places-settings.cjs.map +1 -0
- package/dist/actions/update-places-settings.d.cts +9 -0
- package/dist/actions/update-places-settings.d.cts.map +1 -0
- package/dist/actions/update-places-settings.d.mts +9 -0
- package/dist/actions/update-places-settings.d.mts.map +1 -0
- package/dist/actions/update-places-settings.mjs +27 -0
- package/dist/actions/update-places-settings.mjs.map +1 -0
- package/dist/actions/update-trip-by-id.cjs +52 -0
- package/dist/actions/update-trip-by-id.cjs.map +1 -0
- package/dist/actions/update-trip-by-id.d.cts +9 -0
- package/dist/actions/update-trip-by-id.d.cts.map +1 -0
- package/dist/actions/update-trip-by-id.d.mts +9 -0
- package/dist/actions/update-trip-by-id.d.mts.map +1 -0
- package/dist/actions/update-trip-by-id.mjs +51 -0
- package/dist/actions/update-trip-by-id.mjs.map +1 -0
- package/dist/actions/update-trip.cjs +61 -0
- package/dist/actions/update-trip.cjs.map +1 -0
- package/dist/actions/update-trip.d.cts +9 -0
- package/dist/actions/update-trip.d.cts.map +1 -0
- package/dist/actions/update-trip.d.mts +9 -0
- package/dist/actions/update-trip.d.mts.map +1 -0
- package/dist/actions/update-trip.mjs +60 -0
- package/dist/actions/update-trip.mjs.map +1 -0
- package/dist/actions/upsert-beacon-by-id.cjs +56 -0
- package/dist/actions/upsert-beacon-by-id.cjs.map +1 -0
- package/dist/actions/upsert-beacon-by-id.d.cts +9 -0
- package/dist/actions/upsert-beacon-by-id.d.cts.map +1 -0
- package/dist/actions/upsert-beacon-by-id.d.mts +9 -0
- package/dist/actions/upsert-beacon-by-id.d.mts.map +1 -0
- package/dist/actions/upsert-beacon-by-id.mjs +55 -0
- package/dist/actions/upsert-beacon-by-id.mjs.map +1 -0
- package/dist/actions/upsert-beacon-by-tag.cjs +53 -0
- package/dist/actions/upsert-beacon-by-tag.cjs.map +1 -0
- package/dist/actions/upsert-beacon-by-tag.d.cts +9 -0
- package/dist/actions/upsert-beacon-by-tag.d.cts.map +1 -0
- package/dist/actions/upsert-beacon-by-tag.d.mts +9 -0
- package/dist/actions/upsert-beacon-by-tag.d.mts.map +1 -0
- package/dist/actions/upsert-beacon-by-tag.mjs +52 -0
- package/dist/actions/upsert-beacon-by-tag.mjs.map +1 -0
- package/dist/actions/upsert-geofence-by-id.cjs +52 -0
- package/dist/actions/upsert-geofence-by-id.cjs.map +1 -0
- package/dist/actions/upsert-geofence-by-id.d.cts +9 -0
- package/dist/actions/upsert-geofence-by-id.d.cts.map +1 -0
- package/dist/actions/upsert-geofence-by-id.d.mts +9 -0
- package/dist/actions/upsert-geofence-by-id.d.mts.map +1 -0
- package/dist/actions/upsert-geofence-by-id.mjs +51 -0
- package/dist/actions/upsert-geofence-by-id.mjs.map +1 -0
- package/dist/actions/upsert-geofence.cjs +43 -0
- package/dist/actions/upsert-geofence.cjs.map +1 -0
- package/dist/actions/upsert-geofence.d.cts +9 -0
- package/dist/actions/upsert-geofence.d.cts.map +1 -0
- package/dist/actions/upsert-geofence.d.mts +9 -0
- package/dist/actions/upsert-geofence.d.mts.map +1 -0
- package/dist/actions/upsert-geofence.mjs +42 -0
- package/dist/actions/upsert-geofence.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +80 -0
- package/dist/index.d.cts +40 -0
- package/dist/index.d.mts +40 -0
- package/dist/index.mjs +41 -0
- package/package.json +49 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-trip.ts
|
|
4
|
+
const RadarGetTripInput = zod.z.object({
|
|
5
|
+
id: zod.z.string().describe("The Radar trip ID or externalId."),
|
|
6
|
+
format: zod.z.string().describe("Set to 'externalId' when using an external trip ID.").optional()
|
|
7
|
+
}).describe("Request model for GET_TRIP.");
|
|
8
|
+
const RadarGetTrip_GeoJSONPointSchema = zod.z.object({
|
|
9
|
+
type: zod.z.string().default("Point").describe("GeoJSON type, always 'Point'").nullable().optional(),
|
|
10
|
+
coordinates: zod.z.array(zod.z.number()).describe("Coordinates as [longitude, latitude]")
|
|
11
|
+
}).describe("GeoJSON Point location for the trip destination/origin.");
|
|
12
|
+
const RadarGetTrip_TripSchema = zod.z.object({
|
|
13
|
+
_id: zod.z.string().describe("Unique Radar trip ID"),
|
|
14
|
+
eta: zod.z.number().describe("Estimated time of arrival in seconds").nullable().optional(),
|
|
15
|
+
live: zod.z.boolean().describe("Whether the trip is live").nullable().optional(),
|
|
16
|
+
mode: zod.z.string().describe("Mode of transport (car, foot, bike)").nullable().optional(),
|
|
17
|
+
note: zod.z.string().describe("Freeform note for the trip").nullable().optional(),
|
|
18
|
+
issues: zod.z.array(zod.z.unknown()).describe("List of trip issues").nullable().optional(),
|
|
19
|
+
status: zod.z.string().describe("Trip status (e.g., created, started, completed)"),
|
|
20
|
+
userId: zod.z.string().describe("Radar user ID associated with the trip").nullable().optional(),
|
|
21
|
+
distance: zod.z.number().describe("Distance traveled in meters").nullable().optional(),
|
|
22
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom key-value data for the trip").nullable().optional(),
|
|
23
|
+
createdAt: zod.z.string().describe("Creation timestamp in ISO8601 format").nullable().optional(),
|
|
24
|
+
locations: zod.z.array(zod.z.unknown()).describe("List of trip locations").nullable().optional(),
|
|
25
|
+
startedAt: zod.z.string().describe("Start timestamp in ISO8601 format").nullable().optional(),
|
|
26
|
+
updatedAt: zod.z.string().describe("Last update timestamp in ISO8601 format"),
|
|
27
|
+
externalId: zod.z.string().describe("External trip ID").nullable().optional(),
|
|
28
|
+
completedAt: zod.z.string().describe("Completion timestamp in ISO8601 format if completed").nullable().optional(),
|
|
29
|
+
originLocation: RadarGetTrip_GeoJSONPointSchema.nullable().optional(),
|
|
30
|
+
destinationLocation: RadarGetTrip_GeoJSONPointSchema.nullable().optional(),
|
|
31
|
+
approachingThreshold: zod.z.number().int().describe("Distance threshold in meters for approaching status").nullable().optional(),
|
|
32
|
+
destinationGeofenceTag: zod.z.string().describe("Tag of destination geofence").nullable().optional(),
|
|
33
|
+
destinationGeofenceExternalId: zod.z.string().describe("External ID of destination geofence").nullable().optional()
|
|
34
|
+
}).describe("Trip object returned by Radar.");
|
|
35
|
+
const RadarGetTripOutput = zod.z.object({ trip: RadarGetTrip_TripSchema.nullable() }).describe("Response model for GET_TRIP, containing the trip object.");
|
|
36
|
+
const radarGetTrip = require_action.action("RADAR_GET_TRIP", {
|
|
37
|
+
slug: "radar-get-trip",
|
|
38
|
+
name: "Get Trip",
|
|
39
|
+
description: "Tool to retrieve a trip by ID or externalId. Use when you have a trip ID or externalId to fetch its details.",
|
|
40
|
+
input: RadarGetTripInput,
|
|
41
|
+
output: RadarGetTripOutput
|
|
42
|
+
});
|
|
43
|
+
//#endregion
|
|
44
|
+
exports.radarGetTrip = radarGetTrip;
|
|
45
|
+
|
|
46
|
+
//# sourceMappingURL=get-trip.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-trip.cjs","names":["z","action"],"sources":["../../src/actions/get-trip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetTripInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The Radar trip ID or externalId.\"),\n format: z.string().describe(\"Set to 'externalId' when using an external trip ID.\").optional(),\n}).describe(\"Request model for GET_TRIP.\");\nconst RadarGetTrip_GeoJSONPointSchema: z.ZodTypeAny = z.object({\n type: z.string().default(\"Point\").describe(\"GeoJSON type, always 'Point'\").nullable().optional(),\n coordinates: z.array(z.number()).describe(\"Coordinates as [longitude, latitude]\"),\n}).describe(\"GeoJSON Point location for the trip destination/origin.\");\nconst RadarGetTrip_TripSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Unique Radar trip ID\"),\n eta: z.number().describe(\"Estimated time of arrival in seconds\").nullable().optional(),\n live: z.boolean().describe(\"Whether the trip is live\").nullable().optional(),\n mode: z.string().describe(\"Mode of transport (car, foot, bike)\").nullable().optional(),\n note: z.string().describe(\"Freeform note for the trip\").nullable().optional(),\n issues: z.array(z.unknown()).describe(\"List of trip issues\").nullable().optional(),\n status: z.string().describe(\"Trip status (e.g., created, started, completed)\"),\n userId: z.string().describe(\"Radar user ID associated with the trip\").nullable().optional(),\n distance: z.number().describe(\"Distance traveled in meters\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data for the trip\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp in ISO8601 format\").nullable().optional(),\n locations: z.array(z.unknown()).describe(\"List of trip locations\").nullable().optional(),\n startedAt: z.string().describe(\"Start timestamp in ISO8601 format\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO8601 format\"),\n externalId: z.string().describe(\"External trip ID\").nullable().optional(),\n completedAt: z.string().describe(\"Completion timestamp in ISO8601 format if completed\").nullable().optional(),\n originLocation: RadarGetTrip_GeoJSONPointSchema.nullable().optional(),\n destinationLocation: RadarGetTrip_GeoJSONPointSchema.nullable().optional(),\n approachingThreshold: z.number().int().describe(\"Distance threshold in meters for approaching status\").nullable().optional(),\n destinationGeofenceTag: z.string().describe(\"Tag of destination geofence\").nullable().optional(),\n destinationGeofenceExternalId: z.string().describe(\"External ID of destination geofence\").nullable().optional(),\n}).describe(\"Trip object returned by Radar.\");\nexport const RadarGetTripOutput: z.ZodTypeAny = z.object({\n trip: RadarGetTrip_TripSchema.nullable(),\n}).describe(\"Response model for GET_TRIP, containing the trip object.\");\n\nexport const radarGetTrip = action(\"RADAR_GET_TRIP\", {\n slug: \"radar-get-trip\",\n name: \"Get Trip\",\n description: \"Tool to retrieve a trip by ID or externalId. Use when you have a trip ID or externalId to fetch its details.\",\n input: RadarGetTripInput,\n output: RadarGetTripOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS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ions/get-trip.d.ts
|
|
4
|
+
declare const RadarGetTripInput: z.ZodTypeAny;
|
|
5
|
+
declare const RadarGetTripOutput: z.ZodTypeAny;
|
|
6
|
+
declare const radarGetTrip: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { radarGetTrip };
|
|
9
|
+
//# sourceMappingURL=get-trip.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-trip.d.cts","names":[],"sources":["../../src/actions/get-trip.ts"],"mappings":";;;cAIa,iBAAA,EAAmB,CAAA,CAAE,UAGQ;AAAA,cA4B7B,kBAAA,EAAoB,CAAA,CAAE,UAEoC;AAAA,cAE1D,YAAA,gCAAY,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-trip.d.ts
|
|
4
|
+
declare const RadarGetTripInput: z.ZodTypeAny;
|
|
5
|
+
declare const RadarGetTripOutput: z.ZodTypeAny;
|
|
6
|
+
declare const radarGetTrip: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { radarGetTrip };
|
|
9
|
+
//# sourceMappingURL=get-trip.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-trip.d.mts","names":[],"sources":["../../src/actions/get-trip.ts"],"mappings":";;;cAIa,iBAAA,EAAmB,CAAA,CAAE,UAGQ;AAAA,cA4B7B,kBAAA,EAAoB,CAAA,CAAE,UAEoC;AAAA,cAE1D,YAAA,gCAAY,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-trip.ts
|
|
4
|
+
const RadarGetTripInput = z.object({
|
|
5
|
+
id: z.string().describe("The Radar trip ID or externalId."),
|
|
6
|
+
format: z.string().describe("Set to 'externalId' when using an external trip ID.").optional()
|
|
7
|
+
}).describe("Request model for GET_TRIP.");
|
|
8
|
+
const RadarGetTrip_GeoJSONPointSchema = z.object({
|
|
9
|
+
type: z.string().default("Point").describe("GeoJSON type, always 'Point'").nullable().optional(),
|
|
10
|
+
coordinates: z.array(z.number()).describe("Coordinates as [longitude, latitude]")
|
|
11
|
+
}).describe("GeoJSON Point location for the trip destination/origin.");
|
|
12
|
+
const RadarGetTrip_TripSchema = z.object({
|
|
13
|
+
_id: z.string().describe("Unique Radar trip ID"),
|
|
14
|
+
eta: z.number().describe("Estimated time of arrival in seconds").nullable().optional(),
|
|
15
|
+
live: z.boolean().describe("Whether the trip is live").nullable().optional(),
|
|
16
|
+
mode: z.string().describe("Mode of transport (car, foot, bike)").nullable().optional(),
|
|
17
|
+
note: z.string().describe("Freeform note for the trip").nullable().optional(),
|
|
18
|
+
issues: z.array(z.unknown()).describe("List of trip issues").nullable().optional(),
|
|
19
|
+
status: z.string().describe("Trip status (e.g., created, started, completed)"),
|
|
20
|
+
userId: z.string().describe("Radar user ID associated with the trip").nullable().optional(),
|
|
21
|
+
distance: z.number().describe("Distance traveled in meters").nullable().optional(),
|
|
22
|
+
metadata: z.record(z.string(), z.unknown()).describe("Custom key-value data for the trip").nullable().optional(),
|
|
23
|
+
createdAt: z.string().describe("Creation timestamp in ISO8601 format").nullable().optional(),
|
|
24
|
+
locations: z.array(z.unknown()).describe("List of trip locations").nullable().optional(),
|
|
25
|
+
startedAt: z.string().describe("Start timestamp in ISO8601 format").nullable().optional(),
|
|
26
|
+
updatedAt: z.string().describe("Last update timestamp in ISO8601 format"),
|
|
27
|
+
externalId: z.string().describe("External trip ID").nullable().optional(),
|
|
28
|
+
completedAt: z.string().describe("Completion timestamp in ISO8601 format if completed").nullable().optional(),
|
|
29
|
+
originLocation: RadarGetTrip_GeoJSONPointSchema.nullable().optional(),
|
|
30
|
+
destinationLocation: RadarGetTrip_GeoJSONPointSchema.nullable().optional(),
|
|
31
|
+
approachingThreshold: z.number().int().describe("Distance threshold in meters for approaching status").nullable().optional(),
|
|
32
|
+
destinationGeofenceTag: z.string().describe("Tag of destination geofence").nullable().optional(),
|
|
33
|
+
destinationGeofenceExternalId: z.string().describe("External ID of destination geofence").nullable().optional()
|
|
34
|
+
}).describe("Trip object returned by Radar.");
|
|
35
|
+
const radarGetTrip = action("RADAR_GET_TRIP", {
|
|
36
|
+
slug: "radar-get-trip",
|
|
37
|
+
name: "Get Trip",
|
|
38
|
+
description: "Tool to retrieve a trip by ID or externalId. Use when you have a trip ID or externalId to fetch its details.",
|
|
39
|
+
input: RadarGetTripInput,
|
|
40
|
+
output: z.object({ trip: RadarGetTrip_TripSchema.nullable() }).describe("Response model for GET_TRIP, containing the trip object.")
|
|
41
|
+
});
|
|
42
|
+
//#endregion
|
|
43
|
+
export { radarGetTrip };
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=get-trip.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-trip.mjs","names":[],"sources":["../../src/actions/get-trip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetTripInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The Radar trip ID or externalId.\"),\n format: z.string().describe(\"Set to 'externalId' when using an external trip ID.\").optional(),\n}).describe(\"Request model for GET_TRIP.\");\nconst RadarGetTrip_GeoJSONPointSchema: z.ZodTypeAny = z.object({\n type: z.string().default(\"Point\").describe(\"GeoJSON type, always 'Point'\").nullable().optional(),\n coordinates: z.array(z.number()).describe(\"Coordinates as [longitude, latitude]\"),\n}).describe(\"GeoJSON Point location for the trip destination/origin.\");\nconst RadarGetTrip_TripSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Unique Radar trip ID\"),\n eta: z.number().describe(\"Estimated time of arrival in seconds\").nullable().optional(),\n live: z.boolean().describe(\"Whether the trip is live\").nullable().optional(),\n mode: z.string().describe(\"Mode of transport (car, foot, bike)\").nullable().optional(),\n note: z.string().describe(\"Freeform note for the trip\").nullable().optional(),\n issues: z.array(z.unknown()).describe(\"List of trip issues\").nullable().optional(),\n status: z.string().describe(\"Trip status (e.g., created, started, completed)\"),\n userId: z.string().describe(\"Radar user ID associated with the trip\").nullable().optional(),\n distance: z.number().describe(\"Distance traveled in meters\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data for the trip\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp in ISO8601 format\").nullable().optional(),\n locations: z.array(z.unknown()).describe(\"List of trip locations\").nullable().optional(),\n startedAt: z.string().describe(\"Start timestamp in ISO8601 format\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO8601 format\"),\n externalId: z.string().describe(\"External trip ID\").nullable().optional(),\n completedAt: z.string().describe(\"Completion timestamp in ISO8601 format if completed\").nullable().optional(),\n originLocation: RadarGetTrip_GeoJSONPointSchema.nullable().optional(),\n destinationLocation: RadarGetTrip_GeoJSONPointSchema.nullable().optional(),\n approachingThreshold: z.number().int().describe(\"Distance threshold in meters for approaching status\").nullable().optional(),\n destinationGeofenceTag: z.string().describe(\"Tag of destination geofence\").nullable().optional(),\n destinationGeofenceExternalId: z.string().describe(\"External ID of destination geofence\").nullable().optional(),\n}).describe(\"Trip object returned by Radar.\");\nexport const RadarGetTripOutput: z.ZodTypeAny = z.object({\n trip: RadarGetTrip_TripSchema.nullable(),\n}).describe(\"Response model for GET_TRIP, containing the trip object.\");\n\nexport const radarGetTrip = action(\"RADAR_GET_TRIP\", {\n slug: \"radar-get-trip\",\n name: \"Get Trip\",\n description: \"Tool to retrieve a trip by ID or externalId. Use when you have a trip ID or externalId to fetch its details.\",\n input: RadarGetTripInput,\n output: RadarGetTripOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAkC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAM,kCAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,0BAAwC,EAAE,OAAO;CACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,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b,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,MAAM,wBAAwB,SAAS,EACzC,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-user.ts
|
|
4
|
+
const RadarGetUserInput = zod.z.object({ id: zod.z.string().describe("User identifier - can be Radar _id, userId, or deviceId") }).describe("Request model for getting a user by ID.");
|
|
5
|
+
const RadarGetUser_TripInUserSchema = zod.z.object({
|
|
6
|
+
_id: zod.z.string().describe("Unique Radar trip identifier"),
|
|
7
|
+
status: zod.z.string().describe("Trip status (e.g., created, started, completed)").nullable().optional(),
|
|
8
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata for the trip").nullable().optional(),
|
|
9
|
+
externalId: zod.z.string().describe("External trip identifier").nullable().optional()
|
|
10
|
+
}).passthrough().describe("Trip object associated with the user if currently on a trip.");
|
|
11
|
+
const RadarGetUser_FraudInUserSchema = zod.z.object({
|
|
12
|
+
proxy: zod.z.boolean().describe("Whether the user is using a proxy").nullable().optional(),
|
|
13
|
+
mocked: zod.z.boolean().describe("Whether the location appears to be mocked").nullable().optional(),
|
|
14
|
+
passed: zod.z.boolean().describe("Whether the user passed fraud checks").nullable().optional(),
|
|
15
|
+
bypassed: zod.z.boolean().describe("Whether fraud checks were bypassed").nullable().optional(),
|
|
16
|
+
verified: zod.z.boolean().describe("Whether the user has been verified").nullable().optional(),
|
|
17
|
+
compromisedAt: zod.z.string().describe("ISO 8601 timestamp when the user was compromised").nullable().optional()
|
|
18
|
+
}).passthrough().describe("Fraud detection information for the user.");
|
|
19
|
+
const RadarGetUser_PlaceInUserSchema = zod.z.object({
|
|
20
|
+
_id: zod.z.string().describe("Unique Radar place identifier").nullable().optional(),
|
|
21
|
+
name: zod.z.string().describe("Name of the place").nullable().optional(),
|
|
22
|
+
chain: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Chain information if applicable").nullable().optional(),
|
|
23
|
+
categories: zod.z.array(zod.z.string()).describe("Categories of the place").nullable().optional()
|
|
24
|
+
}).passthrough().describe("Place object associated with a user's current location.");
|
|
25
|
+
const RadarGetUser_BeaconInUserSchema = zod.z.object({
|
|
26
|
+
_id: zod.z.string().describe("Unique Radar beacon identifier"),
|
|
27
|
+
tag: zod.z.string().describe("Tag associated with the beacon").nullable().optional(),
|
|
28
|
+
uuid: zod.z.string().describe("UUID of the beacon").nullable().optional(),
|
|
29
|
+
major: zod.z.string().describe("Major value of the beacon").nullable().optional(),
|
|
30
|
+
minor: zod.z.string().describe("Minor value of the beacon").nullable().optional(),
|
|
31
|
+
externalId: zod.z.string().describe("External identifier of the beacon").nullable().optional(),
|
|
32
|
+
description: zod.z.string().describe("Description of the beacon").nullable().optional()
|
|
33
|
+
}).passthrough().describe("Beacon object detected near the user.");
|
|
34
|
+
const RadarGetUser_GeoJSONPointSchema = zod.z.object({
|
|
35
|
+
type: zod.z.string().default("Point").describe("GeoJSON type, always 'Point'").nullable().optional(),
|
|
36
|
+
coordinates: zod.z.array(zod.z.number()).describe("Coordinates as [longitude, latitude]")
|
|
37
|
+
}).describe("GeoJSON Point representing a geographic location.");
|
|
38
|
+
const RadarGetUser_GeofenceInUserSchema = zod.z.object({
|
|
39
|
+
_id: zod.z.string().describe("Unique Radar geofence identifier"),
|
|
40
|
+
tag: zod.z.string().describe("Tag associated with the geofence").nullable().optional(),
|
|
41
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata for the geofence").nullable().optional(),
|
|
42
|
+
externalId: zod.z.string().describe("External identifier of the geofence").nullable().optional(),
|
|
43
|
+
description: zod.z.string().describe("Description of the geofence").nullable().optional()
|
|
44
|
+
}).passthrough().describe("Geofence object associated with a user.");
|
|
45
|
+
const RadarGetUser_UserSchema = zod.z.object({
|
|
46
|
+
_id: zod.z.string().describe("Internal Radar identifier for the user"),
|
|
47
|
+
dma: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Designated Market Area information").nullable().optional(),
|
|
48
|
+
live: zod.z.boolean().describe("Whether this is a live (not test) user").nullable().optional(),
|
|
49
|
+
trip: RadarGetUser_TripInUserSchema.nullable().optional(),
|
|
50
|
+
fraud: RadarGetUser_FraudInUserSchema.nullable().optional(),
|
|
51
|
+
place: RadarGetUser_PlaceInUserSchema.nullable().optional(),
|
|
52
|
+
state: zod.z.record(zod.z.string(), zod.z.unknown()).describe("State/region information for the user's location").nullable().optional(),
|
|
53
|
+
userId: zod.z.string().describe("Custom unique identifier for the user (may be absent if only deviceId was provided)").nullable().optional(),
|
|
54
|
+
beacons: zod.z.array(RadarGetUser_BeaconInUserSchema).describe("List of beacons detected near the user").nullable().optional(),
|
|
55
|
+
country: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Country information for the user's location").nullable().optional(),
|
|
56
|
+
stopped: zod.z.boolean().describe("Whether the user is currently stopped").nullable().optional(),
|
|
57
|
+
deviceId: zod.z.string().describe("Identifier for the user's device").nullable().optional(),
|
|
58
|
+
location: RadarGetUser_GeoJSONPointSchema.nullable().optional(),
|
|
59
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata for the user").nullable().optional(),
|
|
60
|
+
createdAt: zod.z.string().describe("Creation timestamp in ISO 8601 format"),
|
|
61
|
+
geofences: zod.z.array(RadarGetUser_GeofenceInUserSchema).describe("List of geofences the user is currently inside").nullable().optional(),
|
|
62
|
+
updatedAt: zod.z.string().describe("Last updated timestamp in ISO 8601 format"),
|
|
63
|
+
deviceType: zod.z.string().describe("Type of device (iOS, Android, Web)").nullable().optional(),
|
|
64
|
+
foreground: zod.z.boolean().describe("Whether the app was in foreground for last location update").nullable().optional(),
|
|
65
|
+
postalCode: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Postal code information for the user's location").nullable().optional(),
|
|
66
|
+
description: zod.z.string().describe("Description of the user").nullable().optional(),
|
|
67
|
+
locationAccuracy: zod.z.number().describe("Accuracy of the location in meters").nullable().optional()
|
|
68
|
+
}).passthrough().describe("Complete user object returned by Radar with all location and context data.");
|
|
69
|
+
const RadarGetUserOutput = zod.z.object({ user: RadarGetUser_UserSchema.nullable() }).describe("Response model for GET_USER, containing the user object with all location and context data.");
|
|
70
|
+
const radarGetUser = require_action.action("RADAR_GET_USER", {
|
|
71
|
+
slug: "radar-get-user",
|
|
72
|
+
name: "Get User",
|
|
73
|
+
description: "Tool to get a user by Radar _id, userId, or deviceId. Returns the user with all location and context data including geofences, places, beacons, and trip information.",
|
|
74
|
+
input: RadarGetUserInput,
|
|
75
|
+
output: RadarGetUserOutput
|
|
76
|
+
});
|
|
77
|
+
//#endregion
|
|
78
|
+
exports.radarGetUser = radarGetUser;
|
|
79
|
+
|
|
80
|
+
//# sourceMappingURL=get-user.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetUserInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"User identifier - can be Radar _id, userId, or deviceId\"),\n}).describe(\"Request model for getting a user by ID.\");\nconst RadarGetUser_TripInUserSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Unique Radar trip identifier\"),\n status: z.string().describe(\"Trip status (e.g., created, started, completed)\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the trip\").nullable().optional(),\n externalId: z.string().describe(\"External trip identifier\").nullable().optional(),\n}).passthrough().describe(\"Trip object associated with the user if currently on a trip.\");\nconst RadarGetUser_FraudInUserSchema: z.ZodTypeAny = z.object({\n proxy: z.boolean().describe(\"Whether the user is using a proxy\").nullable().optional(),\n mocked: z.boolean().describe(\"Whether the location appears to be mocked\").nullable().optional(),\n passed: z.boolean().describe(\"Whether the user passed fraud checks\").nullable().optional(),\n bypassed: z.boolean().describe(\"Whether fraud checks were bypassed\").nullable().optional(),\n verified: z.boolean().describe(\"Whether the user has been verified\").nullable().optional(),\n compromisedAt: z.string().describe(\"ISO 8601 timestamp when the user was compromised\").nullable().optional(),\n}).passthrough().describe(\"Fraud detection information for the user.\");\nconst RadarGetUser_PlaceInUserSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Unique Radar place identifier\").nullable().optional(),\n name: z.string().describe(\"Name of the place\").nullable().optional(),\n chain: z.record(z.string(), z.unknown()).describe(\"Chain information if applicable\").nullable().optional(),\n categories: z.array(z.string()).describe(\"Categories of the place\").nullable().optional(),\n}).passthrough().describe(\"Place object associated with a user's current location.\");\nconst RadarGetUser_BeaconInUserSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Unique Radar beacon identifier\"),\n tag: z.string().describe(\"Tag associated with the beacon\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the beacon\").nullable().optional(),\n major: z.string().describe(\"Major value of the beacon\").nullable().optional(),\n minor: z.string().describe(\"Minor value of the beacon\").nullable().optional(),\n externalId: z.string().describe(\"External identifier of the beacon\").nullable().optional(),\n description: z.string().describe(\"Description of the beacon\").nullable().optional(),\n}).passthrough().describe(\"Beacon object detected near the user.\");\nconst RadarGetUser_GeoJSONPointSchema: z.ZodTypeAny = z.object({\n type: z.string().default(\"Point\").describe(\"GeoJSON type, always 'Point'\").nullable().optional(),\n coordinates: z.array(z.number()).describe(\"Coordinates as [longitude, latitude]\"),\n}).describe(\"GeoJSON Point representing a geographic location.\");\nconst RadarGetUser_GeofenceInUserSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Unique Radar geofence identifier\"),\n tag: z.string().describe(\"Tag associated with the geofence\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the geofence\").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}).passthrough().describe(\"Geofence object associated with a user.\");\nconst RadarGetUser_UserSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Internal Radar identifier for the user\"),\n dma: z.record(z.string(), z.unknown()).describe(\"Designated Market Area information\").nullable().optional(),\n live: z.boolean().describe(\"Whether this is a live (not test) user\").nullable().optional(),\n trip: RadarGetUser_TripInUserSchema.nullable().optional(),\n fraud: RadarGetUser_FraudInUserSchema.nullable().optional(),\n place: RadarGetUser_PlaceInUserSchema.nullable().optional(),\n state: z.record(z.string(), z.unknown()).describe(\"State/region information for the user's location\").nullable().optional(),\n userId: z.string().describe(\"Custom unique identifier for the user (may be absent if only deviceId was provided)\").nullable().optional(),\n beacons: z.array(RadarGetUser_BeaconInUserSchema).describe(\"List of beacons detected near the user\").nullable().optional(),\n country: z.record(z.string(), z.unknown()).describe(\"Country information for the user's location\").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 location: RadarGetUser_GeoJSONPointSchema.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\"),\n geofences: z.array(RadarGetUser_GeofenceInUserSchema).describe(\"List of geofences the user is currently inside\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp in ISO 8601 format\"),\n deviceType: z.string().describe(\"Type of device (iOS, Android, Web)\").nullable().optional(),\n foreground: z.boolean().describe(\"Whether the app was in foreground for last location update\").nullable().optional(),\n postalCode: z.record(z.string(), z.unknown()).describe(\"Postal code information for the user's location\").nullable().optional(),\n description: z.string().describe(\"Description of the user\").nullable().optional(),\n locationAccuracy: z.number().describe(\"Accuracy of the location in meters\").nullable().optional(),\n}).passthrough().describe(\"Complete user object returned by Radar with all location and context data.\");\nexport const RadarGetUserOutput: z.ZodTypeAny = z.object({\n user: RadarGetUser_UserSchema.nullable(),\n}).describe(\"Response model for GET_USER, containing the user object with all location and context data.\");\n\nexport const radarGetUser = action(\"RADAR_GET_USER\", {\n slug: \"radar-get-user\",\n name: \"Get User\",\n description: \"Tool to get a user by Radar _id, userId, or deviceId. Returns the user with all location and context data including geofences, places, beacons, and trip information.\",\n input: RadarGetUserInput,\n output: RadarGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAkCA,IAAAA,EAAE,OAAO,EACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACnF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAM,iCAA+CA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CA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d.ts
|
|
4
|
+
declare const RadarGetUserInput: z.ZodTypeAny;
|
|
5
|
+
declare const RadarGetUserOutput: z.ZodTypeAny;
|
|
6
|
+
declare const radarGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { radarGetUser };
|
|
9
|
+
//# sourceMappingURL=get-user.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,iBAAA,EAAmB,CAAA,CAAE,UAEoB;AAAA,cAiEzC,kBAAA,EAAoB,CAAA,CAAE,UAEuE;AAAA,cAE7F,YAAA,gCAAY,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-user.d.ts
|
|
4
|
+
declare const RadarGetUserInput: z.ZodTypeAny;
|
|
5
|
+
declare const RadarGetUserOutput: z.ZodTypeAny;
|
|
6
|
+
declare const radarGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { radarGetUser };
|
|
9
|
+
//# sourceMappingURL=get-user.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,iBAAA,EAAmB,CAAA,CAAE,UAEoB;AAAA,cAiEzC,kBAAA,EAAoB,CAAA,CAAE,UAEuE;AAAA,cAE7F,YAAA,gCAAY,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-user.ts
|
|
4
|
+
const RadarGetUserInput = z.object({ id: z.string().describe("User identifier - can be Radar _id, userId, or deviceId") }).describe("Request model for getting a user by ID.");
|
|
5
|
+
const RadarGetUser_TripInUserSchema = z.object({
|
|
6
|
+
_id: z.string().describe("Unique Radar trip identifier"),
|
|
7
|
+
status: z.string().describe("Trip status (e.g., created, started, completed)").nullable().optional(),
|
|
8
|
+
metadata: z.record(z.string(), z.unknown()).describe("Custom metadata for the trip").nullable().optional(),
|
|
9
|
+
externalId: z.string().describe("External trip identifier").nullable().optional()
|
|
10
|
+
}).passthrough().describe("Trip object associated with the user if currently on a trip.");
|
|
11
|
+
const RadarGetUser_FraudInUserSchema = z.object({
|
|
12
|
+
proxy: z.boolean().describe("Whether the user is using a proxy").nullable().optional(),
|
|
13
|
+
mocked: z.boolean().describe("Whether the location appears to be mocked").nullable().optional(),
|
|
14
|
+
passed: z.boolean().describe("Whether the user passed fraud checks").nullable().optional(),
|
|
15
|
+
bypassed: z.boolean().describe("Whether fraud checks were bypassed").nullable().optional(),
|
|
16
|
+
verified: z.boolean().describe("Whether the user has been verified").nullable().optional(),
|
|
17
|
+
compromisedAt: z.string().describe("ISO 8601 timestamp when the user was compromised").nullable().optional()
|
|
18
|
+
}).passthrough().describe("Fraud detection information for the user.");
|
|
19
|
+
const RadarGetUser_PlaceInUserSchema = z.object({
|
|
20
|
+
_id: z.string().describe("Unique Radar place identifier").nullable().optional(),
|
|
21
|
+
name: z.string().describe("Name of the place").nullable().optional(),
|
|
22
|
+
chain: z.record(z.string(), z.unknown()).describe("Chain information if applicable").nullable().optional(),
|
|
23
|
+
categories: z.array(z.string()).describe("Categories of the place").nullable().optional()
|
|
24
|
+
}).passthrough().describe("Place object associated with a user's current location.");
|
|
25
|
+
const RadarGetUser_BeaconInUserSchema = z.object({
|
|
26
|
+
_id: z.string().describe("Unique Radar beacon identifier"),
|
|
27
|
+
tag: z.string().describe("Tag associated with the beacon").nullable().optional(),
|
|
28
|
+
uuid: z.string().describe("UUID of the beacon").nullable().optional(),
|
|
29
|
+
major: z.string().describe("Major value of the beacon").nullable().optional(),
|
|
30
|
+
minor: z.string().describe("Minor value of the beacon").nullable().optional(),
|
|
31
|
+
externalId: z.string().describe("External identifier of the beacon").nullable().optional(),
|
|
32
|
+
description: z.string().describe("Description of the beacon").nullable().optional()
|
|
33
|
+
}).passthrough().describe("Beacon object detected near the user.");
|
|
34
|
+
const RadarGetUser_GeoJSONPointSchema = z.object({
|
|
35
|
+
type: z.string().default("Point").describe("GeoJSON type, always 'Point'").nullable().optional(),
|
|
36
|
+
coordinates: z.array(z.number()).describe("Coordinates as [longitude, latitude]")
|
|
37
|
+
}).describe("GeoJSON Point representing a geographic location.");
|
|
38
|
+
const RadarGetUser_GeofenceInUserSchema = z.object({
|
|
39
|
+
_id: z.string().describe("Unique Radar geofence identifier"),
|
|
40
|
+
tag: z.string().describe("Tag associated with the geofence").nullable().optional(),
|
|
41
|
+
metadata: z.record(z.string(), z.unknown()).describe("Custom metadata for the geofence").nullable().optional(),
|
|
42
|
+
externalId: z.string().describe("External identifier of the geofence").nullable().optional(),
|
|
43
|
+
description: z.string().describe("Description of the geofence").nullable().optional()
|
|
44
|
+
}).passthrough().describe("Geofence object associated with a user.");
|
|
45
|
+
const RadarGetUser_UserSchema = z.object({
|
|
46
|
+
_id: z.string().describe("Internal Radar identifier for the user"),
|
|
47
|
+
dma: z.record(z.string(), z.unknown()).describe("Designated Market Area information").nullable().optional(),
|
|
48
|
+
live: z.boolean().describe("Whether this is a live (not test) user").nullable().optional(),
|
|
49
|
+
trip: RadarGetUser_TripInUserSchema.nullable().optional(),
|
|
50
|
+
fraud: RadarGetUser_FraudInUserSchema.nullable().optional(),
|
|
51
|
+
place: RadarGetUser_PlaceInUserSchema.nullable().optional(),
|
|
52
|
+
state: z.record(z.string(), z.unknown()).describe("State/region information for the user's location").nullable().optional(),
|
|
53
|
+
userId: z.string().describe("Custom unique identifier for the user (may be absent if only deviceId was provided)").nullable().optional(),
|
|
54
|
+
beacons: z.array(RadarGetUser_BeaconInUserSchema).describe("List of beacons detected near the user").nullable().optional(),
|
|
55
|
+
country: z.record(z.string(), z.unknown()).describe("Country information for the user's location").nullable().optional(),
|
|
56
|
+
stopped: z.boolean().describe("Whether the user is currently stopped").nullable().optional(),
|
|
57
|
+
deviceId: z.string().describe("Identifier for the user's device").nullable().optional(),
|
|
58
|
+
location: RadarGetUser_GeoJSONPointSchema.nullable().optional(),
|
|
59
|
+
metadata: z.record(z.string(), z.unknown()).describe("Custom metadata for the user").nullable().optional(),
|
|
60
|
+
createdAt: z.string().describe("Creation timestamp in ISO 8601 format"),
|
|
61
|
+
geofences: z.array(RadarGetUser_GeofenceInUserSchema).describe("List of geofences the user is currently inside").nullable().optional(),
|
|
62
|
+
updatedAt: z.string().describe("Last updated timestamp in ISO 8601 format"),
|
|
63
|
+
deviceType: z.string().describe("Type of device (iOS, Android, Web)").nullable().optional(),
|
|
64
|
+
foreground: z.boolean().describe("Whether the app was in foreground for last location update").nullable().optional(),
|
|
65
|
+
postalCode: z.record(z.string(), z.unknown()).describe("Postal code information for the user's location").nullable().optional(),
|
|
66
|
+
description: z.string().describe("Description of the user").nullable().optional(),
|
|
67
|
+
locationAccuracy: z.number().describe("Accuracy of the location in meters").nullable().optional()
|
|
68
|
+
}).passthrough().describe("Complete user object returned by Radar with all location and context data.");
|
|
69
|
+
const radarGetUser = action("RADAR_GET_USER", {
|
|
70
|
+
slug: "radar-get-user",
|
|
71
|
+
name: "Get User",
|
|
72
|
+
description: "Tool to get a user by Radar _id, userId, or deviceId. Returns the user with all location and context data including geofences, places, beacons, and trip information.",
|
|
73
|
+
input: RadarGetUserInput,
|
|
74
|
+
output: z.object({ user: RadarGetUser_UserSchema.nullable() }).describe("Response model for GET_USER, containing the user object with all location and context data.")
|
|
75
|
+
});
|
|
76
|
+
//#endregion
|
|
77
|
+
export { radarGetUser };
|
|
78
|
+
|
|
79
|
+
//# sourceMappingURL=get-user.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetUserInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"User identifier - can be Radar _id, userId, or deviceId\"),\n}).describe(\"Request model for getting a user by ID.\");\nconst RadarGetUser_TripInUserSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Unique Radar trip identifier\"),\n status: z.string().describe(\"Trip status (e.g., created, started, completed)\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the trip\").nullable().optional(),\n externalId: z.string().describe(\"External trip identifier\").nullable().optional(),\n}).passthrough().describe(\"Trip object associated with the user if currently on a trip.\");\nconst RadarGetUser_FraudInUserSchema: z.ZodTypeAny = z.object({\n proxy: z.boolean().describe(\"Whether the user is using a proxy\").nullable().optional(),\n mocked: z.boolean().describe(\"Whether the location appears to be mocked\").nullable().optional(),\n passed: z.boolean().describe(\"Whether the user passed fraud checks\").nullable().optional(),\n bypassed: z.boolean().describe(\"Whether fraud checks were bypassed\").nullable().optional(),\n verified: z.boolean().describe(\"Whether the user has been verified\").nullable().optional(),\n compromisedAt: z.string().describe(\"ISO 8601 timestamp when the user was compromised\").nullable().optional(),\n}).passthrough().describe(\"Fraud detection information for the user.\");\nconst RadarGetUser_PlaceInUserSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Unique Radar place identifier\").nullable().optional(),\n name: z.string().describe(\"Name of the place\").nullable().optional(),\n chain: z.record(z.string(), z.unknown()).describe(\"Chain information if applicable\").nullable().optional(),\n categories: z.array(z.string()).describe(\"Categories of the place\").nullable().optional(),\n}).passthrough().describe(\"Place object associated with a user's current location.\");\nconst RadarGetUser_BeaconInUserSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Unique Radar beacon identifier\"),\n tag: z.string().describe(\"Tag associated with the beacon\").nullable().optional(),\n uuid: z.string().describe(\"UUID of the beacon\").nullable().optional(),\n major: z.string().describe(\"Major value of the beacon\").nullable().optional(),\n minor: z.string().describe(\"Minor value of the beacon\").nullable().optional(),\n externalId: z.string().describe(\"External identifier of the beacon\").nullable().optional(),\n description: z.string().describe(\"Description of the beacon\").nullable().optional(),\n}).passthrough().describe(\"Beacon object detected near the user.\");\nconst RadarGetUser_GeoJSONPointSchema: z.ZodTypeAny = z.object({\n type: z.string().default(\"Point\").describe(\"GeoJSON type, always 'Point'\").nullable().optional(),\n coordinates: z.array(z.number()).describe(\"Coordinates as [longitude, latitude]\"),\n}).describe(\"GeoJSON Point representing a geographic location.\");\nconst RadarGetUser_GeofenceInUserSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Unique Radar geofence identifier\"),\n tag: z.string().describe(\"Tag associated with the geofence\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata for the geofence\").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}).passthrough().describe(\"Geofence object associated with a user.\");\nconst RadarGetUser_UserSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Internal Radar identifier for the user\"),\n dma: z.record(z.string(), z.unknown()).describe(\"Designated Market Area information\").nullable().optional(),\n live: z.boolean().describe(\"Whether this is a live (not test) user\").nullable().optional(),\n trip: RadarGetUser_TripInUserSchema.nullable().optional(),\n fraud: RadarGetUser_FraudInUserSchema.nullable().optional(),\n place: RadarGetUser_PlaceInUserSchema.nullable().optional(),\n state: z.record(z.string(), z.unknown()).describe(\"State/region information for the user's location\").nullable().optional(),\n userId: z.string().describe(\"Custom unique identifier for the user (may be absent if only deviceId was provided)\").nullable().optional(),\n beacons: z.array(RadarGetUser_BeaconInUserSchema).describe(\"List of beacons detected near the user\").nullable().optional(),\n country: z.record(z.string(), z.unknown()).describe(\"Country information for the user's location\").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 location: RadarGetUser_GeoJSONPointSchema.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\"),\n geofences: z.array(RadarGetUser_GeofenceInUserSchema).describe(\"List of geofences the user is currently inside\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp in ISO 8601 format\"),\n deviceType: z.string().describe(\"Type of device (iOS, Android, Web)\").nullable().optional(),\n foreground: z.boolean().describe(\"Whether the app was in foreground for last location update\").nullable().optional(),\n postalCode: z.record(z.string(), z.unknown()).describe(\"Postal code information for the user's location\").nullable().optional(),\n description: z.string().describe(\"Description of the user\").nullable().optional(),\n locationAccuracy: z.number().describe(\"Accuracy of the location in meters\").nullable().optional(),\n}).passthrough().describe(\"Complete user object returned by Radar with all location and context data.\");\nexport const RadarGetUserOutput: z.ZodTypeAny = z.object({\n user: RadarGetUser_UserSchema.nullable(),\n}).describe(\"Response model for GET_USER, containing the user object with all location and context data.\");\n\nexport const radarGetUser = action(\"RADAR_GET_USER\", {\n slug: \"radar-get-user\",\n name: \"Get User\",\n description: \"Tool to get a user by Radar _id, userId, or deviceId. Returns the user with all location and context data including geofences, places, beacons, and trip information.\",\n input: RadarGetUserInput,\n output: RadarGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAkC,EAAE,OAAO,EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACnF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,gCAA8C,EAAE,OAAO;CAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACvD,QAAQ,EAAE,OAAO,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OAAO,EACvD,MAAM,wBAAwB,SAAS,EACzC,CAAC,CAAC,CAAC,SAAS,6FAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-users-in-geofence.ts
|
|
4
|
+
const RadarGetUsersInGeofenceInput = zod.z.object({
|
|
5
|
+
tag: zod.z.string().describe("Tag of the geofence"),
|
|
6
|
+
limit: zod.z.number().int().describe("Maximum number of users to return (default: 100, max: 500)").optional(),
|
|
7
|
+
cursor: zod.z.string().describe("Pagination cursor to fetch the next page of results").optional(),
|
|
8
|
+
externalId: zod.z.string().describe("External ID of the geofence")
|
|
9
|
+
}).describe("Request model for GET_USERS_IN_GEOFENCE.");
|
|
10
|
+
const RadarGetUsersInGeofence_MetaSchema = zod.z.object({
|
|
11
|
+
code: zod.z.number().int().describe("HTTP status code from the API"),
|
|
12
|
+
hasMore: zod.z.boolean().describe("Whether there are more results available")
|
|
13
|
+
});
|
|
14
|
+
const RadarGetUsersInGeofenceOutput = zod.z.object({
|
|
15
|
+
meta: RadarGetUsersInGeofence_MetaSchema.nullable(),
|
|
16
|
+
users: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of user objects currently in the geofence")
|
|
17
|
+
}).describe("Response model for GET_USERS_IN_GEOFENCE.");
|
|
18
|
+
const radarGetUsersInGeofence = require_action.action("RADAR_GET_USERS_IN_GEOFENCE", {
|
|
19
|
+
slug: "radar-get-users-in-geofence",
|
|
20
|
+
name: "Get Users in Geofence",
|
|
21
|
+
description: "Tool to retrieve users currently within a specific geofence. Use when you need to list all users inside a geofence by its tag and external ID.",
|
|
22
|
+
input: RadarGetUsersInGeofenceInput,
|
|
23
|
+
output: RadarGetUsersInGeofenceOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.radarGetUsersInGeofence = radarGetUsersInGeofence;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-users-in-geofence.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-users-in-geofence.cjs","names":["z","action"],"sources":["../../src/actions/get-users-in-geofence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetUsersInGeofenceInput: z.ZodTypeAny = z.object({\n tag: z.string().describe(\"Tag of the geofence\"),\n limit: z.number().int().describe(\"Maximum number of users to return (default: 100, max: 500)\").optional(),\n cursor: z.string().describe(\"Pagination cursor to fetch the next page of results\").optional(),\n externalId: z.string().describe(\"External ID of the geofence\"),\n}).describe(\"Request model for GET_USERS_IN_GEOFENCE.\");\nconst RadarGetUsersInGeofence_MetaSchema: z.ZodTypeAny = z.object({\n code: z.number().int().describe(\"HTTP status code from the API\"),\n hasMore: z.boolean().describe(\"Whether there are more results available\"),\n});\nexport const RadarGetUsersInGeofenceOutput: z.ZodTypeAny = z.object({\n meta: RadarGetUsersInGeofence_MetaSchema.nullable(),\n users: z.array(z.record(z.string(), z.unknown())).describe(\"List of user objects currently in the geofence\"),\n}).describe(\"Response model for GET_USERS_IN_GEOFENCE.\");\n\nexport const radarGetUsersInGeofence = action(\"RADAR_GET_USERS_IN_GEOFENCE\", {\n slug: \"radar-get-users-in-geofence\",\n name: \"Get Users in Geofence\",\n description: \"Tool to retrieve users currently within a specific geofence. Use when you need to list all users inside a geofence by its tag and external ID.\",\n input: RadarGetUsersInGeofenceInput,\n output: RadarGetUsersInGeofenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AAC/D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAC/D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;AAC1E,CAAC;AACD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAM,mCAAmC,SAAS;CAClD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC7G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-users-in-geofence.d.ts
|
|
4
|
+
declare const RadarGetUsersInGeofenceInput: z.ZodTypeAny;
|
|
5
|
+
declare const RadarGetUsersInGeofenceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const radarGetUsersInGeofence: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { radarGetUsersInGeofence };
|
|
9
|
+
//# sourceMappingURL=get-users-in-geofence.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-users-in-geofence.d.cts","names":[],"sources":["../../src/actions/get-users-in-geofence.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAKU;AAAA,cAK1C,6BAAA,EAA+B,CAAA,CAAE,UAGU;AAAA,cAE3C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-users-in-geofence.d.ts
|
|
4
|
+
declare const RadarGetUsersInGeofenceInput: z.ZodTypeAny;
|
|
5
|
+
declare const RadarGetUsersInGeofenceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const radarGetUsersInGeofence: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { radarGetUsersInGeofence };
|
|
9
|
+
//# sourceMappingURL=get-users-in-geofence.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-users-in-geofence.d.mts","names":[],"sources":["../../src/actions/get-users-in-geofence.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAKU;AAAA,cAK1C,6BAAA,EAA+B,CAAA,CAAE,UAGU;AAAA,cAE3C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-users-in-geofence.ts
|
|
4
|
+
const RadarGetUsersInGeofenceInput = z.object({
|
|
5
|
+
tag: z.string().describe("Tag of the geofence"),
|
|
6
|
+
limit: z.number().int().describe("Maximum number of users to return (default: 100, max: 500)").optional(),
|
|
7
|
+
cursor: z.string().describe("Pagination cursor to fetch the next page of results").optional(),
|
|
8
|
+
externalId: z.string().describe("External ID of the geofence")
|
|
9
|
+
}).describe("Request model for GET_USERS_IN_GEOFENCE.");
|
|
10
|
+
const RadarGetUsersInGeofence_MetaSchema = z.object({
|
|
11
|
+
code: z.number().int().describe("HTTP status code from the API"),
|
|
12
|
+
hasMore: z.boolean().describe("Whether there are more results available")
|
|
13
|
+
});
|
|
14
|
+
const radarGetUsersInGeofence = action("RADAR_GET_USERS_IN_GEOFENCE", {
|
|
15
|
+
slug: "radar-get-users-in-geofence",
|
|
16
|
+
name: "Get Users in Geofence",
|
|
17
|
+
description: "Tool to retrieve users currently within a specific geofence. Use when you need to list all users inside a geofence by its tag and external ID.",
|
|
18
|
+
input: RadarGetUsersInGeofenceInput,
|
|
19
|
+
output: z.object({
|
|
20
|
+
meta: RadarGetUsersInGeofence_MetaSchema.nullable(),
|
|
21
|
+
users: z.array(z.record(z.string(), z.unknown())).describe("List of user objects currently in the geofence")
|
|
22
|
+
}).describe("Response model for GET_USERS_IN_GEOFENCE.")
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { radarGetUsersInGeofence };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=get-users-in-geofence.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-users-in-geofence.mjs","names":[],"sources":["../../src/actions/get-users-in-geofence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetUsersInGeofenceInput: z.ZodTypeAny = z.object({\n tag: z.string().describe(\"Tag of the geofence\"),\n limit: z.number().int().describe(\"Maximum number of users to return (default: 100, max: 500)\").optional(),\n cursor: z.string().describe(\"Pagination cursor to fetch the next page of results\").optional(),\n externalId: z.string().describe(\"External ID of the geofence\"),\n}).describe(\"Request model for GET_USERS_IN_GEOFENCE.\");\nconst RadarGetUsersInGeofence_MetaSchema: z.ZodTypeAny = z.object({\n code: z.number().int().describe(\"HTTP status code from the API\"),\n hasMore: z.boolean().describe(\"Whether there are more results available\"),\n});\nexport const RadarGetUsersInGeofenceOutput: z.ZodTypeAny = z.object({\n meta: RadarGetUsersInGeofence_MetaSchema.nullable(),\n users: z.array(z.record(z.string(), z.unknown())).describe(\"List of user objects currently in the geofence\"),\n}).describe(\"Response model for GET_USERS_IN_GEOFENCE.\");\n\nexport const radarGetUsersInGeofence = action(\"RADAR_GET_USERS_IN_GEOFENCE\", {\n slug: \"radar-get-users-in-geofence\",\n name: \"Get Users in Geofence\",\n description: \"Tool to retrieve users currently within a specific geofence. Use when you need to list all users inside a geofence by its tag and external ID.\",\n input: RadarGetUsersInGeofenceInput,\n output: RadarGetUsersInGeofenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AAC/D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,qCAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAC/D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;AAC1E,CAAC;AAMD,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyD,EAAE,OAAO;EAClE,MAAM,mCAAmC,SAAS;EAClD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD;CAC7G,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_autocomplete_address_or_place = require("./autocomplete-address-or-place.cjs");
|
|
3
|
+
const require_create_beacon = require("./create-beacon.cjs");
|
|
4
|
+
const require_create_trip = require("./create-trip.cjs");
|
|
5
|
+
const require_delete_beacon = require("./delete-beacon.cjs");
|
|
6
|
+
const require_delete_geofence = require("./delete-geofence.cjs");
|
|
7
|
+
const require_delete_geofence_by_tag = require("./delete-geofence-by-tag.cjs");
|
|
8
|
+
const require_delete_trip = require("./delete-trip.cjs");
|
|
9
|
+
const require_delete_user = require("./delete-user.cjs");
|
|
10
|
+
const require_forward_geocode = require("./forward-geocode.cjs");
|
|
11
|
+
const require_get_beacon = require("./get-beacon.cjs");
|
|
12
|
+
const require_get_beacon_by_tag = require("./get-beacon-by-tag.cjs");
|
|
13
|
+
const require_get_context_for_location = require("./get-context-for-location.cjs");
|
|
14
|
+
const require_get_geofence = require("./get-geofence.cjs");
|
|
15
|
+
const require_get_places_settings = require("./get-places-settings.cjs");
|
|
16
|
+
const require_get_route_directions = require("./get-route-directions.cjs");
|
|
17
|
+
const require_get_route_matrix = require("./get-route-matrix.cjs");
|
|
18
|
+
const require_get_trip = require("./get-trip.cjs");
|
|
19
|
+
const require_get_user = require("./get-user.cjs");
|
|
20
|
+
const require_get_users_in_geofence = require("./get-users-in-geofence.cjs");
|
|
21
|
+
const require_ip_geocode = require("./ip-geocode.cjs");
|
|
22
|
+
const require_list_events = require("./list-events.cjs");
|
|
23
|
+
const require_list_geofences = require("./list-geofences.cjs");
|
|
24
|
+
const require_list_trips = require("./list-trips.cjs");
|
|
25
|
+
const require_list_users = require("./list-users.cjs");
|
|
26
|
+
const require_reverse_geocode = require("./reverse-geocode.cjs");
|
|
27
|
+
const require_route_distance = require("./route-distance.cjs");
|
|
28
|
+
const require_search_geofences_near_location = require("./search-geofences-near-location.cjs");
|
|
29
|
+
const require_search_places_near_location = require("./search-places-near-location.cjs");
|
|
30
|
+
const require_search_users_near_location = require("./search-users-near-location.cjs");
|
|
31
|
+
const require_track_location_update = require("./track-location-update.cjs");
|
|
32
|
+
const require_update_places_settings = require("./update-places-settings.cjs");
|
|
33
|
+
const require_update_trip = require("./update-trip.cjs");
|
|
34
|
+
const require_update_trip_by_id = require("./update-trip-by-id.cjs");
|
|
35
|
+
const require_upsert_beacon_by_id = require("./upsert-beacon-by-id.cjs");
|
|
36
|
+
const require_upsert_beacon_by_tag = require("./upsert-beacon-by-tag.cjs");
|
|
37
|
+
const require_upsert_geofence = require("./upsert-geofence.cjs");
|
|
38
|
+
const require_upsert_geofence_by_id = require("./upsert-geofence-by-id.cjs");
|
|
39
|
+
exports.radarAutocompleteAddressOrPlace = require_autocomplete_address_or_place.radarAutocompleteAddressOrPlace;
|
|
40
|
+
exports.radarCreateBeacon = require_create_beacon.radarCreateBeacon;
|
|
41
|
+
exports.radarCreateTrip = require_create_trip.radarCreateTrip;
|
|
42
|
+
exports.radarDeleteBeacon = require_delete_beacon.radarDeleteBeacon;
|
|
43
|
+
exports.radarDeleteGeofence = require_delete_geofence.radarDeleteGeofence;
|
|
44
|
+
exports.radarDeleteGeofenceByTag = require_delete_geofence_by_tag.radarDeleteGeofenceByTag;
|
|
45
|
+
exports.radarDeleteTrip = require_delete_trip.radarDeleteTrip;
|
|
46
|
+
exports.radarDeleteUser = require_delete_user.radarDeleteUser;
|
|
47
|
+
exports.radarForwardGeocode = require_forward_geocode.radarForwardGeocode;
|
|
48
|
+
exports.radarGetBeacon = require_get_beacon.radarGetBeacon;
|
|
49
|
+
exports.radarGetBeaconByTag = require_get_beacon_by_tag.radarGetBeaconByTag;
|
|
50
|
+
exports.radarGetContextForLocation = require_get_context_for_location.radarGetContextForLocation;
|
|
51
|
+
exports.radarGetGeofence = require_get_geofence.radarGetGeofence;
|
|
52
|
+
exports.radarGetPlacesSettings = require_get_places_settings.radarGetPlacesSettings;
|
|
53
|
+
exports.radarGetRouteDirections = require_get_route_directions.radarGetRouteDirections;
|
|
54
|
+
exports.radarGetRouteMatrix = require_get_route_matrix.radarGetRouteMatrix;
|
|
55
|
+
exports.radarGetTrip = require_get_trip.radarGetTrip;
|
|
56
|
+
exports.radarGetUser = require_get_user.radarGetUser;
|
|
57
|
+
exports.radarGetUsersInGeofence = require_get_users_in_geofence.radarGetUsersInGeofence;
|
|
58
|
+
exports.radarIpGeocode = require_ip_geocode.radarIpGeocode;
|
|
59
|
+
exports.radarListEvents = require_list_events.radarListEvents;
|
|
60
|
+
exports.radarListGeofences = require_list_geofences.radarListGeofences;
|
|
61
|
+
exports.radarListTrips = require_list_trips.radarListTrips;
|
|
62
|
+
exports.radarListUsers = require_list_users.radarListUsers;
|
|
63
|
+
exports.radarReverseGeocode = require_reverse_geocode.radarReverseGeocode;
|
|
64
|
+
exports.radarRouteDistance = require_route_distance.radarRouteDistance;
|
|
65
|
+
exports.radarSearchGeofencesNearLocation = require_search_geofences_near_location.radarSearchGeofencesNearLocation;
|
|
66
|
+
exports.radarSearchPlacesNearLocation = require_search_places_near_location.radarSearchPlacesNearLocation;
|
|
67
|
+
exports.radarSearchUsersNearLocation = require_search_users_near_location.radarSearchUsersNearLocation;
|
|
68
|
+
exports.radarTrackLocationUpdate = require_track_location_update.radarTrackLocationUpdate;
|
|
69
|
+
exports.radarUpdatePlacesSettings = require_update_places_settings.radarUpdatePlacesSettings;
|
|
70
|
+
exports.radarUpdateTrip = require_update_trip.radarUpdateTrip;
|
|
71
|
+
exports.radarUpdateTripById = require_update_trip_by_id.radarUpdateTripById;
|
|
72
|
+
exports.radarUpsertBeaconById = require_upsert_beacon_by_id.radarUpsertBeaconById;
|
|
73
|
+
exports.radarUpsertBeaconByTag = require_upsert_beacon_by_tag.radarUpsertBeaconByTag;
|
|
74
|
+
exports.radarUpsertGeofence = require_upsert_geofence.radarUpsertGeofence;
|
|
75
|
+
exports.radarUpsertGeofenceById = require_upsert_geofence_by_id.radarUpsertGeofenceById;
|