@keystrokehq/openweather_api 0.1.0

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.
Files changed (202) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/delete-weather-station.cjs +16 -0
  7. package/dist/actions/delete-weather-station.cjs.map +1 -0
  8. package/dist/actions/delete-weather-station.d.cts +9 -0
  9. package/dist/actions/delete-weather-station.d.cts.map +1 -0
  10. package/dist/actions/delete-weather-station.d.mts +9 -0
  11. package/dist/actions/delete-weather-station.d.mts.map +1 -0
  12. package/dist/actions/delete-weather-station.mjs +13 -0
  13. package/dist/actions/delete-weather-station.mjs.map +1 -0
  14. package/dist/actions/get-air-pollution-current.cjs +42 -0
  15. package/dist/actions/get-air-pollution-current.cjs.map +1 -0
  16. package/dist/actions/get-air-pollution-current.d.cts +9 -0
  17. package/dist/actions/get-air-pollution-current.d.cts.map +1 -0
  18. package/dist/actions/get-air-pollution-current.d.mts +9 -0
  19. package/dist/actions/get-air-pollution-current.d.mts.map +1 -0
  20. package/dist/actions/get-air-pollution-current.mjs +41 -0
  21. package/dist/actions/get-air-pollution-current.mjs.map +1 -0
  22. package/dist/actions/get-air-pollution-forecast.cjs +42 -0
  23. package/dist/actions/get-air-pollution-forecast.cjs.map +1 -0
  24. package/dist/actions/get-air-pollution-forecast.d.cts +9 -0
  25. package/dist/actions/get-air-pollution-forecast.d.cts.map +1 -0
  26. package/dist/actions/get-air-pollution-forecast.d.mts +9 -0
  27. package/dist/actions/get-air-pollution-forecast.d.mts.map +1 -0
  28. package/dist/actions/get-air-pollution-forecast.mjs +41 -0
  29. package/dist/actions/get-air-pollution-forecast.mjs.map +1 -0
  30. package/dist/actions/get-air-pollution-history.cjs +40 -0
  31. package/dist/actions/get-air-pollution-history.cjs.map +1 -0
  32. package/dist/actions/get-air-pollution-history.d.cts +9 -0
  33. package/dist/actions/get-air-pollution-history.d.cts.map +1 -0
  34. package/dist/actions/get-air-pollution-history.d.mts +9 -0
  35. package/dist/actions/get-air-pollution-history.d.mts.map +1 -0
  36. package/dist/actions/get-air-pollution-history.mjs +39 -0
  37. package/dist/actions/get-air-pollution-history.mjs.map +1 -0
  38. package/dist/actions/get-circle-city-weather.cjs +85 -0
  39. package/dist/actions/get-circle-city-weather.cjs.map +1 -0
  40. package/dist/actions/get-circle-city-weather.d.cts +9 -0
  41. package/dist/actions/get-circle-city-weather.d.cts.map +1 -0
  42. package/dist/actions/get-circle-city-weather.d.mts +9 -0
  43. package/dist/actions/get-circle-city-weather.d.mts.map +1 -0
  44. package/dist/actions/get-circle-city-weather.mjs +84 -0
  45. package/dist/actions/get-circle-city-weather.mjs.map +1 -0
  46. package/dist/actions/get-current-weather.cjs +85 -0
  47. package/dist/actions/get-current-weather.cjs.map +1 -0
  48. package/dist/actions/get-current-weather.d.cts +9 -0
  49. package/dist/actions/get-current-weather.d.cts.map +1 -0
  50. package/dist/actions/get-current-weather.d.mts +9 -0
  51. package/dist/actions/get-current-weather.d.mts.map +1 -0
  52. package/dist/actions/get-current-weather.mjs +84 -0
  53. package/dist/actions/get-current-weather.mjs.map +1 -0
  54. package/dist/actions/get-geocoding-by-zip.cjs +22 -0
  55. package/dist/actions/get-geocoding-by-zip.cjs.map +1 -0
  56. package/dist/actions/get-geocoding-by-zip.d.cts +9 -0
  57. package/dist/actions/get-geocoding-by-zip.d.cts.map +1 -0
  58. package/dist/actions/get-geocoding-by-zip.d.mts +9 -0
  59. package/dist/actions/get-geocoding-by-zip.d.mts.map +1 -0
  60. package/dist/actions/get-geocoding-by-zip.mjs +19 -0
  61. package/dist/actions/get-geocoding-by-zip.mjs.map +1 -0
  62. package/dist/actions/get-geocoding-direct.cjs +19 -0
  63. package/dist/actions/get-geocoding-direct.cjs.map +1 -0
  64. package/dist/actions/get-geocoding-direct.d.cts +9 -0
  65. package/dist/actions/get-geocoding-direct.d.cts.map +1 -0
  66. package/dist/actions/get-geocoding-direct.d.mts +9 -0
  67. package/dist/actions/get-geocoding-direct.d.mts.map +1 -0
  68. package/dist/actions/get-geocoding-direct.mjs +16 -0
  69. package/dist/actions/get-geocoding-direct.mjs.map +1 -0
  70. package/dist/actions/get-geocoding-reverse.cjs +20 -0
  71. package/dist/actions/get-geocoding-reverse.cjs.map +1 -0
  72. package/dist/actions/get-geocoding-reverse.d.cts +9 -0
  73. package/dist/actions/get-geocoding-reverse.d.cts.map +1 -0
  74. package/dist/actions/get-geocoding-reverse.d.mts +9 -0
  75. package/dist/actions/get-geocoding-reverse.d.mts.map +1 -0
  76. package/dist/actions/get-geocoding-reverse.mjs +17 -0
  77. package/dist/actions/get-geocoding-reverse.mjs.map +1 -0
  78. package/dist/actions/get-station-measurements.cjs +36 -0
  79. package/dist/actions/get-station-measurements.cjs.map +1 -0
  80. package/dist/actions/get-station-measurements.d.cts +9 -0
  81. package/dist/actions/get-station-measurements.d.cts.map +1 -0
  82. package/dist/actions/get-station-measurements.d.mts +9 -0
  83. package/dist/actions/get-station-measurements.d.mts.map +1 -0
  84. package/dist/actions/get-station-measurements.mjs +35 -0
  85. package/dist/actions/get-station-measurements.mjs.map +1 -0
  86. package/dist/actions/get-uv-index-forecast.cjs +20 -0
  87. package/dist/actions/get-uv-index-forecast.cjs.map +1 -0
  88. package/dist/actions/get-uv-index-forecast.d.cts +9 -0
  89. package/dist/actions/get-uv-index-forecast.d.cts.map +1 -0
  90. package/dist/actions/get-uv-index-forecast.d.mts +9 -0
  91. package/dist/actions/get-uv-index-forecast.d.mts.map +1 -0
  92. package/dist/actions/get-uv-index-forecast.mjs +17 -0
  93. package/dist/actions/get-uv-index-forecast.mjs.map +1 -0
  94. package/dist/actions/get-uv-index-history.cjs +28 -0
  95. package/dist/actions/get-uv-index-history.cjs.map +1 -0
  96. package/dist/actions/get-uv-index-history.d.cts +9 -0
  97. package/dist/actions/get-uv-index-history.d.cts.map +1 -0
  98. package/dist/actions/get-uv-index-history.d.mts +9 -0
  99. package/dist/actions/get-uv-index-history.d.mts.map +1 -0
  100. package/dist/actions/get-uv-index-history.mjs +27 -0
  101. package/dist/actions/get-uv-index-history.mjs.map +1 -0
  102. package/dist/actions/get-uv-index.cjs +25 -0
  103. package/dist/actions/get-uv-index.cjs.map +1 -0
  104. package/dist/actions/get-uv-index.d.cts +9 -0
  105. package/dist/actions/get-uv-index.d.cts.map +1 -0
  106. package/dist/actions/get-uv-index.d.mts +9 -0
  107. package/dist/actions/get-uv-index.d.mts.map +1 -0
  108. package/dist/actions/get-uv-index.mjs +22 -0
  109. package/dist/actions/get-uv-index.mjs.map +1 -0
  110. package/dist/actions/get-weather-map-tile.cjs +39 -0
  111. package/dist/actions/get-weather-map-tile.cjs.map +1 -0
  112. package/dist/actions/get-weather-map-tile.d.cts +9 -0
  113. package/dist/actions/get-weather-map-tile.d.cts.map +1 -0
  114. package/dist/actions/get-weather-map-tile.d.mts +9 -0
  115. package/dist/actions/get-weather-map-tile.d.mts.map +1 -0
  116. package/dist/actions/get-weather-map-tile.mjs +36 -0
  117. package/dist/actions/get-weather-map-tile.mjs.map +1 -0
  118. package/dist/actions/get-weather-station.cjs +26 -0
  119. package/dist/actions/get-weather-station.cjs.map +1 -0
  120. package/dist/actions/get-weather-station.d.cts +9 -0
  121. package/dist/actions/get-weather-station.d.cts.map +1 -0
  122. package/dist/actions/get-weather-station.d.mts +9 -0
  123. package/dist/actions/get-weather-station.d.mts.map +1 -0
  124. package/dist/actions/get-weather-station.mjs +23 -0
  125. package/dist/actions/get-weather-station.mjs.map +1 -0
  126. package/dist/actions/get-weather-stations.cjs +27 -0
  127. package/dist/actions/get-weather-stations.cjs.map +1 -0
  128. package/dist/actions/get-weather-stations.d.cts +9 -0
  129. package/dist/actions/get-weather-stations.d.cts.map +1 -0
  130. package/dist/actions/get-weather-stations.d.mts +9 -0
  131. package/dist/actions/get-weather-stations.d.mts.map +1 -0
  132. package/dist/actions/get-weather-stations.mjs +26 -0
  133. package/dist/actions/get-weather-stations.mjs.map +1 -0
  134. package/dist/actions/get-weather-triggers.cjs +34 -0
  135. package/dist/actions/get-weather-triggers.cjs.map +1 -0
  136. package/dist/actions/get-weather-triggers.d.cts +9 -0
  137. package/dist/actions/get-weather-triggers.d.cts.map +1 -0
  138. package/dist/actions/get-weather-triggers.d.mts +9 -0
  139. package/dist/actions/get-weather-triggers.d.mts.map +1 -0
  140. package/dist/actions/get-weather-triggers.mjs +33 -0
  141. package/dist/actions/get-weather-triggers.mjs.map +1 -0
  142. package/dist/actions/get5-day-forecast.cjs +90 -0
  143. package/dist/actions/get5-day-forecast.cjs.map +1 -0
  144. package/dist/actions/get5-day-forecast.d.cts +9 -0
  145. package/dist/actions/get5-day-forecast.d.cts.map +1 -0
  146. package/dist/actions/get5-day-forecast.d.mts +9 -0
  147. package/dist/actions/get5-day-forecast.d.mts.map +1 -0
  148. package/dist/actions/get5-day-forecast.mjs +89 -0
  149. package/dist/actions/get5-day-forecast.mjs.map +1 -0
  150. package/dist/actions/index.cjs +43 -0
  151. package/dist/actions/index.d.cts +22 -0
  152. package/dist/actions/index.d.mts +22 -0
  153. package/dist/actions/index.mjs +22 -0
  154. package/dist/actions/post-add-weather-station.cjs +34 -0
  155. package/dist/actions/post-add-weather-station.cjs.map +1 -0
  156. package/dist/actions/post-add-weather-station.d.cts +9 -0
  157. package/dist/actions/post-add-weather-station.d.cts.map +1 -0
  158. package/dist/actions/post-add-weather-station.d.mts +9 -0
  159. package/dist/actions/post-add-weather-station.d.mts.map +1 -0
  160. package/dist/actions/post-add-weather-station.mjs +31 -0
  161. package/dist/actions/post-add-weather-station.mjs.map +1 -0
  162. package/dist/actions/post-submit-station-measurements.cjs +29 -0
  163. package/dist/actions/post-submit-station-measurements.cjs.map +1 -0
  164. package/dist/actions/post-submit-station-measurements.d.cts +9 -0
  165. package/dist/actions/post-submit-station-measurements.d.cts.map +1 -0
  166. package/dist/actions/post-submit-station-measurements.d.mts +9 -0
  167. package/dist/actions/post-submit-station-measurements.d.mts.map +1 -0
  168. package/dist/actions/post-submit-station-measurements.mjs +26 -0
  169. package/dist/actions/post-submit-station-measurements.mjs.map +1 -0
  170. package/dist/actions/update-weather-station.cjs +32 -0
  171. package/dist/actions/update-weather-station.cjs.map +1 -0
  172. package/dist/actions/update-weather-station.d.cts +9 -0
  173. package/dist/actions/update-weather-station.d.cts.map +1 -0
  174. package/dist/actions/update-weather-station.d.mts +9 -0
  175. package/dist/actions/update-weather-station.d.mts.map +1 -0
  176. package/dist/actions/update-weather-station.mjs +29 -0
  177. package/dist/actions/update-weather-station.mjs.map +1 -0
  178. package/dist/app.cjs +9 -0
  179. package/dist/app.cjs.map +1 -0
  180. package/dist/app.d.cts +5 -0
  181. package/dist/app.d.cts.map +1 -0
  182. package/dist/app.d.mts +5 -0
  183. package/dist/app.d.mts.map +1 -0
  184. package/dist/app.mjs +10 -0
  185. package/dist/app.mjs.map +1 -0
  186. package/dist/catalog.cjs +15 -0
  187. package/dist/catalog.cjs.map +1 -0
  188. package/dist/catalog.d.cts +14 -0
  189. package/dist/catalog.d.cts.map +1 -0
  190. package/dist/catalog.d.mts +14 -0
  191. package/dist/catalog.d.mts.map +1 -0
  192. package/dist/catalog.mjs +15 -0
  193. package/dist/catalog.mjs.map +1 -0
  194. package/dist/execute.cjs +18 -0
  195. package/dist/execute.cjs.map +1 -0
  196. package/dist/execute.mjs +18 -0
  197. package/dist/execute.mjs.map +1 -0
  198. package/dist/index.cjs +48 -0
  199. package/dist/index.d.cts +24 -0
  200. package/dist/index.d.mts +24 -0
  201. package/dist/index.mjs +25 -0
  202. package/package.json +49 -0
@@ -0,0 +1,85 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-circle-city-weather.ts
4
+ const OpenweatherApiGetCircleCityWeatherInput = zod.z.object({
5
+ cnt: zod.z.number().int().describe("Number of cities to return within the circle (1–50). Default is 10.").optional(),
6
+ lat: zod.z.number().describe("Latitude of the circle center in degrees (-90 to 90)"),
7
+ lon: zod.z.number().describe("Longitude of the circle center in degrees (-180 to 180)"),
8
+ lang: zod.z.string().default("en").describe("Language of the response (ISO 639-1)").optional(),
9
+ mode: zod.z.enum(["json", "xml"]).default("json").describe("Response format: 'json' or 'xml'").optional(),
10
+ units: zod.z.enum([
11
+ "standard",
12
+ "metric",
13
+ "imperial"
14
+ ]).default("standard").describe("Units of measurement: standard, metric, or imperial").optional()
15
+ });
16
+ const OpenweatherApiGetCircleCityWeather_SysSchema = zod.z.object({
17
+ sunset: zod.z.number().int().describe("Sunset time (Unix UTC)").nullable().optional(),
18
+ country: zod.z.string().describe("Country code").nullable().optional(),
19
+ sunrise: zod.z.number().int().describe("Sunrise time (Unix UTC)").nullable().optional(),
20
+ timezone: zod.z.number().int().describe("Shift in seconds from UTC").nullable().optional()
21
+ });
22
+ const OpenweatherApiGetCircleCityWeather_MainSchema = zod.z.object({
23
+ temp: zod.z.number().describe("Temperature"),
24
+ humidity: zod.z.number().int().describe("Humidity percentage"),
25
+ pressure: zod.z.number().int().describe("Atmospheric pressure (hPa)"),
26
+ temp_max: zod.z.number().describe("Maximum observed temperature"),
27
+ temp_min: zod.z.number().describe("Minimum observed temperature"),
28
+ sea_level: zod.z.number().int().describe("Atmospheric pressure at sea level (hPa)").nullable().optional(),
29
+ feels_like: zod.z.number().describe("Temperature felt physically"),
30
+ grnd_level: zod.z.number().int().describe("Atmospheric pressure at ground level (hPa)").nullable().optional()
31
+ });
32
+ const OpenweatherApiGetCircleCityWeather_RainSchema = zod.z.object({
33
+ "1h": zod.z.number().describe("Rain volume for the last 1 hour, mm").nullable().optional(),
34
+ "3h": zod.z.number().describe("Rain volume for the last 3 hours, mm").nullable().optional()
35
+ });
36
+ const OpenweatherApiGetCircleCityWeather_SnowSchema = zod.z.object({
37
+ "1h": zod.z.number().describe("Snow volume for the last 1 hour, mm").nullable().optional(),
38
+ "3h": zod.z.number().describe("Snow volume for the last 3 hours, mm").nullable().optional()
39
+ });
40
+ const OpenweatherApiGetCircleCityWeather_WindSchema = zod.z.object({
41
+ deg: zod.z.number().int().describe("Wind direction in degrees"),
42
+ gust: zod.z.number().describe("Wind gust speed").nullable().optional(),
43
+ speed: zod.z.number().describe("Wind speed")
44
+ });
45
+ const OpenweatherApiGetCircleCityWeather_CoordSchema = zod.z.object({
46
+ lat: zod.z.number().describe("Latitude of the city"),
47
+ lon: zod.z.number().describe("Longitude of the city")
48
+ });
49
+ const OpenweatherApiGetCircleCityWeather_CloudsSchema = zod.z.object({ all: zod.z.number().int().describe("Cloudiness percentage") });
50
+ const OpenweatherApiGetCircleCityWeather_WeatherEntrySchema = zod.z.object({
51
+ id: zod.z.number().int().describe("Weather condition ID"),
52
+ icon: zod.z.string().describe("Weather icon ID"),
53
+ main: zod.z.string().describe("Group of weather parameters (e.g. Rain, Snow)"),
54
+ description: zod.z.string().describe("Weather condition description")
55
+ });
56
+ const OpenweatherApiGetCircleCityWeather_CityWeatherSchema = zod.z.object({
57
+ dt: zod.z.number().int().describe("Data calculation time (Unix UTC)"),
58
+ id: zod.z.number().int().describe("City ID"),
59
+ sys: OpenweatherApiGetCircleCityWeather_SysSchema.nullable(),
60
+ main: OpenweatherApiGetCircleCityWeather_MainSchema.nullable(),
61
+ name: zod.z.string().describe("City name"),
62
+ rain: OpenweatherApiGetCircleCityWeather_RainSchema.nullable().optional(),
63
+ snow: OpenweatherApiGetCircleCityWeather_SnowSchema.nullable().optional(),
64
+ wind: OpenweatherApiGetCircleCityWeather_WindSchema.nullable(),
65
+ coord: OpenweatherApiGetCircleCityWeather_CoordSchema.nullable(),
66
+ clouds: OpenweatherApiGetCircleCityWeather_CloudsSchema.nullable(),
67
+ weather: zod.z.array(OpenweatherApiGetCircleCityWeather_WeatherEntrySchema).describe("Weather condition list")
68
+ });
69
+ const OpenweatherApiGetCircleCityWeatherOutput = zod.z.object({
70
+ cod: zod.z.string().describe("Internal status code"),
71
+ list: zod.z.array(OpenweatherApiGetCircleCityWeather_CityWeatherSchema).describe("List of city weather data objects"),
72
+ count: zod.z.number().int().describe("Number of cities returned in the response"),
73
+ message: zod.z.string().describe("Internal parameter, message in case of errors or usage info")
74
+ });
75
+ const openweatherApiGetCircleCityWeather = require_action.action("OPENWEATHER_API_GET_CIRCLE_CITY_WEATHER", {
76
+ slug: "openweather_api-get-circle-city-weather",
77
+ name: "Get Circle City Weather",
78
+ 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.",
79
+ input: OpenweatherApiGetCircleCityWeatherInput,
80
+ output: OpenweatherApiGetCircleCityWeatherOutput
81
+ });
82
+ //#endregion
83
+ exports.openweatherApiGetCircleCityWeather = openweatherApiGetCircleCityWeather;
84
+
85
+ //# sourceMappingURL=get-circle-city-weather.cjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = z.object({\n temp: z.number().describe(\"Temperature\"),\n humidity: z.number().int().describe(\"Humidity percentage\"),\n pressure: z.number().int().describe(\"Atmospheric pressure (hPa)\"),\n temp_max: z.number().describe(\"Maximum observed temperature\"),\n temp_min: z.number().describe(\"Minimum observed temperature\"),\n sea_level: z.number().int().describe(\"Atmospheric pressure at sea level (hPa)\").nullable().optional(),\n feels_like: z.number().describe(\"Temperature felt physically\"),\n grnd_level: z.number().int().describe(\"Atmospheric pressure at ground level (hPa)\").nullable().optional(),\n});\nconst OpenweatherApiGetCircleCityWeather_RainSchema: z.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = z.object({\n deg: z.number().int().describe(\"Wind direction in degrees\"),\n gust: z.number().describe(\"Wind gust speed\").nullable().optional(),\n speed: z.number().describe(\"Wind speed\"),\n});\nconst OpenweatherApiGetCircleCityWeather_CoordSchema: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude of the city\"),\n lon: z.number().describe(\"Longitude of the city\"),\n});\nconst OpenweatherApiGetCircleCityWeather_CloudsSchema: z.ZodTypeAny = z.object({\n all: z.number().int().describe(\"Cloudiness percentage\"),\n});\nconst OpenweatherApiGetCircleCityWeather_WeatherEntrySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Weather condition ID\"),\n icon: z.string().describe(\"Weather icon ID\"),\n main: z.string().describe(\"Group of weather parameters (e.g. Rain, Snow)\"),\n description: z.string().describe(\"Weather condition description\"),\n});\nconst OpenweatherApiGetCircleCityWeather_CityWeatherSchema: z.ZodTypeAny = z.object({\n dt: z.number().int().describe(\"Data calculation time (Unix UTC)\"),\n id: z.number().int().describe(\"City ID\"),\n sys: OpenweatherApiGetCircleCityWeather_SysSchema.nullable(),\n main: OpenweatherApiGetCircleCityWeather_MainSchema.nullable(),\n name: z.string().describe(\"City name\"),\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.ZodTypeAny = z.object({\n cod: z.string().describe(\"Internal status code\"),\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\"),\n message: z.string().describe(\"Internal parameter, message in case of errors or usage info\"),\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,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/G,KAAKA,IAAAA,EAAE,OAAO,CAAC,C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AAS,mCAAmC;CAChH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAC5F,CAAC;AAED,MAAa,qCAAqCC,eAAAA,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-circle-city-weather.d.ts
4
+ declare const OpenweatherApiGetCircleCityWeatherInput: z.ZodTypeAny;
5
+ declare const OpenweatherApiGetCircleCityWeatherOutput: z.ZodTypeAny;
6
+ declare const openweatherApiGetCircleCityWeather: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { openweatherApiGetCircleCityWeather };
9
+ //# sourceMappingURL=get-circle-city-weather.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-circle-city-weather.d.cts","names":[],"sources":["../../src/actions/get-circle-city-weather.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAOtD;AAAA,cAwDW,wCAAA,EAA0C,CAAA,CAAE,UAKvD;AAAA,cAEW,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-circle-city-weather.d.ts
4
+ declare const OpenweatherApiGetCircleCityWeatherInput: z.ZodTypeAny;
5
+ declare const OpenweatherApiGetCircleCityWeatherOutput: z.ZodTypeAny;
6
+ declare const openweatherApiGetCircleCityWeather: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { openweatherApiGetCircleCityWeather };
9
+ //# sourceMappingURL=get-circle-city-weather.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-circle-city-weather.d.mts","names":[],"sources":["../../src/actions/get-circle-city-weather.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAOtD;AAAA,cAwDW,wCAAA,EAA0C,CAAA,CAAE,UAKvD;AAAA,cAEW,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,84 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-circle-city-weather.ts
4
+ const OpenweatherApiGetCircleCityWeatherInput = z.object({
5
+ cnt: z.number().int().describe("Number of cities to return within the circle (1–50). Default is 10.").optional(),
6
+ lat: z.number().describe("Latitude of the circle center in degrees (-90 to 90)"),
7
+ lon: z.number().describe("Longitude of the circle center in degrees (-180 to 180)"),
8
+ lang: z.string().default("en").describe("Language of the response (ISO 639-1)").optional(),
9
+ mode: z.enum(["json", "xml"]).default("json").describe("Response format: 'json' or 'xml'").optional(),
10
+ units: z.enum([
11
+ "standard",
12
+ "metric",
13
+ "imperial"
14
+ ]).default("standard").describe("Units of measurement: standard, metric, or imperial").optional()
15
+ });
16
+ const OpenweatherApiGetCircleCityWeather_SysSchema = z.object({
17
+ sunset: z.number().int().describe("Sunset time (Unix UTC)").nullable().optional(),
18
+ country: z.string().describe("Country code").nullable().optional(),
19
+ sunrise: z.number().int().describe("Sunrise time (Unix UTC)").nullable().optional(),
20
+ timezone: z.number().int().describe("Shift in seconds from UTC").nullable().optional()
21
+ });
22
+ const OpenweatherApiGetCircleCityWeather_MainSchema = z.object({
23
+ temp: z.number().describe("Temperature"),
24
+ humidity: z.number().int().describe("Humidity percentage"),
25
+ pressure: z.number().int().describe("Atmospheric pressure (hPa)"),
26
+ temp_max: z.number().describe("Maximum observed temperature"),
27
+ temp_min: z.number().describe("Minimum observed temperature"),
28
+ sea_level: z.number().int().describe("Atmospheric pressure at sea level (hPa)").nullable().optional(),
29
+ feels_like: z.number().describe("Temperature felt physically"),
30
+ grnd_level: z.number().int().describe("Atmospheric pressure at ground level (hPa)").nullable().optional()
31
+ });
32
+ const OpenweatherApiGetCircleCityWeather_RainSchema = z.object({
33
+ "1h": z.number().describe("Rain volume for the last 1 hour, mm").nullable().optional(),
34
+ "3h": z.number().describe("Rain volume for the last 3 hours, mm").nullable().optional()
35
+ });
36
+ const OpenweatherApiGetCircleCityWeather_SnowSchema = z.object({
37
+ "1h": z.number().describe("Snow volume for the last 1 hour, mm").nullable().optional(),
38
+ "3h": z.number().describe("Snow volume for the last 3 hours, mm").nullable().optional()
39
+ });
40
+ const OpenweatherApiGetCircleCityWeather_WindSchema = z.object({
41
+ deg: z.number().int().describe("Wind direction in degrees"),
42
+ gust: z.number().describe("Wind gust speed").nullable().optional(),
43
+ speed: z.number().describe("Wind speed")
44
+ });
45
+ const OpenweatherApiGetCircleCityWeather_CoordSchema = z.object({
46
+ lat: z.number().describe("Latitude of the city"),
47
+ lon: z.number().describe("Longitude of the city")
48
+ });
49
+ const OpenweatherApiGetCircleCityWeather_CloudsSchema = z.object({ all: z.number().int().describe("Cloudiness percentage") });
50
+ const OpenweatherApiGetCircleCityWeather_WeatherEntrySchema = z.object({
51
+ id: z.number().int().describe("Weather condition ID"),
52
+ icon: z.string().describe("Weather icon ID"),
53
+ main: z.string().describe("Group of weather parameters (e.g. Rain, Snow)"),
54
+ description: z.string().describe("Weather condition description")
55
+ });
56
+ const OpenweatherApiGetCircleCityWeather_CityWeatherSchema = z.object({
57
+ dt: z.number().int().describe("Data calculation time (Unix UTC)"),
58
+ id: z.number().int().describe("City ID"),
59
+ sys: OpenweatherApiGetCircleCityWeather_SysSchema.nullable(),
60
+ main: OpenweatherApiGetCircleCityWeather_MainSchema.nullable(),
61
+ name: z.string().describe("City name"),
62
+ rain: OpenweatherApiGetCircleCityWeather_RainSchema.nullable().optional(),
63
+ snow: OpenweatherApiGetCircleCityWeather_SnowSchema.nullable().optional(),
64
+ wind: OpenweatherApiGetCircleCityWeather_WindSchema.nullable(),
65
+ coord: OpenweatherApiGetCircleCityWeather_CoordSchema.nullable(),
66
+ clouds: OpenweatherApiGetCircleCityWeather_CloudsSchema.nullable(),
67
+ weather: z.array(OpenweatherApiGetCircleCityWeather_WeatherEntrySchema).describe("Weather condition list")
68
+ });
69
+ const openweatherApiGetCircleCityWeather = action("OPENWEATHER_API_GET_CIRCLE_CITY_WEATHER", {
70
+ slug: "openweather_api-get-circle-city-weather",
71
+ name: "Get Circle City Weather",
72
+ 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.",
73
+ input: OpenweatherApiGetCircleCityWeatherInput,
74
+ output: z.object({
75
+ cod: z.string().describe("Internal status code"),
76
+ list: z.array(OpenweatherApiGetCircleCityWeather_CityWeatherSchema).describe("List of city weather data objects"),
77
+ count: z.number().int().describe("Number of cities returned in the response"),
78
+ message: z.string().describe("Internal parameter, message in case of errors or usage info")
79
+ })
80
+ });
81
+ //#endregion
82
+ export { openweatherApiGetCircleCityWeather };
83
+
84
+ //# sourceMappingURL=get-circle-city-weather.mjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = z.object({\n temp: z.number().describe(\"Temperature\"),\n humidity: z.number().int().describe(\"Humidity percentage\"),\n pressure: z.number().int().describe(\"Atmospheric pressure (hPa)\"),\n temp_max: z.number().describe(\"Maximum observed temperature\"),\n temp_min: z.number().describe(\"Minimum observed temperature\"),\n sea_level: z.number().int().describe(\"Atmospheric pressure at sea level (hPa)\").nullable().optional(),\n feels_like: z.number().describe(\"Temperature felt physically\"),\n grnd_level: z.number().int().describe(\"Atmospheric pressure at ground level (hPa)\").nullable().optional(),\n});\nconst OpenweatherApiGetCircleCityWeather_RainSchema: z.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = z.object({\n deg: z.number().int().describe(\"Wind direction in degrees\"),\n gust: z.number().describe(\"Wind gust speed\").nullable().optional(),\n speed: z.number().describe(\"Wind speed\"),\n});\nconst OpenweatherApiGetCircleCityWeather_CoordSchema: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude of the city\"),\n lon: z.number().describe(\"Longitude of the city\"),\n});\nconst OpenweatherApiGetCircleCityWeather_CloudsSchema: z.ZodTypeAny = z.object({\n all: z.number().int().describe(\"Cloudiness percentage\"),\n});\nconst OpenweatherApiGetCircleCityWeather_WeatherEntrySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Weather condition ID\"),\n icon: z.string().describe(\"Weather icon ID\"),\n main: z.string().describe(\"Group of weather parameters (e.g. Rain, Snow)\"),\n description: z.string().describe(\"Weather condition description\"),\n});\nconst OpenweatherApiGetCircleCityWeather_CityWeatherSchema: z.ZodTypeAny = z.object({\n dt: z.number().int().describe(\"Data calculation time (Unix UTC)\"),\n id: z.number().int().describe(\"City ID\"),\n sys: OpenweatherApiGetCircleCityWeather_SysSchema.nullable(),\n main: OpenweatherApiGetCircleCityWeather_MainSchema.nullable(),\n name: z.string().describe(\"City name\"),\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.ZodTypeAny = z.object({\n cod: z.string().describe(\"Internal status code\"),\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\"),\n message: z.string().describe(\"Internal parameter, message in case of errors or usage info\"),\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,0CAAwD,EAAE,OAAO;CAC5E,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,+CAA6D,EAAE,OAAO;CAC1E,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;AACD,MAAM,gDAA8D,EAAE,OAAO;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,UAAU,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,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC5F,CAOU;AACV,CAAC"}
@@ -0,0 +1,85 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-current-weather.ts
4
+ const OpenweatherApiGetCurrentWeatherInput = zod.z.object({
5
+ q: zod.z.string().describe("City name, state code and country code, e.g., 'London,uk'").optional(),
6
+ id: zod.z.number().int().describe("City ID, e.g., 2172797").optional(),
7
+ lat: zod.z.number().describe("Geographic coordinate latitude, e.g., 35.0").optional(),
8
+ lon: zod.z.number().describe("Geographic coordinate longitude, e.g., 139.0").optional(),
9
+ zip: zod.z.string().describe("Zip code and country code, e.g., '94040,us'").optional(),
10
+ lang: zod.z.string().describe("Language for the response (ISO 639-1 code, e.g., 'en')").optional(),
11
+ units: zod.z.enum([
12
+ "standard",
13
+ "metric",
14
+ "imperial"
15
+ ]).describe("Units of measurement. 'standard' (default), 'metric', or 'imperial'").optional()
16
+ }).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.");
17
+ const OpenweatherApiGetCurrentWeather_SysInfoSchema = zod.z.object({
18
+ id: zod.z.number().int().describe("Internal city/system ID").nullable().optional(),
19
+ type: zod.z.number().int().describe("Internal parameter").nullable().optional(),
20
+ sunset: zod.z.number().int().describe("Sunset time (Unix UTC)"),
21
+ country: zod.z.string().describe("Country code (ISO 3166)"),
22
+ sunrise: zod.z.number().int().describe("Sunrise time (Unix UTC)")
23
+ });
24
+ const OpenweatherApiGetCurrentWeather_MainInfoSchema = zod.z.object({
25
+ temp: zod.z.number().describe("Temperature"),
26
+ humidity: zod.z.number().int().describe("Humidity percentage"),
27
+ pressure: zod.z.number().int().describe("Atmospheric pressure (hPa)"),
28
+ temp_max: zod.z.number().describe("Maximum temperature at the moment"),
29
+ temp_min: zod.z.number().describe("Minimum temperature at the moment"),
30
+ sea_level: zod.z.number().int().describe("Sea level pressure (hPa)").nullable().optional(),
31
+ feels_like: zod.z.number().describe("Human perception of temperature"),
32
+ grnd_level: zod.z.number().int().describe("Ground level pressure (hPa)").nullable().optional()
33
+ });
34
+ const OpenweatherApiGetCurrentWeather_RainSchema = zod.z.object({
35
+ "1h": zod.z.number().describe("Rain volume for the last 1 hour").nullable().optional(),
36
+ "3h": zod.z.number().describe("Rain volume for the last 3 hours").nullable().optional()
37
+ });
38
+ const OpenweatherApiGetCurrentWeather_SnowSchema = zod.z.object({
39
+ "1h": zod.z.number().describe("Snow volume for the last 1 hour").nullable().optional(),
40
+ "3h": zod.z.number().describe("Snow volume for the last 3 hours").nullable().optional()
41
+ });
42
+ const OpenweatherApiGetCurrentWeather_WindSchema = zod.z.object({
43
+ deg: zod.z.number().int().describe("Wind direction, degrees"),
44
+ gust: zod.z.number().describe("Wind gust speed").nullable().optional(),
45
+ speed: zod.z.number().describe("Wind speed")
46
+ });
47
+ const OpenweatherApiGetCurrentWeather_CoordSchema = zod.z.object({
48
+ lat: zod.z.number().describe("Latitude"),
49
+ lon: zod.z.number().describe("Longitude")
50
+ });
51
+ const OpenweatherApiGetCurrentWeather_CloudsSchema = zod.z.object({ all: zod.z.number().int().describe("Cloudiness percentage") });
52
+ const OpenweatherApiGetCurrentWeather_WeatherItemSchema = zod.z.object({
53
+ id: zod.z.number().int().describe("Weather condition ID"),
54
+ icon: zod.z.string().describe("Weather icon ID"),
55
+ main: zod.z.string().describe("Group of weather parameters, e.g., Rain, Snow"),
56
+ description: zod.z.string().describe("Weather condition description")
57
+ });
58
+ const OpenweatherApiGetCurrentWeatherOutput = zod.z.object({
59
+ dt: zod.z.number().int().describe("Time of data calculation (Unix UTC)"),
60
+ id: zod.z.number().int().describe("City ID"),
61
+ cod: zod.z.number().int().describe("Internal response code"),
62
+ sys: OpenweatherApiGetCurrentWeather_SysInfoSchema.nullable(),
63
+ base: zod.z.string().describe("Internal parameter"),
64
+ main: OpenweatherApiGetCurrentWeather_MainInfoSchema.nullable(),
65
+ name: zod.z.string().describe("City name"),
66
+ rain: OpenweatherApiGetCurrentWeather_RainSchema.nullable().optional(),
67
+ snow: OpenweatherApiGetCurrentWeather_SnowSchema.nullable().optional(),
68
+ wind: OpenweatherApiGetCurrentWeather_WindSchema.nullable(),
69
+ coord: OpenweatherApiGetCurrentWeather_CoordSchema.nullable(),
70
+ clouds: OpenweatherApiGetCurrentWeather_CloudsSchema.nullable(),
71
+ weather: zod.z.array(OpenweatherApiGetCurrentWeather_WeatherItemSchema),
72
+ timezone: zod.z.number().int().describe("Shift in seconds from UTC"),
73
+ visibility: zod.z.number().int().describe("Visibility in meters").nullable().optional()
74
+ });
75
+ const openweatherApiGetCurrentWeather = require_action.action("OPENWEATHER_API_GET_CURRENT_WEATHER", {
76
+ slug: "openweather_api-get-current-weather",
77
+ name: "Get Current Weather",
78
+ 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.",
79
+ input: OpenweatherApiGetCurrentWeatherInput,
80
+ output: OpenweatherApiGetCurrentWeatherOutput
81
+ });
82
+ //#endregion
83
+ exports.openweatherApiGetCurrentWeather = openweatherApiGetCurrentWeather;
84
+
85
+ //# sourceMappingURL=get-current-weather.cjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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)\"),\n country: z.string().describe(\"Country code (ISO 3166)\"),\n sunrise: z.number().int().describe(\"Sunrise time (Unix UTC)\"),\n});\nconst OpenweatherApiGetCurrentWeather_MainInfoSchema: z.ZodTypeAny = z.object({\n temp: z.number().describe(\"Temperature\"),\n humidity: z.number().int().describe(\"Humidity percentage\"),\n pressure: z.number().int().describe(\"Atmospheric pressure (hPa)\"),\n temp_max: z.number().describe(\"Maximum temperature at the moment\"),\n temp_min: z.number().describe(\"Minimum temperature at the moment\"),\n sea_level: z.number().int().describe(\"Sea level pressure (hPa)\").nullable().optional(),\n feels_like: z.number().describe(\"Human perception of temperature\"),\n grnd_level: z.number().int().describe(\"Ground level pressure (hPa)\").nullable().optional(),\n});\nconst OpenweatherApiGetCurrentWeather_RainSchema: z.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = z.object({\n deg: z.number().int().describe(\"Wind direction, degrees\"),\n gust: z.number().describe(\"Wind gust speed\").nullable().optional(),\n speed: z.number().describe(\"Wind speed\"),\n});\nconst OpenweatherApiGetCurrentWeather_CoordSchema: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude\"),\n lon: z.number().describe(\"Longitude\"),\n});\nconst OpenweatherApiGetCurrentWeather_CloudsSchema: z.ZodTypeAny = z.object({\n all: z.number().int().describe(\"Cloudiness percentage\"),\n});\nconst OpenweatherApiGetCurrentWeather_WeatherItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Weather condition ID\"),\n icon: z.string().describe(\"Weather icon ID\"),\n main: z.string().describe(\"Group of weather parameters, e.g., Rain, Snow\"),\n description: z.string().describe(\"Weather condition description\"),\n});\nexport const OpenweatherApiGetCurrentWeatherOutput: z.ZodTypeAny = z.object({\n dt: z.number().int().describe(\"Time of data calculation (Unix UTC)\"),\n id: z.number().int().describe(\"City ID\"),\n cod: z.number().int().describe(\"Internal response code\"),\n sys: OpenweatherApiGetCurrentWeather_SysInfoSchema.nullable(),\n base: z.string().describe(\"Internal parameter\"),\n main: OpenweatherApiGetCurrentWeather_MainInfoSchema.nullable(),\n name: z.string().describe(\"City name\"),\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\"),\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,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,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,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,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;CAC1D,SAASA,IAAAA,EAAE,O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,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAC9C,MAAM,+CAA+C,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACrC,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACrE,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACrE,MAAM,2CAA2C,SAAS;CAC1D,OAAO,4CAA4C,SAAS;CAC5D,QAAQ,6CAA6C,SAAS;CAC9D,SAASA,IAAAA,EAAE,MAAM,iDAAiD;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC;AAED,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-current-weather.d.ts
4
+ declare const OpenweatherApiGetCurrentWeatherInput: z.ZodTypeAny;
5
+ declare const OpenweatherApiGetCurrentWeatherOutput: z.ZodTypeAny;
6
+ declare const openweatherApiGetCurrentWeather: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { openweatherApiGetCurrentWeather };
9
+ //# sourceMappingURL=get-current-weather.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-current-weather.d.cts","names":[],"sources":["../../src/actions/get-current-weather.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAQiI;AAAA,cA4CzK,qCAAA,EAAuC,CAAA,CAAE,UAgBpD;AAAA,cAEW,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-current-weather.d.ts
4
+ declare const OpenweatherApiGetCurrentWeatherInput: z.ZodTypeAny;
5
+ declare const OpenweatherApiGetCurrentWeatherOutput: z.ZodTypeAny;
6
+ declare const openweatherApiGetCurrentWeather: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { openweatherApiGetCurrentWeather };
9
+ //# sourceMappingURL=get-current-weather.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-current-weather.d.mts","names":[],"sources":["../../src/actions/get-current-weather.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAQiI;AAAA,cA4CzK,qCAAA,EAAuC,CAAA,CAAE,UAgBpD;AAAA,cAEW,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,84 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-current-weather.ts
4
+ const OpenweatherApiGetCurrentWeatherInput = z.object({
5
+ q: z.string().describe("City name, state code and country code, e.g., 'London,uk'").optional(),
6
+ id: z.number().int().describe("City ID, e.g., 2172797").optional(),
7
+ lat: z.number().describe("Geographic coordinate latitude, e.g., 35.0").optional(),
8
+ lon: z.number().describe("Geographic coordinate longitude, e.g., 139.0").optional(),
9
+ zip: z.string().describe("Zip code and country code, e.g., '94040,us'").optional(),
10
+ lang: z.string().describe("Language for the response (ISO 639-1 code, e.g., 'en')").optional(),
11
+ units: z.enum([
12
+ "standard",
13
+ "metric",
14
+ "imperial"
15
+ ]).describe("Units of measurement. 'standard' (default), 'metric', or 'imperial'").optional()
16
+ }).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.");
17
+ const OpenweatherApiGetCurrentWeather_SysInfoSchema = z.object({
18
+ id: z.number().int().describe("Internal city/system ID").nullable().optional(),
19
+ type: z.number().int().describe("Internal parameter").nullable().optional(),
20
+ sunset: z.number().int().describe("Sunset time (Unix UTC)"),
21
+ country: z.string().describe("Country code (ISO 3166)"),
22
+ sunrise: z.number().int().describe("Sunrise time (Unix UTC)")
23
+ });
24
+ const OpenweatherApiGetCurrentWeather_MainInfoSchema = z.object({
25
+ temp: z.number().describe("Temperature"),
26
+ humidity: z.number().int().describe("Humidity percentage"),
27
+ pressure: z.number().int().describe("Atmospheric pressure (hPa)"),
28
+ temp_max: z.number().describe("Maximum temperature at the moment"),
29
+ temp_min: z.number().describe("Minimum temperature at the moment"),
30
+ sea_level: z.number().int().describe("Sea level pressure (hPa)").nullable().optional(),
31
+ feels_like: z.number().describe("Human perception of temperature"),
32
+ grnd_level: z.number().int().describe("Ground level pressure (hPa)").nullable().optional()
33
+ });
34
+ const OpenweatherApiGetCurrentWeather_RainSchema = z.object({
35
+ "1h": z.number().describe("Rain volume for the last 1 hour").nullable().optional(),
36
+ "3h": z.number().describe("Rain volume for the last 3 hours").nullable().optional()
37
+ });
38
+ const OpenweatherApiGetCurrentWeather_SnowSchema = z.object({
39
+ "1h": z.number().describe("Snow volume for the last 1 hour").nullable().optional(),
40
+ "3h": z.number().describe("Snow volume for the last 3 hours").nullable().optional()
41
+ });
42
+ const OpenweatherApiGetCurrentWeather_WindSchema = z.object({
43
+ deg: z.number().int().describe("Wind direction, degrees"),
44
+ gust: z.number().describe("Wind gust speed").nullable().optional(),
45
+ speed: z.number().describe("Wind speed")
46
+ });
47
+ const OpenweatherApiGetCurrentWeather_CoordSchema = z.object({
48
+ lat: z.number().describe("Latitude"),
49
+ lon: z.number().describe("Longitude")
50
+ });
51
+ const OpenweatherApiGetCurrentWeather_CloudsSchema = z.object({ all: z.number().int().describe("Cloudiness percentage") });
52
+ const OpenweatherApiGetCurrentWeather_WeatherItemSchema = z.object({
53
+ id: z.number().int().describe("Weather condition ID"),
54
+ icon: z.string().describe("Weather icon ID"),
55
+ main: z.string().describe("Group of weather parameters, e.g., Rain, Snow"),
56
+ description: z.string().describe("Weather condition description")
57
+ });
58
+ const openweatherApiGetCurrentWeather = action("OPENWEATHER_API_GET_CURRENT_WEATHER", {
59
+ slug: "openweather_api-get-current-weather",
60
+ name: "Get Current Weather",
61
+ 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.",
62
+ input: OpenweatherApiGetCurrentWeatherInput,
63
+ output: z.object({
64
+ dt: z.number().int().describe("Time of data calculation (Unix UTC)"),
65
+ id: z.number().int().describe("City ID"),
66
+ cod: z.number().int().describe("Internal response code"),
67
+ sys: OpenweatherApiGetCurrentWeather_SysInfoSchema.nullable(),
68
+ base: z.string().describe("Internal parameter"),
69
+ main: OpenweatherApiGetCurrentWeather_MainInfoSchema.nullable(),
70
+ name: z.string().describe("City name"),
71
+ rain: OpenweatherApiGetCurrentWeather_RainSchema.nullable().optional(),
72
+ snow: OpenweatherApiGetCurrentWeather_SnowSchema.nullable().optional(),
73
+ wind: OpenweatherApiGetCurrentWeather_WindSchema.nullable(),
74
+ coord: OpenweatherApiGetCurrentWeather_CoordSchema.nullable(),
75
+ clouds: OpenweatherApiGetCurrentWeather_CloudsSchema.nullable(),
76
+ weather: z.array(OpenweatherApiGetCurrentWeather_WeatherItemSchema),
77
+ timezone: z.number().int().describe("Shift in seconds from UTC"),
78
+ visibility: z.number().int().describe("Visibility in meters").nullable().optional()
79
+ })
80
+ });
81
+ //#endregion
82
+ export { openweatherApiGetCurrentWeather };
83
+
84
+ //# sourceMappingURL=get-current-weather.mjs.map
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = 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)\"),\n country: z.string().describe(\"Country code (ISO 3166)\"),\n sunrise: z.number().int().describe(\"Sunrise time (Unix UTC)\"),\n});\nconst OpenweatherApiGetCurrentWeather_MainInfoSchema: z.ZodTypeAny = z.object({\n temp: z.number().describe(\"Temperature\"),\n humidity: z.number().int().describe(\"Humidity percentage\"),\n pressure: z.number().int().describe(\"Atmospheric pressure (hPa)\"),\n temp_max: z.number().describe(\"Maximum temperature at the moment\"),\n temp_min: z.number().describe(\"Minimum temperature at the moment\"),\n sea_level: z.number().int().describe(\"Sea level pressure (hPa)\").nullable().optional(),\n feels_like: z.number().describe(\"Human perception of temperature\"),\n grnd_level: z.number().int().describe(\"Ground level pressure (hPa)\").nullable().optional(),\n});\nconst OpenweatherApiGetCurrentWeather_RainSchema: z.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = z.object({\n deg: z.number().int().describe(\"Wind direction, degrees\"),\n gust: z.number().describe(\"Wind gust speed\").nullable().optional(),\n speed: z.number().describe(\"Wind speed\"),\n});\nconst OpenweatherApiGetCurrentWeather_CoordSchema: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude\"),\n lon: z.number().describe(\"Longitude\"),\n});\nconst OpenweatherApiGetCurrentWeather_CloudsSchema: z.ZodTypeAny = z.object({\n all: z.number().int().describe(\"Cloudiness percentage\"),\n});\nconst OpenweatherApiGetCurrentWeather_WeatherItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Weather condition ID\"),\n icon: z.string().describe(\"Weather icon ID\"),\n main: z.string().describe(\"Group of weather parameters, e.g., Rain, Snow\"),\n description: z.string().describe(\"Weather condition description\"),\n});\nexport const OpenweatherApiGetCurrentWeatherOutput: z.ZodTypeAny = z.object({\n dt: z.number().int().describe(\"Time of data calculation (Unix UTC)\"),\n id: z.number().int().describe(\"City ID\"),\n cod: z.number().int().describe(\"Internal response code\"),\n sys: OpenweatherApiGetCurrentWeather_SysInfoSchema.nullable(),\n base: z.string().describe(\"Internal parameter\"),\n main: OpenweatherApiGetCurrentWeather_MainInfoSchema.nullable(),\n name: z.string().describe(\"City name\"),\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\"),\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,uCAAqD,EAAE,OAAO;CACzE,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,yKAAyK;AACrL,MAAM,gDAA8D,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,S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C5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;EAC9C,MAAM,+CAA+C,SAAS;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;EACrC,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACrE,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACrE,MAAM,2CAA2C,SAAS;EAC1D,OAAO,4CAA4C,SAAS;EAC5D,QAAQ,6CAA6C,SAAS;EAC9D,SAAS,EAAE,MAAM,iDAAiD;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;EAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,CAOU;AACV,CAAC"}
@@ -0,0 +1,22 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-geocoding-by-zip.ts
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
+ 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.");
12
+ const openweatherApiGetGeocodingByZip = require_action.action("OPENWEATHER_API_GET_GEOCODING_BY_ZIP", {
13
+ slug: "openweather_api-get-geocoding-by-zip",
14
+ name: "Get Geocoding by Zip Code",
15
+ description: "Tool to convert zip/post code into geographic coordinates. Use when you need latitude and longitude for a specific postal code.",
16
+ input: OpenweatherApiGetGeocodingByZipInput,
17
+ output: OpenweatherApiGetGeocodingByZipOutput
18
+ });
19
+ //#endregion
20
+ exports.openweatherApiGetGeocodingByZip = openweatherApiGetGeocodingByZip;
21
+
22
+ //# sourceMappingURL=get-geocoding-by-zip.cjs.map
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude of the centroid of found zip/post code\"),\n lon: z.number().describe(\"Longitude of the centroid of found zip/post code\"),\n zip: z.string().describe(\"Specified zip/post code from the request\"),\n name: z.string().describe(\"Name of the found area\"),\n country: z.string().describe(\"Country code of the found zip/post code\"),\n}).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,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,EACxI,CAAC,CAAC,CAAC,SAAS,wGAAwG;AACpH,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC1E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC3E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AACxE,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAElH,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-geocoding-by-zip.d.ts
4
+ declare const OpenweatherApiGetGeocodingByZipInput: z.ZodTypeAny;
5
+ declare const OpenweatherApiGetGeocodingByZipOutput: z.ZodTypeAny;
6
+ declare const openweatherApiGetGeocodingByZip: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { openweatherApiGetGeocodingByZip };
9
+ //# sourceMappingURL=get-geocoding-by-zip.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-geocoding-by-zip.d.cts","names":[],"sources":["../../src/actions/get-geocoding-by-zip.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAEgE;AAAA,cACxG,qCAAA,EAAuC,CAAA,CAAE,UAM6D;AAAA,cAEtG,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-geocoding-by-zip.d.ts
4
+ declare const OpenweatherApiGetGeocodingByZipInput: z.ZodTypeAny;
5
+ declare const OpenweatherApiGetGeocodingByZipOutput: z.ZodTypeAny;
6
+ declare const openweatherApiGetGeocodingByZip: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { openweatherApiGetGeocodingByZip };
9
+ //# sourceMappingURL=get-geocoding-by-zip.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-geocoding-by-zip.d.mts","names":[],"sources":["../../src/actions/get-geocoding-by-zip.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAEgE;AAAA,cACxG,qCAAA,EAAuC,CAAA,CAAE,UAM6D;AAAA,cAEtG,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const openweatherApiGetGeocodingByZip = action("OPENWEATHER_API_GET_GEOCODING_BY_ZIP", {
4
+ slug: "openweather_api-get-geocoding-by-zip",
5
+ name: "Get Geocoding by Zip Code",
6
+ description: "Tool to convert zip/post code into geographic coordinates. Use when you need latitude and longitude for a specific postal code.",
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
+ 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.")
15
+ });
16
+ //#endregion
17
+ export { openweatherApiGetGeocodingByZip };
18
+
19
+ //# sourceMappingURL=get-geocoding-by-zip.mjs.map
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude of the centroid of found zip/post code\"),\n lon: z.number().describe(\"Longitude of the centroid of found zip/post code\"),\n zip: z.string().describe(\"Specified zip/post code from the request\"),\n name: z.string().describe(\"Name of the found area\"),\n country: z.string().describe(\"Country code of the found zip/post code\"),\n}).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,OAfgE,EAAE,OAAO,EACzE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,EACxI,CAAC,CAAC,CAAC,SAAS,wGAaH;CACP,QAbiE,EAAE,OAAO;EAC1E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC1E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAC3E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACxE,CAAC,CAAC,CAAC,SAAS,sGAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-geocoding-direct.ts
4
+ const OpenweatherApiGetGeocodingDirectInput = zod.z.object({
5
+ q: zod.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."),
6
+ limit: zod.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()
7
+ }).describe("Request parameters for direct geocoding: location name to coordinates.");
8
+ const OpenweatherApiGetGeocodingDirectOutput = zod.z.unknown();
9
+ const openweatherApiGetGeocodingDirect = require_action.action("OPENWEATHER_API_GET_GEOCODING_DIRECT", {
10
+ slug: "openweather_api-get-geocoding-direct",
11
+ name: "Get Direct Geocoding",
12
+ 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.",
13
+ input: OpenweatherApiGetGeocodingDirectInput,
14
+ output: OpenweatherApiGetGeocodingDirectOutput
15
+ });
16
+ //#endregion
17
+ exports.openweatherApiGetGeocodingDirect = openweatherApiGetGeocodingDirect;
18
+
19
+ //# sourceMappingURL=get-geocoding-direct.cjs.map
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = 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,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,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,yCAAuDA,IAAAA,EAAE,QAAQ;AAE9E,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}