@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
|
@@ -9,11 +9,11 @@ const openweatherApiGetUvIndex = action("OPENWEATHER_API_GET_UV_INDEX", {
|
|
|
9
9
|
lon: z.number().describe("Longitude of the location, between -180 and 180")
|
|
10
10
|
}),
|
|
11
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")
|
|
12
|
+
lat: z.number().describe("Latitude of the location").nullable(),
|
|
13
|
+
lon: z.number().describe("Longitude of the location").nullable(),
|
|
14
|
+
date: z.number().int().describe("Date in Unix UTC seconds").nullable(),
|
|
15
|
+
value: z.number().describe("UV index value").nullable(),
|
|
16
|
+
date_iso: z.string().describe("UTC time in ISO 8601 format").nullable()
|
|
17
17
|
})
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
@@ -1 +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
|
|
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.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":";;AAgBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC5E,CAaS;CACP,QAb4C,EAAE,OAAO;EACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxE,CAOU;AACV,CAAC"}
|
|
@@ -25,7 +25,7 @@ const OpenweatherApiGetWeatherMapTileInput = zod.z.object({
|
|
|
25
25
|
palette: zod.z.string().describe("Custom palette definition (comma-separated or JSON).").optional(),
|
|
26
26
|
fill_bound: zod.z.boolean().describe("Fill tiles outside data coverage if true.").optional()
|
|
27
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.");
|
|
28
|
+
const OpenweatherApiGetWeatherMapTileOutput = zod.z.object({ tile: zod.z.string().describe("Binary PNG image data of the map tile.").nullable() }).describe("Raw PNG image data for the requested Weather Maps 2.0 tile.");
|
|
29
29
|
const openweatherApiGetWeatherMapTile = require_action.action("OPENWEATHER_API_GET_WEATHER_MAP_TILE", {
|
|
30
30
|
slug: "openweather_api-get-weather-map-tile",
|
|
31
31
|
name: "Get Weather Map Tile (2.0)",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-weather-map-tile.cjs","names":["z","action"],"sources":["../../src/actions/get-weather-map-tile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherMapTileInput
|
|
1
|
+
{"version":3,"file":"get-weather-map-tile.cjs","names":["z","action"],"sources":["../../src/actions/get-weather-map-tile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherMapTileInput = z.object({\n x: z.number().int().describe(\"Tile X coordinate (non-negative integer).\"),\n y: z.number().int().describe(\"Tile Y coordinate (non-negative integer).\"),\n z: z.number().int().describe(\"Zoom level of the tile (non-negative integer).\"),\n fill: z.string().describe(\"Color for empty-data fill areas (hex or named).\").optional(),\n color: z.string().describe(\"Color schema of the tiles, e.g., 'original', 'black'.\").optional(),\n layer: z.enum([\"clouds\", \"clouds_new\", \"precipitation\", \"precipitation_new\", \"pressure\", \"pressure_new\", \"wind\", \"wind_new\", \"temp\", \"temp_new\"]).describe(\"Weather layer name. Options: clouds, clouds_new, precipitation, precipitation_new, pressure, pressure_new, wind, wind_new, temp, temp_new.\"),\n scale: z.union([z.literal(1), z.literal(2)]).describe(\"Tile scale factor: 1 or 2 for retina.\").optional(),\n format: z.string().describe(\"Image format; only 'png' is supported.\").optional(),\n opacity: z.number().describe(\"Tile opacity value between 0.0 and 1.0.\").optional(),\n palette: z.string().describe(\"Custom palette definition (comma-separated or JSON).\").optional(),\n fill_bound: z.boolean().describe(\"Fill tiles outside data coverage if true.\").optional(),\n}).describe(\"Request parameters for fetching advanced Weather Maps 2.0 tile.\");\nexport const OpenweatherApiGetWeatherMapTileOutput = z.object({\n tile: z.string().describe(\"Binary PNG image data of the map tile.\").nullable(),\n}).describe(\"Raw PNG image data for the requested Weather Maps 2.0 tile.\");\n\nexport const openweatherApiGetWeatherMapTile = action(\"OPENWEATHER_API_GET_WEATHER_MAP_TILE\", {\n slug: \"openweather_api-get-weather-map-tile\",\n name: \"Get Weather Map Tile (2.0)\",\n 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.\",\n input: OpenweatherApiGetWeatherMapTileInput,\n output: OpenweatherApiGetWeatherMapTileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACxE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACxE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC7F,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAc;EAAiB;EAAqB;EAAY;EAAgB;EAAQ;EAAY;EAAQ;CAAU,CAAC,CAAC,CAAC,SAAS,4IAA4I;CACvS,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,46 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-weather-map-tile.d.ts
|
|
4
|
-
declare const OpenweatherApiGetWeatherMapTileInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetWeatherMapTileInput: z.ZodObject<{
|
|
5
|
+
x: z.ZodNumber;
|
|
6
|
+
y: z.ZodNumber;
|
|
7
|
+
z: z.ZodNumber;
|
|
8
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
9
|
+
color: z.ZodOptional<z.ZodString>;
|
|
10
|
+
layer: z.ZodEnum<{
|
|
11
|
+
clouds: "clouds";
|
|
12
|
+
clouds_new: "clouds_new";
|
|
13
|
+
precipitation: "precipitation";
|
|
14
|
+
precipitation_new: "precipitation_new";
|
|
15
|
+
pressure: "pressure";
|
|
16
|
+
pressure_new: "pressure_new";
|
|
17
|
+
wind: "wind";
|
|
18
|
+
wind_new: "wind_new";
|
|
19
|
+
temp: "temp";
|
|
20
|
+
temp_new: "temp_new";
|
|
21
|
+
}>;
|
|
22
|
+
scale: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
23
|
+
format: z.ZodOptional<z.ZodString>;
|
|
24
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
palette: z.ZodOptional<z.ZodString>;
|
|
26
|
+
fill_bound: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const OpenweatherApiGetWeatherMapTileOutput: z.ZodObject<{
|
|
29
|
+
tile: z.ZodNullable<z.ZodString>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
declare const openweatherApiGetWeatherMapTile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
|
+
x: number;
|
|
33
|
+
y: number;
|
|
34
|
+
z: number;
|
|
35
|
+
layer: "clouds" | "clouds_new" | "precipitation" | "precipitation_new" | "pressure" | "pressure_new" | "wind" | "wind_new" | "temp" | "temp_new";
|
|
36
|
+
fill?: string | undefined;
|
|
37
|
+
color?: string | undefined;
|
|
38
|
+
scale?: 1 | 2 | undefined;
|
|
39
|
+
format?: string | undefined;
|
|
40
|
+
opacity?: number | undefined;
|
|
41
|
+
palette?: string | undefined;
|
|
42
|
+
fill_bound?: boolean | undefined;
|
|
43
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
44
|
//#endregion
|
|
8
45
|
export { openweatherApiGetWeatherMapTile };
|
|
9
46
|
//# sourceMappingURL=get-weather-map-tile.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-weather-map-tile.d.cts","names":[],"sources":["../../src/actions/get-weather-map-tile.ts"],"mappings":";;;cAIa,oCAAA,
|
|
1
|
+
{"version":3,"file":"get-weather-map-tile.d.cts","names":[],"sources":["../../src/actions/get-weather-map-tile.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAapC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,gCAA+B,wBAAA"}
|
|
@@ -1,9 +1,46 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-weather-map-tile.d.ts
|
|
4
|
-
declare const OpenweatherApiGetWeatherMapTileInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetWeatherMapTileInput: z.ZodObject<{
|
|
5
|
+
x: z.ZodNumber;
|
|
6
|
+
y: z.ZodNumber;
|
|
7
|
+
z: z.ZodNumber;
|
|
8
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
9
|
+
color: z.ZodOptional<z.ZodString>;
|
|
10
|
+
layer: z.ZodEnum<{
|
|
11
|
+
clouds: "clouds";
|
|
12
|
+
clouds_new: "clouds_new";
|
|
13
|
+
precipitation: "precipitation";
|
|
14
|
+
precipitation_new: "precipitation_new";
|
|
15
|
+
pressure: "pressure";
|
|
16
|
+
pressure_new: "pressure_new";
|
|
17
|
+
wind: "wind";
|
|
18
|
+
wind_new: "wind_new";
|
|
19
|
+
temp: "temp";
|
|
20
|
+
temp_new: "temp_new";
|
|
21
|
+
}>;
|
|
22
|
+
scale: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
23
|
+
format: z.ZodOptional<z.ZodString>;
|
|
24
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
palette: z.ZodOptional<z.ZodString>;
|
|
26
|
+
fill_bound: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const OpenweatherApiGetWeatherMapTileOutput: z.ZodObject<{
|
|
29
|
+
tile: z.ZodNullable<z.ZodString>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
declare const openweatherApiGetWeatherMapTile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
|
+
x: number;
|
|
33
|
+
y: number;
|
|
34
|
+
z: number;
|
|
35
|
+
layer: "clouds" | "clouds_new" | "precipitation" | "precipitation_new" | "pressure" | "pressure_new" | "wind" | "wind_new" | "temp" | "temp_new";
|
|
36
|
+
fill?: string | undefined;
|
|
37
|
+
color?: string | undefined;
|
|
38
|
+
scale?: 1 | 2 | undefined;
|
|
39
|
+
format?: string | undefined;
|
|
40
|
+
opacity?: number | undefined;
|
|
41
|
+
palette?: string | undefined;
|
|
42
|
+
fill_bound?: boolean | undefined;
|
|
43
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
44
|
//#endregion
|
|
8
45
|
export { openweatherApiGetWeatherMapTile };
|
|
9
46
|
//# sourceMappingURL=get-weather-map-tile.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-weather-map-tile.d.mts","names":[],"sources":["../../src/actions/get-weather-map-tile.ts"],"mappings":";;;cAIa,oCAAA,
|
|
1
|
+
{"version":3,"file":"get-weather-map-tile.d.mts","names":[],"sources":["../../src/actions/get-weather-map-tile.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAapC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,gCAA+B,wBAAA"}
|
|
@@ -28,7 +28,7 @@ const openweatherApiGetWeatherMapTile = action("OPENWEATHER_API_GET_WEATHER_MAP_
|
|
|
28
28
|
palette: z.string().describe("Custom palette definition (comma-separated or JSON).").optional(),
|
|
29
29
|
fill_bound: z.boolean().describe("Fill tiles outside data coverage if true.").optional()
|
|
30
30
|
}).describe("Request parameters for fetching advanced Weather Maps 2.0 tile."),
|
|
31
|
-
output: z.object({ tile: z.string().describe("Binary PNG image data of the map tile.") }).describe("Raw PNG image data for the requested Weather Maps 2.0 tile.")
|
|
31
|
+
output: z.object({ tile: z.string().describe("Binary PNG image data of the map tile.").nullable() }).describe("Raw PNG image data for the requested Weather Maps 2.0 tile.")
|
|
32
32
|
});
|
|
33
33
|
//#endregion
|
|
34
34
|
export { openweatherApiGetWeatherMapTile };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-weather-map-tile.mjs","names":[],"sources":["../../src/actions/get-weather-map-tile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherMapTileInput
|
|
1
|
+
{"version":3,"file":"get-weather-map-tile.mjs","names":[],"sources":["../../src/actions/get-weather-map-tile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherMapTileInput = z.object({\n x: z.number().int().describe(\"Tile X coordinate (non-negative integer).\"),\n y: z.number().int().describe(\"Tile Y coordinate (non-negative integer).\"),\n z: z.number().int().describe(\"Zoom level of the tile (non-negative integer).\"),\n fill: z.string().describe(\"Color for empty-data fill areas (hex or named).\").optional(),\n color: z.string().describe(\"Color schema of the tiles, e.g., 'original', 'black'.\").optional(),\n layer: z.enum([\"clouds\", \"clouds_new\", \"precipitation\", \"precipitation_new\", \"pressure\", \"pressure_new\", \"wind\", \"wind_new\", \"temp\", \"temp_new\"]).describe(\"Weather layer name. Options: clouds, clouds_new, precipitation, precipitation_new, pressure, pressure_new, wind, wind_new, temp, temp_new.\"),\n scale: z.union([z.literal(1), z.literal(2)]).describe(\"Tile scale factor: 1 or 2 for retina.\").optional(),\n format: z.string().describe(\"Image format; only 'png' is supported.\").optional(),\n opacity: z.number().describe(\"Tile opacity value between 0.0 and 1.0.\").optional(),\n palette: z.string().describe(\"Custom palette definition (comma-separated or JSON).\").optional(),\n fill_bound: z.boolean().describe(\"Fill tiles outside data coverage if true.\").optional(),\n}).describe(\"Request parameters for fetching advanced Weather Maps 2.0 tile.\");\nexport const OpenweatherApiGetWeatherMapTileOutput = z.object({\n tile: z.string().describe(\"Binary PNG image data of the map tile.\").nullable(),\n}).describe(\"Raw PNG image data for the requested Weather Maps 2.0 tile.\");\n\nexport const openweatherApiGetWeatherMapTile = action(\"OPENWEATHER_API_GET_WEATHER_MAP_TILE\", {\n slug: \"openweather_api-get-weather-map-tile\",\n name: \"Get Weather Map Tile (2.0)\",\n 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.\",\n input: OpenweatherApiGetWeatherMapTileInput,\n output: OpenweatherApiGetWeatherMapTileOutput,\n});\n"],"mappings":";;AAqBA,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBkD,EAAE,OAAO;EAC3D,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;EACxE,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;EACxE,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC7F,OAAO,EAAE,KAAK;GAAC;GAAU;GAAc;GAAiB;GAAqB;GAAY;GAAgB;GAAQ;GAAY;GAAQ;EAAU,CAAC,CAAC,CAAC,SAAS,4IAA4I;EACvS,OAAO,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,iEASH;CACP,QATmD,EAAE,OAAO,EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
|
|
@@ -3,14 +3,14 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-weather-station.ts
|
|
4
4
|
const OpenweatherApiGetWeatherStationInput = zod.z.object({ station_id: zod.z.string().describe("Internal station ID to retrieve information for.") }).describe("Request schema for getting a specific weather station by ID.");
|
|
5
5
|
const OpenweatherApiGetWeatherStationOutput = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("Station identifier."),
|
|
7
|
-
name: zod.z.string().describe("Station name."),
|
|
6
|
+
id: zod.z.string().describe("Station identifier.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Station name.").nullable(),
|
|
8
8
|
rank: zod.z.number().int().describe("Station rank.").nullable().optional(),
|
|
9
9
|
altitude: zod.z.number().describe("Station altitude above sea level.").nullable().optional(),
|
|
10
|
-
latitude: zod.z.number().describe("Location latitude."),
|
|
11
|
-
longitude: zod.z.number().describe("Location longitude."),
|
|
12
|
-
created_at: zod.z.string().describe("ISO8601 datetime of creation."),
|
|
13
|
-
updated_at: zod.z.string().describe("ISO8601 datetime of the last update."),
|
|
10
|
+
latitude: zod.z.number().describe("Location latitude.").nullable(),
|
|
11
|
+
longitude: zod.z.number().describe("Location longitude.").nullable(),
|
|
12
|
+
created_at: zod.z.string().describe("ISO8601 datetime of creation.").nullable(),
|
|
13
|
+
updated_at: zod.z.string().describe("ISO8601 datetime of the last update.").nullable(),
|
|
14
14
|
external_id: zod.z.string().describe("User-supplied external reference ID.").nullable().optional()
|
|
15
15
|
}).describe("Response schema containing weather station information.");
|
|
16
16
|
const openweatherApiGetWeatherStation = require_action.action("OPENWEATHER_API_GET_WEATHER_STATION", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-weather-station.cjs","names":["z","action"],"sources":["../../src/actions/get-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherStationInput
|
|
1
|
+
{"version":3,"file":"get-weather-station.cjs","names":["z","action"],"sources":["../../src/actions/get-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherStationInput = z.object({\n station_id: z.string().describe(\"Internal station ID to retrieve information for.\"),\n}).describe(\"Request schema for getting a specific weather station by ID.\");\nexport const OpenweatherApiGetWeatherStationOutput = z.object({\n id: z.string().describe(\"Station identifier.\").nullable(),\n name: z.string().describe(\"Station name.\").nullable(),\n rank: z.number().int().describe(\"Station rank.\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude above sea level.\").nullable().optional(),\n latitude: z.number().describe(\"Location latitude.\").nullable(),\n longitude: z.number().describe(\"Location longitude.\").nullable(),\n created_at: z.string().describe(\"ISO8601 datetime of creation.\").nullable(),\n updated_at: z.string().describe(\"ISO8601 datetime of the last update.\").nullable(),\n external_id: z.string().describe(\"User-supplied external reference ID.\").nullable().optional(),\n}).describe(\"Response schema containing weather station information.\");\n\nexport const openweatherApiGetWeatherStation = action(\"OPENWEATHER_API_GET_WEATHER_STATION\", {\n slug: \"openweather_api-get-weather-station\",\n name: \"Get Weather Station\",\n description: \"Tool to get information about a specific weather station by its ID. Use when you need details about a particular station.\",\n input: OpenweatherApiGetWeatherStationInput,\n output: OpenweatherApiGetWeatherStationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EACpF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-weather-station.d.ts
|
|
4
|
-
declare const OpenweatherApiGetWeatherStationInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetWeatherStationInput: z.ZodObject<{
|
|
5
|
+
station_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const OpenweatherApiGetWeatherStationOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
rank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
altitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
15
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
16
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const openweatherApiGetWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
station_id: string;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { openweatherApiGetWeatherStation };
|
|
9
23
|
//# sourceMappingURL=get-weather-station.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-weather-station.d.cts","names":[],"sources":["../../src/actions/get-weather-station.ts"],"mappings":";;;cAIa,oCAAA,
|
|
1
|
+
{"version":3,"file":"get-weather-station.d.cts","names":[],"sources":["../../src/actions/get-weather-station.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYrC,+BAAA,gCAA+B,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-weather-station.d.ts
|
|
4
|
-
declare const OpenweatherApiGetWeatherStationInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetWeatherStationInput: z.ZodObject<{
|
|
5
|
+
station_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const OpenweatherApiGetWeatherStationOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
rank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
altitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
15
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
16
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const openweatherApiGetWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
station_id: string;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { openweatherApiGetWeatherStation };
|
|
9
23
|
//# sourceMappingURL=get-weather-station.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-weather-station.d.mts","names":[],"sources":["../../src/actions/get-weather-station.ts"],"mappings":";;;cAIa,oCAAA,
|
|
1
|
+
{"version":3,"file":"get-weather-station.d.mts","names":[],"sources":["../../src/actions/get-weather-station.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYrC,+BAAA,gCAA+B,wBAAA"}
|
|
@@ -6,14 +6,14 @@ const openweatherApiGetWeatherStation = action("OPENWEATHER_API_GET_WEATHER_STAT
|
|
|
6
6
|
description: "Tool to get information about a specific weather station by its ID. Use when you need details about a particular station.",
|
|
7
7
|
input: z.object({ station_id: z.string().describe("Internal station ID to retrieve information for.") }).describe("Request schema for getting a specific weather station by ID."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
id: z.string().describe("Station identifier."),
|
|
10
|
-
name: z.string().describe("Station name."),
|
|
9
|
+
id: z.string().describe("Station identifier.").nullable(),
|
|
10
|
+
name: z.string().describe("Station name.").nullable(),
|
|
11
11
|
rank: z.number().int().describe("Station rank.").nullable().optional(),
|
|
12
12
|
altitude: z.number().describe("Station altitude above sea level.").nullable().optional(),
|
|
13
|
-
latitude: z.number().describe("Location latitude."),
|
|
14
|
-
longitude: z.number().describe("Location longitude."),
|
|
15
|
-
created_at: z.string().describe("ISO8601 datetime of creation."),
|
|
16
|
-
updated_at: z.string().describe("ISO8601 datetime of the last update."),
|
|
13
|
+
latitude: z.number().describe("Location latitude.").nullable(),
|
|
14
|
+
longitude: z.number().describe("Location longitude.").nullable(),
|
|
15
|
+
created_at: z.string().describe("ISO8601 datetime of creation.").nullable(),
|
|
16
|
+
updated_at: z.string().describe("ISO8601 datetime of the last update.").nullable(),
|
|
17
17
|
external_id: z.string().describe("User-supplied external reference ID.").nullable().optional()
|
|
18
18
|
}).describe("Response schema containing weather station information.")
|
|
19
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-weather-station.mjs","names":[],"sources":["../../src/actions/get-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherStationInput
|
|
1
|
+
{"version":3,"file":"get-weather-station.mjs","names":[],"sources":["../../src/actions/get-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherStationInput = z.object({\n station_id: z.string().describe(\"Internal station ID to retrieve information for.\"),\n}).describe(\"Request schema for getting a specific weather station by ID.\");\nexport const OpenweatherApiGetWeatherStationOutput = z.object({\n id: z.string().describe(\"Station identifier.\").nullable(),\n name: z.string().describe(\"Station name.\").nullable(),\n rank: z.number().int().describe(\"Station rank.\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude above sea level.\").nullable().optional(),\n latitude: z.number().describe(\"Location latitude.\").nullable(),\n longitude: z.number().describe(\"Location longitude.\").nullable(),\n created_at: z.string().describe(\"ISO8601 datetime of creation.\").nullable(),\n updated_at: z.string().describe(\"ISO8601 datetime of the last update.\").nullable(),\n external_id: z.string().describe(\"User-supplied external reference ID.\").nullable().optional(),\n}).describe(\"Response schema containing weather station information.\");\n\nexport const openweatherApiGetWeatherStation = action(\"OPENWEATHER_API_GET_WEATHER_STATION\", {\n slug: \"openweather_api-get-weather-station\",\n name: \"Get Weather Station\",\n description: \"Tool to get information about a specific weather station by its ID. Use when you need details about a particular station.\",\n input: OpenweatherApiGetWeatherStationInput,\n output: OpenweatherApiGetWeatherStationOutput,\n});\n"],"mappings":";;AAmBA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBkD,EAAE,OAAO,EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EACpF,CAAC,CAAC,CAAC,SAAS,8DAiBH;CACP,QAjBmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
|
|
@@ -3,14 +3,14 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-weather-stations.ts
|
|
4
4
|
const OpenweatherApiGetWeatherStationsInput = zod.z.object({}).describe("Request schema for GET_WEATHER_STATIONS. No parameters are required.");
|
|
5
5
|
const OpenweatherApiGetWeatherStations_StationSchema = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("Station identifier."),
|
|
7
|
-
name: zod.z.string().describe("Station name."),
|
|
6
|
+
id: zod.z.string().describe("Station identifier.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Station name.").nullable(),
|
|
8
8
|
rank: zod.z.number().int().describe("Station rank.").nullable().optional(),
|
|
9
9
|
altitude: zod.z.number().describe("Station altitude above sea level.").nullable().optional(),
|
|
10
|
-
latitude: zod.z.number().describe("Location latitude."),
|
|
11
|
-
longitude: zod.z.number().describe("Location longitude."),
|
|
12
|
-
created_at: zod.z.string().describe("ISO8601 datetime of creation."),
|
|
13
|
-
updated_at: zod.z.string().describe("ISO8601 datetime of the last update."),
|
|
10
|
+
latitude: zod.z.number().describe("Location latitude.").nullable(),
|
|
11
|
+
longitude: zod.z.number().describe("Location longitude.").nullable(),
|
|
12
|
+
created_at: zod.z.string().describe("ISO8601 datetime of creation.").nullable(),
|
|
13
|
+
updated_at: zod.z.string().describe("ISO8601 datetime of the last update.").nullable(),
|
|
14
14
|
external_id: zod.z.string().describe("User-supplied external reference ID.").nullable().optional()
|
|
15
15
|
});
|
|
16
16
|
const OpenweatherApiGetWeatherStationsOutput = zod.z.object({ stations: zod.z.array(OpenweatherApiGetWeatherStations_StationSchema).describe("Array of weather station objects.") }).describe("List of weather stations added to the account.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-weather-stations.cjs","names":["z","action"],"sources":["../../src/actions/get-weather-stations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherStationsInput
|
|
1
|
+
{"version":3,"file":"get-weather-stations.cjs","names":["z","action"],"sources":["../../src/actions/get-weather-stations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherStationsInput = z.object({}).describe(\"Request schema for GET_WEATHER_STATIONS. No parameters are required.\");\nconst OpenweatherApiGetWeatherStations_StationSchema = z.object({\n id: z.string().describe(\"Station identifier.\").nullable(),\n name: z.string().describe(\"Station name.\").nullable(),\n rank: z.number().int().describe(\"Station rank.\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude above sea level.\").nullable().optional(),\n latitude: z.number().describe(\"Location latitude.\").nullable(),\n longitude: z.number().describe(\"Location longitude.\").nullable(),\n created_at: z.string().describe(\"ISO8601 datetime of creation.\").nullable(),\n updated_at: z.string().describe(\"ISO8601 datetime of the last update.\").nullable(),\n external_id: z.string().describe(\"User-supplied external reference ID.\").nullable().optional(),\n});\nexport const OpenweatherApiGetWeatherStationsOutput = z.object({\n stations: z.array(OpenweatherApiGetWeatherStations_StationSchema).describe(\"Array of weather station objects.\"),\n}).describe(\"List of weather stations added to the account.\");\n\nexport const openweatherApiGetWeatherStations = action(\"OPENWEATHER_API_GET_WEATHER_STATIONS\", {\n slug: \"openweather_api-get-weather-stations\",\n name: \"Get Weather Stations\",\n description: \"Tool to list all weather stations added to your account. Use after setting up your OpenWeather API key.\",\n input: OpenweatherApiGetWeatherStationsInput,\n output: OpenweatherApiGetWeatherStationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sEAAsE;AACjJ,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AACD,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,UAAUA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mCAAmC,EAChH,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-weather-stations.d.ts
|
|
4
|
-
declare const OpenweatherApiGetWeatherStationsInput: z.
|
|
5
|
-
declare const OpenweatherApiGetWeatherStationsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetWeatherStationsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const OpenweatherApiGetWeatherStationsOutput: z.ZodObject<{
|
|
6
|
+
stations: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
rank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
altitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
14
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
15
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const openweatherApiGetWeatherStations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { openweatherApiGetWeatherStations };
|
|
9
21
|
//# sourceMappingURL=get-weather-stations.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-weather-stations.d.cts","names":[],"sources":["../../src/actions/get-weather-stations.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"get-weather-stations.d.cts","names":[],"sources":["../../src/actions/get-weather-stations.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAYrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-weather-stations.d.ts
|
|
4
|
-
declare const OpenweatherApiGetWeatherStationsInput: z.
|
|
5
|
-
declare const OpenweatherApiGetWeatherStationsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetWeatherStationsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const OpenweatherApiGetWeatherStationsOutput: z.ZodObject<{
|
|
6
|
+
stations: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
rank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
altitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
14
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
15
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const openweatherApiGetWeatherStations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { openweatherApiGetWeatherStations };
|
|
9
21
|
//# sourceMappingURL=get-weather-stations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-weather-stations.d.mts","names":[],"sources":["../../src/actions/get-weather-stations.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"get-weather-stations.d.mts","names":[],"sources":["../../src/actions/get-weather-stations.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAYrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,14 +3,14 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-weather-stations.ts
|
|
4
4
|
const OpenweatherApiGetWeatherStationsInput = z.object({}).describe("Request schema for GET_WEATHER_STATIONS. No parameters are required.");
|
|
5
5
|
const OpenweatherApiGetWeatherStations_StationSchema = z.object({
|
|
6
|
-
id: z.string().describe("Station identifier."),
|
|
7
|
-
name: z.string().describe("Station name."),
|
|
6
|
+
id: z.string().describe("Station identifier.").nullable(),
|
|
7
|
+
name: z.string().describe("Station name.").nullable(),
|
|
8
8
|
rank: z.number().int().describe("Station rank.").nullable().optional(),
|
|
9
9
|
altitude: z.number().describe("Station altitude above sea level.").nullable().optional(),
|
|
10
|
-
latitude: z.number().describe("Location latitude."),
|
|
11
|
-
longitude: z.number().describe("Location longitude."),
|
|
12
|
-
created_at: z.string().describe("ISO8601 datetime of creation."),
|
|
13
|
-
updated_at: z.string().describe("ISO8601 datetime of the last update."),
|
|
10
|
+
latitude: z.number().describe("Location latitude.").nullable(),
|
|
11
|
+
longitude: z.number().describe("Location longitude.").nullable(),
|
|
12
|
+
created_at: z.string().describe("ISO8601 datetime of creation.").nullable(),
|
|
13
|
+
updated_at: z.string().describe("ISO8601 datetime of the last update.").nullable(),
|
|
14
14
|
external_id: z.string().describe("User-supplied external reference ID.").nullable().optional()
|
|
15
15
|
});
|
|
16
16
|
const openweatherApiGetWeatherStations = action("OPENWEATHER_API_GET_WEATHER_STATIONS", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-weather-stations.mjs","names":[],"sources":["../../src/actions/get-weather-stations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherStationsInput
|
|
1
|
+
{"version":3,"file":"get-weather-stations.mjs","names":[],"sources":["../../src/actions/get-weather-stations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherStationsInput = z.object({}).describe(\"Request schema for GET_WEATHER_STATIONS. No parameters are required.\");\nconst OpenweatherApiGetWeatherStations_StationSchema = z.object({\n id: z.string().describe(\"Station identifier.\").nullable(),\n name: z.string().describe(\"Station name.\").nullable(),\n rank: z.number().int().describe(\"Station rank.\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude above sea level.\").nullable().optional(),\n latitude: z.number().describe(\"Location latitude.\").nullable(),\n longitude: z.number().describe(\"Location longitude.\").nullable(),\n created_at: z.string().describe(\"ISO8601 datetime of creation.\").nullable(),\n updated_at: z.string().describe(\"ISO8601 datetime of the last update.\").nullable(),\n external_id: z.string().describe(\"User-supplied external reference ID.\").nullable().optional(),\n});\nexport const OpenweatherApiGetWeatherStationsOutput = z.object({\n stations: z.array(OpenweatherApiGetWeatherStations_StationSchema).describe(\"Array of weather station objects.\"),\n}).describe(\"List of weather stations added to the account.\");\n\nexport const openweatherApiGetWeatherStations = action(\"OPENWEATHER_API_GET_WEATHER_STATIONS\", {\n slug: \"openweather_api-get-weather-stations\",\n name: \"Get Weather Stations\",\n description: \"Tool to list all weather stations added to your account. Use after setting up your OpenWeather API key.\",\n input: OpenweatherApiGetWeatherStationsInput,\n output: OpenweatherApiGetWeatherStationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sEAAsE;AACjJ,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AAKD,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,UAAU,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mCAAmC,EAChH,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
|
|
@@ -16,8 +16,8 @@ const OpenweatherApiGetWeatherTriggersInput = zod.z.object({ triggers: zod.z.arr
|
|
|
16
16
|
]).describe("Condition operator: '>', '<', '=', or 'between'")
|
|
17
17
|
}).describe("Definition of a single weather trigger condition.")).describe("List of weather trigger definitions") }).describe("Request to manage and retrieve weather triggers. Provide a list of trigger definitions.");
|
|
18
18
|
const OpenweatherApiGetWeatherTriggers_TriggerResponseItemSchema = zod.z.object({
|
|
19
|
-
id: zod.z.string().describe("Unique ID of the trigger"),
|
|
20
|
-
status: zod.z.string().describe("Trigger operation status, e.g., 'created' or 'error'"),
|
|
19
|
+
id: zod.z.string().describe("Unique ID of the trigger").nullable(),
|
|
20
|
+
status: zod.z.string().describe("Trigger operation status, e.g., 'created' or 'error'").nullable(),
|
|
21
21
|
details: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional details or error information for the trigger")
|
|
22
22
|
}).describe("Result for a single trigger operation.");
|
|
23
23
|
const OpenweatherApiGetWeatherTriggersOutput = zod.z.object({ triggers: zod.z.array(OpenweatherApiGetWeatherTriggers_TriggerResponseItemSchema).describe("Results for each trigger operation") }).describe("Response schema for weather triggers retrieval.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-weather-triggers.cjs","names":["z","action"],"sources":["../../src/actions/get-weather-triggers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherTriggersInput
|
|
1
|
+
{"version":3,"file":"get-weather-triggers.cjs","names":["z","action"],"sources":["../../src/actions/get-weather-triggers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherTriggersInput = z.object({\n triggers: z.array(z.object({\n type: z.string().describe(\"Type of weather trigger, e.g., 'temp', 'rain', 'wind'\"),\n value: z.union([z.number(), z.array(z.number())]),\n location: z.object({\n lat: z.number().describe(\"Latitude in degrees, between -90 and 90\"),\n lon: z.number().describe(\"Longitude in degrees, between -180 and 180\"),\n}).describe(\"Location details where this trigger applies\"),\n condition: z.enum([\">\", \"<\", \"=\", \"between\"]).describe(\"Condition operator: '>', '<', '=', or 'between'\"),\n}).describe(\"Definition of a single weather trigger condition.\")).describe(\"List of weather trigger definitions\"),\n}).describe(\"Request to manage and retrieve weather triggers. Provide a list of trigger definitions.\");\nconst OpenweatherApiGetWeatherTriggers_TriggerResponseItemSchema = z.object({\n id: z.string().describe(\"Unique ID of the trigger\").nullable(),\n status: z.string().describe(\"Trigger operation status, e.g., 'created' or 'error'\").nullable(),\n details: z.record(z.string(), z.unknown()).describe(\"Additional details or error information for the trigger\"),\n}).describe(\"Result for a single trigger operation.\");\nexport const OpenweatherApiGetWeatherTriggersOutput = z.object({\n triggers: z.array(OpenweatherApiGetWeatherTriggers_TriggerResponseItemSchema).describe(\"Results for each trigger operation\"),\n}).describe(\"Response schema for weather triggers retrieval.\");\n\nexport const openweatherApiGetWeatherTriggers = action(\"OPENWEATHER_API_GET_WEATHER_TRIGGERS\", {\n slug: \"openweather_api-get-weather-triggers\",\n name: \"Get Weather Triggers\",\n description: \"Tool to retrieve weather triggers for specific conditions. Use after defining trigger criteria.\",\n input: OpenweatherApiGetWeatherTriggersInput,\n output: OpenweatherApiGetWeatherTriggersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC3B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACjF,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC;CAChD,UAAUA,IAAAA,EAAE,OAAO;EACnB,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EAClE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACvE,CAAC,CAAC,CAAC,SAAS,6CAA6C;CACvD,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;EAAK;CAAS,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC1G,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,CAAC,SAAS,qCAAqC,EAChH,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAC/G,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,UAAUA,IAAAA,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,oCAAoC,EAC7H,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,40 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-weather-triggers.d.ts
|
|
4
|
-
declare const OpenweatherApiGetWeatherTriggersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenweatherApiGetWeatherTriggersInput: z.ZodObject<{
|
|
5
|
+
triggers: z.ZodArray<z.ZodObject<{
|
|
6
|
+
type: z.ZodString;
|
|
7
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>]>;
|
|
8
|
+
location: z.ZodObject<{
|
|
9
|
+
lat: z.ZodNumber;
|
|
10
|
+
lon: z.ZodNumber;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
condition: z.ZodEnum<{
|
|
13
|
+
">": ">";
|
|
14
|
+
"<": "<";
|
|
15
|
+
"=": "=";
|
|
16
|
+
between: "between";
|
|
17
|
+
}>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const OpenweatherApiGetWeatherTriggersOutput: z.ZodObject<{
|
|
21
|
+
triggers: z.ZodArray<z.ZodObject<{
|
|
22
|
+
id: z.ZodNullable<z.ZodString>;
|
|
23
|
+
status: z.ZodNullable<z.ZodString>;
|
|
24
|
+
details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
25
|
+
}, z.core.$strip>>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
declare const openweatherApiGetWeatherTriggers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
triggers: {
|
|
29
|
+
type: string;
|
|
30
|
+
value: number | number[];
|
|
31
|
+
location: {
|
|
32
|
+
lat: number;
|
|
33
|
+
lon: number;
|
|
34
|
+
};
|
|
35
|
+
condition: ">" | "<" | "=" | "between";
|
|
36
|
+
}[];
|
|
37
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
38
|
//#endregion
|
|
8
39
|
export { openweatherApiGetWeatherTriggers };
|
|
9
40
|
//# sourceMappingURL=get-weather-triggers.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-weather-triggers.d.cts","names":[],"sources":["../../src/actions/get-weather-triggers.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"get-weather-triggers.d.cts","names":[],"sources":["../../src/actions/get-weather-triggers.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA"}
|