@keystrokehq/radar 0.1.2 → 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/actions/autocomplete-address-or-place.cjs +4 -4
- package/dist/actions/autocomplete-address-or-place.cjs.map +1 -1
- package/dist/actions/autocomplete-address-or-place.d.cts +4 -4
- package/dist/actions/autocomplete-address-or-place.d.mts +4 -4
- package/dist/actions/autocomplete-address-or-place.mjs +4 -4
- package/dist/actions/autocomplete-address-or-place.mjs.map +1 -1
- package/dist/actions/create-beacon.cjs +4 -4
- package/dist/actions/create-beacon.cjs.map +1 -1
- package/dist/actions/create-beacon.d.cts +4 -4
- package/dist/actions/create-beacon.d.mts +4 -4
- package/dist/actions/create-beacon.mjs +4 -4
- 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 +1 -1
- package/dist/actions/create-trip.d.mts +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 +2 -2
- package/dist/actions/delete-beacon.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/delete-geofence-by-tag.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/delete-geofence.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/delete-trip.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/delete-user.d.mts +2 -2
- package/dist/actions/delete-user.mjs +2 -2
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/forward-geocode.cjs +3 -3
- package/dist/actions/forward-geocode.cjs.map +1 -1
- package/dist/actions/forward-geocode.d.cts +3 -3
- package/dist/actions/forward-geocode.d.mts +3 -3
- package/dist/actions/forward-geocode.mjs +3 -3
- package/dist/actions/forward-geocode.mjs.map +1 -1
- package/dist/actions/get-beacon-by-tag.cjs +2 -2
- package/dist/actions/get-beacon-by-tag.cjs.map +1 -1
- package/dist/actions/get-beacon-by-tag.d.cts +2 -2
- package/dist/actions/get-beacon-by-tag.d.mts +2 -2
- package/dist/actions/get-beacon-by-tag.mjs +2 -2
- package/dist/actions/get-beacon-by-tag.mjs.map +1 -1
- package/dist/actions/get-beacon.cjs +4 -4
- package/dist/actions/get-beacon.cjs.map +1 -1
- package/dist/actions/get-beacon.d.cts +4 -4
- package/dist/actions/get-beacon.d.mts +4 -4
- package/dist/actions/get-beacon.mjs +4 -4
- package/dist/actions/get-beacon.mjs.map +1 -1
- package/dist/actions/get-context-for-location.cjs +16 -16
- package/dist/actions/get-context-for-location.cjs.map +1 -1
- package/dist/actions/get-context-for-location.d.cts +16 -16
- package/dist/actions/get-context-for-location.d.mts +16 -16
- package/dist/actions/get-context-for-location.mjs +16 -16
- package/dist/actions/get-context-for-location.mjs.map +1 -1
- package/dist/actions/get-geofence.cjs +3 -3
- package/dist/actions/get-geofence.cjs.map +1 -1
- package/dist/actions/get-geofence.d.cts +3 -3
- package/dist/actions/get-geofence.d.mts +3 -3
- package/dist/actions/get-geofence.mjs +3 -3
- 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 +3 -3
- package/dist/actions/get-places-settings.d.mts +3 -3
- 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 +9 -9
- package/dist/actions/get-route-directions.cjs.map +1 -1
- package/dist/actions/get-route-directions.d.cts +20 -20
- package/dist/actions/get-route-directions.d.mts +20 -20
- package/dist/actions/get-route-directions.mjs +9 -9
- package/dist/actions/get-route-directions.mjs.map +1 -1
- package/dist/actions/get-route-matrix.cjs +6 -6
- package/dist/actions/get-route-matrix.cjs.map +1 -1
- package/dist/actions/get-route-matrix.d.cts +9 -9
- package/dist/actions/get-route-matrix.d.mts +9 -9
- package/dist/actions/get-route-matrix.mjs +6 -6
- 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 +4 -4
- package/dist/actions/get-trip.d.mts +4 -4
- package/dist/actions/get-trip.mjs +3 -3
- package/dist/actions/get-trip.mjs.map +1 -1
- package/dist/actions/get-user.cjs +2 -2
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +2 -2
- package/dist/actions/get-user.d.mts +2 -2
- package/dist/actions/get-user.mjs +2 -2
- 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 +2 -2
- package/dist/actions/get-users-in-geofence.d.mts +2 -2
- 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 +1 -1
- package/dist/actions/ip-geocode.cjs.map +1 -1
- package/dist/actions/ip-geocode.d.cts +1 -1
- package/dist/actions/ip-geocode.d.mts +1 -1
- package/dist/actions/ip-geocode.mjs +1 -1
- package/dist/actions/ip-geocode.mjs.map +1 -1
- package/dist/actions/list-events.cjs +6 -6
- package/dist/actions/list-events.cjs.map +1 -1
- package/dist/actions/list-events.d.cts +6 -6
- package/dist/actions/list-events.d.mts +6 -6
- package/dist/actions/list-events.mjs +6 -6
- package/dist/actions/list-events.mjs.map +1 -1
- package/dist/actions/list-geofences.cjs +5 -5
- package/dist/actions/list-geofences.cjs.map +1 -1
- package/dist/actions/list-geofences.d.cts +5 -5
- package/dist/actions/list-geofences.d.mts +5 -5
- package/dist/actions/list-geofences.mjs +5 -5
- package/dist/actions/list-geofences.mjs.map +1 -1
- package/dist/actions/list-trips.cjs +5 -5
- package/dist/actions/list-trips.cjs.map +1 -1
- package/dist/actions/list-trips.d.cts +6 -6
- package/dist/actions/list-trips.d.mts +6 -6
- package/dist/actions/list-trips.mjs +5 -5
- package/dist/actions/list-trips.mjs.map +1 -1
- package/dist/actions/list-users.cjs +3 -3
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -3
- package/dist/actions/list-users.d.mts +3 -3
- package/dist/actions/list-users.mjs +3 -3
- 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 +2 -2
- package/dist/actions/reverse-geocode.d.mts +2 -2
- package/dist/actions/reverse-geocode.mjs +2 -2
- package/dist/actions/reverse-geocode.mjs.map +1 -1
- package/dist/actions/route-distance.cjs +8 -8
- package/dist/actions/route-distance.cjs.map +1 -1
- package/dist/actions/route-distance.d.cts +23 -23
- package/dist/actions/route-distance.d.mts +23 -23
- package/dist/actions/route-distance.mjs +8 -8
- package/dist/actions/route-distance.mjs.map +1 -1
- package/dist/actions/search-geofences-near-location.cjs +3 -3
- package/dist/actions/search-geofences-near-location.cjs.map +1 -1
- package/dist/actions/search-geofences-near-location.d.cts +3 -3
- package/dist/actions/search-geofences-near-location.d.mts +3 -3
- package/dist/actions/search-geofences-near-location.mjs +3 -3
- package/dist/actions/search-geofences-near-location.mjs.map +1 -1
- package/dist/actions/search-places-near-location.cjs +6 -6
- package/dist/actions/search-places-near-location.cjs.map +1 -1
- package/dist/actions/search-places-near-location.d.cts +6 -6
- package/dist/actions/search-places-near-location.d.mts +6 -6
- package/dist/actions/search-places-near-location.mjs +6 -6
- package/dist/actions/search-places-near-location.mjs.map +1 -1
- package/dist/actions/search-users-near-location.cjs +4 -4
- package/dist/actions/search-users-near-location.cjs.map +1 -1
- package/dist/actions/search-users-near-location.d.cts +4 -4
- package/dist/actions/search-users-near-location.d.mts +4 -4
- package/dist/actions/search-users-near-location.mjs +4 -4
- 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 +1 -1
- package/dist/actions/track-location-update.d.mts +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 +3 -3
- package/dist/actions/update-places-settings.d.mts +3 -3
- 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 +4 -4
- package/dist/actions/update-trip-by-id.d.mts +4 -4
- 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 +3 -3
- package/dist/actions/update-trip.cjs.map +1 -1
- package/dist/actions/update-trip.d.cts +5 -5
- package/dist/actions/update-trip.d.mts +5 -5
- package/dist/actions/update-trip.mjs +3 -3
- package/dist/actions/update-trip.mjs.map +1 -1
- package/dist/actions/upsert-beacon-by-id.cjs +4 -4
- package/dist/actions/upsert-beacon-by-id.cjs.map +1 -1
- package/dist/actions/upsert-beacon-by-id.d.cts +4 -4
- package/dist/actions/upsert-beacon-by-id.d.mts +4 -4
- package/dist/actions/upsert-beacon-by-id.mjs +4 -4
- package/dist/actions/upsert-beacon-by-id.mjs.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.cjs +6 -6
- package/dist/actions/upsert-beacon-by-tag.cjs.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.d.cts +7 -7
- package/dist/actions/upsert-beacon-by-tag.d.mts +7 -7
- package/dist/actions/upsert-beacon-by-tag.mjs +6 -6
- package/dist/actions/upsert-beacon-by-tag.mjs.map +1 -1
- package/dist/actions/upsert-geofence-by-id.cjs +7 -7
- package/dist/actions/upsert-geofence-by-id.cjs.map +1 -1
- package/dist/actions/upsert-geofence-by-id.d.cts +8 -8
- package/dist/actions/upsert-geofence-by-id.d.mts +8 -8
- package/dist/actions/upsert-geofence-by-id.mjs +7 -7
- package/dist/actions/upsert-geofence-by-id.mjs.map +1 -1
- package/dist/actions/upsert-geofence.cjs +3 -3
- package/dist/actions/upsert-geofence.cjs.map +1 -1
- package/dist/actions/upsert-geofence.d.cts +3 -3
- package/dist/actions/upsert-geofence.d.mts +3 -3
- package/dist/actions/upsert-geofence.mjs +3 -3
- package/dist/actions/upsert-geofence.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reverse-geocode.cjs","names":["z","action"],"sources":["../../src/actions/reverse-geocode.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarReverseGeocodeInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (default 1, max 10)\").optional(),\n layers: z.array(z.string()).describe(\"Place types to restrict results, comma-separated (e.g., ['address','place'])\").optional(),\n country: z.string().describe(\"Two-letter ISO 3166-1 alpha-2 country code to filter results\").optional(),\n coordinates: z.string().describe(\"Latitude and longitude in 'lat,lon' format\"),\n}).describe(\"Request model for reverse geocoding coordinates to structured addresses.\");\nconst RadarReverseGeocode_AddressSchema = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n layer: z.string().describe(\"Layer of result (e.g., 'address','place')\").nullable().optional(),\n state: z.string().describe(\"State/province name\").nullable().optional(),\n county: z.string().describe(\"County name\").nullable().optional(),\n number: z.string().describe(\"Street number\").nullable().optional(),\n street: z.string().describe(\"Street name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n placeId: z.string().describe(\"Unique identifier for the place\").nullable().optional(),\n distance: z.number().describe(\"Distance from queried coordinates in meters\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the result\").nullable().optional(),\n longitude: z.number().describe(\"Longitude of the result\").nullable().optional(),\n stateCode: z.string().describe(\"State/province code\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code if available\").nullable().optional(),\n countryCode: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable().optional(),\n countryFlag: z.string().describe(\"Emoji flag of the country\").nullable().optional(),\n addressLabel: z.string().describe(\"Formatted address label\").nullable().optional(),\n formattedAddress: z.string().describe(\"Complete formatted address\").nullable().optional(),\n}).describe(\"A matched address object from reverse geocoding.\");\nexport const RadarReverseGeocodeOutput = z.object({\n addresses: z.array(RadarReverseGeocode_AddressSchema).describe(\"List of addresses found for the given coordinates\"),\n}).describe(\"Response model containing a list of matched address objects from reverse geocoding.\");\n\nexport const radarReverseGeocode = action(\"RADAR_REVERSE_GEOCODE\", {\n slug: \"radar-reverse-geocode\",\n name: \"Reverse Geocode\",\n description: \"Tool to convert geographic coordinates to structured addresses. Use when you have latitude/longitude and need a human-readable address.\",\n input: RadarReverseGeocodeInput,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AAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,kDAAkD;
|
|
1
|
+
{"version":3,"file":"reverse-geocode.cjs","names":["z","action"],"sources":["../../src/actions/reverse-geocode.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarReverseGeocodeInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (default 1, max 10)\").optional(),\n layers: z.array(z.string()).describe(\"Place types to restrict results, comma-separated (e.g., ['address','place'])\").optional(),\n country: z.string().describe(\"Two-letter ISO 3166-1 alpha-2 country code to filter results\").optional(),\n coordinates: z.string().describe(\"Latitude and longitude in 'lat,lon' format\"),\n}).describe(\"Request model for reverse geocoding coordinates to structured addresses.\");\nconst RadarReverseGeocode_AddressSchema = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n layer: z.string().describe(\"Layer of result (e.g., 'address','place')\").nullable().optional(),\n state: z.string().describe(\"State/province name\").nullable().optional(),\n county: z.string().describe(\"County name\").nullable().optional(),\n number: z.string().describe(\"Street number\").nullable().optional(),\n street: z.string().describe(\"Street name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n placeId: z.string().describe(\"Unique identifier for the place\").nullable().optional(),\n distance: z.number().describe(\"Distance from queried coordinates in meters\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the result\").nullable().optional(),\n longitude: z.number().describe(\"Longitude of the result\").nullable().optional(),\n stateCode: z.string().describe(\"State/province code\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code if available\").nullable().optional(),\n countryCode: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable().optional(),\n countryFlag: z.string().describe(\"Emoji flag of the country\").nullable().optional(),\n addressLabel: z.string().describe(\"Formatted address label\").nullable().optional(),\n formattedAddress: z.string().describe(\"Complete formatted address\").nullable().optional(),\n}).passthrough().describe(\"A matched address object from reverse geocoding.\");\nexport const RadarReverseGeocodeOutput = z.object({\n addresses: z.array(RadarReverseGeocode_AddressSchema).describe(\"List of addresses found for the given coordinates\"),\n}).passthrough().describe(\"Response model containing a list of matched address objects from reverse geocoding.\");\n\nexport const radarReverseGeocode = action(\"RADAR_REVERSE_GEOCODE\", {\n slug: \"radar-reverse-geocode\",\n name: \"Reverse Geocode\",\n description: \"Tool to convert geographic coordinates to structured addresses. Use when you have latitude/longitude and need a human-readable address.\",\n input: RadarReverseGeocodeInput,\n output: RadarReverseGeocodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,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ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
formattedAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const radarReverseGeocode: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
coordinates: string;
|
|
33
33
|
limit?: number | undefined;
|
|
@@ -26,8 +26,8 @@ declare const RadarReverseGeocodeOutput: z.ZodObject<{
|
|
|
26
26
|
countryFlag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
addressLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
formattedAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const radarReverseGeocode: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
coordinates: string;
|
|
33
33
|
limit?: number | undefined;
|
|
@@ -25,13 +25,13 @@ const RadarReverseGeocode_AddressSchema = z.object({
|
|
|
25
25
|
countryFlag: z.string().describe("Emoji flag of the country").nullable().optional(),
|
|
26
26
|
addressLabel: z.string().describe("Formatted address label").nullable().optional(),
|
|
27
27
|
formattedAddress: z.string().describe("Complete formatted address").nullable().optional()
|
|
28
|
-
}).describe("A matched address object from reverse geocoding.");
|
|
28
|
+
}).passthrough().describe("A matched address object from reverse geocoding.");
|
|
29
29
|
const radarReverseGeocode = action("RADAR_REVERSE_GEOCODE", {
|
|
30
30
|
slug: "radar-reverse-geocode",
|
|
31
31
|
name: "Reverse Geocode",
|
|
32
32
|
description: "Tool to convert geographic coordinates to structured addresses. Use when you have latitude/longitude and need a human-readable address.",
|
|
33
33
|
input: RadarReverseGeocodeInput,
|
|
34
|
-
output: z.object({ addresses: z.array(RadarReverseGeocode_AddressSchema).describe("List of addresses found for the given coordinates") }).describe("Response model containing a list of matched address objects from reverse geocoding.")
|
|
34
|
+
output: z.object({ addresses: z.array(RadarReverseGeocode_AddressSchema).describe("List of addresses found for the given coordinates") }).passthrough().describe("Response model containing a list of matched address objects from reverse geocoding.")
|
|
35
35
|
});
|
|
36
36
|
//#endregion
|
|
37
37
|
export { radarReverseGeocode };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reverse-geocode.mjs","names":[],"sources":["../../src/actions/reverse-geocode.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarReverseGeocodeInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (default 1, max 10)\").optional(),\n layers: z.array(z.string()).describe(\"Place types to restrict results, comma-separated (e.g., ['address','place'])\").optional(),\n country: z.string().describe(\"Two-letter ISO 3166-1 alpha-2 country code to filter results\").optional(),\n coordinates: z.string().describe(\"Latitude and longitude in 'lat,lon' format\"),\n}).describe(\"Request model for reverse geocoding coordinates to structured addresses.\");\nconst RadarReverseGeocode_AddressSchema = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n layer: z.string().describe(\"Layer of result (e.g., 'address','place')\").nullable().optional(),\n state: z.string().describe(\"State/province name\").nullable().optional(),\n county: z.string().describe(\"County name\").nullable().optional(),\n number: z.string().describe(\"Street number\").nullable().optional(),\n street: z.string().describe(\"Street name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n placeId: z.string().describe(\"Unique identifier for the place\").nullable().optional(),\n distance: z.number().describe(\"Distance from queried coordinates in meters\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the result\").nullable().optional(),\n longitude: z.number().describe(\"Longitude of the result\").nullable().optional(),\n stateCode: z.string().describe(\"State/province code\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code if available\").nullable().optional(),\n countryCode: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable().optional(),\n countryFlag: z.string().describe(\"Emoji flag of the country\").nullable().optional(),\n addressLabel: z.string().describe(\"Formatted address label\").nullable().optional(),\n formattedAddress: z.string().describe(\"Complete formatted address\").nullable().optional(),\n}).describe(\"A matched address object from reverse geocoding.\");\nexport const RadarReverseGeocodeOutput = z.object({\n addresses: z.array(RadarReverseGeocode_AddressSchema).describe(\"List of addresses found for the given coordinates\"),\n}).describe(\"Response model containing a list of matched address objects from reverse geocoding.\");\n\nexport const radarReverseGeocode = action(\"RADAR_REVERSE_GEOCODE\", {\n slug: \"radar-reverse-geocode\",\n name: \"Reverse Geocode\",\n description: \"Tool to convert geographic coordinates to structured addresses. Use when you have latitude/longitude and need a human-readable address.\",\n input: RadarReverseGeocodeInput,\n output: RadarReverseGeocodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC9H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC/E,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAA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reverse-geocode.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarReverseGeocodeInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (default 1, max 10)\").optional(),\n layers: z.array(z.string()).describe(\"Place types to restrict results, comma-separated (e.g., ['address','place'])\").optional(),\n country: z.string().describe(\"Two-letter ISO 3166-1 alpha-2 country code to filter results\").optional(),\n coordinates: z.string().describe(\"Latitude and longitude in 'lat,lon' format\"),\n}).describe(\"Request model for reverse geocoding coordinates to structured addresses.\");\nconst RadarReverseGeocode_AddressSchema = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n layer: z.string().describe(\"Layer of result (e.g., 'address','place')\").nullable().optional(),\n state: z.string().describe(\"State/province name\").nullable().optional(),\n county: z.string().describe(\"County name\").nullable().optional(),\n number: z.string().describe(\"Street number\").nullable().optional(),\n street: z.string().describe(\"Street name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n placeId: z.string().describe(\"Unique identifier for the place\").nullable().optional(),\n distance: z.number().describe(\"Distance from queried coordinates in meters\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the result\").nullable().optional(),\n longitude: z.number().describe(\"Longitude of the result\").nullable().optional(),\n stateCode: z.string().describe(\"State/province code\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code if available\").nullable().optional(),\n countryCode: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable().optional(),\n countryFlag: z.string().describe(\"Emoji flag of the country\").nullable().optional(),\n addressLabel: z.string().describe(\"Formatted address label\").nullable().optional(),\n formattedAddress: z.string().describe(\"Complete formatted address\").nullable().optional(),\n}).passthrough().describe(\"A matched address object from reverse geocoding.\");\nexport const RadarReverseGeocodeOutput = z.object({\n addresses: z.array(RadarReverseGeocode_AddressSchema).describe(\"List of addresses found for the given coordinates\"),\n}).passthrough().describe(\"Response model containing a list of matched address objects from reverse geocoding.\");\n\nexport const radarReverseGeocode = action(\"RADAR_REVERSE_GEOCODE\", {\n slug: \"radar-reverse-geocode\",\n name: \"Reverse Geocode\",\n description: \"Tool to convert geographic coordinates to structured addresses. Use when you have latitude/longitude and need a human-readable address.\",\n input: RadarReverseGeocodeInput,\n output: RadarReverseGeocodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC9H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC/E,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAK5E,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,WAAW,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,mDAAmD,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qFAOhB;AACV,CAAC"}
|
|
@@ -19,39 +19,39 @@ const RadarRouteDistanceInput = zod.z.object({
|
|
|
19
19
|
]).describe("Format for route geometry in response. Options: 'polyline', 'polyline5', 'polyline6', 'linestring'").optional(),
|
|
20
20
|
destinations: zod.z.string().describe("Destination coordinate as 'latitude,longitude'")
|
|
21
21
|
}).describe("Request model for calculating route distance and duration.");
|
|
22
|
-
const RadarRouteDistance_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code").nullable() }).describe("Metadata for the route distance response.");
|
|
22
|
+
const RadarRouteDistance_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code").nullable() }).passthrough().describe("Metadata for the route distance response.");
|
|
23
23
|
const RadarRouteDistance_DistanceInfoSchema = zod.z.object({
|
|
24
24
|
text: zod.z.string().describe("Human-readable distance string").nullable(),
|
|
25
25
|
value: zod.z.number().describe("Distance value in meters or feet depending on units").nullable()
|
|
26
|
-
}).describe("Distance information for a route.");
|
|
26
|
+
}).passthrough().describe("Distance information for a route.");
|
|
27
27
|
const RadarRouteDistance_DurationInfoSchema = zod.z.object({
|
|
28
28
|
text: zod.z.string().describe("Human-readable duration string").nullable(),
|
|
29
29
|
value: zod.z.number().describe("Duration value in minutes").nullable()
|
|
30
|
-
}).describe("Duration information for a route.");
|
|
30
|
+
}).passthrough().describe("Duration information for a route.");
|
|
31
31
|
const RadarRouteDistance_RouteGeometrySchema = zod.z.object({
|
|
32
32
|
type: zod.z.string().describe("GeoJSON geometry type; 'LineString' when using linestring format").nullable().optional(),
|
|
33
33
|
polyline: zod.z.string().describe("Encoded polyline string (polyline format)").nullable().optional(),
|
|
34
34
|
polyline5: zod.z.string().describe("Encoded polyline5 string (polyline5 format)").nullable().optional(),
|
|
35
35
|
polyline6: zod.z.string().describe("Encoded polyline6 string (polyline6 format)").nullable().optional(),
|
|
36
36
|
coordinates: zod.z.array(zod.z.array(zod.z.number())).describe("List of [longitude, latitude] coordinate pairs (linestring format)").nullable().optional()
|
|
37
|
-
}).describe("Route geometry - can be GeoJSON LineString or encoded polyline format.");
|
|
37
|
+
}).passthrough().describe("Route geometry - can be GeoJSON LineString or encoded polyline format.");
|
|
38
38
|
const RadarRouteDistance_TransportRouteSchema = zod.z.object({
|
|
39
39
|
distance: RadarRouteDistance_DistanceInfoSchema.nullable(),
|
|
40
40
|
duration: RadarRouteDistance_DurationInfoSchema.nullable(),
|
|
41
41
|
geometry: RadarRouteDistance_RouteGeometrySchema.nullable().optional()
|
|
42
|
-
}).describe("Route information for a transport mode (car, truck, foot, bike).");
|
|
43
|
-
const RadarRouteDistance_GeodesicRouteSchema = zod.z.object({ distance: RadarRouteDistance_DistanceInfoSchema.nullable() }).describe("Geodesic (straight-line) route information.");
|
|
42
|
+
}).passthrough().describe("Route information for a transport mode (car, truck, foot, bike).");
|
|
43
|
+
const RadarRouteDistance_GeodesicRouteSchema = zod.z.object({ distance: RadarRouteDistance_DistanceInfoSchema.nullable() }).passthrough().describe("Geodesic (straight-line) route information.");
|
|
44
44
|
const RadarRouteDistance_RoutesSchema = zod.z.object({
|
|
45
45
|
car: RadarRouteDistance_TransportRouteSchema.nullable().optional(),
|
|
46
46
|
bike: RadarRouteDistance_TransportRouteSchema.nullable().optional(),
|
|
47
47
|
foot: RadarRouteDistance_TransportRouteSchema.nullable().optional(),
|
|
48
48
|
truck: RadarRouteDistance_TransportRouteSchema.nullable().optional(),
|
|
49
49
|
geodesic: RadarRouteDistance_GeodesicRouteSchema.nullable().optional()
|
|
50
|
-
}).describe("Routes object containing geodesic and mode-specific route information.");
|
|
50
|
+
}).passthrough().describe("Routes object containing geodesic and mode-specific route information.");
|
|
51
51
|
const RadarRouteDistanceOutput = zod.z.object({
|
|
52
52
|
meta: RadarRouteDistance_MetaSchema.nullable(),
|
|
53
53
|
routes: RadarRouteDistance_RoutesSchema.nullable()
|
|
54
|
-
}).describe("Response model for route distance and duration calculation.");
|
|
54
|
+
}).passthrough().describe("Response model for route distance and duration calculation.");
|
|
55
55
|
const radarRouteDistance = require_action.action("RADAR_ROUTE_DISTANCE", {
|
|
56
56
|
slug: "radar-route-distance",
|
|
57
57
|
name: "Route Distance",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route-distance.cjs","names":["z","action"],"sources":["../../src/actions/route-distance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarRouteDistanceInput = z.object({\n mode: z.enum([\"car\", \"truck\", \"foot\", \"bike\"]).default(\"car\").describe(\"Routing mode\").optional(),\n avoid: z.string().describe(\"Route features to avoid, comma-separated (e.g., 'tolls,ferries')\").optional(),\n units: z.enum([\"metric\", \"imperial\"]).default(\"metric\").describe(\"Units for distance measurement\").optional(),\n origins: z.string().describe(\"Origin coordinate as 'latitude,longitude'\"),\n geometry: z.enum([\"polyline\", \"polyline5\", \"polyline6\", \"linestring\"]).describe(\"Format for route geometry in response. Options: 'polyline', 'polyline5', 'polyline6', 'linestring'\").optional(),\n destinations: z.string().describe(\"Destination coordinate as 'latitude,longitude'\"),\n}).describe(\"Request model for calculating route distance and duration.\");\nconst RadarRouteDistance_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n}).describe(\"Metadata for the route distance response.\");\nconst RadarRouteDistance_DistanceInfoSchema = z.object({\n text: z.string().describe(\"Human-readable distance string\").nullable(),\n value: z.number().describe(\"Distance value in meters or feet depending on units\").nullable(),\n}).describe(\"Distance information for a route.\");\nconst RadarRouteDistance_DurationInfoSchema = z.object({\n text: z.string().describe(\"Human-readable duration string\").nullable(),\n value: z.number().describe(\"Duration value in minutes\").nullable(),\n}).describe(\"Duration information for a route.\");\nconst RadarRouteDistance_RouteGeometrySchema = z.object({\n type: z.string().describe(\"GeoJSON geometry type; 'LineString' when using linestring format\").nullable().optional(),\n polyline: z.string().describe(\"Encoded polyline string (polyline format)\").nullable().optional(),\n polyline5: z.string().describe(\"Encoded polyline5 string (polyline5 format)\").nullable().optional(),\n polyline6: z.string().describe(\"Encoded polyline6 string (polyline6 format)\").nullable().optional(),\n coordinates: z.array(z.array(z.number())).describe(\"List of [longitude, latitude] coordinate pairs (linestring format)\").nullable().optional(),\n}).describe(\"Route geometry - can be GeoJSON LineString or encoded polyline format.\");\nconst RadarRouteDistance_TransportRouteSchema = z.object({\n distance: RadarRouteDistance_DistanceInfoSchema.nullable(),\n duration: RadarRouteDistance_DurationInfoSchema.nullable(),\n geometry: RadarRouteDistance_RouteGeometrySchema.nullable().optional(),\n}).describe(\"Route information for a transport mode (car, truck, foot, bike).\");\nconst RadarRouteDistance_GeodesicRouteSchema = z.object({\n distance: RadarRouteDistance_DistanceInfoSchema.nullable(),\n}).describe(\"Geodesic (straight-line) route information.\");\nconst RadarRouteDistance_RoutesSchema = z.object({\n car: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n bike: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n foot: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n truck: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n geodesic: RadarRouteDistance_GeodesicRouteSchema.nullable().optional(),\n}).describe(\"Routes object containing geodesic and mode-specific route information.\");\nexport const RadarRouteDistanceOutput = z.object({\n meta: RadarRouteDistance_MetaSchema.nullable(),\n routes: RadarRouteDistance_RoutesSchema.nullable(),\n}).describe(\"Response model for route distance and duration calculation.\");\n\nexport const radarRouteDistance = action(\"RADAR_ROUTE_DISTANCE\", {\n slug: \"radar-route-distance\",\n name: \"Route Distance\",\n description: \"Tool to compute distance and travel time between origins and destinations. Use when you need route metrics before optimizing or timing routes.\",\n input: RadarRouteDistanceInput,\n output: RadarRouteDistanceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAS;EAAQ;CAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxG,OAAOA,IAAAA,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAa;EAAa;CAAY,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC/L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACpF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,gCAAgCA,IAAAA,EAAE,OAAO,EAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"route-distance.cjs","names":["z","action"],"sources":["../../src/actions/route-distance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarRouteDistanceInput = z.object({\n mode: z.enum([\"car\", \"truck\", \"foot\", \"bike\"]).default(\"car\").describe(\"Routing mode\").optional(),\n avoid: z.string().describe(\"Route features to avoid, comma-separated (e.g., 'tolls,ferries')\").optional(),\n units: z.enum([\"metric\", \"imperial\"]).default(\"metric\").describe(\"Units for distance measurement\").optional(),\n origins: z.string().describe(\"Origin coordinate as 'latitude,longitude'\"),\n geometry: z.enum([\"polyline\", \"polyline5\", \"polyline6\", \"linestring\"]).describe(\"Format for route geometry in response. Options: 'polyline', 'polyline5', 'polyline6', 'linestring'\").optional(),\n destinations: z.string().describe(\"Destination coordinate as 'latitude,longitude'\"),\n}).describe(\"Request model for calculating route distance and duration.\");\nconst RadarRouteDistance_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n}).passthrough().describe(\"Metadata for the route distance response.\");\nconst RadarRouteDistance_DistanceInfoSchema = z.object({\n text: z.string().describe(\"Human-readable distance string\").nullable(),\n value: z.number().describe(\"Distance value in meters or feet depending on units\").nullable(),\n}).passthrough().describe(\"Distance information for a route.\");\nconst RadarRouteDistance_DurationInfoSchema = z.object({\n text: z.string().describe(\"Human-readable duration string\").nullable(),\n value: z.number().describe(\"Duration value in minutes\").nullable(),\n}).passthrough().describe(\"Duration information for a route.\");\nconst RadarRouteDistance_RouteGeometrySchema = z.object({\n type: z.string().describe(\"GeoJSON geometry type; 'LineString' when using linestring format\").nullable().optional(),\n polyline: z.string().describe(\"Encoded polyline string (polyline format)\").nullable().optional(),\n polyline5: z.string().describe(\"Encoded polyline5 string (polyline5 format)\").nullable().optional(),\n polyline6: z.string().describe(\"Encoded polyline6 string (polyline6 format)\").nullable().optional(),\n coordinates: z.array(z.array(z.number())).describe(\"List of [longitude, latitude] coordinate pairs (linestring format)\").nullable().optional(),\n}).passthrough().describe(\"Route geometry - can be GeoJSON LineString or encoded polyline format.\");\nconst RadarRouteDistance_TransportRouteSchema = z.object({\n distance: RadarRouteDistance_DistanceInfoSchema.nullable(),\n duration: RadarRouteDistance_DurationInfoSchema.nullable(),\n geometry: RadarRouteDistance_RouteGeometrySchema.nullable().optional(),\n}).passthrough().describe(\"Route information for a transport mode (car, truck, foot, bike).\");\nconst RadarRouteDistance_GeodesicRouteSchema = z.object({\n distance: RadarRouteDistance_DistanceInfoSchema.nullable(),\n}).passthrough().describe(\"Geodesic (straight-line) route information.\");\nconst RadarRouteDistance_RoutesSchema = z.object({\n car: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n bike: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n foot: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n truck: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n geodesic: RadarRouteDistance_GeodesicRouteSchema.nullable().optional(),\n}).passthrough().describe(\"Routes object containing geodesic and mode-specific route information.\");\nexport const RadarRouteDistanceOutput = z.object({\n meta: RadarRouteDistance_MetaSchema.nullable(),\n routes: RadarRouteDistance_RoutesSchema.nullable(),\n}).passthrough().describe(\"Response model for route distance and duration calculation.\");\n\nexport const radarRouteDistance = action(\"RADAR_ROUTE_DISTANCE\", {\n slug: \"radar-route-distance\",\n name: \"Route Distance\",\n description: \"Tool to compute distance and travel time between origins and destinations. Use when you need route metrics before optimizing or timing routes.\",\n input: RadarRouteDistanceInput,\n output: RadarRouteDistanceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAS;EAAQ;CAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxG,OAAOA,IAAAA,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAa;EAAa;CAAY,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC/L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACpF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,gCAAgCA,IAAAA,EAAE,OAAO,EAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,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AS,EAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,KAAK,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACjE,MAAM,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAM,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAO,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAU,uCAAuC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAClG,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAM,8BAA8B,SAAS;CAC7C,QAAQ,gCAAgC,SAAS;AACnD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,9 +4,9 @@ import { z } from "zod";
|
|
|
4
4
|
declare const RadarRouteDistanceInput: z.ZodObject<{
|
|
5
5
|
mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
6
6
|
car: "car";
|
|
7
|
-
truck: "truck";
|
|
8
7
|
foot: "foot";
|
|
9
8
|
bike: "bike";
|
|
9
|
+
truck: "truck";
|
|
10
10
|
}>>>;
|
|
11
11
|
avoid: z.ZodOptional<z.ZodString>;
|
|
12
12
|
units: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
@@ -25,88 +25,88 @@ declare const RadarRouteDistanceInput: z.ZodObject<{
|
|
|
25
25
|
declare const RadarRouteDistanceOutput: z.ZodObject<{
|
|
26
26
|
meta: z.ZodNullable<z.ZodObject<{
|
|
27
27
|
code: z.ZodNullable<z.ZodNumber>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>;
|
|
29
29
|
routes: z.ZodNullable<z.ZodObject<{
|
|
30
30
|
car: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
31
|
distance: z.ZodNullable<z.ZodObject<{
|
|
32
32
|
text: z.ZodNullable<z.ZodString>;
|
|
33
33
|
value: z.ZodNullable<z.ZodNumber>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>;
|
|
35
35
|
duration: z.ZodNullable<z.ZodObject<{
|
|
36
36
|
text: z.ZodNullable<z.ZodString>;
|
|
37
37
|
value: z.ZodNullable<z.ZodNumber>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>;
|
|
39
39
|
geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
40
40
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
polyline5: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
polyline6: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
44
|
coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
|
|
45
|
-
}, z.core.$
|
|
46
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
|
+
}, z.core.$loose>>>;
|
|
47
47
|
bike: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
48
48
|
distance: z.ZodNullable<z.ZodObject<{
|
|
49
49
|
text: z.ZodNullable<z.ZodString>;
|
|
50
50
|
value: z.ZodNullable<z.ZodNumber>;
|
|
51
|
-
}, z.core.$
|
|
51
|
+
}, z.core.$loose>>;
|
|
52
52
|
duration: z.ZodNullable<z.ZodObject<{
|
|
53
53
|
text: z.ZodNullable<z.ZodString>;
|
|
54
54
|
value: z.ZodNullable<z.ZodNumber>;
|
|
55
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$loose>>;
|
|
56
56
|
geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
57
57
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
58
|
polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
59
|
polyline5: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
60
|
polyline6: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
61
|
coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
|
|
62
|
-
}, z.core.$
|
|
63
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$loose>>>;
|
|
63
|
+
}, z.core.$loose>>>;
|
|
64
64
|
foot: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
65
65
|
distance: z.ZodNullable<z.ZodObject<{
|
|
66
66
|
text: z.ZodNullable<z.ZodString>;
|
|
67
67
|
value: z.ZodNullable<z.ZodNumber>;
|
|
68
|
-
}, z.core.$
|
|
68
|
+
}, z.core.$loose>>;
|
|
69
69
|
duration: z.ZodNullable<z.ZodObject<{
|
|
70
70
|
text: z.ZodNullable<z.ZodString>;
|
|
71
71
|
value: z.ZodNullable<z.ZodNumber>;
|
|
72
|
-
}, z.core.$
|
|
72
|
+
}, z.core.$loose>>;
|
|
73
73
|
geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
74
74
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
75
|
polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
76
|
polyline5: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
77
|
polyline6: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
78
|
coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
|
|
79
|
-
}, z.core.$
|
|
80
|
-
}, z.core.$
|
|
79
|
+
}, z.core.$loose>>>;
|
|
80
|
+
}, z.core.$loose>>>;
|
|
81
81
|
truck: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
82
82
|
distance: z.ZodNullable<z.ZodObject<{
|
|
83
83
|
text: z.ZodNullable<z.ZodString>;
|
|
84
84
|
value: z.ZodNullable<z.ZodNumber>;
|
|
85
|
-
}, z.core.$
|
|
85
|
+
}, z.core.$loose>>;
|
|
86
86
|
duration: z.ZodNullable<z.ZodObject<{
|
|
87
87
|
text: z.ZodNullable<z.ZodString>;
|
|
88
88
|
value: z.ZodNullable<z.ZodNumber>;
|
|
89
|
-
}, z.core.$
|
|
89
|
+
}, z.core.$loose>>;
|
|
90
90
|
geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
91
91
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
92
|
polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
93
|
polyline5: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
94
|
polyline6: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
95
|
coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
|
|
96
|
-
}, z.core.$
|
|
97
|
-
}, z.core.$
|
|
96
|
+
}, z.core.$loose>>>;
|
|
97
|
+
}, z.core.$loose>>>;
|
|
98
98
|
geodesic: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
99
99
|
distance: z.ZodNullable<z.ZodObject<{
|
|
100
100
|
text: z.ZodNullable<z.ZodString>;
|
|
101
101
|
value: z.ZodNullable<z.ZodNumber>;
|
|
102
|
-
}, z.core.$
|
|
103
|
-
}, z.core.$
|
|
104
|
-
}, z.core.$
|
|
105
|
-
}, z.core.$
|
|
102
|
+
}, z.core.$loose>>;
|
|
103
|
+
}, z.core.$loose>>>;
|
|
104
|
+
}, z.core.$loose>>;
|
|
105
|
+
}, z.core.$loose>;
|
|
106
106
|
declare const radarRouteDistance: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
107
107
|
origins: string;
|
|
108
108
|
destinations: string;
|
|
109
|
-
mode?: "car" | "
|
|
109
|
+
mode?: "car" | "foot" | "bike" | "truck" | undefined;
|
|
110
110
|
avoid?: string | undefined;
|
|
111
111
|
units?: "metric" | "imperial" | undefined;
|
|
112
112
|
geometry?: "linestring" | "polyline5" | "polyline6" | "polyline" | undefined;
|
|
@@ -4,9 +4,9 @@ import { z } from "zod";
|
|
|
4
4
|
declare const RadarRouteDistanceInput: z.ZodObject<{
|
|
5
5
|
mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
6
6
|
car: "car";
|
|
7
|
-
truck: "truck";
|
|
8
7
|
foot: "foot";
|
|
9
8
|
bike: "bike";
|
|
9
|
+
truck: "truck";
|
|
10
10
|
}>>>;
|
|
11
11
|
avoid: z.ZodOptional<z.ZodString>;
|
|
12
12
|
units: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
@@ -25,88 +25,88 @@ declare const RadarRouteDistanceInput: z.ZodObject<{
|
|
|
25
25
|
declare const RadarRouteDistanceOutput: z.ZodObject<{
|
|
26
26
|
meta: z.ZodNullable<z.ZodObject<{
|
|
27
27
|
code: z.ZodNullable<z.ZodNumber>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>;
|
|
29
29
|
routes: z.ZodNullable<z.ZodObject<{
|
|
30
30
|
car: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
31
|
distance: z.ZodNullable<z.ZodObject<{
|
|
32
32
|
text: z.ZodNullable<z.ZodString>;
|
|
33
33
|
value: z.ZodNullable<z.ZodNumber>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>;
|
|
35
35
|
duration: z.ZodNullable<z.ZodObject<{
|
|
36
36
|
text: z.ZodNullable<z.ZodString>;
|
|
37
37
|
value: z.ZodNullable<z.ZodNumber>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>;
|
|
39
39
|
geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
40
40
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
polyline5: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
polyline6: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
44
|
coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
|
|
45
|
-
}, z.core.$
|
|
46
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
|
+
}, z.core.$loose>>>;
|
|
47
47
|
bike: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
48
48
|
distance: z.ZodNullable<z.ZodObject<{
|
|
49
49
|
text: z.ZodNullable<z.ZodString>;
|
|
50
50
|
value: z.ZodNullable<z.ZodNumber>;
|
|
51
|
-
}, z.core.$
|
|
51
|
+
}, z.core.$loose>>;
|
|
52
52
|
duration: z.ZodNullable<z.ZodObject<{
|
|
53
53
|
text: z.ZodNullable<z.ZodString>;
|
|
54
54
|
value: z.ZodNullable<z.ZodNumber>;
|
|
55
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$loose>>;
|
|
56
56
|
geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
57
57
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
58
|
polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
59
|
polyline5: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
60
|
polyline6: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
61
|
coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
|
|
62
|
-
}, z.core.$
|
|
63
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$loose>>>;
|
|
63
|
+
}, z.core.$loose>>>;
|
|
64
64
|
foot: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
65
65
|
distance: z.ZodNullable<z.ZodObject<{
|
|
66
66
|
text: z.ZodNullable<z.ZodString>;
|
|
67
67
|
value: z.ZodNullable<z.ZodNumber>;
|
|
68
|
-
}, z.core.$
|
|
68
|
+
}, z.core.$loose>>;
|
|
69
69
|
duration: z.ZodNullable<z.ZodObject<{
|
|
70
70
|
text: z.ZodNullable<z.ZodString>;
|
|
71
71
|
value: z.ZodNullable<z.ZodNumber>;
|
|
72
|
-
}, z.core.$
|
|
72
|
+
}, z.core.$loose>>;
|
|
73
73
|
geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
74
74
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
75
|
polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
76
|
polyline5: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
77
|
polyline6: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
78
|
coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
|
|
79
|
-
}, z.core.$
|
|
80
|
-
}, z.core.$
|
|
79
|
+
}, z.core.$loose>>>;
|
|
80
|
+
}, z.core.$loose>>>;
|
|
81
81
|
truck: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
82
82
|
distance: z.ZodNullable<z.ZodObject<{
|
|
83
83
|
text: z.ZodNullable<z.ZodString>;
|
|
84
84
|
value: z.ZodNullable<z.ZodNumber>;
|
|
85
|
-
}, z.core.$
|
|
85
|
+
}, z.core.$loose>>;
|
|
86
86
|
duration: z.ZodNullable<z.ZodObject<{
|
|
87
87
|
text: z.ZodNullable<z.ZodString>;
|
|
88
88
|
value: z.ZodNullable<z.ZodNumber>;
|
|
89
|
-
}, z.core.$
|
|
89
|
+
}, z.core.$loose>>;
|
|
90
90
|
geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
91
91
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
92
|
polyline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
93
|
polyline5: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
94
|
polyline6: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
95
|
coordinates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNumber>>>>;
|
|
96
|
-
}, z.core.$
|
|
97
|
-
}, z.core.$
|
|
96
|
+
}, z.core.$loose>>>;
|
|
97
|
+
}, z.core.$loose>>>;
|
|
98
98
|
geodesic: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
99
99
|
distance: z.ZodNullable<z.ZodObject<{
|
|
100
100
|
text: z.ZodNullable<z.ZodString>;
|
|
101
101
|
value: z.ZodNullable<z.ZodNumber>;
|
|
102
|
-
}, z.core.$
|
|
103
|
-
}, z.core.$
|
|
104
|
-
}, z.core.$
|
|
105
|
-
}, z.core.$
|
|
102
|
+
}, z.core.$loose>>;
|
|
103
|
+
}, z.core.$loose>>>;
|
|
104
|
+
}, z.core.$loose>>;
|
|
105
|
+
}, z.core.$loose>;
|
|
106
106
|
declare const radarRouteDistance: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
107
107
|
origins: string;
|
|
108
108
|
destinations: string;
|
|
109
|
-
mode?: "car" | "
|
|
109
|
+
mode?: "car" | "foot" | "bike" | "truck" | undefined;
|
|
110
110
|
avoid?: string | undefined;
|
|
111
111
|
units?: "metric" | "imperial" | undefined;
|
|
112
112
|
geometry?: "linestring" | "polyline5" | "polyline6" | "polyline" | undefined;
|
|
@@ -19,35 +19,35 @@ const RadarRouteDistanceInput = z.object({
|
|
|
19
19
|
]).describe("Format for route geometry in response. Options: 'polyline', 'polyline5', 'polyline6', 'linestring'").optional(),
|
|
20
20
|
destinations: z.string().describe("Destination coordinate as 'latitude,longitude'")
|
|
21
21
|
}).describe("Request model for calculating route distance and duration.");
|
|
22
|
-
const RadarRouteDistance_MetaSchema = z.object({ code: z.number().int().describe("HTTP status code").nullable() }).describe("Metadata for the route distance response.");
|
|
22
|
+
const RadarRouteDistance_MetaSchema = z.object({ code: z.number().int().describe("HTTP status code").nullable() }).passthrough().describe("Metadata for the route distance response.");
|
|
23
23
|
const RadarRouteDistance_DistanceInfoSchema = z.object({
|
|
24
24
|
text: z.string().describe("Human-readable distance string").nullable(),
|
|
25
25
|
value: z.number().describe("Distance value in meters or feet depending on units").nullable()
|
|
26
|
-
}).describe("Distance information for a route.");
|
|
26
|
+
}).passthrough().describe("Distance information for a route.");
|
|
27
27
|
const RadarRouteDistance_DurationInfoSchema = z.object({
|
|
28
28
|
text: z.string().describe("Human-readable duration string").nullable(),
|
|
29
29
|
value: z.number().describe("Duration value in minutes").nullable()
|
|
30
|
-
}).describe("Duration information for a route.");
|
|
30
|
+
}).passthrough().describe("Duration information for a route.");
|
|
31
31
|
const RadarRouteDistance_RouteGeometrySchema = z.object({
|
|
32
32
|
type: z.string().describe("GeoJSON geometry type; 'LineString' when using linestring format").nullable().optional(),
|
|
33
33
|
polyline: z.string().describe("Encoded polyline string (polyline format)").nullable().optional(),
|
|
34
34
|
polyline5: z.string().describe("Encoded polyline5 string (polyline5 format)").nullable().optional(),
|
|
35
35
|
polyline6: z.string().describe("Encoded polyline6 string (polyline6 format)").nullable().optional(),
|
|
36
36
|
coordinates: z.array(z.array(z.number())).describe("List of [longitude, latitude] coordinate pairs (linestring format)").nullable().optional()
|
|
37
|
-
}).describe("Route geometry - can be GeoJSON LineString or encoded polyline format.");
|
|
37
|
+
}).passthrough().describe("Route geometry - can be GeoJSON LineString or encoded polyline format.");
|
|
38
38
|
const RadarRouteDistance_TransportRouteSchema = z.object({
|
|
39
39
|
distance: RadarRouteDistance_DistanceInfoSchema.nullable(),
|
|
40
40
|
duration: RadarRouteDistance_DurationInfoSchema.nullable(),
|
|
41
41
|
geometry: RadarRouteDistance_RouteGeometrySchema.nullable().optional()
|
|
42
|
-
}).describe("Route information for a transport mode (car, truck, foot, bike).");
|
|
43
|
-
const RadarRouteDistance_GeodesicRouteSchema = z.object({ distance: RadarRouteDistance_DistanceInfoSchema.nullable() }).describe("Geodesic (straight-line) route information.");
|
|
42
|
+
}).passthrough().describe("Route information for a transport mode (car, truck, foot, bike).");
|
|
43
|
+
const RadarRouteDistance_GeodesicRouteSchema = z.object({ distance: RadarRouteDistance_DistanceInfoSchema.nullable() }).passthrough().describe("Geodesic (straight-line) route information.");
|
|
44
44
|
const RadarRouteDistance_RoutesSchema = z.object({
|
|
45
45
|
car: RadarRouteDistance_TransportRouteSchema.nullable().optional(),
|
|
46
46
|
bike: RadarRouteDistance_TransportRouteSchema.nullable().optional(),
|
|
47
47
|
foot: RadarRouteDistance_TransportRouteSchema.nullable().optional(),
|
|
48
48
|
truck: RadarRouteDistance_TransportRouteSchema.nullable().optional(),
|
|
49
49
|
geodesic: RadarRouteDistance_GeodesicRouteSchema.nullable().optional()
|
|
50
|
-
}).describe("Routes object containing geodesic and mode-specific route information.");
|
|
50
|
+
}).passthrough().describe("Routes object containing geodesic and mode-specific route information.");
|
|
51
51
|
const radarRouteDistance = action("RADAR_ROUTE_DISTANCE", {
|
|
52
52
|
slug: "radar-route-distance",
|
|
53
53
|
name: "Route Distance",
|
|
@@ -56,7 +56,7 @@ const radarRouteDistance = action("RADAR_ROUTE_DISTANCE", {
|
|
|
56
56
|
output: z.object({
|
|
57
57
|
meta: RadarRouteDistance_MetaSchema.nullable(),
|
|
58
58
|
routes: RadarRouteDistance_RoutesSchema.nullable()
|
|
59
|
-
}).describe("Response model for route distance and duration calculation.")
|
|
59
|
+
}).passthrough().describe("Response model for route distance and duration calculation.")
|
|
60
60
|
});
|
|
61
61
|
//#endregion
|
|
62
62
|
export { radarRouteDistance };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route-distance.mjs","names":[],"sources":["../../src/actions/route-distance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarRouteDistanceInput = z.object({\n mode: z.enum([\"car\", \"truck\", \"foot\", \"bike\"]).default(\"car\").describe(\"Routing mode\").optional(),\n avoid: z.string().describe(\"Route features to avoid, comma-separated (e.g., 'tolls,ferries')\").optional(),\n units: z.enum([\"metric\", \"imperial\"]).default(\"metric\").describe(\"Units for distance measurement\").optional(),\n origins: z.string().describe(\"Origin coordinate as 'latitude,longitude'\"),\n geometry: z.enum([\"polyline\", \"polyline5\", \"polyline6\", \"linestring\"]).describe(\"Format for route geometry in response. Options: 'polyline', 'polyline5', 'polyline6', 'linestring'\").optional(),\n destinations: z.string().describe(\"Destination coordinate as 'latitude,longitude'\"),\n}).describe(\"Request model for calculating route distance and duration.\");\nconst RadarRouteDistance_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n}).describe(\"Metadata for the route distance response.\");\nconst RadarRouteDistance_DistanceInfoSchema = z.object({\n text: z.string().describe(\"Human-readable distance string\").nullable(),\n value: z.number().describe(\"Distance value in meters or feet depending on units\").nullable(),\n}).describe(\"Distance information for a route.\");\nconst RadarRouteDistance_DurationInfoSchema = z.object({\n text: z.string().describe(\"Human-readable duration string\").nullable(),\n value: z.number().describe(\"Duration value in minutes\").nullable(),\n}).describe(\"Duration information for a route.\");\nconst RadarRouteDistance_RouteGeometrySchema = z.object({\n type: z.string().describe(\"GeoJSON geometry type; 'LineString' when using linestring format\").nullable().optional(),\n polyline: z.string().describe(\"Encoded polyline string (polyline format)\").nullable().optional(),\n polyline5: z.string().describe(\"Encoded polyline5 string (polyline5 format)\").nullable().optional(),\n polyline6: z.string().describe(\"Encoded polyline6 string (polyline6 format)\").nullable().optional(),\n coordinates: z.array(z.array(z.number())).describe(\"List of [longitude, latitude] coordinate pairs (linestring format)\").nullable().optional(),\n}).describe(\"Route geometry - can be GeoJSON LineString or encoded polyline format.\");\nconst RadarRouteDistance_TransportRouteSchema = z.object({\n distance: RadarRouteDistance_DistanceInfoSchema.nullable(),\n duration: RadarRouteDistance_DurationInfoSchema.nullable(),\n geometry: RadarRouteDistance_RouteGeometrySchema.nullable().optional(),\n}).describe(\"Route information for a transport mode (car, truck, foot, bike).\");\nconst RadarRouteDistance_GeodesicRouteSchema = z.object({\n distance: RadarRouteDistance_DistanceInfoSchema.nullable(),\n}).describe(\"Geodesic (straight-line) route information.\");\nconst RadarRouteDistance_RoutesSchema = z.object({\n car: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n bike: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n foot: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n truck: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n geodesic: RadarRouteDistance_GeodesicRouteSchema.nullable().optional(),\n}).describe(\"Routes object containing geodesic and mode-specific route information.\");\nexport const RadarRouteDistanceOutput = z.object({\n meta: RadarRouteDistance_MetaSchema.nullable(),\n routes: RadarRouteDistance_RoutesSchema.nullable(),\n}).describe(\"Response model for route distance and duration calculation.\");\n\nexport const radarRouteDistance = action(\"RADAR_ROUTE_DISTANCE\", {\n slug: \"radar-route-distance\",\n name: \"Route Distance\",\n description: \"Tool to compute distance and travel time between origins and destinations. Use when you need route metrics before optimizing or timing routes.\",\n input: RadarRouteDistanceInput,\n output: RadarRouteDistanceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,KAAK;EAAC;EAAO;EAAS;EAAQ;CAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxG,OAAO,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC5G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,UAAU,EAAE,KAAK;EAAC;EAAY;EAAa;EAAa;CAAY,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC/L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACpF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,gCAAgC,EAAE,OAAO,EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"route-distance.mjs","names":[],"sources":["../../src/actions/route-distance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarRouteDistanceInput = z.object({\n mode: z.enum([\"car\", \"truck\", \"foot\", \"bike\"]).default(\"car\").describe(\"Routing mode\").optional(),\n avoid: z.string().describe(\"Route features to avoid, comma-separated (e.g., 'tolls,ferries')\").optional(),\n units: z.enum([\"metric\", \"imperial\"]).default(\"metric\").describe(\"Units for distance measurement\").optional(),\n origins: z.string().describe(\"Origin coordinate as 'latitude,longitude'\"),\n geometry: z.enum([\"polyline\", \"polyline5\", \"polyline6\", \"linestring\"]).describe(\"Format for route geometry in response. Options: 'polyline', 'polyline5', 'polyline6', 'linestring'\").optional(),\n destinations: z.string().describe(\"Destination coordinate as 'latitude,longitude'\"),\n}).describe(\"Request model for calculating route distance and duration.\");\nconst RadarRouteDistance_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n}).passthrough().describe(\"Metadata for the route distance response.\");\nconst RadarRouteDistance_DistanceInfoSchema = z.object({\n text: z.string().describe(\"Human-readable distance string\").nullable(),\n value: z.number().describe(\"Distance value in meters or feet depending on units\").nullable(),\n}).passthrough().describe(\"Distance information for a route.\");\nconst RadarRouteDistance_DurationInfoSchema = z.object({\n text: z.string().describe(\"Human-readable duration string\").nullable(),\n value: z.number().describe(\"Duration value in minutes\").nullable(),\n}).passthrough().describe(\"Duration information for a route.\");\nconst RadarRouteDistance_RouteGeometrySchema = z.object({\n type: z.string().describe(\"GeoJSON geometry type; 'LineString' when using linestring format\").nullable().optional(),\n polyline: z.string().describe(\"Encoded polyline string (polyline format)\").nullable().optional(),\n polyline5: z.string().describe(\"Encoded polyline5 string (polyline5 format)\").nullable().optional(),\n polyline6: z.string().describe(\"Encoded polyline6 string (polyline6 format)\").nullable().optional(),\n coordinates: z.array(z.array(z.number())).describe(\"List of [longitude, latitude] coordinate pairs (linestring format)\").nullable().optional(),\n}).passthrough().describe(\"Route geometry - can be GeoJSON LineString or encoded polyline format.\");\nconst RadarRouteDistance_TransportRouteSchema = z.object({\n distance: RadarRouteDistance_DistanceInfoSchema.nullable(),\n duration: RadarRouteDistance_DurationInfoSchema.nullable(),\n geometry: RadarRouteDistance_RouteGeometrySchema.nullable().optional(),\n}).passthrough().describe(\"Route information for a transport mode (car, truck, foot, bike).\");\nconst RadarRouteDistance_GeodesicRouteSchema = z.object({\n distance: RadarRouteDistance_DistanceInfoSchema.nullable(),\n}).passthrough().describe(\"Geodesic (straight-line) route information.\");\nconst RadarRouteDistance_RoutesSchema = z.object({\n car: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n bike: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n foot: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n truck: RadarRouteDistance_TransportRouteSchema.nullable().optional(),\n geodesic: RadarRouteDistance_GeodesicRouteSchema.nullable().optional(),\n}).passthrough().describe(\"Routes object containing geodesic and mode-specific route information.\");\nexport const RadarRouteDistanceOutput = z.object({\n meta: RadarRouteDistance_MetaSchema.nullable(),\n routes: RadarRouteDistance_RoutesSchema.nullable(),\n}).passthrough().describe(\"Response model for route distance and duration calculation.\");\n\nexport const radarRouteDistance = action(\"RADAR_ROUTE_DISTANCE\", {\n slug: \"radar-route-distance\",\n name: \"Route Distance\",\n description: \"Tool to compute distance and travel time between origins and destinations. Use when you need route metrics before optimizing or timing routes.\",\n input: RadarRouteDistanceInput,\n output: RadarRouteDistanceOutput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CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,MAAM,8BAA8B,SAAS;EAC7C,QAAQ,gCAAgC,SAAS;CACnD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const RadarSearchGeofencesNearLocationInput = zod.z.object({
|
|
|
11
11
|
const RadarSearchGeofencesNearLocation_GeometrySchema = zod.z.object({
|
|
12
12
|
type: zod.z.string().describe("Geometry type: 'Point' or 'Polygon'.").nullable(),
|
|
13
13
|
coordinates: zod.z.array(zod.z.unknown()).describe("Coordinates array for the geofence geometry.")
|
|
14
|
-
}).describe("Geometry details of a geofence.");
|
|
14
|
+
}).passthrough().describe("Geometry details of a geofence.");
|
|
15
15
|
const RadarSearchGeofencesNearLocation_SearchGeofenceSchema = zod.z.object({
|
|
16
16
|
_id: zod.z.string().describe("Unique identifier of the geofence.").nullable(),
|
|
17
17
|
tag: zod.z.string().describe("Tag associated with the geofence.").nullable().optional(),
|
|
@@ -25,11 +25,11 @@ const RadarSearchGeofencesNearLocation_SearchGeofenceSchema = zod.z.object({
|
|
|
25
25
|
description: zod.z.string().describe("Description of the geofence.").nullable().optional(),
|
|
26
26
|
geometryCenter: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Center point of the geofence geometry.").nullable().optional(),
|
|
27
27
|
geometryRadius: zod.z.number().describe("Radius of the geofence in meters.").nullable().optional()
|
|
28
|
-
}).describe("Representation of a Radar geofence returned in search.");
|
|
28
|
+
}).passthrough().describe("Representation of a Radar geofence returned in search.");
|
|
29
29
|
const RadarSearchGeofencesNearLocationOutput = zod.z.object({
|
|
30
30
|
meta: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response metadata."),
|
|
31
31
|
geofences: zod.z.array(RadarSearchGeofencesNearLocation_SearchGeofenceSchema).describe("List of geofences near the specified location.")
|
|
32
|
-
}).describe("Response model for SEARCH_GEOFENCES_NEAR_LOCATION.");
|
|
32
|
+
}).passthrough().describe("Response model for SEARCH_GEOFENCES_NEAR_LOCATION.");
|
|
33
33
|
const radarSearchGeofencesNearLocation = require_action.action("RADAR_SEARCH_GEOFENCES_NEAR_LOCATION", {
|
|
34
34
|
slug: "radar-search-geofences-near-location",
|
|
35
35
|
name: "Search Geofences",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-geofences-near-location.cjs","names":["z","action"],"sources":["../../src/actions/search-geofences-near-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarSearchGeofencesNearLocationInput = z.object({\n tags: z.array(z.string()).describe(\"Filter geofences by these tags\").optional(),\n radius: z.number().int().describe(\"Search radius in meters (default 1000, max 10000)\").optional(),\n latitude: z.number().describe(\"Latitude of the location to search near\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Filter geofences by metadata key-value pairs\").optional(),\n longitude: z.number().describe(\"Longitude of the location to search near\"),\n}).describe(\"Request model for SEARCH_GEOFENCES_NEAR_LOCATION.\");\nconst RadarSearchGeofencesNearLocation_GeometrySchema = z.object({\n type: z.string().describe(\"Geometry type: 'Point' or 'Polygon'.\").nullable(),\n coordinates: z.array(z.unknown()).describe(\"Coordinates array for the geofence geometry.\"),\n}).describe(\"Geometry details of a geofence.\");\nconst RadarSearchGeofencesNearLocation_SearchGeofenceSchema = z.object({\n _id: z.string().describe(\"Unique identifier of the geofence.\").nullable(),\n tag: z.string().describe(\"Tag associated with the geofence.\").nullable().optional(),\n live: z.boolean().describe(\"Whether the geofence is live.\").nullable().optional(),\n type: z.string().describe(\"Type of geofence (circle or polygon).\").nullable().optional(),\n geometry: RadarSearchGeofencesNearLocation_GeometrySchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the geofence.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when created (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when last updated (ISO 8601).\").nullable().optional(),\n externalId: z.string().describe(\"External identifier of the geofence.\").nullable().optional(),\n description: z.string().describe(\"Description of the geofence.\").nullable().optional(),\n geometryCenter: z.record(z.string(), z.unknown()).describe(\"Center point of the geofence geometry.\").nullable().optional(),\n geometryRadius: z.number().describe(\"Radius of the geofence in meters.\").nullable().optional(),\n}).describe(\"Representation of a Radar geofence returned in search.\");\nexport const RadarSearchGeofencesNearLocationOutput = z.object({\n meta: z.record(z.string(), z.unknown()).describe(\"Response metadata.\"),\n geofences: z.array(RadarSearchGeofencesNearLocation_SearchGeofenceSchema).describe(\"List of geofences near the specified location.\"),\n}).describe(\"Response model for SEARCH_GEOFENCES_NEAR_LOCATION.\");\n\nexport const radarSearchGeofencesNearLocation = action(\"RADAR_SEARCH_GEOFENCES_NEAR_LOCATION\", {\n slug: \"radar-search-geofences-near-location\",\n name: \"Search Geofences\",\n description: \"Tool to search for geofences near a given location. Use when you need to find geofences within a radius of specified coordinates.\",\n input: RadarSearchGeofencesNearLocationInput,\n output: RadarSearchGeofencesNearLocationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACvE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC3E,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC3F,CAAC,CAAC,CAAC,SAAS,iCAAiC;
|
|
1
|
+
{"version":3,"file":"search-geofences-near-location.cjs","names":["z","action"],"sources":["../../src/actions/search-geofences-near-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarSearchGeofencesNearLocationInput = z.object({\n tags: z.array(z.string()).describe(\"Filter geofences by these tags\").optional(),\n radius: z.number().int().describe(\"Search radius in meters (default 1000, max 10000)\").optional(),\n latitude: z.number().describe(\"Latitude of the location to search near\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Filter geofences by metadata key-value pairs\").optional(),\n longitude: z.number().describe(\"Longitude of the location to search near\"),\n}).describe(\"Request model for SEARCH_GEOFENCES_NEAR_LOCATION.\");\nconst RadarSearchGeofencesNearLocation_GeometrySchema = z.object({\n type: z.string().describe(\"Geometry type: 'Point' or 'Polygon'.\").nullable(),\n coordinates: z.array(z.unknown()).describe(\"Coordinates array for the geofence geometry.\"),\n}).passthrough().describe(\"Geometry details of a geofence.\");\nconst RadarSearchGeofencesNearLocation_SearchGeofenceSchema = z.object({\n _id: z.string().describe(\"Unique identifier of the geofence.\").nullable(),\n tag: z.string().describe(\"Tag associated with the geofence.\").nullable().optional(),\n live: z.boolean().describe(\"Whether the geofence is live.\").nullable().optional(),\n type: z.string().describe(\"Type of geofence (circle or polygon).\").nullable().optional(),\n geometry: RadarSearchGeofencesNearLocation_GeometrySchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value data attached to the geofence.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when created (ISO 8601).\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when last updated (ISO 8601).\").nullable().optional(),\n externalId: z.string().describe(\"External identifier of the geofence.\").nullable().optional(),\n description: z.string().describe(\"Description of the geofence.\").nullable().optional(),\n geometryCenter: z.record(z.string(), z.unknown()).describe(\"Center point of the geofence geometry.\").nullable().optional(),\n geometryRadius: z.number().describe(\"Radius of the geofence in meters.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a Radar geofence returned in search.\");\nexport const RadarSearchGeofencesNearLocationOutput = z.object({\n meta: z.record(z.string(), z.unknown()).describe(\"Response metadata.\"),\n geofences: z.array(RadarSearchGeofencesNearLocation_SearchGeofenceSchema).describe(\"List of geofences near the specified location.\"),\n}).passthrough().describe(\"Response model for SEARCH_GEOFENCES_NEAR_LOCATION.\");\n\nexport const radarSearchGeofencesNearLocation = action(\"RADAR_SEARCH_GEOFENCES_NEAR_LOCATION\", {\n slug: \"radar-search-geofences-near-location\",\n name: \"Search Geofences\",\n description: \"Tool to search for geofences near a given location. Use when you need to find geofences within a radius of specified coordinates.\",\n input: RadarSearchGeofencesNearLocationInput,\n output: RadarSearchGeofencesNearLocationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACvE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC3E,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kDAAkDA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EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oBAAoB;CACrE,WAAWA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,gDAAgD;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ declare const RadarSearchGeofencesNearLocationOutput: z.ZodObject<{
|
|
|
18
18
|
geometry: z.ZodNullable<z.ZodObject<{
|
|
19
19
|
type: z.ZodNullable<z.ZodString>;
|
|
20
20
|
coordinates: z.ZodArray<z.ZodUnknown>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
22
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
23
23
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -26,8 +26,8 @@ declare const RadarSearchGeofencesNearLocationOutput: z.ZodObject<{
|
|
|
26
26
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
geometryCenter: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
28
28
|
geometryRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const radarSearchGeofencesNearLocation: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
latitude: number;
|
|
33
33
|
longitude: number;
|
|
@@ -18,7 +18,7 @@ declare const RadarSearchGeofencesNearLocationOutput: z.ZodObject<{
|
|
|
18
18
|
geometry: z.ZodNullable<z.ZodObject<{
|
|
19
19
|
type: z.ZodNullable<z.ZodString>;
|
|
20
20
|
coordinates: z.ZodArray<z.ZodUnknown>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
22
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
23
23
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -26,8 +26,8 @@ declare const RadarSearchGeofencesNearLocationOutput: z.ZodObject<{
|
|
|
26
26
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
geometryCenter: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
28
28
|
geometryRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const radarSearchGeofencesNearLocation: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
latitude: number;
|
|
33
33
|
longitude: number;
|