@keystrokehq/openweather_api 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/delete-weather-station.cjs +1 -1
  4. package/dist/actions/delete-weather-station.cjs.map +1 -1
  5. package/dist/actions/delete-weather-station.d.cts +9 -3
  6. package/dist/actions/delete-weather-station.d.cts.map +1 -1
  7. package/dist/actions/delete-weather-station.d.mts +9 -3
  8. package/dist/actions/delete-weather-station.d.mts.map +1 -1
  9. package/dist/actions/delete-weather-station.mjs +1 -1
  10. package/dist/actions/delete-weather-station.mjs.map +1 -1
  11. package/dist/actions/get-air-pollution-current.cjs +12 -12
  12. package/dist/actions/get-air-pollution-current.cjs.map +1 -1
  13. package/dist/actions/get-air-pollution-current.d.cts +30 -3
  14. package/dist/actions/get-air-pollution-current.d.cts.map +1 -1
  15. package/dist/actions/get-air-pollution-current.d.mts +30 -3
  16. package/dist/actions/get-air-pollution-current.d.mts.map +1 -1
  17. package/dist/actions/get-air-pollution-current.mjs +12 -12
  18. package/dist/actions/get-air-pollution-current.mjs.map +1 -1
  19. package/dist/actions/get-air-pollution-forecast.cjs +12 -12
  20. package/dist/actions/get-air-pollution-forecast.cjs.map +1 -1
  21. package/dist/actions/get-air-pollution-forecast.d.cts +30 -3
  22. package/dist/actions/get-air-pollution-forecast.d.cts.map +1 -1
  23. package/dist/actions/get-air-pollution-forecast.d.mts +30 -3
  24. package/dist/actions/get-air-pollution-forecast.d.mts.map +1 -1
  25. package/dist/actions/get-air-pollution-forecast.mjs +12 -12
  26. package/dist/actions/get-air-pollution-forecast.mjs.map +1 -1
  27. package/dist/actions/get-air-pollution-history.cjs +10 -10
  28. package/dist/actions/get-air-pollution-history.cjs.map +1 -1
  29. package/dist/actions/get-air-pollution-history.d.cts +31 -3
  30. package/dist/actions/get-air-pollution-history.d.cts.map +1 -1
  31. package/dist/actions/get-air-pollution-history.d.mts +31 -3
  32. package/dist/actions/get-air-pollution-history.d.mts.map +1 -1
  33. package/dist/actions/get-air-pollution-history.mjs +10 -10
  34. package/dist/actions/get-air-pollution-history.mjs.map +1 -1
  35. package/dist/actions/get-circle-city-weather.cjs +21 -21
  36. package/dist/actions/get-circle-city-weather.cjs.map +1 -1
  37. package/dist/actions/get-circle-city-weather.d.cts +75 -3
  38. package/dist/actions/get-circle-city-weather.d.cts.map +1 -1
  39. package/dist/actions/get-circle-city-weather.d.mts +75 -3
  40. package/dist/actions/get-circle-city-weather.d.mts.map +1 -1
  41. package/dist/actions/get-circle-city-weather.mjs +21 -21
  42. package/dist/actions/get-circle-city-weather.mjs.map +1 -1
  43. package/dist/actions/get-current-weather.cjs +24 -24
  44. package/dist/actions/get-current-weather.cjs.map +1 -1
  45. package/dist/actions/get-current-weather.d.cts +74 -3
  46. package/dist/actions/get-current-weather.d.cts.map +1 -1
  47. package/dist/actions/get-current-weather.d.mts +74 -3
  48. package/dist/actions/get-current-weather.d.mts.map +1 -1
  49. package/dist/actions/get-current-weather.mjs +24 -24
  50. package/dist/actions/get-current-weather.mjs.map +1 -1
  51. package/dist/actions/get-geocoding-by-zip.cjs +5 -5
  52. package/dist/actions/get-geocoding-by-zip.cjs.map +1 -1
  53. package/dist/actions/get-geocoding-by-zip.d.cts +13 -3
  54. package/dist/actions/get-geocoding-by-zip.d.cts.map +1 -1
  55. package/dist/actions/get-geocoding-by-zip.d.mts +13 -3
  56. package/dist/actions/get-geocoding-by-zip.d.mts.map +1 -1
  57. package/dist/actions/get-geocoding-by-zip.mjs +5 -5
  58. package/dist/actions/get-geocoding-by-zip.mjs.map +1 -1
  59. package/dist/actions/get-geocoding-direct.cjs.map +1 -1
  60. package/dist/actions/get-geocoding-direct.d.cts +9 -3
  61. package/dist/actions/get-geocoding-direct.d.cts.map +1 -1
  62. package/dist/actions/get-geocoding-direct.d.mts +9 -3
  63. package/dist/actions/get-geocoding-direct.d.mts.map +1 -1
  64. package/dist/actions/get-geocoding-direct.mjs.map +1 -1
  65. package/dist/actions/get-geocoding-reverse.cjs.map +1 -1
  66. package/dist/actions/get-geocoding-reverse.d.cts +11 -3
  67. package/dist/actions/get-geocoding-reverse.d.cts.map +1 -1
  68. package/dist/actions/get-geocoding-reverse.d.mts +11 -3
  69. package/dist/actions/get-geocoding-reverse.d.mts.map +1 -1
  70. package/dist/actions/get-geocoding-reverse.mjs.map +1 -1
  71. package/dist/actions/get-station-measurements.cjs.map +1 -1
  72. package/dist/actions/get-station-measurements.d.cts +30 -3
  73. package/dist/actions/get-station-measurements.d.cts.map +1 -1
  74. package/dist/actions/get-station-measurements.d.mts +30 -3
  75. package/dist/actions/get-station-measurements.d.mts.map +1 -1
  76. package/dist/actions/get-station-measurements.mjs.map +1 -1
  77. package/dist/actions/get-uv-index-forecast.cjs.map +1 -1
  78. package/dist/actions/get-uv-index-forecast.d.cts +11 -3
  79. package/dist/actions/get-uv-index-forecast.d.cts.map +1 -1
  80. package/dist/actions/get-uv-index-forecast.d.mts +11 -3
  81. package/dist/actions/get-uv-index-forecast.d.mts.map +1 -1
  82. package/dist/actions/get-uv-index-forecast.mjs.map +1 -1
  83. package/dist/actions/get-uv-index-history.cjs +5 -5
  84. package/dist/actions/get-uv-index-history.cjs.map +1 -1
  85. package/dist/actions/get-uv-index-history.d.cts +21 -3
  86. package/dist/actions/get-uv-index-history.d.cts.map +1 -1
  87. package/dist/actions/get-uv-index-history.d.mts +21 -3
  88. package/dist/actions/get-uv-index-history.d.mts.map +1 -1
  89. package/dist/actions/get-uv-index-history.mjs +5 -5
  90. package/dist/actions/get-uv-index-history.mjs.map +1 -1
  91. package/dist/actions/get-uv-index.cjs +5 -5
  92. package/dist/actions/get-uv-index.cjs.map +1 -1
  93. package/dist/actions/get-uv-index.d.cts +15 -3
  94. package/dist/actions/get-uv-index.d.cts.map +1 -1
  95. package/dist/actions/get-uv-index.d.mts +15 -3
  96. package/dist/actions/get-uv-index.d.mts.map +1 -1
  97. package/dist/actions/get-uv-index.mjs +5 -5
  98. package/dist/actions/get-uv-index.mjs.map +1 -1
  99. package/dist/actions/get-weather-map-tile.cjs +1 -1
  100. package/dist/actions/get-weather-map-tile.cjs.map +1 -1
  101. package/dist/actions/get-weather-map-tile.d.cts +40 -3
  102. package/dist/actions/get-weather-map-tile.d.cts.map +1 -1
  103. package/dist/actions/get-weather-map-tile.d.mts +40 -3
  104. package/dist/actions/get-weather-map-tile.d.mts.map +1 -1
  105. package/dist/actions/get-weather-map-tile.mjs +1 -1
  106. package/dist/actions/get-weather-map-tile.mjs.map +1 -1
  107. package/dist/actions/get-weather-station.cjs +6 -6
  108. package/dist/actions/get-weather-station.cjs.map +1 -1
  109. package/dist/actions/get-weather-station.d.cts +17 -3
  110. package/dist/actions/get-weather-station.d.cts.map +1 -1
  111. package/dist/actions/get-weather-station.d.mts +17 -3
  112. package/dist/actions/get-weather-station.d.mts.map +1 -1
  113. package/dist/actions/get-weather-station.mjs +6 -6
  114. package/dist/actions/get-weather-station.mjs.map +1 -1
  115. package/dist/actions/get-weather-stations.cjs +6 -6
  116. package/dist/actions/get-weather-stations.cjs.map +1 -1
  117. package/dist/actions/get-weather-stations.d.cts +15 -3
  118. package/dist/actions/get-weather-stations.d.cts.map +1 -1
  119. package/dist/actions/get-weather-stations.d.mts +15 -3
  120. package/dist/actions/get-weather-stations.d.mts.map +1 -1
  121. package/dist/actions/get-weather-stations.mjs +6 -6
  122. package/dist/actions/get-weather-stations.mjs.map +1 -1
  123. package/dist/actions/get-weather-triggers.cjs +2 -2
  124. package/dist/actions/get-weather-triggers.cjs.map +1 -1
  125. package/dist/actions/get-weather-triggers.d.cts +34 -3
  126. package/dist/actions/get-weather-triggers.d.cts.map +1 -1
  127. package/dist/actions/get-weather-triggers.d.mts +34 -3
  128. package/dist/actions/get-weather-triggers.d.mts.map +1 -1
  129. package/dist/actions/get-weather-triggers.mjs +2 -2
  130. package/dist/actions/get-weather-triggers.mjs.map +1 -1
  131. package/dist/actions/get5-day-forecast.cjs +28 -28
  132. package/dist/actions/get5-day-forecast.cjs.map +1 -1
  133. package/dist/actions/get5-day-forecast.d.cts +88 -3
  134. package/dist/actions/get5-day-forecast.d.cts.map +1 -1
  135. package/dist/actions/get5-day-forecast.d.mts +88 -3
  136. package/dist/actions/get5-day-forecast.d.mts.map +1 -1
  137. package/dist/actions/get5-day-forecast.mjs +28 -28
  138. package/dist/actions/get5-day-forecast.mjs.map +1 -1
  139. package/dist/actions/post-add-weather-station.cjs +7 -7
  140. package/dist/actions/post-add-weather-station.cjs.map +1 -1
  141. package/dist/actions/post-add-weather-station.d.cts +27 -3
  142. package/dist/actions/post-add-weather-station.d.cts.map +1 -1
  143. package/dist/actions/post-add-weather-station.d.mts +27 -3
  144. package/dist/actions/post-add-weather-station.d.mts.map +1 -1
  145. package/dist/actions/post-add-weather-station.mjs +7 -7
  146. package/dist/actions/post-add-weather-station.mjs.map +1 -1
  147. package/dist/actions/post-submit-station-measurements.cjs.map +1 -1
  148. package/dist/actions/post-submit-station-measurements.d.cts +30 -3
  149. package/dist/actions/post-submit-station-measurements.d.cts.map +1 -1
  150. package/dist/actions/post-submit-station-measurements.d.mts +30 -3
  151. package/dist/actions/post-submit-station-measurements.d.mts.map +1 -1
  152. package/dist/actions/post-submit-station-measurements.mjs.map +1 -1
  153. package/dist/actions/update-weather-station.cjs +3 -3
  154. package/dist/actions/update-weather-station.cjs.map +1 -1
  155. package/dist/actions/update-weather-station.d.cts +26 -3
  156. package/dist/actions/update-weather-station.d.cts.map +1 -1
  157. package/dist/actions/update-weather-station.d.mts +26 -3
  158. package/dist/actions/update-weather-station.d.mts.map +1 -1
  159. package/dist/actions/update-weather-station.mjs +3 -3
  160. package/dist/actions/update-weather-station.mjs.map +1 -1
  161. package/dist/catalog.cjs +7 -1
  162. package/dist/catalog.cjs.map +1 -1
  163. package/dist/catalog.d.cts +8 -0
  164. package/dist/catalog.d.mts +8 -0
  165. package/dist/catalog.mjs +7 -1
  166. package/dist/catalog.mjs.map +1 -1
  167. package/package.json +2 -2
@@ -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}).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,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC7E,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAC/H,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,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,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC3D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC1E,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,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.$strip>;
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.$strip>;
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,16 +12,16 @@ 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
26
  }).describe("Response schema for added weather station.")
27
27
  });
@@ -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}).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,SAAS,4CAOF;AACV,CAAC"}
@@ -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;CAC/B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,wCAAwC,EAC9G,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAa,oDAAkEA,IAAAA,EAAE,OAAO;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,qCAAqC,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,mGAAmG;AAE/G,MAAa,8CAA8CC,eAAAA,OAAO,oDAAoD;CACpH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,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}).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}).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,EAAE,OAAO;CAC/B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,wCAAwC,EAC9G,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAa,oDAAoDA,IAAAA,EAAE,OAAO;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,qCAAqC,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,mGAAmG;AAE/G,MAAa,8CAA8CC,eAAAA,OAAO,oDAAoD;CACpH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-submit-station-measurements.d.ts
4
- declare const OpenweatherApiPostSubmitStationMeasurementsInput: z.ZodTypeAny;
5
- declare const OpenweatherApiPostSubmitStationMeasurementsOutput: z.ZodTypeAny;
6
- declare const openweatherApiPostSubmitStationMeasurements: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OpenweatherApiPostSubmitStationMeasurementsInput: z.ZodObject<{
5
+ measurements: z.ZodArray<z.ZodObject<{
6
+ dt: z.ZodNumber;
7
+ rain_1h: z.ZodOptional<z.ZodNumber>;
8
+ humidity: z.ZodOptional<z.ZodNumber>;
9
+ pressure: z.ZodOptional<z.ZodNumber>;
10
+ wind_deg: z.ZodOptional<z.ZodNumber>;
11
+ wind_gust: z.ZodOptional<z.ZodNumber>;
12
+ station_id: z.ZodString;
13
+ wind_speed: z.ZodOptional<z.ZodNumber>;
14
+ temperature: z.ZodOptional<z.ZodNumber>;
15
+ }, z.core.$strip>>;
16
+ }, z.core.$strip>;
17
+ declare const OpenweatherApiPostSubmitStationMeasurementsOutput: z.ZodObject<{
18
+ message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
19
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
20
+ }, z.core.$strip>;
21
+ declare const openweatherApiPostSubmitStationMeasurements: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ measurements: {
23
+ dt: number;
24
+ station_id: string;
25
+ rain_1h?: number | undefined;
26
+ humidity?: number | undefined;
27
+ pressure?: number | undefined;
28
+ wind_deg?: number | undefined;
29
+ wind_gust?: number | undefined;
30
+ wind_speed?: number | undefined;
31
+ temperature?: number | undefined;
32
+ }[];
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
34
  //#endregion
8
35
  export { openweatherApiPostSubmitStationMeasurements };
9
36
  //# sourceMappingURL=post-submit-station-measurements.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-submit-station-measurements.d.cts","names":[],"sources":["../../src/actions/post-submit-station-measurements.ts"],"mappings":";;;cAIa,gDAAA,EAAkD,CAAA,CAAE,UAY0B;AAAA,cAC9E,iDAAA,EAAmD,CAAA,CAAE,UAG8C;AAAA,cAEnG,2CAAA,gCAA2C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"post-submit-station-measurements.d.cts","names":[],"sources":["../../src/actions/post-submit-station-measurements.ts"],"mappings":";;;cAIa,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAahD,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;;cAKjD,2CAAA,gCAA2C,wBAAA"}
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-submit-station-measurements.d.ts
4
- declare const OpenweatherApiPostSubmitStationMeasurementsInput: z.ZodTypeAny;
5
- declare const OpenweatherApiPostSubmitStationMeasurementsOutput: z.ZodTypeAny;
6
- declare const openweatherApiPostSubmitStationMeasurements: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OpenweatherApiPostSubmitStationMeasurementsInput: z.ZodObject<{
5
+ measurements: z.ZodArray<z.ZodObject<{
6
+ dt: z.ZodNumber;
7
+ rain_1h: z.ZodOptional<z.ZodNumber>;
8
+ humidity: z.ZodOptional<z.ZodNumber>;
9
+ pressure: z.ZodOptional<z.ZodNumber>;
10
+ wind_deg: z.ZodOptional<z.ZodNumber>;
11
+ wind_gust: z.ZodOptional<z.ZodNumber>;
12
+ station_id: z.ZodString;
13
+ wind_speed: z.ZodOptional<z.ZodNumber>;
14
+ temperature: z.ZodOptional<z.ZodNumber>;
15
+ }, z.core.$strip>>;
16
+ }, z.core.$strip>;
17
+ declare const OpenweatherApiPostSubmitStationMeasurementsOutput: z.ZodObject<{
18
+ message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
19
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
20
+ }, z.core.$strip>;
21
+ declare const openweatherApiPostSubmitStationMeasurements: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ measurements: {
23
+ dt: number;
24
+ station_id: string;
25
+ rain_1h?: number | undefined;
26
+ humidity?: number | undefined;
27
+ pressure?: number | undefined;
28
+ wind_deg?: number | undefined;
29
+ wind_gust?: number | undefined;
30
+ wind_speed?: number | undefined;
31
+ temperature?: number | undefined;
32
+ }[];
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
34
  //#endregion
8
35
  export { openweatherApiPostSubmitStationMeasurements };
9
36
  //# sourceMappingURL=post-submit-station-measurements.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-submit-station-measurements.d.mts","names":[],"sources":["../../src/actions/post-submit-station-measurements.ts"],"mappings":";;;cAIa,gDAAA,EAAkD,CAAA,CAAE,UAY0B;AAAA,cAC9E,iDAAA,EAAmD,CAAA,CAAE,UAG8C;AAAA,cAEnG,2CAAA,gCAA2C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"post-submit-station-measurements.d.mts","names":[],"sources":["../../src/actions/post-submit-station-measurements.ts"],"mappings":";;;cAIa,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAahD,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;;cAKjD,2CAAA,gCAA2C,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"post-submit-station-measurements.mjs","names":[],"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":";;AAsBA,MAAa,8CAA8C,OAAO,oDAAoD;CACpH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB4E,EAAE,OAAO,EACrF,cAAc,EAAE,MAAM,EAAE,OAAO;EAC/B,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC9D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC1E,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,wCAAwC,EAC9G,CAAC,CAAC,CAAC,SAAS,8EAUH;CACP,QAV6E,EAAE,OAAO;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,qCAAqC,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,mGAOF;AACV,CAAC"}
1
+ {"version":3,"file":"post-submit-station-measurements.mjs","names":[],"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}).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}).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":";;AAsBA,MAAa,8CAA8C,OAAO,oDAAoD;CACpH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB8D,EAAE,OAAO,EACvE,cAAc,EAAE,MAAM,EAAE,OAAO;EAC/B,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC9D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC1E,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,wCAAwC,EAC9G,CAAC,CAAC,CAAC,SAAS,8EAUH;CACP,QAV+D,EAAE,OAAO;EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,qCAAqC,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,mGAOF;AACV,CAAC"}
@@ -10,11 +10,11 @@ const OpenweatherApiUpdateWeatherStationInput = zod.z.object({
10
10
  external_id: zod.z.string().describe("Custom user-provided external identifier for the station").optional()
11
11
  }).describe("Request parameters to update an existing weather station. Provide the station_id path parameter and at least the latitude and longitude for location.");
12
12
  const OpenweatherApiUpdateWeatherStationOutput = zod.z.object({
13
- ID: zod.z.string().describe("Station identifier"),
13
+ ID: zod.z.string().describe("Station identifier").nullable(),
14
14
  name: zod.z.string().describe("Station name").nullable().optional(),
15
15
  altitude: zod.z.number().describe("Altitude of the station above sea level in meters").nullable().optional(),
16
- latitude: zod.z.number().describe("Latitude of the station in degrees"),
17
- longitude: zod.z.number().describe("Longitude of the station in degrees"),
16
+ latitude: zod.z.number().describe("Latitude of the station in degrees").nullable(),
17
+ longitude: zod.z.number().describe("Longitude of the station in degrees").nullable(),
18
18
  created_at: zod.z.string().describe("ISO datetime when station was created").nullable().optional(),
19
19
  updated_at: zod.z.string().describe("ISO datetime when station was last updated").nullable().optional(),
20
20
  external_id: zod.z.string().describe("Custom user-provided external identifier").nullable().optional()
@@ -1 +1 @@
1
- {"version":3,"file":"update-weather-station.cjs","names":["z","action"],"sources":["../../src/actions/update-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiUpdateWeatherStationInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Human-readable name for the station\").optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees, between -90 and 90\"),\n longitude: z.number().describe(\"Longitude of the station in degrees, between -180 and 180\"),\n station_id: z.string().describe(\"Unique identifier of the weather station to update\"),\n external_id: z.string().describe(\"Custom user-provided external identifier for the station\").optional(),\n}).describe(\"Request parameters to update an existing weather station. Provide the station_id path parameter and at least the latitude and longitude for location.\");\nexport const OpenweatherApiUpdateWeatherStationOutput: z.ZodTypeAny = z.object({\n ID: z.string().describe(\"Station identifier\"),\n name: z.string().describe(\"Station name\").nullable().optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees\"),\n longitude: z.number().describe(\"Longitude of the station in degrees\"),\n created_at: z.string().describe(\"ISO datetime when station was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO datetime when station was last updated\").nullable().optional(),\n external_id: z.string().describe(\"Custom user-provided external identifier\").nullable().optional(),\n}).describe(\"Response schema for the updated weather station.\");\n\nexport const openweatherApiUpdateWeatherStation = action(\"OPENWEATHER_API_UPDATE_WEATHER_STATION\", {\n slug: \"openweather_api-update-weather-station\",\n name: \"Update Weather Station\",\n description: \"Tool to update weather station details. Use when you need to modify the name, location, or external ID of an existing station.\",\n input: OpenweatherApiUpdateWeatherStationInput,\n output: OpenweatherApiUpdateWeatherStationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,uJAAuJ;AACnK,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-weather-station.cjs","names":["z","action"],"sources":["../../src/actions/update-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiUpdateWeatherStationInput = z.object({\n name: z.string().describe(\"Human-readable name for the station\").optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees, between -90 and 90\"),\n longitude: z.number().describe(\"Longitude of the station in degrees, between -180 and 180\"),\n station_id: z.string().describe(\"Unique identifier of the weather station to update\"),\n external_id: z.string().describe(\"Custom user-provided external identifier for the station\").optional(),\n}).describe(\"Request parameters to update an existing weather station. Provide the station_id path parameter and at least the latitude and longitude for location.\");\nexport const OpenweatherApiUpdateWeatherStationOutput = z.object({\n ID: z.string().describe(\"Station identifier\").nullable(),\n name: z.string().describe(\"Station name\").nullable().optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees\").nullable(),\n longitude: z.number().describe(\"Longitude of the station in degrees\").nullable(),\n created_at: z.string().describe(\"ISO datetime when station was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO datetime when station was last updated\").nullable().optional(),\n external_id: z.string().describe(\"Custom user-provided external identifier\").nullable().optional(),\n}).describe(\"Response schema for the updated weather station.\");\n\nexport const openweatherApiUpdateWeatherStation = action(\"OPENWEATHER_API_UPDATE_WEATHER_STATION\", {\n slug: \"openweather_api-update-weather-station\",\n name: \"Update Weather Station\",\n description: \"Tool to update weather station details. Use when you need to modify the name, location, or external ID of an existing station.\",\n input: OpenweatherApiUpdateWeatherStationInput,\n output: OpenweatherApiUpdateWeatherStationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,uJAAuJ;AACnK,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-weather-station.d.ts
4
- declare const OpenweatherApiUpdateWeatherStationInput: z.ZodTypeAny;
5
- declare const OpenweatherApiUpdateWeatherStationOutput: z.ZodTypeAny;
6
- declare const openweatherApiUpdateWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OpenweatherApiUpdateWeatherStationInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ altitude: z.ZodOptional<z.ZodNumber>;
7
+ latitude: z.ZodNumber;
8
+ longitude: z.ZodNumber;
9
+ station_id: z.ZodString;
10
+ external_id: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const OpenweatherApiUpdateWeatherStationOutput: z.ZodObject<{
13
+ ID: z.ZodNullable<z.ZodString>;
14
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ altitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ latitude: z.ZodNullable<z.ZodNumber>;
17
+ longitude: z.ZodNullable<z.ZodNumber>;
18
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$strip>;
22
+ declare const openweatherApiUpdateWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ latitude: number;
24
+ longitude: number;
25
+ station_id: string;
26
+ name?: string | undefined;
27
+ altitude?: number | undefined;
28
+ external_id?: string | undefined;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { openweatherApiUpdateWeatherStation };
9
32
  //# sourceMappingURL=update-weather-station.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-weather-station.d.cts","names":[],"sources":["../../src/actions/update-weather-station.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAO4G;AAAA,cACvJ,wCAAA,EAA0C,CAAA,CAAE,UASM;AAAA,cAElD,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-weather-station.d.cts","names":[],"sources":["../../src/actions/update-weather-station.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;cAQvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;cAWxC,kCAAA,gCAAkC,wBAAA"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-weather-station.d.ts
4
- declare const OpenweatherApiUpdateWeatherStationInput: z.ZodTypeAny;
5
- declare const OpenweatherApiUpdateWeatherStationOutput: z.ZodTypeAny;
6
- declare const openweatherApiUpdateWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OpenweatherApiUpdateWeatherStationInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ altitude: z.ZodOptional<z.ZodNumber>;
7
+ latitude: z.ZodNumber;
8
+ longitude: z.ZodNumber;
9
+ station_id: z.ZodString;
10
+ external_id: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const OpenweatherApiUpdateWeatherStationOutput: z.ZodObject<{
13
+ ID: z.ZodNullable<z.ZodString>;
14
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ altitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ latitude: z.ZodNullable<z.ZodNumber>;
17
+ longitude: z.ZodNullable<z.ZodNumber>;
18
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$strip>;
22
+ declare const openweatherApiUpdateWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ latitude: number;
24
+ longitude: number;
25
+ station_id: string;
26
+ name?: string | undefined;
27
+ altitude?: number | undefined;
28
+ external_id?: string | undefined;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { openweatherApiUpdateWeatherStation };
9
32
  //# sourceMappingURL=update-weather-station.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-weather-station.d.mts","names":[],"sources":["../../src/actions/update-weather-station.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAO4G;AAAA,cACvJ,wCAAA,EAA0C,CAAA,CAAE,UASM;AAAA,cAElD,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-weather-station.d.mts","names":[],"sources":["../../src/actions/update-weather-station.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;cAQvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;cAWxC,kCAAA,gCAAkC,wBAAA"}
@@ -13,11 +13,11 @@ const openweatherApiUpdateWeatherStation = action("OPENWEATHER_API_UPDATE_WEATHE
13
13
  external_id: z.string().describe("Custom user-provided external identifier for the station").optional()
14
14
  }).describe("Request parameters to update an existing weather station. Provide the station_id path parameter and at least the latitude and longitude for location."),
15
15
  output: z.object({
16
- ID: z.string().describe("Station identifier"),
16
+ ID: z.string().describe("Station identifier").nullable(),
17
17
  name: z.string().describe("Station name").nullable().optional(),
18
18
  altitude: z.number().describe("Altitude of the station above sea level in meters").nullable().optional(),
19
- latitude: z.number().describe("Latitude of the station in degrees"),
20
- longitude: z.number().describe("Longitude of the station in degrees"),
19
+ latitude: z.number().describe("Latitude of the station in degrees").nullable(),
20
+ longitude: z.number().describe("Longitude of the station in degrees").nullable(),
21
21
  created_at: z.string().describe("ISO datetime when station was created").nullable().optional(),
22
22
  updated_at: z.string().describe("ISO datetime when station was last updated").nullable().optional(),
23
23
  external_id: z.string().describe("Custom user-provided external identifier").nullable().optional()
@@ -1 +1 @@
1
- {"version":3,"file":"update-weather-station.mjs","names":[],"sources":["../../src/actions/update-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiUpdateWeatherStationInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Human-readable name for the station\").optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees, between -90 and 90\"),\n longitude: z.number().describe(\"Longitude of the station in degrees, between -180 and 180\"),\n station_id: z.string().describe(\"Unique identifier of the weather station to update\"),\n external_id: z.string().describe(\"Custom user-provided external identifier for the station\").optional(),\n}).describe(\"Request parameters to update an existing weather station. Provide the station_id path parameter and at least the latitude and longitude for location.\");\nexport const OpenweatherApiUpdateWeatherStationOutput: z.ZodTypeAny = z.object({\n ID: z.string().describe(\"Station identifier\"),\n name: z.string().describe(\"Station name\").nullable().optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees\"),\n longitude: z.number().describe(\"Longitude of the station in degrees\"),\n created_at: z.string().describe(\"ISO datetime when station was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO datetime when station was last updated\").nullable().optional(),\n external_id: z.string().describe(\"Custom user-provided external identifier\").nullable().optional(),\n}).describe(\"Response schema for the updated weather station.\");\n\nexport const openweatherApiUpdateWeatherStation = action(\"OPENWEATHER_API_UPDATE_WEATHER_STATION\", {\n slug: \"openweather_api-update-weather-station\",\n name: \"Update Weather Station\",\n description: \"Tool to update weather station details. Use when you need to modify the name, location, or external ID of an existing station.\",\n input: OpenweatherApiUpdateWeatherStationInput,\n output: OpenweatherApiUpdateWeatherStationOutput,\n});\n"],"mappings":";;AAuBA,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBmE,EAAE,OAAO;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,SAAS,uJAgBH;CACP,QAhBoE,EAAE,OAAO;EAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-weather-station.mjs","names":[],"sources":["../../src/actions/update-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiUpdateWeatherStationInput = z.object({\n name: z.string().describe(\"Human-readable name for the station\").optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees, between -90 and 90\"),\n longitude: z.number().describe(\"Longitude of the station in degrees, between -180 and 180\"),\n station_id: z.string().describe(\"Unique identifier of the weather station to update\"),\n external_id: z.string().describe(\"Custom user-provided external identifier for the station\").optional(),\n}).describe(\"Request parameters to update an existing weather station. Provide the station_id path parameter and at least the latitude and longitude for location.\");\nexport const OpenweatherApiUpdateWeatherStationOutput = z.object({\n ID: z.string().describe(\"Station identifier\").nullable(),\n name: z.string().describe(\"Station name\").nullable().optional(),\n altitude: z.number().describe(\"Altitude of the station above sea level in meters\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the station in degrees\").nullable(),\n longitude: z.number().describe(\"Longitude of the station in degrees\").nullable(),\n created_at: z.string().describe(\"ISO datetime when station was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO datetime when station was last updated\").nullable().optional(),\n external_id: z.string().describe(\"Custom user-provided external identifier\").nullable().optional(),\n}).describe(\"Response schema for the updated weather station.\");\n\nexport const openweatherApiUpdateWeatherStation = action(\"OPENWEATHER_API_UPDATE_WEATHER_STATION\", {\n slug: \"openweather_api-update-weather-station\",\n name: \"Update Weather Station\",\n description: \"Tool to update weather station details. Use when you need to modify the name, location, or external ID of an existing station.\",\n input: OpenweatherApiUpdateWeatherStationInput,\n output: OpenweatherApiUpdateWeatherStationOutput,\n});\n"],"mappings":";;AAuBA,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,SAAS,uJAgBH;CACP,QAhBsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const openweatherApiCatalog = {
7
7
  "category": "Developer Tools",
8
8
  "logo": "https://logos.composio.dev/api/openweather_api",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "OpenWeather API Key",
13
+ "secret": true,
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."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.openweatherApiCatalog = openweatherApiCatalog;
@@ -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} as const;\n"],"mappings":";;AACA,MAAa,wBAAwB;CACnC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
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"}
@@ -8,6 +8,14 @@ declare const openweatherApiCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/openweather_api";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "OpenWeather API Key";
14
+ readonly secret: true;
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.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { openweatherApiCatalog };
@@ -8,6 +8,14 @@ declare const openweatherApiCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/openweather_api";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "OpenWeather API Key";
14
+ readonly secret: true;
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.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { openweatherApiCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const openweatherApiCatalog = {
7
7
  "category": "Developer Tools",
8
8
  "logo": "https://logos.composio.dev/api/openweather_api",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "OpenWeather API Key",
13
+ "secret": true,
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."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { openweatherApiCatalog };
@@ -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} as const;\n"],"mappings":";;AACA,MAAa,wBAAwB;CACnC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/openweather_api",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {