@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,43 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-pushes.d.ts
4
- declare const PushbulletListPushesInput: z.ZodTypeAny;
5
- declare const PushbulletListPushesOutput: z.ZodTypeAny;
6
- declare const pushbulletListPushes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PushbulletListPushesInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ active: z.ZodOptional<z.ZodBoolean>;
7
+ cursor: z.ZodOptional<z.ZodString>;
8
+ modified_after: z.ZodOptional<z.ZodNumber>;
9
+ }, z.core.$strip>;
10
+ declare const PushbulletListPushesOutput: z.ZodObject<{
11
+ cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ pushes: z.ZodArray<z.ZodObject<{
13
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ iden: z.ZodNullable<z.ZodString>;
16
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ active: z.ZodNullable<z.ZodBoolean>;
19
+ created: z.ZodNullable<z.ZodNumber>;
20
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ modified: z.ZodNullable<z.ZodNumber>;
22
+ direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ dismissed: z.ZodNullable<z.ZodBoolean>;
24
+ file_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ file_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ channel_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ client_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ sender_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ receiver_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ source_user_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ target_device_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ }, z.core.$loose>>;
34
+ }, z.core.$loose>;
35
+ declare const pushbulletListPushes: import("@keystrokehq/action").WorkflowActionDefinition<{
36
+ limit?: number | undefined;
37
+ active?: boolean | undefined;
38
+ cursor?: string | undefined;
39
+ modified_after?: number | undefined;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
41
  //#endregion
8
42
  export { pushbulletListPushes };
9
43
  //# sourceMappingURL=list-pushes.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-pushes.d.cts","names":[],"sources":["../../src/actions/list-pushes.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAK2C;AAAA,cAuBxE,0BAAA,EAA4B,CAAA,CAAE,UAGM;AAAA,cAEpC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-pushes.d.cts","names":[],"sources":["../../src/actions/list-pushes.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cA4BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,43 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-pushes.d.ts
4
- declare const PushbulletListPushesInput: z.ZodTypeAny;
5
- declare const PushbulletListPushesOutput: z.ZodTypeAny;
6
- declare const pushbulletListPushes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PushbulletListPushesInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ active: z.ZodOptional<z.ZodBoolean>;
7
+ cursor: z.ZodOptional<z.ZodString>;
8
+ modified_after: z.ZodOptional<z.ZodNumber>;
9
+ }, z.core.$strip>;
10
+ declare const PushbulletListPushesOutput: z.ZodObject<{
11
+ cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ pushes: z.ZodArray<z.ZodObject<{
13
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ iden: z.ZodNullable<z.ZodString>;
16
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ active: z.ZodNullable<z.ZodBoolean>;
19
+ created: z.ZodNullable<z.ZodNumber>;
20
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ modified: z.ZodNullable<z.ZodNumber>;
22
+ direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ dismissed: z.ZodNullable<z.ZodBoolean>;
24
+ file_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ file_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ channel_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ client_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ sender_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ receiver_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ source_user_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ target_device_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ }, z.core.$loose>>;
34
+ }, z.core.$loose>;
35
+ declare const pushbulletListPushes: import("@keystrokehq/action").WorkflowActionDefinition<{
36
+ limit?: number | undefined;
37
+ active?: boolean | undefined;
38
+ cursor?: string | undefined;
39
+ modified_after?: number | undefined;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
41
  //#endregion
8
42
  export { pushbulletListPushes };
9
43
  //# sourceMappingURL=list-pushes.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-pushes.d.mts","names":[],"sources":["../../src/actions/list-pushes.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAK2C;AAAA,cAuBxE,0BAAA,EAA4B,CAAA,CAAE,UAGM;AAAA,cAEpC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-pushes.d.mts","names":[],"sources":["../../src/actions/list-pushes.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cA4BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
@@ -10,15 +10,15 @@ const PushbulletListPushesInput = z.object({
10
10
  const PushbulletListPushes_PushSchema = z.object({
11
11
  url: z.string().describe("URL for link pushes.").nullable().optional(),
12
12
  body: z.string().describe("Optional body text of the push.").nullable().optional(),
13
- iden: z.string().describe("Unique identifier for the push."),
13
+ iden: z.string().describe("Unique identifier for the push.").nullable(),
14
14
  type: z.string().describe("Type of the push (e.g., 'note', 'link', 'file'). May be absent for deleted pushes.").nullable().optional(),
15
15
  title: z.string().describe("Optional title of the push.").nullable().optional(),
16
- active: z.boolean().describe("Whether the push is active."),
17
- created: z.number().describe("Creation timestamp as UNIX float."),
16
+ active: z.boolean().describe("Whether the push is active.").nullable(),
17
+ created: z.number().describe("Creation timestamp as UNIX float.").nullable(),
18
18
  file_url: z.string().describe("URL for file pushes.").nullable().optional(),
19
- modified: z.number().describe("Last modification timestamp as UNIX float."),
19
+ modified: z.number().describe("Last modification timestamp as UNIX float.").nullable(),
20
20
  direction: z.string().describe("Direction of the push (e.g., 'incoming'). May be absent for deleted pushes.").nullable().optional(),
21
- dismissed: z.boolean().describe("Whether the push has been dismissed."),
21
+ dismissed: z.boolean().describe("Whether the push has been dismissed.").nullable(),
22
22
  file_name: z.string().describe("Filename for file pushes.").nullable().optional(),
23
23
  file_type: z.string().describe("MIME type for file pushes.").nullable().optional(),
24
24
  image_url: z.string().describe("URL for image previews.").nullable().optional(),
@@ -28,7 +28,7 @@ const PushbulletListPushes_PushSchema = z.object({
28
28
  receiver_iden: z.string().describe("Identifier of the receiver.").nullable().optional(),
29
29
  source_user_iden: z.string().describe("Identifier of the source user.").nullable().optional(),
30
30
  target_device_iden: z.string().describe("Identifier of the target device.").nullable().optional()
31
- });
31
+ }).passthrough();
32
32
  const pushbulletListPushes = action("PUSHBULLET_LIST_PUSHES", {
33
33
  slug: "pushbullet-list-pushes",
34
34
  name: "List Pushes",
@@ -37,7 +37,7 @@ const pushbulletListPushes = action("PUSHBULLET_LIST_PUSHES", {
37
37
  output: z.object({
38
38
  cursor: z.string().describe("Cursor for fetching the next page of results, if present.").nullable().optional(),
39
39
  pushes: z.array(PushbulletListPushes_PushSchema).describe("List of push objects.")
40
- }).describe("Response model for listing pushes.")
40
+ }).passthrough().describe("Response model for listing pushes.")
41
41
  });
42
42
  //#endregion
43
43
  export { pushbulletListPushes };
@@ -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.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,4BAA0C,EAAE,OAAO;CAC9D,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,kCAAgD,EAAE,OAAO;CAC7D,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;CAC3D,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,CAA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MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsD,EAAE,OAAO;EAC/D,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,SAAS,oCAOF;AACV,CAAC"}
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,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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AClF,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"}
@@ -6,21 +6,21 @@ const PushbulletUpdateChatInput = zod.z.object({
6
6
  muted: zod.z.boolean().describe("True to mute notifications for this chat, false to unmute")
7
7
  }).describe("Request model for muting or unmuting a chat by its identifier.");
8
8
  const PushbulletUpdateChat_ChatWithModelSchema = zod.z.object({
9
- iden: zod.z.string().describe("Identifier of the chat participant"),
10
- name: zod.z.string().describe("Display name of the chat participant"),
11
- type: zod.z.enum(["email", "user"]).describe("Type of chat participant: 'email' or 'user'"),
12
- email: zod.z.string().describe("Email address of the chat participant"),
9
+ iden: zod.z.string().describe("Identifier of the chat participant").nullable(),
10
+ name: zod.z.string().describe("Display name of the chat participant").nullable(),
11
+ type: zod.z.enum(["email", "user"]).describe("Type of chat participant: 'email' or 'user'").nullable(),
12
+ email: zod.z.string().describe("Email address of the chat participant").nullable(),
13
13
  image_url: zod.z.string().describe("URL of the participant's avatar image").nullable().optional(),
14
- email_normalized: zod.z.string().describe("Canonical email address of the chat participant")
15
- }).describe("Information about the other participant in the chat.");
14
+ email_normalized: zod.z.string().describe("Canonical email address of the chat participant").nullable()
15
+ }).passthrough().describe("Information about the other participant in the chat.");
16
16
  const PushbulletUpdateChatOutput = 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": PushbulletUpdateChat_ChatWithModelSchema.nullable(),
19
19
  muted: zod.z.boolean().describe("True if the chat is muted").nullable().optional(),
20
- active: zod.z.boolean().describe("False if the chat has been deleted"),
21
- created: zod.z.number().describe("Creation time in floating point seconds (Unix timestamp)"),
22
- modified: zod.z.number().describe("Last modified time in floating point seconds (Unix timestamp)")
23
- }).describe("Response model representing the updated chat object.");
20
+ active: zod.z.boolean().describe("False if the chat has been deleted").nullable(),
21
+ created: zod.z.number().describe("Creation time in floating point seconds (Unix timestamp)").nullable(),
22
+ modified: zod.z.number().describe("Last modified time in floating point seconds (Unix timestamp)").nullable()
23
+ }).passthrough().describe("Response model representing the updated chat object.");
24
24
  const pushbulletUpdateChat = require_action.action("PUSHBULLET_UPDATE_CHAT", {
25
25
  slug: "pushbullet-update-chat",
26
26
  name: "Mute or Unmute Chat",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\"),\n name: z.string().describe(\"Display name of the chat participant\"),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of chat participant: 'email' or 'user'\"),\n email: z.string().describe(\"Email address of the chat participant\"),\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\"),\n}).describe(\"Information about the other participant in the chat.\");\nexport const PushbulletUpdateChatOutput: z.ZodTypeAny = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\"),\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\"),\n created: z.number().describe(\"Creation time in floating point seconds (Unix timestamp)\"),\n modified: z.number().describe(\"Last modified time in floating point seconds (Unix timestamp)\"),\n}).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,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,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,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChE,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,SAAS,6CAA6C;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AACzF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,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;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;AAC/F,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,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 { 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,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-chat.d.ts
4
- declare const PushbulletUpdateChatInput: z.ZodTypeAny;
5
- declare const PushbulletUpdateChatOutput: z.ZodTypeAny;
6
- declare const pushbulletUpdateChat: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PushbulletUpdateChatInput: z.ZodObject<{
5
+ iden: z.ZodString;
6
+ muted: z.ZodBoolean;
7
+ }, z.core.$strip>;
8
+ declare const PushbulletUpdateChatOutput: z.ZodObject<{
9
+ iden: z.ZodNullable<z.ZodString>;
10
+ with: z.ZodNullable<z.ZodObject<{
11
+ iden: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ type: z.ZodNullable<z.ZodEnum<{
14
+ user: "user";
15
+ email: "email";
16
+ }>>;
17
+ email: z.ZodNullable<z.ZodString>;
18
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ email_normalized: z.ZodNullable<z.ZodString>;
20
+ }, z.core.$loose>>;
21
+ muted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
+ active: z.ZodNullable<z.ZodBoolean>;
23
+ created: z.ZodNullable<z.ZodNumber>;
24
+ modified: z.ZodNullable<z.ZodNumber>;
25
+ }, 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]>;
7
30
  //#endregion
8
31
  export { pushbulletUpdateChat };
9
32
  //# 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,EAA2B,CAAA,CAAE,UAGmC;AAAA,cAShE,0BAAA,EAA4B,CAAA,CAAE,UAOwB;AAAA,cAEtD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-chat.d.ts
4
- declare const PushbulletUpdateChatInput: z.ZodTypeAny;
5
- declare const PushbulletUpdateChatOutput: z.ZodTypeAny;
6
- declare const pushbulletUpdateChat: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PushbulletUpdateChatInput: z.ZodObject<{
5
+ iden: z.ZodString;
6
+ muted: z.ZodBoolean;
7
+ }, z.core.$strip>;
8
+ declare const PushbulletUpdateChatOutput: z.ZodObject<{
9
+ iden: z.ZodNullable<z.ZodString>;
10
+ with: z.ZodNullable<z.ZodObject<{
11
+ iden: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ type: z.ZodNullable<z.ZodEnum<{
14
+ user: "user";
15
+ email: "email";
16
+ }>>;
17
+ email: z.ZodNullable<z.ZodString>;
18
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ email_normalized: z.ZodNullable<z.ZodString>;
20
+ }, z.core.$loose>>;
21
+ muted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
+ active: z.ZodNullable<z.ZodBoolean>;
23
+ created: z.ZodNullable<z.ZodNumber>;
24
+ modified: z.ZodNullable<z.ZodNumber>;
25
+ }, 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]>;
7
30
  //#endregion
8
31
  export { pushbulletUpdateChat };
9
32
  //# 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,EAA2B,CAAA,CAAE,UAGmC;AAAA,cAShE,0BAAA,EAA4B,CAAA,CAAE,UAOwB;AAAA,cAEtD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -6,26 +6,26 @@ const PushbulletUpdateChatInput = z.object({
6
6
  muted: z.boolean().describe("True to mute notifications for this chat, false to unmute")
7
7
  }).describe("Request model for muting or unmuting a chat by its identifier.");
8
8
  const PushbulletUpdateChat_ChatWithModelSchema = z.object({
9
- iden: z.string().describe("Identifier of the chat participant"),
10
- name: z.string().describe("Display name of the chat participant"),
11
- type: z.enum(["email", "user"]).describe("Type of chat participant: 'email' or 'user'"),
12
- email: z.string().describe("Email address of the chat participant"),
9
+ iden: z.string().describe("Identifier of the chat participant").nullable(),
10
+ name: z.string().describe("Display name of the chat participant").nullable(),
11
+ type: z.enum(["email", "user"]).describe("Type of chat participant: 'email' or 'user'").nullable(),
12
+ email: z.string().describe("Email address of the chat participant").nullable(),
13
13
  image_url: z.string().describe("URL of the participant's avatar image").nullable().optional(),
14
- email_normalized: z.string().describe("Canonical email address of the chat participant")
15
- }).describe("Information about the other participant in the chat.");
14
+ email_normalized: z.string().describe("Canonical email address of the chat participant").nullable()
15
+ }).passthrough().describe("Information about the other participant in the chat.");
16
16
  const pushbulletUpdateChat = action("PUSHBULLET_UPDATE_CHAT", {
17
17
  slug: "pushbullet-update-chat",
18
18
  name: "Mute or Unmute Chat",
19
19
  description: "Tool to mute or unmute an existing chat. Use when adjusting notification settings for a specific chat by its identifier.",
20
20
  input: PushbulletUpdateChatInput,
21
21
  output: z.object({
22
- iden: z.string().describe("Unique identifier for this chat"),
22
+ iden: z.string().describe("Unique identifier for this chat").nullable(),
23
23
  "with": PushbulletUpdateChat_ChatWithModelSchema.nullable(),
24
24
  muted: z.boolean().describe("True if the chat is muted").nullable().optional(),
25
- active: z.boolean().describe("False if the chat has been deleted"),
26
- created: z.number().describe("Creation time in floating point seconds (Unix timestamp)"),
27
- modified: z.number().describe("Last modified time in floating point seconds (Unix timestamp)")
28
- }).describe("Response model representing the updated chat object.")
25
+ active: z.boolean().describe("False if the chat has been deleted").nullable(),
26
+ created: z.number().describe("Creation time in floating point seconds (Unix timestamp)").nullable(),
27
+ modified: z.number().describe("Last modified time in floating point seconds (Unix timestamp)").nullable()
28
+ }).passthrough().describe("Response model representing the updated chat object.")
29
29
  });
30
30
  //#endregion
31
31
  export { pushbulletUpdateChat };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\"),\n name: z.string().describe(\"Display name of the chat participant\"),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of chat participant: 'email' or 'user'\"),\n email: z.string().describe(\"Email address of the chat participant\"),\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\"),\n}).describe(\"Information about the other participant in the chat.\");\nexport const PushbulletUpdateChatOutput: z.ZodTypeAny = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\"),\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\"),\n created: z.number().describe(\"Creation time in floating point seconds (Unix timestamp)\"),\n modified: z.number().describe(\"Last modified time in floating point seconds (Unix timestamp)\"),\n}).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,4BAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D;AACzF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,2CAAyD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChE,MAAM,EAAE,KAAK,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,SAAS,6CAA6C;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AACzF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAUlE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdsD,EAAE,OAAO;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC3D,QAAQ,yCAAyC,SAAS;EAC1D,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC;EACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC/F,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
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":";;;AA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C,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
@@ -23,14 +23,14 @@ const PushbulletUpdateDeviceInput = zod.z.object({
23
23
  }).describe("Request parameters for updating an existing Pushbullet device.");
24
24
  const PushbulletUpdateDeviceOutput = zod.z.object({
25
25
  icon: zod.z.string().describe("Icon string for the device.").nullable().optional(),
26
- iden: zod.z.string().describe("Unique identifier for the device."),
26
+ iden: zod.z.string().describe("Unique identifier for the device.").nullable(),
27
27
  kind: zod.z.string().describe("Deprecated device kind field.").nullable().optional(),
28
28
  type: zod.z.string().describe("Deprecated device type field.").nullable().optional(),
29
29
  model: zod.z.string().describe("Model of the device.").nullable().optional(),
30
- active: zod.z.boolean().describe("True if the device is active."),
31
- created: zod.z.number().describe("Creation timestamp (UNIX time in seconds)."),
30
+ active: zod.z.boolean().describe("True if the device is active.").nullable(),
31
+ created: zod.z.number().describe("Creation timestamp (UNIX time in seconds).").nullable(),
32
32
  has_sms: zod.z.boolean().describe("True if device supports SMS.").nullable().optional(),
33
- modified: zod.z.number().describe("Last modified timestamp (UNIX time in seconds)."),
33
+ modified: zod.z.number().describe("Last modified timestamp (UNIX time in seconds).").nullable(),
34
34
  nickname: zod.z.string().describe("Display name of the device.").nullable().optional(),
35
35
  pushable: zod.z.boolean().describe("Deprecated pushable field.").nullable().optional(),
36
36
  push_token: zod.z.string().describe("Platform-specific push token for notifications.").nullable().optional(),
@@ -39,7 +39,7 @@ const PushbulletUpdateDeviceOutput = zod.z.object({
39
39
  manufacturer: zod.z.string().describe("Manufacturer of the device.").nullable().optional(),
40
40
  key_fingerprint: zod.z.string().describe("Encryption key fingerprint.").nullable().optional(),
41
41
  generated_nickname: zod.z.boolean().describe("True if nickname was auto-generated.").nullable().optional()
42
- }).describe("Response schema for an updated Pushbullet device.");
42
+ }).passthrough().describe("Response schema for an updated Pushbullet device.");
43
43
  const pushbulletUpdateDevice = require_action.action("PUSHBULLET_UPDATE_DEVICE", {
44
44
  slug: "pushbullet-update-device",
45
45
  name: "Update Device",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n icon: z.string().describe(\"Icon string for the device.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the device.\"),\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.\"),\n created: z.number().describe(\"Creation timestamp (UNIX time in seconds).\"),\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).\"),\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}).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,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,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,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAA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AO,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,SAAS,mDAAmD;AAE/D,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 { 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,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AC,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,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,55 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-device.d.ts
4
- declare const PushbulletUpdateDeviceInput: z.ZodTypeAny;
5
- declare const PushbulletUpdateDeviceOutput: z.ZodTypeAny;
6
- declare const pushbulletUpdateDevice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PushbulletUpdateDeviceInput: z.ZodObject<{
5
+ icon: z.ZodOptional<z.ZodEnum<{
6
+ desktop: "desktop";
7
+ browser: "browser";
8
+ website: "website";
9
+ laptop: "laptop";
10
+ tablet: "tablet";
11
+ phone: "phone";
12
+ watch: "watch";
13
+ system: "system";
14
+ ios: "ios";
15
+ }>>;
16
+ iden: z.ZodString;
17
+ model: z.ZodOptional<z.ZodString>;
18
+ has_sms: z.ZodOptional<z.ZodBoolean>;
19
+ nickname: z.ZodOptional<z.ZodString>;
20
+ push_token: z.ZodOptional<z.ZodString>;
21
+ app_version: z.ZodOptional<z.ZodNumber>;
22
+ manufacturer: z.ZodOptional<z.ZodString>;
23
+ }, z.core.$strip>;
24
+ declare const PushbulletUpdateDeviceOutput: z.ZodObject<{
25
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ iden: z.ZodNullable<z.ZodString>;
27
+ kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ active: z.ZodNullable<z.ZodBoolean>;
31
+ created: z.ZodNullable<z.ZodNumber>;
32
+ has_sms: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
33
+ modified: z.ZodNullable<z.ZodNumber>;
34
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ pushable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
36
+ push_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ app_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
+ fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ manufacturer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ key_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ generated_nickname: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
42
+ }, 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]>;
7
53
  //#endregion
8
54
  export { pushbulletUpdateDevice };
9
55
  //# 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,EAA6B,CAAA,CAAE,UASiC;AAAA,cAChE,4BAAA,EAA8B,CAAA,CAAE,UAkBmB;AAAA,cAEnD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,55 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-device.d.ts
4
- declare const PushbulletUpdateDeviceInput: z.ZodTypeAny;
5
- declare const PushbulletUpdateDeviceOutput: z.ZodTypeAny;
6
- declare const pushbulletUpdateDevice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PushbulletUpdateDeviceInput: z.ZodObject<{
5
+ icon: z.ZodOptional<z.ZodEnum<{
6
+ desktop: "desktop";
7
+ browser: "browser";
8
+ website: "website";
9
+ laptop: "laptop";
10
+ tablet: "tablet";
11
+ phone: "phone";
12
+ watch: "watch";
13
+ system: "system";
14
+ ios: "ios";
15
+ }>>;
16
+ iden: z.ZodString;
17
+ model: z.ZodOptional<z.ZodString>;
18
+ has_sms: z.ZodOptional<z.ZodBoolean>;
19
+ nickname: z.ZodOptional<z.ZodString>;
20
+ push_token: z.ZodOptional<z.ZodString>;
21
+ app_version: z.ZodOptional<z.ZodNumber>;
22
+ manufacturer: z.ZodOptional<z.ZodString>;
23
+ }, z.core.$strip>;
24
+ declare const PushbulletUpdateDeviceOutput: z.ZodObject<{
25
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ iden: z.ZodNullable<z.ZodString>;
27
+ kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ active: z.ZodNullable<z.ZodBoolean>;
31
+ created: z.ZodNullable<z.ZodNumber>;
32
+ has_sms: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
33
+ modified: z.ZodNullable<z.ZodNumber>;
34
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ pushable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
36
+ push_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ app_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
+ fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ manufacturer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ key_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ generated_nickname: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
42
+ }, 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]>;
7
53
  //#endregion
8
54
  export { pushbulletUpdateDevice };
9
55
  //# 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,EAA6B,CAAA,CAAE,UASiC;AAAA,cAChE,4BAAA,EAA8B,CAAA,CAAE,UAkBmB;AAAA,cAEnD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -26,14 +26,14 @@ const pushbulletUpdateDevice = action("PUSHBULLET_UPDATE_DEVICE", {
26
26
  }).describe("Request parameters for updating an existing Pushbullet device."),
27
27
  output: z.object({
28
28
  icon: z.string().describe("Icon string for the device.").nullable().optional(),
29
- iden: z.string().describe("Unique identifier for the device."),
29
+ iden: z.string().describe("Unique identifier for the device.").nullable(),
30
30
  kind: z.string().describe("Deprecated device kind field.").nullable().optional(),
31
31
  type: z.string().describe("Deprecated device type field.").nullable().optional(),
32
32
  model: z.string().describe("Model of the device.").nullable().optional(),
33
- active: z.boolean().describe("True if the device is active."),
34
- created: z.number().describe("Creation timestamp (UNIX time in seconds)."),
33
+ active: z.boolean().describe("True if the device is active.").nullable(),
34
+ created: z.number().describe("Creation timestamp (UNIX time in seconds).").nullable(),
35
35
  has_sms: z.boolean().describe("True if device supports SMS.").nullable().optional(),
36
- modified: z.number().describe("Last modified timestamp (UNIX time in seconds)."),
36
+ modified: z.number().describe("Last modified timestamp (UNIX time in seconds).").nullable(),
37
37
  nickname: z.string().describe("Display name of the device.").nullable().optional(),
38
38
  pushable: z.boolean().describe("Deprecated pushable field.").nullable().optional(),
39
39
  push_token: z.string().describe("Platform-specific push token for notifications.").nullable().optional(),
@@ -42,7 +42,7 @@ const pushbulletUpdateDevice = action("PUSHBULLET_UPDATE_DEVICE", {
42
42
  manufacturer: z.string().describe("Manufacturer of the device.").nullable().optional(),
43
43
  key_fingerprint: z.string().describe("Encryption key fingerprint.").nullable().optional(),
44
44
  generated_nickname: z.boolean().describe("True if nickname was auto-generated.").nullable().optional()
45
- }).describe("Response schema for an updated Pushbullet device.")
45
+ }).passthrough().describe("Response schema for an updated Pushbullet device.")
46
46
  });
47
47
  //#endregion
48
48
  export { pushbulletUpdateDevice };