@keystrokehq/openweather_api 0.1.3 → 0.1.5

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.
Files changed (59) hide show
  1. package/dist/actions/delete-weather-station.d.cts +13 -1
  2. package/dist/actions/delete-weather-station.d.mts +13 -1
  3. package/dist/actions/get-air-pollution-current.d.cts +13 -1
  4. package/dist/actions/get-air-pollution-current.d.mts +13 -1
  5. package/dist/actions/get-air-pollution-forecast.d.cts +13 -1
  6. package/dist/actions/get-air-pollution-forecast.d.mts +13 -1
  7. package/dist/actions/get-air-pollution-history.d.cts +13 -1
  8. package/dist/actions/get-air-pollution-history.d.mts +13 -1
  9. package/dist/actions/get-circle-city-weather.d.cts +13 -1
  10. package/dist/actions/get-circle-city-weather.d.mts +13 -1
  11. package/dist/actions/get-current-weather.d.cts +13 -1
  12. package/dist/actions/get-current-weather.d.mts +13 -1
  13. package/dist/actions/get-geocoding-by-zip.d.cts +13 -1
  14. package/dist/actions/get-geocoding-by-zip.d.mts +13 -1
  15. package/dist/actions/get-geocoding-direct.d.cts +13 -1
  16. package/dist/actions/get-geocoding-direct.d.mts +13 -1
  17. package/dist/actions/get-geocoding-reverse.d.cts +13 -1
  18. package/dist/actions/get-geocoding-reverse.d.mts +13 -1
  19. package/dist/actions/get-station-measurements.d.cts +15 -3
  20. package/dist/actions/get-station-measurements.d.mts +15 -3
  21. package/dist/actions/get-uv-index-forecast.d.cts +13 -1
  22. package/dist/actions/get-uv-index-forecast.d.mts +13 -1
  23. package/dist/actions/get-uv-index-history.d.cts +13 -1
  24. package/dist/actions/get-uv-index-history.d.mts +13 -1
  25. package/dist/actions/get-uv-index.d.cts +13 -1
  26. package/dist/actions/get-uv-index.d.mts +13 -1
  27. package/dist/actions/get-weather-map-tile.d.cts +16 -4
  28. package/dist/actions/get-weather-map-tile.d.mts +16 -4
  29. package/dist/actions/get-weather-station.d.cts +13 -1
  30. package/dist/actions/get-weather-station.d.mts +13 -1
  31. package/dist/actions/get-weather-stations.d.cts +13 -1
  32. package/dist/actions/get-weather-stations.d.cts.map +1 -1
  33. package/dist/actions/get-weather-stations.d.mts +13 -1
  34. package/dist/actions/get-weather-stations.d.mts.map +1 -1
  35. package/dist/actions/get-weather-triggers.d.cts +13 -1
  36. package/dist/actions/get-weather-triggers.d.mts +13 -1
  37. package/dist/actions/get5-day-forecast.d.cts +13 -1
  38. package/dist/actions/get5-day-forecast.d.mts +13 -1
  39. package/dist/actions/post-add-weather-station.d.cts +13 -1
  40. package/dist/actions/post-add-weather-station.d.mts +13 -1
  41. package/dist/actions/post-submit-station-measurements.d.cts +13 -1
  42. package/dist/actions/post-submit-station-measurements.d.mts +13 -1
  43. package/dist/actions/update-weather-station.d.cts +13 -1
  44. package/dist/actions/update-weather-station.d.mts +13 -1
  45. package/dist/app.cjs +5 -2
  46. package/dist/app.cjs.map +1 -1
  47. package/dist/app.d.cts +9 -1
  48. package/dist/app.d.cts.map +1 -1
  49. package/dist/app.d.mts +9 -1
  50. package/dist/app.d.mts.map +1 -1
  51. package/dist/app.mjs +3 -1
  52. package/dist/app.mjs.map +1 -1
  53. package/dist/catalog.cjs +1 -1
  54. package/dist/catalog.cjs.map +1 -1
  55. package/dist/catalog.d.cts +1 -1
  56. package/dist/catalog.d.mts +1 -1
  57. package/dist/catalog.mjs +1 -1
  58. package/dist/catalog.mjs.map +1 -1
  59. package/package.json +1 -1
@@ -8,12 +8,12 @@ declare const OpenweatherApiGetWeatherMapTileInput: z.ZodObject<{
8
8
  fill: z.ZodOptional<z.ZodString>;
9
9
  color: z.ZodOptional<z.ZodString>;
10
10
  layer: z.ZodEnum<{
11
- pressure: "pressure";
12
11
  temp: "temp";
12
+ pressure: "pressure";
13
13
  wind: "wind";
14
14
  clouds: "clouds";
15
- clouds_new: "clouds_new";
16
15
  precipitation: "precipitation";
16
+ clouds_new: "clouds_new";
17
17
  precipitation_new: "precipitation_new";
18
18
  pressure_new: "pressure_new";
19
19
  wind_new: "wind_new";
@@ -32,7 +32,7 @@ declare const openweatherApiGetWeatherMapTile: import("@keystrokehq/action").Wor
32
32
  x: number;
33
33
  y: number;
34
34
  z: number;
35
- layer: "pressure" | "temp" | "wind" | "clouds" | "clouds_new" | "precipitation" | "precipitation_new" | "pressure_new" | "wind_new" | "temp_new";
35
+ layer: "temp" | "pressure" | "wind" | "clouds" | "precipitation" | "clouds_new" | "precipitation_new" | "pressure_new" | "wind_new" | "temp_new";
36
36
  fill?: string | undefined;
37
37
  color?: string | undefined;
38
38
  scale?: 1 | 2 | undefined;
@@ -40,7 +40,19 @@ declare const openweatherApiGetWeatherMapTile: import("@keystrokehq/action").Wor
40
40
  opacity?: number | undefined;
41
41
  palette?: string | undefined;
42
42
  fill_bound?: boolean | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
43
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
44
+ connectionId: z.ZodString;
45
+ entityId: z.ZodString;
46
+ instanceId: z.ZodString;
47
+ }, z.core.$strip>, z.ZodObject<{
48
+ generic_api_key: z.ZodString;
49
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
50
+ connectionId: z.ZodString;
51
+ entityId: z.ZodString;
52
+ instanceId: z.ZodString;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ generic_api_key: z.ZodString;
55
+ }, z.core.$strip>>]>;
44
56
  //#endregion
45
57
  export { openweatherApiGetWeatherMapTile };
46
58
  //# sourceMappingURL=get-weather-map-tile.d.cts.map
@@ -8,12 +8,12 @@ declare const OpenweatherApiGetWeatherMapTileInput: z.ZodObject<{
8
8
  fill: z.ZodOptional<z.ZodString>;
9
9
  color: z.ZodOptional<z.ZodString>;
10
10
  layer: z.ZodEnum<{
11
- pressure: "pressure";
12
11
  temp: "temp";
12
+ pressure: "pressure";
13
13
  wind: "wind";
14
14
  clouds: "clouds";
15
- clouds_new: "clouds_new";
16
15
  precipitation: "precipitation";
16
+ clouds_new: "clouds_new";
17
17
  precipitation_new: "precipitation_new";
18
18
  pressure_new: "pressure_new";
19
19
  wind_new: "wind_new";
@@ -32,7 +32,7 @@ declare const openweatherApiGetWeatherMapTile: import("@keystrokehq/action").Wor
32
32
  x: number;
33
33
  y: number;
34
34
  z: number;
35
- layer: "pressure" | "temp" | "wind" | "clouds" | "clouds_new" | "precipitation" | "precipitation_new" | "pressure_new" | "wind_new" | "temp_new";
35
+ layer: "temp" | "pressure" | "wind" | "clouds" | "precipitation" | "clouds_new" | "precipitation_new" | "pressure_new" | "wind_new" | "temp_new";
36
36
  fill?: string | undefined;
37
37
  color?: string | undefined;
38
38
  scale?: 1 | 2 | undefined;
@@ -40,7 +40,19 @@ declare const openweatherApiGetWeatherMapTile: import("@keystrokehq/action").Wor
40
40
  opacity?: number | undefined;
41
41
  palette?: string | undefined;
42
42
  fill_bound?: boolean | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
43
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
44
+ connectionId: z.ZodString;
45
+ entityId: z.ZodString;
46
+ instanceId: z.ZodString;
47
+ }, z.core.$strip>, z.ZodObject<{
48
+ generic_api_key: z.ZodString;
49
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
50
+ connectionId: z.ZodString;
51
+ entityId: z.ZodString;
52
+ instanceId: z.ZodString;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ generic_api_key: z.ZodString;
55
+ }, z.core.$strip>>]>;
44
56
  //#endregion
45
57
  export { openweatherApiGetWeatherMapTile };
46
58
  //# sourceMappingURL=get-weather-map-tile.d.mts.map
@@ -17,7 +17,19 @@ declare const OpenweatherApiGetWeatherStationOutput: z.ZodObject<{
17
17
  }, z.core.$loose>;
18
18
  declare const openweatherApiGetWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  station_id: string;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ generic_api_key: z.ZodString;
26
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ generic_api_key: z.ZodString;
32
+ }, z.core.$strip>>]>;
21
33
  //#endregion
22
34
  export { openweatherApiGetWeatherStation };
23
35
  //# sourceMappingURL=get-weather-station.d.cts.map
@@ -17,7 +17,19 @@ declare const OpenweatherApiGetWeatherStationOutput: z.ZodObject<{
17
17
  }, z.core.$loose>;
18
18
  declare const openweatherApiGetWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  station_id: string;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ generic_api_key: z.ZodString;
26
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ generic_api_key: z.ZodString;
32
+ }, z.core.$strip>>]>;
21
33
  //#endregion
22
34
  export { openweatherApiGetWeatherStation };
23
35
  //# sourceMappingURL=get-weather-station.d.mts.map
@@ -15,7 +15,19 @@ declare const OpenweatherApiGetWeatherStationsOutput: z.ZodObject<{
15
15
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  }, z.core.$loose>>;
17
17
  }, z.core.$loose>;
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]>;
18
+ declare const openweatherApiGetWeatherStations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ generic_api_key: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ generic_api_key: z.ZodString;
30
+ }, z.core.$strip>>]>;
19
31
  //#endregion
20
32
  export { openweatherApiGetWeatherStations };
21
33
  //# 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,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
+ {"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,oBAAA,CAAA,CAAA,SAAA"}
@@ -15,7 +15,19 @@ declare const OpenweatherApiGetWeatherStationsOutput: z.ZodObject<{
15
15
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  }, z.core.$loose>>;
17
17
  }, z.core.$loose>;
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]>;
18
+ declare const openweatherApiGetWeatherStations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ generic_api_key: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ generic_api_key: z.ZodString;
30
+ }, z.core.$strip>>]>;
19
31
  //#endregion
20
32
  export { openweatherApiGetWeatherStations };
21
33
  //# 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,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
+ {"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,oBAAA,CAAA,CAAA,SAAA"}
@@ -35,7 +35,19 @@ declare const openweatherApiGetWeatherTriggers: import("@keystrokehq/action").Wo
35
35
  };
36
36
  condition: ">" | "<" | "=" | "between";
37
37
  }[];
38
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
39
+ connectionId: z.ZodString;
40
+ entityId: z.ZodString;
41
+ instanceId: z.ZodString;
42
+ }, z.core.$strip>, z.ZodObject<{
43
+ generic_api_key: z.ZodString;
44
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
45
+ connectionId: z.ZodString;
46
+ entityId: z.ZodString;
47
+ instanceId: z.ZodString;
48
+ }, z.core.$strip>, z.ZodObject<{
49
+ generic_api_key: z.ZodString;
50
+ }, z.core.$strip>>]>;
39
51
  //#endregion
40
52
  export { openweatherApiGetWeatherTriggers };
41
53
  //# sourceMappingURL=get-weather-triggers.d.cts.map
@@ -35,7 +35,19 @@ declare const openweatherApiGetWeatherTriggers: import("@keystrokehq/action").Wo
35
35
  };
36
36
  condition: ">" | "<" | "=" | "between";
37
37
  }[];
38
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
39
+ connectionId: z.ZodString;
40
+ entityId: z.ZodString;
41
+ instanceId: z.ZodString;
42
+ }, z.core.$strip>, z.ZodObject<{
43
+ generic_api_key: z.ZodString;
44
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
45
+ connectionId: z.ZodString;
46
+ entityId: z.ZodString;
47
+ instanceId: z.ZodString;
48
+ }, z.core.$strip>, z.ZodObject<{
49
+ generic_api_key: z.ZodString;
50
+ }, z.core.$strip>>]>;
39
51
  //#endregion
40
52
  export { openweatherApiGetWeatherTriggers };
41
53
  //# sourceMappingURL=get-weather-triggers.d.mts.map
@@ -88,7 +88,19 @@ declare const openweatherApiGet5DayForecast: import("@keystrokehq/action").Workf
88
88
  lang?: string | undefined;
89
89
  mode?: "json" | "xml" | "html" | undefined;
90
90
  units?: "standard" | "metric" | "imperial" | undefined;
91
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
91
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
92
+ connectionId: z.ZodString;
93
+ entityId: z.ZodString;
94
+ instanceId: z.ZodString;
95
+ }, z.core.$strip>, z.ZodObject<{
96
+ generic_api_key: z.ZodString;
97
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
98
+ connectionId: z.ZodString;
99
+ entityId: z.ZodString;
100
+ instanceId: z.ZodString;
101
+ }, z.core.$strip>, z.ZodObject<{
102
+ generic_api_key: z.ZodString;
103
+ }, z.core.$strip>>]>;
92
104
  //#endregion
93
105
  export { openweatherApiGet5DayForecast };
94
106
  //# sourceMappingURL=get5-day-forecast.d.cts.map
@@ -88,7 +88,19 @@ declare const openweatherApiGet5DayForecast: import("@keystrokehq/action").Workf
88
88
  lang?: string | undefined;
89
89
  mode?: "json" | "xml" | "html" | undefined;
90
90
  units?: "standard" | "metric" | "imperial" | undefined;
91
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
91
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
92
+ connectionId: z.ZodString;
93
+ entityId: z.ZodString;
94
+ instanceId: z.ZodString;
95
+ }, z.core.$strip>, z.ZodObject<{
96
+ generic_api_key: z.ZodString;
97
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
98
+ connectionId: z.ZodString;
99
+ entityId: z.ZodString;
100
+ instanceId: z.ZodString;
101
+ }, z.core.$strip>, z.ZodObject<{
102
+ generic_api_key: z.ZodString;
103
+ }, z.core.$strip>>]>;
92
104
  //#endregion
93
105
  export { openweatherApiGet5DayForecast };
94
106
  //# sourceMappingURL=get5-day-forecast.d.mts.map
@@ -27,7 +27,19 @@ declare const openweatherApiPostAddWeatherStation: import("@keystrokehq/action")
27
27
  latitude: number;
28
28
  longitude: number;
29
29
  external_id: string;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
31
+ connectionId: z.ZodString;
32
+ entityId: z.ZodString;
33
+ instanceId: z.ZodString;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ generic_api_key: z.ZodString;
36
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
37
+ connectionId: z.ZodString;
38
+ entityId: z.ZodString;
39
+ instanceId: z.ZodString;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ generic_api_key: z.ZodString;
42
+ }, z.core.$strip>>]>;
31
43
  //#endregion
32
44
  export { openweatherApiPostAddWeatherStation };
33
45
  //# sourceMappingURL=post-add-weather-station.d.cts.map
@@ -27,7 +27,19 @@ declare const openweatherApiPostAddWeatherStation: import("@keystrokehq/action")
27
27
  latitude: number;
28
28
  longitude: number;
29
29
  external_id: string;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
31
+ connectionId: z.ZodString;
32
+ entityId: z.ZodString;
33
+ instanceId: z.ZodString;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ generic_api_key: z.ZodString;
36
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
37
+ connectionId: z.ZodString;
38
+ entityId: z.ZodString;
39
+ instanceId: z.ZodString;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ generic_api_key: z.ZodString;
42
+ }, z.core.$strip>>]>;
31
43
  //#endregion
32
44
  export { openweatherApiPostAddWeatherStation };
33
45
  //# sourceMappingURL=post-add-weather-station.d.mts.map
@@ -31,7 +31,19 @@ declare const openweatherApiPostSubmitStationMeasurements: import("@keystrokehq/
31
31
  wind_speed?: number | undefined;
32
32
  temperature?: number | undefined;
33
33
  }[];
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
35
+ connectionId: z.ZodString;
36
+ entityId: z.ZodString;
37
+ instanceId: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ generic_api_key: z.ZodString;
40
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ generic_api_key: z.ZodString;
46
+ }, z.core.$strip>>]>;
35
47
  //#endregion
36
48
  export { openweatherApiPostSubmitStationMeasurements };
37
49
  //# sourceMappingURL=post-submit-station-measurements.d.cts.map
@@ -31,7 +31,19 @@ declare const openweatherApiPostSubmitStationMeasurements: import("@keystrokehq/
31
31
  wind_speed?: number | undefined;
32
32
  temperature?: number | undefined;
33
33
  }[];
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
35
+ connectionId: z.ZodString;
36
+ entityId: z.ZodString;
37
+ instanceId: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ generic_api_key: z.ZodString;
40
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ generic_api_key: z.ZodString;
46
+ }, z.core.$strip>>]>;
35
47
  //#endregion
36
48
  export { openweatherApiPostSubmitStationMeasurements };
37
49
  //# sourceMappingURL=post-submit-station-measurements.d.mts.map
@@ -26,7 +26,19 @@ declare const openweatherApiUpdateWeatherStation: import("@keystrokehq/action").
26
26
  name?: string | undefined;
27
27
  altitude?: number | undefined;
28
28
  external_id?: string | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ generic_api_key: z.ZodString;
35
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
36
+ connectionId: z.ZodString;
37
+ entityId: z.ZodString;
38
+ instanceId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ generic_api_key: z.ZodString;
41
+ }, z.core.$strip>>]>;
30
42
  //#endregion
31
43
  export { openweatherApiUpdateWeatherStation };
32
44
  //# sourceMappingURL=update-weather-station.d.cts.map
@@ -26,7 +26,19 @@ declare const openweatherApiUpdateWeatherStation: import("@keystrokehq/action").
26
26
  name?: string | undefined;
27
27
  altitude?: number | undefined;
28
28
  external_id?: string | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ generic_api_key: z.ZodString;
35
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
36
+ connectionId: z.ZodString;
37
+ entityId: z.ZodString;
38
+ instanceId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ generic_api_key: z.ZodString;
41
+ }, z.core.$strip>>]>;
30
42
  //#endregion
31
43
  export { openweatherApiUpdateWeatherStation };
32
44
  //# sourceMappingURL=update-weather-station.d.mts.map
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const openweatherApi = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const openweatherApi = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "openweather_api",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: zod.z.string() }
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,uCAAA,CAAA,CAAA,UAAA,CAA2B;CACtC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const openweatherApi = defineApp({\n slug: \"openweather_api\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,kBAAA,GAAA,2BAAA,UAAA,CAA2B;CACtC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const openweatherApi: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const openweatherApi: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_api_key: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { openweatherApi };
5
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,cAAA,6BAAc,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,cAAA,6BAAc,GAAA,+BAAA,UAAA,oBAAA,CAAA,CAAA,SAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const openweatherApi: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const openweatherApi: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"openweather_api", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_api_key: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { openweatherApi };
5
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,cAAA,6BAAc,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,cAAA,6BAAc,GAAA,+BAAA,UAAA,oBAAA,CAAA,CAAA,SAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,10 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
2
3
  //#region src/app.ts
3
4
  const openweatherApi = defineApp({
4
5
  slug: "openweather_api",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  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":";;AAEA,MAAa,iBAAiB,UAAU;CACtC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const openweatherApi = defineApp({\n slug: \"openweather_api\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,iBAAiB,UAAU;CACtC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -8,7 +8,7 @@ const openweatherApiCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/openweather_api",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "OpenWeather API Key",
13
13
  "secret": true,
14
14
  "description": "Your 32-character OpenWeather API key. Find it under the 'API keys' tab at https://home.openweathermap.org/api_keys. New keys can take a few hours to activate."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const openweatherApiCatalog = {\n \"slug\": \"openweather_api\",\n \"name\": \"OpenWeather API\",\n \"description\": \"Provides access to current weather data, forecasts, and historical weather data for any location worldwide.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/openweather_api\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"OpenWeather API Key\",\n \"secret\": true,\n \"description\": \"Your 32-character OpenWeather API key. Find it under the 'API keys' tab at https://home.openweathermap.org/api_keys. New keys can take a few hours to activate.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,wBAAwB;CACnC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const openweatherApiCatalog = {\n \"slug\": \"openweather_api\",\n \"name\": \"OpenWeather API\",\n \"description\": \"Provides access to current weather data, forecasts, and historical weather data for any location worldwide.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/openweather_api\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"OpenWeather API Key\",\n \"secret\": true,\n \"description\": \"Your 32-character OpenWeather API key. Find it under the 'API keys' tab at https://home.openweathermap.org/api_keys. New keys can take a few hours to activate.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,wBAAwB;CACnC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -9,7 +9,7 @@ declare const openweatherApiCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "OpenWeather API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Your 32-character OpenWeather API key. Find it under the 'API keys' tab at https://home.openweathermap.org/api_keys. New keys can take a few hours to activate.";
@@ -9,7 +9,7 @@ declare const openweatherApiCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "OpenWeather API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Your 32-character OpenWeather API key. Find it under the 'API keys' tab at https://home.openweathermap.org/api_keys. New keys can take a few hours to activate.";
package/dist/catalog.mjs CHANGED
@@ -8,7 +8,7 @@ const openweatherApiCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/openweather_api",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "OpenWeather API Key",
13
13
  "secret": true,
14
14
  "description": "Your 32-character OpenWeather API key. Find it under the 'API keys' tab at https://home.openweathermap.org/api_keys. New keys can take a few hours to activate."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const openweatherApiCatalog = {\n \"slug\": \"openweather_api\",\n \"name\": \"OpenWeather API\",\n \"description\": \"Provides access to current weather data, forecasts, and historical weather data for any location worldwide.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/openweather_api\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"OpenWeather API Key\",\n \"secret\": true,\n \"description\": \"Your 32-character OpenWeather API key. Find it under the 'API keys' tab at https://home.openweathermap.org/api_keys. New keys can take a few hours to activate.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,wBAAwB;CACnC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const openweatherApiCatalog = {\n \"slug\": \"openweather_api\",\n \"name\": \"OpenWeather API\",\n \"description\": \"Provides access to current weather data, forecasts, and historical weather data for any location worldwide.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/openweather_api\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"OpenWeather API Key\",\n \"secret\": true,\n \"description\": \"Your 32-character OpenWeather API key. Find it under the 'API keys' tab at https://home.openweathermap.org/api_keys. New keys can take a few hours to activate.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,wBAAwB;CACnC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/openweather_api",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"