@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":"list-pushes.mjs","names":[],"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,4BAA4B,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS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,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,QAAQ,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,uBAAuB;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-pushes.mjs","names":[],"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,4BAA4B,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,kCAAkC,EAAE,OAAO;CAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,OAA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AO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,QAAQ,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,uBAAuB;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAWhB;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/update-chat.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-chat.cjs","names":["z","action"],"sources":["../../src/actions/update-chat.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdateChatInput = z.object({\n iden: z.string().describe(\"Unique identifier of the chat to update\"),\n muted: z.boolean().describe(\"True to mute notifications for this chat, false to unmute\"),\n}).describe(\"Request model for muting or unmuting a chat by its identifier.\");\nconst PushbulletUpdateChat_ChatWithModelSchema = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\").nullable(),\n name: z.string().describe(\"Display name of the chat participant\").nullable(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of chat participant: 'email' or 'user'\").nullable(),\n email: z.string().describe(\"Email address of the chat participant\").nullable(),\n image_url: z.string().describe(\"URL of the participant's avatar image\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the chat participant\").nullable(),\n}).passthrough().describe(\"Information about the other participant in the chat.\");\nexport const PushbulletUpdateChatOutput = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\").nullable(),\n \"with\": PushbulletUpdateChat_ChatWithModelSchema.nullable(),\n muted: z.boolean().describe(\"True if the chat is muted\").nullable().optional(),\n active: z.boolean().describe(\"False if the chat has been deleted\").nullable(),\n created: z.number().describe(\"Creation time in floating point seconds (Unix timestamp)\").nullable(),\n modified: z.number().describe(\"Last modified time in floating point seconds (Unix timestamp)\").nullable(),\n}).passthrough().describe(\"Response model representing the updated chat object.\");\n\nexport const pushbulletUpdateChat = action(\"PUSHBULLET_UPDATE_CHAT\", {\n slug: \"pushbullet-update-chat\",\n name: \"Mute or Unmute Chat\",\n description: \"Tool to mute or unmute an existing chat. Use when adjusting notification settings for a specific chat by its identifier.\",\n input: PushbulletUpdateChatInput,\n output: PushbulletUpdateChatOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D;AACzF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,QAAQ,yCAAyC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAClG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-chat.cjs","names":["z","action"],"sources":["../../src/actions/update-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 PushbulletUpdateChatInput = z.object({\n iden: z.string().describe(\"Unique identifier of the chat to update\"),\n muted: z.boolean().describe(\"True to mute notifications for this chat, false to unmute\"),\n}).describe(\"Request model for muting or unmuting a chat by its identifier.\");\nconst PushbulletUpdateChat_ChatWithModelSchema = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\").nullable(),\n name: z.string().describe(\"Display name of the chat participant\").nullable(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of chat participant: 'email' or 'user'\").nullable(),\n email: z.string().describe(\"Email address of the chat participant\").nullable(),\n image_url: z.string().describe(\"URL of the participant's avatar image\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the chat participant\").nullable(),\n}).passthrough().describe(\"Information about the other participant in the chat.\");\nexport const PushbulletUpdateChatOutput = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\").nullable(),\n \"with\": PushbulletUpdateChat_ChatWithModelSchema.nullable(),\n muted: z.boolean().describe(\"True if the chat is muted\").nullable().optional(),\n active: z.boolean().describe(\"False if the chat has been deleted\").nullable(),\n created: z.number().describe(\"Creation time in floating point seconds (Unix timestamp)\").nullable(),\n modified: z.number().describe(\"Last modified time in floating point seconds (Unix timestamp)\").nullable(),\n}).passthrough().describe(\"Response model representing the updated chat object.\");\n\nexport const pushbulletUpdateChat: AppAction<\n typeof PushbulletUpdateChatInput,\n typeof PushbulletUpdateChatOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_UPDATE_CHAT\", {\n slug: \"pushbullet-update-chat\",\n name: \"Mute or Unmute Chat\",\n description: \"Tool to mute or unmute an existing chat. Use when adjusting notification settings for a specific chat by its identifier.\",\n input: PushbulletUpdateChatInput,\n output: PushbulletUpdateChatOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D;AACzF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,QAAQ,yCAAyC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAClG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,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/update-chat.d.ts
@@ -11,8 +13,8 @@ declare const PushbulletUpdateChatOutput: z.ZodObject<{
11
13
  iden: z.ZodNullable<z.ZodString>;
12
14
  name: z.ZodNullable<z.ZodString>;
13
15
  type: z.ZodNullable<z.ZodEnum<{
14
- user: "user";
15
16
  email: "email";
17
+ user: "user";
16
18
  }>>;
17
19
  email: z.ZodNullable<z.ZodString>;
18
20
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -23,10 +25,7 @@ declare const PushbulletUpdateChatOutput: z.ZodObject<{
23
25
  created: z.ZodNullable<z.ZodNumber>;
24
26
  modified: z.ZodNullable<z.ZodNumber>;
25
27
  }, z.core.$loose>;
26
- declare const pushbulletUpdateChat: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- iden: string;
28
- muted: boolean;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const pushbulletUpdateChat: AppAction<typeof PushbulletUpdateChatInput, typeof PushbulletUpdateChatOutput, typeof pushbullet.credential>;
30
29
  //#endregion
31
30
  export { pushbulletUpdateChat };
32
31
  //# sourceMappingURL=update-chat.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-chat.d.cts","names":[],"sources":["../../src/actions/update-chat.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"update-chat.d.cts","names":[],"sources":["../../src/actions/update-chat.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS1B,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/update-chat.d.ts
@@ -11,8 +13,8 @@ declare const PushbulletUpdateChatOutput: z.ZodObject<{
11
13
  iden: z.ZodNullable<z.ZodString>;
12
14
  name: z.ZodNullable<z.ZodString>;
13
15
  type: z.ZodNullable<z.ZodEnum<{
14
- user: "user";
15
16
  email: "email";
17
+ user: "user";
16
18
  }>>;
17
19
  email: z.ZodNullable<z.ZodString>;
18
20
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -23,10 +25,7 @@ declare const PushbulletUpdateChatOutput: z.ZodObject<{
23
25
  created: z.ZodNullable<z.ZodNumber>;
24
26
  modified: z.ZodNullable<z.ZodNumber>;
25
27
  }, z.core.$loose>;
26
- declare const pushbulletUpdateChat: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- iden: string;
28
- muted: boolean;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const pushbulletUpdateChat: AppAction<typeof PushbulletUpdateChatInput, typeof PushbulletUpdateChatOutput, typeof pushbullet.credential>;
30
29
  //#endregion
31
30
  export { pushbulletUpdateChat };
32
31
  //# sourceMappingURL=update-chat.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-chat.d.mts","names":[],"sources":["../../src/actions/update-chat.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"update-chat.d.mts","names":[],"sources":["../../src/actions/update-chat.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS1B,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/update-chat.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-chat.mjs","names":[],"sources":["../../src/actions/update-chat.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdateChatInput = z.object({\n iden: z.string().describe(\"Unique identifier of the chat to update\"),\n muted: z.boolean().describe(\"True to mute notifications for this chat, false to unmute\"),\n}).describe(\"Request model for muting or unmuting a chat by its identifier.\");\nconst PushbulletUpdateChat_ChatWithModelSchema = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\").nullable(),\n name: z.string().describe(\"Display name of the chat participant\").nullable(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of chat participant: 'email' or 'user'\").nullable(),\n email: z.string().describe(\"Email address of the chat participant\").nullable(),\n image_url: z.string().describe(\"URL of the participant's avatar image\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the chat participant\").nullable(),\n}).passthrough().describe(\"Information about the other participant in the chat.\");\nexport const PushbulletUpdateChatOutput = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\").nullable(),\n \"with\": PushbulletUpdateChat_ChatWithModelSchema.nullable(),\n muted: z.boolean().describe(\"True if the chat is muted\").nullable().optional(),\n active: z.boolean().describe(\"False if the chat has been deleted\").nullable(),\n created: z.number().describe(\"Creation time in floating point seconds (Unix timestamp)\").nullable(),\n modified: z.number().describe(\"Last modified time in floating point seconds (Unix timestamp)\").nullable(),\n}).passthrough().describe(\"Response model representing the updated chat object.\");\n\nexport const pushbulletUpdateChat = action(\"PUSHBULLET_UPDATE_CHAT\", {\n slug: \"pushbullet-update-chat\",\n name: \"Mute or Unmute Chat\",\n description: \"Tool to mute or unmute an existing chat. Use when adjusting notification settings for a specific chat by its identifier.\",\n input: PushbulletUpdateChatInput,\n output: PushbulletUpdateChatOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D;AACzF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,KAAK,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAUhF,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtE,QAAQ,yCAAyC,SAAS;EAC1D,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAClG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-chat.mjs","names":[],"sources":["../../src/actions/update-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 PushbulletUpdateChatInput = z.object({\n iden: z.string().describe(\"Unique identifier of the chat to update\"),\n muted: z.boolean().describe(\"True to mute notifications for this chat, false to unmute\"),\n}).describe(\"Request model for muting or unmuting a chat by its identifier.\");\nconst PushbulletUpdateChat_ChatWithModelSchema = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\").nullable(),\n name: z.string().describe(\"Display name of the chat participant\").nullable(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of chat participant: 'email' or 'user'\").nullable(),\n email: z.string().describe(\"Email address of the chat participant\").nullable(),\n image_url: z.string().describe(\"URL of the participant's avatar image\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the chat participant\").nullable(),\n}).passthrough().describe(\"Information about the other participant in the chat.\");\nexport const PushbulletUpdateChatOutput = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\").nullable(),\n \"with\": PushbulletUpdateChat_ChatWithModelSchema.nullable(),\n muted: z.boolean().describe(\"True if the chat is muted\").nullable().optional(),\n active: z.boolean().describe(\"False if the chat has been deleted\").nullable(),\n created: z.number().describe(\"Creation time in floating point seconds (Unix timestamp)\").nullable(),\n modified: z.number().describe(\"Last modified time in floating point seconds (Unix timestamp)\").nullable(),\n}).passthrough().describe(\"Response model representing the updated chat object.\");\n\nexport const pushbulletUpdateChat: AppAction<\n typeof PushbulletUpdateChatInput,\n typeof PushbulletUpdateChatOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_UPDATE_CHAT\", {\n slug: \"pushbullet-update-chat\",\n name: \"Mute or Unmute Chat\",\n description: \"Tool to mute or unmute an existing chat. Use when adjusting notification settings for a specific chat by its identifier.\",\n input: PushbulletUpdateChatInput,\n output: PushbulletUpdateChatOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D;AACzF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,KAAK,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAUhF,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtE,QAAQ,yCAAyC,SAAS;EAC1D,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAClG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;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/update-device.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-device.cjs","names":["z","action"],"sources":["../../src/actions/update-device.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdateDeviceInput = z.object({\n icon: z.enum([\"desktop\", \"browser\", \"website\", \"laptop\", \"tablet\", \"phone\", \"watch\", \"system\", \"ios\"]).describe(\"Icon for the device. Common values: desktop, laptop, tablet, phone, watch, system, ios.\").optional(),\n iden: z.string().describe(\"Identifier of the device to update.\"),\n model: z.string().describe(\"Model of the device.\").optional(),\n has_sms: z.boolean().describe(\"Whether the device supports SMS (Android only).\").optional(),\n nickname: z.string().describe(\"New display name for the device.\").optional(),\n push_token: z.string().describe(\"Platform-specific push token. Leave blank for custom or listening devices.\").optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet app installed on the device (non-negative).\").optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").optional(),\n}).describe(\"Request parameters for updating an existing Pushbullet device.\");\nexport const PushbulletUpdateDeviceOutput = z.object({\n icon: z.string().describe(\"Icon string for the device.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the device.\").nullable(),\n kind: z.string().describe(\"Deprecated device kind field.\").nullable().optional(),\n type: z.string().describe(\"Deprecated device type field.\").nullable().optional(),\n model: z.string().describe(\"Model of the device.\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp (UNIX time in seconds).\").nullable(),\n has_sms: z.boolean().describe(\"True if device supports SMS.\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (UNIX time in seconds).\").nullable(),\n nickname: z.string().describe(\"Display name of the device.\").nullable().optional(),\n pushable: z.boolean().describe(\"Deprecated pushable field.\").nullable().optional(),\n push_token: z.string().describe(\"Platform-specific push token for notifications.\").nullable().optional(),\n app_version: z.number().int().describe(\"App version installed on the device.\").nullable().optional(),\n fingerprint: z.string().describe(\"Platform-specific fingerprint.\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Encryption key fingerprint.\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for an updated Pushbullet device.\");\n\nexport const pushbulletUpdateDevice = action(\"PUSHBULLET_UPDATE_DEVICE\", {\n slug: \"pushbullet-update-device\",\n name: \"Update Device\",\n description: \"Tool to update metadata for a device by its identifier. Use when changing a device's nickname, model, or other settings.\",\n input: PushbulletUpdateDeviceInput,\n output: PushbulletUpdateDeviceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAW;EAAW;EAAU;EAAU;EAAS;EAAS;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACpN,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACvH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACzH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CA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BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-device.cjs","names":["z","action"],"sources":["../../src/actions/update-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 PushbulletUpdateDeviceInput = z.object({\n icon: z.enum([\"desktop\", \"browser\", \"website\", \"laptop\", \"tablet\", \"phone\", \"watch\", \"system\", \"ios\"]).describe(\"Icon for the device. Common values: desktop, laptop, tablet, phone, watch, system, ios.\").optional(),\n iden: z.string().describe(\"Identifier of the device to update.\"),\n model: z.string().describe(\"Model of the device.\").optional(),\n has_sms: z.boolean().describe(\"Whether the device supports SMS (Android only).\").optional(),\n nickname: z.string().describe(\"New display name for the device.\").optional(),\n push_token: z.string().describe(\"Platform-specific push token. Leave blank for custom or listening devices.\").optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet app installed on the device (non-negative).\").optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").optional(),\n}).describe(\"Request parameters for updating an existing Pushbullet device.\");\nexport const PushbulletUpdateDeviceOutput = z.object({\n icon: z.string().describe(\"Icon string for the device.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the device.\").nullable(),\n kind: z.string().describe(\"Deprecated device kind field.\").nullable().optional(),\n type: z.string().describe(\"Deprecated device type field.\").nullable().optional(),\n model: z.string().describe(\"Model of the device.\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp (UNIX time in seconds).\").nullable(),\n has_sms: z.boolean().describe(\"True if device supports SMS.\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (UNIX time in seconds).\").nullable(),\n nickname: z.string().describe(\"Display name of the device.\").nullable().optional(),\n pushable: z.boolean().describe(\"Deprecated pushable field.\").nullable().optional(),\n push_token: z.string().describe(\"Platform-specific push token for notifications.\").nullable().optional(),\n app_version: z.number().int().describe(\"App version installed on the device.\").nullable().optional(),\n fingerprint: z.string().describe(\"Platform-specific fingerprint.\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Encryption key fingerprint.\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for an updated Pushbullet device.\");\n\nexport const pushbulletUpdateDevice: AppAction<\n typeof PushbulletUpdateDeviceInput,\n typeof PushbulletUpdateDeviceOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_UPDATE_DEVICE\", {\n slug: \"pushbullet-update-device\",\n name: \"Update Device\",\n description: \"Tool to update metadata for a device by its identifier. Use when changing a device's nickname, model, or other settings.\",\n input: PushbulletUpdateDeviceInput,\n output: PushbulletUpdateDeviceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAW;EAAW;EAAU;EAAU;EAAS;EAAS;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACpN,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,S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1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,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/update-device.d.ts
@@ -40,16 +42,7 @@ declare const PushbulletUpdateDeviceOutput: z.ZodObject<{
40
42
  key_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
43
  generated_nickname: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
42
44
  }, z.core.$loose>;
43
- declare const pushbulletUpdateDevice: import("@keystrokehq/action").WorkflowActionDefinition<{
44
- iden: string;
45
- icon?: "desktop" | "browser" | "website" | "laptop" | "tablet" | "phone" | "watch" | "system" | "ios" | undefined;
46
- model?: string | undefined;
47
- has_sms?: boolean | undefined;
48
- nickname?: string | undefined;
49
- push_token?: string | undefined;
50
- app_version?: number | undefined;
51
- manufacturer?: string | undefined;
52
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
45
+ declare const pushbulletUpdateDevice: AppAction<typeof PushbulletUpdateDeviceInput, typeof PushbulletUpdateDeviceOutput, typeof pushbullet.credential>;
53
46
  //#endregion
54
47
  export { pushbulletUpdateDevice };
55
48
  //# sourceMappingURL=update-device.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-device.d.cts","names":[],"sources":["../../src/actions/update-device.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoB5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"update-device.d.cts","names":[],"sources":["../../src/actions/update-device.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoB5B,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/update-device.d.ts
@@ -40,16 +42,7 @@ declare const PushbulletUpdateDeviceOutput: z.ZodObject<{
40
42
  key_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
43
  generated_nickname: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
42
44
  }, z.core.$loose>;
43
- declare const pushbulletUpdateDevice: import("@keystrokehq/action").WorkflowActionDefinition<{
44
- iden: string;
45
- icon?: "desktop" | "browser" | "website" | "laptop" | "tablet" | "phone" | "watch" | "system" | "ios" | undefined;
46
- model?: string | undefined;
47
- has_sms?: boolean | undefined;
48
- nickname?: string | undefined;
49
- push_token?: string | undefined;
50
- app_version?: number | undefined;
51
- manufacturer?: string | undefined;
52
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
45
+ declare const pushbulletUpdateDevice: AppAction<typeof PushbulletUpdateDeviceInput, typeof PushbulletUpdateDeviceOutput, typeof pushbullet.credential>;
53
46
  //#endregion
54
47
  export { pushbulletUpdateDevice };
55
48
  //# sourceMappingURL=update-device.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-device.d.mts","names":[],"sources":["../../src/actions/update-device.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoB5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"update-device.d.mts","names":[],"sources":["../../src/actions/update-device.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoB5B,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 pushbulletUpdateDevice = action("PUSHBULLET_UPDATE_DEVICE", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-device.mjs","names":[],"sources":["../../src/actions/update-device.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdateDeviceInput = z.object({\n icon: z.enum([\"desktop\", \"browser\", \"website\", \"laptop\", \"tablet\", \"phone\", \"watch\", \"system\", \"ios\"]).describe(\"Icon for the device. Common values: desktop, laptop, tablet, phone, watch, system, ios.\").optional(),\n iden: z.string().describe(\"Identifier of the device to update.\"),\n model: z.string().describe(\"Model of the device.\").optional(),\n has_sms: z.boolean().describe(\"Whether the device supports SMS (Android only).\").optional(),\n nickname: z.string().describe(\"New display name for the device.\").optional(),\n push_token: z.string().describe(\"Platform-specific push token. Leave blank for custom or listening devices.\").optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet app installed on the device (non-negative).\").optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").optional(),\n}).describe(\"Request parameters for updating an existing Pushbullet device.\");\nexport const PushbulletUpdateDeviceOutput = z.object({\n icon: z.string().describe(\"Icon string for the device.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the device.\").nullable(),\n kind: z.string().describe(\"Deprecated device kind field.\").nullable().optional(),\n type: z.string().describe(\"Deprecated device type field.\").nullable().optional(),\n model: z.string().describe(\"Model of the device.\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp (UNIX time in seconds).\").nullable(),\n has_sms: z.boolean().describe(\"True if device supports SMS.\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (UNIX time in seconds).\").nullable(),\n nickname: z.string().describe(\"Display name of the device.\").nullable().optional(),\n pushable: z.boolean().describe(\"Deprecated pushable field.\").nullable().optional(),\n push_token: z.string().describe(\"Platform-specific push token for notifications.\").nullable().optional(),\n app_version: z.number().int().describe(\"App version installed on the device.\").nullable().optional(),\n fingerprint: z.string().describe(\"Platform-specific fingerprint.\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Encryption key fingerprint.\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for an updated Pushbullet device.\");\n\nexport const pushbulletUpdateDevice = action(\"PUSHBULLET_UPDATE_DEVICE\", {\n slug: \"pushbullet-update-device\",\n name: \"Update Device\",\n description: \"Tool to update metadata for a device by its identifier. Use when changing a device's nickname, model, or other settings.\",\n input: PushbulletUpdateDeviceInput,\n output: PushbulletUpdateDeviceOutput,\n});\n"],"mappings":";;AAkCA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlCyC,EAAE,OAAO;EAClD,MAAM,EAAE,KAAK;GAAC;GAAW;GAAW;GAAW;GAAU;GAAU;GAAS;GAAS;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACpN,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACvH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACzH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,SAAS,gEAyBH;CACP,QAzB0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAA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AE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-device.mjs","names":[],"sources":["../../src/actions/update-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 PushbulletUpdateDeviceInput = z.object({\n icon: z.enum([\"desktop\", \"browser\", \"website\", \"laptop\", \"tablet\", \"phone\", \"watch\", \"system\", \"ios\"]).describe(\"Icon for the device. Common values: desktop, laptop, tablet, phone, watch, system, ios.\").optional(),\n iden: z.string().describe(\"Identifier of the device to update.\"),\n model: z.string().describe(\"Model of the device.\").optional(),\n has_sms: z.boolean().describe(\"Whether the device supports SMS (Android only).\").optional(),\n nickname: z.string().describe(\"New display name for the device.\").optional(),\n push_token: z.string().describe(\"Platform-specific push token. Leave blank for custom or listening devices.\").optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet app installed on the device (non-negative).\").optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").optional(),\n}).describe(\"Request parameters for updating an existing Pushbullet device.\");\nexport const PushbulletUpdateDeviceOutput = z.object({\n icon: z.string().describe(\"Icon string for the device.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the device.\").nullable(),\n kind: z.string().describe(\"Deprecated device kind field.\").nullable().optional(),\n type: z.string().describe(\"Deprecated device type field.\").nullable().optional(),\n model: z.string().describe(\"Model of the device.\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp (UNIX time in seconds).\").nullable(),\n has_sms: z.boolean().describe(\"True if device supports SMS.\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (UNIX time in seconds).\").nullable(),\n nickname: z.string().describe(\"Display name of the device.\").nullable().optional(),\n pushable: z.boolean().describe(\"Deprecated pushable field.\").nullable().optional(),\n push_token: z.string().describe(\"Platform-specific push token for notifications.\").nullable().optional(),\n app_version: z.number().int().describe(\"App version installed on the device.\").nullable().optional(),\n fingerprint: z.string().describe(\"Platform-specific fingerprint.\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Encryption key fingerprint.\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for an updated Pushbullet device.\");\n\nexport const pushbulletUpdateDevice: AppAction<\n typeof PushbulletUpdateDeviceInput,\n typeof PushbulletUpdateDeviceOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_UPDATE_DEVICE\", {\n slug: \"pushbullet-update-device\",\n name: \"Update Device\",\n description: \"Tool to update metadata for a device by its identifier. Use when changing a device's nickname, model, or other settings.\",\n input: PushbulletUpdateDeviceInput,\n output: PushbulletUpdateDeviceOutput,\n});\n"],"mappings":";;;AAoCA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtCyC,EAAE,OAAO;EAClD,MAAM,EAAE,KAAK;GAAC;GAAW;GAAW;GAAW;GAAU;GAAU;GAAS;GAAS;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACpN,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,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AC,SAAS,CAAC,CAAC,SAAS;EACvG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;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/update-push.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-push.cjs","names":["z","action"],"sources":["../../src/actions/update-push.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdatePushInput = z.object({\n iden: z.string().describe(\"Unique identifier of the push to update\"),\n items: z.array(z.object({\n text: z.string().describe(\"Text of the list item\"),\n checked: z.boolean().describe(\"Whether the list item is checked\"),\n}).passthrough().describe(\"Model for a single list item in a list-style push.\")).describe(\"List of items to update for list-style pushes\").optional(),\n dismissed: z.boolean().describe(\"Set to true to mark the push as dismissed (hides notifications)\").optional(),\n}).describe(\"Request model for updating an existing push.\");\nexport const PushbulletUpdatePushOutput = z.object({\n url: z.string().describe(\"URL for link pushes (if any)\").nullable().optional(),\n body: z.string().describe(\"Body text of the push (if any)\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier of the push\").nullable(),\n type: z.string().describe(\"Type of the push (e.g., 'note', 'link', 'file', 'list')\").nullable(),\n title: z.string().describe(\"Title of the push (if any)\").nullable().optional(),\n active: z.boolean().describe(\"True if the push is active\").nullable(),\n created: z.number().describe(\"Creation timestamp (seconds since epoch)\").nullable(),\n file_url: z.string().describe(\"URL of the file for file pushes (if any)\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (seconds since epoch)\").nullable(),\n direction: z.string().describe(\"Direction of the push (e.g., 'self', 'incoming')\").nullable(),\n dismissed: z.boolean().describe(\"True if the push has been dismissed\").nullable(),\n file_name: z.string().describe(\"Filename for file pushes (if any)\").nullable().optional(),\n file_type: z.string().describe(\"MIME type for file pushes (if any)\").nullable().optional(),\n image_url: z.string().describe(\"URL of image previews (if any)\").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 sender_email: z.string().describe(\"Email of the sender\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver\").nullable().optional(),\n receiver_email: z.string().describe(\"Email of the receiver\").nullable().optional(),\n source_device_iden: z.string().describe(\"Identifier of the source device\").nullable().optional(),\n target_device_iden: z.string().describe(\"Identifier of the target device\").nullable().optional(),\n sender_email_normalized: z.string().describe(\"Normalized email of the sender\").nullable().optional(),\n receiver_email_normalized: z.string().describe(\"Normalized email of the receiver\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated push object.\");\n\nexport const pushbulletUpdatePush = action(\"PUSHBULLET_UPDATE_PUSH\", {\n slug: \"pushbullet-update-push\",\n name: \"Update Push\",\n description: \"Tool to update a push (dismiss or modify list items) by its identifier. Use when marking a push as dismissed or updating list push items.\",\n input: PushbulletUpdatePushInput,\n output: PushbulletUpdatePushOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,y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CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-push.cjs","names":["z","action"],"sources":["../../src/actions/update-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 PushbulletUpdatePushInput = z.object({\n iden: z.string().describe(\"Unique identifier of the push to update\"),\n items: z.array(z.object({\n text: z.string().describe(\"Text of the list item\"),\n checked: z.boolean().describe(\"Whether the list item is checked\"),\n}).passthrough().describe(\"Model for a single list item in a list-style push.\")).describe(\"List of items to update for list-style pushes\").optional(),\n dismissed: z.boolean().describe(\"Set to true to mark the push as dismissed (hides notifications)\").optional(),\n}).describe(\"Request model for updating an existing push.\");\nexport const PushbulletUpdatePushOutput = z.object({\n url: z.string().describe(\"URL for link pushes (if any)\").nullable().optional(),\n body: z.string().describe(\"Body text of the push (if any)\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier of the push\").nullable(),\n type: z.string().describe(\"Type of the push (e.g., 'note', 'link', 'file', 'list')\").nullable(),\n title: z.string().describe(\"Title of the push (if any)\").nullable().optional(),\n active: z.boolean().describe(\"True if the push is active\").nullable(),\n created: z.number().describe(\"Creation timestamp (seconds since epoch)\").nullable(),\n file_url: z.string().describe(\"URL of the file for file pushes (if any)\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (seconds since epoch)\").nullable(),\n direction: z.string().describe(\"Direction of the push (e.g., 'self', 'incoming')\").nullable(),\n dismissed: z.boolean().describe(\"True if the push has been dismissed\").nullable(),\n file_name: z.string().describe(\"Filename for file pushes (if any)\").nullable().optional(),\n file_type: z.string().describe(\"MIME type for file pushes (if any)\").nullable().optional(),\n image_url: z.string().describe(\"URL of image previews (if any)\").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 sender_email: z.string().describe(\"Email of the sender\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver\").nullable().optional(),\n receiver_email: z.string().describe(\"Email of the receiver\").nullable().optional(),\n source_device_iden: z.string().describe(\"Identifier of the source device\").nullable().optional(),\n target_device_iden: z.string().describe(\"Identifier of the target device\").nullable().optional(),\n sender_email_normalized: z.string().describe(\"Normalized email of the sender\").nullable().optional(),\n receiver_email_normalized: z.string().describe(\"Normalized email of the receiver\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated push object.\");\n\nexport const pushbulletUpdatePush: AppAction<\n typeof PushbulletUpdatePushInput,\n typeof PushbulletUpdatePushOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_UPDATE_PUSH\", {\n slug: \"pushbullet-update-push\",\n name: \"Update Push\",\n description: \"Tool to update a push (dismiss or modify list items) by its identifier. Use when marking a push as dismissed or updating list push items.\",\n input: PushbulletUpdatePushInput,\n output: PushbulletUpdatePushOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACjD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC;CAClE,CAAC,CAAC,CAAC,YAAY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,6CAA6C;AAEvE,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/update-push.d.ts
@@ -35,15 +37,7 @@ declare const PushbulletUpdatePushOutput: z.ZodObject<{
35
37
  sender_email_normalized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
38
  receiver_email_normalized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
39
  }, z.core.$loose>;
38
- declare const pushbulletUpdatePush: import("@keystrokehq/action").WorkflowActionDefinition<{
39
- iden: string;
40
- items?: {
41
- [x: string]: unknown;
42
- text: string;
43
- checked: boolean;
44
- }[] | undefined;
45
- dismissed?: boolean | undefined;
46
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ declare const pushbulletUpdatePush: AppAction<typeof PushbulletUpdatePushInput, typeof PushbulletUpdatePushOutput, typeof pushbullet.credential>;
47
41
  //#endregion
48
42
  export { pushbulletUpdatePush };
49
43
  //# sourceMappingURL=update-push.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-push.d.cts","names":[],"sources":["../../src/actions/update-push.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cA2B1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"update-push.d.cts","names":[],"sources":["../../src/actions/update-push.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cA2B1B,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/update-push.d.ts
@@ -35,15 +37,7 @@ declare const PushbulletUpdatePushOutput: z.ZodObject<{
35
37
  sender_email_normalized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
38
  receiver_email_normalized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
39
  }, z.core.$loose>;
38
- declare const pushbulletUpdatePush: import("@keystrokehq/action").WorkflowActionDefinition<{
39
- iden: string;
40
- items?: {
41
- [x: string]: unknown;
42
- text: string;
43
- checked: boolean;
44
- }[] | undefined;
45
- dismissed?: boolean | undefined;
46
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ declare const pushbulletUpdatePush: AppAction<typeof PushbulletUpdatePushInput, typeof PushbulletUpdatePushOutput, typeof pushbullet.credential>;
47
41
  //#endregion
48
42
  export { pushbulletUpdatePush };
49
43
  //# sourceMappingURL=update-push.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-push.d.mts","names":[],"sources":["../../src/actions/update-push.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cA2B1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"update-push.d.mts","names":[],"sources":["../../src/actions/update-push.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cA2B1B,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 pushbulletUpdatePush = action("PUSHBULLET_UPDATE_PUSH", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-push.mjs","names":[],"sources":["../../src/actions/update-push.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdatePushInput = z.object({\n iden: z.string().describe(\"Unique identifier of the push to update\"),\n items: z.array(z.object({\n text: z.string().describe(\"Text of the list item\"),\n checked: z.boolean().describe(\"Whether the list item is checked\"),\n}).passthrough().describe(\"Model for a single list item in a list-style push.\")).describe(\"List of items to update for list-style pushes\").optional(),\n dismissed: z.boolean().describe(\"Set to true to mark the push as dismissed (hides notifications)\").optional(),\n}).describe(\"Request model for updating an existing push.\");\nexport const PushbulletUpdatePushOutput = z.object({\n url: z.string().describe(\"URL for link pushes (if any)\").nullable().optional(),\n body: z.string().describe(\"Body text of the push (if any)\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier of the push\").nullable(),\n type: z.string().describe(\"Type of the push (e.g., 'note', 'link', 'file', 'list')\").nullable(),\n title: z.string().describe(\"Title of the push (if any)\").nullable().optional(),\n active: z.boolean().describe(\"True if the push is active\").nullable(),\n created: z.number().describe(\"Creation timestamp (seconds since epoch)\").nullable(),\n file_url: z.string().describe(\"URL of the file for file pushes (if any)\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (seconds since epoch)\").nullable(),\n direction: z.string().describe(\"Direction of the push (e.g., 'self', 'incoming')\").nullable(),\n dismissed: z.boolean().describe(\"True if the push has been dismissed\").nullable(),\n file_name: z.string().describe(\"Filename for file pushes (if any)\").nullable().optional(),\n file_type: z.string().describe(\"MIME type for file pushes (if any)\").nullable().optional(),\n image_url: z.string().describe(\"URL of image previews (if any)\").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 sender_email: z.string().describe(\"Email of the sender\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver\").nullable().optional(),\n receiver_email: z.string().describe(\"Email of the receiver\").nullable().optional(),\n source_device_iden: z.string().describe(\"Identifier of the source device\").nullable().optional(),\n target_device_iden: z.string().describe(\"Identifier of the target device\").nullable().optional(),\n sender_email_normalized: z.string().describe(\"Normalized email of the sender\").nullable().optional(),\n receiver_email_normalized: z.string().describe(\"Normalized email of the receiver\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated push object.\");\n\nexport const pushbulletUpdatePush = action(\"PUSHBULLET_UPDATE_PUSH\", {\n slug: \"pushbullet-update-push\",\n name: \"Update Push\",\n description: \"Tool to update a push (dismiss or modify list items) by its identifier. Use when marking a push as dismissed or updating list push items.\",\n input: PushbulletUpdatePushInput,\n output: PushbulletUpdatePushOutput,\n});\n"],"mappings":";;AAuCA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvCuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACnE,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;GACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC;EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAClJ,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,8CAgCH;CACP,QAhCwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CA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AAS;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-push.mjs","names":[],"sources":["../../src/actions/update-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 PushbulletUpdatePushInput = z.object({\n iden: z.string().describe(\"Unique identifier of the push to update\"),\n items: z.array(z.object({\n text: z.string().describe(\"Text of the list item\"),\n checked: z.boolean().describe(\"Whether the list item is checked\"),\n}).passthrough().describe(\"Model for a single list item in a list-style push.\")).describe(\"List of items to update for list-style pushes\").optional(),\n dismissed: z.boolean().describe(\"Set to true to mark the push as dismissed (hides notifications)\").optional(),\n}).describe(\"Request model for updating an existing push.\");\nexport const PushbulletUpdatePushOutput = z.object({\n url: z.string().describe(\"URL for link pushes (if any)\").nullable().optional(),\n body: z.string().describe(\"Body text of the push (if any)\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier of the push\").nullable(),\n type: z.string().describe(\"Type of the push (e.g., 'note', 'link', 'file', 'list')\").nullable(),\n title: z.string().describe(\"Title of the push (if any)\").nullable().optional(),\n active: z.boolean().describe(\"True if the push is active\").nullable(),\n created: z.number().describe(\"Creation timestamp (seconds since epoch)\").nullable(),\n file_url: z.string().describe(\"URL of the file for file pushes (if any)\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (seconds since epoch)\").nullable(),\n direction: z.string().describe(\"Direction of the push (e.g., 'self', 'incoming')\").nullable(),\n dismissed: z.boolean().describe(\"True if the push has been dismissed\").nullable(),\n file_name: z.string().describe(\"Filename for file pushes (if any)\").nullable().optional(),\n file_type: z.string().describe(\"MIME type for file pushes (if any)\").nullable().optional(),\n image_url: z.string().describe(\"URL of image previews (if any)\").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 sender_email: z.string().describe(\"Email of the sender\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver\").nullable().optional(),\n receiver_email: z.string().describe(\"Email of the receiver\").nullable().optional(),\n source_device_iden: z.string().describe(\"Identifier of the source device\").nullable().optional(),\n target_device_iden: z.string().describe(\"Identifier of the target device\").nullable().optional(),\n sender_email_normalized: z.string().describe(\"Normalized email of the sender\").nullable().optional(),\n receiver_email_normalized: z.string().describe(\"Normalized email of the receiver\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated push object.\");\n\nexport const pushbulletUpdatePush: AppAction<\n typeof PushbulletUpdatePushInput,\n typeof PushbulletUpdatePushOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_UPDATE_PUSH\", {\n slug: \"pushbullet-update-push\",\n name: \"Update Push\",\n description: \"Tool to update a push (dismiss or modify list items) by its identifier. Use when marking a push as dismissed or updating list push items.\",\n input: PushbulletUpdatePushInput,\n output: PushbulletUpdatePushOutput,\n});\n"],"mappings":";;;AAyCA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3CuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACnE,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;GACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC;EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAClJ,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,8CAoCH;CACP,QApCwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAC9F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAClF,UAAU,EAAE,OA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SAAS;EAC/F,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;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/upload-request.ts
@@ -1 +1 @@
1
- {"version":3,"file":"upload-request.cjs","names":["z","action"],"sources":["../../src/actions/upload-request.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUploadRequestInput = z.object({\n file_name: z.string().describe(\"Name of the file to upload. Example: 'photo.jpg'\"),\n file_type: z.string().describe(\"MIME type of the file. Example: 'image/jpeg'\"),\n}).describe(\"Request model for obtaining a signed upload URL for a file.\");\nconst PushbulletUploadRequest_UploadRequestDataSchema = z.object({\n acl: z.string().describe(\"S3 ACL for the uploaded object.\").nullable().optional(),\n key: z.string().describe(\"S3 object key (path) for the file.\").nullable().optional(),\n policy: z.string().describe(\"Base64-encoded policy document for the upload.\").nullable().optional(),\n signature: z.string().describe(\"AWS signature for the upload request.\").nullable().optional(),\n \"content-type\": z.string().describe(\"Content-Type for the uploaded file.\").nullable().optional(),\n awsaccesskeyid: z.string().describe(\"AWS access key ID for S3 upload.\").nullable().optional(),\n}).passthrough().describe(\"Form data required to upload the file to S3 (deprecated, may not be present).\");\nexport const PushbulletUploadRequestOutput = z.object({\n data: PushbulletUploadRequest_UploadRequestDataSchema.nullable().optional(),\n file_url: z.string().describe(\"URL where the file will be accessible after upload.\").nullable(),\n file_name: z.string().describe(\"Name of the file.\").nullable(),\n file_type: z.string().describe(\"MIME type of the file.\").nullable(),\n upload_url: z.string().describe(\"Signed URL for uploading the file.\").nullable(),\n}).passthrough().describe(\"Response model containing signed upload URLs and form data.\");\n\nexport const pushbulletUploadRequest = action(\"PUSHBULLET_UPLOAD_REQUEST\", {\n slug: \"pushbullet-upload-request\",\n name: \"Upload Request\",\n description: \"Tool to obtain a signed upload URL for a file before pushing. Use when you need to upload file content via the signed S3 form data.\",\n input: PushbulletUploadRequestInput,\n output: PushbulletUploadRequestOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAC/E,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAA+E;AACzG,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAM,gDAAgD,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"upload-request.cjs","names":["z","action"],"sources":["../../src/actions/upload-request.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 PushbulletUploadRequestInput = z.object({\n file_name: z.string().describe(\"Name of the file to upload. Example: 'photo.jpg'\"),\n file_type: z.string().describe(\"MIME type of the file. Example: 'image/jpeg'\"),\n}).describe(\"Request model for obtaining a signed upload URL for a file.\");\nconst PushbulletUploadRequest_UploadRequestDataSchema = z.object({\n acl: z.string().describe(\"S3 ACL for the uploaded object.\").nullable().optional(),\n key: z.string().describe(\"S3 object key (path) for the file.\").nullable().optional(),\n policy: z.string().describe(\"Base64-encoded policy document for the upload.\").nullable().optional(),\n signature: z.string().describe(\"AWS signature for the upload request.\").nullable().optional(),\n \"content-type\": z.string().describe(\"Content-Type for the uploaded file.\").nullable().optional(),\n awsaccesskeyid: z.string().describe(\"AWS access key ID for S3 upload.\").nullable().optional(),\n}).passthrough().describe(\"Form data required to upload the file to S3 (deprecated, may not be present).\");\nexport const PushbulletUploadRequestOutput = z.object({\n data: PushbulletUploadRequest_UploadRequestDataSchema.nullable().optional(),\n file_url: z.string().describe(\"URL where the file will be accessible after upload.\").nullable(),\n file_name: z.string().describe(\"Name of the file.\").nullable(),\n file_type: z.string().describe(\"MIME type of the file.\").nullable(),\n upload_url: z.string().describe(\"Signed URL for uploading the file.\").nullable(),\n}).passthrough().describe(\"Response model containing signed upload URLs and form data.\");\n\nexport const pushbulletUploadRequest: AppAction<\n typeof PushbulletUploadRequestInput,\n typeof PushbulletUploadRequestOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_UPLOAD_REQUEST\", {\n slug: \"pushbullet-upload-request\",\n name: \"Upload Request\",\n description: \"Tool to obtain a signed upload URL for a file before pushing. Use when you need to upload file content via the signed S3 form data.\",\n input: PushbulletUploadRequestInput,\n output: PushbulletUploadRequestOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAC/E,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAA+E;AACzG,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAM,gDAAgD,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,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/upload-request.d.ts
@@ -19,10 +21,7 @@ declare const PushbulletUploadRequestOutput: z.ZodObject<{
19
21
  file_type: z.ZodNullable<z.ZodString>;
20
22
  upload_url: z.ZodNullable<z.ZodString>;
21
23
  }, z.core.$loose>;
22
- declare const pushbulletUploadRequest: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- file_name: string;
24
- file_type: string;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const pushbulletUploadRequest: AppAction<typeof PushbulletUploadRequestInput, typeof PushbulletUploadRequestOutput, typeof pushbullet.credential>;
26
25
  //#endregion
27
26
  export { pushbulletUploadRequest };
28
27
  //# sourceMappingURL=upload-request.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload-request.d.cts","names":[],"sources":["../../src/actions/upload-request.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQ7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"upload-request.d.cts","names":[],"sources":["../../src/actions/upload-request.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQ7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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/upload-request.d.ts
@@ -19,10 +21,7 @@ declare const PushbulletUploadRequestOutput: z.ZodObject<{
19
21
  file_type: z.ZodNullable<z.ZodString>;
20
22
  upload_url: z.ZodNullable<z.ZodString>;
21
23
  }, z.core.$loose>;
22
- declare const pushbulletUploadRequest: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- file_name: string;
24
- file_type: string;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const pushbulletUploadRequest: AppAction<typeof PushbulletUploadRequestInput, typeof PushbulletUploadRequestOutput, typeof pushbullet.credential>;
26
25
  //#endregion
27
26
  export { pushbulletUploadRequest };
28
27
  //# sourceMappingURL=upload-request.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload-request.d.mts","names":[],"sources":["../../src/actions/upload-request.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQ7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"upload-request.d.mts","names":[],"sources":["../../src/actions/upload-request.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQ7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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/upload-request.ts
@@ -1 +1 @@
1
- {"version":3,"file":"upload-request.mjs","names":[],"sources":["../../src/actions/upload-request.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUploadRequestInput = z.object({\n file_name: z.string().describe(\"Name of the file to upload. Example: 'photo.jpg'\"),\n file_type: z.string().describe(\"MIME type of the file. Example: 'image/jpeg'\"),\n}).describe(\"Request model for obtaining a signed upload URL for a file.\");\nconst PushbulletUploadRequest_UploadRequestDataSchema = z.object({\n acl: z.string().describe(\"S3 ACL for the uploaded object.\").nullable().optional(),\n key: z.string().describe(\"S3 object key (path) for the file.\").nullable().optional(),\n policy: z.string().describe(\"Base64-encoded policy document for the upload.\").nullable().optional(),\n signature: z.string().describe(\"AWS signature for the upload request.\").nullable().optional(),\n \"content-type\": z.string().describe(\"Content-Type for the uploaded file.\").nullable().optional(),\n awsaccesskeyid: z.string().describe(\"AWS access key ID for S3 upload.\").nullable().optional(),\n}).passthrough().describe(\"Form data required to upload the file to S3 (deprecated, may not be present).\");\nexport const PushbulletUploadRequestOutput = z.object({\n data: PushbulletUploadRequest_UploadRequestDataSchema.nullable().optional(),\n file_url: z.string().describe(\"URL where the file will be accessible after upload.\").nullable(),\n file_name: z.string().describe(\"Name of the file.\").nullable(),\n file_type: z.string().describe(\"MIME type of the file.\").nullable(),\n upload_url: z.string().describe(\"Signed URL for uploading the file.\").nullable(),\n}).passthrough().describe(\"Response model containing signed upload URLs and form data.\");\n\nexport const pushbulletUploadRequest = action(\"PUSHBULLET_UPLOAD_REQUEST\", {\n slug: \"pushbullet-upload-request\",\n name: \"Upload Request\",\n description: \"Tool to obtain a signed upload URL for a file before pushing. Use when you need to upload file content via the signed S3 form data.\",\n input: PushbulletUploadRequestInput,\n output: PushbulletUploadRequestOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAC/E,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAA+E;AASzG,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO;EACpD,MAAM,gDAAgD,SAAS,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"upload-request.mjs","names":[],"sources":["../../src/actions/upload-request.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 PushbulletUploadRequestInput = z.object({\n file_name: z.string().describe(\"Name of the file to upload. Example: 'photo.jpg'\"),\n file_type: z.string().describe(\"MIME type of the file. Example: 'image/jpeg'\"),\n}).describe(\"Request model for obtaining a signed upload URL for a file.\");\nconst PushbulletUploadRequest_UploadRequestDataSchema = z.object({\n acl: z.string().describe(\"S3 ACL for the uploaded object.\").nullable().optional(),\n key: z.string().describe(\"S3 object key (path) for the file.\").nullable().optional(),\n policy: z.string().describe(\"Base64-encoded policy document for the upload.\").nullable().optional(),\n signature: z.string().describe(\"AWS signature for the upload request.\").nullable().optional(),\n \"content-type\": z.string().describe(\"Content-Type for the uploaded file.\").nullable().optional(),\n awsaccesskeyid: z.string().describe(\"AWS access key ID for S3 upload.\").nullable().optional(),\n}).passthrough().describe(\"Form data required to upload the file to S3 (deprecated, may not be present).\");\nexport const PushbulletUploadRequestOutput = z.object({\n data: PushbulletUploadRequest_UploadRequestDataSchema.nullable().optional(),\n file_url: z.string().describe(\"URL where the file will be accessible after upload.\").nullable(),\n file_name: z.string().describe(\"Name of the file.\").nullable(),\n file_type: z.string().describe(\"MIME type of the file.\").nullable(),\n upload_url: z.string().describe(\"Signed URL for uploading the file.\").nullable(),\n}).passthrough().describe(\"Response model containing signed upload URLs and form data.\");\n\nexport const pushbulletUploadRequest: AppAction<\n typeof PushbulletUploadRequestInput,\n typeof PushbulletUploadRequestOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_UPLOAD_REQUEST\", {\n slug: \"pushbullet-upload-request\",\n name: \"Upload Request\",\n description: \"Tool to obtain a signed upload URL for a file before pushing. Use when you need to upload file content via the signed S3 form data.\",\n input: PushbulletUploadRequestInput,\n output: PushbulletUploadRequestOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAC/E,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAA+E;AASzG,MAAa,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjB2C,EAAE,OAAO;EACpD,MAAM,gDAAgD,SAAS,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
1
2
  //#region src/app.ts
2
- const pushbullet = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ const credential = { accessToken: require("zod").z.string() };
4
+ const pushbullet = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "pushbullet",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential
5
8
  });
6
9
  //#endregion
7
10
  exports.pushbullet = pushbullet;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const pushbullet = defineApp({\n slug: \"pushbullet\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,cAAA,uCAAA,CAAA,CAAA,UAAA,CAAuB;CAClC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n accessToken: z.string(),\n};\n\nexport const pushbullet: KeystrokeApp<\"pushbullet\", typeof credential> = defineApp({\n slug: \"pushbullet\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,0BAAaA,CAAAA,CAAAA,EAAE,OAAO,EACxB;AAEA,MAAa,cAAA,GAAA,2BAAA,UAAA,CAAsE;CACjF,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const pushbullet: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ accessToken: z.ZodString;
7
+ };
8
+ declare const pushbullet: KeystrokeApp<"pushbullet", typeof credential>;
3
9
  //#endregion
4
10
  export { pushbullet };
5
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,UAAA,6BAAU,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;eAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,UAAA,EAAY,YAAY,sBAAsB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const pushbullet: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ accessToken: z.ZodString;
7
+ };
8
+ declare const pushbullet: KeystrokeApp<"pushbullet", typeof credential>;
3
9
  //#endregion
4
10
  export { pushbullet };
5
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,UAAA,6BAAU,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;eAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,UAAA,EAAY,YAAY,sBAAsB,UAAA"}