@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.
Files changed (176) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/delete-weather-station.cjs +1 -1
  5. package/dist/actions/delete-weather-station.cjs.map +1 -1
  6. package/dist/actions/delete-weather-station.d.cts +9 -3
  7. package/dist/actions/delete-weather-station.d.cts.map +1 -1
  8. package/dist/actions/delete-weather-station.d.mts +9 -3
  9. package/dist/actions/delete-weather-station.d.mts.map +1 -1
  10. package/dist/actions/delete-weather-station.mjs +1 -1
  11. package/dist/actions/delete-weather-station.mjs.map +1 -1
  12. package/dist/actions/get-air-pollution-current.cjs +16 -16
  13. package/dist/actions/get-air-pollution-current.cjs.map +1 -1
  14. package/dist/actions/get-air-pollution-current.d.cts +30 -3
  15. package/dist/actions/get-air-pollution-current.d.cts.map +1 -1
  16. package/dist/actions/get-air-pollution-current.d.mts +30 -3
  17. package/dist/actions/get-air-pollution-current.d.mts.map +1 -1
  18. package/dist/actions/get-air-pollution-current.mjs +16 -16
  19. package/dist/actions/get-air-pollution-current.mjs.map +1 -1
  20. package/dist/actions/get-air-pollution-forecast.cjs +16 -16
  21. package/dist/actions/get-air-pollution-forecast.cjs.map +1 -1
  22. package/dist/actions/get-air-pollution-forecast.d.cts +30 -3
  23. package/dist/actions/get-air-pollution-forecast.d.cts.map +1 -1
  24. package/dist/actions/get-air-pollution-forecast.d.mts +30 -3
  25. package/dist/actions/get-air-pollution-forecast.d.mts.map +1 -1
  26. package/dist/actions/get-air-pollution-forecast.mjs +16 -16
  27. package/dist/actions/get-air-pollution-forecast.mjs.map +1 -1
  28. package/dist/actions/get-air-pollution-history.cjs +14 -14
  29. package/dist/actions/get-air-pollution-history.cjs.map +1 -1
  30. package/dist/actions/get-air-pollution-history.d.cts +31 -3
  31. package/dist/actions/get-air-pollution-history.d.cts.map +1 -1
  32. package/dist/actions/get-air-pollution-history.d.mts +31 -3
  33. package/dist/actions/get-air-pollution-history.d.mts.map +1 -1
  34. package/dist/actions/get-air-pollution-history.mjs +14 -14
  35. package/dist/actions/get-air-pollution-history.mjs.map +1 -1
  36. package/dist/actions/get-circle-city-weather.cjs +30 -30
  37. package/dist/actions/get-circle-city-weather.cjs.map +1 -1
  38. package/dist/actions/get-circle-city-weather.d.cts +75 -3
  39. package/dist/actions/get-circle-city-weather.d.cts.map +1 -1
  40. package/dist/actions/get-circle-city-weather.d.mts +75 -3
  41. package/dist/actions/get-circle-city-weather.d.mts.map +1 -1
  42. package/dist/actions/get-circle-city-weather.mjs +30 -30
  43. package/dist/actions/get-circle-city-weather.mjs.map +1 -1
  44. package/dist/actions/get-current-weather.cjs +32 -32
  45. package/dist/actions/get-current-weather.cjs.map +1 -1
  46. package/dist/actions/get-current-weather.d.cts +74 -3
  47. package/dist/actions/get-current-weather.d.cts.map +1 -1
  48. package/dist/actions/get-current-weather.d.mts +74 -3
  49. package/dist/actions/get-current-weather.d.mts.map +1 -1
  50. package/dist/actions/get-current-weather.mjs +32 -32
  51. package/dist/actions/get-current-weather.mjs.map +1 -1
  52. package/dist/actions/get-geocoding-by-zip.cjs +6 -6
  53. package/dist/actions/get-geocoding-by-zip.cjs.map +1 -1
  54. package/dist/actions/get-geocoding-by-zip.d.cts +13 -3
  55. package/dist/actions/get-geocoding-by-zip.d.cts.map +1 -1
  56. package/dist/actions/get-geocoding-by-zip.d.mts +13 -3
  57. package/dist/actions/get-geocoding-by-zip.d.mts.map +1 -1
  58. package/dist/actions/get-geocoding-by-zip.mjs +6 -6
  59. package/dist/actions/get-geocoding-by-zip.mjs.map +1 -1
  60. package/dist/actions/get-geocoding-direct.cjs.map +1 -1
  61. package/dist/actions/get-geocoding-direct.d.cts +9 -3
  62. package/dist/actions/get-geocoding-direct.d.cts.map +1 -1
  63. package/dist/actions/get-geocoding-direct.d.mts +9 -3
  64. package/dist/actions/get-geocoding-direct.d.mts.map +1 -1
  65. package/dist/actions/get-geocoding-direct.mjs.map +1 -1
  66. package/dist/actions/get-geocoding-reverse.cjs.map +1 -1
  67. package/dist/actions/get-geocoding-reverse.d.cts +11 -3
  68. package/dist/actions/get-geocoding-reverse.d.cts.map +1 -1
  69. package/dist/actions/get-geocoding-reverse.d.mts +11 -3
  70. package/dist/actions/get-geocoding-reverse.d.mts.map +1 -1
  71. package/dist/actions/get-geocoding-reverse.mjs.map +1 -1
  72. package/dist/actions/get-station-measurements.cjs +2 -2
  73. package/dist/actions/get-station-measurements.cjs.map +1 -1
  74. package/dist/actions/get-station-measurements.d.cts +30 -3
  75. package/dist/actions/get-station-measurements.d.cts.map +1 -1
  76. package/dist/actions/get-station-measurements.d.mts +30 -3
  77. package/dist/actions/get-station-measurements.d.mts.map +1 -1
  78. package/dist/actions/get-station-measurements.mjs +2 -2
  79. package/dist/actions/get-station-measurements.mjs.map +1 -1
  80. package/dist/actions/get-uv-index-forecast.cjs.map +1 -1
  81. package/dist/actions/get-uv-index-forecast.d.cts +11 -3
  82. package/dist/actions/get-uv-index-forecast.d.cts.map +1 -1
  83. package/dist/actions/get-uv-index-forecast.d.mts +11 -3
  84. package/dist/actions/get-uv-index-forecast.d.mts.map +1 -1
  85. package/dist/actions/get-uv-index-forecast.mjs.map +1 -1
  86. package/dist/actions/get-uv-index-history.cjs +7 -7
  87. package/dist/actions/get-uv-index-history.cjs.map +1 -1
  88. package/dist/actions/get-uv-index-history.d.cts +21 -3
  89. package/dist/actions/get-uv-index-history.d.cts.map +1 -1
  90. package/dist/actions/get-uv-index-history.d.mts +21 -3
  91. package/dist/actions/get-uv-index-history.d.mts.map +1 -1
  92. package/dist/actions/get-uv-index-history.mjs +7 -7
  93. package/dist/actions/get-uv-index-history.mjs.map +1 -1
  94. package/dist/actions/get-uv-index.cjs +6 -6
  95. package/dist/actions/get-uv-index.cjs.map +1 -1
  96. package/dist/actions/get-uv-index.d.cts +15 -3
  97. package/dist/actions/get-uv-index.d.cts.map +1 -1
  98. package/dist/actions/get-uv-index.d.mts +15 -3
  99. package/dist/actions/get-uv-index.d.mts.map +1 -1
  100. package/dist/actions/get-uv-index.mjs +6 -6
  101. package/dist/actions/get-uv-index.mjs.map +1 -1
  102. package/dist/actions/get-weather-map-tile.cjs +1 -1
  103. package/dist/actions/get-weather-map-tile.cjs.map +1 -1
  104. package/dist/actions/get-weather-map-tile.d.cts +40 -3
  105. package/dist/actions/get-weather-map-tile.d.cts.map +1 -1
  106. package/dist/actions/get-weather-map-tile.d.mts +40 -3
  107. package/dist/actions/get-weather-map-tile.d.mts.map +1 -1
  108. package/dist/actions/get-weather-map-tile.mjs +1 -1
  109. package/dist/actions/get-weather-map-tile.mjs.map +1 -1
  110. package/dist/actions/get-weather-station.cjs +7 -7
  111. package/dist/actions/get-weather-station.cjs.map +1 -1
  112. package/dist/actions/get-weather-station.d.cts +17 -3
  113. package/dist/actions/get-weather-station.d.cts.map +1 -1
  114. package/dist/actions/get-weather-station.d.mts +17 -3
  115. package/dist/actions/get-weather-station.d.mts.map +1 -1
  116. package/dist/actions/get-weather-station.mjs +7 -7
  117. package/dist/actions/get-weather-station.mjs.map +1 -1
  118. package/dist/actions/get-weather-stations.cjs +8 -8
  119. package/dist/actions/get-weather-stations.cjs.map +1 -1
  120. package/dist/actions/get-weather-stations.d.cts +15 -3
  121. package/dist/actions/get-weather-stations.d.cts.map +1 -1
  122. package/dist/actions/get-weather-stations.d.mts +15 -3
  123. package/dist/actions/get-weather-stations.d.mts.map +1 -1
  124. package/dist/actions/get-weather-stations.mjs +8 -8
  125. package/dist/actions/get-weather-stations.mjs.map +1 -1
  126. package/dist/actions/get-weather-triggers.cjs +5 -5
  127. package/dist/actions/get-weather-triggers.cjs.map +1 -1
  128. package/dist/actions/get-weather-triggers.d.cts +35 -3
  129. package/dist/actions/get-weather-triggers.d.cts.map +1 -1
  130. package/dist/actions/get-weather-triggers.d.mts +35 -3
  131. package/dist/actions/get-weather-triggers.d.mts.map +1 -1
  132. package/dist/actions/get-weather-triggers.mjs +5 -5
  133. package/dist/actions/get-weather-triggers.mjs.map +1 -1
  134. package/dist/actions/get5-day-forecast.cjs +35 -35
  135. package/dist/actions/get5-day-forecast.cjs.map +1 -1
  136. package/dist/actions/get5-day-forecast.d.cts +88 -3
  137. package/dist/actions/get5-day-forecast.d.cts.map +1 -1
  138. package/dist/actions/get5-day-forecast.d.mts +88 -3
  139. package/dist/actions/get5-day-forecast.d.mts.map +1 -1
  140. package/dist/actions/get5-day-forecast.mjs +35 -35
  141. package/dist/actions/get5-day-forecast.mjs.map +1 -1
  142. package/dist/actions/post-add-weather-station.cjs +8 -8
  143. package/dist/actions/post-add-weather-station.cjs.map +1 -1
  144. package/dist/actions/post-add-weather-station.d.cts +27 -3
  145. package/dist/actions/post-add-weather-station.d.cts.map +1 -1
  146. package/dist/actions/post-add-weather-station.d.mts +27 -3
  147. package/dist/actions/post-add-weather-station.d.mts.map +1 -1
  148. package/dist/actions/post-add-weather-station.mjs +8 -8
  149. package/dist/actions/post-add-weather-station.mjs.map +1 -1
  150. package/dist/actions/post-submit-station-measurements.cjs +2 -2
  151. package/dist/actions/post-submit-station-measurements.cjs.map +1 -1
  152. package/dist/actions/post-submit-station-measurements.d.cts +31 -3
  153. package/dist/actions/post-submit-station-measurements.d.cts.map +1 -1
  154. package/dist/actions/post-submit-station-measurements.d.mts +31 -3
  155. package/dist/actions/post-submit-station-measurements.d.mts.map +1 -1
  156. package/dist/actions/post-submit-station-measurements.mjs +2 -2
  157. package/dist/actions/post-submit-station-measurements.mjs.map +1 -1
  158. package/dist/actions/update-weather-station.cjs +4 -4
  159. package/dist/actions/update-weather-station.cjs.map +1 -1
  160. package/dist/actions/update-weather-station.d.cts +26 -3
  161. package/dist/actions/update-weather-station.d.cts.map +1 -1
  162. package/dist/actions/update-weather-station.d.mts +26 -3
  163. package/dist/actions/update-weather-station.d.mts.map +1 -1
  164. package/dist/actions/update-weather-station.mjs +4 -4
  165. package/dist/actions/update-weather-station.mjs.map +1 -1
  166. package/dist/catalog.cjs +7 -1
  167. package/dist/catalog.cjs.map +1 -1
  168. package/dist/catalog.d.cts +8 -0
  169. package/dist/catalog.d.mts +8 -0
  170. package/dist/catalog.mjs +7 -1
  171. package/dist/catalog.mjs.map +1 -1
  172. package/dist/execute.cjs +1 -1
  173. package/dist/execute.cjs.map +1 -1
  174. package/dist/execute.mjs +1 -1
  175. package/dist/execute.mjs.map +1 -1
  176. package/package.json +2 -2
@@ -1,9 +1,94 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get5-day-forecast.d.ts
4
- declare const OpenweatherApiGet5DayForecastInput: z.ZodTypeAny;
5
- declare const OpenweatherApiGet5DayForecastOutput: z.ZodTypeAny;
6
- declare const openweatherApiGet5DayForecast: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OpenweatherApiGet5DayForecastInput: z.ZodObject<{
5
+ q: z.ZodOptional<z.ZodString>;
6
+ id: z.ZodOptional<z.ZodNumber>;
7
+ lat: z.ZodOptional<z.ZodNumber>;
8
+ lon: z.ZodOptional<z.ZodNumber>;
9
+ zip: z.ZodOptional<z.ZodString>;
10
+ lang: z.ZodOptional<z.ZodString>;
11
+ mode: z.ZodOptional<z.ZodEnum<{
12
+ json: "json";
13
+ xml: "xml";
14
+ html: "html";
15
+ }>>;
16
+ units: z.ZodOptional<z.ZodEnum<{
17
+ standard: "standard";
18
+ metric: "metric";
19
+ imperial: "imperial";
20
+ }>>;
21
+ }, z.core.$strip>;
22
+ declare const OpenweatherApiGet5DayForecastOutput: z.ZodObject<{
23
+ cnt: z.ZodNullable<z.ZodNumber>;
24
+ cod: z.ZodNullable<z.ZodString>;
25
+ city: z.ZodNullable<z.ZodObject<{
26
+ id: z.ZodNullable<z.ZodNumber>;
27
+ name: z.ZodNullable<z.ZodString>;
28
+ coord: z.ZodNullable<z.ZodObject<{
29
+ lat: z.ZodNullable<z.ZodNumber>;
30
+ lon: z.ZodNullable<z.ZodNumber>;
31
+ }, z.core.$loose>>;
32
+ sunset: z.ZodNullable<z.ZodNumber>;
33
+ country: z.ZodNullable<z.ZodString>;
34
+ sunrise: z.ZodNullable<z.ZodNumber>;
35
+ timezone: z.ZodNullable<z.ZodNumber>;
36
+ }, z.core.$loose>>;
37
+ list: z.ZodArray<z.ZodObject<{
38
+ dt: z.ZodNullable<z.ZodNumber>;
39
+ pop: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
+ sys: z.ZodNullable<z.ZodObject<{
41
+ pod: z.ZodNullable<z.ZodEnum<{
42
+ d: "d";
43
+ n: "n";
44
+ }>>;
45
+ }, z.core.$loose>>;
46
+ main: z.ZodNullable<z.ZodObject<{
47
+ temp: z.ZodNullable<z.ZodNumber>;
48
+ temp_kf: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
49
+ humidity: z.ZodNullable<z.ZodNumber>;
50
+ pressure: z.ZodNullable<z.ZodNumber>;
51
+ temp_max: z.ZodNullable<z.ZodNumber>;
52
+ temp_min: z.ZodNullable<z.ZodNumber>;
53
+ sea_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
54
+ feels_like: z.ZodNullable<z.ZodNumber>;
55
+ grnd_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
56
+ }, z.core.$loose>>;
57
+ rain: z.ZodOptional<z.ZodNullable<z.ZodObject<{
58
+ "3h": z.ZodNullable<z.ZodNumber>;
59
+ }, z.core.$loose>>>;
60
+ snow: z.ZodOptional<z.ZodNullable<z.ZodObject<{
61
+ "3h": z.ZodNullable<z.ZodNumber>;
62
+ }, z.core.$loose>>>;
63
+ wind: z.ZodNullable<z.ZodObject<{
64
+ deg: z.ZodNullable<z.ZodNumber>;
65
+ gust: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
66
+ speed: z.ZodNullable<z.ZodNumber>;
67
+ }, z.core.$loose>>;
68
+ clouds: z.ZodNullable<z.ZodObject<{
69
+ all: z.ZodNullable<z.ZodNumber>;
70
+ }, z.core.$loose>>;
71
+ dt_txt: z.ZodNullable<z.ZodString>;
72
+ weather: z.ZodArray<z.ZodObject<{
73
+ id: z.ZodNullable<z.ZodNumber>;
74
+ icon: z.ZodNullable<z.ZodString>;
75
+ main: z.ZodNullable<z.ZodString>;
76
+ description: z.ZodNullable<z.ZodString>;
77
+ }, z.core.$loose>>;
78
+ visibility: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
79
+ }, z.core.$loose>>;
80
+ message: z.ZodNullable<z.ZodNumber>;
81
+ }, z.core.$loose>;
82
+ declare const openweatherApiGet5DayForecast: import("@keystrokehq/action").WorkflowActionDefinition<{
83
+ q?: string | undefined;
84
+ id?: number | undefined;
85
+ lat?: number | undefined;
86
+ lon?: number | undefined;
87
+ zip?: string | undefined;
88
+ lang?: string | undefined;
89
+ mode?: "json" | "xml" | "html" | undefined;
90
+ units?: "standard" | "metric" | "imperial" | undefined;
91
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
92
  //#endregion
8
93
  export { openweatherApiGet5DayForecast };
9
94
  //# sourceMappingURL=get5-day-forecast.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get5-day-forecast.d.cts","names":[],"sources":["../../src/actions/get5-day-forecast.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAS2B;AAAA,cA0DjE,mCAAA,EAAqC,CAAA,CAAE,UAMlD;AAAA,cAEW,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get5-day-forecast.d.cts","names":[],"sources":["../../src/actions/get5-day-forecast.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAmElC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQnC,6BAAA,gCAA6B,wBAAA"}
@@ -1,9 +1,94 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get5-day-forecast.d.ts
4
- declare const OpenweatherApiGet5DayForecastInput: z.ZodTypeAny;
5
- declare const OpenweatherApiGet5DayForecastOutput: z.ZodTypeAny;
6
- declare const openweatherApiGet5DayForecast: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OpenweatherApiGet5DayForecastInput: z.ZodObject<{
5
+ q: z.ZodOptional<z.ZodString>;
6
+ id: z.ZodOptional<z.ZodNumber>;
7
+ lat: z.ZodOptional<z.ZodNumber>;
8
+ lon: z.ZodOptional<z.ZodNumber>;
9
+ zip: z.ZodOptional<z.ZodString>;
10
+ lang: z.ZodOptional<z.ZodString>;
11
+ mode: z.ZodOptional<z.ZodEnum<{
12
+ json: "json";
13
+ xml: "xml";
14
+ html: "html";
15
+ }>>;
16
+ units: z.ZodOptional<z.ZodEnum<{
17
+ standard: "standard";
18
+ metric: "metric";
19
+ imperial: "imperial";
20
+ }>>;
21
+ }, z.core.$strip>;
22
+ declare const OpenweatherApiGet5DayForecastOutput: z.ZodObject<{
23
+ cnt: z.ZodNullable<z.ZodNumber>;
24
+ cod: z.ZodNullable<z.ZodString>;
25
+ city: z.ZodNullable<z.ZodObject<{
26
+ id: z.ZodNullable<z.ZodNumber>;
27
+ name: z.ZodNullable<z.ZodString>;
28
+ coord: z.ZodNullable<z.ZodObject<{
29
+ lat: z.ZodNullable<z.ZodNumber>;
30
+ lon: z.ZodNullable<z.ZodNumber>;
31
+ }, z.core.$loose>>;
32
+ sunset: z.ZodNullable<z.ZodNumber>;
33
+ country: z.ZodNullable<z.ZodString>;
34
+ sunrise: z.ZodNullable<z.ZodNumber>;
35
+ timezone: z.ZodNullable<z.ZodNumber>;
36
+ }, z.core.$loose>>;
37
+ list: z.ZodArray<z.ZodObject<{
38
+ dt: z.ZodNullable<z.ZodNumber>;
39
+ pop: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
+ sys: z.ZodNullable<z.ZodObject<{
41
+ pod: z.ZodNullable<z.ZodEnum<{
42
+ d: "d";
43
+ n: "n";
44
+ }>>;
45
+ }, z.core.$loose>>;
46
+ main: z.ZodNullable<z.ZodObject<{
47
+ temp: z.ZodNullable<z.ZodNumber>;
48
+ temp_kf: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
49
+ humidity: z.ZodNullable<z.ZodNumber>;
50
+ pressure: z.ZodNullable<z.ZodNumber>;
51
+ temp_max: z.ZodNullable<z.ZodNumber>;
52
+ temp_min: z.ZodNullable<z.ZodNumber>;
53
+ sea_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
54
+ feels_like: z.ZodNullable<z.ZodNumber>;
55
+ grnd_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
56
+ }, z.core.$loose>>;
57
+ rain: z.ZodOptional<z.ZodNullable<z.ZodObject<{
58
+ "3h": z.ZodNullable<z.ZodNumber>;
59
+ }, z.core.$loose>>>;
60
+ snow: z.ZodOptional<z.ZodNullable<z.ZodObject<{
61
+ "3h": z.ZodNullable<z.ZodNumber>;
62
+ }, z.core.$loose>>>;
63
+ wind: z.ZodNullable<z.ZodObject<{
64
+ deg: z.ZodNullable<z.ZodNumber>;
65
+ gust: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
66
+ speed: z.ZodNullable<z.ZodNumber>;
67
+ }, z.core.$loose>>;
68
+ clouds: z.ZodNullable<z.ZodObject<{
69
+ all: z.ZodNullable<z.ZodNumber>;
70
+ }, z.core.$loose>>;
71
+ dt_txt: z.ZodNullable<z.ZodString>;
72
+ weather: z.ZodArray<z.ZodObject<{
73
+ id: z.ZodNullable<z.ZodNumber>;
74
+ icon: z.ZodNullable<z.ZodString>;
75
+ main: z.ZodNullable<z.ZodString>;
76
+ description: z.ZodNullable<z.ZodString>;
77
+ }, z.core.$loose>>;
78
+ visibility: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
79
+ }, z.core.$loose>>;
80
+ message: z.ZodNullable<z.ZodNumber>;
81
+ }, z.core.$loose>;
82
+ declare const openweatherApiGet5DayForecast: import("@keystrokehq/action").WorkflowActionDefinition<{
83
+ q?: string | undefined;
84
+ id?: number | undefined;
85
+ lat?: number | undefined;
86
+ lon?: number | undefined;
87
+ zip?: string | undefined;
88
+ lang?: string | undefined;
89
+ mode?: "json" | "xml" | "html" | undefined;
90
+ units?: "standard" | "metric" | "imperial" | undefined;
91
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
92
  //#endregion
8
93
  export { openweatherApiGet5DayForecast };
9
94
  //# sourceMappingURL=get5-day-forecast.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get5-day-forecast.d.mts","names":[],"sources":["../../src/actions/get5-day-forecast.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAS2B;AAAA,cA0DjE,mCAAA,EAAqC,CAAA,CAAE,UAMlD;AAAA,cAEW,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get5-day-forecast.d.mts","names":[],"sources":["../../src/actions/get5-day-forecast.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAmElC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQnC,6BAAA,gCAA6B,wBAAA"}
@@ -20,45 +20,45 @@ const OpenweatherApiGet5DayForecastInput = z.object({
20
20
  ]).describe("Units of measurement (standard, metric, imperial)").optional()
21
21
  }).describe("Specify location and output options for 5-day, 3-hour forecast.");
22
22
  const OpenweatherApiGet5DayForecast_CityCoordSchema = z.object({
23
- lat: z.number().describe("Latitude"),
24
- lon: z.number().describe("Longitude")
25
- });
23
+ lat: z.number().describe("Latitude").nullable(),
24
+ lon: z.number().describe("Longitude").nullable()
25
+ }).passthrough();
26
26
  const OpenweatherApiGet5DayForecast_CityInfoSchema = z.object({
27
- id: z.number().int().describe("City ID"),
28
- name: z.string().describe("City name"),
27
+ id: z.number().int().describe("City ID").nullable(),
28
+ name: z.string().describe("City name").nullable(),
29
29
  coord: OpenweatherApiGet5DayForecast_CityCoordSchema.nullable(),
30
- sunset: z.number().int().describe("Sunset time (Unix UTC)"),
31
- country: z.string().describe("Country code (ISO 3166)"),
32
- sunrise: z.number().int().describe("Sunrise time (Unix UTC)"),
33
- timezone: z.number().int().describe("Shift in seconds from UTC")
34
- });
35
- const OpenweatherApiGet5DayForecast_SysInfoSchema = z.object({ pod: z.enum(["d", "n"]).describe("Part of day: d=day, n=night") });
30
+ sunset: z.number().int().describe("Sunset time (Unix UTC)").nullable(),
31
+ country: z.string().describe("Country code (ISO 3166)").nullable(),
32
+ sunrise: z.number().int().describe("Sunrise time (Unix UTC)").nullable(),
33
+ timezone: z.number().int().describe("Shift in seconds from UTC").nullable()
34
+ }).passthrough();
35
+ const OpenweatherApiGet5DayForecast_SysInfoSchema = z.object({ pod: z.enum(["d", "n"]).describe("Part of day: d=day, n=night").nullable() }).passthrough();
36
36
  const OpenweatherApiGet5DayForecast_ForecastMainSchema = z.object({
37
- temp: z.number().describe("Temperature"),
37
+ temp: z.number().describe("Temperature").nullable(),
38
38
  temp_kf: z.number().describe("Temperature variance").nullable().optional(),
39
- humidity: z.number().int().describe("Humidity percentage"),
40
- pressure: z.number().int().describe("Atmospheric pressure (hPa)"),
41
- temp_max: z.number().describe("Maximum temperature at the moment"),
42
- temp_min: z.number().describe("Minimum temperature at the moment"),
39
+ humidity: z.number().int().describe("Humidity percentage").nullable(),
40
+ pressure: z.number().int().describe("Atmospheric pressure (hPa)").nullable(),
41
+ temp_max: z.number().describe("Maximum temperature at the moment").nullable(),
42
+ temp_min: z.number().describe("Minimum temperature at the moment").nullable(),
43
43
  sea_level: z.number().int().describe("Atmospheric pressure at sea level (hPa)").nullable().optional(),
44
- feels_like: z.number().describe("Human perception of temperature"),
44
+ feels_like: z.number().describe("Human perception of temperature").nullable(),
45
45
  grnd_level: z.number().int().describe("Atmospheric pressure at ground level (hPa)").nullable().optional()
46
- });
47
- const OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema = z.object({ "3h": z.number().describe("Volume for last 3 hours") }).describe("Rain or snow volume for last 3 hours");
46
+ }).passthrough();
47
+ const OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema = z.object({ "3h": z.number().describe("Volume for last 3 hours").nullable() }).passthrough().describe("Rain or snow volume for last 3 hours");
48
48
  const OpenweatherApiGet5DayForecast_WindSchema = z.object({
49
- deg: z.number().int().describe("Wind direction in degrees"),
49
+ deg: z.number().int().describe("Wind direction in degrees").nullable(),
50
50
  gust: z.number().describe("Wind gust speed").nullable().optional(),
51
- speed: z.number().describe("Wind speed")
52
- });
53
- const OpenweatherApiGet5DayForecast_CloudsSchema = z.object({ all: z.number().int().describe("Cloudiness percentage") });
51
+ speed: z.number().describe("Wind speed").nullable()
52
+ }).passthrough();
53
+ const OpenweatherApiGet5DayForecast_CloudsSchema = z.object({ all: z.number().int().describe("Cloudiness percentage").nullable() }).passthrough();
54
54
  const OpenweatherApiGet5DayForecast_WeatherConditionSchema = z.object({
55
- id: z.number().int().describe("Weather condition ID"),
56
- icon: z.string().describe("Weather icon ID"),
57
- main: z.string().describe("Group of weather parameters"),
58
- description: z.string().describe("Weather condition within the group")
59
- });
55
+ id: z.number().int().describe("Weather condition ID").nullable(),
56
+ icon: z.string().describe("Weather icon ID").nullable(),
57
+ main: z.string().describe("Group of weather parameters").nullable(),
58
+ description: z.string().describe("Weather condition within the group").nullable()
59
+ }).passthrough();
60
60
  const OpenweatherApiGet5DayForecast_ForecastItemSchema = z.object({
61
- dt: z.number().int().describe("Forecast time (Unix UTC)"),
61
+ dt: z.number().int().describe("Forecast time (Unix UTC)").nullable(),
62
62
  pop: z.number().describe("Probability of precipitation").nullable().optional(),
63
63
  sys: OpenweatherApiGet5DayForecast_SysInfoSchema.nullable(),
64
64
  main: OpenweatherApiGet5DayForecast_ForecastMainSchema.nullable(),
@@ -66,22 +66,22 @@ const OpenweatherApiGet5DayForecast_ForecastItemSchema = z.object({
66
66
  snow: OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema.nullable().optional(),
67
67
  wind: OpenweatherApiGet5DayForecast_WindSchema.nullable(),
68
68
  clouds: OpenweatherApiGet5DayForecast_CloudsSchema.nullable(),
69
- dt_txt: z.string().describe("Forecast time as text"),
69
+ dt_txt: z.string().describe("Forecast time as text").nullable(),
70
70
  weather: z.array(OpenweatherApiGet5DayForecast_WeatherConditionSchema),
71
71
  visibility: z.number().int().describe("Visibility in meters").nullable().optional()
72
- });
72
+ }).passthrough();
73
73
  const openweatherApiGet5DayForecast = action("OPENWEATHER_API_GET5_DAY_FORECAST", {
74
74
  slug: "openweather_api-get5-day-forecast",
75
75
  name: "Get 5 Day Forecast",
76
76
  description: "Tool to get a 5-day forecast every 3 hours (up to 40 UTC timestamps). Exactly one location identifier required per call: `q`, `id`, `zip`, or `lat`+`lon` pair. Use `city.timezone` offset to convert timestamps to local time before grouping into daily summaries.",
77
77
  input: OpenweatherApiGet5DayForecastInput,
78
78
  output: z.object({
79
- cnt: z.number().int().describe("Number of timestamps returned"),
80
- cod: z.string().describe("Internal response code"),
79
+ cnt: z.number().int().describe("Number of timestamps returned").nullable(),
80
+ cod: z.string().describe("Internal response code").nullable(),
81
81
  city: OpenweatherApiGet5DayForecast_CityInfoSchema.nullable(),
82
82
  list: z.array(OpenweatherApiGet5DayForecast_ForecastItemSchema).describe("Array of forecast data"),
83
- message: z.number().describe("Internal parameter")
84
- })
83
+ message: z.number().describe("Internal parameter").nullable()
84
+ }).passthrough()
85
85
  });
86
86
  //#endregion
87
87
  export { openweatherApiGet5DayForecast };
@@ -1 +1 @@
1
- {"version":3,"file":"get5-day-forecast.mjs","names":[],"sources":["../../src/actions/get5-day-forecast.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGet5DayForecastInput: z.ZodTypeAny = z.object({\n q: z.string().describe(\"City name and optional country code, e.g. 'London,uk'\").optional(),\n id: z.number().int().describe(\"OpenWeatherMap city ID\").optional(),\n lat: z.number().describe(\"Latitude in degrees\").optional(),\n lon: z.number().describe(\"Longitude in degrees\").optional(),\n zip: z.string().describe(\"Zip code with country code, e.g. '94040,us'\").optional(),\n lang: z.string().describe(\"Language code (ISO 639-1)\").optional(),\n mode: z.enum([\"json\", \"xml\", \"html\"]).describe(\"Response format\").optional(),\n units: z.enum([\"standard\", \"metric\", \"imperial\"]).describe(\"Units of measurement (standard, metric, imperial)\").optional(),\n}).describe(\"Specify location and output options for 5-day, 3-hour forecast.\");\nconst OpenweatherApiGet5DayForecast_CityCoordSchema: z.ZodTypeAny = z.object({\n lat: z.number().describe(\"Latitude\"),\n lon: z.number().describe(\"Longitude\"),\n});\nconst OpenweatherApiGet5DayForecast_CityInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"City ID\"),\n name: z.string().describe(\"City name\"),\n coord: OpenweatherApiGet5DayForecast_CityCoordSchema.nullable(),\n sunset: z.number().int().describe(\"Sunset time (Unix UTC)\"),\n country: z.string().describe(\"Country code (ISO 3166)\"),\n sunrise: z.number().int().describe(\"Sunrise time (Unix UTC)\"),\n timezone: z.number().int().describe(\"Shift in seconds from UTC\"),\n});\nconst OpenweatherApiGet5DayForecast_SysInfoSchema: z.ZodTypeAny = z.object({\n pod: z.enum([\"d\", \"n\"]).describe(\"Part of day: d=day, n=night\"),\n});\nconst OpenweatherApiGet5DayForecast_ForecastMainSchema: z.ZodTypeAny = z.object({\n temp: z.number().describe(\"Temperature\"),\n temp_kf: z.number().describe(\"Temperature variance\").nullable().optional(),\n humidity: z.number().int().describe(\"Humidity percentage\"),\n pressure: z.number().int().describe(\"Atmospheric pressure (hPa)\"),\n temp_max: z.number().describe(\"Maximum temperature at the moment\"),\n temp_min: z.number().describe(\"Minimum temperature at the moment\"),\n sea_level: z.number().int().describe(\"Atmospheric pressure at sea level (hPa)\").nullable().optional(),\n feels_like: z.number().describe(\"Human perception of temperature\"),\n grnd_level: z.number().int().describe(\"Atmospheric pressure at ground level (hPa)\").nullable().optional(),\n});\nconst OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema: z.ZodTypeAny = z.object({\n \"3h\": z.number().describe(\"Volume for last 3 hours\"),\n}).describe(\"Rain or snow volume for last 3 hours\");\nconst OpenweatherApiGet5DayForecast_WindSchema: z.ZodTypeAny = z.object({\n deg: z.number().int().describe(\"Wind direction in degrees\"),\n gust: z.number().describe(\"Wind gust speed\").nullable().optional(),\n speed: z.number().describe(\"Wind speed\"),\n});\nconst OpenweatherApiGet5DayForecast_CloudsSchema: z.ZodTypeAny = z.object({\n all: z.number().int().describe(\"Cloudiness percentage\"),\n});\nconst OpenweatherApiGet5DayForecast_WeatherConditionSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Weather condition ID\"),\n icon: z.string().describe(\"Weather icon ID\"),\n main: z.string().describe(\"Group of weather parameters\"),\n description: z.string().describe(\"Weather condition within the group\"),\n});\nconst OpenweatherApiGet5DayForecast_ForecastItemSchema: z.ZodTypeAny = z.object({\n dt: z.number().int().describe(\"Forecast time (Unix UTC)\"),\n pop: z.number().describe(\"Probability of precipitation\").nullable().optional(),\n sys: OpenweatherApiGet5DayForecast_SysInfoSchema.nullable(),\n main: OpenweatherApiGet5DayForecast_ForecastMainSchema.nullable(),\n rain: OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema.nullable().optional(),\n snow: OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema.nullable().optional(),\n wind: OpenweatherApiGet5DayForecast_WindSchema.nullable(),\n clouds: OpenweatherApiGet5DayForecast_CloudsSchema.nullable(),\n dt_txt: z.string().describe(\"Forecast time as text\"),\n weather: z.array(OpenweatherApiGet5DayForecast_WeatherConditionSchema),\n visibility: z.number().int().describe(\"Visibility in meters\").nullable().optional(),\n});\nexport const OpenweatherApiGet5DayForecastOutput: z.ZodTypeAny = z.object({\n cnt: z.number().int().describe(\"Number of timestamps returned\"),\n cod: z.string().describe(\"Internal response code\"),\n city: OpenweatherApiGet5DayForecast_CityInfoSchema.nullable(),\n list: z.array(OpenweatherApiGet5DayForecast_ForecastItemSchema).describe(\"Array of forecast data\"),\n message: z.number().describe(\"Internal parameter\"),\n});\n\nexport const openweatherApiGet5DayForecast = action(\"OPENWEATHER_API_GET5_DAY_FORECAST\", {\n slug: \"openweather_api-get5-day-forecast\",\n name: \"Get 5 Day Forecast\",\n description: \"Tool to get a 5-day forecast every 3 hours (up to 40 UTC timestamps). Exactly one location identifier required per call: `q`, `id`, `zip`, or `lat`+`lon` pair. Use `city.timezone` offset to convert timestamps to local time before grouping into daily summaries.\",\n input: OpenweatherApiGet5DayForecastInput,\n output: OpenweatherApiGet5DayForecastOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmD,EAAE,OAAO;CACvE,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACzF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjF,MAAM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9E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,KAAK,4CAA4C,SAAS;CAC1D,MAAM,iDAAiD,SAAS;CAChE,MAAM,wDAAwD,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,wDAAwD,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,yCAAyC,SAAS;CACxD,QAAQ,2CAA2C,SAAS;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACnD,SAAS,EAAE,MAAM,oDAAoD;CACrE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC;AASD,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+D,EAAE,OAAO;EACxE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;EAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACjD,MAAM,6CAA6C,SAAS;EAC5D,MAAM,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,wBAAwB;EACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACnD,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get5-day-forecast.mjs","names":[],"sources":["../../src/actions/get5-day-forecast.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGet5DayForecastInput = z.object({\n q: z.string().describe(\"City name and optional country code, e.g. 'London,uk'\").optional(),\n id: z.number().int().describe(\"OpenWeatherMap city ID\").optional(),\n lat: z.number().describe(\"Latitude in degrees\").optional(),\n lon: z.number().describe(\"Longitude in degrees\").optional(),\n zip: z.string().describe(\"Zip code with country code, e.g. '94040,us'\").optional(),\n lang: z.string().describe(\"Language code (ISO 639-1)\").optional(),\n mode: z.enum([\"json\", \"xml\", \"html\"]).describe(\"Response format\").optional(),\n units: z.enum([\"standard\", \"metric\", \"imperial\"]).describe(\"Units of measurement (standard, metric, imperial)\").optional(),\n}).describe(\"Specify location and output options for 5-day, 3-hour forecast.\");\nconst OpenweatherApiGet5DayForecast_CityCoordSchema = z.object({\n lat: z.number().describe(\"Latitude\").nullable(),\n lon: z.number().describe(\"Longitude\").nullable(),\n}).passthrough();\nconst OpenweatherApiGet5DayForecast_CityInfoSchema = z.object({\n id: z.number().int().describe(\"City ID\").nullable(),\n name: z.string().describe(\"City name\").nullable(),\n coord: OpenweatherApiGet5DayForecast_CityCoordSchema.nullable(),\n sunset: z.number().int().describe(\"Sunset time (Unix UTC)\").nullable(),\n country: z.string().describe(\"Country code (ISO 3166)\").nullable(),\n sunrise: z.number().int().describe(\"Sunrise time (Unix UTC)\").nullable(),\n timezone: z.number().int().describe(\"Shift in seconds from UTC\").nullable(),\n}).passthrough();\nconst OpenweatherApiGet5DayForecast_SysInfoSchema = z.object({\n pod: z.enum([\"d\", \"n\"]).describe(\"Part of day: d=day, n=night\").nullable(),\n}).passthrough();\nconst OpenweatherApiGet5DayForecast_ForecastMainSchema = z.object({\n temp: z.number().describe(\"Temperature\").nullable(),\n temp_kf: z.number().describe(\"Temperature variance\").nullable().optional(),\n humidity: z.number().int().describe(\"Humidity percentage\").nullable(),\n pressure: z.number().int().describe(\"Atmospheric pressure (hPa)\").nullable(),\n temp_max: z.number().describe(\"Maximum temperature at the moment\").nullable(),\n temp_min: z.number().describe(\"Minimum temperature at the moment\").nullable(),\n sea_level: z.number().int().describe(\"Atmospheric pressure at sea level (hPa)\").nullable().optional(),\n feels_like: z.number().describe(\"Human perception of temperature\").nullable(),\n grnd_level: z.number().int().describe(\"Atmospheric pressure at ground level (hPa)\").nullable().optional(),\n}).passthrough();\nconst OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema = z.object({\n \"3h\": z.number().describe(\"Volume for last 3 hours\").nullable(),\n}).passthrough().describe(\"Rain or snow volume for last 3 hours\");\nconst OpenweatherApiGet5DayForecast_WindSchema = z.object({\n deg: z.number().int().describe(\"Wind direction in degrees\").nullable(),\n gust: z.number().describe(\"Wind gust speed\").nullable().optional(),\n speed: z.number().describe(\"Wind speed\").nullable(),\n}).passthrough();\nconst OpenweatherApiGet5DayForecast_CloudsSchema = z.object({\n all: z.number().int().describe(\"Cloudiness percentage\").nullable(),\n}).passthrough();\nconst OpenweatherApiGet5DayForecast_WeatherConditionSchema = z.object({\n id: z.number().int().describe(\"Weather condition ID\").nullable(),\n icon: z.string().describe(\"Weather icon ID\").nullable(),\n main: z.string().describe(\"Group of weather parameters\").nullable(),\n description: z.string().describe(\"Weather condition within the group\").nullable(),\n}).passthrough();\nconst OpenweatherApiGet5DayForecast_ForecastItemSchema = z.object({\n dt: z.number().int().describe(\"Forecast time (Unix UTC)\").nullable(),\n pop: z.number().describe(\"Probability of precipitation\").nullable().optional(),\n sys: OpenweatherApiGet5DayForecast_SysInfoSchema.nullable(),\n main: OpenweatherApiGet5DayForecast_ForecastMainSchema.nullable(),\n rain: OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema.nullable().optional(),\n snow: OpenweatherApiGet5DayForecast_PrecipitationVolumeSchema.nullable().optional(),\n wind: OpenweatherApiGet5DayForecast_WindSchema.nullable(),\n clouds: OpenweatherApiGet5DayForecast_CloudsSchema.nullable(),\n dt_txt: z.string().describe(\"Forecast time as text\").nullable(),\n weather: z.array(OpenweatherApiGet5DayForecast_WeatherConditionSchema),\n visibility: z.number().int().describe(\"Visibility in meters\").nullable().optional(),\n}).passthrough();\nexport const OpenweatherApiGet5DayForecastOutput = z.object({\n cnt: z.number().int().describe(\"Number of timestamps returned\").nullable(),\n cod: z.string().describe(\"Internal response code\").nullable(),\n city: OpenweatherApiGet5DayForecast_CityInfoSchema.nullable(),\n list: z.array(OpenweatherApiGet5DayForecast_ForecastItemSchema).describe(\"Array of forecast data\"),\n message: z.number().describe(\"Internal parameter\").nullable(),\n}).passthrough();\n\nexport const openweatherApiGet5DayForecast = action(\"OPENWEATHER_API_GET5_DAY_FORECAST\", {\n slug: \"openweather_api-get5-day-forecast\",\n name: \"Get 5 Day Forecast\",\n description: \"Tool to get a 5-day forecast every 3 hours (up to 40 UTC timestamps). Exactly one location identifier required per call: `q`, `id`, `zip`, or `lat`+`lon` pair. Use `city.timezone` offset to convert timestamps to local time before grouping into daily summaries.\",\n input: OpenweatherApiGet5DayForecastInput,\n output: OpenweatherApiGet5DayForecastOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACzF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAO;CAAM,CAAC,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,KAAK;EAAC;EAAY;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,gDAAgD,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS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"}
@@ -9,18 +9,18 @@ const OpenweatherApiPostAddWeatherStationInput = zod.z.object({
9
9
  external_id: zod.z.string().describe("External station ID (your own reference)")
10
10
  }).describe("Request parameters to add a new weather station. Provide external_id, name, geographic coordinates, and altitude.");
11
11
  const OpenweatherApiPostAddWeatherStationOutput = zod.z.object({
12
- ID: zod.z.string().describe("Internal OpenWeather station ID"),
13
- name: zod.z.string().describe("Station name"),
12
+ ID: zod.z.string().describe("Internal OpenWeather station ID").nullable(),
13
+ name: zod.z.string().describe("Station name").nullable(),
14
14
  rank: zod.z.number().int().describe("Station rank").nullable().optional(),
15
15
  user_id: zod.z.string().describe("User ID that owns the station").nullable().optional(),
16
- altitude: zod.z.number().describe("Station altitude in meters"),
17
- latitude: zod.z.number().describe("Station latitude"),
18
- longitude: zod.z.number().describe("Station longitude"),
19
- created_at: zod.z.string().describe("ISO datetime when station was created"),
16
+ altitude: zod.z.number().describe("Station altitude in meters").nullable(),
17
+ latitude: zod.z.number().describe("Station latitude").nullable(),
18
+ longitude: zod.z.number().describe("Station longitude").nullable(),
19
+ created_at: zod.z.string().describe("ISO datetime when station was created").nullable(),
20
20
  updated_at: zod.z.string().describe("ISO datetime when station was last updated").nullable().optional(),
21
- external_id: zod.z.string().describe("Provided external station ID"),
21
+ external_id: zod.z.string().describe("Provided external station ID").nullable(),
22
22
  source_type: zod.z.number().int().describe("Source type identifier").nullable().optional()
23
- }).describe("Response schema for added weather station.");
23
+ }).passthrough().describe("Response schema for added weather station.");
24
24
  const openweatherApiPostAddWeatherStation = require_action.action("OPENWEATHER_API_POST_ADD_WEATHER_STATION", {
25
25
  slug: "openweather_api-post-add-weather-station",
26
26
  name: "Add Weather Station",
@@ -1 +1 @@
1
- {"version":3,"file":"post-add-weather-station.cjs","names":["z","action"],"sources":["../../src/actions/post-add-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiPostAddWeatherStationInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Station name\"),\n altitude: z.number().describe(\"Station altitude in meters above sea level\"),\n latitude: z.number().describe(\"Station latitude, range -90 to 90 degrees\"),\n longitude: z.number().describe(\"Station longitude, range -180 to 180 degrees\"),\n external_id: z.string().describe(\"External station ID (your own reference)\"),\n}).describe(\"Request parameters to add a new weather station. Provide external_id, name, geographic coordinates, and altitude.\");\nexport const OpenweatherApiPostAddWeatherStationOutput: z.ZodTypeAny = z.object({\n ID: z.string().describe(\"Internal OpenWeather station ID\"),\n name: z.string().describe(\"Station name\"),\n rank: z.number().int().describe(\"Station rank\").nullable().optional(),\n user_id: z.string().describe(\"User ID that owns the station\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude in meters\"),\n latitude: z.number().describe(\"Station latitude\"),\n longitude: z.number().describe(\"Station longitude\"),\n created_at: z.string().describe(\"ISO datetime when station was created\"),\n updated_at: z.string().describe(\"ISO datetime when station was last updated\").nullable().optional(),\n external_id: z.string().describe(\"Provided external station ID\"),\n source_type: z.number().int().describe(\"Source type identifier\").nullable().optional(),\n}).describe(\"Response schema for added weather station.\");\n\nexport const openweatherApiPostAddWeatherStation = action(\"OPENWEATHER_API_POST_ADD_WEATHER_STATION\", {\n slug: \"openweather_api-post-add-weather-station\",\n name: \"Add Weather Station\",\n description: \"Tool to add a new weather station to your account. Use when you need to register a station before sending custom data.\",\n input: OpenweatherApiPostAddWeatherStationInput,\n output: OpenweatherApiPostAddWeatherStationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACxC,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC7E,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAC/H,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACxC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAChD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAClD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-add-weather-station.cjs","names":["z","action"],"sources":["../../src/actions/post-add-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiPostAddWeatherStationInput = z.object({\n name: z.string().describe(\"Station name\"),\n altitude: z.number().describe(\"Station altitude in meters above sea level\"),\n latitude: z.number().describe(\"Station latitude, range -90 to 90 degrees\"),\n longitude: z.number().describe(\"Station longitude, range -180 to 180 degrees\"),\n external_id: z.string().describe(\"External station ID (your own reference)\"),\n}).describe(\"Request parameters to add a new weather station. Provide external_id, name, geographic coordinates, and altitude.\");\nexport const OpenweatherApiPostAddWeatherStationOutput = z.object({\n ID: z.string().describe(\"Internal OpenWeather station ID\").nullable(),\n name: z.string().describe(\"Station name\").nullable(),\n rank: z.number().int().describe(\"Station rank\").nullable().optional(),\n user_id: z.string().describe(\"User ID that owns the station\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude in meters\").nullable(),\n latitude: z.number().describe(\"Station latitude\").nullable(),\n longitude: z.number().describe(\"Station longitude\").nullable(),\n created_at: z.string().describe(\"ISO datetime when station was created\").nullable(),\n updated_at: z.string().describe(\"ISO datetime when station was last updated\").nullable().optional(),\n external_id: z.string().describe(\"Provided external station ID\").nullable(),\n source_type: z.number().int().describe(\"Source type identifier\").nullable().optional(),\n}).passthrough().describe(\"Response schema for added weather station.\");\n\nexport const openweatherApiPostAddWeatherStation = action(\"OPENWEATHER_API_POST_ADD_WEATHER_STATION\", {\n slug: \"openweather_api-post-add-weather-station\",\n name: \"Add Weather Station\",\n description: \"Tool to add a new weather station to your account. Use when you need to register a station before sending custom data.\",\n input: OpenweatherApiPostAddWeatherStationInput,\n output: OpenweatherApiPostAddWeatherStationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACxC,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC7E,aAAaA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QAAQ;AACV,CAAC"}
@@ -1,9 +1,33 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-add-weather-station.d.ts
4
- declare const OpenweatherApiPostAddWeatherStationInput: z.ZodTypeAny;
5
- declare const OpenweatherApiPostAddWeatherStationOutput: z.ZodTypeAny;
6
- declare const openweatherApiPostAddWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OpenweatherApiPostAddWeatherStationInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ altitude: z.ZodNumber;
7
+ latitude: z.ZodNumber;
8
+ longitude: z.ZodNumber;
9
+ external_id: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const OpenweatherApiPostAddWeatherStationOutput: z.ZodObject<{
12
+ ID: z.ZodNullable<z.ZodString>;
13
+ name: z.ZodNullable<z.ZodString>;
14
+ rank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ altitude: z.ZodNullable<z.ZodNumber>;
17
+ latitude: z.ZodNullable<z.ZodNumber>;
18
+ longitude: z.ZodNullable<z.ZodNumber>;
19
+ created_at: z.ZodNullable<z.ZodString>;
20
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ external_id: z.ZodNullable<z.ZodString>;
22
+ source_type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ }, z.core.$loose>;
24
+ declare const openweatherApiPostAddWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ name: string;
26
+ altitude: number;
27
+ latitude: number;
28
+ longitude: number;
29
+ external_id: string;
30
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
31
  //#endregion
8
32
  export { openweatherApiPostAddWeatherStation };
9
33
  //# sourceMappingURL=post-add-weather-station.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-add-weather-station.d.cts","names":[],"sources":["../../src/actions/post-add-weather-station.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UAMuE;AAAA,cACnH,yCAAA,EAA2C,CAAA,CAAE,UAYD;AAAA,cAE5C,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"post-add-weather-station.d.cts","names":[],"sources":["../../src/actions/post-add-weather-station.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;cAOxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAczC,mCAAA,gCAAmC,wBAAA"}
@@ -1,9 +1,33 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-add-weather-station.d.ts
4
- declare const OpenweatherApiPostAddWeatherStationInput: z.ZodTypeAny;
5
- declare const OpenweatherApiPostAddWeatherStationOutput: z.ZodTypeAny;
6
- declare const openweatherApiPostAddWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OpenweatherApiPostAddWeatherStationInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ altitude: z.ZodNumber;
7
+ latitude: z.ZodNumber;
8
+ longitude: z.ZodNumber;
9
+ external_id: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const OpenweatherApiPostAddWeatherStationOutput: z.ZodObject<{
12
+ ID: z.ZodNullable<z.ZodString>;
13
+ name: z.ZodNullable<z.ZodString>;
14
+ rank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ altitude: z.ZodNullable<z.ZodNumber>;
17
+ latitude: z.ZodNullable<z.ZodNumber>;
18
+ longitude: z.ZodNullable<z.ZodNumber>;
19
+ created_at: z.ZodNullable<z.ZodString>;
20
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ external_id: z.ZodNullable<z.ZodString>;
22
+ source_type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ }, z.core.$loose>;
24
+ declare const openweatherApiPostAddWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ name: string;
26
+ altitude: number;
27
+ latitude: number;
28
+ longitude: number;
29
+ external_id: string;
30
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
31
  //#endregion
8
32
  export { openweatherApiPostAddWeatherStation };
9
33
  //# sourceMappingURL=post-add-weather-station.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-add-weather-station.d.mts","names":[],"sources":["../../src/actions/post-add-weather-station.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UAMuE;AAAA,cACnH,yCAAA,EAA2C,CAAA,CAAE,UAYD;AAAA,cAE5C,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"post-add-weather-station.d.mts","names":[],"sources":["../../src/actions/post-add-weather-station.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;cAOxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAczC,mCAAA,gCAAmC,wBAAA"}
@@ -12,18 +12,18 @@ const openweatherApiPostAddWeatherStation = action("OPENWEATHER_API_POST_ADD_WEA
12
12
  external_id: z.string().describe("External station ID (your own reference)")
13
13
  }).describe("Request parameters to add a new weather station. Provide external_id, name, geographic coordinates, and altitude."),
14
14
  output: z.object({
15
- ID: z.string().describe("Internal OpenWeather station ID"),
16
- name: z.string().describe("Station name"),
15
+ ID: z.string().describe("Internal OpenWeather station ID").nullable(),
16
+ name: z.string().describe("Station name").nullable(),
17
17
  rank: z.number().int().describe("Station rank").nullable().optional(),
18
18
  user_id: z.string().describe("User ID that owns the station").nullable().optional(),
19
- altitude: z.number().describe("Station altitude in meters"),
20
- latitude: z.number().describe("Station latitude"),
21
- longitude: z.number().describe("Station longitude"),
22
- created_at: z.string().describe("ISO datetime when station was created"),
19
+ altitude: z.number().describe("Station altitude in meters").nullable(),
20
+ latitude: z.number().describe("Station latitude").nullable(),
21
+ longitude: z.number().describe("Station longitude").nullable(),
22
+ created_at: z.string().describe("ISO datetime when station was created").nullable(),
23
23
  updated_at: z.string().describe("ISO datetime when station was last updated").nullable().optional(),
24
- external_id: z.string().describe("Provided external station ID"),
24
+ external_id: z.string().describe("Provided external station ID").nullable(),
25
25
  source_type: z.number().int().describe("Source type identifier").nullable().optional()
26
- }).describe("Response schema for added weather station.")
26
+ }).passthrough().describe("Response schema for added weather station.")
27
27
  });
28
28
  //#endregion
29
29
  export { openweatherApiPostAddWeatherStation };
@@ -1 +1 @@
1
- {"version":3,"file":"post-add-weather-station.mjs","names":[],"sources":["../../src/actions/post-add-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiPostAddWeatherStationInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Station name\"),\n altitude: z.number().describe(\"Station altitude in meters above sea level\"),\n latitude: z.number().describe(\"Station latitude, range -90 to 90 degrees\"),\n longitude: z.number().describe(\"Station longitude, range -180 to 180 degrees\"),\n external_id: z.string().describe(\"External station ID (your own reference)\"),\n}).describe(\"Request parameters to add a new weather station. Provide external_id, name, geographic coordinates, and altitude.\");\nexport const OpenweatherApiPostAddWeatherStationOutput: z.ZodTypeAny = z.object({\n ID: z.string().describe(\"Internal OpenWeather station ID\"),\n name: z.string().describe(\"Station name\"),\n rank: z.number().int().describe(\"Station rank\").nullable().optional(),\n user_id: z.string().describe(\"User ID that owns the station\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude in meters\"),\n latitude: z.number().describe(\"Station latitude\"),\n longitude: z.number().describe(\"Station longitude\"),\n created_at: z.string().describe(\"ISO datetime when station was created\"),\n updated_at: z.string().describe(\"ISO datetime when station was last updated\").nullable().optional(),\n external_id: z.string().describe(\"Provided external station ID\"),\n source_type: z.number().int().describe(\"Source type identifier\").nullable().optional(),\n}).describe(\"Response schema for added weather station.\");\n\nexport const openweatherApiPostAddWeatherStation = action(\"OPENWEATHER_API_POST_ADD_WEATHER_STATION\", {\n slug: \"openweather_api-post-add-weather-station\",\n name: \"Add Weather Station\",\n description: \"Tool to add a new weather station to your account. Use when you need to register a station before sending custom data.\",\n input: OpenweatherApiPostAddWeatherStationInput,\n output: OpenweatherApiPostAddWeatherStationOutput,\n});\n"],"mappings":";;AAyBA,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBoE,EAAE,OAAO;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;EACxC,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC7E,CAAC,CAAC,CAAC,SAAS,mHAmBH;CACP,QAnBqE,EAAE,OAAO;EAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;EACxC,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EAChD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EAClD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"post-add-weather-station.mjs","names":[],"sources":["../../src/actions/post-add-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiPostAddWeatherStationInput = z.object({\n name: z.string().describe(\"Station name\"),\n altitude: z.number().describe(\"Station altitude in meters above sea level\"),\n latitude: z.number().describe(\"Station latitude, range -90 to 90 degrees\"),\n longitude: z.number().describe(\"Station longitude, range -180 to 180 degrees\"),\n external_id: z.string().describe(\"External station ID (your own reference)\"),\n}).describe(\"Request parameters to add a new weather station. Provide external_id, name, geographic coordinates, and altitude.\");\nexport const OpenweatherApiPostAddWeatherStationOutput = z.object({\n ID: z.string().describe(\"Internal OpenWeather station ID\").nullable(),\n name: z.string().describe(\"Station name\").nullable(),\n rank: z.number().int().describe(\"Station rank\").nullable().optional(),\n user_id: z.string().describe(\"User ID that owns the station\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude in meters\").nullable(),\n latitude: z.number().describe(\"Station latitude\").nullable(),\n longitude: z.number().describe(\"Station longitude\").nullable(),\n created_at: z.string().describe(\"ISO datetime when station was created\").nullable(),\n updated_at: z.string().describe(\"ISO datetime when station was last updated\").nullable().optional(),\n external_id: z.string().describe(\"Provided external station ID\").nullable(),\n source_type: z.number().int().describe(\"Source type identifier\").nullable().optional(),\n}).passthrough().describe(\"Response schema for added weather station.\");\n\nexport const openweatherApiPostAddWeatherStation = action(\"OPENWEATHER_API_POST_ADD_WEATHER_STATION\", {\n slug: \"openweather_api-post-add-weather-station\",\n name: \"Add Weather Station\",\n description: \"Tool to add a new weather station to your account. Use when you need to register a station before sending custom data.\",\n input: OpenweatherApiPostAddWeatherStationInput,\n output: OpenweatherApiPostAddWeatherStationOutput,\n});\n"],"mappings":";;AAyBA,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBsD,EAAE,OAAO;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;EACxC,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC7E,CAAC,CAAC,CAAC,SAAS,mHAmBH;CACP,QAnBuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAC3D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
@@ -11,11 +11,11 @@ const OpenweatherApiPostSubmitStationMeasurementsInput = zod.z.object({ measurem
11
11
  station_id: zod.z.string().describe("Internal station ID (obtained from adding a station)"),
12
12
  wind_speed: zod.z.number().describe("Wind speed in m/s").optional(),
13
13
  temperature: zod.z.number().describe("Air temperature in Celsius").optional()
14
- }).describe("A single weather measurement from a station.")).describe("Array of measurement objects to submit") }).describe("Request parameters to submit weather measurements from one or more stations.");
14
+ }).passthrough().describe("A single weather measurement from a station.")).describe("Array of measurement objects to submit") }).describe("Request parameters to submit weather measurements from one or more stations.");
15
15
  const OpenweatherApiPostSubmitStationMeasurementsOutput = zod.z.object({
16
16
  message: zod.z.string().default("Measurements submitted successfully").describe("Status message").nullable().optional(),
17
17
  success: zod.z.boolean().default(true).describe("Indicates successful submission of measurements").nullable().optional()
18
- }).describe("Response schema for submitted measurements. API returns HTTP 204 with no content body on success.");
18
+ }).passthrough().describe("Response schema for submitted measurements. API returns HTTP 204 with no content body on success.");
19
19
  const openweatherApiPostSubmitStationMeasurements = require_action.action("OPENWEATHER_API_POST_SUBMIT_STATION_MEASUREMENTS", {
20
20
  slug: "openweather_api-post-submit-station-measurements",
21
21
  name: "Submit Station Measurements",
@@ -1 +1 @@
1
- {"version":3,"file":"post-submit-station-measurements.cjs","names":["z","action"],"sources":["../../src/actions/post-submit-station-measurements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiPostSubmitStationMeasurementsInput: z.ZodTypeAny = z.object({\n measurements: z.array(z.object({\n dt: z.number().int().describe(\"Time of measurement as Unix timestamp (seconds since epoch)\"),\n rain_1h: z.number().describe(\"Rainfall in the last hour in mm\").optional(),\n humidity: z.number().describe(\"Relative humidity in %\").optional(),\n pressure: z.number().describe(\"Atmospheric pressure in hPa\").optional(),\n wind_deg: z.number().int().describe(\"Wind direction in degrees (0-360)\").optional(),\n wind_gust: z.number().describe(\"Maximum wind gust speed in m/s\").optional(),\n station_id: z.string().describe(\"Internal station ID (obtained from adding a station)\"),\n wind_speed: z.number().describe(\"Wind speed in m/s\").optional(),\n temperature: z.number().describe(\"Air temperature in Celsius\").optional(),\n}).describe(\"A single weather measurement from a station.\")).describe(\"Array of measurement objects to submit\"),\n}).describe(\"Request parameters to submit weather measurements from one or more stations.\");\nexport const OpenweatherApiPostSubmitStationMeasurementsOutput: z.ZodTypeAny = z.object({\n message: z.string().default(\"Measurements submitted successfully\").describe(\"Status message\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates successful submission of measurements\").nullable().optional(),\n}).describe(\"Response schema for submitted measurements. API returns HTTP 204 with no content body on success.\");\n\nexport const openweatherApiPostSubmitStationMeasurements = action(\"OPENWEATHER_API_POST_SUBMIT_STATION_MEASUREMENTS\", {\n slug: \"openweather_api-post-submit-station-measurements\",\n name: \"Submit Station Measurements\",\n description: \"Tool to submit weather measurements from a registered station. Use when you need to send temperature, wind, pressure, humidity, or precipitation data for a station.\",\n input: OpenweatherApiPostSubmitStationMeasurementsInput,\n output: OpenweatherApiPostSubmitStationMeasurementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mDAAiEA,IAAAA,EAAE,OAAO,EACrF,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;C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ACV,CAAC"}
1
+ {"version":3,"file":"post-submit-station-measurements.cjs","names":["z","action"],"sources":["../../src/actions/post-submit-station-measurements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiPostSubmitStationMeasurementsInput = z.object({\n measurements: z.array(z.object({\n dt: z.number().int().describe(\"Time of measurement as Unix timestamp (seconds since epoch)\"),\n rain_1h: z.number().describe(\"Rainfall in the last hour in mm\").optional(),\n humidity: z.number().describe(\"Relative humidity in %\").optional(),\n pressure: z.number().describe(\"Atmospheric pressure in hPa\").optional(),\n wind_deg: z.number().int().describe(\"Wind direction in degrees (0-360)\").optional(),\n wind_gust: z.number().describe(\"Maximum wind gust speed in m/s\").optional(),\n station_id: z.string().describe(\"Internal station ID (obtained from adding a station)\"),\n wind_speed: z.number().describe(\"Wind speed in m/s\").optional(),\n temperature: z.number().describe(\"Air temperature in Celsius\").optional(),\n}).passthrough().describe(\"A single weather measurement from a station.\")).describe(\"Array of measurement objects to submit\"),\n}).describe(\"Request parameters to submit weather measurements from one or more stations.\");\nexport const OpenweatherApiPostSubmitStationMeasurementsOutput = z.object({\n message: z.string().default(\"Measurements submitted successfully\").describe(\"Status message\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates successful submission of measurements\").nullable().optional(),\n}).passthrough().describe(\"Response schema for submitted measurements. API returns HTTP 204 with no content body on success.\");\n\nexport const openweatherApiPostSubmitStationMeasurements = action(\"OPENWEATHER_API_POST_SUBMIT_STATION_MEASUREMENTS\", {\n slug: \"openweather_api-post-submit-station-measurements\",\n name: \"Submit Station Measurements\",\n description: \"Tool to submit weather measurements from a registered station. Use when you need to send temperature, wind, pressure, humidity, or precipitation data for a station.\",\n input: OpenweatherApiPostSubmitStationMeasurementsInput,\n output: OpenweatherApiPostSubmitStationMeasurementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mDAAmDA,IAAAA,EAAE,OAAO,EACvE,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,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