@keystrokehq/pushbullet 0.1.3 → 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 +4 -4
  6. package/dist/actions/create-chat.d.cts.map +1 -1
  7. package/dist/actions/create-chat.d.mts +4 -4
  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 -9
  14. package/dist/actions/create-device.d.cts.map +1 -1
  15. package/dist/actions/create-device.d.mts +3 -9
  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 -15
  22. package/dist/actions/create-push.d.cts.map +1 -1
  23. package/dist/actions/create-push.d.mts +3 -15
  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 -1
  30. package/dist/actions/delete-all-pushes.d.cts.map +1 -1
  31. package/dist/actions/delete-all-pushes.d.mts +3 -1
  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 -3
  38. package/dist/actions/delete-chat.d.cts.map +1 -1
  39. package/dist/actions/delete-chat.d.mts +3 -3
  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 -3
  46. package/dist/actions/delete-device.d.cts.map +1 -1
  47. package/dist/actions/delete-device.d.mts +3 -3
  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 -3
  54. package/dist/actions/delete-push.d.cts.map +1 -1
  55. package/dist/actions/delete-push.d.mts +3 -3
  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 -1
  62. package/dist/actions/get-user.d.cts.map +1 -1
  63. package/dist/actions/get-user.d.mts +3 -1
  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 +4 -5
  70. package/dist/actions/list-chats.d.cts.map +1 -1
  71. package/dist/actions/list-chats.d.mts +4 -5
  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 -1
  78. package/dist/actions/list-devices.d.cts.map +1 -1
  79. package/dist/actions/list-devices.d.mts +3 -1
  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 -6
  86. package/dist/actions/list-pushes.d.cts.map +1 -1
  87. package/dist/actions/list-pushes.d.mts +3 -6
  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 +4 -5
  94. package/dist/actions/update-chat.d.cts.map +1 -1
  95. package/dist/actions/update-chat.d.mts +4 -5
  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 -10
  102. package/dist/actions/update-device.d.cts.map +1 -1
  103. package/dist/actions/update-device.d.mts +3 -10
  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 -9
  110. package/dist/actions/update-push.d.cts.map +1 -1
  111. package/dist/actions/update-push.d.mts +3 -9
  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 -4
  118. package/dist/actions/upload-request.d.cts.map +1 -1
  119. package/dist/actions/upload-request.d.mts +3 -4
  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 +5 -2
  124. package/dist/app.cjs.map +1 -1
  125. package/dist/app.d.cts +7 -1
  126. package/dist/app.d.cts.map +1 -1
  127. package/dist/app.d.mts +7 -1
  128. package/dist/app.d.mts.map +1 -1
  129. package/dist/app.mjs +3 -2
  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 +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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const pushbulletDeleteDevice: AppAction<typeof PushbulletDeleteDeviceInput, typeof PushbulletDeleteDeviceOutput, typeof pushbullet.credential>;
11
11
  //#endregion
12
12
  export { pushbulletDeleteDevice };
13
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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const pushbulletDeleteDevice: AppAction<typeof PushbulletDeleteDeviceInput, typeof PushbulletDeleteDeviceOutput, typeof pushbullet.credential>;
11
11
  //#endregion
12
12
  export { pushbulletDeleteDevice };
13
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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const pushbulletDeletePush: AppAction<typeof PushbulletDeletePushInput, typeof PushbulletDeletePushOutput, typeof pushbullet.credential>;
11
11
  //#endregion
12
12
  export { pushbulletDeletePush };
13
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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const pushbulletDeletePush: AppAction<typeof PushbulletDeletePushInput, typeof PushbulletDeletePushOutput, typeof pushbullet.credential>;
11
11
  //#endregion
12
12
  export { pushbulletDeletePush };
13
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"],"mappings":";;;AAIA,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,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user.cjs","names":["z","action"],"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":";;;;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,7 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const pushbulletGetUser: AppAction<typeof PushbulletGetUserInput, typeof PushbulletGetUserOutput, typeof pushbullet.credential>;
18
20
  //#endregion
19
21
  export { pushbulletGetUser };
20
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,4CAAA,UAAA"}
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,7 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const pushbulletGetUser: AppAction<typeof PushbulletGetUserInput, typeof PushbulletGetUserOutput, typeof pushbullet.credential>;
18
20
  //#endregion
19
21
  export { pushbulletGetUser };
20
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,4CAAA,UAAA"}
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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AAAA,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,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,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C,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
@@ -12,8 +14,8 @@ declare const PushbulletListChatsOutput: z.ZodObject<{
12
14
  iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
15
- user: "user";
16
17
  email: "email";
18
+ user: "user";
17
19
  }>>>;
18
20
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
21
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26,10 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ declare const pushbulletListChats: AppAction<typeof PushbulletListChatsInput, typeof PushbulletListChatsOutput, typeof pushbullet.credential>;
33
32
  //#endregion
34
33
  export { pushbulletListChats };
35
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
@@ -12,8 +14,8 @@ declare const PushbulletListChatsOutput: z.ZodObject<{
12
14
  iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
15
- user: "user";
16
17
  email: "email";
18
+ user: "user";
17
19
  }>>>;
18
20
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
21
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26,10 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ declare const pushbulletListChats: AppAction<typeof PushbulletListChatsInput, typeof PushbulletListChatsOutput, typeof pushbullet.credential>;
33
32
  //#endregion
34
33
  export { pushbulletListChats };
35
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,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,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuC,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,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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+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,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,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAA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BA,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,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,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N,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,7 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const pushbulletListDevices: AppAction<typeof PushbulletListDevicesInput, typeof PushbulletListDevicesOutput, typeof pushbullet.credential>;
27
29
  //#endregion
28
30
  export { pushbulletListDevices };
29
31
  //# sourceMappingURL=list-devices.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-devices.d.cts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-devices.d.cts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,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-devices.d.ts
@@ -23,7 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const pushbulletListDevices: AppAction<typeof PushbulletListDevicesInput, typeof PushbulletListDevicesOutput, typeof pushbullet.credential>;
27
29
  //#endregion
28
30
  export { pushbulletListDevices };
29
31
  //# sourceMappingURL=list-devices.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-devices.d.mts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-devices.d.mts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,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-devices.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-devices.mjs","names":[],"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,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAC1H,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AAKrD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,gDAAgD,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2GAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-devices.mjs","names":[],"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,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAC1H,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,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B,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AAKrD,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,gDAAgD,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2GAWhB;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-pushes.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-pushes.cjs","names":["z","action"],"sources":["../../src/actions/list-pushes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletListPushesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of pushes to return (max 500, default 500).\").optional(),\n active: z.boolean().describe(\"If true, only active pushes are returned.\").optional(),\n cursor: z.string().describe(\"Cursor for pagination to fetch the next set of pushes.\").optional(),\n modified_after: z.number().describe(\"Only return pushes modified after this UNIX timestamp (float).\").optional(),\n}).describe(\"Request model for listing pushes with optional filters and pagination.\");\nconst PushbulletListPushes_PushSchema = z.object({\n url: z.string().describe(\"URL for link pushes.\").nullable().optional(),\n body: z.string().describe(\"Optional body text of the push.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the push.\").nullable(),\n type: z.string().describe(\"Type of the push (e.g., 'note', 'link', 'file'). May be absent for deleted pushes.\").nullable().optional(),\n title: z.string().describe(\"Optional title of the push.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the push is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp as UNIX float.\").nullable(),\n file_url: z.string().describe(\"URL for file pushes.\").nullable().optional(),\n modified: z.number().describe(\"Last modification timestamp as UNIX float.\").nullable(),\n direction: z.string().describe(\"Direction of the push (e.g., 'incoming'). May be absent for deleted pushes.\").nullable().optional(),\n dismissed: z.boolean().describe(\"Whether the push has been dismissed.\").nullable(),\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 image_url: z.string().describe(\"URL for image previews.\").nullable().optional(),\n channel_tag: z.string().describe(\"Channel tag for channel pushes.\").nullable().optional(),\n client_iden: z.string().describe(\"Identifier of the client.\").nullable().optional(),\n sender_iden: z.string().describe(\"Identifier of the sender.\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver.\").nullable().optional(),\n source_user_iden: z.string().describe(\"Identifier of the source user.\").nullable().optional(),\n target_device_iden: z.string().describe(\"Identifier of the target device.\").nullable().optional(),\n}).passthrough();\nexport const PushbulletListPushesOutput = z.object({\n cursor: z.string().describe(\"Cursor for fetching the next page of results, if present.\").nullable().optional(),\n pushes: z.array(PushbulletListPushes_PushSchema).describe(\"List of push objects.\"),\n}).passthrough().describe(\"Response model for listing pushes.\");\n\nexport const pushbulletListPushes = action(\"PUSHBULLET_LIST_PUSHES\", {\n slug: \"pushbullet-list-pushes\",\n name: \"List Pushes\",\n description: \"Tool to list pushes with optional filtering and pagination. Use when retrieving or syncing pushes after a certain time.\",\n input: PushbulletListPushesInput,\n output: PushbulletListPushesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAA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AC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,uBAAuB;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-pushes.cjs","names":["z","action"],"sources":["../../src/actions/list-pushes.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 PushbulletListPushesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of pushes to return (max 500, default 500).\").optional(),\n active: z.boolean().describe(\"If true, only active pushes are returned.\").optional(),\n cursor: z.string().describe(\"Cursor for pagination to fetch the next set of pushes.\").optional(),\n modified_after: z.number().describe(\"Only return pushes modified after this UNIX timestamp (float).\").optional(),\n}).describe(\"Request model for listing pushes with optional filters and pagination.\");\nconst PushbulletListPushes_PushSchema = z.object({\n url: z.string().describe(\"URL for link pushes.\").nullable().optional(),\n body: z.string().describe(\"Optional body text of the push.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the push.\").nullable(),\n type: z.string().describe(\"Type of the push (e.g., 'note', 'link', 'file'). May be absent for deleted pushes.\").nullable().optional(),\n title: z.string().describe(\"Optional title of the push.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the push is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp as UNIX float.\").nullable(),\n file_url: z.string().describe(\"URL for file pushes.\").nullable().optional(),\n modified: z.number().describe(\"Last modification timestamp as UNIX float.\").nullable(),\n direction: z.string().describe(\"Direction of the push (e.g., 'incoming'). May be absent for deleted pushes.\").nullable().optional(),\n dismissed: z.boolean().describe(\"Whether the push has been dismissed.\").nullable(),\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 image_url: z.string().describe(\"URL for image previews.\").nullable().optional(),\n channel_tag: z.string().describe(\"Channel tag for channel pushes.\").nullable().optional(),\n client_iden: z.string().describe(\"Identifier of the client.\").nullable().optional(),\n sender_iden: z.string().describe(\"Identifier of the sender.\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver.\").nullable().optional(),\n source_user_iden: z.string().describe(\"Identifier of the source user.\").nullable().optional(),\n target_device_iden: z.string().describe(\"Identifier of the target device.\").nullable().optional(),\n}).passthrough();\nexport const PushbulletListPushesOutput = z.object({\n cursor: z.string().describe(\"Cursor for fetching the next page of results, if present.\").nullable().optional(),\n pushes: z.array(PushbulletListPushes_PushSchema).describe(\"List of push objects.\"),\n}).passthrough().describe(\"Response model for listing pushes.\");\n\nexport const pushbulletListPushes: AppAction<\n typeof PushbulletListPushesInput,\n typeof PushbulletListPushesOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_LIST_PUSHES\", {\n slug: \"pushbullet-list-pushes\",\n name: \"List Pushes\",\n description: \"Tool to list pushes with optional filtering and pagination. Use when retrieving or syncing pushes after a certain time.\",\n input: PushbulletListPushesInput,\n output: PushbulletListPushesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC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CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,uBAAuB;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,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/list-pushes.d.ts
@@ -32,12 +34,7 @@ declare const PushbulletListPushesOutput: z.ZodObject<{
32
34
  target_device_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
35
  }, z.core.$loose>>;
34
36
  }, z.core.$loose>;
35
- declare const pushbulletListPushes: import("@keystrokehq/action").WorkflowActionDefinition<{
36
- limit?: number | undefined;
37
- active?: boolean | undefined;
38
- cursor?: string | undefined;
39
- modified_after?: number | undefined;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
+ declare const pushbulletListPushes: AppAction<typeof PushbulletListPushesInput, typeof PushbulletListPushesOutput, typeof pushbullet.credential>;
41
38
  //#endregion
42
39
  export { pushbulletListPushes };
43
40
  //# sourceMappingURL=list-pushes.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-pushes.d.cts","names":[],"sources":["../../src/actions/list-pushes.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cA4BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"list-pushes.d.cts","names":[],"sources":["../../src/actions/list-pushes.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cA4BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAK1B,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/list-pushes.d.ts
@@ -32,12 +34,7 @@ declare const PushbulletListPushesOutput: z.ZodObject<{
32
34
  target_device_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
35
  }, z.core.$loose>>;
34
36
  }, z.core.$loose>;
35
- declare const pushbulletListPushes: import("@keystrokehq/action").WorkflowActionDefinition<{
36
- limit?: number | undefined;
37
- active?: boolean | undefined;
38
- cursor?: string | undefined;
39
- modified_after?: number | undefined;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
+ declare const pushbulletListPushes: AppAction<typeof PushbulletListPushesInput, typeof PushbulletListPushesOutput, typeof pushbullet.credential>;
41
38
  //#endregion
42
39
  export { pushbulletListPushes };
43
40
  //# sourceMappingURL=list-pushes.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-pushes.d.mts","names":[],"sources":["../../src/actions/list-pushes.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cA4BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"list-pushes.d.mts","names":[],"sources":["../../src/actions/list-pushes.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cA4BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAK1B,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
  //#region src/actions/list-pushes.ts