@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":"action.cjs","names":["openweatherApi","executeOpenweatherApiTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { openweatherApi } from \"./app\";\nimport { executeOpenweatherApiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return openweatherApi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeOpenweatherApiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["openweatherApi","executeOpenweatherApiTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { openweatherApi } from \"./app\";\nimport { executeOpenweatherApiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof openweatherApi.credential> {\n return openweatherApi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeOpenweatherApiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO8D;CAC9D,OAAOA,YAAAA,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { openweatherApi } from \"./app\";\nimport { executeOpenweatherApiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return openweatherApi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeOpenweatherApiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { openweatherApi } from \"./app\";\nimport { executeOpenweatherApiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof openweatherApi.credential> {\n return openweatherApi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeOpenweatherApiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO8D;CAC9D,OAAO,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
@@ -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/delete-weather-station.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-weather-station.cjs","names":["z","action"],"sources":["../../src/actions/delete-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiDeleteWeatherStationInput = z.object({\n station_id: z.string().describe(\"The unique ID of the weather station to delete.\"),\n}).describe(\"Path parameter for deleting a weather station.\");\nexport const OpenweatherApiDeleteWeatherStationOutput = z.object({\n message: z.string().describe(\"Confirmation message of successful deletion.\").nullable(),\n}).passthrough().describe(\"Response schema for deleting a weather station.\");\n\nexport const openweatherApiDeleteWeatherStation = action(\"OPENWEATHER_API_DELETE_WEATHER_STATION\", {\n slug: \"openweather_api-delete-weather-station\",\n name: \"Delete Weather Station\",\n description: \"Tool to delete a registered weather station. Use after identifying a station to remove. Returns confirmation message upon success.\",\n input: OpenweatherApiDeleteWeatherStationInput,\n output: OpenweatherApiDeleteWeatherStationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EACnF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-weather-station.cjs","names":["z","action"],"sources":["../../src/actions/delete-weather-station.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 OpenweatherApiDeleteWeatherStationInput = z.object({\n station_id: z.string().describe(\"The unique ID of the weather station to delete.\"),\n}).describe(\"Path parameter for deleting a weather station.\");\nexport const OpenweatherApiDeleteWeatherStationOutput = z.object({\n message: z.string().describe(\"Confirmation message of successful deletion.\").nullable(),\n}).passthrough().describe(\"Response schema for deleting a weather station.\");\n\nexport const openweatherApiDeleteWeatherStation: AppAction<\n typeof OpenweatherApiDeleteWeatherStationInput,\n typeof OpenweatherApiDeleteWeatherStationOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_DELETE_WEATHER_STATION\", {\n slug: \"openweather_api-delete-weather-station\",\n name: \"Delete Weather Station\",\n description: \"Tool to delete a registered weather station. Use after identifying a station to remove. Returns confirmation message upon success.\",\n input: OpenweatherApiDeleteWeatherStationInput,\n output: OpenweatherApiDeleteWeatherStationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EACnF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,qCAITC,eAAAA,OAAO,0CAA0C;CACnD,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/delete-weather-station.d.ts
@@ -7,9 +9,7 @@ declare const OpenweatherApiDeleteWeatherStationInput: z.ZodObject<{
7
9
  declare const OpenweatherApiDeleteWeatherStationOutput: z.ZodObject<{
8
10
  message: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>;
10
- declare const openweatherApiDeleteWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- station_id: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const openweatherApiDeleteWeatherStation: AppAction<typeof OpenweatherApiDeleteWeatherStationInput, typeof OpenweatherApiDeleteWeatherStationOutput, typeof openweatherApi.credential>;
13
13
  //#endregion
14
14
  export { openweatherApiDeleteWeatherStation };
15
15
  //# sourceMappingURL=delete-weather-station.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-weather-station.d.cts","names":[],"sources":["../../src/actions/delete-weather-station.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAGvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;cAIxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"delete-weather-station.d.cts","names":[],"sources":["../../src/actions/delete-weather-station.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAGvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;cAIxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,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/delete-weather-station.d.ts
@@ -7,9 +9,7 @@ declare const OpenweatherApiDeleteWeatherStationInput: z.ZodObject<{
7
9
  declare const OpenweatherApiDeleteWeatherStationOutput: z.ZodObject<{
8
10
  message: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>;
10
- declare const openweatherApiDeleteWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- station_id: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const openweatherApiDeleteWeatherStation: AppAction<typeof OpenweatherApiDeleteWeatherStationInput, typeof OpenweatherApiDeleteWeatherStationOutput, typeof openweatherApi.credential>;
13
13
  //#endregion
14
14
  export { openweatherApiDeleteWeatherStation };
15
15
  //# sourceMappingURL=delete-weather-station.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-weather-station.d.mts","names":[],"sources":["../../src/actions/delete-weather-station.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAGvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;cAIxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"delete-weather-station.d.mts","names":[],"sources":["../../src/actions/delete-weather-station.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAGvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;cAIxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,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 openweatherApiDeleteWeatherStation = action("OPENWEATHER_API_DELETE_WEATHER_STATION", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-weather-station.mjs","names":[],"sources":["../../src/actions/delete-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiDeleteWeatherStationInput = z.object({\n station_id: z.string().describe(\"The unique ID of the weather station to delete.\"),\n}).describe(\"Path parameter for deleting a weather station.\");\nexport const OpenweatherApiDeleteWeatherStationOutput = z.object({\n message: z.string().describe(\"Confirmation message of successful deletion.\").nullable(),\n}).passthrough().describe(\"Response schema for deleting a weather station.\");\n\nexport const openweatherApiDeleteWeatherStation = action(\"OPENWEATHER_API_DELETE_WEATHER_STATION\", {\n slug: \"openweather_api-delete-weather-station\",\n name: \"Delete Weather Station\",\n description: \"Tool to delete a registered weather station. Use after identifying a station to remove. Returns confirmation message upon success.\",\n input: OpenweatherApiDeleteWeatherStationInput,\n output: OpenweatherApiDeleteWeatherStationOutput,\n});\n"],"mappings":";;AAWA,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXqD,EAAE,OAAO,EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EACnF,CAAC,CAAC,CAAC,SAAS,gDASH;CACP,QATsD,EAAE,OAAO,EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-weather-station.mjs","names":[],"sources":["../../src/actions/delete-weather-station.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 OpenweatherApiDeleteWeatherStationInput = z.object({\n station_id: z.string().describe(\"The unique ID of the weather station to delete.\"),\n}).describe(\"Path parameter for deleting a weather station.\");\nexport const OpenweatherApiDeleteWeatherStationOutput = z.object({\n message: z.string().describe(\"Confirmation message of successful deletion.\").nullable(),\n}).passthrough().describe(\"Response schema for deleting a weather station.\");\n\nexport const openweatherApiDeleteWeatherStation: AppAction<\n typeof OpenweatherApiDeleteWeatherStationInput,\n typeof OpenweatherApiDeleteWeatherStationOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_DELETE_WEATHER_STATION\", {\n slug: \"openweather_api-delete-weather-station\",\n name: \"Delete Weather Station\",\n description: \"Tool to delete a registered weather station. Use after identifying a station to remove. Returns confirmation message upon success.\",\n input: OpenweatherApiDeleteWeatherStationInput,\n output: OpenweatherApiDeleteWeatherStationOutput,\n});\n"],"mappings":";;;AAaA,MAAa,qCAIT,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfqD,EAAE,OAAO,EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EACnF,CAAC,CAAC,CAAC,SAAS,gDAaH;CACP,QAbsD,EAAE,OAAO,EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;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-air-pollution-current.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-air-pollution-current.cjs","names":["z","action"],"sources":["../../src/actions/get-air-pollution-current.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetAirPollutionCurrentInput = z.object({\n lat: z.number().describe(\"Latitude of the location, between -90 and 90\"),\n lon: z.number().describe(\"Longitude of the location, between -180 and 180\"),\n});\nconst OpenweatherApiGetAirPollutionCurrent_MainSchema = z.object({\n aqi: z.number().int().describe(\"Air Quality Index (1=Good, 5=Very Poor)\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionCurrent_ComponentsSchema = z.object({\n co: z.number().describe(\"CO concentration, μg/m3\").nullable(),\n no: z.number().describe(\"Nitric oxide concentration, μg/m3\").nullable(),\n o3: z.number().describe(\"Ozone concentration, μg/m3\").nullable(),\n nh3: z.number().describe(\"Ammonia concentration, μg/m3\").nullable(),\n no2: z.number().describe(\"Nitrogen dioxide concentration, μg/m3\").nullable(),\n so2: z.number().describe(\"Sulphur dioxide concentration, μg/m3\").nullable(),\n pm10: z.number().describe(\"Particulate matter <10 μm, μg/m3\").nullable(),\n pm2_5: z.number().describe(\"Particulate matter <2.5 μm, μg/m3\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionCurrent_DataPointSchema = z.object({\n dt: z.number().int().describe(\"Time of data calculation, UNIX UTC timestamp\").nullable(),\n main: OpenweatherApiGetAirPollutionCurrent_MainSchema.nullable(),\n components: OpenweatherApiGetAirPollutionCurrent_ComponentsSchema.nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionCurrent_CoordSchema = z.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lon: z.number().describe(\"Longitude of the location\").nullable(),\n}).passthrough();\nexport const OpenweatherApiGetAirPollutionCurrentOutput = z.object({\n list: z.array(OpenweatherApiGetAirPollutionCurrent_DataPointSchema).describe(\"Array of air quality measurements\"),\n coord: OpenweatherApiGetAirPollutionCurrent_CoordSchema.nullable(),\n}).passthrough();\n\nexport const openweatherApiGetAirPollutionCurrent = action(\"OPENWEATHER_API_GET_AIR_POLLUTION_CURRENT\", {\n slug: \"openweather_api-get-air-pollution-current\",\n name: \"Get Current Air Pollution Data\",\n description: \"Tool to fetch current air pollution data for a location. Use when you need real-time air quality details by latitude and longitude.\",\n input: OpenweatherApiGetAirPollutionCurrentInput,\n output: OpenweatherApiGetAirPollutionCurrentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AAC5E,CAAC;AACD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4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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 OpenweatherApiGetAirPollutionCurrentInput = z.object({\n lat: z.number().describe(\"Latitude of the location, between -90 and 90\"),\n lon: z.number().describe(\"Longitude of the location, between -180 and 180\"),\n});\nconst OpenweatherApiGetAirPollutionCurrent_MainSchema = z.object({\n aqi: z.number().int().describe(\"Air Quality Index (1=Good, 5=Very Poor)\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionCurrent_ComponentsSchema = z.object({\n co: z.number().describe(\"CO concentration, μg/m3\").nullable(),\n no: z.number().describe(\"Nitric oxide concentration, μg/m3\").nullable(),\n o3: z.number().describe(\"Ozone concentration, μg/m3\").nullable(),\n nh3: z.number().describe(\"Ammonia concentration, μg/m3\").nullable(),\n no2: z.number().describe(\"Nitrogen dioxide concentration, μg/m3\").nullable(),\n so2: z.number().describe(\"Sulphur dioxide concentration, μg/m3\").nullable(),\n pm10: z.number().describe(\"Particulate matter <10 μm, μg/m3\").nullable(),\n pm2_5: z.number().describe(\"Particulate matter <2.5 μm, μg/m3\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionCurrent_DataPointSchema = z.object({\n dt: z.number().int().describe(\"Time of data calculation, UNIX UTC timestamp\").nullable(),\n main: OpenweatherApiGetAirPollutionCurrent_MainSchema.nullable(),\n components: OpenweatherApiGetAirPollutionCurrent_ComponentsSchema.nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionCurrent_CoordSchema = z.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lon: z.number().describe(\"Longitude of the location\").nullable(),\n}).passthrough();\nexport const OpenweatherApiGetAirPollutionCurrentOutput = z.object({\n list: z.array(OpenweatherApiGetAirPollutionCurrent_DataPointSchema).describe(\"Array of air quality measurements\"),\n coord: OpenweatherApiGetAirPollutionCurrent_CoordSchema.nullable(),\n}).passthrough();\n\nexport const openweatherApiGetAirPollutionCurrent: AppAction<\n typeof OpenweatherApiGetAirPollutionCurrentInput,\n typeof OpenweatherApiGetAirPollutionCurrentOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_AIR_POLLUTION_CURRENT\", {\n slug: \"openweather_api-get-air-pollution-current\",\n name: \"Get Current Air Pollution Data\",\n description: \"Tool to fetch current air pollution data for a location. Use when you need real-time air quality details by latitude and longitude.\",\n input: OpenweatherApiGetAirPollutionCurrentInput,\n output: OpenweatherApiGetAirPollutionCurrentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AAC5E,CAAC;AACD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,MAAM,gDAAgD,SAAS;CAC/D,YAAY,sDAAsD,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,mCAAmC;CAChH,OAAO,iDAAiD,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uCAITC,eAAAA,OAAO,6CAA6C;CACtD,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-air-pollution-current.d.ts
@@ -27,10 +29,7 @@ declare const OpenweatherApiGetAirPollutionCurrentOutput: z.ZodObject<{
27
29
  lon: z.ZodNullable<z.ZodNumber>;
28
30
  }, z.core.$loose>>;
29
31
  }, z.core.$loose>;
30
- declare const openweatherApiGetAirPollutionCurrent: import("@keystrokehq/action").WorkflowActionDefinition<{
31
- lat: number;
32
- lon: number;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
32
+ declare const openweatherApiGetAirPollutionCurrent: AppAction<typeof OpenweatherApiGetAirPollutionCurrentInput, typeof OpenweatherApiGetAirPollutionCurrentOutput, typeof openweatherApi.credential>;
34
33
  //#endregion
35
34
  export { openweatherApiGetAirPollutionCurrent };
36
35
  //# sourceMappingURL=get-air-pollution-current.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-air-pollution-current.d.cts","names":[],"sources":["../../src/actions/get-air-pollution-current.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cA0BzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAK1C,oCAAA,gCAAoC,wBAAA"}
1
+ {"version":3,"file":"get-air-pollution-current.d.cts","names":[],"sources":["../../src/actions/get-air-pollution-current.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cA0BzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAK1C,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-air-pollution-current.d.ts
@@ -27,10 +29,7 @@ declare const OpenweatherApiGetAirPollutionCurrentOutput: z.ZodObject<{
27
29
  lon: z.ZodNullable<z.ZodNumber>;
28
30
  }, z.core.$loose>>;
29
31
  }, z.core.$loose>;
30
- declare const openweatherApiGetAirPollutionCurrent: import("@keystrokehq/action").WorkflowActionDefinition<{
31
- lat: number;
32
- lon: number;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
32
+ declare const openweatherApiGetAirPollutionCurrent: AppAction<typeof OpenweatherApiGetAirPollutionCurrentInput, typeof OpenweatherApiGetAirPollutionCurrentOutput, typeof openweatherApi.credential>;
34
33
  //#endregion
35
34
  export { openweatherApiGetAirPollutionCurrent };
36
35
  //# sourceMappingURL=get-air-pollution-current.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-air-pollution-current.d.mts","names":[],"sources":["../../src/actions/get-air-pollution-current.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cA0BzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAK1C,oCAAA,gCAAoC,wBAAA"}
1
+ {"version":3,"file":"get-air-pollution-current.d.mts","names":[],"sources":["../../src/actions/get-air-pollution-current.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cA0BzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAK1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,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-air-pollution-current.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-air-pollution-current.mjs","names":[],"sources":["../../src/actions/get-air-pollution-current.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetAirPollutionCurrentInput = z.object({\n lat: z.number().describe(\"Latitude of the location, between -90 and 90\"),\n lon: z.number().describe(\"Longitude of the location, between -180 and 180\"),\n});\nconst OpenweatherApiGetAirPollutionCurrent_MainSchema = z.object({\n aqi: z.number().int().describe(\"Air Quality Index (1=Good, 5=Very Poor)\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionCurrent_ComponentsSchema = z.object({\n co: z.number().describe(\"CO concentration, μg/m3\").nullable(),\n no: z.number().describe(\"Nitric oxide concentration, μg/m3\").nullable(),\n o3: z.number().describe(\"Ozone concentration, μg/m3\").nullable(),\n nh3: z.number().describe(\"Ammonia concentration, μg/m3\").nullable(),\n no2: z.number().describe(\"Nitrogen dioxide concentration, μg/m3\").nullable(),\n so2: z.number().describe(\"Sulphur dioxide concentration, μg/m3\").nullable(),\n pm10: z.number().describe(\"Particulate matter <10 μm, μg/m3\").nullable(),\n pm2_5: z.number().describe(\"Particulate matter <2.5 μm, μg/m3\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionCurrent_DataPointSchema = z.object({\n dt: z.number().int().describe(\"Time of data calculation, UNIX UTC timestamp\").nullable(),\n main: OpenweatherApiGetAirPollutionCurrent_MainSchema.nullable(),\n components: OpenweatherApiGetAirPollutionCurrent_ComponentsSchema.nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionCurrent_CoordSchema = z.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lon: z.number().describe(\"Longitude of the location\").nullable(),\n}).passthrough();\nexport const OpenweatherApiGetAirPollutionCurrentOutput = z.object({\n list: z.array(OpenweatherApiGetAirPollutionCurrent_DataPointSchema).describe(\"Array of air quality measurements\"),\n coord: OpenweatherApiGetAirPollutionCurrent_CoordSchema.nullable(),\n}).passthrough();\n\nexport const openweatherApiGetAirPollutionCurrent = action(\"OPENWEATHER_API_GET_AIR_POLLUTION_CURRENT\", {\n slug: \"openweather_api-get-air-pollution-current\",\n name: \"Get Current Air Pollution Data\",\n description: \"Tool to fetch current air pollution data for a location. Use when you need real-time air quality details by latitude and longitude.\",\n input: OpenweatherApiGetAirPollutionCurrentInput,\n output: OpenweatherApiGetAirPollutionCurrentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;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AAMf,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,MAAM,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,mCAAmC;EAChH,OAAO,iDAAiD,SAAS;CACnE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-air-pollution-current.mjs","names":[],"sources":["../../src/actions/get-air-pollution-current.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 OpenweatherApiGetAirPollutionCurrentInput = z.object({\n lat: z.number().describe(\"Latitude of the location, between -90 and 90\"),\n lon: z.number().describe(\"Longitude of the location, between -180 and 180\"),\n});\nconst OpenweatherApiGetAirPollutionCurrent_MainSchema = z.object({\n aqi: z.number().int().describe(\"Air Quality Index (1=Good, 5=Very Poor)\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionCurrent_ComponentsSchema = z.object({\n co: z.number().describe(\"CO concentration, μg/m3\").nullable(),\n no: z.number().describe(\"Nitric oxide concentration, μg/m3\").nullable(),\n o3: z.number().describe(\"Ozone concentration, μg/m3\").nullable(),\n nh3: z.number().describe(\"Ammonia concentration, μg/m3\").nullable(),\n no2: z.number().describe(\"Nitrogen dioxide concentration, μg/m3\").nullable(),\n so2: z.number().describe(\"Sulphur dioxide concentration, μg/m3\").nullable(),\n pm10: z.number().describe(\"Particulate matter <10 μm, μg/m3\").nullable(),\n pm2_5: z.number().describe(\"Particulate matter <2.5 μm, μg/m3\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionCurrent_DataPointSchema = z.object({\n dt: z.number().int().describe(\"Time of data calculation, UNIX UTC timestamp\").nullable(),\n main: OpenweatherApiGetAirPollutionCurrent_MainSchema.nullable(),\n components: OpenweatherApiGetAirPollutionCurrent_ComponentsSchema.nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionCurrent_CoordSchema = z.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lon: z.number().describe(\"Longitude of the location\").nullable(),\n}).passthrough();\nexport const OpenweatherApiGetAirPollutionCurrentOutput = z.object({\n list: z.array(OpenweatherApiGetAirPollutionCurrent_DataPointSchema).describe(\"Array of air quality measurements\"),\n coord: OpenweatherApiGetAirPollutionCurrent_CoordSchema.nullable(),\n}).passthrough();\n\nexport const openweatherApiGetAirPollutionCurrent: AppAction<\n typeof OpenweatherApiGetAirPollutionCurrentInput,\n typeof OpenweatherApiGetAirPollutionCurrentOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_AIR_POLLUTION_CURRENT\", {\n slug: \"openweather_api-get-air-pollution-current\",\n name: \"Get Current Air Pollution Data\",\n description: \"Tool to fetch current air pollution data for a location. Use when you need real-time air quality details by latitude and longitude.\",\n input: OpenweatherApiGetAirPollutionCurrentInput,\n output: OpenweatherApiGetAirPollutionCurrentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4C,EAAE,OAAO;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AAC5E,CAAC;AACD,MAAM,kDAAkD,EAAE,OAAO,EAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,wDAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,uDAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,MAAM,gDAAgD,SAAS;CAC/D,YAAY,sDAAsD,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,mDAAmD,EAAE,OAAO;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,uCAIT,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdwD,EAAE,OAAO;EACjE,MAAM,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,mCAAmC;EAChH,OAAO,iDAAiD,SAAS;CACnE,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-air-pollution-forecast.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-air-pollution-forecast.cjs","names":["z","action"],"sources":["../../src/actions/get-air-pollution-forecast.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetAirPollutionForecastInput = z.object({\n lat: z.number().describe(\"Geographical latitude in decimal degrees (range -90 to 90)\"),\n lon: z.number().describe(\"Geographical longitude in decimal degrees (range -180 to 180)\"),\n});\nconst OpenweatherApiGetAirPollutionForecast_MainSchema = z.object({\n aqi: z.number().int().describe(\"Air Quality Index (1=good, 5=very poor)\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionForecast_ComponentsSchema = z.object({\n co: z.number().describe(\"Carbon monoxide concentration (μg/m3)\").nullable(),\n no: z.number().describe(\"Nitrogen monoxide concentration (μg/m3)\").nullable(),\n o3: z.number().describe(\"Ozone concentration (μg/m3)\").nullable(),\n nh3: z.number().describe(\"Ammonia concentration (μg/m3)\").nullable(),\n no2: z.number().describe(\"Nitrogen dioxide concentration (μg/m3)\").nullable(),\n so2: z.number().describe(\"Sulphur dioxide concentration (μg/m3)\").nullable(),\n pm10: z.number().describe(\"Coarse particulate matter (μg/m3)\").nullable(),\n pm2_5: z.number().describe(\"Fine particulate matter (μg/m3)\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionForecast_ForecastItemSchema = z.object({\n dt: z.number().int().describe(\"Time of the forecasted data, Unix time, UTC\").nullable(),\n main: OpenweatherApiGetAirPollutionForecast_MainSchema.nullable(),\n components: OpenweatherApiGetAirPollutionForecast_ComponentsSchema.nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionForecast_CoordSchema = z.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lon: z.number().describe(\"Longitude of the location\").nullable(),\n}).passthrough();\nexport const OpenweatherApiGetAirPollutionForecastOutput = z.object({\n list: z.array(OpenweatherApiGetAirPollutionForecast_ForecastItemSchema).describe(\"Array of forecasted air pollution data\"),\n coord: OpenweatherApiGetAirPollutionForecast_CoordSchema.nullable(),\n}).passthrough();\n\nexport const openweatherApiGetAirPollutionForecast = action(\"OPENWEATHER_API_GET_AIR_POLLUTION_FORECAST\", {\n slug: \"openweather_api-get-air-pollution-forecast\",\n name: \"Get Air Pollution Forecast\",\n description: \"Tool to get forecasted air pollution data for a specific location. Use after confirming latitude and longitude. Forecast availability may be limited for remote or oceanic coordinates; verify response timestamps to confirm returned data represents a true forecast rather than a current snapshot.\",\n input: OpenweatherApiGetAirPollutionForecastInput,\n output: OpenweatherApiGetAirPollutionForecastOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACrF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;AAC1F,CAAC;AACD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO,EAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC5E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,MAAM,iDAAiD,SAAS;CAChE,YAAY,uDAAuD,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,wCAAwC;CACzH,OAAO,kDAAkD,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wCAAwCC,eAAAA,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-air-pollution-forecast.cjs","names":["z","action"],"sources":["../../src/actions/get-air-pollution-forecast.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 OpenweatherApiGetAirPollutionForecastInput = z.object({\n lat: z.number().describe(\"Geographical latitude in decimal degrees (range -90 to 90)\"),\n lon: z.number().describe(\"Geographical longitude in decimal degrees (range -180 to 180)\"),\n});\nconst OpenweatherApiGetAirPollutionForecast_MainSchema = z.object({\n aqi: z.number().int().describe(\"Air Quality Index (1=good, 5=very poor)\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionForecast_ComponentsSchema = z.object({\n co: z.number().describe(\"Carbon monoxide concentration (μg/m3)\").nullable(),\n no: z.number().describe(\"Nitrogen monoxide concentration (μg/m3)\").nullable(),\n o3: z.number().describe(\"Ozone concentration (μg/m3)\").nullable(),\n nh3: z.number().describe(\"Ammonia concentration (μg/m3)\").nullable(),\n no2: z.number().describe(\"Nitrogen dioxide concentration (μg/m3)\").nullable(),\n so2: z.number().describe(\"Sulphur dioxide concentration (μg/m3)\").nullable(),\n pm10: z.number().describe(\"Coarse particulate matter (μg/m3)\").nullable(),\n pm2_5: z.number().describe(\"Fine particulate matter (μg/m3)\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionForecast_ForecastItemSchema = z.object({\n dt: z.number().int().describe(\"Time of the forecasted data, Unix time, UTC\").nullable(),\n main: OpenweatherApiGetAirPollutionForecast_MainSchema.nullable(),\n components: OpenweatherApiGetAirPollutionForecast_ComponentsSchema.nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionForecast_CoordSchema = z.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lon: z.number().describe(\"Longitude of the location\").nullable(),\n}).passthrough();\nexport const OpenweatherApiGetAirPollutionForecastOutput = z.object({\n list: z.array(OpenweatherApiGetAirPollutionForecast_ForecastItemSchema).describe(\"Array of forecasted air pollution data\"),\n coord: OpenweatherApiGetAirPollutionForecast_CoordSchema.nullable(),\n}).passthrough();\n\nexport const openweatherApiGetAirPollutionForecast: AppAction<\n typeof OpenweatherApiGetAirPollutionForecastInput,\n typeof OpenweatherApiGetAirPollutionForecastOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_AIR_POLLUTION_FORECAST\", {\n slug: \"openweather_api-get-air-pollution-forecast\",\n name: \"Get Air Pollution Forecast\",\n description: \"Tool to get forecasted air pollution data for a specific location. Use after confirming latitude and longitude. Forecast availability may be limited for remote or oceanic coordinates; verify response timestamps to confirm returned data represents a true forecast rather than a current snapshot.\",\n input: OpenweatherApiGetAirPollutionForecastInput,\n output: OpenweatherApiG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AAY,uDAAuD,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,wCAAwC;CACzH,OAAO,kDAAkD,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wCAITC,eAAAA,OAAO,8CAA8C;CACvD,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-air-pollution-forecast.d.ts
@@ -27,10 +29,7 @@ declare const OpenweatherApiGetAirPollutionForecastOutput: z.ZodObject<{
27
29
  lon: z.ZodNullable<z.ZodNumber>;
28
30
  }, z.core.$loose>>;
29
31
  }, z.core.$loose>;
30
- declare const openweatherApiGetAirPollutionForecast: import("@keystrokehq/action").WorkflowActionDefinition<{
31
- lat: number;
32
- lon: number;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
32
+ declare const openweatherApiGetAirPollutionForecast: AppAction<typeof OpenweatherApiGetAirPollutionForecastInput, typeof OpenweatherApiGetAirPollutionForecastOutput, typeof openweatherApi.credential>;
34
33
  //#endregion
35
34
  export { openweatherApiGetAirPollutionForecast };
36
35
  //# sourceMappingURL=get-air-pollution-forecast.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-air-pollution-forecast.d.cts","names":[],"sources":["../../src/actions/get-air-pollution-forecast.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;cA0B1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAK3C,qCAAA,gCAAqC,wBAAA"}
1
+ {"version":3,"file":"get-air-pollution-forecast.d.cts","names":[],"sources":["../../src/actions/get-air-pollution-forecast.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;cA0B1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAK3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,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-air-pollution-forecast.d.ts
@@ -27,10 +29,7 @@ declare const OpenweatherApiGetAirPollutionForecastOutput: z.ZodObject<{
27
29
  lon: z.ZodNullable<z.ZodNumber>;
28
30
  }, z.core.$loose>>;
29
31
  }, z.core.$loose>;
30
- declare const openweatherApiGetAirPollutionForecast: import("@keystrokehq/action").WorkflowActionDefinition<{
31
- lat: number;
32
- lon: number;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
32
+ declare const openweatherApiGetAirPollutionForecast: AppAction<typeof OpenweatherApiGetAirPollutionForecastInput, typeof OpenweatherApiGetAirPollutionForecastOutput, typeof openweatherApi.credential>;
34
33
  //#endregion
35
34
  export { openweatherApiGetAirPollutionForecast };
36
35
  //# sourceMappingURL=get-air-pollution-forecast.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-air-pollution-forecast.d.mts","names":[],"sources":["../../src/actions/get-air-pollution-forecast.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;cA0B1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAK3C,qCAAA,gCAAqC,wBAAA"}
1
+ {"version":3,"file":"get-air-pollution-forecast.d.mts","names":[],"sources":["../../src/actions/get-air-pollution-forecast.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;cA0B1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAK3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,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-air-pollution-forecast.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-air-pollution-forecast.mjs","names":[],"sources":["../../src/actions/get-air-pollution-forecast.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetAirPollutionForecastInput = z.object({\n lat: z.number().describe(\"Geographical latitude in decimal degrees (range -90 to 90)\"),\n lon: z.number().describe(\"Geographical longitude in decimal degrees (range -180 to 180)\"),\n});\nconst OpenweatherApiGetAirPollutionForecast_MainSchema = z.object({\n aqi: z.number().int().describe(\"Air Quality Index (1=good, 5=very poor)\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionForecast_ComponentsSchema = z.object({\n co: z.number().describe(\"Carbon monoxide concentration (μg/m3)\").nullable(),\n no: z.number().describe(\"Nitrogen monoxide concentration (μg/m3)\").nullable(),\n o3: z.number().describe(\"Ozone concentration (μg/m3)\").nullable(),\n nh3: z.number().describe(\"Ammonia concentration (μg/m3)\").nullable(),\n no2: z.number().describe(\"Nitrogen dioxide concentration (μg/m3)\").nullable(),\n so2: z.number().describe(\"Sulphur dioxide concentration (μg/m3)\").nullable(),\n pm10: z.number().describe(\"Coarse particulate matter (μg/m3)\").nullable(),\n pm2_5: z.number().describe(\"Fine particulate matter (μg/m3)\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionForecast_ForecastItemSchema = z.object({\n dt: z.number().int().describe(\"Time of the forecasted data, Unix time, UTC\").nullable(),\n main: OpenweatherApiGetAirPollutionForecast_MainSchema.nullable(),\n components: OpenweatherApiGetAirPollutionForecast_ComponentsSchema.nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionForecast_CoordSchema = z.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lon: z.number().describe(\"Longitude of the location\").nullable(),\n}).passthrough();\nexport const OpenweatherApiGetAirPollutionForecastOutput = z.object({\n list: z.array(OpenweatherApiGetAirPollutionForecast_ForecastItemSchema).describe(\"Array of forecasted air pollution data\"),\n coord: OpenweatherApiGetAirPollutionForecast_CoordSchema.nullable(),\n}).passthrough();\n\nexport const openweatherApiGetAirPollutionForecast = action(\"OPENWEATHER_API_GET_AIR_POLLUTION_FORECAST\", {\n slug: \"openweather_api-get-air-pollution-forecast\",\n name: \"Get Air Pollution Forecast\",\n description: \"Tool to get forecasted air pollution data for a specific location. Use after confirming latitude and longitude. Forecast availability may be limited for remote or oceanic coordinates; verify response timestamps to confirm returned data represents a true forecast rather than a current snapshot.\",\n input: OpenweatherApiGetAirPollutionForecastInput,\n output: OpenweatherApiGetAirPollutionForecastOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6C,EAAE,OAAO;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACrF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;AAC1F,CAAC;AACD,MAAM,mDAAmD,EAAE,OAAO,EAChE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,yDAAy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1
+ {"version":3,"file":"get-air-pollution-forecast.mjs","names":[],"sources":["../../src/actions/get-air-pollution-forecast.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 OpenweatherApiGetAirPollutionForecastInput = z.object({\n lat: z.number().describe(\"Geographical latitude in decimal degrees (range -90 to 90)\"),\n lon: z.number().describe(\"Geographical longitude in decimal degrees (range -180 to 180)\"),\n});\nconst OpenweatherApiGetAirPollutionForecast_MainSchema = z.object({\n aqi: z.number().int().describe(\"Air Quality Index (1=good, 5=very poor)\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionForecast_ComponentsSchema = z.object({\n co: z.number().describe(\"Carbon monoxide concentration (μg/m3)\").nullable(),\n no: z.number().describe(\"Nitrogen monoxide concentration (μg/m3)\").nullable(),\n o3: z.number().describe(\"Ozone concentration (μg/m3)\").nullable(),\n nh3: z.number().describe(\"Ammonia concentration (μg/m3)\").nullable(),\n no2: z.number().describe(\"Nitrogen dioxide concentration (μg/m3)\").nullable(),\n so2: z.number().describe(\"Sulphur dioxide concentration (μg/m3)\").nullable(),\n pm10: z.number().describe(\"Coarse particulate matter (μg/m3)\").nullable(),\n pm2_5: z.number().describe(\"Fine particulate matter (μg/m3)\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionForecast_ForecastItemSchema = z.object({\n dt: z.number().int().describe(\"Time of the forecasted data, Unix time, UTC\").nullable(),\n main: OpenweatherApiGetAirPollutionForecast_MainSchema.nullable(),\n components: OpenweatherApiGetAirPollutionForecast_ComponentsSchema.nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionForecast_CoordSchema = z.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lon: z.number().describe(\"Longitude of the location\").nullable(),\n}).passthrough();\nexport const OpenweatherApiGetAirPollutionForecastOutput = z.object({\n list: z.array(OpenweatherApiGetAirPollutionForecast_ForecastItemSchema).describe(\"Array of forecasted air pollution data\"),\n coord: OpenweatherApiGetAirPollutionForecast_CoordSchema.nullable(),\n}).passthrough();\n\nexport const openweatherApiGetAirPollutionForecast: AppAction<\n typeof OpenweatherApiGetAirPollutionForecastInput,\n typeof OpenweatherApiGetAirPollutionForecastOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_AIR_POLLUTION_FORECAST\", {\n slug: \"openweather_api-get-air-pollution-forecast\",\n name: \"Get Air Pollution Forecast\",\n description: \"Tool to get forecasted air pollution data for a specific location. Use after confirming latitude and longitude. Forecast availability may be limited for remote or oceanic coordinates; verify response timestamps to confirm returned data represents a true forecast rather than a current snapshot.\",\n input: OpenweatherApiGetAirPollutionForecastInput,\n output: OpenweatherApiGetAirPollutionForecastOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6CAA6C,EAAE,OAAO;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACrF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;AAC1F,CAAC;AACD,MAAM,mDAAmD,EAAE,OAAO,EAChE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC5E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,2DAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,MAAM,iDAAiD,SAAS;CAChE,YAAY,uDAAuD,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoD,EAAE,OAAO;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,wCAIT,OAAO,8CAA8C;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdyD,EAAE,OAAO;EAClE,MAAM,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,wCAAwC;EACzH,OAAO,kDAAkD,SAAS;CACpE,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-air-pollution-history.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-air-pollution-history.cjs","names":["z","action"],"sources":["../../src/actions/get-air-pollution-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetAirPollutionHistoryInput = z.object({\n end: z.number().int().describe(\"End UNIX timestamp (UTC seconds); must be >= start\"),\n lat: z.number().describe(\"Latitude of the location (range: -90 to 90)\"),\n lon: z.number().describe(\"Longitude of the location (range: -180 to 180)\"),\n start: z.number().int().describe(\"Start UNIX timestamp (UTC seconds); must be <= end\"),\n});\nconst OpenweatherApiGetAirPollutionHistory_MainDataSchema = z.object({\n aqi: z.number().int().describe(\"Air Quality Index (0=No data, 1=Good, 2=Fair, 3=Moderate, 4=Poor, 5=Very Poor)\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionHistory_AirPollutionComponentsSchema = z.object({\n co: z.number().describe(\"Carbon monoxide concentration in μg/m3\").nullable(),\n no: z.number().describe(\"Nitrogen monoxide concentration in μg/m3\").nullable(),\n o3: z.number().describe(\"Ozone concentration in μg/m3\").nullable(),\n nh3: z.number().describe(\"Ammonia concentration in μg/m3\").nullable(),\n no2: z.number().describe(\"Nitrogen dioxide concentration in μg/m3\").nullable(),\n so2: z.number().describe(\"Sulfur dioxide concentration in μg/m3\").nullable(),\n pm10: z.number().describe(\"Coarse particulate matter (PM10) concentration in μg/m3\").nullable(),\n pm2_5: z.number().describe(\"Fine particulate matter (PM2.5) concentration in μg/m3\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionHistory_AirPollutionRecordSchema = z.object({\n dt: z.number().int().describe(\"Data time (UNIX UTC seconds)\").nullable(),\n main: OpenweatherApiGetAirPollutionHistory_MainDataSchema.nullable(),\n components: OpenweatherApiGetAirPollutionHistory_AirPollutionComponentsSchema.nullable(),\n}).passthrough();\nexport const OpenweatherApiGetAirPollutionHistoryOutput = z.object({\n list: z.array(OpenweatherApiGetAirPollutionHistory_AirPollutionRecordSchema).describe(\"List of air pollution data objects\"),\n coord: z.record(z.string(), z.unknown()).describe(\"Coordinates of the location\"),\n}).passthrough();\n\nexport const openweatherApiGetAirPollutionHistory = action(\"OPENWEATHER_API_GET_AIR_POLLUTION_HISTORY\", {\n slug: \"openweather_api-get-air-pollution-history\",\n name: \"Get Air Pollution History\",\n description: \"Tool to retrieve historical air pollution data. Use when you need past air quality levels for a specific latitude/longitude and time range.\",\n input: OpenweatherApiGetAirPollutionHistoryInput,\n output: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f,MAAM,gEAAgEA,IAAAA,EAAE,OAAO;CAC7E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAM,oDAAoD,SAAS;CACnE,YAAY,kEAAkE,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,oCAAoC;CAC1H,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACjF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uCAAuCC,eAAAA,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-air-pollution-history.cjs","names":["z","action"],"sources":["../../src/actions/get-air-pollution-history.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 OpenweatherApiGetAirPollutionHistoryInput = z.object({\n end: z.number().int().describe(\"End UNIX timestamp (UTC seconds); must be >= start\"),\n lat: z.number().describe(\"Latitude of the location (range: -90 to 90)\"),\n lon: z.number().describe(\"Longitude of the location (range: -180 to 180)\"),\n start: z.number().int().describe(\"Start UNIX timestamp (UTC seconds); must be <= end\"),\n});\nconst OpenweatherApiGetAirPollutionHistory_MainDataSchema = z.object({\n aqi: z.number().int().describe(\"Air Quality Index (0=No data, 1=Good, 2=Fair, 3=Moderate, 4=Poor, 5=Very Poor)\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionHistory_AirPollutionComponentsSchema = z.object({\n co: z.number().describe(\"Carbon monoxide concentration in μg/m3\").nullable(),\n no: z.number().describe(\"Nitrogen monoxide concentration in μg/m3\").nullable(),\n o3: z.number().describe(\"Ozone concentration in μg/m3\").nullable(),\n nh3: z.number().describe(\"Ammonia concentration in μg/m3\").nullable(),\n no2: z.number().describe(\"Nitrogen dioxide concentration in μg/m3\").nullable(),\n so2: z.number().describe(\"Sulfur dioxide concentration in μg/m3\").nullable(),\n pm10: z.number().describe(\"Coarse particulate matter (PM10) concentration in μg/m3\").nullable(),\n pm2_5: z.number().describe(\"Fine particulate matter (PM2.5) concentration in μg/m3\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionHistory_AirPollutionRecordSchema = z.object({\n dt: z.number().int().describe(\"Data time (UNIX UTC seconds)\").nullable(),\n main: OpenweatherApiGetAirPollutionHistory_MainDataSchema.nullable(),\n components: OpenweatherApiGetAirPollutionHistory_AirPollutionComponentsSchema.nullable(),\n}).passthrough();\nexport const OpenweatherApiGetAirPollutionHistoryOutput = z.object({\n list: z.array(OpenweatherApiGetAirPollutionHistory_AirPollutionRecordSchema).describe(\"List of air pollution data objects\"),\n coord: z.record(z.string(), z.unknown()).describe(\"Coordinates of the location\"),\n}).passthrough();\n\nexport const openweatherApiGetAirPollutionHistory: AppAction<\n typeof OpenweatherApiGetAirPollutionHistoryInput,\n typeof OpenweatherApiGetAirPollutionHistoryOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_AIR_POLLUTION_HISTORY\", {\n slug: \"openweather_api-get-air-pollution-history\",\n name: \"Get Air Pollution History\",\n description: \"Tool to retrieve historical air pollution data. Use when you need past air quality levels for a specific latitude/longitude and time range.\",\n input: OpenweatherApiGetAirPollutionHistoryInput,\n output: OpenweatherApiGetAirPollutionHistoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACnF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,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,YAAY;AACf,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,oCAAoC;CAC1H,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACjF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uCAITC,eAAAA,OAAO,6CAA6C;CACtD,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-air-pollution-history.d.ts
@@ -26,12 +28,7 @@ declare const OpenweatherApiGetAirPollutionHistoryOutput: z.ZodObject<{
26
28
  }, z.core.$loose>>;
27
29
  coord: z.ZodRecord<z.ZodString, z.ZodUnknown>;
28
30
  }, z.core.$loose>;
29
- declare const openweatherApiGetAirPollutionHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
30
- end: number;
31
- lat: number;
32
- lon: number;
33
- start: number;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ declare const openweatherApiGetAirPollutionHistory: AppAction<typeof OpenweatherApiGetAirPollutionHistoryInput, typeof OpenweatherApiGetAirPollutionHistoryOutput, typeof openweatherApi.credential>;
35
32
  //#endregion
36
33
  export { openweatherApiGetAirPollutionHistory };
37
34
  //# sourceMappingURL=get-air-pollution-history.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-air-pollution-history.d.cts","names":[],"sources":["../../src/actions/get-air-pollution-history.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;cAwBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAK1C,oCAAA,gCAAoC,wBAAA"}
1
+ {"version":3,"file":"get-air-pollution-history.d.cts","names":[],"sources":["../../src/actions/get-air-pollution-history.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;cAwBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAK1C,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-air-pollution-history.d.ts
@@ -26,12 +28,7 @@ declare const OpenweatherApiGetAirPollutionHistoryOutput: z.ZodObject<{
26
28
  }, z.core.$loose>>;
27
29
  coord: z.ZodRecord<z.ZodString, z.ZodUnknown>;
28
30
  }, z.core.$loose>;
29
- declare const openweatherApiGetAirPollutionHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
30
- end: number;
31
- lat: number;
32
- lon: number;
33
- start: number;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ declare const openweatherApiGetAirPollutionHistory: AppAction<typeof OpenweatherApiGetAirPollutionHistoryInput, typeof OpenweatherApiGetAirPollutionHistoryOutput, typeof openweatherApi.credential>;
35
32
  //#endregion
36
33
  export { openweatherApiGetAirPollutionHistory };
37
34
  //# sourceMappingURL=get-air-pollution-history.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-air-pollution-history.d.mts","names":[],"sources":["../../src/actions/get-air-pollution-history.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;cAwBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAK1C,oCAAA,gCAAoC,wBAAA"}
1
+ {"version":3,"file":"get-air-pollution-history.d.mts","names":[],"sources":["../../src/actions/get-air-pollution-history.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;cAwBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAK1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,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-air-pollution-history.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-air-pollution-history.mjs","names":[],"sources":["../../src/actions/get-air-pollution-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetAirPollutionHistoryInput = z.object({\n end: z.number().int().describe(\"End UNIX timestamp (UTC seconds); must be >= start\"),\n lat: z.number().describe(\"Latitude of the location (range: -90 to 90)\"),\n lon: z.number().describe(\"Longitude of the location (range: -180 to 180)\"),\n start: z.number().int().describe(\"Start UNIX timestamp (UTC seconds); must be <= end\"),\n});\nconst OpenweatherApiGetAirPollutionHistory_MainDataSchema = z.object({\n aqi: z.number().int().describe(\"Air Quality Index (0=No data, 1=Good, 2=Fair, 3=Moderate, 4=Poor, 5=Very Poor)\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionHistory_AirPollutionComponentsSchema = z.object({\n co: z.number().describe(\"Carbon monoxide concentration in μg/m3\").nullable(),\n no: z.number().describe(\"Nitrogen monoxide concentration in μg/m3\").nullable(),\n o3: z.number().describe(\"Ozone concentration in μg/m3\").nullable(),\n nh3: z.number().describe(\"Ammonia concentration in μg/m3\").nullable(),\n no2: z.number().describe(\"Nitrogen dioxide concentration in μg/m3\").nullable(),\n so2: z.number().describe(\"Sulfur dioxide concentration in μg/m3\").nullable(),\n pm10: z.number().describe(\"Coarse particulate matter (PM10) concentration in μg/m3\").nullable(),\n pm2_5: z.number().describe(\"Fine particulate matter (PM2.5) concentration in μg/m3\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionHistory_AirPollutionRecordSchema = z.object({\n dt: z.number().int().describe(\"Data time (UNIX UTC seconds)\").nullable(),\n main: OpenweatherApiGetAirPollutionHistory_MainDataSchema.nullable(),\n components: OpenweatherApiGetAirPollutionHistory_AirPollutionComponentsSchema.nullable(),\n}).passthrough();\nexport const OpenweatherApiGetAirPollutionHistoryOutput = z.object({\n list: z.array(OpenweatherApiGetAirPollutionHistory_AirPollutionRecordSchema).describe(\"List of air pollution data objects\"),\n coord: z.record(z.string(), z.unknown()).describe(\"Coordinates of the location\"),\n}).passthrough();\n\nexport const openweatherApiGetAirPollutionHistory = action(\"OPENWEATHER_API_GET_AIR_POLLUTION_HISTORY\", {\n slug: \"openweather_api-get-air-pollution-history\",\n name: \"Get Air Pollution History\",\n description: \"Tool to retrieve historical air pollution data. Use when you need past air quality levels for a specific latitude/longitude and time range.\",\n input: OpenweatherApiGetAirPollutionHistoryInput,\n output: OpenweatherApiGetAirPollutionHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACnF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AACvF,CAAC;AACD,MAAM,sDAAsD,EAAE,OAAO,EACnE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oEAAoE,EAAE,OAAO;CACjF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC7E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gEAAgE,EAAE,OAAO;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAM,oDAAoD,SAAS;CACnE,YAAY,kEAAkE,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,MAAM,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,oCAAoC;EAC1H,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B;CACjF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-air-pollution-history.mjs","names":[],"sources":["../../src/actions/get-air-pollution-history.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 OpenweatherApiGetAirPollutionHistoryInput = z.object({\n end: z.number().int().describe(\"End UNIX timestamp (UTC seconds); must be >= start\"),\n lat: z.number().describe(\"Latitude of the location (range: -90 to 90)\"),\n lon: z.number().describe(\"Longitude of the location (range: -180 to 180)\"),\n start: z.number().int().describe(\"Start UNIX timestamp (UTC seconds); must be <= end\"),\n});\nconst OpenweatherApiGetAirPollutionHistory_MainDataSchema = z.object({\n aqi: z.number().int().describe(\"Air Quality Index (0=No data, 1=Good, 2=Fair, 3=Moderate, 4=Poor, 5=Very Poor)\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionHistory_AirPollutionComponentsSchema = z.object({\n co: z.number().describe(\"Carbon monoxide concentration in μg/m3\").nullable(),\n no: z.number().describe(\"Nitrogen monoxide concentration in μg/m3\").nullable(),\n o3: z.number().describe(\"Ozone concentration in μg/m3\").nullable(),\n nh3: z.number().describe(\"Ammonia concentration in μg/m3\").nullable(),\n no2: z.number().describe(\"Nitrogen dioxide concentration in μg/m3\").nullable(),\n so2: z.number().describe(\"Sulfur dioxide concentration in μg/m3\").nullable(),\n pm10: z.number().describe(\"Coarse particulate matter (PM10) concentration in μg/m3\").nullable(),\n pm2_5: z.number().describe(\"Fine particulate matter (PM2.5) concentration in μg/m3\").nullable(),\n}).passthrough();\nconst OpenweatherApiGetAirPollutionHistory_AirPollutionRecordSchema = z.object({\n dt: z.number().int().describe(\"Data time (UNIX UTC seconds)\").nullable(),\n main: OpenweatherApiGetAirPollutionHistory_MainDataSchema.nullable(),\n components: OpenweatherApiGetAirPollutionHistory_AirPollutionComponentsSchema.nullable(),\n}).passthrough();\nexport const OpenweatherApiGetAirPollutionHistoryOutput = z.object({\n list: z.array(OpenweatherApiGetAirPollutionHistory_AirPollutionRecordSchema).describe(\"List of air pollution data objects\"),\n coord: z.record(z.string(), z.unknown()).describe(\"Coordinates of the location\"),\n}).passthrough();\n\nexport const openweatherApiGetAirPollutionHistory: AppAction<\n typeof OpenweatherApiGetAirPollutionHistoryInput,\n typeof OpenweatherApiGetAirPollutionHistoryOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_AIR_POLLUTION_HISTORY\", {\n slug: \"openweather_api-get-air-pollution-history\",\n name: \"Get Air Pollution History\",\n description: \"Tool to retrieve historical air pollution data. Use when you need past air quality levels for a specific latitude/longitude and time range.\",\n input: OpenweatherApiGetAirPollutionHistoryInput,\n output: OpenweatherApiGetAirPollutionHistoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4C,EAAE,OAAO;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACnF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AACvF,CAAC;AACD,MAAM,sDAAsD,EAAE,OAAO,EACnE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oEAAoE,EAAE,OAAO;CACjF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC7E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gEAAgE,EAAE,OAAO;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAM,oDAAoD,SAAS;CACnE,YAAY,kEAAkE,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,uCAIT,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdwD,EAAE,OAAO;EACjE,MAAM,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,oCAAoC;EAC1H,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B;CACjF,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-circle-city-weather.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-circle-city-weather.cjs","names":["z","action"],"sources":["../../src/actions/get-circle-city-weather.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetCircleCityWeatherInput = z.object({\n cnt: z.number().int().describe(\"Number of cities to return within the circle (1–50). Default is 10.\").optional(),\n lat: z.number().describe(\"Latitude of the circle center in degrees (-90 to 90)\"),\n lon: z.number().describe(\"Longitude of the circle center in degrees (-180 to 180)\"),\n lang: z.string().default(\"en\").describe(\"Language of the response (ISO 639-1)\").optional(),\n mode: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format: 'json' or 'xml'\").optional(),\n units: z.enum([\"standard\", \"metric\", \"imperial\"]).default(\"standard\").describe(\"Units of measurement: standard, metric, or imperial\").optional(),\n});\nconst OpenweatherApiGetCircleCityWeather_SysSchema = z.object({\n sunset: z.number().int().describe(\"Sunset time (Unix UTC)\").nullable().optional(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n sunrise: z.number().int().describe(\"Sunrise time (Unix UTC)\").nullable().optional(),\n timezone: z.number().int().describe(\"Shift in seconds from UTC\").nullable().optional(),\n}).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: OpenweatherApiG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,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAClD,KAAK,6CAA6C,SAAS;CAC3D,MAAM,8CAA8C,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,MAAM,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACxE,MAAM,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACxE,MAAM,8CAA8C,SAAS;CAC7D,OAAO,+CAA+C,SAAS;CAC/D,QAAQ,gDAAgD,SAAS;CACjE,SAASA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,wBAAwB;AAC3G,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC1D,MAAMA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,mCAAmC;CAChH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qCAAqCC,eAAAA,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-circle-city-weather.cjs","names":["z","action"],"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,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/G,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAC/E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAU;CAAU,CAAC,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACjJ,CAAC;AACD,MAAM,+CAA+CA,IAAAA,EAAE,OAA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CAAC,CAAC,SAAS,mCAAmC;CAChH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qCAITC,eAAAA,OAAO,2CAA2C;CACpD,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-circle-city-weather.d.ts
@@ -68,14 +70,7 @@ declare const OpenweatherApiGetCircleCityWeatherOutput: z.ZodObject<{
68
70
  count: z.ZodNullable<z.ZodNumber>;
69
71
  message: z.ZodNullable<z.ZodString>;
70
72
  }, z.core.$loose>;
71
- declare const openweatherApiGetCircleCityWeather: import("@keystrokehq/action").WorkflowActionDefinition<{
72
- lat: number;
73
- lon: number;
74
- cnt?: number | undefined;
75
- lang?: string | undefined;
76
- mode?: "json" | "xml" | undefined;
77
- units?: "standard" | "metric" | "imperial" | undefined;
78
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
73
+ declare const openweatherApiGetCircleCityWeather: AppAction<typeof OpenweatherApiGetCircleCityWeatherInput, typeof OpenweatherApiGetCircleCityWeatherOutput, typeof openweatherApi.credential>;
79
74
  //#endregion
80
75
  export { openweatherApiGetCircleCityWeather };
81
76
  //# sourceMappingURL=get-circle-city-weather.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-circle-city-weather.d.cts","names":[],"sources":["../../src/actions/get-circle-city-weather.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cA+DvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"get-circle-city-weather.d.cts","names":[],"sources":["../../src/actions/get-circle-city-weather.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cA+DvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,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-circle-city-weather.d.ts
@@ -68,14 +70,7 @@ declare const OpenweatherApiGetCircleCityWeatherOutput: z.ZodObject<{
68
70
  count: z.ZodNullable<z.ZodNumber>;
69
71
  message: z.ZodNullable<z.ZodString>;
70
72
  }, z.core.$loose>;
71
- declare const openweatherApiGetCircleCityWeather: import("@keystrokehq/action").WorkflowActionDefinition<{
72
- lat: number;
73
- lon: number;
74
- cnt?: number | undefined;
75
- lang?: string | undefined;
76
- mode?: "json" | "xml" | undefined;
77
- units?: "standard" | "metric" | "imperial" | undefined;
78
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
73
+ declare const openweatherApiGetCircleCityWeather: AppAction<typeof OpenweatherApiGetCircleCityWeatherInput, typeof OpenweatherApiGetCircleCityWeatherOutput, typeof openweatherApi.credential>;
79
74
  //#endregion
80
75
  export { openweatherApiGetCircleCityWeather };
81
76
  //# sourceMappingURL=get-circle-city-weather.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-circle-city-weather.d.mts","names":[],"sources":["../../src/actions/get-circle-city-weather.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cA+DvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"get-circle-city-weather.d.mts","names":[],"sources":["../../src/actions/get-circle-city-weather.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cA+DvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,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-circle-city-weather.ts