@keystrokehq/openweather_api 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- 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 +16 -16
- 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 +16 -16
- package/dist/actions/get-air-pollution-current.mjs.map +1 -1
- package/dist/actions/get-air-pollution-forecast.cjs +16 -16
- 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 +16 -16
- package/dist/actions/get-air-pollution-forecast.mjs.map +1 -1
- package/dist/actions/get-air-pollution-history.cjs +14 -14
- 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 +14 -14
- package/dist/actions/get-air-pollution-history.mjs.map +1 -1
- package/dist/actions/get-circle-city-weather.cjs +30 -30
- 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 +30 -30
- package/dist/actions/get-circle-city-weather.mjs.map +1 -1
- package/dist/actions/get-current-weather.cjs +32 -32
- 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 +32 -32
- package/dist/actions/get-current-weather.mjs.map +1 -1
- package/dist/actions/get-geocoding-by-zip.cjs +6 -6
- 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 +6 -6
- 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 +2 -2
- 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 +2 -2
- 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 +7 -7
- 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 +7 -7
- package/dist/actions/get-uv-index-history.mjs.map +1 -1
- package/dist/actions/get-uv-index.cjs +6 -6
- 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 +6 -6
- 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 +7 -7
- 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 +7 -7
- package/dist/actions/get-weather-station.mjs.map +1 -1
- package/dist/actions/get-weather-stations.cjs +8 -8
- 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 +8 -8
- package/dist/actions/get-weather-stations.mjs.map +1 -1
- package/dist/actions/get-weather-triggers.cjs +5 -5
- package/dist/actions/get-weather-triggers.cjs.map +1 -1
- package/dist/actions/get-weather-triggers.d.cts +35 -3
- package/dist/actions/get-weather-triggers.d.cts.map +1 -1
- package/dist/actions/get-weather-triggers.d.mts +35 -3
- package/dist/actions/get-weather-triggers.d.mts.map +1 -1
- package/dist/actions/get-weather-triggers.mjs +5 -5
- package/dist/actions/get-weather-triggers.mjs.map +1 -1
- package/dist/actions/get5-day-forecast.cjs +35 -35
- 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 +35 -35
- package/dist/actions/get5-day-forecast.mjs.map +1 -1
- package/dist/actions/post-add-weather-station.cjs +8 -8
- 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 +8 -8
- package/dist/actions/post-add-weather-station.mjs.map +1 -1
- package/dist/actions/post-submit-station-measurements.cjs +2 -2
- package/dist/actions/post-submit-station-measurements.cjs.map +1 -1
- package/dist/actions/post-submit-station-measurements.d.cts +31 -3
- package/dist/actions/post-submit-station-measurements.d.cts.map +1 -1
- package/dist/actions/post-submit-station-measurements.d.mts +31 -3
- package/dist/actions/post-submit-station-measurements.d.mts.map +1 -1
- package/dist/actions/post-submit-station-measurements.mjs +2 -2
- package/dist/actions/post-submit-station-measurements.mjs.map +1 -1
- package/dist/actions/update-weather-station.cjs +4 -4
- 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 +4 -4
- 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/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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,13 +8,13 @@ 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")
|
|
16
|
-
});
|
|
17
|
-
const OpenweatherApiGetUvIndexHistoryOutput = zod.z.object({ list: zod.z.array(OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema).describe("List of UV index historical data records") }).describe("Response model for UV index history: list of records including lat, lon, date_iso, date, and value.");
|
|
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
|
+
}).passthrough();
|
|
17
|
+
const OpenweatherApiGetUvIndexHistoryOutput = zod.z.object({ list: zod.z.array(OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema).describe("List of UV index historical data records") }).passthrough().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", {
|
|
19
19
|
slug: "openweather_api-get-uv-index-history",
|
|
20
20
|
name: "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}).passthrough();\nexport const OpenweatherApiGetUvIndexHistoryOutput = z.object({\n list: z.array(OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema).describe(\"List of UV index historical data records\"),\n}).passthrough().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,CAAC,CAAC,YAAY;AACf,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,MAAMA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,0CAA0C,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qGAAqG;AAE/H,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.$loose>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
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.$loose>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
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,18 +8,18 @@ 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")
|
|
16
|
-
});
|
|
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
|
+
}).passthrough();
|
|
17
17
|
const openweatherApiGetUvIndexHistory = action("OPENWEATHER_API_GET_UV_INDEX_HISTORY", {
|
|
18
18
|
slug: "openweather_api-get-uv-index-history",
|
|
19
19
|
name: "Get UV Index History",
|
|
20
20
|
description: "Tool to retrieve historical UV index data for a specified location and time range. Use when you need to analyze past UV exposure trends after confirming coordinates and time period.",
|
|
21
21
|
input: OpenweatherApiGetUvIndexHistoryInput,
|
|
22
|
-
output: z.object({ list: z.array(OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema).describe("List of UV index historical data records") }).describe("Response model for UV index history: list of records including lat, lon, date_iso, date, and value.")
|
|
22
|
+
output: z.object({ list: z.array(OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema).describe("List of UV index historical data records") }).passthrough().describe("Response model for UV index history: list of records including lat, lon, date_iso, date, and value.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { openweatherApiGetUvIndexHistory };
|
|
@@ -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}).passthrough();\nexport const OpenweatherApiGetUvIndexHistoryOutput = z.object({\n list: z.array(OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema).describe(\"List of UV index historical data records\"),\n}).passthrough().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,CAAC,CAAC,YAAY;AAKf,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,YAAY,CAAC,CAAC,SAAS,qGAOhB;AACV,CAAC"}
|
|
@@ -6,12 +6,12 @@ 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")
|
|
14
|
-
});
|
|
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
|
+
}).passthrough();
|
|
15
15
|
const openweatherApiGetUvIndex = require_action.action("OPENWEATHER_API_GET_UV_INDEX", {
|
|
16
16
|
slug: "openweather_api-get-uv-index",
|
|
17
17
|
name: "Get Current 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}).passthrough();\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,CAAC,CAAC,YAAY;AAEf,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.$loose>;
|
|
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.$loose>;
|
|
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"}
|
|
@@ -9,12 +9,12 @@ 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")
|
|
17
|
-
})
|
|
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
|
+
}).passthrough()
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { openweatherApiGetUvIndex };
|
|
@@ -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}).passthrough();\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,CAAC,CAAC,CAAC,YAOO;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() }).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,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
|
+
pressure: "pressure";
|
|
12
|
+
temp: "temp";
|
|
13
|
+
wind: "wind";
|
|
14
|
+
clouds: "clouds";
|
|
15
|
+
clouds_new: "clouds_new";
|
|
16
|
+
precipitation: "precipitation";
|
|
17
|
+
precipitation_new: "precipitation_new";
|
|
18
|
+
pressure_new: "pressure_new";
|
|
19
|
+
wind_new: "wind_new";
|
|
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.$loose>;
|
|
31
|
+
declare const openweatherApiGetWeatherMapTile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
|
+
x: number;
|
|
33
|
+
y: number;
|
|
34
|
+
z: number;
|
|
35
|
+
layer: "pressure" | "temp" | "wind" | "clouds" | "clouds_new" | "precipitation" | "precipitation_new" | "pressure_new" | "wind_new" | "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
|
+
pressure: "pressure";
|
|
12
|
+
temp: "temp";
|
|
13
|
+
wind: "wind";
|
|
14
|
+
clouds: "clouds";
|
|
15
|
+
clouds_new: "clouds_new";
|
|
16
|
+
precipitation: "precipitation";
|
|
17
|
+
precipitation_new: "precipitation_new";
|
|
18
|
+
pressure_new: "pressure_new";
|
|
19
|
+
wind_new: "wind_new";
|
|
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.$loose>;
|
|
31
|
+
declare const openweatherApiGetWeatherMapTile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
|
+
x: number;
|
|
33
|
+
y: number;
|
|
34
|
+
z: number;
|
|
35
|
+
layer: "pressure" | "temp" | "wind" | "clouds" | "clouds_new" | "precipitation" | "precipitation_new" | "pressure_new" | "wind_new" | "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() }).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
|
@@ -3,16 +3,16 @@ 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
|
-
}).describe("Response schema containing weather station information.");
|
|
15
|
+
}).passthrough().describe("Response schema containing weather station information.");
|
|
16
16
|
const openweatherApiGetWeatherStation = require_action.action("OPENWEATHER_API_GET_WEATHER_STATION", {
|
|
17
17
|
slug: "openweather_api-get-weather-station",
|
|
18
18
|
name: "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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,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.$loose>;
|
|
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.$loose>;
|
|
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"}
|