@keystrokehq/openweather_api 0.1.0
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.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/delete-weather-station.cjs +16 -0
- package/dist/actions/delete-weather-station.cjs.map +1 -0
- package/dist/actions/delete-weather-station.d.cts +9 -0
- package/dist/actions/delete-weather-station.d.cts.map +1 -0
- package/dist/actions/delete-weather-station.d.mts +9 -0
- package/dist/actions/delete-weather-station.d.mts.map +1 -0
- package/dist/actions/delete-weather-station.mjs +13 -0
- package/dist/actions/delete-weather-station.mjs.map +1 -0
- package/dist/actions/get-air-pollution-current.cjs +42 -0
- package/dist/actions/get-air-pollution-current.cjs.map +1 -0
- package/dist/actions/get-air-pollution-current.d.cts +9 -0
- package/dist/actions/get-air-pollution-current.d.cts.map +1 -0
- package/dist/actions/get-air-pollution-current.d.mts +9 -0
- package/dist/actions/get-air-pollution-current.d.mts.map +1 -0
- package/dist/actions/get-air-pollution-current.mjs +41 -0
- package/dist/actions/get-air-pollution-current.mjs.map +1 -0
- package/dist/actions/get-air-pollution-forecast.cjs +42 -0
- package/dist/actions/get-air-pollution-forecast.cjs.map +1 -0
- package/dist/actions/get-air-pollution-forecast.d.cts +9 -0
- package/dist/actions/get-air-pollution-forecast.d.cts.map +1 -0
- package/dist/actions/get-air-pollution-forecast.d.mts +9 -0
- package/dist/actions/get-air-pollution-forecast.d.mts.map +1 -0
- package/dist/actions/get-air-pollution-forecast.mjs +41 -0
- package/dist/actions/get-air-pollution-forecast.mjs.map +1 -0
- package/dist/actions/get-air-pollution-history.cjs +40 -0
- package/dist/actions/get-air-pollution-history.cjs.map +1 -0
- package/dist/actions/get-air-pollution-history.d.cts +9 -0
- package/dist/actions/get-air-pollution-history.d.cts.map +1 -0
- package/dist/actions/get-air-pollution-history.d.mts +9 -0
- package/dist/actions/get-air-pollution-history.d.mts.map +1 -0
- package/dist/actions/get-air-pollution-history.mjs +39 -0
- package/dist/actions/get-air-pollution-history.mjs.map +1 -0
- package/dist/actions/get-circle-city-weather.cjs +85 -0
- package/dist/actions/get-circle-city-weather.cjs.map +1 -0
- package/dist/actions/get-circle-city-weather.d.cts +9 -0
- package/dist/actions/get-circle-city-weather.d.cts.map +1 -0
- package/dist/actions/get-circle-city-weather.d.mts +9 -0
- package/dist/actions/get-circle-city-weather.d.mts.map +1 -0
- package/dist/actions/get-circle-city-weather.mjs +84 -0
- package/dist/actions/get-circle-city-weather.mjs.map +1 -0
- package/dist/actions/get-current-weather.cjs +85 -0
- package/dist/actions/get-current-weather.cjs.map +1 -0
- package/dist/actions/get-current-weather.d.cts +9 -0
- package/dist/actions/get-current-weather.d.cts.map +1 -0
- package/dist/actions/get-current-weather.d.mts +9 -0
- package/dist/actions/get-current-weather.d.mts.map +1 -0
- package/dist/actions/get-current-weather.mjs +84 -0
- package/dist/actions/get-current-weather.mjs.map +1 -0
- package/dist/actions/get-geocoding-by-zip.cjs +22 -0
- package/dist/actions/get-geocoding-by-zip.cjs.map +1 -0
- package/dist/actions/get-geocoding-by-zip.d.cts +9 -0
- package/dist/actions/get-geocoding-by-zip.d.cts.map +1 -0
- package/dist/actions/get-geocoding-by-zip.d.mts +9 -0
- package/dist/actions/get-geocoding-by-zip.d.mts.map +1 -0
- package/dist/actions/get-geocoding-by-zip.mjs +19 -0
- package/dist/actions/get-geocoding-by-zip.mjs.map +1 -0
- package/dist/actions/get-geocoding-direct.cjs +19 -0
- package/dist/actions/get-geocoding-direct.cjs.map +1 -0
- package/dist/actions/get-geocoding-direct.d.cts +9 -0
- package/dist/actions/get-geocoding-direct.d.cts.map +1 -0
- package/dist/actions/get-geocoding-direct.d.mts +9 -0
- package/dist/actions/get-geocoding-direct.d.mts.map +1 -0
- package/dist/actions/get-geocoding-direct.mjs +16 -0
- package/dist/actions/get-geocoding-direct.mjs.map +1 -0
- package/dist/actions/get-geocoding-reverse.cjs +20 -0
- package/dist/actions/get-geocoding-reverse.cjs.map +1 -0
- package/dist/actions/get-geocoding-reverse.d.cts +9 -0
- package/dist/actions/get-geocoding-reverse.d.cts.map +1 -0
- package/dist/actions/get-geocoding-reverse.d.mts +9 -0
- package/dist/actions/get-geocoding-reverse.d.mts.map +1 -0
- package/dist/actions/get-geocoding-reverse.mjs +17 -0
- package/dist/actions/get-geocoding-reverse.mjs.map +1 -0
- package/dist/actions/get-station-measurements.cjs +36 -0
- package/dist/actions/get-station-measurements.cjs.map +1 -0
- package/dist/actions/get-station-measurements.d.cts +9 -0
- package/dist/actions/get-station-measurements.d.cts.map +1 -0
- package/dist/actions/get-station-measurements.d.mts +9 -0
- package/dist/actions/get-station-measurements.d.mts.map +1 -0
- package/dist/actions/get-station-measurements.mjs +35 -0
- package/dist/actions/get-station-measurements.mjs.map +1 -0
- package/dist/actions/get-uv-index-forecast.cjs +20 -0
- package/dist/actions/get-uv-index-forecast.cjs.map +1 -0
- package/dist/actions/get-uv-index-forecast.d.cts +9 -0
- package/dist/actions/get-uv-index-forecast.d.cts.map +1 -0
- package/dist/actions/get-uv-index-forecast.d.mts +9 -0
- package/dist/actions/get-uv-index-forecast.d.mts.map +1 -0
- package/dist/actions/get-uv-index-forecast.mjs +17 -0
- package/dist/actions/get-uv-index-forecast.mjs.map +1 -0
- package/dist/actions/get-uv-index-history.cjs +28 -0
- package/dist/actions/get-uv-index-history.cjs.map +1 -0
- package/dist/actions/get-uv-index-history.d.cts +9 -0
- package/dist/actions/get-uv-index-history.d.cts.map +1 -0
- package/dist/actions/get-uv-index-history.d.mts +9 -0
- package/dist/actions/get-uv-index-history.d.mts.map +1 -0
- package/dist/actions/get-uv-index-history.mjs +27 -0
- package/dist/actions/get-uv-index-history.mjs.map +1 -0
- package/dist/actions/get-uv-index.cjs +25 -0
- package/dist/actions/get-uv-index.cjs.map +1 -0
- package/dist/actions/get-uv-index.d.cts +9 -0
- package/dist/actions/get-uv-index.d.cts.map +1 -0
- package/dist/actions/get-uv-index.d.mts +9 -0
- package/dist/actions/get-uv-index.d.mts.map +1 -0
- package/dist/actions/get-uv-index.mjs +22 -0
- package/dist/actions/get-uv-index.mjs.map +1 -0
- package/dist/actions/get-weather-map-tile.cjs +39 -0
- package/dist/actions/get-weather-map-tile.cjs.map +1 -0
- package/dist/actions/get-weather-map-tile.d.cts +9 -0
- package/dist/actions/get-weather-map-tile.d.cts.map +1 -0
- package/dist/actions/get-weather-map-tile.d.mts +9 -0
- package/dist/actions/get-weather-map-tile.d.mts.map +1 -0
- package/dist/actions/get-weather-map-tile.mjs +36 -0
- package/dist/actions/get-weather-map-tile.mjs.map +1 -0
- package/dist/actions/get-weather-station.cjs +26 -0
- package/dist/actions/get-weather-station.cjs.map +1 -0
- package/dist/actions/get-weather-station.d.cts +9 -0
- package/dist/actions/get-weather-station.d.cts.map +1 -0
- package/dist/actions/get-weather-station.d.mts +9 -0
- package/dist/actions/get-weather-station.d.mts.map +1 -0
- package/dist/actions/get-weather-station.mjs +23 -0
- package/dist/actions/get-weather-station.mjs.map +1 -0
- package/dist/actions/get-weather-stations.cjs +27 -0
- package/dist/actions/get-weather-stations.cjs.map +1 -0
- package/dist/actions/get-weather-stations.d.cts +9 -0
- package/dist/actions/get-weather-stations.d.cts.map +1 -0
- package/dist/actions/get-weather-stations.d.mts +9 -0
- package/dist/actions/get-weather-stations.d.mts.map +1 -0
- package/dist/actions/get-weather-stations.mjs +26 -0
- package/dist/actions/get-weather-stations.mjs.map +1 -0
- package/dist/actions/get-weather-triggers.cjs +34 -0
- package/dist/actions/get-weather-triggers.cjs.map +1 -0
- package/dist/actions/get-weather-triggers.d.cts +9 -0
- package/dist/actions/get-weather-triggers.d.cts.map +1 -0
- package/dist/actions/get-weather-triggers.d.mts +9 -0
- package/dist/actions/get-weather-triggers.d.mts.map +1 -0
- package/dist/actions/get-weather-triggers.mjs +33 -0
- package/dist/actions/get-weather-triggers.mjs.map +1 -0
- package/dist/actions/get5-day-forecast.cjs +90 -0
- package/dist/actions/get5-day-forecast.cjs.map +1 -0
- package/dist/actions/get5-day-forecast.d.cts +9 -0
- package/dist/actions/get5-day-forecast.d.cts.map +1 -0
- package/dist/actions/get5-day-forecast.d.mts +9 -0
- package/dist/actions/get5-day-forecast.d.mts.map +1 -0
- package/dist/actions/get5-day-forecast.mjs +89 -0
- package/dist/actions/get5-day-forecast.mjs.map +1 -0
- package/dist/actions/index.cjs +43 -0
- package/dist/actions/index.d.cts +22 -0
- package/dist/actions/index.d.mts +22 -0
- package/dist/actions/index.mjs +22 -0
- package/dist/actions/post-add-weather-station.cjs +34 -0
- package/dist/actions/post-add-weather-station.cjs.map +1 -0
- package/dist/actions/post-add-weather-station.d.cts +9 -0
- package/dist/actions/post-add-weather-station.d.cts.map +1 -0
- package/dist/actions/post-add-weather-station.d.mts +9 -0
- package/dist/actions/post-add-weather-station.d.mts.map +1 -0
- package/dist/actions/post-add-weather-station.mjs +31 -0
- package/dist/actions/post-add-weather-station.mjs.map +1 -0
- package/dist/actions/post-submit-station-measurements.cjs +29 -0
- package/dist/actions/post-submit-station-measurements.cjs.map +1 -0
- package/dist/actions/post-submit-station-measurements.d.cts +9 -0
- package/dist/actions/post-submit-station-measurements.d.cts.map +1 -0
- package/dist/actions/post-submit-station-measurements.d.mts +9 -0
- package/dist/actions/post-submit-station-measurements.d.mts.map +1 -0
- package/dist/actions/post-submit-station-measurements.mjs +26 -0
- package/dist/actions/post-submit-station-measurements.mjs.map +1 -0
- package/dist/actions/update-weather-station.cjs +32 -0
- package/dist/actions/update-weather-station.cjs.map +1 -0
- package/dist/actions/update-weather-station.d.cts +9 -0
- package/dist/actions/update-weather-station.d.cts.map +1 -0
- package/dist/actions/update-weather-station.d.mts +9 -0
- package/dist/actions/update-weather-station.d.mts.map +1 -0
- package/dist/actions/update-weather-station.mjs +29 -0
- package/dist/actions/update-weather-station.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +48 -0
- package/dist/index.d.cts +24 -0
- package/dist/index.d.mts +24 -0
- package/dist/index.mjs +25 -0
- package/package.json +49 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-geocoding-direct.d.ts
|
|
4
|
+
declare const OpenweatherApiGetGeocodingDirectInput: z.ZodTypeAny;
|
|
5
|
+
declare const OpenweatherApiGetGeocodingDirectOutput: z.ZodTypeAny;
|
|
6
|
+
declare const openweatherApiGetGeocodingDirect: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { openweatherApiGetGeocodingDirect };
|
|
9
|
+
//# sourceMappingURL=get-geocoding-direct.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-geocoding-direct.d.cts","names":[],"sources":["../../src/actions/get-geocoding-direct.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAG+B;AAAA,cACxE,sCAAA,EAAwC,CAAA,CAAE,UAAwB;AAAA,cAElE,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-geocoding-direct.d.ts
|
|
4
|
+
declare const OpenweatherApiGetGeocodingDirectInput: z.ZodTypeAny;
|
|
5
|
+
declare const OpenweatherApiGetGeocodingDirectOutput: z.ZodTypeAny;
|
|
6
|
+
declare const openweatherApiGetGeocodingDirect: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { openweatherApiGetGeocodingDirect };
|
|
9
|
+
//# sourceMappingURL=get-geocoding-direct.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-geocoding-direct.d.mts","names":[],"sources":["../../src/actions/get-geocoding-direct.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAG+B;AAAA,cACxE,sCAAA,EAAwC,CAAA,CAAE,UAAwB;AAAA,cAElE,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const openweatherApiGetGeocodingDirect = action("OPENWEATHER_API_GET_GEOCODING_DIRECT", {
|
|
4
|
+
slug: "openweather_api-get-geocoding-direct",
|
|
5
|
+
name: "Get Direct Geocoding",
|
|
6
|
+
description: "Tool to convert a location name into geographic coordinates. Use when you need latitude and longitude for a given location after confirming the precise name.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
q: z.string().describe("Location query including city name, state code and country code separated by commas (e.g., 'London,UK'). Ambiguous queries can return multiple mismatched locations; use the full three-part format 'city,state_code,country_code' (e.g., 'Springfield,IL,US') and verify the returned country/region before using coordinates downstream."),
|
|
9
|
+
limit: z.number().int().default(5).describe("Number of results to return (1 to 5). Defaults to 5. Use 1 only for unambiguous locations; for ambiguous queries review all returned results to select the correct match.").optional()
|
|
10
|
+
}).describe("Request parameters for direct geocoding: location name to coordinates."),
|
|
11
|
+
output: z.unknown()
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { openweatherApiGetGeocodingDirect };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=get-geocoding-direct.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-geocoding-direct.mjs","names":[],"sources":["../../src/actions/get-geocoding-direct.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingDirectInput: z.ZodTypeAny = z.object({\n q: z.string().describe(\"Location query including city name, state code and country code separated by commas (e.g., 'London,UK'). Ambiguous queries can return multiple mismatched locations; use the full three-part format 'city,state_code,country_code' (e.g., 'Springfield,IL,US') and verify the returned country/region before using coordinates downstream.\"),\n limit: z.number().int().default(5).describe(\"Number of results to return (1 to 5). Defaults to 5. Use 1 only for unambiguous locations; for ambiguous queries review all returned results to select the correct match.\").optional(),\n}).describe(\"Request parameters for direct geocoding: location name to coordinates.\");\nexport const OpenweatherApiGetGeocodingDirectOutput: z.ZodTypeAny = z.unknown();\n\nexport const openweatherApiGetGeocodingDirect = action(\"OPENWEATHER_API_GET_GEOCODING_DIRECT\", {\n slug: \"openweather_api-get-geocoding-direct\",\n name: \"Get Direct Geocoding\",\n description: \"Tool to convert a location name into geographic coordinates. Use when you need latitude and longitude for a given location after confirming the precise name.\",\n input: OpenweatherApiGetGeocodingDirectInput,\n output: OpenweatherApiGetGeocodingDirectOutput,\n});\n"],"mappings":";;AAUA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAViE,EAAE,OAAO;EAC1E,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,4UAA4U;EACnW,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CACpO,CAAC,CAAC,CAAC,SAAS,wEAOH;CACP,QAPkE,EAAE,QAO5D;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-geocoding-reverse.ts
|
|
4
|
+
const OpenweatherApiGetGeocodingReverseInput = zod.z.object({
|
|
5
|
+
lat: zod.z.number().describe("Latitude of the location in decimal degrees"),
|
|
6
|
+
lon: zod.z.number().describe("Longitude of the location in decimal degrees"),
|
|
7
|
+
limit: zod.z.number().int().describe("Number of results to return (1 to 5)").optional()
|
|
8
|
+
}).describe("Request parameters for reverse geocoding to convert geographic coordinates into location names.");
|
|
9
|
+
const OpenweatherApiGetGeocodingReverseOutput = zod.z.unknown();
|
|
10
|
+
const openweatherApiGetGeocodingReverse = require_action.action("OPENWEATHER_API_GET_GEOCODING_REVERSE", {
|
|
11
|
+
slug: "openweather_api-get-geocoding-reverse",
|
|
12
|
+
name: "Get Reverse Geocoding",
|
|
13
|
+
description: "Tool to convert geographic coordinates into a location name. Use when you need city, state, and country info from latitude and longitude.",
|
|
14
|
+
input: OpenweatherApiGetGeocodingReverseInput,
|
|
15
|
+
output: OpenweatherApiGetGeocodingReverseOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.openweatherApiGetGeocodingReverse = openweatherApiGetGeocodingReverse;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=get-geocoding-reverse.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-geocoding-reverse.cjs","names":["z","action"],"sources":["../../src/actions/get-geocoding-reverse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingReverseInput: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude of the location in decimal degrees\"),\n lon: z.number().describe(\"Longitude of the location in decimal degrees\"),\n limit: z.number().int().describe(\"Number of results to return (1 to 5)\").optional(),\n}).describe(\"Request parameters for reverse geocoding to convert geographic coordinates into location names.\");\nexport const OpenweatherApiGetGeocodingReverseOutput: z.ZodTypeAny = z.unknown();\n\nexport const openweatherApiGetGeocodingReverse = action(\"OPENWEATHER_API_GET_GEOCODING_REVERSE\", {\n slug: \"openweather_api-get-geocoding-reverse\",\n name: \"Get Reverse Geocoding\",\n description: \"Tool to convert geographic coordinates into a location name. Use when you need city, state, and country info from latitude and longitude.\",\n input: OpenweatherApiGetGeocodingReverseInput,\n output: OpenweatherApiGetGeocodingReverseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACtE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,iGAAiG;AAC7G,MAAa,0CAAwDA,IAAAA,EAAE,QAAQ;AAE/E,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-geocoding-reverse.d.ts
|
|
4
|
+
declare const OpenweatherApiGetGeocodingReverseInput: z.ZodTypeAny;
|
|
5
|
+
declare const OpenweatherApiGetGeocodingReverseOutput: z.ZodTypeAny;
|
|
6
|
+
declare const openweatherApiGetGeocodingReverse: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { openweatherApiGetGeocodingReverse };
|
|
9
|
+
//# sourceMappingURL=get-geocoding-reverse.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-geocoding-reverse.d.cts","names":[],"sources":["../../src/actions/get-geocoding-reverse.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAIuD;AAAA,cACjG,uCAAA,EAAyC,CAAA,CAAE,UAAwB;AAAA,cAEnE,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-geocoding-reverse.d.ts
|
|
4
|
+
declare const OpenweatherApiGetGeocodingReverseInput: z.ZodTypeAny;
|
|
5
|
+
declare const OpenweatherApiGetGeocodingReverseOutput: z.ZodTypeAny;
|
|
6
|
+
declare const openweatherApiGetGeocodingReverse: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { openweatherApiGetGeocodingReverse };
|
|
9
|
+
//# sourceMappingURL=get-geocoding-reverse.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-geocoding-reverse.d.mts","names":[],"sources":["../../src/actions/get-geocoding-reverse.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAIuD;AAAA,cACjG,uCAAA,EAAyC,CAAA,CAAE,UAAwB;AAAA,cAEnE,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const openweatherApiGetGeocodingReverse = action("OPENWEATHER_API_GET_GEOCODING_REVERSE", {
|
|
4
|
+
slug: "openweather_api-get-geocoding-reverse",
|
|
5
|
+
name: "Get Reverse Geocoding",
|
|
6
|
+
description: "Tool to convert geographic coordinates into a location name. Use when you need city, state, and country info from latitude and longitude.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
lat: z.number().describe("Latitude of the location in decimal degrees"),
|
|
9
|
+
lon: z.number().describe("Longitude of the location in decimal degrees"),
|
|
10
|
+
limit: z.number().int().describe("Number of results to return (1 to 5)").optional()
|
|
11
|
+
}).describe("Request parameters for reverse geocoding to convert geographic coordinates into location names."),
|
|
12
|
+
output: z.unknown()
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { openweatherApiGetGeocodingReverse };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=get-geocoding-reverse.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-geocoding-reverse.mjs","names":[],"sources":["../../src/actions/get-geocoding-reverse.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetGeocodingReverseInput: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude of the location in decimal degrees\"),\n lon: z.number().describe(\"Longitude of the location in decimal degrees\"),\n limit: z.number().int().describe(\"Number of results to return (1 to 5)\").optional(),\n}).describe(\"Request parameters for reverse geocoding to convert geographic coordinates into location names.\");\nexport const OpenweatherApiGetGeocodingReverseOutput: z.ZodTypeAny = z.unknown();\n\nexport const openweatherApiGetGeocodingReverse = action(\"OPENWEATHER_API_GET_GEOCODING_REVERSE\", {\n slug: \"openweather_api-get-geocoding-reverse\",\n name: \"Get Reverse Geocoding\",\n description: \"Tool to convert geographic coordinates into a location name. Use when you need city, state, and country info from latitude and longitude.\",\n input: OpenweatherApiGetGeocodingReverseInput,\n output: OpenweatherApiGetGeocodingReverseOutput,\n});\n"],"mappings":";;AAWA,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXkE,EAAE,OAAO;EAC3E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,SAAS,iGAOH;CACP,QAPmE,EAAE,QAO7D;AACV,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-station-measurements.ts
|
|
4
|
+
const OpenweatherApiGetStationMeasurementsInput = zod.z.object({
|
|
5
|
+
to: zod.z.number().int().describe("End of time interval (Unix timestamp in seconds)"),
|
|
6
|
+
from: zod.z.number().int().describe("Start of time interval (Unix timestamp in seconds)"),
|
|
7
|
+
type: zod.z.enum([
|
|
8
|
+
"m",
|
|
9
|
+
"h",
|
|
10
|
+
"d"
|
|
11
|
+
]).describe("Aggregation type: m (minute), h (hour), or d (day)"),
|
|
12
|
+
limit: zod.z.number().int().describe("Maximum number of measurement records to return"),
|
|
13
|
+
station_id: zod.z.string().describe("Internal station ID from OpenWeather")
|
|
14
|
+
}).describe("Request parameters to retrieve aggregated measurements from a weather station.");
|
|
15
|
+
const OpenweatherApiGetStationMeasurements_MeasurementSchema = zod.z.object({
|
|
16
|
+
dt: zod.z.number().int().describe("Measurement timestamp (Unix)").nullable().optional(),
|
|
17
|
+
temp: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Temperature measurements with min/max/avg").nullable().optional(),
|
|
18
|
+
type: zod.z.string().describe("Aggregation type (m, h, or d)").nullable().optional(),
|
|
19
|
+
wind: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Wind measurements including speed and direction").nullable().optional(),
|
|
20
|
+
humidity: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Humidity measurements with min/max/avg").nullable().optional(),
|
|
21
|
+
pressure: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Pressure measurements with min/max/avg").nullable().optional(),
|
|
22
|
+
station_id: zod.z.string().describe("Station identifier").nullable().optional(),
|
|
23
|
+
precipitation: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Precipitation data including rain and snow").nullable().optional()
|
|
24
|
+
}).describe("Aggregated measurement record.");
|
|
25
|
+
const OpenweatherApiGetStationMeasurementsOutput = zod.z.object({ measurements: zod.z.array(OpenweatherApiGetStationMeasurements_MeasurementSchema).describe("List of aggregated measurement records").nullable().optional() }).describe("Response containing aggregated measurements from a weather station.");
|
|
26
|
+
const openweatherApiGetStationMeasurements = require_action.action("OPENWEATHER_API_GET_STATION_MEASUREMENTS", {
|
|
27
|
+
slug: "openweather_api-get-station-measurements",
|
|
28
|
+
name: "Get Station Measurements",
|
|
29
|
+
description: "Tool to retrieve aggregated measurements from a weather station with minute, hour, or day granularity. Use when you need historical weather data from a specific registered station.",
|
|
30
|
+
input: OpenweatherApiGetStationMeasurementsInput,
|
|
31
|
+
output: OpenweatherApiGetStationMeasurementsOutput
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.openweatherApiGetStationMeasurements = openweatherApiGetStationMeasurements;
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=get-station-measurements.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-station-measurements.cjs","names":["z","action"],"sources":["../../src/actions/get-station-measurements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetStationMeasurementsInput: z.ZodTypeAny = z.object({\n to: z.number().int().describe(\"End of time interval (Unix timestamp in seconds)\"),\n from: z.number().int().describe(\"Start of time interval (Unix timestamp in seconds)\"),\n type: z.enum([\"m\", \"h\", \"d\"]).describe(\"Aggregation type: m (minute), h (hour), or d (day)\"),\n limit: z.number().int().describe(\"Maximum number of measurement records to return\"),\n station_id: z.string().describe(\"Internal station ID from OpenWeather\"),\n}).describe(\"Request parameters to retrieve aggregated measurements from a weather station.\");\nconst OpenweatherApiGetStationMeasurements_MeasurementSchema: z.ZodTypeAny = z.object({\n dt: z.number().int().describe(\"Measurement timestamp (Unix)\").nullable().optional(),\n temp: z.record(z.string(), z.unknown()).describe(\"Temperature measurements with min/max/avg\").nullable().optional(),\n type: z.string().describe(\"Aggregation type (m, h, or d)\").nullable().optional(),\n wind: z.record(z.string(), z.unknown()).describe(\"Wind measurements including speed and direction\").nullable().optional(),\n humidity: z.record(z.string(), z.unknown()).describe(\"Humidity measurements with min/max/avg\").nullable().optional(),\n pressure: z.record(z.string(), z.unknown()).describe(\"Pressure measurements with min/max/avg\").nullable().optional(),\n station_id: z.string().describe(\"Station identifier\").nullable().optional(),\n precipitation: z.record(z.string(), z.unknown()).describe(\"Precipitation data including rain and snow\").nullable().optional(),\n}).describe(\"Aggregated measurement record.\");\nexport const OpenweatherApiGetStationMeasurementsOutput: z.ZodTypeAny = z.object({\n measurements: z.array(OpenweatherApiGetStationMeasurements_MeasurementSchema).describe(\"List of aggregated measurement records\").nullable().optional(),\n}).describe(\"Response containing aggregated measurements from a weather station.\");\n\nexport const openweatherApiGetStationMeasurements = action(\"OPENWEATHER_API_GET_STATION_MEASUREMENTS\", {\n slug: \"openweather_api-get-station-measurements\",\n name: \"Get Station Measurements\",\n description: \"Tool to retrieve aggregated measurements from a weather station with minute, hour, or day granularity. Use when you need historical weather data from a specific registered station.\",\n input: OpenweatherApiGetStationMeasurementsInput,\n output: OpenweatherApiGetStationMeasurementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACpF,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,oDAAoD;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AACxE,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,yDAAuEA,IAAAA,EAAE,OAAO;CACpF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAa,6CAA2DA,IAAAA,EAAE,OAAO,EAC/E,cAAcA,IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvJ,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAEjF,MAAa,uCAAuCC,eAAAA,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-station-measurements.d.ts
|
|
4
|
+
declare const OpenweatherApiGetStationMeasurementsInput: z.ZodTypeAny;
|
|
5
|
+
declare const OpenweatherApiGetStationMeasurementsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const openweatherApiGetStationMeasurements: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { openweatherApiGetStationMeasurements };
|
|
9
|
+
//# sourceMappingURL=get-station-measurements.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-station-measurements.d.cts","names":[],"sources":["../../src/actions/get-station-measurements.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAMmC;AAAA,cAWhF,0CAAA,EAA4C,CAAA,CAAE,UAEuB;AAAA,cAErE,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-station-measurements.d.ts
|
|
4
|
+
declare const OpenweatherApiGetStationMeasurementsInput: z.ZodTypeAny;
|
|
5
|
+
declare const OpenweatherApiGetStationMeasurementsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const openweatherApiGetStationMeasurements: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { openweatherApiGetStationMeasurements };
|
|
9
|
+
//# sourceMappingURL=get-station-measurements.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-station-measurements.d.mts","names":[],"sources":["../../src/actions/get-station-measurements.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAMmC;AAAA,cAWhF,0CAAA,EAA4C,CAAA,CAAE,UAEuB;AAAA,cAErE,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-station-measurements.ts
|
|
4
|
+
const OpenweatherApiGetStationMeasurementsInput = z.object({
|
|
5
|
+
to: z.number().int().describe("End of time interval (Unix timestamp in seconds)"),
|
|
6
|
+
from: z.number().int().describe("Start of time interval (Unix timestamp in seconds)"),
|
|
7
|
+
type: z.enum([
|
|
8
|
+
"m",
|
|
9
|
+
"h",
|
|
10
|
+
"d"
|
|
11
|
+
]).describe("Aggregation type: m (minute), h (hour), or d (day)"),
|
|
12
|
+
limit: z.number().int().describe("Maximum number of measurement records to return"),
|
|
13
|
+
station_id: z.string().describe("Internal station ID from OpenWeather")
|
|
14
|
+
}).describe("Request parameters to retrieve aggregated measurements from a weather station.");
|
|
15
|
+
const OpenweatherApiGetStationMeasurements_MeasurementSchema = z.object({
|
|
16
|
+
dt: z.number().int().describe("Measurement timestamp (Unix)").nullable().optional(),
|
|
17
|
+
temp: z.record(z.string(), z.unknown()).describe("Temperature measurements with min/max/avg").nullable().optional(),
|
|
18
|
+
type: z.string().describe("Aggregation type (m, h, or d)").nullable().optional(),
|
|
19
|
+
wind: z.record(z.string(), z.unknown()).describe("Wind measurements including speed and direction").nullable().optional(),
|
|
20
|
+
humidity: z.record(z.string(), z.unknown()).describe("Humidity measurements with min/max/avg").nullable().optional(),
|
|
21
|
+
pressure: z.record(z.string(), z.unknown()).describe("Pressure measurements with min/max/avg").nullable().optional(),
|
|
22
|
+
station_id: z.string().describe("Station identifier").nullable().optional(),
|
|
23
|
+
precipitation: z.record(z.string(), z.unknown()).describe("Precipitation data including rain and snow").nullable().optional()
|
|
24
|
+
}).describe("Aggregated measurement record.");
|
|
25
|
+
const openweatherApiGetStationMeasurements = action("OPENWEATHER_API_GET_STATION_MEASUREMENTS", {
|
|
26
|
+
slug: "openweather_api-get-station-measurements",
|
|
27
|
+
name: "Get Station Measurements",
|
|
28
|
+
description: "Tool to retrieve aggregated measurements from a weather station with minute, hour, or day granularity. Use when you need historical weather data from a specific registered station.",
|
|
29
|
+
input: OpenweatherApiGetStationMeasurementsInput,
|
|
30
|
+
output: z.object({ measurements: z.array(OpenweatherApiGetStationMeasurements_MeasurementSchema).describe("List of aggregated measurement records").nullable().optional() }).describe("Response containing aggregated measurements from a weather station.")
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
export { openweatherApiGetStationMeasurements };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=get-station-measurements.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-station-measurements.mjs","names":[],"sources":["../../src/actions/get-station-measurements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetStationMeasurementsInput: z.ZodTypeAny = z.object({\n to: z.number().int().describe(\"End of time interval (Unix timestamp in seconds)\"),\n from: z.number().int().describe(\"Start of time interval (Unix timestamp in seconds)\"),\n type: z.enum([\"m\", \"h\", \"d\"]).describe(\"Aggregation type: m (minute), h (hour), or d (day)\"),\n limit: z.number().int().describe(\"Maximum number of measurement records to return\"),\n station_id: z.string().describe(\"Internal station ID from OpenWeather\"),\n}).describe(\"Request parameters to retrieve aggregated measurements from a weather station.\");\nconst OpenweatherApiGetStationMeasurements_MeasurementSchema: z.ZodTypeAny = z.object({\n dt: z.number().int().describe(\"Measurement timestamp (Unix)\").nullable().optional(),\n temp: z.record(z.string(), z.unknown()).describe(\"Temperature measurements with min/max/avg\").nullable().optional(),\n type: z.string().describe(\"Aggregation type (m, h, or d)\").nullable().optional(),\n wind: z.record(z.string(), z.unknown()).describe(\"Wind measurements including speed and direction\").nullable().optional(),\n humidity: z.record(z.string(), z.unknown()).describe(\"Humidity measurements with min/max/avg\").nullable().optional(),\n pressure: z.record(z.string(), z.unknown()).describe(\"Pressure measurements with min/max/avg\").nullable().optional(),\n station_id: z.string().describe(\"Station identifier\").nullable().optional(),\n precipitation: z.record(z.string(), z.unknown()).describe(\"Precipitation data including rain and snow\").nullable().optional(),\n}).describe(\"Aggregated measurement record.\");\nexport const OpenweatherApiGetStationMeasurementsOutput: z.ZodTypeAny = z.object({\n measurements: z.array(OpenweatherApiGetStationMeasurements_MeasurementSchema).describe(\"List of aggregated measurement records\").nullable().optional(),\n}).describe(\"Response containing aggregated measurements from a weather station.\");\n\nexport const openweatherApiGetStationMeasurements = action(\"OPENWEATHER_API_GET_STATION_MEASUREMENTS\", {\n slug: \"openweather_api-get-station-measurements\",\n name: \"Get Station Measurements\",\n description: \"Tool to retrieve aggregated measurements from a weather station with minute, hour, or day granularity. Use when you need historical weather data from a specific registered station.\",\n input: OpenweatherApiGetStationMeasurementsInput,\n output: OpenweatherApiGetStationMeasurementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0D,EAAE,OAAO;CAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACpF,MAAM,EAAE,KAAK;EAAC;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,oDAAoD;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AACxE,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,yDAAuE,EAAE,OAAO;CACpF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAK5C,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsE,EAAE,OAAO,EAC/E,cAAc,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvJ,CAAC,CAAC,CAAC,SAAS,qEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-uv-index-forecast.ts
|
|
4
|
+
const OpenweatherApiGetUvIndexForecastInput = zod.z.object({
|
|
5
|
+
cnt: zod.z.number().int().describe("Number of days to return (1-8); defaults to 8 if not specified").optional(),
|
|
6
|
+
lat: zod.z.number().describe("Latitude of the location, between -90 and 90"),
|
|
7
|
+
lon: zod.z.number().describe("Longitude of the location, between -180 and 180")
|
|
8
|
+
});
|
|
9
|
+
const OpenweatherApiGetUvIndexForecastOutput = zod.z.unknown();
|
|
10
|
+
const openweatherApiGetUvIndexForecast = require_action.action("OPENWEATHER_API_GET_UV_INDEX_FORECAST", {
|
|
11
|
+
slug: "openweather_api-get-uv-index-forecast",
|
|
12
|
+
name: "Get UV Index Forecast",
|
|
13
|
+
description: "Tool to retrieve UV index forecast for a specific location. Use when you need upcoming UV index values after confirming latitude and longitude. Returns up to 8 days of data. Data may be sparse or absent for ocean and remote locations; an empty response means no data available, not safe UV conditions.",
|
|
14
|
+
input: OpenweatherApiGetUvIndexForecastInput,
|
|
15
|
+
output: OpenweatherApiGetUvIndexForecastOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.openweatherApiGetUvIndexForecast = openweatherApiGetUvIndexForecast;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=get-uv-index-forecast.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-uv-index-forecast.cjs","names":["z","action"],"sources":["../../src/actions/get-uv-index-forecast.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetUvIndexForecastInput: z.ZodTypeAny = z.object({\n cnt: z.number().int().describe(\"Number of days to return (1-8); defaults to 8 if not specified\").optional(),\n lat: z.number().describe(\"Latitude of the location, between -90 and 90\"),\n lon: z.number().describe(\"Longitude of the location, between -180 and 180\"),\n});\nexport const OpenweatherApiGetUvIndexForecastOutput: z.ZodTypeAny = z.unknown();\n\nexport const openweatherApiGetUvIndexForecast = action(\"OPENWEATHER_API_GET_UV_INDEX_FORECAST\", {\n slug: \"openweather_api-get-uv-index-forecast\",\n name: \"Get UV Index Forecast\",\n description: \"Tool to retrieve UV index forecast for a specific location. Use when you need upcoming UV index values after confirming latitude and longitude. Returns up to 8 days of data. Data may be sparse or absent for ocean and remote locations; an empty response means no data available, not safe UV conditions.\",\n input: OpenweatherApiGetUvIndexForecastInput,\n output: OpenweatherApiGetUvIndexForecastOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AAC5E,CAAC;AACD,MAAa,yCAAuDA,IAAAA,EAAE,QAAQ;AAE9E,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-uv-index-forecast.d.ts
|
|
4
|
+
declare const OpenweatherApiGetUvIndexForecastInput: z.ZodTypeAny;
|
|
5
|
+
declare const OpenweatherApiGetUvIndexForecastOutput: z.ZodTypeAny;
|
|
6
|
+
declare const openweatherApiGetUvIndexForecast: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { openweatherApiGetUvIndexForecast };
|
|
9
|
+
//# sourceMappingURL=get-uv-index-forecast.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-uv-index-forecast.d.cts","names":[],"sources":["../../src/actions/get-uv-index-forecast.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAIpD;AAAA,cACW,sCAAA,EAAwC,CAAA,CAAE,UAAwB;AAAA,cAElE,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-uv-index-forecast.d.ts
|
|
4
|
+
declare const OpenweatherApiGetUvIndexForecastInput: z.ZodTypeAny;
|
|
5
|
+
declare const OpenweatherApiGetUvIndexForecastOutput: z.ZodTypeAny;
|
|
6
|
+
declare const openweatherApiGetUvIndexForecast: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { openweatherApiGetUvIndexForecast };
|
|
9
|
+
//# sourceMappingURL=get-uv-index-forecast.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-uv-index-forecast.d.mts","names":[],"sources":["../../src/actions/get-uv-index-forecast.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAIpD;AAAA,cACW,sCAAA,EAAwC,CAAA,CAAE,UAAwB;AAAA,cAElE,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const openweatherApiGetUvIndexForecast = action("OPENWEATHER_API_GET_UV_INDEX_FORECAST", {
|
|
4
|
+
slug: "openweather_api-get-uv-index-forecast",
|
|
5
|
+
name: "Get UV Index Forecast",
|
|
6
|
+
description: "Tool to retrieve UV index forecast for a specific location. Use when you need upcoming UV index values after confirming latitude and longitude. Returns up to 8 days of data. Data may be sparse or absent for ocean and remote locations; an empty response means no data available, not safe UV conditions.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
cnt: z.number().int().describe("Number of days to return (1-8); defaults to 8 if not specified").optional(),
|
|
9
|
+
lat: z.number().describe("Latitude of the location, between -90 and 90"),
|
|
10
|
+
lon: z.number().describe("Longitude of the location, between -180 and 180")
|
|
11
|
+
}),
|
|
12
|
+
output: z.unknown()
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { openweatherApiGetUvIndexForecast };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=get-uv-index-forecast.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-uv-index-forecast.mjs","names":[],"sources":["../../src/actions/get-uv-index-forecast.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetUvIndexForecastInput: z.ZodTypeAny = z.object({\n cnt: z.number().int().describe(\"Number of days to return (1-8); defaults to 8 if not specified\").optional(),\n lat: z.number().describe(\"Latitude of the location, between -90 and 90\"),\n lon: z.number().describe(\"Longitude of the location, between -180 and 180\"),\n});\nexport const OpenweatherApiGetUvIndexForecastOutput: z.ZodTypeAny = z.unknown();\n\nexport const openweatherApiGetUvIndexForecast = action(\"OPENWEATHER_API_GET_UV_INDEX_FORECAST\", {\n slug: \"openweather_api-get-uv-index-forecast\",\n name: \"Get UV Index Forecast\",\n description: \"Tool to retrieve UV index forecast for a specific location. Use when you need upcoming UV index values after confirming latitude and longitude. Returns up to 8 days of data. Data may be sparse or absent for ocean and remote locations; an empty response means no data available, not safe UV conditions.\",\n input: OpenweatherApiGetUvIndexForecastInput,\n output: OpenweatherApiGetUvIndexForecastOutput,\n});\n"],"mappings":";;AAWA,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXiE,EAAE,OAAO;EAC1E,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EAC1G,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC5E,CAOS;CACP,QAPkE,EAAE,QAO5D;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-uv-index-history.ts
|
|
4
|
+
const OpenweatherApiGetUvIndexHistoryInput = zod.z.object({
|
|
5
|
+
end: zod.z.number().int().describe("End UNIX timestamp (UTC seconds); must be >= start"),
|
|
6
|
+
lat: zod.z.number().describe("Latitude of the location (range: -90 to 90)"),
|
|
7
|
+
lon: zod.z.number().describe("Longitude of the location (range: -180 to 180)"),
|
|
8
|
+
start: zod.z.number().int().describe("Start UNIX timestamp (UTC seconds); must be <= end")
|
|
9
|
+
});
|
|
10
|
+
const OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema = zod.z.object({
|
|
11
|
+
lat: zod.z.number().describe("Latitude of the location"),
|
|
12
|
+
lon: zod.z.number().describe("Longitude of the location"),
|
|
13
|
+
date: zod.z.number().int().describe("Date and time in UNIX timestamp (UTC)"),
|
|
14
|
+
value: zod.z.number().describe("UV index value on the given date"),
|
|
15
|
+
date_iso: zod.z.string().describe("Date and time in ISO 8601 format")
|
|
16
|
+
});
|
|
17
|
+
const OpenweatherApiGetUvIndexHistoryOutput = zod.z.object({ list: zod.z.array(OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema).describe("List of UV index historical data records") }).describe("Response model for UV index history: list of records including lat, lon, date_iso, date, and value.");
|
|
18
|
+
const openweatherApiGetUvIndexHistory = require_action.action("OPENWEATHER_API_GET_UV_INDEX_HISTORY", {
|
|
19
|
+
slug: "openweather_api-get-uv-index-history",
|
|
20
|
+
name: "Get UV Index History",
|
|
21
|
+
description: "Tool to retrieve historical UV index data for a specified location and time range. Use when you need to analyze past UV exposure trends after confirming coordinates and time period.",
|
|
22
|
+
input: OpenweatherApiGetUvIndexHistoryInput,
|
|
23
|
+
output: OpenweatherApiGetUvIndexHistoryOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.openweatherApiGetUvIndexHistory = openweatherApiGetUvIndexHistory;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-uv-index-history.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-uv-index-history.cjs","names":["z","action"],"sources":["../../src/actions/get-uv-index-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetUvIndexHistoryInput: z.ZodTypeAny = z.object({\n end: z.number().int().describe(\"End UNIX timestamp (UTC seconds); must be >= start\"),\n lat: z.number().describe(\"Latitude of the location (range: -90 to 90)\"),\n lon: z.number().describe(\"Longitude of the location (range: -180 to 180)\"),\n start: z.number().int().describe(\"Start UNIX timestamp (UTC seconds); must be <= end\"),\n});\nconst OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude of the location\"),\n lon: z.number().describe(\"Longitude of the location\"),\n date: z.number().int().describe(\"Date and time in UNIX timestamp (UTC)\"),\n value: z.number().describe(\"UV index value on the given date\"),\n date_iso: z.string().describe(\"Date and time in ISO 8601 format\"),\n});\nexport const OpenweatherApiGetUvIndexHistoryOutput: z.ZodTypeAny = z.object({\n list: z.array(OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema).describe(\"List of UV index historical data records\"),\n}).describe(\"Response model for UV index history: list of records including lat, lon, date_iso, date, and value.\");\n\nexport const openweatherApiGetUvIndexHistory = action(\"OPENWEATHER_API_GET_UV_INDEX_HISTORY\", {\n slug: \"openweather_api-get-uv-index-history\",\n name: \"Get UV Index History\",\n description: \"Tool to retrieve historical UV index data for a specified location and time range. Use when you need to analyze past UV exposure trends after confirming coordinates and time period.\",\n input: OpenweatherApiGetUvIndexHistoryInput,\n output: OpenweatherApiGetUvIndexHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACnF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACtE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AACvF,CAAC;AACD,MAAM,sDAAoEA,IAAAA,EAAE,OAAO;CACjF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAClE,CAAC;AACD,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,MAAMA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,0CAA0C,EACxH,CAAC,CAAC,CAAC,SAAS,qGAAqG;AAEjH,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-uv-index-history.d.ts
|
|
4
|
+
declare const OpenweatherApiGetUvIndexHistoryInput: z.ZodTypeAny;
|
|
5
|
+
declare const OpenweatherApiGetUvIndexHistoryOutput: z.ZodTypeAny;
|
|
6
|
+
declare const openweatherApiGetUvIndexHistory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { openweatherApiGetUvIndexHistory };
|
|
9
|
+
//# sourceMappingURL=get-uv-index-history.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-uv-index-history.d.cts","names":[],"sources":["../../src/actions/get-uv-index-history.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAKnD;AAAA,cAQW,qCAAA,EAAuC,CAAA,CAAE,UAE4D;AAAA,cAErG,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-uv-index-history.d.ts
|
|
4
|
+
declare const OpenweatherApiGetUvIndexHistoryInput: z.ZodTypeAny;
|
|
5
|
+
declare const OpenweatherApiGetUvIndexHistoryOutput: z.ZodTypeAny;
|
|
6
|
+
declare const openweatherApiGetUvIndexHistory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { openweatherApiGetUvIndexHistory };
|
|
9
|
+
//# sourceMappingURL=get-uv-index-history.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-uv-index-history.d.mts","names":[],"sources":["../../src/actions/get-uv-index-history.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAKnD;AAAA,cAQW,qCAAA,EAAuC,CAAA,CAAE,UAE4D;AAAA,cAErG,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-uv-index-history.ts
|
|
4
|
+
const OpenweatherApiGetUvIndexHistoryInput = z.object({
|
|
5
|
+
end: z.number().int().describe("End UNIX timestamp (UTC seconds); must be >= start"),
|
|
6
|
+
lat: z.number().describe("Latitude of the location (range: -90 to 90)"),
|
|
7
|
+
lon: z.number().describe("Longitude of the location (range: -180 to 180)"),
|
|
8
|
+
start: z.number().int().describe("Start UNIX timestamp (UTC seconds); must be <= end")
|
|
9
|
+
});
|
|
10
|
+
const OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema = z.object({
|
|
11
|
+
lat: z.number().describe("Latitude of the location"),
|
|
12
|
+
lon: z.number().describe("Longitude of the location"),
|
|
13
|
+
date: z.number().int().describe("Date and time in UNIX timestamp (UTC)"),
|
|
14
|
+
value: z.number().describe("UV index value on the given date"),
|
|
15
|
+
date_iso: z.string().describe("Date and time in ISO 8601 format")
|
|
16
|
+
});
|
|
17
|
+
const openweatherApiGetUvIndexHistory = action("OPENWEATHER_API_GET_UV_INDEX_HISTORY", {
|
|
18
|
+
slug: "openweather_api-get-uv-index-history",
|
|
19
|
+
name: "Get UV Index History",
|
|
20
|
+
description: "Tool to retrieve historical UV index data for a specified location and time range. Use when you need to analyze past UV exposure trends after confirming coordinates and time period.",
|
|
21
|
+
input: OpenweatherApiGetUvIndexHistoryInput,
|
|
22
|
+
output: z.object({ list: z.array(OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema).describe("List of UV index historical data records") }).describe("Response model for UV index history: list of records including lat, lon, date_iso, date, and value.")
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { openweatherApiGetUvIndexHistory };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=get-uv-index-history.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-uv-index-history.mjs","names":[],"sources":["../../src/actions/get-uv-index-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetUvIndexHistoryInput: z.ZodTypeAny = z.object({\n end: z.number().int().describe(\"End UNIX timestamp (UTC seconds); must be >= start\"),\n lat: z.number().describe(\"Latitude of the location (range: -90 to 90)\"),\n lon: z.number().describe(\"Longitude of the location (range: -180 to 180)\"),\n start: z.number().int().describe(\"Start UNIX timestamp (UTC seconds); must be <= end\"),\n});\nconst OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude of the location\"),\n lon: z.number().describe(\"Longitude of the location\"),\n date: z.number().int().describe(\"Date and time in UNIX timestamp (UTC)\"),\n value: z.number().describe(\"UV index value on the given date\"),\n date_iso: z.string().describe(\"Date and time in ISO 8601 format\"),\n});\nexport const OpenweatherApiGetUvIndexHistoryOutput: z.ZodTypeAny = z.object({\n list: z.array(OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema).describe(\"List of UV index historical data records\"),\n}).describe(\"Response model for UV index history: list of records including lat, lon, date_iso, date, and value.\");\n\nexport const openweatherApiGetUvIndexHistory = action(\"OPENWEATHER_API_GET_UV_INDEX_HISTORY\", {\n slug: \"openweather_api-get-uv-index-history\",\n name: \"Get UV Index History\",\n description: \"Tool to retrieve historical UV index data for a specified location and time range. Use when you need to analyze past UV exposure trends after confirming coordinates and time period.\",\n input: OpenweatherApiGetUvIndexHistoryInput,\n output: OpenweatherApiGetUvIndexHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO;CACzE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACnF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AACvF,CAAC;AACD,MAAM,sDAAoE,EAAE,OAAO;CACjF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAClE,CAAC;AAKD,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiE,EAAE,OAAO,EAC1E,MAAM,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,0CAA0C,EACxH,CAAC,CAAC,CAAC,SAAS,qGAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-uv-index.ts
|
|
4
|
+
const OpenweatherApiGetUvIndexInput = zod.z.object({
|
|
5
|
+
lat: zod.z.number().describe("Latitude of the location, between -90 and 90"),
|
|
6
|
+
lon: zod.z.number().describe("Longitude of the location, between -180 and 180")
|
|
7
|
+
});
|
|
8
|
+
const OpenweatherApiGetUvIndexOutput = zod.z.object({
|
|
9
|
+
lat: zod.z.number().describe("Latitude of the location"),
|
|
10
|
+
lon: zod.z.number().describe("Longitude of the location"),
|
|
11
|
+
date: zod.z.number().int().describe("Date in Unix UTC seconds"),
|
|
12
|
+
value: zod.z.number().describe("UV index value"),
|
|
13
|
+
date_iso: zod.z.string().describe("UTC time in ISO 8601 format")
|
|
14
|
+
});
|
|
15
|
+
const openweatherApiGetUvIndex = require_action.action("OPENWEATHER_API_GET_UV_INDEX", {
|
|
16
|
+
slug: "openweather_api-get-uv-index",
|
|
17
|
+
name: "Get Current UV Index",
|
|
18
|
+
description: "Tool to retrieve current UV index for a location. Use when you need up-to-the-minute UV index by latitude and longitude.",
|
|
19
|
+
input: OpenweatherApiGetUvIndexInput,
|
|
20
|
+
output: OpenweatherApiGetUvIndexOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.openweatherApiGetUvIndex = openweatherApiGetUvIndex;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=get-uv-index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-uv-index.cjs","names":["z","action"],"sources":["../../src/actions/get-uv-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetUvIndexInput: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude of the location, between -90 and 90\"),\n lon: z.number().describe(\"Longitude of the location, between -180 and 180\"),\n});\nexport const OpenweatherApiGetUvIndexOutput: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude of the location\"),\n lon: z.number().describe(\"Longitude of the location\"),\n date: z.number().int().describe(\"Date in Unix UTC seconds\"),\n value: z.number().describe(\"UV index value\"),\n date_iso: z.string().describe(\"UTC time in ISO 8601 format\"),\n});\n\nexport const openweatherApiGetUvIndex = action(\"OPENWEATHER_API_GET_UV_INDEX\", {\n slug: \"openweather_api-get-uv-index\",\n name: \"Get Current UV Index\",\n description: \"Tool to retrieve current UV index for a location. Use when you need up-to-the-minute UV index by latitude and longitude.\",\n input: OpenweatherApiGetUvIndexInput,\n output: OpenweatherApiGetUvIndexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AAC5E,CAAC;AACD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC3C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AAC7D,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-uv-index.d.ts
|
|
4
|
+
declare const OpenweatherApiGetUvIndexInput: z.ZodTypeAny;
|
|
5
|
+
declare const OpenweatherApiGetUvIndexOutput: z.ZodTypeAny;
|
|
6
|
+
declare const openweatherApiGetUvIndex: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { openweatherApiGetUvIndex };
|
|
9
|
+
//# sourceMappingURL=get-uv-index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-uv-index.d.cts","names":[],"sources":["../../src/actions/get-uv-index.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAG5C;AAAA,cACW,8BAAA,EAAgC,CAAA,CAAE,UAM7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-uv-index.d.ts
|
|
4
|
+
declare const OpenweatherApiGetUvIndexInput: z.ZodTypeAny;
|
|
5
|
+
declare const OpenweatherApiGetUvIndexOutput: z.ZodTypeAny;
|
|
6
|
+
declare const openweatherApiGetUvIndex: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { openweatherApiGetUvIndex };
|
|
9
|
+
//# sourceMappingURL=get-uv-index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-uv-index.d.mts","names":[],"sources":["../../src/actions/get-uv-index.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAG5C;AAAA,cACW,8BAAA,EAAgC,CAAA,CAAE,UAM7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const openweatherApiGetUvIndex = action("OPENWEATHER_API_GET_UV_INDEX", {
|
|
4
|
+
slug: "openweather_api-get-uv-index",
|
|
5
|
+
name: "Get Current UV Index",
|
|
6
|
+
description: "Tool to retrieve current UV index for a location. Use when you need up-to-the-minute UV index by latitude and longitude.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
lat: z.number().describe("Latitude of the location, between -90 and 90"),
|
|
9
|
+
lon: z.number().describe("Longitude of the location, between -180 and 180")
|
|
10
|
+
}),
|
|
11
|
+
output: z.object({
|
|
12
|
+
lat: z.number().describe("Latitude of the location"),
|
|
13
|
+
lon: z.number().describe("Longitude of the location"),
|
|
14
|
+
date: z.number().int().describe("Date in Unix UTC seconds"),
|
|
15
|
+
value: z.number().describe("UV index value"),
|
|
16
|
+
date_iso: z.string().describe("UTC time in ISO 8601 format")
|
|
17
|
+
})
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { openweatherApiGetUvIndex };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=get-uv-index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-uv-index.mjs","names":[],"sources":["../../src/actions/get-uv-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetUvIndexInput: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude of the location, between -90 and 90\"),\n lon: z.number().describe(\"Longitude of the location, between -180 and 180\"),\n});\nexport const OpenweatherApiGetUvIndexOutput: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude of the location\"),\n lon: z.number().describe(\"Longitude of the location\"),\n date: z.number().int().describe(\"Date in Unix UTC seconds\"),\n value: z.number().describe(\"UV index value\"),\n date_iso: z.string().describe(\"UTC time in ISO 8601 format\"),\n});\n\nexport const openweatherApiGetUvIndex = action(\"OPENWEATHER_API_GET_UV_INDEX\", {\n slug: \"openweather_api-get-uv-index\",\n name: \"Get Current UV Index\",\n description: \"Tool to retrieve current UV index for a location. Use when you need up-to-the-minute UV index by latitude and longitude.\",\n input: OpenweatherApiGetUvIndexInput,\n output: OpenweatherApiGetUvIndexOutput,\n});\n"],"mappings":";;AAgBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByD,EAAE,OAAO;EAClE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC5E,CAaS;CACP,QAb0D,EAAE,OAAO;EACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;EAC3C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC7D,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-weather-map-tile.ts
|
|
4
|
+
const OpenweatherApiGetWeatherMapTileInput = zod.z.object({
|
|
5
|
+
x: zod.z.number().int().describe("Tile X coordinate (non-negative integer)."),
|
|
6
|
+
y: zod.z.number().int().describe("Tile Y coordinate (non-negative integer)."),
|
|
7
|
+
z: zod.z.number().int().describe("Zoom level of the tile (non-negative integer)."),
|
|
8
|
+
fill: zod.z.string().describe("Color for empty-data fill areas (hex or named).").optional(),
|
|
9
|
+
color: zod.z.string().describe("Color schema of the tiles, e.g., 'original', 'black'.").optional(),
|
|
10
|
+
layer: zod.z.enum([
|
|
11
|
+
"clouds",
|
|
12
|
+
"clouds_new",
|
|
13
|
+
"precipitation",
|
|
14
|
+
"precipitation_new",
|
|
15
|
+
"pressure",
|
|
16
|
+
"pressure_new",
|
|
17
|
+
"wind",
|
|
18
|
+
"wind_new",
|
|
19
|
+
"temp",
|
|
20
|
+
"temp_new"
|
|
21
|
+
]).describe("Weather layer name. Options: clouds, clouds_new, precipitation, precipitation_new, pressure, pressure_new, wind, wind_new, temp, temp_new."),
|
|
22
|
+
scale: zod.z.union([zod.z.literal(1), zod.z.literal(2)]).describe("Tile scale factor: 1 or 2 for retina.").optional(),
|
|
23
|
+
format: zod.z.string().describe("Image format; only 'png' is supported.").optional(),
|
|
24
|
+
opacity: zod.z.number().describe("Tile opacity value between 0.0 and 1.0.").optional(),
|
|
25
|
+
palette: zod.z.string().describe("Custom palette definition (comma-separated or JSON).").optional(),
|
|
26
|
+
fill_bound: zod.z.boolean().describe("Fill tiles outside data coverage if true.").optional()
|
|
27
|
+
}).describe("Request parameters for fetching advanced Weather Maps 2.0 tile.");
|
|
28
|
+
const OpenweatherApiGetWeatherMapTileOutput = zod.z.object({ tile: zod.z.string().describe("Binary PNG image data of the map tile.") }).describe("Raw PNG image data for the requested Weather Maps 2.0 tile.");
|
|
29
|
+
const openweatherApiGetWeatherMapTile = require_action.action("OPENWEATHER_API_GET_WEATHER_MAP_TILE", {
|
|
30
|
+
slug: "openweather_api-get-weather-map-tile",
|
|
31
|
+
name: "Get Weather Map Tile (2.0)",
|
|
32
|
+
description: "Tool to fetch Weather Maps 2.0 tile images. Use when you need dynamic weather layers at specific zoom and coordinates with advanced styling options.",
|
|
33
|
+
input: OpenweatherApiGetWeatherMapTileInput,
|
|
34
|
+
output: OpenweatherApiGetWeatherMapTileOutput
|
|
35
|
+
});
|
|
36
|
+
//#endregion
|
|
37
|
+
exports.openweatherApiGetWeatherMapTile = openweatherApiGetWeatherMapTile;
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=get-weather-map-tile.cjs.map
|