@keystrokehq/pushbullet 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-chat.cjs +1 -0
  4. package/dist/actions/create-chat.cjs.map +1 -1
  5. package/dist/actions/create-chat.d.cts +3 -15
  6. package/dist/actions/create-chat.d.cts.map +1 -1
  7. package/dist/actions/create-chat.d.mts +3 -15
  8. package/dist/actions/create-chat.d.mts.map +1 -1
  9. package/dist/actions/create-chat.mjs +1 -0
  10. package/dist/actions/create-chat.mjs.map +1 -1
  11. package/dist/actions/create-device.cjs +1 -0
  12. package/dist/actions/create-device.cjs.map +1 -1
  13. package/dist/actions/create-device.d.cts +3 -21
  14. package/dist/actions/create-device.d.cts.map +1 -1
  15. package/dist/actions/create-device.d.mts +3 -21
  16. package/dist/actions/create-device.d.mts.map +1 -1
  17. package/dist/actions/create-device.mjs +1 -0
  18. package/dist/actions/create-device.mjs.map +1 -1
  19. package/dist/actions/create-push.cjs +1 -0
  20. package/dist/actions/create-push.cjs.map +1 -1
  21. package/dist/actions/create-push.d.cts +3 -27
  22. package/dist/actions/create-push.d.cts.map +1 -1
  23. package/dist/actions/create-push.d.mts +3 -27
  24. package/dist/actions/create-push.d.mts.map +1 -1
  25. package/dist/actions/create-push.mjs +1 -0
  26. package/dist/actions/create-push.mjs.map +1 -1
  27. package/dist/actions/delete-all-pushes.cjs +1 -0
  28. package/dist/actions/delete-all-pushes.cjs.map +1 -1
  29. package/dist/actions/delete-all-pushes.d.cts +3 -13
  30. package/dist/actions/delete-all-pushes.d.cts.map +1 -1
  31. package/dist/actions/delete-all-pushes.d.mts +3 -13
  32. package/dist/actions/delete-all-pushes.d.mts.map +1 -1
  33. package/dist/actions/delete-all-pushes.mjs +1 -0
  34. package/dist/actions/delete-all-pushes.mjs.map +1 -1
  35. package/dist/actions/delete-chat.cjs +1 -0
  36. package/dist/actions/delete-chat.cjs.map +1 -1
  37. package/dist/actions/delete-chat.d.cts +3 -15
  38. package/dist/actions/delete-chat.d.cts.map +1 -1
  39. package/dist/actions/delete-chat.d.mts +3 -15
  40. package/dist/actions/delete-chat.d.mts.map +1 -1
  41. package/dist/actions/delete-chat.mjs +1 -0
  42. package/dist/actions/delete-chat.mjs.map +1 -1
  43. package/dist/actions/delete-device.cjs +1 -0
  44. package/dist/actions/delete-device.cjs.map +1 -1
  45. package/dist/actions/delete-device.d.cts +3 -15
  46. package/dist/actions/delete-device.d.cts.map +1 -1
  47. package/dist/actions/delete-device.d.mts +3 -15
  48. package/dist/actions/delete-device.d.mts.map +1 -1
  49. package/dist/actions/delete-device.mjs +1 -0
  50. package/dist/actions/delete-device.mjs.map +1 -1
  51. package/dist/actions/delete-push.cjs +1 -0
  52. package/dist/actions/delete-push.cjs.map +1 -1
  53. package/dist/actions/delete-push.d.cts +3 -15
  54. package/dist/actions/delete-push.d.cts.map +1 -1
  55. package/dist/actions/delete-push.d.mts +3 -15
  56. package/dist/actions/delete-push.d.mts.map +1 -1
  57. package/dist/actions/delete-push.mjs +1 -0
  58. package/dist/actions/delete-push.mjs.map +1 -1
  59. package/dist/actions/get-user.cjs +1 -0
  60. package/dist/actions/get-user.cjs.map +1 -1
  61. package/dist/actions/get-user.d.cts +3 -13
  62. package/dist/actions/get-user.d.cts.map +1 -1
  63. package/dist/actions/get-user.d.mts +3 -13
  64. package/dist/actions/get-user.d.mts.map +1 -1
  65. package/dist/actions/get-user.mjs +1 -0
  66. package/dist/actions/get-user.mjs.map +1 -1
  67. package/dist/actions/list-chats.cjs +1 -0
  68. package/dist/actions/list-chats.cjs.map +1 -1
  69. package/dist/actions/list-chats.d.cts +3 -16
  70. package/dist/actions/list-chats.d.cts.map +1 -1
  71. package/dist/actions/list-chats.d.mts +3 -16
  72. package/dist/actions/list-chats.d.mts.map +1 -1
  73. package/dist/actions/list-chats.mjs +1 -0
  74. package/dist/actions/list-chats.mjs.map +1 -1
  75. package/dist/actions/list-devices.cjs +1 -0
  76. package/dist/actions/list-devices.cjs.map +1 -1
  77. package/dist/actions/list-devices.d.cts +3 -13
  78. package/dist/actions/list-devices.d.cts.map +1 -1
  79. package/dist/actions/list-devices.d.mts +3 -13
  80. package/dist/actions/list-devices.d.mts.map +1 -1
  81. package/dist/actions/list-devices.mjs +1 -0
  82. package/dist/actions/list-devices.mjs.map +1 -1
  83. package/dist/actions/list-pushes.cjs +1 -0
  84. package/dist/actions/list-pushes.cjs.map +1 -1
  85. package/dist/actions/list-pushes.d.cts +3 -18
  86. package/dist/actions/list-pushes.d.cts.map +1 -1
  87. package/dist/actions/list-pushes.d.mts +3 -18
  88. package/dist/actions/list-pushes.d.mts.map +1 -1
  89. package/dist/actions/list-pushes.mjs +1 -0
  90. package/dist/actions/list-pushes.mjs.map +1 -1
  91. package/dist/actions/update-chat.cjs +1 -0
  92. package/dist/actions/update-chat.cjs.map +1 -1
  93. package/dist/actions/update-chat.d.cts +3 -16
  94. package/dist/actions/update-chat.d.cts.map +1 -1
  95. package/dist/actions/update-chat.d.mts +3 -16
  96. package/dist/actions/update-chat.d.mts.map +1 -1
  97. package/dist/actions/update-chat.mjs +1 -0
  98. package/dist/actions/update-chat.mjs.map +1 -1
  99. package/dist/actions/update-device.cjs +1 -0
  100. package/dist/actions/update-device.cjs.map +1 -1
  101. package/dist/actions/update-device.d.cts +3 -22
  102. package/dist/actions/update-device.d.cts.map +1 -1
  103. package/dist/actions/update-device.d.mts +3 -22
  104. package/dist/actions/update-device.d.mts.map +1 -1
  105. package/dist/actions/update-device.mjs +1 -0
  106. package/dist/actions/update-device.mjs.map +1 -1
  107. package/dist/actions/update-push.cjs +1 -0
  108. package/dist/actions/update-push.cjs.map +1 -1
  109. package/dist/actions/update-push.d.cts +3 -21
  110. package/dist/actions/update-push.d.cts.map +1 -1
  111. package/dist/actions/update-push.d.mts +3 -21
  112. package/dist/actions/update-push.d.mts.map +1 -1
  113. package/dist/actions/update-push.mjs +1 -0
  114. package/dist/actions/update-push.mjs.map +1 -1
  115. package/dist/actions/upload-request.cjs +1 -0
  116. package/dist/actions/upload-request.cjs.map +1 -1
  117. package/dist/actions/upload-request.d.cts +3 -16
  118. package/dist/actions/upload-request.d.cts.map +1 -1
  119. package/dist/actions/upload-request.d.mts +3 -16
  120. package/dist/actions/upload-request.d.mts.map +1 -1
  121. package/dist/actions/upload-request.mjs +1 -0
  122. package/dist/actions/upload-request.mjs.map +1 -1
  123. package/dist/app.cjs +2 -2
  124. package/dist/app.cjs.map +1 -1
  125. package/dist/app.d.cts +4 -6
  126. package/dist/app.d.cts.map +1 -1
  127. package/dist/app.d.mts +4 -6
  128. package/dist/app.d.mts.map +1 -1
  129. package/dist/app.mjs +0 -1
  130. package/dist/app.mjs.map +1 -1
  131. package/dist/index.d.cts +1 -1
  132. package/dist/index.d.mts +1 -1
  133. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { pushbullet } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-chat.d.ts
@@ -5,21 +7,7 @@ declare const PushbulletDeleteChatInput: z.ZodObject<{
5
7
  iden: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const PushbulletDeleteChatOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const pushbulletDeleteChat: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- iden: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
11
- connectionId: z.ZodString;
12
- entityId: z.ZodString;
13
- instanceId: z.ZodString;
14
- }, z.core.$strip>, z.ZodObject<{
15
- accessToken: z.ZodString;
16
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- accessToken: z.ZodString;
22
- }, z.core.$strip>>]>;
10
+ declare const pushbulletDeleteChat: AppAction<typeof PushbulletDeleteChatInput, typeof PushbulletDeleteChatOutput, typeof pushbullet.credential>;
23
11
  //#endregion
24
12
  export { pushbulletDeleteChat };
25
13
  //# sourceMappingURL=delete-chat.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-chat.d.cts","names":[],"sources":["../../src/actions/delete-chat.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"delete-chat.d.cts","names":[],"sources":["../../src/actions/delete-chat.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pushbullet } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-chat.d.ts
@@ -5,21 +7,7 @@ declare const PushbulletDeleteChatInput: z.ZodObject<{
5
7
  iden: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const PushbulletDeleteChatOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const pushbulletDeleteChat: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- iden: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
11
- connectionId: z.ZodString;
12
- entityId: z.ZodString;
13
- instanceId: z.ZodString;
14
- }, z.core.$strip>, z.ZodObject<{
15
- accessToken: z.ZodString;
16
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- accessToken: z.ZodString;
22
- }, z.core.$strip>>]>;
10
+ declare const pushbulletDeleteChat: AppAction<typeof PushbulletDeleteChatInput, typeof PushbulletDeleteChatOutput, typeof pushbullet.credential>;
23
11
  //#endregion
24
12
  export { pushbulletDeleteChat };
25
13
  //# sourceMappingURL=delete-chat.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-chat.d.mts","names":[],"sources":["../../src/actions/delete-chat.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"delete-chat.d.mts","names":[],"sources":["../../src/actions/delete-chat.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const pushbulletDeleteChat = action("PUSHBULLET_DELETE_CHAT", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-chat.mjs","names":[],"sources":["../../src/actions/delete-chat.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletDeleteChatInput = z.object({\n iden: z.string().describe(\"The unique identifier of the chat to delete.\"),\n}).describe(\"Request parameters for deleting a Pushbullet chat.\");\nexport const PushbulletDeleteChatOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for deleting a Pushbullet chat.\\nThe API returns an empty JSON object on success.\");\n\nexport const pushbulletDeleteChat = action(\"PUSHBULLET_DELETE_CHAT\", {\n slug: \"pushbullet-delete-chat\",\n name: \"Delete Chat\",\n description: \"Tool to delete a chat by its identifier. Use when you need to remove a chat from your Pushbullet account after confirming its identifier.\",\n input: PushbulletDeleteChatInput,\n output: PushbulletDeleteChatOutput,\n});\n"],"mappings":";;AASA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATuC,EAAE,OAAO,EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC1E,CAAC,CAAC,CAAC,SAAS,oDAOH;CACP,QAPwC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mGAO3E;AACV,CAAC"}
1
+ {"version":3,"file":"delete-chat.mjs","names":[],"sources":["../../src/actions/delete-chat.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletDeleteChatInput = z.object({\n iden: z.string().describe(\"The unique identifier of the chat to delete.\"),\n}).describe(\"Request parameters for deleting a Pushbullet chat.\");\nexport const PushbulletDeleteChatOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for deleting a Pushbullet chat.\\nThe API returns an empty JSON object on success.\");\n\nexport const pushbulletDeleteChat: AppAction<\n typeof PushbulletDeleteChatInput,\n typeof PushbulletDeleteChatOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_DELETE_CHAT\", {\n slug: \"pushbullet-delete-chat\",\n name: \"Delete Chat\",\n description: \"Tool to delete a chat by its identifier. Use when you need to remove a chat from your Pushbullet account after confirming its identifier.\",\n input: PushbulletDeleteChatInput,\n output: PushbulletDeleteChatOutput,\n});\n"],"mappings":";;;AAWA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbuC,EAAE,OAAO,EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC1E,CAAC,CAAC,CAAC,SAAS,oDAWH;CACP,QAXwC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mGAW3E;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-device.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-device.cjs","names":["z","action"],"sources":["../../src/actions/delete-device.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletDeleteDeviceInput = z.object({\n device_iden: z.string().describe(\"The unique identifier of the device to delete.\"),\n}).describe(\"Request parameters for deleting a Pushbullet device.\");\nexport const PushbulletDeleteDeviceOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for deleting a Pushbullet device.\\nThe API returns an empty JSON object on success.\");\n\nexport const pushbulletDeleteDevice = action(\"PUSHBULLET_DELETE_DEVICE\", {\n slug: \"pushbullet-delete-device\",\n name: \"Delete Pushbullet Device\",\n description: \"Tool to remove a device by its identifier. Use when you need to delete a device from your Pushbullet account after confirming its identifier.\",\n input: PushbulletDeleteDeviceInput,\n output: PushbulletDeleteDeviceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EACnF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,+BAA+BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qGAAqG;AAE5L,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-device.cjs","names":["z","action"],"sources":["../../src/actions/delete-device.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletDeleteDeviceInput = z.object({\n device_iden: z.string().describe(\"The unique identifier of the device to delete.\"),\n}).describe(\"Request parameters for deleting a Pushbullet device.\");\nexport const PushbulletDeleteDeviceOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for deleting a Pushbullet device.\\nThe API returns an empty JSON object on success.\");\n\nexport const pushbulletDeleteDevice: AppAction<\n typeof PushbulletDeleteDeviceInput,\n typeof PushbulletDeleteDeviceOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_DELETE_DEVICE\", {\n slug: \"pushbullet-delete-device\",\n name: \"Delete Pushbullet Device\",\n description: \"Tool to remove a device by its identifier. Use when you need to delete a device from your Pushbullet account after confirming its identifier.\",\n input: PushbulletDeleteDeviceInput,\n output: PushbulletDeleteDeviceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EACnF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,+BAA+BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qGAAqG;AAE5L,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pushbullet } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-device.d.ts
@@ -5,21 +7,7 @@ declare const PushbulletDeleteDeviceInput: z.ZodObject<{
5
7
  device_iden: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const PushbulletDeleteDeviceOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const pushbulletDeleteDevice: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- device_iden: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
11
- connectionId: z.ZodString;
12
- entityId: z.ZodString;
13
- instanceId: z.ZodString;
14
- }, z.core.$strip>, z.ZodObject<{
15
- accessToken: z.ZodString;
16
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- accessToken: z.ZodString;
22
- }, z.core.$strip>>]>;
10
+ declare const pushbulletDeleteDevice: AppAction<typeof PushbulletDeleteDeviceInput, typeof PushbulletDeleteDeviceOutput, typeof pushbullet.credential>;
23
11
  //#endregion
24
12
  export { pushbulletDeleteDevice };
25
13
  //# sourceMappingURL=delete-device.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-device.d.cts","names":[],"sources":["../../src/actions/delete-device.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"delete-device.d.cts","names":[],"sources":["../../src/actions/delete-device.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pushbullet } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-device.d.ts
@@ -5,21 +7,7 @@ declare const PushbulletDeleteDeviceInput: z.ZodObject<{
5
7
  device_iden: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const PushbulletDeleteDeviceOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const pushbulletDeleteDevice: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- device_iden: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
11
- connectionId: z.ZodString;
12
- entityId: z.ZodString;
13
- instanceId: z.ZodString;
14
- }, z.core.$strip>, z.ZodObject<{
15
- accessToken: z.ZodString;
16
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- accessToken: z.ZodString;
22
- }, z.core.$strip>>]>;
10
+ declare const pushbulletDeleteDevice: AppAction<typeof PushbulletDeleteDeviceInput, typeof PushbulletDeleteDeviceOutput, typeof pushbullet.credential>;
23
11
  //#endregion
24
12
  export { pushbulletDeleteDevice };
25
13
  //# sourceMappingURL=delete-device.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-device.d.mts","names":[],"sources":["../../src/actions/delete-device.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"delete-device.d.mts","names":[],"sources":["../../src/actions/delete-device.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const pushbulletDeleteDevice = action("PUSHBULLET_DELETE_DEVICE", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-device.mjs","names":[],"sources":["../../src/actions/delete-device.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletDeleteDeviceInput = z.object({\n device_iden: z.string().describe(\"The unique identifier of the device to delete.\"),\n}).describe(\"Request parameters for deleting a Pushbullet device.\");\nexport const PushbulletDeleteDeviceOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for deleting a Pushbullet device.\\nThe API returns an empty JSON object on success.\");\n\nexport const pushbulletDeleteDevice = action(\"PUSHBULLET_DELETE_DEVICE\", {\n slug: \"pushbullet-delete-device\",\n name: \"Delete Pushbullet Device\",\n description: \"Tool to remove a device by its identifier. Use when you need to delete a device from your Pushbullet account after confirming its identifier.\",\n input: PushbulletDeleteDeviceInput,\n output: PushbulletDeleteDeviceOutput,\n});\n"],"mappings":";;AASA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATyC,EAAE,OAAO,EAClD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EACnF,CAAC,CAAC,CAAC,SAAS,sDAOH;CACP,QAP0C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qGAO7E;AACV,CAAC"}
1
+ {"version":3,"file":"delete-device.mjs","names":[],"sources":["../../src/actions/delete-device.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletDeleteDeviceInput = z.object({\n device_iden: z.string().describe(\"The unique identifier of the device to delete.\"),\n}).describe(\"Request parameters for deleting a Pushbullet device.\");\nexport const PushbulletDeleteDeviceOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for deleting a Pushbullet device.\\nThe API returns an empty JSON object on success.\");\n\nexport const pushbulletDeleteDevice: AppAction<\n typeof PushbulletDeleteDeviceInput,\n typeof PushbulletDeleteDeviceOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_DELETE_DEVICE\", {\n slug: \"pushbullet-delete-device\",\n name: \"Delete Pushbullet Device\",\n description: \"Tool to remove a device by its identifier. Use when you need to delete a device from your Pushbullet account after confirming its identifier.\",\n input: PushbulletDeleteDeviceInput,\n output: PushbulletDeleteDeviceOutput,\n});\n"],"mappings":";;;AAWA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbyC,EAAE,OAAO,EAClD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EACnF,CAAC,CAAC,CAAC,SAAS,sDAWH;CACP,QAX0C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qGAW7E;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-push.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-push.cjs","names":["z","action"],"sources":["../../src/actions/delete-push.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletDeletePushInput = z.object({\n iden: z.string().describe(\"Identifier of the push to delete\"),\n}).describe(\"Request parameters for deleting a Pushbullet push.\");\nexport const PushbulletDeletePushOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for deleting a Pushbullet push. Expects an empty JSON object.\");\n\nexport const pushbulletDeletePush = action(\"PUSHBULLET_DELETE_PUSH\", {\n slug: \"pushbullet-delete-push\",\n name: \"Delete Push\",\n description: \"Tool to delete a specific push by its identifier. Use when you need to remove a push after confirming its identifier.\",\n input: PushbulletDeletePushInput,\n output: PushbulletDeletePushOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EAC9D,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,6BAA6BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAEpK,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-push.cjs","names":["z","action"],"sources":["../../src/actions/delete-push.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletDeletePushInput = z.object({\n iden: z.string().describe(\"Identifier of the push to delete\"),\n}).describe(\"Request parameters for deleting a Pushbullet push.\");\nexport const PushbulletDeletePushOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for deleting a Pushbullet push. Expects an empty JSON object.\");\n\nexport const pushbulletDeletePush: AppAction<\n typeof PushbulletDeletePushInput,\n typeof PushbulletDeletePushOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_DELETE_PUSH\", {\n slug: \"pushbullet-delete-push\",\n name: \"Delete Push\",\n description: \"Tool to delete a specific push by its identifier. Use when you need to remove a push after confirming its identifier.\",\n input: PushbulletDeletePushInput,\n output: PushbulletDeletePushOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EAC9D,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,6BAA6BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAEpK,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pushbullet } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-push.d.ts
@@ -5,21 +7,7 @@ declare const PushbulletDeletePushInput: z.ZodObject<{
5
7
  iden: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const PushbulletDeletePushOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const pushbulletDeletePush: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- iden: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
11
- connectionId: z.ZodString;
12
- entityId: z.ZodString;
13
- instanceId: z.ZodString;
14
- }, z.core.$strip>, z.ZodObject<{
15
- accessToken: z.ZodString;
16
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- accessToken: z.ZodString;
22
- }, z.core.$strip>>]>;
10
+ declare const pushbulletDeletePush: AppAction<typeof PushbulletDeletePushInput, typeof PushbulletDeletePushOutput, typeof pushbullet.credential>;
23
11
  //#endregion
24
12
  export { pushbulletDeletePush };
25
13
  //# sourceMappingURL=delete-push.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-push.d.cts","names":[],"sources":["../../src/actions/delete-push.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"delete-push.d.cts","names":[],"sources":["../../src/actions/delete-push.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pushbullet } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-push.d.ts
@@ -5,21 +7,7 @@ declare const PushbulletDeletePushInput: z.ZodObject<{
5
7
  iden: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const PushbulletDeletePushOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const pushbulletDeletePush: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- iden: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
11
- connectionId: z.ZodString;
12
- entityId: z.ZodString;
13
- instanceId: z.ZodString;
14
- }, z.core.$strip>, z.ZodObject<{
15
- accessToken: z.ZodString;
16
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- accessToken: z.ZodString;
22
- }, z.core.$strip>>]>;
10
+ declare const pushbulletDeletePush: AppAction<typeof PushbulletDeletePushInput, typeof PushbulletDeletePushOutput, typeof pushbullet.credential>;
23
11
  //#endregion
24
12
  export { pushbulletDeletePush };
25
13
  //# sourceMappingURL=delete-push.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-push.d.mts","names":[],"sources":["../../src/actions/delete-push.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"delete-push.d.mts","names":[],"sources":["../../src/actions/delete-push.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const pushbulletDeletePush = action("PUSHBULLET_DELETE_PUSH", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-push.mjs","names":[],"sources":["../../src/actions/delete-push.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletDeletePushInput = z.object({\n iden: z.string().describe(\"Identifier of the push to delete\"),\n}).describe(\"Request parameters for deleting a Pushbullet push.\");\nexport const PushbulletDeletePushOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for deleting a Pushbullet push. Expects an empty JSON object.\");\n\nexport const pushbulletDeletePush = action(\"PUSHBULLET_DELETE_PUSH\", {\n slug: \"pushbullet-delete-push\",\n name: \"Delete Push\",\n description: \"Tool to delete a specific push by its identifier. Use when you need to remove a push after confirming its identifier.\",\n input: PushbulletDeletePushInput,\n output: PushbulletDeletePushOutput,\n});\n"],"mappings":";;AASA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATuC,EAAE,OAAO,EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EAC9D,CAAC,CAAC,CAAC,SAAS,oDAOH;CACP,QAPwC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAO3E;AACV,CAAC"}
1
+ {"version":3,"file":"delete-push.mjs","names":[],"sources":["../../src/actions/delete-push.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletDeletePushInput = z.object({\n iden: z.string().describe(\"Identifier of the push to delete\"),\n}).describe(\"Request parameters for deleting a Pushbullet push.\");\nexport const PushbulletDeletePushOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for deleting a Pushbullet push. Expects an empty JSON object.\");\n\nexport const pushbulletDeletePush: AppAction<\n typeof PushbulletDeletePushInput,\n typeof PushbulletDeletePushOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_DELETE_PUSH\", {\n slug: \"pushbullet-delete-push\",\n name: \"Delete Push\",\n description: \"Tool to delete a specific push by its identifier. Use when you need to remove a push after confirming its identifier.\",\n input: PushbulletDeletePushInput,\n output: PushbulletDeletePushOutput,\n});\n"],"mappings":";;;AAWA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbuC,EAAE,OAAO,EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EAC9D,CAAC,CAAC,CAAC,SAAS,oDAWH;CACP,QAXwC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAW3E;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-user.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletGetUserInput = z.object({}).describe(\"No parameters needed to retrieve the current user's profile.\");\nexport const PushbulletGetUserOutput = z.object({\n iden: z.string().describe(\"Unique identifier for the current user\").nullable(),\n name: z.string().describe(\"Full name of the user\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n created: z.number().describe(\"Account creation time as Unix timestamp (seconds)\").nullable(),\n modified: z.number().describe(\"Last profile modification time as Unix timestamp (seconds)\").nullable(),\n image_url: z.string().describe(\"URL of the user's profile image\").nullable(),\n referrer_iden: z.string().describe(\"User iden of the user who referred this user\").nullable().optional(),\n referred_count: z.number().int().describe(\"Number of users referred by this user\").nullable().optional(),\n max_upload_size: z.number().int().describe(\"Maximum file upload size in bytes\").nullable(),\n email_normalized: z.string().describe(\"Canonical form of the email address\").nullable(),\n}).passthrough().describe(\"Response model for the current user's profile.\");\n\nexport const pushbulletGetUser = action(\"PUSHBULLET_GET_USER\", {\n slug: \"pushbullet-get-user\",\n name: \"Get current user\",\n description: \"Tool to retrieve the currently authenticated user's profile. Use when you need to verify the access token or display the current user's details.\",\n input: PushbulletGetUserInput,\n output: PushbulletGetUserOutput,\n});\n"],"mapp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Action } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletGetUserInput = z.object({}).describe(\"No parameters needed to retrieve the current user's profile.\");\nexport const PushbulletGetUserOutput = z.object({\n iden: z.string().describe(\"Unique identifier for the current user\").nullable(),\n name: z.string().describe(\"Full name of the user\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n created: z.number().describe(\"Account creation time as Unix timestamp (seconds)\").nullable(),\n modified: z.number().describe(\"Last profile modification time as Unix timestamp (seconds)\").nullable(),\n image_url: z.string().describe(\"URL of the user's profile image\").nullable(),\n referrer_iden: z.string().describe(\"User iden of the user who referred this user\").nullable().optional(),\n referred_count: z.number().int().describe(\"Number of users referred by this user\").nullable().optional(),\n max_upload_size: z.number().int().describe(\"Maximum file upload size in bytes\").nullable(),\n email_normalized: z.string().describe(\"Canonical form of the email address\").nullable(),\n}).passthrough().describe(\"Response model for the current user's profile.\");\n\nexport const pushbulletGetUser: AppAction<\n typeof PushbulletGetUserInput,\n typeof PushbulletGetUserOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_GET_USER\", {\n slug: \"pushbullet-get-user\",\n name: \"Get current user\",\n description: \"Tool to retrieve the currently authenticated user's profile. Use when you need to verify the access token or display the current user's details.\",\n input: PushbulletGetUserInput,\n output: PushbulletGetUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1H,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pushbullet } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-user.d.ts
@@ -14,19 +16,7 @@ declare const PushbulletGetUserOutput: z.ZodObject<{
14
16
  max_upload_size: z.ZodNullable<z.ZodNumber>;
15
17
  email_normalized: z.ZodNullable<z.ZodString>;
16
18
  }, z.core.$loose>;
17
- declare const pushbulletGetUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- accessToken: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- accessToken: z.ZodString;
29
- }, z.core.$strip>>]>;
19
+ declare const pushbulletGetUser: AppAction<typeof PushbulletGetUserInput, typeof PushbulletGetUserOutput, typeof pushbullet.credential>;
30
20
  //#endregion
31
21
  export { pushbulletGetUser };
32
22
  //# sourceMappingURL=get-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAavB,iBAAA,gCAAiB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAavB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pushbullet } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-user.d.ts
@@ -14,19 +16,7 @@ declare const PushbulletGetUserOutput: z.ZodObject<{
14
16
  max_upload_size: z.ZodNullable<z.ZodNumber>;
15
17
  email_normalized: z.ZodNullable<z.ZodString>;
16
18
  }, z.core.$loose>;
17
- declare const pushbulletGetUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- accessToken: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- accessToken: z.ZodString;
29
- }, z.core.$strip>>]>;
19
+ declare const pushbulletGetUser: AppAction<typeof PushbulletGetUserInput, typeof PushbulletGetUserOutput, typeof pushbullet.credential>;
30
20
  //#endregion
31
21
  export { pushbulletGetUser };
32
22
  //# sourceMappingURL=get-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAavB,iBAAA,gCAAiB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAavB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const pushbulletGetUser = action("PUSHBULLET_GET_USER", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletGetUserInput = z.object({}).describe(\"No parameters needed to retrieve the current user's profile.\");\nexport const PushbulletGetUserOutput = z.object({\n iden: z.string().describe(\"Unique identifier for the current user\").nullable(),\n name: z.string().describe(\"Full name of the user\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n created: z.number().describe(\"Account creation time as Unix timestamp (seconds)\").nullable(),\n modified: z.number().describe(\"Last profile modification time as Unix timestamp (seconds)\").nullable(),\n image_url: z.string().describe(\"URL of the user's profile image\").nullable(),\n referrer_iden: z.string().describe(\"User iden of the user who referred this user\").nullable().optional(),\n referred_count: z.number().int().describe(\"Number of users referred by this user\").nullable().optional(),\n max_upload_size: z.number().int().describe(\"Maximum file upload size in bytes\").nullable(),\n email_normalized: z.string().describe(\"Canonical form of the email address\").nullable(),\n}).passthrough().describe(\"Response model for the current user's profile.\");\n\nexport const pushbulletGetUser = action(\"PUSHBULLET_GET_USER\", {\n slug: \"pushbullet-get-user\",\n name: \"Get current user\",\n description: \"Tool to retrieve the currently authenticated user's profile. Use when you need to verify the access token or display the current user's details.\",\n input: PushbulletGetUserInput,\n output: PushbulletGetUserOutput,\n});\n"],"mappings":";;AAkBA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBoC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAkBnD;CACP,QAlBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletGetUserInput = z.object({}).describe(\"No parameters needed to retrieve the current user's profile.\");\nexport const PushbulletGetUserOutput = z.object({\n iden: z.string().describe(\"Unique identifier for the current user\").nullable(),\n name: z.string().describe(\"Full name of the user\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n created: z.number().describe(\"Account creation time as Unix timestamp (seconds)\").nullable(),\n modified: z.number().describe(\"Last profile modification time as Unix timestamp (seconds)\").nullable(),\n image_url: z.string().describe(\"URL of the user's profile image\").nullable(),\n referrer_iden: z.string().describe(\"User iden of the user who referred this user\").nullable().optional(),\n referred_count: z.number().int().describe(\"Number of users referred by this user\").nullable().optional(),\n max_upload_size: z.number().int().describe(\"Maximum file upload size in bytes\").nullable(),\n email_normalized: z.string().describe(\"Canonical form of the email address\").nullable(),\n}).passthrough().describe(\"Response model for the current user's profile.\");\n\nexport const pushbulletGetUser: AppAction<\n typeof PushbulletGetUserInput,\n typeof PushbulletGetUserOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_GET_USER\", {\n slug: \"pushbullet-get-user\",\n name: \"Get current user\",\n description: \"Tool to retrieve the currently authenticated user's profile. Use when you need to verify the access token or display the current user's details.\",\n input: PushbulletGetUserInput,\n output: PushbulletGetUserOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBoC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAsBnD;CACP,QAtBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-chats.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-chats.cjs","names":["z","action"],"sources":["../../src/actions/list-chats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletListChatsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of chats to return (max 500).\").optional(),\n cursor: z.string().describe(\"Cursor for pagination to fetch the next page of chats.\").optional(),\n}).describe(\"Request model for listing chats with optional pagination.\");\nconst PushbulletListChats_ChatWithSchema = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\").nullable().optional(),\n name: z.string().describe(\"Display name of the chat participant\").nullable().optional(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of the chat participant: 'email' or 'user'\").nullable().optional(),\n email: z.string().describe(\"Email address of the chat participant\").nullable().optional(),\n image_url: z.string().describe(\"Avatar URL for this chat participant\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the chat participant\").nullable().optional(),\n}).passthrough().describe(\"Represents the other participant in a chat.\");\nconst PushbulletListChats_ChatSchema = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\").nullable(),\n \"with\": PushbulletListChats_ChatWithSchema.nullable().optional(),\n muted: z.boolean().describe(\"True if notifications for this chat are muted. May be absent for deleted chats.\").nullable().optional(),\n active: z.boolean().describe(\"False if this chat has been deleted\").nullable(),\n created: z.number().describe(\"Creation time in UNIX seconds\").nullable(),\n modified: z.number().describe(\"Last modified time in UNIX seconds\").nullable(),\n}).passthrough().describe(\"A single chat thread object.\");\nexport const PushbulletListChatsOutput = z.object({\n chats: z.array(PushbulletListChats_ChatSchema).describe(\"List of chat objects ordered with most recently modified first\"),\n cursor: z.string().describe(\"Cursor for fetching the next page of results, if present.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing chats.\");\n\nexport const pushbulletListChats = action(\"PUSHBULLET_LIST_CHATS\", {\n slug: \"pushbullet-list-chats\",\n name: \"List Chats\",\n description: \"Tool to list all chat objects for the current user. Use when you need the full set of chat threads before sending or muting messages.\",\n input: PushbulletListChatsInput,\n output: PushbulletListChatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,QAAQ,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,gEAAgE;CACxH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-chats.cjs","names":["z","action"],"sources":["../../src/actions/list-chats.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletListChatsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of chats to return (max 500).\").optional(),\n cursor: z.string().describe(\"Cursor for pagination to fetch the next page of chats.\").optional(),\n}).describe(\"Request model for listing chats with optional pagination.\");\nconst PushbulletListChats_ChatWithSchema = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\").nullable().optional(),\n name: z.string().describe(\"Display name of the chat participant\").nullable().optional(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of the chat participant: 'email' or 'user'\").nullable().optional(),\n email: z.string().describe(\"Email address of the chat participant\").nullable().optional(),\n image_url: z.string().describe(\"Avatar URL for this chat participant\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the chat participant\").nullable().optional(),\n}).passthrough().describe(\"Represents the other participant in a chat.\");\nconst PushbulletListChats_ChatSchema = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\").nullable(),\n \"with\": PushbulletListChats_ChatWithSchema.nullable().optional(),\n muted: z.boolean().describe(\"True if notifications for this chat are muted. May be absent for deleted chats.\").nullable().optional(),\n active: z.boolean().describe(\"False if this chat has been deleted\").nullable(),\n created: z.number().describe(\"Creation time in UNIX seconds\").nullable(),\n modified: z.number().describe(\"Last modified time in UNIX seconds\").nullable(),\n}).passthrough().describe(\"A single chat thread object.\");\nexport const PushbulletListChatsOutput = z.object({\n chats: z.array(PushbulletListChats_ChatSchema).describe(\"List of chat objects ordered with most recently modified first\"),\n cursor: z.string().describe(\"Cursor for fetching the next page of results, if present.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing chats.\");\n\nexport const pushbulletListChats: AppAction<\n typeof PushbulletListChatsInput,\n typeof PushbulletListChatsOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_LIST_CHATS\", {\n slug: \"pushbullet-list-chats\",\n name: \"List Chats\",\n description: \"Tool to list all chat objects for the current user. Use when you need the full set of chat threads before sending or muting messages.\",\n input: PushbulletListChatsInput,\n output: PushbulletListChatsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OA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,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,gEAAgE;CACxH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pushbullet } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-chats.d.ts
@@ -26,22 +28,7 @@ declare const PushbulletListChatsOutput: z.ZodObject<{
26
28
  }, z.core.$loose>>;
27
29
  cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
30
  }, z.core.$loose>;
29
- declare const pushbulletListChats: import("@keystrokehq/action").WorkflowActionDefinition<{
30
- limit?: number | undefined;
31
- cursor?: string | undefined;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- accessToken: z.ZodString;
38
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- accessToken: z.ZodString;
44
- }, z.core.$strip>>]>;
31
+ declare const pushbulletListChats: AppAction<typeof PushbulletListChatsInput, typeof PushbulletListChatsOutput, typeof pushbullet.credential>;
45
32
  //#endregion
46
33
  export { pushbulletListChats };
47
34
  //# sourceMappingURL=list-chats.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-chats.d.cts","names":[],"sources":["../../src/actions/list-chats.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAoBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"list-chats.d.cts","names":[],"sources":["../../src/actions/list-chats.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAoBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pushbullet } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-chats.d.ts
@@ -26,22 +28,7 @@ declare const PushbulletListChatsOutput: z.ZodObject<{
26
28
  }, z.core.$loose>>;
27
29
  cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
30
  }, z.core.$loose>;
29
- declare const pushbulletListChats: import("@keystrokehq/action").WorkflowActionDefinition<{
30
- limit?: number | undefined;
31
- cursor?: string | undefined;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- accessToken: z.ZodString;
38
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- accessToken: z.ZodString;
44
- }, z.core.$strip>>]>;
31
+ declare const pushbulletListChats: AppAction<typeof PushbulletListChatsInput, typeof PushbulletListChatsOutput, typeof pushbullet.credential>;
45
32
  //#endregion
46
33
  export { pushbulletListChats };
47
34
  //# sourceMappingURL=list-chats.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-chats.d.mts","names":[],"sources":["../../src/actions/list-chats.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAoBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"list-chats.d.mts","names":[],"sources":["../../src/actions/list-chats.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAoBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-chats.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-chats.mjs","names":[],"sources":["../../src/actions/list-chats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletListChatsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of chats to return (max 500).\").optional(),\n cursor: z.string().describe(\"Cursor for pagination to fetch the next page of chats.\").optional(),\n}).describe(\"Request model for listing chats with optional pagination.\");\nconst PushbulletListChats_ChatWithSchema = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\").nullable().optional(),\n name: z.string().describe(\"Display name of the chat participant\").nullable().optional(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of the chat participant: 'email' or 'user'\").nullable().optional(),\n email: z.string().describe(\"Email address of the chat participant\").nullable().optional(),\n image_url: z.string().describe(\"Avatar URL for this chat participant\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the chat participant\").nullable().optional(),\n}).passthrough().describe(\"Represents the other participant in a chat.\");\nconst PushbulletListChats_ChatSchema = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\").nullable(),\n \"with\": PushbulletListChats_ChatWithSchema.nullable().optional(),\n muted: z.boolean().describe(\"True if notifications for this chat are muted. May be absent for deleted chats.\").nullable().optional(),\n active: z.boolean().describe(\"False if this chat has been deleted\").nullable(),\n created: z.number().describe(\"Creation time in UNIX seconds\").nullable(),\n modified: z.number().describe(\"Last modified time in UNIX seconds\").nullable(),\n}).passthrough().describe(\"A single chat thread object.\");\nexport const PushbulletListChatsOutput = z.object({\n chats: z.array(PushbulletListChats_ChatSchema).describe(\"List of chat objects ordered with most recently modified first\"),\n cursor: z.string().describe(\"Cursor for fetching the next page of results, if present.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing chats.\");\n\nexport const pushbulletListChats = action(\"PUSHBULLET_LIST_CHATS\", {\n slug: \"pushbullet-list-chats\",\n name: \"List Chats\",\n description: \"Tool to list all chat objects for the current user. Use when you need the full set of chat threads before sending or muting messages.\",\n input: PushbulletListChatsInput,\n output: PushbulletListChatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,qCAAqC,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OAAO,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,gEAAgE;EACxH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-chats.mjs","names":[],"sources":["../../src/actions/list-chats.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletListChatsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of chats to return (max 500).\").optional(),\n cursor: z.string().describe(\"Cursor for pagination to fetch the next page of chats.\").optional(),\n}).describe(\"Request model for listing chats with optional pagination.\");\nconst PushbulletListChats_ChatWithSchema = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\").nullable().optional(),\n name: z.string().describe(\"Display name of the chat participant\").nullable().optional(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of the chat participant: 'email' or 'user'\").nullable().optional(),\n email: z.string().describe(\"Email address of the chat participant\").nullable().optional(),\n image_url: z.string().describe(\"Avatar URL for this chat participant\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the chat participant\").nullable().optional(),\n}).passthrough().describe(\"Represents the other participant in a chat.\");\nconst PushbulletListChats_ChatSchema = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\").nullable(),\n \"with\": PushbulletListChats_ChatWithSchema.nullable().optional(),\n muted: z.boolean().describe(\"True if notifications for this chat are muted. May be absent for deleted chats.\").nullable().optional(),\n active: z.boolean().describe(\"False if this chat has been deleted\").nullable(),\n created: z.number().describe(\"Creation time in UNIX seconds\").nullable(),\n modified: z.number().describe(\"Last modified time in UNIX seconds\").nullable(),\n}).passthrough().describe(\"A single chat thread object.\");\nexport const PushbulletListChatsOutput = z.object({\n chats: z.array(PushbulletListChats_ChatSchema).describe(\"List of chat objects ordered with most recently modified first\"),\n cursor: z.string().describe(\"Cursor for fetching the next page of results, if present.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing chats.\");\n\nexport const pushbulletListChats: AppAction<\n typeof PushbulletListChatsInput,\n typeof PushbulletListChatsOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_LIST_CHATS\", {\n slug: \"pushbullet-list-chats\",\n name: \"List Chats\",\n description: \"Tool to list all chat objects for the current user. Use when you need the full set of chat threads before sending or muting messages.\",\n input: PushbulletListChatsInput,\n output: PushbulletListChatsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,KAAK,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,iCAAiC,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,QAAQ,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAMxD,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAduC,EAAE,OAAO;EAChD,OAAO,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,gEAAgE;EACxH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-devices.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-devices.cjs","names":["z","action"],"sources":["../../src/actions/list-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletListDevicesInput = z.object({}).describe(\"Empty request for listing devices. No parameters needed.\");\nconst PushbulletListDevices_DeviceSchema = z.object({\n icon: z.string().describe(\"Device icon type (e.g., 'desktop', 'phone').\").nullable(),\n iden: z.string().describe(\"Unique identifier for the device.\").nullable(),\n kind: z.string().describe(\"Deprecated: old name for type.\").nullable().optional(),\n type: z.string().describe(\"Deprecated: legacy device type string.\").nullable().optional(),\n model: z.string().describe(\"Model name/number of the device.\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp in floating-point seconds since epoch.\").nullable(),\n has_sms: z.boolean().describe(\"True if device supports SMS (Android only).\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp in floating-point seconds since epoch.\").nullable(),\n nickname: z.string().describe(\"Nickname for the device, user-assigned or generated.\").nullable().optional(),\n pushable: z.boolean().describe(\"True if you can push to this device.\").nullable(),\n push_token: z.string().describe(\"Platform-specific push token for this device.\").nullable().optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet application installed on the device.\").nullable().optional(),\n fingerprint: z.string().describe(\"Device fingerprint (used to avoid duplicates).\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device (e.g., 'Apple').\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Fingerprint for this device's encryption key.\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated from manufacturer/model.\").nullable().optional(),\n}).passthrough().describe(\"Pushbullet Device object.\");\nexport const PushbulletListDevicesOutput = z.object({\n devices: z.array(PushbulletListDevices_DeviceSchema).describe(\"List of devices belonging to the current user.\"),\n}).passthrough().describe(\"Response model for list-devices.\\n\\ndevices: list of Device objects ordered most-recently modified first.\");\n\nexport const pushbulletListDevices = action(\"PUSHBULLET_LIST_DEVICES\", {\n slug: \"pushbullet-list-devices\",\n name: \"List Devices\",\n description: \"Tool to list all registered devices for the current user. Use after obtaining a valid access token.\",\n input: PushbulletListDevicesInput,\n output: PushbulletListDevicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAC1H,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAA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cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,gDAAgD,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2GAA2G;AAErI,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-devices.cjs","names":["z","action"],"sources":["../../src/actions/list-devices.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletListDevicesInput = z.object({}).describe(\"Empty request for listing devices. No parameters needed.\");\nconst PushbulletListDevices_DeviceSchema = z.object({\n icon: z.string().describe(\"Device icon type (e.g., 'desktop', 'phone').\").nullable(),\n iden: z.string().describe(\"Unique identifier for the device.\").nullable(),\n kind: z.string().describe(\"Deprecated: old name for type.\").nullable().optional(),\n type: z.string().describe(\"Deprecated: legacy device type string.\").nullable().optional(),\n model: z.string().describe(\"Model name/number of the device.\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp in floating-point seconds since epoch.\").nullable(),\n has_sms: z.boolean().describe(\"True if device supports SMS (Android only).\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp in floating-point seconds since epoch.\").nullable(),\n nickname: z.string().describe(\"Nickname for the device, user-assigned or generated.\").nullable().optional(),\n pushable: z.boolean().describe(\"True if you can push to this device.\").nullable(),\n push_token: z.string().describe(\"Platform-specific push token for this device.\").nullable().optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet application installed on the device.\").nullable().optional(),\n fingerprint: z.string().describe(\"Device fingerprint (used to avoid duplicates).\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device (e.g., 'Apple').\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Fingerprint for this device's encryption key.\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated from manufacturer/model.\").nullable().optional(),\n}).passthrough().describe(\"Pushbullet Device object.\");\nexport const PushbulletListDevicesOutput = z.object({\n devices: z.array(PushbulletListDevices_DeviceSchema).describe(\"List of devices belonging to the current user.\"),\n}).passthrough().describe(\"Response model for list-devices.\\n\\ndevices: list of Device objects ordered most-recently modified first.\");\n\nexport const pushbulletListDevices: AppAction<\n typeof PushbulletListDevicesInput,\n typeof PushbulletListDevicesOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_LIST_DEVICES\", {\n slug: \"pushbullet-list-devices\",\n name: \"List Devices\",\n description: \"Tool to list all registered devices for the current user. Use after obtaining a valid access token.\",\n input: PushbulletListDevicesInput,\n output: PushbulletListDevicesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAC1H,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,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A,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,gDAAgD,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2GAA2G;AAErI,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pushbullet } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-devices.d.ts
@@ -23,19 +25,7 @@ declare const PushbulletListDevicesOutput: z.ZodObject<{
23
25
  generated_nickname: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
26
  }, z.core.$loose>>;
25
27
  }, z.core.$loose>;
26
- declare const pushbulletListDevices: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- accessToken: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- accessToken: z.ZodString;
38
- }, z.core.$strip>>]>;
28
+ declare const pushbulletListDevices: AppAction<typeof PushbulletListDevicesInput, typeof PushbulletListDevicesOutput, typeof pushbullet.credential>;
39
29
  //#endregion
40
30
  export { pushbulletListDevices };
41
31
  //# sourceMappingURL=list-devices.d.cts.map