@keystrokehq/openweather_api 0.1.4 → 0.1.6

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 (181) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/delete-weather-station.cjs +1 -0
  4. package/dist/actions/delete-weather-station.cjs.map +1 -1
  5. package/dist/actions/delete-weather-station.d.cts +3 -3
  6. package/dist/actions/delete-weather-station.d.cts.map +1 -1
  7. package/dist/actions/delete-weather-station.d.mts +3 -3
  8. package/dist/actions/delete-weather-station.d.mts.map +1 -1
  9. package/dist/actions/delete-weather-station.mjs +1 -0
  10. package/dist/actions/delete-weather-station.mjs.map +1 -1
  11. package/dist/actions/get-air-pollution-current.cjs +1 -0
  12. package/dist/actions/get-air-pollution-current.cjs.map +1 -1
  13. package/dist/actions/get-air-pollution-current.d.cts +3 -4
  14. package/dist/actions/get-air-pollution-current.d.cts.map +1 -1
  15. package/dist/actions/get-air-pollution-current.d.mts +3 -4
  16. package/dist/actions/get-air-pollution-current.d.mts.map +1 -1
  17. package/dist/actions/get-air-pollution-current.mjs +1 -0
  18. package/dist/actions/get-air-pollution-current.mjs.map +1 -1
  19. package/dist/actions/get-air-pollution-forecast.cjs +1 -0
  20. package/dist/actions/get-air-pollution-forecast.cjs.map +1 -1
  21. package/dist/actions/get-air-pollution-forecast.d.cts +3 -4
  22. package/dist/actions/get-air-pollution-forecast.d.cts.map +1 -1
  23. package/dist/actions/get-air-pollution-forecast.d.mts +3 -4
  24. package/dist/actions/get-air-pollution-forecast.d.mts.map +1 -1
  25. package/dist/actions/get-air-pollution-forecast.mjs +1 -0
  26. package/dist/actions/get-air-pollution-forecast.mjs.map +1 -1
  27. package/dist/actions/get-air-pollution-history.cjs +1 -0
  28. package/dist/actions/get-air-pollution-history.cjs.map +1 -1
  29. package/dist/actions/get-air-pollution-history.d.cts +3 -6
  30. package/dist/actions/get-air-pollution-history.d.cts.map +1 -1
  31. package/dist/actions/get-air-pollution-history.d.mts +3 -6
  32. package/dist/actions/get-air-pollution-history.d.mts.map +1 -1
  33. package/dist/actions/get-air-pollution-history.mjs +1 -0
  34. package/dist/actions/get-air-pollution-history.mjs.map +1 -1
  35. package/dist/actions/get-circle-city-weather.cjs +1 -0
  36. package/dist/actions/get-circle-city-weather.cjs.map +1 -1
  37. package/dist/actions/get-circle-city-weather.d.cts +3 -8
  38. package/dist/actions/get-circle-city-weather.d.cts.map +1 -1
  39. package/dist/actions/get-circle-city-weather.d.mts +3 -8
  40. package/dist/actions/get-circle-city-weather.d.mts.map +1 -1
  41. package/dist/actions/get-circle-city-weather.mjs +1 -0
  42. package/dist/actions/get-circle-city-weather.mjs.map +1 -1
  43. package/dist/actions/get-current-weather.cjs +1 -0
  44. package/dist/actions/get-current-weather.cjs.map +1 -1
  45. package/dist/actions/get-current-weather.d.cts +3 -9
  46. package/dist/actions/get-current-weather.d.cts.map +1 -1
  47. package/dist/actions/get-current-weather.d.mts +3 -9
  48. package/dist/actions/get-current-weather.d.mts.map +1 -1
  49. package/dist/actions/get-current-weather.mjs +1 -0
  50. package/dist/actions/get-current-weather.mjs.map +1 -1
  51. package/dist/actions/get-geocoding-by-zip.cjs +1 -0
  52. package/dist/actions/get-geocoding-by-zip.cjs.map +1 -1
  53. package/dist/actions/get-geocoding-by-zip.d.cts +3 -3
  54. package/dist/actions/get-geocoding-by-zip.d.cts.map +1 -1
  55. package/dist/actions/get-geocoding-by-zip.d.mts +3 -3
  56. package/dist/actions/get-geocoding-by-zip.d.mts.map +1 -1
  57. package/dist/actions/get-geocoding-by-zip.mjs +1 -0
  58. package/dist/actions/get-geocoding-by-zip.mjs.map +1 -1
  59. package/dist/actions/get-geocoding-direct.cjs +1 -0
  60. package/dist/actions/get-geocoding-direct.cjs.map +1 -1
  61. package/dist/actions/get-geocoding-direct.d.cts +3 -4
  62. package/dist/actions/get-geocoding-direct.d.cts.map +1 -1
  63. package/dist/actions/get-geocoding-direct.d.mts +3 -4
  64. package/dist/actions/get-geocoding-direct.d.mts.map +1 -1
  65. package/dist/actions/get-geocoding-direct.mjs +1 -0
  66. package/dist/actions/get-geocoding-direct.mjs.map +1 -1
  67. package/dist/actions/get-geocoding-reverse.cjs +1 -0
  68. package/dist/actions/get-geocoding-reverse.cjs.map +1 -1
  69. package/dist/actions/get-geocoding-reverse.d.cts +3 -5
  70. package/dist/actions/get-geocoding-reverse.d.cts.map +1 -1
  71. package/dist/actions/get-geocoding-reverse.d.mts +3 -5
  72. package/dist/actions/get-geocoding-reverse.d.mts.map +1 -1
  73. package/dist/actions/get-geocoding-reverse.mjs +1 -0
  74. package/dist/actions/get-geocoding-reverse.mjs.map +1 -1
  75. package/dist/actions/get-station-measurements.cjs +1 -0
  76. package/dist/actions/get-station-measurements.cjs.map +1 -1
  77. package/dist/actions/get-station-measurements.d.cts +4 -8
  78. package/dist/actions/get-station-measurements.d.cts.map +1 -1
  79. package/dist/actions/get-station-measurements.d.mts +4 -8
  80. package/dist/actions/get-station-measurements.d.mts.map +1 -1
  81. package/dist/actions/get-station-measurements.mjs +1 -0
  82. package/dist/actions/get-station-measurements.mjs.map +1 -1
  83. package/dist/actions/get-uv-index-forecast.cjs +1 -0
  84. package/dist/actions/get-uv-index-forecast.cjs.map +1 -1
  85. package/dist/actions/get-uv-index-forecast.d.cts +3 -5
  86. package/dist/actions/get-uv-index-forecast.d.cts.map +1 -1
  87. package/dist/actions/get-uv-index-forecast.d.mts +3 -5
  88. package/dist/actions/get-uv-index-forecast.d.mts.map +1 -1
  89. package/dist/actions/get-uv-index-forecast.mjs +1 -0
  90. package/dist/actions/get-uv-index-forecast.mjs.map +1 -1
  91. package/dist/actions/get-uv-index-history.cjs +1 -0
  92. package/dist/actions/get-uv-index-history.cjs.map +1 -1
  93. package/dist/actions/get-uv-index-history.d.cts +3 -6
  94. package/dist/actions/get-uv-index-history.d.cts.map +1 -1
  95. package/dist/actions/get-uv-index-history.d.mts +3 -6
  96. package/dist/actions/get-uv-index-history.d.mts.map +1 -1
  97. package/dist/actions/get-uv-index-history.mjs +1 -0
  98. package/dist/actions/get-uv-index-history.mjs.map +1 -1
  99. package/dist/actions/get-uv-index.cjs +1 -0
  100. package/dist/actions/get-uv-index.cjs.map +1 -1
  101. package/dist/actions/get-uv-index.d.cts +3 -4
  102. package/dist/actions/get-uv-index.d.cts.map +1 -1
  103. package/dist/actions/get-uv-index.d.mts +3 -4
  104. package/dist/actions/get-uv-index.d.mts.map +1 -1
  105. package/dist/actions/get-uv-index.mjs +1 -0
  106. package/dist/actions/get-uv-index.mjs.map +1 -1
  107. package/dist/actions/get-weather-map-tile.cjs +1 -0
  108. package/dist/actions/get-weather-map-tile.cjs.map +1 -1
  109. package/dist/actions/get-weather-map-tile.d.cts +4 -14
  110. package/dist/actions/get-weather-map-tile.d.cts.map +1 -1
  111. package/dist/actions/get-weather-map-tile.d.mts +4 -14
  112. package/dist/actions/get-weather-map-tile.d.mts.map +1 -1
  113. package/dist/actions/get-weather-map-tile.mjs +1 -0
  114. package/dist/actions/get-weather-map-tile.mjs.map +1 -1
  115. package/dist/actions/get-weather-station.cjs +1 -0
  116. package/dist/actions/get-weather-station.cjs.map +1 -1
  117. package/dist/actions/get-weather-station.d.cts +3 -3
  118. package/dist/actions/get-weather-station.d.cts.map +1 -1
  119. package/dist/actions/get-weather-station.d.mts +3 -3
  120. package/dist/actions/get-weather-station.d.mts.map +1 -1
  121. package/dist/actions/get-weather-station.mjs +1 -0
  122. package/dist/actions/get-weather-station.mjs.map +1 -1
  123. package/dist/actions/get-weather-stations.cjs +1 -0
  124. package/dist/actions/get-weather-stations.cjs.map +1 -1
  125. package/dist/actions/get-weather-stations.d.cts +3 -1
  126. package/dist/actions/get-weather-stations.d.cts.map +1 -1
  127. package/dist/actions/get-weather-stations.d.mts +3 -1
  128. package/dist/actions/get-weather-stations.d.mts.map +1 -1
  129. package/dist/actions/get-weather-stations.mjs +1 -0
  130. package/dist/actions/get-weather-stations.mjs.map +1 -1
  131. package/dist/actions/get-weather-triggers.cjs +1 -0
  132. package/dist/actions/get-weather-triggers.cjs.map +1 -1
  133. package/dist/actions/get-weather-triggers.d.cts +3 -12
  134. package/dist/actions/get-weather-triggers.d.cts.map +1 -1
  135. package/dist/actions/get-weather-triggers.d.mts +3 -12
  136. package/dist/actions/get-weather-triggers.d.mts.map +1 -1
  137. package/dist/actions/get-weather-triggers.mjs +1 -0
  138. package/dist/actions/get-weather-triggers.mjs.map +1 -1
  139. package/dist/actions/get5-day-forecast.cjs +1 -0
  140. package/dist/actions/get5-day-forecast.cjs.map +1 -1
  141. package/dist/actions/get5-day-forecast.d.cts +3 -10
  142. package/dist/actions/get5-day-forecast.d.cts.map +1 -1
  143. package/dist/actions/get5-day-forecast.d.mts +3 -10
  144. package/dist/actions/get5-day-forecast.d.mts.map +1 -1
  145. package/dist/actions/get5-day-forecast.mjs +1 -0
  146. package/dist/actions/get5-day-forecast.mjs.map +1 -1
  147. package/dist/actions/post-add-weather-station.cjs +1 -0
  148. package/dist/actions/post-add-weather-station.cjs.map +1 -1
  149. package/dist/actions/post-add-weather-station.d.cts +3 -7
  150. package/dist/actions/post-add-weather-station.d.cts.map +1 -1
  151. package/dist/actions/post-add-weather-station.d.mts +3 -7
  152. package/dist/actions/post-add-weather-station.d.mts.map +1 -1
  153. package/dist/actions/post-add-weather-station.mjs +1 -0
  154. package/dist/actions/post-add-weather-station.mjs.map +1 -1
  155. package/dist/actions/post-submit-station-measurements.cjs +1 -0
  156. package/dist/actions/post-submit-station-measurements.cjs.map +1 -1
  157. package/dist/actions/post-submit-station-measurements.d.cts +3 -14
  158. package/dist/actions/post-submit-station-measurements.d.cts.map +1 -1
  159. package/dist/actions/post-submit-station-measurements.d.mts +3 -14
  160. package/dist/actions/post-submit-station-measurements.d.mts.map +1 -1
  161. package/dist/actions/post-submit-station-measurements.mjs +1 -0
  162. package/dist/actions/post-submit-station-measurements.mjs.map +1 -1
  163. package/dist/actions/update-weather-station.cjs +1 -0
  164. package/dist/actions/update-weather-station.cjs.map +1 -1
  165. package/dist/actions/update-weather-station.d.cts +3 -8
  166. package/dist/actions/update-weather-station.d.cts.map +1 -1
  167. package/dist/actions/update-weather-station.d.mts +3 -8
  168. package/dist/actions/update-weather-station.d.mts.map +1 -1
  169. package/dist/actions/update-weather-station.mjs +1 -0
  170. package/dist/actions/update-weather-station.mjs.map +1 -1
  171. package/dist/app.cjs +5 -2
  172. package/dist/app.cjs.map +1 -1
  173. package/dist/app.d.cts +7 -1
  174. package/dist/app.d.cts.map +1 -1
  175. package/dist/app.d.mts +7 -1
  176. package/dist/app.d.mts.map +1 -1
  177. package/dist/app.mjs +3 -2
  178. package/dist/app.mjs.map +1 -1
  179. package/dist/index.d.cts +1 -1
  180. package/dist/index.d.mts +1 -1
  181. package/package.json +2 -2
@@ -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}).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,CAA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CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZsD,EAAE,OAAO;EAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC1D,MAAM,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,mCAAmC;EAChH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-circle-city-weather.mjs","names":[],"sources":["../../src/actions/get-circle-city-weather.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\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: AppAction<\n typeof OpenweatherApiGetCircleCityWeatherInput,\n typeof OpenweatherApiGetCircleCityWeatherOutput,\n typeof openweatherApi.credential\n> = 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":";;;;AAMA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,S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CAAC,YAAY;AAQf,MAAa,qCAIT,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBsD,EAAE,OAAO;EAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC1D,MAAM,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,mCAAmC;EAChH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-current-weather.ts
@@ -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}).passthrough();\nconst OpenweatherApiGetCurrentWeather_MainInfoSchema = z.object({\n temp: z.number().describe(\"Temperature\").nullable(),\n humidity: z.number().int().describe(\"Humidity percentage\").nullable(),\n pressure: z.number().int().describe(\"Atmospheric pressure (hPa)\").nullable(),\n temp_max: z.number().describe(\"Maximum temperature at the moment\").nullable(),\n temp_min: z.number().describe(\"Minimum temperature at the moment\").nullable(),\n sea_level: z.number().int().describe(\"Sea level pressure (hPa)\").nullable().optional(),\n feels_like: z.number().describe(\"Human perception of temperature\").nullable(),\n grnd_level: z.number().int().describe(\"Ground level pressure (hPa)\").nullable().optional(),\n}).passthrough();\nconst OpenweatherApiGetCurrentWeather_RainSchema = z.object({\n \"1h\": z.number().describe(\"Rain volume for the last 1 hour\").nullable().optional(),\n \"3h\": z.number().describe(\"Rain volume for the last 3 hours\").nullable().optional(),\n}).passthrough();\nconst OpenweatherApiGetCurrentWeather_SnowSchema = z.object({\n \"1h\": z.number().describe(\"Snow volume for the last 1 hour\").nullable().optional(),\n \"3h\": z.number().describe(\"Snow volume for the last 3 hours\").nullable().optional(),\n}).passthrough();\nconst OpenweatherApiGetCurrentWeather_WindSchema = z.object({\n deg: z.number().int().describe(\"Wind direction, degrees\").nullable(),\n gust: z.number().describe(\"Wind gust speed\").nullable().optional(),\n speed: z.number().describe(\"Wind speed\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetCurrentWeather_CoordSchema = z.object({\n lat: z.number().describe(\"Latitude\").nullable(),\n lon: z.number().describe(\"Longitude\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetCurrentWeather_CloudsSchema = z.object({\n all: z.number().int().describe(\"Cloudiness percentage\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetCurrentWeather_WeatherItemSchema = z.object({\n id: z.number().int().describe(\"Weather condition ID\").nullable(),\n icon: z.string().describe(\"Weather icon ID\").nullable(),\n main: z.string().describe(\"Group of weather parameters, e.g., Rain, Snow\").nullable(),\n description: z.string().describe(\"Weather condition description\").nullable(),\n}).passthrough();\nexport const OpenweatherApiGetCurrentWeatherOutput = z.object({\n dt: z.number().int().describe(\"Time of data calculation (Unix UTC)\").nullable(),\n id: z.number().int().describe(\"City ID\").nullable(),\n cod: z.number().int().describe(\"Internal response code\").nullable(),\n sys: OpenweatherApiGetCurrentWeather_SysInfoSchema.nullable(),\n base: z.string().describe(\"Internal parameter\").nullable(),\n main: OpenweatherApiGetCurrentWeather_MainInfoSchema.nullable(),\n name: z.string().describe(\"City name\").nullable(),\n rain: OpenweatherApiGetCurrentWeather_RainSchema.nullable().optional(),\n snow: OpenweatherApiGetCurrentWeather_SnowSchema.nullable().optional(),\n wind: OpenweatherApiGetCurrentWeather_WindSchema.nullable(),\n coord: OpenweatherApiGetCurrentWeather_CoordSchema.nullable(),\n clouds: OpenweatherApiGetCurrentWeather_CloudsSchema.nullable(),\n weather: z.array(OpenweatherApiGetCurrentWeather_WeatherItemSchema),\n timezone: z.number().int().describe(\"Shift in seconds from UTC\").nullable(),\n visibility: z.number().int().describe(\"Visibility in meters\").nullable().optional(),\n}).passthrough();\n\nexport const openweatherApiGetCurrentWeather = action(\"OPENWEATHER_API_GET_CURRENT_WEATHER\", {\n slug: \"openweather_api-get-current-weather\",\n name: \"Get Current Weather\",\n description: \"Tool to retrieve current weather data for a location. Use when you need up-to-the-minute weather info. Exactly one location identifier must be provided per call: either `q`, `id`, `zip`, or the pair `lat`+`lon`. Passing multiple identifiers causes errors or ambiguous matches.\",\n input: OpenweatherApiGetCurrentWeatherInput,\n output: OpenweatherApiGetCurrentWeatherOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,GAAGA,IAAAA,EAAE,OAAO,CAA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C,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAClE,KAAK,8CAA8C,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,MAAM,+CAA+C,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,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,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-current-weather.cjs","names":["z","action"],"sources":["../../src/actions/get-current-weather.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\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: AppAction<\n typeof OpenweatherApiGetCurrentWeatherInput,\n typeof OpenweatherApiGetCurrentWeatherOutput,\n typeof openweatherApi.credential\n> = 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":";;;;AAMA,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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,iDAAiD;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-current-weather.d.ts
@@ -66,15 +68,7 @@ declare const OpenweatherApiGetCurrentWeatherOutput: z.ZodObject<{
66
68
  timezone: z.ZodNullable<z.ZodNumber>;
67
69
  visibility: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
68
70
  }, z.core.$loose>;
69
- declare const openweatherApiGetCurrentWeather: import("@keystrokehq/action").WorkflowActionDefinition<{
70
- q?: string | undefined;
71
- id?: number | undefined;
72
- lat?: number | undefined;
73
- lon?: number | undefined;
74
- zip?: string | undefined;
75
- lang?: string | undefined;
76
- units?: "standard" | "metric" | "imperial" | undefined;
77
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
71
+ declare const openweatherApiGetCurrentWeather: AppAction<typeof OpenweatherApiGetCurrentWeatherInput, typeof OpenweatherApiGetCurrentWeatherOutput, typeof openweatherApi.credential>;
78
72
  //#endregion
79
73
  export { openweatherApiGetCurrentWeather };
80
74
  //# sourceMappingURL=get-current-weather.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-weather.d.cts","names":[],"sources":["../../src/actions/get-current-weather.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAoDpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"get-current-weather.d.cts","names":[],"sources":["../../src/actions/get-current-weather.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAoDpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-current-weather.d.ts
@@ -66,15 +68,7 @@ declare const OpenweatherApiGetCurrentWeatherOutput: z.ZodObject<{
66
68
  timezone: z.ZodNullable<z.ZodNumber>;
67
69
  visibility: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
68
70
  }, z.core.$loose>;
69
- declare const openweatherApiGetCurrentWeather: import("@keystrokehq/action").WorkflowActionDefinition<{
70
- q?: string | undefined;
71
- id?: number | undefined;
72
- lat?: number | undefined;
73
- lon?: number | undefined;
74
- zip?: string | undefined;
75
- lang?: string | undefined;
76
- units?: "standard" | "metric" | "imperial" | undefined;
77
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
71
+ declare const openweatherApiGetCurrentWeather: AppAction<typeof OpenweatherApiGetCurrentWeatherInput, typeof OpenweatherApiGetCurrentWeatherOutput, typeof openweatherApi.credential>;
78
72
  //#endregion
79
73
  export { openweatherApiGetCurrentWeather };
80
74
  //# sourceMappingURL=get-current-weather.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-weather.d.mts","names":[],"sources":["../../src/actions/get-current-weather.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAoDpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"get-current-weather.d.mts","names":[],"sources":["../../src/actions/get-current-weather.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAoDpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-current-weather.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-weather.mjs","names":[],"sources":["../../src/actions/get-current-weather.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetCurrentWeatherInput = 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 ambigu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AK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAClE,KAAK,8CAA8C,SAAS;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACzD,MAAM,+CAA+C,SAAS;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;EAChD,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,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-current-weather.mjs","names":[],"sources":["../../src/actions/get-current-weather.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\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: AppAction<\n typeof OpenweatherApiGetCurrentWeatherInput,\n typeof OpenweatherApiGetCurrentWeatherOutput,\n typeof openweatherApi.credential\n> = 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":";;;;AAMA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC7F,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAChF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC7F,OAAO,EAAE,KAAK;EAAC;EAAY;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,yKAAyK;AACrL,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,SAAS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SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;EAClD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAClE,KAAK,8CAA8C,SAAS;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACzD,MAAM,+CAA+C,SAAS;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;EAChD,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,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-geocoding-by-zip.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-geocoding-by-zip.cjs","names":["z","action"],"sources":["../../src/actions/get-geocoding-by-zip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingByZipInput = z.object({\n zip: z.string().describe(\"Zip/post code and country code divided by comma. Use ISO 3166 country codes (e.g., '10001,US' or 'E14,GB').\"),\n}).describe(\"Request parameters for geocoding by zip/post code to convert postal codes into geographic coordinates.\");\nexport const OpenweatherApiGetGeocodingByZipOutput = z.object({\n lat: z.number().describe(\"Latitude of the centroid of found zip/post code\").nullable(),\n lon: z.number().describe(\"Longitude of the centroid of found zip/post code\").nullable(),\n zip: z.string().describe(\"Specified zip/post code from the request\").nullable(),\n name: z.string().describe(\"Name of the found area\").nullable(),\n country: z.string().describe(\"Country code of the found zip/post code\").nullable(),\n}).passthrough().describe(\"Response containing geographic coordinates and location information for the specified zip/post code.\");\n\nexport const openweatherApiGetGeocodingByZip = action(\"OPENWEATHER_API_GET_GEOCODING_BY_ZIP\", {\n slug: \"openweather_api-get-geocoding-by-zip\",\n name: \"Get Geocoding by Zip Code\",\n description: \"Tool to convert zip/post code into geographic coordinates. Use when you need latitude and longitude for a specific postal code.\",\n input: OpenweatherApiGetGeocodingByZipInput,\n output: OpenweatherApiGetGeocodingByZipOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,EACxI,CAAC,CAAC,CAAC,SAAS,wGAAwG;AACpH,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACrF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sGAAsG;AAEhI,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-geocoding-by-zip.cjs","names":["z","action"],"sources":["../../src/actions/get-geocoding-by-zip.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiGetGeocodingByZipInput = z.object({\n zip: z.string().describe(\"Zip/post code and country code divided by comma. Use ISO 3166 country codes (e.g., '10001,US' or 'E14,GB').\"),\n}).describe(\"Request parameters for geocoding by zip/post code to convert postal codes into geographic coordinates.\");\nexport const OpenweatherApiGetGeocodingByZipOutput = z.object({\n lat: z.number().describe(\"Latitude of the centroid of found zip/post code\").nullable(),\n lon: z.number().describe(\"Longitude of the centroid of found zip/post code\").nullable(),\n zip: z.string().describe(\"Specified zip/post code from the request\").nullable(),\n name: z.string().describe(\"Name of the found area\").nullable(),\n country: z.string().describe(\"Country code of the found zip/post code\").nullable(),\n}).passthrough().describe(\"Response containing geographic coordinates and location information for the specified zip/post code.\");\n\nexport const openweatherApiGetGeocodingByZip: AppAction<\n typeof OpenweatherApiGetGeocodingByZipInput,\n typeof OpenweatherApiGetGeocodingByZipOutput,\n typeof openweatherApi.credential\n> = 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":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,EACxI,CAAC,CAAC,CAAC,SAAS,wGAAwG;AACpH,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACrF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sGAAsG;AAEhI,MAAa,kCAITC,eAAAA,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-geocoding-by-zip.d.ts
@@ -11,9 +13,7 @@ declare const OpenweatherApiGetGeocodingByZipOutput: z.ZodObject<{
11
13
  name: z.ZodNullable<z.ZodString>;
12
14
  country: z.ZodNullable<z.ZodString>;
13
15
  }, z.core.$loose>;
14
- declare const openweatherApiGetGeocodingByZip: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- zip: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const openweatherApiGetGeocodingByZip: AppAction<typeof OpenweatherApiGetGeocodingByZipInput, typeof OpenweatherApiGetGeocodingByZipOutput, typeof openweatherApi.credential>;
17
17
  //#endregion
18
18
  export { openweatherApiGetGeocodingByZip };
19
19
  //# sourceMappingURL=get-geocoding-by-zip.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-geocoding-by-zip.d.cts","names":[],"sources":["../../src/actions/get-geocoding-by-zip.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;cAQrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"get-geocoding-by-zip.d.cts","names":[],"sources":["../../src/actions/get-geocoding-by-zip.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;cAQrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-geocoding-by-zip.d.ts
@@ -11,9 +13,7 @@ declare const OpenweatherApiGetGeocodingByZipOutput: z.ZodObject<{
11
13
  name: z.ZodNullable<z.ZodString>;
12
14
  country: z.ZodNullable<z.ZodString>;
13
15
  }, z.core.$loose>;
14
- declare const openweatherApiGetGeocodingByZip: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- zip: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const openweatherApiGetGeocodingByZip: AppAction<typeof OpenweatherApiGetGeocodingByZipInput, typeof OpenweatherApiGetGeocodingByZipOutput, typeof openweatherApi.credential>;
17
17
  //#endregion
18
18
  export { openweatherApiGetGeocodingByZip };
19
19
  //# sourceMappingURL=get-geocoding-by-zip.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-geocoding-by-zip.d.mts","names":[],"sources":["../../src/actions/get-geocoding-by-zip.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;cAQrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"get-geocoding-by-zip.d.mts","names":[],"sources":["../../src/actions/get-geocoding-by-zip.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;cAQrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const openweatherApiGetGeocodingByZip = action("OPENWEATHER_API_GET_GEOCODING_BY_ZIP", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-geocoding-by-zip.mjs","names":[],"sources":["../../src/actions/get-geocoding-by-zip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingByZipInput = z.object({\n zip: z.string().describe(\"Zip/post code and country code divided by comma. Use ISO 3166 country codes (e.g., '10001,US' or 'E14,GB').\"),\n}).describe(\"Request parameters for geocoding by zip/post code to convert postal codes into geographic coordinates.\");\nexport const OpenweatherApiGetGeocodingByZipOutput = z.object({\n lat: z.number().describe(\"Latitude of the centroid of found zip/post code\").nullable(),\n lon: z.number().describe(\"Longitude of the centroid of found zip/post code\").nullable(),\n zip: z.string().describe(\"Specified zip/post code from the request\").nullable(),\n name: z.string().describe(\"Name of the found area\").nullable(),\n country: z.string().describe(\"Country code of the found zip/post code\").nullable(),\n}).passthrough().describe(\"Response containing geographic coordinates and location information for the specified zip/post code.\");\n\nexport const openweatherApiGetGeocodingByZip = action(\"OPENWEATHER_API_GET_GEOCODING_BY_ZIP\", {\n slug: \"openweather_api-get-geocoding-by-zip\",\n name: \"Get Geocoding by Zip Code\",\n description: \"Tool to convert zip/post code into geographic coordinates. Use when you need latitude and longitude for a specific postal code.\",\n input: OpenweatherApiGetGeocodingByZipInput,\n output: OpenweatherApiGetGeocodingByZipOutput,\n});\n"],"mappings":";;AAeA,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfkD,EAAE,OAAO,EAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,EACxI,CAAC,CAAC,CAAC,SAAS,wGAaH;CACP,QAbmD,EAAE,OAAO;EAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACrF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sGAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-geocoding-by-zip.mjs","names":[],"sources":["../../src/actions/get-geocoding-by-zip.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiGetGeocodingByZipInput = z.object({\n zip: z.string().describe(\"Zip/post code and country code divided by comma. Use ISO 3166 country codes (e.g., '10001,US' or 'E14,GB').\"),\n}).describe(\"Request parameters for geocoding by zip/post code to convert postal codes into geographic coordinates.\");\nexport const OpenweatherApiGetGeocodingByZipOutput = z.object({\n lat: z.number().describe(\"Latitude of the centroid of found zip/post code\").nullable(),\n lon: z.number().describe(\"Longitude of the centroid of found zip/post code\").nullable(),\n zip: z.string().describe(\"Specified zip/post code from the request\").nullable(),\n name: z.string().describe(\"Name of the found area\").nullable(),\n country: z.string().describe(\"Country code of the found zip/post code\").nullable(),\n}).passthrough().describe(\"Response containing geographic coordinates and location information for the specified zip/post code.\");\n\nexport const openweatherApiGetGeocodingByZip: AppAction<\n typeof OpenweatherApiGetGeocodingByZipInput,\n typeof OpenweatherApiGetGeocodingByZipOutput,\n typeof openweatherApi.credential\n> = 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":";;;AAiBA,MAAa,kCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBkD,EAAE,OAAO,EAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,EACxI,CAAC,CAAC,CAAC,SAAS,wGAiBH;CACP,QAjBmD,EAAE,OAAO;EAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACrF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sGAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-geocoding-direct.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-geocoding-direct.cjs","names":["z","action"],"sources":["../../src/actions/get-geocoding-direct.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingDirectInput = z.object({\n q: z.string().describe(\"Location query including city name, state code and country code separated by commas (e.g., 'London,UK'). Ambiguous queries can return multiple mismatched locations; use the full three-part format 'city,state_code,country_code' (e.g., 'Springfield,IL,US') and verify the returned country/region before using coordinates downstream.\"),\n limit: z.number().int().default(5).describe(\"Number of results to return (1 to 5). Defaults to 5. Use 1 only for unambiguous locations; for ambiguous queries review all returned results to select the correct match.\").optional(),\n}).describe(\"Request parameters for direct geocoding: location name to coordinates.\");\nexport const OpenweatherApiGetGeocodingDirectOutput = z.unknown();\n\nexport const openweatherApiGetGeocodingDirect = action(\"OPENWEATHER_API_GET_GEOCODING_DIRECT\", {\n slug: \"openweather_api-get-geocoding-direct\",\n name: \"Get Direct Geocoding\",\n description: \"Tool to convert a location name into geographic coordinates. Use when you need latitude and longitude for a given location after confirming the precise name.\",\n input: OpenweatherApiGetGeocodingDirectInput,\n output: OpenweatherApiGetGeocodingDirectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4UAA4U;CACnW,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;AACpO,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,yCAAyCA,IAAAA,EAAE,QAAQ;AAEhE,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-geocoding-direct.cjs","names":["z","action"],"sources":["../../src/actions/get-geocoding-direct.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiGetGeocodingDirectInput = z.object({\n q: z.string().describe(\"Location query including city name, state code and country code separated by commas (e.g., 'London,UK'). Ambiguous queries can return multiple mismatched locations; use the full three-part format 'city,state_code,country_code' (e.g., 'Springfield,IL,US') and verify the returned country/region before using coordinates downstream.\"),\n limit: z.number().int().default(5).describe(\"Number of results to return (1 to 5). Defaults to 5. Use 1 only for unambiguous locations; for ambiguous queries review all returned results to select the correct match.\").optional(),\n}).describe(\"Request parameters for direct geocoding: location name to coordinates.\");\nexport const OpenweatherApiGetGeocodingDirectOutput = z.unknown();\n\nexport const openweatherApiGetGeocodingDirect: AppAction<\n typeof OpenweatherApiGetGeocodingDirectInput,\n typeof OpenweatherApiGetGeocodingDirectOutput,\n typeof openweatherApi.credential\n> = 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":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4UAA4U;CACnW,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;AACpO,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,yCAAyCA,IAAAA,EAAE,QAAQ;AAEhE,MAAa,mCAITC,eAAAA,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-geocoding-direct.d.ts
@@ -6,10 +8,7 @@ declare const OpenweatherApiGetGeocodingDirectInput: z.ZodObject<{
6
8
  limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
7
9
  }, z.core.$strip>;
8
10
  declare const OpenweatherApiGetGeocodingDirectOutput: z.ZodUnknown;
9
- declare const openweatherApiGetGeocodingDirect: import("@keystrokehq/action").WorkflowActionDefinition<{
10
- q: string;
11
- limit?: number | undefined;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
11
+ declare const openweatherApiGetGeocodingDirect: AppAction<typeof OpenweatherApiGetGeocodingDirectInput, typeof OpenweatherApiGetGeocodingDirectOutput, typeof openweatherApi.credential>;
13
12
  //#endregion
14
13
  export { openweatherApiGetGeocodingDirect };
15
14
  //# sourceMappingURL=get-geocoding-direct.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-geocoding-direct.d.cts","names":[],"sources":["../../src/actions/get-geocoding-direct.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,UAAc;AAAA,cAEpD,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"get-geocoding-direct.d.cts","names":[],"sources":["../../src/actions/get-geocoding-direct.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,UAAc;AAAA,cAEpD,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-geocoding-direct.d.ts
@@ -6,10 +8,7 @@ declare const OpenweatherApiGetGeocodingDirectInput: z.ZodObject<{
6
8
  limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
7
9
  }, z.core.$strip>;
8
10
  declare const OpenweatherApiGetGeocodingDirectOutput: z.ZodUnknown;
9
- declare const openweatherApiGetGeocodingDirect: import("@keystrokehq/action").WorkflowActionDefinition<{
10
- q: string;
11
- limit?: number | undefined;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
11
+ declare const openweatherApiGetGeocodingDirect: AppAction<typeof OpenweatherApiGetGeocodingDirectInput, typeof OpenweatherApiGetGeocodingDirectOutput, typeof openweatherApi.credential>;
13
12
  //#endregion
14
13
  export { openweatherApiGetGeocodingDirect };
15
14
  //# sourceMappingURL=get-geocoding-direct.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-geocoding-direct.d.mts","names":[],"sources":["../../src/actions/get-geocoding-direct.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,UAAc;AAAA,cAEpD,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"get-geocoding-direct.d.mts","names":[],"sources":["../../src/actions/get-geocoding-direct.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,UAAc;AAAA,cAEpD,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const openweatherApiGetGeocodingDirect = action("OPENWEATHER_API_GET_GEOCODING_DIRECT", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-geocoding-direct.mjs","names":[],"sources":["../../src/actions/get-geocoding-direct.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingDirectInput = z.object({\n q: z.string().describe(\"Location query including city name, state code and country code separated by commas (e.g., 'London,UK'). Ambiguous queries can return multiple mismatched locations; use the full three-part format 'city,state_code,country_code' (e.g., 'Springfield,IL,US') and verify the returned country/region before using coordinates downstream.\"),\n limit: z.number().int().default(5).describe(\"Number of results to return (1 to 5). Defaults to 5. Use 1 only for unambiguous locations; for ambiguous queries review all returned results to select the correct match.\").optional(),\n}).describe(\"Request parameters for direct geocoding: location name to coordinates.\");\nexport const OpenweatherApiGetGeocodingDirectOutput = z.unknown();\n\nexport const openweatherApiGetGeocodingDirect = action(\"OPENWEATHER_API_GET_GEOCODING_DIRECT\", {\n slug: \"openweather_api-get-geocoding-direct\",\n name: \"Get Direct Geocoding\",\n description: \"Tool to convert a location name into geographic coordinates. Use when you need latitude and longitude for a given location after confirming the precise name.\",\n input: OpenweatherApiGetGeocodingDirectInput,\n output: OpenweatherApiGetGeocodingDirectOutput,\n});\n"],"mappings":";;AAUA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVmD,EAAE,OAAO;EAC5D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,4UAA4U;EACnW,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CACpO,CAAC,CAAC,CAAC,SAAS,wEAOH;CACP,QAPoD,EAAE,QAO9C;AACV,CAAC"}
1
+ {"version":3,"file":"get-geocoding-direct.mjs","names":[],"sources":["../../src/actions/get-geocoding-direct.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiGetGeocodingDirectInput = z.object({\n q: z.string().describe(\"Location query including city name, state code and country code separated by commas (e.g., 'London,UK'). Ambiguous queries can return multiple mismatched locations; use the full three-part format 'city,state_code,country_code' (e.g., 'Springfield,IL,US') and verify the returned country/region before using coordinates downstream.\"),\n limit: z.number().int().default(5).describe(\"Number of results to return (1 to 5). Defaults to 5. Use 1 only for unambiguous locations; for ambiguous queries review all returned results to select the correct match.\").optional(),\n}).describe(\"Request parameters for direct geocoding: location name to coordinates.\");\nexport const OpenweatherApiGetGeocodingDirectOutput = z.unknown();\n\nexport const openweatherApiGetGeocodingDirect: AppAction<\n typeof OpenweatherApiGetGeocodingDirectInput,\n typeof OpenweatherApiGetGeocodingDirectOutput,\n typeof openweatherApi.credential\n> = 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":";;;AAYA,MAAa,mCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdmD,EAAE,OAAO;EAC5D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,4UAA4U;EACnW,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CACpO,CAAC,CAAC,CAAC,SAAS,wEAWH;CACP,QAXoD,EAAE,QAW9C;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-geocoding-reverse.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-geocoding-reverse.cjs","names":["z","action"],"sources":["../../src/actions/get-geocoding-reverse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingReverseInput = z.object({\n lat: z.number().describe(\"Latitude of the location in decimal degrees\"),\n lon: z.number().describe(\"Longitude of the location in decimal degrees\"),\n limit: z.number().int().describe(\"Number of results to return (1 to 5)\").optional(),\n}).describe(\"Request parameters for reverse geocoding to convert geographic coordinates into location names.\");\nexport const OpenweatherApiGetGeocodingReverseOutput = z.unknown();\n\nexport const openweatherApiGetGeocodingReverse = action(\"OPENWEATHER_API_GET_GEOCODING_REVERSE\", {\n slug: \"openweather_api-get-geocoding-reverse\",\n name: \"Get Reverse Geocoding\",\n description: \"Tool to convert geographic coordinates into a location name. Use when you need city, state, and country info from latitude and longitude.\",\n input: OpenweatherApiGetGeocodingReverseInput,\n output: OpenweatherApiGetGeocodingReverseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACtE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,iGAAiG;AAC7G,MAAa,0CAA0CA,IAAAA,EAAE,QAAQ;AAEjE,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-geocoding-reverse.cjs","names":["z","action"],"sources":["../../src/actions/get-geocoding-reverse.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiGetGeocodingReverseInput = z.object({\n lat: z.number().describe(\"Latitude of the location in decimal degrees\"),\n lon: z.number().describe(\"Longitude of the location in decimal degrees\"),\n limit: z.number().int().describe(\"Number of results to return (1 to 5)\").optional(),\n}).describe(\"Request parameters for reverse geocoding to convert geographic coordinates into location names.\");\nexport const OpenweatherApiGetGeocodingReverseOutput = z.unknown();\n\nexport const openweatherApiGetGeocodingReverse: AppAction<\n typeof OpenweatherApiGetGeocodingReverseInput,\n typeof OpenweatherApiGetGeocodingReverseOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_GEOCODING_REVERSE\", {\n slug: \"openweather_api-get-geocoding-reverse\",\n name: \"Get Reverse Geocoding\",\n description: \"Tool to convert geographic coordinates into a location name. Use when you need city, state, and country info from latitude and longitude.\",\n input: OpenweatherApiGetGeocodingReverseInput,\n output: OpenweatherApiGetGeocodingReverseOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACtE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,iGAAiG;AAC7G,MAAa,0CAA0CA,IAAAA,EAAE,QAAQ;AAEjE,MAAa,oCAITC,eAAAA,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-geocoding-reverse.d.ts
@@ -7,11 +9,7 @@ declare const OpenweatherApiGetGeocodingReverseInput: z.ZodObject<{
7
9
  limit: z.ZodOptional<z.ZodNumber>;
8
10
  }, z.core.$strip>;
9
11
  declare const OpenweatherApiGetGeocodingReverseOutput: z.ZodUnknown;
10
- declare const openweatherApiGetGeocodingReverse: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- lat: number;
12
- lon: number;
13
- limit?: number | undefined;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const openweatherApiGetGeocodingReverse: AppAction<typeof OpenweatherApiGetGeocodingReverseInput, typeof OpenweatherApiGetGeocodingReverseOutput, typeof openweatherApi.credential>;
15
13
  //#endregion
16
14
  export { openweatherApiGetGeocodingReverse };
17
15
  //# sourceMappingURL=get-geocoding-reverse.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-geocoding-reverse.d.cts","names":[],"sources":["../../src/actions/get-geocoding-reverse.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAKtC,uCAAA,EAAuC,CAAA,CAAA,UAAc;AAAA,cAErD,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"get-geocoding-reverse.d.cts","names":[],"sources":["../../src/actions/get-geocoding-reverse.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAKtC,uCAAA,EAAuC,CAAA,CAAA,UAAc;AAAA,cAErD,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-geocoding-reverse.d.ts
@@ -7,11 +9,7 @@ declare const OpenweatherApiGetGeocodingReverseInput: z.ZodObject<{
7
9
  limit: z.ZodOptional<z.ZodNumber>;
8
10
  }, z.core.$strip>;
9
11
  declare const OpenweatherApiGetGeocodingReverseOutput: z.ZodUnknown;
10
- declare const openweatherApiGetGeocodingReverse: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- lat: number;
12
- lon: number;
13
- limit?: number | undefined;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const openweatherApiGetGeocodingReverse: AppAction<typeof OpenweatherApiGetGeocodingReverseInput, typeof OpenweatherApiGetGeocodingReverseOutput, typeof openweatherApi.credential>;
15
13
  //#endregion
16
14
  export { openweatherApiGetGeocodingReverse };
17
15
  //# sourceMappingURL=get-geocoding-reverse.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-geocoding-reverse.d.mts","names":[],"sources":["../../src/actions/get-geocoding-reverse.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAKtC,uCAAA,EAAuC,CAAA,CAAA,UAAc;AAAA,cAErD,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"get-geocoding-reverse.d.mts","names":[],"sources":["../../src/actions/get-geocoding-reverse.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAKtC,uCAAA,EAAuC,CAAA,CAAA,UAAc;AAAA,cAErD,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const openweatherApiGetGeocodingReverse = action("OPENWEATHER_API_GET_GEOCODING_REVERSE", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-geocoding-reverse.mjs","names":[],"sources":["../../src/actions/get-geocoding-reverse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingReverseInput = z.object({\n lat: z.number().describe(\"Latitude of the location in decimal degrees\"),\n lon: z.number().describe(\"Longitude of the location in decimal degrees\"),\n limit: z.number().int().describe(\"Number of results to return (1 to 5)\").optional(),\n}).describe(\"Request parameters for reverse geocoding to convert geographic coordinates into location names.\");\nexport const OpenweatherApiGetGeocodingReverseOutput = z.unknown();\n\nexport const openweatherApiGetGeocodingReverse = action(\"OPENWEATHER_API_GET_GEOCODING_REVERSE\", {\n slug: \"openweather_api-get-geocoding-reverse\",\n name: \"Get Reverse Geocoding\",\n description: \"Tool to convert geographic coordinates into a location name. Use when you need city, state, and country info from latitude and longitude.\",\n input: OpenweatherApiGetGeocodingReverseInput,\n output: OpenweatherApiGetGeocodingReverseOutput,\n});\n"],"mappings":";;AAWA,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXoD,EAAE,OAAO;EAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,SAAS,iGAOH;CACP,QAPqD,EAAE,QAO/C;AACV,CAAC"}
1
+ {"version":3,"file":"get-geocoding-reverse.mjs","names":[],"sources":["../../src/actions/get-geocoding-reverse.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiGetGeocodingReverseInput = z.object({\n lat: z.number().describe(\"Latitude of the location in decimal degrees\"),\n lon: z.number().describe(\"Longitude of the location in decimal degrees\"),\n limit: z.number().int().describe(\"Number of results to return (1 to 5)\").optional(),\n}).describe(\"Request parameters for reverse geocoding to convert geographic coordinates into location names.\");\nexport const OpenweatherApiGetGeocodingReverseOutput = z.unknown();\n\nexport const openweatherApiGetGeocodingReverse: AppAction<\n typeof OpenweatherApiGetGeocodingReverseInput,\n typeof OpenweatherApiGetGeocodingReverseOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_GEOCODING_REVERSE\", {\n slug: \"openweather_api-get-geocoding-reverse\",\n name: \"Get Reverse Geocoding\",\n description: \"Tool to convert geographic coordinates into a location name. Use when you need city, state, and country info from latitude and longitude.\",\n input: OpenweatherApiGetGeocodingReverseInput,\n output: OpenweatherApiGetGeocodingReverseOutput,\n});\n"],"mappings":";;;AAaA,MAAa,oCAIT,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfoD,EAAE,OAAO;EAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,SAAS,iGAWH;CACP,QAXqD,EAAE,QAW/C;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-station-measurements.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-station-measurements.cjs","names":["z","action"],"sources":["../../src/actions/get-station-measurements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetStationMeasurementsInput = z.object({\n to: z.number().int().describe(\"End of time interval (Unix timestamp in seconds)\"),\n from: z.number().int().describe(\"Start of time interval (Unix timestamp in seconds)\"),\n type: z.enum([\"m\", \"h\", \"d\"]).describe(\"Aggregation type: m (minute), h (hour), or d (day)\"),\n limit: z.number().int().describe(\"Maximum number of measurement records to return\"),\n station_id: z.string().describe(\"Internal station ID from OpenWeather\"),\n}).describe(\"Request parameters to retrieve aggregated measurements from a weather station.\");\nconst OpenweatherApiGetStationMeasurements_MeasurementSchema = z.object({\n dt: z.number().int().describe(\"Measurement timestamp (Unix)\").nullable().optional(),\n temp: z.record(z.string(), z.unknown()).describe(\"Temperature measurements with min/max/avg\").nullable().optional(),\n type: z.string().describe(\"Aggregation type (m, h, or d)\").nullable().optional(),\n wind: z.record(z.string(), z.unknown()).describe(\"Wind measurements including speed and direction\").nullable().optional(),\n humidity: z.record(z.string(), z.unknown()).describe(\"Humidity measurements with min/max/avg\").nullable().optional(),\n pressure: z.record(z.string(), z.unknown()).describe(\"Pressure measurements with min/max/avg\").nullable().optional(),\n station_id: z.string().describe(\"Station identifier\").nullable().optional(),\n precipitation: z.record(z.string(), z.unknown()).describe(\"Precipitation data including rain and snow\").nullable().optional(),\n}).passthrough().describe(\"Aggregated measurement record.\");\nexport const OpenweatherApiGetStationMeasurementsOutput = z.object({\n measurements: z.array(OpenweatherApiGetStationMeasurements_MeasurementSchema).describe(\"List of aggregated measurement records\").nullable().optional(),\n}).passthrough().describe(\"Response containing aggregated measurements from a weather station.\");\n\nexport const openweatherApiGetStationMeasurements = action(\"OPENWEATHER_API_GET_STATION_MEASUREMENTS\", {\n slug: \"openweather_api-get-station-measurements\",\n name: \"Get Station Measurements\",\n description: \"Tool to retrieve aggregated measurements from a weather station with minute, hour, or day granularity. Use when you need historical weather data from a specific registered station.\",\n input: OpenweatherApiGetStationMeasurementsInput,\n output: OpenweatherApiGetStationMeasurementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACpF,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,oDAAoD;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAClF,YAAYA,IA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;AAC1D,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,cAAcA,IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,uCAAuCC,eAAAA,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-station-measurements.cjs","names":["z","action"],"sources":["../../src/actions/get-station-measurements.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiGetStationMeasurementsInput = z.object({\n to: z.number().int().describe(\"End of time interval (Unix timestamp in seconds)\"),\n from: z.number().int().describe(\"Start of time interval (Unix timestamp in seconds)\"),\n type: z.enum([\"m\", \"h\", \"d\"]).describe(\"Aggregation type: m (minute), h (hour), or d (day)\"),\n limit: z.number().int().describe(\"Maximum number of measurement records to return\"),\n station_id: z.string().describe(\"Internal station ID from OpenWeather\"),\n}).describe(\"Request parameters to retrieve aggregated measurements from a weather station.\");\nconst OpenweatherApiGetStationMeasurements_MeasurementSchema = z.object({\n dt: z.number().int().describe(\"Measurement timestamp (Unix)\").nullable().optional(),\n temp: z.record(z.string(), z.unknown()).describe(\"Temperature measurements with min/max/avg\").nullable().optional(),\n type: z.string().describe(\"Aggregation type (m, h, or d)\").nullable().optional(),\n wind: z.record(z.string(), z.unknown()).describe(\"Wind measurements including speed and direction\").nullable().optional(),\n humidity: z.record(z.string(), z.unknown()).describe(\"Humidity measurements with min/max/avg\").nullable().optional(),\n pressure: z.record(z.string(), z.unknown()).describe(\"Pressure measurements with min/max/avg\").nullable().optional(),\n station_id: z.string().describe(\"Station identifier\").nullable().optional(),\n precipitation: z.record(z.string(), z.unknown()).describe(\"Precipitation data including rain and snow\").nullable().optional(),\n}).passthrough().describe(\"Aggregated measurement record.\");\nexport const OpenweatherApiGetStationMeasurementsOutput = z.object({\n measurements: z.array(OpenweatherApiGetStationMeasurements_MeasurementSchema).describe(\"List of aggregated measurement records\").nullable().optional(),\n}).passthrough().describe(\"Response containing aggregated measurements from a weather station.\");\n\nexport const openweatherApiGetStationMeasurements: AppAction<\n typeof OpenweatherApiGetStationMeasurementsInput,\n typeof OpenweatherApiGetStationMeasurementsOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_STATION_MEASUREMENTS\", {\n slug: \"openweather_api-get-station-measurements\",\n name: \"Get Station Measurements\",\n description: \"Tool to retrieve aggregated measurements from a weather station with minute, hour, or day granularity. Use when you need historical weather data from a specific registered station.\",\n input: OpenweatherApiGetStationMeasurementsInput,\n output: OpenweatherApiGetStationMeasurementsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACpF,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,oDAAoD;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AACxE,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAOA,IAAA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AAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-station-measurements.d.ts
@@ -5,9 +7,9 @@ declare const OpenweatherApiGetStationMeasurementsInput: z.ZodObject<{
5
7
  to: z.ZodNumber;
6
8
  from: z.ZodNumber;
7
9
  type: z.ZodEnum<{
8
- d: "d";
9
10
  m: "m";
10
11
  h: "h";
12
+ d: "d";
11
13
  }>;
12
14
  limit: z.ZodNumber;
13
15
  station_id: z.ZodString;
@@ -24,13 +26,7 @@ declare const OpenweatherApiGetStationMeasurementsOutput: z.ZodObject<{
24
26
  precipitation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
27
  }, z.core.$loose>>>>;
26
28
  }, z.core.$loose>;
27
- declare const openweatherApiGetStationMeasurements: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- to: number;
29
- from: number;
30
- type: "d" | "m" | "h";
31
- limit: number;
32
- station_id: string;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ declare const openweatherApiGetStationMeasurements: AppAction<typeof OpenweatherApiGetStationMeasurementsInput, typeof OpenweatherApiGetStationMeasurementsOutput, typeof openweatherApi.credential>;
34
30
  //#endregion
35
31
  export { openweatherApiGetStationMeasurements };
36
32
  //# sourceMappingURL=get-station-measurements.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-station-measurements.d.cts","names":[],"sources":["../../src/actions/get-station-measurements.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;cAiBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI1C,oCAAA,gCAAoC,wBAAA"}
1
+ {"version":3,"file":"get-station-measurements.d.cts","names":[],"sources":["../../src/actions/get-station-measurements.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;cAiBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-station-measurements.d.ts
@@ -5,9 +7,9 @@ declare const OpenweatherApiGetStationMeasurementsInput: z.ZodObject<{
5
7
  to: z.ZodNumber;
6
8
  from: z.ZodNumber;
7
9
  type: z.ZodEnum<{
8
- d: "d";
9
10
  m: "m";
10
11
  h: "h";
12
+ d: "d";
11
13
  }>;
12
14
  limit: z.ZodNumber;
13
15
  station_id: z.ZodString;
@@ -24,13 +26,7 @@ declare const OpenweatherApiGetStationMeasurementsOutput: z.ZodObject<{
24
26
  precipitation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
27
  }, z.core.$loose>>>>;
26
28
  }, z.core.$loose>;
27
- declare const openweatherApiGetStationMeasurements: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- to: number;
29
- from: number;
30
- type: "d" | "m" | "h";
31
- limit: number;
32
- station_id: string;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ declare const openweatherApiGetStationMeasurements: AppAction<typeof OpenweatherApiGetStationMeasurementsInput, typeof OpenweatherApiGetStationMeasurementsOutput, typeof openweatherApi.credential>;
34
30
  //#endregion
35
31
  export { openweatherApiGetStationMeasurements };
36
32
  //# sourceMappingURL=get-station-measurements.d.mts.map