@keystrokehq/pushbullet 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-chat.cjs +1 -0
- package/dist/actions/create-chat.cjs.map +1 -1
- package/dist/actions/create-chat.d.cts +3 -15
- package/dist/actions/create-chat.d.cts.map +1 -1
- package/dist/actions/create-chat.d.mts +3 -15
- package/dist/actions/create-chat.d.mts.map +1 -1
- package/dist/actions/create-chat.mjs +1 -0
- package/dist/actions/create-chat.mjs.map +1 -1
- package/dist/actions/create-device.cjs +1 -0
- package/dist/actions/create-device.cjs.map +1 -1
- package/dist/actions/create-device.d.cts +3 -21
- package/dist/actions/create-device.d.cts.map +1 -1
- package/dist/actions/create-device.d.mts +3 -21
- package/dist/actions/create-device.d.mts.map +1 -1
- package/dist/actions/create-device.mjs +1 -0
- package/dist/actions/create-device.mjs.map +1 -1
- package/dist/actions/create-push.cjs +1 -0
- package/dist/actions/create-push.cjs.map +1 -1
- package/dist/actions/create-push.d.cts +3 -27
- package/dist/actions/create-push.d.cts.map +1 -1
- package/dist/actions/create-push.d.mts +3 -27
- package/dist/actions/create-push.d.mts.map +1 -1
- package/dist/actions/create-push.mjs +1 -0
- package/dist/actions/create-push.mjs.map +1 -1
- package/dist/actions/delete-all-pushes.cjs +1 -0
- package/dist/actions/delete-all-pushes.cjs.map +1 -1
- package/dist/actions/delete-all-pushes.d.cts +3 -13
- package/dist/actions/delete-all-pushes.d.cts.map +1 -1
- package/dist/actions/delete-all-pushes.d.mts +3 -13
- package/dist/actions/delete-all-pushes.d.mts.map +1 -1
- package/dist/actions/delete-all-pushes.mjs +1 -0
- package/dist/actions/delete-all-pushes.mjs.map +1 -1
- package/dist/actions/delete-chat.cjs +1 -0
- package/dist/actions/delete-chat.cjs.map +1 -1
- package/dist/actions/delete-chat.d.cts +3 -15
- package/dist/actions/delete-chat.d.cts.map +1 -1
- package/dist/actions/delete-chat.d.mts +3 -15
- package/dist/actions/delete-chat.d.mts.map +1 -1
- package/dist/actions/delete-chat.mjs +1 -0
- package/dist/actions/delete-chat.mjs.map +1 -1
- package/dist/actions/delete-device.cjs +1 -0
- package/dist/actions/delete-device.cjs.map +1 -1
- package/dist/actions/delete-device.d.cts +3 -15
- package/dist/actions/delete-device.d.cts.map +1 -1
- package/dist/actions/delete-device.d.mts +3 -15
- package/dist/actions/delete-device.d.mts.map +1 -1
- package/dist/actions/delete-device.mjs +1 -0
- package/dist/actions/delete-device.mjs.map +1 -1
- package/dist/actions/delete-push.cjs +1 -0
- package/dist/actions/delete-push.cjs.map +1 -1
- package/dist/actions/delete-push.d.cts +3 -15
- package/dist/actions/delete-push.d.cts.map +1 -1
- package/dist/actions/delete-push.d.mts +3 -15
- package/dist/actions/delete-push.d.mts.map +1 -1
- package/dist/actions/delete-push.mjs +1 -0
- package/dist/actions/delete-push.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -0
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -13
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -13
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +1 -0
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-chats.cjs +1 -0
- package/dist/actions/list-chats.cjs.map +1 -1
- package/dist/actions/list-chats.d.cts +3 -16
- package/dist/actions/list-chats.d.cts.map +1 -1
- package/dist/actions/list-chats.d.mts +3 -16
- package/dist/actions/list-chats.d.mts.map +1 -1
- package/dist/actions/list-chats.mjs +1 -0
- package/dist/actions/list-chats.mjs.map +1 -1
- package/dist/actions/list-devices.cjs +1 -0
- package/dist/actions/list-devices.cjs.map +1 -1
- package/dist/actions/list-devices.d.cts +3 -13
- package/dist/actions/list-devices.d.cts.map +1 -1
- package/dist/actions/list-devices.d.mts +3 -13
- package/dist/actions/list-devices.d.mts.map +1 -1
- package/dist/actions/list-devices.mjs +1 -0
- package/dist/actions/list-devices.mjs.map +1 -1
- package/dist/actions/list-pushes.cjs +1 -0
- package/dist/actions/list-pushes.cjs.map +1 -1
- package/dist/actions/list-pushes.d.cts +3 -18
- package/dist/actions/list-pushes.d.cts.map +1 -1
- package/dist/actions/list-pushes.d.mts +3 -18
- package/dist/actions/list-pushes.d.mts.map +1 -1
- package/dist/actions/list-pushes.mjs +1 -0
- package/dist/actions/list-pushes.mjs.map +1 -1
- package/dist/actions/update-chat.cjs +1 -0
- package/dist/actions/update-chat.cjs.map +1 -1
- package/dist/actions/update-chat.d.cts +3 -16
- package/dist/actions/update-chat.d.cts.map +1 -1
- package/dist/actions/update-chat.d.mts +3 -16
- package/dist/actions/update-chat.d.mts.map +1 -1
- package/dist/actions/update-chat.mjs +1 -0
- package/dist/actions/update-chat.mjs.map +1 -1
- package/dist/actions/update-device.cjs +1 -0
- package/dist/actions/update-device.cjs.map +1 -1
- package/dist/actions/update-device.d.cts +3 -22
- package/dist/actions/update-device.d.cts.map +1 -1
- package/dist/actions/update-device.d.mts +3 -22
- package/dist/actions/update-device.d.mts.map +1 -1
- package/dist/actions/update-device.mjs +1 -0
- package/dist/actions/update-device.mjs.map +1 -1
- package/dist/actions/update-push.cjs +1 -0
- package/dist/actions/update-push.cjs.map +1 -1
- package/dist/actions/update-push.d.cts +3 -21
- package/dist/actions/update-push.d.cts.map +1 -1
- package/dist/actions/update-push.d.mts +3 -21
- package/dist/actions/update-push.d.mts.map +1 -1
- package/dist/actions/update-push.mjs +1 -0
- package/dist/actions/update-push.mjs.map +1 -1
- package/dist/actions/upload-request.cjs +1 -0
- package/dist/actions/upload-request.cjs.map +1 -1
- package/dist/actions/upload-request.d.cts +3 -16
- package/dist/actions/upload-request.d.cts.map +1 -1
- package/dist/actions/upload-request.d.mts +3 -16
- package/dist/actions/upload-request.d.mts.map +1 -1
- package/dist/actions/upload-request.mjs +1 -0
- package/dist/actions/upload-request.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["pushbullet","executePushbulletTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pushbullet } from \"./app\";\nimport { executePushbulletTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["pushbullet","executePushbulletTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { pushbullet } from \"./app\";\nimport { executePushbulletTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof pushbullet.credential> {\n return pushbullet.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePushbulletTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO0D;CAC1D,OAAOA,YAAAA,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pushbullet } from \"./app\";\nimport { executePushbulletTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { pushbullet } from \"./app\";\nimport { executePushbulletTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof pushbullet.credential> {\n return pushbullet.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePushbulletTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO0D;CAC1D,OAAO,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-chat.cjs","names":["z","action"],"sources":["../../src/actions/create-chat.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletCreateChatInput = z.object({\n email: z.string().describe(\"Email of the person to create the chat with (does not have to be a Pushbullet user).\"),\n}).describe(\"Request parameters for creating a new Pushbullet chat.\");\nconst PushbulletCreateChat_ChatWithSchema = z.object({\n iden: z.string().describe(\"User iden if this is a Pushbullet user.\").nullable().optional(),\n name: z.string().describe(\"Name of the person, if known.\").nullable().optional(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of chat target: 'email' or 'user'.\").nullable(),\n email: z.string().describe(\"Email address of the person.\").nullable(),\n image_url: z.string().describe(\"Image URL for the person.\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the person.\").nullable(),\n}).passthrough().describe(\"Information about the user or email that the chat is with.\");\nexport const PushbulletCreateChatOutput = z.object({\n iden: z.string().describe(\"Unique identifier for the chat.\").nullable(),\n \"with\": PushbulletCreateChat_ChatWithSchema.nullable(),\n muted: z.boolean().describe(\"True if notifications from this chat are muted.\").nullable().optional(),\n active: z.boolean().describe(\"False if the chat has been deleted.\").nullable(),\n created: z.number().describe(\"Creation time as Unix timestamp.\").nullable(),\n modified: z.number().describe(\"Last modified time as Unix timestamp.\").nullable(),\n}).passthrough().describe(\"Response schema for creating a new Pushbullet chat.\");\n\nexport const pushbulletCreateChat = action(\"PUSHBULLET_CREATE_CHAT\", {\n slug: \"pushbullet-create-chat\",\n name: \"Create Chat\",\n description: \"Tool to create a new chat with the specified email address. Use when you need to initiate a conversation thread by email.\",\n input: PushbulletCreateChatInput,\n output: PushbulletCreateChatOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-chat.cjs","names":["z","action"],"sources":["../../src/actions/create-chat.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletCreateChatInput = z.object({\n email: z.string().describe(\"Email of the person to create the chat with (does not have to be a Pushbullet user).\"),\n}).describe(\"Request parameters for creating a new Pushbullet chat.\");\nconst PushbulletCreateChat_ChatWithSchema = z.object({\n iden: z.string().describe(\"User iden if this is a Pushbullet user.\").nullable().optional(),\n name: z.string().describe(\"Name of the person, if known.\").nullable().optional(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of chat target: 'email' or 'user'.\").nullable(),\n email: z.string().describe(\"Email address of the person.\").nullable(),\n image_url: z.string().describe(\"Image URL for the person.\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the person.\").nullable(),\n}).passthrough().describe(\"Information about the user or email that the chat is with.\");\nexport const PushbulletCreateChatOutput = z.object({\n iden: z.string().describe(\"Unique identifier for the chat.\").nullable(),\n \"with\": PushbulletCreateChat_ChatWithSchema.nullable(),\n muted: z.boolean().describe(\"True if notifications from this chat are muted.\").nullable().optional(),\n active: z.boolean().describe(\"False if the chat has been deleted.\").nullable(),\n created: z.number().describe(\"Creation time as Unix timestamp.\").nullable(),\n modified: z.number().describe(\"Last modified time as Unix timestamp.\").nullable(),\n}).passthrough().describe(\"Response schema for creating a new Pushbullet chat.\");\n\nexport const pushbulletCreateChat: AppAction<\n typeof PushbulletCreateChatInput,\n typeof PushbulletCreateChatOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_CREATE_CHAT\", {\n slug: \"pushbullet-create-chat\",\n name: \"Create Chat\",\n description: \"Tool to create a new chat with the specified email address. Use when you need to initiate a conversation thread by email.\",\n input: PushbulletCreateChatInput,\n output: PushbulletCreateChatOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACnH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAA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|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-chat.d.ts
|
|
@@ -22,21 +24,7 @@ declare const PushbulletCreateChatOutput: z.ZodObject<{
|
|
|
22
24
|
created: z.ZodNullable<z.ZodNumber>;
|
|
23
25
|
modified: z.ZodNullable<z.ZodNumber>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const pushbulletCreateChat:
|
|
26
|
-
email: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
accessToken: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
accessToken: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const pushbulletCreateChat: AppAction<typeof PushbulletCreateChatInput, typeof PushbulletCreateChatOutput, typeof pushbullet.credential>;
|
|
40
28
|
//#endregion
|
|
41
29
|
export { pushbulletCreateChat };
|
|
42
30
|
//# sourceMappingURL=create-chat.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-chat.d.cts","names":[],"sources":["../../src/actions/create-chat.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-chat.d.cts","names":[],"sources":["../../src/actions/create-chat.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAWzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushbullet } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-chat.d.ts
|
|
@@ -22,21 +24,7 @@ declare const PushbulletCreateChatOutput: z.ZodObject<{
|
|
|
22
24
|
created: z.ZodNullable<z.ZodNumber>;
|
|
23
25
|
modified: z.ZodNullable<z.ZodNumber>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const pushbulletCreateChat:
|
|
26
|
-
email: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
accessToken: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
accessToken: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const pushbulletCreateChat: AppAction<typeof PushbulletCreateChatInput, typeof PushbulletCreateChatOutput, typeof pushbullet.credential>;
|
|
40
28
|
//#endregion
|
|
41
29
|
export { pushbulletCreateChat };
|
|
42
30
|
//# sourceMappingURL=create-chat.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-chat.d.mts","names":[],"sources":["../../src/actions/create-chat.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-chat.d.mts","names":[],"sources":["../../src/actions/create-chat.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAWzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-chat.mjs","names":[],"sources":["../../src/actions/create-chat.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletCreateChatInput = z.object({\n email: z.string().describe(\"Email of the person to create the chat with (does not have to be a Pushbullet user).\"),\n}).describe(\"Request parameters for creating a new Pushbullet chat.\");\nconst PushbulletCreateChat_ChatWithSchema = z.object({\n iden: z.string().describe(\"User iden if this is a Pushbullet user.\").nullable().optional(),\n name: z.string().describe(\"Name of the person, if known.\").nullable().optional(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of chat target: 'email' or 'user'.\").nullable(),\n email: z.string().describe(\"Email address of the person.\").nullable(),\n image_url: z.string().describe(\"Image URL for the person.\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the person.\").nullable(),\n}).passthrough().describe(\"Information about the user or email that the chat is with.\");\nexport const PushbulletCreateChatOutput = z.object({\n iden: z.string().describe(\"Unique identifier for the chat.\").nullable(),\n \"with\": PushbulletCreateChat_ChatWithSchema.nullable(),\n muted: z.boolean().describe(\"True if notifications from this chat are muted.\").nullable().optional(),\n active: z.boolean().describe(\"False if the chat has been deleted.\").nullable(),\n created: z.number().describe(\"Creation time as Unix timestamp.\").nullable(),\n modified: z.number().describe(\"Last modified time as Unix timestamp.\").nullable(),\n}).passthrough().describe(\"Response schema for creating a new Pushbullet chat.\");\n\nexport const pushbulletCreateChat = action(\"PUSHBULLET_CREATE_CHAT\", {\n slug: \"pushbullet-create-chat\",\n name: \"Create Chat\",\n description: \"Tool to create a new chat with the specified email address. Use when you need to initiate a conversation thread by email.\",\n input: PushbulletCreateChatInput,\n output: PushbulletCreateChatOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-chat.mjs","names":[],"sources":["../../src/actions/create-chat.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletCreateChatInput = z.object({\n email: z.string().describe(\"Email of the person to create the chat with (does not have to be a Pushbullet user).\"),\n}).describe(\"Request parameters for creating a new Pushbullet chat.\");\nconst PushbulletCreateChat_ChatWithSchema = z.object({\n iden: z.string().describe(\"User iden if this is a Pushbullet user.\").nullable().optional(),\n name: z.string().describe(\"Name of the person, if known.\").nullable().optional(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of chat target: 'email' or 'user'.\").nullable(),\n email: z.string().describe(\"Email address of the person.\").nullable(),\n image_url: z.string().describe(\"Image URL for the person.\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the person.\").nullable(),\n}).passthrough().describe(\"Information about the user or email that the chat is with.\");\nexport const PushbulletCreateChatOutput = z.object({\n iden: z.string().describe(\"Unique identifier for the chat.\").nullable(),\n \"with\": PushbulletCreateChat_ChatWithSchema.nullable(),\n muted: z.boolean().describe(\"True if notifications from this chat are muted.\").nullable().optional(),\n active: z.boolean().describe(\"False if the chat has been deleted.\").nullable(),\n created: z.number().describe(\"Creation time as Unix timestamp.\").nullable(),\n modified: z.number().describe(\"Last modified time as Unix timestamp.\").nullable(),\n}).passthrough().describe(\"Response schema for creating a new Pushbullet chat.\");\n\nexport const pushbulletCreateChat: AppAction<\n typeof PushbulletCreateChatInput,\n typeof PushbulletCreateChatOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_CREATE_CHAT\", {\n slug: \"pushbullet-create-chat\",\n name: \"Create Chat\",\n description: \"Tool to create a new chat with the specified email address. Use when you need to initiate a conversation thread by email.\",\n input: PushbulletCreateChatInput,\n output: PushbulletCreateChatOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACnH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,KAAK,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC7F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAUtF,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtE,QAAQ,oCAAoC,SAAS;EACrD,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-device.cjs","names":["z","action"],"sources":["../../src/actions/create-device.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletCreateDeviceInput = z.object({\n icon: z.enum([\"desktop\", \"browser\", \"website\", \"laptop\", \"tablet\", \"phone\", \"watch\", \"system\", \"ios\"]).describe(\"Icon for this device; e.g., desktop, phone, watch, etc.\").optional(),\n model: z.string().describe(\"Model of the device\"),\n has_sms: z.boolean().describe(\"True if the device has SMS capability (Android only)\").optional(),\n nickname: z.string().describe(\"Name to display for the device\"),\n push_token: z.string().describe(\"Platform-specific push token; leave blank for custom devices\").optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet app installed on the device (non-negative)\"),\n manufacturer: z.string().describe(\"Manufacturer of the device\"),\n}).describe(\"Request parameters for creating a new device under the current user's Pushbullet account.\");\nexport const PushbulletCreateDeviceOutput = 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().optional(),\n kind: z.string().describe(\"(Deprecated) alias for type\").nullable().optional(),\n type: z.string().describe(\"(Deprecated) old 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().optional(),\n created: z.number().describe(\"Creation time (Unix epoch seconds)\").nullable().optional(),\n has_sms: z.boolean().describe(\"True if the device has SMS capability\").nullable().optional(),\n modified: z.number().describe(\"Last modified time (Unix epoch seconds)\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the device\").nullable().optional(),\n pushable: z.boolean().describe(\"(Deprecated) pushable flag for partial devices\").nullable().optional(),\n push_token: z.string().describe(\"Platform-specific push token\").nullable().optional(),\n app_version: z.number().int().describe(\"App version installed on the device\").nullable().optional(),\n fingerprint: z.string().describe(\"Device fingerprint to avoid duplicates\").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 from manufacturer and model\").nullable().optional(),\n}).passthrough().describe(\"Device object returned after creating a new device via Pushbullet.\");\n\nexport const pushbulletCreateDevice = action(\"PUSHBULLET_CREATE_DEVICE\", {\n slug: \"pushbullet-create-device\",\n name: \"Register Device\",\n description: \"Tool to register a new device under the current user's account. Use when adding a new hardware or app device to Pushbullet.\",\n input: PushbulletCreateDeviceInput,\n output: PushbulletCreateDeviceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-device.cjs","names":["z","action"],"sources":["../../src/actions/create-device.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletCreateDeviceInput = z.object({\n icon: z.enum([\"desktop\", \"browser\", \"website\", \"laptop\", \"tablet\", \"phone\", \"watch\", \"system\", \"ios\"]).describe(\"Icon for this device; e.g., desktop, phone, watch, etc.\").optional(),\n model: z.string().describe(\"Model of the device\"),\n has_sms: z.boolean().describe(\"True if the device has SMS capability (Android only)\").optional(),\n nickname: z.string().describe(\"Name to display for the device\"),\n push_token: z.string().describe(\"Platform-specific push token; leave blank for custom devices\").optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet app installed on the device (non-negative)\"),\n manufacturer: z.string().describe(\"Manufacturer of the device\"),\n}).describe(\"Request parameters for creating a new device under the current user's Pushbullet account.\");\nexport const PushbulletCreateDeviceOutput = 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().optional(),\n kind: z.string().describe(\"(Deprecated) alias for type\").nullable().optional(),\n type: z.string().describe(\"(Deprecated) old 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().optional(),\n created: z.number().describe(\"Creation time (Unix epoch seconds)\").nullable().optional(),\n has_sms: z.boolean().describe(\"True if the device has SMS capability\").nullable().optional(),\n modified: z.number().describe(\"Last modified time (Unix epoch seconds)\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the device\").nullable().optional(),\n pushable: z.boolean().describe(\"(Deprecated) pushable flag for partial devices\").nullable().optional(),\n push_token: z.string().describe(\"Platform-specific push token\").nullable().optional(),\n app_version: z.number().int().describe(\"App version installed on the device\").nullable().optional(),\n fingerprint: z.string().describe(\"Device fingerprint to avoid duplicates\").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 from manufacturer and model\").nullable().optional(),\n}).passthrough().describe(\"Device object returned after creating a new device via Pushbullet.\");\n\nexport const pushbulletCreateDevice: AppAction<\n typeof PushbulletCreateDeviceInput,\n typeof PushbulletCreateDeviceOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_CREATE_DEVICE\", {\n slug: \"pushbullet-create-device\",\n name: \"Register Device\",\n description: \"Tool to register a new device under the current user's account. Use when adding a new hardware or app device to Pushbullet.\",\n input: PushbulletCreateDeviceInput,\n output: PushbulletCreateDeviceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAW;EAAW;EAAU;EAAU;EAAS;EAAS;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAChD,SAASA,IA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yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushbullet } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-device.d.ts
|
|
@@ -39,27 +41,7 @@ declare const PushbulletCreateDeviceOutput: z.ZodObject<{
|
|
|
39
41
|
key_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
42
|
generated_nickname: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
41
43
|
}, z.core.$loose>;
|
|
42
|
-
declare const pushbulletCreateDevice:
|
|
43
|
-
model: string;
|
|
44
|
-
nickname: string;
|
|
45
|
-
app_version: number;
|
|
46
|
-
manufacturer: string;
|
|
47
|
-
icon?: "desktop" | "browser" | "website" | "laptop" | "tablet" | "phone" | "watch" | "system" | "ios" | undefined;
|
|
48
|
-
has_sms?: boolean | undefined;
|
|
49
|
-
push_token?: string | undefined;
|
|
50
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
51
|
-
connectionId: z.ZodString;
|
|
52
|
-
entityId: z.ZodString;
|
|
53
|
-
instanceId: z.ZodString;
|
|
54
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
-
accessToken: z.ZodString;
|
|
56
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
57
|
-
connectionId: z.ZodString;
|
|
58
|
-
entityId: z.ZodString;
|
|
59
|
-
instanceId: z.ZodString;
|
|
60
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
-
accessToken: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>]>;
|
|
44
|
+
declare const pushbulletCreateDevice: AppAction<typeof PushbulletCreateDeviceInput, typeof PushbulletCreateDeviceOutput, typeof pushbullet.credential>;
|
|
63
45
|
//#endregion
|
|
64
46
|
export { pushbulletCreateDevice };
|
|
65
47
|
//# sourceMappingURL=create-device.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-device.d.cts","names":[],"sources":["../../src/actions/create-device.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-device.d.cts","names":[],"sources":["../../src/actions/create-device.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAS3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushbullet } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-device.d.ts
|
|
@@ -39,27 +41,7 @@ declare const PushbulletCreateDeviceOutput: z.ZodObject<{
|
|
|
39
41
|
key_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
42
|
generated_nickname: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
41
43
|
}, z.core.$loose>;
|
|
42
|
-
declare const pushbulletCreateDevice:
|
|
43
|
-
model: string;
|
|
44
|
-
nickname: string;
|
|
45
|
-
app_version: number;
|
|
46
|
-
manufacturer: string;
|
|
47
|
-
icon?: "desktop" | "browser" | "website" | "laptop" | "tablet" | "phone" | "watch" | "system" | "ios" | undefined;
|
|
48
|
-
has_sms?: boolean | undefined;
|
|
49
|
-
push_token?: string | undefined;
|
|
50
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
51
|
-
connectionId: z.ZodString;
|
|
52
|
-
entityId: z.ZodString;
|
|
53
|
-
instanceId: z.ZodString;
|
|
54
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
-
accessToken: z.ZodString;
|
|
56
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
57
|
-
connectionId: z.ZodString;
|
|
58
|
-
entityId: z.ZodString;
|
|
59
|
-
instanceId: z.ZodString;
|
|
60
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
-
accessToken: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>]>;
|
|
44
|
+
declare const pushbulletCreateDevice: AppAction<typeof PushbulletCreateDeviceInput, typeof PushbulletCreateDeviceOutput, typeof pushbullet.credential>;
|
|
63
45
|
//#endregion
|
|
64
46
|
export { pushbulletCreateDevice };
|
|
65
47
|
//# sourceMappingURL=create-device.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-device.d.mts","names":[],"sources":["../../src/actions/create-device.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-device.d.mts","names":[],"sources":["../../src/actions/create-device.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAS3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-device.mjs","names":[],"sources":["../../src/actions/create-device.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletCreateDeviceInput = z.object({\n icon: z.enum([\"desktop\", \"browser\", \"website\", \"laptop\", \"tablet\", \"phone\", \"watch\", \"system\", \"ios\"]).describe(\"Icon for this device; e.g., desktop, phone, watch, etc.\").optional(),\n model: z.string().describe(\"Model of the device\"),\n has_sms: z.boolean().describe(\"True if the device has SMS capability (Android only)\").optional(),\n nickname: z.string().describe(\"Name to display for the device\"),\n push_token: z.string().describe(\"Platform-specific push token; leave blank for custom devices\").optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet app installed on the device (non-negative)\"),\n manufacturer: z.string().describe(\"Manufacturer of the device\"),\n}).describe(\"Request parameters for creating a new device under the current user's Pushbullet account.\");\nexport const PushbulletCreateDeviceOutput = 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().optional(),\n kind: z.string().describe(\"(Deprecated) alias for type\").nullable().optional(),\n type: z.string().describe(\"(Deprecated) old 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().optional(),\n created: z.number().describe(\"Creation time (Unix epoch seconds)\").nullable().optional(),\n has_sms: z.boolean().describe(\"True if the device has SMS capability\").nullable().optional(),\n modified: z.number().describe(\"Last modified time (Unix epoch seconds)\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the device\").nullable().optional(),\n pushable: z.boolean().describe(\"(Deprecated) pushable flag for partial devices\").nullable().optional(),\n push_token: z.string().describe(\"Platform-specific push token\").nullable().optional(),\n app_version: z.number().int().describe(\"App version installed on the device\").nullable().optional(),\n fingerprint: z.string().describe(\"Device fingerprint to avoid duplicates\").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 from manufacturer and model\").nullable().optional(),\n}).passthrough().describe(\"Device object returned after creating a new device via Pushbullet.\");\n\nexport const pushbulletCreateDevice = action(\"PUSHBULLET_CREATE_DEVICE\", {\n slug: \"pushbullet-create-device\",\n name: \"Register Device\",\n description: \"Tool to register a new device under the current user's account. Use when adding a new hardware or app device to Pushbullet.\",\n input: PushbulletCreateDeviceInput,\n output: PushbulletCreateDeviceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-device.mjs","names":[],"sources":["../../src/actions/create-device.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletCreateDeviceInput = z.object({\n icon: z.enum([\"desktop\", \"browser\", \"website\", \"laptop\", \"tablet\", \"phone\", \"watch\", \"system\", \"ios\"]).describe(\"Icon for this device; e.g., desktop, phone, watch, etc.\").optional(),\n model: z.string().describe(\"Model of the device\"),\n has_sms: z.boolean().describe(\"True if the device has SMS capability (Android only)\").optional(),\n nickname: z.string().describe(\"Name to display for the device\"),\n push_token: z.string().describe(\"Platform-specific push token; leave blank for custom devices\").optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet app installed on the device (non-negative)\"),\n manufacturer: z.string().describe(\"Manufacturer of the device\"),\n}).describe(\"Request parameters for creating a new device under the current user's Pushbullet account.\");\nexport const PushbulletCreateDeviceOutput = 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().optional(),\n kind: z.string().describe(\"(Deprecated) alias for type\").nullable().optional(),\n type: z.string().describe(\"(Deprecated) old 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().optional(),\n created: z.number().describe(\"Creation time (Unix epoch seconds)\").nullable().optional(),\n has_sms: z.boolean().describe(\"True if the device has SMS capability\").nullable().optional(),\n modified: z.number().describe(\"Last modified time (Unix epoch seconds)\").nullable().optional(),\n nickname: z.string().describe(\"Display name of the device\").nullable().optional(),\n pushable: z.boolean().describe(\"(Deprecated) pushable flag for partial devices\").nullable().optional(),\n push_token: z.string().describe(\"Platform-specific push token\").nullable().optional(),\n app_version: z.number().int().describe(\"App version installed on the device\").nullable().optional(),\n fingerprint: z.string().describe(\"Device fingerprint to avoid duplicates\").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 from manufacturer and model\").nullable().optional(),\n}).passthrough().describe(\"Device object returned after creating a new device via Pushbullet.\");\n\nexport const pushbulletCreateDevice: AppAction<\n typeof PushbulletCreateDeviceInput,\n typeof PushbulletCreateDeviceOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_CREATE_DEVICE\", {\n slug: \"pushbullet-create-device\",\n name: \"Register Device\",\n description: \"Tool to register a new device under the current user's account. Use when adding a new hardware or app device to Pushbullet.\",\n input: PushbulletCreateDeviceInput,\n output: PushbulletCreateDeviceOutput,\n});\n"],"mappings":";;;AAmCA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArCyC,EAAE,OAAO;EAClD,MAAM,EAAE,KAAK;GAAC;GAAW;GAAW;GAAW;GAAU;GAAU;GAAS;GAAS;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACpL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EAChD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE;EAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAChE,CAAC,CAAC,CAAC,SAAS,2FA6BH;CACP,QA7B0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,OAAO,EAA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|
|
|
1
|
-
{"version":3,"file":"create-push.cjs","names":["z","action"],"sources":["../../src/actions/create-push.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletCreatePushInput = z.object({\n url: z.string().describe(\"URL to include with a link push. Required when type='link'.\").optional(),\n body: z.string().describe(\"Body text of the note, link message, or file message.\").optional(),\n guid: z.string().describe(\"Client-generated unique identifier for idempotency.\").optional(),\n type: z.enum([\"note\", \"link\", \"file\"]).describe(\"Type of push to send: 'note', 'link', or 'file'.\"),\n email: z.string().describe(\"Email address to send the push to (Pushbullet user or fallback email).\").optional(),\n title: z.string().describe(\"Title of the note or link (optional).\").optional(),\n file_url: z.string().describe(\"URL of the file to push. Required when type='file'.\").optional(),\n file_name: z.string().describe(\"Filename for file push. Required when type='file'.\").optional(),\n file_type: z.string().describe(\"MIME type of the file. Required when type='file'.\").optional(),\n channel_tag: z.string().describe(\"Tag of channel to broadcast the push to subscribers.\").optional(),\n client_iden: z.string().describe(\"Identifier of OAuth client to send the push to its authorized users.\").optional(),\n device_iden: z.string().describe(\"Identifier of device to send the push to.\").optional(),\n source_device_iden: z.string().describe(\"Identifier of the source device sending this push.\").optional(),\n}).describe(\"Request model for sending a push (note, link, or file).\\nExactly one target (device_iden, email, channel_tag, client_iden) may be specified.\");\nexport const PushbulletCreatePushOutput = z.object({\n url: z.string().describe(\"URL for link pushes.\").nullable().optional(),\n body: z.string().describe(\"Body of the push (if provided).\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the push.\").nullable(),\n type: z.enum([\"note\", \"link\", \"file\"]).describe(\"Type of the push.\").nullable(),\n title: z.string().describe(\"Title of the push (if provided).\").nullable().optional(),\n active: z.boolean().describe(\"True if the push is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp (seconds since epoch).\").nullable(),\n file_url: z.string().describe(\"URL of file for file pushes.\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (seconds since epoch).\").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 sender_iden: z.string().describe(\"Identifier of the sender.\").nullable().optional(),\n sender_email: z.string().describe(\"Email of the sender.\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver.\").nullable(),\n receiver_email: z.string().describe(\"Email of the receiver.\").nullable(),\n sender_email_normalized: z.string().describe(\"Normalized sender email.\").nullable().optional(),\n receiver_email_normalized: z.string().describe(\"Normalized receiver email.\").nullable(),\n}).passthrough().describe(\"Response model for created push.\");\n\nexport const pushbulletCreatePush = action(\"PUSHBULLET_CREATE_PUSH\", {\n slug: \"pushbullet-create-push\",\n name: \"Create Push\",\n description: \"Tool to send a new push (note, link, or file) to a device, user, channel, or client. Use when you need to share content to a specific target. Example: \\\"Send a link to https://example.com to device abc123\\\".\",\n input: PushbulletCreatePushInput,\n output: PushbulletCreatePushOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-push.cjs","names":["z","action"],"sources":["../../src/actions/create-push.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletCreatePushInput = z.object({\n url: z.string().describe(\"URL to include with a link push. Required when type='link'.\").optional(),\n body: z.string().describe(\"Body text of the note, link message, or file message.\").optional(),\n guid: z.string().describe(\"Client-generated unique identifier for idempotency.\").optional(),\n type: z.enum([\"note\", \"link\", \"file\"]).describe(\"Type of push to send: 'note', 'link', or 'file'.\"),\n email: z.string().describe(\"Email address to send the push to (Pushbullet user or fallback email).\").optional(),\n title: z.string().describe(\"Title of the note or link (optional).\").optional(),\n file_url: z.string().describe(\"URL of the file to push. Required when type='file'.\").optional(),\n file_name: z.string().describe(\"Filename for file push. Required when type='file'.\").optional(),\n file_type: z.string().describe(\"MIME type of the file. Required when type='file'.\").optional(),\n channel_tag: z.string().describe(\"Tag of channel to broadcast the push to subscribers.\").optional(),\n client_iden: z.string().describe(\"Identifier of OAuth client to send the push to its authorized users.\").optional(),\n device_iden: z.string().describe(\"Identifier of device to send the push to.\").optional(),\n source_device_iden: z.string().describe(\"Identifier of the source device sending this push.\").optional(),\n}).describe(\"Request model for sending a push (note, link, or file).\\nExactly one target (device_iden, email, channel_tag, client_iden) may be specified.\");\nexport const PushbulletCreatePushOutput = z.object({\n url: z.string().describe(\"URL for link pushes.\").nullable().optional(),\n body: z.string().describe(\"Body of the push (if provided).\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the push.\").nullable(),\n type: z.enum([\"note\", \"link\", \"file\"]).describe(\"Type of the push.\").nullable(),\n title: z.string().describe(\"Title of the push (if provided).\").nullable().optional(),\n active: z.boolean().describe(\"True if the push is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp (seconds since epoch).\").nullable(),\n file_url: z.string().describe(\"URL of file for file pushes.\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (seconds since epoch).\").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 sender_iden: z.string().describe(\"Identifier of the sender.\").nullable().optional(),\n sender_email: z.string().describe(\"Email of the sender.\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver.\").nullable(),\n receiver_email: z.string().describe(\"Email of the receiver.\").nullable(),\n sender_email_normalized: z.string().describe(\"Normalized sender email.\").nullable().optional(),\n receiver_email_normalized: z.string().describe(\"Normalized receiver email.\").nullable(),\n}).passthrough().describe(\"Response model for created push.\");\n\nexport const pushbulletCreatePush: AppAction<\n typeof PushbulletCreatePushInput,\n typeof PushbulletCreatePushOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_CREATE_PUSH\", {\n slug: \"pushbullet-create-push\",\n name: \"Create Push\",\n description: \"Tool to send a new push (note, link, or file) to a device, user, channel, or client. Use when you need to share content to a specific target. Example: \\\"Send a link to https://example.com to device abc123\\\".\",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S;CAC3E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACvE,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAE5D,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushbullet } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-push.d.ts
|
|
@@ -43,33 +45,7 @@ declare const PushbulletCreatePushOutput: z.ZodObject<{
|
|
|
43
45
|
sender_email_normalized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
46
|
receiver_email_normalized: z.ZodNullable<z.ZodString>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const pushbulletCreatePush:
|
|
47
|
-
type: "file" | "link" | "note";
|
|
48
|
-
url?: string | undefined;
|
|
49
|
-
body?: string | undefined;
|
|
50
|
-
guid?: string | undefined;
|
|
51
|
-
email?: string | undefined;
|
|
52
|
-
title?: string | undefined;
|
|
53
|
-
file_url?: string | undefined;
|
|
54
|
-
file_name?: string | undefined;
|
|
55
|
-
file_type?: string | undefined;
|
|
56
|
-
channel_tag?: string | undefined;
|
|
57
|
-
client_iden?: string | undefined;
|
|
58
|
-
device_iden?: string | undefined;
|
|
59
|
-
source_device_iden?: string | undefined;
|
|
60
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
61
|
-
connectionId: z.ZodString;
|
|
62
|
-
entityId: z.ZodString;
|
|
63
|
-
instanceId: z.ZodString;
|
|
64
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
-
accessToken: z.ZodString;
|
|
66
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
67
|
-
connectionId: z.ZodString;
|
|
68
|
-
entityId: z.ZodString;
|
|
69
|
-
instanceId: z.ZodString;
|
|
70
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
71
|
-
accessToken: z.ZodString;
|
|
72
|
-
}, z.core.$strip>>]>;
|
|
48
|
+
declare const pushbulletCreatePush: AppAction<typeof PushbulletCreatePushInput, typeof PushbulletCreatePushOutput, typeof pushbullet.credential>;
|
|
73
49
|
//#endregion
|
|
74
50
|
export { pushbulletCreatePush };
|
|
75
51
|
//# sourceMappingURL=create-push.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-push.d.cts","names":[],"sources":["../../src/actions/create-push.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-push.d.cts","names":[],"sources":["../../src/actions/create-push.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAezB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAoB1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushbullet } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-push.d.ts
|
|
@@ -43,33 +45,7 @@ declare const PushbulletCreatePushOutput: z.ZodObject<{
|
|
|
43
45
|
sender_email_normalized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
46
|
receiver_email_normalized: z.ZodNullable<z.ZodString>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const pushbulletCreatePush:
|
|
47
|
-
type: "file" | "link" | "note";
|
|
48
|
-
url?: string | undefined;
|
|
49
|
-
body?: string | undefined;
|
|
50
|
-
guid?: string | undefined;
|
|
51
|
-
email?: string | undefined;
|
|
52
|
-
title?: string | undefined;
|
|
53
|
-
file_url?: string | undefined;
|
|
54
|
-
file_name?: string | undefined;
|
|
55
|
-
file_type?: string | undefined;
|
|
56
|
-
channel_tag?: string | undefined;
|
|
57
|
-
client_iden?: string | undefined;
|
|
58
|
-
device_iden?: string | undefined;
|
|
59
|
-
source_device_iden?: string | undefined;
|
|
60
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
61
|
-
connectionId: z.ZodString;
|
|
62
|
-
entityId: z.ZodString;
|
|
63
|
-
instanceId: z.ZodString;
|
|
64
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
-
accessToken: z.ZodString;
|
|
66
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
67
|
-
connectionId: z.ZodString;
|
|
68
|
-
entityId: z.ZodString;
|
|
69
|
-
instanceId: z.ZodString;
|
|
70
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
71
|
-
accessToken: z.ZodString;
|
|
72
|
-
}, z.core.$strip>>]>;
|
|
48
|
+
declare const pushbulletCreatePush: AppAction<typeof PushbulletCreatePushInput, typeof PushbulletCreatePushOutput, typeof pushbullet.credential>;
|
|
73
49
|
//#endregion
|
|
74
50
|
export { pushbulletCreatePush };
|
|
75
51
|
//# sourceMappingURL=create-push.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-push.d.mts","names":[],"sources":["../../src/actions/create-push.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-push.d.mts","names":[],"sources":["../../src/actions/create-push.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAezB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAoB1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-push.mjs","names":[],"sources":["../../src/actions/create-push.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletCreatePushInput = z.object({\n url: z.string().describe(\"URL to include with a link push. Required when type='link'.\").optional(),\n body: z.string().describe(\"Body text of the note, link message, or file message.\").optional(),\n guid: z.string().describe(\"Client-generated unique identifier for idempotency.\").optional(),\n type: z.enum([\"note\", \"link\", \"file\"]).describe(\"Type of push to send: 'note', 'link', or 'file'.\"),\n email: z.string().describe(\"Email address to send the push to (Pushbullet user or fallback email).\").optional(),\n title: z.string().describe(\"Title of the note or link (optional).\").optional(),\n file_url: z.string().describe(\"URL of the file to push. Required when type='file'.\").optional(),\n file_name: z.string().describe(\"Filename for file push. Required when type='file'.\").optional(),\n file_type: z.string().describe(\"MIME type of the file. Required when type='file'.\").optional(),\n channel_tag: z.string().describe(\"Tag of channel to broadcast the push to subscribers.\").optional(),\n client_iden: z.string().describe(\"Identifier of OAuth client to send the push to its authorized users.\").optional(),\n device_iden: z.string().describe(\"Identifier of device to send the push to.\").optional(),\n source_device_iden: z.string().describe(\"Identifier of the source device sending this push.\").optional(),\n}).describe(\"Request model for sending a push (note, link, or file).\\nExactly one target (device_iden, email, channel_tag, client_iden) may be specified.\");\nexport const PushbulletCreatePushOutput = z.object({\n url: z.string().describe(\"URL for link pushes.\").nullable().optional(),\n body: z.string().describe(\"Body of the push (if provided).\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the push.\").nullable(),\n type: z.enum([\"note\", \"link\", \"file\"]).describe(\"Type of the push.\").nullable(),\n title: z.string().describe(\"Title of the push (if provided).\").nullable().optional(),\n active: z.boolean().describe(\"True if the push is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp (seconds since epoch).\").nullable(),\n file_url: z.string().describe(\"URL of file for file pushes.\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (seconds since epoch).\").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 sender_iden: z.string().describe(\"Identifier of the sender.\").nullable().optional(),\n sender_email: z.string().describe(\"Email of the sender.\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver.\").nullable(),\n receiver_email: z.string().describe(\"Email of the receiver.\").nullable(),\n sender_email_normalized: z.string().describe(\"Normalized sender email.\").nullable().optional(),\n receiver_email_normalized: z.string().describe(\"Normalized receiver email.\").nullable(),\n}).passthrough().describe(\"Response model for created push.\");\n\nexport const pushbulletCreatePush = action(\"PUSHBULLET_CREATE_PUSH\", {\n slug: \"pushbullet-create-push\",\n name: \"Create Push\",\n description: \"Tool to send a new push (note, link, or file) to a device, user, channel, or client. Use when you need to share content to a specific target. Example: \\\"Send a link to https://example.com to device abc123\\\".\",\n input: PushbulletCreatePushInput,\n output: PushbulletCreatePushOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-push.mjs","names":[],"sources":["../../src/actions/create-push.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletCreatePushInput = z.object({\n url: z.string().describe(\"URL to include with a link push. Required when type='link'.\").optional(),\n body: z.string().describe(\"Body text of the note, link message, or file message.\").optional(),\n guid: z.string().describe(\"Client-generated unique identifier for idempotency.\").optional(),\n type: z.enum([\"note\", \"link\", \"file\"]).describe(\"Type of push to send: 'note', 'link', or 'file'.\"),\n email: z.string().describe(\"Email address to send the push to (Pushbullet user or fallback email).\").optional(),\n title: z.string().describe(\"Title of the note or link (optional).\").optional(),\n file_url: z.string().describe(\"URL of the file to push. Required when type='file'.\").optional(),\n file_name: z.string().describe(\"Filename for file push. Required when type='file'.\").optional(),\n file_type: z.string().describe(\"MIME type of the file. Required when type='file'.\").optional(),\n channel_tag: z.string().describe(\"Tag of channel to broadcast the push to subscribers.\").optional(),\n client_iden: z.string().describe(\"Identifier of OAuth client to send the push to its authorized users.\").optional(),\n device_iden: z.string().describe(\"Identifier of device to send the push to.\").optional(),\n source_device_iden: z.string().describe(\"Identifier of the source device sending this push.\").optional(),\n}).describe(\"Request model for sending a push (note, link, or file).\\nExactly one target (device_iden, email, channel_tag, client_iden) may be specified.\");\nexport const PushbulletCreatePushOutput = z.object({\n url: z.string().describe(\"URL for link pushes.\").nullable().optional(),\n body: z.string().describe(\"Body of the push (if provided).\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the push.\").nullable(),\n type: z.enum([\"note\", \"link\", \"file\"]).describe(\"Type of the push.\").nullable(),\n title: z.string().describe(\"Title of the push (if provided).\").nullable().optional(),\n active: z.boolean().describe(\"True if the push is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp (seconds since epoch).\").nullable(),\n file_url: z.string().describe(\"URL of file for file pushes.\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (seconds since epoch).\").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 sender_iden: z.string().describe(\"Identifier of the sender.\").nullable().optional(),\n sender_email: z.string().describe(\"Email of the sender.\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver.\").nullable(),\n receiver_email: z.string().describe(\"Email of the receiver.\").nullable(),\n sender_email_normalized: z.string().describe(\"Normalized sender email.\").nullable().optional(),\n receiver_email_normalized: z.string().describe(\"Normalized receiver email.\").nullable(),\n}).passthrough().describe(\"Response model for created push.\");\n\nexport const pushbulletCreatePush: AppAction<\n typeof PushbulletCreatePushInput,\n typeof PushbulletCreatePushOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_CREATE_PUSH\", {\n slug: \"pushbullet-create-push\",\n name: \"Create Push\",\n description: \"Tool to send a new push (note, link, or file) to a device, user, channel, or client. Use when you need to share content to a specific target. Example: \\\"Send a link to https://example.com to device abc123\\\".\",\n input: PushbulletCreatePushInput,\n output: PushbulletCreatePushOutput,\n});\n"],"mappings":";;;AAyCA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3CuC,EAAE,OAAO;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,kDAAkD;EAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAC9G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EACl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sB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC3E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EACvE,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-all-pushes.cjs","names":["z","action"],"sources":["../../src/actions/delete-all-pushes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletDeleteAllPushesInput = z.object({}).describe(\"Empty request for deleting all pushes. No parameters needed.\");\nexport const PushbulletDeleteAllPushesOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for deleting all pushes. API returns an empty JSON object on success.\");\n\nexport const pushbulletDeleteAllPushes = action(\"PUSHBULLET_DELETE_ALL_PUSHES\", {\n slug: \"pushbullet-delete-all-pushes\",\n name: \"Delete All Pushes\",\n description: \"Tool to delete all pushes for the current user asynchronously. Use when you need to bulk-clear all existing pushes in one call.\",\n input: PushbulletDeleteAllPushesInput,\n output: PushbulletDeleteAllPushesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-all-pushes.cjs","names":["z","action"],"sources":["../../src/actions/delete-all-pushes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletDeleteAllPushesInput = z.object({}).describe(\"Empty request for deleting all pushes. No parameters needed.\");\nexport const PushbulletDeleteAllPushesOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for deleting all pushes. API returns an empty JSON object on success.\");\n\nexport const pushbulletDeleteAllPushes: AppAction<\n typeof PushbulletDeleteAllPushesInput,\n typeof PushbulletDeleteAllPushesOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_DELETE_ALL_PUSHES\", {\n slug: \"pushbullet-delete-all-pushes\",\n name: \"Delete All Pushes\",\n description: \"Tool to delete all pushes for the current user asynchronously. Use when you need to bulk-clear all existing pushes in one call.\",\n input: PushbulletDeleteAllPushesInput,\n output: PushbulletDeleteAllPushesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAClI,MAAa,kCAAkCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAEhL,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,21 +1,11 @@
|
|
|
1
|
+
import { pushbullet } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-all-pushes.d.ts
|
|
4
6
|
declare const PushbulletDeleteAllPushesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
7
|
declare const PushbulletDeleteAllPushesOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6
|
-
declare const pushbulletDeleteAllPushes:
|
|
7
|
-
connectionId: z.ZodString;
|
|
8
|
-
entityId: z.ZodString;
|
|
9
|
-
instanceId: z.ZodString;
|
|
10
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11
|
-
accessToken: z.ZodString;
|
|
12
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
accessToken: z.ZodString;
|
|
18
|
-
}, z.core.$strip>>]>;
|
|
8
|
+
declare const pushbulletDeleteAllPushes: AppAction<typeof PushbulletDeleteAllPushesInput, typeof PushbulletDeleteAllPushesOutput, typeof pushbullet.credential>;
|
|
19
9
|
//#endregion
|
|
20
10
|
export { pushbulletDeleteAllPushes };
|
|
21
11
|
//# sourceMappingURL=delete-all-pushes.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-all-pushes.d.cts","names":[],"sources":["../../src/actions/delete-all-pushes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-all-pushes.d.cts","names":[],"sources":["../../src/actions/delete-all-pushes.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,21 +1,11 @@
|
|
|
1
|
+
import { pushbullet } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-all-pushes.d.ts
|
|
4
6
|
declare const PushbulletDeleteAllPushesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
7
|
declare const PushbulletDeleteAllPushesOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6
|
-
declare const pushbulletDeleteAllPushes:
|
|
7
|
-
connectionId: z.ZodString;
|
|
8
|
-
entityId: z.ZodString;
|
|
9
|
-
instanceId: z.ZodString;
|
|
10
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11
|
-
accessToken: z.ZodString;
|
|
12
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
accessToken: z.ZodString;
|
|
18
|
-
}, z.core.$strip>>]>;
|
|
8
|
+
declare const pushbulletDeleteAllPushes: AppAction<typeof PushbulletDeleteAllPushesInput, typeof PushbulletDeleteAllPushesOutput, typeof pushbullet.credential>;
|
|
19
9
|
//#endregion
|
|
20
10
|
export { pushbulletDeleteAllPushes };
|
|
21
11
|
//# sourceMappingURL=delete-all-pushes.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-all-pushes.d.mts","names":[],"sources":["../../src/actions/delete-all-pushes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-all-pushes.d.mts","names":[],"sources":["../../src/actions/delete-all-pushes.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-all-pushes.mjs","names":[],"sources":["../../src/actions/delete-all-pushes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletDeleteAllPushesInput = z.object({}).describe(\"Empty request for deleting all pushes. No parameters needed.\");\nexport const PushbulletDeleteAllPushesOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for deleting all pushes. API returns an empty JSON object on success.\");\n\nexport const pushbulletDeleteAllPushes = action(\"PUSHBULLET_DELETE_ALL_PUSHES\", {\n slug: \"pushbullet-delete-all-pushes\",\n name: \"Delete All Pushes\",\n description: \"Tool to delete all pushes for the current user asynchronously. Use when you need to bulk-clear all existing pushes in one call.\",\n input: PushbulletDeleteAllPushesInput,\n output: PushbulletDeleteAllPushesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-all-pushes.mjs","names":[],"sources":["../../src/actions/delete-all-pushes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletDeleteAllPushesInput = z.object({}).describe(\"Empty request for deleting all pushes. No parameters needed.\");\nexport const PushbulletDeleteAllPushesOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for deleting all pushes. API returns an empty JSON object on success.\");\n\nexport const pushbulletDeleteAllPushes: AppAction<\n typeof PushbulletDeleteAllPushesInput,\n typeof PushbulletDeleteAllPushesOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_DELETE_ALL_PUSHES\", {\n slug: \"pushbullet-delete-all-pushes\",\n name: \"Delete All Pushes\",\n description: \"Tool to delete all pushes for the current user asynchronously. Use when you need to bulk-clear all existing pushes in one call.\",\n input: PushbulletDeleteAllPushesInput,\n output: PushbulletDeleteAllPushesOutput,\n});\n"],"mappings":";;;AASA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAW3D;CACP,QAX6C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAWhF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-chat.cjs","names":["z","action"],"sources":["../../src/actions/delete-chat.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletDeleteChatInput = z.object({\n iden: z.string().describe(\"The unique identifier of the chat to delete.\"),\n}).describe(\"Request parameters for deleting a Pushbullet chat.\");\nexport const PushbulletDeleteChatOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for deleting a Pushbullet chat.\\nThe API returns an empty JSON object on success.\");\n\nexport const pushbulletDeleteChat = action(\"PUSHBULLET_DELETE_CHAT\", {\n slug: \"pushbullet-delete-chat\",\n name: \"Delete Chat\",\n description: \"Tool to delete a chat by its identifier. Use when you need to remove a chat from your Pushbullet account after confirming its identifier.\",\n input: PushbulletDeleteChatInput,\n output: PushbulletDeleteChatOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-chat.cjs","names":["z","action"],"sources":["../../src/actions/delete-chat.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletDeleteChatInput = z.object({\n iden: z.string().describe(\"The unique identifier of the chat to delete.\"),\n}).describe(\"Request parameters for deleting a Pushbullet chat.\");\nexport const PushbulletDeleteChatOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for deleting a Pushbullet chat.\\nThe API returns an empty JSON object on success.\");\n\nexport const pushbulletDeleteChat: AppAction<\n typeof PushbulletDeleteChatInput,\n typeof PushbulletDeleteChatOutput,\n typeof pushbullet.credential\n> = action(\"PUSHBULLET_DELETE_CHAT\", {\n slug: \"pushbullet-delete-chat\",\n name: \"Delete Chat\",\n description: \"Tool to delete a chat by its identifier. Use when you need to remove a chat from your Pushbullet account after confirming its identifier.\",\n input: PushbulletDeleteChatInput,\n output: PushbulletDeleteChatOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC1E,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,6BAA6BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mGAAmG;AAExL,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|