@keystrokehq/pushbullet 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-chat.cjs +1 -0
- package/dist/actions/create-chat.cjs.map +1 -1
- package/dist/actions/create-chat.d.cts +3 -15
- package/dist/actions/create-chat.d.cts.map +1 -1
- package/dist/actions/create-chat.d.mts +3 -15
- package/dist/actions/create-chat.d.mts.map +1 -1
- package/dist/actions/create-chat.mjs +1 -0
- package/dist/actions/create-chat.mjs.map +1 -1
- package/dist/actions/create-device.cjs +1 -0
- package/dist/actions/create-device.cjs.map +1 -1
- package/dist/actions/create-device.d.cts +3 -21
- package/dist/actions/create-device.d.cts.map +1 -1
- package/dist/actions/create-device.d.mts +3 -21
- package/dist/actions/create-device.d.mts.map +1 -1
- package/dist/actions/create-device.mjs +1 -0
- package/dist/actions/create-device.mjs.map +1 -1
- package/dist/actions/create-push.cjs +1 -0
- package/dist/actions/create-push.cjs.map +1 -1
- package/dist/actions/create-push.d.cts +3 -27
- package/dist/actions/create-push.d.cts.map +1 -1
- package/dist/actions/create-push.d.mts +3 -27
- package/dist/actions/create-push.d.mts.map +1 -1
- package/dist/actions/create-push.mjs +1 -0
- package/dist/actions/create-push.mjs.map +1 -1
- package/dist/actions/delete-all-pushes.cjs +1 -0
- package/dist/actions/delete-all-pushes.cjs.map +1 -1
- package/dist/actions/delete-all-pushes.d.cts +3 -13
- package/dist/actions/delete-all-pushes.d.cts.map +1 -1
- package/dist/actions/delete-all-pushes.d.mts +3 -13
- package/dist/actions/delete-all-pushes.d.mts.map +1 -1
- package/dist/actions/delete-all-pushes.mjs +1 -0
- package/dist/actions/delete-all-pushes.mjs.map +1 -1
- package/dist/actions/delete-chat.cjs +1 -0
- package/dist/actions/delete-chat.cjs.map +1 -1
- package/dist/actions/delete-chat.d.cts +3 -15
- package/dist/actions/delete-chat.d.cts.map +1 -1
- package/dist/actions/delete-chat.d.mts +3 -15
- package/dist/actions/delete-chat.d.mts.map +1 -1
- package/dist/actions/delete-chat.mjs +1 -0
- package/dist/actions/delete-chat.mjs.map +1 -1
- package/dist/actions/delete-device.cjs +1 -0
- package/dist/actions/delete-device.cjs.map +1 -1
- package/dist/actions/delete-device.d.cts +3 -15
- package/dist/actions/delete-device.d.cts.map +1 -1
- package/dist/actions/delete-device.d.mts +3 -15
- package/dist/actions/delete-device.d.mts.map +1 -1
- package/dist/actions/delete-device.mjs +1 -0
- package/dist/actions/delete-device.mjs.map +1 -1
- package/dist/actions/delete-push.cjs +1 -0
- package/dist/actions/delete-push.cjs.map +1 -1
- package/dist/actions/delete-push.d.cts +3 -15
- package/dist/actions/delete-push.d.cts.map +1 -1
- package/dist/actions/delete-push.d.mts +3 -15
- package/dist/actions/delete-push.d.mts.map +1 -1
- package/dist/actions/delete-push.mjs +1 -0
- package/dist/actions/delete-push.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -0
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -13
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -13
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +1 -0
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-chats.cjs +1 -0
- package/dist/actions/list-chats.cjs.map +1 -1
- package/dist/actions/list-chats.d.cts +3 -16
- package/dist/actions/list-chats.d.cts.map +1 -1
- package/dist/actions/list-chats.d.mts +3 -16
- package/dist/actions/list-chats.d.mts.map +1 -1
- package/dist/actions/list-chats.mjs +1 -0
- package/dist/actions/list-chats.mjs.map +1 -1
- package/dist/actions/list-devices.cjs +1 -0
- package/dist/actions/list-devices.cjs.map +1 -1
- package/dist/actions/list-devices.d.cts +3 -13
- package/dist/actions/list-devices.d.cts.map +1 -1
- package/dist/actions/list-devices.d.mts +3 -13
- package/dist/actions/list-devices.d.mts.map +1 -1
- package/dist/actions/list-devices.mjs +1 -0
- package/dist/actions/list-devices.mjs.map +1 -1
- package/dist/actions/list-pushes.cjs +1 -0
- package/dist/actions/list-pushes.cjs.map +1 -1
- package/dist/actions/list-pushes.d.cts +3 -18
- package/dist/actions/list-pushes.d.cts.map +1 -1
- package/dist/actions/list-pushes.d.mts +3 -18
- package/dist/actions/list-pushes.d.mts.map +1 -1
- package/dist/actions/list-pushes.mjs +1 -0
- package/dist/actions/list-pushes.mjs.map +1 -1
- package/dist/actions/update-chat.cjs +1 -0
- package/dist/actions/update-chat.cjs.map +1 -1
- package/dist/actions/update-chat.d.cts +3 -16
- package/dist/actions/update-chat.d.cts.map +1 -1
- package/dist/actions/update-chat.d.mts +3 -16
- package/dist/actions/update-chat.d.mts.map +1 -1
- package/dist/actions/update-chat.mjs +1 -0
- package/dist/actions/update-chat.mjs.map +1 -1
- package/dist/actions/update-device.cjs +1 -0
- package/dist/actions/update-device.cjs.map +1 -1
- package/dist/actions/update-device.d.cts +3 -22
- package/dist/actions/update-device.d.cts.map +1 -1
- package/dist/actions/update-device.d.mts +3 -22
- package/dist/actions/update-device.d.mts.map +1 -1
- package/dist/actions/update-device.mjs +1 -0
- package/dist/actions/update-device.mjs.map +1 -1
- package/dist/actions/update-push.cjs +1 -0
- package/dist/actions/update-push.cjs.map +1 -1
- package/dist/actions/update-push.d.cts +3 -21
- package/dist/actions/update-push.d.cts.map +1 -1
- package/dist/actions/update-push.d.mts +3 -21
- package/dist/actions/update-push.d.mts.map +1 -1
- package/dist/actions/update-push.mjs +1 -0
- package/dist/actions/update-push.mjs.map +1 -1
- package/dist/actions/upload-request.cjs +1 -0
- package/dist/actions/upload-request.cjs.map +1 -1
- package/dist/actions/upload-request.d.cts +3 -16
- package/dist/actions/upload-request.d.cts.map +1 -1
- package/dist/actions/upload-request.d.mts +3 -16
- package/dist/actions/upload-request.d.mts.map +1 -1
- package/dist/actions/upload-request.mjs +1 -0
- package/dist/actions/upload-request.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-devices.d.cts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-devices.d.cts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushbullet } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-devices.d.ts
|
|
@@ -23,19 +25,7 @@ declare const PushbulletListDevicesOutput: z.ZodObject<{
|
|
|
23
25
|
generated_nickname: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
24
26
|
}, z.core.$loose>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const pushbulletListDevices:
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
accessToken: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
accessToken: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const pushbulletListDevices: AppAction<typeof PushbulletListDevicesInput, typeof PushbulletListDevicesOutput, typeof pushbullet.credential>;
|
|
39
29
|
//#endregion
|
|
40
30
|
export { pushbulletListDevices };
|
|
41
31
|
//# sourceMappingURL=list-devices.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-devices.d.mts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-devices.d.mts","names":[],"sources":["../../src/actions/list-devices.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +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.object({}).describe(\"Empty request for listing devices. No parameters needed.\");\nconst PushbulletListDevices_DeviceSchema = z.object({\n icon: z.string().describe(\"Device icon type (e.g., 'desktop', 'phone').\").nullable(),\n iden: z.string().describe(\"Unique identifier for the device.\").nullable(),\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.\").nullable(),\n created: z.number().describe(\"Creation timestamp in floating-point seconds since epoch.\").nullable(),\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.\").nullable(),\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.\").nullable(),\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}).passthrough().describe(\"Pushbullet Device object.\");\nexport const PushbulletListDevicesOutput = z.object({\n devices: z.array(PushbulletListDevices_DeviceSchema).describe(\"List of devices belonging to the current user.\"),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-devices.mjs","names":[],"sources":["../../src/actions/list-devices.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletListDevicesInput = z.object({}).describe(\"Empty request for listing devices. No parameters needed.\");\nconst PushbulletListDevices_DeviceSchema = z.object({\n icon: z.string().describe(\"Device icon type (e.g., 'desktop', 'phone').\").nullable(),\n iden: z.string().describe(\"Unique identifier for the device.\").nullable(),\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.\").nullable(),\n created: z.number().describe(\"Creation timestamp in floating-point seconds since epoch.\").nullable(),\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.\").nullable(),\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.\").nullable(),\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}).passthrough().describe(\"Pushbullet Device object.\");\nexport const PushbulletListDevicesOutput = z.object({\n devices: z.array(PushbulletListDevices_DeviceSchema).describe(\"List of devices belonging to the current user.\"),\n}).passthrough().describe(\"Response model for list-devices.\\n\\ndevices: list of Device objects ordered most-recently modified first.\");\n\nexport const pushbulletListDevices: AppAction<\n typeof PushbulletListDevicesInput,\n typeof PushbulletListDevicesOutput,\n typeof pushbullet.credential\n> = 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":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO,CA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AC,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,YAAY,CAAC,CAAC,SAAS,2BAA2B;AAKrD,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,gDAAgD,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2GAWhB;AACV,CAAC"}
|
|
@@ -1 +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.object({\n limit: z.number().int().describe(\"Maximum number of pushes to return (max 500, default 500).\").optional(),\n active: z.boolean().describe(\"If true, only active pushes are returned.\").optional(),\n cursor: z.string().describe(\"Cursor for pagination to fetch the next set of pushes.\").optional(),\n modified_after: z.number().describe(\"Only return pushes modified after this UNIX timestamp (float).\").optional(),\n}).describe(\"Request model for listing pushes with optional filters and pagination.\");\nconst PushbulletListPushes_PushSchema = z.object({\n url: z.string().describe(\"URL for link pushes.\").nullable().optional(),\n body: z.string().describe(\"Optional body text of the push.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the push.\").nullable(),\n type: z.string().describe(\"Type of the push (e.g., 'note', 'link', 'file'). May be absent for deleted pushes.\").nullable().optional(),\n title: z.string().describe(\"Optional title of the push.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the push is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp as UNIX float.\").nullable(),\n file_url: z.string().describe(\"URL for file pushes.\").nullable().optional(),\n modified: z.number().describe(\"Last modification timestamp as UNIX float.\").nullable(),\n direction: z.string().describe(\"Direction of the push (e.g., 'incoming'). May be absent for deleted pushes.\").nullable().optional(),\n dismissed: z.boolean().describe(\"Whether the push has been dismissed.\").nullable(),\n file_name: z.string().describe(\"Filename for file pushes.\").nullable().optional(),\n file_type: z.string().describe(\"MIME type for file pushes.\").nullable().optional(),\n image_url: z.string().describe(\"URL for image previews.\").nullable().optional(),\n channel_tag: z.string().describe(\"Channel tag for channel pushes.\").nullable().optional(),\n client_iden: z.string().describe(\"Identifier of the client.\").nullable().optional(),\n sender_iden: z.string().describe(\"Identifier of the sender.\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver.\").nullable().optional(),\n source_user_iden: z.string().describe(\"Identifier of the source user.\").nullable().optional(),\n target_device_iden: z.string().describe(\"Identifier of the target device.\").nullable().optional(),\n}).passthrough();\nexport const PushbulletListPushesOutput = z.object({\n cursor: z.string().describe(\"Cursor for fetching the next page of results, if present.\").nullable().optional(),\n pushes: z.array(PushbulletListPushes_PushSchema).describe(\"List of push objects.\"),\n}).passthrough().describe(\"Response model for listing pushes.\");\n\nexport const pushbulletListPushes = action(\"PUSHBULLET_LIST_PUSHES\", {\n slug: \"pushbullet-list-pushes\",\n name: \"List Pushes\",\n description: \"Tool to list pushes with optional filtering and pagination. Use when retrieving or syncing pushes after a certain time.\",\n input: PushbulletListPushesInput,\n output: PushbulletListPushesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-pushes.cjs","names":["z","action"],"sources":["../../src/actions/list-pushes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletListPushesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of pushes to return (max 500, default 500).\").optional(),\n active: z.boolean().describe(\"If true, only active pushes are returned.\").optional(),\n cursor: z.string().describe(\"Cursor for pagination to fetch the next set of pushes.\").optional(),\n modified_after: z.number().describe(\"Only return pushes modified after this UNIX timestamp (float).\").optional(),\n}).describe(\"Request model for listing pushes with optional filters and pagination.\");\nconst PushbulletListPushes_PushSchema = z.object({\n url: z.string().describe(\"URL for link pushes.\").nullable().optional(),\n body: z.string().describe(\"Optional body text of the push.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the push.\").nullable(),\n type: z.string().describe(\"Type of the push (e.g., 'note', 'link', 'file'). May be absent for deleted pushes.\").nullable().optional(),\n title: z.string().describe(\"Optional title of the push.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the push is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp as UNIX float.\").nullable(),\n file_url: z.string().describe(\"URL for file pushes.\").nullable().optional(),\n modified: z.number().describe(\"Last modification timestamp as UNIX float.\").nullable(),\n direction: z.string().describe(\"Direction of the push (e.g., 'incoming'). May be absent for deleted pushes.\").nullable().optional(),\n dismissed: z.boolean().describe(\"Whether the push has been dismissed.\").nullable(),\n file_name: z.string().describe(\"Filename for file pushes.\").nullable().optional(),\n file_type: z.string().describe(\"MIME type for file pushes.\").nullable().optional(),\n image_url: z.string().describe(\"URL for image previews.\").nullable().optional(),\n channel_tag: z.string().describe(\"Channel tag for channel pushes.\").nullable().optional(),\n client_iden: z.string().describe(\"Identifier of the client.\").nullable().optional(),\n sender_iden: z.string().describe(\"Identifier of the sender.\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver.\").nullable().optional(),\n source_user_iden: z.string().describe(\"Identifier of the source user.\").nullable().optional(),\n target_device_iden: z.string().describe(\"Identifier of the target device.\").nullable().optional(),\n}).passthrough();\nexport const PushbulletListPushesOutput = z.object({\n cursor: z.string().describe(\"Cursor for fetching the next page of results, if present.\").nullable().optional(),\n pushes: z.array(PushbulletListPushes_PushSchema).describe(\"List of push objects.\"),\n}).passthrough().describe(\"Response model for listing pushes.\");\n\nexport const pushbulletListPushes: AppAction<\n typeof PushbulletListPushesInput,\n typeof PushbulletListPushesOutput,\n typeof pushbullet.credential\n> = 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":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,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,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SA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A,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,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,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushbullet } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-pushes.d.ts
|
|
@@ -32,24 +34,7 @@ declare const PushbulletListPushesOutput: z.ZodObject<{
|
|
|
32
34
|
target_device_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
35
|
}, z.core.$loose>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const pushbulletListPushes:
|
|
36
|
-
limit?: number | undefined;
|
|
37
|
-
active?: boolean | undefined;
|
|
38
|
-
cursor?: string | undefined;
|
|
39
|
-
modified_after?: number | undefined;
|
|
40
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
41
|
-
connectionId: z.ZodString;
|
|
42
|
-
entityId: z.ZodString;
|
|
43
|
-
instanceId: z.ZodString;
|
|
44
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
-
accessToken: z.ZodString;
|
|
46
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
47
|
-
connectionId: z.ZodString;
|
|
48
|
-
entityId: z.ZodString;
|
|
49
|
-
instanceId: z.ZodString;
|
|
50
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
-
accessToken: z.ZodString;
|
|
52
|
-
}, z.core.$strip>>]>;
|
|
37
|
+
declare const pushbulletListPushes: AppAction<typeof PushbulletListPushesInput, typeof PushbulletListPushesOutput, typeof pushbullet.credential>;
|
|
53
38
|
//#endregion
|
|
54
39
|
export { pushbulletListPushes };
|
|
55
40
|
//# sourceMappingURL=list-pushes.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pushes.d.cts","names":[],"sources":["../../src/actions/list-pushes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-pushes.d.cts","names":[],"sources":["../../src/actions/list-pushes.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cA4BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushbullet } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-pushes.d.ts
|
|
@@ -32,24 +34,7 @@ declare const PushbulletListPushesOutput: z.ZodObject<{
|
|
|
32
34
|
target_device_iden: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
35
|
}, z.core.$loose>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const pushbulletListPushes:
|
|
36
|
-
limit?: number | undefined;
|
|
37
|
-
active?: boolean | undefined;
|
|
38
|
-
cursor?: string | undefined;
|
|
39
|
-
modified_after?: number | undefined;
|
|
40
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
41
|
-
connectionId: z.ZodString;
|
|
42
|
-
entityId: z.ZodString;
|
|
43
|
-
instanceId: z.ZodString;
|
|
44
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
-
accessToken: z.ZodString;
|
|
46
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
47
|
-
connectionId: z.ZodString;
|
|
48
|
-
entityId: z.ZodString;
|
|
49
|
-
instanceId: z.ZodString;
|
|
50
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
-
accessToken: z.ZodString;
|
|
52
|
-
}, z.core.$strip>>]>;
|
|
37
|
+
declare const pushbulletListPushes: AppAction<typeof PushbulletListPushesInput, typeof PushbulletListPushesOutput, typeof pushbullet.credential>;
|
|
53
38
|
//#endregion
|
|
54
39
|
export { pushbulletListPushes };
|
|
55
40
|
//# sourceMappingURL=list-pushes.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pushes.d.mts","names":[],"sources":["../../src/actions/list-pushes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-pushes.d.mts","names":[],"sources":["../../src/actions/list-pushes.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cA4BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pushes.mjs","names":[],"sources":["../../src/actions/list-pushes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletListPushesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of pushes to return (max 500, default 500).\").optional(),\n active: z.boolean().describe(\"If true, only active pushes are returned.\").optional(),\n cursor: z.string().describe(\"Cursor for pagination to fetch the next set of pushes.\").optional(),\n modified_after: z.number().describe(\"Only return pushes modified after this UNIX timestamp (float).\").optional(),\n}).describe(\"Request model for listing pushes with optional filters and pagination.\");\nconst PushbulletListPushes_PushSchema = z.object({\n url: z.string().describe(\"URL for link pushes.\").nullable().optional(),\n body: z.string().describe(\"Optional body text of the push.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the push.\").nullable(),\n type: z.string().describe(\"Type of the push (e.g., 'note', 'link', 'file'). May be absent for deleted pushes.\").nullable().optional(),\n title: z.string().describe(\"Optional title of the push.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the push is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp as UNIX float.\").nullable(),\n file_url: z.string().describe(\"URL for file pushes.\").nullable().optional(),\n modified: z.number().describe(\"Last modification timestamp as UNIX float.\").nullable(),\n direction: z.string().describe(\"Direction of the push (e.g., 'incoming'). May be absent for deleted pushes.\").nullable().optional(),\n dismissed: z.boolean().describe(\"Whether the push has been dismissed.\").nullable(),\n file_name: z.string().describe(\"Filename for file pushes.\").nullable().optional(),\n file_type: z.string().describe(\"MIME type for file pushes.\").nullable().optional(),\n image_url: z.string().describe(\"URL for image previews.\").nullable().optional(),\n channel_tag: z.string().describe(\"Channel tag for channel pushes.\").nullable().optional(),\n client_iden: z.string().describe(\"Identifier of the client.\").nullable().optional(),\n sender_iden: z.string().describe(\"Identifier of the sender.\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver.\").nullable().optional(),\n source_user_iden: z.string().describe(\"Identifier of the source user.\").nullable().optional(),\n target_device_iden: z.string().describe(\"Identifier of the target device.\").nullable().optional(),\n}).passthrough();\nexport const PushbulletListPushesOutput = z.object({\n cursor: z.string().describe(\"Cursor for fetching the next page of results, if present.\").nullable().optional(),\n pushes: z.array(PushbulletListPushes_PushSchema).describe(\"List of push objects.\"),\n}).passthrough().describe(\"Response model for listing pushes.\");\n\nexport const pushbulletListPushes = action(\"PUSHBULLET_LIST_PUSHES\", {\n slug: \"pushbullet-list-pushes\",\n name: \"List Pushes\",\n description: \"Tool to list pushes with optional filtering and pagination. Use when retrieving or syncing pushes after a certain time.\",\n input: PushbulletListPushesInput,\n output: PushbulletListPushesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-pushes.mjs","names":[],"sources":["../../src/actions/list-pushes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletListPushesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of pushes to return (max 500, default 500).\").optional(),\n active: z.boolean().describe(\"If true, only active pushes are returned.\").optional(),\n cursor: z.string().describe(\"Cursor for pagination to fetch the next set of pushes.\").optional(),\n modified_after: z.number().describe(\"Only return pushes modified after this UNIX timestamp (float).\").optional(),\n}).describe(\"Request model for listing pushes with optional filters and pagination.\");\nconst PushbulletListPushes_PushSchema = z.object({\n url: z.string().describe(\"URL for link pushes.\").nullable().optional(),\n body: z.string().describe(\"Optional body text of the push.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the push.\").nullable(),\n type: z.string().describe(\"Type of the push (e.g., 'note', 'link', 'file'). May be absent for deleted pushes.\").nullable().optional(),\n title: z.string().describe(\"Optional title of the push.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the push is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp as UNIX float.\").nullable(),\n file_url: z.string().describe(\"URL for file pushes.\").nullable().optional(),\n modified: z.number().describe(\"Last modification timestamp as UNIX float.\").nullable(),\n direction: z.string().describe(\"Direction of the push (e.g., 'incoming'). May be absent for deleted pushes.\").nullable().optional(),\n dismissed: z.boolean().describe(\"Whether the push has been dismissed.\").nullable(),\n file_name: z.string().describe(\"Filename for file pushes.\").nullable().optional(),\n file_type: z.string().describe(\"MIME type for file pushes.\").nullable().optional(),\n image_url: z.string().describe(\"URL for image previews.\").nullable().optional(),\n channel_tag: z.string().describe(\"Channel tag for channel pushes.\").nullable().optional(),\n client_iden: z.string().describe(\"Identifier of the client.\").nullable().optional(),\n sender_iden: z.string().describe(\"Identifier of the sender.\").nullable().optional(),\n receiver_iden: z.string().describe(\"Identifier of the receiver.\").nullable().optional(),\n source_user_iden: z.string().describe(\"Identifier of the source user.\").nullable().optional(),\n target_device_iden: z.string().describe(\"Identifier of the target device.\").nullable().optional(),\n}).passthrough();\nexport const PushbulletListPushesOutput = z.object({\n cursor: z.string().describe(\"Cursor for fetching the next page of results, if present.\").nullable().optional(),\n pushes: z.array(PushbulletListPushes_PushSchema).describe(\"List of push objects.\"),\n}).passthrough().describe(\"Response model for listing pushes.\");\n\nexport const pushbulletListPushes: AppAction<\n typeof PushbulletListPushesInput,\n typeof PushbulletListPushesOutput,\n typeof pushbullet.credential\n> = 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":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC/F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,kCAAkC,EAAE,OAAO;CAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAA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C,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,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,CAAC,CAAC,YAAY;AAMf,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdwC,EAAE,OAAO;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,QAAQ,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,uBAAuB;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-chat.cjs","names":["z","action"],"sources":["../../src/actions/update-chat.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdateChatInput = z.object({\n iden: z.string().describe(\"Unique identifier of the chat to update\"),\n muted: z.boolean().describe(\"True to mute notifications for this chat, false to unmute\"),\n}).describe(\"Request model for muting or unmuting a chat by its identifier.\");\nconst PushbulletUpdateChat_ChatWithModelSchema = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\").nullable(),\n name: z.string().describe(\"Display name of the chat participant\").nullable(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of chat participant: 'email' or 'user'\").nullable(),\n email: z.string().describe(\"Email address of the chat participant\").nullable(),\n image_url: z.string().describe(\"URL of the participant's avatar image\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the chat participant\").nullable(),\n}).passthrough().describe(\"Information about the other participant in the chat.\");\nexport const PushbulletUpdateChatOutput = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\").nullable(),\n \"with\": PushbulletUpdateChat_ChatWithModelSchema.nullable(),\n muted: z.boolean().describe(\"True if the chat is muted\").nullable().optional(),\n active: z.boolean().describe(\"False if the chat has been deleted\").nullable(),\n created: z.number().describe(\"Creation time in floating point seconds (Unix timestamp)\").nullable(),\n modified: z.number().describe(\"Last modified time in floating point seconds (Unix timestamp)\").nullable(),\n}).passthrough().describe(\"Response model representing the updated chat object.\");\n\nexport const pushbulletUpdateChat = action(\"PUSHBULLET_UPDATE_CHAT\", {\n slug: \"pushbullet-update-chat\",\n name: \"Mute or Unmute Chat\",\n description: \"Tool to mute or unmute an existing chat. Use when adjusting notification settings for a specific chat by its identifier.\",\n input: PushbulletUpdateChatInput,\n output: PushbulletUpdateChatOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-chat.cjs","names":["z","action"],"sources":["../../src/actions/update-chat.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletUpdateChatInput = z.object({\n iden: z.string().describe(\"Unique identifier of the chat to update\"),\n muted: z.boolean().describe(\"True to mute notifications for this chat, false to unmute\"),\n}).describe(\"Request model for muting or unmuting a chat by its identifier.\");\nconst PushbulletUpdateChat_ChatWithModelSchema = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\").nullable(),\n name: z.string().describe(\"Display name of the chat participant\").nullable(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of chat participant: 'email' or 'user'\").nullable(),\n email: z.string().describe(\"Email address of the chat participant\").nullable(),\n image_url: z.string().describe(\"URL of the participant's avatar image\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the chat participant\").nullable(),\n}).passthrough().describe(\"Information about the other participant in the chat.\");\nexport const PushbulletUpdateChatOutput = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\").nullable(),\n \"with\": PushbulletUpdateChat_ChatWithModelSchema.nullable(),\n muted: z.boolean().describe(\"True if the chat is muted\").nullable().optional(),\n active: z.boolean().describe(\"False if the chat has been deleted\").nullable(),\n created: z.number().describe(\"Creation time in floating point seconds (Unix timestamp)\").nullable(),\n modified: z.number().describe(\"Last modified time in floating point seconds (Unix timestamp)\").nullable(),\n}).passthrough().describe(\"Response model representing the updated chat object.\");\n\nexport const pushbulletUpdateChat: AppAction<\n typeof PushbulletUpdateChatInput,\n typeof PushbulletUpdateChatOutput,\n typeof pushbullet.credential\n> = 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":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D;AACzF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,QAAQ,yCAAyC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAClG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushbullet } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-chat.d.ts
|
|
@@ -23,22 +25,7 @@ declare const PushbulletUpdateChatOutput: z.ZodObject<{
|
|
|
23
25
|
created: z.ZodNullable<z.ZodNumber>;
|
|
24
26
|
modified: z.ZodNullable<z.ZodNumber>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const pushbulletUpdateChat:
|
|
27
|
-
iden: string;
|
|
28
|
-
muted: boolean;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
accessToken: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
accessToken: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const pushbulletUpdateChat: AppAction<typeof PushbulletUpdateChatInput, typeof PushbulletUpdateChatOutput, typeof pushbullet.credential>;
|
|
42
29
|
//#endregion
|
|
43
30
|
export { pushbulletUpdateChat };
|
|
44
31
|
//# sourceMappingURL=update-chat.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-chat.d.cts","names":[],"sources":["../../src/actions/update-chat.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-chat.d.cts","names":[],"sources":["../../src/actions/update-chat.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushbullet } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-chat.d.ts
|
|
@@ -23,22 +25,7 @@ declare const PushbulletUpdateChatOutput: z.ZodObject<{
|
|
|
23
25
|
created: z.ZodNullable<z.ZodNumber>;
|
|
24
26
|
modified: z.ZodNullable<z.ZodNumber>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const pushbulletUpdateChat:
|
|
27
|
-
iden: string;
|
|
28
|
-
muted: boolean;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
accessToken: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
accessToken: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const pushbulletUpdateChat: AppAction<typeof PushbulletUpdateChatInput, typeof PushbulletUpdateChatOutput, typeof pushbullet.credential>;
|
|
42
29
|
//#endregion
|
|
43
30
|
export { pushbulletUpdateChat };
|
|
44
31
|
//# sourceMappingURL=update-chat.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-chat.d.mts","names":[],"sources":["../../src/actions/update-chat.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-chat.d.mts","names":[],"sources":["../../src/actions/update-chat.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAS1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-chat.mjs","names":[],"sources":["../../src/actions/update-chat.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdateChatInput = z.object({\n iden: z.string().describe(\"Unique identifier of the chat to update\"),\n muted: z.boolean().describe(\"True to mute notifications for this chat, false to unmute\"),\n}).describe(\"Request model for muting or unmuting a chat by its identifier.\");\nconst PushbulletUpdateChat_ChatWithModelSchema = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\").nullable(),\n name: z.string().describe(\"Display name of the chat participant\").nullable(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of chat participant: 'email' or 'user'\").nullable(),\n email: z.string().describe(\"Email address of the chat participant\").nullable(),\n image_url: z.string().describe(\"URL of the participant's avatar image\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the chat participant\").nullable(),\n}).passthrough().describe(\"Information about the other participant in the chat.\");\nexport const PushbulletUpdateChatOutput = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\").nullable(),\n \"with\": PushbulletUpdateChat_ChatWithModelSchema.nullable(),\n muted: z.boolean().describe(\"True if the chat is muted\").nullable().optional(),\n active: z.boolean().describe(\"False if the chat has been deleted\").nullable(),\n created: z.number().describe(\"Creation time in floating point seconds (Unix timestamp)\").nullable(),\n modified: z.number().describe(\"Last modified time in floating point seconds (Unix timestamp)\").nullable(),\n}).passthrough().describe(\"Response model representing the updated chat object.\");\n\nexport const pushbulletUpdateChat = action(\"PUSHBULLET_UPDATE_CHAT\", {\n slug: \"pushbullet-update-chat\",\n name: \"Mute or Unmute Chat\",\n description: \"Tool to mute or unmute an existing chat. Use when adjusting notification settings for a specific chat by its identifier.\",\n input: PushbulletUpdateChatInput,\n output: PushbulletUpdateChatOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-chat.mjs","names":[],"sources":["../../src/actions/update-chat.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletUpdateChatInput = z.object({\n iden: z.string().describe(\"Unique identifier of the chat to update\"),\n muted: z.boolean().describe(\"True to mute notifications for this chat, false to unmute\"),\n}).describe(\"Request model for muting or unmuting a chat by its identifier.\");\nconst PushbulletUpdateChat_ChatWithModelSchema = z.object({\n iden: z.string().describe(\"Identifier of the chat participant\").nullable(),\n name: z.string().describe(\"Display name of the chat participant\").nullable(),\n type: z.enum([\"email\", \"user\"]).describe(\"Type of chat participant: 'email' or 'user'\").nullable(),\n email: z.string().describe(\"Email address of the chat participant\").nullable(),\n image_url: z.string().describe(\"URL of the participant's avatar image\").nullable().optional(),\n email_normalized: z.string().describe(\"Canonical email address of the chat participant\").nullable(),\n}).passthrough().describe(\"Information about the other participant in the chat.\");\nexport const PushbulletUpdateChatOutput = z.object({\n iden: z.string().describe(\"Unique identifier for this chat\").nullable(),\n \"with\": PushbulletUpdateChat_ChatWithModelSchema.nullable(),\n muted: z.boolean().describe(\"True if the chat is muted\").nullable().optional(),\n active: z.boolean().describe(\"False if the chat has been deleted\").nullable(),\n created: z.number().describe(\"Creation time in floating point seconds (Unix timestamp)\").nullable(),\n modified: z.number().describe(\"Last modified time in floating point seconds (Unix timestamp)\").nullable(),\n}).passthrough().describe(\"Response model representing the updated chat object.\");\n\nexport const pushbulletUpdateChat: AppAction<\n typeof PushbulletUpdateChatInput,\n typeof PushbulletUpdateChatOutput,\n typeof pushbullet.credential\n> = 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":";;;;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AAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-device.cjs","names":["z","action"],"sources":["../../src/actions/update-device.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushbulletUpdateDeviceInput = z.object({\n icon: z.enum([\"desktop\", \"browser\", \"website\", \"laptop\", \"tablet\", \"phone\", \"watch\", \"system\", \"ios\"]).describe(\"Icon for the device. Common values: desktop, laptop, tablet, phone, watch, system, ios.\").optional(),\n iden: z.string().describe(\"Identifier of the device to update.\"),\n model: z.string().describe(\"Model of the device.\").optional(),\n has_sms: z.boolean().describe(\"Whether the device supports SMS (Android only).\").optional(),\n nickname: z.string().describe(\"New display name for the device.\").optional(),\n push_token: z.string().describe(\"Platform-specific push token. Leave blank for custom or listening devices.\").optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet app installed on the device (non-negative).\").optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").optional(),\n}).describe(\"Request parameters for updating an existing Pushbullet device.\");\nexport const PushbulletUpdateDeviceOutput = z.object({\n icon: z.string().describe(\"Icon string for the device.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the device.\").nullable(),\n kind: z.string().describe(\"Deprecated device kind field.\").nullable().optional(),\n type: z.string().describe(\"Deprecated device type field.\").nullable().optional(),\n model: z.string().describe(\"Model of the device.\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp (UNIX time in seconds).\").nullable(),\n has_sms: z.boolean().describe(\"True if device supports SMS.\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (UNIX time in seconds).\").nullable(),\n nickname: z.string().describe(\"Display name of the device.\").nullable().optional(),\n pushable: z.boolean().describe(\"Deprecated pushable field.\").nullable().optional(),\n push_token: z.string().describe(\"Platform-specific push token for notifications.\").nullable().optional(),\n app_version: z.number().int().describe(\"App version installed on the device.\").nullable().optional(),\n fingerprint: z.string().describe(\"Platform-specific fingerprint.\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Encryption key fingerprint.\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for an updated Pushbullet device.\");\n\nexport const pushbulletUpdateDevice = action(\"PUSHBULLET_UPDATE_DEVICE\", {\n slug: \"pushbullet-update-device\",\n name: \"Update Device\",\n description: \"Tool to update metadata for a device by its identifier. Use when changing a device's nickname, model, or other settings.\",\n input: PushbulletUpdateDeviceInput,\n output: PushbulletUpdateDeviceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-device.cjs","names":["z","action"],"sources":["../../src/actions/update-device.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletUpdateDeviceInput = z.object({\n icon: z.enum([\"desktop\", \"browser\", \"website\", \"laptop\", \"tablet\", \"phone\", \"watch\", \"system\", \"ios\"]).describe(\"Icon for the device. Common values: desktop, laptop, tablet, phone, watch, system, ios.\").optional(),\n iden: z.string().describe(\"Identifier of the device to update.\"),\n model: z.string().describe(\"Model of the device.\").optional(),\n has_sms: z.boolean().describe(\"Whether the device supports SMS (Android only).\").optional(),\n nickname: z.string().describe(\"New display name for the device.\").optional(),\n push_token: z.string().describe(\"Platform-specific push token. Leave blank for custom or listening devices.\").optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet app installed on the device (non-negative).\").optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").optional(),\n}).describe(\"Request parameters for updating an existing Pushbullet device.\");\nexport const PushbulletUpdateDeviceOutput = z.object({\n icon: z.string().describe(\"Icon string for the device.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the device.\").nullable(),\n kind: z.string().describe(\"Deprecated device kind field.\").nullable().optional(),\n type: z.string().describe(\"Deprecated device type field.\").nullable().optional(),\n model: z.string().describe(\"Model of the device.\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp (UNIX time in seconds).\").nullable(),\n has_sms: z.boolean().describe(\"True if device supports SMS.\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (UNIX time in seconds).\").nullable(),\n nickname: z.string().describe(\"Display name of the device.\").nullable().optional(),\n pushable: z.boolean().describe(\"Deprecated pushable field.\").nullable().optional(),\n push_token: z.string().describe(\"Platform-specific push token for notifications.\").nullable().optional(),\n app_version: z.number().int().describe(\"App version installed on the device.\").nullable().optional(),\n fingerprint: z.string().describe(\"Platform-specific fingerprint.\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Encryption key fingerprint.\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for an updated Pushbullet device.\");\n\nexport const pushbulletUpdateDevice: AppAction<\n typeof PushbulletUpdateDeviceInput,\n typeof PushbulletUpdateDeviceOutput,\n typeof pushbullet.credential\n> = 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":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAW;EAAW;EAAU;EAAU;EAAS;EAAS;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACpN,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,OAA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AC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushbullet } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-device.d.ts
|
|
@@ -40,28 +42,7 @@ declare const PushbulletUpdateDeviceOutput: z.ZodObject<{
|
|
|
40
42
|
key_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
43
|
generated_nickname: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
42
44
|
}, z.core.$loose>;
|
|
43
|
-
declare const pushbulletUpdateDevice:
|
|
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<"pushbullet", z.ZodObject<{
|
|
53
|
-
connectionId: z.ZodString;
|
|
54
|
-
entityId: z.ZodString;
|
|
55
|
-
instanceId: z.ZodString;
|
|
56
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
57
|
-
accessToken: z.ZodString;
|
|
58
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
59
|
-
connectionId: z.ZodString;
|
|
60
|
-
entityId: z.ZodString;
|
|
61
|
-
instanceId: z.ZodString;
|
|
62
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
accessToken: z.ZodString;
|
|
64
|
-
}, z.core.$strip>>]>;
|
|
45
|
+
declare const pushbulletUpdateDevice: AppAction<typeof PushbulletUpdateDeviceInput, typeof PushbulletUpdateDeviceOutput, typeof pushbullet.credential>;
|
|
65
46
|
//#endregion
|
|
66
47
|
export { pushbulletUpdateDevice };
|
|
67
48
|
//# sourceMappingURL=update-device.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-device.d.cts","names":[],"sources":["../../src/actions/update-device.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-device.d.cts","names":[],"sources":["../../src/actions/update-device.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushbullet } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-device.d.ts
|
|
@@ -40,28 +42,7 @@ declare const PushbulletUpdateDeviceOutput: z.ZodObject<{
|
|
|
40
42
|
key_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
43
|
generated_nickname: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
42
44
|
}, z.core.$loose>;
|
|
43
|
-
declare const pushbulletUpdateDevice:
|
|
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<"pushbullet", z.ZodObject<{
|
|
53
|
-
connectionId: z.ZodString;
|
|
54
|
-
entityId: z.ZodString;
|
|
55
|
-
instanceId: z.ZodString;
|
|
56
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
57
|
-
accessToken: z.ZodString;
|
|
58
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
59
|
-
connectionId: z.ZodString;
|
|
60
|
-
entityId: z.ZodString;
|
|
61
|
-
instanceId: z.ZodString;
|
|
62
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
accessToken: z.ZodString;
|
|
64
|
-
}, z.core.$strip>>]>;
|
|
45
|
+
declare const pushbulletUpdateDevice: AppAction<typeof PushbulletUpdateDeviceInput, typeof PushbulletUpdateDeviceOutput, typeof pushbullet.credential>;
|
|
65
46
|
//#endregion
|
|
66
47
|
export { pushbulletUpdateDevice };
|
|
67
48
|
//# sourceMappingURL=update-device.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-device.d.mts","names":[],"sources":["../../src/actions/update-device.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-device.d.mts","names":[],"sources":["../../src/actions/update-device.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -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 = z.object({\n icon: z.enum([\"desktop\", \"browser\", \"website\", \"laptop\", \"tablet\", \"phone\", \"watch\", \"system\", \"ios\"]).describe(\"Icon for the device. Common values: desktop, laptop, tablet, phone, watch, system, ios.\").optional(),\n iden: z.string().describe(\"Identifier of the device to update.\"),\n model: z.string().describe(\"Model of the device.\").optional(),\n has_sms: z.boolean().describe(\"Whether the device supports SMS (Android only).\").optional(),\n nickname: z.string().describe(\"New display name for the device.\").optional(),\n push_token: z.string().describe(\"Platform-specific push token. Leave blank for custom or listening devices.\").optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet app installed on the device (non-negative).\").optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").optional(),\n}).describe(\"Request parameters for updating an existing Pushbullet device.\");\nexport const PushbulletUpdateDeviceOutput = z.object({\n icon: z.string().describe(\"Icon string for the device.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the device.\").nullable(),\n kind: z.string().describe(\"Deprecated device kind field.\").nullable().optional(),\n type: z.string().describe(\"Deprecated device type field.\").nullable().optional(),\n model: z.string().describe(\"Model of the device.\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp (UNIX time in seconds).\").nullable(),\n has_sms: z.boolean().describe(\"True if device supports SMS.\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (UNIX time in seconds).\").nullable(),\n nickname: z.string().describe(\"Display name of the device.\").nullable().optional(),\n pushable: z.boolean().describe(\"Deprecated pushable field.\").nullable().optional(),\n push_token: z.string().describe(\"Platform-specific push token for notifications.\").nullable().optional(),\n app_version: z.number().int().describe(\"App version installed on the device.\").nullable().optional(),\n fingerprint: z.string().describe(\"Platform-specific fingerprint.\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Encryption key fingerprint.\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for an updated Pushbullet device.\");\n\nexport const pushbulletUpdateDevice = action(\"PUSHBULLET_UPDATE_DEVICE\", {\n slug: \"pushbullet-update-device\",\n name: \"Update Device\",\n description: \"Tool to update metadata for a device by its identifier. Use when changing a device's nickname, model, or other settings.\",\n input: PushbulletUpdateDeviceInput,\n output: PushbulletUpdateDeviceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-device.mjs","names":[],"sources":["../../src/actions/update-device.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const PushbulletUpdateDeviceInput = z.object({\n icon: z.enum([\"desktop\", \"browser\", \"website\", \"laptop\", \"tablet\", \"phone\", \"watch\", \"system\", \"ios\"]).describe(\"Icon for the device. Common values: desktop, laptop, tablet, phone, watch, system, ios.\").optional(),\n iden: z.string().describe(\"Identifier of the device to update.\"),\n model: z.string().describe(\"Model of the device.\").optional(),\n has_sms: z.boolean().describe(\"Whether the device supports SMS (Android only).\").optional(),\n nickname: z.string().describe(\"New display name for the device.\").optional(),\n push_token: z.string().describe(\"Platform-specific push token. Leave blank for custom or listening devices.\").optional(),\n app_version: z.number().int().describe(\"Version of the Pushbullet app installed on the device (non-negative).\").optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").optional(),\n}).describe(\"Request parameters for updating an existing Pushbullet device.\");\nexport const PushbulletUpdateDeviceOutput = z.object({\n icon: z.string().describe(\"Icon string for the device.\").nullable().optional(),\n iden: z.string().describe(\"Unique identifier for the device.\").nullable(),\n kind: z.string().describe(\"Deprecated device kind field.\").nullable().optional(),\n type: z.string().describe(\"Deprecated device type field.\").nullable().optional(),\n model: z.string().describe(\"Model of the device.\").nullable().optional(),\n active: z.boolean().describe(\"True if the device is active.\").nullable(),\n created: z.number().describe(\"Creation timestamp (UNIX time in seconds).\").nullable(),\n has_sms: z.boolean().describe(\"True if device supports SMS.\").nullable().optional(),\n modified: z.number().describe(\"Last modified timestamp (UNIX time in seconds).\").nullable(),\n nickname: z.string().describe(\"Display name of the device.\").nullable().optional(),\n pushable: z.boolean().describe(\"Deprecated pushable field.\").nullable().optional(),\n push_token: z.string().describe(\"Platform-specific push token for notifications.\").nullable().optional(),\n app_version: z.number().int().describe(\"App version installed on the device.\").nullable().optional(),\n fingerprint: z.string().describe(\"Platform-specific fingerprint.\").nullable().optional(),\n manufacturer: z.string().describe(\"Manufacturer of the device.\").nullable().optional(),\n key_fingerprint: z.string().describe(\"Encryption key fingerprint.\").nullable().optional(),\n generated_nickname: z.boolean().describe(\"True if nickname was auto-generated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for an updated Pushbullet device.\");\n\nexport const pushbulletUpdateDevice: AppAction<\n typeof PushbulletUpdateDeviceInput,\n typeof PushbulletUpdateDeviceOutput,\n typeof pushbullet.credential\n> = 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":";;;AAoCA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtCyC,EAAE,OAAO;EAClD,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,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACvH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACzH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,SAAS,gEA6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,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,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|
|
@@ -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 = 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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"update-push.cjs","names":["z","action"],"sources":["../../src/actions/update-push.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushbullet } from \"../app\";\n\nexport const 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}).passthrough().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}).passthrough().describe(\"Response model for the updated push object.\");\n\nexport const pushbulletUpdatePush: AppAction<\n typeof PushbulletUpdatePushInput,\n typeof PushbulletUpdatePushOutput,\n typeof pushbullet.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAClJ,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,SAA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AAC,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,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushbullet } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-push.d.ts
|
|
@@ -35,27 +37,7 @@ declare const PushbulletUpdatePushOutput: z.ZodObject<{
|
|
|
35
37
|
sender_email_normalized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
38
|
receiver_email_normalized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
39
|
}, z.core.$loose>;
|
|
38
|
-
declare const pushbulletUpdatePush:
|
|
39
|
-
iden: string;
|
|
40
|
-
items?: {
|
|
41
|
-
[x: string]: unknown;
|
|
42
|
-
text: string;
|
|
43
|
-
checked: boolean;
|
|
44
|
-
}[] | undefined;
|
|
45
|
-
dismissed?: boolean | undefined;
|
|
46
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
47
|
-
connectionId: z.ZodString;
|
|
48
|
-
entityId: z.ZodString;
|
|
49
|
-
instanceId: z.ZodString;
|
|
50
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
-
accessToken: z.ZodString;
|
|
52
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushbullet", z.ZodObject<{
|
|
53
|
-
connectionId: z.ZodString;
|
|
54
|
-
entityId: z.ZodString;
|
|
55
|
-
instanceId: z.ZodString;
|
|
56
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
57
|
-
accessToken: z.ZodString;
|
|
58
|
-
}, z.core.$strip>>]>;
|
|
40
|
+
declare const pushbulletUpdatePush: AppAction<typeof PushbulletUpdatePushInput, typeof PushbulletUpdatePushOutput, typeof pushbullet.credential>;
|
|
59
41
|
//#endregion
|
|
60
42
|
export { pushbulletUpdatePush };
|
|
61
43
|
//# sourceMappingURL=update-push.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-push.d.cts","names":[],"sources":["../../src/actions/update-push.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-push.d.cts","names":[],"sources":["../../src/actions/update-push.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cA2B1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|