@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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-chat.cjs +9 -9
- package/dist/actions/create-chat.cjs.map +1 -1
- package/dist/actions/create-chat.d.cts +24 -3
- package/dist/actions/create-chat.d.cts.map +1 -1
- package/dist/actions/create-chat.d.mts +24 -3
- package/dist/actions/create-chat.d.mts.map +1 -1
- package/dist/actions/create-chat.mjs +9 -9
- package/dist/actions/create-chat.mjs.map +1 -1
- package/dist/actions/create-device.cjs +1 -1
- package/dist/actions/create-device.cjs.map +1 -1
- package/dist/actions/create-device.d.cts +47 -3
- package/dist/actions/create-device.d.cts.map +1 -1
- package/dist/actions/create-device.d.mts +47 -3
- package/dist/actions/create-device.d.mts.map +1 -1
- package/dist/actions/create-device.mjs +1 -1
- package/dist/actions/create-device.mjs.map +1 -1
- package/dist/actions/create-push.cjs +9 -9
- package/dist/actions/create-push.cjs.map +1 -1
- package/dist/actions/create-push.d.cts +57 -3
- package/dist/actions/create-push.d.cts.map +1 -1
- package/dist/actions/create-push.d.mts +57 -3
- package/dist/actions/create-push.d.mts.map +1 -1
- package/dist/actions/create-push.mjs +9 -9
- package/dist/actions/create-push.mjs.map +1 -1
- package/dist/actions/delete-all-pushes.cjs +1 -1
- package/dist/actions/delete-all-pushes.cjs.map +1 -1
- package/dist/actions/delete-all-pushes.d.cts +3 -3
- package/dist/actions/delete-all-pushes.d.cts.map +1 -1
- package/dist/actions/delete-all-pushes.d.mts +3 -3
- package/dist/actions/delete-all-pushes.d.mts.map +1 -1
- package/dist/actions/delete-all-pushes.mjs +1 -1
- package/dist/actions/delete-all-pushes.mjs.map +1 -1
- package/dist/actions/delete-chat.cjs +1 -1
- package/dist/actions/delete-chat.cjs.map +1 -1
- package/dist/actions/delete-chat.d.cts +7 -3
- package/dist/actions/delete-chat.d.cts.map +1 -1
- package/dist/actions/delete-chat.d.mts +7 -3
- package/dist/actions/delete-chat.d.mts.map +1 -1
- package/dist/actions/delete-chat.mjs +1 -1
- package/dist/actions/delete-chat.mjs.map +1 -1
- package/dist/actions/delete-device.cjs +1 -1
- package/dist/actions/delete-device.cjs.map +1 -1
- package/dist/actions/delete-device.d.cts +7 -3
- package/dist/actions/delete-device.d.cts.map +1 -1
- package/dist/actions/delete-device.d.mts +7 -3
- package/dist/actions/delete-device.d.mts.map +1 -1
- package/dist/actions/delete-device.mjs +1 -1
- package/dist/actions/delete-device.mjs.map +1 -1
- package/dist/actions/delete-push.cjs +1 -1
- package/dist/actions/delete-push.cjs.map +1 -1
- package/dist/actions/delete-push.d.cts +7 -3
- package/dist/actions/delete-push.d.cts.map +1 -1
- package/dist/actions/delete-push.d.mts +7 -3
- package/dist/actions/delete-push.d.mts.map +1 -1
- package/dist/actions/delete-push.mjs +1 -1
- package/dist/actions/delete-push.mjs.map +1 -1
- package/dist/actions/get-user.cjs +9 -9
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +14 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +14 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +9 -9
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-chats.cjs +7 -7
- package/dist/actions/list-chats.cjs.map +1 -1
- package/dist/actions/list-chats.d.cts +29 -3
- package/dist/actions/list-chats.d.cts.map +1 -1
- package/dist/actions/list-chats.d.mts +29 -3
- package/dist/actions/list-chats.d.mts.map +1 -1
- package/dist/actions/list-chats.mjs +7 -7
- package/dist/actions/list-chats.mjs.map +1 -1
- package/dist/actions/list-devices.cjs +8 -8
- package/dist/actions/list-devices.cjs.map +1 -1
- package/dist/actions/list-devices.d.cts +23 -3
- package/dist/actions/list-devices.d.cts.map +1 -1
- package/dist/actions/list-devices.d.mts +23 -3
- package/dist/actions/list-devices.d.mts.map +1 -1
- package/dist/actions/list-devices.mjs +8 -8
- package/dist/actions/list-devices.mjs.map +1 -1
- package/dist/actions/list-pushes.cjs +7 -7
- package/dist/actions/list-pushes.cjs.map +1 -1
- package/dist/actions/list-pushes.d.cts +37 -3
- package/dist/actions/list-pushes.d.cts.map +1 -1
- package/dist/actions/list-pushes.d.mts +37 -3
- package/dist/actions/list-pushes.d.mts.map +1 -1
- package/dist/actions/list-pushes.mjs +7 -7
- package/dist/actions/list-pushes.mjs.map +1 -1
- package/dist/actions/update-chat.cjs +11 -11
- package/dist/actions/update-chat.cjs.map +1 -1
- package/dist/actions/update-chat.d.cts +26 -3
- package/dist/actions/update-chat.d.cts.map +1 -1
- package/dist/actions/update-chat.d.mts +26 -3
- package/dist/actions/update-chat.d.mts.map +1 -1
- package/dist/actions/update-chat.mjs +11 -11
- package/dist/actions/update-chat.mjs.map +1 -1
- package/dist/actions/update-device.cjs +5 -5
- package/dist/actions/update-device.cjs.map +1 -1
- package/dist/actions/update-device.d.cts +49 -3
- package/dist/actions/update-device.d.cts.map +1 -1
- package/dist/actions/update-device.d.mts +49 -3
- package/dist/actions/update-device.d.mts.map +1 -1
- package/dist/actions/update-device.mjs +5 -5
- package/dist/actions/update-device.mjs.map +1 -1
- package/dist/actions/update-push.cjs +9 -9
- package/dist/actions/update-push.cjs.map +1 -1
- package/dist/actions/update-push.d.cts +43 -3
- package/dist/actions/update-push.d.cts.map +1 -1
- package/dist/actions/update-push.d.mts +43 -3
- package/dist/actions/update-push.d.mts.map +1 -1
- package/dist/actions/update-push.mjs +9 -9
- package/dist/actions/update-push.mjs.map +1 -1
- package/dist/actions/upload-request.cjs +5 -5
- package/dist/actions/upload-request.cjs.map +1 -1
- package/dist/actions/upload-request.d.cts +22 -3
- package/dist/actions/upload-request.d.cts.map +1 -1
- package/dist/actions/upload-request.d.mts +22 -3
- package/dist/actions/upload-request.d.mts.map +1 -1
- package/dist/actions/upload-request.mjs +5 -5
- package/dist/actions/upload-request.mjs.map +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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
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: z.ZodType;\n },\n) {\n return pushbullet.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePushbulletTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
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: z.ZodType;\n },\n) {\n return pushbullet.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePushbulletTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,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"}
|
|
@@ -5,19 +5,19 @@ const PushbulletCreateChatInput = zod.z.object({ email: zod.z.string().describe(
|
|
|
5
5
|
const PushbulletCreateChat_ChatWithSchema = zod.z.object({
|
|
6
6
|
iden: zod.z.string().describe("User iden if this is a Pushbullet user.").nullable().optional(),
|
|
7
7
|
name: zod.z.string().describe("Name of the person, if known.").nullable().optional(),
|
|
8
|
-
type: zod.z.enum(["email", "user"]).describe("Type of chat target: 'email' or 'user'."),
|
|
9
|
-
email: zod.z.string().describe("Email address of the person."),
|
|
8
|
+
type: zod.z.enum(["email", "user"]).describe("Type of chat target: 'email' or 'user'.").nullable(),
|
|
9
|
+
email: zod.z.string().describe("Email address of the person.").nullable(),
|
|
10
10
|
image_url: zod.z.string().describe("Image URL for the person.").nullable().optional(),
|
|
11
|
-
email_normalized: zod.z.string().describe("Canonical email address of the person.")
|
|
12
|
-
}).describe("Information about the user or email that the chat is with.");
|
|
11
|
+
email_normalized: zod.z.string().describe("Canonical email address of the person.").nullable()
|
|
12
|
+
}).passthrough().describe("Information about the user or email that the chat is with.");
|
|
13
13
|
const PushbulletCreateChatOutput = zod.z.object({
|
|
14
|
-
iden: zod.z.string().describe("Unique identifier for the chat."),
|
|
14
|
+
iden: zod.z.string().describe("Unique identifier for the chat.").nullable(),
|
|
15
15
|
"with": PushbulletCreateChat_ChatWithSchema.nullable(),
|
|
16
16
|
muted: zod.z.boolean().describe("True if notifications from this chat are muted.").nullable().optional(),
|
|
17
|
-
active: zod.z.boolean().describe("False if the chat has been deleted."),
|
|
18
|
-
created: zod.z.number().describe("Creation time as Unix timestamp."),
|
|
19
|
-
modified: zod.z.number().describe("Last modified time as Unix timestamp.")
|
|
20
|
-
}).describe("Response schema for creating a new Pushbullet chat.");
|
|
17
|
+
active: zod.z.boolean().describe("False if the chat has been deleted.").nullable(),
|
|
18
|
+
created: zod.z.number().describe("Creation time as Unix timestamp.").nullable(),
|
|
19
|
+
modified: zod.z.number().describe("Last modified time as Unix timestamp.").nullable()
|
|
20
|
+
}).passthrough().describe("Response schema for creating a new Pushbullet chat.");
|
|
21
21
|
const pushbulletCreateChat = require_action.action("PUSHBULLET_CREATE_CHAT", {
|
|
22
22
|
slug: "pushbullet-create-chat",
|
|
23
23
|
name: "Create Chat",
|
|
@@ -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
|
|
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":";;;AAIA,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,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC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6
|
-
|
|
4
|
+
declare const PushbulletCreateChatInput: z.ZodObject<{
|
|
5
|
+
email: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PushbulletCreateChatOutput: z.ZodObject<{
|
|
8
|
+
iden: z.ZodNullable<z.ZodString>;
|
|
9
|
+
with: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
type: z.ZodNullable<z.ZodEnum<{
|
|
13
|
+
user: "user";
|
|
14
|
+
email: "email";
|
|
15
|
+
}>>;
|
|
16
|
+
email: z.ZodNullable<z.ZodString>;
|
|
17
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
email_normalized: z.ZodNullable<z.ZodString>;
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
muted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
22
|
+
created: z.ZodNullable<z.ZodNumber>;
|
|
23
|
+
modified: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
|
+
declare const pushbulletCreateChat: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
|
+
email: string;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { pushbulletCreateChat };
|
|
9
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":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"create-chat.d.cts","names":[],"sources":["../../src/actions/create-chat.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAWzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-chat.d.ts
|
|
4
|
-
declare const PushbulletCreateChatInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PushbulletCreateChatInput: z.ZodObject<{
|
|
5
|
+
email: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PushbulletCreateChatOutput: z.ZodObject<{
|
|
8
|
+
iden: z.ZodNullable<z.ZodString>;
|
|
9
|
+
with: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
type: z.ZodNullable<z.ZodEnum<{
|
|
13
|
+
user: "user";
|
|
14
|
+
email: "email";
|
|
15
|
+
}>>;
|
|
16
|
+
email: z.ZodNullable<z.ZodString>;
|
|
17
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
email_normalized: z.ZodNullable<z.ZodString>;
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
muted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
22
|
+
created: z.ZodNullable<z.ZodNumber>;
|
|
23
|
+
modified: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
|
+
declare const pushbulletCreateChat: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
|
+
email: string;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { pushbulletCreateChat };
|
|
9
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":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"create-chat.d.mts","names":[],"sources":["../../src/actions/create-chat.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAWzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -5,24 +5,24 @@ const PushbulletCreateChatInput = z.object({ email: z.string().describe("Email o
|
|
|
5
5
|
const PushbulletCreateChat_ChatWithSchema = z.object({
|
|
6
6
|
iden: z.string().describe("User iden if this is a Pushbullet user.").nullable().optional(),
|
|
7
7
|
name: z.string().describe("Name of the person, if known.").nullable().optional(),
|
|
8
|
-
type: z.enum(["email", "user"]).describe("Type of chat target: 'email' or 'user'."),
|
|
9
|
-
email: z.string().describe("Email address of the person."),
|
|
8
|
+
type: z.enum(["email", "user"]).describe("Type of chat target: 'email' or 'user'.").nullable(),
|
|
9
|
+
email: z.string().describe("Email address of the person.").nullable(),
|
|
10
10
|
image_url: z.string().describe("Image URL for the person.").nullable().optional(),
|
|
11
|
-
email_normalized: z.string().describe("Canonical email address of the person.")
|
|
12
|
-
}).describe("Information about the user or email that the chat is with.");
|
|
11
|
+
email_normalized: z.string().describe("Canonical email address of the person.").nullable()
|
|
12
|
+
}).passthrough().describe("Information about the user or email that the chat is with.");
|
|
13
13
|
const pushbulletCreateChat = action("PUSHBULLET_CREATE_CHAT", {
|
|
14
14
|
slug: "pushbullet-create-chat",
|
|
15
15
|
name: "Create Chat",
|
|
16
16
|
description: "Tool to create a new chat with the specified email address. Use when you need to initiate a conversation thread by email.",
|
|
17
17
|
input: PushbulletCreateChatInput,
|
|
18
18
|
output: z.object({
|
|
19
|
-
iden: z.string().describe("Unique identifier for the chat."),
|
|
19
|
+
iden: z.string().describe("Unique identifier for the chat.").nullable(),
|
|
20
20
|
"with": PushbulletCreateChat_ChatWithSchema.nullable(),
|
|
21
21
|
muted: z.boolean().describe("True if notifications from this chat are muted.").nullable().optional(),
|
|
22
|
-
active: z.boolean().describe("False if the chat has been deleted."),
|
|
23
|
-
created: z.number().describe("Creation time as Unix timestamp."),
|
|
24
|
-
modified: z.number().describe("Last modified time as Unix timestamp.")
|
|
25
|
-
}).describe("Response schema for creating a new Pushbullet chat.")
|
|
22
|
+
active: z.boolean().describe("False if the chat has been deleted.").nullable(),
|
|
23
|
+
created: z.number().describe("Creation time as Unix timestamp.").nullable(),
|
|
24
|
+
modified: z.number().describe("Last modified time as Unix timestamp.").nullable()
|
|
25
|
+
}).passthrough().describe("Response schema for creating a new Pushbullet chat.")
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
28
28
|
export { pushbulletCreateChat };
|
|
@@ -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
|
|
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":";;;AAIA,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,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtE,QAAQ,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,qDAOhB;AACV,CAAC"}
|
|
@@ -38,7 +38,7 @@ const PushbulletCreateDeviceOutput = zod.z.object({
|
|
|
38
38
|
manufacturer: zod.z.string().describe("Manufacturer of the device").nullable().optional(),
|
|
39
39
|
key_fingerprint: zod.z.string().describe("Encryption key fingerprint").nullable().optional(),
|
|
40
40
|
generated_nickname: zod.z.boolean().describe("True if nickname was auto-generated from manufacturer and model").nullable().optional()
|
|
41
|
-
}).describe("Device object returned after creating a new device via Pushbullet.");
|
|
41
|
+
}).passthrough().describe("Device object returned after creating a new device via Pushbullet.");
|
|
42
42
|
const pushbulletCreateDevice = require_action.action("PUSHBULLET_CREATE_DEVICE", {
|
|
43
43
|
slug: "pushbullet-create-device",
|
|
44
44
|
name: "Register Device",
|
|
@@ -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
|
|
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":";;;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,yDAAyD,CAAC,CAAC,SAAS;CACpL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAChD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AAChE,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAA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AS;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,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,53 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-device.d.ts
|
|
4
|
-
declare const PushbulletCreateDeviceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PushbulletCreateDeviceInput: 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
|
+
model: z.ZodString;
|
|
17
|
+
has_sms: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
nickname: z.ZodString;
|
|
19
|
+
push_token: z.ZodOptional<z.ZodString>;
|
|
20
|
+
app_version: z.ZodNumber;
|
|
21
|
+
manufacturer: z.ZodString;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const PushbulletCreateDeviceOutput: z.ZodObject<{
|
|
24
|
+
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
30
|
+
created: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
|
+
has_sms: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
32
|
+
modified: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
|
+
nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
pushable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
35
|
+
push_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
app_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
+
fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
manufacturer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
key_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
generated_nickname: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
41
|
+
}, z.core.$loose>;
|
|
42
|
+
declare const pushbulletCreateDevice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
51
|
//#endregion
|
|
8
52
|
export { pushbulletCreateDevice };
|
|
9
53
|
//# sourceMappingURL=create-device.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-device.d.cts","names":[],"sources":["../../src/actions/create-device.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"create-device.d.cts","names":[],"sources":["../../src/actions/create-device.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAS3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoB5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,53 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-device.d.ts
|
|
4
|
-
declare const PushbulletCreateDeviceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PushbulletCreateDeviceInput: 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
|
+
model: z.ZodString;
|
|
17
|
+
has_sms: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
nickname: z.ZodString;
|
|
19
|
+
push_token: z.ZodOptional<z.ZodString>;
|
|
20
|
+
app_version: z.ZodNumber;
|
|
21
|
+
manufacturer: z.ZodString;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const PushbulletCreateDeviceOutput: z.ZodObject<{
|
|
24
|
+
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
30
|
+
created: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
|
+
has_sms: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
32
|
+
modified: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
|
+
nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
pushable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
35
|
+
push_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
app_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
+
fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
manufacturer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
key_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
generated_nickname: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
41
|
+
}, z.core.$loose>;
|
|
42
|
+
declare const pushbulletCreateDevice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
51
|
//#endregion
|
|
8
52
|
export { pushbulletCreateDevice };
|
|
9
53
|
//# sourceMappingURL=create-device.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-device.d.mts","names":[],"sources":["../../src/actions/create-device.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"create-device.d.mts","names":[],"sources":["../../src/actions/create-device.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAS3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoB5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -41,7 +41,7 @@ const pushbulletCreateDevice = action("PUSHBULLET_CREATE_DEVICE", {
|
|
|
41
41
|
manufacturer: z.string().describe("Manufacturer of the device").nullable().optional(),
|
|
42
42
|
key_fingerprint: z.string().describe("Encryption key fingerprint").nullable().optional(),
|
|
43
43
|
generated_nickname: z.boolean().describe("True if nickname was auto-generated from manufacturer and model").nullable().optional()
|
|
44
|
-
}).describe("Device object returned after creating a new device via Pushbullet.")
|
|
44
|
+
}).passthrough().describe("Device object returned after creating a new device via Pushbullet.")
|
|
45
45
|
});
|
|
46
46
|
//#endregion
|
|
47
47
|
export { pushbulletCreateDevice };
|
|
@@ -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
|
|
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":";;AAiCA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,M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AS,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAOhB;AACV,CAAC"}
|
|
@@ -23,26 +23,26 @@ const PushbulletCreatePushInput = zod.z.object({
|
|
|
23
23
|
const PushbulletCreatePushOutput = zod.z.object({
|
|
24
24
|
url: zod.z.string().describe("URL for link pushes.").nullable().optional(),
|
|
25
25
|
body: zod.z.string().describe("Body of the push (if provided).").nullable().optional(),
|
|
26
|
-
iden: zod.z.string().describe("Unique identifier for the push."),
|
|
26
|
+
iden: zod.z.string().describe("Unique identifier for the push.").nullable(),
|
|
27
27
|
type: zod.z.enum([
|
|
28
28
|
"note",
|
|
29
29
|
"link",
|
|
30
30
|
"file"
|
|
31
|
-
]).describe("Type of the push."),
|
|
31
|
+
]).describe("Type of the push.").nullable(),
|
|
32
32
|
title: zod.z.string().describe("Title of the push (if provided).").nullable().optional(),
|
|
33
|
-
active: zod.z.boolean().describe("True if the push is active."),
|
|
34
|
-
created: zod.z.number().describe("Creation timestamp (seconds since epoch)."),
|
|
33
|
+
active: zod.z.boolean().describe("True if the push is active.").nullable(),
|
|
34
|
+
created: zod.z.number().describe("Creation timestamp (seconds since epoch).").nullable(),
|
|
35
35
|
file_url: zod.z.string().describe("URL of file for file pushes.").nullable().optional(),
|
|
36
|
-
modified: zod.z.number().describe("Last modified timestamp (seconds since epoch)."),
|
|
36
|
+
modified: zod.z.number().describe("Last modified timestamp (seconds since epoch).").nullable(),
|
|
37
37
|
file_name: zod.z.string().describe("Filename for file pushes.").nullable().optional(),
|
|
38
38
|
file_type: zod.z.string().describe("MIME type for file pushes.").nullable().optional(),
|
|
39
39
|
sender_iden: zod.z.string().describe("Identifier of the sender.").nullable().optional(),
|
|
40
40
|
sender_email: zod.z.string().describe("Email of the sender.").nullable().optional(),
|
|
41
|
-
receiver_iden: zod.z.string().describe("Identifier of the receiver."),
|
|
42
|
-
receiver_email: zod.z.string().describe("Email of the receiver."),
|
|
41
|
+
receiver_iden: zod.z.string().describe("Identifier of the receiver.").nullable(),
|
|
42
|
+
receiver_email: zod.z.string().describe("Email of the receiver.").nullable(),
|
|
43
43
|
sender_email_normalized: zod.z.string().describe("Normalized sender email.").nullable().optional(),
|
|
44
|
-
receiver_email_normalized: zod.z.string().describe("Normalized receiver email.")
|
|
45
|
-
}).describe("Response model for created push.");
|
|
44
|
+
receiver_email_normalized: zod.z.string().describe("Normalized receiver email.").nullable()
|
|
45
|
+
}).passthrough().describe("Response model for created push.");
|
|
46
46
|
const pushbulletCreatePush = require_action.action("PUSHBULLET_CREATE_PUSH", {
|
|
47
47
|
slug: "pushbullet-create-push",
|
|
48
48
|
name: "Create Push",
|
|
@@ -1 +1 @@
|
|
|
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
|
|
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":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;CAAM,CAAC,CAAC,CAAC,SAAS,kDAAkD;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;C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
//#region src/actions/create-push.d.ts
|
|
4
|
-
declare const PushbulletCreatePushInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PushbulletCreatePushInput: z.ZodObject<{
|
|
5
|
+
url: z.ZodOptional<z.ZodString>;
|
|
6
|
+
body: z.ZodOptional<z.ZodString>;
|
|
7
|
+
guid: z.ZodOptional<z.ZodString>;
|
|
8
|
+
type: z.ZodEnum<{
|
|
9
|
+
file: "file";
|
|
10
|
+
link: "link";
|
|
11
|
+
note: "note";
|
|
12
|
+
}>;
|
|
13
|
+
email: z.ZodOptional<z.ZodString>;
|
|
14
|
+
title: z.ZodOptional<z.ZodString>;
|
|
15
|
+
file_url: z.ZodOptional<z.ZodString>;
|
|
16
|
+
file_name: z.ZodOptional<z.ZodString>;
|
|
17
|
+
file_type: z.ZodOptional<z.ZodString>;
|
|
18
|
+
channel_tag: z.ZodOptional<z.ZodString>;
|
|
19
|
+
client_iden: z.ZodOptional<z.ZodString>;
|
|
20
|
+
device_iden: z.ZodOptional<z.ZodString>;
|
|
21
|
+
source_device_iden: z.ZodOptional<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const PushbulletCreatePushOutput: z.ZodObject<{
|
|
24
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
iden: z.ZodNullable<z.ZodString>;
|
|
27
|
+
type: z.ZodNullable<z.ZodEnum<{
|
|
28
|
+
file: "file";
|
|
29
|
+
link: "link";
|
|
30
|
+
note: "note";
|
|
31
|
+
}>>;
|
|
32
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
34
|
+
created: z.ZodNullable<z.ZodNumber>;
|
|
35
|
+
file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
modified: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
file_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
file_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
sender_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
sender_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
receiver_iden: z.ZodNullable<z.ZodString>;
|
|
42
|
+
receiver_email: z.ZodNullable<z.ZodString>;
|
|
43
|
+
sender_email_normalized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
receiver_email_normalized: z.ZodNullable<z.ZodString>;
|
|
45
|
+
}, z.core.$loose>;
|
|
46
|
+
declare const pushbulletCreatePush: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
61
|
//#endregion
|
|
8
62
|
export { pushbulletCreatePush };
|
|
9
63
|
//# sourceMappingURL=create-push.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-push.d.cts","names":[],"sources":["../../src/actions/create-push.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"create-push.d.cts","names":[],"sources":["../../src/actions/create-push.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAezB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAoB1B,oBAAA,gCAAoB,wBAAA"}
|