@keystrokehq/pushbullet 0.1.0 → 0.1.2
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 +7 -7
- 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 +7 -7
- package/dist/actions/create-chat.mjs.map +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.map +1 -1
- package/dist/actions/create-push.cjs +8 -8
- 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 +8 -8
- package/dist/actions/create-push.mjs.map +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.map +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.map +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.map +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.map +1 -1
- package/dist/actions/get-user.cjs +8 -8
- 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 +8 -8
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-chats.cjs +4 -4
- 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 +4 -4
- package/dist/actions/list-chats.mjs.map +1 -1
- package/dist/actions/list-devices.cjs +6 -6
- 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 +6 -6
- package/dist/actions/list-devices.mjs.map +1 -1
- package/dist/actions/list-pushes.cjs +5 -5
- 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 +5 -5
- package/dist/actions/list-pushes.mjs.map +1 -1
- package/dist/actions/update-chat.cjs +9 -9
- 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 +9 -9
- package/dist/actions/update-chat.mjs.map +1 -1
- package/dist/actions/update-device.cjs +4 -4
- 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 +4 -4
- package/dist/actions/update-device.mjs.map +1 -1
- package/dist/actions/update-push.cjs +7 -7
- package/dist/actions/update-push.cjs.map +1 -1
- package/dist/actions/update-push.d.cts +42 -3
- package/dist/actions/update-push.d.cts.map +1 -1
- package/dist/actions/update-push.d.mts +42 -3
- package/dist/actions/update-push.d.mts.map +1 -1
- package/dist/actions/update-push.mjs +7 -7
- package/dist/actions/update-push.mjs.map +1 -1
- package/dist/actions/upload-request.cjs +4 -4
- 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 +4 -4
- package/dist/actions/upload-request.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-chat.d.ts
|
|
4
|
-
declare const PushbulletUpdateChatInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PushbulletUpdateChatInput: z.ZodObject<{
|
|
5
|
+
iden: z.ZodString;
|
|
6
|
+
muted: z.ZodBoolean;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PushbulletUpdateChatOutput: z.ZodObject<{
|
|
9
|
+
iden: z.ZodNullable<z.ZodString>;
|
|
10
|
+
with: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
iden: z.ZodNullable<z.ZodString>;
|
|
12
|
+
name: z.ZodNullable<z.ZodString>;
|
|
13
|
+
type: z.ZodNullable<z.ZodEnum<{
|
|
14
|
+
user: "user";
|
|
15
|
+
email: "email";
|
|
16
|
+
}>>;
|
|
17
|
+
email: z.ZodNullable<z.ZodString>;
|
|
18
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
email_normalized: z.ZodNullable<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
muted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
23
|
+
created: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
modified: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
declare const pushbulletUpdateChat: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
|
+
iden: string;
|
|
28
|
+
muted: boolean;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { pushbulletUpdateChat };
|
|
9
32
|
//# sourceMappingURL=update-chat.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-chat.d.mts","names":[],"sources":["../../src/actions/update-chat.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"update-chat.d.mts","names":[],"sources":["../../src/actions/update-chat.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -6,12 +6,12 @@ const PushbulletUpdateChatInput = z.object({
|
|
|
6
6
|
muted: z.boolean().describe("True to mute notifications for this chat, false to unmute")
|
|
7
7
|
}).describe("Request model for muting or unmuting a chat by its identifier.");
|
|
8
8
|
const PushbulletUpdateChat_ChatWithModelSchema = z.object({
|
|
9
|
-
iden: z.string().describe("Identifier of the chat participant"),
|
|
10
|
-
name: z.string().describe("Display name of the chat participant"),
|
|
11
|
-
type: z.enum(["email", "user"]).describe("Type of chat participant: 'email' or 'user'"),
|
|
12
|
-
email: z.string().describe("Email address of the chat participant"),
|
|
9
|
+
iden: z.string().describe("Identifier of the chat participant").nullable(),
|
|
10
|
+
name: z.string().describe("Display name of the chat participant").nullable(),
|
|
11
|
+
type: z.enum(["email", "user"]).describe("Type of chat participant: 'email' or 'user'").nullable(),
|
|
12
|
+
email: z.string().describe("Email address of the chat participant").nullable(),
|
|
13
13
|
image_url: z.string().describe("URL of the participant's avatar image").nullable().optional(),
|
|
14
|
-
email_normalized: z.string().describe("Canonical email address of the chat participant")
|
|
14
|
+
email_normalized: z.string().describe("Canonical email address of the chat participant").nullable()
|
|
15
15
|
}).describe("Information about the other participant in the chat.");
|
|
16
16
|
const pushbulletUpdateChat = action("PUSHBULLET_UPDATE_CHAT", {
|
|
17
17
|
slug: "pushbullet-update-chat",
|
|
@@ -19,12 +19,12 @@ const pushbulletUpdateChat = action("PUSHBULLET_UPDATE_CHAT", {
|
|
|
19
19
|
description: "Tool to mute or unmute an existing chat. Use when adjusting notification settings for a specific chat by its identifier.",
|
|
20
20
|
input: PushbulletUpdateChatInput,
|
|
21
21
|
output: z.object({
|
|
22
|
-
iden: z.string().describe("Unique identifier for this chat"),
|
|
22
|
+
iden: z.string().describe("Unique identifier for this chat").nullable(),
|
|
23
23
|
"with": PushbulletUpdateChat_ChatWithModelSchema.nullable(),
|
|
24
24
|
muted: z.boolean().describe("True if the chat is muted").nullable().optional(),
|
|
25
|
-
active: z.boolean().describe("False if the chat has been deleted"),
|
|
26
|
-
created: z.number().describe("Creation time in floating point seconds (Unix timestamp)"),
|
|
27
|
-
modified: z.number().describe("Last modified time in floating point seconds (Unix timestamp)")
|
|
25
|
+
active: z.boolean().describe("False if the chat has been deleted").nullable(),
|
|
26
|
+
created: z.number().describe("Creation time in floating point seconds (Unix timestamp)").nullable(),
|
|
27
|
+
modified: z.number().describe("Last modified time in floating point seconds (Unix timestamp)").nullable()
|
|
28
28
|
}).describe("Response model representing the updated chat object.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-chat.mjs","names":[],"sources":["../../src/actions/update-chat.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdateChatInput
|
|
1
|
+
{"version":3,"file":"update-chat.mjs","names":[],"sources":["../../src/actions/update-chat.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdateChatInput = z.object({\n iden: z.string().describe(\"Unique identifier of the chat to update\"),\n muted: z.boolean().describe(\"True to mute notifications for this chat, false to unmute\"),\n}).describe(\"Request model for muting or unmuting a chat by its identifier.\");\nconst PushbulletUpdateChat_ChatWithModelSchema = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\").nullable(),\n name: z.string().describe(\"Display name of the chat participant\").nullable(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of chat participant: 'email' or 'user'\").nullable(),\n email: z.string().describe(\"Email address of the chat participant\").nullable(),\n image_url: z.string().describe(\"URL of the participant's avatar image\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the chat participant\").nullable(),\n}).describe(\"Information about the other participant in the chat.\");\nexport const PushbulletUpdateChatOutput = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\").nullable(),\n \"with\": PushbulletUpdateChat_ChatWithModelSchema.nullable(),\n muted: z.boolean().describe(\"True if the chat is muted\").nullable().optional(),\n active: z.boolean().describe(\"False if the chat has been deleted\").nullable(),\n created: z.number().describe(\"Creation time in floating point seconds (Unix timestamp)\").nullable(),\n modified: z.number().describe(\"Last modified time in floating point seconds (Unix timestamp)\").nullable(),\n}).describe(\"Response model representing the updated chat object.\");\n\nexport const pushbulletUpdateChat = action(\"PUSHBULLET_UPDATE_CHAT\", {\n slug: \"pushbullet-update-chat\",\n name: \"Mute or Unmute Chat\",\n description: \"Tool to mute or unmute an existing chat. Use when adjusting notification settings for a specific chat by its identifier.\",\n input: PushbulletUpdateChatInput,\n output: PushbulletUpdateChatOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D;AACzF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,KAAK,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAUlE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACtE,QAAQ,yCAAyC,SAAS;EAC1D,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAClG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
|
|
@@ -23,14 +23,14 @@ const PushbulletUpdateDeviceInput = zod.z.object({
|
|
|
23
23
|
}).describe("Request parameters for updating an existing Pushbullet device.");
|
|
24
24
|
const PushbulletUpdateDeviceOutput = zod.z.object({
|
|
25
25
|
icon: zod.z.string().describe("Icon string for the device.").nullable().optional(),
|
|
26
|
-
iden: zod.z.string().describe("Unique identifier for the device."),
|
|
26
|
+
iden: zod.z.string().describe("Unique identifier for the device.").nullable(),
|
|
27
27
|
kind: zod.z.string().describe("Deprecated device kind field.").nullable().optional(),
|
|
28
28
|
type: zod.z.string().describe("Deprecated device type field.").nullable().optional(),
|
|
29
29
|
model: zod.z.string().describe("Model of the device.").nullable().optional(),
|
|
30
|
-
active: zod.z.boolean().describe("True if the device is active."),
|
|
31
|
-
created: zod.z.number().describe("Creation timestamp (UNIX time in seconds)."),
|
|
30
|
+
active: zod.z.boolean().describe("True if the device is active.").nullable(),
|
|
31
|
+
created: zod.z.number().describe("Creation timestamp (UNIX time in seconds).").nullable(),
|
|
32
32
|
has_sms: zod.z.boolean().describe("True if device supports SMS.").nullable().optional(),
|
|
33
|
-
modified: zod.z.number().describe("Last modified timestamp (UNIX time in seconds)."),
|
|
33
|
+
modified: zod.z.number().describe("Last modified timestamp (UNIX time in seconds).").nullable(),
|
|
34
34
|
nickname: zod.z.string().describe("Display name of the device.").nullable().optional(),
|
|
35
35
|
pushable: zod.z.boolean().describe("Deprecated pushable field.").nullable().optional(),
|
|
36
36
|
push_token: zod.z.string().describe("Platform-specific push token for notifications.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-device.cjs","names":["z","action"],"sources":["../../src/actions/update-device.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdateDeviceInput
|
|
1
|
+
{"version":3,"file":"update-device.cjs","names":["z","action"],"sources":["../../src/actions/update-device.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdateDeviceInput = z.object({\n icon: z.enum([\"desktop\", \"browser\", \"website\", \"laptop\", \"tablet\", \"phone\", \"watch\", \"system\", \"ios\"]).describe(\"Icon for the device. Common values: desktop, laptop, tablet, phone, watch, system, ios.\").optional(),\n iden: z.string().describe(\"Identifier of the device to update.\"),\n model: z.string().describe(\"Model of the device.\").optional(),\n has_sms: z.boolean().describe(\"Whether the device supports SMS (Android only).\").optional(),\n nickname: z.string().describe(\"New display name for the device.\").optional(),\n push_token: z.string().describe(\"Platform-specific push token. Leave blank for custom or listening devices.\").optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet app installed on the device (non-negative).\").optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").optional(),\n}).describe(\"Request parameters for updating an existing Pushbullet device.\");\nexport const PushbulletUpdateDeviceOutput = z.object({\n icon: z.string().describe(\"Icon string for the device.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the device.\").nullable(),\n kind: z.string().describe(\"Deprecated device kind field.\").nullable().optional(),\n type: z.string().describe(\"Deprecated device type field.\").nullable().optional(),\n model: z.string().describe(\"Model of the device.\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp (UNIX time in seconds).\").nullable(),\n has_sms: z.boolean().describe(\"True if device supports SMS.\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (UNIX time in seconds).\").nullable(),\n nickname: z.string().describe(\"Display name of the device.\").nullable().optional(),\n pushable: z.boolean().describe(\"Deprecated pushable field.\").nullable().optional(),\n push_token: z.string().describe(\"Platform-specific push token for notifications.\").nullable().optional(),\n app_version: z.number().int().describe(\"App version installed on the device.\").nullable().optional(),\n fingerprint: z.string().describe(\"Platform-specific fingerprint.\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Encryption key fingerprint.\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated.\").nullable().optional(),\n}).describe(\"Response schema for an updated Pushbullet device.\");\n\nexport const pushbulletUpdateDevice = action(\"PUSHBULLET_UPDATE_DEVICE\", {\n slug: \"pushbullet-update-device\",\n name: \"Update Device\",\n description: \"Tool to update metadata for a device by its identifier. Use when changing a device's nickname, model, or other settings.\",\n input: PushbulletUpdateDeviceInput,\n output: PushbulletUpdateDeviceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAW;EAAW;EAAU;EAAU;EAAS;EAAS;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACpN,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CA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AAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,55 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-device.d.ts
|
|
4
|
-
declare const PushbulletUpdateDeviceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PushbulletUpdateDeviceInput: z.ZodObject<{
|
|
5
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
6
|
+
desktop: "desktop";
|
|
7
|
+
browser: "browser";
|
|
8
|
+
website: "website";
|
|
9
|
+
laptop: "laptop";
|
|
10
|
+
tablet: "tablet";
|
|
11
|
+
phone: "phone";
|
|
12
|
+
watch: "watch";
|
|
13
|
+
system: "system";
|
|
14
|
+
ios: "ios";
|
|
15
|
+
}>>;
|
|
16
|
+
iden: z.ZodString;
|
|
17
|
+
model: z.ZodOptional<z.ZodString>;
|
|
18
|
+
has_sms: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
+
nickname: z.ZodOptional<z.ZodString>;
|
|
20
|
+
push_token: z.ZodOptional<z.ZodString>;
|
|
21
|
+
app_version: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
manufacturer: z.ZodOptional<z.ZodString>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
declare const PushbulletUpdateDeviceOutput: z.ZodObject<{
|
|
25
|
+
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
iden: z.ZodNullable<z.ZodString>;
|
|
27
|
+
kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
31
|
+
created: z.ZodNullable<z.ZodNumber>;
|
|
32
|
+
has_sms: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
33
|
+
modified: z.ZodNullable<z.ZodNumber>;
|
|
34
|
+
nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
pushable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
36
|
+
push_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
app_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
+
fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
manufacturer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
key_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
generated_nickname: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
declare const pushbulletUpdateDevice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
44
|
+
iden: string;
|
|
45
|
+
icon?: "desktop" | "browser" | "website" | "laptop" | "tablet" | "phone" | "watch" | "system" | "ios" | undefined;
|
|
46
|
+
model?: string | undefined;
|
|
47
|
+
has_sms?: boolean | undefined;
|
|
48
|
+
nickname?: string | undefined;
|
|
49
|
+
push_token?: string | undefined;
|
|
50
|
+
app_version?: number | undefined;
|
|
51
|
+
manufacturer?: string | undefined;
|
|
52
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
53
|
//#endregion
|
|
8
54
|
export { pushbulletUpdateDevice };
|
|
9
55
|
//# sourceMappingURL=update-device.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-device.d.cts","names":[],"sources":["../../src/actions/update-device.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"update-device.d.cts","names":[],"sources":["../../src/actions/update-device.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoB5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,55 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-device.d.ts
|
|
4
|
-
declare const PushbulletUpdateDeviceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PushbulletUpdateDeviceInput: z.ZodObject<{
|
|
5
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
6
|
+
desktop: "desktop";
|
|
7
|
+
browser: "browser";
|
|
8
|
+
website: "website";
|
|
9
|
+
laptop: "laptop";
|
|
10
|
+
tablet: "tablet";
|
|
11
|
+
phone: "phone";
|
|
12
|
+
watch: "watch";
|
|
13
|
+
system: "system";
|
|
14
|
+
ios: "ios";
|
|
15
|
+
}>>;
|
|
16
|
+
iden: z.ZodString;
|
|
17
|
+
model: z.ZodOptional<z.ZodString>;
|
|
18
|
+
has_sms: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
+
nickname: z.ZodOptional<z.ZodString>;
|
|
20
|
+
push_token: z.ZodOptional<z.ZodString>;
|
|
21
|
+
app_version: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
manufacturer: z.ZodOptional<z.ZodString>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
declare const PushbulletUpdateDeviceOutput: z.ZodObject<{
|
|
25
|
+
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
iden: z.ZodNullable<z.ZodString>;
|
|
27
|
+
kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
31
|
+
created: z.ZodNullable<z.ZodNumber>;
|
|
32
|
+
has_sms: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
33
|
+
modified: z.ZodNullable<z.ZodNumber>;
|
|
34
|
+
nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
pushable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
36
|
+
push_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
app_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
+
fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
manufacturer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
key_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
generated_nickname: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
declare const pushbulletUpdateDevice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
44
|
+
iden: string;
|
|
45
|
+
icon?: "desktop" | "browser" | "website" | "laptop" | "tablet" | "phone" | "watch" | "system" | "ios" | undefined;
|
|
46
|
+
model?: string | undefined;
|
|
47
|
+
has_sms?: boolean | undefined;
|
|
48
|
+
nickname?: string | undefined;
|
|
49
|
+
push_token?: string | undefined;
|
|
50
|
+
app_version?: number | undefined;
|
|
51
|
+
manufacturer?: string | undefined;
|
|
52
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
53
|
//#endregion
|
|
8
54
|
export { pushbulletUpdateDevice };
|
|
9
55
|
//# sourceMappingURL=update-device.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-device.d.mts","names":[],"sources":["../../src/actions/update-device.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"update-device.d.mts","names":[],"sources":["../../src/actions/update-device.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoB5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -26,14 +26,14 @@ const pushbulletUpdateDevice = action("PUSHBULLET_UPDATE_DEVICE", {
|
|
|
26
26
|
}).describe("Request parameters for updating an existing Pushbullet device."),
|
|
27
27
|
output: z.object({
|
|
28
28
|
icon: z.string().describe("Icon string for the device.").nullable().optional(),
|
|
29
|
-
iden: z.string().describe("Unique identifier for the device."),
|
|
29
|
+
iden: z.string().describe("Unique identifier for the device.").nullable(),
|
|
30
30
|
kind: z.string().describe("Deprecated device kind field.").nullable().optional(),
|
|
31
31
|
type: z.string().describe("Deprecated device type field.").nullable().optional(),
|
|
32
32
|
model: z.string().describe("Model of the device.").nullable().optional(),
|
|
33
|
-
active: z.boolean().describe("True if the device is active."),
|
|
34
|
-
created: z.number().describe("Creation timestamp (UNIX time in seconds)."),
|
|
33
|
+
active: z.boolean().describe("True if the device is active.").nullable(),
|
|
34
|
+
created: z.number().describe("Creation timestamp (UNIX time in seconds).").nullable(),
|
|
35
35
|
has_sms: z.boolean().describe("True if device supports SMS.").nullable().optional(),
|
|
36
|
-
modified: z.number().describe("Last modified timestamp (UNIX time in seconds)."),
|
|
36
|
+
modified: z.number().describe("Last modified timestamp (UNIX time in seconds).").nullable(),
|
|
37
37
|
nickname: z.string().describe("Display name of the device.").nullable().optional(),
|
|
38
38
|
pushable: z.boolean().describe("Deprecated pushable field.").nullable().optional(),
|
|
39
39
|
push_token: z.string().describe("Platform-specific push token for notifications.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-device.mjs","names":[],"sources":["../../src/actions/update-device.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdateDeviceInput
|
|
1
|
+
{"version":3,"file":"update-device.mjs","names":[],"sources":["../../src/actions/update-device.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdateDeviceInput = z.object({\n icon: z.enum([\"desktop\", \"browser\", \"website\", \"laptop\", \"tablet\", \"phone\", \"watch\", \"system\", \"ios\"]).describe(\"Icon for the device. Common values: desktop, laptop, tablet, phone, watch, system, ios.\").optional(),\n iden: z.string().describe(\"Identifier of the device to update.\"),\n model: z.string().describe(\"Model of the device.\").optional(),\n has_sms: z.boolean().describe(\"Whether the device supports SMS (Android only).\").optional(),\n nickname: z.string().describe(\"New display name for the device.\").optional(),\n push_token: z.string().describe(\"Platform-specific push token. Leave blank for custom or listening devices.\").optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet app installed on the device (non-negative).\").optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").optional(),\n}).describe(\"Request parameters for updating an existing Pushbullet device.\");\nexport const PushbulletUpdateDeviceOutput = z.object({\n icon: z.string().describe(\"Icon string for the device.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the device.\").nullable(),\n kind: z.string().describe(\"Deprecated device kind field.\").nullable().optional(),\n type: z.string().describe(\"Deprecated device type field.\").nullable().optional(),\n model: z.string().describe(\"Model of the device.\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp (UNIX time in seconds).\").nullable(),\n has_sms: z.boolean().describe(\"True if device supports SMS.\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (UNIX time in seconds).\").nullable(),\n nickname: z.string().describe(\"Display name of the device.\").nullable().optional(),\n pushable: z.boolean().describe(\"Deprecated pushable field.\").nullable().optional(),\n push_token: z.string().describe(\"Platform-specific push token for notifications.\").nullable().optional(),\n app_version: z.number().int().describe(\"App version installed on the device.\").nullable().optional(),\n fingerprint: z.string().describe(\"Platform-specific fingerprint.\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Encryption key fingerprint.\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated.\").nullable().optional(),\n}).describe(\"Response schema for an updated Pushbullet device.\");\n\nexport const pushbulletUpdateDevice = action(\"PUSHBULLET_UPDATE_DEVICE\", {\n slug: \"pushbullet-update-device\",\n name: \"Update Device\",\n description: \"Tool to update metadata for a device by its identifier. Use when changing a device's nickname, model, or other settings.\",\n input: PushbulletUpdateDeviceInput,\n output: PushbulletUpdateDeviceOutput,\n});\n"],"mappings":";;AAkCA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlCyC,EAAE,OAAO;EAClD,MAAM,EAAE,KAAK;GAAC;GAAW;GAAW;GAAW;GAAU;GAAU;GAAS;GAAS;GAAU;EAAK,CAAC,CAAC,CAAC,SAA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UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
|
|
@@ -12,15 +12,15 @@ const PushbulletUpdatePushInput = zod.z.object({
|
|
|
12
12
|
const PushbulletUpdatePushOutput = zod.z.object({
|
|
13
13
|
url: zod.z.string().describe("URL for link pushes (if any)").nullable().optional(),
|
|
14
14
|
body: zod.z.string().describe("Body text of the push (if any)").nullable().optional(),
|
|
15
|
-
iden: zod.z.string().describe("Unique identifier of the push"),
|
|
16
|
-
type: zod.z.string().describe("Type of the push (e.g., 'note', 'link', 'file', 'list')"),
|
|
15
|
+
iden: zod.z.string().describe("Unique identifier of the push").nullable(),
|
|
16
|
+
type: zod.z.string().describe("Type of the push (e.g., 'note', 'link', 'file', 'list')").nullable(),
|
|
17
17
|
title: zod.z.string().describe("Title of the push (if any)").nullable().optional(),
|
|
18
|
-
active: zod.z.boolean().describe("True if the push is active"),
|
|
19
|
-
created: zod.z.number().describe("Creation timestamp (seconds since epoch)"),
|
|
18
|
+
active: zod.z.boolean().describe("True if the push is active").nullable(),
|
|
19
|
+
created: zod.z.number().describe("Creation timestamp (seconds since epoch)").nullable(),
|
|
20
20
|
file_url: zod.z.string().describe("URL of the file for file pushes (if any)").nullable().optional(),
|
|
21
|
-
modified: zod.z.number().describe("Last modified timestamp (seconds since epoch)"),
|
|
22
|
-
direction: zod.z.string().describe("Direction of the push (e.g., 'self', 'incoming')"),
|
|
23
|
-
dismissed: zod.z.boolean().describe("True if the push has been dismissed"),
|
|
21
|
+
modified: zod.z.number().describe("Last modified timestamp (seconds since epoch)").nullable(),
|
|
22
|
+
direction: zod.z.string().describe("Direction of the push (e.g., 'self', 'incoming')").nullable(),
|
|
23
|
+
dismissed: zod.z.boolean().describe("True if the push has been dismissed").nullable(),
|
|
24
24
|
file_name: zod.z.string().describe("Filename for file pushes (if any)").nullable().optional(),
|
|
25
25
|
file_type: zod.z.string().describe("MIME type for file pushes (if any)").nullable().optional(),
|
|
26
26
|
image_url: zod.z.string().describe("URL of image previews (if any)").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-push.cjs","names":["z","action"],"sources":["../../src/actions/update-push.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdatePushInput
|
|
1
|
+
{"version":3,"file":"update-push.cjs","names":["z","action"],"sources":["../../src/actions/update-push.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdatePushInput = z.object({\n iden: z.string().describe(\"Unique identifier of the push to update\"),\n items: z.array(z.object({\n text: z.string().describe(\"Text of the list item\"),\n checked: z.boolean().describe(\"Whether the list item is checked\"),\n}).describe(\"Model for a single list item in a list-style push.\")).describe(\"List of items to update for list-style pushes\").optional(),\n dismissed: z.boolean().describe(\"Set to true to mark the push as dismissed (hides notifications)\").optional(),\n}).describe(\"Request model for updating an existing push.\");\nexport const PushbulletUpdatePushOutput = z.object({\n url: z.string().describe(\"URL for link pushes (if any)\").nullable().optional(),\n body: z.string().describe(\"Body text of the push (if any)\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier of the push\").nullable(),\n type: z.string().describe(\"Type of the push (e.g., 'note', 'link', 'file', 'list')\").nullable(),\n title: z.string().describe(\"Title of the push (if any)\").nullable().optional(),\n active: z.boolean().describe(\"True if the push is active\").nullable(),\n created: z.number().describe(\"Creation timestamp (seconds since epoch)\").nullable(),\n file_url: z.string().describe(\"URL of the file for file pushes (if any)\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (seconds since epoch)\").nullable(),\n direction: z.string().describe(\"Direction of the push (e.g., 'self', 'incoming')\").nullable(),\n dismissed: z.boolean().describe(\"True if the push has been dismissed\").nullable(),\n file_name: z.string().describe(\"Filename for file pushes (if any)\").nullable().optional(),\n file_type: z.string().describe(\"MIME type for file pushes (if any)\").nullable().optional(),\n image_url: z.string().describe(\"URL of image previews (if any)\").nullable().optional(),\n channel_tag: z.string().describe(\"Channel tag for channel pushes\").nullable().optional(),\n client_iden: z.string().describe(\"Identifier of the client\").nullable().optional(),\n sender_iden: z.string().describe(\"Identifier of the sender\").nullable().optional(),\n sender_email: z.string().describe(\"Email of the sender\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver\").nullable().optional(),\n receiver_email: z.string().describe(\"Email of the receiver\").nullable().optional(),\n source_device_iden: z.string().describe(\"Identifier of the source device\").nullable().optional(),\n target_device_iden: z.string().describe(\"Identifier of the target device\").nullable().optional(),\n sender_email_normalized: z.string().describe(\"Normalized email of the sender\").nullable().optional(),\n receiver_email_normalized: z.string().describe(\"Normalized email of the receiver\").nullable().optional(),\n}).describe(\"Response model for the updated push object.\");\n\nexport const pushbulletUpdatePush = action(\"PUSHBULLET_UPDATE_PUSH\", {\n slug: \"pushbullet-update-push\",\n name: \"Update Push\",\n description: \"Tool to update a push (dismiss or modify list items) by its identifier. Use when marking a push as dismissed or updating list push items.\",\n input: PushbulletUpdatePushInput,\n output: PushbulletUpdatePushOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EACjD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC;CAClE,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpI,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;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C,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,48 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-push.d.ts
|
|
4
|
-
declare const PushbulletUpdatePushInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PushbulletUpdatePushInput: z.ZodObject<{
|
|
5
|
+
iden: z.ZodString;
|
|
6
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7
|
+
text: z.ZodString;
|
|
8
|
+
checked: z.ZodBoolean;
|
|
9
|
+
}, z.core.$strip>>>;
|
|
10
|
+
dismissed: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const PushbulletUpdatePushOutput: z.ZodObject<{
|
|
13
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
iden: z.ZodNullable<z.ZodString>;
|
|
16
|
+
type: z.ZodNullable<z.ZodString>;
|
|
17
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
19
|
+
created: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
modified: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
direction: z.ZodNullable<z.ZodString>;
|
|
23
|
+
dismissed: z.ZodNullable<z.ZodBoolean>;
|
|
24
|
+
file_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
file_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
channel_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
client_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
sender_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
sender_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
receiver_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
receiver_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
source_device_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
target_device_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
sender_email_normalized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
receiver_email_normalized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
declare const pushbulletUpdatePush: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
|
+
iden: string;
|
|
40
|
+
items?: {
|
|
41
|
+
text: string;
|
|
42
|
+
checked: boolean;
|
|
43
|
+
}[] | undefined;
|
|
44
|
+
dismissed?: boolean | undefined;
|
|
45
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
46
|
//#endregion
|
|
8
47
|
export { pushbulletUpdatePush };
|
|
9
48
|
//# sourceMappingURL=update-push.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-push.d.cts","names":[],"sources":["../../src/actions/update-push.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"update-push.d.cts","names":[],"sources":["../../src/actions/update-push.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cA2B1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,48 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-push.d.ts
|
|
4
|
-
declare const PushbulletUpdatePushInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PushbulletUpdatePushInput: z.ZodObject<{
|
|
5
|
+
iden: z.ZodString;
|
|
6
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7
|
+
text: z.ZodString;
|
|
8
|
+
checked: z.ZodBoolean;
|
|
9
|
+
}, z.core.$strip>>>;
|
|
10
|
+
dismissed: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const PushbulletUpdatePushOutput: z.ZodObject<{
|
|
13
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
iden: z.ZodNullable<z.ZodString>;
|
|
16
|
+
type: z.ZodNullable<z.ZodString>;
|
|
17
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
19
|
+
created: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
modified: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
direction: z.ZodNullable<z.ZodString>;
|
|
23
|
+
dismissed: z.ZodNullable<z.ZodBoolean>;
|
|
24
|
+
file_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
file_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
channel_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
client_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
sender_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
sender_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
receiver_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
receiver_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
source_device_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
target_device_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
sender_email_normalized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
receiver_email_normalized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
declare const pushbulletUpdatePush: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
|
+
iden: string;
|
|
40
|
+
items?: {
|
|
41
|
+
text: string;
|
|
42
|
+
checked: boolean;
|
|
43
|
+
}[] | undefined;
|
|
44
|
+
dismissed?: boolean | undefined;
|
|
45
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
46
|
//#endregion
|
|
8
47
|
export { pushbulletUpdatePush };
|
|
9
48
|
//# sourceMappingURL=update-push.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-push.d.mts","names":[],"sources":["../../src/actions/update-push.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"update-push.d.mts","names":[],"sources":["../../src/actions/update-push.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cA2B1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -15,15 +15,15 @@ const pushbulletUpdatePush = action("PUSHBULLET_UPDATE_PUSH", {
|
|
|
15
15
|
output: z.object({
|
|
16
16
|
url: z.string().describe("URL for link pushes (if any)").nullable().optional(),
|
|
17
17
|
body: z.string().describe("Body text of the push (if any)").nullable().optional(),
|
|
18
|
-
iden: z.string().describe("Unique identifier of the push"),
|
|
19
|
-
type: z.string().describe("Type of the push (e.g., 'note', 'link', 'file', 'list')"),
|
|
18
|
+
iden: z.string().describe("Unique identifier of the push").nullable(),
|
|
19
|
+
type: z.string().describe("Type of the push (e.g., 'note', 'link', 'file', 'list')").nullable(),
|
|
20
20
|
title: z.string().describe("Title of the push (if any)").nullable().optional(),
|
|
21
|
-
active: z.boolean().describe("True if the push is active"),
|
|
22
|
-
created: z.number().describe("Creation timestamp (seconds since epoch)"),
|
|
21
|
+
active: z.boolean().describe("True if the push is active").nullable(),
|
|
22
|
+
created: z.number().describe("Creation timestamp (seconds since epoch)").nullable(),
|
|
23
23
|
file_url: z.string().describe("URL of the file for file pushes (if any)").nullable().optional(),
|
|
24
|
-
modified: z.number().describe("Last modified timestamp (seconds since epoch)"),
|
|
25
|
-
direction: z.string().describe("Direction of the push (e.g., 'self', 'incoming')"),
|
|
26
|
-
dismissed: z.boolean().describe("True if the push has been dismissed"),
|
|
24
|
+
modified: z.number().describe("Last modified timestamp (seconds since epoch)").nullable(),
|
|
25
|
+
direction: z.string().describe("Direction of the push (e.g., 'self', 'incoming')").nullable(),
|
|
26
|
+
dismissed: z.boolean().describe("True if the push has been dismissed").nullable(),
|
|
27
27
|
file_name: z.string().describe("Filename for file pushes (if any)").nullable().optional(),
|
|
28
28
|
file_type: z.string().describe("MIME type for file pushes (if any)").nullable().optional(),
|
|
29
29
|
image_url: z.string().describe("URL of image previews (if any)").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-push.mjs","names":[],"sources":["../../src/actions/update-push.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdatePushInput
|
|
1
|
+
{"version":3,"file":"update-push.mjs","names":[],"sources":["../../src/actions/update-push.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdatePushInput = z.object({\n iden: z.string().describe(\"Unique identifier of the push to update\"),\n items: z.array(z.object({\n text: z.string().describe(\"Text of the list item\"),\n checked: z.boolean().describe(\"Whether the list item is checked\"),\n}).describe(\"Model for a single list item in a list-style push.\")).describe(\"List of items to update for list-style pushes\").optional(),\n dismissed: z.boolean().describe(\"Set to true to mark the push as dismissed (hides notifications)\").optional(),\n}).describe(\"Request model for updating an existing push.\");\nexport const PushbulletUpdatePushOutput = z.object({\n url: z.string().describe(\"URL for link pushes (if any)\").nullable().optional(),\n body: z.string().describe(\"Body text of the push (if any)\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier of the push\").nullable(),\n type: z.string().describe(\"Type of the push (e.g., 'note', 'link', 'file', 'list')\").nullable(),\n title: z.string().describe(\"Title of the push (if any)\").nullable().optional(),\n active: z.boolean().describe(\"True if the push is active\").nullable(),\n created: z.number().describe(\"Creation timestamp (seconds since epoch)\").nullable(),\n file_url: z.string().describe(\"URL of the file for file pushes (if any)\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (seconds since epoch)\").nullable(),\n direction: z.string().describe(\"Direction of the push (e.g., 'self', 'incoming')\").nullable(),\n dismissed: z.boolean().describe(\"True if the push has been dismissed\").nullable(),\n file_name: z.string().describe(\"Filename for file pushes (if any)\").nullable().optional(),\n file_type: z.string().describe(\"MIME type for file pushes (if any)\").nullable().optional(),\n image_url: z.string().describe(\"URL of image previews (if any)\").nullable().optional(),\n channel_tag: z.string().describe(\"Channel tag for channel pushes\").nullable().optional(),\n client_iden: z.string().describe(\"Identifier of the client\").nullable().optional(),\n sender_iden: z.string().describe(\"Identifier of the sender\").nullable().optional(),\n sender_email: z.string().describe(\"Email of the sender\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver\").nullable().optional(),\n receiver_email: z.string().describe(\"Email of the receiver\").nullable().optional(),\n source_device_iden: z.string().describe(\"Identifier of the source device\").nullable().optional(),\n target_device_iden: z.string().describe(\"Identifier of the target device\").nullable().optional(),\n sender_email_normalized: z.string().describe(\"Normalized email of the sender\").nullable().optional(),\n receiver_email_normalized: z.string().describe(\"Normalized email of the receiver\").nullable().optional(),\n}).describe(\"Response model for the updated push object.\");\n\nexport const pushbulletUpdatePush = action(\"PUSHBULLET_UPDATE_PUSH\", {\n slug: \"pushbullet-update-push\",\n name: \"Update Push\",\n description: \"Tool to update a push (dismiss or modify list items) by its identifier. Use when marking a push as dismissed or updating list push items.\",\n input: PushbulletUpdatePushInput,\n output: PushbulletUpdatePushOutput,\n});\n"],"mappings":";;AAuCA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvCuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACnE,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;GACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC;EAClE,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,CAAC,SAA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AC,SAAS,CAAC,CAAC,SAAS;EACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
|
|
@@ -15,10 +15,10 @@ const PushbulletUploadRequest_UploadRequestDataSchema = zod.z.object({
|
|
|
15
15
|
}).passthrough().describe("Form data required to upload the file to S3 (deprecated, may not be present).");
|
|
16
16
|
const PushbulletUploadRequestOutput = zod.z.object({
|
|
17
17
|
data: PushbulletUploadRequest_UploadRequestDataSchema.nullable().optional(),
|
|
18
|
-
file_url: zod.z.string().describe("URL where the file will be accessible after upload."),
|
|
19
|
-
file_name: zod.z.string().describe("Name of the file."),
|
|
20
|
-
file_type: zod.z.string().describe("MIME type of the file."),
|
|
21
|
-
upload_url: zod.z.string().describe("Signed URL for uploading the file.")
|
|
18
|
+
file_url: zod.z.string().describe("URL where the file will be accessible after upload.").nullable(),
|
|
19
|
+
file_name: zod.z.string().describe("Name of the file.").nullable(),
|
|
20
|
+
file_type: zod.z.string().describe("MIME type of the file.").nullable(),
|
|
21
|
+
upload_url: zod.z.string().describe("Signed URL for uploading the file.").nullable()
|
|
22
22
|
}).describe("Response model containing signed upload URLs and form data.");
|
|
23
23
|
const pushbulletUploadRequest = require_action.action("PUSHBULLET_UPLOAD_REQUEST", {
|
|
24
24
|
slug: "pushbullet-upload-request",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-request.cjs","names":["z","action"],"sources":["../../src/actions/upload-request.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUploadRequestInput
|
|
1
|
+
{"version":3,"file":"upload-request.cjs","names":["z","action"],"sources":["../../src/actions/upload-request.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUploadRequestInput = z.object({\n file_name: z.string().describe(\"Name of the file to upload. Example: 'photo.jpg'\"),\n file_type: z.string().describe(\"MIME type of the file. Example: 'image/jpeg'\"),\n}).describe(\"Request model for obtaining a signed upload URL for a file.\");\nconst PushbulletUploadRequest_UploadRequestDataSchema = z.object({\n acl: z.string().describe(\"S3 ACL for the uploaded object.\").nullable().optional(),\n key: z.string().describe(\"S3 object key (path) for the file.\").nullable().optional(),\n policy: z.string().describe(\"Base64-encoded policy document for the upload.\").nullable().optional(),\n signature: z.string().describe(\"AWS signature for the upload request.\").nullable().optional(),\n \"content-type\": z.string().describe(\"Content-Type for the uploaded file.\").nullable().optional(),\n awsaccesskeyid: z.string().describe(\"AWS access key ID for S3 upload.\").nullable().optional(),\n}).passthrough().describe(\"Form data required to upload the file to S3 (deprecated, may not be present).\");\nexport const PushbulletUploadRequestOutput = z.object({\n data: PushbulletUploadRequest_UploadRequestDataSchema.nullable().optional(),\n file_url: z.string().describe(\"URL where the file will be accessible after upload.\").nullable(),\n file_name: z.string().describe(\"Name of the file.\").nullable(),\n file_type: z.string().describe(\"MIME type of the file.\").nullable(),\n upload_url: z.string().describe(\"Signed URL for uploading the file.\").nullable(),\n}).describe(\"Response model containing signed upload URLs and form data.\");\n\nexport const pushbulletUploadRequest = action(\"PUSHBULLET_UPLOAD_REQUEST\", {\n slug: \"pushbullet-upload-request\",\n name: \"Upload Request\",\n description: \"Tool to obtain a signed upload URL for a file before pushing. Use when you need to upload file content via the signed S3 form data.\",\n input: PushbulletUploadRequestInput,\n output: PushbulletUploadRequestOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAC/E,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,gBAAgBA,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