@keystrokehq/pushover 0.1.0

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 (266) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/cancel-receipt-retries.cjs +23 -0
  7. package/dist/actions/cancel-receipt-retries.cjs.map +1 -0
  8. package/dist/actions/cancel-receipt-retries.d.cts +9 -0
  9. package/dist/actions/cancel-receipt-retries.d.cts.map +1 -0
  10. package/dist/actions/cancel-receipt-retries.d.mts +9 -0
  11. package/dist/actions/cancel-receipt-retries.d.mts.map +1 -0
  12. package/dist/actions/cancel-receipt-retries.mjs +20 -0
  13. package/dist/actions/cancel-receipt-retries.mjs.map +1 -0
  14. package/dist/actions/cancel-retries-by-tag.cjs +23 -0
  15. package/dist/actions/cancel-retries-by-tag.cjs.map +1 -0
  16. package/dist/actions/cancel-retries-by-tag.d.cts +9 -0
  17. package/dist/actions/cancel-retries-by-tag.d.cts.map +1 -0
  18. package/dist/actions/cancel-retries-by-tag.d.mts +9 -0
  19. package/dist/actions/cancel-retries-by-tag.d.mts.map +1 -0
  20. package/dist/actions/cancel-retries-by-tag.mjs +20 -0
  21. package/dist/actions/cancel-retries-by-tag.mjs.map +1 -0
  22. package/dist/actions/client-ack-delete-up-to-id.cjs +30 -0
  23. package/dist/actions/client-ack-delete-up-to-id.cjs.map +1 -0
  24. package/dist/actions/client-ack-delete-up-to-id.d.cts +9 -0
  25. package/dist/actions/client-ack-delete-up-to-id.d.cts.map +1 -0
  26. package/dist/actions/client-ack-delete-up-to-id.d.mts +9 -0
  27. package/dist/actions/client-ack-delete-up-to-id.d.mts.map +1 -0
  28. package/dist/actions/client-ack-delete-up-to-id.mjs +27 -0
  29. package/dist/actions/client-ack-delete-up-to-id.mjs.map +1 -0
  30. package/dist/actions/client-fetch-messages.cjs +49 -0
  31. package/dist/actions/client-fetch-messages.cjs.map +1 -0
  32. package/dist/actions/client-fetch-messages.d.cts +9 -0
  33. package/dist/actions/client-fetch-messages.d.cts.map +1 -0
  34. package/dist/actions/client-fetch-messages.d.mts +9 -0
  35. package/dist/actions/client-fetch-messages.d.mts.map +1 -0
  36. package/dist/actions/client-fetch-messages.mjs +48 -0
  37. package/dist/actions/client-fetch-messages.mjs.map +1 -0
  38. package/dist/actions/client-login.cjs +28 -0
  39. package/dist/actions/client-login.cjs.map +1 -0
  40. package/dist/actions/client-login.d.cts +9 -0
  41. package/dist/actions/client-login.d.cts.map +1 -0
  42. package/dist/actions/client-login.d.mts +9 -0
  43. package/dist/actions/client-login.d.mts.map +1 -0
  44. package/dist/actions/client-login.mjs +25 -0
  45. package/dist/actions/client-login.mjs.map +1 -0
  46. package/dist/actions/client-realtime-websocket.cjs +25 -0
  47. package/dist/actions/client-realtime-websocket.cjs.map +1 -0
  48. package/dist/actions/client-realtime-websocket.d.cts +9 -0
  49. package/dist/actions/client-realtime-websocket.d.cts.map +1 -0
  50. package/dist/actions/client-realtime-websocket.d.mts +9 -0
  51. package/dist/actions/client-realtime-websocket.d.mts.map +1 -0
  52. package/dist/actions/client-realtime-websocket.mjs +24 -0
  53. package/dist/actions/client-realtime-websocket.mjs.map +1 -0
  54. package/dist/actions/client-register-device.cjs +27 -0
  55. package/dist/actions/client-register-device.cjs.map +1 -0
  56. package/dist/actions/client-register-device.d.cts +9 -0
  57. package/dist/actions/client-register-device.d.cts.map +1 -0
  58. package/dist/actions/client-register-device.d.mts +9 -0
  59. package/dist/actions/client-register-device.d.mts.map +1 -0
  60. package/dist/actions/client-register-device.mjs +24 -0
  61. package/dist/actions/client-register-device.mjs.map +1 -0
  62. package/dist/actions/get-app-icon-image.cjs +26 -0
  63. package/dist/actions/get-app-icon-image.cjs.map +1 -0
  64. package/dist/actions/get-app-icon-image.d.cts +9 -0
  65. package/dist/actions/get-app-icon-image.d.cts.map +1 -0
  66. package/dist/actions/get-app-icon-image.d.mts +9 -0
  67. package/dist/actions/get-app-icon-image.d.mts.map +1 -0
  68. package/dist/actions/get-app-icon-image.mjs +25 -0
  69. package/dist/actions/get-app-icon-image.mjs.map +1 -0
  70. package/dist/actions/get-app-limits.cjs +24 -0
  71. package/dist/actions/get-app-limits.cjs.map +1 -0
  72. package/dist/actions/get-app-limits.d.cts +9 -0
  73. package/dist/actions/get-app-limits.d.cts.map +1 -0
  74. package/dist/actions/get-app-limits.d.mts +9 -0
  75. package/dist/actions/get-app-limits.d.mts.map +1 -0
  76. package/dist/actions/get-app-limits.mjs +21 -0
  77. package/dist/actions/get-app-limits.mjs.map +1 -0
  78. package/dist/actions/get-app-token.cjs +16 -0
  79. package/dist/actions/get-app-token.cjs.map +1 -0
  80. package/dist/actions/get-app-token.d.cts +9 -0
  81. package/dist/actions/get-app-token.d.cts.map +1 -0
  82. package/dist/actions/get-app-token.d.mts +9 -0
  83. package/dist/actions/get-app-token.d.mts.map +1 -0
  84. package/dist/actions/get-app-token.mjs +13 -0
  85. package/dist/actions/get-app-token.mjs.map +1 -0
  86. package/dist/actions/get-receipt-status.cjs +32 -0
  87. package/dist/actions/get-receipt-status.cjs.map +1 -0
  88. package/dist/actions/get-receipt-status.d.cts +9 -0
  89. package/dist/actions/get-receipt-status.d.cts.map +1 -0
  90. package/dist/actions/get-receipt-status.d.mts +9 -0
  91. package/dist/actions/get-receipt-status.d.mts.map +1 -0
  92. package/dist/actions/get-receipt-status.mjs +29 -0
  93. package/dist/actions/get-receipt-status.mjs.map +1 -0
  94. package/dist/actions/get-team-api-token.cjs +16 -0
  95. package/dist/actions/get-team-api-token.cjs.map +1 -0
  96. package/dist/actions/get-team-api-token.d.cts +9 -0
  97. package/dist/actions/get-team-api-token.d.cts.map +1 -0
  98. package/dist/actions/get-team-api-token.d.mts +9 -0
  99. package/dist/actions/get-team-api-token.d.mts.map +1 -0
  100. package/dist/actions/get-team-api-token.mjs +13 -0
  101. package/dist/actions/get-team-api-token.mjs.map +1 -0
  102. package/dist/actions/glances-update.cjs +29 -0
  103. package/dist/actions/glances-update.cjs.map +1 -0
  104. package/dist/actions/glances-update.d.cts +9 -0
  105. package/dist/actions/glances-update.d.cts.map +1 -0
  106. package/dist/actions/glances-update.d.mts +9 -0
  107. package/dist/actions/glances-update.d.mts.map +1 -0
  108. package/dist/actions/glances-update.mjs +26 -0
  109. package/dist/actions/glances-update.mjs.map +1 -0
  110. package/dist/actions/group-add-user.cjs +26 -0
  111. package/dist/actions/group-add-user.cjs.map +1 -0
  112. package/dist/actions/group-add-user.d.cts +9 -0
  113. package/dist/actions/group-add-user.d.cts.map +1 -0
  114. package/dist/actions/group-add-user.d.mts +9 -0
  115. package/dist/actions/group-add-user.d.mts.map +1 -0
  116. package/dist/actions/group-add-user.mjs +23 -0
  117. package/dist/actions/group-add-user.mjs.map +1 -0
  118. package/dist/actions/group-create.cjs +24 -0
  119. package/dist/actions/group-create.cjs.map +1 -0
  120. package/dist/actions/group-create.d.cts +9 -0
  121. package/dist/actions/group-create.d.cts.map +1 -0
  122. package/dist/actions/group-create.d.mts +9 -0
  123. package/dist/actions/group-create.d.mts.map +1 -0
  124. package/dist/actions/group-create.mjs +21 -0
  125. package/dist/actions/group-create.mjs.map +1 -0
  126. package/dist/actions/group-disable-user.cjs +25 -0
  127. package/dist/actions/group-disable-user.cjs.map +1 -0
  128. package/dist/actions/group-disable-user.d.cts +9 -0
  129. package/dist/actions/group-disable-user.d.cts.map +1 -0
  130. package/dist/actions/group-disable-user.d.mts +9 -0
  131. package/dist/actions/group-disable-user.d.mts.map +1 -0
  132. package/dist/actions/group-disable-user.mjs +22 -0
  133. package/dist/actions/group-disable-user.mjs.map +1 -0
  134. package/dist/actions/group-enable-user.cjs +25 -0
  135. package/dist/actions/group-enable-user.cjs.map +1 -0
  136. package/dist/actions/group-enable-user.d.cts +9 -0
  137. package/dist/actions/group-enable-user.d.cts.map +1 -0
  138. package/dist/actions/group-enable-user.d.mts +9 -0
  139. package/dist/actions/group-enable-user.d.mts.map +1 -0
  140. package/dist/actions/group-enable-user.mjs +22 -0
  141. package/dist/actions/group-enable-user.mjs.map +1 -0
  142. package/dist/actions/group-get.cjs +33 -0
  143. package/dist/actions/group-get.cjs.map +1 -0
  144. package/dist/actions/group-get.d.cts +9 -0
  145. package/dist/actions/group-get.d.cts.map +1 -0
  146. package/dist/actions/group-get.d.mts +9 -0
  147. package/dist/actions/group-get.d.mts.map +1 -0
  148. package/dist/actions/group-get.mjs +32 -0
  149. package/dist/actions/group-get.mjs.map +1 -0
  150. package/dist/actions/group-list.cjs +25 -0
  151. package/dist/actions/group-list.cjs.map +1 -0
  152. package/dist/actions/group-list.d.cts +9 -0
  153. package/dist/actions/group-list.d.cts.map +1 -0
  154. package/dist/actions/group-list.d.mts +9 -0
  155. package/dist/actions/group-list.d.mts.map +1 -0
  156. package/dist/actions/group-list.mjs +24 -0
  157. package/dist/actions/group-list.mjs.map +1 -0
  158. package/dist/actions/group-remove-user.cjs +25 -0
  159. package/dist/actions/group-remove-user.cjs.map +1 -0
  160. package/dist/actions/group-remove-user.d.cts +9 -0
  161. package/dist/actions/group-remove-user.d.cts.map +1 -0
  162. package/dist/actions/group-remove-user.d.mts +9 -0
  163. package/dist/actions/group-remove-user.d.mts.map +1 -0
  164. package/dist/actions/group-remove-user.mjs +22 -0
  165. package/dist/actions/group-remove-user.mjs.map +1 -0
  166. package/dist/actions/group-rename.cjs +24 -0
  167. package/dist/actions/group-rename.cjs.map +1 -0
  168. package/dist/actions/group-rename.d.cts +9 -0
  169. package/dist/actions/group-rename.d.cts.map +1 -0
  170. package/dist/actions/group-rename.d.mts +9 -0
  171. package/dist/actions/group-rename.d.mts.map +1 -0
  172. package/dist/actions/group-rename.mjs +21 -0
  173. package/dist/actions/group-rename.mjs.map +1 -0
  174. package/dist/actions/index.cjs +59 -0
  175. package/dist/actions/index.d.cts +30 -0
  176. package/dist/actions/index.d.mts +30 -0
  177. package/dist/actions/index.mjs +30 -0
  178. package/dist/actions/license-assign.cjs +29 -0
  179. package/dist/actions/license-assign.cjs.map +1 -0
  180. package/dist/actions/license-assign.d.cts +9 -0
  181. package/dist/actions/license-assign.d.cts.map +1 -0
  182. package/dist/actions/license-assign.d.mts +9 -0
  183. package/dist/actions/license-assign.d.mts.map +1 -0
  184. package/dist/actions/license-assign.mjs +26 -0
  185. package/dist/actions/license-assign.mjs.map +1 -0
  186. package/dist/actions/license-check-credits.cjs +24 -0
  187. package/dist/actions/license-check-credits.cjs.map +1 -0
  188. package/dist/actions/license-check-credits.d.cts +9 -0
  189. package/dist/actions/license-check-credits.d.cts.map +1 -0
  190. package/dist/actions/license-check-credits.d.mts +9 -0
  191. package/dist/actions/license-check-credits.d.mts.map +1 -0
  192. package/dist/actions/license-check-credits.mjs +21 -0
  193. package/dist/actions/license-check-credits.mjs.map +1 -0
  194. package/dist/actions/send-message.cjs +47 -0
  195. package/dist/actions/send-message.cjs.map +1 -0
  196. package/dist/actions/send-message.d.cts +9 -0
  197. package/dist/actions/send-message.d.cts.map +1 -0
  198. package/dist/actions/send-message.d.mts +9 -0
  199. package/dist/actions/send-message.d.mts.map +1 -0
  200. package/dist/actions/send-message.mjs +44 -0
  201. package/dist/actions/send-message.mjs.map +1 -0
  202. package/dist/actions/store-team-api-token.cjs +16 -0
  203. package/dist/actions/store-team-api-token.cjs.map +1 -0
  204. package/dist/actions/store-team-api-token.d.cts +9 -0
  205. package/dist/actions/store-team-api-token.d.cts.map +1 -0
  206. package/dist/actions/store-team-api-token.d.mts +9 -0
  207. package/dist/actions/store-team-api-token.d.mts.map +1 -0
  208. package/dist/actions/store-team-api-token.mjs +13 -0
  209. package/dist/actions/store-team-api-token.mjs.map +1 -0
  210. package/dist/actions/subscription-flow.cjs +16 -0
  211. package/dist/actions/subscription-flow.cjs.map +1 -0
  212. package/dist/actions/subscription-flow.d.cts +9 -0
  213. package/dist/actions/subscription-flow.d.cts.map +1 -0
  214. package/dist/actions/subscription-flow.d.mts +9 -0
  215. package/dist/actions/subscription-flow.d.mts.map +1 -0
  216. package/dist/actions/subscription-flow.mjs +13 -0
  217. package/dist/actions/subscription-flow.mjs.map +1 -0
  218. package/dist/actions/teams-add-user.cjs +28 -0
  219. package/dist/actions/teams-add-user.cjs.map +1 -0
  220. package/dist/actions/teams-add-user.d.cts +9 -0
  221. package/dist/actions/teams-add-user.d.cts.map +1 -0
  222. package/dist/actions/teams-add-user.d.mts +9 -0
  223. package/dist/actions/teams-add-user.d.mts.map +1 -0
  224. package/dist/actions/teams-add-user.mjs +25 -0
  225. package/dist/actions/teams-add-user.mjs.map +1 -0
  226. package/dist/actions/teams-remove-user.cjs +23 -0
  227. package/dist/actions/teams-remove-user.cjs.map +1 -0
  228. package/dist/actions/teams-remove-user.d.cts +9 -0
  229. package/dist/actions/teams-remove-user.d.cts.map +1 -0
  230. package/dist/actions/teams-remove-user.d.mts +9 -0
  231. package/dist/actions/teams-remove-user.d.mts.map +1 -0
  232. package/dist/actions/teams-remove-user.mjs +20 -0
  233. package/dist/actions/teams-remove-user.mjs.map +1 -0
  234. package/dist/actions/validate-user-or-group.cjs +26 -0
  235. package/dist/actions/validate-user-or-group.cjs.map +1 -0
  236. package/dist/actions/validate-user-or-group.d.cts +9 -0
  237. package/dist/actions/validate-user-or-group.d.cts.map +1 -0
  238. package/dist/actions/validate-user-or-group.d.mts +9 -0
  239. package/dist/actions/validate-user-or-group.d.mts.map +1 -0
  240. package/dist/actions/validate-user-or-group.mjs +23 -0
  241. package/dist/actions/validate-user-or-group.mjs.map +1 -0
  242. package/dist/app.cjs +9 -0
  243. package/dist/app.cjs.map +1 -0
  244. package/dist/app.d.cts +5 -0
  245. package/dist/app.d.cts.map +1 -0
  246. package/dist/app.d.mts +5 -0
  247. package/dist/app.d.mts.map +1 -0
  248. package/dist/app.mjs +10 -0
  249. package/dist/app.mjs.map +1 -0
  250. package/dist/catalog.cjs +15 -0
  251. package/dist/catalog.cjs.map +1 -0
  252. package/dist/catalog.d.cts +14 -0
  253. package/dist/catalog.d.cts.map +1 -0
  254. package/dist/catalog.d.mts +14 -0
  255. package/dist/catalog.d.mts.map +1 -0
  256. package/dist/catalog.mjs +15 -0
  257. package/dist/catalog.mjs.map +1 -0
  258. package/dist/execute.cjs +18 -0
  259. package/dist/execute.cjs.map +1 -0
  260. package/dist/execute.mjs +18 -0
  261. package/dist/execute.mjs.map +1 -0
  262. package/dist/index.cjs +64 -0
  263. package/dist/index.d.cts +32 -0
  264. package/dist/index.d.mts +32 -0
  265. package/dist/index.mjs +33 -0
  266. package/package.json +49 -0
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @keystrokehq/pushover
2
+
3
+ Keystroke-managed integration.
4
+
5
+ **App:** `pushover`
6
+ **Version:** `20260615_00`
7
+ **Actions:** 29
8
+
9
+ ```ts
10
+ import { defineAgent } from "@keystrokehq/keystroke/agent";
11
+ import { pushoverCancelReceiptRetries } from "@keystrokehq/pushover/actions";
12
+
13
+ export default defineAgent({
14
+ key: "pushover-agent",
15
+ tools: [pushoverCancelReceiptRetries],
16
+ });
17
+ ```
@@ -0,0 +1,21 @@
1
+ const require_app = require("./app.cjs");
2
+ const require_execute = require("./execute.cjs");
3
+ require("zod");
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return require_app.pushover.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await require_execute.executePushoverTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ exports.action = action;
20
+
21
+ //# sourceMappingURL=action.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.cjs","names":["pushover","executePushoverTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pushover } from \"./app\";\nimport { executePushoverTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return pushover.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePushoverTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -0,0 +1,21 @@
1
+ import { pushover } from "./app.mjs";
2
+ import { executePushoverTool } from "./execute.mjs";
3
+ import "zod";
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return pushover.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await executePushoverTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ export { action };
20
+
21
+ //# sourceMappingURL=action.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pushover } from \"./app\";\nimport { executePushoverTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return pushover.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePushoverTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/cancel-receipt-retries.ts
4
+ const PushoverCancelReceiptRetriesInput = zod.z.object({
5
+ token: zod.z.string().describe("Your Pushover application API token"),
6
+ receipt: zod.z.string().describe("The receipt ID returned when the message was first sent")
7
+ });
8
+ const PushoverCancelReceiptRetriesOutput = zod.z.object({
9
+ errors: zod.z.array(zod.z.string()).describe("List of error messages if the operation failed").nullable().optional(),
10
+ status: zod.z.number().int().describe("1 if the request succeeded, 0 otherwise"),
11
+ request: zod.z.string().describe("Unique ID of the API request").nullable().optional()
12
+ });
13
+ const pushoverCancelReceiptRetries = require_action.action("PUSHOVER_CANCEL_RECEIPT_RETRIES", {
14
+ slug: "pushover-cancel-receipt-retries",
15
+ name: "Cancel Receipt Retries",
16
+ description: "Tool to cancel further retries for an emergency-priority message before its expiry. Use when you no longer want Pushover to keep attempting delivery of an urgent notification.",
17
+ input: PushoverCancelReceiptRetriesInput,
18
+ output: PushoverCancelReceiptRetriesOutput
19
+ });
20
+ //#endregion
21
+ exports.pushoverCancelReceiptRetries = pushoverCancelReceiptRetries;
22
+
23
+ //# sourceMappingURL=cancel-receipt-retries.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cancel-receipt-retries.cjs","names":["z","action"],"sources":["../../src/actions/cancel-receipt-retries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverCancelReceiptRetriesInput: z.ZodTypeAny = z.object({\n token: z.string().describe(\"Your Pushover application API token\"),\n receipt: z.string().describe(\"The receipt ID returned when the message was first sent\"),\n});\nexport const PushoverCancelReceiptRetriesOutput: z.ZodTypeAny = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the operation failed\").nullable().optional(),\n status: z.number().int().describe(\"1 if the request succeeded, 0 otherwise\"),\n request: z.string().describe(\"Unique ID of the API request\").nullable().optional(),\n});\n\nexport const pushoverCancelReceiptRetries = action(\"PUSHOVER_CANCEL_RECEIPT_RETRIES\", {\n slug: \"pushover-cancel-receipt-retries\",\n name: \"Cancel Receipt Retries\",\n description: \"Tool to cancel further retries for an emergency-priority message before its expiry. Use when you no longer want Pushover to keep attempting delivery of an urgent notification.\",\n input: PushoverCancelReceiptRetriesInput,\n output: PushoverCancelReceiptRetriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AACxF,CAAC;AACD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/cancel-receipt-retries.d.ts
4
+ declare const PushoverCancelReceiptRetriesInput: z.ZodTypeAny;
5
+ declare const PushoverCancelReceiptRetriesOutput: z.ZodTypeAny;
6
+ declare const pushoverCancelReceiptRetries: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pushoverCancelReceiptRetries };
9
+ //# sourceMappingURL=cancel-receipt-retries.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cancel-receipt-retries.d.cts","names":[],"sources":["../../src/actions/cancel-receipt-retries.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGhD;AAAA,cACW,kCAAA,EAAoC,CAAA,CAAE,UAIjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/cancel-receipt-retries.d.ts
4
+ declare const PushoverCancelReceiptRetriesInput: z.ZodTypeAny;
5
+ declare const PushoverCancelReceiptRetriesOutput: z.ZodTypeAny;
6
+ declare const pushoverCancelReceiptRetries: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pushoverCancelReceiptRetries };
9
+ //# sourceMappingURL=cancel-receipt-retries.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cancel-receipt-retries.d.mts","names":[],"sources":["../../src/actions/cancel-receipt-retries.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGhD;AAAA,cACW,kCAAA,EAAoC,CAAA,CAAE,UAIjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const pushoverCancelReceiptRetries = action("PUSHOVER_CANCEL_RECEIPT_RETRIES", {
4
+ slug: "pushover-cancel-receipt-retries",
5
+ name: "Cancel Receipt Retries",
6
+ description: "Tool to cancel further retries for an emergency-priority message before its expiry. Use when you no longer want Pushover to keep attempting delivery of an urgent notification.",
7
+ input: z.object({
8
+ token: z.string().describe("Your Pushover application API token"),
9
+ receipt: z.string().describe("The receipt ID returned when the message was first sent")
10
+ }),
11
+ output: z.object({
12
+ errors: z.array(z.string()).describe("List of error messages if the operation failed").nullable().optional(),
13
+ status: z.number().int().describe("1 if the request succeeded, 0 otherwise"),
14
+ request: z.string().describe("Unique ID of the API request").nullable().optional()
15
+ })
16
+ });
17
+ //#endregion
18
+ export { pushoverCancelReceiptRetries };
19
+
20
+ //# sourceMappingURL=cancel-receipt-retries.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cancel-receipt-retries.mjs","names":[],"sources":["../../src/actions/cancel-receipt-retries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverCancelReceiptRetriesInput: z.ZodTypeAny = z.object({\n token: z.string().describe(\"Your Pushover application API token\"),\n receipt: z.string().describe(\"The receipt ID returned when the message was first sent\"),\n});\nexport const PushoverCancelReceiptRetriesOutput: z.ZodTypeAny = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the operation failed\").nullable().optional(),\n status: z.number().int().describe(\"1 if the request succeeded, 0 otherwise\"),\n request: z.string().describe(\"Unique ID of the API request\").nullable().optional(),\n});\n\nexport const pushoverCancelReceiptRetries = action(\"PUSHOVER_CANCEL_RECEIPT_RETRIES\", {\n slug: \"pushover-cancel-receipt-retries\",\n name: \"Cancel Receipt Retries\",\n description: \"Tool to cancel further retries for an emergency-priority message before its expiry. Use when you no longer want Pushover to keep attempting delivery of an urgent notification.\",\n input: PushoverCancelReceiptRetriesInput,\n output: PushoverCancelReceiptRetriesOutput,\n});\n"],"mappings":";;AAcA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd6D,EAAE,OAAO;EACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACxF,CAWS;CACP,QAX8D,EAAE,OAAO;EACvE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,CAOU;AACV,CAAC"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/cancel-retries-by-tag.ts
4
+ const PushoverCancelRetriesByTagInput = zod.z.object({
5
+ tag: zod.z.string().describe("Tag assigned to messages when originally sent; identifies which receipts to cancel."),
6
+ token: zod.z.string().describe("Application API token for authentication.")
7
+ }).describe("Request model for canceling retries of emergency-priority messages by tag.");
8
+ const PushoverCancelRetriesByTagOutput = zod.z.object({
9
+ errors: zod.z.array(zod.z.string()).describe("List of error messages, present only if status != 1.").nullable().optional(),
10
+ status: zod.z.number().int().describe("1 indicates success; any other value indicates an error."),
11
+ request: zod.z.string().describe("Unique request ID returned by Pushover. May be absent on some errors.").nullable().optional()
12
+ }).describe("Response model returned after canceling retries by tag.");
13
+ const pushoverCancelRetriesByTag = require_action.action("PUSHOVER_CANCEL_RETRIES_BY_TAG", {
14
+ slug: "pushover-cancel-retries-by-tag",
15
+ name: "Cancel Retries by Tag",
16
+ description: "Tool to cancel retries for all active emergency-priority Pushover messages matching a specific tag. Use after sending emergency messages when you want to stop further retries for a given tag.",
17
+ input: PushoverCancelRetriesByTagInput,
18
+ output: PushoverCancelRetriesByTagOutput
19
+ });
20
+ //#endregion
21
+ exports.pushoverCancelRetriesByTag = pushoverCancelRetriesByTag;
22
+
23
+ //# sourceMappingURL=cancel-retries-by-tag.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cancel-retries-by-tag.cjs","names":["z","action"],"sources":["../../src/actions/cancel-retries-by-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverCancelRetriesByTagInput: z.ZodTypeAny = z.object({\n tag: z.string().describe(\"Tag assigned to messages when originally sent; identifies which receipts to cancel.\"),\n token: z.string().describe(\"Application API token for authentication.\"),\n}).describe(\"Request model for canceling retries of emergency-priority messages by tag.\");\nexport const PushoverCancelRetriesByTagOutput: z.ZodTypeAny = z.object({\n errors: z.array(z.string()).describe(\"List of error messages, present only if status != 1.\").nullable().optional(),\n status: z.number().int().describe(\"1 indicates success; any other value indicates an error.\"),\n request: z.string().describe(\"Unique request ID returned by Pushover. May be absent on some errors.\").nullable().optional(),\n}).describe(\"Response model returned after canceling retries by tag.\");\n\nexport const pushoverCancelRetriesByTag = action(\"PUSHOVER_CANCEL_RETRIES_BY_TAG\", {\n slug: \"pushover-cancel-retries-by-tag\",\n name: \"Cancel Retries by Tag\",\n description: \"Tool to cancel retries for all active emergency-priority Pushover messages matching a specific tag. Use after sending emergency messages when you want to stop further retries for a given tag.\",\n input: PushoverCancelRetriesByTagInput,\n output: PushoverCancelRetriesByTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAC9G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AACxE,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;CAC5F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/cancel-retries-by-tag.d.ts
4
+ declare const PushoverCancelRetriesByTagInput: z.ZodTypeAny;
5
+ declare const PushoverCancelRetriesByTagOutput: z.ZodTypeAny;
6
+ declare const pushoverCancelRetriesByTag: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pushoverCancelRetriesByTag };
9
+ //# sourceMappingURL=cancel-retries-by-tag.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cancel-retries-by-tag.d.cts","names":[],"sources":["../../src/actions/cancel-retries-by-tag.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAGyC;AAAA,cAC5E,gCAAA,EAAkC,CAAA,CAAE,UAIqB;AAAA,cAEzD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/cancel-retries-by-tag.d.ts
4
+ declare const PushoverCancelRetriesByTagInput: z.ZodTypeAny;
5
+ declare const PushoverCancelRetriesByTagOutput: z.ZodTypeAny;
6
+ declare const pushoverCancelRetriesByTag: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pushoverCancelRetriesByTag };
9
+ //# sourceMappingURL=cancel-retries-by-tag.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cancel-retries-by-tag.d.mts","names":[],"sources":["../../src/actions/cancel-retries-by-tag.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAGyC;AAAA,cAC5E,gCAAA,EAAkC,CAAA,CAAE,UAIqB;AAAA,cAEzD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const pushoverCancelRetriesByTag = action("PUSHOVER_CANCEL_RETRIES_BY_TAG", {
4
+ slug: "pushover-cancel-retries-by-tag",
5
+ name: "Cancel Retries by Tag",
6
+ description: "Tool to cancel retries for all active emergency-priority Pushover messages matching a specific tag. Use after sending emergency messages when you want to stop further retries for a given tag.",
7
+ input: z.object({
8
+ tag: z.string().describe("Tag assigned to messages when originally sent; identifies which receipts to cancel."),
9
+ token: z.string().describe("Application API token for authentication.")
10
+ }).describe("Request model for canceling retries of emergency-priority messages by tag."),
11
+ output: z.object({
12
+ errors: z.array(z.string()).describe("List of error messages, present only if status != 1.").nullable().optional(),
13
+ status: z.number().int().describe("1 indicates success; any other value indicates an error."),
14
+ request: z.string().describe("Unique request ID returned by Pushover. May be absent on some errors.").nullable().optional()
15
+ }).describe("Response model returned after canceling retries by tag.")
16
+ });
17
+ //#endregion
18
+ export { pushoverCancelRetriesByTag };
19
+
20
+ //# sourceMappingURL=cancel-retries-by-tag.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cancel-retries-by-tag.mjs","names":[],"sources":["../../src/actions/cancel-retries-by-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverCancelRetriesByTagInput: z.ZodTypeAny = z.object({\n tag: z.string().describe(\"Tag assigned to messages when originally sent; identifies which receipts to cancel.\"),\n token: z.string().describe(\"Application API token for authentication.\"),\n}).describe(\"Request model for canceling retries of emergency-priority messages by tag.\");\nexport const PushoverCancelRetriesByTagOutput: z.ZodTypeAny = z.object({\n errors: z.array(z.string()).describe(\"List of error messages, present only if status != 1.\").nullable().optional(),\n status: z.number().int().describe(\"1 indicates success; any other value indicates an error.\"),\n request: z.string().describe(\"Unique request ID returned by Pushover. May be absent on some errors.\").nullable().optional(),\n}).describe(\"Response model returned after canceling retries by tag.\");\n\nexport const pushoverCancelRetriesByTag = action(\"PUSHOVER_CANCEL_RETRIES_BY_TAG\", {\n slug: \"pushover-cancel-retries-by-tag\",\n name: \"Cancel Retries by Tag\",\n description: \"Tool to cancel retries for all active emergency-priority Pushover messages matching a specific tag. Use after sending emergency messages when you want to stop further retries for a given tag.\",\n input: PushoverCancelRetriesByTagInput,\n output: PushoverCancelRetriesByTagOutput,\n});\n"],"mappings":";;AAcA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd2D,EAAE,OAAO;EACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EAC9G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,CAAC,CAAC,CAAC,SAAS,4EAWH;CACP,QAX4D,EAAE,OAAO;EACrE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;EAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
@@ -0,0 +1,30 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/client-ack-delete-up-to-id.ts
4
+ const PushoverClientAckDeleteUpToIdInput = zod.z.object({
5
+ secret: zod.z.string().describe("User session secret obtained at login; required for Open Client actions."),
6
+ message: zod.z.number().int().describe("Highest message ID previously seen; all messages up to and including this ID are deleted."),
7
+ device_id: zod.z.string().describe("The unique device ID returned during Device Registration.")
8
+ }).describe("Request model for deleting/acknowledging all messages up to a given ID on a Pushover device.");
9
+ const PushoverClientAckDeleteUpToIdOutput = zod.z.object({
10
+ errors: zod.z.union([
11
+ zod.z.array(zod.z.string()),
12
+ zod.z.object({}),
13
+ zod.z.string()
14
+ ]).nullable().optional(),
15
+ status: zod.z.number().int().describe("1 indicates the delete/acknowledge operation was successful; 0 or None on failure.").nullable().optional(),
16
+ request: zod.z.string().describe("Unique request identifier returned by the API; may be absent on HTTP errors.").nullable().optional(),
17
+ http_status: zod.z.number().int().describe("HTTP status code when an HTTP error occurred.").nullable().optional(),
18
+ http_response_text: zod.z.string().describe("Raw HTTP response text when an HTTP error occurred.").nullable().optional()
19
+ }).describe("Response model for the update_highest_message endpoint.");
20
+ const pushoverClientAckDeleteUpToId = require_action.action("PUSHOVER_CLIENT_ACK_DELETE_UP_TO_ID", {
21
+ slug: "pushover-client-ack-delete-up-to-id",
22
+ name: "Client Acknowledge Delete Up To ID",
23
+ description: "Tool to delete/acknowledge device messages up to a specific message ID. Use when you want to clear all messages up to a known ID; call after retrieving the latest message ID.",
24
+ input: PushoverClientAckDeleteUpToIdInput,
25
+ output: PushoverClientAckDeleteUpToIdOutput
26
+ });
27
+ //#endregion
28
+ exports.pushoverClientAckDeleteUpToId = pushoverClientAckDeleteUpToId;
29
+
30
+ //# sourceMappingURL=client-ack-delete-up-to-id.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-ack-delete-up-to-id.cjs","names":["z","action"],"sources":["../../src/actions/client-ack-delete-up-to-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverClientAckDeleteUpToIdInput: z.ZodTypeAny = z.object({\n secret: z.string().describe(\"User session secret obtained at login; required for Open Client actions.\"),\n message: z.number().int().describe(\"Highest message ID previously seen; all messages up to and including this ID are deleted.\"),\n device_id: z.string().describe(\"The unique device ID returned during Device Registration.\"),\n}).describe(\"Request model for deleting/acknowledging all messages up to a given ID on a Pushover device.\");\nexport const PushoverClientAckDeleteUpToIdOutput: z.ZodTypeAny = z.object({\n errors: z.union([z.array(z.string()), z.object({}), z.string()]).nullable().optional(),\n status: z.number().int().describe(\"1 indicates the delete/acknowledge operation was successful; 0 or None on failure.\").nullable().optional(),\n request: z.string().describe(\"Unique request identifier returned by the API; may be absent on HTTP errors.\").nullable().optional(),\n http_status: z.number().int().describe(\"HTTP status code when an HTTP error occurred.\").nullable().optional(),\n http_response_text: z.string().describe(\"Raw HTTP response text when an HTTP error occurred.\").nullable().optional(),\n}).describe(\"Response model for the update_highest_message endpoint.\");\n\nexport const pushoverClientAckDeleteUpToId = action(\"PUSHOVER_CLIENT_ACK_DELETE_UP_TO_ID\", {\n slug: \"pushover-client-ack-delete-up-to-id\",\n name: \"Client Acknowledge Delete Up To ID\",\n description: \"Tool to delete/acknowledge device messages up to a specific message ID. Use when you want to clear all messages up to a known ID; call after retrieving the latest message ID.\",\n input: PushoverClientAckDeleteUpToIdInput,\n output: PushoverClientAckDeleteUpToIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACtG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F;CAC9H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC5F,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,QAAQA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;EAAGA,IAAAA,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,gCAAgCC,eAAAA,OAAO,uCAAuC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/client-ack-delete-up-to-id.d.ts
4
+ declare const PushoverClientAckDeleteUpToIdInput: z.ZodTypeAny;
5
+ declare const PushoverClientAckDeleteUpToIdOutput: z.ZodTypeAny;
6
+ declare const pushoverClientAckDeleteUpToId: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pushoverClientAckDeleteUpToId };
9
+ //# sourceMappingURL=client-ack-delete-up-to-id.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-ack-delete-up-to-id.d.cts","names":[],"sources":["../../src/actions/client-ack-delete-up-to-id.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAIwD;AAAA,cAC9F,mCAAA,EAAqC,CAAA,CAAE,UAMkB;AAAA,cAEzD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/client-ack-delete-up-to-id.d.ts
4
+ declare const PushoverClientAckDeleteUpToIdInput: z.ZodTypeAny;
5
+ declare const PushoverClientAckDeleteUpToIdOutput: z.ZodTypeAny;
6
+ declare const pushoverClientAckDeleteUpToId: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pushoverClientAckDeleteUpToId };
9
+ //# sourceMappingURL=client-ack-delete-up-to-id.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-ack-delete-up-to-id.d.mts","names":[],"sources":["../../src/actions/client-ack-delete-up-to-id.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAIwD;AAAA,cAC9F,mCAAA,EAAqC,CAAA,CAAE,UAMkB;AAAA,cAEzD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,27 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const pushoverClientAckDeleteUpToId = action("PUSHOVER_CLIENT_ACK_DELETE_UP_TO_ID", {
4
+ slug: "pushover-client-ack-delete-up-to-id",
5
+ name: "Client Acknowledge Delete Up To ID",
6
+ description: "Tool to delete/acknowledge device messages up to a specific message ID. Use when you want to clear all messages up to a known ID; call after retrieving the latest message ID.",
7
+ input: z.object({
8
+ secret: z.string().describe("User session secret obtained at login; required for Open Client actions."),
9
+ message: z.number().int().describe("Highest message ID previously seen; all messages up to and including this ID are deleted."),
10
+ device_id: z.string().describe("The unique device ID returned during Device Registration.")
11
+ }).describe("Request model for deleting/acknowledging all messages up to a given ID on a Pushover device."),
12
+ output: z.object({
13
+ errors: z.union([
14
+ z.array(z.string()),
15
+ z.object({}),
16
+ z.string()
17
+ ]).nullable().optional(),
18
+ status: z.number().int().describe("1 indicates the delete/acknowledge operation was successful; 0 or None on failure.").nullable().optional(),
19
+ request: z.string().describe("Unique request identifier returned by the API; may be absent on HTTP errors.").nullable().optional(),
20
+ http_status: z.number().int().describe("HTTP status code when an HTTP error occurred.").nullable().optional(),
21
+ http_response_text: z.string().describe("Raw HTTP response text when an HTTP error occurred.").nullable().optional()
22
+ }).describe("Response model for the update_highest_message endpoint.")
23
+ });
24
+ //#endregion
25
+ export { pushoverClientAckDeleteUpToId };
26
+
27
+ //# sourceMappingURL=client-ack-delete-up-to-id.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-ack-delete-up-to-id.mjs","names":[],"sources":["../../src/actions/client-ack-delete-up-to-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverClientAckDeleteUpToIdInput: z.ZodTypeAny = z.object({\n secret: z.string().describe(\"User session secret obtained at login; required for Open Client actions.\"),\n message: z.number().int().describe(\"Highest message ID previously seen; all messages up to and including this ID are deleted.\"),\n device_id: z.string().describe(\"The unique device ID returned during Device Registration.\"),\n}).describe(\"Request model for deleting/acknowledging all messages up to a given ID on a Pushover device.\");\nexport const PushoverClientAckDeleteUpToIdOutput: z.ZodTypeAny = z.object({\n errors: z.union([z.array(z.string()), z.object({}), z.string()]).nullable().optional(),\n status: z.number().int().describe(\"1 indicates the delete/acknowledge operation was successful; 0 or None on failure.\").nullable().optional(),\n request: z.string().describe(\"Unique request identifier returned by the API; may be absent on HTTP errors.\").nullable().optional(),\n http_status: z.number().int().describe(\"HTTP status code when an HTTP error occurred.\").nullable().optional(),\n http_response_text: z.string().describe(\"Raw HTTP response text when an HTTP error occurred.\").nullable().optional(),\n}).describe(\"Response model for the update_highest_message endpoint.\");\n\nexport const pushoverClientAckDeleteUpToId = action(\"PUSHOVER_CLIENT_ACK_DELETE_UP_TO_ID\", {\n slug: \"pushover-client-ack-delete-up-to-id\",\n name: \"Client Acknowledge Delete Up To ID\",\n description: \"Tool to delete/acknowledge device messages up to a specific message ID. Use when you want to clear all messages up to a known ID; call after retrieving the latest message ID.\",\n input: PushoverClientAckDeleteUpToIdInput,\n output: PushoverClientAckDeleteUpToIdOutput,\n});\n"],"mappings":";;AAiBA,MAAa,gCAAgC,OAAO,uCAAuC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB8D,EAAE,OAAO;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;EACtG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F;EAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC5F,CAAC,CAAC,CAAC,SAAS,8FAaH;CACP,QAb+D,EAAE,OAAO;EACxE,QAAQ,EAAE,MAAM;GAAC,EAAE,MAAM,EAAE,OAAO,CAAC;GAAG,EAAE,OAAO,CAAC,CAAC;GAAG,EAAE,OAAO;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
@@ -0,0 +1,49 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/client-fetch-messages.ts
4
+ const PushoverClientFetchMessagesInput = zod.z.object({
5
+ secret: zod.z.string().describe("User session secret obtained after login, required to authenticate the client."),
6
+ device_id: zod.z.string().describe("Unique identifier of the registered device to fetch messages for.")
7
+ }).describe("Request model for fetching pending messages for a device.");
8
+ const PushoverClientFetchMessages_MessageSchema = zod.z.object({
9
+ id: zod.z.number().int().describe("Message ID as integer."),
10
+ aid: zod.z.number().int().describe("Application ID as integer."),
11
+ app: zod.z.string().describe("Application name that sent the message."),
12
+ url: zod.z.string().describe("Optional supplementary URL for the message.").nullable().optional(),
13
+ date: zod.z.number().int().describe("Unix timestamp when the message was created."),
14
+ html: zod.z.number().int().describe("HTML flag (0 = plain text, 1 = HTML enabled)."),
15
+ icon: zod.z.string().describe("Icon key associated with the application."),
16
+ umid: zod.z.number().int().describe("User message ID as integer."),
17
+ acked: zod.z.number().int().describe("Acknowledgement status (0 = not acked, 1 = acked)."),
18
+ sound: zod.z.string().describe("Sound identifier for the notification."),
19
+ title: zod.z.string().describe("Optional message title.").nullable().optional(),
20
+ id_str: zod.z.string().describe("Message ID as string."),
21
+ aid_str: zod.z.string().describe("Application ID as string."),
22
+ message: zod.z.string().describe("Message content."),
23
+ receipt: zod.z.string().describe("Receipt token for emergency-priority messages.").nullable().optional(),
24
+ priority: zod.z.number().int().describe("Priority level of the message."),
25
+ umid_str: zod.z.string().describe("User message ID as string."),
26
+ url_title: zod.z.string().describe("Optional title for the supplementary URL.").nullable().optional(),
27
+ queued_date: zod.z.number().int().describe("Unix timestamp when the message was queued."),
28
+ dispatched_date: zod.z.number().int().describe("Unix timestamp when the message was dispatched.")
29
+ });
30
+ const PushoverClientFetchMessagesOutput = zod.z.object({
31
+ error: zod.z.string().describe("Single error message when available.").nullable().optional(),
32
+ errors: zod.z.array(zod.z.string()).describe("List of error messages when the request fails.").nullable().optional(),
33
+ status: zod.z.number().int().describe("API call status (1 indicates success; 0 indicates failure).").nullable().optional(),
34
+ request: zod.z.string().describe("Unique request identifier returned by the API.").nullable().optional(),
35
+ messages: zod.z.array(PushoverClientFetchMessages_MessageSchema).describe("List of pending messages for the device.").nullable().optional(),
36
+ http_status: zod.z.number().int().describe("HTTP status code when an HTTP error occurred.").nullable().optional(),
37
+ http_response_text: zod.z.string().describe("Raw HTTP response text when an HTTP error occurred.").nullable().optional()
38
+ }).describe("Response model for fetched pending messages.");
39
+ const pushoverClientFetchMessages = require_action.action("PUSHOVER_CLIENT_FETCH_MESSAGES", {
40
+ slug: "pushover-client-fetch-messages",
41
+ name: "Fetch Pending Messages",
42
+ description: "Tool to download pending messages for a registered device. Use after device registration to retrieve messages queued server-side.",
43
+ input: PushoverClientFetchMessagesInput,
44
+ output: PushoverClientFetchMessagesOutput
45
+ });
46
+ //#endregion
47
+ exports.pushoverClientFetchMessages = pushoverClientFetchMessages;
48
+
49
+ //# sourceMappingURL=client-fetch-messages.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-fetch-messages.cjs","names":["z","action"],"sources":["../../src/actions/client-fetch-messages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverClientFetchMessagesInput: z.ZodTypeAny = z.object({\n secret: z.string().describe(\"User session secret obtained after login, required to authenticate the client.\"),\n device_id: z.string().describe(\"Unique identifier of the registered device to fetch messages for.\"),\n}).describe(\"Request model for fetching pending messages for a device.\");\nconst PushoverClientFetchMessages_MessageSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Message ID as integer.\"),\n aid: z.number().int().describe(\"Application ID as integer.\"),\n app: z.string().describe(\"Application name that sent the message.\"),\n url: z.string().describe(\"Optional supplementary URL for the message.\").nullable().optional(),\n date: z.number().int().describe(\"Unix timestamp when the message was created.\"),\n html: z.number().int().describe(\"HTML flag (0 = plain text, 1 = HTML enabled).\"),\n icon: z.string().describe(\"Icon key associated with the application.\"),\n umid: z.number().int().describe(\"User message ID as integer.\"),\n acked: z.number().int().describe(\"Acknowledgement status (0 = not acked, 1 = acked).\"),\n sound: z.string().describe(\"Sound identifier for the notification.\"),\n title: z.string().describe(\"Optional message title.\").nullable().optional(),\n id_str: z.string().describe(\"Message ID as string.\"),\n aid_str: z.string().describe(\"Application ID as string.\"),\n message: z.string().describe(\"Message content.\"),\n receipt: z.string().describe(\"Receipt token for emergency-priority messages.\").nullable().optional(),\n priority: z.number().int().describe(\"Priority level of the message.\"),\n umid_str: z.string().describe(\"User message ID as string.\"),\n url_title: z.string().describe(\"Optional title for the supplementary URL.\").nullable().optional(),\n queued_date: z.number().int().describe(\"Unix timestamp when the message was queued.\"),\n dispatched_date: z.number().int().describe(\"Unix timestamp when the message was dispatched.\"),\n});\nexport const PushoverClientFetchMessagesOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Single error message when available.\").nullable().optional(),\n errors: z.array(z.string()).describe(\"List of error messages when the request fails.\").nullable().optional(),\n status: z.number().int().describe(\"API call status (1 indicates success; 0 indicates failure).\").nullable().optional(),\n request: z.string().describe(\"Unique request identifier returned by the API.\").nullable().optional(),\n messages: z.array(PushoverClientFetchMessages_MessageSchema).describe(\"List of pending messages for the device.\").nullable().optional(),\n http_status: z.number().int().describe(\"HTTP status code when an HTTP error occurred.\").nullable().optional(),\n http_response_text: z.string().describe(\"Raw HTTP response text when an HTTP error occurred.\").nullable().optional(),\n}).describe(\"Response model for fetched pending messages.\");\n\nexport const pushoverClientFetchMessages = action(\"PUSHOVER_CLIENT_FETCH_MESSAGES\", {\n slug: \"pushover-client-fetch-messages\",\n name: \"Fetch Pending Messages\",\n description: \"Tool to download pending messages for a registered device. Use after device registration to retrieve messages que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+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/client-fetch-messages.d.ts
4
+ declare const PushoverClientFetchMessagesInput: z.ZodTypeAny;
5
+ declare const PushoverClientFetchMessagesOutput: z.ZodTypeAny;
6
+ declare const pushoverClientFetchMessages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pushoverClientFetchMessages };
9
+ //# sourceMappingURL=client-fetch-messages.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-fetch-messages.d.cts","names":[],"sources":["../../src/actions/client-fetch-messages.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGuB;AAAA,cAuB3D,iCAAA,EAAmC,CAAA,CAAE,UAQS;AAAA,cAE9C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/client-fetch-messages.d.ts
4
+ declare const PushoverClientFetchMessagesInput: z.ZodTypeAny;
5
+ declare const PushoverClientFetchMessagesOutput: z.ZodTypeAny;
6
+ declare const pushoverClientFetchMessages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pushoverClientFetchMessages };
9
+ //# sourceMappingURL=client-fetch-messages.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-fetch-messages.d.mts","names":[],"sources":["../../src/actions/client-fetch-messages.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGuB;AAAA,cAuB3D,iCAAA,EAAmC,CAAA,CAAE,UAQS;AAAA,cAE9C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,48 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/client-fetch-messages.ts
4
+ const PushoverClientFetchMessagesInput = z.object({
5
+ secret: z.string().describe("User session secret obtained after login, required to authenticate the client."),
6
+ device_id: z.string().describe("Unique identifier of the registered device to fetch messages for.")
7
+ }).describe("Request model for fetching pending messages for a device.");
8
+ const PushoverClientFetchMessages_MessageSchema = z.object({
9
+ id: z.number().int().describe("Message ID as integer."),
10
+ aid: z.number().int().describe("Application ID as integer."),
11
+ app: z.string().describe("Application name that sent the message."),
12
+ url: z.string().describe("Optional supplementary URL for the message.").nullable().optional(),
13
+ date: z.number().int().describe("Unix timestamp when the message was created."),
14
+ html: z.number().int().describe("HTML flag (0 = plain text, 1 = HTML enabled)."),
15
+ icon: z.string().describe("Icon key associated with the application."),
16
+ umid: z.number().int().describe("User message ID as integer."),
17
+ acked: z.number().int().describe("Acknowledgement status (0 = not acked, 1 = acked)."),
18
+ sound: z.string().describe("Sound identifier for the notification."),
19
+ title: z.string().describe("Optional message title.").nullable().optional(),
20
+ id_str: z.string().describe("Message ID as string."),
21
+ aid_str: z.string().describe("Application ID as string."),
22
+ message: z.string().describe("Message content."),
23
+ receipt: z.string().describe("Receipt token for emergency-priority messages.").nullable().optional(),
24
+ priority: z.number().int().describe("Priority level of the message."),
25
+ umid_str: z.string().describe("User message ID as string."),
26
+ url_title: z.string().describe("Optional title for the supplementary URL.").nullable().optional(),
27
+ queued_date: z.number().int().describe("Unix timestamp when the message was queued."),
28
+ dispatched_date: z.number().int().describe("Unix timestamp when the message was dispatched.")
29
+ });
30
+ const pushoverClientFetchMessages = action("PUSHOVER_CLIENT_FETCH_MESSAGES", {
31
+ slug: "pushover-client-fetch-messages",
32
+ name: "Fetch Pending Messages",
33
+ description: "Tool to download pending messages for a registered device. Use after device registration to retrieve messages queued server-side.",
34
+ input: PushoverClientFetchMessagesInput,
35
+ output: z.object({
36
+ error: z.string().describe("Single error message when available.").nullable().optional(),
37
+ errors: z.array(z.string()).describe("List of error messages when the request fails.").nullable().optional(),
38
+ status: z.number().int().describe("API call status (1 indicates success; 0 indicates failure).").nullable().optional(),
39
+ request: z.string().describe("Unique request identifier returned by the API.").nullable().optional(),
40
+ messages: z.array(PushoverClientFetchMessages_MessageSchema).describe("List of pending messages for the device.").nullable().optional(),
41
+ http_status: z.number().int().describe("HTTP status code when an HTTP error occurred.").nullable().optional(),
42
+ http_response_text: z.string().describe("Raw HTTP response text when an HTTP error occurred.").nullable().optional()
43
+ }).describe("Response model for fetched pending messages.")
44
+ });
45
+ //#endregion
46
+ export { pushoverClientFetchMessages };
47
+
48
+ //# sourceMappingURL=client-fetch-messages.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-fetch-messages.mjs","names":[],"sources":["../../src/actions/client-fetch-messages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverClientFetchMessagesInput: z.ZodTypeAny = z.object({\n secret: z.string().describe(\"User session secret obtained after login, required to authenticate the client.\"),\n device_id: z.string().describe(\"Unique identifier of the registered device to fetch messages for.\"),\n}).describe(\"Request model for fetching pending messages for a device.\");\nconst PushoverClientFetchMessages_MessageSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Message ID as integer.\"),\n aid: z.number().int().describe(\"Application ID as integer.\"),\n app: z.string().describe(\"Application name that sent the message.\"),\n url: z.string().describe(\"Optional supplementary URL for the message.\").nullable().optional(),\n date: z.number().int().describe(\"Unix timestamp when the message was created.\"),\n html: z.number().int().describe(\"HTML flag (0 = plain text, 1 = HTML enabled).\"),\n icon: z.string().describe(\"Icon key associated with the application.\"),\n umid: z.number().int().describe(\"User message ID as integer.\"),\n acked: z.number().int().describe(\"Acknowledgement status (0 = not acked, 1 = acked).\"),\n sound: z.string().describe(\"Sound identifier for the notification.\"),\n title: z.string().describe(\"Optional message title.\").nullable().optional(),\n id_str: z.string().describe(\"Message ID as string.\"),\n aid_str: z.string().describe(\"Application ID as string.\"),\n message: z.string().describe(\"Message content.\"),\n receipt: z.string().describe(\"Receipt token for emergency-priority messages.\").nullable().optional(),\n priority: z.number().int().describe(\"Priority level of the message.\"),\n umid_str: z.string().describe(\"User message ID as string.\"),\n url_title: z.string().describe(\"Optional title for the supplementary URL.\").nullable().optional(),\n queued_date: z.number().int().describe(\"Unix timestamp when the message was queued.\"),\n dispatched_date: z.number().int().describe(\"Unix timestamp when the message was dispatched.\"),\n});\nexport const PushoverClientFetchMessagesOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Single error message when available.\").nullable().optional(),\n errors: z.array(z.string()).describe(\"List of error messages when the request fails.\").nullable().optional(),\n status: z.number().int().describe(\"API call status (1 indicates success; 0 indicates failure).\").nullable().optional(),\n request: z.string().describe(\"Unique request identifier returned by the API.\").nullable().optional(),\n messages: z.array(PushoverClientFetchMessages_MessageSchema).describe(\"List of pending messages for the device.\").nullable().optional(),\n http_status: z.number().int().describe(\"HTTP status code when an HTTP error occurred.\").nullable().optional(),\n http_response_text: z.string().describe(\"Raw HTTP response text when an HTTP error occurred.\").nullable().optional(),\n}).describe(\"Response model for fetched pending messages.\");\n\nexport const pushoverClientFetchMessages = action(\"PUSHOVER_CLIENT_FETCH_MESSAGES\", {\n slug: \"pushover-client-fetch-messages\",\n name: \"Fetch Pending Messages\",\n description: \"Tool to download pending messages for a registered device. Use after device registration to retrieve messages queued server-side.\",\n input: PushoverClientFetchMess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action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/client-login.ts
4
+ const PushoverClientLoginInput = zod.z.object({
5
+ email: zod.z.string().describe("Pushover account e-mail; case-sensitive"),
6
+ twofa: zod.z.string().describe("Two-factor authentication code; include only after prior HTTP 412 response").optional(),
7
+ password: zod.z.string().describe("Pushover account password; case-sensitive")
8
+ }).describe("Request model for CLIENT_LOGIN.");
9
+ const PushoverClientLoginOutput = zod.z.object({
10
+ id: zod.z.string().describe("User's Pushover user key; present only when status=1").nullable().optional(),
11
+ error: zod.z.string().describe("Error message if login failed or HTTP error occurred.").nullable().optional(),
12
+ secret: zod.z.string().describe("Session secret for this login; present only when status=1").nullable().optional(),
13
+ status: zod.z.number().int().describe("1 on success; 0 otherwise. May be absent on HTTP-level errors.").nullable().optional(),
14
+ request: zod.z.string().describe("Request identifier returned by API; may be unavailable on HTTP errors.").nullable().optional(),
15
+ http_status: zod.z.number().int().describe("HTTP status code when an HTTP error occurred.").nullable().optional(),
16
+ http_response_text: zod.z.string().describe("Raw HTTP response text when an HTTP error occurred.").nullable().optional()
17
+ }).describe("Response model for CLIENT_LOGIN.");
18
+ const pushoverClientLogin = require_action.action("PUSHOVER_CLIENT_LOGIN", {
19
+ slug: "pushover-client-login",
20
+ name: "Pushover Client Login",
21
+ description: "Tool to authenticate a Pushover user by email and password. Use when you need to obtain a user key and session secret. Include twofa code if prompted by a prior HTTP 412 response.",
22
+ input: PushoverClientLoginInput,
23
+ output: PushoverClientLoginOutput
24
+ });
25
+ //#endregion
26
+ exports.pushoverClientLogin = pushoverClientLogin;
27
+
28
+ //# sourceMappingURL=client-login.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-login.cjs","names":["z","action"],"sources":["../../src/actions/client-login.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverClientLoginInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Pushover account e-mail; case-sensitive\"),\n twofa: z.string().describe(\"Two-factor authentication code; include only after prior HTTP 412 response\").optional(),\n password: z.string().describe(\"Pushover account password; case-sensitive\"),\n}).describe(\"Request model for CLIENT_LOGIN.\");\nexport const PushoverClientLoginOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"User's Pushover user key; present only when status=1\").nullable().optional(),\n error: z.string().describe(\"Error message if login failed or HTTP error occurred.\").nullable().optional(),\n secret: z.string().describe(\"Session secret for this login; present only when status=1\").nullable().optional(),\n status: z.number().int().describe(\"1 on success; 0 otherwise. May be absent on HTTP-level errors.\").nullable().optional(),\n request: z.string().describe(\"Request identifier returned by API; may be unavailable on HTTP errors.\").nullable().optional(),\n http_status: z.number().int().describe(\"HTTP status code when an HTTP error occurred.\").nullable().optional(),\n http_response_text: z.string().describe(\"Raw HTTP response text when an HTTP error occurred.\").nullable().optional(),\n}).describe(\"Response model for CLIENT_LOGIN.\");\n\nexport const pushoverClientLogin = action(\"PUSHOVER_CLIENT_LOGIN\", {\n slug: \"pushover-client-login\",\n name: \"Pushover Client Login\",\n description: \"Tool to authenticate a Pushover user by email and password. Use when you need to obtain a user key and session secret. Include twofa code if prompted by a prior HTTP 412 response.\",\n input: PushoverClientLoginInput,\n output: PushoverClientLoginOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC3E,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAE9C,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/client-login.d.ts
4
+ declare const PushoverClientLoginInput: z.ZodTypeAny;
5
+ declare const PushoverClientLoginOutput: z.ZodTypeAny;
6
+ declare const pushoverClientLogin: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pushoverClientLogin };
9
+ //# sourceMappingURL=client-login.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-login.d.cts","names":[],"sources":["../../src/actions/client-login.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAIK;AAAA,cACjC,yBAAA,EAA2B,CAAA,CAAE,UAQK;AAAA,cAElC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/client-login.d.ts
4
+ declare const PushoverClientLoginInput: z.ZodTypeAny;
5
+ declare const PushoverClientLoginOutput: z.ZodTypeAny;
6
+ declare const pushoverClientLogin: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pushoverClientLogin };
9
+ //# sourceMappingURL=client-login.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-login.d.mts","names":[],"sources":["../../src/actions/client-login.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAIK;AAAA,cACjC,yBAAA,EAA2B,CAAA,CAAE,UAQK;AAAA,cAElC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}