@keystrokehq/pushbullet 0.1.0 → 0.1.3

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 (123) 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 +9 -9
  4. package/dist/actions/create-chat.cjs.map +1 -1
  5. package/dist/actions/create-chat.d.cts +24 -3
  6. package/dist/actions/create-chat.d.cts.map +1 -1
  7. package/dist/actions/create-chat.d.mts +24 -3
  8. package/dist/actions/create-chat.d.mts.map +1 -1
  9. package/dist/actions/create-chat.mjs +9 -9
  10. package/dist/actions/create-chat.mjs.map +1 -1
  11. package/dist/actions/create-device.cjs +1 -1
  12. package/dist/actions/create-device.cjs.map +1 -1
  13. package/dist/actions/create-device.d.cts +47 -3
  14. package/dist/actions/create-device.d.cts.map +1 -1
  15. package/dist/actions/create-device.d.mts +47 -3
  16. package/dist/actions/create-device.d.mts.map +1 -1
  17. package/dist/actions/create-device.mjs +1 -1
  18. package/dist/actions/create-device.mjs.map +1 -1
  19. package/dist/actions/create-push.cjs +9 -9
  20. package/dist/actions/create-push.cjs.map +1 -1
  21. package/dist/actions/create-push.d.cts +57 -3
  22. package/dist/actions/create-push.d.cts.map +1 -1
  23. package/dist/actions/create-push.d.mts +57 -3
  24. package/dist/actions/create-push.d.mts.map +1 -1
  25. package/dist/actions/create-push.mjs +9 -9
  26. package/dist/actions/create-push.mjs.map +1 -1
  27. package/dist/actions/delete-all-pushes.cjs +1 -1
  28. package/dist/actions/delete-all-pushes.cjs.map +1 -1
  29. package/dist/actions/delete-all-pushes.d.cts +3 -3
  30. package/dist/actions/delete-all-pushes.d.cts.map +1 -1
  31. package/dist/actions/delete-all-pushes.d.mts +3 -3
  32. package/dist/actions/delete-all-pushes.d.mts.map +1 -1
  33. package/dist/actions/delete-all-pushes.mjs +1 -1
  34. package/dist/actions/delete-all-pushes.mjs.map +1 -1
  35. package/dist/actions/delete-chat.cjs +1 -1
  36. package/dist/actions/delete-chat.cjs.map +1 -1
  37. package/dist/actions/delete-chat.d.cts +7 -3
  38. package/dist/actions/delete-chat.d.cts.map +1 -1
  39. package/dist/actions/delete-chat.d.mts +7 -3
  40. package/dist/actions/delete-chat.d.mts.map +1 -1
  41. package/dist/actions/delete-chat.mjs +1 -1
  42. package/dist/actions/delete-chat.mjs.map +1 -1
  43. package/dist/actions/delete-device.cjs +1 -1
  44. package/dist/actions/delete-device.cjs.map +1 -1
  45. package/dist/actions/delete-device.d.cts +7 -3
  46. package/dist/actions/delete-device.d.cts.map +1 -1
  47. package/dist/actions/delete-device.d.mts +7 -3
  48. package/dist/actions/delete-device.d.mts.map +1 -1
  49. package/dist/actions/delete-device.mjs +1 -1
  50. package/dist/actions/delete-device.mjs.map +1 -1
  51. package/dist/actions/delete-push.cjs +1 -1
  52. package/dist/actions/delete-push.cjs.map +1 -1
  53. package/dist/actions/delete-push.d.cts +7 -3
  54. package/dist/actions/delete-push.d.cts.map +1 -1
  55. package/dist/actions/delete-push.d.mts +7 -3
  56. package/dist/actions/delete-push.d.mts.map +1 -1
  57. package/dist/actions/delete-push.mjs +1 -1
  58. package/dist/actions/delete-push.mjs.map +1 -1
  59. package/dist/actions/get-user.cjs +9 -9
  60. package/dist/actions/get-user.cjs.map +1 -1
  61. package/dist/actions/get-user.d.cts +14 -3
  62. package/dist/actions/get-user.d.cts.map +1 -1
  63. package/dist/actions/get-user.d.mts +14 -3
  64. package/dist/actions/get-user.d.mts.map +1 -1
  65. package/dist/actions/get-user.mjs +9 -9
  66. package/dist/actions/get-user.mjs.map +1 -1
  67. package/dist/actions/list-chats.cjs +7 -7
  68. package/dist/actions/list-chats.cjs.map +1 -1
  69. package/dist/actions/list-chats.d.cts +29 -3
  70. package/dist/actions/list-chats.d.cts.map +1 -1
  71. package/dist/actions/list-chats.d.mts +29 -3
  72. package/dist/actions/list-chats.d.mts.map +1 -1
  73. package/dist/actions/list-chats.mjs +7 -7
  74. package/dist/actions/list-chats.mjs.map +1 -1
  75. package/dist/actions/list-devices.cjs +8 -8
  76. package/dist/actions/list-devices.cjs.map +1 -1
  77. package/dist/actions/list-devices.d.cts +23 -3
  78. package/dist/actions/list-devices.d.cts.map +1 -1
  79. package/dist/actions/list-devices.d.mts +23 -3
  80. package/dist/actions/list-devices.d.mts.map +1 -1
  81. package/dist/actions/list-devices.mjs +8 -8
  82. package/dist/actions/list-devices.mjs.map +1 -1
  83. package/dist/actions/list-pushes.cjs +7 -7
  84. package/dist/actions/list-pushes.cjs.map +1 -1
  85. package/dist/actions/list-pushes.d.cts +37 -3
  86. package/dist/actions/list-pushes.d.cts.map +1 -1
  87. package/dist/actions/list-pushes.d.mts +37 -3
  88. package/dist/actions/list-pushes.d.mts.map +1 -1
  89. package/dist/actions/list-pushes.mjs +7 -7
  90. package/dist/actions/list-pushes.mjs.map +1 -1
  91. package/dist/actions/update-chat.cjs +11 -11
  92. package/dist/actions/update-chat.cjs.map +1 -1
  93. package/dist/actions/update-chat.d.cts +26 -3
  94. package/dist/actions/update-chat.d.cts.map +1 -1
  95. package/dist/actions/update-chat.d.mts +26 -3
  96. package/dist/actions/update-chat.d.mts.map +1 -1
  97. package/dist/actions/update-chat.mjs +11 -11
  98. package/dist/actions/update-chat.mjs.map +1 -1
  99. package/dist/actions/update-device.cjs +5 -5
  100. package/dist/actions/update-device.cjs.map +1 -1
  101. package/dist/actions/update-device.d.cts +49 -3
  102. package/dist/actions/update-device.d.cts.map +1 -1
  103. package/dist/actions/update-device.d.mts +49 -3
  104. package/dist/actions/update-device.d.mts.map +1 -1
  105. package/dist/actions/update-device.mjs +5 -5
  106. package/dist/actions/update-device.mjs.map +1 -1
  107. package/dist/actions/update-push.cjs +9 -9
  108. package/dist/actions/update-push.cjs.map +1 -1
  109. package/dist/actions/update-push.d.cts +43 -3
  110. package/dist/actions/update-push.d.cts.map +1 -1
  111. package/dist/actions/update-push.d.mts +43 -3
  112. package/dist/actions/update-push.d.mts.map +1 -1
  113. package/dist/actions/update-push.mjs +9 -9
  114. package/dist/actions/update-push.mjs.map +1 -1
  115. package/dist/actions/upload-request.cjs +5 -5
  116. package/dist/actions/upload-request.cjs.map +1 -1
  117. package/dist/actions/upload-request.d.cts +22 -3
  118. package/dist/actions/upload-request.d.cts.map +1 -1
  119. package/dist/actions/upload-request.d.mts +22 -3
  120. package/dist/actions/upload-request.d.mts.map +1 -1
  121. package/dist/actions/upload-request.mjs +5 -5
  122. package/dist/actions/upload-request.mjs.map +1 -1
  123. package/package.json +2 -2
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-user.d.ts
4
- declare const PushbulletGetUserInput: z.ZodTypeAny;
5
- declare const PushbulletGetUserOutput: z.ZodTypeAny;
6
- declare const pushbulletGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PushbulletGetUserInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PushbulletGetUserOutput: z.ZodObject<{
6
+ iden: z.ZodNullable<z.ZodString>;
7
+ name: z.ZodNullable<z.ZodString>;
8
+ email: z.ZodNullable<z.ZodString>;
9
+ created: z.ZodNullable<z.ZodNumber>;
10
+ modified: z.ZodNullable<z.ZodNumber>;
11
+ image_url: z.ZodNullable<z.ZodString>;
12
+ referrer_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ referred_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ max_upload_size: z.ZodNullable<z.ZodNumber>;
15
+ email_normalized: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$loose>;
17
+ declare const pushbulletGetUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { pushbulletGetUser };
9
20
  //# sourceMappingURL=get-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAAkG;AAAA,cAC5H,uBAAA,EAAyB,CAAA,CAAE,UAWqB;AAAA,cAEhD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAavB,iBAAA,gCAAiB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -6,17 +6,17 @@ const pushbulletGetUser = action("PUSHBULLET_GET_USER", {
6
6
  description: "Tool to retrieve the currently authenticated user's profile. Use when you need to verify the access token or display the current user's details.",
7
7
  input: z.object({}).describe("No parameters needed to retrieve the current user's profile."),
8
8
  output: z.object({
9
- iden: z.string().describe("Unique identifier for the current user"),
10
- name: z.string().describe("Full name of the user"),
11
- email: z.string().describe("User's email address"),
12
- created: z.number().describe("Account creation time as Unix timestamp (seconds)"),
13
- modified: z.number().describe("Last profile modification time as Unix timestamp (seconds)"),
14
- image_url: z.string().describe("URL of the user's profile image"),
9
+ iden: z.string().describe("Unique identifier for the current user").nullable(),
10
+ name: z.string().describe("Full name of the user").nullable(),
11
+ email: z.string().describe("User's email address").nullable(),
12
+ created: z.number().describe("Account creation time as Unix timestamp (seconds)").nullable(),
13
+ modified: z.number().describe("Last profile modification time as Unix timestamp (seconds)").nullable(),
14
+ image_url: z.string().describe("URL of the user's profile image").nullable(),
15
15
  referrer_iden: z.string().describe("User iden of the user who referred this user").nullable().optional(),
16
16
  referred_count: z.number().int().describe("Number of users referred by this user").nullable().optional(),
17
- max_upload_size: z.number().int().describe("Maximum file upload size in bytes"),
18
- email_normalized: z.string().describe("Canonical form of the email address")
19
- }).describe("Response model for the current user's profile.")
17
+ max_upload_size: z.number().int().describe("Maximum file upload size in bytes").nullable(),
18
+ email_normalized: z.string().describe("Canonical form of the email address").nullable()
19
+ }).passthrough().describe("Response model for the current user's profile.")
20
20
  });
21
21
  //#endregion
22
22
  export { pushbulletGetUser };
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletGetUserInput: z.ZodTypeAny = z.object({}).describe(\"No parameters needed to retrieve the current user's profile.\");\nexport const PushbulletGetUserOutput: z.ZodTypeAny = z.object({\n iden: z.string().describe(\"Unique identifier for the current user\"),\n name: z.string().describe(\"Full name of the user\"),\n email: z.string().describe(\"User's email address\"),\n created: z.number().describe(\"Account creation time as Unix timestamp (seconds)\"),\n modified: z.number().describe(\"Last profile modification time as Unix timestamp (seconds)\"),\n image_url: z.string().describe(\"URL of the user's profile image\"),\n referrer_iden: z.string().describe(\"User iden of the user who referred this user\").nullable().optional(),\n referred_count: z.number().int().describe(\"Number of users referred by this user\").nullable().optional(),\n max_upload_size: z.number().int().describe(\"Maximum file upload size in bytes\"),\n email_normalized: z.string().describe(\"Canonical form of the email address\"),\n}).describe(\"Response model for the current user's profile.\");\n\nexport const pushbulletGetUser = action(\"PUSHBULLET_GET_USER\", {\n slug: \"pushbullet-get-user\",\n name: \"Get current user\",\n description: \"Tool to retrieve the currently authenticated user's profile. Use when you need to verify the access token or display the current user's details.\",\n input: PushbulletGetUserInput,\n output: PushbulletGetUserOutput,\n});\n"],"mappings":";;AAkBA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBkD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAkBjE;CACP,QAlBmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACjD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAChE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;EAC9E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7E,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletGetUserInput = z.object({}).describe(\"No parameters needed to retrieve the current user's profile.\");\nexport const PushbulletGetUserOutput = z.object({\n iden: z.string().describe(\"Unique identifier for the current user\").nullable(),\n name: z.string().describe(\"Full name of the user\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n created: z.number().describe(\"Account creation time as Unix timestamp (seconds)\").nullable(),\n modified: z.number().describe(\"Last profile modification time as Unix timestamp (seconds)\").nullable(),\n image_url: z.string().describe(\"URL of the user's profile image\").nullable(),\n referrer_iden: z.string().describe(\"User iden of the user who referred this user\").nullable().optional(),\n referred_count: z.number().int().describe(\"Number of users referred by this user\").nullable().optional(),\n max_upload_size: z.number().int().describe(\"Maximum file upload size in bytes\").nullable(),\n email_normalized: z.string().describe(\"Canonical form of the email address\").nullable(),\n}).passthrough().describe(\"Response model for the current user's profile.\");\n\nexport const pushbulletGetUser = action(\"PUSHBULLET_GET_USER\", {\n slug: \"pushbullet-get-user\",\n name: \"Get current user\",\n description: \"Tool to retrieve the currently authenticated user's profile. Use when you need to verify the access token or display the current user's details.\",\n input: PushbulletGetUserInput,\n output: PushbulletGetUserOutput,\n});\n"],"mappings":";;AAkBA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBoC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAkBnD;CACP,QAlBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
@@ -12,19 +12,19 @@ const PushbulletListChats_ChatWithSchema = zod.z.object({
12
12
  email: zod.z.string().describe("Email address of the chat participant").nullable().optional(),
13
13
  image_url: zod.z.string().describe("Avatar URL for this chat participant").nullable().optional(),
14
14
  email_normalized: zod.z.string().describe("Canonical email address of the chat participant").nullable().optional()
15
- }).describe("Represents the other participant in a chat.");
15
+ }).passthrough().describe("Represents the other participant in a chat.");
16
16
  const PushbulletListChats_ChatSchema = zod.z.object({
17
- iden: zod.z.string().describe("Unique identifier for this chat"),
17
+ iden: zod.z.string().describe("Unique identifier for this chat").nullable(),
18
18
  "with": PushbulletListChats_ChatWithSchema.nullable().optional(),
19
19
  muted: zod.z.boolean().describe("True if notifications for this chat are muted. May be absent for deleted chats.").nullable().optional(),
20
- active: zod.z.boolean().describe("False if this chat has been deleted"),
21
- created: zod.z.number().describe("Creation time in UNIX seconds"),
22
- modified: zod.z.number().describe("Last modified time in UNIX seconds")
23
- }).describe("A single chat thread object.");
20
+ active: zod.z.boolean().describe("False if this chat has been deleted").nullable(),
21
+ created: zod.z.number().describe("Creation time in UNIX seconds").nullable(),
22
+ modified: zod.z.number().describe("Last modified time in UNIX seconds").nullable()
23
+ }).passthrough().describe("A single chat thread object.");
24
24
  const PushbulletListChatsOutput = zod.z.object({
25
25
  chats: zod.z.array(PushbulletListChats_ChatSchema).describe("List of chat objects ordered with most recently modified first"),
26
26
  cursor: zod.z.string().describe("Cursor for fetching the next page of results, if present.").nullable().optional()
27
- }).describe("Response model for listing chats.");
27
+ }).passthrough().describe("Response model for listing chats.");
28
28
  const pushbulletListChats = require_action.action("PUSHBULLET_LIST_CHATS", {
29
29
  slug: "pushbullet-list-chats",
30
30
  name: "List Chats",
@@ -1 +1 @@
1
- {"version":3,"file":"list-chats.cjs","names":["z","action"],"sources":["../../src/actions/list-chats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletListChatsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of chats to return (max 500).\").optional(),\n cursor: z.string().describe(\"Cursor for pagination to fetch the next page of chats.\").optional(),\n}).describe(\"Request model for listing chats with optional pagination.\");\nconst PushbulletListChats_ChatWithSchema: z.ZodTypeAny = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\").nullable().optional(),\n name: z.string().describe(\"Display name of the chat participant\").nullable().optional(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of the chat participant: 'email' or 'user'\").nullable().optional(),\n email: z.string().describe(\"Email address of the chat participant\").nullable().optional(),\n image_url: z.string().describe(\"Avatar URL for this chat participant\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the chat participant\").nullable().optional(),\n}).describe(\"Represents the other participant in a chat.\");\nconst PushbulletListChats_ChatSchema: z.ZodTypeAny = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\"),\n \"with\": PushbulletListChats_ChatWithSchema.nullable().optional(),\n muted: z.boolean().describe(\"True if notifications for this chat are muted. May be absent for deleted chats.\").nullable().optional(),\n active: z.boolean().describe(\"False if this chat has been deleted\"),\n created: z.number().describe(\"Creation time in UNIX seconds\"),\n modified: z.number().describe(\"Last modified time in UNIX seconds\"),\n}).describe(\"A single chat thread object.\");\nexport const PushbulletListChatsOutput: z.ZodTypeAny = z.object({\n chats: z.array(PushbulletListChats_ChatSchema).describe(\"List of chat objects ordered with most recently modified first\"),\n cursor: z.string().describe(\"Cursor for fetching the next page of results, if present.\").nullable().optional(),\n}).describe(\"Response model for listing chats.\");\n\nexport const pushbulletListChats = action(\"PUSHBULLET_LIST_CHATS\", {\n slug: \"pushbullet-list-chats\",\n name: \"List Chats\",\n description: \"Tool to list all chat objects for the current user. Use when you need the full set of chat threads before sending or muting messages.\",\n input: PushbulletListChatsInput,\n output: PushbulletListChatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,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AA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AACpE,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,OAAOA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,gEAAgE;CACxH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-chats.cjs","names":["z","action"],"sources":["../../src/actions/list-chats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletListChatsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of chats to return (max 500).\").optional(),\n cursor: z.string().describe(\"Cursor for pagination to fetch the next page of chats.\").optional(),\n}).describe(\"Request model for listing chats with optional pagination.\");\nconst PushbulletListChats_ChatWithSchema = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\").nullable().optional(),\n name: z.string().describe(\"Display name of the chat participant\").nullable().optional(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of the chat participant: 'email' or 'user'\").nullable().optional(),\n email: z.string().describe(\"Email address of the chat participant\").nullable().optional(),\n image_url: z.string().describe(\"Avatar URL for this chat participant\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the chat participant\").nullable().optional(),\n}).passthrough().describe(\"Represents the other participant in a chat.\");\nconst PushbulletListChats_ChatSchema = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\").nullable(),\n \"with\": PushbulletListChats_ChatWithSchema.nullable().optional(),\n muted: z.boolean().describe(\"True if notifications for this chat are muted. May be absent for deleted chats.\").nullable().optional(),\n active: z.boolean().describe(\"False if this chat has been deleted\").nullable(),\n created: z.number().describe(\"Creation time in UNIX seconds\").nullable(),\n modified: z.number().describe(\"Last modified time in UNIX seconds\").nullable(),\n}).passthrough().describe(\"A single chat thread object.\");\nexport const PushbulletListChatsOutput = z.object({\n chats: z.array(PushbulletListChats_ChatSchema).describe(\"List of chat objects ordered with most recently modified first\"),\n cursor: z.string().describe(\"Cursor for fetching the next page of results, if present.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing chats.\");\n\nexport const pushbulletListChats = action(\"PUSHBULLET_LIST_CHATS\", {\n slug: \"pushbullet-list-chats\",\n name: \"List Chats\",\n description: \"Tool to list all chat objects for the current user. Use when you need the full set of chat threads before sending or muting messages.\",\n input: PushbulletListChatsInput,\n output: PushbulletListChatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAA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3
3
  //#region src/actions/list-chats.d.ts
4
- declare const PushbulletListChatsInput: z.ZodTypeAny;
5
- declare const PushbulletListChatsOutput: z.ZodTypeAny;
6
- declare const pushbulletListChats: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PushbulletListChatsInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ cursor: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const PushbulletListChatsOutput: z.ZodObject<{
9
+ chats: z.ZodArray<z.ZodObject<{
10
+ iden: z.ZodNullable<z.ZodString>;
11
+ with: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12
+ iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
15
+ user: "user";
16
+ email: "email";
17
+ }>>>;
18
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ email_normalized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$loose>>>;
22
+ muted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ active: z.ZodNullable<z.ZodBoolean>;
24
+ created: z.ZodNullable<z.ZodNumber>;
25
+ modified: z.ZodNullable<z.ZodNumber>;
26
+ }, z.core.$loose>>;
27
+ cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ }, z.core.$loose>;
29
+ declare const pushbulletListChats: import("@keystrokehq/action").WorkflowActionDefinition<{
30
+ limit?: number | undefined;
31
+ cursor?: string | undefined;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { pushbulletListChats };
9
35
  //# sourceMappingURL=list-chats.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-chats.d.cts","names":[],"sources":["../../src/actions/list-chats.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAG+B;AAAA,cAiB3D,yBAAA,EAA2B,CAAA,CAAE,UAGM;AAAA,cAEnC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-chats.d.cts","names":[],"sources":["../../src/actions/list-chats.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAoBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-chats.d.ts
4
- declare const PushbulletListChatsInput: z.ZodTypeAny;
5
- declare const PushbulletListChatsOutput: z.ZodTypeAny;
6
- declare const pushbulletListChats: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PushbulletListChatsInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ cursor: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const PushbulletListChatsOutput: z.ZodObject<{
9
+ chats: z.ZodArray<z.ZodObject<{
10
+ iden: z.ZodNullable<z.ZodString>;
11
+ with: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12
+ iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
15
+ user: "user";
16
+ email: "email";
17
+ }>>>;
18
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ email_normalized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$loose>>>;
22
+ muted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ active: z.ZodNullable<z.ZodBoolean>;
24
+ created: z.ZodNullable<z.ZodNumber>;
25
+ modified: z.ZodNullable<z.ZodNumber>;
26
+ }, z.core.$loose>>;
27
+ cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ }, z.core.$loose>;
29
+ declare const pushbulletListChats: import("@keystrokehq/action").WorkflowActionDefinition<{
30
+ limit?: number | undefined;
31
+ cursor?: string | undefined;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { pushbulletListChats };
9
35
  //# sourceMappingURL=list-chats.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-chats.d.mts","names":[],"sources":["../../src/actions/list-chats.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAG+B;AAAA,cAiB3D,yBAAA,EAA2B,CAAA,CAAE,UAGM;AAAA,cAEnC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-chats.d.mts","names":[],"sources":["../../src/actions/list-chats.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAoBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
@@ -12,15 +12,15 @@ const PushbulletListChats_ChatWithSchema = z.object({
12
12
  email: z.string().describe("Email address of the chat participant").nullable().optional(),
13
13
  image_url: z.string().describe("Avatar URL for this chat participant").nullable().optional(),
14
14
  email_normalized: z.string().describe("Canonical email address of the chat participant").nullable().optional()
15
- }).describe("Represents the other participant in a chat.");
15
+ }).passthrough().describe("Represents the other participant in a chat.");
16
16
  const PushbulletListChats_ChatSchema = z.object({
17
- iden: z.string().describe("Unique identifier for this chat"),
17
+ iden: z.string().describe("Unique identifier for this chat").nullable(),
18
18
  "with": PushbulletListChats_ChatWithSchema.nullable().optional(),
19
19
  muted: z.boolean().describe("True if notifications for this chat are muted. May be absent for deleted chats.").nullable().optional(),
20
- active: z.boolean().describe("False if this chat has been deleted"),
21
- created: z.number().describe("Creation time in UNIX seconds"),
22
- modified: z.number().describe("Last modified time in UNIX seconds")
23
- }).describe("A single chat thread object.");
20
+ active: z.boolean().describe("False if this chat has been deleted").nullable(),
21
+ created: z.number().describe("Creation time in UNIX seconds").nullable(),
22
+ modified: z.number().describe("Last modified time in UNIX seconds").nullable()
23
+ }).passthrough().describe("A single chat thread object.");
24
24
  const pushbulletListChats = action("PUSHBULLET_LIST_CHATS", {
25
25
  slug: "pushbullet-list-chats",
26
26
  name: "List Chats",
@@ -29,7 +29,7 @@ const pushbulletListChats = action("PUSHBULLET_LIST_CHATS", {
29
29
  output: z.object({
30
30
  chats: z.array(PushbulletListChats_ChatSchema).describe("List of chat objects ordered with most recently modified first"),
31
31
  cursor: z.string().describe("Cursor for fetching the next page of results, if present.").nullable().optional()
32
- }).describe("Response model for listing chats.")
32
+ }).passthrough().describe("Response model for listing chats.")
33
33
  });
34
34
  //#endregion
35
35
  export { pushbulletListChats };
@@ -1 +1 @@
1
- {"version":3,"file":"list-chats.mjs","names":[],"sources":["../../src/actions/list-chats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletListChatsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of chats to return (max 500).\").optional(),\n cursor: z.string().describe(\"Cursor for pagination to fetch the next page of chats.\").optional(),\n}).describe(\"Request model for listing chats with optional pagination.\");\nconst PushbulletListChats_ChatWithSchema: z.ZodTypeAny = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\").nullable().optional(),\n name: z.string().describe(\"Display name of the chat participant\").nullable().optional(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of the chat participant: 'email' or 'user'\").nullable().optional(),\n email: z.string().describe(\"Email address of the chat participant\").nullable().optional(),\n image_url: z.string().describe(\"Avatar URL for this chat participant\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the chat participant\").nullable().optional(),\n}).describe(\"Represents the other participant in a chat.\");\nconst PushbulletListChats_ChatSchema: z.ZodTypeAny = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\"),\n \"with\": PushbulletListChats_ChatWithSchema.nullable().optional(),\n muted: z.boolean().describe(\"True if notifications for this chat are muted. May be absent for deleted chats.\").nullable().optional(),\n active: z.boolean().describe(\"False if this chat has been deleted\"),\n created: z.number().describe(\"Creation time in UNIX seconds\"),\n modified: z.number().describe(\"Last modified time in UNIX seconds\"),\n}).describe(\"A single chat thread object.\");\nexport const PushbulletListChatsOutput: z.ZodTypeAny = z.object({\n chats: z.array(PushbulletListChats_ChatSchema).describe(\"List of chat objects ordered with most recently modified first\"),\n cursor: z.string().describe(\"Cursor for fetching the next page of results, if present.\").nullable().optional(),\n}).describe(\"Response model for listing chats.\");\n\nexport const pushbulletListChats = action(\"PUSHBULLET_LIST_CHATS\", {\n slug: \"pushbullet-list-chats\",\n name: \"List Chats\",\n description: \"Tool to list all chat objects for the current user. Use when you need the full set of chat threads before sending or muting messages.\",\n input: PushbulletListChatsInput,\n output: PushbulletListChatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,qCAAmD,EAAE,OA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,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-chats.mjs","names":[],"sources":["../../src/actions/list-chats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletListChatsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of chats to return (max 500).\").optional(),\n cursor: z.string().describe(\"Cursor for pagination to fetch the next page of chats.\").optional(),\n}).describe(\"Request model for listing chats with optional pagination.\");\nconst PushbulletListChats_ChatWithSchema = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\").nullable().optional(),\n name: z.string().describe(\"Display name of the chat participant\").nullable().optional(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of the chat participant: 'email' or 'user'\").nullable().optional(),\n email: z.string().describe(\"Email address of the chat participant\").nullable().optional(),\n image_url: z.string().describe(\"Avatar URL for this chat participant\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the chat participant\").nullable().optional(),\n}).passthrough().describe(\"Represents the other participant in a chat.\");\nconst PushbulletListChats_ChatSchema = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\").nullable(),\n \"with\": PushbulletListChats_ChatWithSchema.nullable().optional(),\n muted: z.boolean().describe(\"True if notifications for this chat are muted. May be absent for deleted chats.\").nullable().optional(),\n active: z.boolean().describe(\"False if this chat has been deleted\").nullable(),\n created: z.number().describe(\"Creation time in UNIX seconds\").nullable(),\n modified: z.number().describe(\"Last modified time in UNIX seconds\").nullable(),\n}).passthrough().describe(\"A single chat thread object.\");\nexport const PushbulletListChatsOutput = z.object({\n chats: z.array(PushbulletListChats_ChatSchema).describe(\"List of chat objects ordered with most recently modified first\"),\n cursor: z.string().describe(\"Cursor for fetching the next page of results, if present.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing chats.\");\n\nexport const pushbulletListChats = action(\"PUSHBULLET_LIST_CHATS\", {\n slug: \"pushbullet-list-chats\",\n name: \"List Chats\",\n description: \"Tool to list all chat objects for the current user. Use when you need the full set of chat threads before sending or muting messages.\",\n input: PushbulletListChatsInput,\n output: PushbulletListChatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,KAAK,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,iCAAiC,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,QAAQ,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAMxD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuC,EAAE,OAAO;EAChD,OAAO,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,gEAAgE;EACxH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAOhB;AACV,CAAC"}
@@ -3,25 +3,25 @@ let zod = require("zod");
3
3
  //#region src/actions/list-devices.ts
4
4
  const PushbulletListDevicesInput = zod.z.object({}).describe("Empty request for listing devices. No parameters needed.");
5
5
  const PushbulletListDevices_DeviceSchema = zod.z.object({
6
- icon: zod.z.string().describe("Device icon type (e.g., 'desktop', 'phone')."),
7
- iden: zod.z.string().describe("Unique identifier for the device."),
6
+ icon: zod.z.string().describe("Device icon type (e.g., 'desktop', 'phone').").nullable(),
7
+ iden: zod.z.string().describe("Unique identifier for the device.").nullable(),
8
8
  kind: zod.z.string().describe("Deprecated: old name for type.").nullable().optional(),
9
9
  type: zod.z.string().describe("Deprecated: legacy device type string.").nullable().optional(),
10
10
  model: zod.z.string().describe("Model name/number of the device.").nullable().optional(),
11
- active: zod.z.boolean().describe("True if the device is active."),
12
- created: zod.z.number().describe("Creation timestamp in floating-point seconds since epoch."),
11
+ active: zod.z.boolean().describe("True if the device is active.").nullable(),
12
+ created: zod.z.number().describe("Creation timestamp in floating-point seconds since epoch.").nullable(),
13
13
  has_sms: zod.z.boolean().describe("True if device supports SMS (Android only).").nullable().optional(),
14
- modified: zod.z.number().describe("Last modified timestamp in floating-point seconds since epoch."),
14
+ modified: zod.z.number().describe("Last modified timestamp in floating-point seconds since epoch.").nullable(),
15
15
  nickname: zod.z.string().describe("Nickname for the device, user-assigned or generated.").nullable().optional(),
16
- pushable: zod.z.boolean().describe("True if you can push to this device."),
16
+ pushable: zod.z.boolean().describe("True if you can push to this device.").nullable(),
17
17
  push_token: zod.z.string().describe("Platform-specific push token for this device.").nullable().optional(),
18
18
  app_version: zod.z.number().int().describe("Version of the Pushbullet application installed on the device.").nullable().optional(),
19
19
  fingerprint: zod.z.string().describe("Device fingerprint (used to avoid duplicates).").nullable().optional(),
20
20
  manufacturer: zod.z.string().describe("Manufacturer of the device (e.g., 'Apple').").nullable().optional(),
21
21
  key_fingerprint: zod.z.string().describe("Fingerprint for this device's encryption key.").nullable().optional(),
22
22
  generated_nickname: zod.z.boolean().describe("True if nickname was auto-generated from manufacturer/model.").nullable().optional()
23
- }).describe("Pushbullet Device object.");
24
- const PushbulletListDevicesOutput = zod.z.object({ devices: zod.z.array(PushbulletListDevices_DeviceSchema).describe("List of devices belonging to the current user.") }).describe("Response model for list-devices.\n\ndevices: list of Device objects ordered most-recently modified first.");
23
+ }).passthrough().describe("Pushbullet Device object.");
24
+ const PushbulletListDevicesOutput = zod.z.object({ devices: zod.z.array(PushbulletListDevices_DeviceSchema).describe("List of devices belonging to the current user.") }).passthrough().describe("Response model for list-devices.\n\ndevices: list of Device objects ordered most-recently modified first.");
25
25
  const pushbulletListDevices = require_action.action("PUSHBULLET_LIST_DEVICES", {
26
26
  slug: "pushbullet-list-devices",
27
27
  name: "List Devices",
@@ -1 +1 @@
1
- {"version":3,"file":"list-devices.cjs","names":["z","action"],"sources":["../../src/actions/list-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletListDevicesInput: z.ZodTypeAny = z.object({}).describe(\"Empty request for listing devices. No parameters needed.\");\nconst PushbulletListDevices_DeviceSchema: z.ZodTypeAny = z.object({\n icon: z.string().describe(\"Device icon type (e.g., 'desktop', 'phone').\"),\n iden: z.string().describe(\"Unique identifier for the device.\"),\n kind: z.string().describe(\"Deprecated: old name for type.\").nullable().optional(),\n type: z.string().describe(\"Deprecated: legacy device type string.\").nullable().optional(),\n model: z.string().describe(\"Model name/number of the device.\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active.\"),\n created: z.number().describe(\"Creation timestamp in floating-point seconds since epoch.\"),\n has_sms: z.boolean().describe(\"True if device supports SMS (Android only).\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp in floating-point seconds since epoch.\"),\n nickname: z.string().describe(\"Nickname for the device, user-assigned or generated.\").nullable().optional(),\n pushable: z.boolean().describe(\"True if you can push to this device.\"),\n push_token: z.string().describe(\"Platform-specific push token for this device.\").nullable().optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet application installed on the device.\").nullable().optional(),\n fingerprint: z.string().describe(\"Device fingerprint (used to avoid duplicates).\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device (e.g., 'Apple').\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Fingerprint for this device's encryption key.\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated from manufacturer/model.\").nullable().optional(),\n}).describe(\"Pushbullet Device object.\");\nexport const PushbulletListDevicesOutput: z.ZodTypeAny = z.object({\n devices: z.array(PushbulletListDevices_DeviceSchema).describe(\"List of devices belonging to the current user.\"),\n}).describe(\"Response model for list-devices.\\n\\ndevices: list of Device objects ordered most-recently modified first.\");\n\nexport const pushbulletListDevices = action(\"PUSHBULLET_LIST_DEVICES\", {\n slug: \"pushbullet-list-devices\",\n name: \"List Devices\",\n description: \"Tool to list all registered devices for the current user. Use after obtaining a valid access token.\",\n input: PushbulletListDevicesInput,\n output: PushbulletListDevicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OA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cA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,gDAAgD,EAChH,CAAC,CAAC,CAAC,SAAS,2GAA2G;AAEvH,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-devices.cjs","names":["z","action"],"sources":["../../src/actions/list-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletListDevicesInput = z.object({}).describe(\"Empty request for listing devices. No parameters needed.\");\nconst PushbulletListDevices_DeviceSchema = z.object({\n icon: z.string().describe(\"Device icon type (e.g., 'desktop', 'phone').\").nullable(),\n iden: z.string().describe(\"Unique identifier for the device.\").nullable(),\n kind: z.string().describe(\"Deprecated: old name for type.\").nullable().optional(),\n type: z.string().describe(\"Deprecated: legacy device type string.\").nullable().optional(),\n model: z.string().describe(\"Model name/number of the device.\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp in floating-point seconds since epoch.\").nullable(),\n has_sms: z.boolean().describe(\"True if device supports SMS (Android only).\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp in floating-point seconds since epoch.\").nullable(),\n nickname: z.string().describe(\"Nickname for the device, user-assigned or generated.\").nullable().optional(),\n pushable: z.boolean().describe(\"True if you can push to this device.\").nullable(),\n push_token: z.string().describe(\"Platform-specific push token for this device.\").nullable().optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet application installed on the device.\").nullable().optional(),\n fingerprint: z.string().describe(\"Device fingerprint (used to avoid duplicates).\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device (e.g., 'Apple').\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Fingerprint for this device's encryption key.\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated from manufacturer/model.\").nullable().optional(),\n}).passthrough().describe(\"Pushbullet Device object.\");\nexport const PushbulletListDevicesOutput = z.object({\n devices: z.array(PushbulletListDevices_DeviceSchema).describe(\"List of devices belonging to the current user.\"),\n}).passthrough().describe(\"Response model for list-devices.\\n\\ndevices: list of Device objects ordered most-recently modified first.\");\n\nexport const pushbulletListDevices = action(\"PUSHBULLET_LIST_DEVICES\", {\n slug: \"pushbullet-list-devices\",\n name: \"List Devices\",\n description: \"Tool to list all registered devices for the current user. Use after obtaining a valid access token.\",\n input: PushbulletListDevicesInput,\n output: PushbulletListDevicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAC1H,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC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AA,EAAE,OAAO,EAClD,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,gDAAgD,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2GAA2G;AAErI,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-devices.d.ts
4
- declare const PushbulletListDevicesInput: z.ZodTypeAny;
5
- declare const PushbulletListDevicesOutput: z.ZodTypeAny;
6
- declare const pushbulletListDevices: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PushbulletListDevicesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PushbulletListDevicesOutput: z.ZodObject<{
6
+ devices: z.ZodArray<z.ZodObject<{
7
+ icon: z.ZodNullable<z.ZodString>;
8
+ iden: z.ZodNullable<z.ZodString>;
9
+ kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ active: z.ZodNullable<z.ZodBoolean>;
13
+ created: z.ZodNullable<z.ZodNumber>;
14
+ has_sms: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ modified: z.ZodNullable<z.ZodNumber>;
16
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ pushable: z.ZodNullable<z.ZodBoolean>;
18
+ push_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ app_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ manufacturer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ key_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ generated_nickname: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ }, z.core.$loose>>;
25
+ }, z.core.$loose>;
26
+ declare const pushbulletListDevices: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { pushbulletListDevices };
9
29
  //# sourceMappingURL=list-devices.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-devices.d.cts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAA8F;AAAA,cAoB5H,2BAAA,EAA6B,CAAA,CAAE,UAE4E;AAAA,cAE3G,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-devices.d.cts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-devices.d.ts
4
- declare const PushbulletListDevicesInput: z.ZodTypeAny;
5
- declare const PushbulletListDevicesOutput: z.ZodTypeAny;
6
- declare const pushbulletListDevices: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PushbulletListDevicesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PushbulletListDevicesOutput: z.ZodObject<{
6
+ devices: z.ZodArray<z.ZodObject<{
7
+ icon: z.ZodNullable<z.ZodString>;
8
+ iden: z.ZodNullable<z.ZodString>;
9
+ kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ active: z.ZodNullable<z.ZodBoolean>;
13
+ created: z.ZodNullable<z.ZodNumber>;
14
+ has_sms: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15
+ modified: z.ZodNullable<z.ZodNumber>;
16
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ pushable: z.ZodNullable<z.ZodBoolean>;
18
+ push_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ app_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ manufacturer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ key_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ generated_nickname: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ }, z.core.$loose>>;
25
+ }, z.core.$loose>;
26
+ declare const pushbulletListDevices: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { pushbulletListDevices };
9
29
  //# sourceMappingURL=list-devices.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-devices.d.mts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAA8F;AAAA,cAoB5H,2BAAA,EAA6B,CAAA,CAAE,UAE4E;AAAA,cAE3G,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-devices.d.mts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,30 +3,30 @@ import { z } from "zod";
3
3
  //#region src/actions/list-devices.ts
4
4
  const PushbulletListDevicesInput = z.object({}).describe("Empty request for listing devices. No parameters needed.");
5
5
  const PushbulletListDevices_DeviceSchema = z.object({
6
- icon: z.string().describe("Device icon type (e.g., 'desktop', 'phone')."),
7
- iden: z.string().describe("Unique identifier for the device."),
6
+ icon: z.string().describe("Device icon type (e.g., 'desktop', 'phone').").nullable(),
7
+ iden: z.string().describe("Unique identifier for the device.").nullable(),
8
8
  kind: z.string().describe("Deprecated: old name for type.").nullable().optional(),
9
9
  type: z.string().describe("Deprecated: legacy device type string.").nullable().optional(),
10
10
  model: z.string().describe("Model name/number of the device.").nullable().optional(),
11
- active: z.boolean().describe("True if the device is active."),
12
- created: z.number().describe("Creation timestamp in floating-point seconds since epoch."),
11
+ active: z.boolean().describe("True if the device is active.").nullable(),
12
+ created: z.number().describe("Creation timestamp in floating-point seconds since epoch.").nullable(),
13
13
  has_sms: z.boolean().describe("True if device supports SMS (Android only).").nullable().optional(),
14
- modified: z.number().describe("Last modified timestamp in floating-point seconds since epoch."),
14
+ modified: z.number().describe("Last modified timestamp in floating-point seconds since epoch.").nullable(),
15
15
  nickname: z.string().describe("Nickname for the device, user-assigned or generated.").nullable().optional(),
16
- pushable: z.boolean().describe("True if you can push to this device."),
16
+ pushable: z.boolean().describe("True if you can push to this device.").nullable(),
17
17
  push_token: z.string().describe("Platform-specific push token for this device.").nullable().optional(),
18
18
  app_version: z.number().int().describe("Version of the Pushbullet application installed on the device.").nullable().optional(),
19
19
  fingerprint: z.string().describe("Device fingerprint (used to avoid duplicates).").nullable().optional(),
20
20
  manufacturer: z.string().describe("Manufacturer of the device (e.g., 'Apple').").nullable().optional(),
21
21
  key_fingerprint: z.string().describe("Fingerprint for this device's encryption key.").nullable().optional(),
22
22
  generated_nickname: z.boolean().describe("True if nickname was auto-generated from manufacturer/model.").nullable().optional()
23
- }).describe("Pushbullet Device object.");
23
+ }).passthrough().describe("Pushbullet Device object.");
24
24
  const pushbulletListDevices = action("PUSHBULLET_LIST_DEVICES", {
25
25
  slug: "pushbullet-list-devices",
26
26
  name: "List Devices",
27
27
  description: "Tool to list all registered devices for the current user. Use after obtaining a valid access token.",
28
28
  input: PushbulletListDevicesInput,
29
- output: z.object({ devices: z.array(PushbulletListDevices_DeviceSchema).describe("List of devices belonging to the current user.") }).describe("Response model for list-devices.\n\ndevices: list of Device objects ordered most-recently modified first.")
29
+ output: z.object({ devices: z.array(PushbulletListDevices_DeviceSchema).describe("List of devices belonging to the current user.") }).passthrough().describe("Response model for list-devices.\n\ndevices: list of Device objects ordered most-recently modified first.")
30
30
  });
31
31
  //#endregion
32
32
  export { pushbulletListDevices };
@@ -1 +1 @@
1
- {"version":3,"file":"list-devices.mjs","names":[],"sources":["../../src/actions/list-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletListDevicesInput: z.ZodTypeAny = z.object({}).describe(\"Empty request for listing devices. No parameters needed.\");\nconst PushbulletListDevices_DeviceSchema: z.ZodTypeAny = z.object({\n icon: z.string().describe(\"Device icon type (e.g., 'desktop', 'phone').\"),\n iden: z.string().describe(\"Unique identifier for the device.\"),\n kind: z.string().describe(\"Deprecated: old name for type.\").nullable().optional(),\n type: z.string().describe(\"Deprecated: legacy device type string.\").nullable().optional(),\n model: z.string().describe(\"Model name/number of the device.\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active.\"),\n created: z.number().describe(\"Creation timestamp in floating-point seconds since epoch.\"),\n has_sms: z.boolean().describe(\"True if device supports SMS (Android only).\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp in floating-point seconds since epoch.\"),\n nickname: z.string().describe(\"Nickname for the device, user-assigned or generated.\").nullable().optional(),\n pushable: z.boolean().describe(\"True if you can push to this device.\"),\n push_token: z.string().describe(\"Platform-specific push token for this device.\").nullable().optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet application installed on the device.\").nullable().optional(),\n fingerprint: z.string().describe(\"Device fingerprint (used to avoid duplicates).\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device (e.g., 'Apple').\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Fingerprint for this device's encryption key.\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated from manufacturer/model.\").nullable().optional(),\n}).describe(\"Pushbullet Device object.\");\nexport const PushbulletListDevicesOutput: z.ZodTypeAny = z.object({\n devices: z.array(PushbulletListDevices_DeviceSchema).describe(\"List of devices belonging to the current user.\"),\n}).describe(\"Response model for list-devices.\\n\\ndevices: list of Device objects ordered most-recently modified first.\");\n\nexport const pushbulletListDevices = action(\"PUSHBULLET_LIST_DEVICES\", {\n slug: \"pushbullet-list-devices\",\n name: \"List Devices\",\n description: \"Tool to list all registered devices for the current user. Use after obtaining a valid access token.\",\n input: PushbulletListDevicesInput,\n output: PushbulletListDevicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACxI,MAAM,qCAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;C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,EAAE,OAAO,EAChE,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,gDAAgD,EAChH,CAAC,CAAC,CAAC,SAAS,2GAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-devices.mjs","names":[],"sources":["../../src/actions/list-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletListDevicesInput = z.object({}).describe(\"Empty request for listing devices. No parameters needed.\");\nconst PushbulletListDevices_DeviceSchema = z.object({\n icon: z.string().describe(\"Device icon type (e.g., 'desktop', 'phone').\").nullable(),\n iden: z.string().describe(\"Unique identifier for the device.\").nullable(),\n kind: z.string().describe(\"Deprecated: old name for type.\").nullable().optional(),\n type: z.string().describe(\"Deprecated: legacy device type string.\").nullable().optional(),\n model: z.string().describe(\"Model name/number of the device.\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp in floating-point seconds since epoch.\").nullable(),\n has_sms: z.boolean().describe(\"True if device supports SMS (Android only).\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp in floating-point seconds since epoch.\").nullable(),\n nickname: z.string().describe(\"Nickname for the device, user-assigned or generated.\").nullable().optional(),\n pushable: z.boolean().describe(\"True if you can push to this device.\").nullable(),\n push_token: z.string().describe(\"Platform-specific push token for this device.\").nullable().optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet application installed on the device.\").nullable().optional(),\n fingerprint: z.string().describe(\"Device fingerprint (used to avoid duplicates).\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device (e.g., 'Apple').\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Fingerprint for this device's encryption key.\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated from manufacturer/model.\").nullable().optional(),\n}).passthrough().describe(\"Pushbullet Device object.\");\nexport const PushbulletListDevicesOutput = z.object({\n devices: z.array(PushbulletListDevices_DeviceSchema).describe(\"List of devices belonging to the current user.\"),\n}).passthrough().describe(\"Response model for list-devices.\\n\\ndevices: list of Device objects ordered most-recently modified first.\");\n\nexport const pushbulletListDevices = action(\"PUSHBULLET_LIST_DEVICES\", {\n slug: \"pushbullet-list-devices\",\n name: \"List Devices\",\n description: \"Tool to list all registered devices for the current user. Use after obtaining a valid access token.\",\n input: PushbulletListDevicesInput,\n output: PushbulletListDevicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAC1H,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AAKrD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,gDAAgD,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2GAOhB;AACV,CAAC"}
@@ -10,15 +10,15 @@ const PushbulletListPushesInput = zod.z.object({
10
10
  const PushbulletListPushes_PushSchema = zod.z.object({
11
11
  url: zod.z.string().describe("URL for link pushes.").nullable().optional(),
12
12
  body: zod.z.string().describe("Optional body text of the push.").nullable().optional(),
13
- iden: zod.z.string().describe("Unique identifier for the push."),
13
+ iden: zod.z.string().describe("Unique identifier for the push.").nullable(),
14
14
  type: zod.z.string().describe("Type of the push (e.g., 'note', 'link', 'file'). May be absent for deleted pushes.").nullable().optional(),
15
15
  title: zod.z.string().describe("Optional title of the push.").nullable().optional(),
16
- active: zod.z.boolean().describe("Whether the push is active."),
17
- created: zod.z.number().describe("Creation timestamp as UNIX float."),
16
+ active: zod.z.boolean().describe("Whether the push is active.").nullable(),
17
+ created: zod.z.number().describe("Creation timestamp as UNIX float.").nullable(),
18
18
  file_url: zod.z.string().describe("URL for file pushes.").nullable().optional(),
19
- modified: zod.z.number().describe("Last modification timestamp as UNIX float."),
19
+ modified: zod.z.number().describe("Last modification timestamp as UNIX float.").nullable(),
20
20
  direction: zod.z.string().describe("Direction of the push (e.g., 'incoming'). May be absent for deleted pushes.").nullable().optional(),
21
- dismissed: zod.z.boolean().describe("Whether the push has been dismissed."),
21
+ dismissed: zod.z.boolean().describe("Whether the push has been dismissed.").nullable(),
22
22
  file_name: zod.z.string().describe("Filename for file pushes.").nullable().optional(),
23
23
  file_type: zod.z.string().describe("MIME type for file pushes.").nullable().optional(),
24
24
  image_url: zod.z.string().describe("URL for image previews.").nullable().optional(),
@@ -28,11 +28,11 @@ const PushbulletListPushes_PushSchema = zod.z.object({
28
28
  receiver_iden: zod.z.string().describe("Identifier of the receiver.").nullable().optional(),
29
29
  source_user_iden: zod.z.string().describe("Identifier of the source user.").nullable().optional(),
30
30
  target_device_iden: zod.z.string().describe("Identifier of the target device.").nullable().optional()
31
- });
31
+ }).passthrough();
32
32
  const PushbulletListPushesOutput = zod.z.object({
33
33
  cursor: zod.z.string().describe("Cursor for fetching the next page of results, if present.").nullable().optional(),
34
34
  pushes: zod.z.array(PushbulletListPushes_PushSchema).describe("List of push objects.")
35
- }).describe("Response model for listing pushes.");
35
+ }).passthrough().describe("Response model for listing pushes.");
36
36
  const pushbulletListPushes = require_action.action("PUSHBULLET_LIST_PUSHES", {
37
37
  slug: "pushbullet-list-pushes",
38
38
  name: "List Pushes",
@@ -1 +1 @@
1
- {"version":3,"file":"list-pushes.cjs","names":["z","action"],"sources":["../../src/actions/list-pushes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletListPushesInput: z.ZodTypeAny = 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.ZodTypeAny = 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.\"),\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.\"),\n created: z.number().describe(\"Creation timestamp as UNIX float.\"),\n file_url: z.string().describe(\"URL for file pushes.\").nullable().optional(),\n modified: z.number().describe(\"Last modification timestamp as UNIX float.\"),\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.\"),\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});\nexport const PushbulletListPushesOutput: z.ZodTypeAny = 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}).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,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,m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;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,uBAAuB;AACnF,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-pushes.cjs","names":["z","action"],"sources":["../../src/actions/list-pushes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletListPushesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of pushes to return (max 500, default 500).\").optional(),\n active: z.boolean().describe(\"If true, only active pushes are returned.\").optional(),\n cursor: z.string().describe(\"Cursor for pagination to fetch the next set of pushes.\").optional(),\n modified_after: z.number().describe(\"Only return pushes modified after this UNIX timestamp (float).\").optional(),\n}).describe(\"Request model for listing pushes with optional filters and pagination.\");\nconst PushbulletListPushes_PushSchema = z.object({\n url: z.string().describe(\"URL for link pushes.\").nullable().optional(),\n body: z.string().describe(\"Optional body text of the push.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the push.\").nullable(),\n type: z.string().describe(\"Type of the push (e.g., 'note', 'link', 'file'). May be absent for deleted pushes.\").nullable().optional(),\n title: z.string().describe(\"Optional title of the push.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the push is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp as UNIX float.\").nullable(),\n file_url: z.string().describe(\"URL for file pushes.\").nullable().optional(),\n modified: z.number().describe(\"Last modification timestamp as UNIX float.\").nullable(),\n direction: z.string().describe(\"Direction of the push (e.g., 'incoming'). May be absent for deleted pushes.\").nullable().optional(),\n dismissed: z.boolean().describe(\"Whether the push has been dismissed.\").nullable(),\n file_name: z.string().describe(\"Filename for file pushes.\").nullable().optional(),\n file_type: z.string().describe(\"MIME type for file pushes.\").nullable().optional(),\n image_url: z.string().describe(\"URL for image previews.\").nullable().optional(),\n channel_tag: z.string().describe(\"Channel tag for channel pushes.\").nullable().optional(),\n client_iden: z.string().describe(\"Identifier of the client.\").nullable().optional(),\n sender_iden: z.string().describe(\"Identifier of the sender.\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver.\").nullable().optional(),\n source_user_iden: z.string().describe(\"Identifier of the source user.\").nullable().optional(),\n target_device_iden: z.string().describe(\"Identifier of the target device.\").nullable().optional(),\n}).passthrough();\nexport const PushbulletListPushesOutput = z.object({\n cursor: z.string().describe(\"Cursor for fetching the next page of results, if present.\").nullable().optional(),\n pushes: z.array(PushbulletListPushes_PushSchema).describe(\"List of push objects.\"),\n}).passthrough().describe(\"Response model for listing pushes.\");\n\nexport const pushbulletListPushes = action(\"PUSHBULLET_LIST_PUSHES\", {\n slug: \"pushbullet-list-pushes\",\n name: \"List Pushes\",\n description: \"Tool to list pushes with optional filtering and pagination. Use when retrieving or syncing pushes after a certain time.\",\n input: PushbulletListPushesInput,\n output: PushbulletListPushesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,s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