@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
@@ -20,7 +20,7 @@ declare const OpenweatherApiPostAddWeatherStationOutput: z.ZodObject<{
20
20
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  external_id: z.ZodNullable<z.ZodString>;
22
22
  source_type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const openweatherApiPostAddWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  name: string;
26
26
  altitude: number;
@@ -20,7 +20,7 @@ declare const OpenweatherApiPostAddWeatherStationOutput: z.ZodObject<{
20
20
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  external_id: z.ZodNullable<z.ZodString>;
22
22
  source_type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const openweatherApiPostAddWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  name: string;
26
26
  altitude: number;
@@ -23,7 +23,7 @@ const openweatherApiPostAddWeatherStation = action("OPENWEATHER_API_POST_ADD_WEA
23
23
  updated_at: z.string().describe("ISO datetime when station was last updated").nullable().optional(),
24
24
  external_id: z.string().describe("Provided external station ID").nullable(),
25
25
  source_type: z.number().int().describe("Source type identifier").nullable().optional()
26
- }).describe("Response schema for added weather station.")
26
+ }).passthrough().describe("Response schema for added weather station.")
27
27
  });
28
28
  //#endregion
29
29
  export { openweatherApiPostAddWeatherStation };
@@ -1 +1 @@
1
- {"version":3,"file":"post-add-weather-station.mjs","names":[],"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: OpenweatherApiP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,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"post-add-weather-station.mjs","names":[],"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: OpenweatherApiPostAddWeatherStationInput,\n output: OpenweatherApiPostAddWeatherStationOutput,\n});\n"],"mappings":";;AAyBA,MAAa,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CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
@@ -11,11 +11,11 @@ const OpenweatherApiPostSubmitStationMeasurementsInput = zod.z.object({ measurem
11
11
  station_id: zod.z.string().describe("Internal station ID (obtained from adding a station)"),
12
12
  wind_speed: zod.z.number().describe("Wind speed in m/s").optional(),
13
13
  temperature: zod.z.number().describe("Air temperature in Celsius").optional()
14
- }).describe("A single weather measurement from a station.")).describe("Array of measurement objects to submit") }).describe("Request parameters to submit weather measurements from one or more stations.");
14
+ }).passthrough().describe("A single weather measurement from a station.")).describe("Array of measurement objects to submit") }).describe("Request parameters to submit weather measurements from one or more stations.");
15
15
  const OpenweatherApiPostSubmitStationMeasurementsOutput = zod.z.object({
16
16
  message: zod.z.string().default("Measurements submitted successfully").describe("Status message").nullable().optional(),
17
17
  success: zod.z.boolean().default(true).describe("Indicates successful submission of measurements").nullable().optional()
18
- }).describe("Response schema for submitted measurements. API returns HTTP 204 with no content body on success.");
18
+ }).passthrough().describe("Response schema for submitted measurements. API returns HTTP 204 with no content body on success.");
19
19
  const openweatherApiPostSubmitStationMeasurements = require_action.action("OPENWEATHER_API_POST_SUBMIT_STATION_MEASUREMENTS", {
20
20
  slug: "openweather_api-post-submit-station-measurements",
21
21
  name: "Submit Station Measurements",
@@ -1 +1 @@
1
- {"version":3,"file":"post-submit-station-measurements.cjs","names":["z","action"],"sources":["../../src/actions/post-submit-station-measurements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiPostSubmitStationMeasurementsInput = z.object({\n measurements: z.array(z.object({\n dt: z.number().int().describe(\"Time of measurement as Unix timestamp (seconds since epoch)\"),\n rain_1h: z.number().describe(\"Rainfall in the last hour in mm\").optional(),\n humidity: z.number().describe(\"Relative humidity in %\").optional(),\n pressure: z.number().describe(\"Atmospheric pressure in hPa\").optional(),\n wind_deg: z.number().int().describe(\"Wind direction in degrees (0-360)\").optional(),\n wind_gust: z.number().describe(\"Maximum wind gust speed in m/s\").optional(),\n station_id: z.string().describe(\"Internal station ID (obtained from adding a station)\"),\n wind_speed: z.number().describe(\"Wind speed in m/s\").optional(),\n temperature: z.number().describe(\"Air temperature in Celsius\").optional(),\n}).describe(\"A single weather measurement from a station.\")).describe(\"Array of measurement objects to submit\"),\n}).describe(\"Request parameters to submit weather measurements from one or more stations.\");\nexport const OpenweatherApiPostSubmitStationMeasurementsOutput = z.object({\n message: z.string().default(\"Measurements submitted successfully\").describe(\"Status message\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates successful submission of measurements\").nullable().optional(),\n}).describe(\"Response schema for submitted measurements. API returns HTTP 204 with no content body on success.\");\n\nexport const openweatherApiPostSubmitStationMeasurements = action(\"OPENWEATHER_API_POST_SUBMIT_STATION_MEASUREMENTS\", {\n slug: \"openweather_api-post-submit-station-measurements\",\n name: \"Submit Station Measurements\",\n description: \"Tool to submit weather measurements from a registered station. Use when you need to send temperature, wind, pressure, humidity, or precipitation data for a station.\",\n input: OpenweatherApiPostSubmitStationMeasurementsInput,\n output: OpenweatherApiPostSubmitStationMeasurementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mDAAmDA,IAAAA,EAAE,OAAO,EACvE,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC/B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,wCAAwC,EAC9G,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAa,oDAAoDA,IAAAA,EAAE,OAAO;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,qCAAqC,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,mGAAmG;AAE/G,MAAa,8CAA8CC,eAAAA,OAAO,oDAAoD;CACpH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-submit-station-measurements.cjs","names":["z","action"],"sources":["../../src/actions/post-submit-station-measurements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiPostSubmitStationMeasurementsInput = z.object({\n measurements: z.array(z.object({\n dt: z.number().int().describe(\"Time of measurement as Unix timestamp (seconds since epoch)\"),\n rain_1h: z.number().describe(\"Rainfall in the last hour in mm\").optional(),\n humidity: z.number().describe(\"Relative humidity in %\").optional(),\n pressure: z.number().describe(\"Atmospheric pressure in hPa\").optional(),\n wind_deg: z.number().int().describe(\"Wind direction in degrees (0-360)\").optional(),\n wind_gust: z.number().describe(\"Maximum wind gust speed in m/s\").optional(),\n station_id: z.string().describe(\"Internal station ID (obtained from adding a station)\"),\n wind_speed: z.number().describe(\"Wind speed in m/s\").optional(),\n temperature: z.number().describe(\"Air temperature in Celsius\").optional(),\n}).passthrough().describe(\"A single weather measurement from a station.\")).describe(\"Array of measurement objects to submit\"),\n}).describe(\"Request parameters to submit weather measurements from one or more stations.\");\nexport const OpenweatherApiPostSubmitStationMeasurementsOutput = z.object({\n message: z.string().default(\"Measurements submitted successfully\").describe(\"Status message\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates successful submission of measurements\").nullable().optional(),\n}).passthrough().describe(\"Response schema for submitted measurements. API returns HTTP 204 with no content body on success.\");\n\nexport const openweatherApiPostSubmitStationMeasurements = action(\"OPENWEATHER_API_POST_SUBMIT_STATION_MEASUREMENTS\", {\n slug: \"openweather_api-post-submit-station-measurements\",\n name: \"Submit Station Measurements\",\n description: \"Tool to submit weather measurements from a registered station. Use when you need to send temperature, wind, pressure, humidity, or precipitation data for a station.\",\n input: OpenweatherApiPostSubmitStationMeasurementsInput,\n output: OpenweatherApiPostSubmitStationMeasurementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mDAAmDA,IAAAA,EAAE,OAAO,EACvE,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC/B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,wCAAwC,EAC5H,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAa,oDAAoDA,IAAAA,EAAE,OAAO;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,qCAAqC,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mGAAmG;AAE7H,MAAa,8CAA8CC,eAAAA,OAAO,oDAAoD;CACpH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,14 +12,15 @@ declare const OpenweatherApiPostSubmitStationMeasurementsInput: z.ZodObject<{
12
12
  station_id: z.ZodString;
13
13
  wind_speed: z.ZodOptional<z.ZodNumber>;
14
14
  temperature: z.ZodOptional<z.ZodNumber>;
15
- }, z.core.$strip>>;
15
+ }, z.core.$loose>>;
16
16
  }, z.core.$strip>;
17
17
  declare const OpenweatherApiPostSubmitStationMeasurementsOutput: z.ZodObject<{
18
18
  message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
19
19
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
20
- }, z.core.$strip>;
20
+ }, z.core.$loose>;
21
21
  declare const openweatherApiPostSubmitStationMeasurements: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  measurements: {
23
+ [x: string]: unknown;
23
24
  dt: number;
24
25
  station_id: string;
25
26
  rain_1h?: number | undefined;
@@ -12,14 +12,15 @@ declare const OpenweatherApiPostSubmitStationMeasurementsInput: z.ZodObject<{
12
12
  station_id: z.ZodString;
13
13
  wind_speed: z.ZodOptional<z.ZodNumber>;
14
14
  temperature: z.ZodOptional<z.ZodNumber>;
15
- }, z.core.$strip>>;
15
+ }, z.core.$loose>>;
16
16
  }, z.core.$strip>;
17
17
  declare const OpenweatherApiPostSubmitStationMeasurementsOutput: z.ZodObject<{
18
18
  message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
19
19
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
20
- }, z.core.$strip>;
20
+ }, z.core.$loose>;
21
21
  declare const openweatherApiPostSubmitStationMeasurements: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  measurements: {
23
+ [x: string]: unknown;
23
24
  dt: number;
24
25
  station_id: string;
25
26
  rain_1h?: number | undefined;
@@ -14,11 +14,11 @@ const openweatherApiPostSubmitStationMeasurements = action("OPENWEATHER_API_POST
14
14
  station_id: z.string().describe("Internal station ID (obtained from adding a station)"),
15
15
  wind_speed: z.number().describe("Wind speed in m/s").optional(),
16
16
  temperature: z.number().describe("Air temperature in Celsius").optional()
17
- }).describe("A single weather measurement from a station.")).describe("Array of measurement objects to submit") }).describe("Request parameters to submit weather measurements from one or more stations."),
17
+ }).passthrough().describe("A single weather measurement from a station.")).describe("Array of measurement objects to submit") }).describe("Request parameters to submit weather measurements from one or more stations."),
18
18
  output: z.object({
19
19
  message: z.string().default("Measurements submitted successfully").describe("Status message").nullable().optional(),
20
20
  success: z.boolean().default(true).describe("Indicates successful submission of measurements").nullable().optional()
21
- }).describe("Response schema for submitted measurements. API returns HTTP 204 with no content body on success.")
21
+ }).passthrough().describe("Response schema for submitted measurements. API returns HTTP 204 with no content body on success.")
22
22
  });
23
23
  //#endregion
24
24
  export { openweatherApiPostSubmitStationMeasurements };
@@ -1 +1 @@
1
- {"version":3,"file":"post-submit-station-measurements.mjs","names":[],"sources":["../../src/actions/post-submit-station-measurements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiPostSubmitStationMeasurementsInput = z.object({\n measurements: z.array(z.object({\n dt: z.number().int().describe(\"Time of measurement as Unix timestamp (seconds since epoch)\"),\n rain_1h: z.number().describe(\"Rainfall in the last hour in mm\").optional(),\n humidity: z.number().describe(\"Relative humidity in %\").optional(),\n pressure: z.number().describe(\"Atmospheric pressure in hPa\").optional(),\n wind_deg: z.number().int().describe(\"Wind direction in degrees (0-360)\").optional(),\n wind_gust: z.number().describe(\"Maximum wind gust speed in m/s\").optional(),\n station_id: z.string().describe(\"Internal station ID (obtained from adding a station)\"),\n wind_speed: z.number().describe(\"Wind speed in m/s\").optional(),\n temperature: z.number().describe(\"Air temperature in Celsius\").optional(),\n}).describe(\"A single weather measurement from a station.\")).describe(\"Array of measurement objects to submit\"),\n}).describe(\"Request parameters to submit weather measurements from one or more stations.\");\nexport const OpenweatherApiPostSubmitStationMeasurementsOutput = z.object({\n message: z.string().default(\"Measurements submitted successfully\").describe(\"Status message\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates successful submission of measurements\").nullable().optional(),\n}).describe(\"Response schema for submitted measurements. API returns HTTP 204 with no content body on success.\");\n\nexport const openweatherApiPostSubmitStationMeasurements = action(\"OPENWEATHER_API_POST_SUBMIT_STATION_MEASUREMENTS\", {\n slug: \"openweather_api-post-submit-station-measurements\",\n name: \"Submit Station Measurements\",\n description: \"Tool to submit weather measurements from a registered station. Use when you need to send temperature, wind, pressure, humidity, or precipitation data for a station.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AS,mGAOF;AACV,CAAC"}
1
+ {"version":3,"file":"post-submit-station-measurements.mjs","names":[],"sources":["../../src/actions/post-submit-station-measurements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiPostSubmitStationMeasurementsInput = z.object({\n measurements: z.array(z.object({\n dt: z.number().int().describe(\"Time of measurement as Unix timestamp (seconds since epoch)\"),\n rain_1h: z.number().describe(\"Rainfall in the last hour in mm\").optional(),\n humidity: z.number().describe(\"Relative humidity in %\").optional(),\n pressure: z.number().describe(\"Atmospheric pressure in hPa\").optional(),\n wind_deg: z.number().int().describe(\"Wind direction in degrees (0-360)\").optional(),\n wind_gust: z.number().describe(\"Maximum wind gust speed in m/s\").optional(),\n station_id: z.string().describe(\"Internal station ID (obtained from adding a station)\"),\n wind_speed: z.number().describe(\"Wind speed in m/s\").optional(),\n temperature: z.number().describe(\"Air temperature in Celsius\").optional(),\n}).passthrough().describe(\"A single weather measurement from a station.\")).describe(\"Array of measurement objects to submit\"),\n}).describe(\"Request parameters to submit weather measurements from one or more stations.\");\nexport const OpenweatherApiPostSubmitStationMeasurementsOutput = z.object({\n message: z.string().default(\"Measurements submitted successfully\").describe(\"Status message\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates successful submission of measurements\").nullable().optional(),\n}).passthrough().describe(\"Response schema for submitted measurements. API returns HTTP 204 with no content body on success.\");\n\nexport const openweatherApiPostSubmitStationMeasurements = action(\"OPENWEATHER_API_POST_SUBMIT_STATION_MEASUREMENTS\", {\n slug: \"openweather_api-post-submit-station-measurements\",\n name: \"Submit Station Measurements\",\n description: \"Tool to submit weather measurements from a registered station. Use when you need to send temperature, wind, pressure, humidity, or precipitation data for a station.\",\n input: OpenweatherApiPostSubmitStationMeasurementsInput,\n output: OpenweatherApiPostSubmitStationMeasurementsOutput,\n});\n"],"mappings":";;AAsBA,MAAa,8CAA8C,OAAO,oDAAoD;CACpH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB8D,EAAE,OAAO,EACvE,cAAc,EAAE,MAAM,EAAE,OAAO;EAC/B,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC9D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,wCAAwC,EAC5H,CAAC,CAAC,CAAC,SAAS,8EAUH;CACP,QAV+D,EAAE,OAAO;EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,qCAAqC,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mGAOhB;AACV,CAAC"}
@@ -18,7 +18,7 @@ const OpenweatherApiUpdateWeatherStationOutput = zod.z.object({
18
18
  created_at: zod.z.string().describe("ISO datetime when station was created").nullable().optional(),
19
19
  updated_at: zod.z.string().describe("ISO datetime when station was last updated").nullable().optional(),
20
20
  external_id: zod.z.string().describe("Custom user-provided external identifier").nullable().optional()
21
- }).describe("Response schema for the updated weather station.");
21
+ }).passthrough().describe("Response schema for the updated weather station.");
22
22
  const openweatherApiUpdateWeatherStation = require_action.action("OPENWEATHER_API_UPDATE_WEATHER_STATION", {
23
23
  slug: "openweather_api-update-weather-station",
24
24
  name: "Update Weather Station",
@@ -1 +1 @@
1
- {"version":3,"file":"update-weather-station.cjs","names":["z","action"],"sources":["../../src/actions/update-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiUpdateWeatherStationInput = z.object({\n name: z.string().describe(\"Human-readable name for the station\").optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees, between -90 and 90\"),\n longitude: z.number().describe(\"Longitude of the station in degrees, between -180 and 180\"),\n station_id: z.string().describe(\"Unique identifier of the weather station to update\"),\n external_id: z.string().describe(\"Custom user-provided external identifier for the station\").optional(),\n}).describe(\"Request parameters to update an existing weather station. Provide the station_id path parameter and at least the latitude and longitude for location.\");\nexport const OpenweatherApiUpdateWeatherStationOutput = z.object({\n ID: z.string().describe(\"Station identifier\").nullable(),\n name: z.string().describe(\"Station name\").nullable().optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees\").nullable(),\n longitude: z.number().describe(\"Longitude of the station in degrees\").nullable(),\n created_at: z.string().describe(\"ISO datetime when station was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO datetime when station was last updated\").nullable().optional(),\n external_id: z.string().describe(\"Custom user-provided external identifier\").nullable().optional(),\n}).describe(\"Response schema for the updated weather station.\");\n\nexport const openweatherApiUpdateWeatherStation = action(\"OPENWEATHER_API_UPDATE_WEATHER_STATION\", {\n slug: \"openweather_api-update-weather-station\",\n name: \"Update Weather Station\",\n description: \"Tool to update weather station details. Use when you need to modify the name, location, or external ID of an existing station.\",\n input: OpenweatherApiUpdateWeatherStationInput,\n output: OpenweatherApiUpdateWeatherStationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,uJAAuJ;AACnK,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-weather-station.cjs","names":["z","action"],"sources":["../../src/actions/update-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiUpdateWeatherStationInput = z.object({\n name: z.string().describe(\"Human-readable name for the station\").optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees, between -90 and 90\"),\n longitude: z.number().describe(\"Longitude of the station in degrees, between -180 and 180\"),\n station_id: z.string().describe(\"Unique identifier of the weather station to update\"),\n external_id: z.string().describe(\"Custom user-provided external identifier for the station\").optional(),\n}).describe(\"Request parameters to update an existing weather station. Provide the station_id path parameter and at least the latitude and longitude for location.\");\nexport const OpenweatherApiUpdateWeatherStationOutput = z.object({\n ID: z.string().describe(\"Station identifier\").nullable(),\n name: z.string().describe(\"Station name\").nullable().optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees\").nullable(),\n longitude: z.number().describe(\"Longitude of the station in degrees\").nullable(),\n created_at: z.string().describe(\"ISO datetime when station was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO datetime when station was last updated\").nullable().optional(),\n external_id: z.string().describe(\"Custom user-provided external identifier\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the updated weather station.\");\n\nexport const openweatherApiUpdateWeatherStation = action(\"OPENWEATHER_API_UPDATE_WEATHER_STATION\", {\n slug: \"openweather_api-update-weather-station\",\n name: \"Update Weather Station\",\n description: \"Tool to update weather station details. Use when you need to modify the name, location, or external ID of an existing station.\",\n input: OpenweatherApiUpdateWeatherStationInput,\n output: OpenweatherApiUpdateWeatherStationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,uJAAuJ;AACnK,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -18,7 +18,7 @@ declare const OpenweatherApiUpdateWeatherStationOutput: z.ZodObject<{
18
18
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const openweatherApiUpdateWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  latitude: number;
24
24
  longitude: number;
@@ -18,7 +18,7 @@ declare const OpenweatherApiUpdateWeatherStationOutput: z.ZodObject<{
18
18
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const openweatherApiUpdateWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  latitude: number;
24
24
  longitude: number;
@@ -21,7 +21,7 @@ const openweatherApiUpdateWeatherStation = action("OPENWEATHER_API_UPDATE_WEATHE
21
21
  created_at: z.string().describe("ISO datetime when station was created").nullable().optional(),
22
22
  updated_at: z.string().describe("ISO datetime when station was last updated").nullable().optional(),
23
23
  external_id: z.string().describe("Custom user-provided external identifier").nullable().optional()
24
- }).describe("Response schema for the updated weather station.")
24
+ }).passthrough().describe("Response schema for the updated weather station.")
25
25
  });
26
26
  //#endregion
27
27
  export { openweatherApiUpdateWeatherStation };
@@ -1 +1 @@
1
- {"version":3,"file":"update-weather-station.mjs","names":[],"sources":["../../src/actions/update-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiUpdateWeatherStationInput = z.object({\n name: z.string().describe(\"Human-readable name for the station\").optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees, between -90 and 90\"),\n longitude: z.number().describe(\"Longitude of the station in degrees, between -180 and 180\"),\n station_id: z.string().describe(\"Unique identifier of the weather station to update\"),\n external_id: z.string().describe(\"Custom user-provided external identifier for the station\").optional(),\n}).describe(\"Request parameters to update an existing weather station. Provide the station_id path parameter and at least the latitude and longitude for location.\");\nexport const OpenweatherApiUpdateWeatherStationOutput = z.object({\n ID: z.string().describe(\"Station identifier\").nullable(),\n name: z.string().describe(\"Station name\").nullable().optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees\").nullable(),\n longitude: z.number().describe(\"Longitude of the station in degrees\").nullable(),\n created_at: z.string().describe(\"ISO datetime when station was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO datetime when station was last updated\").nullable().optional(),\n external_id: z.string().describe(\"Custom user-provided external identifier\").nullable().optional(),\n}).describe(\"Response schema for the updated weather station.\");\n\nexport const openweatherApiUpdateWeatherStation = action(\"OPENWEATHER_API_UPDATE_WEATHER_STATION\", {\n slug: \"openweather_api-update-weather-station\",\n name: \"Update Weather Station\",\n description: \"Tool to update weather station details. Use when you need to modify the name, location, or external ID of an existing station.\",\n input: OpenweatherApiUpdateWeatherStationInput,\n output: OpenweatherApiUpdateWeatherStationOutput,\n});\n"],"mappings":";;AAuBA,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,SAAS,uJAgBH;CACP,QAhBsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-weather-station.mjs","names":[],"sources":["../../src/actions/update-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiUpdateWeatherStationInput = z.object({\n name: z.string().describe(\"Human-readable name for the station\").optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees, between -90 and 90\"),\n longitude: z.number().describe(\"Longitude of the station in degrees, between -180 and 180\"),\n station_id: z.string().describe(\"Unique identifier of the weather station to update\"),\n external_id: z.string().describe(\"Custom user-provided external identifier for the station\").optional(),\n}).describe(\"Request parameters to update an existing weather station. Provide the station_id path parameter and at least the latitude and longitude for location.\");\nexport const OpenweatherApiUpdateWeatherStationOutput = z.object({\n ID: z.string().describe(\"Station identifier\").nullable(),\n name: z.string().describe(\"Station name\").nullable().optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees\").nullable(),\n longitude: z.number().describe(\"Longitude of the station in degrees\").nullable(),\n created_at: z.string().describe(\"ISO datetime when station was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO datetime when station was last updated\").nullable().optional(),\n external_id: z.string().describe(\"Custom user-provided external identifier\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the updated weather station.\");\n\nexport const openweatherApiUpdateWeatherStation = action(\"OPENWEATHER_API_UPDATE_WEATHER_STATION\", {\n slug: \"openweather_api-update-weather-station\",\n name: \"Update Weather Station\",\n description: \"Tool to update weather station details. Use when you need to modify the name, location, or external ID of an existing station.\",\n input: OpenweatherApiUpdateWeatherStationInput,\n output: OpenweatherApiUpdateWeatherStationOutput,\n});\n"],"mappings":";;AAuBA,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,SAAS,uJAgBH;CACP,QAhBsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
package/dist/execute.cjs CHANGED
@@ -2,7 +2,7 @@ let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
2
2
  //#region src/execute.ts
3
3
  const APP_SLUG = "openweather_api";
4
4
  /** Pinned app version — updated on regeneration. */
5
- const APP_VERSION = "20260615_00";
5
+ const APP_VERSION = "20260707_00";
6
6
  async function executeOpenweatherApiTool(tool, args) {
7
7
  const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
8
8
  app: APP_SLUG,
@@ -1 +1 @@
1
- {"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"openweather_api\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeOpenweatherApiTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,0BACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
1
+ {"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"openweather_api\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260707_00\";\n\nexport async function executeOpenweatherApiTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,0BACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
package/dist/execute.mjs CHANGED
@@ -2,7 +2,7 @@ import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
2
2
  //#region src/execute.ts
3
3
  const APP_SLUG = "openweather_api";
4
4
  /** Pinned app version — updated on regeneration. */
5
- const APP_VERSION = "20260615_00";
5
+ const APP_VERSION = "20260707_00";
6
6
  async function executeOpenweatherApiTool(tool, args) {
7
7
  const { result } = await createKeystrokeClient().tools.execute({
8
8
  app: APP_SLUG,
@@ -1 +1 @@
1
- {"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"openweather_api\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeOpenweatherApiTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,0BACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
1
+ {"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"openweather_api\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260707_00\";\n\nexport async function executeOpenweatherApiTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,0BACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/openweather_api",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"