@keystrokehq/openweather_api 0.1.2 → 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 (114) hide show
  1. package/README.md +1 -1
  2. package/dist/actions/delete-weather-station.cjs +1 -1
  3. package/dist/actions/delete-weather-station.cjs.map +1 -1
  4. package/dist/actions/delete-weather-station.d.cts +1 -1
  5. package/dist/actions/delete-weather-station.d.mts +1 -1
  6. package/dist/actions/delete-weather-station.mjs +1 -1
  7. package/dist/actions/delete-weather-station.mjs.map +1 -1
  8. package/dist/actions/get-air-pollution-current.cjs +5 -5
  9. package/dist/actions/get-air-pollution-current.cjs.map +1 -1
  10. package/dist/actions/get-air-pollution-current.d.cts +5 -5
  11. package/dist/actions/get-air-pollution-current.d.mts +5 -5
  12. package/dist/actions/get-air-pollution-current.mjs +5 -5
  13. package/dist/actions/get-air-pollution-current.mjs.map +1 -1
  14. package/dist/actions/get-air-pollution-forecast.cjs +5 -5
  15. package/dist/actions/get-air-pollution-forecast.cjs.map +1 -1
  16. package/dist/actions/get-air-pollution-forecast.d.cts +5 -5
  17. package/dist/actions/get-air-pollution-forecast.d.mts +5 -5
  18. package/dist/actions/get-air-pollution-forecast.mjs +5 -5
  19. package/dist/actions/get-air-pollution-forecast.mjs.map +1 -1
  20. package/dist/actions/get-air-pollution-history.cjs +5 -5
  21. package/dist/actions/get-air-pollution-history.cjs.map +1 -1
  22. package/dist/actions/get-air-pollution-history.d.cts +5 -5
  23. package/dist/actions/get-air-pollution-history.d.mts +5 -5
  24. package/dist/actions/get-air-pollution-history.mjs +5 -5
  25. package/dist/actions/get-air-pollution-history.mjs.map +1 -1
  26. package/dist/actions/get-circle-city-weather.cjs +10 -10
  27. package/dist/actions/get-circle-city-weather.cjs.map +1 -1
  28. package/dist/actions/get-circle-city-weather.d.cts +10 -10
  29. package/dist/actions/get-circle-city-weather.d.mts +10 -10
  30. package/dist/actions/get-circle-city-weather.mjs +10 -10
  31. package/dist/actions/get-circle-city-weather.mjs.map +1 -1
  32. package/dist/actions/get-current-weather.cjs +9 -9
  33. package/dist/actions/get-current-weather.cjs.map +1 -1
  34. package/dist/actions/get-current-weather.d.cts +9 -9
  35. package/dist/actions/get-current-weather.d.mts +9 -9
  36. package/dist/actions/get-current-weather.mjs +9 -9
  37. package/dist/actions/get-current-weather.mjs.map +1 -1
  38. package/dist/actions/get-geocoding-by-zip.cjs +1 -1
  39. package/dist/actions/get-geocoding-by-zip.cjs.map +1 -1
  40. package/dist/actions/get-geocoding-by-zip.d.cts +1 -1
  41. package/dist/actions/get-geocoding-by-zip.d.mts +1 -1
  42. package/dist/actions/get-geocoding-by-zip.mjs +1 -1
  43. package/dist/actions/get-geocoding-by-zip.mjs.map +1 -1
  44. package/dist/actions/get-station-measurements.cjs +2 -2
  45. package/dist/actions/get-station-measurements.cjs.map +1 -1
  46. package/dist/actions/get-station-measurements.d.cts +2 -2
  47. package/dist/actions/get-station-measurements.d.mts +2 -2
  48. package/dist/actions/get-station-measurements.mjs +2 -2
  49. package/dist/actions/get-station-measurements.mjs.map +1 -1
  50. package/dist/actions/get-uv-index-history.cjs +2 -2
  51. package/dist/actions/get-uv-index-history.cjs.map +1 -1
  52. package/dist/actions/get-uv-index-history.d.cts +2 -2
  53. package/dist/actions/get-uv-index-history.d.mts +2 -2
  54. package/dist/actions/get-uv-index-history.mjs +2 -2
  55. package/dist/actions/get-uv-index-history.mjs.map +1 -1
  56. package/dist/actions/get-uv-index.cjs +1 -1
  57. package/dist/actions/get-uv-index.cjs.map +1 -1
  58. package/dist/actions/get-uv-index.d.cts +1 -1
  59. package/dist/actions/get-uv-index.d.mts +1 -1
  60. package/dist/actions/get-uv-index.mjs +1 -1
  61. package/dist/actions/get-uv-index.mjs.map +1 -1
  62. package/dist/actions/get-weather-map-tile.cjs +1 -1
  63. package/dist/actions/get-weather-map-tile.cjs.map +1 -1
  64. package/dist/actions/get-weather-map-tile.d.cts +5 -5
  65. package/dist/actions/get-weather-map-tile.d.mts +5 -5
  66. package/dist/actions/get-weather-map-tile.mjs +1 -1
  67. package/dist/actions/get-weather-map-tile.mjs.map +1 -1
  68. package/dist/actions/get-weather-station.cjs +1 -1
  69. package/dist/actions/get-weather-station.cjs.map +1 -1
  70. package/dist/actions/get-weather-station.d.cts +1 -1
  71. package/dist/actions/get-weather-station.d.mts +1 -1
  72. package/dist/actions/get-weather-station.mjs +1 -1
  73. package/dist/actions/get-weather-station.mjs.map +1 -1
  74. package/dist/actions/get-weather-stations.cjs +2 -2
  75. package/dist/actions/get-weather-stations.cjs.map +1 -1
  76. package/dist/actions/get-weather-stations.d.cts +2 -2
  77. package/dist/actions/get-weather-stations.d.mts +2 -2
  78. package/dist/actions/get-weather-stations.mjs +2 -2
  79. package/dist/actions/get-weather-stations.mjs.map +1 -1
  80. package/dist/actions/get-weather-triggers.cjs +3 -3
  81. package/dist/actions/get-weather-triggers.cjs.map +1 -1
  82. package/dist/actions/get-weather-triggers.d.cts +4 -3
  83. package/dist/actions/get-weather-triggers.d.mts +4 -3
  84. package/dist/actions/get-weather-triggers.mjs +3 -3
  85. package/dist/actions/get-weather-triggers.mjs.map +1 -1
  86. package/dist/actions/get5-day-forecast.cjs +10 -10
  87. package/dist/actions/get5-day-forecast.cjs.map +1 -1
  88. package/dist/actions/get5-day-forecast.d.cts +11 -11
  89. package/dist/actions/get5-day-forecast.d.mts +11 -11
  90. package/dist/actions/get5-day-forecast.mjs +10 -10
  91. package/dist/actions/get5-day-forecast.mjs.map +1 -1
  92. package/dist/actions/post-add-weather-station.cjs +1 -1
  93. package/dist/actions/post-add-weather-station.cjs.map +1 -1
  94. package/dist/actions/post-add-weather-station.d.cts +1 -1
  95. package/dist/actions/post-add-weather-station.d.mts +1 -1
  96. package/dist/actions/post-add-weather-station.mjs +1 -1
  97. package/dist/actions/post-add-weather-station.mjs.map +1 -1
  98. package/dist/actions/post-submit-station-measurements.cjs +2 -2
  99. package/dist/actions/post-submit-station-measurements.cjs.map +1 -1
  100. package/dist/actions/post-submit-station-measurements.d.cts +3 -2
  101. package/dist/actions/post-submit-station-measurements.d.mts +3 -2
  102. package/dist/actions/post-submit-station-measurements.mjs +2 -2
  103. package/dist/actions/post-submit-station-measurements.mjs.map +1 -1
  104. package/dist/actions/update-weather-station.cjs +1 -1
  105. package/dist/actions/update-weather-station.cjs.map +1 -1
  106. package/dist/actions/update-weather-station.d.cts +1 -1
  107. package/dist/actions/update-weather-station.d.mts +1 -1
  108. package/dist/actions/update-weather-station.mjs +1 -1
  109. package/dist/actions/update-weather-station.mjs.map +1 -1
  110. package/dist/execute.cjs +1 -1
  111. package/dist/execute.cjs.map +1 -1
  112. package/dist/execute.mjs +1 -1
  113. package/dist/execute.mjs.map +1 -1
  114. package/package.json +1 -1
@@ -12,8 +12,8 @@ const OpenweatherApiGetWeatherStations_StationSchema = zod.z.object({
12
12
  created_at: zod.z.string().describe("ISO8601 datetime of creation.").nullable(),
13
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.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});\nexport const OpenweatherApiGetWeatherStationsOutput = 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,wCAAwCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sEAAsE;AACjJ,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,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,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AACD,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,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 setting up your OpenWeather API key.\",\n input: OpenweatherApiGetWeatherStationsInput,\n output: OpenweatherApiGetWeatherStationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sEAAsE;AACjJ,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,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,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,UAAUA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mCAAmC,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,8 +13,8 @@ declare const OpenweatherApiGetWeatherStationsOutput: z.ZodObject<{
13
13
  created_at: z.ZodNullable<z.ZodString>;
14
14
  updated_at: z.ZodNullable<z.ZodString>;
15
15
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>>;
17
- }, z.core.$strip>;
16
+ }, z.core.$loose>>;
17
+ }, z.core.$loose>;
18
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]>;
19
19
  //#endregion
20
20
  export { openweatherApiGetWeatherStations };
@@ -13,8 +13,8 @@ declare const OpenweatherApiGetWeatherStationsOutput: z.ZodObject<{
13
13
  created_at: z.ZodNullable<z.ZodString>;
14
14
  updated_at: z.ZodNullable<z.ZodString>;
15
15
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>>;
17
- }, z.core.$strip>;
16
+ }, z.core.$loose>>;
17
+ }, z.core.$loose>;
18
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]>;
19
19
  //#endregion
20
20
  export { openweatherApiGetWeatherStations };
@@ -12,13 +12,13 @@ const OpenweatherApiGetWeatherStations_StationSchema = z.object({
12
12
  created_at: z.string().describe("ISO8601 datetime of creation.").nullable(),
13
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.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});\nexport const OpenweatherApiGetWeatherStationsOutput = 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,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;AAKD,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,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
19
  id: zod.z.string().describe("Unique ID of the trigger").nullable(),
20
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.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.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}).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}).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,SAAS,mDAAmD,CAAC,CAAC,CAAC,SAAS,qCAAqC,EAChH,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,SAAS,wCAAwC;AACpD,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,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"}
@@ -15,17 +15,18 @@ declare const OpenweatherApiGetWeatherTriggersInput: z.ZodObject<{
15
15
  "=": "=";
16
16
  between: "between";
17
17
  }>;
18
- }, z.core.$strip>>;
18
+ }, z.core.$loose>>;
19
19
  }, z.core.$strip>;
20
20
  declare const OpenweatherApiGetWeatherTriggersOutput: z.ZodObject<{
21
21
  triggers: z.ZodArray<z.ZodObject<{
22
22
  id: z.ZodNullable<z.ZodString>;
23
23
  status: z.ZodNullable<z.ZodString>;
24
24
  details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
25
- }, z.core.$strip>>;
26
- }, z.core.$strip>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>;
27
27
  declare const openweatherApiGetWeatherTriggers: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  triggers: {
29
+ [x: string]: unknown;
29
30
  type: string;
30
31
  value: number | number[];
31
32
  location: {
@@ -15,17 +15,18 @@ declare const OpenweatherApiGetWeatherTriggersInput: z.ZodObject<{
15
15
  "=": "=";
16
16
  between: "between";
17
17
  }>;
18
- }, z.core.$strip>>;
18
+ }, z.core.$loose>>;
19
19
  }, z.core.$strip>;
20
20
  declare const OpenweatherApiGetWeatherTriggersOutput: z.ZodObject<{
21
21
  triggers: z.ZodArray<z.ZodObject<{
22
22
  id: z.ZodNullable<z.ZodString>;
23
23
  status: z.ZodNullable<z.ZodString>;
24
24
  details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
25
- }, z.core.$strip>>;
26
- }, z.core.$strip>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>;
27
27
  declare const openweatherApiGetWeatherTriggers: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  triggers: {
29
+ [x: string]: unknown;
29
30
  type: string;
30
31
  value: number | number[];
31
32
  location: {
@@ -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
19
  id: z.string().describe("Unique ID of the trigger").nullable(),
20
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.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.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}).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}).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,SAAS,mDAAmD,CAAC,CAAC,CAAC,SAAS,qCAAqC,EAChH,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,SAAS,wCAAwC;AAKpD,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,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":";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ityCoordSchema = zod.z.object({
23
23
  lat: zod.z.number().describe("Latitude").nullable(),
24
24
  lon: zod.z.number().describe("Longitude").nullable()
25
- });
25
+ }).passthrough();
26
26
  const OpenweatherApiGet5DayForecast_CityInfoSchema = zod.z.object({
27
27
  id: zod.z.number().int().describe("City ID").nullable(),
28
28
  name: zod.z.string().describe("City name").nullable(),
@@ -31,8 +31,8 @@ const OpenweatherApiGet5DayForecast_CityInfoSchema = zod.z.object({
31
31
  country: zod.z.string().describe("Country code (ISO 3166)").nullable(),
32
32
  sunrise: zod.z.number().int().describe("Sunrise time (Unix UTC)").nullable(),
33
33
  timezone: zod.z.number().int().describe("Shift in seconds from UTC").nullable()
34
- });
35
- const OpenweatherApiGet5DayForecast_SysInfoSchema = zod.z.object({ pod: zod.z.enum(["d", "n"]).describe("Part of day: d=day, n=night").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
37
  temp: zod.z.number().describe("Temperature").nullable(),
38
38
  temp_kf: zod.z.number().describe("Temperature variance").nullable().optional(),
@@ -43,20 +43,20 @@ const OpenweatherApiGet5DayForecast_ForecastMainSchema = zod.z.object({
43
43
  sea_level: zod.z.number().int().describe("Atmospheric pressure at sea level (hPa)").nullable().optional(),
44
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").nullable() }).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
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
51
  speed: zod.z.number().describe("Wind speed").nullable()
52
- });
53
- const OpenweatherApiGet5DayForecast_CloudsSchema = zod.z.object({ all: zod.z.number().int().describe("Cloudiness percentage").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
55
  id: zod.z.number().int().describe("Weather condition ID").nullable(),
56
56
  icon: zod.z.string().describe("Weather icon ID").nullable(),
57
57
  main: zod.z.string().describe("Group of weather parameters").nullable(),
58
58
  description: zod.z.string().describe("Weather condition within the group").nullable()
59
- });
59
+ }).passthrough();
60
60
  const OpenweatherApiGet5DayForecast_ForecastItemSchema = zod.z.object({
61
61
  dt: zod.z.number().int().describe("Forecast time (Unix UTC)").nullable(),
62
62
  pop: zod.z.number().describe("Probability of precipitation").nullable().optional(),
@@ -69,14 +69,14 @@ const OpenweatherApiGet5DayForecast_ForecastItemSchema = zod.z.object({
69
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
74
  cnt: zod.z.number().int().describe("Number of timestamps returned").nullable(),
75
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
78
  message: zod.z.number().describe("Internal parameter").nullable()
79
- });
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.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});\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});\nconst OpenweatherApiGet5DayForecast_SysInfoSchema = z.object({\n pod: z.enum([\"d\", \"n\"]).describe(\"Part of day: d=day, n=night\").nullable(),\n});\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});\nconst OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema = z.object({\n \"3h\": z.number().describe(\"Volume for last 3 hours\").nullable(),\n}).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});\nconst OpenweatherApiGet5DayForecast_CloudsSchema = z.object({\n all: z.number().int().describe(\"Cloudiness percentage\").nullable(),\n});\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});\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});\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});\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,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA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C,SAAS;CAC9D,SAASA,IAAAA,EAAE,MAAM,oDAAoD;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC5D,MAAM,6CAA6C,SAAS;CAC5D,MAAMA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,wBAAwB;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAC9D,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,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAO;CAAM,CAAC,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;AACjD,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IA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AC,SAAS,wBAAwB;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -28,12 +28,12 @@ declare const OpenweatherApiGet5DayForecastOutput: z.ZodObject<{
28
28
  coord: z.ZodNullable<z.ZodObject<{
29
29
  lat: z.ZodNullable<z.ZodNumber>;
30
30
  lon: z.ZodNullable<z.ZodNumber>;
31
- }, z.core.$strip>>;
31
+ }, z.core.$loose>>;
32
32
  sunset: z.ZodNullable<z.ZodNumber>;
33
33
  country: z.ZodNullable<z.ZodString>;
34
34
  sunrise: z.ZodNullable<z.ZodNumber>;
35
35
  timezone: z.ZodNullable<z.ZodNumber>;
36
- }, z.core.$strip>>;
36
+ }, z.core.$loose>>;
37
37
  list: z.ZodArray<z.ZodObject<{
38
38
  dt: z.ZodNullable<z.ZodNumber>;
39
39
  pop: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -42,7 +42,7 @@ declare const OpenweatherApiGet5DayForecastOutput: z.ZodObject<{
42
42
  d: "d";
43
43
  n: "n";
44
44
  }>>;
45
- }, z.core.$strip>>;
45
+ }, z.core.$loose>>;
46
46
  main: z.ZodNullable<z.ZodObject<{
47
47
  temp: z.ZodNullable<z.ZodNumber>;
48
48
  temp_kf: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -53,32 +53,32 @@ declare const OpenweatherApiGet5DayForecastOutput: z.ZodObject<{
53
53
  sea_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
54
54
  feels_like: z.ZodNullable<z.ZodNumber>;
55
55
  grnd_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
56
- }, z.core.$strip>>;
56
+ }, z.core.$loose>>;
57
57
  rain: z.ZodOptional<z.ZodNullable<z.ZodObject<{
58
58
  "3h": z.ZodNullable<z.ZodNumber>;
59
- }, z.core.$strip>>>;
59
+ }, z.core.$loose>>>;
60
60
  snow: z.ZodOptional<z.ZodNullable<z.ZodObject<{
61
61
  "3h": z.ZodNullable<z.ZodNumber>;
62
- }, z.core.$strip>>>;
62
+ }, z.core.$loose>>>;
63
63
  wind: z.ZodNullable<z.ZodObject<{
64
64
  deg: z.ZodNullable<z.ZodNumber>;
65
65
  gust: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
66
66
  speed: z.ZodNullable<z.ZodNumber>;
67
- }, z.core.$strip>>;
67
+ }, z.core.$loose>>;
68
68
  clouds: z.ZodNullable<z.ZodObject<{
69
69
  all: z.ZodNullable<z.ZodNumber>;
70
- }, z.core.$strip>>;
70
+ }, z.core.$loose>>;
71
71
  dt_txt: z.ZodNullable<z.ZodString>;
72
72
  weather: z.ZodArray<z.ZodObject<{
73
73
  id: z.ZodNullable<z.ZodNumber>;
74
74
  icon: z.ZodNullable<z.ZodString>;
75
75
  main: z.ZodNullable<z.ZodString>;
76
76
  description: z.ZodNullable<z.ZodString>;
77
- }, z.core.$strip>>;
77
+ }, z.core.$loose>>;
78
78
  visibility: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
79
- }, z.core.$strip>>;
79
+ }, z.core.$loose>>;
80
80
  message: z.ZodNullable<z.ZodNumber>;
81
- }, z.core.$strip>;
81
+ }, z.core.$loose>;
82
82
  declare const openweatherApiGet5DayForecast: import("@keystrokehq/action").WorkflowActionDefinition<{
83
83
  q?: string | undefined;
84
84
  id?: number | undefined;
@@ -28,12 +28,12 @@ declare const OpenweatherApiGet5DayForecastOutput: z.ZodObject<{
28
28
  coord: z.ZodNullable<z.ZodObject<{
29
29
  lat: z.ZodNullable<z.ZodNumber>;
30
30
  lon: z.ZodNullable<z.ZodNumber>;
31
- }, z.core.$strip>>;
31
+ }, z.core.$loose>>;
32
32
  sunset: z.ZodNullable<z.ZodNumber>;
33
33
  country: z.ZodNullable<z.ZodString>;
34
34
  sunrise: z.ZodNullable<z.ZodNumber>;
35
35
  timezone: z.ZodNullable<z.ZodNumber>;
36
- }, z.core.$strip>>;
36
+ }, z.core.$loose>>;
37
37
  list: z.ZodArray<z.ZodObject<{
38
38
  dt: z.ZodNullable<z.ZodNumber>;
39
39
  pop: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -42,7 +42,7 @@ declare const OpenweatherApiGet5DayForecastOutput: z.ZodObject<{
42
42
  d: "d";
43
43
  n: "n";
44
44
  }>>;
45
- }, z.core.$strip>>;
45
+ }, z.core.$loose>>;
46
46
  main: z.ZodNullable<z.ZodObject<{
47
47
  temp: z.ZodNullable<z.ZodNumber>;
48
48
  temp_kf: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -53,32 +53,32 @@ declare const OpenweatherApiGet5DayForecastOutput: z.ZodObject<{
53
53
  sea_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
54
54
  feels_like: z.ZodNullable<z.ZodNumber>;
55
55
  grnd_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
56
- }, z.core.$strip>>;
56
+ }, z.core.$loose>>;
57
57
  rain: z.ZodOptional<z.ZodNullable<z.ZodObject<{
58
58
  "3h": z.ZodNullable<z.ZodNumber>;
59
- }, z.core.$strip>>>;
59
+ }, z.core.$loose>>>;
60
60
  snow: z.ZodOptional<z.ZodNullable<z.ZodObject<{
61
61
  "3h": z.ZodNullable<z.ZodNumber>;
62
- }, z.core.$strip>>>;
62
+ }, z.core.$loose>>>;
63
63
  wind: z.ZodNullable<z.ZodObject<{
64
64
  deg: z.ZodNullable<z.ZodNumber>;
65
65
  gust: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
66
66
  speed: z.ZodNullable<z.ZodNumber>;
67
- }, z.core.$strip>>;
67
+ }, z.core.$loose>>;
68
68
  clouds: z.ZodNullable<z.ZodObject<{
69
69
  all: z.ZodNullable<z.ZodNumber>;
70
- }, z.core.$strip>>;
70
+ }, z.core.$loose>>;
71
71
  dt_txt: z.ZodNullable<z.ZodString>;
72
72
  weather: z.ZodArray<z.ZodObject<{
73
73
  id: z.ZodNullable<z.ZodNumber>;
74
74
  icon: z.ZodNullable<z.ZodString>;
75
75
  main: z.ZodNullable<z.ZodString>;
76
76
  description: z.ZodNullable<z.ZodString>;
77
- }, z.core.$strip>>;
77
+ }, z.core.$loose>>;
78
78
  visibility: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
79
- }, z.core.$strip>>;
79
+ }, z.core.$loose>>;
80
80
  message: z.ZodNullable<z.ZodNumber>;
81
- }, z.core.$strip>;
81
+ }, z.core.$loose>;
82
82
  declare const openweatherApiGet5DayForecast: import("@keystrokehq/action").WorkflowActionDefinition<{
83
83
  q?: string | undefined;
84
84
  id?: number | undefined;
@@ -22,7 +22,7 @@ const OpenweatherApiGet5DayForecastInput = z.object({
22
22
  const OpenweatherApiGet5DayForecast_CityCoordSchema = z.object({
23
23
  lat: z.number().describe("Latitude").nullable(),
24
24
  lon: z.number().describe("Longitude").nullable()
25
- });
25
+ }).passthrough();
26
26
  const OpenweatherApiGet5DayForecast_CityInfoSchema = z.object({
27
27
  id: z.number().int().describe("City ID").nullable(),
28
28
  name: z.string().describe("City name").nullable(),
@@ -31,8 +31,8 @@ const OpenweatherApiGet5DayForecast_CityInfoSchema = z.object({
31
31
  country: z.string().describe("Country code (ISO 3166)").nullable(),
32
32
  sunrise: z.number().int().describe("Sunrise time (Unix UTC)").nullable(),
33
33
  timezone: z.number().int().describe("Shift in seconds from UTC").nullable()
34
- });
35
- const OpenweatherApiGet5DayForecast_SysInfoSchema = z.object({ pod: z.enum(["d", "n"]).describe("Part of day: d=day, n=night").nullable() });
34
+ }).passthrough();
35
+ const OpenweatherApiGet5DayForecast_SysInfoSchema = z.object({ pod: z.enum(["d", "n"]).describe("Part of day: d=day, n=night").nullable() }).passthrough();
36
36
  const OpenweatherApiGet5DayForecast_ForecastMainSchema = z.object({
37
37
  temp: z.number().describe("Temperature").nullable(),
38
38
  temp_kf: z.number().describe("Temperature variance").nullable().optional(),
@@ -43,20 +43,20 @@ const OpenweatherApiGet5DayForecast_ForecastMainSchema = z.object({
43
43
  sea_level: z.number().int().describe("Atmospheric pressure at sea level (hPa)").nullable().optional(),
44
44
  feels_like: z.number().describe("Human perception of temperature").nullable(),
45
45
  grnd_level: z.number().int().describe("Atmospheric pressure at ground level (hPa)").nullable().optional()
46
- });
47
- const OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema = z.object({ "3h": z.number().describe("Volume for last 3 hours").nullable() }).describe("Rain or snow volume for last 3 hours");
46
+ }).passthrough();
47
+ const OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema = z.object({ "3h": z.number().describe("Volume for last 3 hours").nullable() }).passthrough().describe("Rain or snow volume for last 3 hours");
48
48
  const OpenweatherApiGet5DayForecast_WindSchema = z.object({
49
49
  deg: z.number().int().describe("Wind direction in degrees").nullable(),
50
50
  gust: z.number().describe("Wind gust speed").nullable().optional(),
51
51
  speed: z.number().describe("Wind speed").nullable()
52
- });
53
- const OpenweatherApiGet5DayForecast_CloudsSchema = z.object({ all: z.number().int().describe("Cloudiness percentage").nullable() });
52
+ }).passthrough();
53
+ const OpenweatherApiGet5DayForecast_CloudsSchema = z.object({ all: z.number().int().describe("Cloudiness percentage").nullable() }).passthrough();
54
54
  const OpenweatherApiGet5DayForecast_WeatherConditionSchema = z.object({
55
55
  id: z.number().int().describe("Weather condition ID").nullable(),
56
56
  icon: z.string().describe("Weather icon ID").nullable(),
57
57
  main: z.string().describe("Group of weather parameters").nullable(),
58
58
  description: z.string().describe("Weather condition within the group").nullable()
59
- });
59
+ }).passthrough();
60
60
  const OpenweatherApiGet5DayForecast_ForecastItemSchema = z.object({
61
61
  dt: z.number().int().describe("Forecast time (Unix UTC)").nullable(),
62
62
  pop: z.number().describe("Probability of precipitation").nullable().optional(),
@@ -69,7 +69,7 @@ const OpenweatherApiGet5DayForecast_ForecastItemSchema = z.object({
69
69
  dt_txt: z.string().describe("Forecast time as text").nullable(),
70
70
  weather: z.array(OpenweatherApiGet5DayForecast_WeatherConditionSchema),
71
71
  visibility: z.number().int().describe("Visibility in meters").nullable().optional()
72
- });
72
+ }).passthrough();
73
73
  const openweatherApiGet5DayForecast = action("OPENWEATHER_API_GET5_DAY_FORECAST", {
74
74
  slug: "openweather_api-get5-day-forecast",
75
75
  name: "Get 5 Day Forecast",
@@ -81,7 +81,7 @@ const openweatherApiGet5DayForecast = action("OPENWEATHER_API_GET5_DAY_FORECAST"
81
81
  city: OpenweatherApiGet5DayForecast_CityInfoSchema.nullable(),
82
82
  list: z.array(OpenweatherApiGet5DayForecast_ForecastItemSchema).describe("Array of forecast data"),
83
83
  message: z.number().describe("Internal parameter").nullable()
84
- })
84
+ }).passthrough()
85
85
  });
86
86
  //#endregion
87
87
  export { openweatherApiGet5DayForecast };
@@ -1 +1 @@
1
- {"version":3,"file":"get5-day-forecast.mjs","names":[],"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});\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});\nconst OpenweatherApiGet5DayForecast_SysInfoSchema = z.object({\n pod: z.enum([\"d\", \"n\"]).describe(\"Part of day: d=day, n=night\").nullable(),\n});\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});\nconst OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema = z.object({\n \"3h\": z.number().describe(\"Volume for last 3 hours\").nullable(),\n}).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});\nconst OpenweatherApiGet5DayForecast_CloudsSchema = z.object({\n all: z.number().int().describe(\"Cloudiness percentage\").nullable(),\n});\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});\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});\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});\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,qCAAqC,E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CAAC,SAAS;CAC9D,SAAS,EAAE,MAAM,oDAAoD;CACrE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC;AASD,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbiD,EAAE,OAAO;EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACzE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC5D,MAAM,6CAA6C,SAAS;EAC5D,MAAM,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,wBAAwB;EACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC9D,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get5-day-forecast.mjs","names":[],"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,qCAAqC,EAAE,OAAO;CACzD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACzF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAO;CAAM,CAAC,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,KAAK;EAAC;EAAY;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,gDAAgD,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;AACjD,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,OAAO,8CAA8C,SAAS;CAC9D,QAAQ,EAAE,OAAO,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AS;CAC7E,KAAK,4CAA4C,SAAS;CAC1D,MAAM,iDAAiD,SAAS;CAChE,MAAM,wDAAwD,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,wDAAwD,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,yCAAyC,SAAS;CACxD,QAAQ,2CAA2C,SAAS;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC9D,SAAS,EAAE,MAAM,oDAAoD;CACrE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY;AASf,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbiD,EAAE,OAAO;EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACzE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC5D,MAAM,6CAA6C,SAAS;EAC5D,MAAM,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,wBAAwB;EACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC9D,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -20,7 +20,7 @@ const OpenweatherApiPostAddWeatherStationOutput = zod.z.object({
20
20
  updated_at: zod.z.string().describe("ISO datetime when station was last updated").nullable().optional(),
21
21
  external_id: zod.z.string().describe("Provided external station ID").nullable(),
22
22
  source_type: zod.z.number().int().describe("Source type identifier").nullable().optional()
23
- }).describe("Response schema for added weather station.");
23
+ }).passthrough().describe("Response schema for added weather station.");
24
24
  const openweatherApiPostAddWeatherStation = require_action.action("OPENWEATHER_API_POST_ADD_WEATHER_STATION", {
25
25
  slug: "openweather_api-post-add-weather-station",
26
26
  name: "Add Weather Station",
@@ -1 +1 @@
1
- {"version":3,"file":"post-add-weather-station.cjs","names":["z","action"],"sources":["../../src/actions/post-add-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiPostAddWeatherStationInput = z.object({\n name: z.string().describe(\"Station name\"),\n altitude: z.number().describe(\"Station altitude in meters above sea level\"),\n latitude: z.number().describe(\"Station latitude, range -90 to 90 degrees\"),\n longitude: z.number().describe(\"Station longitude, range -180 to 180 degrees\"),\n external_id: z.string().describe(\"External station ID (your own reference)\"),\n}).describe(\"Request parameters to add a new weather station. Provide external_id, name, geographic coordinates, and altitude.\");\nexport const OpenweatherApiPostAddWeatherStationOutput = z.object({\n ID: z.string().describe(\"Internal OpenWeather station ID\").nullable(),\n name: z.string().describe(\"Station name\").nullable(),\n rank: z.number().int().describe(\"Station rank\").nullable().optional(),\n user_id: z.string().describe(\"User ID that owns the station\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude in meters\").nullable(),\n latitude: z.number().describe(\"Station latitude\").nullable(),\n longitude: z.number().describe(\"Station longitude\").nullable(),\n created_at: z.string().describe(\"ISO datetime when station was created\").nullable(),\n updated_at: z.string().describe(\"ISO datetime when station was last updated\").nullable().optional(),\n external_id: z.string().describe(\"Provided external station ID\").nullable(),\n source_type: z.number().int().describe(\"Source type identifier\").nullable().optional(),\n}).describe(\"Response schema for added weather station.\");\n\nexport const openweatherApiPostAddWeatherStation = action(\"OPENWEATHER_API_POST_ADD_WEATHER_STATION\", {\n slug: \"openweather_api-post-add-weather-station\",\n name: \"Add Weather Station\",\n description: \"Tool to add a new weather station to your account. Use when you need to register a station before sending custom data.\",\n input: OpenweatherApiPostAddWeatherStationInput,\n output: OpenweatherApiPostAddWeatherStationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAA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AAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-add-weather-station.cjs","names":["z","action"],"sources":["../../src/actions/post-add-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiPostAddWeatherStationInput = z.object({\n name: z.string().describe(\"Station name\"),\n altitude: z.number().describe(\"Station altitude in meters above sea level\"),\n latitude: z.number().describe(\"Station latitude, range -90 to 90 degrees\"),\n longitude: z.number().describe(\"Station longitude, range -180 to 180 degrees\"),\n external_id: z.string().describe(\"External station ID (your own reference)\"),\n}).describe(\"Request parameters to add a new weather station. Provide external_id, name, geographic coordinates, and altitude.\");\nexport const OpenweatherApiPostAddWeatherStationOutput = z.object({\n ID: z.string().describe(\"Internal OpenWeather station ID\").nullable(),\n name: z.string().describe(\"Station name\").nullable(),\n rank: z.number().int().describe(\"Station rank\").nullable().optional(),\n user_id: z.string().describe(\"User ID that owns the station\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude in meters\").nullable(),\n latitude: z.number().describe(\"Station latitude\").nullable(),\n longitude: z.number().describe(\"Station longitude\").nullable(),\n created_at: z.string().describe(\"ISO datetime when station was created\").nullable(),\n updated_at: z.string().describe(\"ISO datetime when station was last updated\").nullable().optional(),\n external_id: z.string().describe(\"Provided external station ID\").nullable(),\n source_type: z.number().int().describe(\"Source type identifier\").nullable().optional(),\n}).passthrough().describe(\"Response schema for added weather station.\");\n\nexport const openweatherApiPostAddWeatherStation = action(\"OPENWEATHER_API_POST_ADD_WEATHER_STATION\", {\n slug: \"openweather_api-post-add-weather-station\",\n name: \"Add Weather Station\",\n description: \"Tool to add a new weather station to your account. Use when you need to register a station before sending custom data.\",\n input: Openweather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