@keystrokehq/openweather_api 0.1.0 → 0.1.3

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 (176) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/delete-weather-station.cjs +1 -1
  5. package/dist/actions/delete-weather-station.cjs.map +1 -1
  6. package/dist/actions/delete-weather-station.d.cts +9 -3
  7. package/dist/actions/delete-weather-station.d.cts.map +1 -1
  8. package/dist/actions/delete-weather-station.d.mts +9 -3
  9. package/dist/actions/delete-weather-station.d.mts.map +1 -1
  10. package/dist/actions/delete-weather-station.mjs +1 -1
  11. package/dist/actions/delete-weather-station.mjs.map +1 -1
  12. package/dist/actions/get-air-pollution-current.cjs +16 -16
  13. package/dist/actions/get-air-pollution-current.cjs.map +1 -1
  14. package/dist/actions/get-air-pollution-current.d.cts +30 -3
  15. package/dist/actions/get-air-pollution-current.d.cts.map +1 -1
  16. package/dist/actions/get-air-pollution-current.d.mts +30 -3
  17. package/dist/actions/get-air-pollution-current.d.mts.map +1 -1
  18. package/dist/actions/get-air-pollution-current.mjs +16 -16
  19. package/dist/actions/get-air-pollution-current.mjs.map +1 -1
  20. package/dist/actions/get-air-pollution-forecast.cjs +16 -16
  21. package/dist/actions/get-air-pollution-forecast.cjs.map +1 -1
  22. package/dist/actions/get-air-pollution-forecast.d.cts +30 -3
  23. package/dist/actions/get-air-pollution-forecast.d.cts.map +1 -1
  24. package/dist/actions/get-air-pollution-forecast.d.mts +30 -3
  25. package/dist/actions/get-air-pollution-forecast.d.mts.map +1 -1
  26. package/dist/actions/get-air-pollution-forecast.mjs +16 -16
  27. package/dist/actions/get-air-pollution-forecast.mjs.map +1 -1
  28. package/dist/actions/get-air-pollution-history.cjs +14 -14
  29. package/dist/actions/get-air-pollution-history.cjs.map +1 -1
  30. package/dist/actions/get-air-pollution-history.d.cts +31 -3
  31. package/dist/actions/get-air-pollution-history.d.cts.map +1 -1
  32. package/dist/actions/get-air-pollution-history.d.mts +31 -3
  33. package/dist/actions/get-air-pollution-history.d.mts.map +1 -1
  34. package/dist/actions/get-air-pollution-history.mjs +14 -14
  35. package/dist/actions/get-air-pollution-history.mjs.map +1 -1
  36. package/dist/actions/get-circle-city-weather.cjs +30 -30
  37. package/dist/actions/get-circle-city-weather.cjs.map +1 -1
  38. package/dist/actions/get-circle-city-weather.d.cts +75 -3
  39. package/dist/actions/get-circle-city-weather.d.cts.map +1 -1
  40. package/dist/actions/get-circle-city-weather.d.mts +75 -3
  41. package/dist/actions/get-circle-city-weather.d.mts.map +1 -1
  42. package/dist/actions/get-circle-city-weather.mjs +30 -30
  43. package/dist/actions/get-circle-city-weather.mjs.map +1 -1
  44. package/dist/actions/get-current-weather.cjs +32 -32
  45. package/dist/actions/get-current-weather.cjs.map +1 -1
  46. package/dist/actions/get-current-weather.d.cts +74 -3
  47. package/dist/actions/get-current-weather.d.cts.map +1 -1
  48. package/dist/actions/get-current-weather.d.mts +74 -3
  49. package/dist/actions/get-current-weather.d.mts.map +1 -1
  50. package/dist/actions/get-current-weather.mjs +32 -32
  51. package/dist/actions/get-current-weather.mjs.map +1 -1
  52. package/dist/actions/get-geocoding-by-zip.cjs +6 -6
  53. package/dist/actions/get-geocoding-by-zip.cjs.map +1 -1
  54. package/dist/actions/get-geocoding-by-zip.d.cts +13 -3
  55. package/dist/actions/get-geocoding-by-zip.d.cts.map +1 -1
  56. package/dist/actions/get-geocoding-by-zip.d.mts +13 -3
  57. package/dist/actions/get-geocoding-by-zip.d.mts.map +1 -1
  58. package/dist/actions/get-geocoding-by-zip.mjs +6 -6
  59. package/dist/actions/get-geocoding-by-zip.mjs.map +1 -1
  60. package/dist/actions/get-geocoding-direct.cjs.map +1 -1
  61. package/dist/actions/get-geocoding-direct.d.cts +9 -3
  62. package/dist/actions/get-geocoding-direct.d.cts.map +1 -1
  63. package/dist/actions/get-geocoding-direct.d.mts +9 -3
  64. package/dist/actions/get-geocoding-direct.d.mts.map +1 -1
  65. package/dist/actions/get-geocoding-direct.mjs.map +1 -1
  66. package/dist/actions/get-geocoding-reverse.cjs.map +1 -1
  67. package/dist/actions/get-geocoding-reverse.d.cts +11 -3
  68. package/dist/actions/get-geocoding-reverse.d.cts.map +1 -1
  69. package/dist/actions/get-geocoding-reverse.d.mts +11 -3
  70. package/dist/actions/get-geocoding-reverse.d.mts.map +1 -1
  71. package/dist/actions/get-geocoding-reverse.mjs.map +1 -1
  72. package/dist/actions/get-station-measurements.cjs +2 -2
  73. package/dist/actions/get-station-measurements.cjs.map +1 -1
  74. package/dist/actions/get-station-measurements.d.cts +30 -3
  75. package/dist/actions/get-station-measurements.d.cts.map +1 -1
  76. package/dist/actions/get-station-measurements.d.mts +30 -3
  77. package/dist/actions/get-station-measurements.d.mts.map +1 -1
  78. package/dist/actions/get-station-measurements.mjs +2 -2
  79. package/dist/actions/get-station-measurements.mjs.map +1 -1
  80. package/dist/actions/get-uv-index-forecast.cjs.map +1 -1
  81. package/dist/actions/get-uv-index-forecast.d.cts +11 -3
  82. package/dist/actions/get-uv-index-forecast.d.cts.map +1 -1
  83. package/dist/actions/get-uv-index-forecast.d.mts +11 -3
  84. package/dist/actions/get-uv-index-forecast.d.mts.map +1 -1
  85. package/dist/actions/get-uv-index-forecast.mjs.map +1 -1
  86. package/dist/actions/get-uv-index-history.cjs +7 -7
  87. package/dist/actions/get-uv-index-history.cjs.map +1 -1
  88. package/dist/actions/get-uv-index-history.d.cts +21 -3
  89. package/dist/actions/get-uv-index-history.d.cts.map +1 -1
  90. package/dist/actions/get-uv-index-history.d.mts +21 -3
  91. package/dist/actions/get-uv-index-history.d.mts.map +1 -1
  92. package/dist/actions/get-uv-index-history.mjs +7 -7
  93. package/dist/actions/get-uv-index-history.mjs.map +1 -1
  94. package/dist/actions/get-uv-index.cjs +6 -6
  95. package/dist/actions/get-uv-index.cjs.map +1 -1
  96. package/dist/actions/get-uv-index.d.cts +15 -3
  97. package/dist/actions/get-uv-index.d.cts.map +1 -1
  98. package/dist/actions/get-uv-index.d.mts +15 -3
  99. package/dist/actions/get-uv-index.d.mts.map +1 -1
  100. package/dist/actions/get-uv-index.mjs +6 -6
  101. package/dist/actions/get-uv-index.mjs.map +1 -1
  102. package/dist/actions/get-weather-map-tile.cjs +1 -1
  103. package/dist/actions/get-weather-map-tile.cjs.map +1 -1
  104. package/dist/actions/get-weather-map-tile.d.cts +40 -3
  105. package/dist/actions/get-weather-map-tile.d.cts.map +1 -1
  106. package/dist/actions/get-weather-map-tile.d.mts +40 -3
  107. package/dist/actions/get-weather-map-tile.d.mts.map +1 -1
  108. package/dist/actions/get-weather-map-tile.mjs +1 -1
  109. package/dist/actions/get-weather-map-tile.mjs.map +1 -1
  110. package/dist/actions/get-weather-station.cjs +7 -7
  111. package/dist/actions/get-weather-station.cjs.map +1 -1
  112. package/dist/actions/get-weather-station.d.cts +17 -3
  113. package/dist/actions/get-weather-station.d.cts.map +1 -1
  114. package/dist/actions/get-weather-station.d.mts +17 -3
  115. package/dist/actions/get-weather-station.d.mts.map +1 -1
  116. package/dist/actions/get-weather-station.mjs +7 -7
  117. package/dist/actions/get-weather-station.mjs.map +1 -1
  118. package/dist/actions/get-weather-stations.cjs +8 -8
  119. package/dist/actions/get-weather-stations.cjs.map +1 -1
  120. package/dist/actions/get-weather-stations.d.cts +15 -3
  121. package/dist/actions/get-weather-stations.d.cts.map +1 -1
  122. package/dist/actions/get-weather-stations.d.mts +15 -3
  123. package/dist/actions/get-weather-stations.d.mts.map +1 -1
  124. package/dist/actions/get-weather-stations.mjs +8 -8
  125. package/dist/actions/get-weather-stations.mjs.map +1 -1
  126. package/dist/actions/get-weather-triggers.cjs +5 -5
  127. package/dist/actions/get-weather-triggers.cjs.map +1 -1
  128. package/dist/actions/get-weather-triggers.d.cts +35 -3
  129. package/dist/actions/get-weather-triggers.d.cts.map +1 -1
  130. package/dist/actions/get-weather-triggers.d.mts +35 -3
  131. package/dist/actions/get-weather-triggers.d.mts.map +1 -1
  132. package/dist/actions/get-weather-triggers.mjs +5 -5
  133. package/dist/actions/get-weather-triggers.mjs.map +1 -1
  134. package/dist/actions/get5-day-forecast.cjs +35 -35
  135. package/dist/actions/get5-day-forecast.cjs.map +1 -1
  136. package/dist/actions/get5-day-forecast.d.cts +88 -3
  137. package/dist/actions/get5-day-forecast.d.cts.map +1 -1
  138. package/dist/actions/get5-day-forecast.d.mts +88 -3
  139. package/dist/actions/get5-day-forecast.d.mts.map +1 -1
  140. package/dist/actions/get5-day-forecast.mjs +35 -35
  141. package/dist/actions/get5-day-forecast.mjs.map +1 -1
  142. package/dist/actions/post-add-weather-station.cjs +8 -8
  143. package/dist/actions/post-add-weather-station.cjs.map +1 -1
  144. package/dist/actions/post-add-weather-station.d.cts +27 -3
  145. package/dist/actions/post-add-weather-station.d.cts.map +1 -1
  146. package/dist/actions/post-add-weather-station.d.mts +27 -3
  147. package/dist/actions/post-add-weather-station.d.mts.map +1 -1
  148. package/dist/actions/post-add-weather-station.mjs +8 -8
  149. package/dist/actions/post-add-weather-station.mjs.map +1 -1
  150. package/dist/actions/post-submit-station-measurements.cjs +2 -2
  151. package/dist/actions/post-submit-station-measurements.cjs.map +1 -1
  152. package/dist/actions/post-submit-station-measurements.d.cts +31 -3
  153. package/dist/actions/post-submit-station-measurements.d.cts.map +1 -1
  154. package/dist/actions/post-submit-station-measurements.d.mts +31 -3
  155. package/dist/actions/post-submit-station-measurements.d.mts.map +1 -1
  156. package/dist/actions/post-submit-station-measurements.mjs +2 -2
  157. package/dist/actions/post-submit-station-measurements.mjs.map +1 -1
  158. package/dist/actions/update-weather-station.cjs +4 -4
  159. package/dist/actions/update-weather-station.cjs.map +1 -1
  160. package/dist/actions/update-weather-station.d.cts +26 -3
  161. package/dist/actions/update-weather-station.d.cts.map +1 -1
  162. package/dist/actions/update-weather-station.d.mts +26 -3
  163. package/dist/actions/update-weather-station.d.mts.map +1 -1
  164. package/dist/actions/update-weather-station.mjs +4 -4
  165. package/dist/actions/update-weather-station.mjs.map +1 -1
  166. package/dist/catalog.cjs +7 -1
  167. package/dist/catalog.cjs.map +1 -1
  168. package/dist/catalog.d.cts +8 -0
  169. package/dist/catalog.d.mts +8 -0
  170. package/dist/catalog.mjs +7 -1
  171. package/dist/catalog.mjs.map +1 -1
  172. package/dist/execute.cjs +1 -1
  173. package/dist/execute.cjs.map +1 -1
  174. package/dist/execute.mjs +1 -1
  175. package/dist/execute.mjs.map +1 -1
  176. package/package.json +2 -2
@@ -6,16 +6,16 @@ const openweatherApiGetWeatherStation = action("OPENWEATHER_API_GET_WEATHER_STAT
6
6
  description: "Tool to get information about a specific weather station by its ID. Use when you need details about a particular station.",
7
7
  input: z.object({ station_id: z.string().describe("Internal station ID to retrieve information for.") }).describe("Request schema for getting a specific weather station by ID."),
8
8
  output: z.object({
9
- id: z.string().describe("Station identifier."),
10
- name: z.string().describe("Station name."),
9
+ id: z.string().describe("Station identifier.").nullable(),
10
+ name: z.string().describe("Station name.").nullable(),
11
11
  rank: z.number().int().describe("Station rank.").nullable().optional(),
12
12
  altitude: z.number().describe("Station altitude above sea level.").nullable().optional(),
13
- latitude: z.number().describe("Location latitude."),
14
- longitude: z.number().describe("Location longitude."),
15
- created_at: z.string().describe("ISO8601 datetime of creation."),
16
- updated_at: z.string().describe("ISO8601 datetime of the last update."),
13
+ latitude: z.number().describe("Location latitude.").nullable(),
14
+ longitude: z.number().describe("Location longitude.").nullable(),
15
+ created_at: z.string().describe("ISO8601 datetime of creation.").nullable(),
16
+ updated_at: z.string().describe("ISO8601 datetime of the last update.").nullable(),
17
17
  external_id: z.string().describe("User-supplied external reference ID.").nullable().optional()
18
- }).describe("Response schema containing weather station information.")
18
+ }).passthrough().describe("Response schema containing weather station information.")
19
19
  });
20
20
  //#endregion
21
21
  export { openweatherApiGetWeatherStation };
@@ -1 +1 @@
1
- {"version":3,"file":"get-weather-station.mjs","names":[],"sources":["../../src/actions/get-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherStationInput: z.ZodTypeAny = z.object({\n station_id: z.string().describe(\"Internal station ID to retrieve information for.\"),\n}).describe(\"Request schema for getting a specific weather station by ID.\");\nexport const OpenweatherApiGetWeatherStationOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Station identifier.\"),\n name: z.string().describe(\"Station name.\"),\n rank: z.number().int().describe(\"Station rank.\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude above sea level.\").nullable().optional(),\n latitude: z.number().describe(\"Location latitude.\"),\n longitude: z.number().describe(\"Location longitude.\"),\n created_at: z.string().describe(\"ISO8601 datetime of creation.\"),\n updated_at: z.string().describe(\"ISO8601 datetime of the last update.\"),\n external_id: z.string().describe(\"User-supplied external reference ID.\").nullable().optional(),\n}).describe(\"Response schema containing weather station information.\");\n\nexport const openweatherApiGetWeatherStation = action(\"OPENWEATHER_API_GET_WEATHER_STATION\", {\n slug: \"openweather_api-get-weather-station\",\n name: \"Get Weather Station\",\n description: \"Tool to get information about a specific weather station by its ID. Use when you need details about a particular station.\",\n input: OpenweatherApiGetWeatherStationInput,\n output: OpenweatherApiGetWeatherStationOutput,\n});\n"],"mappings":";;AAmBA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBgE,EAAE,OAAO,EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EACpF,CAAC,CAAC,CAAC,SAAS,8DAiBH;CACP,QAjBiE,EAAE,OAAO;EAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;EACzC,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;EAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-weather-station.mjs","names":[],"sources":["../../src/actions/get-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherStationInput = z.object({\n station_id: z.string().describe(\"Internal station ID to retrieve information for.\"),\n}).describe(\"Request schema for getting a specific weather station by ID.\");\nexport const OpenweatherApiGetWeatherStationOutput = z.object({\n id: z.string().describe(\"Station identifier.\").nullable(),\n name: z.string().describe(\"Station name.\").nullable(),\n rank: z.number().int().describe(\"Station rank.\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude above sea level.\").nullable().optional(),\n latitude: z.number().describe(\"Location latitude.\").nullable(),\n longitude: z.number().describe(\"Location longitude.\").nullable(),\n created_at: z.string().describe(\"ISO8601 datetime of creation.\").nullable(),\n updated_at: z.string().describe(\"ISO8601 datetime of the last update.\").nullable(),\n external_id: z.string().describe(\"User-supplied external reference ID.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing weather station information.\");\n\nexport const openweatherApiGetWeatherStation = action(\"OPENWEATHER_API_GET_WEATHER_STATION\", {\n slug: \"openweather_api-get-weather-station\",\n name: \"Get Weather Station\",\n description: \"Tool to get information about a specific weather station by its ID. Use when you need details about a particular station.\",\n input: OpenweatherApiGetWeatherStationInput,\n output: OpenweatherApiGetWeatherStationOutput,\n});\n"],"mappings":";;AAmBA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBkD,EAAE,OAAO,EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EACpF,CAAC,CAAC,CAAC,SAAS,8DAiBH;CACP,QAjBmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -3,17 +3,17 @@ let zod = require("zod");
3
3
  //#region src/actions/get-weather-stations.ts
4
4
  const OpenweatherApiGetWeatherStationsInput = zod.z.object({}).describe("Request schema for GET_WEATHER_STATIONS. No parameters are required.");
5
5
  const OpenweatherApiGetWeatherStations_StationSchema = zod.z.object({
6
- id: zod.z.string().describe("Station identifier."),
7
- name: zod.z.string().describe("Station name."),
6
+ id: zod.z.string().describe("Station identifier.").nullable(),
7
+ name: zod.z.string().describe("Station name.").nullable(),
8
8
  rank: zod.z.number().int().describe("Station rank.").nullable().optional(),
9
9
  altitude: zod.z.number().describe("Station altitude above sea level.").nullable().optional(),
10
- latitude: zod.z.number().describe("Location latitude."),
11
- longitude: zod.z.number().describe("Location longitude."),
12
- created_at: zod.z.string().describe("ISO8601 datetime of creation."),
13
- updated_at: zod.z.string().describe("ISO8601 datetime of the last update."),
10
+ latitude: zod.z.number().describe("Location latitude.").nullable(),
11
+ longitude: zod.z.number().describe("Location longitude.").nullable(),
12
+ created_at: zod.z.string().describe("ISO8601 datetime of creation.").nullable(),
13
+ updated_at: zod.z.string().describe("ISO8601 datetime of the last update.").nullable(),
14
14
  external_id: zod.z.string().describe("User-supplied external reference ID.").nullable().optional()
15
- });
16
- const OpenweatherApiGetWeatherStationsOutput = zod.z.object({ stations: zod.z.array(OpenweatherApiGetWeatherStations_StationSchema).describe("Array of weather station objects.") }).describe("List of weather stations added to the account.");
15
+ }).passthrough();
16
+ const OpenweatherApiGetWeatherStationsOutput = zod.z.object({ stations: zod.z.array(OpenweatherApiGetWeatherStations_StationSchema).describe("Array of weather station objects.") }).passthrough().describe("List of weather stations added to the account.");
17
17
  const openweatherApiGetWeatherStations = require_action.action("OPENWEATHER_API_GET_WEATHER_STATIONS", {
18
18
  slug: "openweather_api-get-weather-stations",
19
19
  name: "Get Weather Stations",
@@ -1 +1 @@
1
- {"version":3,"file":"get-weather-stations.cjs","names":["z","action"],"sources":["../../src/actions/get-weather-stations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherStationsInput: z.ZodTypeAny = z.object({}).describe(\"Request schema for GET_WEATHER_STATIONS. No parameters are required.\");\nconst OpenweatherApiGetWeatherStations_StationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Station identifier.\"),\n name: z.string().describe(\"Station name.\"),\n rank: z.number().int().describe(\"Station rank.\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude above sea level.\").nullable().optional(),\n latitude: z.number().describe(\"Location latitude.\"),\n longitude: z.number().describe(\"Location longitude.\"),\n created_at: z.string().describe(\"ISO8601 datetime of creation.\"),\n updated_at: z.string().describe(\"ISO8601 datetime of the last update.\"),\n external_id: z.string().describe(\"User-supplied external reference ID.\").nullable().optional(),\n});\nexport const OpenweatherApiGetWeatherStationsOutput: z.ZodTypeAny = z.object({\n stations: z.array(OpenweatherApiGetWeatherStations_StationSchema).describe(\"Array of weather station objects.\"),\n}).describe(\"List of weather stations added to the account.\");\n\nexport const openweatherApiGetWeatherStations = action(\"OPENWEATHER_API_GET_WEATHER_STATIONS\", {\n slug: \"openweather_api-get-weather-stations\",\n name: \"Get Weather Stations\",\n description: \"Tool to list all weather stations added to your account. Use after setting up your OpenWeather API key.\",\n input: OpenweatherApiGetWeatherStationsInput,\n output: OpenweatherApiGetWeatherStationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAC/J,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CACzC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AACD,MAAa,yCAAuDA,IAAAA,EAAE,OAAO,EAC3E,UAAUA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mCAAmC,EAChH,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-weather-stations.cjs","names":["z","action"],"sources":["../../src/actions/get-weather-stations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherStationsInput = z.object({}).describe(\"Request schema for GET_WEATHER_STATIONS. No parameters are required.\");\nconst OpenweatherApiGetWeatherStations_StationSchema = z.object({\n id: z.string().describe(\"Station identifier.\").nullable(),\n name: z.string().describe(\"Station name.\").nullable(),\n rank: z.number().int().describe(\"Station rank.\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude above sea level.\").nullable().optional(),\n latitude: z.number().describe(\"Location latitude.\").nullable(),\n longitude: z.number().describe(\"Location longitude.\").nullable(),\n created_at: z.string().describe(\"ISO8601 datetime of creation.\").nullable(),\n updated_at: z.string().describe(\"ISO8601 datetime of the last update.\").nullable(),\n external_id: z.string().describe(\"User-supplied external reference ID.\").nullable().optional(),\n}).passthrough();\nexport const OpenweatherApiGetWeatherStationsOutput = z.object({\n stations: z.array(OpenweatherApiGetWeatherStations_StationSchema).describe(\"Array of weather station objects.\"),\n}).passthrough().describe(\"List of weather stations added to the account.\");\n\nexport const openweatherApiGetWeatherStations = action(\"OPENWEATHER_API_GET_WEATHER_STATIONS\", {\n slug: \"openweather_api-get-weather-stations\",\n name: \"Get Weather Stations\",\n description: \"Tool to list all weather stations added to your account. Use after set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M;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-weather-stations.d.ts
4
- declare const OpenweatherApiGetWeatherStationsInput: z.ZodTypeAny;
5
- declare const OpenweatherApiGetWeatherStationsOutput: z.ZodTypeAny;
6
- declare const openweatherApiGetWeatherStations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OpenweatherApiGetWeatherStationsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const OpenweatherApiGetWeatherStationsOutput: z.ZodObject<{
6
+ stations: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ name: z.ZodNullable<z.ZodString>;
9
+ rank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ altitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ latitude: z.ZodNullable<z.ZodNumber>;
12
+ longitude: z.ZodNullable<z.ZodNumber>;
13
+ created_at: z.ZodNullable<z.ZodString>;
14
+ updated_at: z.ZodNullable<z.ZodString>;
15
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>>;
17
+ }, z.core.$loose>;
18
+ declare const openweatherApiGetWeatherStations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { openweatherApiGetWeatherStations };
9
21
  //# sourceMappingURL=get-weather-stations.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-weather-stations.d.cts","names":[],"sources":["../../src/actions/get-weather-stations.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAA0G;AAAA,cAYnJ,sCAAA,EAAwC,CAAA,CAAE,UAEM;AAAA,cAEhD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-weather-stations.d.cts","names":[],"sources":["../../src/actions/get-weather-stations.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAYrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-weather-stations.d.ts
4
- declare const OpenweatherApiGetWeatherStationsInput: z.ZodTypeAny;
5
- declare const OpenweatherApiGetWeatherStationsOutput: z.ZodTypeAny;
6
- declare const openweatherApiGetWeatherStations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OpenweatherApiGetWeatherStationsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const OpenweatherApiGetWeatherStationsOutput: z.ZodObject<{
6
+ stations: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ name: z.ZodNullable<z.ZodString>;
9
+ rank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ altitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ latitude: z.ZodNullable<z.ZodNumber>;
12
+ longitude: z.ZodNullable<z.ZodNumber>;
13
+ created_at: z.ZodNullable<z.ZodString>;
14
+ updated_at: z.ZodNullable<z.ZodString>;
15
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>>;
17
+ }, z.core.$loose>;
18
+ declare const openweatherApiGetWeatherStations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { openweatherApiGetWeatherStations };
9
21
  //# sourceMappingURL=get-weather-stations.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-weather-stations.d.mts","names":[],"sources":["../../src/actions/get-weather-stations.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAA0G;AAAA,cAYnJ,sCAAA,EAAwC,CAAA,CAAE,UAEM;AAAA,cAEhD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-weather-stations.d.mts","names":[],"sources":["../../src/actions/get-weather-stations.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAYrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,22 +3,22 @@ import { z } from "zod";
3
3
  //#region src/actions/get-weather-stations.ts
4
4
  const OpenweatherApiGetWeatherStationsInput = z.object({}).describe("Request schema for GET_WEATHER_STATIONS. No parameters are required.");
5
5
  const OpenweatherApiGetWeatherStations_StationSchema = z.object({
6
- id: z.string().describe("Station identifier."),
7
- name: z.string().describe("Station name."),
6
+ id: z.string().describe("Station identifier.").nullable(),
7
+ name: z.string().describe("Station name.").nullable(),
8
8
  rank: z.number().int().describe("Station rank.").nullable().optional(),
9
9
  altitude: z.number().describe("Station altitude above sea level.").nullable().optional(),
10
- latitude: z.number().describe("Location latitude."),
11
- longitude: z.number().describe("Location longitude."),
12
- created_at: z.string().describe("ISO8601 datetime of creation."),
13
- updated_at: z.string().describe("ISO8601 datetime of the last update."),
10
+ latitude: z.number().describe("Location latitude.").nullable(),
11
+ longitude: z.number().describe("Location longitude.").nullable(),
12
+ created_at: z.string().describe("ISO8601 datetime of creation.").nullable(),
13
+ updated_at: z.string().describe("ISO8601 datetime of the last update.").nullable(),
14
14
  external_id: z.string().describe("User-supplied external reference ID.").nullable().optional()
15
- });
15
+ }).passthrough();
16
16
  const openweatherApiGetWeatherStations = action("OPENWEATHER_API_GET_WEATHER_STATIONS", {
17
17
  slug: "openweather_api-get-weather-stations",
18
18
  name: "Get Weather Stations",
19
19
  description: "Tool to list all weather stations added to your account. Use after setting up your OpenWeather API key.",
20
20
  input: OpenweatherApiGetWeatherStationsInput,
21
- output: z.object({ stations: z.array(OpenweatherApiGetWeatherStations_StationSchema).describe("Array of weather station objects.") }).describe("List of weather stations added to the account.")
21
+ output: z.object({ stations: z.array(OpenweatherApiGetWeatherStations_StationSchema).describe("Array of weather station objects.") }).passthrough().describe("List of weather stations added to the account.")
22
22
  });
23
23
  //#endregion
24
24
  export { openweatherApiGetWeatherStations };
@@ -1 +1 @@
1
- {"version":3,"file":"get-weather-stations.mjs","names":[],"sources":["../../src/actions/get-weather-stations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherStationsInput: z.ZodTypeAny = z.object({}).describe(\"Request schema for GET_WEATHER_STATIONS. No parameters are required.\");\nconst OpenweatherApiGetWeatherStations_StationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Station identifier.\"),\n name: z.string().describe(\"Station name.\"),\n rank: z.number().int().describe(\"Station rank.\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude above sea level.\").nullable().optional(),\n latitude: z.number().describe(\"Location latitude.\"),\n longitude: z.number().describe(\"Location longitude.\"),\n created_at: z.string().describe(\"ISO8601 datetime of creation.\"),\n updated_at: z.string().describe(\"ISO8601 datetime of the last update.\"),\n external_id: z.string().describe(\"User-supplied external reference ID.\").nullable().optional(),\n});\nexport const OpenweatherApiGetWeatherStationsOutput: z.ZodTypeAny = z.object({\n stations: z.array(OpenweatherApiGetWeatherStations_StationSchema).describe(\"Array of weather station objects.\"),\n}).describe(\"List of weather stations added to the account.\");\n\nexport const openweatherApiGetWeatherStations = action(\"OPENWEATHER_API_GET_WEATHER_STATIONS\", {\n slug: \"openweather_api-get-weather-stations\",\n name: \"Get Weather Stations\",\n description: \"Tool to list all weather stations added to your account. Use after setting up your OpenWeather API key.\",\n input: OpenweatherApiGetWeatherStationsInput,\n output: OpenweatherApiGetWeatherStationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAC/J,MAAM,iDAA+D,EAAE,OAAO;CAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CACzC,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AAKD,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkE,EAAE,OAAO,EAC3E,UAAU,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mCAAmC,EAChH,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-weather-stations.mjs","names":[],"sources":["../../src/actions/get-weather-stations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherStationsInput = z.object({}).describe(\"Request schema for GET_WEATHER_STATIONS. No parameters are required.\");\nconst OpenweatherApiGetWeatherStations_StationSchema = z.object({\n id: z.string().describe(\"Station identifier.\").nullable(),\n name: z.string().describe(\"Station name.\").nullable(),\n rank: z.number().int().describe(\"Station rank.\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude above sea level.\").nullable().optional(),\n latitude: z.number().describe(\"Location latitude.\").nullable(),\n longitude: z.number().describe(\"Location longitude.\").nullable(),\n created_at: z.string().describe(\"ISO8601 datetime of creation.\").nullable(),\n updated_at: z.string().describe(\"ISO8601 datetime of the last update.\").nullable(),\n external_id: z.string().describe(\"User-supplied external reference ID.\").nullable().optional(),\n}).passthrough();\nexport const OpenweatherApiGetWeatherStationsOutput = z.object({\n stations: z.array(OpenweatherApiGetWeatherStations_StationSchema).describe(\"Array of weather station objects.\"),\n}).passthrough().describe(\"List of weather stations added to the account.\");\n\nexport const openweatherApiGetWeatherStations = action(\"OPENWEATHER_API_GET_WEATHER_STATIONS\", {\n slug: \"openweather_api-get-weather-stations\",\n name: \"Get Weather Stations\",\n description: \"Tool to list all weather stations added to your account. Use after setting up your OpenWeather API key.\",\n input: OpenweatherApiGetWeatherStationsInput,\n output: OpenweatherApiGetWeatherStationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sEAAsE;AACjJ,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,UAAU,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mCAAmC,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
@@ -14,13 +14,13 @@ const OpenweatherApiGetWeatherTriggersInput = zod.z.object({ triggers: zod.z.arr
14
14
  "=",
15
15
  "between"
16
16
  ]).describe("Condition operator: '>', '<', '=', or 'between'")
17
- }).describe("Definition of a single weather trigger condition.")).describe("List of weather trigger definitions") }).describe("Request to manage and retrieve weather triggers. Provide a list of trigger definitions.");
17
+ }).passthrough().describe("Definition of a single weather trigger condition.")).describe("List of weather trigger definitions") }).describe("Request to manage and retrieve weather triggers. Provide a list of trigger definitions.");
18
18
  const OpenweatherApiGetWeatherTriggers_TriggerResponseItemSchema = zod.z.object({
19
- id: zod.z.string().describe("Unique ID of the trigger"),
20
- status: zod.z.string().describe("Trigger operation status, e.g., 'created' or 'error'"),
19
+ id: zod.z.string().describe("Unique ID of the trigger").nullable(),
20
+ status: zod.z.string().describe("Trigger operation status, e.g., 'created' or 'error'").nullable(),
21
21
  details: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional details or error information for the trigger")
22
- }).describe("Result for a single trigger operation.");
23
- const OpenweatherApiGetWeatherTriggersOutput = zod.z.object({ triggers: zod.z.array(OpenweatherApiGetWeatherTriggers_TriggerResponseItemSchema).describe("Results for each trigger operation") }).describe("Response schema for weather triggers retrieval.");
22
+ }).passthrough().describe("Result for a single trigger operation.");
23
+ const OpenweatherApiGetWeatherTriggersOutput = zod.z.object({ triggers: zod.z.array(OpenweatherApiGetWeatherTriggers_TriggerResponseItemSchema).describe("Results for each trigger operation") }).passthrough().describe("Response schema for weather triggers retrieval.");
24
24
  const openweatherApiGetWeatherTriggers = require_action.action("OPENWEATHER_API_GET_WEATHER_TRIGGERS", {
25
25
  slug: "openweather_api-get-weather-triggers",
26
26
  name: "Get Weather Triggers",
@@ -1 +1 @@
1
- {"version":3,"file":"get-weather-triggers.cjs","names":["z","action"],"sources":["../../src/actions/get-weather-triggers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherTriggersInput: z.ZodTypeAny = z.object({\n triggers: z.array(z.object({\n type: z.string().describe(\"Type of weather trigger, e.g., 'temp', 'rain', 'wind'\"),\n value: z.union([z.number(), z.array(z.number())]),\n location: z.object({\n lat: z.number().describe(\"Latitude in degrees, between -90 and 90\"),\n lon: z.number().describe(\"Longitude in degrees, between -180 and 180\"),\n}).describe(\"Location details where this trigger applies\"),\n condition: z.enum([\">\", \"<\", \"=\", \"between\"]).describe(\"Condition operator: '>', '<', '=', or 'between'\"),\n}).describe(\"Definition of a single weather trigger condition.\")).describe(\"List of weather trigger definitions\"),\n}).describe(\"Request to manage and retrieve weather triggers. Provide a list of trigger definitions.\");\nconst OpenweatherApiGetWeatherTriggers_TriggerResponseItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique ID of the trigger\"),\n status: z.string().describe(\"Trigger operation status, e.g., 'created' or 'error'\"),\n details: z.record(z.string(), z.unknown()).describe(\"Additional details or error information for the trigger\"),\n}).describe(\"Result for a single trigger operation.\");\nexport const OpenweatherApiGetWeatherTriggersOutput: z.ZodTypeAny = z.object({\n triggers: z.array(OpenweatherApiGetWeatherTriggers_TriggerResponseItemSchema).describe(\"Results for each trigger operation\"),\n}).describe(\"Response schema for weather triggers retrieval.\");\n\nexport const openweatherApiGetWeatherTriggers = action(\"OPENWEATHER_API_GET_WEATHER_TRIGGERS\", {\n slug: \"openweather_api-get-weather-triggers\",\n name: \"Get Weather Triggers\",\n description: \"Tool to retrieve weather triggers for specific conditions. Use after defining trigger criteria.\",\n input: OpenweatherApiGetWeatherTriggersInput,\n output: OpenweatherApiGetWeatherTriggersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC3B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACjF,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC;CAChD,UAAUA,IAAAA,EAAE,OAAO;EACnB,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EAClE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACvE,CAAC,CAAC,CAAC,SAAS,6CAA6C;CACvD,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;EAAK;CAAS,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC1G,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,CAAC,SAAS,qCAAqC,EAChH,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,6DAA2EA,IAAAA,EAAE,OAAO;CACxF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAClF,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAC/G,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,yCAAuDA,IAAAA,EAAE,OAAO,EAC3E,UAAUA,IAAAA,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,oCAAoC,EAC7H,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-weather-triggers.cjs","names":["z","action"],"sources":["../../src/actions/get-weather-triggers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherTriggersInput = z.object({\n triggers: z.array(z.object({\n type: z.string().describe(\"Type of weather trigger, e.g., 'temp', 'rain', 'wind'\"),\n value: z.union([z.number(), z.array(z.number())]),\n location: z.object({\n lat: z.number().describe(\"Latitude in degrees, between -90 and 90\"),\n lon: z.number().describe(\"Longitude in degrees, between -180 and 180\"),\n}).describe(\"Location details where this trigger applies\"),\n condition: z.enum([\">\", \"<\", \"=\", \"between\"]).describe(\"Condition operator: '>', '<', '=', or 'between'\"),\n}).passthrough().describe(\"Definition of a single weather trigger condition.\")).describe(\"List of weather trigger definitions\"),\n}).describe(\"Request to manage and retrieve weather triggers. Provide a list of trigger definitions.\");\nconst OpenweatherApiGetWeatherTriggers_TriggerResponseItemSchema = z.object({\n id: z.string().describe(\"Unique ID of the trigger\").nullable(),\n status: z.string().describe(\"Trigger operation status, e.g., 'created' or 'error'\").nullable(),\n details: z.record(z.string(), z.unknown()).describe(\"Additional details or error information for the trigger\"),\n}).passthrough().describe(\"Result for a single trigger operation.\");\nexport const OpenweatherApiGetWeatherTriggersOutput = z.object({\n triggers: z.array(OpenweatherApiGetWeatherTriggers_TriggerResponseItemSchema).describe(\"Results for each trigger operation\"),\n}).passthrough().describe(\"Response schema for weather triggers retrieval.\");\n\nexport const openweatherApiGetWeatherTriggers = action(\"OPENWEATHER_API_GET_WEATHER_TRIGGERS\", {\n slug: \"openweather_api-get-weather-triggers\",\n name: \"Get Weather Triggers\",\n description: \"Tool to retrieve weather triggers for specific conditions. Use after defining trigger criteria.\",\n input: OpenweatherApiGetWeatherTriggersInput,\n output: OpenweatherApiGetWeatherTriggersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC3B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACjF,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC;CAChD,UAAUA,IAAAA,EAAE,OAAO;EACnB,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EAClE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACvE,CAAC,CAAC,CAAC,SAAS,6CAA6C;CACvD,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;EAAK;CAAS,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,CAAC,SAAS,qCAAqC,EAC9H,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,UAAUA,IAAAA,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,oCAAoC,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,41 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-weather-triggers.d.ts
4
- declare const OpenweatherApiGetWeatherTriggersInput: z.ZodTypeAny;
5
- declare const OpenweatherApiGetWeatherTriggersOutput: z.ZodTypeAny;
6
- declare const openweatherApiGetWeatherTriggers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OpenweatherApiGetWeatherTriggersInput: z.ZodObject<{
5
+ triggers: z.ZodArray<z.ZodObject<{
6
+ type: z.ZodString;
7
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>]>;
8
+ location: z.ZodObject<{
9
+ lat: z.ZodNumber;
10
+ lon: z.ZodNumber;
11
+ }, z.core.$strip>;
12
+ condition: z.ZodEnum<{
13
+ ">": ">";
14
+ "<": "<";
15
+ "=": "=";
16
+ between: "between";
17
+ }>;
18
+ }, z.core.$loose>>;
19
+ }, z.core.$strip>;
20
+ declare const OpenweatherApiGetWeatherTriggersOutput: z.ZodObject<{
21
+ triggers: z.ZodArray<z.ZodObject<{
22
+ id: z.ZodNullable<z.ZodString>;
23
+ status: z.ZodNullable<z.ZodString>;
24
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>;
27
+ declare const openweatherApiGetWeatherTriggers: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ triggers: {
29
+ [x: string]: unknown;
30
+ type: string;
31
+ value: number | number[];
32
+ location: {
33
+ lat: number;
34
+ lon: number;
35
+ };
36
+ condition: ">" | "<" | "=" | "between";
37
+ }[];
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
39
  //#endregion
8
40
  export { openweatherApiGetWeatherTriggers };
9
41
  //# sourceMappingURL=get-weather-triggers.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-weather-triggers.d.cts","names":[],"sources":["../../src/actions/get-weather-triggers.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAUgD;AAAA,cAMzF,sCAAA,EAAwC,CAAA,CAAE,UAEO;AAAA,cAEjD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-weather-triggers.d.cts","names":[],"sources":["../../src/actions/get-weather-triggers.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA"}
@@ -1,9 +1,41 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-weather-triggers.d.ts
4
- declare const OpenweatherApiGetWeatherTriggersInput: z.ZodTypeAny;
5
- declare const OpenweatherApiGetWeatherTriggersOutput: z.ZodTypeAny;
6
- declare const openweatherApiGetWeatherTriggers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OpenweatherApiGetWeatherTriggersInput: z.ZodObject<{
5
+ triggers: z.ZodArray<z.ZodObject<{
6
+ type: z.ZodString;
7
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>]>;
8
+ location: z.ZodObject<{
9
+ lat: z.ZodNumber;
10
+ lon: z.ZodNumber;
11
+ }, z.core.$strip>;
12
+ condition: z.ZodEnum<{
13
+ ">": ">";
14
+ "<": "<";
15
+ "=": "=";
16
+ between: "between";
17
+ }>;
18
+ }, z.core.$loose>>;
19
+ }, z.core.$strip>;
20
+ declare const OpenweatherApiGetWeatherTriggersOutput: z.ZodObject<{
21
+ triggers: z.ZodArray<z.ZodObject<{
22
+ id: z.ZodNullable<z.ZodString>;
23
+ status: z.ZodNullable<z.ZodString>;
24
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>;
27
+ declare const openweatherApiGetWeatherTriggers: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ triggers: {
29
+ [x: string]: unknown;
30
+ type: string;
31
+ value: number | number[];
32
+ location: {
33
+ lat: number;
34
+ lon: number;
35
+ };
36
+ condition: ">" | "<" | "=" | "between";
37
+ }[];
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
39
  //#endregion
8
40
  export { openweatherApiGetWeatherTriggers };
9
41
  //# sourceMappingURL=get-weather-triggers.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-weather-triggers.d.mts","names":[],"sources":["../../src/actions/get-weather-triggers.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAUgD;AAAA,cAMzF,sCAAA,EAAwC,CAAA,CAAE,UAEO;AAAA,cAEjD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-weather-triggers.d.mts","names":[],"sources":["../../src/actions/get-weather-triggers.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA"}
@@ -14,18 +14,18 @@ const OpenweatherApiGetWeatherTriggersInput = z.object({ triggers: z.array(z.obj
14
14
  "=",
15
15
  "between"
16
16
  ]).describe("Condition operator: '>', '<', '=', or 'between'")
17
- }).describe("Definition of a single weather trigger condition.")).describe("List of weather trigger definitions") }).describe("Request to manage and retrieve weather triggers. Provide a list of trigger definitions.");
17
+ }).passthrough().describe("Definition of a single weather trigger condition.")).describe("List of weather trigger definitions") }).describe("Request to manage and retrieve weather triggers. Provide a list of trigger definitions.");
18
18
  const OpenweatherApiGetWeatherTriggers_TriggerResponseItemSchema = z.object({
19
- id: z.string().describe("Unique ID of the trigger"),
20
- status: z.string().describe("Trigger operation status, e.g., 'created' or 'error'"),
19
+ id: z.string().describe("Unique ID of the trigger").nullable(),
20
+ status: z.string().describe("Trigger operation status, e.g., 'created' or 'error'").nullable(),
21
21
  details: z.record(z.string(), z.unknown()).describe("Additional details or error information for the trigger")
22
- }).describe("Result for a single trigger operation.");
22
+ }).passthrough().describe("Result for a single trigger operation.");
23
23
  const openweatherApiGetWeatherTriggers = action("OPENWEATHER_API_GET_WEATHER_TRIGGERS", {
24
24
  slug: "openweather_api-get-weather-triggers",
25
25
  name: "Get Weather Triggers",
26
26
  description: "Tool to retrieve weather triggers for specific conditions. Use after defining trigger criteria.",
27
27
  input: OpenweatherApiGetWeatherTriggersInput,
28
- output: z.object({ triggers: z.array(OpenweatherApiGetWeatherTriggers_TriggerResponseItemSchema).describe("Results for each trigger operation") }).describe("Response schema for weather triggers retrieval.")
28
+ output: z.object({ triggers: z.array(OpenweatherApiGetWeatherTriggers_TriggerResponseItemSchema).describe("Results for each trigger operation") }).passthrough().describe("Response schema for weather triggers retrieval.")
29
29
  });
30
30
  //#endregion
31
31
  export { openweatherApiGetWeatherTriggers };
@@ -1 +1 @@
1
- {"version":3,"file":"get-weather-triggers.mjs","names":[],"sources":["../../src/actions/get-weather-triggers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherTriggersInput: z.ZodTypeAny = z.object({\n triggers: z.array(z.object({\n type: z.string().describe(\"Type of weather trigger, e.g., 'temp', 'rain', 'wind'\"),\n value: z.union([z.number(), z.array(z.number())]),\n location: z.object({\n lat: z.number().describe(\"Latitude in degrees, between -90 and 90\"),\n lon: z.number().describe(\"Longitude in degrees, between -180 and 180\"),\n}).describe(\"Location details where this trigger applies\"),\n condition: z.enum([\">\", \"<\", \"=\", \"between\"]).describe(\"Condition operator: '>', '<', '=', or 'between'\"),\n}).describe(\"Definition of a single weather trigger condition.\")).describe(\"List of weather trigger definitions\"),\n}).describe(\"Request to manage and retrieve weather triggers. Provide a list of trigger definitions.\");\nconst OpenweatherApiGetWeatherTriggers_TriggerResponseItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique ID of the trigger\"),\n status: z.string().describe(\"Trigger operation status, e.g., 'created' or 'error'\"),\n details: z.record(z.string(), z.unknown()).describe(\"Additional details or error information for the trigger\"),\n}).describe(\"Result for a single trigger operation.\");\nexport const OpenweatherApiGetWeatherTriggersOutput: z.ZodTypeAny = z.object({\n triggers: z.array(OpenweatherApiGetWeatherTriggers_TriggerResponseItemSchema).describe(\"Results for each trigger operation\"),\n}).describe(\"Response schema for weather triggers retrieval.\");\n\nexport const openweatherApiGetWeatherTriggers = action(\"OPENWEATHER_API_GET_WEATHER_TRIGGERS\", {\n slug: \"openweather_api-get-weather-triggers\",\n name: \"Get Weather Triggers\",\n description: \"Tool to retrieve weather triggers for specific conditions. Use after defining trigger criteria.\",\n input: OpenweatherApiGetWeatherTriggersInput,\n output: OpenweatherApiGetWeatherTriggersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO,EAC1E,UAAU,EAAE,MAAM,EAAE,OAAO;CAC3B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACjF,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CAChD,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EAClE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACvE,CAAC,CAAC,CAAC,SAAS,6CAA6C;CACvD,WAAW,EAAE,KAAK;EAAC;EAAK;EAAK;EAAK;CAAS,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC1G,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,CAAC,SAAS,qCAAqC,EAChH,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,6DAA2E,EAAE,OAAO;CACxF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAClF,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAC/G,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAKpD,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkE,EAAE,OAAO,EAC3E,UAAU,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,oCAAoC,EAC7H,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-weather-triggers.mjs","names":[],"sources":["../../src/actions/get-weather-triggers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherTriggersInput = z.object({\n triggers: z.array(z.object({\n type: z.string().describe(\"Type of weather trigger, e.g., 'temp', 'rain', 'wind'\"),\n value: z.union([z.number(), z.array(z.number())]),\n location: z.object({\n lat: z.number().describe(\"Latitude in degrees, between -90 and 90\"),\n lon: z.number().describe(\"Longitude in degrees, between -180 and 180\"),\n}).describe(\"Location details where this trigger applies\"),\n condition: z.enum([\">\", \"<\", \"=\", \"between\"]).describe(\"Condition operator: '>', '<', '=', or 'between'\"),\n}).passthrough().describe(\"Definition of a single weather trigger condition.\")).describe(\"List of weather trigger definitions\"),\n}).describe(\"Request to manage and retrieve weather triggers. Provide a list of trigger definitions.\");\nconst OpenweatherApiGetWeatherTriggers_TriggerResponseItemSchema = z.object({\n id: z.string().describe(\"Unique ID of the trigger\").nullable(),\n status: z.string().describe(\"Trigger operation status, e.g., 'created' or 'error'\").nullable(),\n details: z.record(z.string(), z.unknown()).describe(\"Additional details or error information for the trigger\"),\n}).passthrough().describe(\"Result for a single trigger operation.\");\nexport const OpenweatherApiGetWeatherTriggersOutput = z.object({\n triggers: z.array(OpenweatherApiGetWeatherTriggers_TriggerResponseItemSchema).describe(\"Results for each trigger operation\"),\n}).passthrough().describe(\"Response schema for weather triggers retrieval.\");\n\nexport const openweatherApiGetWeatherTriggers = action(\"OPENWEATHER_API_GET_WEATHER_TRIGGERS\", {\n slug: \"openweather_api-get-weather-triggers\",\n name: \"Get Weather Triggers\",\n description: \"Tool to retrieve weather triggers for specific conditions. Use after defining trigger criteria.\",\n input: OpenweatherApiGetWeatherTriggersInput,\n output: OpenweatherApiGetWeatherTriggersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO,EAC5D,UAAU,EAAE,MAAM,EAAE,OAAO;CAC3B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACjF,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CAChD,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EAClE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACvE,CAAC,CAAC,CAAC,SAAS,6CAA6C;CACvD,WAAW,EAAE,KAAK;EAAC;EAAK;EAAK;EAAK;CAAS,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,CAAC,SAAS,qCAAqC,EAC9H,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,6DAA6D,EAAE,OAAO;CAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC7F,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,UAAU,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,oCAAoC,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
@@ -20,45 +20,45 @@ const OpenweatherApiGet5DayForecastInput = zod.z.object({
20
20
  ]).describe("Units of measurement (standard, metric, imperial)").optional()
21
21
  }).describe("Specify location and output options for 5-day, 3-hour forecast.");
22
22
  const OpenweatherApiGet5DayForecast_CityCoordSchema = zod.z.object({
23
- lat: zod.z.number().describe("Latitude"),
24
- lon: zod.z.number().describe("Longitude")
25
- });
23
+ lat: zod.z.number().describe("Latitude").nullable(),
24
+ lon: zod.z.number().describe("Longitude").nullable()
25
+ }).passthrough();
26
26
  const OpenweatherApiGet5DayForecast_CityInfoSchema = zod.z.object({
27
- id: zod.z.number().int().describe("City ID"),
28
- name: zod.z.string().describe("City name"),
27
+ id: zod.z.number().int().describe("City ID").nullable(),
28
+ name: zod.z.string().describe("City name").nullable(),
29
29
  coord: OpenweatherApiGet5DayForecast_CityCoordSchema.nullable(),
30
- sunset: zod.z.number().int().describe("Sunset time (Unix UTC)"),
31
- country: zod.z.string().describe("Country code (ISO 3166)"),
32
- sunrise: zod.z.number().int().describe("Sunrise time (Unix UTC)"),
33
- timezone: zod.z.number().int().describe("Shift in seconds from UTC")
34
- });
35
- const OpenweatherApiGet5DayForecast_SysInfoSchema = zod.z.object({ pod: zod.z.enum(["d", "n"]).describe("Part of day: d=day, n=night") });
30
+ sunset: zod.z.number().int().describe("Sunset time (Unix UTC)").nullable(),
31
+ country: zod.z.string().describe("Country code (ISO 3166)").nullable(),
32
+ sunrise: zod.z.number().int().describe("Sunrise time (Unix UTC)").nullable(),
33
+ timezone: zod.z.number().int().describe("Shift in seconds from UTC").nullable()
34
+ }).passthrough();
35
+ const OpenweatherApiGet5DayForecast_SysInfoSchema = zod.z.object({ pod: zod.z.enum(["d", "n"]).describe("Part of day: d=day, n=night").nullable() }).passthrough();
36
36
  const OpenweatherApiGet5DayForecast_ForecastMainSchema = zod.z.object({
37
- temp: zod.z.number().describe("Temperature"),
37
+ temp: zod.z.number().describe("Temperature").nullable(),
38
38
  temp_kf: zod.z.number().describe("Temperature variance").nullable().optional(),
39
- humidity: zod.z.number().int().describe("Humidity percentage"),
40
- pressure: zod.z.number().int().describe("Atmospheric pressure (hPa)"),
41
- temp_max: zod.z.number().describe("Maximum temperature at the moment"),
42
- temp_min: zod.z.number().describe("Minimum temperature at the moment"),
39
+ humidity: zod.z.number().int().describe("Humidity percentage").nullable(),
40
+ pressure: zod.z.number().int().describe("Atmospheric pressure (hPa)").nullable(),
41
+ temp_max: zod.z.number().describe("Maximum temperature at the moment").nullable(),
42
+ temp_min: zod.z.number().describe("Minimum temperature at the moment").nullable(),
43
43
  sea_level: zod.z.number().int().describe("Atmospheric pressure at sea level (hPa)").nullable().optional(),
44
- feels_like: zod.z.number().describe("Human perception of temperature"),
44
+ feels_like: zod.z.number().describe("Human perception of temperature").nullable(),
45
45
  grnd_level: zod.z.number().int().describe("Atmospheric pressure at ground level (hPa)").nullable().optional()
46
- });
47
- const OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema = zod.z.object({ "3h": zod.z.number().describe("Volume for last 3 hours") }).describe("Rain or snow volume for last 3 hours");
46
+ }).passthrough();
47
+ const OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema = zod.z.object({ "3h": zod.z.number().describe("Volume for last 3 hours").nullable() }).passthrough().describe("Rain or snow volume for last 3 hours");
48
48
  const OpenweatherApiGet5DayForecast_WindSchema = zod.z.object({
49
- deg: zod.z.number().int().describe("Wind direction in degrees"),
49
+ deg: zod.z.number().int().describe("Wind direction in degrees").nullable(),
50
50
  gust: zod.z.number().describe("Wind gust speed").nullable().optional(),
51
- speed: zod.z.number().describe("Wind speed")
52
- });
53
- const OpenweatherApiGet5DayForecast_CloudsSchema = zod.z.object({ all: zod.z.number().int().describe("Cloudiness percentage") });
51
+ speed: zod.z.number().describe("Wind speed").nullable()
52
+ }).passthrough();
53
+ const OpenweatherApiGet5DayForecast_CloudsSchema = zod.z.object({ all: zod.z.number().int().describe("Cloudiness percentage").nullable() }).passthrough();
54
54
  const OpenweatherApiGet5DayForecast_WeatherConditionSchema = zod.z.object({
55
- id: zod.z.number().int().describe("Weather condition ID"),
56
- icon: zod.z.string().describe("Weather icon ID"),
57
- main: zod.z.string().describe("Group of weather parameters"),
58
- description: zod.z.string().describe("Weather condition within the group")
59
- });
55
+ id: zod.z.number().int().describe("Weather condition ID").nullable(),
56
+ icon: zod.z.string().describe("Weather icon ID").nullable(),
57
+ main: zod.z.string().describe("Group of weather parameters").nullable(),
58
+ description: zod.z.string().describe("Weather condition within the group").nullable()
59
+ }).passthrough();
60
60
  const OpenweatherApiGet5DayForecast_ForecastItemSchema = zod.z.object({
61
- dt: zod.z.number().int().describe("Forecast time (Unix UTC)"),
61
+ dt: zod.z.number().int().describe("Forecast time (Unix UTC)").nullable(),
62
62
  pop: zod.z.number().describe("Probability of precipitation").nullable().optional(),
63
63
  sys: OpenweatherApiGet5DayForecast_SysInfoSchema.nullable(),
64
64
  main: OpenweatherApiGet5DayForecast_ForecastMainSchema.nullable(),
@@ -66,17 +66,17 @@ const OpenweatherApiGet5DayForecast_ForecastItemSchema = zod.z.object({
66
66
  snow: OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema.nullable().optional(),
67
67
  wind: OpenweatherApiGet5DayForecast_WindSchema.nullable(),
68
68
  clouds: OpenweatherApiGet5DayForecast_CloudsSchema.nullable(),
69
- dt_txt: zod.z.string().describe("Forecast time as text"),
69
+ dt_txt: zod.z.string().describe("Forecast time as text").nullable(),
70
70
  weather: zod.z.array(OpenweatherApiGet5DayForecast_WeatherConditionSchema),
71
71
  visibility: zod.z.number().int().describe("Visibility in meters").nullable().optional()
72
- });
72
+ }).passthrough();
73
73
  const OpenweatherApiGet5DayForecastOutput = zod.z.object({
74
- cnt: zod.z.number().int().describe("Number of timestamps returned"),
75
- cod: zod.z.string().describe("Internal response code"),
74
+ cnt: zod.z.number().int().describe("Number of timestamps returned").nullable(),
75
+ cod: zod.z.string().describe("Internal response code").nullable(),
76
76
  city: OpenweatherApiGet5DayForecast_CityInfoSchema.nullable(),
77
77
  list: zod.z.array(OpenweatherApiGet5DayForecast_ForecastItemSchema).describe("Array of forecast data"),
78
- message: zod.z.number().describe("Internal parameter")
79
- });
78
+ message: zod.z.number().describe("Internal parameter").nullable()
79
+ }).passthrough();
80
80
  const openweatherApiGet5DayForecast = require_action.action("OPENWEATHER_API_GET5_DAY_FORECAST", {
81
81
  slug: "openweather_api-get5-day-forecast",
82
82
  name: "Get 5 Day Forecast",
@@ -1 +1 @@
1
- {"version":3,"file":"get5-day-forecast.cjs","names":["z","action"],"sources":["../../src/actions/get5-day-forecast.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGet5DayForecastInput: z.ZodTypeAny = z.object({\n q: z.string().describe(\"City name and optional country code, e.g. 'London,uk'\").optional(),\n id: z.number().int().describe(\"OpenWeatherMap city ID\").optional(),\n lat: z.number().describe(\"Latitude in degrees\").optional(),\n lon: z.number().describe(\"Longitude in degrees\").optional(),\n zip: z.string().describe(\"Zip code with country code, e.g. '94040,us'\").optional(),\n lang: z.string().describe(\"Language code (ISO 639-1)\").optional(),\n mode: z.enum([\"json\", \"xml\", \"html\"]).describe(\"Response format\").optional(),\n units: z.enum([\"standard\", \"metric\", \"imperial\"]).describe(\"Units of measurement (standard, metric, imperial)\").optional(),\n}).describe(\"Specify location and output options for 5-day, 3-hour forecast.\");\nconst OpenweatherApiGet5DayForecast_CityCoordSchema: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude\"),\n lon: z.number().describe(\"Longitude\"),\n});\nconst OpenweatherApiGet5DayForecast_CityInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"City ID\"),\n name: z.string().describe(\"City name\"),\n coord: OpenweatherApiGet5DayForecast_CityCoordSchema.nullable(),\n sunset: z.number().int().describe(\"Sunset time (Unix UTC)\"),\n country: z.string().describe(\"Country code (ISO 3166)\"),\n sunrise: z.number().int().describe(\"Sunrise time (Unix UTC)\"),\n timezone: z.number().int().describe(\"Shift in seconds from UTC\"),\n});\nconst OpenweatherApiGet5DayForecast_SysInfoSchema: z.ZodTypeAny = z.object({\n pod: z.enum([\"d\", \"n\"]).describe(\"Part of day: d=day, n=night\"),\n});\nconst OpenweatherApiGet5DayForecast_ForecastMainSchema: z.ZodTypeAny = z.object({\n temp: z.number().describe(\"Temperature\"),\n temp_kf: z.number().describe(\"Temperature variance\").nullable().optional(),\n humidity: z.number().int().describe(\"Humidity percentage\"),\n pressure: z.number().int().describe(\"Atmospheric pressure (hPa)\"),\n temp_max: z.number().describe(\"Maximum temperature at the moment\"),\n temp_min: z.number().describe(\"Minimum temperature at the moment\"),\n sea_level: z.number().int().describe(\"Atmospheric pressure at sea level (hPa)\").nullable().optional(),\n feels_like: z.number().describe(\"Human perception of temperature\"),\n grnd_level: z.number().int().describe(\"Atmospheric pressure at ground level (hPa)\").nullable().optional(),\n});\nconst OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema: z.ZodTypeAny = z.object({\n \"3h\": z.number().describe(\"Volume for last 3 hours\"),\n}).describe(\"Rain or snow volume for last 3 hours\");\nconst OpenweatherApiGet5DayForecast_WindSchema: z.ZodTypeAny = z.object({\n deg: z.number().int().describe(\"Wind direction in degrees\"),\n gust: z.number().describe(\"Wind gust speed\").nullable().optional(),\n speed: z.number().describe(\"Wind speed\"),\n});\nconst OpenweatherApiGet5DayForecast_CloudsSchema: z.ZodTypeAny = z.object({\n all: z.number().int().describe(\"Cloudiness percentage\"),\n});\nconst OpenweatherApiGet5DayForecast_WeatherConditionSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Weather condition ID\"),\n icon: z.string().describe(\"Weather icon ID\"),\n main: z.string().describe(\"Group of weather parameters\"),\n description: z.string().describe(\"Weather condition within the group\"),\n});\nconst OpenweatherApiGet5DayForecast_ForecastItemSchema: z.ZodTypeAny = z.object({\n dt: z.number().int().describe(\"Forecast time (Unix UTC)\"),\n pop: z.number().describe(\"Probability of precipitation\").nullable().optional(),\n sys: OpenweatherApiGet5DayForecast_SysInfoSchema.nullable(),\n main: OpenweatherApiGet5DayForecast_ForecastMainSchema.nullable(),\n rain: OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema.nullable().optional(),\n snow: OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema.nullable().optional(),\n wind: OpenweatherApiGet5DayForecast_WindSchema.nullable(),\n clouds: OpenweatherApiGet5DayForecast_CloudsSchema.nullable(),\n dt_txt: z.string().describe(\"Forecast time as text\"),\n weather: z.array(OpenweatherApiGet5DayForecast_WeatherConditionSchema),\n visibility: z.number().int().describe(\"Visibility in meters\").nullable().optional(),\n});\nexport const OpenweatherApiGet5DayForecastOutput: z.ZodTypeAny = z.object({\n cnt: z.number().int().describe(\"Number of timestamps returned\"),\n cod: z.string().describe(\"Internal response code\"),\n city: OpenweatherApiGet5DayForecast_CityInfoSchema.nullable(),\n list: z.array(OpenweatherApiGet5DayForecast_ForecastItemSchema).describe(\"Array of forecast data\"),\n message: z.number().describe(\"Internal parameter\"),\n});\n\nexport const openweatherApiGet5DayForecast = action(\"OPENWEATHER_API_GET5_DAY_FORECAST\", {\n slug: \"openweather_api-get5-day-forecast\",\n name: \"Get 5 Day Forecast\",\n description: \"Tool to get a 5-day forecast every 3 hours (up to 40 UTC timestamps). Exactly one location identifier required per call: `q`, `id`, `zip`, or `lat`+`lon` pair. Use `city.timezone` offset to convert timestamps to local time before grouping into daily summaries.\",\n input: OpenweatherApiGet5DayForecastInput,\n output: OpenweatherApiGet5DayForecastOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACzF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC1D,KAAKA,IAAAA,EA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,CAAC,SAAS,wBAAwB;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;AACnD,CAAC;AAED,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get5-day-forecast.cjs","names":["z","action"],"sources":["../../src/actions/get5-day-forecast.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGet5DayForecastInput = z.object({\n q: z.string().describe(\"City name and optional country code, e.g. 'London,uk'\").optional(),\n id: z.number().int().describe(\"OpenWeatherMap city ID\").optional(),\n lat: z.number().describe(\"Latitude in degrees\").optional(),\n lon: z.number().describe(\"Longitude in degrees\").optional(),\n zip: z.string().describe(\"Zip code with country code, e.g. '94040,us'\").optional(),\n lang: z.string().describe(\"Language code (ISO 639-1)\").optional(),\n mode: z.enum([\"json\", \"xml\", \"html\"]).describe(\"Response format\").optional(),\n units: z.enum([\"standard\", \"metric\", \"imperial\"]).describe(\"Units of measurement (standard, metric, imperial)\").optional(),\n}).describe(\"Specify location and output options for 5-day, 3-hour forecast.\");\nconst OpenweatherApiGet5DayForecast_CityCoordSchema = z.object({\n lat: z.number().describe(\"Latitude\").nullable(),\n lon: z.number().describe(\"Longitude\").nullable(),\n}).passthrough();\nconst OpenweatherApiGet5DayForecast_CityInfoSchema = z.object({\n id: z.number().int().describe(\"City ID\").nullable(),\n name: z.string().describe(\"City name\").nullable(),\n coord: OpenweatherApiGet5DayForecast_CityCoordSchema.nullable(),\n sunset: z.number().int().describe(\"Sunset time (Unix UTC)\").nullable(),\n country: z.string().describe(\"Country code (ISO 3166)\").nullable(),\n sunrise: z.number().int().describe(\"Sunrise time (Unix UTC)\").nullable(),\n timezone: z.number().int().describe(\"Shift in seconds from UTC\").nullable(),\n}).passthrough();\nconst OpenweatherApiGet5DayForecast_SysInfoSchema = z.object({\n pod: z.enum([\"d\", \"n\"]).describe(\"Part of day: d=day, n=night\").nullable(),\n}).passthrough();\nconst OpenweatherApiGet5DayForecast_ForecastMainSchema = z.object({\n temp: z.number().describe(\"Temperature\").nullable(),\n temp_kf: z.number().describe(\"Temperature variance\").nullable().optional(),\n humidity: z.number().int().describe(\"Humidity percentage\").nullable(),\n pressure: z.number().int().describe(\"Atmospheric pressure (hPa)\").nullable(),\n temp_max: z.number().describe(\"Maximum temperature at the moment\").nullable(),\n temp_min: z.number().describe(\"Minimum temperature at the moment\").nullable(),\n sea_level: z.number().int().describe(\"Atmospheric pressure at sea level (hPa)\").nullable().optional(),\n feels_like: z.number().describe(\"Human perception of temperature\").nullable(),\n grnd_level: z.number().int().describe(\"Atmospheric pressure at ground level (hPa)\").nullable().optional(),\n}).passthrough();\nconst OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema = z.object({\n \"3h\": z.number().describe(\"Volume for last 3 hours\").nullable(),\n}).passthrough().describe(\"Rain or snow volume for last 3 hours\");\nconst OpenweatherApiGet5DayForecast_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 OpenweatherApiGet5DayForecast_CloudsSchema = z.object({\n all: z.number().int().describe(\"Cloudiness percentage\").nullable(),\n}).passthrough();\nconst OpenweatherApiGet5DayForecast_WeatherConditionSchema = 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\").nullable(),\n description: z.string().describe(\"Weather condition within the group\").nullable(),\n}).passthrough();\nconst OpenweatherApiGet5DayForecast_ForecastItemSchema = z.object({\n dt: z.number().int().describe(\"Forecast time (Unix UTC)\").nullable(),\n pop: z.number().describe(\"Probability of precipitation\").nullable().optional(),\n sys: OpenweatherApiGet5DayForecast_SysInfoSchema.nullable(),\n main: OpenweatherApiGet5DayForecast_ForecastMainSchema.nullable(),\n rain: OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema.nullable().optional(),\n snow: OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema.nullable().optional(),\n wind: OpenweatherApiGet5DayForecast_WindSchema.nullable(),\n clouds: OpenweatherApiGet5DayForecast_CloudsSchema.nullable(),\n dt_txt: z.string().describe(\"Forecast time as text\").nullable(),\n weather: z.array(OpenweatherApiGet5DayForecast_WeatherConditionSchema),\n visibility: z.number().int().describe(\"Visibility in meters\").nullable().optional(),\n}).passthrough();\nexport const OpenweatherApiGet5DayForecastOutput = z.object({\n cnt: z.number().int().describe(\"Number of timestamps returned\").nullable(),\n cod: z.string().describe(\"Internal response code\").nullable(),\n city: OpenweatherApiGet5DayForecast_CityInfoSchema.nullable(),\n list: z.array(OpenweatherApiGet5DayForecast_ForecastItemSchema).describe(\"Array of forecast data\"),\n message: z.number().describe(\"Internal parameter\").nullable(),\n}).passthrough();\n\nexport const openweatherApiGet5DayForecast = action(\"OPENWEATHER_API_GET5_DAY_FORECAST\", {\n slug: \"openweather_api-get5-day-forecast\",\n name: \"Get 5 Day Forecast\",\n description: \"Tool to get a 5-day forecast every 3 hours (up to 40 UTC timestamps). Exactly one location identifier required per call: `q`, `id`, `zip`, or `lat`+`lon` pair. Use `city.timezone` offset to convert timestamps to local time before grouping into daily summaries.\",\n input: OpenweatherApiGet5DayForecastInput,\n output: OpenweatherApiGet5DayForecastOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACzF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACzD,KAAK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