@keystrokehq/pushbullet 0.1.0
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-chat.cjs +31 -0
- package/dist/actions/create-chat.cjs.map +1 -0
- package/dist/actions/create-chat.d.cts +9 -0
- package/dist/actions/create-chat.d.cts.map +1 -0
- package/dist/actions/create-chat.d.mts +9 -0
- package/dist/actions/create-chat.d.mts.map +1 -0
- package/dist/actions/create-chat.mjs +30 -0
- package/dist/actions/create-chat.mjs.map +1 -0
- package/dist/actions/create-device.cjs +52 -0
- package/dist/actions/create-device.cjs.map +1 -0
- package/dist/actions/create-device.d.cts +9 -0
- package/dist/actions/create-device.d.cts.map +1 -0
- package/dist/actions/create-device.d.mts +9 -0
- package/dist/actions/create-device.d.mts.map +1 -0
- package/dist/actions/create-device.mjs +49 -0
- package/dist/actions/create-device.mjs.map +1 -0
- package/dist/actions/create-push.cjs +56 -0
- package/dist/actions/create-push.cjs.map +1 -0
- package/dist/actions/create-push.d.cts +9 -0
- package/dist/actions/create-push.d.cts.map +1 -0
- package/dist/actions/create-push.d.mts +9 -0
- package/dist/actions/create-push.d.mts.map +1 -0
- package/dist/actions/create-push.mjs +53 -0
- package/dist/actions/create-push.mjs.map +1 -0
- package/dist/actions/delete-all-pushes.cjs +16 -0
- package/dist/actions/delete-all-pushes.cjs.map +1 -0
- package/dist/actions/delete-all-pushes.d.cts +9 -0
- package/dist/actions/delete-all-pushes.d.cts.map +1 -0
- package/dist/actions/delete-all-pushes.d.mts +9 -0
- package/dist/actions/delete-all-pushes.d.mts.map +1 -0
- package/dist/actions/delete-all-pushes.mjs +13 -0
- package/dist/actions/delete-all-pushes.mjs.map +1 -0
- package/dist/actions/delete-chat.cjs +16 -0
- package/dist/actions/delete-chat.cjs.map +1 -0
- package/dist/actions/delete-chat.d.cts +9 -0
- package/dist/actions/delete-chat.d.cts.map +1 -0
- package/dist/actions/delete-chat.d.mts +9 -0
- package/dist/actions/delete-chat.d.mts.map +1 -0
- package/dist/actions/delete-chat.mjs +13 -0
- package/dist/actions/delete-chat.mjs.map +1 -0
- package/dist/actions/delete-device.cjs +16 -0
- package/dist/actions/delete-device.cjs.map +1 -0
- package/dist/actions/delete-device.d.cts +9 -0
- package/dist/actions/delete-device.d.cts.map +1 -0
- package/dist/actions/delete-device.d.mts +9 -0
- package/dist/actions/delete-device.d.mts.map +1 -0
- package/dist/actions/delete-device.mjs +13 -0
- package/dist/actions/delete-device.mjs.map +1 -0
- package/dist/actions/delete-push.cjs +16 -0
- package/dist/actions/delete-push.cjs.map +1 -0
- package/dist/actions/delete-push.d.cts +9 -0
- package/dist/actions/delete-push.d.cts.map +1 -0
- package/dist/actions/delete-push.d.mts +9 -0
- package/dist/actions/delete-push.d.mts.map +1 -0
- package/dist/actions/delete-push.mjs +13 -0
- package/dist/actions/delete-push.mjs.map +1 -0
- package/dist/actions/get-user.cjs +27 -0
- package/dist/actions/get-user.cjs.map +1 -0
- package/dist/actions/get-user.d.cts +9 -0
- package/dist/actions/get-user.d.cts.map +1 -0
- package/dist/actions/get-user.d.mts +9 -0
- package/dist/actions/get-user.d.mts.map +1 -0
- package/dist/actions/get-user.mjs +24 -0
- package/dist/actions/get-user.mjs.map +1 -0
- package/dist/actions/index.cjs +31 -0
- package/dist/actions/index.d.cts +16 -0
- package/dist/actions/index.d.mts +16 -0
- package/dist/actions/index.mjs +16 -0
- package/dist/actions/list-chats.cjs +38 -0
- package/dist/actions/list-chats.cjs.map +1 -0
- package/dist/actions/list-chats.d.cts +9 -0
- package/dist/actions/list-chats.d.cts.map +1 -0
- package/dist/actions/list-chats.d.mts +9 -0
- package/dist/actions/list-chats.d.mts.map +1 -0
- package/dist/actions/list-chats.mjs +37 -0
- package/dist/actions/list-chats.mjs.map +1 -0
- package/dist/actions/list-devices.cjs +35 -0
- package/dist/actions/list-devices.cjs.map +1 -0
- package/dist/actions/list-devices.d.cts +9 -0
- package/dist/actions/list-devices.d.cts.map +1 -0
- package/dist/actions/list-devices.d.mts +9 -0
- package/dist/actions/list-devices.d.mts.map +1 -0
- package/dist/actions/list-devices.mjs +34 -0
- package/dist/actions/list-devices.mjs.map +1 -0
- package/dist/actions/list-pushes.cjs +46 -0
- package/dist/actions/list-pushes.cjs.map +1 -0
- package/dist/actions/list-pushes.d.cts +9 -0
- package/dist/actions/list-pushes.d.cts.map +1 -0
- package/dist/actions/list-pushes.d.mts +9 -0
- package/dist/actions/list-pushes.d.mts.map +1 -0
- package/dist/actions/list-pushes.mjs +45 -0
- package/dist/actions/list-pushes.mjs.map +1 -0
- package/dist/actions/update-chat.cjs +34 -0
- package/dist/actions/update-chat.cjs.map +1 -0
- package/dist/actions/update-chat.d.cts +9 -0
- package/dist/actions/update-chat.d.cts.map +1 -0
- package/dist/actions/update-chat.d.mts +9 -0
- package/dist/actions/update-chat.d.mts.map +1 -0
- package/dist/actions/update-chat.mjs +33 -0
- package/dist/actions/update-chat.mjs.map +1 -0
- package/dist/actions/update-device.cjs +53 -0
- package/dist/actions/update-device.cjs.map +1 -0
- package/dist/actions/update-device.d.cts +9 -0
- package/dist/actions/update-device.d.cts.map +1 -0
- package/dist/actions/update-device.d.mts +9 -0
- package/dist/actions/update-device.d.mts.map +1 -0
- package/dist/actions/update-device.mjs +50 -0
- package/dist/actions/update-device.mjs.map +1 -0
- package/dist/actions/update-push.cjs +48 -0
- package/dist/actions/update-push.cjs.map +1 -0
- package/dist/actions/update-push.d.cts +9 -0
- package/dist/actions/update-push.d.cts.map +1 -0
- package/dist/actions/update-push.d.mts +9 -0
- package/dist/actions/update-push.d.mts.map +1 -0
- package/dist/actions/update-push.mjs +45 -0
- package/dist/actions/update-push.mjs.map +1 -0
- package/dist/actions/upload-request.cjs +33 -0
- package/dist/actions/upload-request.cjs.map +1 -0
- package/dist/actions/upload-request.d.cts +9 -0
- package/dist/actions/upload-request.d.cts.map +1 -0
- package/dist/actions/upload-request.d.mts +9 -0
- package/dist/actions/upload-request.d.mts.map +1 -0
- package/dist/actions/upload-request.mjs +32 -0
- package/dist/actions/upload-request.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +36 -0
- package/dist/index.d.cts +18 -0
- package/dist/index.d.mts +18 -0
- package/dist/index.mjs +19 -0
- package/package.json +49 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-devices.d.ts
|
|
4
|
+
declare const PushbulletListDevicesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PushbulletListDevicesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pushbulletListDevices: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pushbulletListDevices };
|
|
9
|
+
//# sourceMappingURL=list-devices.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-devices.d.cts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAA8F;AAAA,cAoB5H,2BAAA,EAA6B,CAAA,CAAE,UAE4E;AAAA,cAE3G,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-devices.d.ts
|
|
4
|
+
declare const PushbulletListDevicesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PushbulletListDevicesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pushbulletListDevices: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pushbulletListDevices };
|
|
9
|
+
//# sourceMappingURL=list-devices.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-devices.d.mts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAA8F;AAAA,cAoB5H,2BAAA,EAA6B,CAAA,CAAE,UAE4E;AAAA,cAE3G,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-devices.ts
|
|
4
|
+
const PushbulletListDevicesInput = z.object({}).describe("Empty request for listing devices. No parameters needed.");
|
|
5
|
+
const PushbulletListDevices_DeviceSchema = z.object({
|
|
6
|
+
icon: z.string().describe("Device icon type (e.g., 'desktop', 'phone')."),
|
|
7
|
+
iden: z.string().describe("Unique identifier for the device."),
|
|
8
|
+
kind: z.string().describe("Deprecated: old name for type.").nullable().optional(),
|
|
9
|
+
type: z.string().describe("Deprecated: legacy device type string.").nullable().optional(),
|
|
10
|
+
model: z.string().describe("Model name/number of the device.").nullable().optional(),
|
|
11
|
+
active: z.boolean().describe("True if the device is active."),
|
|
12
|
+
created: z.number().describe("Creation timestamp in floating-point seconds since epoch."),
|
|
13
|
+
has_sms: z.boolean().describe("True if device supports SMS (Android only).").nullable().optional(),
|
|
14
|
+
modified: z.number().describe("Last modified timestamp in floating-point seconds since epoch."),
|
|
15
|
+
nickname: z.string().describe("Nickname for the device, user-assigned or generated.").nullable().optional(),
|
|
16
|
+
pushable: z.boolean().describe("True if you can push to this device."),
|
|
17
|
+
push_token: z.string().describe("Platform-specific push token for this device.").nullable().optional(),
|
|
18
|
+
app_version: z.number().int().describe("Version of the Pushbullet application installed on the device.").nullable().optional(),
|
|
19
|
+
fingerprint: z.string().describe("Device fingerprint (used to avoid duplicates).").nullable().optional(),
|
|
20
|
+
manufacturer: z.string().describe("Manufacturer of the device (e.g., 'Apple').").nullable().optional(),
|
|
21
|
+
key_fingerprint: z.string().describe("Fingerprint for this device's encryption key.").nullable().optional(),
|
|
22
|
+
generated_nickname: z.boolean().describe("True if nickname was auto-generated from manufacturer/model.").nullable().optional()
|
|
23
|
+
}).describe("Pushbullet Device object.");
|
|
24
|
+
const pushbulletListDevices = action("PUSHBULLET_LIST_DEVICES", {
|
|
25
|
+
slug: "pushbullet-list-devices",
|
|
26
|
+
name: "List Devices",
|
|
27
|
+
description: "Tool to list all registered devices for the current user. Use after obtaining a valid access token.",
|
|
28
|
+
input: PushbulletListDevicesInput,
|
|
29
|
+
output: z.object({ devices: z.array(PushbulletListDevices_DeviceSchema).describe("List of devices belonging to the current user.") }).describe("Response model for list-devices.\n\ndevices: list of Device objects ordered most-recently modified first.")
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
export { pushbulletListDevices };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=list-devices.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-devices.mjs","names":[],"sources":["../../src/actions/list-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletListDevicesInput: z.ZodTypeAny = z.object({}).describe(\"Empty request for listing devices. No parameters needed.\");\nconst PushbulletListDevices_DeviceSchema: z.ZodTypeAny = z.object({\n icon: z.string().describe(\"Device icon type (e.g., 'desktop', 'phone').\"),\n iden: z.string().describe(\"Unique identifier for the device.\"),\n kind: z.string().describe(\"Deprecated: old name for type.\").nullable().optional(),\n type: z.string().describe(\"Deprecated: legacy device type string.\").nullable().optional(),\n model: z.string().describe(\"Model name/number of the device.\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active.\"),\n created: z.number().describe(\"Creation timestamp in floating-point seconds since epoch.\"),\n has_sms: z.boolean().describe(\"True if device supports SMS (Android only).\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp in floating-point seconds since epoch.\"),\n nickname: z.string().describe(\"Nickname for the device, user-assigned or generated.\").nullable().optional(),\n pushable: z.boolean().describe(\"True if you can push to this device.\"),\n push_token: z.string().describe(\"Platform-specific push token for this device.\").nullable().optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet application installed on the device.\").nullable().optional(),\n fingerprint: z.string().describe(\"Device fingerprint (used to avoid duplicates).\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device (e.g., 'Apple').\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Fingerprint for this device's encryption key.\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated from manufacturer/model.\").nullable().optional(),\n}).describe(\"Pushbullet Device object.\");\nexport const PushbulletListDevicesOutput: z.ZodTypeAny = z.object({\n devices: z.array(PushbulletListDevices_DeviceSchema).describe(\"List of devices belonging to the current user.\"),\n}).describe(\"Response model for list-devices.\\n\\ndevices: list of Device objects ordered most-recently modified first.\");\n\nexport const pushbulletListDevices = action(\"PUSHBULLET_LIST_DEVICES\", {\n slug: \"pushbullet-list-devices\",\n name: \"List Devices\",\n description: \"Tool to list all registered devices for the current user. Use after obtaining a valid access token.\",\n input: PushbulletListDevicesInput,\n output: PushbulletListDevicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACxI,MAAM,qCAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B;CAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACxF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC;CACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,2BAA2B;AAKvC,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,gDAAgD,EAChH,CAAC,CAAC,CAAC,SAAS,2GAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-pushes.ts
|
|
4
|
+
const PushbulletListPushesInput = zod.z.object({
|
|
5
|
+
limit: zod.z.number().int().describe("Maximum number of pushes to return (max 500, default 500).").optional(),
|
|
6
|
+
active: zod.z.boolean().describe("If true, only active pushes are returned.").optional(),
|
|
7
|
+
cursor: zod.z.string().describe("Cursor for pagination to fetch the next set of pushes.").optional(),
|
|
8
|
+
modified_after: zod.z.number().describe("Only return pushes modified after this UNIX timestamp (float).").optional()
|
|
9
|
+
}).describe("Request model for listing pushes with optional filters and pagination.");
|
|
10
|
+
const PushbulletListPushes_PushSchema = zod.z.object({
|
|
11
|
+
url: zod.z.string().describe("URL for link pushes.").nullable().optional(),
|
|
12
|
+
body: zod.z.string().describe("Optional body text of the push.").nullable().optional(),
|
|
13
|
+
iden: zod.z.string().describe("Unique identifier for the push."),
|
|
14
|
+
type: zod.z.string().describe("Type of the push (e.g., 'note', 'link', 'file'). May be absent for deleted pushes.").nullable().optional(),
|
|
15
|
+
title: zod.z.string().describe("Optional title of the push.").nullable().optional(),
|
|
16
|
+
active: zod.z.boolean().describe("Whether the push is active."),
|
|
17
|
+
created: zod.z.number().describe("Creation timestamp as UNIX float."),
|
|
18
|
+
file_url: zod.z.string().describe("URL for file pushes.").nullable().optional(),
|
|
19
|
+
modified: zod.z.number().describe("Last modification timestamp as UNIX float."),
|
|
20
|
+
direction: zod.z.string().describe("Direction of the push (e.g., 'incoming'). May be absent for deleted pushes.").nullable().optional(),
|
|
21
|
+
dismissed: zod.z.boolean().describe("Whether the push has been dismissed."),
|
|
22
|
+
file_name: zod.z.string().describe("Filename for file pushes.").nullable().optional(),
|
|
23
|
+
file_type: zod.z.string().describe("MIME type for file pushes.").nullable().optional(),
|
|
24
|
+
image_url: zod.z.string().describe("URL for image previews.").nullable().optional(),
|
|
25
|
+
channel_tag: zod.z.string().describe("Channel tag for channel pushes.").nullable().optional(),
|
|
26
|
+
client_iden: zod.z.string().describe("Identifier of the client.").nullable().optional(),
|
|
27
|
+
sender_iden: zod.z.string().describe("Identifier of the sender.").nullable().optional(),
|
|
28
|
+
receiver_iden: zod.z.string().describe("Identifier of the receiver.").nullable().optional(),
|
|
29
|
+
source_user_iden: zod.z.string().describe("Identifier of the source user.").nullable().optional(),
|
|
30
|
+
target_device_iden: zod.z.string().describe("Identifier of the target device.").nullable().optional()
|
|
31
|
+
});
|
|
32
|
+
const PushbulletListPushesOutput = zod.z.object({
|
|
33
|
+
cursor: zod.z.string().describe("Cursor for fetching the next page of results, if present.").nullable().optional(),
|
|
34
|
+
pushes: zod.z.array(PushbulletListPushes_PushSchema).describe("List of push objects.")
|
|
35
|
+
}).describe("Response model for listing pushes.");
|
|
36
|
+
const pushbulletListPushes = require_action.action("PUSHBULLET_LIST_PUSHES", {
|
|
37
|
+
slug: "pushbullet-list-pushes",
|
|
38
|
+
name: "List Pushes",
|
|
39
|
+
description: "Tool to list pushes with optional filtering and pagination. Use when retrieving or syncing pushes after a certain time.",
|
|
40
|
+
input: PushbulletListPushesInput,
|
|
41
|
+
output: PushbulletListPushesOutput
|
|
42
|
+
});
|
|
43
|
+
//#endregion
|
|
44
|
+
exports.pushbulletListPushes = pushbulletListPushes;
|
|
45
|
+
|
|
46
|
+
//# sourceMappingURL=list-pushes.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-pushes.cjs","names":["z","action"],"sources":["../../src/actions/list-pushes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletListPushesInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of pushes to return (max 500, default 500).\").optional(),\n active: z.boolean().describe(\"If true, only active pushes are returned.\").optional(),\n cursor: z.string().describe(\"Cursor for pagination to fetch the next set of pushes.\").optional(),\n modified_after: z.number().describe(\"Only return pushes modified after this UNIX timestamp (float).\").optional(),\n}).describe(\"Request model for listing pushes with optional filters and pagination.\");\nconst PushbulletListPushes_PushSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL for link pushes.\").nullable().optional(),\n body: z.string().describe(\"Optional body text of the push.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the push.\"),\n type: z.string().describe(\"Type of the push (e.g., 'note', 'link', 'file'). May be absent for deleted pushes.\").nullable().optional(),\n title: z.string().describe(\"Optional title of the push.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the push is active.\"),\n created: z.number().describe(\"Creation timestamp as UNIX float.\"),\n file_url: z.string().describe(\"URL for file pushes.\").nullable().optional(),\n modified: z.number().describe(\"Last modification timestamp as UNIX float.\"),\n direction: z.string().describe(\"Direction of the push (e.g., 'incoming'). May be absent for deleted pushes.\").nullable().optional(),\n dismissed: z.boolean().describe(\"Whether the push has been dismissed.\"),\n file_name: z.string().describe(\"Filename for file pushes.\").nullable().optional(),\n file_type: z.string().describe(\"MIME type for file pushes.\").nullable().optional(),\n image_url: z.string().describe(\"URL for image previews.\").nullable().optional(),\n channel_tag: z.string().describe(\"Channel tag for channel pushes.\").nullable().optional(),\n client_iden: z.string().describe(\"Identifier of the client.\").nullable().optional(),\n sender_iden: z.string().describe(\"Identifier of the sender.\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver.\").nullable().optional(),\n source_user_iden: z.string().describe(\"Identifier of the source user.\").nullable().optional(),\n target_device_iden: z.string().describe(\"Identifier of the target device.\").nullable().optional(),\n});\nexport const PushbulletListPushesOutput: z.ZodTypeAny = z.object({\n cursor: z.string().describe(\"Cursor for fetching the next page of results, if present.\").nullable().optional(),\n pushes: z.array(PushbulletListPushes_PushSchema).describe(\"List of push objects.\"),\n}).describe(\"Response model for listing pushes.\");\n\nexport const pushbulletListPushes = action(\"PUSHBULLET_LIST_PUSHES\", {\n slug: \"pushbullet-list-pushes\",\n name: \"List Pushes\",\n description: \"Tool to list pushes with optional filtering and pagination. Use when retrieving or syncing pushes after a certain time.\",\n input: PushbulletListPushesInput,\n output: PushbulletListPushesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS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AAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC;AACD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,uBAAuB;AACnF,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-pushes.d.ts
|
|
4
|
+
declare const PushbulletListPushesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PushbulletListPushesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pushbulletListPushes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pushbulletListPushes };
|
|
9
|
+
//# sourceMappingURL=list-pushes.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-pushes.d.cts","names":[],"sources":["../../src/actions/list-pushes.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAK2C;AAAA,cAuBxE,0BAAA,EAA4B,CAAA,CAAE,UAGM;AAAA,cAEpC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-pushes.d.ts
|
|
4
|
+
declare const PushbulletListPushesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PushbulletListPushesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pushbulletListPushes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pushbulletListPushes };
|
|
9
|
+
//# sourceMappingURL=list-pushes.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-pushes.d.mts","names":[],"sources":["../../src/actions/list-pushes.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAK2C;AAAA,cAuBxE,0BAAA,EAA4B,CAAA,CAAE,UAGM;AAAA,cAEpC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-pushes.ts
|
|
4
|
+
const PushbulletListPushesInput = z.object({
|
|
5
|
+
limit: z.number().int().describe("Maximum number of pushes to return (max 500, default 500).").optional(),
|
|
6
|
+
active: z.boolean().describe("If true, only active pushes are returned.").optional(),
|
|
7
|
+
cursor: z.string().describe("Cursor for pagination to fetch the next set of pushes.").optional(),
|
|
8
|
+
modified_after: z.number().describe("Only return pushes modified after this UNIX timestamp (float).").optional()
|
|
9
|
+
}).describe("Request model for listing pushes with optional filters and pagination.");
|
|
10
|
+
const PushbulletListPushes_PushSchema = z.object({
|
|
11
|
+
url: z.string().describe("URL for link pushes.").nullable().optional(),
|
|
12
|
+
body: z.string().describe("Optional body text of the push.").nullable().optional(),
|
|
13
|
+
iden: z.string().describe("Unique identifier for the push."),
|
|
14
|
+
type: z.string().describe("Type of the push (e.g., 'note', 'link', 'file'). May be absent for deleted pushes.").nullable().optional(),
|
|
15
|
+
title: z.string().describe("Optional title of the push.").nullable().optional(),
|
|
16
|
+
active: z.boolean().describe("Whether the push is active."),
|
|
17
|
+
created: z.number().describe("Creation timestamp as UNIX float."),
|
|
18
|
+
file_url: z.string().describe("URL for file pushes.").nullable().optional(),
|
|
19
|
+
modified: z.number().describe("Last modification timestamp as UNIX float."),
|
|
20
|
+
direction: z.string().describe("Direction of the push (e.g., 'incoming'). May be absent for deleted pushes.").nullable().optional(),
|
|
21
|
+
dismissed: z.boolean().describe("Whether the push has been dismissed."),
|
|
22
|
+
file_name: z.string().describe("Filename for file pushes.").nullable().optional(),
|
|
23
|
+
file_type: z.string().describe("MIME type for file pushes.").nullable().optional(),
|
|
24
|
+
image_url: z.string().describe("URL for image previews.").nullable().optional(),
|
|
25
|
+
channel_tag: z.string().describe("Channel tag for channel pushes.").nullable().optional(),
|
|
26
|
+
client_iden: z.string().describe("Identifier of the client.").nullable().optional(),
|
|
27
|
+
sender_iden: z.string().describe("Identifier of the sender.").nullable().optional(),
|
|
28
|
+
receiver_iden: z.string().describe("Identifier of the receiver.").nullable().optional(),
|
|
29
|
+
source_user_iden: z.string().describe("Identifier of the source user.").nullable().optional(),
|
|
30
|
+
target_device_iden: z.string().describe("Identifier of the target device.").nullable().optional()
|
|
31
|
+
});
|
|
32
|
+
const pushbulletListPushes = action("PUSHBULLET_LIST_PUSHES", {
|
|
33
|
+
slug: "pushbullet-list-pushes",
|
|
34
|
+
name: "List Pushes",
|
|
35
|
+
description: "Tool to list pushes with optional filtering and pagination. Use when retrieving or syncing pushes after a certain time.",
|
|
36
|
+
input: PushbulletListPushesInput,
|
|
37
|
+
output: z.object({
|
|
38
|
+
cursor: z.string().describe("Cursor for fetching the next page of results, if present.").nullable().optional(),
|
|
39
|
+
pushes: z.array(PushbulletListPushes_PushSchema).describe("List of push objects.")
|
|
40
|
+
}).describe("Response model for listing pushes.")
|
|
41
|
+
});
|
|
42
|
+
//#endregion
|
|
43
|
+
export { pushbulletListPushes };
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=list-pushes.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-pushes.mjs","names":[],"sources":["../../src/actions/list-pushes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletListPushesInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of pushes to return (max 500, default 500).\").optional(),\n active: z.boolean().describe(\"If true, only active pushes are returned.\").optional(),\n cursor: z.string().describe(\"Cursor for pagination to fetch the next set of pushes.\").optional(),\n modified_after: z.number().describe(\"Only return pushes modified after this UNIX timestamp (float).\").optional(),\n}).describe(\"Request model for listing pushes with optional filters and pagination.\");\nconst PushbulletListPushes_PushSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL for link pushes.\").nullable().optional(),\n body: z.string().describe(\"Optional body text of the push.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the push.\"),\n type: z.string().describe(\"Type of the push (e.g., 'note', 'link', 'file'). May be absent for deleted pushes.\").nullable().optional(),\n title: z.string().describe(\"Optional title of the push.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the push is active.\"),\n created: z.number().describe(\"Creation timestamp as UNIX float.\"),\n file_url: z.string().describe(\"URL for file pushes.\").nullable().optional(),\n modified: z.number().describe(\"Last modification timestamp as UNIX float.\"),\n direction: z.string().describe(\"Direction of the push (e.g., 'incoming'). May be absent for deleted pushes.\").nullable().optional(),\n dismissed: z.boolean().describe(\"Whether the push has been dismissed.\"),\n file_name: z.string().describe(\"Filename for file pushes.\").nullable().optional(),\n file_type: z.string().describe(\"MIME type for file pushes.\").nullable().optional(),\n image_url: z.string().describe(\"URL for image previews.\").nullable().optional(),\n channel_tag: z.string().describe(\"Channel tag for channel pushes.\").nullable().optional(),\n client_iden: z.string().describe(\"Identifier of the client.\").nullable().optional(),\n sender_iden: z.string().describe(\"Identifier of the sender.\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver.\").nullable().optional(),\n source_user_iden: z.string().describe(\"Identifier of the source user.\").nullable().optional(),\n target_device_iden: z.string().describe(\"Identifier of the target device.\").nullable().optional(),\n});\nexport const PushbulletListPushesOutput: z.ZodTypeAny = z.object({\n cursor: z.string().describe(\"Cursor for fetching the next page of results, if present.\").nullable().optional(),\n pushes: z.array(PushbulletListPushes_PushSchema).describe(\"List of push objects.\"),\n}).describe(\"Response model for listing pushes.\");\n\nexport const pushbulletListPushes = action(\"PUSHBULLET_LIST_PUSHES\", {\n slug: \"pushbullet-list-pushes\",\n name: \"List Pushes\",\n description: \"Tool to list pushes with optional filtering and pagination. Use when retrieving or syncing pushes after a certain time.\",\n input: PushbulletListPushesInput,\n output: PushbulletListPushesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,kCAAgD,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC;AAMD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsD,EAAE,OAAO;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,QAAQ,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,uBAAuB;CACnF,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-chat.ts
|
|
4
|
+
const PushbulletUpdateChatInput = zod.z.object({
|
|
5
|
+
iden: zod.z.string().describe("Unique identifier of the chat to update"),
|
|
6
|
+
muted: zod.z.boolean().describe("True to mute notifications for this chat, false to unmute")
|
|
7
|
+
}).describe("Request model for muting or unmuting a chat by its identifier.");
|
|
8
|
+
const PushbulletUpdateChat_ChatWithModelSchema = zod.z.object({
|
|
9
|
+
iden: zod.z.string().describe("Identifier of the chat participant"),
|
|
10
|
+
name: zod.z.string().describe("Display name of the chat participant"),
|
|
11
|
+
type: zod.z.enum(["email", "user"]).describe("Type of chat participant: 'email' or 'user'"),
|
|
12
|
+
email: zod.z.string().describe("Email address of the chat participant"),
|
|
13
|
+
image_url: zod.z.string().describe("URL of the participant's avatar image").nullable().optional(),
|
|
14
|
+
email_normalized: zod.z.string().describe("Canonical email address of the chat participant")
|
|
15
|
+
}).describe("Information about the other participant in the chat.");
|
|
16
|
+
const PushbulletUpdateChatOutput = zod.z.object({
|
|
17
|
+
iden: zod.z.string().describe("Unique identifier for this chat"),
|
|
18
|
+
"with": PushbulletUpdateChat_ChatWithModelSchema.nullable(),
|
|
19
|
+
muted: zod.z.boolean().describe("True if the chat is muted").nullable().optional(),
|
|
20
|
+
active: zod.z.boolean().describe("False if the chat has been deleted"),
|
|
21
|
+
created: zod.z.number().describe("Creation time in floating point seconds (Unix timestamp)"),
|
|
22
|
+
modified: zod.z.number().describe("Last modified time in floating point seconds (Unix timestamp)")
|
|
23
|
+
}).describe("Response model representing the updated chat object.");
|
|
24
|
+
const pushbulletUpdateChat = require_action.action("PUSHBULLET_UPDATE_CHAT", {
|
|
25
|
+
slug: "pushbullet-update-chat",
|
|
26
|
+
name: "Mute or Unmute Chat",
|
|
27
|
+
description: "Tool to mute or unmute an existing chat. Use when adjusting notification settings for a specific chat by its identifier.",
|
|
28
|
+
input: PushbulletUpdateChatInput,
|
|
29
|
+
output: PushbulletUpdateChatOutput
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.pushbulletUpdateChat = pushbulletUpdateChat;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=update-chat.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-chat.cjs","names":["z","action"],"sources":["../../src/actions/update-chat.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdateChatInput: z.ZodTypeAny = z.object({\n iden: z.string().describe(\"Unique identifier of the chat to update\"),\n muted: z.boolean().describe(\"True to mute notifications for this chat, false to unmute\"),\n}).describe(\"Request model for muting or unmuting a chat by its identifier.\");\nconst PushbulletUpdateChat_ChatWithModelSchema: z.ZodTypeAny = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\"),\n name: z.string().describe(\"Display name of the chat participant\"),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of chat participant: 'email' or 'user'\"),\n email: z.string().describe(\"Email address of the chat participant\"),\n image_url: z.string().describe(\"URL of the participant's avatar image\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the chat participant\"),\n}).describe(\"Information about the other participant in the chat.\");\nexport const PushbulletUpdateChatOutput: z.ZodTypeAny = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\"),\n \"with\": PushbulletUpdateChat_ChatWithModelSchema.nullable(),\n muted: z.boolean().describe(\"True if the chat is muted\").nullable().optional(),\n active: z.boolean().describe(\"False if the chat has been deleted\"),\n created: z.number().describe(\"Creation time in floating point seconds (Unix timestamp)\"),\n modified: z.number().describe(\"Last modified time in floating point seconds (Unix timestamp)\"),\n}).describe(\"Response model representing the updated chat object.\");\n\nexport const pushbulletUpdateChat = action(\"PUSHBULLET_UPDATE_CHAT\", {\n slug: \"pushbullet-update-chat\",\n name: \"Mute or Unmute Chat\",\n description: \"Tool to mute or unmute an existing chat. Use when adjusting notification settings for a specific chat by its identifier.\",\n input: PushbulletUpdateChatInput,\n output: PushbulletUpdateChatOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D;AACzF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChE,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,SAAS,6CAA6C;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AACzF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,QAAQ,yCAAyC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;AAC/F,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-chat.d.ts
|
|
4
|
+
declare const PushbulletUpdateChatInput: z.ZodTypeAny;
|
|
5
|
+
declare const PushbulletUpdateChatOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pushbulletUpdateChat: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pushbulletUpdateChat };
|
|
9
|
+
//# sourceMappingURL=update-chat.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-chat.d.cts","names":[],"sources":["../../src/actions/update-chat.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGmC;AAAA,cAShE,0BAAA,EAA4B,CAAA,CAAE,UAOwB;AAAA,cAEtD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-chat.d.ts
|
|
4
|
+
declare const PushbulletUpdateChatInput: z.ZodTypeAny;
|
|
5
|
+
declare const PushbulletUpdateChatOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pushbulletUpdateChat: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pushbulletUpdateChat };
|
|
9
|
+
//# sourceMappingURL=update-chat.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-chat.d.mts","names":[],"sources":["../../src/actions/update-chat.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGmC;AAAA,cAShE,0BAAA,EAA4B,CAAA,CAAE,UAOwB;AAAA,cAEtD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/update-chat.ts
|
|
4
|
+
const PushbulletUpdateChatInput = z.object({
|
|
5
|
+
iden: z.string().describe("Unique identifier of the chat to update"),
|
|
6
|
+
muted: z.boolean().describe("True to mute notifications for this chat, false to unmute")
|
|
7
|
+
}).describe("Request model for muting or unmuting a chat by its identifier.");
|
|
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"),
|
|
13
|
+
image_url: z.string().describe("URL of the participant's avatar image").nullable().optional(),
|
|
14
|
+
email_normalized: z.string().describe("Canonical email address of the chat participant")
|
|
15
|
+
}).describe("Information about the other participant in the chat.");
|
|
16
|
+
const pushbulletUpdateChat = action("PUSHBULLET_UPDATE_CHAT", {
|
|
17
|
+
slug: "pushbullet-update-chat",
|
|
18
|
+
name: "Mute or Unmute Chat",
|
|
19
|
+
description: "Tool to mute or unmute an existing chat. Use when adjusting notification settings for a specific chat by its identifier.",
|
|
20
|
+
input: PushbulletUpdateChatInput,
|
|
21
|
+
output: z.object({
|
|
22
|
+
iden: z.string().describe("Unique identifier for this chat"),
|
|
23
|
+
"with": PushbulletUpdateChat_ChatWithModelSchema.nullable(),
|
|
24
|
+
muted: z.boolean().describe("True if the chat is muted").nullable().optional(),
|
|
25
|
+
active: z.boolean().describe("False if the chat has been deleted"),
|
|
26
|
+
created: z.number().describe("Creation time in floating point seconds (Unix timestamp)"),
|
|
27
|
+
modified: z.number().describe("Last modified time in floating point seconds (Unix timestamp)")
|
|
28
|
+
}).describe("Response model representing the updated chat object.")
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { pushbulletUpdateChat };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=update-chat.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-chat.mjs","names":[],"sources":["../../src/actions/update-chat.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdateChatInput: z.ZodTypeAny = z.object({\n iden: z.string().describe(\"Unique identifier of the chat to update\"),\n muted: z.boolean().describe(\"True to mute notifications for this chat, false to unmute\"),\n}).describe(\"Request model for muting or unmuting a chat by its identifier.\");\nconst PushbulletUpdateChat_ChatWithModelSchema: z.ZodTypeAny = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\"),\n name: z.string().describe(\"Display name of the chat participant\"),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of chat participant: 'email' or 'user'\"),\n email: z.string().describe(\"Email address of the chat participant\"),\n image_url: z.string().describe(\"URL of the participant's avatar image\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the chat participant\"),\n}).describe(\"Information about the other participant in the chat.\");\nexport const PushbulletUpdateChatOutput: z.ZodTypeAny = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\"),\n \"with\": PushbulletUpdateChat_ChatWithModelSchema.nullable(),\n muted: z.boolean().describe(\"True if the chat is muted\").nullable().optional(),\n active: z.boolean().describe(\"False if the chat has been deleted\"),\n created: z.number().describe(\"Creation time in floating point seconds (Unix timestamp)\"),\n modified: z.number().describe(\"Last modified time in floating point seconds (Unix timestamp)\"),\n}).describe(\"Response model representing the updated chat object.\");\n\nexport const pushbulletUpdateChat = action(\"PUSHBULLET_UPDATE_CHAT\", {\n slug: \"pushbullet-update-chat\",\n name: \"Mute or Unmute Chat\",\n description: \"Tool to mute or unmute an existing chat. Use when adjusting notification settings for a specific chat by its identifier.\",\n input: PushbulletUpdateChatInput,\n output: PushbulletUpdateChatOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D;AACzF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,2CAAyD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChE,MAAM,EAAE,KAAK,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,SAAS,6CAA6C;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AACzF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAUlE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdsD,EAAE,OAAO;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC3D,QAAQ,yCAAyC,SAAS;EAC1D,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC;EACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC/F,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-device.ts
|
|
4
|
+
const PushbulletUpdateDeviceInput = zod.z.object({
|
|
5
|
+
icon: zod.z.enum([
|
|
6
|
+
"desktop",
|
|
7
|
+
"browser",
|
|
8
|
+
"website",
|
|
9
|
+
"laptop",
|
|
10
|
+
"tablet",
|
|
11
|
+
"phone",
|
|
12
|
+
"watch",
|
|
13
|
+
"system",
|
|
14
|
+
"ios"
|
|
15
|
+
]).describe("Icon for the device. Common values: desktop, laptop, tablet, phone, watch, system, ios.").optional(),
|
|
16
|
+
iden: zod.z.string().describe("Identifier of the device to update."),
|
|
17
|
+
model: zod.z.string().describe("Model of the device.").optional(),
|
|
18
|
+
has_sms: zod.z.boolean().describe("Whether the device supports SMS (Android only).").optional(),
|
|
19
|
+
nickname: zod.z.string().describe("New display name for the device.").optional(),
|
|
20
|
+
push_token: zod.z.string().describe("Platform-specific push token. Leave blank for custom or listening devices.").optional(),
|
|
21
|
+
app_version: zod.z.number().int().describe("Version of the Pushbullet app installed on the device (non-negative).").optional(),
|
|
22
|
+
manufacturer: zod.z.string().describe("Manufacturer of the device.").optional()
|
|
23
|
+
}).describe("Request parameters for updating an existing Pushbullet device.");
|
|
24
|
+
const PushbulletUpdateDeviceOutput = zod.z.object({
|
|
25
|
+
icon: zod.z.string().describe("Icon string for the device.").nullable().optional(),
|
|
26
|
+
iden: zod.z.string().describe("Unique identifier for the device."),
|
|
27
|
+
kind: zod.z.string().describe("Deprecated device kind field.").nullable().optional(),
|
|
28
|
+
type: zod.z.string().describe("Deprecated device type field.").nullable().optional(),
|
|
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)."),
|
|
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)."),
|
|
34
|
+
nickname: zod.z.string().describe("Display name of the device.").nullable().optional(),
|
|
35
|
+
pushable: zod.z.boolean().describe("Deprecated pushable field.").nullable().optional(),
|
|
36
|
+
push_token: zod.z.string().describe("Platform-specific push token for notifications.").nullable().optional(),
|
|
37
|
+
app_version: zod.z.number().int().describe("App version installed on the device.").nullable().optional(),
|
|
38
|
+
fingerprint: zod.z.string().describe("Platform-specific fingerprint.").nullable().optional(),
|
|
39
|
+
manufacturer: zod.z.string().describe("Manufacturer of the device.").nullable().optional(),
|
|
40
|
+
key_fingerprint: zod.z.string().describe("Encryption key fingerprint.").nullable().optional(),
|
|
41
|
+
generated_nickname: zod.z.boolean().describe("True if nickname was auto-generated.").nullable().optional()
|
|
42
|
+
}).describe("Response schema for an updated Pushbullet device.");
|
|
43
|
+
const pushbulletUpdateDevice = require_action.action("PUSHBULLET_UPDATE_DEVICE", {
|
|
44
|
+
slug: "pushbullet-update-device",
|
|
45
|
+
name: "Update Device",
|
|
46
|
+
description: "Tool to update metadata for a device by its identifier. Use when changing a device's nickname, model, or other settings.",
|
|
47
|
+
input: PushbulletUpdateDeviceInput,
|
|
48
|
+
output: PushbulletUpdateDeviceOutput
|
|
49
|
+
});
|
|
50
|
+
//#endregion
|
|
51
|
+
exports.pushbulletUpdateDevice = pushbulletUpdateDevice;
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=update-device.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-device.cjs","names":["z","action"],"sources":["../../src/actions/update-device.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdateDeviceInput: z.ZodTypeAny = z.object({\n icon: z.enum([\"desktop\", \"browser\", \"website\", \"laptop\", \"tablet\", \"phone\", \"watch\", \"system\", \"ios\"]).describe(\"Icon for the device. Common values: desktop, laptop, tablet, phone, watch, system, ios.\").optional(),\n iden: z.string().describe(\"Identifier of the device to update.\"),\n model: z.string().describe(\"Model of the device.\").optional(),\n has_sms: z.boolean().describe(\"Whether the device supports SMS (Android only).\").optional(),\n nickname: z.string().describe(\"New display name for the device.\").optional(),\n push_token: z.string().describe(\"Platform-specific push token. Leave blank for custom or listening devices.\").optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet app installed on the device (non-negative).\").optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").optional(),\n}).describe(\"Request parameters for updating an existing Pushbullet device.\");\nexport const PushbulletUpdateDeviceOutput: z.ZodTypeAny = z.object({\n icon: z.string().describe(\"Icon string for the device.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the device.\"),\n kind: z.string().describe(\"Deprecated device kind field.\").nullable().optional(),\n type: z.string().describe(\"Deprecated device type field.\").nullable().optional(),\n model: z.string().describe(\"Model of the device.\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active.\"),\n created: z.number().describe(\"Creation timestamp (UNIX time in seconds).\"),\n has_sms: z.boolean().describe(\"True if device supports SMS.\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (UNIX time in seconds).\"),\n nickname: z.string().describe(\"Display name of the device.\").nullable().optional(),\n pushable: z.boolean().describe(\"Deprecated pushable field.\").nullable().optional(),\n push_token: z.string().describe(\"Platform-specific push token for notifications.\").nullable().optional(),\n app_version: z.number().int().describe(\"App version installed on the device.\").nullable().optional(),\n fingerprint: z.string().describe(\"Platform-specific fingerprint.\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Encryption key fingerprint.\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated.\").nullable().optional(),\n}).describe(\"Response schema for an updated Pushbullet device.\");\n\nexport const pushbulletUpdateDevice = action(\"PUSHBULLET_UPDATE_DEVICE\", {\n slug: \"pushbullet-update-device\",\n name: \"Update Device\",\n description: \"Tool to update metadata for a device by its identifier. Use when changing a device's nickname, model, or other settings.\",\n input: PushbulletUpdateDeviceInput,\n output: PushbulletUpdateDeviceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAW;EAAW;EAAU;EAAU;EAAS;EAAS;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACpN,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;C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UA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-device.d.ts
|
|
4
|
+
declare const PushbulletUpdateDeviceInput: z.ZodTypeAny;
|
|
5
|
+
declare const PushbulletUpdateDeviceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pushbulletUpdateDevice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pushbulletUpdateDevice };
|
|
9
|
+
//# sourceMappingURL=update-device.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-device.d.cts","names":[],"sources":["../../src/actions/update-device.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UASiC;AAAA,cAChE,4BAAA,EAA8B,CAAA,CAAE,UAkBmB;AAAA,cAEnD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-device.d.ts
|
|
4
|
+
declare const PushbulletUpdateDeviceInput: z.ZodTypeAny;
|
|
5
|
+
declare const PushbulletUpdateDeviceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pushbulletUpdateDevice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pushbulletUpdateDevice };
|
|
9
|
+
//# sourceMappingURL=update-device.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-device.d.mts","names":[],"sources":["../../src/actions/update-device.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UASiC;AAAA,cAChE,4BAAA,EAA8B,CAAA,CAAE,UAkBmB;AAAA,cAEnD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const pushbulletUpdateDevice = action("PUSHBULLET_UPDATE_DEVICE", {
|
|
4
|
+
slug: "pushbullet-update-device",
|
|
5
|
+
name: "Update Device",
|
|
6
|
+
description: "Tool to update metadata for a device by its identifier. Use when changing a device's nickname, model, or other settings.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
icon: z.enum([
|
|
9
|
+
"desktop",
|
|
10
|
+
"browser",
|
|
11
|
+
"website",
|
|
12
|
+
"laptop",
|
|
13
|
+
"tablet",
|
|
14
|
+
"phone",
|
|
15
|
+
"watch",
|
|
16
|
+
"system",
|
|
17
|
+
"ios"
|
|
18
|
+
]).describe("Icon for the device. Common values: desktop, laptop, tablet, phone, watch, system, ios.").optional(),
|
|
19
|
+
iden: z.string().describe("Identifier of the device to update."),
|
|
20
|
+
model: z.string().describe("Model of the device.").optional(),
|
|
21
|
+
has_sms: z.boolean().describe("Whether the device supports SMS (Android only).").optional(),
|
|
22
|
+
nickname: z.string().describe("New display name for the device.").optional(),
|
|
23
|
+
push_token: z.string().describe("Platform-specific push token. Leave blank for custom or listening devices.").optional(),
|
|
24
|
+
app_version: z.number().int().describe("Version of the Pushbullet app installed on the device (non-negative).").optional(),
|
|
25
|
+
manufacturer: z.string().describe("Manufacturer of the device.").optional()
|
|
26
|
+
}).describe("Request parameters for updating an existing Pushbullet device."),
|
|
27
|
+
output: z.object({
|
|
28
|
+
icon: z.string().describe("Icon string for the device.").nullable().optional(),
|
|
29
|
+
iden: z.string().describe("Unique identifier for the device."),
|
|
30
|
+
kind: z.string().describe("Deprecated device kind field.").nullable().optional(),
|
|
31
|
+
type: z.string().describe("Deprecated device type field.").nullable().optional(),
|
|
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)."),
|
|
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)."),
|
|
37
|
+
nickname: z.string().describe("Display name of the device.").nullable().optional(),
|
|
38
|
+
pushable: z.boolean().describe("Deprecated pushable field.").nullable().optional(),
|
|
39
|
+
push_token: z.string().describe("Platform-specific push token for notifications.").nullable().optional(),
|
|
40
|
+
app_version: z.number().int().describe("App version installed on the device.").nullable().optional(),
|
|
41
|
+
fingerprint: z.string().describe("Platform-specific fingerprint.").nullable().optional(),
|
|
42
|
+
manufacturer: z.string().describe("Manufacturer of the device.").nullable().optional(),
|
|
43
|
+
key_fingerprint: z.string().describe("Encryption key fingerprint.").nullable().optional(),
|
|
44
|
+
generated_nickname: z.boolean().describe("True if nickname was auto-generated.").nullable().optional()
|
|
45
|
+
}).describe("Response schema for an updated Pushbullet device.")
|
|
46
|
+
});
|
|
47
|
+
//#endregion
|
|
48
|
+
export { pushbulletUpdateDevice };
|
|
49
|
+
|
|
50
|
+
//# sourceMappingURL=update-device.mjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = z.object({\n icon: z.enum([\"desktop\", \"browser\", \"website\", \"laptop\", \"tablet\", \"phone\", \"watch\", \"system\", \"ios\"]).describe(\"Icon for the device. Common values: desktop, laptop, tablet, phone, watch, system, ios.\").optional(),\n iden: z.string().describe(\"Identifier of the device to update.\"),\n model: z.string().describe(\"Model of the device.\").optional(),\n has_sms: z.boolean().describe(\"Whether the device supports SMS (Android only).\").optional(),\n nickname: z.string().describe(\"New display name for the device.\").optional(),\n push_token: z.string().describe(\"Platform-specific push token. Leave blank for custom or listening devices.\").optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet app installed on the device (non-negative).\").optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").optional(),\n}).describe(\"Request parameters for updating an existing Pushbullet device.\");\nexport const PushbulletUpdateDeviceOutput: z.ZodTypeAny = z.object({\n icon: z.string().describe(\"Icon string for the device.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the device.\"),\n kind: z.string().describe(\"Deprecated device kind field.\").nullable().optional(),\n type: z.string().describe(\"Deprecated device type field.\").nullable().optional(),\n model: z.string().describe(\"Model of the device.\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active.\"),\n created: z.number().describe(\"Creation timestamp (UNIX time in seconds).\"),\n has_sms: z.boolean().describe(\"True if device supports SMS.\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (UNIX time in seconds).\"),\n nickname: z.string().describe(\"Display name of the device.\").nullable().optional(),\n pushable: z.boolean().describe(\"Deprecated pushable field.\").nullable().optional(),\n push_token: z.string().describe(\"Platform-specific push token for notifications.\").nullable().optional(),\n app_version: z.number().int().describe(\"App version installed on the device.\").nullable().optional(),\n fingerprint: z.string().describe(\"Platform-specific fingerprint.\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Encryption key fingerprint.\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated.\").nullable().optional(),\n}).describe(\"Response schema for an updated Pushbullet device.\");\n\nexport const pushbulletUpdateDevice = action(\"PUSHBULLET_UPDATE_DEVICE\", {\n slug: \"pushbullet-update-device\",\n name: \"Update Device\",\n description: \"Tool to update metadata for a device by its identifier. Use when changing a device's nickname, model, or other settings.\",\n input: PushbulletUpdateDeviceInput,\n output: PushbulletUpdateDeviceOutput,\n});\n"],"mappings":";;AAkCA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlCuD,EAAE,OAAO;EAChE,MAAM,EAAE,KAAK;GAAC;GAAW;GAAW;GAAW;GAAU;GAAU;GAAS;GAAS;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACpN,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,SAAS,EAAE,QAAQ,CAAC,CAAC,S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AO,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"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-push.ts
|
|
4
|
+
const PushbulletUpdatePushInput = zod.z.object({
|
|
5
|
+
iden: zod.z.string().describe("Unique identifier of the push to update"),
|
|
6
|
+
items: zod.z.array(zod.z.object({
|
|
7
|
+
text: zod.z.string().describe("Text of the list item"),
|
|
8
|
+
checked: zod.z.boolean().describe("Whether the list item is checked")
|
|
9
|
+
}).describe("Model for a single list item in a list-style push.")).describe("List of items to update for list-style pushes").optional(),
|
|
10
|
+
dismissed: zod.z.boolean().describe("Set to true to mark the push as dismissed (hides notifications)").optional()
|
|
11
|
+
}).describe("Request model for updating an existing push.");
|
|
12
|
+
const PushbulletUpdatePushOutput = zod.z.object({
|
|
13
|
+
url: zod.z.string().describe("URL for link pushes (if any)").nullable().optional(),
|
|
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')"),
|
|
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)"),
|
|
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"),
|
|
24
|
+
file_name: zod.z.string().describe("Filename for file pushes (if any)").nullable().optional(),
|
|
25
|
+
file_type: zod.z.string().describe("MIME type for file pushes (if any)").nullable().optional(),
|
|
26
|
+
image_url: zod.z.string().describe("URL of image previews (if any)").nullable().optional(),
|
|
27
|
+
channel_tag: zod.z.string().describe("Channel tag for channel pushes").nullable().optional(),
|
|
28
|
+
client_iden: zod.z.string().describe("Identifier of the client").nullable().optional(),
|
|
29
|
+
sender_iden: zod.z.string().describe("Identifier of the sender").nullable().optional(),
|
|
30
|
+
sender_email: zod.z.string().describe("Email of the sender").nullable().optional(),
|
|
31
|
+
receiver_iden: zod.z.string().describe("Identifier of the receiver").nullable().optional(),
|
|
32
|
+
receiver_email: zod.z.string().describe("Email of the receiver").nullable().optional(),
|
|
33
|
+
source_device_iden: zod.z.string().describe("Identifier of the source device").nullable().optional(),
|
|
34
|
+
target_device_iden: zod.z.string().describe("Identifier of the target device").nullable().optional(),
|
|
35
|
+
sender_email_normalized: zod.z.string().describe("Normalized email of the sender").nullable().optional(),
|
|
36
|
+
receiver_email_normalized: zod.z.string().describe("Normalized email of the receiver").nullable().optional()
|
|
37
|
+
}).describe("Response model for the updated push object.");
|
|
38
|
+
const pushbulletUpdatePush = require_action.action("PUSHBULLET_UPDATE_PUSH", {
|
|
39
|
+
slug: "pushbullet-update-push",
|
|
40
|
+
name: "Update Push",
|
|
41
|
+
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.",
|
|
42
|
+
input: PushbulletUpdatePushInput,
|
|
43
|
+
output: PushbulletUpdatePushOutput
|
|
44
|
+
});
|
|
45
|
+
//#endregion
|
|
46
|
+
exports.pushbulletUpdatePush = pushbulletUpdatePush;
|
|
47
|
+
|
|
48
|
+
//# sourceMappingURL=update-push.cjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = 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\"),\n type: z.string().describe(\"Type of the push (e.g., 'note', 'link', 'file', 'list')\"),\n title: z.string().describe(\"Title of the push (if any)\").nullable().optional(),\n active: z.boolean().describe(\"True if the push is active\"),\n created: z.number().describe(\"Creation timestamp (seconds since epoch)\"),\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)\"),\n direction: z.string().describe(\"Direction of the push (e.g., 'self', 'incoming')\"),\n dismissed: z.boolean().describe(\"True if the push has been dismissed\"),\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,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,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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
|
+
declare const pushbulletUpdatePush: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pushbulletUpdatePush };
|
|
9
|
+
//# sourceMappingURL=update-push.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-push.d.cts","names":[],"sources":["../../src/actions/update-push.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAOiB;AAAA,cAC9C,0BAAA,EAA4B,CAAA,CAAE,UAyBe;AAAA,cAE7C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|