@keystrokehq/pushbullet 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 (154) 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/create-chat.cjs +31 -0
  7. package/dist/actions/create-chat.cjs.map +1 -0
  8. package/dist/actions/create-chat.d.cts +9 -0
  9. package/dist/actions/create-chat.d.cts.map +1 -0
  10. package/dist/actions/create-chat.d.mts +9 -0
  11. package/dist/actions/create-chat.d.mts.map +1 -0
  12. package/dist/actions/create-chat.mjs +30 -0
  13. package/dist/actions/create-chat.mjs.map +1 -0
  14. package/dist/actions/create-device.cjs +52 -0
  15. package/dist/actions/create-device.cjs.map +1 -0
  16. package/dist/actions/create-device.d.cts +9 -0
  17. package/dist/actions/create-device.d.cts.map +1 -0
  18. package/dist/actions/create-device.d.mts +9 -0
  19. package/dist/actions/create-device.d.mts.map +1 -0
  20. package/dist/actions/create-device.mjs +49 -0
  21. package/dist/actions/create-device.mjs.map +1 -0
  22. package/dist/actions/create-push.cjs +56 -0
  23. package/dist/actions/create-push.cjs.map +1 -0
  24. package/dist/actions/create-push.d.cts +9 -0
  25. package/dist/actions/create-push.d.cts.map +1 -0
  26. package/dist/actions/create-push.d.mts +9 -0
  27. package/dist/actions/create-push.d.mts.map +1 -0
  28. package/dist/actions/create-push.mjs +53 -0
  29. package/dist/actions/create-push.mjs.map +1 -0
  30. package/dist/actions/delete-all-pushes.cjs +16 -0
  31. package/dist/actions/delete-all-pushes.cjs.map +1 -0
  32. package/dist/actions/delete-all-pushes.d.cts +9 -0
  33. package/dist/actions/delete-all-pushes.d.cts.map +1 -0
  34. package/dist/actions/delete-all-pushes.d.mts +9 -0
  35. package/dist/actions/delete-all-pushes.d.mts.map +1 -0
  36. package/dist/actions/delete-all-pushes.mjs +13 -0
  37. package/dist/actions/delete-all-pushes.mjs.map +1 -0
  38. package/dist/actions/delete-chat.cjs +16 -0
  39. package/dist/actions/delete-chat.cjs.map +1 -0
  40. package/dist/actions/delete-chat.d.cts +9 -0
  41. package/dist/actions/delete-chat.d.cts.map +1 -0
  42. package/dist/actions/delete-chat.d.mts +9 -0
  43. package/dist/actions/delete-chat.d.mts.map +1 -0
  44. package/dist/actions/delete-chat.mjs +13 -0
  45. package/dist/actions/delete-chat.mjs.map +1 -0
  46. package/dist/actions/delete-device.cjs +16 -0
  47. package/dist/actions/delete-device.cjs.map +1 -0
  48. package/dist/actions/delete-device.d.cts +9 -0
  49. package/dist/actions/delete-device.d.cts.map +1 -0
  50. package/dist/actions/delete-device.d.mts +9 -0
  51. package/dist/actions/delete-device.d.mts.map +1 -0
  52. package/dist/actions/delete-device.mjs +13 -0
  53. package/dist/actions/delete-device.mjs.map +1 -0
  54. package/dist/actions/delete-push.cjs +16 -0
  55. package/dist/actions/delete-push.cjs.map +1 -0
  56. package/dist/actions/delete-push.d.cts +9 -0
  57. package/dist/actions/delete-push.d.cts.map +1 -0
  58. package/dist/actions/delete-push.d.mts +9 -0
  59. package/dist/actions/delete-push.d.mts.map +1 -0
  60. package/dist/actions/delete-push.mjs +13 -0
  61. package/dist/actions/delete-push.mjs.map +1 -0
  62. package/dist/actions/get-user.cjs +27 -0
  63. package/dist/actions/get-user.cjs.map +1 -0
  64. package/dist/actions/get-user.d.cts +9 -0
  65. package/dist/actions/get-user.d.cts.map +1 -0
  66. package/dist/actions/get-user.d.mts +9 -0
  67. package/dist/actions/get-user.d.mts.map +1 -0
  68. package/dist/actions/get-user.mjs +24 -0
  69. package/dist/actions/get-user.mjs.map +1 -0
  70. package/dist/actions/index.cjs +31 -0
  71. package/dist/actions/index.d.cts +16 -0
  72. package/dist/actions/index.d.mts +16 -0
  73. package/dist/actions/index.mjs +16 -0
  74. package/dist/actions/list-chats.cjs +38 -0
  75. package/dist/actions/list-chats.cjs.map +1 -0
  76. package/dist/actions/list-chats.d.cts +9 -0
  77. package/dist/actions/list-chats.d.cts.map +1 -0
  78. package/dist/actions/list-chats.d.mts +9 -0
  79. package/dist/actions/list-chats.d.mts.map +1 -0
  80. package/dist/actions/list-chats.mjs +37 -0
  81. package/dist/actions/list-chats.mjs.map +1 -0
  82. package/dist/actions/list-devices.cjs +35 -0
  83. package/dist/actions/list-devices.cjs.map +1 -0
  84. package/dist/actions/list-devices.d.cts +9 -0
  85. package/dist/actions/list-devices.d.cts.map +1 -0
  86. package/dist/actions/list-devices.d.mts +9 -0
  87. package/dist/actions/list-devices.d.mts.map +1 -0
  88. package/dist/actions/list-devices.mjs +34 -0
  89. package/dist/actions/list-devices.mjs.map +1 -0
  90. package/dist/actions/list-pushes.cjs +46 -0
  91. package/dist/actions/list-pushes.cjs.map +1 -0
  92. package/dist/actions/list-pushes.d.cts +9 -0
  93. package/dist/actions/list-pushes.d.cts.map +1 -0
  94. package/dist/actions/list-pushes.d.mts +9 -0
  95. package/dist/actions/list-pushes.d.mts.map +1 -0
  96. package/dist/actions/list-pushes.mjs +45 -0
  97. package/dist/actions/list-pushes.mjs.map +1 -0
  98. package/dist/actions/update-chat.cjs +34 -0
  99. package/dist/actions/update-chat.cjs.map +1 -0
  100. package/dist/actions/update-chat.d.cts +9 -0
  101. package/dist/actions/update-chat.d.cts.map +1 -0
  102. package/dist/actions/update-chat.d.mts +9 -0
  103. package/dist/actions/update-chat.d.mts.map +1 -0
  104. package/dist/actions/update-chat.mjs +33 -0
  105. package/dist/actions/update-chat.mjs.map +1 -0
  106. package/dist/actions/update-device.cjs +53 -0
  107. package/dist/actions/update-device.cjs.map +1 -0
  108. package/dist/actions/update-device.d.cts +9 -0
  109. package/dist/actions/update-device.d.cts.map +1 -0
  110. package/dist/actions/update-device.d.mts +9 -0
  111. package/dist/actions/update-device.d.mts.map +1 -0
  112. package/dist/actions/update-device.mjs +50 -0
  113. package/dist/actions/update-device.mjs.map +1 -0
  114. package/dist/actions/update-push.cjs +48 -0
  115. package/dist/actions/update-push.cjs.map +1 -0
  116. package/dist/actions/update-push.d.cts +9 -0
  117. package/dist/actions/update-push.d.cts.map +1 -0
  118. package/dist/actions/update-push.d.mts +9 -0
  119. package/dist/actions/update-push.d.mts.map +1 -0
  120. package/dist/actions/update-push.mjs +45 -0
  121. package/dist/actions/update-push.mjs.map +1 -0
  122. package/dist/actions/upload-request.cjs +33 -0
  123. package/dist/actions/upload-request.cjs.map +1 -0
  124. package/dist/actions/upload-request.d.cts +9 -0
  125. package/dist/actions/upload-request.d.cts.map +1 -0
  126. package/dist/actions/upload-request.d.mts +9 -0
  127. package/dist/actions/upload-request.d.mts.map +1 -0
  128. package/dist/actions/upload-request.mjs +32 -0
  129. package/dist/actions/upload-request.mjs.map +1 -0
  130. package/dist/app.cjs +9 -0
  131. package/dist/app.cjs.map +1 -0
  132. package/dist/app.d.cts +5 -0
  133. package/dist/app.d.cts.map +1 -0
  134. package/dist/app.d.mts +5 -0
  135. package/dist/app.d.mts.map +1 -0
  136. package/dist/app.mjs +10 -0
  137. package/dist/app.mjs.map +1 -0
  138. package/dist/catalog.cjs +15 -0
  139. package/dist/catalog.cjs.map +1 -0
  140. package/dist/catalog.d.cts +14 -0
  141. package/dist/catalog.d.cts.map +1 -0
  142. package/dist/catalog.d.mts +14 -0
  143. package/dist/catalog.d.mts.map +1 -0
  144. package/dist/catalog.mjs +15 -0
  145. package/dist/catalog.mjs.map +1 -0
  146. package/dist/execute.cjs +18 -0
  147. package/dist/execute.cjs.map +1 -0
  148. package/dist/execute.mjs +18 -0
  149. package/dist/execute.mjs.map +1 -0
  150. package/dist/index.cjs +36 -0
  151. package/dist/index.d.cts +18 -0
  152. package/dist/index.d.mts +18 -0
  153. package/dist/index.mjs +19 -0
  154. package/package.json +49 -0
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @keystrokehq/pushbullet
2
+
3
+ Keystroke-managed integration.
4
+
5
+ **App:** `pushbullet`
6
+ **Version:** `20260615_00`
7
+ **Actions:** 15
8
+
9
+ ```ts
10
+ import { defineAgent } from "@keystrokehq/keystroke/agent";
11
+ import { pushbulletCreateChat } from "@keystrokehq/pushbullet/actions";
12
+
13
+ export default defineAgent({
14
+ key: "pushbullet-agent",
15
+ tools: [pushbulletCreateChat],
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.pushbullet.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.executePushbulletTool(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":["pushbullet","executePushbulletTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pushbullet } from \"./app\";\nimport { executePushbulletTool } 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 pushbullet.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 executePushbulletTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,WAAW,OAAO;EACvB,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,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
@@ -0,0 +1,21 @@
1
+ import { pushbullet } from "./app.mjs";
2
+ import { executePushbulletTool } 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 pushbullet.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 executePushbulletTool(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 { pushbullet } from \"./app\";\nimport { executePushbulletTool } 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 pushbullet.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 executePushbulletTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
@@ -0,0 +1,31 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-chat.ts
4
+ const PushbulletCreateChatInput = zod.z.object({ email: zod.z.string().describe("Email of the person to create the chat with (does not have to be a Pushbullet user).") }).describe("Request parameters for creating a new Pushbullet chat.");
5
+ const PushbulletCreateChat_ChatWithSchema = zod.z.object({
6
+ iden: zod.z.string().describe("User iden if this is a Pushbullet user.").nullable().optional(),
7
+ name: zod.z.string().describe("Name of the person, if known.").nullable().optional(),
8
+ type: zod.z.enum(["email", "user"]).describe("Type of chat target: 'email' or 'user'."),
9
+ email: zod.z.string().describe("Email address of the person."),
10
+ image_url: zod.z.string().describe("Image URL for the person.").nullable().optional(),
11
+ email_normalized: zod.z.string().describe("Canonical email address of the person.")
12
+ }).describe("Information about the user or email that the chat is with.");
13
+ const PushbulletCreateChatOutput = zod.z.object({
14
+ iden: zod.z.string().describe("Unique identifier for the chat."),
15
+ "with": PushbulletCreateChat_ChatWithSchema.nullable(),
16
+ muted: zod.z.boolean().describe("True if notifications from this chat are muted.").nullable().optional(),
17
+ active: zod.z.boolean().describe("False if the chat has been deleted."),
18
+ created: zod.z.number().describe("Creation time as Unix timestamp."),
19
+ modified: zod.z.number().describe("Last modified time as Unix timestamp.")
20
+ }).describe("Response schema for creating a new Pushbullet chat.");
21
+ const pushbulletCreateChat = require_action.action("PUSHBULLET_CREATE_CHAT", {
22
+ slug: "pushbullet-create-chat",
23
+ name: "Create Chat",
24
+ description: "Tool to create a new chat with the specified email address. Use when you need to initiate a conversation thread by email.",
25
+ input: PushbulletCreateChatInput,
26
+ output: PushbulletCreateChatOutput
27
+ });
28
+ //#endregion
29
+ exports.pushbulletCreateChat = pushbulletCreateChat;
30
+
31
+ //# sourceMappingURL=create-chat.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-chat.cjs","names":["z","action"],"sources":["../../src/actions/create-chat.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletCreateChatInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email of the person to create the chat with (does not have to be a Pushbullet user).\"),\n}).describe(\"Request parameters for creating a new Pushbullet chat.\");\nconst PushbulletCreateChat_ChatWithSchema: z.ZodTypeAny = z.object({\n iden: z.string().describe(\"User iden if this is a Pushbullet user.\").nullable().optional(),\n name: z.string().describe(\"Name of the person, if known.\").nullable().optional(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of chat target: 'email' or 'user'.\"),\n email: z.string().describe(\"Email address of the person.\"),\n image_url: z.string().describe(\"Image URL for the person.\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the person.\"),\n}).describe(\"Information about the user or email that the chat is with.\");\nexport const PushbulletCreateChatOutput: z.ZodTypeAny = z.object({\n iden: z.string().describe(\"Unique identifier for the chat.\"),\n \"with\": PushbulletCreateChat_ChatWithSchema.nullable(),\n muted: z.boolean().describe(\"True if notifications from this chat are muted.\").nullable().optional(),\n active: z.boolean().describe(\"False if the chat has been deleted.\"),\n created: z.number().describe(\"Creation time as Unix timestamp.\"),\n modified: z.number().describe(\"Last modified time as Unix timestamp.\"),\n}).describe(\"Response schema for creating a new Pushbullet chat.\");\n\nexport const pushbulletCreateChat = action(\"PUSHBULLET_CREATE_CHAT\", {\n slug: \"pushbullet-create-chat\",\n name: \"Create Chat\",\n description: \"Tool to create a new chat with the specified email address. Use when you need to initiate a conversation thread by email.\",\n input: PushbulletCreateChatInput,\n output: PushbulletCreateChatOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACnH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,SAAS,yCAAyC;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AAChF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,QAAQ,oCAAoC,SAAS;CACrD,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACvE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,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/create-chat.d.ts
4
+ declare const PushbulletCreateChatInput: z.ZodTypeAny;
5
+ declare const PushbulletCreateChatOutput: z.ZodTypeAny;
6
+ declare const pushbulletCreateChat: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pushbulletCreateChat };
9
+ //# sourceMappingURL=create-chat.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-chat.d.cts","names":[],"sources":["../../src/actions/create-chat.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAE2B;AAAA,cASxD,0BAAA,EAA4B,CAAA,CAAE,UAOuB;AAAA,cAErD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-chat.d.ts
4
+ declare const PushbulletCreateChatInput: z.ZodTypeAny;
5
+ declare const PushbulletCreateChatOutput: z.ZodTypeAny;
6
+ declare const pushbulletCreateChat: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pushbulletCreateChat };
9
+ //# sourceMappingURL=create-chat.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-chat.d.mts","names":[],"sources":["../../src/actions/create-chat.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAE2B;AAAA,cASxD,0BAAA,EAA4B,CAAA,CAAE,UAOuB;AAAA,cAErD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,30 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-chat.ts
4
+ const PushbulletCreateChatInput = z.object({ email: z.string().describe("Email of the person to create the chat with (does not have to be a Pushbullet user).") }).describe("Request parameters for creating a new Pushbullet chat.");
5
+ const PushbulletCreateChat_ChatWithSchema = z.object({
6
+ iden: z.string().describe("User iden if this is a Pushbullet user.").nullable().optional(),
7
+ name: z.string().describe("Name of the person, if known.").nullable().optional(),
8
+ type: z.enum(["email", "user"]).describe("Type of chat target: 'email' or 'user'."),
9
+ email: z.string().describe("Email address of the person."),
10
+ image_url: z.string().describe("Image URL for the person.").nullable().optional(),
11
+ email_normalized: z.string().describe("Canonical email address of the person.")
12
+ }).describe("Information about the user or email that the chat is with.");
13
+ const pushbulletCreateChat = action("PUSHBULLET_CREATE_CHAT", {
14
+ slug: "pushbullet-create-chat",
15
+ name: "Create Chat",
16
+ description: "Tool to create a new chat with the specified email address. Use when you need to initiate a conversation thread by email.",
17
+ input: PushbulletCreateChatInput,
18
+ output: z.object({
19
+ iden: z.string().describe("Unique identifier for the chat."),
20
+ "with": PushbulletCreateChat_ChatWithSchema.nullable(),
21
+ muted: z.boolean().describe("True if notifications from this chat are muted.").nullable().optional(),
22
+ active: z.boolean().describe("False if the chat has been deleted."),
23
+ created: z.number().describe("Creation time as Unix timestamp."),
24
+ modified: z.number().describe("Last modified time as Unix timestamp.")
25
+ }).describe("Response schema for creating a new Pushbullet chat.")
26
+ });
27
+ //#endregion
28
+ export { pushbulletCreateChat };
29
+
30
+ //# sourceMappingURL=create-chat.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-chat.mjs","names":[],"sources":["../../src/actions/create-chat.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletCreateChatInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email of the person to create the chat with (does not have to be a Pushbullet user).\"),\n}).describe(\"Request parameters for creating a new Pushbullet chat.\");\nconst PushbulletCreateChat_ChatWithSchema: z.ZodTypeAny = z.object({\n iden: z.string().describe(\"User iden if this is a Pushbullet user.\").nullable().optional(),\n name: z.string().describe(\"Name of the person, if known.\").nullable().optional(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of chat target: 'email' or 'user'.\"),\n email: z.string().describe(\"Email address of the person.\"),\n image_url: z.string().describe(\"Image URL for the person.\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the person.\"),\n}).describe(\"Information about the user or email that the chat is with.\");\nexport const PushbulletCreateChatOutput: z.ZodTypeAny = z.object({\n iden: z.string().describe(\"Unique identifier for the chat.\"),\n \"with\": PushbulletCreateChat_ChatWithSchema.nullable(),\n muted: z.boolean().describe(\"True if notifications from this chat are muted.\").nullable().optional(),\n active: z.boolean().describe(\"False if the chat has been deleted.\"),\n created: z.number().describe(\"Creation time as Unix timestamp.\"),\n modified: z.number().describe(\"Last modified time as Unix timestamp.\"),\n}).describe(\"Response schema for creating a new Pushbullet chat.\");\n\nexport const pushbulletCreateChat = action(\"PUSHBULLET_CREATE_CHAT\", {\n slug: \"pushbullet-create-chat\",\n name: \"Create Chat\",\n description: \"Tool to create a new chat with the specified email address. Use when you need to initiate a conversation thread by email.\",\n input: PushbulletCreateChatInput,\n output: PushbulletCreateChatOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO,EAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACnH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,sCAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,KAAK,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,SAAS,yCAAyC;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AAChF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAUxE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdsD,EAAE,OAAO;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC3D,QAAQ,oCAAoC,SAAS;EACrD,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC;EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACvE,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
@@ -0,0 +1,52 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-device.ts
4
+ const PushbulletCreateDeviceInput = zod.z.object({
5
+ icon: zod.z.enum([
6
+ "desktop",
7
+ "browser",
8
+ "website",
9
+ "laptop",
10
+ "tablet",
11
+ "phone",
12
+ "watch",
13
+ "system",
14
+ "ios"
15
+ ]).describe("Icon for this device; e.g., desktop, phone, watch, etc.").optional(),
16
+ model: zod.z.string().describe("Model of the device"),
17
+ has_sms: zod.z.boolean().describe("True if the device has SMS capability (Android only)").optional(),
18
+ nickname: zod.z.string().describe("Name to display for the device"),
19
+ push_token: zod.z.string().describe("Platform-specific push token; leave blank for custom devices").optional(),
20
+ app_version: zod.z.number().int().describe("Version of the Pushbullet app installed on the device (non-negative)"),
21
+ manufacturer: zod.z.string().describe("Manufacturer of the device")
22
+ }).describe("Request parameters for creating a new device under the current user's Pushbullet account.");
23
+ const PushbulletCreateDeviceOutput = zod.z.object({
24
+ icon: zod.z.string().describe("Icon string for the device").nullable().optional(),
25
+ iden: zod.z.string().describe("Unique identifier for the device").nullable().optional(),
26
+ kind: zod.z.string().describe("(Deprecated) alias for type").nullable().optional(),
27
+ type: zod.z.string().describe("(Deprecated) old device type field").nullable().optional(),
28
+ model: zod.z.string().describe("Model of the device").nullable().optional(),
29
+ active: zod.z.boolean().describe("True if the device is active").nullable().optional(),
30
+ created: zod.z.number().describe("Creation time (Unix epoch seconds)").nullable().optional(),
31
+ has_sms: zod.z.boolean().describe("True if the device has SMS capability").nullable().optional(),
32
+ modified: zod.z.number().describe("Last modified time (Unix epoch seconds)").nullable().optional(),
33
+ nickname: zod.z.string().describe("Display name of the device").nullable().optional(),
34
+ pushable: zod.z.boolean().describe("(Deprecated) pushable flag for partial devices").nullable().optional(),
35
+ push_token: zod.z.string().describe("Platform-specific push token").nullable().optional(),
36
+ app_version: zod.z.number().int().describe("App version installed on the device").nullable().optional(),
37
+ fingerprint: zod.z.string().describe("Device fingerprint to avoid duplicates").nullable().optional(),
38
+ manufacturer: zod.z.string().describe("Manufacturer of the device").nullable().optional(),
39
+ key_fingerprint: zod.z.string().describe("Encryption key fingerprint").nullable().optional(),
40
+ generated_nickname: zod.z.boolean().describe("True if nickname was auto-generated from manufacturer and model").nullable().optional()
41
+ }).describe("Device object returned after creating a new device via Pushbullet.");
42
+ const pushbulletCreateDevice = require_action.action("PUSHBULLET_CREATE_DEVICE", {
43
+ slug: "pushbullet-create-device",
44
+ name: "Register Device",
45
+ description: "Tool to register a new device under the current user's account. Use when adding a new hardware or app device to Pushbullet.",
46
+ input: PushbulletCreateDeviceInput,
47
+ output: PushbulletCreateDeviceOutput
48
+ });
49
+ //#endregion
50
+ exports.pushbulletCreateDevice = pushbulletCreateDevice;
51
+
52
+ //# sourceMappingURL=create-device.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-device.cjs","names":["z","action"],"sources":["../../src/actions/create-device.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletCreateDeviceInput: z.ZodTypeAny = z.object({\n icon: z.enum([\"desktop\", \"browser\", \"website\", \"laptop\", \"tablet\", \"phone\", \"watch\", \"system\", \"ios\"]).describe(\"Icon for this device; e.g., desktop, phone, watch, etc.\").optional(),\n model: z.string().describe(\"Model of the device\"),\n has_sms: z.boolean().describe(\"True if the device has SMS capability (Android only)\").optional(),\n nickname: z.string().describe(\"Name to display for the device\"),\n push_token: z.string().describe(\"Platform-specific push token; leave blank for custom devices\").optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet app installed on the device (non-negative)\"),\n manufacturer: z.string().describe(\"Manufacturer of the device\"),\n}).describe(\"Request parameters for creating a new device under the current user's Pushbullet account.\");\nexport const PushbulletCreateDeviceOutput: z.ZodTypeAny = z.object({\n icon: z.string().describe(\"Icon string for the device\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the device\").nullable().optional(),\n kind: z.string().describe(\"(Deprecated) alias for type\").nullable().optional(),\n type: z.string().describe(\"(Deprecated) old device type field\").nullable().optional(),\n model: z.string().describe(\"Model of the device\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active\").nullable().optional(),\n created: z.number().describe(\"Creation time (Unix epoch seconds)\").nullable().optional(),\n has_sms: z.boolean().describe(\"True if the device has SMS capability\").nullable().optional(),\n modified: z.number().describe(\"Last modified time (Unix epoch seconds)\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the device\").nullable().optional(),\n pushable: z.boolean().describe(\"(Deprecated) pushable flag for partial devices\").nullable().optional(),\n push_token: z.string().describe(\"Platform-specific push token\").nullable().optional(),\n app_version: z.number().int().describe(\"App version installed on the device\").nullable().optional(),\n fingerprint: z.string().describe(\"Device fingerprint to avoid duplicates\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Encryption key fingerprint\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated from manufacturer and model\").nullable().optional(),\n}).describe(\"Device object returned after creating a new device via Pushbullet.\");\n\nexport const pushbulletCreateDevice = action(\"PUSHBULLET_CREATE_DEVICE\", {\n slug: \"pushbullet-create-device\",\n name: \"Register Device\",\n description: \"Tool to register a new device under the current user's account. Use when adding a new hardware or app device to Pushbullet.\",\n input: PushbulletCreateDeviceInput,\n output: PushbulletCreateDeviceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,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2
+
3
+ //#region src/actions/create-device.d.ts
4
+ declare const PushbulletCreateDeviceInput: z.ZodTypeAny;
5
+ declare const PushbulletCreateDeviceOutput: z.ZodTypeAny;
6
+ declare const pushbulletCreateDevice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pushbulletCreateDevice };
9
+ //# sourceMappingURL=create-device.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-device.d.cts","names":[],"sources":["../../src/actions/create-device.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAQ4D;AAAA,cAC3F,4BAAA,EAA8B,CAAA,CAAE,UAkBoC;AAAA,cAEpE,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-device.d.ts
4
+ declare const PushbulletCreateDeviceInput: z.ZodTypeAny;
5
+ declare const PushbulletCreateDeviceOutput: z.ZodTypeAny;
6
+ declare const pushbulletCreateDevice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pushbulletCreateDevice };
9
+ //# sourceMappingURL=create-device.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-device.d.mts","names":[],"sources":["../../src/actions/create-device.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAQ4D;AAAA,cAC3F,4BAAA,EAA8B,CAAA,CAAE,UAkBoC;AAAA,cAEpE,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,49 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const pushbulletCreateDevice = action("PUSHBULLET_CREATE_DEVICE", {
4
+ slug: "pushbullet-create-device",
5
+ name: "Register Device",
6
+ description: "Tool to register a new device under the current user's account. Use when adding a new hardware or app device to Pushbullet.",
7
+ input: z.object({
8
+ icon: z.enum([
9
+ "desktop",
10
+ "browser",
11
+ "website",
12
+ "laptop",
13
+ "tablet",
14
+ "phone",
15
+ "watch",
16
+ "system",
17
+ "ios"
18
+ ]).describe("Icon for this device; e.g., desktop, phone, watch, etc.").optional(),
19
+ model: z.string().describe("Model of the device"),
20
+ has_sms: z.boolean().describe("True if the device has SMS capability (Android only)").optional(),
21
+ nickname: z.string().describe("Name to display for the device"),
22
+ push_token: z.string().describe("Platform-specific push token; leave blank for custom devices").optional(),
23
+ app_version: z.number().int().describe("Version of the Pushbullet app installed on the device (non-negative)"),
24
+ manufacturer: z.string().describe("Manufacturer of the device")
25
+ }).describe("Request parameters for creating a new device under the current user's Pushbullet account."),
26
+ output: z.object({
27
+ icon: z.string().describe("Icon string for the device").nullable().optional(),
28
+ iden: z.string().describe("Unique identifier for the device").nullable().optional(),
29
+ kind: z.string().describe("(Deprecated) alias for type").nullable().optional(),
30
+ type: z.string().describe("(Deprecated) old device type field").nullable().optional(),
31
+ model: z.string().describe("Model of the device").nullable().optional(),
32
+ active: z.boolean().describe("True if the device is active").nullable().optional(),
33
+ created: z.number().describe("Creation time (Unix epoch seconds)").nullable().optional(),
34
+ has_sms: z.boolean().describe("True if the device has SMS capability").nullable().optional(),
35
+ modified: z.number().describe("Last modified time (Unix epoch seconds)").nullable().optional(),
36
+ nickname: z.string().describe("Display name of the device").nullable().optional(),
37
+ pushable: z.boolean().describe("(Deprecated) pushable flag for partial devices").nullable().optional(),
38
+ push_token: z.string().describe("Platform-specific push token").nullable().optional(),
39
+ app_version: z.number().int().describe("App version installed on the device").nullable().optional(),
40
+ fingerprint: z.string().describe("Device fingerprint to avoid duplicates").nullable().optional(),
41
+ manufacturer: z.string().describe("Manufacturer of the device").nullable().optional(),
42
+ key_fingerprint: z.string().describe("Encryption key fingerprint").nullable().optional(),
43
+ generated_nickname: z.boolean().describe("True if nickname was auto-generated from manufacturer and model").nullable().optional()
44
+ }).describe("Device object returned after creating a new device via Pushbullet.")
45
+ });
46
+ //#endregion
47
+ export { pushbulletCreateDevice };
48
+
49
+ //# sourceMappingURL=create-device.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-device.mjs","names":[],"sources":["../../src/actions/create-device.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletCreateDeviceInput: z.ZodTypeAny = z.object({\n icon: z.enum([\"desktop\", \"browser\", \"website\", \"laptop\", \"tablet\", \"phone\", \"watch\", \"system\", \"ios\"]).describe(\"Icon for this device; e.g., desktop, phone, watch, etc.\").optional(),\n model: z.string().describe(\"Model of the device\"),\n has_sms: z.boolean().describe(\"True if the device has SMS capability (Android only)\").optional(),\n nickname: z.string().describe(\"Name to display for the device\"),\n push_token: z.string().describe(\"Platform-specific push token; leave blank for custom devices\").optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet app installed on the device (non-negative)\"),\n manufacturer: z.string().describe(\"Manufacturer of the device\"),\n}).describe(\"Request parameters for creating a new device under the current user's Pushbullet account.\");\nexport const PushbulletCreateDeviceOutput: z.ZodTypeAny = z.object({\n icon: z.string().describe(\"Icon string for the device\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the device\").nullable().optional(),\n kind: z.string().describe(\"(Deprecated) alias for type\").nullable().optional(),\n type: z.string().describe(\"(Deprecated) old device type field\").nullable().optional(),\n model: z.string().describe(\"Model of the device\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active\").nullable().optional(),\n created: z.number().describe(\"Creation time (Unix epoch seconds)\").nullable().optional(),\n has_sms: z.boolean().describe(\"True if the device has SMS capability\").nullable().optional(),\n modified: z.number().describe(\"Last modified time (Unix epoch seconds)\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the device\").nullable().optional(),\n pushable: z.boolean().describe(\"(Deprecated) pushable flag for partial devices\").nullable().optional(),\n push_token: z.string().describe(\"Platform-specific push token\").nullable().optional(),\n app_version: z.number().int().describe(\"App version installed on the device\").nullable().optional(),\n fingerprint: z.string().describe(\"Device fingerprint to avoid duplicates\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Encryption key fingerprint\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated from manufacturer and model\").nullable().optional(),\n}).describe(\"Device object returned after creating a new device via Pushbullet.\");\n\nexport const pushbulletCreateDevice = action(\"PUSHBULLET_CREATE_DEVICE\", {\n slug: \"pushbullet-create-device\",\n name: \"Register Device\",\n description: \"Tool to register a new device under the current user's account. Use when adding a new hardware or app device to Pushbullet.\",\n input: PushbulletCreateDeviceInput,\n output: PushbulletCreateDeviceOutput,\n});\n"],"mappings":";;AAiCA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjCuD,EAAE,OAAO;EAChE,MAAM,EAAE,KAAK;GAAC;GAAW;GAAW;GAAW;GAAU;GAAU;GAAS;GAAS;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACpL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EAChD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE;EAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAChE,CAAC,CAAC,CAAC,SAAS,2FAyBH;CACP,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AAC,SAAS,CAAC,CAAC,SAAS;EAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
@@ -0,0 +1,56 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-push.ts
4
+ const PushbulletCreatePushInput = zod.z.object({
5
+ url: zod.z.string().describe("URL to include with a link push. Required when type='link'.").optional(),
6
+ body: zod.z.string().describe("Body text of the note, link message, or file message.").optional(),
7
+ guid: zod.z.string().describe("Client-generated unique identifier for idempotency.").optional(),
8
+ type: zod.z.enum([
9
+ "note",
10
+ "link",
11
+ "file"
12
+ ]).describe("Type of push to send: 'note', 'link', or 'file'."),
13
+ email: zod.z.string().describe("Email address to send the push to (Pushbullet user or fallback email).").optional(),
14
+ title: zod.z.string().describe("Title of the note or link (optional).").optional(),
15
+ file_url: zod.z.string().describe("URL of the file to push. Required when type='file'.").optional(),
16
+ file_name: zod.z.string().describe("Filename for file push. Required when type='file'.").optional(),
17
+ file_type: zod.z.string().describe("MIME type of the file. Required when type='file'.").optional(),
18
+ channel_tag: zod.z.string().describe("Tag of channel to broadcast the push to subscribers.").optional(),
19
+ client_iden: zod.z.string().describe("Identifier of OAuth client to send the push to its authorized users.").optional(),
20
+ device_iden: zod.z.string().describe("Identifier of device to send the push to.").optional(),
21
+ source_device_iden: zod.z.string().describe("Identifier of the source device sending this push.").optional()
22
+ }).describe("Request model for sending a push (note, link, or file).\nExactly one target (device_iden, email, channel_tag, client_iden) may be specified.");
23
+ const PushbulletCreatePushOutput = zod.z.object({
24
+ url: zod.z.string().describe("URL for link pushes.").nullable().optional(),
25
+ body: zod.z.string().describe("Body of the push (if provided).").nullable().optional(),
26
+ iden: zod.z.string().describe("Unique identifier for the push."),
27
+ type: zod.z.enum([
28
+ "note",
29
+ "link",
30
+ "file"
31
+ ]).describe("Type of the push."),
32
+ title: zod.z.string().describe("Title of the push (if provided).").nullable().optional(),
33
+ active: zod.z.boolean().describe("True if the push is active."),
34
+ created: zod.z.number().describe("Creation timestamp (seconds since epoch)."),
35
+ file_url: zod.z.string().describe("URL of file for file pushes.").nullable().optional(),
36
+ modified: zod.z.number().describe("Last modified timestamp (seconds since epoch)."),
37
+ file_name: zod.z.string().describe("Filename for file pushes.").nullable().optional(),
38
+ file_type: zod.z.string().describe("MIME type for file pushes.").nullable().optional(),
39
+ sender_iden: zod.z.string().describe("Identifier of the sender.").nullable().optional(),
40
+ sender_email: zod.z.string().describe("Email of the sender.").nullable().optional(),
41
+ receiver_iden: zod.z.string().describe("Identifier of the receiver."),
42
+ receiver_email: zod.z.string().describe("Email of the receiver."),
43
+ sender_email_normalized: zod.z.string().describe("Normalized sender email.").nullable().optional(),
44
+ receiver_email_normalized: zod.z.string().describe("Normalized receiver email.")
45
+ }).describe("Response model for created push.");
46
+ const pushbulletCreatePush = require_action.action("PUSHBULLET_CREATE_PUSH", {
47
+ slug: "pushbullet-create-push",
48
+ name: "Create Push",
49
+ description: "Tool to send a new push (note, link, or file) to a device, user, channel, or client. Use when you need to share content to a specific target. Example: \"Send a link to https://example.com to device abc123\".",
50
+ input: PushbulletCreatePushInput,
51
+ output: PushbulletCreatePushOutput
52
+ });
53
+ //#endregion
54
+ exports.pushbulletCreatePush = pushbulletCreatePush;
55
+
56
+ //# sourceMappingURL=create-push.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-push.cjs","names":["z","action"],"sources":["../../src/actions/create-push.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletCreatePushInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL to include with a link push. Required when type='link'.\").optional(),\n body: z.string().describe(\"Body text of the note, link message, or file message.\").optional(),\n guid: z.string().describe(\"Client-generated unique identifier for idempotency.\").optional(),\n type: z.enum([\"note\", \"link\", \"file\"]).describe(\"Type of push to send: 'note', 'link', or 'file'.\"),\n email: z.string().describe(\"Email address to send the push to (Pushbullet user or fallback email).\").optional(),\n title: z.string().describe(\"Title of the note or link (optional).\").optional(),\n file_url: z.string().describe(\"URL of the file to push. Required when type='file'.\").optional(),\n file_name: z.string().describe(\"Filename for file push. Required when type='file'.\").optional(),\n file_type: z.string().describe(\"MIME type of the file. Required when type='file'.\").optional(),\n channel_tag: z.string().describe(\"Tag of channel to broadcast the push to subscribers.\").optional(),\n client_iden: z.string().describe(\"Identifier of OAuth client to send the push to its authorized users.\").optional(),\n device_iden: z.string().describe(\"Identifier of device to send the push to.\").optional(),\n source_device_iden: z.string().describe(\"Identifier of the source device sending this push.\").optional(),\n}).describe(\"Request model for sending a push (note, link, or file).\\nExactly one target (device_iden, email, channel_tag, client_iden) may be specified.\");\nexport const PushbulletCreatePushOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL for link pushes.\").nullable().optional(),\n body: z.string().describe(\"Body of the push (if provided).\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the push.\"),\n type: z.enum([\"note\", \"link\", \"file\"]).describe(\"Type of the push.\"),\n title: z.string().describe(\"Title of the push (if provided).\").nullable().optional(),\n active: z.boolean().describe(\"True if the push is active.\"),\n created: z.number().describe(\"Creation timestamp (seconds since epoch).\"),\n file_url: z.string().describe(\"URL of file for file pushes.\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (seconds since epoch).\"),\n file_name: z.string().describe(\"Filename for file pushes.\").nullable().optional(),\n file_type: z.string().describe(\"MIME type for file pushes.\").nullable().optional(),\n sender_iden: z.string().describe(\"Identifier of the sender.\").nullable().optional(),\n sender_email: z.string().describe(\"Email of the sender.\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver.\"),\n receiver_email: z.string().describe(\"Email of the receiver.\"),\n sender_email_normalized: z.string().describe(\"Normalized sender email.\").nullable().optional(),\n receiver_email_normalized: z.string().describe(\"Normalized receiver email.\"),\n}).describe(\"Response model for created push.\");\n\nexport const pushbulletCreatePush = action(\"PUSHBULLET_CREATE_PUSH\", {\n slug: \"pushbullet-create-push\",\n name: \"Create Push\",\n description: \"Tool to send a new push (note, link, or file) to a device, user, channel, or client. Use when you need to share content to a specific target. Example: \\\"Send a link to https://example.com to device abc123\\\".\",\n input: PushbulletCreatePushInput,\n output: PushbulletCreatePushOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;CAAM,CAAC,CAAC,CAAC,SAAS,kDAAkD;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC9G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CA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CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAChE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAC5D,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AAC7E,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAE9C,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,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/create-push.d.ts
4
+ declare const PushbulletCreatePushInput: z.ZodTypeAny;
5
+ declare const PushbulletCreatePushOutput: z.ZodTypeAny;
6
+ declare const pushbulletCreatePush: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pushbulletCreatePush };
9
+ //# sourceMappingURL=create-push.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-push.d.cts","names":[],"sources":["../../src/actions/create-push.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAciH;AAAA,cAC9I,0BAAA,EAA4B,CAAA,CAAE,UAkBI;AAAA,cAElC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-push.d.ts
4
+ declare const PushbulletCreatePushInput: z.ZodTypeAny;
5
+ declare const PushbulletCreatePushOutput: z.ZodTypeAny;
6
+ declare const pushbulletCreatePush: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pushbulletCreatePush };
9
+ //# sourceMappingURL=create-push.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-push.d.mts","names":[],"sources":["../../src/actions/create-push.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAciH;AAAA,cAC9I,0BAAA,EAA4B,CAAA,CAAE,UAkBI;AAAA,cAElC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,53 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const pushbulletCreatePush = action("PUSHBULLET_CREATE_PUSH", {
4
+ slug: "pushbullet-create-push",
5
+ name: "Create Push",
6
+ description: "Tool to send a new push (note, link, or file) to a device, user, channel, or client. Use when you need to share content to a specific target. Example: \"Send a link to https://example.com to device abc123\".",
7
+ input: z.object({
8
+ url: z.string().describe("URL to include with a link push. Required when type='link'.").optional(),
9
+ body: z.string().describe("Body text of the note, link message, or file message.").optional(),
10
+ guid: z.string().describe("Client-generated unique identifier for idempotency.").optional(),
11
+ type: z.enum([
12
+ "note",
13
+ "link",
14
+ "file"
15
+ ]).describe("Type of push to send: 'note', 'link', or 'file'."),
16
+ email: z.string().describe("Email address to send the push to (Pushbullet user or fallback email).").optional(),
17
+ title: z.string().describe("Title of the note or link (optional).").optional(),
18
+ file_url: z.string().describe("URL of the file to push. Required when type='file'.").optional(),
19
+ file_name: z.string().describe("Filename for file push. Required when type='file'.").optional(),
20
+ file_type: z.string().describe("MIME type of the file. Required when type='file'.").optional(),
21
+ channel_tag: z.string().describe("Tag of channel to broadcast the push to subscribers.").optional(),
22
+ client_iden: z.string().describe("Identifier of OAuth client to send the push to its authorized users.").optional(),
23
+ device_iden: z.string().describe("Identifier of device to send the push to.").optional(),
24
+ source_device_iden: z.string().describe("Identifier of the source device sending this push.").optional()
25
+ }).describe("Request model for sending a push (note, link, or file).\nExactly one target (device_iden, email, channel_tag, client_iden) may be specified."),
26
+ output: z.object({
27
+ url: z.string().describe("URL for link pushes.").nullable().optional(),
28
+ body: z.string().describe("Body of the push (if provided).").nullable().optional(),
29
+ iden: z.string().describe("Unique identifier for the push."),
30
+ type: z.enum([
31
+ "note",
32
+ "link",
33
+ "file"
34
+ ]).describe("Type of the push."),
35
+ title: z.string().describe("Title of the push (if provided).").nullable().optional(),
36
+ active: z.boolean().describe("True if the push is active."),
37
+ created: z.number().describe("Creation timestamp (seconds since epoch)."),
38
+ file_url: z.string().describe("URL of file for file pushes.").nullable().optional(),
39
+ modified: z.number().describe("Last modified timestamp (seconds since epoch)."),
40
+ file_name: z.string().describe("Filename for file pushes.").nullable().optional(),
41
+ file_type: z.string().describe("MIME type for file pushes.").nullable().optional(),
42
+ sender_iden: z.string().describe("Identifier of the sender.").nullable().optional(),
43
+ sender_email: z.string().describe("Email of the sender.").nullable().optional(),
44
+ receiver_iden: z.string().describe("Identifier of the receiver."),
45
+ receiver_email: z.string().describe("Email of the receiver."),
46
+ sender_email_normalized: z.string().describe("Normalized sender email.").nullable().optional(),
47
+ receiver_email_normalized: z.string().describe("Normalized receiver email.")
48
+ }).describe("Response model for created push.")
49
+ });
50
+ //#endregion
51
+ export { pushbulletCreatePush };
52
+
53
+ //# sourceMappingURL=create-push.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-push.mjs","names":[],"sources":["../../src/actions/create-push.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletCreatePushInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL to include with a link push. Required when type='link'.\").optional(),\n body: z.string().describe(\"Body text of the note, link message, or file message.\").optional(),\n guid: z.string().describe(\"Client-generated unique identifier for idempotency.\").optional(),\n type: z.enum([\"note\", \"link\", \"file\"]).describe(\"Type of push to send: 'note', 'link', or 'file'.\"),\n email: z.string().describe(\"Email address to send the push to (Pushbullet user or fallback email).\").optional(),\n title: z.string().describe(\"Title of the note or link (optional).\").optional(),\n file_url: z.string().describe(\"URL of the file to push. Required when type='file'.\").optional(),\n file_name: z.string().describe(\"Filename for file push. Required when type='file'.\").optional(),\n file_type: z.string().describe(\"MIME type of the file. Required when type='file'.\").optional(),\n channel_tag: z.string().describe(\"Tag of channel to broadcast the push to subscribers.\").optional(),\n client_iden: z.string().describe(\"Identifier of OAuth client to send the push to its authorized users.\").optional(),\n device_iden: z.string().describe(\"Identifier of device to send the push to.\").optional(),\n source_device_iden: z.string().describe(\"Identifier of the source device sending this push.\").optional(),\n}).describe(\"Request model for sending a push (note, link, or file).\\nExactly one target (device_iden, email, channel_tag, client_iden) may be specified.\");\nexport const PushbulletCreatePushOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL for link pushes.\").nullable().optional(),\n body: z.string().describe(\"Body of the push (if provided).\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the push.\"),\n type: z.enum([\"note\", \"link\", \"file\"]).describe(\"Type of the push.\"),\n title: z.string().describe(\"Title of the push (if provided).\").nullable().optional(),\n active: z.boolean().describe(\"True if the push is active.\"),\n created: z.number().describe(\"Creation timestamp (seconds since epoch).\"),\n file_url: z.string().describe(\"URL of file for file pushes.\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (seconds since epoch).\"),\n file_name: z.string().describe(\"Filename for file pushes.\").nullable().optional(),\n file_type: z.string().describe(\"MIME type for file pushes.\").nullable().optional(),\n sender_iden: z.string().describe(\"Identifier of the sender.\").nullable().optional(),\n sender_email: z.string().describe(\"Email of the sender.\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver.\"),\n receiver_email: z.string().describe(\"Email of the receiver.\"),\n sender_email_normalized: z.string().describe(\"Normalized sender email.\").nullable().optional(),\n receiver_email_normalized: z.string().describe(\"Normalized receiver email.\"),\n}).describe(\"Response model for created push.\");\n\nexport const pushbulletCreatePush = action(\"PUSHBULLET_CREATE_PUSH\", {\n slug: \"pushbullet-create-push\",\n name: \"Create Push\",\n description: \"Tool to send a new push (note, link, or file) to a device, user, channel, or client. Use when you need to share content to a specific target. Example: \\\"Send a link to https://example.com to device abc123\\\".\",\n input: PushbulletCreatePushInput,\n output: PushbulletCreatePushOutput,\n});\n"],"mappings":";;AAuCA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvCqD,EAAE,OAAO;EAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,kDAAkD;EAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAC9G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAClG,aA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AAC,CAAC,SAAS;EAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EAChE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EAC5D,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC7E,CAAC,CAAC,CAAC,SAAS,kCAOF;AACV,CAAC"}
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-all-pushes.ts
4
+ const PushbulletDeleteAllPushesInput = zod.z.object({}).describe("Empty request for deleting all pushes. No parameters needed.");
5
+ const PushbulletDeleteAllPushesOutput = zod.z.object({}).describe("Empty response for deleting all pushes. API returns an empty JSON object on success.");
6
+ const pushbulletDeleteAllPushes = require_action.action("PUSHBULLET_DELETE_ALL_PUSHES", {
7
+ slug: "pushbullet-delete-all-pushes",
8
+ name: "Delete All Pushes",
9
+ description: "Tool to delete all pushes for the current user asynchronously. Use when you need to bulk-clear all existing pushes in one call.",
10
+ input: PushbulletDeleteAllPushesInput,
11
+ output: PushbulletDeleteAllPushesOutput
12
+ });
13
+ //#endregion
14
+ exports.pushbulletDeleteAllPushes = pushbulletDeleteAllPushes;
15
+
16
+ //# sourceMappingURL=delete-all-pushes.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-all-pushes.cjs","names":["z","action"],"sources":["../../src/actions/delete-all-pushes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletDeleteAllPushesInput: z.ZodTypeAny = z.object({}).describe(\"Empty request for deleting all pushes. No parameters needed.\");\nexport const PushbulletDeleteAllPushesOutput: z.ZodTypeAny = z.object({}).describe(\"Empty response for deleting all pushes. API returns an empty JSON object on success.\");\n\nexport const pushbulletDeleteAllPushes = action(\"PUSHBULLET_DELETE_ALL_PUSHES\", {\n slug: \"pushbullet-delete-all-pushes\",\n name: \"Delete All Pushes\",\n description: \"Tool to delete all pushes for the current user asynchronously. Use when you need to bulk-clear all existing pushes in one call.\",\n input: PushbulletDeleteAllPushesInput,\n output: PushbulletDeleteAllPushesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAChJ,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAEzK,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,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/delete-all-pushes.d.ts
4
+ declare const PushbulletDeleteAllPushesInput: z.ZodTypeAny;
5
+ declare const PushbulletDeleteAllPushesOutput: z.ZodTypeAny;
6
+ declare const pushbulletDeleteAllPushes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pushbulletDeleteAllPushes };
9
+ //# sourceMappingURL=delete-all-pushes.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-all-pushes.d.cts","names":[],"sources":["../../src/actions/delete-all-pushes.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAkG;AAAA,cACpI,+BAAA,EAAiC,CAAA,CAAE,UAA0H;AAAA,cAE7J,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-all-pushes.d.ts
4
+ declare const PushbulletDeleteAllPushesInput: z.ZodTypeAny;
5
+ declare const PushbulletDeleteAllPushesOutput: z.ZodTypeAny;
6
+ declare const pushbulletDeleteAllPushes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { pushbulletDeleteAllPushes };
9
+ //# sourceMappingURL=delete-all-pushes.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-all-pushes.d.mts","names":[],"sources":["../../src/actions/delete-all-pushes.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAkG;AAAA,cACpI,+BAAA,EAAiC,CAAA,CAAE,UAA0H;AAAA,cAE7J,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const pushbulletDeleteAllPushes = action("PUSHBULLET_DELETE_ALL_PUSHES", {
4
+ slug: "pushbullet-delete-all-pushes",
5
+ name: "Delete All Pushes",
6
+ description: "Tool to delete all pushes for the current user asynchronously. Use when you need to bulk-clear all existing pushes in one call.",
7
+ input: z.object({}).describe("Empty request for deleting all pushes. No parameters needed."),
8
+ output: z.object({}).describe("Empty response for deleting all pushes. API returns an empty JSON object on success.")
9
+ });
10
+ //#endregion
11
+ export { pushbulletDeleteAllPushes };
12
+
13
+ //# sourceMappingURL=delete-all-pushes.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-all-pushes.mjs","names":[],"sources":["../../src/actions/delete-all-pushes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletDeleteAllPushesInput: z.ZodTypeAny = z.object({}).describe(\"Empty request for deleting all pushes. No parameters needed.\");\nexport const PushbulletDeleteAllPushesOutput: z.ZodTypeAny = z.object({}).describe(\"Empty response for deleting all pushes. API returns an empty JSON object on success.\");\n\nexport const pushbulletDeleteAllPushes = action(\"PUSHBULLET_DELETE_ALL_PUSHES\", {\n slug: \"pushbullet-delete-all-pushes\",\n name: \"Delete All Pushes\",\n description: \"Tool to delete all pushes for the current user asynchronously. Use when you need to bulk-clear all existing pushes in one call.\",\n input: PushbulletDeleteAllPushesInput,\n output: PushbulletDeleteAllPushesOutput,\n});\n"],"mappings":";;AAOA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAP0D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAOzE;CACP,QAP2D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAOzE;AACV,CAAC"}