@keystrokehq/radar 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/autocomplete-address-or-place.cjs +1 -0
- package/dist/actions/autocomplete-address-or-place.cjs.map +1 -1
- package/dist/actions/autocomplete-address-or-place.d.cts +3 -18
- package/dist/actions/autocomplete-address-or-place.d.cts.map +1 -1
- package/dist/actions/autocomplete-address-or-place.d.mts +3 -18
- package/dist/actions/autocomplete-address-or-place.d.mts.map +1 -1
- package/dist/actions/autocomplete-address-or-place.mjs +1 -0
- package/dist/actions/autocomplete-address-or-place.mjs.map +1 -1
- package/dist/actions/create-beacon.cjs +1 -0
- package/dist/actions/create-beacon.cjs.map +1 -1
- package/dist/actions/create-beacon.d.cts +3 -24
- package/dist/actions/create-beacon.d.cts.map +1 -1
- package/dist/actions/create-beacon.d.mts +3 -24
- package/dist/actions/create-beacon.d.mts.map +1 -1
- package/dist/actions/create-beacon.mjs +1 -0
- package/dist/actions/create-beacon.mjs.map +1 -1
- package/dist/actions/create-trip.cjs +1 -0
- package/dist/actions/create-trip.cjs.map +1 -1
- package/dist/actions/create-trip.d.cts +3 -30
- package/dist/actions/create-trip.d.cts.map +1 -1
- package/dist/actions/create-trip.d.mts +3 -30
- package/dist/actions/create-trip.d.mts.map +1 -1
- package/dist/actions/create-trip.mjs +1 -0
- package/dist/actions/create-trip.mjs.map +1 -1
- package/dist/actions/delete-beacon.cjs +1 -0
- package/dist/actions/delete-beacon.cjs.map +1 -1
- package/dist/actions/delete-beacon.d.cts +3 -15
- package/dist/actions/delete-beacon.d.cts.map +1 -1
- package/dist/actions/delete-beacon.d.mts +3 -15
- package/dist/actions/delete-beacon.d.mts.map +1 -1
- package/dist/actions/delete-beacon.mjs +1 -0
- package/dist/actions/delete-beacon.mjs.map +1 -1
- package/dist/actions/delete-geofence-by-tag.cjs +1 -0
- package/dist/actions/delete-geofence-by-tag.cjs.map +1 -1
- package/dist/actions/delete-geofence-by-tag.d.cts +3 -16
- package/dist/actions/delete-geofence-by-tag.d.cts.map +1 -1
- package/dist/actions/delete-geofence-by-tag.d.mts +3 -16
- package/dist/actions/delete-geofence-by-tag.d.mts.map +1 -1
- package/dist/actions/delete-geofence-by-tag.mjs +1 -0
- package/dist/actions/delete-geofence-by-tag.mjs.map +1 -1
- package/dist/actions/delete-geofence.cjs +1 -0
- package/dist/actions/delete-geofence.cjs.map +1 -1
- package/dist/actions/delete-geofence.d.cts +3 -15
- package/dist/actions/delete-geofence.d.cts.map +1 -1
- package/dist/actions/delete-geofence.d.mts +3 -15
- package/dist/actions/delete-geofence.d.mts.map +1 -1
- package/dist/actions/delete-geofence.mjs +1 -0
- package/dist/actions/delete-geofence.mjs.map +1 -1
- package/dist/actions/delete-trip.cjs +1 -0
- package/dist/actions/delete-trip.cjs.map +1 -1
- package/dist/actions/delete-trip.d.cts +3 -15
- package/dist/actions/delete-trip.d.cts.map +1 -1
- package/dist/actions/delete-trip.d.mts +3 -15
- package/dist/actions/delete-trip.d.mts.map +1 -1
- package/dist/actions/delete-trip.mjs +1 -0
- package/dist/actions/delete-trip.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -0
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +3 -15
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +3 -15
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +1 -0
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/forward-geocode.cjs +1 -0
- package/dist/actions/forward-geocode.cjs.map +1 -1
- package/dist/actions/forward-geocode.d.cts +3 -18
- package/dist/actions/forward-geocode.d.cts.map +1 -1
- package/dist/actions/forward-geocode.d.mts +3 -18
- package/dist/actions/forward-geocode.d.mts.map +1 -1
- package/dist/actions/forward-geocode.mjs +1 -0
- package/dist/actions/forward-geocode.mjs.map +1 -1
- package/dist/actions/get-beacon-by-tag.cjs +1 -0
- package/dist/actions/get-beacon-by-tag.cjs.map +1 -1
- package/dist/actions/get-beacon-by-tag.d.cts +3 -16
- package/dist/actions/get-beacon-by-tag.d.cts.map +1 -1
- package/dist/actions/get-beacon-by-tag.d.mts +3 -16
- package/dist/actions/get-beacon-by-tag.d.mts.map +1 -1
- package/dist/actions/get-beacon-by-tag.mjs +1 -0
- package/dist/actions/get-beacon-by-tag.mjs.map +1 -1
- package/dist/actions/get-beacon.cjs +1 -0
- package/dist/actions/get-beacon.cjs.map +1 -1
- package/dist/actions/get-beacon.d.cts +3 -15
- package/dist/actions/get-beacon.d.cts.map +1 -1
- package/dist/actions/get-beacon.d.mts +3 -15
- package/dist/actions/get-beacon.d.mts.map +1 -1
- package/dist/actions/get-beacon.mjs +1 -0
- package/dist/actions/get-beacon.mjs.map +1 -1
- package/dist/actions/get-context-for-location.cjs +1 -0
- package/dist/actions/get-context-for-location.cjs.map +1 -1
- package/dist/actions/get-context-for-location.d.cts +3 -16
- package/dist/actions/get-context-for-location.d.cts.map +1 -1
- package/dist/actions/get-context-for-location.d.mts +3 -16
- package/dist/actions/get-context-for-location.d.mts.map +1 -1
- package/dist/actions/get-context-for-location.mjs +1 -0
- package/dist/actions/get-context-for-location.mjs.map +1 -1
- package/dist/actions/get-geofence.cjs +1 -0
- package/dist/actions/get-geofence.cjs.map +1 -1
- package/dist/actions/get-geofence.d.cts +3 -17
- package/dist/actions/get-geofence.d.cts.map +1 -1
- package/dist/actions/get-geofence.d.mts +3 -17
- package/dist/actions/get-geofence.d.mts.map +1 -1
- package/dist/actions/get-geofence.mjs +1 -0
- package/dist/actions/get-geofence.mjs.map +1 -1
- package/dist/actions/get-places-settings.cjs +1 -0
- package/dist/actions/get-places-settings.cjs.map +1 -1
- package/dist/actions/get-places-settings.d.cts +3 -13
- package/dist/actions/get-places-settings.d.cts.map +1 -1
- package/dist/actions/get-places-settings.d.mts +3 -13
- package/dist/actions/get-places-settings.d.mts.map +1 -1
- package/dist/actions/get-places-settings.mjs +1 -0
- package/dist/actions/get-places-settings.mjs.map +1 -1
- package/dist/actions/get-route-directions.cjs +1 -0
- package/dist/actions/get-route-directions.cjs.map +1 -1
- package/dist/actions/get-route-directions.d.cts +4 -24
- package/dist/actions/get-route-directions.d.cts.map +1 -1
- package/dist/actions/get-route-directions.d.mts +4 -24
- package/dist/actions/get-route-directions.d.mts.map +1 -1
- package/dist/actions/get-route-directions.mjs +1 -0
- package/dist/actions/get-route-directions.mjs.map +1 -1
- package/dist/actions/get-route-matrix.cjs +1 -0
- package/dist/actions/get-route-matrix.cjs.map +1 -1
- package/dist/actions/get-route-matrix.d.cts +3 -18
- package/dist/actions/get-route-matrix.d.cts.map +1 -1
- package/dist/actions/get-route-matrix.d.mts +3 -18
- package/dist/actions/get-route-matrix.d.mts.map +1 -1
- package/dist/actions/get-route-matrix.mjs +1 -0
- package/dist/actions/get-route-matrix.mjs.map +1 -1
- package/dist/actions/get-trip.cjs +1 -0
- package/dist/actions/get-trip.cjs.map +1 -1
- package/dist/actions/get-trip.d.cts +3 -16
- package/dist/actions/get-trip.d.cts.map +1 -1
- package/dist/actions/get-trip.d.mts +3 -16
- package/dist/actions/get-trip.d.mts.map +1 -1
- package/dist/actions/get-trip.mjs +1 -0
- package/dist/actions/get-trip.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -0
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -15
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -15
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +1 -0
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-users-in-geofence.cjs +1 -0
- package/dist/actions/get-users-in-geofence.cjs.map +1 -1
- package/dist/actions/get-users-in-geofence.d.cts +3 -18
- package/dist/actions/get-users-in-geofence.d.cts.map +1 -1
- package/dist/actions/get-users-in-geofence.d.mts +3 -18
- package/dist/actions/get-users-in-geofence.d.mts.map +1 -1
- package/dist/actions/get-users-in-geofence.mjs +1 -0
- package/dist/actions/get-users-in-geofence.mjs.map +1 -1
- package/dist/actions/ip-geocode.cjs +1 -0
- package/dist/actions/ip-geocode.cjs.map +1 -1
- package/dist/actions/ip-geocode.d.cts +3 -15
- package/dist/actions/ip-geocode.d.cts.map +1 -1
- package/dist/actions/ip-geocode.d.mts +3 -15
- package/dist/actions/ip-geocode.d.mts.map +1 -1
- package/dist/actions/ip-geocode.mjs +1 -0
- package/dist/actions/ip-geocode.mjs.map +1 -1
- package/dist/actions/list-events.cjs +1 -0
- package/dist/actions/list-events.cjs.map +1 -1
- package/dist/actions/list-events.d.cts +3 -22
- package/dist/actions/list-events.d.cts.map +1 -1
- package/dist/actions/list-events.d.mts +3 -22
- package/dist/actions/list-events.d.mts.map +1 -1
- package/dist/actions/list-events.mjs +1 -0
- package/dist/actions/list-events.mjs.map +1 -1
- package/dist/actions/list-geofences.cjs +1 -0
- package/dist/actions/list-geofences.cjs.map +1 -1
- package/dist/actions/list-geofences.d.cts +3 -23
- package/dist/actions/list-geofences.d.cts.map +1 -1
- package/dist/actions/list-geofences.d.mts +3 -23
- package/dist/actions/list-geofences.d.mts.map +1 -1
- package/dist/actions/list-geofences.mjs +1 -0
- package/dist/actions/list-geofences.mjs.map +1 -1
- package/dist/actions/list-trips.cjs +1 -0
- package/dist/actions/list-trips.cjs.map +1 -1
- package/dist/actions/list-trips.d.cts +3 -20
- package/dist/actions/list-trips.d.cts.map +1 -1
- package/dist/actions/list-trips.d.mts +3 -20
- package/dist/actions/list-trips.d.mts.map +1 -1
- package/dist/actions/list-trips.mjs +1 -0
- package/dist/actions/list-trips.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -21
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -21
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/reverse-geocode.cjs +1 -0
- package/dist/actions/reverse-geocode.cjs.map +1 -1
- package/dist/actions/reverse-geocode.d.cts +3 -18
- package/dist/actions/reverse-geocode.d.cts.map +1 -1
- package/dist/actions/reverse-geocode.d.mts +3 -18
- package/dist/actions/reverse-geocode.d.mts.map +1 -1
- package/dist/actions/reverse-geocode.mjs +1 -0
- package/dist/actions/reverse-geocode.mjs.map +1 -1
- package/dist/actions/route-distance.cjs +1 -0
- package/dist/actions/route-distance.cjs.map +1 -1
- package/dist/actions/route-distance.d.cts +5 -22
- package/dist/actions/route-distance.d.cts.map +1 -1
- package/dist/actions/route-distance.d.mts +5 -22
- package/dist/actions/route-distance.d.mts.map +1 -1
- package/dist/actions/route-distance.mjs +1 -0
- package/dist/actions/route-distance.mjs.map +1 -1
- package/dist/actions/search-geofences-near-location.cjs +1 -0
- package/dist/actions/search-geofences-near-location.cjs.map +1 -1
- package/dist/actions/search-geofences-near-location.d.cts +3 -19
- package/dist/actions/search-geofences-near-location.d.cts.map +1 -1
- package/dist/actions/search-geofences-near-location.d.mts +3 -19
- package/dist/actions/search-geofences-near-location.d.mts.map +1 -1
- package/dist/actions/search-geofences-near-location.mjs +1 -0
- package/dist/actions/search-geofences-near-location.mjs.map +1 -1
- package/dist/actions/search-places-near-location.cjs +1 -0
- package/dist/actions/search-places-near-location.cjs.map +1 -1
- package/dist/actions/search-places-near-location.d.cts +3 -23
- package/dist/actions/search-places-near-location.d.cts.map +1 -1
- package/dist/actions/search-places-near-location.d.mts +3 -23
- package/dist/actions/search-places-near-location.d.mts.map +1 -1
- package/dist/actions/search-places-near-location.mjs +1 -0
- package/dist/actions/search-places-near-location.mjs.map +1 -1
- package/dist/actions/search-users-near-location.cjs +1 -0
- package/dist/actions/search-users-near-location.cjs.map +1 -1
- package/dist/actions/search-users-near-location.d.cts +3 -18
- package/dist/actions/search-users-near-location.d.cts.map +1 -1
- package/dist/actions/search-users-near-location.d.mts +3 -18
- package/dist/actions/search-users-near-location.d.mts.map +1 -1
- package/dist/actions/search-users-near-location.mjs +1 -0
- package/dist/actions/search-users-near-location.mjs.map +1 -1
- package/dist/actions/track-location-update.cjs +1 -0
- package/dist/actions/track-location-update.cjs.map +1 -1
- package/dist/actions/track-location-update.d.cts +3 -31
- package/dist/actions/track-location-update.d.cts.map +1 -1
- package/dist/actions/track-location-update.d.mts +3 -31
- package/dist/actions/track-location-update.d.mts.map +1 -1
- package/dist/actions/track-location-update.mjs +1 -0
- package/dist/actions/track-location-update.mjs.map +1 -1
- package/dist/actions/update-places-settings.cjs +1 -0
- package/dist/actions/update-places-settings.cjs.map +1 -1
- package/dist/actions/update-places-settings.d.cts +3 -17
- package/dist/actions/update-places-settings.d.cts.map +1 -1
- package/dist/actions/update-places-settings.d.mts +3 -17
- package/dist/actions/update-places-settings.d.mts.map +1 -1
- package/dist/actions/update-places-settings.mjs +1 -0
- package/dist/actions/update-places-settings.mjs.map +1 -1
- package/dist/actions/update-trip-by-id.cjs +1 -0
- package/dist/actions/update-trip-by-id.cjs.map +1 -1
- package/dist/actions/update-trip-by-id.d.cts +3 -18
- package/dist/actions/update-trip-by-id.d.cts.map +1 -1
- package/dist/actions/update-trip-by-id.d.mts +3 -18
- package/dist/actions/update-trip-by-id.d.mts.map +1 -1
- package/dist/actions/update-trip-by-id.mjs +1 -0
- package/dist/actions/update-trip-by-id.mjs.map +1 -1
- package/dist/actions/update-trip.cjs +1 -0
- package/dist/actions/update-trip.cjs.map +1 -1
- package/dist/actions/update-trip.d.cts +3 -32
- package/dist/actions/update-trip.d.cts.map +1 -1
- package/dist/actions/update-trip.d.mts +3 -32
- package/dist/actions/update-trip.d.mts.map +1 -1
- package/dist/actions/update-trip.mjs +1 -0
- package/dist/actions/update-trip.mjs.map +1 -1
- package/dist/actions/upsert-beacon-by-id.cjs +1 -0
- package/dist/actions/upsert-beacon-by-id.cjs.map +1 -1
- package/dist/actions/upsert-beacon-by-id.d.cts +3 -24
- package/dist/actions/upsert-beacon-by-id.d.cts.map +1 -1
- package/dist/actions/upsert-beacon-by-id.d.mts +3 -24
- package/dist/actions/upsert-beacon-by-id.d.mts.map +1 -1
- package/dist/actions/upsert-beacon-by-id.mjs +1 -0
- package/dist/actions/upsert-beacon-by-id.mjs.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.cjs +1 -0
- package/dist/actions/upsert-beacon-by-tag.cjs.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.d.cts +3 -26
- package/dist/actions/upsert-beacon-by-tag.d.cts.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.d.mts +3 -26
- package/dist/actions/upsert-beacon-by-tag.d.mts.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.mjs +1 -0
- package/dist/actions/upsert-beacon-by-tag.mjs.map +1 -1
- package/dist/actions/upsert-geofence-by-id.cjs +1 -0
- package/dist/actions/upsert-geofence-by-id.cjs.map +1 -1
- package/dist/actions/upsert-geofence-by-id.d.cts +3 -23
- package/dist/actions/upsert-geofence-by-id.d.cts.map +1 -1
- package/dist/actions/upsert-geofence-by-id.d.mts +3 -23
- package/dist/actions/upsert-geofence-by-id.d.mts.map +1 -1
- package/dist/actions/upsert-geofence-by-id.mjs +1 -0
- package/dist/actions/upsert-geofence-by-id.mjs.map +1 -1
- package/dist/actions/upsert-geofence.cjs +1 -0
- package/dist/actions/upsert-geofence.cjs.map +1 -1
- package/dist/actions/upsert-geofence.d.cts +3 -22
- package/dist/actions/upsert-geofence.d.cts.map +1 -1
- package/dist/actions/upsert-geofence.d.mts +3 -22
- package/dist/actions/upsert-geofence.d.mts.map +1 -1
- package/dist/actions/upsert-geofence.mjs +1 -0
- package/dist/actions/upsert-geofence.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,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-events.d.ts
|
|
@@ -43,28 +45,7 @@ declare const RadarListEventsOutput: z.ZodObject<{
|
|
|
43
45
|
locationAccuracy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
46
|
}, z.core.$loose>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const radarListEvents:
|
|
47
|
-
end?: string | undefined;
|
|
48
|
-
type?: string | undefined;
|
|
49
|
-
limit?: number | undefined;
|
|
50
|
-
start?: string | undefined;
|
|
51
|
-
userId?: string | undefined;
|
|
52
|
-
afterId?: string | undefined;
|
|
53
|
-
beforeId?: string | undefined;
|
|
54
|
-
deviceId?: string | undefined;
|
|
55
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
56
|
-
connectionId: z.ZodString;
|
|
57
|
-
entityId: z.ZodString;
|
|
58
|
-
instanceId: z.ZodString;
|
|
59
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
-
generic_api_key: z.ZodString;
|
|
61
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
62
|
-
connectionId: z.ZodString;
|
|
63
|
-
entityId: z.ZodString;
|
|
64
|
-
instanceId: z.ZodString;
|
|
65
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
66
|
-
generic_api_key: z.ZodString;
|
|
67
|
-
}, z.core.$strip>>]>;
|
|
48
|
+
declare const radarListEvents: AppAction<typeof RadarListEventsInput, typeof RadarListEventsOutput, typeof radar.credential>;
|
|
68
49
|
//#endregion
|
|
69
50
|
export { radarListEvents };
|
|
70
51
|
//# sourceMappingURL=list-events.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-events.d.mts","names":[],"sources":["../../src/actions/list-events.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-events.d.mts","names":[],"sources":["../../src/actions/list-events.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;cA2CpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-events.mjs","names":[],"sources":["../../src/actions/list-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarListEventsInput = z.object({\n end: z.string().describe(\"Return events created before this ISO 8601 timestamp\").optional(),\n type: z.string().describe(\"Filter events by event type\").optional(),\n limit: z.number().int().describe(\"Maximum number of events to return (1-500)\").optional(),\n start: z.string().describe(\"Return events created after this ISO 8601 timestamp\").optional(),\n userId: z.string().describe(\"Filter events by user ID\").optional(),\n afterId: z.string().describe(\"Cursor to return events created after this event ID\").optional(),\n beforeId: z.string().describe(\"Cursor to return events created before this event ID\").optional(),\n deviceId: z.string().describe(\"Filter events by device ID\").optional(),\n}).describe(\"Request model for listing events with optional filtering and pagination.\");\nconst RadarListEvents_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code from the API response\").nullable(),\n}).passthrough().describe(\"Pagination metadata for list events response.\");\nconst RadarListEvents_EventUserSchema = z.object({\n _id: z.string().describe(\"User internal ID\").nullable().optional(),\n deviceId: z.string().describe(\"Device ID associated with the user\").nullable().optional(),\n}).passthrough().describe(\"User information nested within an event.\");\nconst RadarListEvents_EventGeofenceSchema = z.object({\n _id: z.string().describe(\"Geofence internal ID\").nullable().optional(),\n tag: z.string().describe(\"Geofence tag\").nullable().optional(),\n externalId: z.string().describe(\"Geofence external ID\").nullable().optional(),\n description: z.string().describe(\"Geofence description\").nullable().optional(),\n}).passthrough().describe(\"Geofence information nested within an event.\");\nconst RadarListEvents_EventLocationSchema = z.object({\n type: z.string().describe(\"Location type (e.g., Point)\").nullable().optional(),\n coordinates: z.array(z.number()).describe(\"Coordinates [longitude, latitude]\").nullable().optional(),\n}).passthrough().describe(\"Location information nested within an event.\");\nconst RadarListEvents_EventSchema = z.object({\n _id: z.string().describe(\"Unique event identifier\").nullable(),\n live: z.boolean().describe(\"Whether the event is a live event\").nullable().optional(),\n type: z.string().describe(\"Type of the event\").nullable(),\n user: RadarListEvents_EventUserSchema.nullable().optional(),\n stopped: z.boolean().describe(\"Whether the user was stopped\").nullable().optional(),\n deviceId: z.string().describe(\"Device ID associated with the event\").nullable().optional(),\n geofence: RadarListEvents_EventGeofenceSchema.nullable().optional(),\n location: RadarListEvents_EventLocationSchema.nullable().optional(),\n createdAt: z.string().describe(\"Event creation time in ISO 8601 format\").nullable(),\n confidence: z.number().int().describe(\"Confidence level of the event\").nullable().optional(),\n foreground: z.boolean().describe(\"Whether the event occurred in foreground\").nullable().optional(),\n sdkVersion: z.string().describe(\"SDK version\").nullable().optional(),\n actualCreatedAt: z.string().describe(\"Actual creation time in ISO 8601 format\").nullable().optional(),\n locationAccuracy: z.number().describe(\"Location accuracy in meters\").nullable().optional(),\n}).passthrough().describe(\"Represents a single event object.\");\nexport const RadarListEventsOutput = z.object({\n meta: RadarListEvents_MetaSchema.nullable(),\n events: z.array(RadarListEvents_EventSchema).describe(\"List of event objects\"),\n}).passthrough().describe(\"Response model for LIST_EVENTS, containing events and pagination metadata.\");\n\nexport const radarListEvents = action(\"RADAR_LIST_EVENTS\", {\n slug: \"radar-list-events\",\n name: \"List Events\",\n description: \"Tool to list events. Use when you need to retrieve a paginated list of events with optional filtering.\",\n input: RadarListEventsInput,\n output: RadarListEventsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-events.mjs","names":[],"sources":["../../src/actions/list-events.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 RadarListEventsInput = z.object({\n end: z.string().describe(\"Return events created before this ISO 8601 timestamp\").optional(),\n type: z.string().describe(\"Filter events by event type\").optional(),\n limit: z.number().int().describe(\"Maximum number of events to return (1-500)\").optional(),\n start: z.string().describe(\"Return events created after this ISO 8601 timestamp\").optional(),\n userId: z.string().describe(\"Filter events by user ID\").optional(),\n afterId: z.string().describe(\"Cursor to return events created after this event ID\").optional(),\n beforeId: z.string().describe(\"Cursor to return events created before this event ID\").optional(),\n deviceId: z.string().describe(\"Filter events by device ID\").optional(),\n}).describe(\"Request model for listing events with optional filtering and pagination.\");\nconst RadarListEvents_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code from the API response\").nullable(),\n}).passthrough().describe(\"Pagination metadata for list events response.\");\nconst RadarListEvents_EventUserSchema = z.object({\n _id: z.string().describe(\"User internal ID\").nullable().optional(),\n deviceId: z.string().describe(\"Device ID associated with the user\").nullable().optional(),\n}).passthrough().describe(\"User information nested within an event.\");\nconst RadarListEvents_EventGeofenceSchema = z.object({\n _id: z.string().describe(\"Geofence internal ID\").nullable().optional(),\n tag: z.string().describe(\"Geofence tag\").nullable().optional(),\n externalId: z.string().describe(\"Geofence external ID\").nullable().optional(),\n description: z.string().describe(\"Geofence description\").nullable().optional(),\n}).passthrough().describe(\"Geofence information nested within an event.\");\nconst RadarListEvents_EventLocationSchema = z.object({\n type: z.string().describe(\"Location type (e.g., Point)\").nullable().optional(),\n coordinates: z.array(z.number()).describe(\"Coordinates [longitude, latitude]\").nullable().optional(),\n}).passthrough().describe(\"Location information nested within an event.\");\nconst RadarListEvents_EventSchema = z.object({\n _id: z.string().describe(\"Unique event identifier\").nullable(),\n live: z.boolean().describe(\"Whether the event is a live event\").nullable().optional(),\n type: z.string().describe(\"Type of the event\").nullable(),\n user: RadarListEvents_EventUserSchema.nullable().optional(),\n stopped: z.boolean().describe(\"Whether the user was stopped\").nullable().optional(),\n deviceId: z.string().describe(\"Device ID associated with the event\").nullable().optional(),\n geofence: RadarListEvents_EventGeofenceSchema.nullable().optional(),\n location: RadarListEvents_EventLocationSchema.nullable().optional(),\n createdAt: z.string().describe(\"Event creation time in ISO 8601 format\").nullable(),\n confidence: z.number().int().describe(\"Confidence level of the event\").nullable().optional(),\n foreground: z.boolean().describe(\"Whether the event occurred in foreground\").nullable().optional(),\n sdkVersion: z.string().describe(\"SDK version\").nullable().optional(),\n actualCreatedAt: z.string().describe(\"Actual creation time in ISO 8601 format\").nullable().optional(),\n locationAccuracy: z.number().describe(\"Location accuracy in meters\").nullable().optional(),\n}).passthrough().describe(\"Represents a single event object.\");\nexport const RadarListEventsOutput = z.object({\n meta: RadarListEvents_MetaSchema.nullable(),\n events: z.array(RadarListEvents_EventSchema).describe(\"List of event objects\"),\n}).passthrough().describe(\"Response model for LIST_EVENTS, containing events and pagination metadata.\");\n\nexport const radarListEvents: AppAction<\n typeof RadarListEventsInput,\n typeof RadarListEventsOutput,\n typeof radar.credential\n> = action(\"RADAR_LIST_EVENTS\", {\n slug: \"radar-list-events\",\n name: \"List Events\",\n description: \"Tool to list events. Use when you need to retrieve a paginated list of events with optional filtering.\",\n input: RadarListEventsInput,\n output: RadarListEventsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAA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SAAS;CACnE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAM7D,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdmC,EAAE,OAAO;EAC5C,MAAM,2BAA2B,SAAS;EAC1C,QAAQ,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,uBAAuB;CAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-geofences.cjs","names":["z","action"],"sources":["../../src/actions/list-geofences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarListGeofencesInput = z.object({\n tag: z.string().describe(\"Filter geofences by tag\").optional(),\n page: z.number().int().describe(\"Page number to return (default 1)\").optional(),\n limit: z.number().int().describe(\"Maximum number of geofences to return (1-500)\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Filter geofences by metadata key-value pairs\").optional(),\n externalId: z.string().describe(\"Filter geofences by external ID\").optional(),\n createdAfter: z.string().describe(\"Return geofences created after this ISO8601 timestamp\").optional(),\n updatedAfter: z.string().describe(\"Return geofences updated after this ISO8601 timestamp\").optional(),\n createdBefore: z.string().describe(\"Return geofences created before this ISO8601 timestamp\").optional(),\n updatedBefore: z.string().describe(\"Return geofences updated before this ISO8601 timestamp\").optional(),\n}).describe(\"Request model for listing Radar geofences with optional filters and pagination.\");\nconst RadarListGeofences_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code of the response\").nullable(),\n hasMore: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Pagination metadata for list geofences response.\");\nconst RadarListGeofences_GeometrySchema = z.object({\n type: z.string().describe(\"Geometry type, e.g., 'Polygon'\").nullable(),\n coordinates: z.array(z.array(z.array(z.number()))).describe(\"Nested coordinates array for polygon geometry\"),\n}).passthrough().describe(\"Geometry details of the geofence (Polygon representation).\");\nconst RadarListGeofences_GeometryCenterSchema = z.object({\n type: z.string().describe(\"Geometry type, e.g., 'Point'\").nullable(),\n coordinates: z.array(z.number()).describe(\"Coordinates array [longitude, latitude]\"),\n}).passthrough().describe(\"Center point of the geofence.\");\nconst RadarListGeofences_GeofenceSchema = z.object({\n ip: z.array(z.string()).describe(\"IP addresses associated with the geofence\").nullable().optional(),\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 in live mode\").nullable().optional(),\n type: z.string().describe(\"Type of the geofence, e.g., 'circle' or 'polygon'\").nullable(),\n enabled: z.boolean().describe(\"Whether the geofence is enabled\").nullable().optional(),\n geometry: RadarListGeofences_GeometrySchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the geofence\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the geofence was created\").nullable(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the geofence was last updated\").nullable(),\n externalId: z.string().describe(\"External identifier of the geofence\").nullable().optional(),\n description: z.string().describe(\"Description of the geofence\").nullable().optional(),\n geometryCenter: RadarListGeofences_GeometryCenterSchema.nullable().optional(),\n geometryRadius: z.number().describe(\"Radius of the geofence in meters (for circles)\").nullable().optional(),\n}).passthrough().describe(\"Representation of a Radar geofence.\");\nexport const RadarListGeofencesOutput = z.object({\n meta: RadarListGeofences_MetaSchema.nullable(),\n geofences: z.array(RadarListGeofences_GeofenceSchema).describe(\"List of geofence objects\"),\n}).passthrough().describe(\"Response model for listing geofences.\");\n\nexport const radarListGeofences = action(\"RADAR_LIST_GEOFENCES\", {\n slug: \"radar-list-geofences\",\n name: \"List Geofences\",\n description: \"Tool to list all geofences sorted by updated time. Use when you need an overview of all configured geofences.\",\n input: RadarListGeofencesInput,\n output: RadarListGeofencesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-geofences.cjs","names":["z","action"],"sources":["../../src/actions/list-geofences.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 RadarListGeofencesInput = z.object({\n tag: z.string().describe(\"Filter geofences by tag\").optional(),\n page: z.number().int().describe(\"Page number to return (default 1)\").optional(),\n limit: z.number().int().describe(\"Maximum number of geofences to return (1-500)\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Filter geofences by metadata key-value pairs\").optional(),\n externalId: z.string().describe(\"Filter geofences by external ID\").optional(),\n createdAfter: z.string().describe(\"Return geofences created after this ISO8601 timestamp\").optional(),\n updatedAfter: z.string().describe(\"Return geofences updated after this ISO8601 timestamp\").optional(),\n createdBefore: z.string().describe(\"Return geofences created before this ISO8601 timestamp\").optional(),\n updatedBefore: z.string().describe(\"Return geofences updated before this ISO8601 timestamp\").optional(),\n}).describe(\"Request model for listing Radar geofences with optional filters and pagination.\");\nconst RadarListGeofences_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code of the response\").nullable(),\n hasMore: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Pagination metadata for list geofences response.\");\nconst RadarListGeofences_GeometrySchema = z.object({\n type: z.string().describe(\"Geometry type, e.g., 'Polygon'\").nullable(),\n coordinates: z.array(z.array(z.array(z.number()))).describe(\"Nested coordinates array for polygon geometry\"),\n}).passthrough().describe(\"Geometry details of the geofence (Polygon representation).\");\nconst RadarListGeofences_GeometryCenterSchema = z.object({\n type: z.string().describe(\"Geometry type, e.g., 'Point'\").nullable(),\n coordinates: z.array(z.number()).describe(\"Coordinates array [longitude, latitude]\"),\n}).passthrough().describe(\"Center point of the geofence.\");\nconst RadarListGeofences_GeofenceSchema = z.object({\n ip: z.array(z.string()).describe(\"IP addresses associated with the geofence\").nullable().optional(),\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 in live mode\").nullable().optional(),\n type: z.string().describe(\"Type of the geofence, e.g., 'circle' or 'polygon'\").nullable(),\n enabled: z.boolean().describe(\"Whether the geofence is enabled\").nullable().optional(),\n geometry: RadarListGeofences_GeometrySchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the geofence\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the geofence was created\").nullable(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the geofence was last updated\").nullable(),\n externalId: z.string().describe(\"External identifier of the geofence\").nullable().optional(),\n description: z.string().describe(\"Description of the geofence\").nullable().optional(),\n geometryCenter: RadarListGeofences_GeometryCenterSchema.nullable().optional(),\n geometryRadius: z.number().describe(\"Radius of the geofence in meters (for circles)\").nullable().optional(),\n}).passthrough().describe(\"Representation of a Radar geofence.\");\nexport const RadarListGeofencesOutput = z.object({\n meta: RadarListGeofences_MetaSchema.nullable(),\n geofences: z.array(RadarListGeofences_GeofenceSchema).describe(\"List of geofence objects\"),\n}).passthrough().describe(\"Response model for listing geofences.\");\n\nexport const radarListGeofences: AppAction<\n typeof RadarListGeofencesInput,\n typeof RadarListGeofencesOutput,\n typeof radar.credential\n> = action(\"RADAR_LIST_GEOFENCES\", {\n slug: \"radar-list-geofences\",\n name: \"List Geofences\",\n description: \"Tool to list all geofences sorted by updated time. Use when you need an overview of all configured geofences.\",\n input: RadarListGeofencesInput,\n output: RadarListGeofencesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,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AC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,gBAAgB,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAC5E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAM,8BAA8B,SAAS;CAC7C,WAAWA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,0BAA0B;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,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/list-geofences.d.ts
|
|
@@ -40,29 +42,7 @@ declare const RadarListGeofencesOutput: z.ZodObject<{
|
|
|
40
42
|
geometryRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
43
|
}, z.core.$loose>>;
|
|
42
44
|
}, z.core.$loose>;
|
|
43
|
-
declare const radarListGeofences:
|
|
44
|
-
tag?: string | undefined;
|
|
45
|
-
page?: number | undefined;
|
|
46
|
-
limit?: number | undefined;
|
|
47
|
-
metadata?: Record<string, unknown> | undefined;
|
|
48
|
-
externalId?: string | undefined;
|
|
49
|
-
createdAfter?: string | undefined;
|
|
50
|
-
updatedAfter?: string | undefined;
|
|
51
|
-
createdBefore?: string | undefined;
|
|
52
|
-
updatedBefore?: string | undefined;
|
|
53
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
54
|
-
connectionId: z.ZodString;
|
|
55
|
-
entityId: z.ZodString;
|
|
56
|
-
instanceId: z.ZodString;
|
|
57
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
-
generic_api_key: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
60
|
-
connectionId: z.ZodString;
|
|
61
|
-
entityId: z.ZodString;
|
|
62
|
-
instanceId: z.ZodString;
|
|
63
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
-
generic_api_key: z.ZodString;
|
|
65
|
-
}, z.core.$strip>>]>;
|
|
45
|
+
declare const radarListGeofences: AppAction<typeof RadarListGeofencesInput, typeof RadarListGeofencesOutput, typeof radar.credential>;
|
|
66
46
|
//#endregion
|
|
67
47
|
export { radarListGeofences };
|
|
68
48
|
//# sourceMappingURL=list-geofences.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-geofences.d.cts","names":[],"sources":["../../src/actions/list-geofences.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-geofences.d.cts","names":[],"sources":["../../src/actions/list-geofences.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;cAuCvB,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/list-geofences.d.ts
|
|
@@ -40,29 +42,7 @@ declare const RadarListGeofencesOutput: z.ZodObject<{
|
|
|
40
42
|
geometryRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
43
|
}, z.core.$loose>>;
|
|
42
44
|
}, z.core.$loose>;
|
|
43
|
-
declare const radarListGeofences:
|
|
44
|
-
tag?: string | undefined;
|
|
45
|
-
page?: number | undefined;
|
|
46
|
-
limit?: number | undefined;
|
|
47
|
-
metadata?: Record<string, unknown> | undefined;
|
|
48
|
-
externalId?: string | undefined;
|
|
49
|
-
createdAfter?: string | undefined;
|
|
50
|
-
updatedAfter?: string | undefined;
|
|
51
|
-
createdBefore?: string | undefined;
|
|
52
|
-
updatedBefore?: string | undefined;
|
|
53
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
54
|
-
connectionId: z.ZodString;
|
|
55
|
-
entityId: z.ZodString;
|
|
56
|
-
instanceId: z.ZodString;
|
|
57
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
-
generic_api_key: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
60
|
-
connectionId: z.ZodString;
|
|
61
|
-
entityId: z.ZodString;
|
|
62
|
-
instanceId: z.ZodString;
|
|
63
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
-
generic_api_key: z.ZodString;
|
|
65
|
-
}, z.core.$strip>>]>;
|
|
45
|
+
declare const radarListGeofences: AppAction<typeof RadarListGeofencesInput, typeof RadarListGeofencesOutput, typeof radar.credential>;
|
|
66
46
|
//#endregion
|
|
67
47
|
export { radarListGeofences };
|
|
68
48
|
//# sourceMappingURL=list-geofences.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-geofences.d.mts","names":[],"sources":["../../src/actions/list-geofences.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-geofences.d.mts","names":[],"sources":["../../src/actions/list-geofences.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;cAuCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-geofences.mjs","names":[],"sources":["../../src/actions/list-geofences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarListGeofencesInput = z.object({\n tag: z.string().describe(\"Filter geofences by tag\").optional(),\n page: z.number().int().describe(\"Page number to return (default 1)\").optional(),\n limit: z.number().int().describe(\"Maximum number of geofences to return (1-500)\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Filter geofences by metadata key-value pairs\").optional(),\n externalId: z.string().describe(\"Filter geofences by external ID\").optional(),\n createdAfter: z.string().describe(\"Return geofences created after this ISO8601 timestamp\").optional(),\n updatedAfter: z.string().describe(\"Return geofences updated after this ISO8601 timestamp\").optional(),\n createdBefore: z.string().describe(\"Return geofences created before this ISO8601 timestamp\").optional(),\n updatedBefore: z.string().describe(\"Return geofences updated before this ISO8601 timestamp\").optional(),\n}).describe(\"Request model for listing Radar geofences with optional filters and pagination.\");\nconst RadarListGeofences_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code of the response\").nullable(),\n hasMore: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Pagination metadata for list geofences response.\");\nconst RadarListGeofences_GeometrySchema = z.object({\n type: z.string().describe(\"Geometry type, e.g., 'Polygon'\").nullable(),\n coordinates: z.array(z.array(z.array(z.number()))).describe(\"Nested coordinates array for polygon geometry\"),\n}).passthrough().describe(\"Geometry details of the geofence (Polygon representation).\");\nconst RadarListGeofences_GeometryCenterSchema = z.object({\n type: z.string().describe(\"Geometry type, e.g., 'Point'\").nullable(),\n coordinates: z.array(z.number()).describe(\"Coordinates array [longitude, latitude]\"),\n}).passthrough().describe(\"Center point of the geofence.\");\nconst RadarListGeofences_GeofenceSchema = z.object({\n ip: z.array(z.string()).describe(\"IP addresses associated with the geofence\").nullable().optional(),\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 in live mode\").nullable().optional(),\n type: z.string().describe(\"Type of the geofence, e.g., 'circle' or 'polygon'\").nullable(),\n enabled: z.boolean().describe(\"Whether the geofence is enabled\").nullable().optional(),\n geometry: RadarListGeofences_GeometrySchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the geofence\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the geofence was created\").nullable(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the geofence was last updated\").nullable(),\n externalId: z.string().describe(\"External identifier of the geofence\").nullable().optional(),\n description: z.string().describe(\"Description of the geofence\").nullable().optional(),\n geometryCenter: RadarListGeofences_GeometryCenterSchema.nullable().optional(),\n geometryRadius: z.number().describe(\"Radius of the geofence in meters (for circles)\").nullable().optional(),\n}).passthrough().describe(\"Representation of a Radar geofence.\");\nexport const RadarListGeofencesOutput = z.object({\n meta: RadarListGeofences_MetaSchema.nullable(),\n geofences: z.array(RadarListGeofences_GeofenceSchema).describe(\"List of geofence objects\"),\n}).passthrough().describe(\"Response model for listing geofences.\");\n\nexport const radarListGeofences = action(\"RADAR_LIST_GEOFENCES\", {\n slug: \"radar-list-geofences\",\n name: \"List Geofences\",\n description: \"Tool to list all geofences sorted by updated time. Use when you need an overview of all configured geofences.\",\n input: RadarListGeofencesInput,\n output: RadarListGeofencesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-geofences.mjs","names":[],"sources":["../../src/actions/list-geofences.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 RadarListGeofencesInput = z.object({\n tag: z.string().describe(\"Filter geofences by tag\").optional(),\n page: z.number().int().describe(\"Page number to return (default 1)\").optional(),\n limit: z.number().int().describe(\"Maximum number of geofences to return (1-500)\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Filter geofences by metadata key-value pairs\").optional(),\n externalId: z.string().describe(\"Filter geofences by external ID\").optional(),\n createdAfter: z.string().describe(\"Return geofences created after this ISO8601 timestamp\").optional(),\n updatedAfter: z.string().describe(\"Return geofences updated after this ISO8601 timestamp\").optional(),\n createdBefore: z.string().describe(\"Return geofences created before this ISO8601 timestamp\").optional(),\n updatedBefore: z.string().describe(\"Return geofences updated before this ISO8601 timestamp\").optional(),\n}).describe(\"Request model for listing Radar geofences with optional filters and pagination.\");\nconst RadarListGeofences_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code of the response\").nullable(),\n hasMore: z.boolean().describe(\"Whether there are more results available\").nullable(),\n}).passthrough().describe(\"Pagination metadata for list geofences response.\");\nconst RadarListGeofences_GeometrySchema = z.object({\n type: z.string().describe(\"Geometry type, e.g., 'Polygon'\").nullable(),\n coordinates: z.array(z.array(z.array(z.number()))).describe(\"Nested coordinates array for polygon geometry\"),\n}).passthrough().describe(\"Geometry details of the geofence (Polygon representation).\");\nconst RadarListGeofences_GeometryCenterSchema = z.object({\n type: z.string().describe(\"Geometry type, e.g., 'Point'\").nullable(),\n coordinates: z.array(z.number()).describe(\"Coordinates array [longitude, latitude]\"),\n}).passthrough().describe(\"Center point of the geofence.\");\nconst RadarListGeofences_GeofenceSchema = z.object({\n ip: z.array(z.string()).describe(\"IP addresses associated with the geofence\").nullable().optional(),\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 in live mode\").nullable().optional(),\n type: z.string().describe(\"Type of the geofence, e.g., 'circle' or 'polygon'\").nullable(),\n enabled: z.boolean().describe(\"Whether the geofence is enabled\").nullable().optional(),\n geometry: RadarListGeofences_GeometrySchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the geofence\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the geofence was created\").nullable(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the geofence was last updated\").nullable(),\n externalId: z.string().describe(\"External identifier of the geofence\").nullable().optional(),\n description: z.string().describe(\"Description of the geofence\").nullable().optional(),\n geometryCenter: RadarListGeofences_GeometryCenterSchema.nullable().optional(),\n geometryRadius: z.number().describe(\"Radius of the geofence in meters (for circles)\").nullable().optional(),\n}).passthrough().describe(\"Representation of a Radar geofence.\");\nexport const RadarListGeofencesOutput = z.object({\n meta: RadarListGeofences_MetaSchema.nullable(),\n geofences: z.array(RadarListGeofences_GeofenceSchema).describe(\"List of geofence objects\"),\n}).passthrough().describe(\"Response model for listing geofences.\");\n\nexport const radarListGeofences: AppAction<\n typeof RadarListGeofencesInput,\n typeof RadarListGeofencesOutput,\n typeof radar.credential\n> = action(\"RADAR_LIST_GEOFENCES\", {\n slug: \"radar-list-geofences\",\n name: \"List Geofences\",\n description: \"Tool to list all geofences sorted by updated time. Use when you need an overview of all configured geofences.\",\n input: RadarListGeofencesInput,\n output: RadarListGeofencesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC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C,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAM/D,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdsC,EAAE,OAAO;EAC/C,MAAM,8BAA8B,SAAS;EAC7C,WAAW,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,0BAA0B;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-trips.cjs","names":["z","action"],"sources":["../../src/actions/list-trips.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarListTripsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of trips to return (1–100). Defaults to 100 when omitted.\").optional(),\n userId: z.string().describe(\"Filter trips by Radar user ID.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Filter trips by metadata key/value pairs.\").optional(),\n externalId: z.string().describe(\"Filter trips by external ID.\").optional(),\n endingBefore: z.string().describe(\"Return trips ending immediately before this trip ID.\").optional(),\n startingAfter: z.string().describe(\"Return trips starting immediately after this trip ID.\").optional(),\n}).describe(\"Request model for LIST_TRIPS.\");\nconst RadarListTrips_ListTripsMetaSchema = z.object({\n code: z.number().int().describe(\"HTTP response code\").nullable(),\n limit: z.number().int().describe(\"Maximum number of items per page\").nullable().optional(),\n hasMore: z.boolean().describe(\"Whether there are more results available\").nullable(),\n endingBefore: z.string().describe(\"Cursor for fetching the previous page of results\").nullable().optional(),\n startingAfter: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Metadata object for pagination of list trips.\");\nconst RadarListTrips_DestinationLocationSchema = z.object({\n latitude: z.number().describe(\"Latitude of the trip destination\").nullable(),\n longitude: z.number().describe(\"Longitude of the trip destination\").nullable(),\n}).passthrough().describe(\"Destination location coordinates for a trip.\");\nconst RadarListTrips_TripSchema = z.object({\n _id: z.string().describe(\"Unique Radar trip ID\").nullable().optional(),\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 (e.g., car, bike, foot)\").nullable().optional(),\n note: z.string().describe(\"Freeform note for the trip\").nullable().optional(),\n issues: z.array(z.unknown()).describe(\"Issues detected during the trip\").nullable().optional(),\n status: z.string().describe(\"Trip status (e.g., created, started, completed)\").nullable().optional(),\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(\"Locations tracked during the trip\").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\").nullable().optional(),\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 destinationLocation: RadarListTrips_DestinationLocationSchema.nullable().optional(),\n approachingThreshold: z.number().int().describe(\"Distance threshold in meters for approaching destination\").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}).passthrough().describe(\"Trip object returned by Radar.\");\nexport const RadarListTripsOutput = z.object({\n meta: RadarListTrips_ListTripsMetaSchema.nullable(),\n trips: z.array(RadarListTrips_TripSchema).describe(\"List of trip objects\"),\n}).passthrough().describe(\"Response model for LIST_TRIPS, containing a list of trip objects and pagination metadata.\");\n\nexport const radarListTrips = action(\"RADAR_LIST_TRIPS\", {\n slug: \"radar-list-trips\",\n name: \"List Trips\",\n description: \"Tool to list all trips, sorted by updated time. Use when you need to page through the latest trips.\",\n input: RadarListTripsInput,\n output: RadarListTripsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-trips.cjs","names":["z","action"],"sources":["../../src/actions/list-trips.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 RadarListTripsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of trips to return (1–100). Defaults to 100 when omitted.\").optional(),\n userId: z.string().describe(\"Filter trips by Radar user ID.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Filter trips by metadata key/value pairs.\").optional(),\n externalId: z.string().describe(\"Filter trips by external ID.\").optional(),\n endingBefore: z.string().describe(\"Return trips ending immediately before this trip ID.\").optional(),\n startingAfter: z.string().describe(\"Return trips starting immediately after this trip ID.\").optional(),\n}).describe(\"Request model for LIST_TRIPS.\");\nconst RadarListTrips_ListTripsMetaSchema = z.object({\n code: z.number().int().describe(\"HTTP response code\").nullable(),\n limit: z.number().int().describe(\"Maximum number of items per page\").nullable().optional(),\n hasMore: z.boolean().describe(\"Whether there are more results available\").nullable(),\n endingBefore: z.string().describe(\"Cursor for fetching the previous page of results\").nullable().optional(),\n startingAfter: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Metadata object for pagination of list trips.\");\nconst RadarListTrips_DestinationLocationSchema = z.object({\n latitude: z.number().describe(\"Latitude of the trip destination\").nullable(),\n longitude: z.number().describe(\"Longitude of the trip destination\").nullable(),\n}).passthrough().describe(\"Destination location coordinates for a trip.\");\nconst RadarListTrips_TripSchema = z.object({\n _id: z.string().describe(\"Unique Radar trip ID\").nullable().optional(),\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 (e.g., car, bike, foot)\").nullable().optional(),\n note: z.string().describe(\"Freeform note for the trip\").nullable().optional(),\n issues: z.array(z.unknown()).describe(\"Issues detected during the trip\").nullable().optional(),\n status: z.string().describe(\"Trip status (e.g., created, started, completed)\").nullable().optional(),\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(\"Locations tracked during the trip\").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\").nullable().optional(),\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 destinationLocation: RadarListTrips_DestinationLocationSchema.nullable().optional(),\n approachingThreshold: z.number().int().describe(\"Distance threshold in meters for approaching destination\").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}).passthrough().describe(\"Trip object returned by Radar.\");\nexport const RadarListTripsOutput = z.object({\n meta: RadarListTrips_ListTripsMetaSchema.nullable(),\n trips: z.array(RadarListTrips_TripSchema).describe(\"List of trip objects\"),\n}).passthrough().describe(\"Response model for LIST_TRIPS, containing a list of trip objects and pagination metadata.\");\n\nexport const radarListTrips: AppAction<\n typeof RadarListTripsInput,\n typeof RadarListTripsOutput,\n typeof radar.credential\n> = action(\"RADAR_LIST_TRIPS\", {\n slug: \"radar-list-trips\",\n name: \"List Trips\",\n description: \"Tool to list all trips, sorted by updated time. Use when you need to page through the latest trips.\",\n input: RadarListTripsInput,\n output: RadarListTripsOutput,\n});\n"],"mappings":";;;;AAMA,MA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C,YAAY,CAAC,CAAC,SAAS,2FAA2F;AAErH,MAAa,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,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/list-trips.d.ts
|
|
@@ -43,26 +45,7 @@ declare const RadarListTripsOutput: z.ZodObject<{
|
|
|
43
45
|
destinationGeofenceExternalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
46
|
}, z.core.$loose>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const radarListTrips:
|
|
47
|
-
limit?: number | undefined;
|
|
48
|
-
userId?: string | undefined;
|
|
49
|
-
metadata?: Record<string, unknown> | undefined;
|
|
50
|
-
externalId?: string | undefined;
|
|
51
|
-
endingBefore?: string | undefined;
|
|
52
|
-
startingAfter?: string | undefined;
|
|
53
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
54
|
-
connectionId: z.ZodString;
|
|
55
|
-
entityId: z.ZodString;
|
|
56
|
-
instanceId: z.ZodString;
|
|
57
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
-
generic_api_key: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
60
|
-
connectionId: z.ZodString;
|
|
61
|
-
entityId: z.ZodString;
|
|
62
|
-
instanceId: z.ZodString;
|
|
63
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
-
generic_api_key: z.ZodString;
|
|
65
|
-
}, z.core.$strip>>]>;
|
|
48
|
+
declare const radarListTrips: AppAction<typeof RadarListTripsInput, typeof RadarListTripsOutput, typeof radar.credential>;
|
|
66
49
|
//#endregion
|
|
67
50
|
export { radarListTrips };
|
|
68
51
|
//# sourceMappingURL=list-trips.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-trips.d.cts","names":[],"sources":["../../src/actions/list-trips.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-trips.d.cts","names":[],"sources":["../../src/actions/list-trips.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;cAyCnB,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-trips.d.ts
|
|
@@ -43,26 +45,7 @@ declare const RadarListTripsOutput: z.ZodObject<{
|
|
|
43
45
|
destinationGeofenceExternalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
46
|
}, z.core.$loose>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const radarListTrips:
|
|
47
|
-
limit?: number | undefined;
|
|
48
|
-
userId?: string | undefined;
|
|
49
|
-
metadata?: Record<string, unknown> | undefined;
|
|
50
|
-
externalId?: string | undefined;
|
|
51
|
-
endingBefore?: string | undefined;
|
|
52
|
-
startingAfter?: string | undefined;
|
|
53
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
54
|
-
connectionId: z.ZodString;
|
|
55
|
-
entityId: z.ZodString;
|
|
56
|
-
instanceId: z.ZodString;
|
|
57
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
-
generic_api_key: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
60
|
-
connectionId: z.ZodString;
|
|
61
|
-
entityId: z.ZodString;
|
|
62
|
-
instanceId: z.ZodString;
|
|
63
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
-
generic_api_key: z.ZodString;
|
|
65
|
-
}, z.core.$strip>>]>;
|
|
48
|
+
declare const radarListTrips: AppAction<typeof RadarListTripsInput, typeof RadarListTripsOutput, typeof radar.credential>;
|
|
66
49
|
//#endregion
|
|
67
50
|
export { radarListTrips };
|
|
68
51
|
//# sourceMappingURL=list-trips.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-trips.d.mts","names":[],"sources":["../../src/actions/list-trips.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-trips.d.mts","names":[],"sources":["../../src/actions/list-trips.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;cAyCnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-trips.mjs","names":[],"sources":["../../src/actions/list-trips.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarListTripsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of trips to return (1–100). Defaults to 100 when omitted.\").optional(),\n userId: z.string().describe(\"Filter trips by Radar user ID.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Filter trips by metadata key/value pairs.\").optional(),\n externalId: z.string().describe(\"Filter trips by external ID.\").optional(),\n endingBefore: z.string().describe(\"Return trips ending immediately before this trip ID.\").optional(),\n startingAfter: z.string().describe(\"Return trips starting immediately after this trip ID.\").optional(),\n}).describe(\"Request model for LIST_TRIPS.\");\nconst RadarListTrips_ListTripsMetaSchema = z.object({\n code: z.number().int().describe(\"HTTP response code\").nullable(),\n limit: z.number().int().describe(\"Maximum number of items per page\").nullable().optional(),\n hasMore: z.boolean().describe(\"Whether there are more results available\").nullable(),\n endingBefore: z.string().describe(\"Cursor for fetching the previous page of results\").nullable().optional(),\n startingAfter: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Metadata object for pagination of list trips.\");\nconst RadarListTrips_DestinationLocationSchema = z.object({\n latitude: z.number().describe(\"Latitude of the trip destination\").nullable(),\n longitude: z.number().describe(\"Longitude of the trip destination\").nullable(),\n}).passthrough().describe(\"Destination location coordinates for a trip.\");\nconst RadarListTrips_TripSchema = z.object({\n _id: z.string().describe(\"Unique Radar trip ID\").nullable().optional(),\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 (e.g., car, bike, foot)\").nullable().optional(),\n note: z.string().describe(\"Freeform note for the trip\").nullable().optional(),\n issues: z.array(z.unknown()).describe(\"Issues detected during the trip\").nullable().optional(),\n status: z.string().describe(\"Trip status (e.g., created, started, completed)\").nullable().optional(),\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(\"Locations tracked during the trip\").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\").nullable().optional(),\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 destinationLocation: RadarListTrips_DestinationLocationSchema.nullable().optional(),\n approachingThreshold: z.number().int().describe(\"Distance threshold in meters for approaching destination\").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}).passthrough().describe(\"Trip object returned by Radar.\");\nexport const RadarListTripsOutput = z.object({\n meta: RadarListTrips_ListTripsMetaSchema.nullable(),\n trips: z.array(RadarListTrips_TripSchema).describe(\"List of trip objects\"),\n}).passthrough().describe(\"Response model for LIST_TRIPS, containing a list of trip objects and pagination metadata.\");\n\nexport const radarListTrips = action(\"RADAR_LIST_TRIPS\", {\n slug: \"radar-list-trips\",\n name: \"List Trips\",\n description: \"Tool to list all trips, sorted by updated time. Use when you need to page through the latest trips.\",\n input: RadarListTripsInput,\n output: RadarListTripsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-trips.mjs","names":[],"sources":["../../src/actions/list-trips.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 RadarListTripsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of trips to return (1–100). Defaults to 100 when omitted.\").optional(),\n userId: z.string().describe(\"Filter trips by Radar user ID.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Filter trips by metadata key/value pairs.\").optional(),\n externalId: z.string().describe(\"Filter trips by external ID.\").optional(),\n endingBefore: z.string().describe(\"Return trips ending immediately before this trip ID.\").optional(),\n startingAfter: z.string().describe(\"Return trips starting immediately after this trip ID.\").optional(),\n}).describe(\"Request model for LIST_TRIPS.\");\nconst RadarListTrips_ListTripsMetaSchema = z.object({\n code: z.number().int().describe(\"HTTP response code\").nullable(),\n limit: z.number().int().describe(\"Maximum number of items per page\").nullable().optional(),\n hasMore: z.boolean().describe(\"Whether there are more results available\").nullable(),\n endingBefore: z.string().describe(\"Cursor for fetching the previous page of results\").nullable().optional(),\n startingAfter: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Metadata object for pagination of list trips.\");\nconst RadarListTrips_DestinationLocationSchema = z.object({\n latitude: z.number().describe(\"Latitude of the trip destination\").nullable(),\n longitude: z.number().describe(\"Longitude of the trip destination\").nullable(),\n}).passthrough().describe(\"Destination location coordinates for a trip.\");\nconst RadarListTrips_TripSchema = z.object({\n _id: z.string().describe(\"Unique Radar trip ID\").nullable().optional(),\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 (e.g., car, bike, foot)\").nullable().optional(),\n note: z.string().describe(\"Freeform note for the trip\").nullable().optional(),\n issues: z.array(z.unknown()).describe(\"Issues detected during the trip\").nullable().optional(),\n status: z.string().describe(\"Trip status (e.g., created, started, completed)\").nullable().optional(),\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(\"Locations tracked during the trip\").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\").nullable().optional(),\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 destinationLocation: RadarListTrips_DestinationLocationSchema.nullable().optional(),\n approachingThreshold: z.number().int().describe(\"Distance threshold in meters for approaching destination\").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}).passthrough().describe(\"Trip object returned by Radar.\");\nexport const RadarListTripsOutput = z.object({\n meta: RadarListTrips_ListTripsMetaSchema.nullable(),\n trips: z.array(RadarListTrips_TripSchema).describe(\"List of trip objects\"),\n}).passthrough().describe(\"Response model for LIST_TRIPS, containing a list of trip objects and pagination metadata.\");\n\nexport const radarListTrips: AppAction<\n typeof RadarListTripsInput,\n typeof RadarListTripsOutput,\n typeof radar.credential\n> = action(\"RADAR_LIST_TRIPS\", {\n slug: \"radar-list-trips\",\n name: \"List Trips\",\n description: \"Tool to list all trips, sorted by updated time. Use when you need to page through the latest trips.\",\n input: RadarListTripsInput,\n output: RadarListTripsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACtH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACnG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,QAAQ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;CACN,aAAa;CACb,OAAO;CACP,QAdkC,EAAE,OAAO;EAC3C,MAAM,mCAAmC,SAAS;EAClD,OAAO,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,sBAAsB;CAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users.cjs","names":["z","action"],"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.cjs","names":["z","action"],"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,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACt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SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAM,0BAA0B,SAAS;CACzC,OAAOA,IAAAA,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,sBAAsB;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAA0E;AAEpG,MAAa,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,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/list-users.d.ts
|
|
@@ -27,27 +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<"radar", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
generic_api_key: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
45
|
-
connectionId: z.ZodString;
|
|
46
|
-
entityId: z.ZodString;
|
|
47
|
-
instanceId: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
generic_api_key: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>]>;
|
|
32
|
+
declare const radarListUsers: AppAction<typeof RadarListUsersInput, typeof RadarListUsersOutput, typeof radar.credential>;
|
|
51
33
|
//#endregion
|
|
52
34
|
export { radarListUsers };
|
|
53
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,27 +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<"radar", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
generic_api_key: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"radar", z.ZodObject<{
|
|
45
|
-
connectionId: z.ZodString;
|
|
46
|
-
entityId: z.ZodString;
|
|
47
|
-
instanceId: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
generic_api_key: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>]>;
|
|
32
|
+
declare const radarListUsers: AppAction<typeof RadarListUsersInput, typeof RadarListUsersOutput, typeof radar.credential>;
|
|
51
33
|
//#endregion
|
|
52
34
|
export { radarListUsers };
|
|
53
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,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACl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