@keystrokehq/openweather_api 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/delete-weather-station.cjs +1 -1
- package/dist/actions/delete-weather-station.cjs.map +1 -1
- package/dist/actions/delete-weather-station.d.cts +9 -3
- package/dist/actions/delete-weather-station.d.cts.map +1 -1
- package/dist/actions/delete-weather-station.d.mts +9 -3
- package/dist/actions/delete-weather-station.d.mts.map +1 -1
- package/dist/actions/delete-weather-station.mjs +1 -1
- package/dist/actions/delete-weather-station.mjs.map +1 -1
- package/dist/actions/get-air-pollution-current.cjs +12 -12
- package/dist/actions/get-air-pollution-current.cjs.map +1 -1
- package/dist/actions/get-air-pollution-current.d.cts +30 -3
- package/dist/actions/get-air-pollution-current.d.cts.map +1 -1
- package/dist/actions/get-air-pollution-current.d.mts +30 -3
- package/dist/actions/get-air-pollution-current.d.mts.map +1 -1
- package/dist/actions/get-air-pollution-current.mjs +12 -12
- package/dist/actions/get-air-pollution-current.mjs.map +1 -1
- package/dist/actions/get-air-pollution-forecast.cjs +12 -12
- package/dist/actions/get-air-pollution-forecast.cjs.map +1 -1
- package/dist/actions/get-air-pollution-forecast.d.cts +30 -3
- package/dist/actions/get-air-pollution-forecast.d.cts.map +1 -1
- package/dist/actions/get-air-pollution-forecast.d.mts +30 -3
- package/dist/actions/get-air-pollution-forecast.d.mts.map +1 -1
- package/dist/actions/get-air-pollution-forecast.mjs +12 -12
- package/dist/actions/get-air-pollution-forecast.mjs.map +1 -1
- package/dist/actions/get-air-pollution-history.cjs +10 -10
- package/dist/actions/get-air-pollution-history.cjs.map +1 -1
- package/dist/actions/get-air-pollution-history.d.cts +31 -3
- package/dist/actions/get-air-pollution-history.d.cts.map +1 -1
- package/dist/actions/get-air-pollution-history.d.mts +31 -3
- package/dist/actions/get-air-pollution-history.d.mts.map +1 -1
- package/dist/actions/get-air-pollution-history.mjs +10 -10
- package/dist/actions/get-air-pollution-history.mjs.map +1 -1
- package/dist/actions/get-circle-city-weather.cjs +21 -21
- package/dist/actions/get-circle-city-weather.cjs.map +1 -1
- package/dist/actions/get-circle-city-weather.d.cts +75 -3
- package/dist/actions/get-circle-city-weather.d.cts.map +1 -1
- package/dist/actions/get-circle-city-weather.d.mts +75 -3
- package/dist/actions/get-circle-city-weather.d.mts.map +1 -1
- package/dist/actions/get-circle-city-weather.mjs +21 -21
- package/dist/actions/get-circle-city-weather.mjs.map +1 -1
- package/dist/actions/get-current-weather.cjs +24 -24
- package/dist/actions/get-current-weather.cjs.map +1 -1
- package/dist/actions/get-current-weather.d.cts +74 -3
- package/dist/actions/get-current-weather.d.cts.map +1 -1
- package/dist/actions/get-current-weather.d.mts +74 -3
- package/dist/actions/get-current-weather.d.mts.map +1 -1
- package/dist/actions/get-current-weather.mjs +24 -24
- package/dist/actions/get-current-weather.mjs.map +1 -1
- package/dist/actions/get-geocoding-by-zip.cjs +5 -5
- package/dist/actions/get-geocoding-by-zip.cjs.map +1 -1
- package/dist/actions/get-geocoding-by-zip.d.cts +13 -3
- package/dist/actions/get-geocoding-by-zip.d.cts.map +1 -1
- package/dist/actions/get-geocoding-by-zip.d.mts +13 -3
- package/dist/actions/get-geocoding-by-zip.d.mts.map +1 -1
- package/dist/actions/get-geocoding-by-zip.mjs +5 -5
- package/dist/actions/get-geocoding-by-zip.mjs.map +1 -1
- package/dist/actions/get-geocoding-direct.cjs.map +1 -1
- package/dist/actions/get-geocoding-direct.d.cts +9 -3
- package/dist/actions/get-geocoding-direct.d.cts.map +1 -1
- package/dist/actions/get-geocoding-direct.d.mts +9 -3
- package/dist/actions/get-geocoding-direct.d.mts.map +1 -1
- package/dist/actions/get-geocoding-direct.mjs.map +1 -1
- package/dist/actions/get-geocoding-reverse.cjs.map +1 -1
- package/dist/actions/get-geocoding-reverse.d.cts +11 -3
- package/dist/actions/get-geocoding-reverse.d.cts.map +1 -1
- package/dist/actions/get-geocoding-reverse.d.mts +11 -3
- package/dist/actions/get-geocoding-reverse.d.mts.map +1 -1
- package/dist/actions/get-geocoding-reverse.mjs.map +1 -1
- package/dist/actions/get-station-measurements.cjs.map +1 -1
- package/dist/actions/get-station-measurements.d.cts +30 -3
- package/dist/actions/get-station-measurements.d.cts.map +1 -1
- package/dist/actions/get-station-measurements.d.mts +30 -3
- package/dist/actions/get-station-measurements.d.mts.map +1 -1
- package/dist/actions/get-station-measurements.mjs.map +1 -1
- package/dist/actions/get-uv-index-forecast.cjs.map +1 -1
- package/dist/actions/get-uv-index-forecast.d.cts +11 -3
- package/dist/actions/get-uv-index-forecast.d.cts.map +1 -1
- package/dist/actions/get-uv-index-forecast.d.mts +11 -3
- package/dist/actions/get-uv-index-forecast.d.mts.map +1 -1
- package/dist/actions/get-uv-index-forecast.mjs.map +1 -1
- package/dist/actions/get-uv-index-history.cjs +5 -5
- package/dist/actions/get-uv-index-history.cjs.map +1 -1
- package/dist/actions/get-uv-index-history.d.cts +21 -3
- package/dist/actions/get-uv-index-history.d.cts.map +1 -1
- package/dist/actions/get-uv-index-history.d.mts +21 -3
- package/dist/actions/get-uv-index-history.d.mts.map +1 -1
- package/dist/actions/get-uv-index-history.mjs +5 -5
- package/dist/actions/get-uv-index-history.mjs.map +1 -1
- package/dist/actions/get-uv-index.cjs +5 -5
- package/dist/actions/get-uv-index.cjs.map +1 -1
- package/dist/actions/get-uv-index.d.cts +15 -3
- package/dist/actions/get-uv-index.d.cts.map +1 -1
- package/dist/actions/get-uv-index.d.mts +15 -3
- package/dist/actions/get-uv-index.d.mts.map +1 -1
- package/dist/actions/get-uv-index.mjs +5 -5
- package/dist/actions/get-uv-index.mjs.map +1 -1
- package/dist/actions/get-weather-map-tile.cjs +1 -1
- package/dist/actions/get-weather-map-tile.cjs.map +1 -1
- package/dist/actions/get-weather-map-tile.d.cts +40 -3
- package/dist/actions/get-weather-map-tile.d.cts.map +1 -1
- package/dist/actions/get-weather-map-tile.d.mts +40 -3
- package/dist/actions/get-weather-map-tile.d.mts.map +1 -1
- package/dist/actions/get-weather-map-tile.mjs +1 -1
- package/dist/actions/get-weather-map-tile.mjs.map +1 -1
- package/dist/actions/get-weather-station.cjs +6 -6
- package/dist/actions/get-weather-station.cjs.map +1 -1
- package/dist/actions/get-weather-station.d.cts +17 -3
- package/dist/actions/get-weather-station.d.cts.map +1 -1
- package/dist/actions/get-weather-station.d.mts +17 -3
- package/dist/actions/get-weather-station.d.mts.map +1 -1
- package/dist/actions/get-weather-station.mjs +6 -6
- package/dist/actions/get-weather-station.mjs.map +1 -1
- package/dist/actions/get-weather-stations.cjs +6 -6
- package/dist/actions/get-weather-stations.cjs.map +1 -1
- package/dist/actions/get-weather-stations.d.cts +15 -3
- package/dist/actions/get-weather-stations.d.cts.map +1 -1
- package/dist/actions/get-weather-stations.d.mts +15 -3
- package/dist/actions/get-weather-stations.d.mts.map +1 -1
- package/dist/actions/get-weather-stations.mjs +6 -6
- package/dist/actions/get-weather-stations.mjs.map +1 -1
- package/dist/actions/get-weather-triggers.cjs +2 -2
- package/dist/actions/get-weather-triggers.cjs.map +1 -1
- package/dist/actions/get-weather-triggers.d.cts +34 -3
- package/dist/actions/get-weather-triggers.d.cts.map +1 -1
- package/dist/actions/get-weather-triggers.d.mts +34 -3
- package/dist/actions/get-weather-triggers.d.mts.map +1 -1
- package/dist/actions/get-weather-triggers.mjs +2 -2
- package/dist/actions/get-weather-triggers.mjs.map +1 -1
- package/dist/actions/get5-day-forecast.cjs +28 -28
- package/dist/actions/get5-day-forecast.cjs.map +1 -1
- package/dist/actions/get5-day-forecast.d.cts +88 -3
- package/dist/actions/get5-day-forecast.d.cts.map +1 -1
- package/dist/actions/get5-day-forecast.d.mts +88 -3
- package/dist/actions/get5-day-forecast.d.mts.map +1 -1
- package/dist/actions/get5-day-forecast.mjs +28 -28
- package/dist/actions/get5-day-forecast.mjs.map +1 -1
- package/dist/actions/post-add-weather-station.cjs +7 -7
- package/dist/actions/post-add-weather-station.cjs.map +1 -1
- package/dist/actions/post-add-weather-station.d.cts +27 -3
- package/dist/actions/post-add-weather-station.d.cts.map +1 -1
- package/dist/actions/post-add-weather-station.d.mts +27 -3
- package/dist/actions/post-add-weather-station.d.mts.map +1 -1
- package/dist/actions/post-add-weather-station.mjs +7 -7
- package/dist/actions/post-add-weather-station.mjs.map +1 -1
- package/dist/actions/post-submit-station-measurements.cjs.map +1 -1
- package/dist/actions/post-submit-station-measurements.d.cts +30 -3
- package/dist/actions/post-submit-station-measurements.d.cts.map +1 -1
- package/dist/actions/post-submit-station-measurements.d.mts +30 -3
- package/dist/actions/post-submit-station-measurements.d.mts.map +1 -1
- package/dist/actions/post-submit-station-measurements.mjs.map +1 -1
- package/dist/actions/update-weather-station.cjs +3 -3
- package/dist/actions/update-weather-station.cjs.map +1 -1
- package/dist/actions/update-weather-station.d.cts +26 -3
- package/dist/actions/update-weather-station.d.cts.map +1 -1
- package/dist/actions/update-weather-station.d.mts +26 -3
- package/dist/actions/update-weather-station.d.mts.map +1 -1
- package/dist/actions/update-weather-station.mjs +3 -3
- package/dist/actions/update-weather-station.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-geocoding-direct.d.cts","names":[],"sources":["../../src/actions/get-geocoding-direct.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"get-geocoding-direct.d.cts","names":[],"sources":["../../src/actions/get-geocoding-direct.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,UAAc;AAAA,cAEpD,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-geocoding-direct.d.ts
|
|
4
|
-
declare const OpenweatherApiGetGeocodingDirectInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetGeocodingDirectInput: z.ZodObject<{
|
|
5
|
+
q: z.ZodString;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const OpenweatherApiGetGeocodingDirectOutput: z.ZodUnknown;
|
|
9
|
+
declare const openweatherApiGetGeocodingDirect: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
10
|
+
q: string;
|
|
11
|
+
limit?: number | undefined;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { openweatherApiGetGeocodingDirect };
|
|
9
15
|
//# sourceMappingURL=get-geocoding-direct.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-geocoding-direct.d.mts","names":[],"sources":["../../src/actions/get-geocoding-direct.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"get-geocoding-direct.d.mts","names":[],"sources":["../../src/actions/get-geocoding-direct.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,UAAc;AAAA,cAEpD,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -1 +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
|
|
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.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.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,OAVmD,EAAE,OAAO;EAC5D,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,QAPoD,EAAE,QAO9C;AACV,CAAC"}
|
|
@@ -1 +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
|
|
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.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.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,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,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,0CAA0CA,IAAAA,EAAE,QAAQ;AAEjE,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-geocoding-reverse.d.ts
|
|
4
|
-
declare const OpenweatherApiGetGeocodingReverseInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetGeocodingReverseInput: z.ZodObject<{
|
|
5
|
+
lat: z.ZodNumber;
|
|
6
|
+
lon: z.ZodNumber;
|
|
7
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const OpenweatherApiGetGeocodingReverseOutput: z.ZodUnknown;
|
|
10
|
+
declare const openweatherApiGetGeocodingReverse: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
lat: number;
|
|
12
|
+
lon: number;
|
|
13
|
+
limit?: number | undefined;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { openweatherApiGetGeocodingReverse };
|
|
9
17
|
//# sourceMappingURL=get-geocoding-reverse.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-geocoding-reverse.d.cts","names":[],"sources":["../../src/actions/get-geocoding-reverse.ts"],"mappings":";;;cAIa,sCAAA,
|
|
1
|
+
{"version":3,"file":"get-geocoding-reverse.d.cts","names":[],"sources":["../../src/actions/get-geocoding-reverse.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAKtC,uCAAA,EAAuC,CAAA,CAAA,UAAc;AAAA,cAErD,iCAAA,gCAAiC,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-geocoding-reverse.d.ts
|
|
4
|
-
declare const OpenweatherApiGetGeocodingReverseInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetGeocodingReverseInput: z.ZodObject<{
|
|
5
|
+
lat: z.ZodNumber;
|
|
6
|
+
lon: z.ZodNumber;
|
|
7
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const OpenweatherApiGetGeocodingReverseOutput: z.ZodUnknown;
|
|
10
|
+
declare const openweatherApiGetGeocodingReverse: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
lat: number;
|
|
12
|
+
lon: number;
|
|
13
|
+
limit?: number | undefined;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { openweatherApiGetGeocodingReverse };
|
|
9
17
|
//# sourceMappingURL=get-geocoding-reverse.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-geocoding-reverse.d.mts","names":[],"sources":["../../src/actions/get-geocoding-reverse.ts"],"mappings":";;;cAIa,sCAAA,
|
|
1
|
+
{"version":3,"file":"get-geocoding-reverse.d.mts","names":[],"sources":["../../src/actions/get-geocoding-reverse.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAKtC,uCAAA,EAAuC,CAAA,CAAA,UAAc;AAAA,cAErD,iCAAA,gCAAiC,wBAAA"}
|
|
@@ -1 +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
|
|
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.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.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,OAXoD,EAAE,OAAO;EAC7D,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,QAPqD,EAAE,QAO/C;AACV,CAAC"}
|
|
@@ -1 +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
|
|
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.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.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.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,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,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,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,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,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,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"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-station-measurements.d.ts
|
|
4
|
-
declare const OpenweatherApiGetStationMeasurementsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetStationMeasurementsInput: z.ZodObject<{
|
|
5
|
+
to: z.ZodNumber;
|
|
6
|
+
from: z.ZodNumber;
|
|
7
|
+
type: z.ZodEnum<{
|
|
8
|
+
d: "d";
|
|
9
|
+
m: "m";
|
|
10
|
+
h: "h";
|
|
11
|
+
}>;
|
|
12
|
+
limit: z.ZodNumber;
|
|
13
|
+
station_id: z.ZodString;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const OpenweatherApiGetStationMeasurementsOutput: z.ZodObject<{
|
|
16
|
+
measurements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
17
|
+
dt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
temp: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
19
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
wind: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
21
|
+
humidity: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
|
+
pressure: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
23
|
+
station_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
precipitation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
25
|
+
}, z.core.$strip>>>>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
declare const openweatherApiGetStationMeasurements: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
to: number;
|
|
29
|
+
from: number;
|
|
30
|
+
type: "d" | "m" | "h";
|
|
31
|
+
limit: number;
|
|
32
|
+
station_id: string;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { openweatherApiGetStationMeasurements };
|
|
9
36
|
//# sourceMappingURL=get-station-measurements.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-station-measurements.d.cts","names":[],"sources":["../../src/actions/get-station-measurements.ts"],"mappings":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"get-station-measurements.d.cts","names":[],"sources":["../../src/actions/get-station-measurements.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;cAiBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-station-measurements.d.ts
|
|
4
|
-
declare const OpenweatherApiGetStationMeasurementsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetStationMeasurementsInput: z.ZodObject<{
|
|
5
|
+
to: z.ZodNumber;
|
|
6
|
+
from: z.ZodNumber;
|
|
7
|
+
type: z.ZodEnum<{
|
|
8
|
+
d: "d";
|
|
9
|
+
m: "m";
|
|
10
|
+
h: "h";
|
|
11
|
+
}>;
|
|
12
|
+
limit: z.ZodNumber;
|
|
13
|
+
station_id: z.ZodString;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const OpenweatherApiGetStationMeasurementsOutput: z.ZodObject<{
|
|
16
|
+
measurements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
17
|
+
dt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
temp: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
19
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
wind: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
21
|
+
humidity: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
|
+
pressure: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
23
|
+
station_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
precipitation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
25
|
+
}, z.core.$strip>>>>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
declare const openweatherApiGetStationMeasurements: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
to: number;
|
|
29
|
+
from: number;
|
|
30
|
+
type: "d" | "m" | "h";
|
|
31
|
+
limit: number;
|
|
32
|
+
station_id: string;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { openweatherApiGetStationMeasurements };
|
|
9
36
|
//# sourceMappingURL=get-station-measurements.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-station-measurements.d.mts","names":[],"sources":["../../src/actions/get-station-measurements.ts"],"mappings":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"get-station-measurements.d.mts","names":[],"sources":["../../src/actions/get-station-measurements.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;cAiBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -1 +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
|
|
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.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.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.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,4CAA4C,EAAE,OAAO;CAChE,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,yDAAyD,EAAE,OAAO;CACtE,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,QATwD,EAAE,OAAO,EACjE,cAAc,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvJ,CAAC,CAAC,CAAC,SAAS,qEAOF;AACV,CAAC"}
|
|
@@ -1 +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
|
|
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.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.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,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,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,yCAAyCA,IAAAA,EAAE,QAAQ;AAEhE,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-uv-index-forecast.d.ts
|
|
4
|
-
declare const OpenweatherApiGetUvIndexForecastInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetUvIndexForecastInput: z.ZodObject<{
|
|
5
|
+
cnt: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
lat: z.ZodNumber;
|
|
7
|
+
lon: z.ZodNumber;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const OpenweatherApiGetUvIndexForecastOutput: z.ZodUnknown;
|
|
10
|
+
declare const openweatherApiGetUvIndexForecast: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
lat: number;
|
|
12
|
+
lon: number;
|
|
13
|
+
cnt?: number | undefined;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { openweatherApiGetUvIndexForecast };
|
|
9
17
|
//# sourceMappingURL=get-uv-index-forecast.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-uv-index-forecast.d.cts","names":[],"sources":["../../src/actions/get-uv-index-forecast.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"get-uv-index-forecast.d.cts","names":[],"sources":["../../src/actions/get-uv-index-forecast.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAKrC,sCAAA,EAAsC,CAAA,CAAA,UAAc;AAAA,cAEpD,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-uv-index-forecast.d.ts
|
|
4
|
-
declare const OpenweatherApiGetUvIndexForecastInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetUvIndexForecastInput: z.ZodObject<{
|
|
5
|
+
cnt: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
lat: z.ZodNumber;
|
|
7
|
+
lon: z.ZodNumber;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const OpenweatherApiGetUvIndexForecastOutput: z.ZodUnknown;
|
|
10
|
+
declare const openweatherApiGetUvIndexForecast: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
lat: number;
|
|
12
|
+
lon: number;
|
|
13
|
+
cnt?: number | undefined;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { openweatherApiGetUvIndexForecast };
|
|
9
17
|
//# sourceMappingURL=get-uv-index-forecast.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-uv-index-forecast.d.mts","names":[],"sources":["../../src/actions/get-uv-index-forecast.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"get-uv-index-forecast.d.mts","names":[],"sources":["../../src/actions/get-uv-index-forecast.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAKrC,sCAAA,EAAsC,CAAA,CAAA,UAAc;AAAA,cAEpD,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -1 +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
|
|
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.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.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,OAXmD,EAAE,OAAO;EAC5D,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,QAPoD,EAAE,QAO9C;AACV,CAAC"}
|
|
@@ -8,11 +8,11 @@ const OpenweatherApiGetUvIndexHistoryInput = zod.z.object({
|
|
|
8
8
|
start: zod.z.number().int().describe("Start UNIX timestamp (UTC seconds); must be <= end")
|
|
9
9
|
});
|
|
10
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")
|
|
11
|
+
lat: zod.z.number().describe("Latitude of the location").nullable(),
|
|
12
|
+
lon: zod.z.number().describe("Longitude of the location").nullable(),
|
|
13
|
+
date: zod.z.number().int().describe("Date and time in UNIX timestamp (UTC)").nullable(),
|
|
14
|
+
value: zod.z.number().describe("UV index value on the given date").nullable(),
|
|
15
|
+
date_iso: zod.z.string().describe("Date and time in ISO 8601 format").nullable()
|
|
16
16
|
});
|
|
17
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
18
|
const openweatherApiGetUvIndexHistory = require_action.action("OPENWEATHER_API_GET_UV_INDEX_HISTORY", {
|
|
@@ -1 +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
|
|
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.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.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lon: z.number().describe(\"Longitude of the location\").nullable(),\n date: z.number().int().describe(\"Date and time in UNIX timestamp (UTC)\").nullable(),\n value: z.number().describe(\"UV index value on the given date\").nullable(),\n date_iso: z.string().describe(\"Date and time in ISO 8601 format\").nullable(),\n});\nexport const OpenweatherApiGetUvIndexHistoryOutput = 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,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,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,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC7E,CAAC;AACD,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,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"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-uv-index-history.d.ts
|
|
4
|
-
declare const OpenweatherApiGetUvIndexHistoryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetUvIndexHistoryInput: z.ZodObject<{
|
|
5
|
+
end: z.ZodNumber;
|
|
6
|
+
lat: z.ZodNumber;
|
|
7
|
+
lon: z.ZodNumber;
|
|
8
|
+
start: z.ZodNumber;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const OpenweatherApiGetUvIndexHistoryOutput: z.ZodObject<{
|
|
11
|
+
list: z.ZodArray<z.ZodObject<{
|
|
12
|
+
lat: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
lon: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
date: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
date_iso: z.ZodNullable<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const openweatherApiGetUvIndexHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
end: number;
|
|
21
|
+
lat: number;
|
|
22
|
+
lon: number;
|
|
23
|
+
start: number;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { openweatherApiGetUvIndexHistory };
|
|
9
27
|
//# sourceMappingURL=get-uv-index-history.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-uv-index-history.d.cts","names":[],"sources":["../../src/actions/get-uv-index-history.ts"],"mappings":";;;cAIa,oCAAA,
|
|
1
|
+
{"version":3,"file":"get-uv-index-history.d.cts","names":[],"sources":["../../src/actions/get-uv-index-history.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;cAapC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;cAIrC,+BAAA,gCAA+B,wBAAA"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-uv-index-history.d.ts
|
|
4
|
-
declare const OpenweatherApiGetUvIndexHistoryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetUvIndexHistoryInput: z.ZodObject<{
|
|
5
|
+
end: z.ZodNumber;
|
|
6
|
+
lat: z.ZodNumber;
|
|
7
|
+
lon: z.ZodNumber;
|
|
8
|
+
start: z.ZodNumber;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const OpenweatherApiGetUvIndexHistoryOutput: z.ZodObject<{
|
|
11
|
+
list: z.ZodArray<z.ZodObject<{
|
|
12
|
+
lat: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
lon: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
date: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
date_iso: z.ZodNullable<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const openweatherApiGetUvIndexHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
end: number;
|
|
21
|
+
lat: number;
|
|
22
|
+
lon: number;
|
|
23
|
+
start: number;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { openweatherApiGetUvIndexHistory };
|
|
9
27
|
//# sourceMappingURL=get-uv-index-history.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-uv-index-history.d.mts","names":[],"sources":["../../src/actions/get-uv-index-history.ts"],"mappings":";;;cAIa,oCAAA,
|
|
1
|
+
{"version":3,"file":"get-uv-index-history.d.mts","names":[],"sources":["../../src/actions/get-uv-index-history.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;cAapC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;cAIrC,+BAAA,gCAA+B,wBAAA"}
|
|
@@ -8,11 +8,11 @@ const OpenweatherApiGetUvIndexHistoryInput = z.object({
|
|
|
8
8
|
start: z.number().int().describe("Start UNIX timestamp (UTC seconds); must be <= end")
|
|
9
9
|
});
|
|
10
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")
|
|
11
|
+
lat: z.number().describe("Latitude of the location").nullable(),
|
|
12
|
+
lon: z.number().describe("Longitude of the location").nullable(),
|
|
13
|
+
date: z.number().int().describe("Date and time in UNIX timestamp (UTC)").nullable(),
|
|
14
|
+
value: z.number().describe("UV index value on the given date").nullable(),
|
|
15
|
+
date_iso: z.string().describe("Date and time in ISO 8601 format").nullable()
|
|
16
16
|
});
|
|
17
17
|
const openweatherApiGetUvIndexHistory = action("OPENWEATHER_API_GET_UV_INDEX_HISTORY", {
|
|
18
18
|
slug: "openweather_api-get-uv-index-history",
|
|
@@ -1 +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
|
|
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.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.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lon: z.number().describe(\"Longitude of the location\").nullable(),\n date: z.number().int().describe(\"Date and time in UNIX timestamp (UTC)\").nullable(),\n value: z.number().describe(\"UV index value on the given date\").nullable(),\n date_iso: z.string().describe(\"Date and time in ISO 8601 format\").nullable(),\n});\nexport const OpenweatherApiGetUvIndexHistoryOutput = 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,uCAAuC,EAAE,OAAO;CAC3D,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,sDAAsD,EAAE,OAAO;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC7E,CAAC;AAKD,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,MAAM,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,0CAA0C,EACxH,CAAC,CAAC,CAAC,SAAS,qGAOF;AACV,CAAC"}
|
|
@@ -6,11 +6,11 @@ const OpenweatherApiGetUvIndexInput = zod.z.object({
|
|
|
6
6
|
lon: zod.z.number().describe("Longitude of the location, between -180 and 180")
|
|
7
7
|
});
|
|
8
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")
|
|
9
|
+
lat: zod.z.number().describe("Latitude of the location").nullable(),
|
|
10
|
+
lon: zod.z.number().describe("Longitude of the location").nullable(),
|
|
11
|
+
date: zod.z.number().int().describe("Date in Unix UTC seconds").nullable(),
|
|
12
|
+
value: zod.z.number().describe("UV index value").nullable(),
|
|
13
|
+
date_iso: zod.z.string().describe("UTC time in ISO 8601 format").nullable()
|
|
14
14
|
});
|
|
15
15
|
const openweatherApiGetUvIndex = require_action.action("OPENWEATHER_API_GET_UV_INDEX", {
|
|
16
16
|
slug: "openweather_api-get-uv-index",
|
|
@@ -1 +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
|
|
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.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.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lon: z.number().describe(\"Longitude of the location\").nullable(),\n date: z.number().int().describe(\"Date in Unix UTC seconds\").nullable(),\n value: z.number().describe(\"UV index value\").nullable(),\n date_iso: z.string().describe(\"UTC time in ISO 8601 format\").nullable(),\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,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AAC5E,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACxE,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-uv-index.d.ts
|
|
4
|
-
declare const OpenweatherApiGetUvIndexInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetUvIndexInput: z.ZodObject<{
|
|
5
|
+
lat: z.ZodNumber;
|
|
6
|
+
lon: z.ZodNumber;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const OpenweatherApiGetUvIndexOutput: z.ZodObject<{
|
|
9
|
+
lat: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
lon: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
date: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
date_iso: z.ZodNullable<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const openweatherApiGetUvIndex: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
lat: number;
|
|
17
|
+
lon: number;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { openweatherApiGetUvIndex };
|
|
9
21
|
//# sourceMappingURL=get-uv-index.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-uv-index.d.cts","names":[],"sources":["../../src/actions/get-uv-index.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-uv-index.d.cts","names":[],"sources":["../../src/actions/get-uv-index.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAQ9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-uv-index.d.ts
|
|
4
|
-
declare const OpenweatherApiGetUvIndexInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetUvIndexInput: z.ZodObject<{
|
|
5
|
+
lat: z.ZodNumber;
|
|
6
|
+
lon: z.ZodNumber;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const OpenweatherApiGetUvIndexOutput: z.ZodObject<{
|
|
9
|
+
lat: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
lon: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
date: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
date_iso: z.ZodNullable<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const openweatherApiGetUvIndex: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
lat: number;
|
|
17
|
+
lon: number;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { openweatherApiGetUvIndex };
|
|
9
21
|
//# sourceMappingURL=get-uv-index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-uv-index.d.mts","names":[],"sources":["../../src/actions/get-uv-index.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-uv-index.d.mts","names":[],"sources":["../../src/actions/get-uv-index.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAQ9B,wBAAA,gCAAwB,wBAAA"}
|