@keystrokehq/openweather_api 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/README.md +1 -1
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/delete-weather-station.cjs +1 -1
- package/dist/actions/delete-weather-station.cjs.map +1 -1
- package/dist/actions/delete-weather-station.d.cts +9 -3
- package/dist/actions/delete-weather-station.d.cts.map +1 -1
- package/dist/actions/delete-weather-station.d.mts +9 -3
- package/dist/actions/delete-weather-station.d.mts.map +1 -1
- package/dist/actions/delete-weather-station.mjs +1 -1
- package/dist/actions/delete-weather-station.mjs.map +1 -1
- package/dist/actions/get-air-pollution-current.cjs +16 -16
- package/dist/actions/get-air-pollution-current.cjs.map +1 -1
- package/dist/actions/get-air-pollution-current.d.cts +30 -3
- package/dist/actions/get-air-pollution-current.d.cts.map +1 -1
- package/dist/actions/get-air-pollution-current.d.mts +30 -3
- package/dist/actions/get-air-pollution-current.d.mts.map +1 -1
- package/dist/actions/get-air-pollution-current.mjs +16 -16
- package/dist/actions/get-air-pollution-current.mjs.map +1 -1
- package/dist/actions/get-air-pollution-forecast.cjs +16 -16
- package/dist/actions/get-air-pollution-forecast.cjs.map +1 -1
- package/dist/actions/get-air-pollution-forecast.d.cts +30 -3
- package/dist/actions/get-air-pollution-forecast.d.cts.map +1 -1
- package/dist/actions/get-air-pollution-forecast.d.mts +30 -3
- package/dist/actions/get-air-pollution-forecast.d.mts.map +1 -1
- package/dist/actions/get-air-pollution-forecast.mjs +16 -16
- package/dist/actions/get-air-pollution-forecast.mjs.map +1 -1
- package/dist/actions/get-air-pollution-history.cjs +14 -14
- package/dist/actions/get-air-pollution-history.cjs.map +1 -1
- package/dist/actions/get-air-pollution-history.d.cts +31 -3
- package/dist/actions/get-air-pollution-history.d.cts.map +1 -1
- package/dist/actions/get-air-pollution-history.d.mts +31 -3
- package/dist/actions/get-air-pollution-history.d.mts.map +1 -1
- package/dist/actions/get-air-pollution-history.mjs +14 -14
- package/dist/actions/get-air-pollution-history.mjs.map +1 -1
- package/dist/actions/get-circle-city-weather.cjs +30 -30
- package/dist/actions/get-circle-city-weather.cjs.map +1 -1
- package/dist/actions/get-circle-city-weather.d.cts +75 -3
- package/dist/actions/get-circle-city-weather.d.cts.map +1 -1
- package/dist/actions/get-circle-city-weather.d.mts +75 -3
- package/dist/actions/get-circle-city-weather.d.mts.map +1 -1
- package/dist/actions/get-circle-city-weather.mjs +30 -30
- package/dist/actions/get-circle-city-weather.mjs.map +1 -1
- package/dist/actions/get-current-weather.cjs +32 -32
- package/dist/actions/get-current-weather.cjs.map +1 -1
- package/dist/actions/get-current-weather.d.cts +74 -3
- package/dist/actions/get-current-weather.d.cts.map +1 -1
- package/dist/actions/get-current-weather.d.mts +74 -3
- package/dist/actions/get-current-weather.d.mts.map +1 -1
- package/dist/actions/get-current-weather.mjs +32 -32
- package/dist/actions/get-current-weather.mjs.map +1 -1
- package/dist/actions/get-geocoding-by-zip.cjs +6 -6
- package/dist/actions/get-geocoding-by-zip.cjs.map +1 -1
- package/dist/actions/get-geocoding-by-zip.d.cts +13 -3
- package/dist/actions/get-geocoding-by-zip.d.cts.map +1 -1
- package/dist/actions/get-geocoding-by-zip.d.mts +13 -3
- package/dist/actions/get-geocoding-by-zip.d.mts.map +1 -1
- package/dist/actions/get-geocoding-by-zip.mjs +6 -6
- package/dist/actions/get-geocoding-by-zip.mjs.map +1 -1
- package/dist/actions/get-geocoding-direct.cjs.map +1 -1
- package/dist/actions/get-geocoding-direct.d.cts +9 -3
- package/dist/actions/get-geocoding-direct.d.cts.map +1 -1
- package/dist/actions/get-geocoding-direct.d.mts +9 -3
- package/dist/actions/get-geocoding-direct.d.mts.map +1 -1
- package/dist/actions/get-geocoding-direct.mjs.map +1 -1
- package/dist/actions/get-geocoding-reverse.cjs.map +1 -1
- package/dist/actions/get-geocoding-reverse.d.cts +11 -3
- package/dist/actions/get-geocoding-reverse.d.cts.map +1 -1
- package/dist/actions/get-geocoding-reverse.d.mts +11 -3
- package/dist/actions/get-geocoding-reverse.d.mts.map +1 -1
- package/dist/actions/get-geocoding-reverse.mjs.map +1 -1
- package/dist/actions/get-station-measurements.cjs +2 -2
- package/dist/actions/get-station-measurements.cjs.map +1 -1
- package/dist/actions/get-station-measurements.d.cts +30 -3
- package/dist/actions/get-station-measurements.d.cts.map +1 -1
- package/dist/actions/get-station-measurements.d.mts +30 -3
- package/dist/actions/get-station-measurements.d.mts.map +1 -1
- package/dist/actions/get-station-measurements.mjs +2 -2
- package/dist/actions/get-station-measurements.mjs.map +1 -1
- package/dist/actions/get-uv-index-forecast.cjs.map +1 -1
- package/dist/actions/get-uv-index-forecast.d.cts +11 -3
- package/dist/actions/get-uv-index-forecast.d.cts.map +1 -1
- package/dist/actions/get-uv-index-forecast.d.mts +11 -3
- package/dist/actions/get-uv-index-forecast.d.mts.map +1 -1
- package/dist/actions/get-uv-index-forecast.mjs.map +1 -1
- package/dist/actions/get-uv-index-history.cjs +7 -7
- package/dist/actions/get-uv-index-history.cjs.map +1 -1
- package/dist/actions/get-uv-index-history.d.cts +21 -3
- package/dist/actions/get-uv-index-history.d.cts.map +1 -1
- package/dist/actions/get-uv-index-history.d.mts +21 -3
- package/dist/actions/get-uv-index-history.d.mts.map +1 -1
- package/dist/actions/get-uv-index-history.mjs +7 -7
- package/dist/actions/get-uv-index-history.mjs.map +1 -1
- package/dist/actions/get-uv-index.cjs +6 -6
- package/dist/actions/get-uv-index.cjs.map +1 -1
- package/dist/actions/get-uv-index.d.cts +15 -3
- package/dist/actions/get-uv-index.d.cts.map +1 -1
- package/dist/actions/get-uv-index.d.mts +15 -3
- package/dist/actions/get-uv-index.d.mts.map +1 -1
- package/dist/actions/get-uv-index.mjs +6 -6
- package/dist/actions/get-uv-index.mjs.map +1 -1
- package/dist/actions/get-weather-map-tile.cjs +1 -1
- package/dist/actions/get-weather-map-tile.cjs.map +1 -1
- package/dist/actions/get-weather-map-tile.d.cts +40 -3
- package/dist/actions/get-weather-map-tile.d.cts.map +1 -1
- package/dist/actions/get-weather-map-tile.d.mts +40 -3
- package/dist/actions/get-weather-map-tile.d.mts.map +1 -1
- package/dist/actions/get-weather-map-tile.mjs +1 -1
- package/dist/actions/get-weather-map-tile.mjs.map +1 -1
- package/dist/actions/get-weather-station.cjs +7 -7
- package/dist/actions/get-weather-station.cjs.map +1 -1
- package/dist/actions/get-weather-station.d.cts +17 -3
- package/dist/actions/get-weather-station.d.cts.map +1 -1
- package/dist/actions/get-weather-station.d.mts +17 -3
- package/dist/actions/get-weather-station.d.mts.map +1 -1
- package/dist/actions/get-weather-station.mjs +7 -7
- package/dist/actions/get-weather-station.mjs.map +1 -1
- package/dist/actions/get-weather-stations.cjs +8 -8
- package/dist/actions/get-weather-stations.cjs.map +1 -1
- package/dist/actions/get-weather-stations.d.cts +15 -3
- package/dist/actions/get-weather-stations.d.cts.map +1 -1
- package/dist/actions/get-weather-stations.d.mts +15 -3
- package/dist/actions/get-weather-stations.d.mts.map +1 -1
- package/dist/actions/get-weather-stations.mjs +8 -8
- package/dist/actions/get-weather-stations.mjs.map +1 -1
- package/dist/actions/get-weather-triggers.cjs +5 -5
- package/dist/actions/get-weather-triggers.cjs.map +1 -1
- package/dist/actions/get-weather-triggers.d.cts +35 -3
- package/dist/actions/get-weather-triggers.d.cts.map +1 -1
- package/dist/actions/get-weather-triggers.d.mts +35 -3
- package/dist/actions/get-weather-triggers.d.mts.map +1 -1
- package/dist/actions/get-weather-triggers.mjs +5 -5
- package/dist/actions/get-weather-triggers.mjs.map +1 -1
- package/dist/actions/get5-day-forecast.cjs +35 -35
- package/dist/actions/get5-day-forecast.cjs.map +1 -1
- package/dist/actions/get5-day-forecast.d.cts +88 -3
- package/dist/actions/get5-day-forecast.d.cts.map +1 -1
- package/dist/actions/get5-day-forecast.d.mts +88 -3
- package/dist/actions/get5-day-forecast.d.mts.map +1 -1
- package/dist/actions/get5-day-forecast.mjs +35 -35
- package/dist/actions/get5-day-forecast.mjs.map +1 -1
- package/dist/actions/post-add-weather-station.cjs +8 -8
- package/dist/actions/post-add-weather-station.cjs.map +1 -1
- package/dist/actions/post-add-weather-station.d.cts +27 -3
- package/dist/actions/post-add-weather-station.d.cts.map +1 -1
- package/dist/actions/post-add-weather-station.d.mts +27 -3
- package/dist/actions/post-add-weather-station.d.mts.map +1 -1
- package/dist/actions/post-add-weather-station.mjs +8 -8
- package/dist/actions/post-add-weather-station.mjs.map +1 -1
- package/dist/actions/post-submit-station-measurements.cjs +2 -2
- package/dist/actions/post-submit-station-measurements.cjs.map +1 -1
- package/dist/actions/post-submit-station-measurements.d.cts +31 -3
- package/dist/actions/post-submit-station-measurements.d.cts.map +1 -1
- package/dist/actions/post-submit-station-measurements.d.mts +31 -3
- package/dist/actions/post-submit-station-measurements.d.mts.map +1 -1
- package/dist/actions/post-submit-station-measurements.mjs +2 -2
- package/dist/actions/post-submit-station-measurements.mjs.map +1 -1
- package/dist/actions/update-weather-station.cjs +4 -4
- package/dist/actions/update-weather-station.cjs.map +1 -1
- package/dist/actions/update-weather-station.d.cts +26 -3
- package/dist/actions/update-weather-station.d.cts.map +1 -1
- package/dist/actions/update-weather-station.d.mts +26 -3
- package/dist/actions/update-weather-station.d.mts.map +1 -1
- package/dist/actions/update-weather-station.mjs +4 -4
- package/dist/actions/update-weather-station.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/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-current-weather.mjs","names":[],"sources":["../../src/actions/get-current-weather.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetCurrentWeatherInput
|
|
1
|
+
{"version":3,"file":"get-current-weather.mjs","names":[],"sources":["../../src/actions/get-current-weather.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetCurrentWeatherInput = z.object({\n q: z.string().describe(\"City name, state code and country code, e.g., 'London,uk'\").optional(),\n id: z.number().int().describe(\"City ID, e.g., 2172797\").optional(),\n lat: z.number().describe(\"Geographic coordinate latitude, e.g., 35.0\").optional(),\n lon: z.number().describe(\"Geographic coordinate longitude, e.g., 139.0\").optional(),\n zip: z.string().describe(\"Zip code and country code, e.g., '94040,us'\").optional(),\n lang: z.string().describe(\"Language for the response (ISO 639-1 code, e.g., 'en')\").optional(),\n units: z.enum([\"standard\", \"metric\", \"imperial\"]).describe(\"Units of measurement. 'standard' (default), 'metric', or 'imperial'\").optional(),\n}).describe(\"Request parameters to retrieve current weather data.\\nProvide exactly one location identifier: city name (q), city ID, geographic coordinates (lat & lon), or zip code.\");\nconst OpenweatherApiGetCurrentWeather_SysInfoSchema = z.object({\n id: z.number().int().describe(\"Internal city/system ID\").nullable().optional(),\n type: z.number().int().describe(\"Internal parameter\").nullable().optional(),\n sunset: z.number().int().describe(\"Sunset time (Unix UTC)\").nullable(),\n country: z.string().describe(\"Country code (ISO 3166)\").nullable(),\n sunrise: z.number().int().describe(\"Sunrise time (Unix UTC)\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetCurrentWeather_MainInfoSchema = z.object({\n temp: z.number().describe(\"Temperature\").nullable(),\n humidity: z.number().int().describe(\"Humidity percentage\").nullable(),\n pressure: z.number().int().describe(\"Atmospheric pressure (hPa)\").nullable(),\n temp_max: z.number().describe(\"Maximum temperature at the moment\").nullable(),\n temp_min: z.number().describe(\"Minimum temperature at the moment\").nullable(),\n sea_level: z.number().int().describe(\"Sea level pressure (hPa)\").nullable().optional(),\n feels_like: z.number().describe(\"Human perception of temperature\").nullable(),\n grnd_level: z.number().int().describe(\"Ground level pressure (hPa)\").nullable().optional(),\n}).passthrough();\nconst OpenweatherApiGetCurrentWeather_RainSchema = z.object({\n \"1h\": z.number().describe(\"Rain volume for the last 1 hour\").nullable().optional(),\n \"3h\": z.number().describe(\"Rain volume for the last 3 hours\").nullable().optional(),\n}).passthrough();\nconst OpenweatherApiGetCurrentWeather_SnowSchema = z.object({\n \"1h\": z.number().describe(\"Snow volume for the last 1 hour\").nullable().optional(),\n \"3h\": z.number().describe(\"Snow volume for the last 3 hours\").nullable().optional(),\n}).passthrough();\nconst OpenweatherApiGetCurrentWeather_WindSchema = z.object({\n deg: z.number().int().describe(\"Wind direction, degrees\").nullable(),\n gust: z.number().describe(\"Wind gust speed\").nullable().optional(),\n speed: z.number().describe(\"Wind speed\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetCurrentWeather_CoordSchema = z.object({\n lat: z.number().describe(\"Latitude\").nullable(),\n lon: z.number().describe(\"Longitude\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetCurrentWeather_CloudsSchema = z.object({\n all: z.number().int().describe(\"Cloudiness percentage\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetCurrentWeather_WeatherItemSchema = z.object({\n id: z.number().int().describe(\"Weather condition ID\").nullable(),\n icon: z.string().describe(\"Weather icon ID\").nullable(),\n main: z.string().describe(\"Group of weather parameters, e.g., Rain, Snow\").nullable(),\n description: z.string().describe(\"Weather condition description\").nullable(),\n}).passthrough();\nexport const OpenweatherApiGetCurrentWeatherOutput = z.object({\n dt: z.number().int().describe(\"Time of data calculation (Unix UTC)\").nullable(),\n id: z.number().int().describe(\"City ID\").nullable(),\n cod: z.number().int().describe(\"Internal response code\").nullable(),\n sys: OpenweatherApiGetCurrentWeather_SysInfoSchema.nullable(),\n base: z.string().describe(\"Internal parameter\").nullable(),\n main: OpenweatherApiGetCurrentWeather_MainInfoSchema.nullable(),\n name: z.string().describe(\"City name\").nullable(),\n rain: OpenweatherApiGetCurrentWeather_RainSchema.nullable().optional(),\n snow: OpenweatherApiGetCurrentWeather_SnowSchema.nullable().optional(),\n wind: OpenweatherApiGetCurrentWeather_WindSchema.nullable(),\n coord: OpenweatherApiGetCurrentWeather_CoordSchema.nullable(),\n clouds: OpenweatherApiGetCurrentWeather_CloudsSchema.nullable(),\n weather: z.array(OpenweatherApiGetCurrentWeather_WeatherItemSchema),\n timezone: z.number().int().describe(\"Shift in seconds from UTC\").nullable(),\n visibility: z.number().int().describe(\"Visibility in meters\").nullable().optional(),\n}).passthrough();\n\nexport const openweatherApiGetCurrentWeather = action(\"OPENWEATHER_API_GET_CURRENT_WEATHER\", {\n slug: \"openweather_api-get-current-weather\",\n name: \"Get Current Weather\",\n description: \"Tool to retrieve current weather data for a location. Use when you need up-to-the-minute weather info. Exactly one location identifier must be provided per call: either `q`, `id`, `zip`, or the pair `lat`+`lon`. Passing multiple identifiers causes errors or ambiguous matches.\",\n input: OpenweatherApiGetCurrentWeatherInput,\n output: OpenweatherApiGetCurrentWeatherOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC7F,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAChF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC7F,OAAO,EAAE,KAAK;EAAC;EAAY;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS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AC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -3,12 +3,12 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-geocoding-by-zip.ts
|
|
4
4
|
const OpenweatherApiGetGeocodingByZipInput = zod.z.object({ zip: zod.z.string().describe("Zip/post code and country code divided by comma. Use ISO 3166 country codes (e.g., '10001,US' or 'E14,GB').") }).describe("Request parameters for geocoding by zip/post code to convert postal codes into geographic coordinates.");
|
|
5
5
|
const OpenweatherApiGetGeocodingByZipOutput = zod.z.object({
|
|
6
|
-
lat: zod.z.number().describe("Latitude of the centroid of found zip/post code"),
|
|
7
|
-
lon: zod.z.number().describe("Longitude of the centroid of found zip/post code"),
|
|
8
|
-
zip: zod.z.string().describe("Specified zip/post code from the request"),
|
|
9
|
-
name: zod.z.string().describe("Name of the found area"),
|
|
10
|
-
country: zod.z.string().describe("Country code of the found zip/post code")
|
|
11
|
-
}).describe("Response containing geographic coordinates and location information for the specified zip/post code.");
|
|
6
|
+
lat: zod.z.number().describe("Latitude of the centroid of found zip/post code").nullable(),
|
|
7
|
+
lon: zod.z.number().describe("Longitude of the centroid of found zip/post code").nullable(),
|
|
8
|
+
zip: zod.z.string().describe("Specified zip/post code from the request").nullable(),
|
|
9
|
+
name: zod.z.string().describe("Name of the found area").nullable(),
|
|
10
|
+
country: zod.z.string().describe("Country code of the found zip/post code").nullable()
|
|
11
|
+
}).passthrough().describe("Response containing geographic coordinates and location information for the specified zip/post code.");
|
|
12
12
|
const openweatherApiGetGeocodingByZip = require_action.action("OPENWEATHER_API_GET_GEOCODING_BY_ZIP", {
|
|
13
13
|
slug: "openweather_api-get-geocoding-by-zip",
|
|
14
14
|
name: "Get Geocoding by Zip Code",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-geocoding-by-zip.cjs","names":["z","action"],"sources":["../../src/actions/get-geocoding-by-zip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingByZipInput
|
|
1
|
+
{"version":3,"file":"get-geocoding-by-zip.cjs","names":["z","action"],"sources":["../../src/actions/get-geocoding-by-zip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingByZipInput = z.object({\n zip: z.string().describe(\"Zip/post code and country code divided by comma. Use ISO 3166 country codes (e.g., '10001,US' or 'E14,GB').\"),\n}).describe(\"Request parameters for geocoding by zip/post code to convert postal codes into geographic coordinates.\");\nexport const OpenweatherApiGetGeocodingByZipOutput = z.object({\n lat: z.number().describe(\"Latitude of the centroid of found zip/post code\").nullable(),\n lon: z.number().describe(\"Longitude of the centroid of found zip/post code\").nullable(),\n zip: z.string().describe(\"Specified zip/post code from the request\").nullable(),\n name: z.string().describe(\"Name of the found area\").nullable(),\n country: z.string().describe(\"Country code of the found zip/post code\").nullable(),\n}).passthrough().describe(\"Response containing geographic coordinates and location information for the specified zip/post code.\");\n\nexport const openweatherApiGetGeocodingByZip = action(\"OPENWEATHER_API_GET_GEOCODING_BY_ZIP\", {\n slug: \"openweather_api-get-geocoding-by-zip\",\n name: \"Get Geocoding by Zip Code\",\n description: \"Tool to convert zip/post code into geographic coordinates. Use when you need latitude and longitude for a specific postal code.\",\n input: OpenweatherApiGetGeocodingByZipInput,\n output: OpenweatherApiGetGeocodingByZipOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,EACxI,CAAC,CAAC,CAAC,SAAS,wGAAwG;AACpH,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACrF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sGAAsG;AAEhI,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-geocoding-by-zip.d.ts
|
|
4
|
-
declare const OpenweatherApiGetGeocodingByZipInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetGeocodingByZipInput: z.ZodObject<{
|
|
5
|
+
zip: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const OpenweatherApiGetGeocodingByZipOutput: z.ZodObject<{
|
|
8
|
+
lat: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
lon: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
zip: z.ZodNullable<z.ZodString>;
|
|
11
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12
|
+
country: z.ZodNullable<z.ZodString>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const openweatherApiGetGeocodingByZip: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
zip: string;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { openweatherApiGetGeocodingByZip };
|
|
9
19
|
//# sourceMappingURL=get-geocoding-by-zip.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-geocoding-by-zip.d.cts","names":[],"sources":["../../src/actions/get-geocoding-by-zip.ts"],"mappings":";;;cAIa,oCAAA,
|
|
1
|
+
{"version":3,"file":"get-geocoding-by-zip.d.cts","names":[],"sources":["../../src/actions/get-geocoding-by-zip.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;cAQrC,+BAAA,gCAA+B,wBAAA"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-geocoding-by-zip.d.ts
|
|
4
|
-
declare const OpenweatherApiGetGeocodingByZipInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetGeocodingByZipInput: z.ZodObject<{
|
|
5
|
+
zip: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const OpenweatherApiGetGeocodingByZipOutput: z.ZodObject<{
|
|
8
|
+
lat: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
lon: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
zip: z.ZodNullable<z.ZodString>;
|
|
11
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12
|
+
country: z.ZodNullable<z.ZodString>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const openweatherApiGetGeocodingByZip: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
zip: string;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { openweatherApiGetGeocodingByZip };
|
|
9
19
|
//# sourceMappingURL=get-geocoding-by-zip.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-geocoding-by-zip.d.mts","names":[],"sources":["../../src/actions/get-geocoding-by-zip.ts"],"mappings":";;;cAIa,oCAAA,
|
|
1
|
+
{"version":3,"file":"get-geocoding-by-zip.d.mts","names":[],"sources":["../../src/actions/get-geocoding-by-zip.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;cAQrC,+BAAA,gCAA+B,wBAAA"}
|
|
@@ -6,12 +6,12 @@ const openweatherApiGetGeocodingByZip = action("OPENWEATHER_API_GET_GEOCODING_BY
|
|
|
6
6
|
description: "Tool to convert zip/post code into geographic coordinates. Use when you need latitude and longitude for a specific postal code.",
|
|
7
7
|
input: z.object({ zip: z.string().describe("Zip/post code and country code divided by comma. Use ISO 3166 country codes (e.g., '10001,US' or 'E14,GB').") }).describe("Request parameters for geocoding by zip/post code to convert postal codes into geographic coordinates."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
lat: z.number().describe("Latitude of the centroid of found zip/post code"),
|
|
10
|
-
lon: z.number().describe("Longitude of the centroid of found zip/post code"),
|
|
11
|
-
zip: z.string().describe("Specified zip/post code from the request"),
|
|
12
|
-
name: z.string().describe("Name of the found area"),
|
|
13
|
-
country: z.string().describe("Country code of the found zip/post code")
|
|
14
|
-
}).describe("Response containing geographic coordinates and location information for the specified zip/post code.")
|
|
9
|
+
lat: z.number().describe("Latitude of the centroid of found zip/post code").nullable(),
|
|
10
|
+
lon: z.number().describe("Longitude of the centroid of found zip/post code").nullable(),
|
|
11
|
+
zip: z.string().describe("Specified zip/post code from the request").nullable(),
|
|
12
|
+
name: z.string().describe("Name of the found area").nullable(),
|
|
13
|
+
country: z.string().describe("Country code of the found zip/post code").nullable()
|
|
14
|
+
}).passthrough().describe("Response containing geographic coordinates and location information for the specified zip/post code.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { openweatherApiGetGeocodingByZip };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-geocoding-by-zip.mjs","names":[],"sources":["../../src/actions/get-geocoding-by-zip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingByZipInput
|
|
1
|
+
{"version":3,"file":"get-geocoding-by-zip.mjs","names":[],"sources":["../../src/actions/get-geocoding-by-zip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingByZipInput = z.object({\n zip: z.string().describe(\"Zip/post code and country code divided by comma. Use ISO 3166 country codes (e.g., '10001,US' or 'E14,GB').\"),\n}).describe(\"Request parameters for geocoding by zip/post code to convert postal codes into geographic coordinates.\");\nexport const OpenweatherApiGetGeocodingByZipOutput = z.object({\n lat: z.number().describe(\"Latitude of the centroid of found zip/post code\").nullable(),\n lon: z.number().describe(\"Longitude of the centroid of found zip/post code\").nullable(),\n zip: z.string().describe(\"Specified zip/post code from the request\").nullable(),\n name: z.string().describe(\"Name of the found area\").nullable(),\n country: z.string().describe(\"Country code of the found zip/post code\").nullable(),\n}).passthrough().describe(\"Response containing geographic coordinates and location information for the specified zip/post code.\");\n\nexport const openweatherApiGetGeocodingByZip = action(\"OPENWEATHER_API_GET_GEOCODING_BY_ZIP\", {\n slug: \"openweather_api-get-geocoding-by-zip\",\n name: \"Get Geocoding by Zip Code\",\n description: \"Tool to convert zip/post code into geographic coordinates. Use when you need latitude and longitude for a specific postal code.\",\n input: OpenweatherApiGetGeocodingByZipInput,\n output: OpenweatherApiGetGeocodingByZipOutput,\n});\n"],"mappings":";;AAeA,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfkD,EAAE,OAAO,EAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,EACxI,CAAC,CAAC,CAAC,SAAS,wGAaH;CACP,QAbmD,EAAE,OAAO;EAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACrF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sGAOhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-geocoding-direct.cjs","names":["z","action"],"sources":["../../src/actions/get-geocoding-direct.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingDirectInput
|
|
1
|
+
{"version":3,"file":"get-geocoding-direct.cjs","names":["z","action"],"sources":["../../src/actions/get-geocoding-direct.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingDirectInput = z.object({\n q: z.string().describe(\"Location query including city name, state code and country code separated by commas (e.g., 'London,UK'). Ambiguous queries can return multiple mismatched locations; use the full three-part format 'city,state_code,country_code' (e.g., 'Springfield,IL,US') and verify the returned country/region before using coordinates downstream.\"),\n limit: z.number().int().default(5).describe(\"Number of results to return (1 to 5). Defaults to 5. Use 1 only for unambiguous locations; for ambiguous queries review all returned results to select the correct match.\").optional(),\n}).describe(\"Request parameters for direct geocoding: location name to coordinates.\");\nexport const OpenweatherApiGetGeocodingDirectOutput = z.unknown();\n\nexport const openweatherApiGetGeocodingDirect = action(\"OPENWEATHER_API_GET_GEOCODING_DIRECT\", {\n slug: \"openweather_api-get-geocoding-direct\",\n name: \"Get Direct Geocoding\",\n description: \"Tool to convert a location name into geographic coordinates. Use when you need latitude and longitude for a given location after confirming the precise name.\",\n input: OpenweatherApiGetGeocodingDirectInput,\n output: OpenweatherApiGetGeocodingDirectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4UAA4U;CACnW,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;AACpO,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,yCAAyCA,IAAAA,EAAE,QAAQ;AAEhE,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-geocoding-direct.d.ts
|
|
4
|
-
declare const OpenweatherApiGetGeocodingDirectInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetGeocodingDirectInput: z.ZodObject<{
|
|
5
|
+
q: z.ZodString;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const OpenweatherApiGetGeocodingDirectOutput: z.ZodUnknown;
|
|
9
|
+
declare const openweatherApiGetGeocodingDirect: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
10
|
+
q: string;
|
|
11
|
+
limit?: number | undefined;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { openweatherApiGetGeocodingDirect };
|
|
9
15
|
//# sourceMappingURL=get-geocoding-direct.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-geocoding-direct.d.cts","names":[],"sources":["../../src/actions/get-geocoding-direct.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"get-geocoding-direct.d.cts","names":[],"sources":["../../src/actions/get-geocoding-direct.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,UAAc;AAAA,cAEpD,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-geocoding-direct.d.ts
|
|
4
|
-
declare const OpenweatherApiGetGeocodingDirectInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetGeocodingDirectInput: z.ZodObject<{
|
|
5
|
+
q: z.ZodString;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const OpenweatherApiGetGeocodingDirectOutput: z.ZodUnknown;
|
|
9
|
+
declare const openweatherApiGetGeocodingDirect: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
10
|
+
q: string;
|
|
11
|
+
limit?: number | undefined;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { openweatherApiGetGeocodingDirect };
|
|
9
15
|
//# sourceMappingURL=get-geocoding-direct.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-geocoding-direct.d.mts","names":[],"sources":["../../src/actions/get-geocoding-direct.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"get-geocoding-direct.d.mts","names":[],"sources":["../../src/actions/get-geocoding-direct.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,UAAc;AAAA,cAEpD,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-geocoding-direct.mjs","names":[],"sources":["../../src/actions/get-geocoding-direct.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingDirectInput
|
|
1
|
+
{"version":3,"file":"get-geocoding-direct.mjs","names":[],"sources":["../../src/actions/get-geocoding-direct.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingDirectInput = z.object({\n q: z.string().describe(\"Location query including city name, state code and country code separated by commas (e.g., 'London,UK'). Ambiguous queries can return multiple mismatched locations; use the full three-part format 'city,state_code,country_code' (e.g., 'Springfield,IL,US') and verify the returned country/region before using coordinates downstream.\"),\n limit: z.number().int().default(5).describe(\"Number of results to return (1 to 5). Defaults to 5. Use 1 only for unambiguous locations; for ambiguous queries review all returned results to select the correct match.\").optional(),\n}).describe(\"Request parameters for direct geocoding: location name to coordinates.\");\nexport const OpenweatherApiGetGeocodingDirectOutput = z.unknown();\n\nexport const openweatherApiGetGeocodingDirect = action(\"OPENWEATHER_API_GET_GEOCODING_DIRECT\", {\n slug: \"openweather_api-get-geocoding-direct\",\n name: \"Get Direct Geocoding\",\n description: \"Tool to convert a location name into geographic coordinates. Use when you need latitude and longitude for a given location after confirming the precise name.\",\n input: OpenweatherApiGetGeocodingDirectInput,\n output: OpenweatherApiGetGeocodingDirectOutput,\n});\n"],"mappings":";;AAUA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVmD,EAAE,OAAO;EAC5D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,4UAA4U;EACnW,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CACpO,CAAC,CAAC,CAAC,SAAS,wEAOH;CACP,QAPoD,EAAE,QAO9C;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-geocoding-reverse.cjs","names":["z","action"],"sources":["../../src/actions/get-geocoding-reverse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingReverseInput
|
|
1
|
+
{"version":3,"file":"get-geocoding-reverse.cjs","names":["z","action"],"sources":["../../src/actions/get-geocoding-reverse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingReverseInput = z.object({\n lat: z.number().describe(\"Latitude of the location in decimal degrees\"),\n lon: z.number().describe(\"Longitude of the location in decimal degrees\"),\n limit: z.number().int().describe(\"Number of results to return (1 to 5)\").optional(),\n}).describe(\"Request parameters for reverse geocoding to convert geographic coordinates into location names.\");\nexport const OpenweatherApiGetGeocodingReverseOutput = z.unknown();\n\nexport const openweatherApiGetGeocodingReverse = action(\"OPENWEATHER_API_GET_GEOCODING_REVERSE\", {\n slug: \"openweather_api-get-geocoding-reverse\",\n name: \"Get Reverse Geocoding\",\n description: \"Tool to convert geographic coordinates into a location name. Use when you need city, state, and country info from latitude and longitude.\",\n input: OpenweatherApiGetGeocodingReverseInput,\n output: OpenweatherApiGetGeocodingReverseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACtE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,iGAAiG;AAC7G,MAAa,0CAA0CA,IAAAA,EAAE,QAAQ;AAEjE,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-geocoding-reverse.d.ts
|
|
4
|
-
declare const OpenweatherApiGetGeocodingReverseInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetGeocodingReverseInput: z.ZodObject<{
|
|
5
|
+
lat: z.ZodNumber;
|
|
6
|
+
lon: z.ZodNumber;
|
|
7
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const OpenweatherApiGetGeocodingReverseOutput: z.ZodUnknown;
|
|
10
|
+
declare const openweatherApiGetGeocodingReverse: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
lat: number;
|
|
12
|
+
lon: number;
|
|
13
|
+
limit?: number | undefined;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { openweatherApiGetGeocodingReverse };
|
|
9
17
|
//# sourceMappingURL=get-geocoding-reverse.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-geocoding-reverse.d.cts","names":[],"sources":["../../src/actions/get-geocoding-reverse.ts"],"mappings":";;;cAIa,sCAAA,
|
|
1
|
+
{"version":3,"file":"get-geocoding-reverse.d.cts","names":[],"sources":["../../src/actions/get-geocoding-reverse.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAKtC,uCAAA,EAAuC,CAAA,CAAA,UAAc;AAAA,cAErD,iCAAA,gCAAiC,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-geocoding-reverse.d.ts
|
|
4
|
-
declare const OpenweatherApiGetGeocodingReverseInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetGeocodingReverseInput: z.ZodObject<{
|
|
5
|
+
lat: z.ZodNumber;
|
|
6
|
+
lon: z.ZodNumber;
|
|
7
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const OpenweatherApiGetGeocodingReverseOutput: z.ZodUnknown;
|
|
10
|
+
declare const openweatherApiGetGeocodingReverse: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
lat: number;
|
|
12
|
+
lon: number;
|
|
13
|
+
limit?: number | undefined;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { openweatherApiGetGeocodingReverse };
|
|
9
17
|
//# sourceMappingURL=get-geocoding-reverse.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-geocoding-reverse.d.mts","names":[],"sources":["../../src/actions/get-geocoding-reverse.ts"],"mappings":";;;cAIa,sCAAA,
|
|
1
|
+
{"version":3,"file":"get-geocoding-reverse.d.mts","names":[],"sources":["../../src/actions/get-geocoding-reverse.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAKtC,uCAAA,EAAuC,CAAA,CAAA,UAAc;AAAA,cAErD,iCAAA,gCAAiC,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-geocoding-reverse.mjs","names":[],"sources":["../../src/actions/get-geocoding-reverse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingReverseInput
|
|
1
|
+
{"version":3,"file":"get-geocoding-reverse.mjs","names":[],"sources":["../../src/actions/get-geocoding-reverse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingReverseInput = z.object({\n lat: z.number().describe(\"Latitude of the location in decimal degrees\"),\n lon: z.number().describe(\"Longitude of the location in decimal degrees\"),\n limit: z.number().int().describe(\"Number of results to return (1 to 5)\").optional(),\n}).describe(\"Request parameters for reverse geocoding to convert geographic coordinates into location names.\");\nexport const OpenweatherApiGetGeocodingReverseOutput = z.unknown();\n\nexport const openweatherApiGetGeocodingReverse = action(\"OPENWEATHER_API_GET_GEOCODING_REVERSE\", {\n slug: \"openweather_api-get-geocoding-reverse\",\n name: \"Get Reverse Geocoding\",\n description: \"Tool to convert geographic coordinates into a location name. Use when you need city, state, and country info from latitude and longitude.\",\n input: OpenweatherApiGetGeocodingReverseInput,\n output: OpenweatherApiGetGeocodingReverseOutput,\n});\n"],"mappings":";;AAWA,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXoD,EAAE,OAAO;EAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,SAAS,iGAOH;CACP,QAPqD,EAAE,QAO/C;AACV,CAAC"}
|
|
@@ -21,8 +21,8 @@ const OpenweatherApiGetStationMeasurements_MeasurementSchema = zod.z.object({
|
|
|
21
21
|
pressure: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Pressure measurements with min/max/avg").nullable().optional(),
|
|
22
22
|
station_id: zod.z.string().describe("Station identifier").nullable().optional(),
|
|
23
23
|
precipitation: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Precipitation data including rain and snow").nullable().optional()
|
|
24
|
-
}).describe("Aggregated measurement record.");
|
|
25
|
-
const OpenweatherApiGetStationMeasurementsOutput = zod.z.object({ measurements: zod.z.array(OpenweatherApiGetStationMeasurements_MeasurementSchema).describe("List of aggregated measurement records").nullable().optional() }).describe("Response containing aggregated measurements from a weather station.");
|
|
24
|
+
}).passthrough().describe("Aggregated measurement record.");
|
|
25
|
+
const OpenweatherApiGetStationMeasurementsOutput = zod.z.object({ measurements: zod.z.array(OpenweatherApiGetStationMeasurements_MeasurementSchema).describe("List of aggregated measurement records").nullable().optional() }).passthrough().describe("Response containing aggregated measurements from a weather station.");
|
|
26
26
|
const openweatherApiGetStationMeasurements = require_action.action("OPENWEATHER_API_GET_STATION_MEASUREMENTS", {
|
|
27
27
|
slug: "openweather_api-get-station-measurements",
|
|
28
28
|
name: "Get Station Measurements",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-station-measurements.cjs","names":["z","action"],"sources":["../../src/actions/get-station-measurements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetStationMeasurementsInput
|
|
1
|
+
{"version":3,"file":"get-station-measurements.cjs","names":["z","action"],"sources":["../../src/actions/get-station-measurements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetStationMeasurementsInput = z.object({\n to: z.number().int().describe(\"End of time interval (Unix timestamp in seconds)\"),\n from: z.number().int().describe(\"Start of time interval (Unix timestamp in seconds)\"),\n type: z.enum([\"m\", \"h\", \"d\"]).describe(\"Aggregation type: m (minute), h (hour), or d (day)\"),\n limit: z.number().int().describe(\"Maximum number of measurement records to return\"),\n station_id: z.string().describe(\"Internal station ID from OpenWeather\"),\n}).describe(\"Request parameters to retrieve aggregated measurements from a weather station.\");\nconst OpenweatherApiGetStationMeasurements_MeasurementSchema = z.object({\n dt: z.number().int().describe(\"Measurement timestamp (Unix)\").nullable().optional(),\n temp: z.record(z.string(), z.unknown()).describe(\"Temperature measurements with min/max/avg\").nullable().optional(),\n type: z.string().describe(\"Aggregation type (m, h, or d)\").nullable().optional(),\n wind: z.record(z.string(), z.unknown()).describe(\"Wind measurements including speed and direction\").nullable().optional(),\n humidity: z.record(z.string(), z.unknown()).describe(\"Humidity measurements with min/max/avg\").nullable().optional(),\n pressure: z.record(z.string(), z.unknown()).describe(\"Pressure measurements with min/max/avg\").nullable().optional(),\n station_id: z.string().describe(\"Station identifier\").nullable().optional(),\n precipitation: z.record(z.string(), z.unknown()).describe(\"Precipitation data including rain and snow\").nullable().optional(),\n}).passthrough().describe(\"Aggregated measurement record.\");\nexport const OpenweatherApiGetStationMeasurementsOutput = z.object({\n measurements: z.array(OpenweatherApiGetStationMeasurements_MeasurementSchema).describe(\"List of aggregated measurement records\").nullable().optional(),\n}).passthrough().describe(\"Response containing aggregated measurements from a weather station.\");\n\nexport const openweatherApiGetStationMeasurements = action(\"OPENWEATHER_API_GET_STATION_MEASUREMENTS\", {\n slug: \"openweather_api-get-station-measurements\",\n name: \"Get Station Measurements\",\n description: \"Tool to retrieve aggregated measurements from a weather station with minute, hour, or day granularity. Use when you need historical weather data from a specific registered station.\",\n input: OpenweatherApiGetStationMeasurementsInput,\n output: OpenweatherApiGetStationMeasurementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACpF,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,oDAAoD;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AACxE,CAAC,CAAC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AA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,uCAAuCC,eAAAA,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-station-measurements.d.ts
|
|
4
|
-
declare const OpenweatherApiGetStationMeasurementsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetStationMeasurementsInput: z.ZodObject<{
|
|
5
|
+
to: z.ZodNumber;
|
|
6
|
+
from: z.ZodNumber;
|
|
7
|
+
type: z.ZodEnum<{
|
|
8
|
+
d: "d";
|
|
9
|
+
m: "m";
|
|
10
|
+
h: "h";
|
|
11
|
+
}>;
|
|
12
|
+
limit: z.ZodNumber;
|
|
13
|
+
station_id: z.ZodString;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const OpenweatherApiGetStationMeasurementsOutput: z.ZodObject<{
|
|
16
|
+
measurements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
17
|
+
dt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
temp: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
19
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
wind: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
21
|
+
humidity: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
|
+
pressure: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
23
|
+
station_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
precipitation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
25
|
+
}, z.core.$loose>>>>;
|
|
26
|
+
}, z.core.$loose>;
|
|
27
|
+
declare const openweatherApiGetStationMeasurements: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
to: number;
|
|
29
|
+
from: number;
|
|
30
|
+
type: "d" | "m" | "h";
|
|
31
|
+
limit: number;
|
|
32
|
+
station_id: string;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { openweatherApiGetStationMeasurements };
|
|
9
36
|
//# sourceMappingURL=get-station-measurements.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-station-measurements.d.cts","names":[],"sources":["../../src/actions/get-station-measurements.ts"],"mappings":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"get-station-measurements.d.cts","names":[],"sources":["../../src/actions/get-station-measurements.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;cAiBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-station-measurements.d.ts
|
|
4
|
-
declare const OpenweatherApiGetStationMeasurementsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetStationMeasurementsInput: z.ZodObject<{
|
|
5
|
+
to: z.ZodNumber;
|
|
6
|
+
from: z.ZodNumber;
|
|
7
|
+
type: z.ZodEnum<{
|
|
8
|
+
d: "d";
|
|
9
|
+
m: "m";
|
|
10
|
+
h: "h";
|
|
11
|
+
}>;
|
|
12
|
+
limit: z.ZodNumber;
|
|
13
|
+
station_id: z.ZodString;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const OpenweatherApiGetStationMeasurementsOutput: z.ZodObject<{
|
|
16
|
+
measurements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
17
|
+
dt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
temp: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
19
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
wind: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
21
|
+
humidity: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
|
+
pressure: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
23
|
+
station_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
precipitation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
25
|
+
}, z.core.$loose>>>>;
|
|
26
|
+
}, z.core.$loose>;
|
|
27
|
+
declare const openweatherApiGetStationMeasurements: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
to: number;
|
|
29
|
+
from: number;
|
|
30
|
+
type: "d" | "m" | "h";
|
|
31
|
+
limit: number;
|
|
32
|
+
station_id: string;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { openweatherApiGetStationMeasurements };
|
|
9
36
|
//# sourceMappingURL=get-station-measurements.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-station-measurements.d.mts","names":[],"sources":["../../src/actions/get-station-measurements.ts"],"mappings":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"get-station-measurements.d.mts","names":[],"sources":["../../src/actions/get-station-measurements.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;cAiBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -21,13 +21,13 @@ const OpenweatherApiGetStationMeasurements_MeasurementSchema = z.object({
|
|
|
21
21
|
pressure: z.record(z.string(), z.unknown()).describe("Pressure measurements with min/max/avg").nullable().optional(),
|
|
22
22
|
station_id: z.string().describe("Station identifier").nullable().optional(),
|
|
23
23
|
precipitation: z.record(z.string(), z.unknown()).describe("Precipitation data including rain and snow").nullable().optional()
|
|
24
|
-
}).describe("Aggregated measurement record.");
|
|
24
|
+
}).passthrough().describe("Aggregated measurement record.");
|
|
25
25
|
const openweatherApiGetStationMeasurements = action("OPENWEATHER_API_GET_STATION_MEASUREMENTS", {
|
|
26
26
|
slug: "openweather_api-get-station-measurements",
|
|
27
27
|
name: "Get Station Measurements",
|
|
28
28
|
description: "Tool to retrieve aggregated measurements from a weather station with minute, hour, or day granularity. Use when you need historical weather data from a specific registered station.",
|
|
29
29
|
input: OpenweatherApiGetStationMeasurementsInput,
|
|
30
|
-
output: z.object({ measurements: z.array(OpenweatherApiGetStationMeasurements_MeasurementSchema).describe("List of aggregated measurement records").nullable().optional() }).describe("Response containing aggregated measurements from a weather station.")
|
|
30
|
+
output: z.object({ measurements: z.array(OpenweatherApiGetStationMeasurements_MeasurementSchema).describe("List of aggregated measurement records").nullable().optional() }).passthrough().describe("Response containing aggregated measurements from a weather station.")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { openweatherApiGetStationMeasurements };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-station-measurements.mjs","names":[],"sources":["../../src/actions/get-station-measurements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetStationMeasurementsInput
|
|
1
|
+
{"version":3,"file":"get-station-measurements.mjs","names":[],"sources":["../../src/actions/get-station-measurements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetStationMeasurementsInput = z.object({\n to: z.number().int().describe(\"End of time interval (Unix timestamp in seconds)\"),\n from: z.number().int().describe(\"Start of time interval (Unix timestamp in seconds)\"),\n type: z.enum([\"m\", \"h\", \"d\"]).describe(\"Aggregation type: m (minute), h (hour), or d (day)\"),\n limit: z.number().int().describe(\"Maximum number of measurement records to return\"),\n station_id: z.string().describe(\"Internal station ID from OpenWeather\"),\n}).describe(\"Request parameters to retrieve aggregated measurements from a weather station.\");\nconst OpenweatherApiGetStationMeasurements_MeasurementSchema = z.object({\n dt: z.number().int().describe(\"Measurement timestamp (Unix)\").nullable().optional(),\n temp: z.record(z.string(), z.unknown()).describe(\"Temperature measurements with min/max/avg\").nullable().optional(),\n type: z.string().describe(\"Aggregation type (m, h, or d)\").nullable().optional(),\n wind: z.record(z.string(), z.unknown()).describe(\"Wind measurements including speed and direction\").nullable().optional(),\n humidity: z.record(z.string(), z.unknown()).describe(\"Humidity measurements with min/max/avg\").nullable().optional(),\n pressure: z.record(z.string(), z.unknown()).describe(\"Pressure measurements with min/max/avg\").nullable().optional(),\n station_id: z.string().describe(\"Station identifier\").nullable().optional(),\n precipitation: z.record(z.string(), z.unknown()).describe(\"Precipitation data including rain and snow\").nullable().optional(),\n}).passthrough().describe(\"Aggregated measurement record.\");\nexport const OpenweatherApiGetStationMeasurementsOutput = z.object({\n measurements: z.array(OpenweatherApiGetStationMeasurements_MeasurementSchema).describe(\"List of aggregated measurement records\").nullable().optional(),\n}).passthrough().describe(\"Response containing aggregated measurements from a weather station.\");\n\nexport const openweatherApiGetStationMeasurements = action(\"OPENWEATHER_API_GET_STATION_MEASUREMENTS\", {\n slug: \"openweather_api-get-station-measurements\",\n name: \"Get Station Measurements\",\n description: \"Tool to retrieve aggregated measurements from a weather station with minute, hour, or day granularity. Use when you need historical weather data from a specific registered station.\",\n input: OpenweatherApiGetStationMeasurementsInput,\n output: OpenweatherApiGetStationMeasurementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACpF,MAAM,EAAE,KAAK;EAAC;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,oDAAoD;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AACxE,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAK1D,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,cAAc,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-uv-index-forecast.cjs","names":["z","action"],"sources":["../../src/actions/get-uv-index-forecast.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetUvIndexForecastInput
|
|
1
|
+
{"version":3,"file":"get-uv-index-forecast.cjs","names":["z","action"],"sources":["../../src/actions/get-uv-index-forecast.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetUvIndexForecastInput = z.object({\n cnt: z.number().int().describe(\"Number of days to return (1-8); defaults to 8 if not specified\").optional(),\n lat: z.number().describe(\"Latitude of the location, between -90 and 90\"),\n lon: z.number().describe(\"Longitude of the location, between -180 and 180\"),\n});\nexport const OpenweatherApiGetUvIndexForecastOutput = z.unknown();\n\nexport const openweatherApiGetUvIndexForecast = action(\"OPENWEATHER_API_GET_UV_INDEX_FORECAST\", {\n slug: \"openweather_api-get-uv-index-forecast\",\n name: \"Get UV Index Forecast\",\n description: \"Tool to retrieve UV index forecast for a specific location. Use when you need upcoming UV index values after confirming latitude and longitude. Returns up to 8 days of data. Data may be sparse or absent for ocean and remote locations; an empty response means no data available, not safe UV conditions.\",\n input: OpenweatherApiGetUvIndexForecastInput,\n output: OpenweatherApiGetUvIndexForecastOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AAC5E,CAAC;AACD,MAAa,yCAAyCA,IAAAA,EAAE,QAAQ;AAEhE,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-uv-index-forecast.d.ts
|
|
4
|
-
declare const OpenweatherApiGetUvIndexForecastInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetUvIndexForecastInput: z.ZodObject<{
|
|
5
|
+
cnt: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
lat: z.ZodNumber;
|
|
7
|
+
lon: z.ZodNumber;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const OpenweatherApiGetUvIndexForecastOutput: z.ZodUnknown;
|
|
10
|
+
declare const openweatherApiGetUvIndexForecast: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
lat: number;
|
|
12
|
+
lon: number;
|
|
13
|
+
cnt?: number | undefined;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { openweatherApiGetUvIndexForecast };
|
|
9
17
|
//# sourceMappingURL=get-uv-index-forecast.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-uv-index-forecast.d.cts","names":[],"sources":["../../src/actions/get-uv-index-forecast.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"get-uv-index-forecast.d.cts","names":[],"sources":["../../src/actions/get-uv-index-forecast.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAKrC,sCAAA,EAAsC,CAAA,CAAA,UAAc;AAAA,cAEpD,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-uv-index-forecast.d.ts
|
|
4
|
-
declare const OpenweatherApiGetUvIndexForecastInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetUvIndexForecastInput: z.ZodObject<{
|
|
5
|
+
cnt: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
lat: z.ZodNumber;
|
|
7
|
+
lon: z.ZodNumber;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const OpenweatherApiGetUvIndexForecastOutput: z.ZodUnknown;
|
|
10
|
+
declare const openweatherApiGetUvIndexForecast: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
lat: number;
|
|
12
|
+
lon: number;
|
|
13
|
+
cnt?: number | undefined;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { openweatherApiGetUvIndexForecast };
|
|
9
17
|
//# sourceMappingURL=get-uv-index-forecast.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-uv-index-forecast.d.mts","names":[],"sources":["../../src/actions/get-uv-index-forecast.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"get-uv-index-forecast.d.mts","names":[],"sources":["../../src/actions/get-uv-index-forecast.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAKrC,sCAAA,EAAsC,CAAA,CAAA,UAAc;AAAA,cAEpD,gCAAA,gCAAgC,wBAAA"}
|