@keystrokehq/openweather_api 0.1.0 → 0.1.2

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 (167) 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 -1
  4. package/dist/actions/delete-weather-station.cjs.map +1 -1
  5. package/dist/actions/delete-weather-station.d.cts +9 -3
  6. package/dist/actions/delete-weather-station.d.cts.map +1 -1
  7. package/dist/actions/delete-weather-station.d.mts +9 -3
  8. package/dist/actions/delete-weather-station.d.mts.map +1 -1
  9. package/dist/actions/delete-weather-station.mjs +1 -1
  10. package/dist/actions/delete-weather-station.mjs.map +1 -1
  11. package/dist/actions/get-air-pollution-current.cjs +12 -12
  12. package/dist/actions/get-air-pollution-current.cjs.map +1 -1
  13. package/dist/actions/get-air-pollution-current.d.cts +30 -3
  14. package/dist/actions/get-air-pollution-current.d.cts.map +1 -1
  15. package/dist/actions/get-air-pollution-current.d.mts +30 -3
  16. package/dist/actions/get-air-pollution-current.d.mts.map +1 -1
  17. package/dist/actions/get-air-pollution-current.mjs +12 -12
  18. package/dist/actions/get-air-pollution-current.mjs.map +1 -1
  19. package/dist/actions/get-air-pollution-forecast.cjs +12 -12
  20. package/dist/actions/get-air-pollution-forecast.cjs.map +1 -1
  21. package/dist/actions/get-air-pollution-forecast.d.cts +30 -3
  22. package/dist/actions/get-air-pollution-forecast.d.cts.map +1 -1
  23. package/dist/actions/get-air-pollution-forecast.d.mts +30 -3
  24. package/dist/actions/get-air-pollution-forecast.d.mts.map +1 -1
  25. package/dist/actions/get-air-pollution-forecast.mjs +12 -12
  26. package/dist/actions/get-air-pollution-forecast.mjs.map +1 -1
  27. package/dist/actions/get-air-pollution-history.cjs +10 -10
  28. package/dist/actions/get-air-pollution-history.cjs.map +1 -1
  29. package/dist/actions/get-air-pollution-history.d.cts +31 -3
  30. package/dist/actions/get-air-pollution-history.d.cts.map +1 -1
  31. package/dist/actions/get-air-pollution-history.d.mts +31 -3
  32. package/dist/actions/get-air-pollution-history.d.mts.map +1 -1
  33. package/dist/actions/get-air-pollution-history.mjs +10 -10
  34. package/dist/actions/get-air-pollution-history.mjs.map +1 -1
  35. package/dist/actions/get-circle-city-weather.cjs +21 -21
  36. package/dist/actions/get-circle-city-weather.cjs.map +1 -1
  37. package/dist/actions/get-circle-city-weather.d.cts +75 -3
  38. package/dist/actions/get-circle-city-weather.d.cts.map +1 -1
  39. package/dist/actions/get-circle-city-weather.d.mts +75 -3
  40. package/dist/actions/get-circle-city-weather.d.mts.map +1 -1
  41. package/dist/actions/get-circle-city-weather.mjs +21 -21
  42. package/dist/actions/get-circle-city-weather.mjs.map +1 -1
  43. package/dist/actions/get-current-weather.cjs +24 -24
  44. package/dist/actions/get-current-weather.cjs.map +1 -1
  45. package/dist/actions/get-current-weather.d.cts +74 -3
  46. package/dist/actions/get-current-weather.d.cts.map +1 -1
  47. package/dist/actions/get-current-weather.d.mts +74 -3
  48. package/dist/actions/get-current-weather.d.mts.map +1 -1
  49. package/dist/actions/get-current-weather.mjs +24 -24
  50. package/dist/actions/get-current-weather.mjs.map +1 -1
  51. package/dist/actions/get-geocoding-by-zip.cjs +5 -5
  52. package/dist/actions/get-geocoding-by-zip.cjs.map +1 -1
  53. package/dist/actions/get-geocoding-by-zip.d.cts +13 -3
  54. package/dist/actions/get-geocoding-by-zip.d.cts.map +1 -1
  55. package/dist/actions/get-geocoding-by-zip.d.mts +13 -3
  56. package/dist/actions/get-geocoding-by-zip.d.mts.map +1 -1
  57. package/dist/actions/get-geocoding-by-zip.mjs +5 -5
  58. package/dist/actions/get-geocoding-by-zip.mjs.map +1 -1
  59. package/dist/actions/get-geocoding-direct.cjs.map +1 -1
  60. package/dist/actions/get-geocoding-direct.d.cts +9 -3
  61. package/dist/actions/get-geocoding-direct.d.cts.map +1 -1
  62. package/dist/actions/get-geocoding-direct.d.mts +9 -3
  63. package/dist/actions/get-geocoding-direct.d.mts.map +1 -1
  64. package/dist/actions/get-geocoding-direct.mjs.map +1 -1
  65. package/dist/actions/get-geocoding-reverse.cjs.map +1 -1
  66. package/dist/actions/get-geocoding-reverse.d.cts +11 -3
  67. package/dist/actions/get-geocoding-reverse.d.cts.map +1 -1
  68. package/dist/actions/get-geocoding-reverse.d.mts +11 -3
  69. package/dist/actions/get-geocoding-reverse.d.mts.map +1 -1
  70. package/dist/actions/get-geocoding-reverse.mjs.map +1 -1
  71. package/dist/actions/get-station-measurements.cjs.map +1 -1
  72. package/dist/actions/get-station-measurements.d.cts +30 -3
  73. package/dist/actions/get-station-measurements.d.cts.map +1 -1
  74. package/dist/actions/get-station-measurements.d.mts +30 -3
  75. package/dist/actions/get-station-measurements.d.mts.map +1 -1
  76. package/dist/actions/get-station-measurements.mjs.map +1 -1
  77. package/dist/actions/get-uv-index-forecast.cjs.map +1 -1
  78. package/dist/actions/get-uv-index-forecast.d.cts +11 -3
  79. package/dist/actions/get-uv-index-forecast.d.cts.map +1 -1
  80. package/dist/actions/get-uv-index-forecast.d.mts +11 -3
  81. package/dist/actions/get-uv-index-forecast.d.mts.map +1 -1
  82. package/dist/actions/get-uv-index-forecast.mjs.map +1 -1
  83. package/dist/actions/get-uv-index-history.cjs +5 -5
  84. package/dist/actions/get-uv-index-history.cjs.map +1 -1
  85. package/dist/actions/get-uv-index-history.d.cts +21 -3
  86. package/dist/actions/get-uv-index-history.d.cts.map +1 -1
  87. package/dist/actions/get-uv-index-history.d.mts +21 -3
  88. package/dist/actions/get-uv-index-history.d.mts.map +1 -1
  89. package/dist/actions/get-uv-index-history.mjs +5 -5
  90. package/dist/actions/get-uv-index-history.mjs.map +1 -1
  91. package/dist/actions/get-uv-index.cjs +5 -5
  92. package/dist/actions/get-uv-index.cjs.map +1 -1
  93. package/dist/actions/get-uv-index.d.cts +15 -3
  94. package/dist/actions/get-uv-index.d.cts.map +1 -1
  95. package/dist/actions/get-uv-index.d.mts +15 -3
  96. package/dist/actions/get-uv-index.d.mts.map +1 -1
  97. package/dist/actions/get-uv-index.mjs +5 -5
  98. package/dist/actions/get-uv-index.mjs.map +1 -1
  99. package/dist/actions/get-weather-map-tile.cjs +1 -1
  100. package/dist/actions/get-weather-map-tile.cjs.map +1 -1
  101. package/dist/actions/get-weather-map-tile.d.cts +40 -3
  102. package/dist/actions/get-weather-map-tile.d.cts.map +1 -1
  103. package/dist/actions/get-weather-map-tile.d.mts +40 -3
  104. package/dist/actions/get-weather-map-tile.d.mts.map +1 -1
  105. package/dist/actions/get-weather-map-tile.mjs +1 -1
  106. package/dist/actions/get-weather-map-tile.mjs.map +1 -1
  107. package/dist/actions/get-weather-station.cjs +6 -6
  108. package/dist/actions/get-weather-station.cjs.map +1 -1
  109. package/dist/actions/get-weather-station.d.cts +17 -3
  110. package/dist/actions/get-weather-station.d.cts.map +1 -1
  111. package/dist/actions/get-weather-station.d.mts +17 -3
  112. package/dist/actions/get-weather-station.d.mts.map +1 -1
  113. package/dist/actions/get-weather-station.mjs +6 -6
  114. package/dist/actions/get-weather-station.mjs.map +1 -1
  115. package/dist/actions/get-weather-stations.cjs +6 -6
  116. package/dist/actions/get-weather-stations.cjs.map +1 -1
  117. package/dist/actions/get-weather-stations.d.cts +15 -3
  118. package/dist/actions/get-weather-stations.d.cts.map +1 -1
  119. package/dist/actions/get-weather-stations.d.mts +15 -3
  120. package/dist/actions/get-weather-stations.d.mts.map +1 -1
  121. package/dist/actions/get-weather-stations.mjs +6 -6
  122. package/dist/actions/get-weather-stations.mjs.map +1 -1
  123. package/dist/actions/get-weather-triggers.cjs +2 -2
  124. package/dist/actions/get-weather-triggers.cjs.map +1 -1
  125. package/dist/actions/get-weather-triggers.d.cts +34 -3
  126. package/dist/actions/get-weather-triggers.d.cts.map +1 -1
  127. package/dist/actions/get-weather-triggers.d.mts +34 -3
  128. package/dist/actions/get-weather-triggers.d.mts.map +1 -1
  129. package/dist/actions/get-weather-triggers.mjs +2 -2
  130. package/dist/actions/get-weather-triggers.mjs.map +1 -1
  131. package/dist/actions/get5-day-forecast.cjs +28 -28
  132. package/dist/actions/get5-day-forecast.cjs.map +1 -1
  133. package/dist/actions/get5-day-forecast.d.cts +88 -3
  134. package/dist/actions/get5-day-forecast.d.cts.map +1 -1
  135. package/dist/actions/get5-day-forecast.d.mts +88 -3
  136. package/dist/actions/get5-day-forecast.d.mts.map +1 -1
  137. package/dist/actions/get5-day-forecast.mjs +28 -28
  138. package/dist/actions/get5-day-forecast.mjs.map +1 -1
  139. package/dist/actions/post-add-weather-station.cjs +7 -7
  140. package/dist/actions/post-add-weather-station.cjs.map +1 -1
  141. package/dist/actions/post-add-weather-station.d.cts +27 -3
  142. package/dist/actions/post-add-weather-station.d.cts.map +1 -1
  143. package/dist/actions/post-add-weather-station.d.mts +27 -3
  144. package/dist/actions/post-add-weather-station.d.mts.map +1 -1
  145. package/dist/actions/post-add-weather-station.mjs +7 -7
  146. package/dist/actions/post-add-weather-station.mjs.map +1 -1
  147. package/dist/actions/post-submit-station-measurements.cjs.map +1 -1
  148. package/dist/actions/post-submit-station-measurements.d.cts +30 -3
  149. package/dist/actions/post-submit-station-measurements.d.cts.map +1 -1
  150. package/dist/actions/post-submit-station-measurements.d.mts +30 -3
  151. package/dist/actions/post-submit-station-measurements.d.mts.map +1 -1
  152. package/dist/actions/post-submit-station-measurements.mjs.map +1 -1
  153. package/dist/actions/update-weather-station.cjs +3 -3
  154. package/dist/actions/update-weather-station.cjs.map +1 -1
  155. package/dist/actions/update-weather-station.d.cts +26 -3
  156. package/dist/actions/update-weather-station.d.cts.map +1 -1
  157. package/dist/actions/update-weather-station.d.mts +26 -3
  158. package/dist/actions/update-weather-station.d.mts.map +1 -1
  159. package/dist/actions/update-weather-station.mjs +3 -3
  160. package/dist/actions/update-weather-station.mjs.map +1 -1
  161. package/dist/catalog.cjs +7 -1
  162. package/dist/catalog.cjs.map +1 -1
  163. package/dist/catalog.d.cts +8 -0
  164. package/dist/catalog.d.mts +8 -0
  165. package/dist/catalog.mjs +7 -1
  166. package/dist/catalog.mjs.map +1 -1
  167. 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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\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,\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 { 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 +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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\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,\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 { 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"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-weather-station.ts
4
4
  const OpenweatherApiDeleteWeatherStationInput = zod.z.object({ station_id: zod.z.string().describe("The unique ID of the weather station to delete.") }).describe("Path parameter for deleting a weather station.");
5
- const OpenweatherApiDeleteWeatherStationOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message of successful deletion.") }).describe("Response schema for deleting a weather station.");
5
+ const OpenweatherApiDeleteWeatherStationOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message of successful deletion.").nullable() }).describe("Response schema for deleting a weather station.");
6
6
  const openweatherApiDeleteWeatherStation = require_action.action("OPENWEATHER_API_DELETE_WEATHER_STATION", {
7
7
  slug: "openweather_api-delete-weather-station",
8
8
  name: "Delete Weather Station",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message of successful deletion.\"),\n}).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,0CAAwDA,IAAAA,EAAE,OAAO,EAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EACnF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,2CAAyDA,IAAAA,EAAE,OAAO,EAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC7E,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,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 { 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}).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,SAAS,iDAAiD;AAE7D,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-weather-station.d.ts
4
- declare const OpenweatherApiDeleteWeatherStationInput: z.ZodTypeAny;
5
- declare const OpenweatherApiDeleteWeatherStationOutput: z.ZodTypeAny;
6
- declare const openweatherApiDeleteWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OpenweatherApiDeleteWeatherStationInput: z.ZodObject<{
5
+ station_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const OpenweatherApiDeleteWeatherStationOutput: z.ZodObject<{
8
+ message: z.ZodNullable<z.ZodString>;
9
+ }, z.core.$strip>;
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]>;
7
13
  //#endregion
8
14
  export { openweatherApiDeleteWeatherStation };
9
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,EAAyC,CAAA,CAAE,UAEK;AAAA,cAChD,wCAAA,EAA0C,CAAA,CAAE,UAEK;AAAA,cAEjD,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-weather-station.d.ts
4
- declare const OpenweatherApiDeleteWeatherStationInput: z.ZodTypeAny;
5
- declare const OpenweatherApiDeleteWeatherStationOutput: z.ZodTypeAny;
6
- declare const openweatherApiDeleteWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OpenweatherApiDeleteWeatherStationInput: z.ZodObject<{
5
+ station_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const OpenweatherApiDeleteWeatherStationOutput: z.ZodObject<{
8
+ message: z.ZodNullable<z.ZodString>;
9
+ }, z.core.$strip>;
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]>;
7
13
  //#endregion
8
14
  export { openweatherApiDeleteWeatherStation };
9
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,EAAyC,CAAA,CAAE,UAEK;AAAA,cAChD,wCAAA,EAA0C,CAAA,CAAE,UAEK;AAAA,cAEjD,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -5,7 +5,7 @@ const openweatherApiDeleteWeatherStation = action("OPENWEATHER_API_DELETE_WEATHE
5
5
  name: "Delete Weather Station",
6
6
  description: "Tool to delete a registered weather station. Use after identifying a station to remove. Returns confirmation message upon success.",
7
7
  input: z.object({ station_id: z.string().describe("The unique ID of the weather station to delete.") }).describe("Path parameter for deleting a weather station."),
8
- output: z.object({ message: z.string().describe("Confirmation message of successful deletion.") }).describe("Response schema for deleting a weather station.")
8
+ output: z.object({ message: z.string().describe("Confirmation message of successful deletion.").nullable() }).describe("Response schema for deleting a weather station.")
9
9
  });
10
10
  //#endregion
11
11
  export { openweatherApiDeleteWeatherStation };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message of successful deletion.\"),\n}).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,OAXmE,EAAE,OAAO,EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EACnF,CAAC,CAAC,CAAC,SAAS,gDASH;CACP,QAToE,EAAE,OAAO,EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC7E,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
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}).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,SAAS,iDAOF;AACV,CAAC"}
@@ -5,25 +5,25 @@ const OpenweatherApiGetAirPollutionCurrentInput = zod.z.object({
5
5
  lat: zod.z.number().describe("Latitude of the location, between -90 and 90"),
6
6
  lon: zod.z.number().describe("Longitude of the location, between -180 and 180")
7
7
  });
8
- const OpenweatherApiGetAirPollutionCurrent_MainSchema = zod.z.object({ aqi: zod.z.number().int().describe("Air Quality Index (1=Good, 5=Very Poor)") });
8
+ const OpenweatherApiGetAirPollutionCurrent_MainSchema = zod.z.object({ aqi: zod.z.number().int().describe("Air Quality Index (1=Good, 5=Very Poor)").nullable() });
9
9
  const OpenweatherApiGetAirPollutionCurrent_ComponentsSchema = zod.z.object({
10
- co: zod.z.number().describe("CO concentration, μg/m3"),
11
- no: zod.z.number().describe("Nitric oxide concentration, μg/m3"),
12
- o3: zod.z.number().describe("Ozone concentration, μg/m3"),
13
- nh3: zod.z.number().describe("Ammonia concentration, μg/m3"),
14
- no2: zod.z.number().describe("Nitrogen dioxide concentration, μg/m3"),
15
- so2: zod.z.number().describe("Sulphur dioxide concentration, μg/m3"),
16
- pm10: zod.z.number().describe("Particulate matter <10 μm, μg/m3"),
17
- pm2_5: zod.z.number().describe("Particulate matter <2.5 μm, μg/m3")
10
+ co: zod.z.number().describe("CO concentration, μg/m3").nullable(),
11
+ no: zod.z.number().describe("Nitric oxide concentration, μg/m3").nullable(),
12
+ o3: zod.z.number().describe("Ozone concentration, μg/m3").nullable(),
13
+ nh3: zod.z.number().describe("Ammonia concentration, μg/m3").nullable(),
14
+ no2: zod.z.number().describe("Nitrogen dioxide concentration, μg/m3").nullable(),
15
+ so2: zod.z.number().describe("Sulphur dioxide concentration, μg/m3").nullable(),
16
+ pm10: zod.z.number().describe("Particulate matter <10 μm, μg/m3").nullable(),
17
+ pm2_5: zod.z.number().describe("Particulate matter <2.5 μm, μg/m3").nullable()
18
18
  });
19
19
  const OpenweatherApiGetAirPollutionCurrent_DataPointSchema = zod.z.object({
20
- dt: zod.z.number().int().describe("Time of data calculation, UNIX UTC timestamp"),
20
+ dt: zod.z.number().int().describe("Time of data calculation, UNIX UTC timestamp").nullable(),
21
21
  main: OpenweatherApiGetAirPollutionCurrent_MainSchema.nullable(),
22
22
  components: OpenweatherApiGetAirPollutionCurrent_ComponentsSchema.nullable()
23
23
  });
24
24
  const OpenweatherApiGetAirPollutionCurrent_CoordSchema = zod.z.object({
25
- lat: zod.z.number().describe("Latitude of the location"),
26
- lon: zod.z.number().describe("Longitude of the location")
25
+ lat: zod.z.number().describe("Latitude of the location").nullable(),
26
+ lon: zod.z.number().describe("Longitude of the location").nullable()
27
27
  });
28
28
  const OpenweatherApiGetAirPollutionCurrentOutput = zod.z.object({
29
29
  list: zod.z.array(OpenweatherApiGetAirPollutionCurrent_DataPointSchema).describe("Array of air quality measurements"),
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n aqi: z.number().int().describe(\"Air Quality Index (1=Good, 5=Very Poor)\"),\n});\nconst OpenweatherApiGetAirPollutionCurrent_ComponentsSchema: z.ZodTypeAny = z.object({\n co: z.number().describe(\"CO concentration, μg/m3\"),\n no: z.number().describe(\"Nitric oxide concentration, μg/m3\"),\n o3: z.number().describe(\"Ozone concentration, μg/m3\"),\n nh3: z.number().describe(\"Ammonia concentration, μg/m3\"),\n no2: z.number().describe(\"Nitrogen dioxide concentration, μg/m3\"),\n so2: z.number().describe(\"Sulphur dioxide concentration, μg/m3\"),\n pm10: z.number().describe(\"Particulate matter <10 μm, μg/m3\"),\n pm2_5: z.number().describe(\"Particulate matter <2.5 μm, μg/m3\"),\n});\nconst OpenweatherApiGetAirPollutionCurrent_DataPointSchema: z.ZodTypeAny = z.object({\n dt: z.number().int().describe(\"Time of data calculation, UNIX UTC timestamp\"),\n main: OpenweatherApiGetAirPollutionCurrent_MainSchema.nullable(),\n components: OpenweatherApiGetAirPollutionCurrent_ComponentsSchema.nullable(),\n});\nconst OpenweatherApiGetAirPollutionCurrent_CoordSchema: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude of the location\"),\n lon: z.number().describe(\"Longitude of the location\"),\n});\nexport const OpenweatherApiGetAirPollutionCurrentOutput: z.ZodTypeAny = z.object({\n list: z.array(OpenweatherApiGetAirPollutionCurrent_DataPointSchema).describe(\"Array of air quality measurements\"),\n coord: OpenweatherApiGetAirPollutionCurrent_CoordSchema.nullable(),\n});\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,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AAC5E,CAAC;AACD,MAAM,kDAAgEA,IAAAA,EAAE,OAAO,EAC7E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,EAC1E,CAAC;AACD,MAAM,wDAAsEA,IAAAA,EAAE,OAAO;CACnF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AAChE,CAAC;AACD,MAAM,uDAAqEA,IAAAA,EAAE,OAAO;CAClF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CAC5E,MAAM,gDAAgD,SAAS;CAC/D,YAAY,sDAAsD,SAAS;AAC7E,CAAC;AACD,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;AACtD,CAAC;AACD,MAAa,6CAA2DA,IAAAA,EAAE,OAAO;CAC/E,MAAMA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,mCAAmC;CAChH,OAAO,iDAAiD,SAAS;AACnE,CAAC;AAED,MAAa,uCAAuCC,eAAAA,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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});\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});\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});\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});\nexport const OpenweatherApiGetAirPollutionCurrentOutput = z.object({\n list: z.array(OpenweatherApiGetAirPollutionCurrent_DataPointSchema).describe(\"Array of air quality measurements\"),\n coord: OpenweatherApiGetAirPollutionCurrent_CoordSchema.nullable(),\n});\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;AACD,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;AACD,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;AACD,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;AACD,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,mCAAmC;CAChH,OAAO,iDAAiD,SAAS;AACnE,CAAC;AAED,MAAa,uCAAuCC,eAAAA,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-air-pollution-current.d.ts
4
- declare const OpenweatherApiGetAirPollutionCurrentInput: z.ZodTypeAny;
5
- declare const OpenweatherApiGetAirPollutionCurrentOutput: z.ZodTypeAny;
6
- declare const openweatherApiGetAirPollutionCurrent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OpenweatherApiGetAirPollutionCurrentInput: z.ZodObject<{
5
+ lat: z.ZodNumber;
6
+ lon: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const OpenweatherApiGetAirPollutionCurrentOutput: z.ZodObject<{
9
+ list: z.ZodArray<z.ZodObject<{
10
+ dt: z.ZodNullable<z.ZodNumber>;
11
+ main: z.ZodNullable<z.ZodObject<{
12
+ aqi: z.ZodNullable<z.ZodNumber>;
13
+ }, z.core.$strip>>;
14
+ components: z.ZodNullable<z.ZodObject<{
15
+ co: z.ZodNullable<z.ZodNumber>;
16
+ no: z.ZodNullable<z.ZodNumber>;
17
+ o3: z.ZodNullable<z.ZodNumber>;
18
+ nh3: z.ZodNullable<z.ZodNumber>;
19
+ no2: z.ZodNullable<z.ZodNumber>;
20
+ so2: z.ZodNullable<z.ZodNumber>;
21
+ pm10: z.ZodNullable<z.ZodNumber>;
22
+ pm2_5: z.ZodNullable<z.ZodNumber>;
23
+ }, z.core.$strip>>;
24
+ }, z.core.$strip>>;
25
+ coord: z.ZodNullable<z.ZodObject<{
26
+ lat: z.ZodNullable<z.ZodNumber>;
27
+ lon: z.ZodNullable<z.ZodNumber>;
28
+ }, z.core.$strip>>;
29
+ }, z.core.$strip>;
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]>;
7
34
  //#endregion
8
35
  export { openweatherApiGetAirPollutionCurrent };
9
36
  //# 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,EAA2C,CAAA,CAAE,UAGxD;AAAA,cAuBW,0CAAA,EAA4C,CAAA,CAAE,UAGzD;AAAA,cAEW,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-air-pollution-current.d.ts
4
- declare const OpenweatherApiGetAirPollutionCurrentInput: z.ZodTypeAny;
5
- declare const OpenweatherApiGetAirPollutionCurrentOutput: z.ZodTypeAny;
6
- declare const openweatherApiGetAirPollutionCurrent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OpenweatherApiGetAirPollutionCurrentInput: z.ZodObject<{
5
+ lat: z.ZodNumber;
6
+ lon: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const OpenweatherApiGetAirPollutionCurrentOutput: z.ZodObject<{
9
+ list: z.ZodArray<z.ZodObject<{
10
+ dt: z.ZodNullable<z.ZodNumber>;
11
+ main: z.ZodNullable<z.ZodObject<{
12
+ aqi: z.ZodNullable<z.ZodNumber>;
13
+ }, z.core.$strip>>;
14
+ components: z.ZodNullable<z.ZodObject<{
15
+ co: z.ZodNullable<z.ZodNumber>;
16
+ no: z.ZodNullable<z.ZodNumber>;
17
+ o3: z.ZodNullable<z.ZodNumber>;
18
+ nh3: z.ZodNullable<z.ZodNumber>;
19
+ no2: z.ZodNullable<z.ZodNumber>;
20
+ so2: z.ZodNullable<z.ZodNumber>;
21
+ pm10: z.ZodNullable<z.ZodNumber>;
22
+ pm2_5: z.ZodNullable<z.ZodNumber>;
23
+ }, z.core.$strip>>;
24
+ }, z.core.$strip>>;
25
+ coord: z.ZodNullable<z.ZodObject<{
26
+ lat: z.ZodNullable<z.ZodNumber>;
27
+ lon: z.ZodNullable<z.ZodNumber>;
28
+ }, z.core.$strip>>;
29
+ }, z.core.$strip>;
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]>;
7
34
  //#endregion
8
35
  export { openweatherApiGetAirPollutionCurrent };
9
36
  //# 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,EAA2C,CAAA,CAAE,UAGxD;AAAA,cAuBW,0CAAA,EAA4C,CAAA,CAAE,UAGzD;AAAA,cAEW,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -5,25 +5,25 @@ const OpenweatherApiGetAirPollutionCurrentInput = z.object({
5
5
  lat: z.number().describe("Latitude of the location, between -90 and 90"),
6
6
  lon: z.number().describe("Longitude of the location, between -180 and 180")
7
7
  });
8
- const OpenweatherApiGetAirPollutionCurrent_MainSchema = z.object({ aqi: z.number().int().describe("Air Quality Index (1=Good, 5=Very Poor)") });
8
+ const OpenweatherApiGetAirPollutionCurrent_MainSchema = z.object({ aqi: z.number().int().describe("Air Quality Index (1=Good, 5=Very Poor)").nullable() });
9
9
  const OpenweatherApiGetAirPollutionCurrent_ComponentsSchema = z.object({
10
- co: z.number().describe("CO concentration, μg/m3"),
11
- no: z.number().describe("Nitric oxide concentration, μg/m3"),
12
- o3: z.number().describe("Ozone concentration, μg/m3"),
13
- nh3: z.number().describe("Ammonia concentration, μg/m3"),
14
- no2: z.number().describe("Nitrogen dioxide concentration, μg/m3"),
15
- so2: z.number().describe("Sulphur dioxide concentration, μg/m3"),
16
- pm10: z.number().describe("Particulate matter <10 μm, μg/m3"),
17
- pm2_5: z.number().describe("Particulate matter <2.5 μm, μg/m3")
10
+ co: z.number().describe("CO concentration, μg/m3").nullable(),
11
+ no: z.number().describe("Nitric oxide concentration, μg/m3").nullable(),
12
+ o3: z.number().describe("Ozone concentration, μg/m3").nullable(),
13
+ nh3: z.number().describe("Ammonia concentration, μg/m3").nullable(),
14
+ no2: z.number().describe("Nitrogen dioxide concentration, μg/m3").nullable(),
15
+ so2: z.number().describe("Sulphur dioxide concentration, μg/m3").nullable(),
16
+ pm10: z.number().describe("Particulate matter <10 μm, μg/m3").nullable(),
17
+ pm2_5: z.number().describe("Particulate matter <2.5 μm, μg/m3").nullable()
18
18
  });
19
19
  const OpenweatherApiGetAirPollutionCurrent_DataPointSchema = z.object({
20
- dt: z.number().int().describe("Time of data calculation, UNIX UTC timestamp"),
20
+ dt: z.number().int().describe("Time of data calculation, UNIX UTC timestamp").nullable(),
21
21
  main: OpenweatherApiGetAirPollutionCurrent_MainSchema.nullable(),
22
22
  components: OpenweatherApiGetAirPollutionCurrent_ComponentsSchema.nullable()
23
23
  });
24
24
  const OpenweatherApiGetAirPollutionCurrent_CoordSchema = z.object({
25
- lat: z.number().describe("Latitude of the location"),
26
- lon: z.number().describe("Longitude of the location")
25
+ lat: z.number().describe("Latitude of the location").nullable(),
26
+ lon: z.number().describe("Longitude of the location").nullable()
27
27
  });
28
28
  const openweatherApiGetAirPollutionCurrent = action("OPENWEATHER_API_GET_AIR_POLLUTION_CURRENT", {
29
29
  slug: "openweather_api-get-air-pollution-current",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n aqi: z.number().int().describe(\"Air Quality Index (1=Good, 5=Very Poor)\"),\n});\nconst OpenweatherApiGetAirPollutionCurrent_ComponentsSchema: z.ZodTypeAny = z.object({\n co: z.number().describe(\"CO concentration, μg/m3\"),\n no: z.number().describe(\"Nitric oxide concentration, μg/m3\"),\n o3: z.number().describe(\"Ozone concentration, μg/m3\"),\n nh3: z.number().describe(\"Ammonia concentration, μg/m3\"),\n no2: z.number().describe(\"Nitrogen dioxide concentration, μg/m3\"),\n so2: z.number().describe(\"Sulphur dioxide concentration, μg/m3\"),\n pm10: z.number().describe(\"Particulate matter <10 μm, μg/m3\"),\n pm2_5: z.number().describe(\"Particulate matter <2.5 μm, μg/m3\"),\n});\nconst OpenweatherApiGetAirPollutionCurrent_DataPointSchema: z.ZodTypeAny = z.object({\n dt: z.number().int().describe(\"Time of data calculation, UNIX UTC timestamp\"),\n main: OpenweatherApiGetAirPollutionCurrent_MainSchema.nullable(),\n components: OpenweatherApiGetAirPollutionCurrent_ComponentsSchema.nullable(),\n});\nconst OpenweatherApiGetAirPollutionCurrent_CoordSchema: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude of the location\"),\n lon: z.number().describe(\"Longitude of the location\"),\n});\nexport const OpenweatherApiGetAirPollutionCurrentOutput: z.ZodTypeAny = z.object({\n list: z.array(OpenweatherApiGetAirPollutionCurrent_DataPointSchema).describe(\"Array of air quality measurements\"),\n coord: OpenweatherApiGetAirPollutionCurrent_CoordSchema.nullable(),\n});\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,4CAA0D,EAAE,OAAO;CAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AAC5E,CAAC;AACD,MAAM,kDAAgE,EAAE,OAAO,EAC7E,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,EAC1E,CAAC;AACD,MAAM,wDAAsE,EAAE,OAAO;CACnF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AAChE,CAAC;AACD,MAAM,uDAAqE,EAAE,OAAO;CAClF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CAC5E,MAAM,gDAAgD,SAAS;CAC/D,YAAY,sDAAsD,SAAS;AAC7E,CAAC;AACD,MAAM,mDAAiE,EAAE,OAAO;CAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;AACtD,CAAC;AAMD,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsE,EAAE,OAAO;EAC/E,MAAM,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,mCAAmC;EAChH,OAAO,iDAAiD,SAAS;CACnE,CAOU;AACV,CAAC"}
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});\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});\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});\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});\nexport const OpenweatherApiGetAirPollutionCurrentOutput = z.object({\n list: z.array(OpenweatherApiGetAirPollutionCurrent_DataPointSchema).describe(\"Array of air quality measurements\"),\n coord: OpenweatherApiGetAirPollutionCurrent_CoordSchema.nullable(),\n});\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;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;AACD,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;AACD,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;AACD,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;AAMD,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,CAOU;AACV,CAAC"}
@@ -5,25 +5,25 @@ const OpenweatherApiGetAirPollutionForecastInput = zod.z.object({
5
5
  lat: zod.z.number().describe("Geographical latitude in decimal degrees (range -90 to 90)"),
6
6
  lon: zod.z.number().describe("Geographical longitude in decimal degrees (range -180 to 180)")
7
7
  });
8
- const OpenweatherApiGetAirPollutionForecast_MainSchema = zod.z.object({ aqi: zod.z.number().int().describe("Air Quality Index (1=good, 5=very poor)") });
8
+ const OpenweatherApiGetAirPollutionForecast_MainSchema = zod.z.object({ aqi: zod.z.number().int().describe("Air Quality Index (1=good, 5=very poor)").nullable() });
9
9
  const OpenweatherApiGetAirPollutionForecast_ComponentsSchema = zod.z.object({
10
- co: zod.z.number().describe("Carbon monoxide concentration (μg/m3)"),
11
- no: zod.z.number().describe("Nitrogen monoxide concentration (μg/m3)"),
12
- o3: zod.z.number().describe("Ozone concentration (μg/m3)"),
13
- nh3: zod.z.number().describe("Ammonia concentration (μg/m3)"),
14
- no2: zod.z.number().describe("Nitrogen dioxide concentration (μg/m3)"),
15
- so2: zod.z.number().describe("Sulphur dioxide concentration (μg/m3)"),
16
- pm10: zod.z.number().describe("Coarse particulate matter (μg/m3)"),
17
- pm2_5: zod.z.number().describe("Fine particulate matter (μg/m3)")
10
+ co: zod.z.number().describe("Carbon monoxide concentration (μg/m3)").nullable(),
11
+ no: zod.z.number().describe("Nitrogen monoxide concentration (μg/m3)").nullable(),
12
+ o3: zod.z.number().describe("Ozone concentration (μg/m3)").nullable(),
13
+ nh3: zod.z.number().describe("Ammonia concentration (μg/m3)").nullable(),
14
+ no2: zod.z.number().describe("Nitrogen dioxide concentration (μg/m3)").nullable(),
15
+ so2: zod.z.number().describe("Sulphur dioxide concentration (μg/m3)").nullable(),
16
+ pm10: zod.z.number().describe("Coarse particulate matter (μg/m3)").nullable(),
17
+ pm2_5: zod.z.number().describe("Fine particulate matter (μg/m3)").nullable()
18
18
  });
19
19
  const OpenweatherApiGetAirPollutionForecast_ForecastItemSchema = zod.z.object({
20
- dt: zod.z.number().int().describe("Time of the forecasted data, Unix time, UTC"),
20
+ dt: zod.z.number().int().describe("Time of the forecasted data, Unix time, UTC").nullable(),
21
21
  main: OpenweatherApiGetAirPollutionForecast_MainSchema.nullable(),
22
22
  components: OpenweatherApiGetAirPollutionForecast_ComponentsSchema.nullable()
23
23
  });
24
24
  const OpenweatherApiGetAirPollutionForecast_CoordSchema = zod.z.object({
25
- lat: zod.z.number().describe("Latitude of the location"),
26
- lon: zod.z.number().describe("Longitude of the location")
25
+ lat: zod.z.number().describe("Latitude of the location").nullable(),
26
+ lon: zod.z.number().describe("Longitude of the location").nullable()
27
27
  });
28
28
  const OpenweatherApiGetAirPollutionForecastOutput = zod.z.object({
29
29
  list: zod.z.array(OpenweatherApiGetAirPollutionForecast_ForecastItemSchema).describe("Array of forecasted air pollution data"),
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n aqi: z.number().int().describe(\"Air Quality Index (1=good, 5=very poor)\"),\n});\nconst OpenweatherApiGetAirPollutionForecast_ComponentsSchema: z.ZodTypeAny = z.object({\n co: z.number().describe(\"Carbon monoxide concentration (μg/m3)\"),\n no: z.number().describe(\"Nitrogen monoxide concentration (μg/m3)\"),\n o3: z.number().describe(\"Ozone concentration (μg/m3)\"),\n nh3: z.number().describe(\"Ammonia concentration (μg/m3)\"),\n no2: z.number().describe(\"Nitrogen dioxide concentration (μg/m3)\"),\n so2: z.number().describe(\"Sulphur dioxide concentration (μg/m3)\"),\n pm10: z.number().describe(\"Coarse particulate matter (μg/m3)\"),\n pm2_5: z.number().describe(\"Fine particulate matter (μg/m3)\"),\n});\nconst OpenweatherApiGetAirPollutionForecast_ForecastItemSchema: z.ZodTypeAny = z.object({\n dt: z.number().int().describe(\"Time of the forecasted data, Unix time, UTC\"),\n main: OpenweatherApiGetAirPollutionForecast_MainSchema.nullable(),\n components: OpenweatherApiGetAirPollutionForecast_ComponentsSchema.nullable(),\n});\nconst OpenweatherApiGetAirPollutionForecast_CoordSchema: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude of the location\"),\n lon: z.number().describe(\"Longitude of the location\"),\n});\nexport const OpenweatherApiGetAirPollutionForecastOutput: z.ZodTypeAny = z.object({\n list: z.array(OpenweatherApiGetAirPollutionForecast_ForecastItemSchema).describe(\"Array of forecasted air pollution data\"),\n coord: OpenweatherApiGetAirPollutionForecast_CoordSchema.nullable(),\n});\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,6CAA2DA,IAAAA,EAAE,OAAO;CAC/E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACrF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;AAC1F,CAAC;AACD,MAAM,mDAAiEA,IAAAA,EAAE,OAAO,EAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,EAC1E,CAAC;AACD,MAAM,yDAAuEA,IAAAA,EAAE,OAAO;CACpF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AAC9D,CAAC;AACD,MAAM,2DAAyEA,IAAAA,EAAE,OAAO;CACtF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAC3E,MAAM,iDAAiD,SAAS;CAChE,YAAY,uDAAuD,SAAS;AAC9E,CAAC;AACD,MAAM,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;AACtD,CAAC;AACD,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,MAAMA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,wCAAwC;CACzH,OAAO,kDAAkD,SAAS;AACpE,CAAC;AAED,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 { 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});\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});\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});\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});\nexport const OpenweatherApiGetAirPollutionForecastOutput = z.object({\n list: z.array(OpenweatherApiGetAirPollutionForecast_ForecastItemSchema).describe(\"Array of forecasted air pollution data\"),\n coord: OpenweatherApiGetAirPollutionForecast_CoordSchema.nullable(),\n});\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;AACD,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;AACD,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;AACD,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;AACD,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,wCAAwC;CACzH,OAAO,kDAAkD,SAAS;AACpE,CAAC;AAED,MAAa,wCAAwCC,eAAAA,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-air-pollution-forecast.d.ts
4
- declare const OpenweatherApiGetAirPollutionForecastInput: z.ZodTypeAny;
5
- declare const OpenweatherApiGetAirPollutionForecastOutput: z.ZodTypeAny;
6
- declare const openweatherApiGetAirPollutionForecast: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OpenweatherApiGetAirPollutionForecastInput: z.ZodObject<{
5
+ lat: z.ZodNumber;
6
+ lon: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const OpenweatherApiGetAirPollutionForecastOutput: z.ZodObject<{
9
+ list: z.ZodArray<z.ZodObject<{
10
+ dt: z.ZodNullable<z.ZodNumber>;
11
+ main: z.ZodNullable<z.ZodObject<{
12
+ aqi: z.ZodNullable<z.ZodNumber>;
13
+ }, z.core.$strip>>;
14
+ components: z.ZodNullable<z.ZodObject<{
15
+ co: z.ZodNullable<z.ZodNumber>;
16
+ no: z.ZodNullable<z.ZodNumber>;
17
+ o3: z.ZodNullable<z.ZodNumber>;
18
+ nh3: z.ZodNullable<z.ZodNumber>;
19
+ no2: z.ZodNullable<z.ZodNumber>;
20
+ so2: z.ZodNullable<z.ZodNumber>;
21
+ pm10: z.ZodNullable<z.ZodNumber>;
22
+ pm2_5: z.ZodNullable<z.ZodNumber>;
23
+ }, z.core.$strip>>;
24
+ }, z.core.$strip>>;
25
+ coord: z.ZodNullable<z.ZodObject<{
26
+ lat: z.ZodNullable<z.ZodNumber>;
27
+ lon: z.ZodNullable<z.ZodNumber>;
28
+ }, z.core.$strip>>;
29
+ }, z.core.$strip>;
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]>;
7
34
  //#endregion
8
35
  export { openweatherApiGetAirPollutionForecast };
9
36
  //# 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,EAA4C,CAAA,CAAE,UAGzD;AAAA,cAuBW,2CAAA,EAA6C,CAAA,CAAE,UAG1D;AAAA,cAEW,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-air-pollution-forecast.d.ts
4
- declare const OpenweatherApiGetAirPollutionForecastInput: z.ZodTypeAny;
5
- declare const OpenweatherApiGetAirPollutionForecastOutput: z.ZodTypeAny;
6
- declare const openweatherApiGetAirPollutionForecast: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OpenweatherApiGetAirPollutionForecastInput: z.ZodObject<{
5
+ lat: z.ZodNumber;
6
+ lon: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const OpenweatherApiGetAirPollutionForecastOutput: z.ZodObject<{
9
+ list: z.ZodArray<z.ZodObject<{
10
+ dt: z.ZodNullable<z.ZodNumber>;
11
+ main: z.ZodNullable<z.ZodObject<{
12
+ aqi: z.ZodNullable<z.ZodNumber>;
13
+ }, z.core.$strip>>;
14
+ components: z.ZodNullable<z.ZodObject<{
15
+ co: z.ZodNullable<z.ZodNumber>;
16
+ no: z.ZodNullable<z.ZodNumber>;
17
+ o3: z.ZodNullable<z.ZodNumber>;
18
+ nh3: z.ZodNullable<z.ZodNumber>;
19
+ no2: z.ZodNullable<z.ZodNumber>;
20
+ so2: z.ZodNullable<z.ZodNumber>;
21
+ pm10: z.ZodNullable<z.ZodNumber>;
22
+ pm2_5: z.ZodNullable<z.ZodNumber>;
23
+ }, z.core.$strip>>;
24
+ }, z.core.$strip>>;
25
+ coord: z.ZodNullable<z.ZodObject<{
26
+ lat: z.ZodNullable<z.ZodNumber>;
27
+ lon: z.ZodNullable<z.ZodNumber>;
28
+ }, z.core.$strip>>;
29
+ }, z.core.$strip>;
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]>;
7
34
  //#endregion
8
35
  export { openweatherApiGetAirPollutionForecast };
9
36
  //# 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,EAA4C,CAAA,CAAE,UAGzD;AAAA,cAuBW,2CAAA,EAA6C,CAAA,CAAE,UAG1D;AAAA,cAEW,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -5,25 +5,25 @@ const OpenweatherApiGetAirPollutionForecastInput = z.object({
5
5
  lat: z.number().describe("Geographical latitude in decimal degrees (range -90 to 90)"),
6
6
  lon: z.number().describe("Geographical longitude in decimal degrees (range -180 to 180)")
7
7
  });
8
- const OpenweatherApiGetAirPollutionForecast_MainSchema = z.object({ aqi: z.number().int().describe("Air Quality Index (1=good, 5=very poor)") });
8
+ const OpenweatherApiGetAirPollutionForecast_MainSchema = z.object({ aqi: z.number().int().describe("Air Quality Index (1=good, 5=very poor)").nullable() });
9
9
  const OpenweatherApiGetAirPollutionForecast_ComponentsSchema = z.object({
10
- co: z.number().describe("Carbon monoxide concentration (μg/m3)"),
11
- no: z.number().describe("Nitrogen monoxide concentration (μg/m3)"),
12
- o3: z.number().describe("Ozone concentration (μg/m3)"),
13
- nh3: z.number().describe("Ammonia concentration (μg/m3)"),
14
- no2: z.number().describe("Nitrogen dioxide concentration (μg/m3)"),
15
- so2: z.number().describe("Sulphur dioxide concentration (μg/m3)"),
16
- pm10: z.number().describe("Coarse particulate matter (μg/m3)"),
17
- pm2_5: z.number().describe("Fine particulate matter (μg/m3)")
10
+ co: z.number().describe("Carbon monoxide concentration (μg/m3)").nullable(),
11
+ no: z.number().describe("Nitrogen monoxide concentration (μg/m3)").nullable(),
12
+ o3: z.number().describe("Ozone concentration (μg/m3)").nullable(),
13
+ nh3: z.number().describe("Ammonia concentration (μg/m3)").nullable(),
14
+ no2: z.number().describe("Nitrogen dioxide concentration (μg/m3)").nullable(),
15
+ so2: z.number().describe("Sulphur dioxide concentration (μg/m3)").nullable(),
16
+ pm10: z.number().describe("Coarse particulate matter (μg/m3)").nullable(),
17
+ pm2_5: z.number().describe("Fine particulate matter (μg/m3)").nullable()
18
18
  });
19
19
  const OpenweatherApiGetAirPollutionForecast_ForecastItemSchema = z.object({
20
- dt: z.number().int().describe("Time of the forecasted data, Unix time, UTC"),
20
+ dt: z.number().int().describe("Time of the forecasted data, Unix time, UTC").nullable(),
21
21
  main: OpenweatherApiGetAirPollutionForecast_MainSchema.nullable(),
22
22
  components: OpenweatherApiGetAirPollutionForecast_ComponentsSchema.nullable()
23
23
  });
24
24
  const OpenweatherApiGetAirPollutionForecast_CoordSchema = z.object({
25
- lat: z.number().describe("Latitude of the location"),
26
- lon: z.number().describe("Longitude of the location")
25
+ lat: z.number().describe("Latitude of the location").nullable(),
26
+ lon: z.number().describe("Longitude of the location").nullable()
27
27
  });
28
28
  const openweatherApiGetAirPollutionForecast = action("OPENWEATHER_API_GET_AIR_POLLUTION_FORECAST", {
29
29
  slug: "openweather_api-get-air-pollution-forecast",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n aqi: z.number().int().describe(\"Air Quality Index (1=good, 5=very poor)\"),\n});\nconst OpenweatherApiGetAirPollutionForecast_ComponentsSchema: z.ZodTypeAny = z.object({\n co: z.number().describe(\"Carbon monoxide concentration (μg/m3)\"),\n no: z.number().describe(\"Nitrogen monoxide concentration (μg/m3)\"),\n o3: z.number().describe(\"Ozone concentration (μg/m3)\"),\n nh3: z.number().describe(\"Ammonia concentration (μg/m3)\"),\n no2: z.number().describe(\"Nitrogen dioxide concentration (μg/m3)\"),\n so2: z.number().describe(\"Sulphur dioxide concentration (μg/m3)\"),\n pm10: z.number().describe(\"Coarse particulate matter (μg/m3)\"),\n pm2_5: z.number().describe(\"Fine particulate matter (μg/m3)\"),\n});\nconst OpenweatherApiGetAirPollutionForecast_ForecastItemSchema: z.ZodTypeAny = z.object({\n dt: z.number().int().describe(\"Time of the forecasted data, Unix time, UTC\"),\n main: OpenweatherApiGetAirPollutionForecast_MainSchema.nullable(),\n components: OpenweatherApiGetAirPollutionForecast_ComponentsSchema.nullable(),\n});\nconst OpenweatherApiGetAirPollutionForecast_CoordSchema: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude of the location\"),\n lon: z.number().describe(\"Longitude of the location\"),\n});\nexport const OpenweatherApiGetAirPollutionForecastOutput: z.ZodTypeAny = z.object({\n list: z.array(OpenweatherApiGetAirPollutionForecast_ForecastItemSchema).describe(\"Array of forecasted air pollution data\"),\n coord: OpenweatherApiGetAirPollutionForecast_CoordSchema.nullable(),\n});\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,6CAA2D,EAAE,OAAO;CAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACrF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;AAC1F,CAAC;AACD,MAAM,mDAAiE,EAAE,OAAO,EAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,EAC1E,CAAC;AACD,MAAM,yDAAuE,EAAE,OAAO;CACpF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AAC9D,CAAC;AACD,MAAM,2DAAyE,EAAE,OAAO;CACtF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAC3E,MAAM,iDAAiD,SAAS;CAChE,YAAY,uDAAuD,SAAS;AAC9E,CAAC;AACD,MAAM,oDAAkE,EAAE,OAAO;CAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;AACtD,CAAC;AAMD,MAAa,wCAAwC,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuE,EAAE,OAAO;EAChF,MAAM,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,wCAAwC;EACzH,OAAO,kDAAkD,SAAS;CACpE,CAOU;AACV,CAAC"}
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});\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});\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});\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});\nexport const OpenweatherApiGetAirPollutionForecastOutput = z.object({\n list: z.array(OpenweatherApiGetAirPollutionForecast_ForecastItemSchema).describe(\"Array of forecasted air pollution data\"),\n coord: OpenweatherApiGetAirPollutionForecast_CoordSchema.nullable(),\n});\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;AACD,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;AACD,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;AACD,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;AAMD,MAAa,wCAAwC,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyD,EAAE,OAAO;EAClE,MAAM,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,wCAAwC;EACzH,OAAO,kDAAkD,SAAS;CACpE,CAOU;AACV,CAAC"}
@@ -7,19 +7,19 @@ const OpenweatherApiGetAirPollutionHistoryInput = zod.z.object({
7
7
  lon: zod.z.number().describe("Longitude of the location (range: -180 to 180)"),
8
8
  start: zod.z.number().int().describe("Start UNIX timestamp (UTC seconds); must be <= end")
9
9
  });
10
- const OpenweatherApiGetAirPollutionHistory_MainDataSchema = zod.z.object({ aqi: zod.z.number().int().describe("Air Quality Index (0=No data, 1=Good, 2=Fair, 3=Moderate, 4=Poor, 5=Very Poor)") });
10
+ const OpenweatherApiGetAirPollutionHistory_MainDataSchema = zod.z.object({ aqi: zod.z.number().int().describe("Air Quality Index (0=No data, 1=Good, 2=Fair, 3=Moderate, 4=Poor, 5=Very Poor)").nullable() });
11
11
  const OpenweatherApiGetAirPollutionHistory_AirPollutionComponentsSchema = zod.z.object({
12
- co: zod.z.number().describe("Carbon monoxide concentration in μg/m3"),
13
- no: zod.z.number().describe("Nitrogen monoxide concentration in μg/m3"),
14
- o3: zod.z.number().describe("Ozone concentration in μg/m3"),
15
- nh3: zod.z.number().describe("Ammonia concentration in μg/m3"),
16
- no2: zod.z.number().describe("Nitrogen dioxide concentration in μg/m3"),
17
- so2: zod.z.number().describe("Sulfur dioxide concentration in μg/m3"),
18
- pm10: zod.z.number().describe("Coarse particulate matter (PM10) concentration in μg/m3"),
19
- pm2_5: zod.z.number().describe("Fine particulate matter (PM2.5) concentration in μg/m3")
12
+ co: zod.z.number().describe("Carbon monoxide concentration in μg/m3").nullable(),
13
+ no: zod.z.number().describe("Nitrogen monoxide concentration in μg/m3").nullable(),
14
+ o3: zod.z.number().describe("Ozone concentration in μg/m3").nullable(),
15
+ nh3: zod.z.number().describe("Ammonia concentration in μg/m3").nullable(),
16
+ no2: zod.z.number().describe("Nitrogen dioxide concentration in μg/m3").nullable(),
17
+ so2: zod.z.number().describe("Sulfur dioxide concentration in μg/m3").nullable(),
18
+ pm10: zod.z.number().describe("Coarse particulate matter (PM10) concentration in μg/m3").nullable(),
19
+ pm2_5: zod.z.number().describe("Fine particulate matter (PM2.5) concentration in μg/m3").nullable()
20
20
  });
21
21
  const OpenweatherApiGetAirPollutionHistory_AirPollutionRecordSchema = zod.z.object({
22
- dt: zod.z.number().int().describe("Data time (UNIX UTC seconds)"),
22
+ dt: zod.z.number().int().describe("Data time (UNIX UTC seconds)").nullable(),
23
23
  main: OpenweatherApiGetAirPollutionHistory_MainDataSchema.nullable(),
24
24
  components: OpenweatherApiGetAirPollutionHistory_AirPollutionComponentsSchema.nullable()
25
25
  });