@keystrokehq/radar 0.1.0 → 0.1.3
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 +12 -12
- 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 +12 -12
- package/dist/actions/autocomplete-address-or-place.mjs.map +1 -1
- package/dist/actions/create-beacon.cjs +12 -12
- 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 +12 -12
- package/dist/actions/create-beacon.mjs.map +1 -1
- package/dist/actions/create-trip.cjs +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 +1 -1
- package/dist/actions/create-trip.mjs.map +1 -1
- package/dist/actions/delete-beacon.cjs +2 -2
- 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 +2 -2
- package/dist/actions/delete-beacon.mjs.map +1 -1
- package/dist/actions/delete-geofence-by-tag.cjs +2 -2
- 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 +2 -2
- package/dist/actions/delete-geofence-by-tag.mjs.map +1 -1
- package/dist/actions/delete-geofence.cjs +2 -2
- 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 +2 -2
- package/dist/actions/delete-geofence.mjs.map +1 -1
- package/dist/actions/delete-trip.cjs +2 -2
- 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 +2 -2
- package/dist/actions/delete-trip.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +2 -2
- 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 +2 -2
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/forward-geocode.cjs +7 -7
- 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 +7 -7
- package/dist/actions/forward-geocode.mjs.map +1 -1
- package/dist/actions/get-beacon-by-tag.cjs +10 -10
- 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 +10 -10
- package/dist/actions/get-beacon-by-tag.mjs.map +1 -1
- package/dist/actions/get-beacon.cjs +6 -6
- 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 +6 -6
- package/dist/actions/get-beacon.mjs.map +1 -1
- package/dist/actions/get-context-for-location.cjs +18 -18
- 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 +18 -18
- package/dist/actions/get-context-for-location.mjs.map +1 -1
- package/dist/actions/get-geofence.cjs +8 -8
- 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 +8 -8
- package/dist/actions/get-geofence.mjs.map +1 -1
- package/dist/actions/get-places-settings.cjs +3 -3
- 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 +3 -3
- package/dist/actions/get-places-settings.mjs.map +1 -1
- package/dist/actions/get-route-directions.cjs +16 -16
- 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 +16 -16
- package/dist/actions/get-route-directions.mjs.map +1 -1
- package/dist/actions/get-route-matrix.cjs +14 -14
- 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 +14 -14
- package/dist/actions/get-route-matrix.mjs.map +1 -1
- package/dist/actions/get-trip.cjs +6 -6
- 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 +6 -6
- package/dist/actions/get-trip.mjs.map +1 -1
- package/dist/actions/get-user.cjs +8 -8
- 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 +8 -8
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-users-in-geofence.cjs +4 -4
- 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 +4 -4
- package/dist/actions/get-users-in-geofence.mjs.map +1 -1
- package/dist/actions/ip-geocode.cjs +5 -5
- 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 +5 -5
- package/dist/actions/ip-geocode.mjs.map +1 -1
- package/dist/actions/list-events.cjs +9 -9
- 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 +9 -9
- package/dist/actions/list-events.mjs.map +1 -1
- package/dist/actions/list-geofences.cjs +13 -13
- 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 +13 -13
- package/dist/actions/list-geofences.mjs.map +1 -1
- package/dist/actions/list-trips.cjs +9 -9
- 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 +9 -9
- package/dist/actions/list-trips.mjs.map +1 -1
- package/dist/actions/list-users.cjs +8 -8
- 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 +8 -8
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/reverse-geocode.cjs +2 -2
- 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 +2 -2
- package/dist/actions/reverse-geocode.mjs.map +1 -1
- package/dist/actions/route-distance.cjs +12 -12
- 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 +12 -12
- package/dist/actions/route-distance.mjs.map +1 -1
- package/dist/actions/search-geofences-near-location.cjs +5 -5
- 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 +5 -5
- package/dist/actions/search-geofences-near-location.mjs.map +1 -1
- package/dist/actions/search-places-near-location.cjs +9 -9
- 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 +9 -9
- package/dist/actions/search-places-near-location.mjs.map +1 -1
- package/dist/actions/search-users-near-location.cjs +9 -9
- 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 +9 -9
- package/dist/actions/search-users-near-location.mjs.map +1 -1
- package/dist/actions/track-location-update.cjs +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 +1 -1
- package/dist/actions/track-location-update.mjs.map +1 -1
- package/dist/actions/update-places-settings.cjs +3 -3
- 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 +3 -3
- package/dist/actions/update-places-settings.mjs.map +1 -1
- package/dist/actions/update-trip-by-id.cjs +3 -3
- 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 +3 -3
- package/dist/actions/update-trip-by-id.mjs.map +1 -1
- package/dist/actions/update-trip.cjs +5 -5
- 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 +5 -5
- package/dist/actions/update-trip.mjs.map +1 -1
- package/dist/actions/upsert-beacon-by-id.cjs +9 -9
- 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 +9 -9
- package/dist/actions/upsert-beacon-by-id.mjs.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.cjs +8 -8
- 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 +8 -8
- package/dist/actions/upsert-beacon-by-tag.mjs.map +1 -1
- package/dist/actions/upsert-geofence-by-id.cjs +12 -12
- 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 +12 -12
- package/dist/actions/upsert-geofence-by-id.mjs.map +1 -1
- package/dist/actions/upsert-geofence.cjs +7 -7
- 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 +7 -7
- 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":"get-places-settings.mjs","names":[],"sources":["../../src/actions/get-places-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetPlacesSettingsInput
|
|
1
|
+
{"version":3,"file":"get-places-settings.mjs","names":[],"sources":["../../src/actions/get-places-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetPlacesSettingsInput = z.object({}).describe(\"Request model for retrieving current Places settings. No parameters required.\");\nconst RadarGetPlacesSettings_MetaInfoSchema = z.object({\n code: z.number().int().describe(\"HTTP response code\").nullable(),\n}).passthrough().describe(\"Meta information about the API response.\");\nconst RadarGetPlacesSettings_PlacesSettingsSchema = z.object({\n country: z.array(z.string()).describe(\"List of supported country codes\").nullable().optional(),\n chainIds: z.array(z.string()).describe(\"Allowed chain IDs\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Additional metadata about Places settings\").nullable().optional(),\n chainDetection: z.boolean().describe(\"Flag indicating whether chain detection is enabled\").nullable().optional(),\n externalIdRequired: z.boolean().describe(\"Flag indicating whether an external ID is required for places\").nullable().optional(),\n chainMinimumConfidence: z.number().int().describe(\"Minimum confidence for chain matching\").nullable().optional(),\n}).passthrough().describe(\"Settings related to Radar Places for the project.\");\nexport const RadarGetPlacesSettingsOutput = z.object({\n meta: RadarGetPlacesSettings_MetaInfoSchema.nullable(),\n places: RadarGetPlacesSettings_PlacesSettingsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving current Places settings.\");\n\nexport const radarGetPlacesSettings = action(\"RADAR_GET_PLACES_SETTINGS\", {\n slug: \"radar-get-places-settings\",\n name: \"Get Places Settings\",\n description: \"Tool to retrieve current Places settings for your Radar project. Use when you need to inspect chain detection, supported countries, external ID requirements, and other Places metadata.\",\n input: RadarGetPlacesSett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SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -30,24 +30,24 @@ const RadarGetRouteDirectionsInput = zod.z.object({
|
|
|
30
30
|
alternatives: zod.z.boolean().describe("Return alternative routes (only works for two-location routes). Defaults to false").optional(),
|
|
31
31
|
departureTime: zod.z.string().describe("ISO 8601 datetime for historical traffic consideration (e.g., '2025-01-01T14:30:00Z')").optional()
|
|
32
32
|
}).describe("Request model for getting turn-by-turn directions between multiple locations.");
|
|
33
|
-
const RadarGetRouteDirections_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code") }).describe("Metadata for the route directions response.");
|
|
33
|
+
const RadarGetRouteDirections_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code").nullable() }).passthrough().describe("Metadata for the route directions response.");
|
|
34
34
|
const RadarGetRouteDirections_DistanceInfoSchema = zod.z.object({
|
|
35
|
-
text: zod.z.string().describe("Human-readable distance string"),
|
|
36
|
-
value: zod.z.number().describe("Distance value in feet or meters depending on units")
|
|
37
|
-
}).describe("Distance information for a route segment.");
|
|
35
|
+
text: zod.z.string().describe("Human-readable distance string").nullable(),
|
|
36
|
+
value: zod.z.number().describe("Distance value in feet or meters depending on units").nullable()
|
|
37
|
+
}).passthrough().describe("Distance information for a route segment.");
|
|
38
38
|
const RadarGetRouteDirections_DurationInfoSchema = zod.z.object({
|
|
39
|
-
text: zod.z.string().describe("Human-readable duration string"),
|
|
40
|
-
value: zod.z.number().describe("Duration value in seconds")
|
|
41
|
-
}).describe("Duration information for a route segment.");
|
|
39
|
+
text: zod.z.string().describe("Human-readable duration string").nullable(),
|
|
40
|
+
value: zod.z.number().describe("Duration value in seconds").nullable()
|
|
41
|
+
}).passthrough().describe("Duration information for a route segment.");
|
|
42
42
|
const RadarGetRouteDirections_GeometryInfoSchema = zod.z.object({
|
|
43
43
|
type: zod.z.string().describe("GeoJSON geometry type (when using linestring format)").nullable().optional(),
|
|
44
44
|
polyline: zod.z.string().describe("Encoded polyline string representing the route path").nullable().optional(),
|
|
45
45
|
coordinates: zod.z.array(zod.z.array(zod.z.number())).describe("List of [longitude, latitude] coordinate pairs (when using linestring format)").nullable().optional()
|
|
46
|
-
}).describe("Route geometry - encoded polyline or linestring.");
|
|
46
|
+
}).passthrough().describe("Route geometry - encoded polyline or linestring.");
|
|
47
47
|
const RadarGetRouteDirections_LocationSchema = zod.z.object({
|
|
48
|
-
latitude: zod.z.number().describe("Latitude coordinate"),
|
|
49
|
-
longitude: zod.z.number().describe("Longitude coordinate")
|
|
50
|
-
}).describe("Geographic location with latitude and longitude.");
|
|
48
|
+
latitude: zod.z.number().describe("Latitude coordinate").nullable(),
|
|
49
|
+
longitude: zod.z.number().describe("Longitude coordinate").nullable()
|
|
50
|
+
}).passthrough().describe("Geographic location with latitude and longitude.");
|
|
51
51
|
const RadarGetRouteDirections_StepSchema = zod.z.object({
|
|
52
52
|
mode: zod.z.string().describe("Travel mode for this step").nullable().optional(),
|
|
53
53
|
distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),
|
|
@@ -57,13 +57,13 @@ const RadarGetRouteDirections_StepSchema = zod.z.object({
|
|
|
57
57
|
exit_name: zod.z.string().describe("Exit name if applicable").nullable().optional(),
|
|
58
58
|
street_name: zod.z.string().describe("Street name for this step").nullable().optional(),
|
|
59
59
|
end_location: RadarGetRouteDirections_LocationSchema.nullable(),
|
|
60
|
-
instructions: zod.z.string().describe("Turn-by-turn instruction text"),
|
|
60
|
+
instructions: zod.z.string().describe("Turn-by-turn instruction text").nullable(),
|
|
61
61
|
bearing_after: zod.z.number().describe("Compass bearing after the maneuver").nullable().optional(),
|
|
62
62
|
bearing_before: zod.z.number().describe("Compass bearing before the maneuver").nullable().optional(),
|
|
63
63
|
start_location: RadarGetRouteDirections_LocationSchema.nullable(),
|
|
64
64
|
voice_instructions: zod.z.string().describe("Voice instruction text for navigation").nullable().optional(),
|
|
65
65
|
banner_instructions: zod.z.string().describe("Banner instruction text for display").nullable().optional()
|
|
66
|
-
}).describe("A single turn-by-turn direction step.");
|
|
66
|
+
}).passthrough().describe("A single turn-by-turn direction step.");
|
|
67
67
|
const RadarGetRouteDirections_LegSchema = zod.z.object({
|
|
68
68
|
steps: zod.z.array(RadarGetRouteDirections_StepSchema).describe("Turn-by-turn direction steps for this leg"),
|
|
69
69
|
distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),
|
|
@@ -71,17 +71,17 @@ const RadarGetRouteDirections_LegSchema = zod.z.object({
|
|
|
71
71
|
geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional(),
|
|
72
72
|
endLocation: RadarGetRouteDirections_LocationSchema.nullable(),
|
|
73
73
|
startLocation: RadarGetRouteDirections_LocationSchema.nullable()
|
|
74
|
-
}).describe("A leg of the route between two consecutive locations.");
|
|
74
|
+
}).passthrough().describe("A leg of the route between two consecutive locations.");
|
|
75
75
|
const RadarGetRouteDirections_RouteSchema = zod.z.object({
|
|
76
76
|
legs: zod.z.array(RadarGetRouteDirections_LegSchema).describe("List of route legs between consecutive locations"),
|
|
77
77
|
distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),
|
|
78
78
|
duration: RadarGetRouteDirections_DurationInfoSchema.nullable(),
|
|
79
79
|
geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional()
|
|
80
|
-
}).describe("A complete route with legs and steps.");
|
|
80
|
+
}).passthrough().describe("A complete route with legs and steps.");
|
|
81
81
|
const RadarGetRouteDirectionsOutput = zod.z.object({
|
|
82
82
|
meta: RadarGetRouteDirections_MetaSchema.nullable(),
|
|
83
83
|
routes: zod.z.array(RadarGetRouteDirections_RouteSchema).describe("List of routes (multiple if alternatives requested)")
|
|
84
|
-
}).describe("Response model containing turn-by-turn directions between multiple locations.");
|
|
84
|
+
}).passthrough().describe("Response model containing turn-by-turn directions between multiple locations.");
|
|
85
85
|
const radarGetRouteDirections = require_action.action("RADAR_GET_ROUTE_DIRECTIONS", {
|
|
86
86
|
slug: "radar-get-route-directions",
|
|
87
87
|
name: "Get Route Directions",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-route-directions.cjs","names":["z","action"],"sources":["../../src/actions/get-route-directions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetRouteDirectionsInput: z.ZodTypeAny = z.object({\n lang: z.enum([\"de\", \"en\", \"es\", \"fr\", \"ja\", \"ko\", \"pt\", \"ru\"]).describe(\"Result language. Options: 'de', 'en', 'es', 'fr', 'ja', 'ko', 'pt', 'ru'. Defaults to 'en'\").optional(),\n mode: z.enum([\"car\", \"truck\", \"foot\", \"bike\"]).describe(\"Travel method. Options: 'car', 'truck', 'foot', 'bike'. Defaults to 'car'\").optional(),\n avoid: z.string().describe(\"Route features to bypass, comma-separated. Options: 'tolls', 'highways', 'ferries', 'borderCrossings'\").optional(),\n units: z.enum([\"metric\", \"imperial\"]).describe(\"Distance units. Options: 'metric', 'imperial'. Defaults to 'imperial'\").optional(),\n heading: z.number().describe(\"Initial travel direction in degrees (0=north, 90=east, 180=south, 270=west)\").optional(),\n geometry: z.enum([\"linestring\", \"polyline5\", \"polyline6\"]).describe(\"Response geometry format. Options: 'linestring', 'polyline5', 'polyline6'. Defaults to 'polyline6'\").optional(),\n locations: z.string().describe(\"A list of up to 25 coordinates to visit in order. A pipe-delimited string in the format 'latitude0,longitude0|latitude1,longitude1|...'\"),\n alternatives: z.boolean().describe(\"Return alternative routes (only works for two-location routes). Defaults to false\").optional(),\n departureTime: z.string().describe(\"ISO 8601 datetime for historical traffic consideration (e.g., '2025-01-01T14:30:00Z')\").optional(),\n}).describe(\"Request model for getting turn-by-turn directions between multiple locations.\");\nconst RadarGetRouteDirections_MetaSchema: z.ZodTypeAny = z.object({\n code: z.number().int().describe(\"HTTP status code\"),\n}).describe(\"Metadata for the route directions response.\");\nconst RadarGetRouteDirections_DistanceInfoSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Human-readable distance string\"),\n value: z.number().describe(\"Distance value in feet or meters depending on units\"),\n}).describe(\"Distance information for a route segment.\");\nconst RadarGetRouteDirections_DurationInfoSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Human-readable duration string\"),\n value: z.number().describe(\"Duration value in seconds\"),\n}).describe(\"Duration information for a route segment.\");\nconst RadarGetRouteDirections_GeometryInfoSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"GeoJSON geometry type (when using linestring format)\").nullable().optional(),\n polyline: z.string().describe(\"Encoded polyline string representing the route path\").nullable().optional(),\n coordinates: z.array(z.array(z.number())).describe(\"List of [longitude, latitude] coordinate pairs (when using linestring format)\").nullable().optional(),\n}).describe(\"Route geometry - encoded polyline or linestring.\");\nconst RadarGetRouteDirections_LocationSchema: z.ZodTypeAny = z.object({\n latitude: z.number().describe(\"Latitude coordinate\"),\n longitude: z.number().describe(\"Longitude coordinate\"),\n}).describe(\"Geographic location with latitude and longitude.\");\nconst RadarGetRouteDirections_StepSchema: z.ZodTypeAny = z.object({\n mode: z.string().describe(\"Travel mode for this step\").nullable().optional(),\n distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),\n duration: RadarGetRouteDirections_DurationInfoSchema.nullable(),\n geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional(),\n maneuver: z.string().describe(\"Maneuver type (e.g., 'turn-right', 'merge')\").nullable().optional(),\n exit_name: z.string().describe(\"Exit name if applicable\").nullable().optional(),\n street_name: z.string().describe(\"Street name for this step\").nullable().optional(),\n end_location: RadarGetRouteDirections_LocationSchema.nullable(),\n instructions: z.string().describe(\"Turn-by-turn instruction text\"),\n bearing_after: z.number().describe(\"Compass bearing after the maneuver\").nullable().optional(),\n bearing_before: z.number().describe(\"Compass bearing before the maneuver\").nullable().optional(),\n start_location: RadarGetRouteDirections_LocationSchema.nullable(),\n voice_instructions: z.string().describe(\"Voice instruction text for navigation\").nullable().optional(),\n banner_instructions: z.string().describe(\"Banner instruction text for display\").nullable().optional(),\n}).describe(\"A single turn-by-turn direction step.\");\nconst RadarGetRouteDirections_LegSchema: z.ZodTypeAny = z.object({\n steps: z.array(RadarGetRouteDirections_StepSchema).describe(\"Turn-by-turn direction steps for this leg\"),\n distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),\n duration: RadarGetRouteDirections_DurationInfoSchema.nullable(),\n geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional(),\n endLocation: RadarGetRouteDirections_LocationSchema.nullable(),\n startLocation: RadarGetRouteDirections_LocationSchema.nullable(),\n}).describe(\"A leg of the route between two consecutive locations.\");\nconst RadarGetRouteDirections_RouteSchema: z.ZodTypeAny = z.object({\n legs: z.array(RadarGetRouteDirections_LegSchema).describe(\"List of route legs between consecutive locations\"),\n distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),\n duration: RadarGetRouteDirections_DurationInfoSchema.nullable(),\n geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional(),\n}).describe(\"A complete route with legs and steps.\");\nexport const RadarGetRouteDirectionsOutput: z.ZodTypeAny = z.object({\n meta: RadarGetRouteDirections_MetaSchema.nullable(),\n routes: z.array(RadarGetRouteDirections_RouteSchema).describe(\"List of routes (multiple if alternatives requested)\"),\n}).describe(\"Response model containing turn-by-turn directions between multiple locations.\");\n\nexport const radarGetRouteDirections = action(\"RADAR_GET_ROUTE_DIRECTIONS\", {\n slug: \"radar-get-route-directions\",\n name: \"Get Route Directions\",\n description: \"Tool to get turn-by-turn directions between multiple locations. Use when you need detailed navigation instructions with steps, distances, and durations for routing.\",\n input: RadarGetRouteDirectionsInput,\n output: RadarGetRouteDirectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAC/K,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAS;EAAQ;CAAM,CAAC,CAAC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Aa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-route-directions.cjs","names":["z","action"],"sources":["../../src/actions/get-route-directions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetRouteDirectionsInput = z.object({\n lang: z.enum([\"de\", \"en\", \"es\", \"fr\", \"ja\", \"ko\", \"pt\", \"ru\"]).describe(\"Result language. Options: 'de', 'en', 'es', 'fr', 'ja', 'ko', 'pt', 'ru'. Defaults to 'en'\").optional(),\n mode: z.enum([\"car\", \"truck\", \"foot\", \"bike\"]).describe(\"Travel method. Options: 'car', 'truck', 'foot', 'bike'. Defaults to 'car'\").optional(),\n avoid: z.string().describe(\"Route features to bypass, comma-separated. Options: 'tolls', 'highways', 'ferries', 'borderCrossings'\").optional(),\n units: z.enum([\"metric\", \"imperial\"]).describe(\"Distance units. Options: 'metric', 'imperial'. Defaults to 'imperial'\").optional(),\n heading: z.number().describe(\"Initial travel direction in degrees (0=north, 90=east, 180=south, 270=west)\").optional(),\n geometry: z.enum([\"linestring\", \"polyline5\", \"polyline6\"]).describe(\"Response geometry format. Options: 'linestring', 'polyline5', 'polyline6'. Defaults to 'polyline6'\").optional(),\n locations: z.string().describe(\"A list of up to 25 coordinates to visit in order. A pipe-delimited string in the format 'latitude0,longitude0|latitude1,longitude1|...'\"),\n alternatives: z.boolean().describe(\"Return alternative routes (only works for two-location routes). Defaults to false\").optional(),\n departureTime: z.string().describe(\"ISO 8601 datetime for historical traffic consideration (e.g., '2025-01-01T14:30:00Z')\").optional(),\n}).describe(\"Request model for getting turn-by-turn directions between multiple locations.\");\nconst RadarGetRouteDirections_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n}).passthrough().describe(\"Metadata for the route directions response.\");\nconst RadarGetRouteDirections_DistanceInfoSchema = z.object({\n text: z.string().describe(\"Human-readable distance string\").nullable(),\n value: z.number().describe(\"Distance value in feet or meters depending on units\").nullable(),\n}).passthrough().describe(\"Distance information for a route segment.\");\nconst RadarGetRouteDirections_DurationInfoSchema = z.object({\n text: z.string().describe(\"Human-readable duration string\").nullable(),\n value: z.number().describe(\"Duration value in seconds\").nullable(),\n}).passthrough().describe(\"Duration information for a route segment.\");\nconst RadarGetRouteDirections_GeometryInfoSchema = z.object({\n type: z.string().describe(\"GeoJSON geometry type (when using linestring format)\").nullable().optional(),\n polyline: z.string().describe(\"Encoded polyline string representing the route path\").nullable().optional(),\n coordinates: z.array(z.array(z.number())).describe(\"List of [longitude, latitude] coordinate pairs (when using linestring format)\").nullable().optional(),\n}).passthrough().describe(\"Route geometry - encoded polyline or linestring.\");\nconst RadarGetRouteDirections_LocationSchema = z.object({\n latitude: z.number().describe(\"Latitude coordinate\").nullable(),\n longitude: z.number().describe(\"Longitude coordinate\").nullable(),\n}).passthrough().describe(\"Geographic location with latitude and longitude.\");\nconst RadarGetRouteDirections_StepSchema = z.object({\n mode: z.string().describe(\"Travel mode for this step\").nullable().optional(),\n distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),\n duration: RadarGetRouteDirections_DurationInfoSchema.nullable(),\n geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional(),\n maneuver: z.string().describe(\"Maneuver type (e.g., 'turn-right', 'merge')\").nullable().optional(),\n exit_name: z.string().describe(\"Exit name if applicable\").nullable().optional(),\n street_name: z.string().describe(\"Street name for this step\").nullable().optional(),\n end_location: RadarGetRouteDirections_LocationSchema.nullable(),\n instructions: z.string().describe(\"Turn-by-turn instruction text\").nullable(),\n bearing_after: z.number().describe(\"Compass bearing after the maneuver\").nullable().optional(),\n bearing_before: z.number().describe(\"Compass bearing before the maneuver\").nullable().optional(),\n start_location: RadarGetRouteDirections_LocationSchema.nullable(),\n voice_instructions: z.string().describe(\"Voice instruction text for navigation\").nullable().optional(),\n banner_instructions: z.string().describe(\"Banner instruction text for display\").nullable().optional(),\n}).passthrough().describe(\"A single turn-by-turn direction step.\");\nconst RadarGetRouteDirections_LegSchema = z.object({\n steps: z.array(RadarGetRouteDirections_StepSchema).describe(\"Turn-by-turn direction steps for this leg\"),\n distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),\n duration: RadarGetRouteDirections_DurationInfoSchema.nullable(),\n geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional(),\n endLocation: RadarGetRouteDirections_LocationSchema.nullable(),\n startLocation: RadarGetRouteDirections_LocationSchema.nullable(),\n}).passthrough().describe(\"A leg of the route between two consecutive locations.\");\nconst RadarGetRouteDirections_RouteSchema = z.object({\n legs: z.array(RadarGetRouteDirections_LegSchema).describe(\"List of route legs between consecutive locations\"),\n distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),\n duration: RadarGetRouteDirections_DurationInfoSchema.nullable(),\n geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional(),\n}).passthrough().describe(\"A complete route with legs and steps.\");\nexport const RadarGetRouteDirectionsOutput = z.object({\n meta: RadarGetRouteDirections_MetaSchema.nullable(),\n routes: z.array(RadarGetRouteDirections_RouteSchema).describe(\"List of routes (multiple if alternatives requested)\"),\n}).passthrough().describe(\"Response model containing turn-by-turn directions between multiple locations.\");\n\nexport const radarGetRouteDirections = action(\"RADAR_GET_ROUTE_DIRECTIONS\", {\n slug: \"radar-get-route-directions\",\n name: \"Get Route Directions\",\n description: \"Tool to get turn-by-turn directions between multiple locations. Use when you need detailed navigation instructions with steps, distances, and durations for routing.\",\n input: RadarGetRouteDirectionsInput,\n output: RadarGetRouteDirectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAC/K,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAS;EAAQ;CAAM,CAAC,CAAC,CAAC,SAAS,2EAA2E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AC,CAAC,SAAS,uCAAuC;AACjE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAM,mCAAmC,SAAS;CAClD,QAAQA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,qDAAqD;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAA+E;AAEzG,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,124 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-route-directions.d.ts
|
|
4
|
-
declare const RadarGetRouteDirectionsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RadarGetRouteDirectionsInput: z.ZodObject<{
|
|
5
|
+
lang: z.ZodOptional<z.ZodEnum<{
|
|
6
|
+
de: "de";
|
|
7
|
+
en: "en";
|
|
8
|
+
es: "es";
|
|
9
|
+
fr: "fr";
|
|
10
|
+
ja: "ja";
|
|
11
|
+
ko: "ko";
|
|
12
|
+
pt: "pt";
|
|
13
|
+
ru: "ru";
|
|
14
|
+
}>>;
|
|
15
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
16
|
+
car: "car";
|
|
17
|
+
foot: "foot";
|
|
18
|
+
bike: "bike";
|
|
19
|
+
truck: "truck";
|
|
20
|
+
}>>;
|
|
21
|
+
avoid: z.ZodOptional<z.ZodString>;
|
|
22
|
+
units: z.ZodOptional<z.ZodEnum<{
|
|
23
|
+
metric: "metric";
|
|
24
|
+
imperial: "imperial";
|
|
25
|
+
}>>;
|
|
26
|
+
heading: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
geometry: z.ZodOptional<z.ZodEnum<{
|
|
28
|
+
linestring: "linestring";
|
|
29
|
+
polyline5: "polyline5";
|
|
30
|
+
polyline6: "polyline6";
|
|
31
|
+
}>>;
|
|
32
|
+
locations: z.ZodString;
|
|
33
|
+
alternatives: z.ZodOptional<z.ZodBoolean>;
|
|
34
|
+
departureTime: z.ZodOptional<z.ZodString>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
declare const RadarGetRouteDirectionsOutput: z.ZodObject<{
|
|
37
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
38
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
}, z.core.$loose>>;
|
|
40
|
+
routes: z.ZodArray<z.ZodObject<{
|
|
41
|
+
legs: z.ZodArray<z.ZodObject<{
|
|
42
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
43
|
+
mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
distance: z.ZodNullable<z.ZodObject<{
|
|
45
|
+
text: z.ZodNullable<z.ZodString>;
|
|
46
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
47
|
+
}, z.core.$loose>>;
|
|
48
|
+
duration: z.ZodNullable<z.ZodObject<{
|
|
49
|
+
text: z.ZodNullable<z.ZodString>;
|
|
50
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
51
|
+
}, z.core.$loose>>;
|
|
52
|
+
geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
53
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
|
|
56
|
+
}, z.core.$loose>>>;
|
|
57
|
+
maneuver: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
+
exit_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
+
street_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
+
end_location: z.ZodNullable<z.ZodObject<{
|
|
61
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
62
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
63
|
+
}, z.core.$loose>>;
|
|
64
|
+
instructions: z.ZodNullable<z.ZodString>;
|
|
65
|
+
bearing_after: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
66
|
+
bearing_before: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
67
|
+
start_location: z.ZodNullable<z.ZodObject<{
|
|
68
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
69
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
70
|
+
}, z.core.$loose>>;
|
|
71
|
+
voice_instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
+
banner_instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
+
}, z.core.$loose>>;
|
|
74
|
+
distance: z.ZodNullable<z.ZodObject<{
|
|
75
|
+
text: z.ZodNullable<z.ZodString>;
|
|
76
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
77
|
+
}, z.core.$loose>>;
|
|
78
|
+
duration: z.ZodNullable<z.ZodObject<{
|
|
79
|
+
text: z.ZodNullable<z.ZodString>;
|
|
80
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
81
|
+
}, z.core.$loose>>;
|
|
82
|
+
geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
83
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
84
|
+
polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
85
|
+
coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
|
|
86
|
+
}, z.core.$loose>>>;
|
|
87
|
+
endLocation: z.ZodNullable<z.ZodObject<{
|
|
88
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
89
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
90
|
+
}, z.core.$loose>>;
|
|
91
|
+
startLocation: z.ZodNullable<z.ZodObject<{
|
|
92
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
93
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
94
|
+
}, z.core.$loose>>;
|
|
95
|
+
}, z.core.$loose>>;
|
|
96
|
+
distance: z.ZodNullable<z.ZodObject<{
|
|
97
|
+
text: z.ZodNullable<z.ZodString>;
|
|
98
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
99
|
+
}, z.core.$loose>>;
|
|
100
|
+
duration: z.ZodNullable<z.ZodObject<{
|
|
101
|
+
text: z.ZodNullable<z.ZodString>;
|
|
102
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
103
|
+
}, z.core.$loose>>;
|
|
104
|
+
geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
105
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
106
|
+
polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
107
|
+
coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
|
|
108
|
+
}, z.core.$loose>>>;
|
|
109
|
+
}, z.core.$loose>>;
|
|
110
|
+
}, z.core.$loose>;
|
|
111
|
+
declare const radarGetRouteDirections: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
112
|
+
locations: string;
|
|
113
|
+
lang?: "de" | "en" | "es" | "fr" | "ja" | "ko" | "pt" | "ru" | undefined;
|
|
114
|
+
mode?: "car" | "foot" | "bike" | "truck" | undefined;
|
|
115
|
+
avoid?: string | undefined;
|
|
116
|
+
units?: "metric" | "imperial" | undefined;
|
|
117
|
+
heading?: number | undefined;
|
|
118
|
+
geometry?: "linestring" | "polyline5" | "polyline6" | undefined;
|
|
119
|
+
alternatives?: boolean | undefined;
|
|
120
|
+
departureTime?: string | undefined;
|
|
121
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
122
|
//#endregion
|
|
8
123
|
export { radarGetRouteDirections };
|
|
9
124
|
//# sourceMappingURL=get-route-directions.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-route-directions.d.cts","names":[],"sources":["../../src/actions/get-route-directions.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"get-route-directions.d.cts","names":[],"sources":["../../src/actions/get-route-directions.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6D5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,124 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-route-directions.d.ts
|
|
4
|
-
declare const RadarGetRouteDirectionsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RadarGetRouteDirectionsInput: z.ZodObject<{
|
|
5
|
+
lang: z.ZodOptional<z.ZodEnum<{
|
|
6
|
+
de: "de";
|
|
7
|
+
en: "en";
|
|
8
|
+
es: "es";
|
|
9
|
+
fr: "fr";
|
|
10
|
+
ja: "ja";
|
|
11
|
+
ko: "ko";
|
|
12
|
+
pt: "pt";
|
|
13
|
+
ru: "ru";
|
|
14
|
+
}>>;
|
|
15
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
16
|
+
car: "car";
|
|
17
|
+
foot: "foot";
|
|
18
|
+
bike: "bike";
|
|
19
|
+
truck: "truck";
|
|
20
|
+
}>>;
|
|
21
|
+
avoid: z.ZodOptional<z.ZodString>;
|
|
22
|
+
units: z.ZodOptional<z.ZodEnum<{
|
|
23
|
+
metric: "metric";
|
|
24
|
+
imperial: "imperial";
|
|
25
|
+
}>>;
|
|
26
|
+
heading: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
geometry: z.ZodOptional<z.ZodEnum<{
|
|
28
|
+
linestring: "linestring";
|
|
29
|
+
polyline5: "polyline5";
|
|
30
|
+
polyline6: "polyline6";
|
|
31
|
+
}>>;
|
|
32
|
+
locations: z.ZodString;
|
|
33
|
+
alternatives: z.ZodOptional<z.ZodBoolean>;
|
|
34
|
+
departureTime: z.ZodOptional<z.ZodString>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
declare const RadarGetRouteDirectionsOutput: z.ZodObject<{
|
|
37
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
38
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
}, z.core.$loose>>;
|
|
40
|
+
routes: z.ZodArray<z.ZodObject<{
|
|
41
|
+
legs: z.ZodArray<z.ZodObject<{
|
|
42
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
43
|
+
mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
distance: z.ZodNullable<z.ZodObject<{
|
|
45
|
+
text: z.ZodNullable<z.ZodString>;
|
|
46
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
47
|
+
}, z.core.$loose>>;
|
|
48
|
+
duration: z.ZodNullable<z.ZodObject<{
|
|
49
|
+
text: z.ZodNullable<z.ZodString>;
|
|
50
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
51
|
+
}, z.core.$loose>>;
|
|
52
|
+
geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
53
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
|
|
56
|
+
}, z.core.$loose>>>;
|
|
57
|
+
maneuver: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
+
exit_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
+
street_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
+
end_location: z.ZodNullable<z.ZodObject<{
|
|
61
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
62
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
63
|
+
}, z.core.$loose>>;
|
|
64
|
+
instructions: z.ZodNullable<z.ZodString>;
|
|
65
|
+
bearing_after: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
66
|
+
bearing_before: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
67
|
+
start_location: z.ZodNullable<z.ZodObject<{
|
|
68
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
69
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
70
|
+
}, z.core.$loose>>;
|
|
71
|
+
voice_instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
+
banner_instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
+
}, z.core.$loose>>;
|
|
74
|
+
distance: z.ZodNullable<z.ZodObject<{
|
|
75
|
+
text: z.ZodNullable<z.ZodString>;
|
|
76
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
77
|
+
}, z.core.$loose>>;
|
|
78
|
+
duration: z.ZodNullable<z.ZodObject<{
|
|
79
|
+
text: z.ZodNullable<z.ZodString>;
|
|
80
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
81
|
+
}, z.core.$loose>>;
|
|
82
|
+
geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
83
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
84
|
+
polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
85
|
+
coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
|
|
86
|
+
}, z.core.$loose>>>;
|
|
87
|
+
endLocation: z.ZodNullable<z.ZodObject<{
|
|
88
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
89
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
90
|
+
}, z.core.$loose>>;
|
|
91
|
+
startLocation: z.ZodNullable<z.ZodObject<{
|
|
92
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
93
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
94
|
+
}, z.core.$loose>>;
|
|
95
|
+
}, z.core.$loose>>;
|
|
96
|
+
distance: z.ZodNullable<z.ZodObject<{
|
|
97
|
+
text: z.ZodNullable<z.ZodString>;
|
|
98
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
99
|
+
}, z.core.$loose>>;
|
|
100
|
+
duration: z.ZodNullable<z.ZodObject<{
|
|
101
|
+
text: z.ZodNullable<z.ZodString>;
|
|
102
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
103
|
+
}, z.core.$loose>>;
|
|
104
|
+
geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
105
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
106
|
+
polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
107
|
+
coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
|
|
108
|
+
}, z.core.$loose>>>;
|
|
109
|
+
}, z.core.$loose>>;
|
|
110
|
+
}, z.core.$loose>;
|
|
111
|
+
declare const radarGetRouteDirections: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
112
|
+
locations: string;
|
|
113
|
+
lang?: "de" | "en" | "es" | "fr" | "ja" | "ko" | "pt" | "ru" | undefined;
|
|
114
|
+
mode?: "car" | "foot" | "bike" | "truck" | undefined;
|
|
115
|
+
avoid?: string | undefined;
|
|
116
|
+
units?: "metric" | "imperial" | undefined;
|
|
117
|
+
heading?: number | undefined;
|
|
118
|
+
geometry?: "linestring" | "polyline5" | "polyline6" | undefined;
|
|
119
|
+
alternatives?: boolean | undefined;
|
|
120
|
+
departureTime?: string | undefined;
|
|
121
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
122
|
//#endregion
|
|
8
123
|
export { radarGetRouteDirections };
|
|
9
124
|
//# sourceMappingURL=get-route-directions.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-route-directions.d.mts","names":[],"sources":["../../src/actions/get-route-directions.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"get-route-directions.d.mts","names":[],"sources":["../../src/actions/get-route-directions.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6D5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -30,24 +30,24 @@ const RadarGetRouteDirectionsInput = z.object({
|
|
|
30
30
|
alternatives: z.boolean().describe("Return alternative routes (only works for two-location routes). Defaults to false").optional(),
|
|
31
31
|
departureTime: z.string().describe("ISO 8601 datetime for historical traffic consideration (e.g., '2025-01-01T14:30:00Z')").optional()
|
|
32
32
|
}).describe("Request model for getting turn-by-turn directions between multiple locations.");
|
|
33
|
-
const RadarGetRouteDirections_MetaSchema = z.object({ code: z.number().int().describe("HTTP status code") }).describe("Metadata for the route directions response.");
|
|
33
|
+
const RadarGetRouteDirections_MetaSchema = z.object({ code: z.number().int().describe("HTTP status code").nullable() }).passthrough().describe("Metadata for the route directions response.");
|
|
34
34
|
const RadarGetRouteDirections_DistanceInfoSchema = z.object({
|
|
35
|
-
text: z.string().describe("Human-readable distance string"),
|
|
36
|
-
value: z.number().describe("Distance value in feet or meters depending on units")
|
|
37
|
-
}).describe("Distance information for a route segment.");
|
|
35
|
+
text: z.string().describe("Human-readable distance string").nullable(),
|
|
36
|
+
value: z.number().describe("Distance value in feet or meters depending on units").nullable()
|
|
37
|
+
}).passthrough().describe("Distance information for a route segment.");
|
|
38
38
|
const RadarGetRouteDirections_DurationInfoSchema = z.object({
|
|
39
|
-
text: z.string().describe("Human-readable duration string"),
|
|
40
|
-
value: z.number().describe("Duration value in seconds")
|
|
41
|
-
}).describe("Duration information for a route segment.");
|
|
39
|
+
text: z.string().describe("Human-readable duration string").nullable(),
|
|
40
|
+
value: z.number().describe("Duration value in seconds").nullable()
|
|
41
|
+
}).passthrough().describe("Duration information for a route segment.");
|
|
42
42
|
const RadarGetRouteDirections_GeometryInfoSchema = z.object({
|
|
43
43
|
type: z.string().describe("GeoJSON geometry type (when using linestring format)").nullable().optional(),
|
|
44
44
|
polyline: z.string().describe("Encoded polyline string representing the route path").nullable().optional(),
|
|
45
45
|
coordinates: z.array(z.array(z.number())).describe("List of [longitude, latitude] coordinate pairs (when using linestring format)").nullable().optional()
|
|
46
|
-
}).describe("Route geometry - encoded polyline or linestring.");
|
|
46
|
+
}).passthrough().describe("Route geometry - encoded polyline or linestring.");
|
|
47
47
|
const RadarGetRouteDirections_LocationSchema = z.object({
|
|
48
|
-
latitude: z.number().describe("Latitude coordinate"),
|
|
49
|
-
longitude: z.number().describe("Longitude coordinate")
|
|
50
|
-
}).describe("Geographic location with latitude and longitude.");
|
|
48
|
+
latitude: z.number().describe("Latitude coordinate").nullable(),
|
|
49
|
+
longitude: z.number().describe("Longitude coordinate").nullable()
|
|
50
|
+
}).passthrough().describe("Geographic location with latitude and longitude.");
|
|
51
51
|
const RadarGetRouteDirections_StepSchema = z.object({
|
|
52
52
|
mode: z.string().describe("Travel mode for this step").nullable().optional(),
|
|
53
53
|
distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),
|
|
@@ -57,13 +57,13 @@ const RadarGetRouteDirections_StepSchema = z.object({
|
|
|
57
57
|
exit_name: z.string().describe("Exit name if applicable").nullable().optional(),
|
|
58
58
|
street_name: z.string().describe("Street name for this step").nullable().optional(),
|
|
59
59
|
end_location: RadarGetRouteDirections_LocationSchema.nullable(),
|
|
60
|
-
instructions: z.string().describe("Turn-by-turn instruction text"),
|
|
60
|
+
instructions: z.string().describe("Turn-by-turn instruction text").nullable(),
|
|
61
61
|
bearing_after: z.number().describe("Compass bearing after the maneuver").nullable().optional(),
|
|
62
62
|
bearing_before: z.number().describe("Compass bearing before the maneuver").nullable().optional(),
|
|
63
63
|
start_location: RadarGetRouteDirections_LocationSchema.nullable(),
|
|
64
64
|
voice_instructions: z.string().describe("Voice instruction text for navigation").nullable().optional(),
|
|
65
65
|
banner_instructions: z.string().describe("Banner instruction text for display").nullable().optional()
|
|
66
|
-
}).describe("A single turn-by-turn direction step.");
|
|
66
|
+
}).passthrough().describe("A single turn-by-turn direction step.");
|
|
67
67
|
const RadarGetRouteDirections_LegSchema = z.object({
|
|
68
68
|
steps: z.array(RadarGetRouteDirections_StepSchema).describe("Turn-by-turn direction steps for this leg"),
|
|
69
69
|
distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),
|
|
@@ -71,13 +71,13 @@ const RadarGetRouteDirections_LegSchema = z.object({
|
|
|
71
71
|
geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional(),
|
|
72
72
|
endLocation: RadarGetRouteDirections_LocationSchema.nullable(),
|
|
73
73
|
startLocation: RadarGetRouteDirections_LocationSchema.nullable()
|
|
74
|
-
}).describe("A leg of the route between two consecutive locations.");
|
|
74
|
+
}).passthrough().describe("A leg of the route between two consecutive locations.");
|
|
75
75
|
const RadarGetRouteDirections_RouteSchema = z.object({
|
|
76
76
|
legs: z.array(RadarGetRouteDirections_LegSchema).describe("List of route legs between consecutive locations"),
|
|
77
77
|
distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),
|
|
78
78
|
duration: RadarGetRouteDirections_DurationInfoSchema.nullable(),
|
|
79
79
|
geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional()
|
|
80
|
-
}).describe("A complete route with legs and steps.");
|
|
80
|
+
}).passthrough().describe("A complete route with legs and steps.");
|
|
81
81
|
const radarGetRouteDirections = action("RADAR_GET_ROUTE_DIRECTIONS", {
|
|
82
82
|
slug: "radar-get-route-directions",
|
|
83
83
|
name: "Get Route Directions",
|
|
@@ -86,7 +86,7 @@ const radarGetRouteDirections = action("RADAR_GET_ROUTE_DIRECTIONS", {
|
|
|
86
86
|
output: z.object({
|
|
87
87
|
meta: RadarGetRouteDirections_MetaSchema.nullable(),
|
|
88
88
|
routes: z.array(RadarGetRouteDirections_RouteSchema).describe("List of routes (multiple if alternatives requested)")
|
|
89
|
-
}).describe("Response model containing turn-by-turn directions between multiple locations.")
|
|
89
|
+
}).passthrough().describe("Response model containing turn-by-turn directions between multiple locations.")
|
|
90
90
|
});
|
|
91
91
|
//#endregion
|
|
92
92
|
export { radarGetRouteDirections };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-route-directions.mjs","names":[],"sources":["../../src/actions/get-route-directions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetRouteDirectionsInput
|
|
1
|
+
{"version":3,"file":"get-route-directions.mjs","names":[],"sources":["../../src/actions/get-route-directions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetRouteDirectionsInput = z.object({\n lang: z.enum([\"de\", \"en\", \"es\", \"fr\", \"ja\", \"ko\", \"pt\", \"ru\"]).describe(\"Result language. Options: 'de', 'en', 'es', 'fr', 'ja', 'ko', 'pt', 'ru'. Defaults to 'en'\").optional(),\n mode: z.enum([\"car\", \"truck\", \"foot\", \"bike\"]).describe(\"Travel method. Options: 'car', 'truck', 'foot', 'bike'. Defaults to 'car'\").optional(),\n avoid: z.string().describe(\"Route features to bypass, comma-separated. Options: 'tolls', 'highways', 'ferries', 'borderCrossings'\").optional(),\n units: z.enum([\"metric\", \"imperial\"]).describe(\"Distance units. Options: 'metric', 'imperial'. Defaults to 'imperial'\").optional(),\n heading: z.number().describe(\"Initial travel direction in degrees (0=north, 90=east, 180=south, 270=west)\").optional(),\n geometry: z.enum([\"linestring\", \"polyline5\", \"polyline6\"]).describe(\"Response geometry format. Options: 'linestring', 'polyline5', 'polyline6'. Defaults to 'polyline6'\").optional(),\n locations: z.string().describe(\"A list of up to 25 coordinates to visit in order. A pipe-delimited string in the format 'latitude0,longitude0|latitude1,longitude1|...'\"),\n alternatives: z.boolean().describe(\"Return alternative routes (only works for two-location routes). Defaults to false\").optional(),\n departureTime: z.string().describe(\"ISO 8601 datetime for historical traffic consideration (e.g., '2025-01-01T14:30:00Z')\").optional(),\n}).describe(\"Request model for getting turn-by-turn directions between multiple locations.\");\nconst RadarGetRouteDirections_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n}).passthrough().describe(\"Metadata for the route directions response.\");\nconst RadarGetRouteDirections_DistanceInfoSchema = z.object({\n text: z.string().describe(\"Human-readable distance string\").nullable(),\n value: z.number().describe(\"Distance value in feet or meters depending on units\").nullable(),\n}).passthrough().describe(\"Distance information for a route segment.\");\nconst RadarGetRouteDirections_DurationInfoSchema = z.object({\n text: z.string().describe(\"Human-readable duration string\").nullable(),\n value: z.number().describe(\"Duration value in seconds\").nullable(),\n}).passthrough().describe(\"Duration information for a route segment.\");\nconst RadarGetRouteDirections_GeometryInfoSchema = z.object({\n type: z.string().describe(\"GeoJSON geometry type (when using linestring format)\").nullable().optional(),\n polyline: z.string().describe(\"Encoded polyline string representing the route path\").nullable().optional(),\n coordinates: z.array(z.array(z.number())).describe(\"List of [longitude, latitude] coordinate pairs (when using linestring format)\").nullable().optional(),\n}).passthrough().describe(\"Route geometry - encoded polyline or linestring.\");\nconst RadarGetRouteDirections_LocationSchema = z.object({\n latitude: z.number().describe(\"Latitude coordinate\").nullable(),\n longitude: z.number().describe(\"Longitude coordinate\").nullable(),\n}).passthrough().describe(\"Geographic location with latitude and longitude.\");\nconst RadarGetRouteDirections_StepSchema = z.object({\n mode: z.string().describe(\"Travel mode for this step\").nullable().optional(),\n distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),\n duration: RadarGetRouteDirections_DurationInfoSchema.nullable(),\n geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional(),\n maneuver: z.string().describe(\"Maneuver type (e.g., 'turn-right', 'merge')\").nullable().optional(),\n exit_name: z.string().describe(\"Exit name if applicable\").nullable().optional(),\n street_name: z.string().describe(\"Street name for this step\").nullable().optional(),\n end_location: RadarGetRouteDirections_LocationSchema.nullable(),\n instructions: z.string().describe(\"Turn-by-turn instruction text\").nullable(),\n bearing_after: z.number().describe(\"Compass bearing after the maneuver\").nullable().optional(),\n bearing_before: z.number().describe(\"Compass bearing before the maneuver\").nullable().optional(),\n start_location: RadarGetRouteDirections_LocationSchema.nullable(),\n voice_instructions: z.string().describe(\"Voice instruction text for navigation\").nullable().optional(),\n banner_instructions: z.string().describe(\"Banner instruction text for display\").nullable().optional(),\n}).passthrough().describe(\"A single turn-by-turn direction step.\");\nconst RadarGetRouteDirections_LegSchema = z.object({\n steps: z.array(RadarGetRouteDirections_StepSchema).describe(\"Turn-by-turn direction steps for this leg\"),\n distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),\n duration: RadarGetRouteDirections_DurationInfoSchema.nullable(),\n geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional(),\n endLocation: RadarGetRouteDirections_LocationSchema.nullable(),\n startLocation: RadarGetRouteDirections_LocationSchema.nullable(),\n}).passthrough().describe(\"A leg of the route between two consecutive locations.\");\nconst RadarGetRouteDirections_RouteSchema = z.object({\n legs: z.array(RadarGetRouteDirections_LegSchema).describe(\"List of route legs between consecutive locations\"),\n distance: RadarGetRouteDirections_DistanceInfoSchema.nullable(),\n duration: RadarGetRouteDirections_DurationInfoSchema.nullable(),\n geometry: RadarGetRouteDirections_GeometryInfoSchema.nullable().optional(),\n}).passthrough().describe(\"A complete route with legs and steps.\");\nexport const RadarGetRouteDirectionsOutput = z.object({\n meta: RadarGetRouteDirections_MetaSchema.nullable(),\n routes: z.array(RadarGetRouteDirections_RouteSchema).describe(\"List of routes (multiple if alternatives requested)\"),\n}).passthrough().describe(\"Response model containing turn-by-turn directions between multiple locations.\");\n\nexport const radarGetRouteDirections = action(\"RADAR_GET_ROUTE_DIRECTIONS\", {\n slug: \"radar-get-route-directions\",\n name: \"Get Route Directions\",\n description: \"Tool to get turn-by-turn directions between multiple locations. Use when you need detailed navigation instructions with steps, distances, and durations for routing.\",\n input: RadarGetRouteDirectionsInput,\n output: RadarGetRouteDirectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,KAAK;EAAC;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAC/K,MAAM,EAAE,KAAK;EAAC;EAAO;EAAS;EAAQ;CAAM,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC9I,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC7I,OAAO,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACjI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACrH,UAAU,EAAE,KAAK;EAAC;EAAc;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CACnL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;CACxK,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACjI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAA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uCAAuC,SAAS;CAC7D,eAAe,uCAAuC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,kDAAkD;CAC5G,UAAU,2CAA2C,SAAS;CAC9D,UAAU,2CAA2C,SAAS;CAC9D,UAAU,2CAA2C,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAMjE,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,MAAM,mCAAmC,SAAS;EAClD,QAAQ,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,qDAAqD;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAOhB;AACV,CAAC"}
|
|
@@ -12,31 +12,31 @@ const RadarGetRouteMatrixInput = zod.z.object({
|
|
|
12
12
|
origins: zod.z.string().describe("Pipe-separated list of origin coordinates as 'lat,lon|lat,lon' (e.g., '40.7128,-74.0060|37.7749,-122.4194')"),
|
|
13
13
|
destinations: zod.z.string().describe("Pipe-separated list of destination coordinates as 'lat,lon|lat,lon' (e.g., '40.7589,-73.9851|34.0522,-118.2437')")
|
|
14
14
|
}).describe("Request model for calculating route matrix between multiple origins and destinations.");
|
|
15
|
-
const RadarGetRouteMatrix_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code") }).describe("Metadata for the route matrix response.");
|
|
15
|
+
const RadarGetRouteMatrix_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code").nullable() }).passthrough().describe("Metadata for the route matrix response.");
|
|
16
16
|
const RadarGetRouteMatrix_DistanceInfoSchema = zod.z.object({
|
|
17
|
-
text: zod.z.string().describe("Human-readable distance string"),
|
|
18
|
-
value: zod.z.number().describe("Distance value in meters or feet depending on units")
|
|
19
|
-
}).describe("Distance information for a route.");
|
|
17
|
+
text: zod.z.string().describe("Human-readable distance string").nullable(),
|
|
18
|
+
value: zod.z.number().describe("Distance value in meters or feet depending on units").nullable()
|
|
19
|
+
}).passthrough().describe("Distance information for a route.");
|
|
20
20
|
const RadarGetRouteMatrix_DurationInfoSchema = zod.z.object({
|
|
21
|
-
text: zod.z.string().describe("Human-readable duration string"),
|
|
22
|
-
value: zod.z.number().describe("Duration value in minutes")
|
|
23
|
-
}).describe("Duration information for a route.");
|
|
21
|
+
text: zod.z.string().describe("Human-readable duration string").nullable(),
|
|
22
|
+
value: zod.z.number().describe("Duration value in minutes").nullable()
|
|
23
|
+
}).passthrough().describe("Duration information for a route.");
|
|
24
24
|
const RadarGetRouteMatrix_MatrixElementSchema = zod.z.object({
|
|
25
25
|
distance: RadarGetRouteMatrix_DistanceInfoSchema.nullable(),
|
|
26
26
|
duration: RadarGetRouteMatrix_DurationInfoSchema.nullable(),
|
|
27
|
-
originIndex: zod.z.number().int().describe("Index of origin in origins array"),
|
|
28
|
-
destinationIndex: zod.z.number().int().describe("Index of destination in destinations array")
|
|
29
|
-
}).describe("Individual route element in the matrix containing distance and duration.");
|
|
27
|
+
originIndex: zod.z.number().int().describe("Index of origin in origins array").nullable(),
|
|
28
|
+
destinationIndex: zod.z.number().int().describe("Index of destination in destinations array").nullable()
|
|
29
|
+
}).passthrough().describe("Individual route element in the matrix containing distance and duration.");
|
|
30
30
|
const RadarGetRouteMatrix_CoordinateSchema = zod.z.object({
|
|
31
|
-
latitude: zod.z.number().describe("Latitude coordinate"),
|
|
32
|
-
longitude: zod.z.number().describe("Longitude coordinate")
|
|
33
|
-
}).describe("Geographic coordinate with latitude and longitude.");
|
|
31
|
+
latitude: zod.z.number().describe("Latitude coordinate").nullable(),
|
|
32
|
+
longitude: zod.z.number().describe("Longitude coordinate").nullable()
|
|
33
|
+
}).passthrough().describe("Geographic coordinate with latitude and longitude.");
|
|
34
34
|
const RadarGetRouteMatrixOutput = zod.z.object({
|
|
35
35
|
meta: RadarGetRouteMatrix_MetaSchema.nullable(),
|
|
36
36
|
matrix: zod.z.array(zod.z.array(RadarGetRouteMatrix_MatrixElementSchema)).describe("2D array of route information for each origin-destination pair"),
|
|
37
37
|
origins: zod.z.array(RadarGetRouteMatrix_CoordinateSchema).describe("List of origin coordinates"),
|
|
38
38
|
destinations: zod.z.array(RadarGetRouteMatrix_CoordinateSchema).describe("List of destination coordinates")
|
|
39
|
-
}).describe("Response model containing route matrix with distances and durations between origins and destinations.");
|
|
39
|
+
}).passthrough().describe("Response model containing route matrix with distances and durations between origins and destinations.");
|
|
40
40
|
const radarGetRouteMatrix = require_action.action("RADAR_GET_ROUTE_MATRIX", {
|
|
41
41
|
slug: "radar-get-route-matrix",
|
|
42
42
|
name: "Get Route Matrix",
|