@keystrokehq/openweather_api 0.1.2 → 0.1.4
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/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 +1 -1
- package/dist/actions/delete-weather-station.d.mts +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 +5 -5
- package/dist/actions/get-air-pollution-current.cjs.map +1 -1
- package/dist/actions/get-air-pollution-current.d.cts +5 -5
- package/dist/actions/get-air-pollution-current.d.mts +5 -5
- package/dist/actions/get-air-pollution-current.mjs +5 -5
- package/dist/actions/get-air-pollution-current.mjs.map +1 -1
- package/dist/actions/get-air-pollution-forecast.cjs +5 -5
- package/dist/actions/get-air-pollution-forecast.cjs.map +1 -1
- package/dist/actions/get-air-pollution-forecast.d.cts +5 -5
- package/dist/actions/get-air-pollution-forecast.d.mts +5 -5
- package/dist/actions/get-air-pollution-forecast.mjs +5 -5
- package/dist/actions/get-air-pollution-forecast.mjs.map +1 -1
- package/dist/actions/get-air-pollution-history.cjs +5 -5
- package/dist/actions/get-air-pollution-history.cjs.map +1 -1
- package/dist/actions/get-air-pollution-history.d.cts +5 -5
- package/dist/actions/get-air-pollution-history.d.mts +5 -5
- package/dist/actions/get-air-pollution-history.mjs +5 -5
- package/dist/actions/get-air-pollution-history.mjs.map +1 -1
- package/dist/actions/get-circle-city-weather.cjs +10 -10
- package/dist/actions/get-circle-city-weather.cjs.map +1 -1
- package/dist/actions/get-circle-city-weather.d.cts +10 -10
- package/dist/actions/get-circle-city-weather.d.mts +10 -10
- package/dist/actions/get-circle-city-weather.mjs +10 -10
- package/dist/actions/get-circle-city-weather.mjs.map +1 -1
- package/dist/actions/get-current-weather.cjs +9 -9
- package/dist/actions/get-current-weather.cjs.map +1 -1
- package/dist/actions/get-current-weather.d.cts +9 -9
- package/dist/actions/get-current-weather.d.mts +9 -9
- package/dist/actions/get-current-weather.mjs +9 -9
- package/dist/actions/get-current-weather.mjs.map +1 -1
- package/dist/actions/get-geocoding-by-zip.cjs +1 -1
- package/dist/actions/get-geocoding-by-zip.cjs.map +1 -1
- package/dist/actions/get-geocoding-by-zip.d.cts +1 -1
- package/dist/actions/get-geocoding-by-zip.d.mts +1 -1
- package/dist/actions/get-geocoding-by-zip.mjs +1 -1
- package/dist/actions/get-geocoding-by-zip.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 +2 -2
- package/dist/actions/get-station-measurements.d.mts +2 -2
- 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-history.cjs +2 -2
- package/dist/actions/get-uv-index-history.cjs.map +1 -1
- package/dist/actions/get-uv-index-history.d.cts +2 -2
- package/dist/actions/get-uv-index-history.d.mts +2 -2
- package/dist/actions/get-uv-index-history.mjs +2 -2
- package/dist/actions/get-uv-index-history.mjs.map +1 -1
- package/dist/actions/get-uv-index.cjs +1 -1
- package/dist/actions/get-uv-index.cjs.map +1 -1
- package/dist/actions/get-uv-index.d.cts +1 -1
- package/dist/actions/get-uv-index.d.mts +1 -1
- package/dist/actions/get-uv-index.mjs +1 -1
- 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 +5 -5
- package/dist/actions/get-weather-map-tile.d.mts +5 -5
- 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 +1 -1
- package/dist/actions/get-weather-station.cjs.map +1 -1
- package/dist/actions/get-weather-station.d.cts +1 -1
- package/dist/actions/get-weather-station.d.mts +1 -1
- package/dist/actions/get-weather-station.mjs +1 -1
- package/dist/actions/get-weather-station.mjs.map +1 -1
- package/dist/actions/get-weather-stations.cjs +2 -2
- package/dist/actions/get-weather-stations.cjs.map +1 -1
- package/dist/actions/get-weather-stations.d.cts +2 -2
- package/dist/actions/get-weather-stations.d.mts +2 -2
- package/dist/actions/get-weather-stations.mjs +2 -2
- package/dist/actions/get-weather-stations.mjs.map +1 -1
- package/dist/actions/get-weather-triggers.cjs +3 -3
- package/dist/actions/get-weather-triggers.cjs.map +1 -1
- package/dist/actions/get-weather-triggers.d.cts +4 -3
- package/dist/actions/get-weather-triggers.d.mts +4 -3
- package/dist/actions/get-weather-triggers.mjs +3 -3
- package/dist/actions/get-weather-triggers.mjs.map +1 -1
- package/dist/actions/get5-day-forecast.cjs +10 -10
- package/dist/actions/get5-day-forecast.cjs.map +1 -1
- package/dist/actions/get5-day-forecast.d.cts +11 -11
- package/dist/actions/get5-day-forecast.d.mts +11 -11
- package/dist/actions/get5-day-forecast.mjs +10 -10
- package/dist/actions/get5-day-forecast.mjs.map +1 -1
- package/dist/actions/post-add-weather-station.cjs +1 -1
- package/dist/actions/post-add-weather-station.cjs.map +1 -1
- package/dist/actions/post-add-weather-station.d.cts +1 -1
- package/dist/actions/post-add-weather-station.d.mts +1 -1
- package/dist/actions/post-add-weather-station.mjs +1 -1
- 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 +3 -2
- package/dist/actions/post-submit-station-measurements.d.mts +3 -2
- 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 +1 -1
- package/dist/actions/update-weather-station.cjs.map +1 -1
- package/dist/actions/update-weather-station.d.cts +1 -1
- package/dist/actions/update-weather-station.d.mts +1 -1
- package/dist/actions/update-weather-station.mjs +1 -1
- package/dist/actions/update-weather-station.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -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 +1 -1
|
@@ -18,7 +18,7 @@ const OpenweatherApiGetCircleCityWeather_SysSchema = zod.z.object({
|
|
|
18
18
|
country: zod.z.string().describe("Country code").nullable().optional(),
|
|
19
19
|
sunrise: zod.z.number().int().describe("Sunrise time (Unix UTC)").nullable().optional(),
|
|
20
20
|
timezone: zod.z.number().int().describe("Shift in seconds from UTC").nullable().optional()
|
|
21
|
-
});
|
|
21
|
+
}).passthrough();
|
|
22
22
|
const OpenweatherApiGetCircleCityWeather_MainSchema = zod.z.object({
|
|
23
23
|
temp: zod.z.number().describe("Temperature").nullable(),
|
|
24
24
|
humidity: zod.z.number().int().describe("Humidity percentage").nullable(),
|
|
@@ -28,31 +28,31 @@ const OpenweatherApiGetCircleCityWeather_MainSchema = zod.z.object({
|
|
|
28
28
|
sea_level: zod.z.number().int().describe("Atmospheric pressure at sea level (hPa)").nullable().optional(),
|
|
29
29
|
feels_like: zod.z.number().describe("Temperature felt physically").nullable(),
|
|
30
30
|
grnd_level: zod.z.number().int().describe("Atmospheric pressure at ground level (hPa)").nullable().optional()
|
|
31
|
-
});
|
|
31
|
+
}).passthrough();
|
|
32
32
|
const OpenweatherApiGetCircleCityWeather_RainSchema = zod.z.object({
|
|
33
33
|
"1h": zod.z.number().describe("Rain volume for the last 1 hour, mm").nullable().optional(),
|
|
34
34
|
"3h": zod.z.number().describe("Rain volume for the last 3 hours, mm").nullable().optional()
|
|
35
|
-
});
|
|
35
|
+
}).passthrough();
|
|
36
36
|
const OpenweatherApiGetCircleCityWeather_SnowSchema = zod.z.object({
|
|
37
37
|
"1h": zod.z.number().describe("Snow volume for the last 1 hour, mm").nullable().optional(),
|
|
38
38
|
"3h": zod.z.number().describe("Snow volume for the last 3 hours, mm").nullable().optional()
|
|
39
|
-
});
|
|
39
|
+
}).passthrough();
|
|
40
40
|
const OpenweatherApiGetCircleCityWeather_WindSchema = zod.z.object({
|
|
41
41
|
deg: zod.z.number().int().describe("Wind direction in degrees").nullable(),
|
|
42
42
|
gust: zod.z.number().describe("Wind gust speed").nullable().optional(),
|
|
43
43
|
speed: zod.z.number().describe("Wind speed").nullable()
|
|
44
|
-
});
|
|
44
|
+
}).passthrough();
|
|
45
45
|
const OpenweatherApiGetCircleCityWeather_CoordSchema = zod.z.object({
|
|
46
46
|
lat: zod.z.number().describe("Latitude of the city").nullable(),
|
|
47
47
|
lon: zod.z.number().describe("Longitude of the city").nullable()
|
|
48
|
-
});
|
|
49
|
-
const OpenweatherApiGetCircleCityWeather_CloudsSchema = zod.z.object({ all: zod.z.number().int().describe("Cloudiness percentage").nullable() });
|
|
48
|
+
}).passthrough();
|
|
49
|
+
const OpenweatherApiGetCircleCityWeather_CloudsSchema = zod.z.object({ all: zod.z.number().int().describe("Cloudiness percentage").nullable() }).passthrough();
|
|
50
50
|
const OpenweatherApiGetCircleCityWeather_WeatherEntrySchema = zod.z.object({
|
|
51
51
|
id: zod.z.number().int().describe("Weather condition ID").nullable(),
|
|
52
52
|
icon: zod.z.string().describe("Weather icon ID").nullable(),
|
|
53
53
|
main: zod.z.string().describe("Group of weather parameters (e.g. Rain, Snow)").nullable(),
|
|
54
54
|
description: zod.z.string().describe("Weather condition description").nullable()
|
|
55
|
-
});
|
|
55
|
+
}).passthrough();
|
|
56
56
|
const OpenweatherApiGetCircleCityWeather_CityWeatherSchema = zod.z.object({
|
|
57
57
|
dt: zod.z.number().int().describe("Data calculation time (Unix UTC)").nullable(),
|
|
58
58
|
id: zod.z.number().int().describe("City ID").nullable(),
|
|
@@ -65,13 +65,13 @@ const OpenweatherApiGetCircleCityWeather_CityWeatherSchema = zod.z.object({
|
|
|
65
65
|
coord: OpenweatherApiGetCircleCityWeather_CoordSchema.nullable(),
|
|
66
66
|
clouds: OpenweatherApiGetCircleCityWeather_CloudsSchema.nullable(),
|
|
67
67
|
weather: zod.z.array(OpenweatherApiGetCircleCityWeather_WeatherEntrySchema).describe("Weather condition list")
|
|
68
|
-
});
|
|
68
|
+
}).passthrough();
|
|
69
69
|
const OpenweatherApiGetCircleCityWeatherOutput = zod.z.object({
|
|
70
70
|
cod: zod.z.string().describe("Internal status code").nullable(),
|
|
71
71
|
list: zod.z.array(OpenweatherApiGetCircleCityWeather_CityWeatherSchema).describe("List of city weather data objects"),
|
|
72
72
|
count: zod.z.number().int().describe("Number of cities returned in the response").nullable(),
|
|
73
73
|
message: zod.z.string().describe("Internal parameter, message in case of errors or usage info").nullable()
|
|
74
|
-
});
|
|
74
|
+
}).passthrough();
|
|
75
75
|
const openweatherApiGetCircleCityWeather = require_action.action("OPENWEATHER_API_GET_CIRCLE_CITY_WEATHER", {
|
|
76
76
|
slug: "openweather_api-get-circle-city-weather",
|
|
77
77
|
name: "Get Circle City Weather",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-circle-city-weather.cjs","names":["z","action"],"sources":["../../src/actions/get-circle-city-weather.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetCircleCityWeatherInput = z.object({\n cnt: z.number().int().describe(\"Number of cities to return within the circle (1–50). Default is 10.\").optional(),\n lat: z.number().describe(\"Latitude of the circle center in degrees (-90 to 90)\"),\n lon: z.number().describe(\"Longitude of the circle center in degrees (-180 to 180)\"),\n lang: z.string().default(\"en\").describe(\"Language of the response (ISO 639-1)\").optional(),\n mode: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format: 'json' or 'xml'\").optional(),\n units: z.enum([\"standard\", \"metric\", \"imperial\"]).default(\"standard\").describe(\"Units of measurement: standard, metric, or imperial\").optional(),\n});\nconst OpenweatherApiGetCircleCityWeather_SysSchema = z.object({\n sunset: z.number().int().describe(\"Sunset time (Unix UTC)\").nullable().optional(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n sunrise: z.number().int().describe(\"Sunrise time (Unix UTC)\").nullable().optional(),\n timezone: z.number().int().describe(\"Shift in seconds from UTC\").nullable().optional(),\n});\nconst OpenweatherApiGetCircleCityWeather_MainSchema = 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 observed temperature\").nullable(),\n temp_min: z.number().describe(\"Minimum observed temperature\").nullable(),\n sea_level: z.number().int().describe(\"Atmospheric pressure at sea level (hPa)\").nullable().optional(),\n feels_like: z.number().describe(\"Temperature felt physically\").nullable(),\n grnd_level: z.number().int().describe(\"Atmospheric pressure at ground level (hPa)\").nullable().optional(),\n});\nconst OpenweatherApiGetCircleCityWeather_RainSchema = z.object({\n \"1h\": z.number().describe(\"Rain volume for the last 1 hour, mm\").nullable().optional(),\n \"3h\": z.number().describe(\"Rain volume for the last 3 hours, mm\").nullable().optional(),\n});\nconst OpenweatherApiGetCircleCityWeather_SnowSchema = z.object({\n \"1h\": z.number().describe(\"Snow volume for the last 1 hour, mm\").nullable().optional(),\n \"3h\": z.number().describe(\"Snow volume for the last 3 hours, mm\").nullable().optional(),\n});\nconst OpenweatherApiGetCircleCityWeather_WindSchema = z.object({\n deg: z.number().int().describe(\"Wind direction in degrees\").nullable(),\n gust: z.number().describe(\"Wind gust speed\").nullable().optional(),\n speed: z.number().describe(\"Wind speed\").nullable(),\n});\nconst OpenweatherApiGetCircleCityWeather_CoordSchema = z.object({\n lat: z.number().describe(\"Latitude of the city\").nullable(),\n lon: z.number().describe(\"Longitude of the city\").nullable(),\n});\nconst OpenweatherApiGetCircleCityWeather_CloudsSchema = z.object({\n all: z.number().int().describe(\"Cloudiness percentage\").nullable(),\n});\nconst OpenweatherApiGetCircleCityWeather_WeatherEntrySchema = 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});\nconst OpenweatherApiGetCircleCityWeather_CityWeatherSchema = z.object({\n dt: z.number().int().describe(\"Data calculation time (Unix UTC)\").nullable(),\n id: z.number().int().describe(\"City ID\").nullable(),\n sys: OpenweatherApiGetCircleCityWeather_SysSchema.nullable(),\n main: OpenweatherApiGetCircleCityWeather_MainSchema.nullable(),\n name: z.string().describe(\"City name\").nullable(),\n rain: OpenweatherApiGetCircleCityWeather_RainSchema.nullable().optional(),\n snow: OpenweatherApiGetCircleCityWeather_SnowSchema.nullable().optional(),\n wind: OpenweatherApiGetCircleCityWeather_WindSchema.nullable(),\n coord: OpenweatherApiGetCircleCityWeather_CoordSchema.nullable(),\n clouds: OpenweatherApiGetCircleCityWeather_CloudsSchema.nullable(),\n weather: z.array(OpenweatherApiGetCircleCityWeather_WeatherEntrySchema).describe(\"Weather condition list\"),\n});\nexport const OpenweatherApiGetCircleCityWeatherOutput = z.object({\n cod: z.string().describe(\"Internal status code\").nullable(),\n list: z.array(OpenweatherApiGetCircleCityWeather_CityWeatherSchema).describe(\"List of city weather data objects\"),\n count: z.number().int().describe(\"Number of cities returned in the response\").nullable(),\n message: z.string().describe(\"Internal parameter, message in case of errors or usage info\").nullable(),\n});\n\nexport const openweatherApiGetCircleCityWeather = action(\"OPENWEATHER_API_GET_CIRCLE_CITY_WEATHER\", {\n slug: \"openweather_api-get-circle-city-weather\",\n name: \"Get Circle City Weather\",\n description: \"Tool to search for current weather data in cities around a geographic point. Use when you need to fetch weather within a radius circle after confirming latitude and longitude.\",\n input: OpenweatherApiGetCircleCityWeatherInput,\n output: OpenweatherApiGetCircleCityWeatherOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/G,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAC/E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAU;CAAU,CAAC,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACjJ,CAAC;AACD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC;
|
|
1
|
+
{"version":3,"file":"get-circle-city-weather.cjs","names":["z","action"],"sources":["../../src/actions/get-circle-city-weather.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetCircleCityWeatherInput = z.object({\n cnt: z.number().int().describe(\"Number of cities to return within the circle (1–50). Default is 10.\").optional(),\n lat: z.number().describe(\"Latitude of the circle center in degrees (-90 to 90)\"),\n lon: z.number().describe(\"Longitude of the circle center in degrees (-180 to 180)\"),\n lang: z.string().default(\"en\").describe(\"Language of the response (ISO 639-1)\").optional(),\n mode: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format: 'json' or 'xml'\").optional(),\n units: z.enum([\"standard\", \"metric\", \"imperial\"]).default(\"standard\").describe(\"Units of measurement: standard, metric, or imperial\").optional(),\n});\nconst OpenweatherApiGetCircleCityWeather_SysSchema = z.object({\n sunset: z.number().int().describe(\"Sunset time (Unix UTC)\").nullable().optional(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n sunrise: z.number().int().describe(\"Sunrise time (Unix UTC)\").nullable().optional(),\n timezone: z.number().int().describe(\"Shift in seconds from UTC\").nullable().optional(),\n}).passthrough();\nconst OpenweatherApiGetCircleCityWeather_MainSchema = 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 observed temperature\").nullable(),\n temp_min: z.number().describe(\"Minimum observed temperature\").nullable(),\n sea_level: z.number().int().describe(\"Atmospheric pressure at sea level (hPa)\").nullable().optional(),\n feels_like: z.number().describe(\"Temperature felt physically\").nullable(),\n grnd_level: z.number().int().describe(\"Atmospheric pressure at ground level (hPa)\").nullable().optional(),\n}).passthrough();\nconst OpenweatherApiGetCircleCityWeather_RainSchema = z.object({\n \"1h\": z.number().describe(\"Rain volume for the last 1 hour, mm\").nullable().optional(),\n \"3h\": z.number().describe(\"Rain volume for the last 3 hours, mm\").nullable().optional(),\n}).passthrough();\nconst OpenweatherApiGetCircleCityWeather_SnowSchema = z.object({\n \"1h\": z.number().describe(\"Snow volume for the last 1 hour, mm\").nullable().optional(),\n \"3h\": z.number().describe(\"Snow volume for the last 3 hours, mm\").nullable().optional(),\n}).passthrough();\nconst OpenweatherApiGetCircleCityWeather_WindSchema = z.object({\n deg: z.number().int().describe(\"Wind direction in degrees\").nullable(),\n gust: z.number().describe(\"Wind gust speed\").nullable().optional(),\n speed: z.number().describe(\"Wind speed\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetCircleCityWeather_CoordSchema = z.object({\n lat: z.number().describe(\"Latitude of the city\").nullable(),\n lon: z.number().describe(\"Longitude of the city\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetCircleCityWeather_CloudsSchema = z.object({\n all: z.number().int().describe(\"Cloudiness percentage\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetCircleCityWeather_WeatherEntrySchema = 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();\nconst OpenweatherApiGetCircleCityWeather_CityWeatherSchema = z.object({\n dt: z.number().int().describe(\"Data calculation time (Unix UTC)\").nullable(),\n id: z.number().int().describe(\"City ID\").nullable(),\n sys: OpenweatherApiGetCircleCityWeather_SysSchema.nullable(),\n main: OpenweatherApiGetCircleCityWeather_MainSchema.nullable(),\n name: z.string().describe(\"City name\").nullable(),\n rain: OpenweatherApiGetCircleCityWeather_RainSchema.nullable().optional(),\n snow: OpenweatherApiGetCircleCityWeather_SnowSchema.nullable().optional(),\n wind: OpenweatherApiGetCircleCityWeather_WindSchema.nullable(),\n coord: OpenweatherApiGetCircleCityWeather_CoordSchema.nullable(),\n clouds: OpenweatherApiGetCircleCityWeather_CloudsSchema.nullable(),\n weather: z.array(OpenweatherApiGetCircleCityWeather_WeatherEntrySchema).describe(\"Weather condition list\"),\n}).passthrough();\nexport const OpenweatherApiGetCircleCityWeatherOutput = z.object({\n cod: z.string().describe(\"Internal status code\").nullable(),\n list: z.array(OpenweatherApiGetCircleCityWeather_CityWeatherSchema).describe(\"List of city weather data objects\"),\n count: z.number().int().describe(\"Number of cities returned in the response\").nullable(),\n message: z.string().describe(\"Internal parameter, message in case of errors or usage info\").nullable(),\n}).passthrough();\n\nexport const openweatherApiGetCircleCityWeather = action(\"OPENWEATHER_API_GET_CIRCLE_CITY_WEATHER\", {\n slug: \"openweather_api-get-circle-city-weather\",\n name: \"Get Circle City Weather\",\n description: \"Tool to search for current weather data in cities around a geographic point. Use when you need to fetch weather within a radius circle after confirming latitude and longitude.\",\n input: OpenweatherApiGetCircleCityWeatherInput,\n output: OpenweatherApiGetCircleCityWeatherOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/G,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAC/E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAU;CAAU,CAAC,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACjJ,CAAC;AACD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,S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AC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qCAAqCC,eAAAA,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -26,7 +26,7 @@ declare const OpenweatherApiGetCircleCityWeatherOutput: z.ZodObject<{
|
|
|
26
26
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
sunrise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
30
|
main: z.ZodNullable<z.ZodObject<{
|
|
31
31
|
temp: z.ZodNullable<z.ZodNumber>;
|
|
32
32
|
humidity: z.ZodNullable<z.ZodNumber>;
|
|
@@ -36,38 +36,38 @@ declare const OpenweatherApiGetCircleCityWeatherOutput: z.ZodObject<{
|
|
|
36
36
|
sea_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
37
|
feels_like: z.ZodNullable<z.ZodNumber>;
|
|
38
38
|
grnd_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>>;
|
|
40
40
|
name: z.ZodNullable<z.ZodString>;
|
|
41
41
|
rain: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
42
42
|
"1h": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
43
|
"3h": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>>;
|
|
45
45
|
snow: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
46
46
|
"1h": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
47
|
"3h": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
49
|
wind: z.ZodNullable<z.ZodObject<{
|
|
50
50
|
deg: z.ZodNullable<z.ZodNumber>;
|
|
51
51
|
gust: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
52
52
|
speed: z.ZodNullable<z.ZodNumber>;
|
|
53
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>>;
|
|
54
54
|
coord: z.ZodNullable<z.ZodObject<{
|
|
55
55
|
lat: z.ZodNullable<z.ZodNumber>;
|
|
56
56
|
lon: z.ZodNullable<z.ZodNumber>;
|
|
57
|
-
}, z.core.$
|
|
57
|
+
}, z.core.$loose>>;
|
|
58
58
|
clouds: z.ZodNullable<z.ZodObject<{
|
|
59
59
|
all: z.ZodNullable<z.ZodNumber>;
|
|
60
|
-
}, z.core.$
|
|
60
|
+
}, z.core.$loose>>;
|
|
61
61
|
weather: z.ZodArray<z.ZodObject<{
|
|
62
62
|
id: z.ZodNullable<z.ZodNumber>;
|
|
63
63
|
icon: z.ZodNullable<z.ZodString>;
|
|
64
64
|
main: z.ZodNullable<z.ZodString>;
|
|
65
65
|
description: z.ZodNullable<z.ZodString>;
|
|
66
|
-
}, z.core.$
|
|
67
|
-
}, z.core.$
|
|
66
|
+
}, z.core.$loose>>;
|
|
67
|
+
}, z.core.$loose>>;
|
|
68
68
|
count: z.ZodNullable<z.ZodNumber>;
|
|
69
69
|
message: z.ZodNullable<z.ZodString>;
|
|
70
|
-
}, z.core.$
|
|
70
|
+
}, z.core.$loose>;
|
|
71
71
|
declare const openweatherApiGetCircleCityWeather: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
72
72
|
lat: number;
|
|
73
73
|
lon: number;
|
|
@@ -26,7 +26,7 @@ declare const OpenweatherApiGetCircleCityWeatherOutput: z.ZodObject<{
|
|
|
26
26
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
sunrise: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
30
|
main: z.ZodNullable<z.ZodObject<{
|
|
31
31
|
temp: z.ZodNullable<z.ZodNumber>;
|
|
32
32
|
humidity: z.ZodNullable<z.ZodNumber>;
|
|
@@ -36,38 +36,38 @@ declare const OpenweatherApiGetCircleCityWeatherOutput: z.ZodObject<{
|
|
|
36
36
|
sea_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
37
|
feels_like: z.ZodNullable<z.ZodNumber>;
|
|
38
38
|
grnd_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>>;
|
|
40
40
|
name: z.ZodNullable<z.ZodString>;
|
|
41
41
|
rain: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
42
42
|
"1h": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
43
|
"3h": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>>;
|
|
45
45
|
snow: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
46
46
|
"1h": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
47
|
"3h": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
49
|
wind: z.ZodNullable<z.ZodObject<{
|
|
50
50
|
deg: z.ZodNullable<z.ZodNumber>;
|
|
51
51
|
gust: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
52
52
|
speed: z.ZodNullable<z.ZodNumber>;
|
|
53
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>>;
|
|
54
54
|
coord: z.ZodNullable<z.ZodObject<{
|
|
55
55
|
lat: z.ZodNullable<z.ZodNumber>;
|
|
56
56
|
lon: z.ZodNullable<z.ZodNumber>;
|
|
57
|
-
}, z.core.$
|
|
57
|
+
}, z.core.$loose>>;
|
|
58
58
|
clouds: z.ZodNullable<z.ZodObject<{
|
|
59
59
|
all: z.ZodNullable<z.ZodNumber>;
|
|
60
|
-
}, z.core.$
|
|
60
|
+
}, z.core.$loose>>;
|
|
61
61
|
weather: z.ZodArray<z.ZodObject<{
|
|
62
62
|
id: z.ZodNullable<z.ZodNumber>;
|
|
63
63
|
icon: z.ZodNullable<z.ZodString>;
|
|
64
64
|
main: z.ZodNullable<z.ZodString>;
|
|
65
65
|
description: z.ZodNullable<z.ZodString>;
|
|
66
|
-
}, z.core.$
|
|
67
|
-
}, z.core.$
|
|
66
|
+
}, z.core.$loose>>;
|
|
67
|
+
}, z.core.$loose>>;
|
|
68
68
|
count: z.ZodNullable<z.ZodNumber>;
|
|
69
69
|
message: z.ZodNullable<z.ZodString>;
|
|
70
|
-
}, z.core.$
|
|
70
|
+
}, z.core.$loose>;
|
|
71
71
|
declare const openweatherApiGetCircleCityWeather: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
72
72
|
lat: number;
|
|
73
73
|
lon: number;
|
|
@@ -18,7 +18,7 @@ const OpenweatherApiGetCircleCityWeather_SysSchema = z.object({
|
|
|
18
18
|
country: z.string().describe("Country code").nullable().optional(),
|
|
19
19
|
sunrise: z.number().int().describe("Sunrise time (Unix UTC)").nullable().optional(),
|
|
20
20
|
timezone: z.number().int().describe("Shift in seconds from UTC").nullable().optional()
|
|
21
|
-
});
|
|
21
|
+
}).passthrough();
|
|
22
22
|
const OpenweatherApiGetCircleCityWeather_MainSchema = z.object({
|
|
23
23
|
temp: z.number().describe("Temperature").nullable(),
|
|
24
24
|
humidity: z.number().int().describe("Humidity percentage").nullable(),
|
|
@@ -28,31 +28,31 @@ const OpenweatherApiGetCircleCityWeather_MainSchema = z.object({
|
|
|
28
28
|
sea_level: z.number().int().describe("Atmospheric pressure at sea level (hPa)").nullable().optional(),
|
|
29
29
|
feels_like: z.number().describe("Temperature felt physically").nullable(),
|
|
30
30
|
grnd_level: z.number().int().describe("Atmospheric pressure at ground level (hPa)").nullable().optional()
|
|
31
|
-
});
|
|
31
|
+
}).passthrough();
|
|
32
32
|
const OpenweatherApiGetCircleCityWeather_RainSchema = z.object({
|
|
33
33
|
"1h": z.number().describe("Rain volume for the last 1 hour, mm").nullable().optional(),
|
|
34
34
|
"3h": z.number().describe("Rain volume for the last 3 hours, mm").nullable().optional()
|
|
35
|
-
});
|
|
35
|
+
}).passthrough();
|
|
36
36
|
const OpenweatherApiGetCircleCityWeather_SnowSchema = z.object({
|
|
37
37
|
"1h": z.number().describe("Snow volume for the last 1 hour, mm").nullable().optional(),
|
|
38
38
|
"3h": z.number().describe("Snow volume for the last 3 hours, mm").nullable().optional()
|
|
39
|
-
});
|
|
39
|
+
}).passthrough();
|
|
40
40
|
const OpenweatherApiGetCircleCityWeather_WindSchema = z.object({
|
|
41
41
|
deg: z.number().int().describe("Wind direction in degrees").nullable(),
|
|
42
42
|
gust: z.number().describe("Wind gust speed").nullable().optional(),
|
|
43
43
|
speed: z.number().describe("Wind speed").nullable()
|
|
44
|
-
});
|
|
44
|
+
}).passthrough();
|
|
45
45
|
const OpenweatherApiGetCircleCityWeather_CoordSchema = z.object({
|
|
46
46
|
lat: z.number().describe("Latitude of the city").nullable(),
|
|
47
47
|
lon: z.number().describe("Longitude of the city").nullable()
|
|
48
|
-
});
|
|
49
|
-
const OpenweatherApiGetCircleCityWeather_CloudsSchema = z.object({ all: z.number().int().describe("Cloudiness percentage").nullable() });
|
|
48
|
+
}).passthrough();
|
|
49
|
+
const OpenweatherApiGetCircleCityWeather_CloudsSchema = z.object({ all: z.number().int().describe("Cloudiness percentage").nullable() }).passthrough();
|
|
50
50
|
const OpenweatherApiGetCircleCityWeather_WeatherEntrySchema = z.object({
|
|
51
51
|
id: z.number().int().describe("Weather condition ID").nullable(),
|
|
52
52
|
icon: z.string().describe("Weather icon ID").nullable(),
|
|
53
53
|
main: z.string().describe("Group of weather parameters (e.g. Rain, Snow)").nullable(),
|
|
54
54
|
description: z.string().describe("Weather condition description").nullable()
|
|
55
|
-
});
|
|
55
|
+
}).passthrough();
|
|
56
56
|
const OpenweatherApiGetCircleCityWeather_CityWeatherSchema = z.object({
|
|
57
57
|
dt: z.number().int().describe("Data calculation time (Unix UTC)").nullable(),
|
|
58
58
|
id: z.number().int().describe("City ID").nullable(),
|
|
@@ -65,7 +65,7 @@ const OpenweatherApiGetCircleCityWeather_CityWeatherSchema = z.object({
|
|
|
65
65
|
coord: OpenweatherApiGetCircleCityWeather_CoordSchema.nullable(),
|
|
66
66
|
clouds: OpenweatherApiGetCircleCityWeather_CloudsSchema.nullable(),
|
|
67
67
|
weather: z.array(OpenweatherApiGetCircleCityWeather_WeatherEntrySchema).describe("Weather condition list")
|
|
68
|
-
});
|
|
68
|
+
}).passthrough();
|
|
69
69
|
const openweatherApiGetCircleCityWeather = action("OPENWEATHER_API_GET_CIRCLE_CITY_WEATHER", {
|
|
70
70
|
slug: "openweather_api-get-circle-city-weather",
|
|
71
71
|
name: "Get Circle City Weather",
|
|
@@ -76,7 +76,7 @@ const openweatherApiGetCircleCityWeather = action("OPENWEATHER_API_GET_CIRCLE_CI
|
|
|
76
76
|
list: z.array(OpenweatherApiGetCircleCityWeather_CityWeatherSchema).describe("List of city weather data objects"),
|
|
77
77
|
count: z.number().int().describe("Number of cities returned in the response").nullable(),
|
|
78
78
|
message: z.string().describe("Internal parameter, message in case of errors or usage info").nullable()
|
|
79
|
-
})
|
|
79
|
+
}).passthrough()
|
|
80
80
|
});
|
|
81
81
|
//#endregion
|
|
82
82
|
export { openweatherApiGetCircleCityWeather };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-circle-city-weather.mjs","names":[],"sources":["../../src/actions/get-circle-city-weather.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetCircleCityWeatherInput = z.object({\n cnt: z.number().int().describe(\"Number of cities to return within the circle (1–50). Default is 10.\").optional(),\n lat: z.number().describe(\"Latitude of the circle center in degrees (-90 to 90)\"),\n lon: z.number().describe(\"Longitude of the circle center in degrees (-180 to 180)\"),\n lang: z.string().default(\"en\").describe(\"Language of the response (ISO 639-1)\").optional(),\n mode: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format: 'json' or 'xml'\").optional(),\n units: z.enum([\"standard\", \"metric\", \"imperial\"]).default(\"standard\").describe(\"Units of measurement: standard, metric, or imperial\").optional(),\n});\nconst OpenweatherApiGetCircleCityWeather_SysSchema = z.object({\n sunset: z.number().int().describe(\"Sunset time (Unix UTC)\").nullable().optional(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n sunrise: z.number().int().describe(\"Sunrise time (Unix UTC)\").nullable().optional(),\n timezone: z.number().int().describe(\"Shift in seconds from UTC\").nullable().optional(),\n});\nconst OpenweatherApiGetCircleCityWeather_MainSchema = 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 observed temperature\").nullable(),\n temp_min: z.number().describe(\"Minimum observed temperature\").nullable(),\n sea_level: z.number().int().describe(\"Atmospheric pressure at sea level (hPa)\").nullable().optional(),\n feels_like: z.number().describe(\"Temperature felt physically\").nullable(),\n grnd_level: z.number().int().describe(\"Atmospheric pressure at ground level (hPa)\").nullable().optional(),\n});\nconst OpenweatherApiGetCircleCityWeather_RainSchema = z.object({\n \"1h\": z.number().describe(\"Rain volume for the last 1 hour, mm\").nullable().optional(),\n \"3h\": z.number().describe(\"Rain volume for the last 3 hours, mm\").nullable().optional(),\n});\nconst OpenweatherApiGetCircleCityWeather_SnowSchema = z.object({\n \"1h\": z.number().describe(\"Snow volume for the last 1 hour, mm\").nullable().optional(),\n \"3h\": z.number().describe(\"Snow volume for the last 3 hours, mm\").nullable().optional(),\n});\nconst OpenweatherApiGetCircleCityWeather_WindSchema = z.object({\n deg: z.number().int().describe(\"Wind direction in degrees\").nullable(),\n gust: z.number().describe(\"Wind gust speed\").nullable().optional(),\n speed: z.number().describe(\"Wind speed\").nullable(),\n});\nconst OpenweatherApiGetCircleCityWeather_CoordSchema = z.object({\n lat: z.number().describe(\"Latitude of the city\").nullable(),\n lon: z.number().describe(\"Longitude of the city\").nullable(),\n});\nconst OpenweatherApiGetCircleCityWeather_CloudsSchema = z.object({\n all: z.number().int().describe(\"Cloudiness percentage\").nullable(),\n});\nconst OpenweatherApiGetCircleCityWeather_WeatherEntrySchema = 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});\nconst OpenweatherApiGetCircleCityWeather_CityWeatherSchema = z.object({\n dt: z.number().int().describe(\"Data calculation time (Unix UTC)\").nullable(),\n id: z.number().int().describe(\"City ID\").nullable(),\n sys: OpenweatherApiGetCircleCityWeather_SysSchema.nullable(),\n main: OpenweatherApiGetCircleCityWeather_MainSchema.nullable(),\n name: z.string().describe(\"City name\").nullable(),\n rain: OpenweatherApiGetCircleCityWeather_RainSchema.nullable().optional(),\n snow: OpenweatherApiGetCircleCityWeather_SnowSchema.nullable().optional(),\n wind: OpenweatherApiGetCircleCityWeather_WindSchema.nullable(),\n coord: OpenweatherApiGetCircleCityWeather_CoordSchema.nullable(),\n clouds: OpenweatherApiGetCircleCityWeather_CloudsSchema.nullable(),\n weather: z.array(OpenweatherApiGetCircleCityWeather_WeatherEntrySchema).describe(\"Weather condition list\"),\n});\nexport const OpenweatherApiGetCircleCityWeatherOutput = z.object({\n cod: z.string().describe(\"Internal status code\").nullable(),\n list: z.array(OpenweatherApiGetCircleCityWeather_CityWeatherSchema).describe(\"List of city weather data objects\"),\n count: z.number().int().describe(\"Number of cities returned in the response\").nullable(),\n message: z.string().describe(\"Internal parameter, message in case of errors or usage info\").nullable(),\n});\n\nexport const openweatherApiGetCircleCityWeather = action(\"OPENWEATHER_API_GET_CIRCLE_CITY_WEATHER\", {\n slug: \"openweather_api-get-circle-city-weather\",\n name: \"Get Circle City Weather\",\n description: \"Tool to search for current weather data in cities around a geographic point. Use when you need to fetch weather within a radius circle after confirming latitude and longitude.\",\n input: OpenweatherApiGetCircleCityWeatherInput,\n output: OpenweatherApiGetCircleCityWeatherOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/G,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpG,OAAO,EAAE,KAAK;EAAC;EAAY;EAAU;CAAU,CAAC,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACjJ,CAAC;AACD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC;
|
|
1
|
+
{"version":3,"file":"get-circle-city-weather.mjs","names":[],"sources":["../../src/actions/get-circle-city-weather.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetCircleCityWeatherInput = z.object({\n cnt: z.number().int().describe(\"Number of cities to return within the circle (1–50). Default is 10.\").optional(),\n lat: z.number().describe(\"Latitude of the circle center in degrees (-90 to 90)\"),\n lon: z.number().describe(\"Longitude of the circle center in degrees (-180 to 180)\"),\n lang: z.string().default(\"en\").describe(\"Language of the response (ISO 639-1)\").optional(),\n mode: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format: 'json' or 'xml'\").optional(),\n units: z.enum([\"standard\", \"metric\", \"imperial\"]).default(\"standard\").describe(\"Units of measurement: standard, metric, or imperial\").optional(),\n});\nconst OpenweatherApiGetCircleCityWeather_SysSchema = z.object({\n sunset: z.number().int().describe(\"Sunset time (Unix UTC)\").nullable().optional(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n sunrise: z.number().int().describe(\"Sunrise time (Unix UTC)\").nullable().optional(),\n timezone: z.number().int().describe(\"Shift in seconds from UTC\").nullable().optional(),\n}).passthrough();\nconst OpenweatherApiGetCircleCityWeather_MainSchema = 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 observed temperature\").nullable(),\n temp_min: z.number().describe(\"Minimum observed temperature\").nullable(),\n sea_level: z.number().int().describe(\"Atmospheric pressure at sea level (hPa)\").nullable().optional(),\n feels_like: z.number().describe(\"Temperature felt physically\").nullable(),\n grnd_level: z.number().int().describe(\"Atmospheric pressure at ground level (hPa)\").nullable().optional(),\n}).passthrough();\nconst OpenweatherApiGetCircleCityWeather_RainSchema = z.object({\n \"1h\": z.number().describe(\"Rain volume for the last 1 hour, mm\").nullable().optional(),\n \"3h\": z.number().describe(\"Rain volume for the last 3 hours, mm\").nullable().optional(),\n}).passthrough();\nconst OpenweatherApiGetCircleCityWeather_SnowSchema = z.object({\n \"1h\": z.number().describe(\"Snow volume for the last 1 hour, mm\").nullable().optional(),\n \"3h\": z.number().describe(\"Snow volume for the last 3 hours, mm\").nullable().optional(),\n}).passthrough();\nconst OpenweatherApiGetCircleCityWeather_WindSchema = z.object({\n deg: z.number().int().describe(\"Wind direction in degrees\").nullable(),\n gust: z.number().describe(\"Wind gust speed\").nullable().optional(),\n speed: z.number().describe(\"Wind speed\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetCircleCityWeather_CoordSchema = z.object({\n lat: z.number().describe(\"Latitude of the city\").nullable(),\n lon: z.number().describe(\"Longitude of the city\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetCircleCityWeather_CloudsSchema = z.object({\n all: z.number().int().describe(\"Cloudiness percentage\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetCircleCityWeather_WeatherEntrySchema = 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();\nconst OpenweatherApiGetCircleCityWeather_CityWeatherSchema = z.object({\n dt: z.number().int().describe(\"Data calculation time (Unix UTC)\").nullable(),\n id: z.number().int().describe(\"City ID\").nullable(),\n sys: OpenweatherApiGetCircleCityWeather_SysSchema.nullable(),\n main: OpenweatherApiGetCircleCityWeather_MainSchema.nullable(),\n name: z.string().describe(\"City name\").nullable(),\n rain: OpenweatherApiGetCircleCityWeather_RainSchema.nullable().optional(),\n snow: OpenweatherApiGetCircleCityWeather_SnowSchema.nullable().optional(),\n wind: OpenweatherApiGetCircleCityWeather_WindSchema.nullable(),\n coord: OpenweatherApiGetCircleCityWeather_CoordSchema.nullable(),\n clouds: OpenweatherApiGetCircleCityWeather_CloudsSchema.nullable(),\n weather: z.array(OpenweatherApiGetCircleCityWeather_WeatherEntrySchema).describe(\"Weather condition list\"),\n}).passthrough();\nexport const OpenweatherApiGetCircleCityWeatherOutput = z.object({\n cod: z.string().describe(\"Internal status code\").nullable(),\n list: z.array(OpenweatherApiGetCircleCityWeather_CityWeatherSchema).describe(\"List of city weather data objects\"),\n count: z.number().int().describe(\"Number of cities returned in the response\").nullable(),\n message: z.string().describe(\"Internal parameter, message in case of errors or usage info\").nullable(),\n}).passthrough();\n\nexport const openweatherApiGetCircleCityWeather = action(\"OPENWEATHER_API_GET_CIRCLE_CITY_WEATHER\", {\n slug: \"openweather_api-get-circle-city-weather\",\n name: \"Get Circle City Weather\",\n description: \"Tool to search for current weather data in cities around a geographic point. Use when you need to fetch weather within a radius circle after confirming latitude and longitude.\",\n input: OpenweatherApiGetCircleCityWeatherInput,\n output: OpenweatherApiGetCircleCityWeatherOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/G,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,kCAAkC,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S,2CAA2C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ const OpenweatherApiGetCurrentWeather_SysInfoSchema = zod.z.object({
|
|
|
20
20
|
sunset: zod.z.number().int().describe("Sunset time (Unix UTC)").nullable(),
|
|
21
21
|
country: zod.z.string().describe("Country code (ISO 3166)").nullable(),
|
|
22
22
|
sunrise: zod.z.number().int().describe("Sunrise time (Unix UTC)").nullable()
|
|
23
|
-
});
|
|
23
|
+
}).passthrough();
|
|
24
24
|
const OpenweatherApiGetCurrentWeather_MainInfoSchema = zod.z.object({
|
|
25
25
|
temp: zod.z.number().describe("Temperature").nullable(),
|
|
26
26
|
humidity: zod.z.number().int().describe("Humidity percentage").nullable(),
|
|
@@ -30,31 +30,31 @@ const OpenweatherApiGetCurrentWeather_MainInfoSchema = zod.z.object({
|
|
|
30
30
|
sea_level: zod.z.number().int().describe("Sea level pressure (hPa)").nullable().optional(),
|
|
31
31
|
feels_like: zod.z.number().describe("Human perception of temperature").nullable(),
|
|
32
32
|
grnd_level: zod.z.number().int().describe("Ground level pressure (hPa)").nullable().optional()
|
|
33
|
-
});
|
|
33
|
+
}).passthrough();
|
|
34
34
|
const OpenweatherApiGetCurrentWeather_RainSchema = zod.z.object({
|
|
35
35
|
"1h": zod.z.number().describe("Rain volume for the last 1 hour").nullable().optional(),
|
|
36
36
|
"3h": zod.z.number().describe("Rain volume for the last 3 hours").nullable().optional()
|
|
37
|
-
});
|
|
37
|
+
}).passthrough();
|
|
38
38
|
const OpenweatherApiGetCurrentWeather_SnowSchema = zod.z.object({
|
|
39
39
|
"1h": zod.z.number().describe("Snow volume for the last 1 hour").nullable().optional(),
|
|
40
40
|
"3h": zod.z.number().describe("Snow volume for the last 3 hours").nullable().optional()
|
|
41
|
-
});
|
|
41
|
+
}).passthrough();
|
|
42
42
|
const OpenweatherApiGetCurrentWeather_WindSchema = zod.z.object({
|
|
43
43
|
deg: zod.z.number().int().describe("Wind direction, degrees").nullable(),
|
|
44
44
|
gust: zod.z.number().describe("Wind gust speed").nullable().optional(),
|
|
45
45
|
speed: zod.z.number().describe("Wind speed").nullable()
|
|
46
|
-
});
|
|
46
|
+
}).passthrough();
|
|
47
47
|
const OpenweatherApiGetCurrentWeather_CoordSchema = zod.z.object({
|
|
48
48
|
lat: zod.z.number().describe("Latitude").nullable(),
|
|
49
49
|
lon: zod.z.number().describe("Longitude").nullable()
|
|
50
|
-
});
|
|
51
|
-
const OpenweatherApiGetCurrentWeather_CloudsSchema = zod.z.object({ all: zod.z.number().int().describe("Cloudiness percentage").nullable() });
|
|
50
|
+
}).passthrough();
|
|
51
|
+
const OpenweatherApiGetCurrentWeather_CloudsSchema = zod.z.object({ all: zod.z.number().int().describe("Cloudiness percentage").nullable() }).passthrough();
|
|
52
52
|
const OpenweatherApiGetCurrentWeather_WeatherItemSchema = zod.z.object({
|
|
53
53
|
id: zod.z.number().int().describe("Weather condition ID").nullable(),
|
|
54
54
|
icon: zod.z.string().describe("Weather icon ID").nullable(),
|
|
55
55
|
main: zod.z.string().describe("Group of weather parameters, e.g., Rain, Snow").nullable(),
|
|
56
56
|
description: zod.z.string().describe("Weather condition description").nullable()
|
|
57
|
-
});
|
|
57
|
+
}).passthrough();
|
|
58
58
|
const OpenweatherApiGetCurrentWeatherOutput = zod.z.object({
|
|
59
59
|
dt: zod.z.number().int().describe("Time of data calculation (Unix UTC)").nullable(),
|
|
60
60
|
id: zod.z.number().int().describe("City ID").nullable(),
|
|
@@ -71,7 +71,7 @@ const OpenweatherApiGetCurrentWeatherOutput = zod.z.object({
|
|
|
71
71
|
weather: zod.z.array(OpenweatherApiGetCurrentWeather_WeatherItemSchema),
|
|
72
72
|
timezone: zod.z.number().int().describe("Shift in seconds from UTC").nullable(),
|
|
73
73
|
visibility: zod.z.number().int().describe("Visibility in meters").nullable().optional()
|
|
74
|
-
});
|
|
74
|
+
}).passthrough();
|
|
75
75
|
const openweatherApiGetCurrentWeather = require_action.action("OPENWEATHER_API_GET_CURRENT_WEATHER", {
|
|
76
76
|
slug: "openweather_api-get-current-weather",
|
|
77
77
|
name: "Get Current Weather",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-current-weather.cjs","names":["z","action"],"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});\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});\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});\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});\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});\nconst OpenweatherApiGetCurrentWeather_CoordSchema = z.object({\n lat: z.number().describe(\"Latitude\").nullable(),\n lon: z.number().describe(\"Longitude\").nullable(),\n});\nconst OpenweatherApiGetCurrentWeather_CloudsSchema = z.object({\n all: z.number().int().describe(\"Cloudiness percentage\").nullable(),\n});\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});\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});\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,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC7F,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAChF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC7F,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,yKAAyK;AACrL,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AACzE,CAAC;
|
|
1
|
+
{"version":3,"file":"get-current-weather.cjs","names":["z","action"],"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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24
24
|
sunset: z.ZodNullable<z.ZodNumber>;
|
|
25
25
|
country: z.ZodNullable<z.ZodString>;
|
|
26
26
|
sunrise: z.ZodNullable<z.ZodNumber>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
28
|
base: z.ZodNullable<z.ZodString>;
|
|
29
29
|
main: z.ZodNullable<z.ZodObject<{
|
|
30
30
|
temp: z.ZodNullable<z.ZodNumber>;
|
|
@@ -35,37 +35,37 @@ declare const OpenweatherApiGetCurrentWeatherOutput: z.ZodObject<{
|
|
|
35
35
|
sea_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
36
|
feels_like: z.ZodNullable<z.ZodNumber>;
|
|
37
37
|
grnd_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>;
|
|
39
39
|
name: z.ZodNullable<z.ZodString>;
|
|
40
40
|
rain: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
41
|
"1h": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
42
|
"3h": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
44
|
snow: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
45
45
|
"1h": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
46
|
"3h": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>>>;
|
|
48
48
|
wind: z.ZodNullable<z.ZodObject<{
|
|
49
49
|
deg: z.ZodNullable<z.ZodNumber>;
|
|
50
50
|
gust: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
51
51
|
speed: z.ZodNullable<z.ZodNumber>;
|
|
52
|
-
}, z.core.$
|
|
52
|
+
}, z.core.$loose>>;
|
|
53
53
|
coord: z.ZodNullable<z.ZodObject<{
|
|
54
54
|
lat: z.ZodNullable<z.ZodNumber>;
|
|
55
55
|
lon: z.ZodNullable<z.ZodNumber>;
|
|
56
|
-
}, z.core.$
|
|
56
|
+
}, z.core.$loose>>;
|
|
57
57
|
clouds: z.ZodNullable<z.ZodObject<{
|
|
58
58
|
all: z.ZodNullable<z.ZodNumber>;
|
|
59
|
-
}, z.core.$
|
|
59
|
+
}, z.core.$loose>>;
|
|
60
60
|
weather: z.ZodArray<z.ZodObject<{
|
|
61
61
|
id: z.ZodNullable<z.ZodNumber>;
|
|
62
62
|
icon: z.ZodNullable<z.ZodString>;
|
|
63
63
|
main: z.ZodNullable<z.ZodString>;
|
|
64
64
|
description: z.ZodNullable<z.ZodString>;
|
|
65
|
-
}, z.core.$
|
|
65
|
+
}, z.core.$loose>>;
|
|
66
66
|
timezone: z.ZodNullable<z.ZodNumber>;
|
|
67
67
|
visibility: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
68
|
-
}, z.core.$
|
|
68
|
+
}, z.core.$loose>;
|
|
69
69
|
declare const openweatherApiGetCurrentWeather: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
70
70
|
q?: string | undefined;
|
|
71
71
|
id?: number | undefined;
|
|
@@ -24,7 +24,7 @@ declare const OpenweatherApiGetCurrentWeatherOutput: z.ZodObject<{
|
|
|
24
24
|
sunset: z.ZodNullable<z.ZodNumber>;
|
|
25
25
|
country: z.ZodNullable<z.ZodString>;
|
|
26
26
|
sunrise: z.ZodNullable<z.ZodNumber>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
28
|
base: z.ZodNullable<z.ZodString>;
|
|
29
29
|
main: z.ZodNullable<z.ZodObject<{
|
|
30
30
|
temp: z.ZodNullable<z.ZodNumber>;
|
|
@@ -35,37 +35,37 @@ declare const OpenweatherApiGetCurrentWeatherOutput: z.ZodObject<{
|
|
|
35
35
|
sea_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
36
|
feels_like: z.ZodNullable<z.ZodNumber>;
|
|
37
37
|
grnd_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>;
|
|
39
39
|
name: z.ZodNullable<z.ZodString>;
|
|
40
40
|
rain: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
41
|
"1h": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
42
|
"3h": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>>;
|
|
44
44
|
snow: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
45
45
|
"1h": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
46
|
"3h": z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>>>;
|
|
48
48
|
wind: z.ZodNullable<z.ZodObject<{
|
|
49
49
|
deg: z.ZodNullable<z.ZodNumber>;
|
|
50
50
|
gust: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
51
51
|
speed: z.ZodNullable<z.ZodNumber>;
|
|
52
|
-
}, z.core.$
|
|
52
|
+
}, z.core.$loose>>;
|
|
53
53
|
coord: z.ZodNullable<z.ZodObject<{
|
|
54
54
|
lat: z.ZodNullable<z.ZodNumber>;
|
|
55
55
|
lon: z.ZodNullable<z.ZodNumber>;
|
|
56
|
-
}, z.core.$
|
|
56
|
+
}, z.core.$loose>>;
|
|
57
57
|
clouds: z.ZodNullable<z.ZodObject<{
|
|
58
58
|
all: z.ZodNullable<z.ZodNumber>;
|
|
59
|
-
}, z.core.$
|
|
59
|
+
}, z.core.$loose>>;
|
|
60
60
|
weather: z.ZodArray<z.ZodObject<{
|
|
61
61
|
id: z.ZodNullable<z.ZodNumber>;
|
|
62
62
|
icon: z.ZodNullable<z.ZodString>;
|
|
63
63
|
main: z.ZodNullable<z.ZodString>;
|
|
64
64
|
description: z.ZodNullable<z.ZodString>;
|
|
65
|
-
}, z.core.$
|
|
65
|
+
}, z.core.$loose>>;
|
|
66
66
|
timezone: z.ZodNullable<z.ZodNumber>;
|
|
67
67
|
visibility: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
68
|
-
}, z.core.$
|
|
68
|
+
}, z.core.$loose>;
|
|
69
69
|
declare const openweatherApiGetCurrentWeather: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
70
70
|
q?: string | undefined;
|
|
71
71
|
id?: number | undefined;
|
|
@@ -20,7 +20,7 @@ const OpenweatherApiGetCurrentWeather_SysInfoSchema = z.object({
|
|
|
20
20
|
sunset: z.number().int().describe("Sunset time (Unix UTC)").nullable(),
|
|
21
21
|
country: z.string().describe("Country code (ISO 3166)").nullable(),
|
|
22
22
|
sunrise: z.number().int().describe("Sunrise time (Unix UTC)").nullable()
|
|
23
|
-
});
|
|
23
|
+
}).passthrough();
|
|
24
24
|
const OpenweatherApiGetCurrentWeather_MainInfoSchema = z.object({
|
|
25
25
|
temp: z.number().describe("Temperature").nullable(),
|
|
26
26
|
humidity: z.number().int().describe("Humidity percentage").nullable(),
|
|
@@ -30,31 +30,31 @@ const OpenweatherApiGetCurrentWeather_MainInfoSchema = z.object({
|
|
|
30
30
|
sea_level: z.number().int().describe("Sea level pressure (hPa)").nullable().optional(),
|
|
31
31
|
feels_like: z.number().describe("Human perception of temperature").nullable(),
|
|
32
32
|
grnd_level: z.number().int().describe("Ground level pressure (hPa)").nullable().optional()
|
|
33
|
-
});
|
|
33
|
+
}).passthrough();
|
|
34
34
|
const OpenweatherApiGetCurrentWeather_RainSchema = z.object({
|
|
35
35
|
"1h": z.number().describe("Rain volume for the last 1 hour").nullable().optional(),
|
|
36
36
|
"3h": z.number().describe("Rain volume for the last 3 hours").nullable().optional()
|
|
37
|
-
});
|
|
37
|
+
}).passthrough();
|
|
38
38
|
const OpenweatherApiGetCurrentWeather_SnowSchema = z.object({
|
|
39
39
|
"1h": z.number().describe("Snow volume for the last 1 hour").nullable().optional(),
|
|
40
40
|
"3h": z.number().describe("Snow volume for the last 3 hours").nullable().optional()
|
|
41
|
-
});
|
|
41
|
+
}).passthrough();
|
|
42
42
|
const OpenweatherApiGetCurrentWeather_WindSchema = z.object({
|
|
43
43
|
deg: z.number().int().describe("Wind direction, degrees").nullable(),
|
|
44
44
|
gust: z.number().describe("Wind gust speed").nullable().optional(),
|
|
45
45
|
speed: z.number().describe("Wind speed").nullable()
|
|
46
|
-
});
|
|
46
|
+
}).passthrough();
|
|
47
47
|
const OpenweatherApiGetCurrentWeather_CoordSchema = z.object({
|
|
48
48
|
lat: z.number().describe("Latitude").nullable(),
|
|
49
49
|
lon: z.number().describe("Longitude").nullable()
|
|
50
|
-
});
|
|
51
|
-
const OpenweatherApiGetCurrentWeather_CloudsSchema = z.object({ all: z.number().int().describe("Cloudiness percentage").nullable() });
|
|
50
|
+
}).passthrough();
|
|
51
|
+
const OpenweatherApiGetCurrentWeather_CloudsSchema = z.object({ all: z.number().int().describe("Cloudiness percentage").nullable() }).passthrough();
|
|
52
52
|
const OpenweatherApiGetCurrentWeather_WeatherItemSchema = z.object({
|
|
53
53
|
id: z.number().int().describe("Weather condition ID").nullable(),
|
|
54
54
|
icon: z.string().describe("Weather icon ID").nullable(),
|
|
55
55
|
main: z.string().describe("Group of weather parameters, e.g., Rain, Snow").nullable(),
|
|
56
56
|
description: z.string().describe("Weather condition description").nullable()
|
|
57
|
-
});
|
|
57
|
+
}).passthrough();
|
|
58
58
|
const openweatherApiGetCurrentWeather = action("OPENWEATHER_API_GET_CURRENT_WEATHER", {
|
|
59
59
|
slug: "openweather_api-get-current-weather",
|
|
60
60
|
name: "Get Current Weather",
|
|
@@ -76,7 +76,7 @@ const openweatherApiGetCurrentWeather = action("OPENWEATHER_API_GET_CURRENT_WEAT
|
|
|
76
76
|
weather: z.array(OpenweatherApiGetCurrentWeather_WeatherItemSchema),
|
|
77
77
|
timezone: z.number().int().describe("Shift in seconds from UTC").nullable(),
|
|
78
78
|
visibility: z.number().int().describe("Visibility in meters").nullable().optional()
|
|
79
|
-
})
|
|
79
|
+
}).passthrough()
|
|
80
80
|
});
|
|
81
81
|
//#endregion
|
|
82
82
|
export { openweatherApiGetCurrentWeather };
|