@keystrokehq/openweather_api 0.1.4 → 0.1.6
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 -0
- package/dist/actions/delete-weather-station.cjs.map +1 -1
- package/dist/actions/delete-weather-station.d.cts +3 -3
- package/dist/actions/delete-weather-station.d.cts.map +1 -1
- package/dist/actions/delete-weather-station.d.mts +3 -3
- package/dist/actions/delete-weather-station.d.mts.map +1 -1
- package/dist/actions/delete-weather-station.mjs +1 -0
- package/dist/actions/delete-weather-station.mjs.map +1 -1
- package/dist/actions/get-air-pollution-current.cjs +1 -0
- package/dist/actions/get-air-pollution-current.cjs.map +1 -1
- package/dist/actions/get-air-pollution-current.d.cts +3 -4
- package/dist/actions/get-air-pollution-current.d.cts.map +1 -1
- package/dist/actions/get-air-pollution-current.d.mts +3 -4
- package/dist/actions/get-air-pollution-current.d.mts.map +1 -1
- package/dist/actions/get-air-pollution-current.mjs +1 -0
- package/dist/actions/get-air-pollution-current.mjs.map +1 -1
- package/dist/actions/get-air-pollution-forecast.cjs +1 -0
- package/dist/actions/get-air-pollution-forecast.cjs.map +1 -1
- package/dist/actions/get-air-pollution-forecast.d.cts +3 -4
- package/dist/actions/get-air-pollution-forecast.d.cts.map +1 -1
- package/dist/actions/get-air-pollution-forecast.d.mts +3 -4
- package/dist/actions/get-air-pollution-forecast.d.mts.map +1 -1
- package/dist/actions/get-air-pollution-forecast.mjs +1 -0
- package/dist/actions/get-air-pollution-forecast.mjs.map +1 -1
- package/dist/actions/get-air-pollution-history.cjs +1 -0
- package/dist/actions/get-air-pollution-history.cjs.map +1 -1
- package/dist/actions/get-air-pollution-history.d.cts +3 -6
- package/dist/actions/get-air-pollution-history.d.cts.map +1 -1
- package/dist/actions/get-air-pollution-history.d.mts +3 -6
- package/dist/actions/get-air-pollution-history.d.mts.map +1 -1
- package/dist/actions/get-air-pollution-history.mjs +1 -0
- package/dist/actions/get-air-pollution-history.mjs.map +1 -1
- package/dist/actions/get-circle-city-weather.cjs +1 -0
- package/dist/actions/get-circle-city-weather.cjs.map +1 -1
- package/dist/actions/get-circle-city-weather.d.cts +3 -8
- package/dist/actions/get-circle-city-weather.d.cts.map +1 -1
- package/dist/actions/get-circle-city-weather.d.mts +3 -8
- package/dist/actions/get-circle-city-weather.d.mts.map +1 -1
- package/dist/actions/get-circle-city-weather.mjs +1 -0
- package/dist/actions/get-circle-city-weather.mjs.map +1 -1
- package/dist/actions/get-current-weather.cjs +1 -0
- package/dist/actions/get-current-weather.cjs.map +1 -1
- package/dist/actions/get-current-weather.d.cts +3 -9
- package/dist/actions/get-current-weather.d.cts.map +1 -1
- package/dist/actions/get-current-weather.d.mts +3 -9
- package/dist/actions/get-current-weather.d.mts.map +1 -1
- package/dist/actions/get-current-weather.mjs +1 -0
- package/dist/actions/get-current-weather.mjs.map +1 -1
- package/dist/actions/get-geocoding-by-zip.cjs +1 -0
- package/dist/actions/get-geocoding-by-zip.cjs.map +1 -1
- package/dist/actions/get-geocoding-by-zip.d.cts +3 -3
- package/dist/actions/get-geocoding-by-zip.d.cts.map +1 -1
- package/dist/actions/get-geocoding-by-zip.d.mts +3 -3
- package/dist/actions/get-geocoding-by-zip.d.mts.map +1 -1
- package/dist/actions/get-geocoding-by-zip.mjs +1 -0
- package/dist/actions/get-geocoding-by-zip.mjs.map +1 -1
- package/dist/actions/get-geocoding-direct.cjs +1 -0
- package/dist/actions/get-geocoding-direct.cjs.map +1 -1
- package/dist/actions/get-geocoding-direct.d.cts +3 -4
- package/dist/actions/get-geocoding-direct.d.cts.map +1 -1
- package/dist/actions/get-geocoding-direct.d.mts +3 -4
- package/dist/actions/get-geocoding-direct.d.mts.map +1 -1
- package/dist/actions/get-geocoding-direct.mjs +1 -0
- package/dist/actions/get-geocoding-direct.mjs.map +1 -1
- package/dist/actions/get-geocoding-reverse.cjs +1 -0
- package/dist/actions/get-geocoding-reverse.cjs.map +1 -1
- package/dist/actions/get-geocoding-reverse.d.cts +3 -5
- package/dist/actions/get-geocoding-reverse.d.cts.map +1 -1
- package/dist/actions/get-geocoding-reverse.d.mts +3 -5
- package/dist/actions/get-geocoding-reverse.d.mts.map +1 -1
- package/dist/actions/get-geocoding-reverse.mjs +1 -0
- package/dist/actions/get-geocoding-reverse.mjs.map +1 -1
- package/dist/actions/get-station-measurements.cjs +1 -0
- package/dist/actions/get-station-measurements.cjs.map +1 -1
- package/dist/actions/get-station-measurements.d.cts +4 -8
- package/dist/actions/get-station-measurements.d.cts.map +1 -1
- package/dist/actions/get-station-measurements.d.mts +4 -8
- package/dist/actions/get-station-measurements.d.mts.map +1 -1
- package/dist/actions/get-station-measurements.mjs +1 -0
- package/dist/actions/get-station-measurements.mjs.map +1 -1
- package/dist/actions/get-uv-index-forecast.cjs +1 -0
- package/dist/actions/get-uv-index-forecast.cjs.map +1 -1
- package/dist/actions/get-uv-index-forecast.d.cts +3 -5
- package/dist/actions/get-uv-index-forecast.d.cts.map +1 -1
- package/dist/actions/get-uv-index-forecast.d.mts +3 -5
- package/dist/actions/get-uv-index-forecast.d.mts.map +1 -1
- package/dist/actions/get-uv-index-forecast.mjs +1 -0
- package/dist/actions/get-uv-index-forecast.mjs.map +1 -1
- package/dist/actions/get-uv-index-history.cjs +1 -0
- package/dist/actions/get-uv-index-history.cjs.map +1 -1
- package/dist/actions/get-uv-index-history.d.cts +3 -6
- package/dist/actions/get-uv-index-history.d.cts.map +1 -1
- package/dist/actions/get-uv-index-history.d.mts +3 -6
- package/dist/actions/get-uv-index-history.d.mts.map +1 -1
- package/dist/actions/get-uv-index-history.mjs +1 -0
- package/dist/actions/get-uv-index-history.mjs.map +1 -1
- package/dist/actions/get-uv-index.cjs +1 -0
- package/dist/actions/get-uv-index.cjs.map +1 -1
- package/dist/actions/get-uv-index.d.cts +3 -4
- package/dist/actions/get-uv-index.d.cts.map +1 -1
- package/dist/actions/get-uv-index.d.mts +3 -4
- package/dist/actions/get-uv-index.d.mts.map +1 -1
- package/dist/actions/get-uv-index.mjs +1 -0
- package/dist/actions/get-uv-index.mjs.map +1 -1
- package/dist/actions/get-weather-map-tile.cjs +1 -0
- package/dist/actions/get-weather-map-tile.cjs.map +1 -1
- package/dist/actions/get-weather-map-tile.d.cts +4 -14
- package/dist/actions/get-weather-map-tile.d.cts.map +1 -1
- package/dist/actions/get-weather-map-tile.d.mts +4 -14
- package/dist/actions/get-weather-map-tile.d.mts.map +1 -1
- package/dist/actions/get-weather-map-tile.mjs +1 -0
- package/dist/actions/get-weather-map-tile.mjs.map +1 -1
- package/dist/actions/get-weather-station.cjs +1 -0
- package/dist/actions/get-weather-station.cjs.map +1 -1
- package/dist/actions/get-weather-station.d.cts +3 -3
- package/dist/actions/get-weather-station.d.cts.map +1 -1
- package/dist/actions/get-weather-station.d.mts +3 -3
- package/dist/actions/get-weather-station.d.mts.map +1 -1
- package/dist/actions/get-weather-station.mjs +1 -0
- package/dist/actions/get-weather-station.mjs.map +1 -1
- package/dist/actions/get-weather-stations.cjs +1 -0
- package/dist/actions/get-weather-stations.cjs.map +1 -1
- package/dist/actions/get-weather-stations.d.cts +3 -1
- package/dist/actions/get-weather-stations.d.cts.map +1 -1
- package/dist/actions/get-weather-stations.d.mts +3 -1
- package/dist/actions/get-weather-stations.d.mts.map +1 -1
- package/dist/actions/get-weather-stations.mjs +1 -0
- package/dist/actions/get-weather-stations.mjs.map +1 -1
- package/dist/actions/get-weather-triggers.cjs +1 -0
- package/dist/actions/get-weather-triggers.cjs.map +1 -1
- package/dist/actions/get-weather-triggers.d.cts +3 -12
- package/dist/actions/get-weather-triggers.d.cts.map +1 -1
- package/dist/actions/get-weather-triggers.d.mts +3 -12
- package/dist/actions/get-weather-triggers.d.mts.map +1 -1
- package/dist/actions/get-weather-triggers.mjs +1 -0
- package/dist/actions/get-weather-triggers.mjs.map +1 -1
- package/dist/actions/get5-day-forecast.cjs +1 -0
- package/dist/actions/get5-day-forecast.cjs.map +1 -1
- package/dist/actions/get5-day-forecast.d.cts +3 -10
- package/dist/actions/get5-day-forecast.d.cts.map +1 -1
- package/dist/actions/get5-day-forecast.d.mts +3 -10
- package/dist/actions/get5-day-forecast.d.mts.map +1 -1
- package/dist/actions/get5-day-forecast.mjs +1 -0
- package/dist/actions/get5-day-forecast.mjs.map +1 -1
- package/dist/actions/post-add-weather-station.cjs +1 -0
- package/dist/actions/post-add-weather-station.cjs.map +1 -1
- package/dist/actions/post-add-weather-station.d.cts +3 -7
- package/dist/actions/post-add-weather-station.d.cts.map +1 -1
- package/dist/actions/post-add-weather-station.d.mts +3 -7
- package/dist/actions/post-add-weather-station.d.mts.map +1 -1
- package/dist/actions/post-add-weather-station.mjs +1 -0
- package/dist/actions/post-add-weather-station.mjs.map +1 -1
- package/dist/actions/post-submit-station-measurements.cjs +1 -0
- package/dist/actions/post-submit-station-measurements.cjs.map +1 -1
- package/dist/actions/post-submit-station-measurements.d.cts +3 -14
- package/dist/actions/post-submit-station-measurements.d.cts.map +1 -1
- package/dist/actions/post-submit-station-measurements.d.mts +3 -14
- package/dist/actions/post-submit-station-measurements.d.mts.map +1 -1
- package/dist/actions/post-submit-station-measurements.mjs +1 -0
- package/dist/actions/post-submit-station-measurements.mjs.map +1 -1
- package/dist/actions/update-weather-station.cjs +1 -0
- package/dist/actions/update-weather-station.cjs.map +1 -1
- package/dist/actions/update-weather-station.d.cts +3 -8
- package/dist/actions/update-weather-station.d.cts.map +1 -1
- package/dist/actions/update-weather-station.d.mts +3 -8
- package/dist/actions/update-weather-station.d.mts.map +1 -1
- package/dist/actions/update-weather-station.mjs +1 -0
- package/dist/actions/update-weather-station.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-weather-station.cjs","names":["z","action"],"sources":["../../src/actions/update-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiUpdateWeatherStationInput = z.object({\n name: z.string().describe(\"Human-readable name for the station\").optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees, between -90 and 90\"),\n longitude: z.number().describe(\"Longitude of the station in degrees, between -180 and 180\"),\n station_id: z.string().describe(\"Unique identifier of the weather station to update\"),\n external_id: z.string().describe(\"Custom user-provided external identifier for the station\").optional(),\n}).describe(\"Request parameters to update an existing weather station. Provide the station_id path parameter and at least the latitude and longitude for location.\");\nexport const OpenweatherApiUpdateWeatherStationOutput = z.object({\n ID: z.string().describe(\"Station identifier\").nullable(),\n name: z.string().describe(\"Station name\").nullable().optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees\").nullable(),\n longitude: z.number().describe(\"Longitude of the station in degrees\").nullable(),\n created_at: z.string().describe(\"ISO datetime when station was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO datetime when station was last updated\").nullable().optional(),\n external_id: z.string().describe(\"Custom user-provided external identifier\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the updated weather station.\");\n\nexport const openweatherApiUpdateWeatherStation = action(\"OPENWEATHER_API_UPDATE_WEATHER_STATION\", {\n slug: \"openweather_api-update-weather-station\",\n name: \"Update Weather Station\",\n description: \"Tool to update weather station details. Use when you need to modify the name, location, or external ID of an existing station.\",\n input: OpenweatherApiUpdateWeatherStationInput,\n output: OpenweatherApiUpdateWeatherStationOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-weather-station.cjs","names":["z","action"],"sources":["../../src/actions/update-weather-station.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiUpdateWeatherStationInput = z.object({\n name: z.string().describe(\"Human-readable name for the station\").optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees, between -90 and 90\"),\n longitude: z.number().describe(\"Longitude of the station in degrees, between -180 and 180\"),\n station_id: z.string().describe(\"Unique identifier of the weather station to update\"),\n external_id: z.string().describe(\"Custom user-provided external identifier for the station\").optional(),\n}).describe(\"Request parameters to update an existing weather station. Provide the station_id path parameter and at least the latitude and longitude for location.\");\nexport const OpenweatherApiUpdateWeatherStationOutput = z.object({\n ID: z.string().describe(\"Station identifier\").nullable(),\n name: z.string().describe(\"Station name\").nullable().optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees\").nullable(),\n longitude: z.number().describe(\"Longitude of the station in degrees\").nullable(),\n created_at: z.string().describe(\"ISO datetime when station was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO datetime when station was last updated\").nullable().optional(),\n external_id: z.string().describe(\"Custom user-provided external identifier\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the updated weather station.\");\n\nexport const openweatherApiUpdateWeatherStation: AppAction<\n typeof OpenweatherApiUpdateWeatherStationInput,\n typeof OpenweatherApiUpdateWeatherStationOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_UPDATE_WEATHER_STATION\", {\n slug: \"openweather_api-update-weather-station\",\n name: \"Update Weather Station\",\n description: \"Tool to update weather station details. Use when you need to modify the name, location, or external ID of an existing station.\",\n input: OpenweatherApiUpdateWeatherStationInput,\n output: OpenweatherApiUpdateWeatherStationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAM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,SAAS,kDAAkD;AAE5E,MAAa,qCAITC,eAAAA,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { openweatherApi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-weather-station.d.ts
|
|
@@ -19,14 +21,7 @@ declare const OpenweatherApiUpdateWeatherStationOutput: z.ZodObject<{
|
|
|
19
21
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const openweatherApiUpdateWeatherStation:
|
|
23
|
-
latitude: number;
|
|
24
|
-
longitude: number;
|
|
25
|
-
station_id: string;
|
|
26
|
-
name?: string | undefined;
|
|
27
|
-
altitude?: number | undefined;
|
|
28
|
-
external_id?: string | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const openweatherApiUpdateWeatherStation: AppAction<typeof OpenweatherApiUpdateWeatherStationInput, typeof OpenweatherApiUpdateWeatherStationOutput, typeof openweatherApi.credential>;
|
|
30
25
|
//#endregion
|
|
31
26
|
export { openweatherApiUpdateWeatherStation };
|
|
32
27
|
//# sourceMappingURL=update-weather-station.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-weather-station.d.cts","names":[],"sources":["../../src/actions/update-weather-station.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-weather-station.d.cts","names":[],"sources":["../../src/actions/update-weather-station.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;cAQvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;cAWxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { openweatherApi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-weather-station.d.ts
|
|
@@ -19,14 +21,7 @@ declare const OpenweatherApiUpdateWeatherStationOutput: z.ZodObject<{
|
|
|
19
21
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const openweatherApiUpdateWeatherStation:
|
|
23
|
-
latitude: number;
|
|
24
|
-
longitude: number;
|
|
25
|
-
station_id: string;
|
|
26
|
-
name?: string | undefined;
|
|
27
|
-
altitude?: number | undefined;
|
|
28
|
-
external_id?: string | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const openweatherApiUpdateWeatherStation: AppAction<typeof OpenweatherApiUpdateWeatherStationInput, typeof OpenweatherApiUpdateWeatherStationOutput, typeof openweatherApi.credential>;
|
|
30
25
|
//#endregion
|
|
31
26
|
export { openweatherApiUpdateWeatherStation };
|
|
32
27
|
//# sourceMappingURL=update-weather-station.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-weather-station.d.mts","names":[],"sources":["../../src/actions/update-weather-station.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-weather-station.d.mts","names":[],"sources":["../../src/actions/update-weather-station.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;cAQvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;cAWxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-weather-station.mjs","names":[],"sources":["../../src/actions/update-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiUpdateWeatherStationInput = z.object({\n name: z.string().describe(\"Human-readable name for the station\").optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees, between -90 and 90\"),\n longitude: z.number().describe(\"Longitude of the station in degrees, between -180 and 180\"),\n station_id: z.string().describe(\"Unique identifier of the weather station to update\"),\n external_id: z.string().describe(\"Custom user-provided external identifier for the station\").optional(),\n}).describe(\"Request parameters to update an existing weather station. Provide the station_id path parameter and at least the latitude and longitude for location.\");\nexport const OpenweatherApiUpdateWeatherStationOutput = z.object({\n ID: z.string().describe(\"Station identifier\").nullable(),\n name: z.string().describe(\"Station name\").nullable().optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees\").nullable(),\n longitude: z.number().describe(\"Longitude of the station in degrees\").nullable(),\n created_at: z.string().describe(\"ISO datetime when station was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO datetime when station was last updated\").nullable().optional(),\n external_id: z.string().describe(\"Custom user-provided external identifier\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the updated weather station.\");\n\nexport const openweatherApiUpdateWeatherStation = action(\"OPENWEATHER_API_UPDATE_WEATHER_STATION\", {\n slug: \"openweather_api-update-weather-station\",\n name: \"Update Weather Station\",\n description: \"Tool to update weather station details. Use when you need to modify the name, location, or external ID of an existing station.\",\n input: OpenweatherApiUpdateWeatherStationInput,\n output: OpenweatherApiUpdateWeatherStationOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-weather-station.mjs","names":[],"sources":["../../src/actions/update-weather-station.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiUpdateWeatherStationInput = z.object({\n name: z.string().describe(\"Human-readable name for the station\").optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees, between -90 and 90\"),\n longitude: z.number().describe(\"Longitude of the station in degrees, between -180 and 180\"),\n station_id: z.string().describe(\"Unique identifier of the weather station to update\"),\n external_id: z.string().describe(\"Custom user-provided external identifier for the station\").optional(),\n}).describe(\"Request parameters to update an existing weather station. Provide the station_id path parameter and at least the latitude and longitude for location.\");\nexport const OpenweatherApiUpdateWeatherStationOutput = z.object({\n ID: z.string().describe(\"Station identifier\").nullable(),\n name: z.string().describe(\"Station name\").nullable().optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees\").nullable(),\n longitude: z.number().describe(\"Longitude of the station in degrees\").nullable(),\n created_at: z.string().describe(\"ISO datetime when station was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO datetime when station was last updated\").nullable().optional(),\n external_id: z.string().describe(\"Custom user-provided external identifier\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the updated weather station.\");\n\nexport const openweatherApiUpdateWeatherStation: AppAction<\n typeof OpenweatherApiUpdateWeatherStationInput,\n typeof OpenweatherApiUpdateWeatherStationOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_UPDATE_WEATHER_STATION\", {\n slug: \"openweather_api-update-weather-station\",\n name: \"Update Weather Station\",\n description: \"Tool to update weather station details. Use when you need to modify the name, location, or external ID of an existing station.\",\n input: OpenweatherApiUpdateWeatherStationInput,\n output: OpenweatherApiUpdateWeatherStationOutput,\n});\n"],"mappings":";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
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
1
2
|
//#region src/app.ts
|
|
2
|
-
const
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
|
+
const openweatherApi = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "openweather_api",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential
|
|
5
8
|
});
|
|
6
9
|
//#endregion
|
|
7
10
|
exports.openweatherApi = openweatherApi;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const openweatherApi = defineApp({\n slug: \"openweather_api\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,kBAAA,
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const openweatherApi: KeystrokeApp<\"openweather_api\", typeof credential> = defineApp({\n slug: \"openweather_api\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,kBAAA,GAAA,2BAAA,UAAA,CAA+E;CAC1F,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const openweatherApi: KeystrokeApp<"openweather_api", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { openweatherApi };
|
|
5
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,cAAA,EAAgB,YAAY,2BAA2B,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const openweatherApi: KeystrokeApp<"openweather_api", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { openweatherApi };
|
|
5
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,cAAA,EAAgB,YAAY,2BAA2B,UAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
const openweatherApi = defineApp({
|
|
4
4
|
slug: "openweather_api",
|
|
5
|
-
auth: "keystroke"
|
|
5
|
+
auth: "keystroke",
|
|
6
|
+
credential: { generic_api_key: z.string() }
|
|
6
7
|
});
|
|
7
8
|
//#endregion
|
|
8
9
|
export { openweatherApi };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const openweatherApi = defineApp({\n slug: \"openweather_api\",\n auth: \"keystroke\",\n});\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const openweatherApi: KeystrokeApp<\"openweather_api\", typeof credential> = defineApp({\n slug: \"openweather_api\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,iBAAqE,UAAU;CAC1F,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { openweatherApi } from "./app.cjs";
|
|
1
2
|
import { openweatherApiDeleteWeatherStation } from "./actions/delete-weather-station.cjs";
|
|
2
3
|
import { openweatherApiGetAirPollutionCurrent } from "./actions/get-air-pollution-current.cjs";
|
|
3
4
|
import { openweatherApiGetAirPollutionForecast } from "./actions/get-air-pollution-forecast.cjs";
|
|
@@ -19,6 +20,5 @@ import { openweatherApiGet5DayForecast } from "./actions/get5-day-forecast.cjs";
|
|
|
19
20
|
import { openweatherApiPostAddWeatherStation } from "./actions/post-add-weather-station.cjs";
|
|
20
21
|
import { openweatherApiPostSubmitStationMeasurements } from "./actions/post-submit-station-measurements.cjs";
|
|
21
22
|
import { openweatherApiUpdateWeatherStation } from "./actions/update-weather-station.cjs";
|
|
22
|
-
import { openweatherApi } from "./app.cjs";
|
|
23
23
|
import { openweatherApiCatalog } from "./catalog.cjs";
|
|
24
24
|
export { openweatherApi, openweatherApiCatalog, openweatherApiDeleteWeatherStation, openweatherApiGet5DayForecast, openweatherApiGetAirPollutionCurrent, openweatherApiGetAirPollutionForecast, openweatherApiGetAirPollutionHistory, openweatherApiGetCircleCityWeather, openweatherApiGetCurrentWeather, openweatherApiGetGeocodingByZip, openweatherApiGetGeocodingDirect, openweatherApiGetGeocodingReverse, openweatherApiGetStationMeasurements, openweatherApiGetUvIndex, openweatherApiGetUvIndexForecast, openweatherApiGetUvIndexHistory, openweatherApiGetWeatherMapTile, openweatherApiGetWeatherStation, openweatherApiGetWeatherStations, openweatherApiGetWeatherTriggers, openweatherApiPostAddWeatherStation, openweatherApiPostSubmitStationMeasurements, openweatherApiUpdateWeatherStation };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { openweatherApi } from "./app.mjs";
|
|
1
2
|
import { openweatherApiDeleteWeatherStation } from "./actions/delete-weather-station.mjs";
|
|
2
3
|
import { openweatherApiGetAirPollutionCurrent } from "./actions/get-air-pollution-current.mjs";
|
|
3
4
|
import { openweatherApiGetAirPollutionForecast } from "./actions/get-air-pollution-forecast.mjs";
|
|
@@ -19,6 +20,5 @@ import { openweatherApiGet5DayForecast } from "./actions/get5-day-forecast.mjs";
|
|
|
19
20
|
import { openweatherApiPostAddWeatherStation } from "./actions/post-add-weather-station.mjs";
|
|
20
21
|
import { openweatherApiPostSubmitStationMeasurements } from "./actions/post-submit-station-measurements.mjs";
|
|
21
22
|
import { openweatherApiUpdateWeatherStation } from "./actions/update-weather-station.mjs";
|
|
22
|
-
import { openweatherApi } from "./app.mjs";
|
|
23
23
|
import { openweatherApiCatalog } from "./catalog.mjs";
|
|
24
24
|
export { openweatherApi, openweatherApiCatalog, openweatherApiDeleteWeatherStation, openweatherApiGet5DayForecast, openweatherApiGetAirPollutionCurrent, openweatherApiGetAirPollutionForecast, openweatherApiGetAirPollutionHistory, openweatherApiGetCircleCityWeather, openweatherApiGetCurrentWeather, openweatherApiGetGeocodingByZip, openweatherApiGetGeocodingDirect, openweatherApiGetGeocodingReverse, openweatherApiGetStationMeasurements, openweatherApiGetUvIndex, openweatherApiGetUvIndexForecast, openweatherApiGetUvIndexHistory, openweatherApiGetWeatherMapTile, openweatherApiGetWeatherStation, openweatherApiGetWeatherStations, openweatherApiGetWeatherTriggers, openweatherApiPostAddWeatherStation, openweatherApiPostSubmitStationMeasurements, openweatherApiUpdateWeatherStation };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/openweather_api",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|