@keystrokehq/rkvst 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/download-event-attachment.cjs +25 -0
- package/dist/actions/download-event-attachment.cjs.map +1 -0
- package/dist/actions/download-event-attachment.d.cts +9 -0
- package/dist/actions/download-event-attachment.d.cts.map +1 -0
- package/dist/actions/download-event-attachment.d.mts +9 -0
- package/dist/actions/download-event-attachment.d.mts.map +1 -0
- package/dist/actions/download-event-attachment.mjs +24 -0
- package/dist/actions/download-event-attachment.mjs.map +1 -0
- package/dist/actions/get-app-registration.cjs +29 -0
- package/dist/actions/get-app-registration.cjs.map +1 -0
- package/dist/actions/get-app-registration.d.cts +9 -0
- package/dist/actions/get-app-registration.d.cts.map +1 -0
- package/dist/actions/get-app-registration.d.mts +9 -0
- package/dist/actions/get-app-registration.d.mts.map +1 -0
- package/dist/actions/get-app-registration.mjs +28 -0
- package/dist/actions/get-app-registration.mjs.map +1 -0
- package/dist/actions/get-asset.cjs +31 -0
- package/dist/actions/get-asset.cjs.map +1 -0
- package/dist/actions/get-asset.d.cts +9 -0
- package/dist/actions/get-asset.d.cts.map +1 -0
- package/dist/actions/get-asset.d.mts +9 -0
- package/dist/actions/get-asset.d.mts.map +1 -0
- package/dist/actions/get-asset.mjs +28 -0
- package/dist/actions/get-asset.mjs.map +1 -0
- package/dist/actions/get-blob.cjs +35 -0
- package/dist/actions/get-blob.cjs.map +1 -0
- package/dist/actions/get-blob.d.cts +9 -0
- package/dist/actions/get-blob.d.cts.map +1 -0
- package/dist/actions/get-blob.d.mts +9 -0
- package/dist/actions/get-blob.d.mts.map +1 -0
- package/dist/actions/get-blob.mjs +34 -0
- package/dist/actions/get-blob.mjs.map +1 -0
- package/dist/actions/get-event.cjs +25 -0
- package/dist/actions/get-event.cjs.map +1 -0
- package/dist/actions/get-event.d.cts +9 -0
- package/dist/actions/get-event.d.cts.map +1 -0
- package/dist/actions/get-event.d.mts +9 -0
- package/dist/actions/get-event.d.mts.map +1 -0
- package/dist/actions/get-event.mjs +22 -0
- package/dist/actions/get-event.mjs.map +1 -0
- package/dist/actions/get-iam-subject.cjs +24 -0
- package/dist/actions/get-iam-subject.cjs.map +1 -0
- package/dist/actions/get-iam-subject.d.cts +9 -0
- package/dist/actions/get-iam-subject.d.cts.map +1 -0
- package/dist/actions/get-iam-subject.d.mts +9 -0
- package/dist/actions/get-iam-subject.d.mts.map +1 -0
- package/dist/actions/get-iam-subject.mjs +21 -0
- package/dist/actions/get-iam-subject.mjs.map +1 -0
- package/dist/actions/get-member.cjs +22 -0
- package/dist/actions/get-member.cjs.map +1 -0
- package/dist/actions/get-member.d.cts +9 -0
- package/dist/actions/get-member.d.cts.map +1 -0
- package/dist/actions/get-member.d.mts +9 -0
- package/dist/actions/get-member.d.mts.map +1 -0
- package/dist/actions/get-member.mjs +19 -0
- package/dist/actions/get-member.mjs.map +1 -0
- package/dist/actions/get-public-asset-event.cjs +38 -0
- package/dist/actions/get-public-asset-event.cjs.map +1 -0
- package/dist/actions/get-public-asset-event.d.cts +9 -0
- package/dist/actions/get-public-asset-event.d.cts.map +1 -0
- package/dist/actions/get-public-asset-event.d.mts +9 -0
- package/dist/actions/get-public-asset-event.d.mts.map +1 -0
- package/dist/actions/get-public-asset-event.mjs +35 -0
- package/dist/actions/get-public-asset-event.mjs.map +1 -0
- package/dist/actions/get-public-asset.cjs +29 -0
- package/dist/actions/get-public-asset.cjs.map +1 -0
- package/dist/actions/get-public-asset.d.cts +9 -0
- package/dist/actions/get-public-asset.d.cts.map +1 -0
- package/dist/actions/get-public-asset.d.mts +9 -0
- package/dist/actions/get-public-asset.d.mts.map +1 -0
- package/dist/actions/get-public-asset.mjs +26 -0
- package/dist/actions/get-public-asset.mjs.map +1 -0
- package/dist/actions/get-tenancy.cjs +29 -0
- package/dist/actions/get-tenancy.cjs.map +1 -0
- package/dist/actions/get-tenancy.d.cts +9 -0
- package/dist/actions/get-tenancy.d.cts.map +1 -0
- package/dist/actions/get-tenancy.d.mts +9 -0
- package/dist/actions/get-tenancy.d.mts.map +1 -0
- package/dist/actions/get-tenancy.mjs +28 -0
- package/dist/actions/get-tenancy.mjs.map +1 -0
- package/dist/actions/index.cjs +49 -0
- package/dist/actions/index.d.cts +25 -0
- package/dist/actions/index.d.mts +25 -0
- package/dist/actions/index.mjs +25 -0
- package/dist/actions/list-app-registrations.cjs +33 -0
- package/dist/actions/list-app-registrations.cjs.map +1 -0
- package/dist/actions/list-app-registrations.d.cts +9 -0
- package/dist/actions/list-app-registrations.d.cts.map +1 -0
- package/dist/actions/list-app-registrations.d.mts +9 -0
- package/dist/actions/list-app-registrations.d.mts.map +1 -0
- package/dist/actions/list-app-registrations.mjs +32 -0
- package/dist/actions/list-app-registrations.mjs.map +1 -0
- package/dist/actions/list-asset-events.cjs +47 -0
- package/dist/actions/list-asset-events.cjs.map +1 -0
- package/dist/actions/list-asset-events.d.cts +9 -0
- package/dist/actions/list-asset-events.d.cts.map +1 -0
- package/dist/actions/list-asset-events.d.mts +9 -0
- package/dist/actions/list-asset-events.d.mts.map +1 -0
- package/dist/actions/list-asset-events.mjs +46 -0
- package/dist/actions/list-asset-events.mjs.map +1 -0
- package/dist/actions/list-assets.cjs +40 -0
- package/dist/actions/list-assets.cjs.map +1 -0
- package/dist/actions/list-assets.d.cts +9 -0
- package/dist/actions/list-assets.d.cts.map +1 -0
- package/dist/actions/list-assets.d.mts +9 -0
- package/dist/actions/list-assets.d.mts.map +1 -0
- package/dist/actions/list-assets.mjs +39 -0
- package/dist/actions/list-assets.mjs.map +1 -0
- package/dist/actions/list-iam-subjects.cjs +34 -0
- package/dist/actions/list-iam-subjects.cjs.map +1 -0
- package/dist/actions/list-iam-subjects.d.cts +9 -0
- package/dist/actions/list-iam-subjects.d.cts.map +1 -0
- package/dist/actions/list-iam-subjects.d.mts +9 -0
- package/dist/actions/list-iam-subjects.d.mts.map +1 -0
- package/dist/actions/list-iam-subjects.mjs +33 -0
- package/dist/actions/list-iam-subjects.mjs.map +1 -0
- package/dist/actions/list-members.cjs +30 -0
- package/dist/actions/list-members.cjs.map +1 -0
- package/dist/actions/list-members.d.cts +9 -0
- package/dist/actions/list-members.d.cts.map +1 -0
- package/dist/actions/list-members.d.mts +9 -0
- package/dist/actions/list-members.d.mts.map +1 -0
- package/dist/actions/list-members.mjs +29 -0
- package/dist/actions/list-members.mjs.map +1 -0
- package/dist/actions/list-public-asset-events.cjs +41 -0
- package/dist/actions/list-public-asset-events.cjs.map +1 -0
- package/dist/actions/list-public-asset-events.d.cts +9 -0
- package/dist/actions/list-public-asset-events.d.cts.map +1 -0
- package/dist/actions/list-public-asset-events.d.mts +9 -0
- package/dist/actions/list-public-asset-events.d.mts.map +1 -0
- package/dist/actions/list-public-asset-events.mjs +40 -0
- package/dist/actions/list-public-asset-events.mjs.map +1 -0
- package/dist/actions/list-public-assets.cjs +36 -0
- package/dist/actions/list-public-assets.cjs.map +1 -0
- package/dist/actions/list-public-assets.d.cts +9 -0
- package/dist/actions/list-public-assets.d.cts.map +1 -0
- package/dist/actions/list-public-assets.d.mts +9 -0
- package/dist/actions/list-public-assets.d.mts.map +1 -0
- package/dist/actions/list-public-assets.mjs +35 -0
- package/dist/actions/list-public-assets.mjs.map +1 -0
- package/dist/actions/list-tenancies.cjs +33 -0
- package/dist/actions/list-tenancies.cjs.map +1 -0
- package/dist/actions/list-tenancies.d.cts +9 -0
- package/dist/actions/list-tenancies.d.cts.map +1 -0
- package/dist/actions/list-tenancies.d.mts +9 -0
- package/dist/actions/list-tenancies.d.mts.map +1 -0
- package/dist/actions/list-tenancies.mjs +32 -0
- package/dist/actions/list-tenancies.mjs.map +1 -0
- package/dist/actions/promote-member.cjs +22 -0
- package/dist/actions/promote-member.cjs.map +1 -0
- package/dist/actions/promote-member.d.cts +9 -0
- package/dist/actions/promote-member.d.cts.map +1 -0
- package/dist/actions/promote-member.d.mts +9 -0
- package/dist/actions/promote-member.d.mts.map +1 -0
- package/dist/actions/promote-member.mjs +19 -0
- package/dist/actions/promote-member.mjs.map +1 -0
- package/dist/actions/retrieve-asset-attachment-metadata.cjs +35 -0
- package/dist/actions/retrieve-asset-attachment-metadata.cjs.map +1 -0
- package/dist/actions/retrieve-asset-attachment-metadata.d.cts +9 -0
- package/dist/actions/retrieve-asset-attachment-metadata.d.cts.map +1 -0
- package/dist/actions/retrieve-asset-attachment-metadata.d.mts +9 -0
- package/dist/actions/retrieve-asset-attachment-metadata.d.mts.map +1 -0
- package/dist/actions/retrieve-asset-attachment-metadata.mjs +34 -0
- package/dist/actions/retrieve-asset-attachment-metadata.mjs.map +1 -0
- package/dist/actions/retrieve-caps.cjs +27 -0
- package/dist/actions/retrieve-caps.cjs.map +1 -0
- package/dist/actions/retrieve-caps.d.cts +9 -0
- package/dist/actions/retrieve-caps.d.cts.map +1 -0
- package/dist/actions/retrieve-caps.d.mts +9 -0
- package/dist/actions/retrieve-caps.d.mts.map +1 -0
- package/dist/actions/retrieve-caps.mjs +26 -0
- package/dist/actions/retrieve-caps.mjs.map +1 -0
- package/dist/actions/retrieve-event-attachment-metadata.cjs +36 -0
- package/dist/actions/retrieve-event-attachment-metadata.cjs.map +1 -0
- package/dist/actions/retrieve-event-attachment-metadata.d.cts +9 -0
- package/dist/actions/retrieve-event-attachment-metadata.d.cts.map +1 -0
- package/dist/actions/retrieve-event-attachment-metadata.d.mts +9 -0
- package/dist/actions/retrieve-event-attachment-metadata.d.mts.map +1 -0
- package/dist/actions/retrieve-event-attachment-metadata.mjs +35 -0
- package/dist/actions/retrieve-event-attachment-metadata.mjs.map +1 -0
- package/dist/actions/search-events.cjs +45 -0
- package/dist/actions/search-events.cjs.map +1 -0
- package/dist/actions/search-events.d.cts +9 -0
- package/dist/actions/search-events.d.cts.map +1 -0
- package/dist/actions/search-events.d.mts +9 -0
- package/dist/actions/search-events.d.mts.map +1 -0
- package/dist/actions/search-events.mjs +44 -0
- package/dist/actions/search-events.mjs.map +1 -0
- package/dist/actions/update-app-registration.cjs +33 -0
- package/dist/actions/update-app-registration.cjs.map +1 -0
- package/dist/actions/update-app-registration.d.cts +9 -0
- package/dist/actions/update-app-registration.d.cts.map +1 -0
- package/dist/actions/update-app-registration.d.mts +9 -0
- package/dist/actions/update-app-registration.d.mts.map +1 -0
- package/dist/actions/update-app-registration.mjs +32 -0
- package/dist/actions/update-app-registration.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 +54 -0
- package/dist/index.d.cts +27 -0
- package/dist/index.d.mts +27 -0
- package/dist/index.mjs +28 -0
- package/package.json +49 -0
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @keystrokehq/rkvst
|
|
2
|
+
|
|
3
|
+
Keystroke-managed integration.
|
|
4
|
+
|
|
5
|
+
**App:** `rkvst`
|
|
6
|
+
**Version:** `20260615_00`
|
|
7
|
+
**Actions:** 24
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { defineAgent } from "@keystrokehq/keystroke/agent";
|
|
11
|
+
import { rkvstDownloadEventAttachment } from "@keystrokehq/rkvst/actions";
|
|
12
|
+
|
|
13
|
+
export default defineAgent({
|
|
14
|
+
key: "rkvst-agent",
|
|
15
|
+
tools: [rkvstDownloadEventAttachment],
|
|
16
|
+
});
|
|
17
|
+
```
|
package/dist/action.cjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_app = require("./app.cjs");
|
|
2
|
+
const require_execute = require("./execute.cjs");
|
|
3
|
+
require("zod");
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return require_app.rkvst.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await require_execute.executeRkvstTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.action = action;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["rkvst","executeRkvstTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { rkvst } from \"./app\";\nimport { executeRkvstTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return rkvst.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRkvstTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
|
package/dist/action.mjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { rkvst } from "./app.mjs";
|
|
2
|
+
import { executeRkvstTool } from "./execute.mjs";
|
|
3
|
+
import "zod";
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return rkvst.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await executeRkvstTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { action };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { rkvst } from \"./app\";\nimport { executeRkvstTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return rkvst.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRkvstTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/download-event-attachment.ts
|
|
4
|
+
const RkvstDownloadEventAttachmentInput = zod.z.object({
|
|
5
|
+
uuid: zod.z.string().describe("UUID of the attachment (omit the 'blobs/' prefix)."),
|
|
6
|
+
asset_uuid: zod.z.string().describe("UUID of the asset containing the event."),
|
|
7
|
+
event_uuid: zod.z.string().describe("UUID of the event to which the attachment belongs.")
|
|
8
|
+
});
|
|
9
|
+
const RkvstDownloadEventAttachment_FileDownloadableSchema = zod.z.object({
|
|
10
|
+
name: zod.z.string().describe("Name of the file"),
|
|
11
|
+
s3url: zod.z.string().describe("S3 URL of the downloaded file."),
|
|
12
|
+
mimetype: zod.z.string().describe("Mime type of the file.")
|
|
13
|
+
});
|
|
14
|
+
const RkvstDownloadEventAttachmentOutput = zod.z.object({ content: RkvstDownloadEventAttachment_FileDownloadableSchema.nullable() });
|
|
15
|
+
const rkvstDownloadEventAttachment = require_action.action("RKVST_DOWNLOAD_EVENT_ATTACHMENT", {
|
|
16
|
+
slug: "rkvst-download-event-attachment",
|
|
17
|
+
name: "Download Event Attachment",
|
|
18
|
+
description: "Tool to download an attachment from a specified Event on an Asset. Use when you have asset_uuid, event_uuid, and attachment uuid, and want the raw binary content.",
|
|
19
|
+
input: RkvstDownloadEventAttachmentInput,
|
|
20
|
+
output: RkvstDownloadEventAttachmentOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.rkvstDownloadEventAttachment = rkvstDownloadEventAttachment;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=download-event-attachment.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"download-event-attachment.cjs","names":["z","action"],"sources":["../../src/actions/download-event-attachment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstDownloadEventAttachmentInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"UUID of the attachment (omit the 'blobs/' prefix).\"),\n asset_uuid: z.string().describe(\"UUID of the asset containing the event.\"),\n event_uuid: z.string().describe(\"UUID of the event to which the attachment belongs.\"),\n});\nconst RkvstDownloadEventAttachment_FileDownloadableSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const RkvstDownloadEventAttachmentOutput: z.ZodTypeAny = z.object({\n content: RkvstDownloadEventAttachment_FileDownloadableSchema.nullable(),\n});\n\nexport const rkvstDownloadEventAttachment = action(\"RKVST_DOWNLOAD_EVENT_ATTACHMENT\", {\n slug: \"rkvst-download-event-attachment\",\n name: \"Download Event Attachment\",\n description: \"Tool to download an attachment from a specified Event on an Asset. Use when you have asset_uuid, event_uuid, and attachment uuid, and want the raw binary content.\",\n input: RkvstDownloadEventAttachmentInput,\n output: RkvstDownloadEventAttachmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;AACtF,CAAC;AACD,MAAM,sDAAoEA,IAAAA,EAAE,OAAO;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AACD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,SAAS,oDAAoD,SAAS,EACxE,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,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/download-event-attachment.d.ts
|
|
4
|
+
declare const RkvstDownloadEventAttachmentInput: z.ZodTypeAny;
|
|
5
|
+
declare const RkvstDownloadEventAttachmentOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rkvstDownloadEventAttachment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rkvstDownloadEventAttachment };
|
|
9
|
+
//# sourceMappingURL=download-event-attachment.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"download-event-attachment.d.cts","names":[],"sources":["../../src/actions/download-event-attachment.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAIhD;AAAA,cAMW,kCAAA,EAAoC,CAAA,CAAE,UAEjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/download-event-attachment.d.ts
|
|
4
|
+
declare const RkvstDownloadEventAttachmentInput: z.ZodTypeAny;
|
|
5
|
+
declare const RkvstDownloadEventAttachmentOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rkvstDownloadEventAttachment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rkvstDownloadEventAttachment };
|
|
9
|
+
//# sourceMappingURL=download-event-attachment.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"download-event-attachment.d.mts","names":[],"sources":["../../src/actions/download-event-attachment.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAIhD;AAAA,cAMW,kCAAA,EAAoC,CAAA,CAAE,UAEjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/download-event-attachment.ts
|
|
4
|
+
const RkvstDownloadEventAttachmentInput = z.object({
|
|
5
|
+
uuid: z.string().describe("UUID of the attachment (omit the 'blobs/' prefix)."),
|
|
6
|
+
asset_uuid: z.string().describe("UUID of the asset containing the event."),
|
|
7
|
+
event_uuid: z.string().describe("UUID of the event to which the attachment belongs.")
|
|
8
|
+
});
|
|
9
|
+
const RkvstDownloadEventAttachment_FileDownloadableSchema = z.object({
|
|
10
|
+
name: z.string().describe("Name of the file"),
|
|
11
|
+
s3url: z.string().describe("S3 URL of the downloaded file."),
|
|
12
|
+
mimetype: z.string().describe("Mime type of the file.")
|
|
13
|
+
});
|
|
14
|
+
const rkvstDownloadEventAttachment = action("RKVST_DOWNLOAD_EVENT_ATTACHMENT", {
|
|
15
|
+
slug: "rkvst-download-event-attachment",
|
|
16
|
+
name: "Download Event Attachment",
|
|
17
|
+
description: "Tool to download an attachment from a specified Event on an Asset. Use when you have asset_uuid, event_uuid, and attachment uuid, and want the raw binary content.",
|
|
18
|
+
input: RkvstDownloadEventAttachmentInput,
|
|
19
|
+
output: z.object({ content: RkvstDownloadEventAttachment_FileDownloadableSchema.nullable() })
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { rkvstDownloadEventAttachment };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=download-event-attachment.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"download-event-attachment.mjs","names":[],"sources":["../../src/actions/download-event-attachment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstDownloadEventAttachmentInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"UUID of the attachment (omit the 'blobs/' prefix).\"),\n asset_uuid: z.string().describe(\"UUID of the asset containing the event.\"),\n event_uuid: z.string().describe(\"UUID of the event to which the attachment belongs.\"),\n});\nconst RkvstDownloadEventAttachment_FileDownloadableSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const RkvstDownloadEventAttachmentOutput: z.ZodTypeAny = z.object({\n content: RkvstDownloadEventAttachment_FileDownloadableSchema.nullable(),\n});\n\nexport const rkvstDownloadEventAttachment = action(\"RKVST_DOWNLOAD_EVENT_ATTACHMENT\", {\n slug: \"rkvst-download-event-attachment\",\n name: \"Download Event Attachment\",\n description: \"Tool to download an attachment from a specified Event on an Asset. Use when you have asset_uuid, event_uuid, and attachment uuid, and want the raw binary content.\",\n input: RkvstDownloadEventAttachmentInput,\n output: RkvstDownloadEventAttachmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;AACtF,CAAC;AACD,MAAM,sDAAoE,EAAE,OAAO;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AAKD,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8D,EAAE,OAAO,EACvE,SAAS,oDAAoD,SAAS,EACxE,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-app-registration.ts
|
|
4
|
+
const RkvstGetAppRegistrationInput = zod.z.object({ app_registration_id: zod.z.string().describe("UUID of the App Registration to retrieve.") }).describe("Request model for fetching details of an App Registration.");
|
|
5
|
+
const RkvstGetAppRegistration_CredentialSchema = zod.z.object({
|
|
6
|
+
secret: zod.z.string().describe("The client secret (redacted on standard GET responses)."),
|
|
7
|
+
valid_from: zod.z.string().describe("Secret validity start time in RFC3339 format."),
|
|
8
|
+
valid_until: zod.z.string().describe("Secret expiry time in RFC3339 format.")
|
|
9
|
+
}).describe("Represents a time-limited secret credential for an application.");
|
|
10
|
+
const RkvstGetAppRegistrationOutput = zod.z.object({
|
|
11
|
+
roles: zod.z.array(zod.z.string()).describe("List of roles assigned to the application.").nullable().optional(),
|
|
12
|
+
identity: zod.z.string().describe("Resource name for the application."),
|
|
13
|
+
client_id: zod.z.string().describe("Client ID for the OIDC client credentials flow."),
|
|
14
|
+
tenant_id: zod.z.string().describe("Identity of the owning tenant."),
|
|
15
|
+
credentials: zod.z.array(RkvstGetAppRegistration_CredentialSchema).describe("List of time-limited secret objects for the application.").nullable().optional(),
|
|
16
|
+
display_name: zod.z.string().describe("Human-readable display name for the application."),
|
|
17
|
+
custom_claims: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom claims for use in access policies.").nullable().optional()
|
|
18
|
+
}).describe("Response model for an App Registration.");
|
|
19
|
+
const rkvstGetAppRegistration = require_action.action("RKVST_GET_APP_REGISTRATION", {
|
|
20
|
+
slug: "rkvst-get-app-registration",
|
|
21
|
+
name: "Get App Registration",
|
|
22
|
+
description: "Tool to retrieve details for a given App Registration ID. Use after obtaining the application's UUID to inspect its configuration and credentials.",
|
|
23
|
+
input: RkvstGetAppRegistrationInput,
|
|
24
|
+
output: RkvstGetAppRegistrationOutput
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.rkvstGetAppRegistration = rkvstGetAppRegistration;
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=get-app-registration.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-app-registration.cjs","names":["z","action"],"sources":["../../src/actions/get-app-registration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstGetAppRegistrationInput: z.ZodTypeAny = z.object({\n app_registration_id: z.string().describe(\"UUID of the App Registration to retrieve.\"),\n}).describe(\"Request model for fetching details of an App Registration.\");\nconst RkvstGetAppRegistration_CredentialSchema: z.ZodTypeAny = z.object({\n secret: z.string().describe(\"The client secret (redacted on standard GET responses).\"),\n valid_from: z.string().describe(\"Secret validity start time in RFC3339 format.\"),\n valid_until: z.string().describe(\"Secret expiry time in RFC3339 format.\"),\n}).describe(\"Represents a time-limited secret credential for an application.\");\nexport const RkvstGetAppRegistrationOutput: z.ZodTypeAny = z.object({\n roles: z.array(z.string()).describe(\"List of roles assigned to the application.\").nullable().optional(),\n identity: z.string().describe(\"Resource name for the application.\"),\n client_id: z.string().describe(\"Client ID for the OIDC client credentials flow.\"),\n tenant_id: z.string().describe(\"Identity of the owning tenant.\"),\n credentials: z.array(RkvstGetAppRegistration_CredentialSchema).describe(\"List of time-limited secret objects for the application.\").nullable().optional(),\n display_name: z.string().describe(\"Human-readable display name for the application.\"),\n custom_claims: z.record(z.string(), z.unknown()).describe(\"Custom claims for use in access policies.\").nullable().optional(),\n}).describe(\"Response model for an App Registration.\");\n\nexport const rkvstGetAppRegistration = action(\"RKVST_GET_APP_REGISTRATION\", {\n slug: \"rkvst-get-app-registration\",\n name: \"Get App Registration\",\n description: \"Tool to retrieve details for a given App Registration ID. Use after obtaining the application's UUID to inspect its configuration and credentials.\",\n input: RkvstGetAppRegistrationInput,\n output: RkvstGetAppRegistrationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EACtF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC/D,aAAaA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACpF,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,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/get-app-registration.d.ts
|
|
4
|
+
declare const RkvstGetAppRegistrationInput: z.ZodTypeAny;
|
|
5
|
+
declare const RkvstGetAppRegistrationOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rkvstGetAppRegistration: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rkvstGetAppRegistration };
|
|
9
|
+
//# sourceMappingURL=get-app-registration.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-app-registration.d.cts","names":[],"sources":["../../src/actions/get-app-registration.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAE4B;AAAA,cAM5D,6BAAA,EAA+B,CAAA,CAAE,UAQQ;AAAA,cAEzC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-app-registration.d.ts
|
|
4
|
+
declare const RkvstGetAppRegistrationInput: z.ZodTypeAny;
|
|
5
|
+
declare const RkvstGetAppRegistrationOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rkvstGetAppRegistration: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rkvstGetAppRegistration };
|
|
9
|
+
//# sourceMappingURL=get-app-registration.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-app-registration.d.mts","names":[],"sources":["../../src/actions/get-app-registration.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAE4B;AAAA,cAM5D,6BAAA,EAA+B,CAAA,CAAE,UAQQ;AAAA,cAEzC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-app-registration.ts
|
|
4
|
+
const RkvstGetAppRegistrationInput = z.object({ app_registration_id: z.string().describe("UUID of the App Registration to retrieve.") }).describe("Request model for fetching details of an App Registration.");
|
|
5
|
+
const RkvstGetAppRegistration_CredentialSchema = z.object({
|
|
6
|
+
secret: z.string().describe("The client secret (redacted on standard GET responses)."),
|
|
7
|
+
valid_from: z.string().describe("Secret validity start time in RFC3339 format."),
|
|
8
|
+
valid_until: z.string().describe("Secret expiry time in RFC3339 format.")
|
|
9
|
+
}).describe("Represents a time-limited secret credential for an application.");
|
|
10
|
+
const rkvstGetAppRegistration = action("RKVST_GET_APP_REGISTRATION", {
|
|
11
|
+
slug: "rkvst-get-app-registration",
|
|
12
|
+
name: "Get App Registration",
|
|
13
|
+
description: "Tool to retrieve details for a given App Registration ID. Use after obtaining the application's UUID to inspect its configuration and credentials.",
|
|
14
|
+
input: RkvstGetAppRegistrationInput,
|
|
15
|
+
output: z.object({
|
|
16
|
+
roles: z.array(z.string()).describe("List of roles assigned to the application.").nullable().optional(),
|
|
17
|
+
identity: z.string().describe("Resource name for the application."),
|
|
18
|
+
client_id: z.string().describe("Client ID for the OIDC client credentials flow."),
|
|
19
|
+
tenant_id: z.string().describe("Identity of the owning tenant."),
|
|
20
|
+
credentials: z.array(RkvstGetAppRegistration_CredentialSchema).describe("List of time-limited secret objects for the application.").nullable().optional(),
|
|
21
|
+
display_name: z.string().describe("Human-readable display name for the application."),
|
|
22
|
+
custom_claims: z.record(z.string(), z.unknown()).describe("Custom claims for use in access policies.").nullable().optional()
|
|
23
|
+
}).describe("Response model for an App Registration.")
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
export { rkvstGetAppRegistration };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-app-registration.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-app-registration.mjs","names":[],"sources":["../../src/actions/get-app-registration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstGetAppRegistrationInput: z.ZodTypeAny = z.object({\n app_registration_id: z.string().describe(\"UUID of the App Registration to retrieve.\"),\n}).describe(\"Request model for fetching details of an App Registration.\");\nconst RkvstGetAppRegistration_CredentialSchema: z.ZodTypeAny = z.object({\n secret: z.string().describe(\"The client secret (redacted on standard GET responses).\"),\n valid_from: z.string().describe(\"Secret validity start time in RFC3339 format.\"),\n valid_until: z.string().describe(\"Secret expiry time in RFC3339 format.\"),\n}).describe(\"Represents a time-limited secret credential for an application.\");\nexport const RkvstGetAppRegistrationOutput: z.ZodTypeAny = z.object({\n roles: z.array(z.string()).describe(\"List of roles assigned to the application.\").nullable().optional(),\n identity: z.string().describe(\"Resource name for the application.\"),\n client_id: z.string().describe(\"Client ID for the OIDC client credentials flow.\"),\n tenant_id: z.string().describe(\"Identity of the owning tenant.\"),\n credentials: z.array(RkvstGetAppRegistration_CredentialSchema).describe(\"List of time-limited secret objects for the application.\").nullable().optional(),\n display_name: z.string().describe(\"Human-readable display name for the application.\"),\n custom_claims: z.record(z.string(), z.unknown()).describe(\"Custom claims for use in access policies.\").nullable().optional(),\n}).describe(\"Response model for an App Registration.\");\n\nexport const rkvstGetAppRegistration = action(\"RKVST_GET_APP_REGISTRATION\", {\n slug: \"rkvst-get-app-registration\",\n name: \"Get App Registration\",\n description: \"Tool to retrieve details for a given App Registration ID. Use after obtaining the application's UUID to inspect its configuration and credentials.\",\n input: RkvstGetAppRegistrationInput,\n output: RkvstGetAppRegistrationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO,EACjE,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EACtF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,2CAAyD,EAAE,OAAO;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAW7E,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfyD,EAAE,OAAO;EAClE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC/D,aAAa,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EACpF,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-asset.ts
|
|
4
|
+
const RkvstGetAssetInput = zod.z.object({
|
|
5
|
+
at_time: zod.z.string().describe("Optional ISO 8601 timestamp to retrieve the Asset's state at a past time").optional(),
|
|
6
|
+
asset_uuid: zod.z.string().describe("UUID of the Asset to retrieve")
|
|
7
|
+
}).describe("Request schema for retrieving details of a specific Asset by UUID.");
|
|
8
|
+
const RkvstGetAssetOutput = zod.z.object({
|
|
9
|
+
owner: zod.z.string().describe("Wallet address of the asset owner"),
|
|
10
|
+
public: zod.z.boolean().describe("Whether the asset is public"),
|
|
11
|
+
at_time: zod.z.string().describe("Time the asset data is from (ISO 8601)"),
|
|
12
|
+
tracked: zod.z.string().describe("Whether the asset is tracked in the system"),
|
|
13
|
+
chain_id: zod.z.string().describe("Chain ID of the blockchain associated with this asset").nullable().optional(),
|
|
14
|
+
identity: zod.z.string().describe("Relative resource address in the form assets/{UUID}"),
|
|
15
|
+
attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Key-value mapping of asset properties"),
|
|
16
|
+
behaviours: zod.z.array(zod.z.string()).describe("List of enabled behaviours for this asset"),
|
|
17
|
+
proof_mechanism: zod.z.string().describe("Mechanism used to provide evidential proof for events on this asset").nullable().optional(),
|
|
18
|
+
tenant_identity: zod.z.string().describe("Identity of the tenant that created this asset"),
|
|
19
|
+
confirmation_status: zod.z.string().describe("Whether the asset has been committed (e.g., PENDING or CONFIRMED)")
|
|
20
|
+
}).describe("Response schema for retrieved Asset details.");
|
|
21
|
+
const rkvstGetAsset = require_action.action("RKVST_GET_ASSET", {
|
|
22
|
+
slug: "rkvst-get-asset",
|
|
23
|
+
name: "Get Asset",
|
|
24
|
+
description: "Tool to retrieve details for a given Asset. Use after you have its UUID; set `at_time` to get historical state.",
|
|
25
|
+
input: RkvstGetAssetInput,
|
|
26
|
+
output: RkvstGetAssetOutput
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
exports.rkvstGetAsset = rkvstGetAsset;
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=get-asset.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-asset.cjs","names":["z","action"],"sources":["../../src/actions/get-asset.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstGetAssetInput: z.ZodTypeAny = z.object({\n at_time: z.string().describe(\"Optional ISO 8601 timestamp to retrieve the Asset's state at a past time\").optional(),\n asset_uuid: z.string().describe(\"UUID of the Asset to retrieve\"),\n}).describe(\"Request schema for retrieving details of a specific Asset by UUID.\");\nexport const RkvstGetAssetOutput: z.ZodTypeAny = z.object({\n owner: z.string().describe(\"Wallet address of the asset owner\"),\n public: z.boolean().describe(\"Whether the asset is public\"),\n at_time: z.string().describe(\"Time the asset data is from (ISO 8601)\"),\n tracked: z.string().describe(\"Whether the asset is tracked in the system\"),\n chain_id: z.string().describe(\"Chain ID of the blockchain associated with this asset\").nullable().optional(),\n identity: z.string().describe(\"Relative resource address in the form assets/{UUID}\"),\n attributes: z.record(z.string(), z.unknown()).describe(\"Key-value mapping of asset properties\"),\n behaviours: z.array(z.string()).describe(\"List of enabled behaviours for this asset\"),\n proof_mechanism: z.string().describe(\"Mechanism used to provide evidential proof for events on this asset\").nullable().optional(),\n tenant_identity: z.string().describe(\"Identity of the tenant that created this asset\"),\n confirmation_status: z.string().describe(\"Whether the asset has been committed (e.g., PENDING or CONFIRMED)\"),\n}).describe(\"Response schema for retrieved Asset details.\");\n\nexport const rkvstGetAsset = action(\"RKVST_GET_ASSET\", {\n slug: \"rkvst-get-asset\",\n name: \"Get Asset\",\n description: \"Tool to retrieve details for a given Asset. Use after you have its UUID; set `at_time` to get historical state.\",\n input: RkvstGetAssetInput,\n output: RkvstGetAssetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AACjE,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC9D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACnF,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC;CAC9F,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;CACpF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACrF,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;AAC9G,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,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/get-asset.d.ts
|
|
4
|
+
declare const RkvstGetAssetInput: z.ZodTypeAny;
|
|
5
|
+
declare const RkvstGetAssetOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rkvstGetAsset: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rkvstGetAsset };
|
|
9
|
+
//# sourceMappingURL=get-asset.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-asset.d.cts","names":[],"sources":["../../src/actions/get-asset.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAG8C;AAAA,cACpE,mBAAA,EAAqB,CAAA,CAAE,UAYuB;AAAA,cAE9C,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-asset.d.ts
|
|
4
|
+
declare const RkvstGetAssetInput: z.ZodTypeAny;
|
|
5
|
+
declare const RkvstGetAssetOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rkvstGetAsset: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rkvstGetAsset };
|
|
9
|
+
//# sourceMappingURL=get-asset.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-asset.d.mts","names":[],"sources":["../../src/actions/get-asset.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAG8C;AAAA,cACpE,mBAAA,EAAqB,CAAA,CAAE,UAYuB;AAAA,cAE9C,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const rkvstGetAsset = action("RKVST_GET_ASSET", {
|
|
4
|
+
slug: "rkvst-get-asset",
|
|
5
|
+
name: "Get Asset",
|
|
6
|
+
description: "Tool to retrieve details for a given Asset. Use after you have its UUID; set `at_time` to get historical state.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
at_time: z.string().describe("Optional ISO 8601 timestamp to retrieve the Asset's state at a past time").optional(),
|
|
9
|
+
asset_uuid: z.string().describe("UUID of the Asset to retrieve")
|
|
10
|
+
}).describe("Request schema for retrieving details of a specific Asset by UUID."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
owner: z.string().describe("Wallet address of the asset owner"),
|
|
13
|
+
public: z.boolean().describe("Whether the asset is public"),
|
|
14
|
+
at_time: z.string().describe("Time the asset data is from (ISO 8601)"),
|
|
15
|
+
tracked: z.string().describe("Whether the asset is tracked in the system"),
|
|
16
|
+
chain_id: z.string().describe("Chain ID of the blockchain associated with this asset").nullable().optional(),
|
|
17
|
+
identity: z.string().describe("Relative resource address in the form assets/{UUID}"),
|
|
18
|
+
attributes: z.record(z.string(), z.unknown()).describe("Key-value mapping of asset properties"),
|
|
19
|
+
behaviours: z.array(z.string()).describe("List of enabled behaviours for this asset"),
|
|
20
|
+
proof_mechanism: z.string().describe("Mechanism used to provide evidential proof for events on this asset").nullable().optional(),
|
|
21
|
+
tenant_identity: z.string().describe("Identity of the tenant that created this asset"),
|
|
22
|
+
confirmation_status: z.string().describe("Whether the asset has been committed (e.g., PENDING or CONFIRMED)")
|
|
23
|
+
}).describe("Response schema for retrieved Asset details.")
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
export { rkvstGetAsset };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-asset.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-asset.mjs","names":[],"sources":["../../src/actions/get-asset.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstGetAssetInput: z.ZodTypeAny = z.object({\n at_time: z.string().describe(\"Optional ISO 8601 timestamp to retrieve the Asset's state at a past time\").optional(),\n asset_uuid: z.string().describe(\"UUID of the Asset to retrieve\"),\n}).describe(\"Request schema for retrieving details of a specific Asset by UUID.\");\nexport const RkvstGetAssetOutput: z.ZodTypeAny = z.object({\n owner: z.string().describe(\"Wallet address of the asset owner\"),\n public: z.boolean().describe(\"Whether the asset is public\"),\n at_time: z.string().describe(\"Time the asset data is from (ISO 8601)\"),\n tracked: z.string().describe(\"Whether the asset is tracked in the system\"),\n chain_id: z.string().describe(\"Chain ID of the blockchain associated with this asset\").nullable().optional(),\n identity: z.string().describe(\"Relative resource address in the form assets/{UUID}\"),\n attributes: z.record(z.string(), z.unknown()).describe(\"Key-value mapping of asset properties\"),\n behaviours: z.array(z.string()).describe(\"List of enabled behaviours for this asset\"),\n proof_mechanism: z.string().describe(\"Mechanism used to provide evidential proof for events on this asset\").nullable().optional(),\n tenant_identity: z.string().describe(\"Identity of the tenant that created this asset\"),\n confirmation_status: z.string().describe(\"Whether the asset has been committed (e.g., PENDING or CONFIRMED)\"),\n}).describe(\"Response schema for retrieved Asset details.\");\n\nexport const rkvstGetAsset = action(\"RKVST_GET_ASSET\", {\n slug: \"rkvst-get-asset\",\n name: \"Get Asset\",\n description: \"Tool to retrieve details for a given Asset. Use after you have its UUID; set `at_time` to get historical state.\",\n input: RkvstGetAssetInput,\n output: RkvstGetAssetOutput,\n});\n"],"mappings":";;AAsBA,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB8C,EAAE,OAAO;EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACjE,CAAC,CAAC,CAAC,SAAS,oEAmBH;CACP,QAnB+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC9D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EACnF,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC;EAC9F,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;EACpF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EACrF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC9G,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-blob.ts
|
|
4
|
+
const RkvstGetBlobInput = zod.z.object({
|
|
5
|
+
blob_id: zod.z.string().describe("UUID of the Blob to retrieve (accepts 'blobs/{uuid}' as well)."),
|
|
6
|
+
asset_uuid: zod.z.string().describe("Optional public asset UUID to use when retrieving public attachment metadata without Authorization. If provided, the tool will call the public attachments info endpoint to retrieve the blob metadata.").optional()
|
|
7
|
+
}).describe("Request schema for retrieving a Blob by ID or via public asset attachment.");
|
|
8
|
+
const RkvstGetBlob_BlobHashSchema = zod.z.object({
|
|
9
|
+
alg: zod.z.string().describe("Hash algorithm of the Blob."),
|
|
10
|
+
value: zod.z.string().describe("Hash value of the Blob.")
|
|
11
|
+
}).describe("Hash details of the Blob.");
|
|
12
|
+
const RkvstGetBlobOutput = zod.z.object({
|
|
13
|
+
hash: RkvstGetBlob_BlobHashSchema.nullable(),
|
|
14
|
+
size: zod.z.number().int().describe("Size of the Blob in bytes."),
|
|
15
|
+
issuer: zod.z.string().describe("Principal issuer of the Blob."),
|
|
16
|
+
subject: zod.z.string().describe("Principal subject of the Blob."),
|
|
17
|
+
identity: zod.z.string().describe("Resource address of the Blob."),
|
|
18
|
+
tenantid: zod.z.string().describe("Tenant identity that owns the Blob."),
|
|
19
|
+
mime_type: zod.z.string().describe("MIME type of the Blob."),
|
|
20
|
+
scanned_status: zod.z.string().describe("Status of the scan."),
|
|
21
|
+
scanned_timestamp: zod.z.string().describe("Timestamp when the Blob was scanned (ISO 8601).").nullable().optional(),
|
|
22
|
+
scanned_bad_reason: zod.z.string().describe("Reason if the scan failed.").nullable().optional(),
|
|
23
|
+
timestamp_accepted: zod.z.string().describe("Time when the request was accepted (ISO 8601).")
|
|
24
|
+
}).describe("Response schema for retrieving a Blob metadata.");
|
|
25
|
+
const rkvstGetBlob = require_action.action("RKVST_GET_BLOB", {
|
|
26
|
+
slug: "rkvst-get-blob",
|
|
27
|
+
name: "Get Blob",
|
|
28
|
+
description: "Tool to retrieve details of a Blob by ID. Use after confirming the Blob ID.",
|
|
29
|
+
input: RkvstGetBlobInput,
|
|
30
|
+
output: RkvstGetBlobOutput
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
exports.rkvstGetBlob = rkvstGetBlob;
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=get-blob.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-blob.cjs","names":["z","action"],"sources":["../../src/actions/get-blob.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstGetBlobInput: z.ZodTypeAny = z.object({\n blob_id: z.string().describe(\"UUID of the Blob to retrieve (accepts 'blobs/{uuid}' as well).\"),\n asset_uuid: z.string().describe(\"Optional public asset UUID to use when retrieving public attachment metadata without Authorization. If provided, the tool will call the public attachments info endpoint to retrieve the blob metadata.\").optional(),\n}).describe(\"Request schema for retrieving a Blob by ID or via public asset attachment.\");\nconst RkvstGetBlob_BlobHashSchema: z.ZodTypeAny = z.object({\n alg: z.string().describe(\"Hash algorithm of the Blob.\"),\n value: z.string().describe(\"Hash value of the Blob.\"),\n}).describe(\"Hash details of the Blob.\");\nexport const RkvstGetBlobOutput: z.ZodTypeAny = z.object({\n hash: RkvstGetBlob_BlobHashSchema.nullable(),\n size: z.number().int().describe(\"Size of the Blob in bytes.\"),\n issuer: z.string().describe(\"Principal issuer of the Blob.\"),\n subject: z.string().describe(\"Principal subject of the Blob.\"),\n identity: z.string().describe(\"Resource address of the Blob.\"),\n tenantid: z.string().describe(\"Tenant identity that owns the Blob.\"),\n mime_type: z.string().describe(\"MIME type of the Blob.\"),\n scanned_status: z.string().describe(\"Status of the scan.\"),\n scanned_timestamp: z.string().describe(\"Timestamp when the Blob was scanned (ISO 8601).\").nullable().optional(),\n scanned_bad_reason: z.string().describe(\"Reason if the scan failed.\").nullable().optional(),\n timestamp_accepted: z.string().describe(\"Time when the request was accepted (ISO 8601).\"),\n}).describe(\"Response schema for retrieving a Blob metadata.\");\n\nexport const rkvstGetBlob = action(\"RKVST_GET_BLOB\", {\n slug: \"rkvst-get-blob\",\n name: \"Get Blob\",\n description: \"Tool to retrieve details of a Blob by ID. Use after confirming the Blob ID.\",\n input: RkvstGetBlobInput,\n output: RkvstGetBlobOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;AACtP,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,8BAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;AACtD,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAa,qBAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAM,4BAA4B,SAAS;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACvD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACzD,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AAC1F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,eAAeC,eAAAA,OAAO,kBAAkB;CACnD,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/get-blob.d.ts
|
|
4
|
+
declare const RkvstGetBlobInput: z.ZodTypeAny;
|
|
5
|
+
declare const RkvstGetBlobOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rkvstGetBlob: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rkvstGetBlob };
|
|
9
|
+
//# sourceMappingURL=get-blob.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-blob.d.cts","names":[],"sources":["../../src/actions/get-blob.ts"],"mappings":";;;cAIa,iBAAA,EAAmB,CAAA,CAAE,UAGuD;AAAA,cAK5E,kBAAA,EAAoB,CAAA,CAAE,UAY2B;AAAA,cAEjD,YAAA,gCAAY,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-blob.d.ts
|
|
4
|
+
declare const RkvstGetBlobInput: z.ZodTypeAny;
|
|
5
|
+
declare const RkvstGetBlobOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rkvstGetBlob: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rkvstGetBlob };
|
|
9
|
+
//# sourceMappingURL=get-blob.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-blob.d.mts","names":[],"sources":["../../src/actions/get-blob.ts"],"mappings":";;;cAIa,iBAAA,EAAmB,CAAA,CAAE,UAGuD;AAAA,cAK5E,kBAAA,EAAoB,CAAA,CAAE,UAY2B;AAAA,cAEjD,YAAA,gCAAY,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/get-blob.ts
|
|
4
|
+
const RkvstGetBlobInput = z.object({
|
|
5
|
+
blob_id: z.string().describe("UUID of the Blob to retrieve (accepts 'blobs/{uuid}' as well)."),
|
|
6
|
+
asset_uuid: z.string().describe("Optional public asset UUID to use when retrieving public attachment metadata without Authorization. If provided, the tool will call the public attachments info endpoint to retrieve the blob metadata.").optional()
|
|
7
|
+
}).describe("Request schema for retrieving a Blob by ID or via public asset attachment.");
|
|
8
|
+
const RkvstGetBlob_BlobHashSchema = z.object({
|
|
9
|
+
alg: z.string().describe("Hash algorithm of the Blob."),
|
|
10
|
+
value: z.string().describe("Hash value of the Blob.")
|
|
11
|
+
}).describe("Hash details of the Blob.");
|
|
12
|
+
const rkvstGetBlob = action("RKVST_GET_BLOB", {
|
|
13
|
+
slug: "rkvst-get-blob",
|
|
14
|
+
name: "Get Blob",
|
|
15
|
+
description: "Tool to retrieve details of a Blob by ID. Use after confirming the Blob ID.",
|
|
16
|
+
input: RkvstGetBlobInput,
|
|
17
|
+
output: z.object({
|
|
18
|
+
hash: RkvstGetBlob_BlobHashSchema.nullable(),
|
|
19
|
+
size: z.number().int().describe("Size of the Blob in bytes."),
|
|
20
|
+
issuer: z.string().describe("Principal issuer of the Blob."),
|
|
21
|
+
subject: z.string().describe("Principal subject of the Blob."),
|
|
22
|
+
identity: z.string().describe("Resource address of the Blob."),
|
|
23
|
+
tenantid: z.string().describe("Tenant identity that owns the Blob."),
|
|
24
|
+
mime_type: z.string().describe("MIME type of the Blob."),
|
|
25
|
+
scanned_status: z.string().describe("Status of the scan."),
|
|
26
|
+
scanned_timestamp: z.string().describe("Timestamp when the Blob was scanned (ISO 8601).").nullable().optional(),
|
|
27
|
+
scanned_bad_reason: z.string().describe("Reason if the scan failed.").nullable().optional(),
|
|
28
|
+
timestamp_accepted: z.string().describe("Time when the request was accepted (ISO 8601).")
|
|
29
|
+
}).describe("Response schema for retrieving a Blob metadata.")
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
export { rkvstGetBlob };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=get-blob.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-blob.mjs","names":[],"sources":["../../src/actions/get-blob.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstGetBlobInput: z.ZodTypeAny = z.object({\n blob_id: z.string().describe(\"UUID of the Blob to retrieve (accepts 'blobs/{uuid}' as well).\"),\n asset_uuid: z.string().describe(\"Optional public asset UUID to use when retrieving public attachment metadata without Authorization. If provided, the tool will call the public attachments info endpoint to retrieve the blob metadata.\").optional(),\n}).describe(\"Request schema for retrieving a Blob by ID or via public asset attachment.\");\nconst RkvstGetBlob_BlobHashSchema: z.ZodTypeAny = z.object({\n alg: z.string().describe(\"Hash algorithm of the Blob.\"),\n value: z.string().describe(\"Hash value of the Blob.\"),\n}).describe(\"Hash details of the Blob.\");\nexport const RkvstGetBlobOutput: z.ZodTypeAny = z.object({\n hash: RkvstGetBlob_BlobHashSchema.nullable(),\n size: z.number().int().describe(\"Size of the Blob in bytes.\"),\n issuer: z.string().describe(\"Principal issuer of the Blob.\"),\n subject: z.string().describe(\"Principal subject of the Blob.\"),\n identity: z.string().describe(\"Resource address of the Blob.\"),\n tenantid: z.string().describe(\"Tenant identity that owns the Blob.\"),\n mime_type: z.string().describe(\"MIME type of the Blob.\"),\n scanned_status: z.string().describe(\"Status of the scan.\"),\n scanned_timestamp: z.string().describe(\"Timestamp when the Blob was scanned (ISO 8601).\").nullable().optional(),\n scanned_bad_reason: z.string().describe(\"Reason if the scan failed.\").nullable().optional(),\n timestamp_accepted: z.string().describe(\"Time when the request was accepted (ISO 8601).\"),\n}).describe(\"Response schema for retrieving a Blob metadata.\");\n\nexport const rkvstGetBlob = action(\"RKVST_GET_BLOB\", {\n slug: \"rkvst-get-blob\",\n name: \"Get Blob\",\n description: \"Tool to retrieve details of a Blob by ID. Use after confirming the Blob ID.\",\n input: RkvstGetBlobInput,\n output: RkvstGetBlobOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAkC,EAAE,OAAO;CACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;AACtP,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,8BAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;AACtD,CAAC,CAAC,CAAC,SAAS,2BAA2B;AAevC,MAAa,eAAe,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnB8C,EAAE,OAAO;EACvD,MAAM,4BAA4B,SAAS;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;EAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACvD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACzD,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC1F,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-event.ts
|
|
4
|
+
const RkvstGetEventInput = zod.z.object({ event_uuid: zod.z.string().describe("UUID of the event to retrieve.") }).describe("Request schema for retrieving an Event by its UUID in DataTrails.");
|
|
5
|
+
const RkvstGetEventOutput = zod.z.object({
|
|
6
|
+
trails: zod.z.array(zod.z.string()).describe("Trails this event is associated with."),
|
|
7
|
+
identity: zod.z.string().describe("Event resource identity (e.g., events/<uuid>)."),
|
|
8
|
+
attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Key/value attributes for the event."),
|
|
9
|
+
created_at: zod.z.number().int().describe("Milliseconds since Unix epoch when the event was stored."),
|
|
10
|
+
created_by: zod.z.string().describe("Member identity of the tenant that created the event."),
|
|
11
|
+
origin_tenant: zod.z.string().describe("The tenant that originally created the event."),
|
|
12
|
+
merklelog_commit: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Merkle log commit metadata for the event."),
|
|
13
|
+
confirmation_status: zod.z.string().describe("Event confirmation state; one of STORED, COMMITTED, CONFIRMED.")
|
|
14
|
+
}).describe("Response schema for an Event in DataTrails.");
|
|
15
|
+
const rkvstGetEvent = require_action.action("RKVST_GET_EVENT", {
|
|
16
|
+
slug: "rkvst-get-event",
|
|
17
|
+
name: "Get Event",
|
|
18
|
+
description: "Tool to retrieve details of a specified Event. Use when you need full metadata, attributes, and associated trails of an existing event in DataTrails.",
|
|
19
|
+
input: RkvstGetEventInput,
|
|
20
|
+
output: RkvstGetEventOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.rkvstGetEvent = rkvstGetEvent;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=get-event.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-event.cjs","names":["z","action"],"sources":["../../src/actions/get-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstGetEventInput: z.ZodTypeAny = z.object({\n event_uuid: z.string().describe(\"UUID of the event to retrieve.\"),\n}).describe(\"Request schema for retrieving an Event by its UUID in DataTrails.\");\nexport const RkvstGetEventOutput: z.ZodTypeAny = z.object({\n trails: z.array(z.string()).describe(\"Trails this event is associated with.\"),\n identity: z.string().describe(\"Event resource identity (e.g., events/<uuid>).\"),\n attributes: z.record(z.string(), z.unknown()).describe(\"Key/value attributes for the event.\"),\n created_at: z.number().int().describe(\"Milliseconds since Unix epoch when the event was stored.\"),\n created_by: z.string().describe(\"Member identity of the tenant that created the event.\"),\n origin_tenant: z.string().describe(\"The tenant that originally created the event.\"),\n merklelog_commit: z.record(z.string(), z.unknown()).describe(\"Merkle log commit metadata for the event.\"),\n confirmation_status: z.string().describe(\"Event confirmation state; one of STORED, COMMITTED, CONFIRMED.\"),\n}).describe(\"Response schema for an Event in DataTrails.\");\n\nexport const rkvstGetEvent = action(\"RKVST_GET_EVENT\", {\n slug: \"rkvst-get-event\",\n name: \"Get Event\",\n description: \"Tool to retrieve details of a specified Event. Use when you need full metadata, attributes, and associated trails of an existing event in DataTrails.\",\n input: RkvstGetEventInput,\n output: RkvstGetEventOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmCA,IAAAA,EAAE,OAAO,EACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EAClE,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC9E,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACvF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAClF,kBAAkBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C;CACxG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;AAC3G,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,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/get-event.d.ts
|
|
4
|
+
declare const RkvstGetEventInput: z.ZodTypeAny;
|
|
5
|
+
declare const RkvstGetEventOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rkvstGetEvent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rkvstGetEvent };
|
|
9
|
+
//# sourceMappingURL=get-event.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-event.d.cts","names":[],"sources":["../../src/actions/get-event.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAE6C;AAAA,cACnE,mBAAA,EAAqB,CAAA,CAAE,UASsB;AAAA,cAE7C,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-event.d.ts
|
|
4
|
+
declare const RkvstGetEventInput: z.ZodTypeAny;
|
|
5
|
+
declare const RkvstGetEventOutput: z.ZodTypeAny;
|
|
6
|
+
declare const rkvstGetEvent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { rkvstGetEvent };
|
|
9
|
+
//# sourceMappingURL=get-event.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-event.d.mts","names":[],"sources":["../../src/actions/get-event.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAE6C;AAAA,cACnE,mBAAA,EAAqB,CAAA,CAAE,UASsB;AAAA,cAE7C,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const rkvstGetEvent = action("RKVST_GET_EVENT", {
|
|
4
|
+
slug: "rkvst-get-event",
|
|
5
|
+
name: "Get Event",
|
|
6
|
+
description: "Tool to retrieve details of a specified Event. Use when you need full metadata, attributes, and associated trails of an existing event in DataTrails.",
|
|
7
|
+
input: z.object({ event_uuid: z.string().describe("UUID of the event to retrieve.") }).describe("Request schema for retrieving an Event by its UUID in DataTrails."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
trails: z.array(z.string()).describe("Trails this event is associated with."),
|
|
10
|
+
identity: z.string().describe("Event resource identity (e.g., events/<uuid>)."),
|
|
11
|
+
attributes: z.record(z.string(), z.unknown()).describe("Key/value attributes for the event."),
|
|
12
|
+
created_at: z.number().int().describe("Milliseconds since Unix epoch when the event was stored."),
|
|
13
|
+
created_by: z.string().describe("Member identity of the tenant that created the event."),
|
|
14
|
+
origin_tenant: z.string().describe("The tenant that originally created the event."),
|
|
15
|
+
merklelog_commit: z.record(z.string(), z.unknown()).describe("Merkle log commit metadata for the event."),
|
|
16
|
+
confirmation_status: z.string().describe("Event confirmation state; one of STORED, COMMITTED, CONFIRMED.")
|
|
17
|
+
}).describe("Response schema for an Event in DataTrails.")
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { rkvstGetEvent };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=get-event.mjs.map
|