@keystrokehq/radar 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/autocomplete-address-or-place.cjs +8 -8
- package/dist/actions/autocomplete-address-or-place.cjs.map +1 -1
- package/dist/actions/autocomplete-address-or-place.d.cts +50 -3
- package/dist/actions/autocomplete-address-or-place.d.cts.map +1 -1
- package/dist/actions/autocomplete-address-or-place.d.mts +50 -3
- package/dist/actions/autocomplete-address-or-place.d.mts.map +1 -1
- package/dist/actions/autocomplete-address-or-place.mjs +8 -8
- package/dist/actions/autocomplete-address-or-place.mjs.map +1 -1
- package/dist/actions/create-beacon.cjs +9 -9
- package/dist/actions/create-beacon.cjs.map +1 -1
- package/dist/actions/create-beacon.d.cts +56 -3
- package/dist/actions/create-beacon.d.cts.map +1 -1
- package/dist/actions/create-beacon.d.mts +56 -3
- package/dist/actions/create-beacon.d.mts.map +1 -1
- package/dist/actions/create-beacon.mjs +9 -9
- package/dist/actions/create-beacon.mjs.map +1 -1
- package/dist/actions/create-trip.cjs.map +1 -1
- package/dist/actions/create-trip.d.cts +44 -3
- package/dist/actions/create-trip.d.cts.map +1 -1
- package/dist/actions/create-trip.d.mts +44 -3
- package/dist/actions/create-trip.d.mts.map +1 -1
- package/dist/actions/create-trip.mjs.map +1 -1
- package/dist/actions/delete-beacon.cjs +1 -1
- package/dist/actions/delete-beacon.cjs.map +1 -1
- package/dist/actions/delete-beacon.d.cts +11 -3
- package/dist/actions/delete-beacon.d.cts.map +1 -1
- package/dist/actions/delete-beacon.d.mts +11 -3
- package/dist/actions/delete-beacon.d.mts.map +1 -1
- package/dist/actions/delete-beacon.mjs +1 -1
- package/dist/actions/delete-beacon.mjs.map +1 -1
- package/dist/actions/delete-geofence-by-tag.cjs +1 -1
- package/dist/actions/delete-geofence-by-tag.cjs.map +1 -1
- package/dist/actions/delete-geofence-by-tag.d.cts +13 -3
- package/dist/actions/delete-geofence-by-tag.d.cts.map +1 -1
- package/dist/actions/delete-geofence-by-tag.d.mts +13 -3
- package/dist/actions/delete-geofence-by-tag.d.mts.map +1 -1
- package/dist/actions/delete-geofence-by-tag.mjs +1 -1
- package/dist/actions/delete-geofence-by-tag.mjs.map +1 -1
- package/dist/actions/delete-geofence.cjs +1 -1
- package/dist/actions/delete-geofence.cjs.map +1 -1
- package/dist/actions/delete-geofence.d.cts +11 -3
- package/dist/actions/delete-geofence.d.cts.map +1 -1
- package/dist/actions/delete-geofence.d.mts +11 -3
- package/dist/actions/delete-geofence.d.mts.map +1 -1
- package/dist/actions/delete-geofence.mjs +1 -1
- package/dist/actions/delete-geofence.mjs.map +1 -1
- package/dist/actions/delete-trip.cjs +1 -1
- package/dist/actions/delete-trip.cjs.map +1 -1
- package/dist/actions/delete-trip.d.cts +11 -3
- package/dist/actions/delete-trip.d.cts.map +1 -1
- package/dist/actions/delete-trip.d.mts +11 -3
- package/dist/actions/delete-trip.d.mts.map +1 -1
- package/dist/actions/delete-trip.mjs +1 -1
- package/dist/actions/delete-trip.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -1
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +11 -3
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +11 -3
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +1 -1
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/forward-geocode.cjs +4 -4
- package/dist/actions/forward-geocode.cjs.map +1 -1
- package/dist/actions/forward-geocode.d.cts +37 -3
- package/dist/actions/forward-geocode.d.cts.map +1 -1
- package/dist/actions/forward-geocode.d.mts +37 -3
- package/dist/actions/forward-geocode.d.mts.map +1 -1
- package/dist/actions/forward-geocode.mjs +4 -4
- package/dist/actions/forward-geocode.mjs.map +1 -1
- package/dist/actions/get-beacon-by-tag.cjs +8 -8
- package/dist/actions/get-beacon-by-tag.cjs.map +1 -1
- package/dist/actions/get-beacon-by-tag.d.cts +33 -3
- package/dist/actions/get-beacon-by-tag.d.cts.map +1 -1
- package/dist/actions/get-beacon-by-tag.d.mts +33 -3
- package/dist/actions/get-beacon-by-tag.d.mts.map +1 -1
- package/dist/actions/get-beacon-by-tag.mjs +8 -8
- package/dist/actions/get-beacon-by-tag.mjs.map +1 -1
- package/dist/actions/get-beacon.cjs +3 -3
- package/dist/actions/get-beacon.cjs.map +1 -1
- package/dist/actions/get-beacon.d.cts +29 -3
- package/dist/actions/get-beacon.d.cts.map +1 -1
- package/dist/actions/get-beacon.d.mts +29 -3
- package/dist/actions/get-beacon.d.mts.map +1 -1
- package/dist/actions/get-beacon.mjs +3 -3
- package/dist/actions/get-beacon.mjs.map +1 -1
- package/dist/actions/get-context-for-location.cjs +2 -2
- package/dist/actions/get-context-for-location.cjs.map +1 -1
- package/dist/actions/get-context-for-location.d.cts +85 -3
- package/dist/actions/get-context-for-location.d.cts.map +1 -1
- package/dist/actions/get-context-for-location.d.mts +85 -3
- package/dist/actions/get-context-for-location.d.mts.map +1 -1
- package/dist/actions/get-context-for-location.mjs +2 -2
- package/dist/actions/get-context-for-location.mjs.map +1 -1
- package/dist/actions/get-geofence.cjs +5 -5
- package/dist/actions/get-geofence.cjs.map +1 -1
- package/dist/actions/get-geofence.d.cts +26 -3
- package/dist/actions/get-geofence.d.cts.map +1 -1
- package/dist/actions/get-geofence.d.mts +26 -3
- package/dist/actions/get-geofence.d.mts.map +1 -1
- package/dist/actions/get-geofence.mjs +5 -5
- package/dist/actions/get-geofence.mjs.map +1 -1
- package/dist/actions/get-places-settings.cjs +1 -1
- package/dist/actions/get-places-settings.cjs.map +1 -1
- package/dist/actions/get-places-settings.d.cts +15 -3
- package/dist/actions/get-places-settings.d.cts.map +1 -1
- package/dist/actions/get-places-settings.d.mts +15 -3
- package/dist/actions/get-places-settings.d.mts.map +1 -1
- package/dist/actions/get-places-settings.mjs +1 -1
- package/dist/actions/get-places-settings.mjs.map +1 -1
- package/dist/actions/get-route-directions.cjs +8 -8
- package/dist/actions/get-route-directions.cjs.map +1 -1
- package/dist/actions/get-route-directions.d.cts +118 -3
- package/dist/actions/get-route-directions.d.cts.map +1 -1
- package/dist/actions/get-route-directions.d.mts +118 -3
- package/dist/actions/get-route-directions.d.mts.map +1 -1
- package/dist/actions/get-route-directions.mjs +8 -8
- package/dist/actions/get-route-directions.mjs.map +1 -1
- package/dist/actions/get-route-matrix.cjs +9 -9
- package/dist/actions/get-route-matrix.cjs.map +1 -1
- package/dist/actions/get-route-matrix.d.cts +45 -3
- package/dist/actions/get-route-matrix.d.cts.map +1 -1
- package/dist/actions/get-route-matrix.d.mts +45 -3
- package/dist/actions/get-route-matrix.d.mts.map +1 -1
- package/dist/actions/get-route-matrix.mjs +9 -9
- package/dist/actions/get-route-matrix.mjs.map +1 -1
- package/dist/actions/get-trip.cjs +3 -3
- package/dist/actions/get-trip.cjs.map +1 -1
- package/dist/actions/get-trip.d.cts +39 -3
- package/dist/actions/get-trip.d.cts.map +1 -1
- package/dist/actions/get-trip.d.mts +39 -3
- package/dist/actions/get-trip.d.mts.map +1 -1
- package/dist/actions/get-trip.mjs +3 -3
- package/dist/actions/get-trip.mjs.map +1 -1
- package/dist/actions/get-user.cjs +6 -6
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +66 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +66 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +6 -6
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-users-in-geofence.cjs +2 -2
- package/dist/actions/get-users-in-geofence.cjs.map +1 -1
- package/dist/actions/get-users-in-geofence.d.cts +19 -3
- package/dist/actions/get-users-in-geofence.d.cts.map +1 -1
- package/dist/actions/get-users-in-geofence.d.mts +19 -3
- package/dist/actions/get-users-in-geofence.d.mts.map +1 -1
- package/dist/actions/get-users-in-geofence.mjs +2 -2
- package/dist/actions/get-users-in-geofence.mjs.map +1 -1
- package/dist/actions/ip-geocode.cjs +4 -4
- package/dist/actions/ip-geocode.cjs.map +1 -1
- package/dist/actions/ip-geocode.d.cts +20 -3
- package/dist/actions/ip-geocode.d.cts.map +1 -1
- package/dist/actions/ip-geocode.d.mts +20 -3
- package/dist/actions/ip-geocode.d.mts.map +1 -1
- package/dist/actions/ip-geocode.mjs +4 -4
- package/dist/actions/ip-geocode.mjs.map +1 -1
- package/dist/actions/list-events.cjs +4 -4
- package/dist/actions/list-events.cjs.map +1 -1
- package/dist/actions/list-events.d.cts +52 -3
- package/dist/actions/list-events.d.cts.map +1 -1
- package/dist/actions/list-events.d.mts +52 -3
- package/dist/actions/list-events.d.mts.map +1 -1
- package/dist/actions/list-events.mjs +4 -4
- package/dist/actions/list-events.mjs.map +1 -1
- package/dist/actions/list-geofences.cjs +8 -8
- package/dist/actions/list-geofences.cjs.map +1 -1
- package/dist/actions/list-geofences.d.cts +50 -3
- package/dist/actions/list-geofences.d.cts.map +1 -1
- package/dist/actions/list-geofences.d.mts +50 -3
- package/dist/actions/list-geofences.d.mts.map +1 -1
- package/dist/actions/list-geofences.mjs +8 -8
- package/dist/actions/list-geofences.mjs.map +1 -1
- package/dist/actions/list-trips.cjs +4 -4
- package/dist/actions/list-trips.cjs.map +1 -1
- package/dist/actions/list-trips.d.cts +50 -3
- package/dist/actions/list-trips.d.cts.map +1 -1
- package/dist/actions/list-trips.d.mts +50 -3
- package/dist/actions/list-trips.d.mts.map +1 -1
- package/dist/actions/list-trips.mjs +4 -4
- package/dist/actions/list-trips.mjs.map +1 -1
- package/dist/actions/list-users.cjs +5 -5
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +35 -3
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +35 -3
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +5 -5
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/reverse-geocode.cjs.map +1 -1
- package/dist/actions/reverse-geocode.d.cts +33 -3
- package/dist/actions/reverse-geocode.d.cts.map +1 -1
- package/dist/actions/reverse-geocode.d.mts +33 -3
- package/dist/actions/reverse-geocode.d.mts.map +1 -1
- package/dist/actions/reverse-geocode.mjs.map +1 -1
- package/dist/actions/route-distance.cjs +5 -5
- package/dist/actions/route-distance.cjs.map +1 -1
- package/dist/actions/route-distance.d.cts +110 -3
- package/dist/actions/route-distance.d.cts.map +1 -1
- package/dist/actions/route-distance.d.mts +110 -3
- package/dist/actions/route-distance.d.mts.map +1 -1
- package/dist/actions/route-distance.mjs +5 -5
- package/dist/actions/route-distance.mjs.map +1 -1
- package/dist/actions/search-geofences-near-location.cjs +2 -2
- package/dist/actions/search-geofences-near-location.cjs.map +1 -1
- package/dist/actions/search-geofences-near-location.d.cts +34 -3
- package/dist/actions/search-geofences-near-location.d.cts.map +1 -1
- package/dist/actions/search-geofences-near-location.d.mts +34 -3
- package/dist/actions/search-geofences-near-location.d.mts.map +1 -1
- package/dist/actions/search-geofences-near-location.mjs +2 -2
- package/dist/actions/search-geofences-near-location.mjs.map +1 -1
- package/dist/actions/search-places-near-location.cjs +4 -4
- package/dist/actions/search-places-near-location.cjs.map +1 -1
- package/dist/actions/search-places-near-location.d.cts +51 -3
- package/dist/actions/search-places-near-location.d.cts.map +1 -1
- package/dist/actions/search-places-near-location.d.mts +51 -3
- package/dist/actions/search-places-near-location.d.mts.map +1 -1
- package/dist/actions/search-places-near-location.mjs +4 -4
- package/dist/actions/search-places-near-location.mjs.map +1 -1
- package/dist/actions/search-users-near-location.cjs +5 -5
- package/dist/actions/search-users-near-location.cjs.map +1 -1
- package/dist/actions/search-users-near-location.d.cts +28 -3
- package/dist/actions/search-users-near-location.d.cts.map +1 -1
- package/dist/actions/search-users-near-location.d.mts +28 -3
- package/dist/actions/search-users-near-location.d.mts.map +1 -1
- package/dist/actions/search-users-near-location.mjs +5 -5
- package/dist/actions/search-users-near-location.mjs.map +1 -1
- package/dist/actions/track-location-update.cjs.map +1 -1
- package/dist/actions/track-location-update.d.cts +43 -3
- package/dist/actions/track-location-update.d.cts.map +1 -1
- package/dist/actions/track-location-update.d.mts +43 -3
- package/dist/actions/track-location-update.d.mts.map +1 -1
- package/dist/actions/track-location-update.mjs.map +1 -1
- package/dist/actions/update-places-settings.cjs +1 -1
- package/dist/actions/update-places-settings.cjs.map +1 -1
- package/dist/actions/update-places-settings.d.cts +23 -3
- package/dist/actions/update-places-settings.d.cts.map +1 -1
- package/dist/actions/update-places-settings.d.mts +23 -3
- package/dist/actions/update-places-settings.d.mts.map +1 -1
- package/dist/actions/update-places-settings.mjs +1 -1
- package/dist/actions/update-places-settings.mjs.map +1 -1
- package/dist/actions/update-trip-by-id.cjs.map +1 -1
- package/dist/actions/update-trip-by-id.d.cts +47 -3
- package/dist/actions/update-trip-by-id.d.cts.map +1 -1
- package/dist/actions/update-trip-by-id.d.mts +47 -3
- package/dist/actions/update-trip-by-id.d.mts.map +1 -1
- package/dist/actions/update-trip-by-id.mjs.map +1 -1
- package/dist/actions/update-trip.cjs +2 -2
- package/dist/actions/update-trip.cjs.map +1 -1
- package/dist/actions/update-trip.d.cts +67 -3
- package/dist/actions/update-trip.d.cts.map +1 -1
- package/dist/actions/update-trip.d.mts +67 -3
- package/dist/actions/update-trip.d.mts.map +1 -1
- package/dist/actions/update-trip.mjs +2 -2
- package/dist/actions/update-trip.mjs.map +1 -1
- package/dist/actions/upsert-beacon-by-id.cjs +6 -6
- package/dist/actions/upsert-beacon-by-id.cjs.map +1 -1
- package/dist/actions/upsert-beacon-by-id.d.cts +53 -3
- package/dist/actions/upsert-beacon-by-id.d.cts.map +1 -1
- package/dist/actions/upsert-beacon-by-id.d.mts +53 -3
- package/dist/actions/upsert-beacon-by-id.d.mts.map +1 -1
- package/dist/actions/upsert-beacon-by-id.mjs +6 -6
- package/dist/actions/upsert-beacon-by-id.mjs.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.cjs +2 -2
- package/dist/actions/upsert-beacon-by-tag.cjs.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.d.cts +54 -3
- package/dist/actions/upsert-beacon-by-tag.d.cts.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.d.mts +54 -3
- package/dist/actions/upsert-beacon-by-tag.d.mts.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.mjs +2 -2
- package/dist/actions/upsert-beacon-by-tag.mjs.map +1 -1
- package/dist/actions/upsert-geofence-by-id.cjs +6 -6
- package/dist/actions/upsert-geofence-by-id.cjs.map +1 -1
- package/dist/actions/upsert-geofence-by-id.d.cts +48 -3
- package/dist/actions/upsert-geofence-by-id.d.cts.map +1 -1
- package/dist/actions/upsert-geofence-by-id.d.mts +48 -3
- package/dist/actions/upsert-geofence-by-id.d.mts.map +1 -1
- package/dist/actions/upsert-geofence-by-id.mjs +6 -6
- package/dist/actions/upsert-geofence-by-id.mjs.map +1 -1
- package/dist/actions/upsert-geofence.cjs +4 -4
- package/dist/actions/upsert-geofence.cjs.map +1 -1
- package/dist/actions/upsert-geofence.d.cts +40 -3
- package/dist/actions/upsert-geofence.d.cts.map +1 -1
- package/dist/actions/upsert-geofence.d.mts +40 -3
- package/dist/actions/upsert-geofence.d.mts.map +1 -1
- package/dist/actions/upsert-geofence.mjs +4 -4
- package/dist/actions/upsert-geofence.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ip-geocode.mjs","names":[],"sources":["../../src/actions/ip-geocode.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarIpGeocodeInput
|
|
1
|
+
{"version":3,"file":"ip-geocode.mjs","names":[],"sources":["../../src/actions/ip-geocode.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarIpGeocodeInput = z.object({\n ip: z.string().describe(\"The IP address to geocode; defaults to the requester's IP if omitted\").optional(),\n}).describe(\"Request model for IP geocoding.\");\nexport const RadarIpGeocodeOutput = z.object({\n ip: z.string().describe(\"The IP address that was geocoded\").nullable().optional(),\n dma: z.string().describe(\"Designated Market Area of the IP address location\").nullable().optional(),\n city: z.string().describe(\"City of the IP address location\").nullable().optional(),\n state: z.string().describe(\"State or region of the IP address location\").nullable().optional(),\n country: z.string().describe(\"Country of the IP address location\").nullable(),\n dmaCode: z.string().describe(\"DMA code of the IP address location\").nullable().optional(),\n isProxy: z.boolean().describe(\"Indicates if the IP address is a proxy\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the IP address location\").nullable(),\n longitude: z.number().describe(\"Longitude of the IP address location\").nullable(),\n stateCode: z.string().describe(\"State code of the IP address location\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code of the IP address location\").nullable().optional(),\n countryCode: z.string().describe(\"Country code of the IP address location\").nullable(),\n}).describe(\"Response model for IP geocoding.\");\n\nexport const radarIpGeocode = action(\"RADAR_IP_GEOCODE\", {\n slug: \"radar-ip-geocode\",\n name: \"IP Geocode\",\n description: \"Tool to geocode an IP address to city, state, and country. Use when you need location details based on an IP address.\",\n input: RadarIpGeocodeInput,\n output: RadarIpGeocodeOutput,\n});\n"],"mappings":";;AAsBA,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBiC,EAAE,OAAO,EAC1C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,SAAS,iCAoBH;CACP,QApBkC,EAAE,OAAO;EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,SAAS,kCAOF;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const RadarListEventsInput = zod.z.object({
|
|
|
11
11
|
beforeId: zod.z.string().describe("Cursor to return events created before this event ID").optional(),
|
|
12
12
|
deviceId: zod.z.string().describe("Filter events by device ID").optional()
|
|
13
13
|
}).describe("Request model for listing events with optional filtering and pagination.");
|
|
14
|
-
const RadarListEvents_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code from the API response") }).describe("Pagination metadata for list events response.");
|
|
14
|
+
const RadarListEvents_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code from the API response").nullable() }).describe("Pagination metadata for list events response.");
|
|
15
15
|
const RadarListEvents_EventUserSchema = zod.z.object({
|
|
16
16
|
_id: zod.z.string().describe("User internal ID").nullable().optional(),
|
|
17
17
|
deviceId: zod.z.string().describe("Device ID associated with the user").nullable().optional()
|
|
@@ -27,15 +27,15 @@ const RadarListEvents_EventLocationSchema = zod.z.object({
|
|
|
27
27
|
coordinates: zod.z.array(zod.z.number()).describe("Coordinates [longitude, latitude]").nullable().optional()
|
|
28
28
|
}).describe("Location information nested within an event.");
|
|
29
29
|
const RadarListEvents_EventSchema = zod.z.object({
|
|
30
|
-
_id: zod.z.string().describe("Unique event identifier"),
|
|
30
|
+
_id: zod.z.string().describe("Unique event identifier").nullable(),
|
|
31
31
|
live: zod.z.boolean().describe("Whether the event is a live event").nullable().optional(),
|
|
32
|
-
type: zod.z.string().describe("Type of the event"),
|
|
32
|
+
type: zod.z.string().describe("Type of the event").nullable(),
|
|
33
33
|
user: RadarListEvents_EventUserSchema.nullable().optional(),
|
|
34
34
|
stopped: zod.z.boolean().describe("Whether the user was stopped").nullable().optional(),
|
|
35
35
|
deviceId: zod.z.string().describe("Device ID associated with the event").nullable().optional(),
|
|
36
36
|
geofence: RadarListEvents_EventGeofenceSchema.nullable().optional(),
|
|
37
37
|
location: RadarListEvents_EventLocationSchema.nullable().optional(),
|
|
38
|
-
createdAt: zod.z.string().describe("Event creation time in ISO 8601 format"),
|
|
38
|
+
createdAt: zod.z.string().describe("Event creation time in ISO 8601 format").nullable(),
|
|
39
39
|
confidence: zod.z.number().int().describe("Confidence level of the event").nullable().optional(),
|
|
40
40
|
foreground: zod.z.boolean().describe("Whether the event occurred in foreground").nullable().optional(),
|
|
41
41
|
sdkVersion: zod.z.string().describe("SDK version").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-events.cjs","names":["z","action"],"sources":["../../src/actions/list-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarListEventsInput
|
|
1
|
+
{"version":3,"file":"list-events.cjs","names":["z","action"],"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}).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}).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}).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}).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}).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}).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":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC3F,QA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YA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAM,2BAA2B,SAAS;CAC1C,QAAQA,IAAAA,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,uBAAuB;AAC/E,CAAC,CAAC,CAAC,SAAS,4EAA4E;AAExF,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,58 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-events.d.ts
|
|
4
|
-
declare const RadarListEventsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RadarListEventsInput: z.ZodObject<{
|
|
5
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6
|
+
type: z.ZodOptional<z.ZodString>;
|
|
7
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
start: z.ZodOptional<z.ZodString>;
|
|
9
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
10
|
+
afterId: z.ZodOptional<z.ZodString>;
|
|
11
|
+
beforeId: z.ZodOptional<z.ZodString>;
|
|
12
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const RadarListEventsOutput: z.ZodObject<{
|
|
15
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
16
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
events: z.ZodArray<z.ZodObject<{
|
|
19
|
+
_id: z.ZodNullable<z.ZodString>;
|
|
20
|
+
live: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
|
+
type: z.ZodNullable<z.ZodString>;
|
|
22
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23
|
+
_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
deviceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$strip>>>;
|
|
26
|
+
stopped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
27
|
+
deviceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
geofence: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
|
+
_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
}, z.core.$strip>>>;
|
|
34
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
35
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
37
|
+
}, z.core.$strip>>>;
|
|
38
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
39
|
+
confidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
foreground: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
41
|
+
sdkVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
actualCreatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
locationAccuracy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
declare const radarListEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
56
|
//#endregion
|
|
8
57
|
export { radarListEvents };
|
|
9
58
|
//# sourceMappingURL=list-events.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-events.d.cts","names":[],"sources":["../../src/actions/list-events.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"list-events.d.cts","names":[],"sources":["../../src/actions/list-events.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;cA2CpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKrB,eAAA,gCAAe,wBAAA"}
|
|
@@ -1,9 +1,58 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-events.d.ts
|
|
4
|
-
declare const RadarListEventsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RadarListEventsInput: z.ZodObject<{
|
|
5
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6
|
+
type: z.ZodOptional<z.ZodString>;
|
|
7
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
start: z.ZodOptional<z.ZodString>;
|
|
9
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
10
|
+
afterId: z.ZodOptional<z.ZodString>;
|
|
11
|
+
beforeId: z.ZodOptional<z.ZodString>;
|
|
12
|
+
deviceId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const RadarListEventsOutput: z.ZodObject<{
|
|
15
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
16
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
events: z.ZodArray<z.ZodObject<{
|
|
19
|
+
_id: z.ZodNullable<z.ZodString>;
|
|
20
|
+
live: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
|
+
type: z.ZodNullable<z.ZodString>;
|
|
22
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23
|
+
_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
deviceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
}, z.core.$strip>>>;
|
|
26
|
+
stopped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
27
|
+
deviceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
geofence: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
|
+
_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
}, z.core.$strip>>>;
|
|
34
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
35
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
37
|
+
}, z.core.$strip>>>;
|
|
38
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
39
|
+
confidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
foreground: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
41
|
+
sdkVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
actualCreatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
locationAccuracy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
declare const radarListEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
56
|
//#endregion
|
|
8
57
|
export { radarListEvents };
|
|
9
58
|
//# sourceMappingURL=list-events.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-events.d.mts","names":[],"sources":["../../src/actions/list-events.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"list-events.d.mts","names":[],"sources":["../../src/actions/list-events.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;cA2CpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKrB,eAAA,gCAAe,wBAAA"}
|
|
@@ -11,7 +11,7 @@ const RadarListEventsInput = z.object({
|
|
|
11
11
|
beforeId: z.string().describe("Cursor to return events created before this event ID").optional(),
|
|
12
12
|
deviceId: z.string().describe("Filter events by device ID").optional()
|
|
13
13
|
}).describe("Request model for listing events with optional filtering and pagination.");
|
|
14
|
-
const RadarListEvents_MetaSchema = z.object({ code: z.number().int().describe("HTTP status code from the API response") }).describe("Pagination metadata for list events response.");
|
|
14
|
+
const RadarListEvents_MetaSchema = z.object({ code: z.number().int().describe("HTTP status code from the API response").nullable() }).describe("Pagination metadata for list events response.");
|
|
15
15
|
const RadarListEvents_EventUserSchema = z.object({
|
|
16
16
|
_id: z.string().describe("User internal ID").nullable().optional(),
|
|
17
17
|
deviceId: z.string().describe("Device ID associated with the user").nullable().optional()
|
|
@@ -27,15 +27,15 @@ const RadarListEvents_EventLocationSchema = z.object({
|
|
|
27
27
|
coordinates: z.array(z.number()).describe("Coordinates [longitude, latitude]").nullable().optional()
|
|
28
28
|
}).describe("Location information nested within an event.");
|
|
29
29
|
const RadarListEvents_EventSchema = z.object({
|
|
30
|
-
_id: z.string().describe("Unique event identifier"),
|
|
30
|
+
_id: z.string().describe("Unique event identifier").nullable(),
|
|
31
31
|
live: z.boolean().describe("Whether the event is a live event").nullable().optional(),
|
|
32
|
-
type: z.string().describe("Type of the event"),
|
|
32
|
+
type: z.string().describe("Type of the event").nullable(),
|
|
33
33
|
user: RadarListEvents_EventUserSchema.nullable().optional(),
|
|
34
34
|
stopped: z.boolean().describe("Whether the user was stopped").nullable().optional(),
|
|
35
35
|
deviceId: z.string().describe("Device ID associated with the event").nullable().optional(),
|
|
36
36
|
geofence: RadarListEvents_EventGeofenceSchema.nullable().optional(),
|
|
37
37
|
location: RadarListEvents_EventLocationSchema.nullable().optional(),
|
|
38
|
-
createdAt: z.string().describe("Event creation time in ISO 8601 format"),
|
|
38
|
+
createdAt: z.string().describe("Event creation time in ISO 8601 format").nullable(),
|
|
39
39
|
confidence: z.number().int().describe("Confidence level of the event").nullable().optional(),
|
|
40
40
|
foreground: z.boolean().describe("Whether the event occurred in foreground").nullable().optional(),
|
|
41
41
|
sdkVersion: z.string().describe("SDK version").nullable().optional(),
|
|
@@ -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
|
|
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}).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}).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}).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}).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}).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}).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":";;;AAIA,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,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC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AE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAM/C,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmC,EAAE,OAAO;EAC5C,MAAM,2BAA2B,SAAS;EAC1C,QAAQ,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,uBAAuB;CAC/E,CAAC,CAAC,CAAC,SAAS,4EAOF;AACV,CAAC"}
|
|
@@ -13,28 +13,28 @@ const RadarListGeofencesInput = zod.z.object({
|
|
|
13
13
|
updatedBefore: zod.z.string().describe("Return geofences updated before this ISO8601 timestamp").optional()
|
|
14
14
|
}).describe("Request model for listing Radar geofences with optional filters and pagination.");
|
|
15
15
|
const RadarListGeofences_MetaSchema = zod.z.object({
|
|
16
|
-
code: zod.z.number().int().describe("HTTP status code of the response"),
|
|
17
|
-
hasMore: zod.z.boolean().describe("Whether there are more results available")
|
|
16
|
+
code: zod.z.number().int().describe("HTTP status code of the response").nullable(),
|
|
17
|
+
hasMore: zod.z.boolean().describe("Whether there are more results available").nullable()
|
|
18
18
|
}).describe("Pagination metadata for list geofences response.");
|
|
19
19
|
const RadarListGeofences_GeometrySchema = zod.z.object({
|
|
20
|
-
type: zod.z.string().describe("Geometry type, e.g., 'Polygon'"),
|
|
20
|
+
type: zod.z.string().describe("Geometry type, e.g., 'Polygon'").nullable(),
|
|
21
21
|
coordinates: zod.z.array(zod.z.array(zod.z.array(zod.z.number()))).describe("Nested coordinates array for polygon geometry")
|
|
22
22
|
}).describe("Geometry details of the geofence (Polygon representation).");
|
|
23
23
|
const RadarListGeofences_GeometryCenterSchema = zod.z.object({
|
|
24
|
-
type: zod.z.string().describe("Geometry type, e.g., 'Point'"),
|
|
24
|
+
type: zod.z.string().describe("Geometry type, e.g., 'Point'").nullable(),
|
|
25
25
|
coordinates: zod.z.array(zod.z.number()).describe("Coordinates array [longitude, latitude]")
|
|
26
26
|
}).describe("Center point of the geofence.");
|
|
27
27
|
const RadarListGeofences_GeofenceSchema = zod.z.object({
|
|
28
28
|
ip: zod.z.array(zod.z.string()).describe("IP addresses associated with the geofence").nullable().optional(),
|
|
29
|
-
_id: zod.z.string().describe("Unique identifier of the geofence"),
|
|
29
|
+
_id: zod.z.string().describe("Unique identifier of the geofence").nullable(),
|
|
30
30
|
tag: zod.z.string().describe("Tag associated with the geofence").nullable().optional(),
|
|
31
31
|
live: zod.z.boolean().describe("Whether the geofence is in live mode").nullable().optional(),
|
|
32
|
-
type: zod.z.string().describe("Type of the geofence, e.g., 'circle' or 'polygon'"),
|
|
32
|
+
type: zod.z.string().describe("Type of the geofence, e.g., 'circle' or 'polygon'").nullable(),
|
|
33
33
|
enabled: zod.z.boolean().describe("Whether the geofence is enabled").nullable().optional(),
|
|
34
34
|
geometry: RadarListGeofences_GeometrySchema.nullable(),
|
|
35
35
|
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom key-value data attached to the geofence").nullable().optional(),
|
|
36
|
-
createdAt: zod.z.string().describe("ISO8601 timestamp when the geofence was created"),
|
|
37
|
-
updatedAt: zod.z.string().describe("ISO8601 timestamp when the geofence was last updated"),
|
|
36
|
+
createdAt: zod.z.string().describe("ISO8601 timestamp when the geofence was created").nullable(),
|
|
37
|
+
updatedAt: zod.z.string().describe("ISO8601 timestamp when the geofence was last updated").nullable(),
|
|
38
38
|
externalId: zod.z.string().describe("External identifier of the geofence").nullable().optional(),
|
|
39
39
|
description: zod.z.string().describe("Description of the geofence").nullable().optional(),
|
|
40
40
|
geometryCenter: RadarListGeofences_GeometryCenterSchema.nullable().optional(),
|
|
@@ -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
|
|
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}).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}).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}).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}).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}).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":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC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OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAM,8BAA8B,SAAS;CAC7C,WAAWA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,0BAA0B;AAC3F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,56 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-geofences.d.ts
|
|
4
|
-
declare const RadarListGeofencesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RadarListGeofencesInput: z.ZodObject<{
|
|
5
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
6
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
10
|
+
createdAfter: z.ZodOptional<z.ZodString>;
|
|
11
|
+
updatedAfter: z.ZodOptional<z.ZodString>;
|
|
12
|
+
createdBefore: z.ZodOptional<z.ZodString>;
|
|
13
|
+
updatedBefore: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const RadarListGeofencesOutput: z.ZodObject<{
|
|
16
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
17
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
hasMore: z.ZodNullable<z.ZodBoolean>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
geofences: z.ZodArray<z.ZodObject<{
|
|
21
|
+
ip: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
22
|
+
_id: z.ZodNullable<z.ZodString>;
|
|
23
|
+
tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
live: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
25
|
+
type: z.ZodNullable<z.ZodString>;
|
|
26
|
+
enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
27
|
+
geometry: z.ZodNullable<z.ZodObject<{
|
|
28
|
+
type: z.ZodNullable<z.ZodString>;
|
|
29
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber>>>;
|
|
30
|
+
}, z.core.$strip>>;
|
|
31
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
32
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
33
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
34
|
+
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
geometryCenter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
37
|
+
type: z.ZodNullable<z.ZodString>;
|
|
38
|
+
coordinates: z.ZodArray<z.ZodNumber>;
|
|
39
|
+
}, z.core.$strip>>>;
|
|
40
|
+
geometryRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
|
+
}, z.core.$strip>>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
declare const radarListGeofences: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
54
|
//#endregion
|
|
8
55
|
export { radarListGeofences };
|
|
9
56
|
//# sourceMappingURL=list-geofences.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-geofences.d.cts","names":[],"sources":["../../src/actions/list-geofences.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"list-geofences.d.cts","names":[],"sources":["../../src/actions/list-geofences.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;cAuCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA;;;;aAM7B,MAAA"}
|
|
@@ -1,9 +1,56 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-geofences.d.ts
|
|
4
|
-
declare const RadarListGeofencesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RadarListGeofencesInput: z.ZodObject<{
|
|
5
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
6
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9
|
+
externalId: z.ZodOptional<z.ZodString>;
|
|
10
|
+
createdAfter: z.ZodOptional<z.ZodString>;
|
|
11
|
+
updatedAfter: z.ZodOptional<z.ZodString>;
|
|
12
|
+
createdBefore: z.ZodOptional<z.ZodString>;
|
|
13
|
+
updatedBefore: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const RadarListGeofencesOutput: z.ZodObject<{
|
|
16
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
17
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
hasMore: z.ZodNullable<z.ZodBoolean>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
geofences: z.ZodArray<z.ZodObject<{
|
|
21
|
+
ip: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
22
|
+
_id: z.ZodNullable<z.ZodString>;
|
|
23
|
+
tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
live: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
25
|
+
type: z.ZodNullable<z.ZodString>;
|
|
26
|
+
enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
27
|
+
geometry: z.ZodNullable<z.ZodObject<{
|
|
28
|
+
type: z.ZodNullable<z.ZodString>;
|
|
29
|
+
coordinates: z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber>>>;
|
|
30
|
+
}, z.core.$strip>>;
|
|
31
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
32
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
33
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
34
|
+
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
geometryCenter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
37
|
+
type: z.ZodNullable<z.ZodString>;
|
|
38
|
+
coordinates: z.ZodArray<z.ZodNumber>;
|
|
39
|
+
}, z.core.$strip>>>;
|
|
40
|
+
geometryRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
|
+
}, z.core.$strip>>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
declare const radarListGeofences: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
54
|
//#endregion
|
|
8
55
|
export { radarListGeofences };
|
|
9
56
|
//# sourceMappingURL=list-geofences.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-geofences.d.mts","names":[],"sources":["../../src/actions/list-geofences.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"list-geofences.d.mts","names":[],"sources":["../../src/actions/list-geofences.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;cAuCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA;;;;aAM7B,MAAA"}
|
|
@@ -13,28 +13,28 @@ const RadarListGeofencesInput = z.object({
|
|
|
13
13
|
updatedBefore: z.string().describe("Return geofences updated before this ISO8601 timestamp").optional()
|
|
14
14
|
}).describe("Request model for listing Radar geofences with optional filters and pagination.");
|
|
15
15
|
const RadarListGeofences_MetaSchema = z.object({
|
|
16
|
-
code: z.number().int().describe("HTTP status code of the response"),
|
|
17
|
-
hasMore: z.boolean().describe("Whether there are more results available")
|
|
16
|
+
code: z.number().int().describe("HTTP status code of the response").nullable(),
|
|
17
|
+
hasMore: z.boolean().describe("Whether there are more results available").nullable()
|
|
18
18
|
}).describe("Pagination metadata for list geofences response.");
|
|
19
19
|
const RadarListGeofences_GeometrySchema = z.object({
|
|
20
|
-
type: z.string().describe("Geometry type, e.g., 'Polygon'"),
|
|
20
|
+
type: z.string().describe("Geometry type, e.g., 'Polygon'").nullable(),
|
|
21
21
|
coordinates: z.array(z.array(z.array(z.number()))).describe("Nested coordinates array for polygon geometry")
|
|
22
22
|
}).describe("Geometry details of the geofence (Polygon representation).");
|
|
23
23
|
const RadarListGeofences_GeometryCenterSchema = z.object({
|
|
24
|
-
type: z.string().describe("Geometry type, e.g., 'Point'"),
|
|
24
|
+
type: z.string().describe("Geometry type, e.g., 'Point'").nullable(),
|
|
25
25
|
coordinates: z.array(z.number()).describe("Coordinates array [longitude, latitude]")
|
|
26
26
|
}).describe("Center point of the geofence.");
|
|
27
27
|
const RadarListGeofences_GeofenceSchema = z.object({
|
|
28
28
|
ip: z.array(z.string()).describe("IP addresses associated with the geofence").nullable().optional(),
|
|
29
|
-
_id: z.string().describe("Unique identifier of the geofence"),
|
|
29
|
+
_id: z.string().describe("Unique identifier of the geofence").nullable(),
|
|
30
30
|
tag: z.string().describe("Tag associated with the geofence").nullable().optional(),
|
|
31
31
|
live: z.boolean().describe("Whether the geofence is in live mode").nullable().optional(),
|
|
32
|
-
type: z.string().describe("Type of the geofence, e.g., 'circle' or 'polygon'"),
|
|
32
|
+
type: z.string().describe("Type of the geofence, e.g., 'circle' or 'polygon'").nullable(),
|
|
33
33
|
enabled: z.boolean().describe("Whether the geofence is enabled").nullable().optional(),
|
|
34
34
|
geometry: RadarListGeofences_GeometrySchema.nullable(),
|
|
35
35
|
metadata: z.record(z.string(), z.unknown()).describe("Custom key-value data attached to the geofence").nullable().optional(),
|
|
36
|
-
createdAt: z.string().describe("ISO8601 timestamp when the geofence was created"),
|
|
37
|
-
updatedAt: z.string().describe("ISO8601 timestamp when the geofence was last updated"),
|
|
36
|
+
createdAt: z.string().describe("ISO8601 timestamp when the geofence was created").nullable(),
|
|
37
|
+
updatedAt: z.string().describe("ISO8601 timestamp when the geofence was last updated").nullable(),
|
|
38
38
|
externalId: z.string().describe("External identifier of the geofence").nullable().optional(),
|
|
39
39
|
description: z.string().describe("Description of the geofence").nullable().optional(),
|
|
40
40
|
geometryCenter: RadarListGeofences_GeometryCenterSchema.nullable().optional(),
|
|
@@ -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
|
|
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}).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}).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}).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}).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}).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":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SA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,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAMjD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,MAAM,8BAA8B,SAAS;EAC7C,WAAW,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,0BAA0B;CAC3F,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
|
|
@@ -10,15 +10,15 @@ const RadarListTripsInput = zod.z.object({
|
|
|
10
10
|
startingAfter: zod.z.string().describe("Return trips starting immediately after this trip ID.").optional()
|
|
11
11
|
}).describe("Request model for LIST_TRIPS.");
|
|
12
12
|
const RadarListTrips_ListTripsMetaSchema = zod.z.object({
|
|
13
|
-
code: zod.z.number().int().describe("HTTP response code"),
|
|
13
|
+
code: zod.z.number().int().describe("HTTP response code").nullable(),
|
|
14
14
|
limit: zod.z.number().int().describe("Maximum number of items per page").nullable().optional(),
|
|
15
|
-
hasMore: zod.z.boolean().describe("Whether there are more results available"),
|
|
15
|
+
hasMore: zod.z.boolean().describe("Whether there are more results available").nullable(),
|
|
16
16
|
endingBefore: zod.z.string().describe("Cursor for fetching the previous page of results").nullable().optional(),
|
|
17
17
|
startingAfter: zod.z.string().describe("Cursor for fetching the next page of results").nullable().optional()
|
|
18
18
|
}).describe("Metadata object for pagination of list trips.");
|
|
19
19
|
const RadarListTrips_DestinationLocationSchema = zod.z.object({
|
|
20
|
-
latitude: zod.z.number().describe("Latitude of the trip destination"),
|
|
21
|
-
longitude: zod.z.number().describe("Longitude of the trip destination")
|
|
20
|
+
latitude: zod.z.number().describe("Latitude of the trip destination").nullable(),
|
|
21
|
+
longitude: zod.z.number().describe("Longitude of the trip destination").nullable()
|
|
22
22
|
}).describe("Destination location coordinates for a trip.");
|
|
23
23
|
const RadarListTrips_TripSchema = zod.z.object({
|
|
24
24
|
_id: zod.z.string().describe("Unique Radar trip ID").nullable().optional(),
|