@keystrokehq/rkvst 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/download-event-attachment.cjs +5 -5
- package/dist/actions/download-event-attachment.cjs.map +1 -1
- package/dist/actions/download-event-attachment.d.cts +17 -3
- package/dist/actions/download-event-attachment.d.cts.map +1 -1
- package/dist/actions/download-event-attachment.d.mts +17 -3
- package/dist/actions/download-event-attachment.d.mts.map +1 -1
- package/dist/actions/download-event-attachment.mjs +5 -5
- package/dist/actions/download-event-attachment.mjs.map +1 -1
- package/dist/actions/get-app-registration.cjs +9 -9
- package/dist/actions/get-app-registration.cjs.map +1 -1
- package/dist/actions/get-app-registration.d.cts +19 -3
- package/dist/actions/get-app-registration.d.cts.map +1 -1
- package/dist/actions/get-app-registration.d.mts +19 -3
- package/dist/actions/get-app-registration.d.mts.map +1 -1
- package/dist/actions/get-app-registration.mjs +9 -9
- package/dist/actions/get-app-registration.mjs.map +1 -1
- package/dist/actions/get-asset.cjs +8 -8
- package/dist/actions/get-asset.cjs.map +1 -1
- package/dist/actions/get-asset.d.cts +21 -3
- package/dist/actions/get-asset.d.cts.map +1 -1
- package/dist/actions/get-asset.d.mts +21 -3
- package/dist/actions/get-asset.d.mts.map +1 -1
- package/dist/actions/get-asset.mjs +8 -8
- package/dist/actions/get-asset.mjs.map +1 -1
- package/dist/actions/get-blob.cjs +12 -12
- package/dist/actions/get-blob.cjs.map +1 -1
- package/dist/actions/get-blob.d.cts +24 -3
- package/dist/actions/get-blob.d.cts.map +1 -1
- package/dist/actions/get-blob.d.mts +24 -3
- package/dist/actions/get-blob.d.mts.map +1 -1
- package/dist/actions/get-blob.mjs +12 -12
- package/dist/actions/get-blob.mjs.map +1 -1
- package/dist/actions/get-event.cjs +6 -6
- package/dist/actions/get-event.cjs.map +1 -1
- package/dist/actions/get-event.d.cts +16 -3
- package/dist/actions/get-event.d.cts.map +1 -1
- package/dist/actions/get-event.d.mts +16 -3
- package/dist/actions/get-event.d.mts.map +1 -1
- package/dist/actions/get-event.mjs +6 -6
- package/dist/actions/get-event.mjs.map +1 -1
- package/dist/actions/get-iam-subject.cjs +5 -5
- package/dist/actions/get-iam-subject.cjs.map +1 -1
- package/dist/actions/get-iam-subject.d.cts +15 -3
- package/dist/actions/get-iam-subject.d.cts.map +1 -1
- package/dist/actions/get-iam-subject.d.mts +15 -3
- package/dist/actions/get-iam-subject.d.mts.map +1 -1
- package/dist/actions/get-iam-subject.mjs +5 -5
- package/dist/actions/get-iam-subject.mjs.map +1 -1
- package/dist/actions/get-member.cjs +5 -5
- package/dist/actions/get-member.cjs.map +1 -1
- package/dist/actions/get-member.d.cts +13 -3
- package/dist/actions/get-member.d.cts.map +1 -1
- package/dist/actions/get-member.d.mts +13 -3
- package/dist/actions/get-member.d.mts.map +1 -1
- package/dist/actions/get-member.mjs +5 -5
- package/dist/actions/get-member.mjs.map +1 -1
- package/dist/actions/get-public-asset-event.cjs +11 -11
- package/dist/actions/get-public-asset-event.cjs.map +1 -1
- package/dist/actions/get-public-asset-event.d.cts +28 -3
- package/dist/actions/get-public-asset-event.d.cts.map +1 -1
- package/dist/actions/get-public-asset-event.d.mts +28 -3
- package/dist/actions/get-public-asset-event.d.mts.map +1 -1
- package/dist/actions/get-public-asset-event.mjs +11 -11
- package/dist/actions/get-public-asset-event.mjs.map +1 -1
- package/dist/actions/get-public-asset.cjs +10 -10
- package/dist/actions/get-public-asset.cjs.map +1 -1
- package/dist/actions/get-public-asset.d.cts +20 -3
- package/dist/actions/get-public-asset.d.cts.map +1 -1
- package/dist/actions/get-public-asset.d.mts +20 -3
- package/dist/actions/get-public-asset.d.mts.map +1 -1
- package/dist/actions/get-public-asset.mjs +10 -10
- package/dist/actions/get-public-asset.mjs.map +1 -1
- package/dist/actions/get-tenancy.cjs +3 -3
- package/dist/actions/get-tenancy.cjs.map +1 -1
- package/dist/actions/get-tenancy.d.cts +19 -3
- package/dist/actions/get-tenancy.d.cts.map +1 -1
- package/dist/actions/get-tenancy.d.mts +19 -3
- package/dist/actions/get-tenancy.d.mts.map +1 -1
- package/dist/actions/get-tenancy.mjs +3 -3
- package/dist/actions/get-tenancy.mjs.map +1 -1
- package/dist/actions/list-app-registrations.cjs +10 -10
- package/dist/actions/list-app-registrations.cjs.map +1 -1
- package/dist/actions/list-app-registrations.d.cts +22 -3
- package/dist/actions/list-app-registrations.d.cts.map +1 -1
- package/dist/actions/list-app-registrations.d.mts +22 -3
- package/dist/actions/list-app-registrations.d.mts.map +1 -1
- package/dist/actions/list-app-registrations.mjs +10 -10
- package/dist/actions/list-app-registrations.mjs.map +1 -1
- package/dist/actions/list-asset-events.cjs +17 -17
- package/dist/actions/list-asset-events.cjs.map +1 -1
- package/dist/actions/list-asset-events.d.cts +41 -3
- package/dist/actions/list-asset-events.d.cts.map +1 -1
- package/dist/actions/list-asset-events.d.mts +41 -3
- package/dist/actions/list-asset-events.d.mts.map +1 -1
- package/dist/actions/list-asset-events.mjs +17 -17
- package/dist/actions/list-asset-events.mjs.map +1 -1
- package/dist/actions/list-assets.cjs +9 -9
- package/dist/actions/list-assets.cjs.map +1 -1
- package/dist/actions/list-assets.d.cts +33 -3
- package/dist/actions/list-assets.d.cts.map +1 -1
- package/dist/actions/list-assets.d.mts +33 -3
- package/dist/actions/list-assets.d.mts.map +1 -1
- package/dist/actions/list-assets.mjs +9 -9
- package/dist/actions/list-assets.mjs.map +1 -1
- package/dist/actions/list-iam-subjects.cjs +4 -4
- package/dist/actions/list-iam-subjects.cjs.map +1 -1
- package/dist/actions/list-iam-subjects.d.cts +26 -3
- package/dist/actions/list-iam-subjects.d.cts.map +1 -1
- package/dist/actions/list-iam-subjects.d.mts +26 -3
- package/dist/actions/list-iam-subjects.d.mts.map +1 -1
- package/dist/actions/list-iam-subjects.mjs +4 -4
- package/dist/actions/list-iam-subjects.mjs.map +1 -1
- package/dist/actions/list-members.cjs +6 -6
- package/dist/actions/list-members.cjs.map +1 -1
- package/dist/actions/list-members.d.cts +20 -3
- package/dist/actions/list-members.d.cts.map +1 -1
- package/dist/actions/list-members.d.mts +20 -3
- package/dist/actions/list-members.d.mts.map +1 -1
- package/dist/actions/list-members.mjs +6 -6
- package/dist/actions/list-members.mjs.map +1 -1
- package/dist/actions/list-public-asset-events.cjs +1 -1
- package/dist/actions/list-public-asset-events.cjs.map +1 -1
- package/dist/actions/list-public-asset-events.d.cts +30 -3
- package/dist/actions/list-public-asset-events.d.cts.map +1 -1
- package/dist/actions/list-public-asset-events.d.mts +30 -3
- package/dist/actions/list-public-asset-events.d.mts.map +1 -1
- package/dist/actions/list-public-asset-events.mjs +1 -1
- package/dist/actions/list-public-asset-events.mjs.map +1 -1
- package/dist/actions/list-public-assets.cjs +11 -11
- package/dist/actions/list-public-assets.cjs.map +1 -1
- package/dist/actions/list-public-assets.d.cts +25 -3
- package/dist/actions/list-public-assets.d.cts.map +1 -1
- package/dist/actions/list-public-assets.d.mts +25 -3
- package/dist/actions/list-public-assets.d.mts.map +1 -1
- package/dist/actions/list-public-assets.mjs +11 -11
- package/dist/actions/list-public-assets.mjs.map +1 -1
- package/dist/actions/list-tenancies.cjs +4 -4
- package/dist/actions/list-tenancies.cjs.map +1 -1
- package/dist/actions/list-tenancies.d.cts +22 -3
- package/dist/actions/list-tenancies.d.cts.map +1 -1
- package/dist/actions/list-tenancies.d.mts +22 -3
- package/dist/actions/list-tenancies.d.mts.map +1 -1
- package/dist/actions/list-tenancies.mjs +4 -4
- package/dist/actions/list-tenancies.mjs.map +1 -1
- package/dist/actions/promote-member.cjs +5 -5
- package/dist/actions/promote-member.cjs.map +1 -1
- package/dist/actions/promote-member.d.cts +13 -3
- package/dist/actions/promote-member.d.cts.map +1 -1
- package/dist/actions/promote-member.d.mts +13 -3
- package/dist/actions/promote-member.d.mts.map +1 -1
- package/dist/actions/promote-member.mjs +5 -5
- package/dist/actions/promote-member.mjs.map +1 -1
- package/dist/actions/retrieve-asset-attachment-metadata.cjs +13 -13
- package/dist/actions/retrieve-asset-attachment-metadata.cjs.map +1 -1
- package/dist/actions/retrieve-asset-attachment-metadata.d.cts +24 -3
- package/dist/actions/retrieve-asset-attachment-metadata.d.cts.map +1 -1
- package/dist/actions/retrieve-asset-attachment-metadata.d.mts +24 -3
- package/dist/actions/retrieve-asset-attachment-metadata.d.mts.map +1 -1
- package/dist/actions/retrieve-asset-attachment-metadata.mjs +13 -13
- package/dist/actions/retrieve-asset-attachment-metadata.mjs.map +1 -1
- package/dist/actions/retrieve-caps.cjs +4 -4
- package/dist/actions/retrieve-caps.cjs.map +1 -1
- package/dist/actions/retrieve-caps.d.cts +19 -3
- package/dist/actions/retrieve-caps.d.cts.map +1 -1
- package/dist/actions/retrieve-caps.d.mts +19 -3
- package/dist/actions/retrieve-caps.d.mts.map +1 -1
- package/dist/actions/retrieve-caps.mjs +4 -4
- package/dist/actions/retrieve-caps.mjs.map +1 -1
- package/dist/actions/retrieve-event-attachment-metadata.cjs +12 -12
- package/dist/actions/retrieve-event-attachment-metadata.cjs.map +1 -1
- package/dist/actions/retrieve-event-attachment-metadata.d.cts +26 -3
- package/dist/actions/retrieve-event-attachment-metadata.d.cts.map +1 -1
- package/dist/actions/retrieve-event-attachment-metadata.d.mts +26 -3
- package/dist/actions/retrieve-event-attachment-metadata.d.mts.map +1 -1
- package/dist/actions/retrieve-event-attachment-metadata.mjs +12 -12
- package/dist/actions/retrieve-event-attachment-metadata.mjs.map +1 -1
- package/dist/actions/search-events.cjs +4 -4
- package/dist/actions/search-events.cjs.map +1 -1
- package/dist/actions/search-events.d.cts +34 -3
- package/dist/actions/search-events.d.cts.map +1 -1
- package/dist/actions/search-events.d.mts +34 -3
- package/dist/actions/search-events.d.mts.map +1 -1
- package/dist/actions/search-events.mjs +4 -4
- package/dist/actions/search-events.mjs.map +1 -1
- package/dist/actions/update-app-registration.cjs +11 -11
- package/dist/actions/update-app-registration.cjs.map +1 -1
- package/dist/actions/update-app-registration.d.cts +23 -3
- package/dist/actions/update-app-registration.d.cts.map +1 -1
- package/dist/actions/update-app-registration.d.mts +23 -3
- package/dist/actions/update-app-registration.d.mts.map +1 -1
- package/dist/actions/update-app-registration.mjs +11 -11
- package/dist/actions/update-app-registration.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-asset-attachment-metadata.d.ts
|
|
4
|
-
declare const RkvstRetrieveAssetAttachmentMetadataInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RkvstRetrieveAssetAttachmentMetadataInput: z.ZodObject<{
|
|
5
|
+
uuid: z.ZodString;
|
|
6
|
+
asset_uuid: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const RkvstRetrieveAssetAttachmentMetadataOutput: z.ZodObject<{
|
|
9
|
+
hash: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
alg: z.ZodNullable<z.ZodString>;
|
|
11
|
+
value: z.ZodNullable<z.ZodString>;
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
size: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
issuer: z.ZodNullable<z.ZodString>;
|
|
15
|
+
subject: z.ZodNullable<z.ZodString>;
|
|
16
|
+
identity: z.ZodNullable<z.ZodString>;
|
|
17
|
+
tenantid: z.ZodNullable<z.ZodString>;
|
|
18
|
+
mime_type: z.ZodNullable<z.ZodString>;
|
|
19
|
+
scanned_status: z.ZodNullable<z.ZodString>;
|
|
20
|
+
scanned_timestamp: z.ZodNullable<z.ZodString>;
|
|
21
|
+
scanned_bad_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
timestamp_accepted: z.ZodNullable<z.ZodString>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const rkvstRetrieveAssetAttachmentMetadata: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
uuid: string;
|
|
26
|
+
asset_uuid: string;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { rkvstRetrieveAssetAttachmentMetadata };
|
|
9
30
|
//# sourceMappingURL=retrieve-asset-attachment-metadata.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-asset-attachment-metadata.d.cts","names":[],"sources":["../../src/actions/retrieve-asset-attachment-metadata.ts"],"mappings":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-asset-attachment-metadata.d.cts","names":[],"sources":["../../src/actions/retrieve-asset-attachment-metadata.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAQzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAc1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-asset-attachment-metadata.d.ts
|
|
4
|
-
declare const RkvstRetrieveAssetAttachmentMetadataInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RkvstRetrieveAssetAttachmentMetadataInput: z.ZodObject<{
|
|
5
|
+
uuid: z.ZodString;
|
|
6
|
+
asset_uuid: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const RkvstRetrieveAssetAttachmentMetadataOutput: z.ZodObject<{
|
|
9
|
+
hash: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
alg: z.ZodNullable<z.ZodString>;
|
|
11
|
+
value: z.ZodNullable<z.ZodString>;
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
size: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
issuer: z.ZodNullable<z.ZodString>;
|
|
15
|
+
subject: z.ZodNullable<z.ZodString>;
|
|
16
|
+
identity: z.ZodNullable<z.ZodString>;
|
|
17
|
+
tenantid: z.ZodNullable<z.ZodString>;
|
|
18
|
+
mime_type: z.ZodNullable<z.ZodString>;
|
|
19
|
+
scanned_status: z.ZodNullable<z.ZodString>;
|
|
20
|
+
scanned_timestamp: z.ZodNullable<z.ZodString>;
|
|
21
|
+
scanned_bad_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
timestamp_accepted: z.ZodNullable<z.ZodString>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const rkvstRetrieveAssetAttachmentMetadata: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
uuid: string;
|
|
26
|
+
asset_uuid: string;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { rkvstRetrieveAssetAttachmentMetadata };
|
|
9
30
|
//# sourceMappingURL=retrieve-asset-attachment-metadata.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-asset-attachment-metadata.d.mts","names":[],"sources":["../../src/actions/retrieve-asset-attachment-metadata.ts"],"mappings":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-asset-attachment-metadata.d.mts","names":[],"sources":["../../src/actions/retrieve-asset-attachment-metadata.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAQzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAc1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -6,9 +6,9 @@ const RkvstRetrieveAssetAttachmentMetadataInput = z.object({
|
|
|
6
6
|
asset_uuid: z.string().describe("UUID of the asset owning the attachment")
|
|
7
7
|
}).describe("Request schema for retrieving metadata of an attachment on an Asset.");
|
|
8
8
|
const RkvstRetrieveAssetAttachmentMetadata_AttachmentHashSchema = z.object({
|
|
9
|
-
alg: z.string().describe("Algorithm used to compute the attachment hash"),
|
|
10
|
-
value: z.string().describe("Computed hash value of the attachment")
|
|
11
|
-
}).describe("Hash details of the attachment.");
|
|
9
|
+
alg: z.string().describe("Algorithm used to compute the attachment hash").nullable(),
|
|
10
|
+
value: z.string().describe("Computed hash value of the attachment").nullable()
|
|
11
|
+
}).passthrough().describe("Hash details of the attachment.");
|
|
12
12
|
const rkvstRetrieveAssetAttachmentMetadata = action("RKVST_RETRIEVE_ASSET_ATTACHMENT_METADATA", {
|
|
13
13
|
slug: "rkvst-retrieve-asset-attachment-metadata",
|
|
14
14
|
name: "Retrieve asset attachment metadata",
|
|
@@ -16,17 +16,17 @@ const rkvstRetrieveAssetAttachmentMetadata = action("RKVST_RETRIEVE_ASSET_ATTACH
|
|
|
16
16
|
input: RkvstRetrieveAssetAttachmentMetadataInput,
|
|
17
17
|
output: z.object({
|
|
18
18
|
hash: RkvstRetrieveAssetAttachmentMetadata_AttachmentHashSchema.nullable(),
|
|
19
|
-
size: z.number().int().describe("Size of the attachment in bytes"),
|
|
20
|
-
issuer: z.string().describe("Principal issuer of the attachment"),
|
|
21
|
-
subject: z.string().describe("Principal subject of the attachment"),
|
|
22
|
-
identity: z.string().describe("Resource address of the attachment"),
|
|
23
|
-
tenantid: z.string().describe("Tenant identity of the attachment owner"),
|
|
24
|
-
mime_type: z.string().describe("MIME type of the attachment"),
|
|
25
|
-
scanned_status: z.string().describe("Status of the attachment scan"),
|
|
26
|
-
scanned_timestamp: z.string().describe("Timestamp when the attachment was scanned (ISO 8601)"),
|
|
19
|
+
size: z.number().int().describe("Size of the attachment in bytes").nullable(),
|
|
20
|
+
issuer: z.string().describe("Principal issuer of the attachment").nullable(),
|
|
21
|
+
subject: z.string().describe("Principal subject of the attachment").nullable(),
|
|
22
|
+
identity: z.string().describe("Resource address of the attachment").nullable(),
|
|
23
|
+
tenantid: z.string().describe("Tenant identity of the attachment owner").nullable(),
|
|
24
|
+
mime_type: z.string().describe("MIME type of the attachment").nullable(),
|
|
25
|
+
scanned_status: z.string().describe("Status of the attachment scan").nullable(),
|
|
26
|
+
scanned_timestamp: z.string().describe("Timestamp when the attachment was scanned (ISO 8601)").nullable(),
|
|
27
27
|
scanned_bad_reason: z.string().describe("Reason if the attachment scan failed (SCANNED_BAD)").nullable().optional(),
|
|
28
|
-
timestamp_accepted: z.string().describe("Timestamp when the request was accepted (ISO 8601)")
|
|
29
|
-
}).describe("Response schema for metadata of an asset attachment.")
|
|
28
|
+
timestamp_accepted: z.string().describe("Timestamp when the request was accepted (ISO 8601)").nullable()
|
|
29
|
+
}).passthrough().describe("Response schema for metadata of an asset attachment.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { rkvstRetrieveAssetAttachmentMetadata };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-asset-attachment-metadata.mjs","names":[],"sources":["../../src/actions/retrieve-asset-attachment-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstRetrieveAssetAttachmentMetadataInput
|
|
1
|
+
{"version":3,"file":"retrieve-asset-attachment-metadata.mjs","names":[],"sources":["../../src/actions/retrieve-asset-attachment-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstRetrieveAssetAttachmentMetadataInput = z.object({\n uuid: z.string().describe(\"UUID of the attachment (no 'blobs/' prefix)\"),\n asset_uuid: z.string().describe(\"UUID of the asset owning the attachment\"),\n}).describe(\"Request schema for retrieving metadata of an attachment on an Asset.\");\nconst RkvstRetrieveAssetAttachmentMetadata_AttachmentHashSchema = z.object({\n alg: z.string().describe(\"Algorithm used to compute the attachment hash\").nullable(),\n value: z.string().describe(\"Computed hash value of the attachment\").nullable(),\n}).passthrough().describe(\"Hash details of the attachment.\");\nexport const RkvstRetrieveAssetAttachmentMetadataOutput = z.object({\n hash: RkvstRetrieveAssetAttachmentMetadata_AttachmentHashSchema.nullable(),\n size: z.number().int().describe(\"Size of the attachment in bytes\").nullable(),\n issuer: z.string().describe(\"Principal issuer of the attachment\").nullable(),\n subject: z.string().describe(\"Principal subject of the attachment\").nullable(),\n identity: z.string().describe(\"Resource address of the attachment\").nullable(),\n tenantid: z.string().describe(\"Tenant identity of the attachment owner\").nullable(),\n mime_type: z.string().describe(\"MIME type of the attachment\").nullable(),\n scanned_status: z.string().describe(\"Status of the attachment scan\").nullable(),\n scanned_timestamp: z.string().describe(\"Timestamp when the attachment was scanned (ISO 8601)\").nullable(),\n scanned_bad_reason: z.string().describe(\"Reason if the attachment scan failed (SCANNED_BAD)\").nullable().optional(),\n timestamp_accepted: z.string().describe(\"Timestamp when the request was accepted (ISO 8601)\").nullable(),\n}).passthrough().describe(\"Response schema for metadata of an asset attachment.\");\n\nexport const rkvstRetrieveAssetAttachmentMetadata = action(\"RKVST_RETRIEVE_ASSET_ATTACHMENT_METADATA\", {\n slug: \"rkvst-retrieve-asset-attachment-metadata\",\n name: \"Retrieve asset attachment metadata\",\n description: \"Tool to retrieve metadata for an attachment on a specified Asset. Use after obtaining asset and attachment UUIDs.\",\n input: RkvstRetrieveAssetAttachmentMetadataInput,\n output: RkvstRetrieveAssetAttachmentMetadataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AAC3E,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,4DAA4D,EAAE,OAAO;CACzE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAe3D,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnBwD,EAAE,OAAO;EACjE,MAAM,0DAA0D,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACvE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC9E,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACxG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -10,10 +10,10 @@ const RkvstRetrieveCapsInput = zod.z.object({ service: zod.z.enum([
|
|
|
10
10
|
"members"
|
|
11
11
|
]).describe("Resource type to return caps for. Allowed values: access_policies, applications, assets, blobs, locations, members.") }).describe("Request schema for RETRIEVE_CAPS.");
|
|
12
12
|
const RkvstRetrieveCaps_CapItemSchema = zod.z.object({
|
|
13
|
-
resource_type: zod.z.string().describe("The resource type name, e.g., 'assets'."),
|
|
14
|
-
resource_remaining: zod.z.string().describe("Remaining quota for this resource, returned as a string.")
|
|
15
|
-
}).describe("Single cap entry showing resource type and remaining quota.");
|
|
16
|
-
const RkvstRetrieveCapsOutput = zod.z.object({ caps: zod.z.array(RkvstRetrieveCaps_CapItemSchema).describe("List of cap objects, each containing the resource type and remaining quota.") }).describe("Response schema for RETRIEVE_CAPS.");
|
|
13
|
+
resource_type: zod.z.string().describe("The resource type name, e.g., 'assets'.").nullable(),
|
|
14
|
+
resource_remaining: zod.z.string().describe("Remaining quota for this resource, returned as a string.").nullable()
|
|
15
|
+
}).passthrough().describe("Single cap entry showing resource type and remaining quota.");
|
|
16
|
+
const RkvstRetrieveCapsOutput = zod.z.object({ caps: zod.z.array(RkvstRetrieveCaps_CapItemSchema).describe("List of cap objects, each containing the resource type and remaining quota.") }).passthrough().describe("Response schema for RETRIEVE_CAPS.");
|
|
17
17
|
const rkvstRetrieveCaps = require_action.action("RKVST_RETRIEVE_CAPS", {
|
|
18
18
|
slug: "rkvst-retrieve-caps",
|
|
19
19
|
name: "Retrieve Caps",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-caps.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-caps.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstRetrieveCapsInput
|
|
1
|
+
{"version":3,"file":"retrieve-caps.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-caps.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstRetrieveCapsInput = z.object({\n service: z.enum([\"access_policies\", \"applications\", \"assets\", \"blobs\", \"locations\", \"members\"]).describe(\"Resource type to return caps for. Allowed values: access_policies, applications, assets, blobs, locations, members.\"),\n}).describe(\"Request schema for RETRIEVE_CAPS.\");\nconst RkvstRetrieveCaps_CapItemSchema = z.object({\n resource_type: z.string().describe(\"The resource type name, e.g., 'assets'.\").nullable(),\n resource_remaining: z.string().describe(\"Remaining quota for this resource, returned as a string.\").nullable(),\n}).passthrough().describe(\"Single cap entry showing resource type and remaining quota.\");\nexport const RkvstRetrieveCapsOutput = z.object({\n caps: z.array(RkvstRetrieveCaps_CapItemSchema).describe(\"List of cap objects, each containing the resource type and remaining quota.\"),\n}).passthrough().describe(\"Response schema for RETRIEVE_CAPS.\");\n\nexport const rkvstRetrieveCaps = action(\"RKVST_RETRIEVE_CAPS\", {\n slug: \"rkvst-retrieve-caps\",\n name: \"Retrieve Caps\",\n description: \"Tool to retrieve resource limit quotas for a specified service. Use when checking quota availability before provisioning resources.\",\n input: RkvstRetrieveCapsInput,\n output: RkvstRetrieveCapsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,SAASA,IAAAA,EAAE,KAAK;CAAC;CAAmB;CAAgB;CAAU;CAAS;CAAa;AAAS,CAAC,CAAC,CAAC,SAAS,qHAAqH,EAChO,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACvF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,6EAA6E,EACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-caps.d.ts
|
|
4
|
-
declare const RkvstRetrieveCapsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RkvstRetrieveCapsInput: z.ZodObject<{
|
|
5
|
+
service: z.ZodEnum<{
|
|
6
|
+
applications: "applications";
|
|
7
|
+
assets: "assets";
|
|
8
|
+
members: "members";
|
|
9
|
+
access_policies: "access_policies";
|
|
10
|
+
blobs: "blobs";
|
|
11
|
+
locations: "locations";
|
|
12
|
+
}>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const RkvstRetrieveCapsOutput: z.ZodObject<{
|
|
15
|
+
caps: z.ZodArray<z.ZodObject<{
|
|
16
|
+
resource_type: z.ZodNullable<z.ZodString>;
|
|
17
|
+
resource_remaining: z.ZodNullable<z.ZodString>;
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
|
+
}, z.core.$loose>;
|
|
20
|
+
declare const rkvstRetrieveCaps: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
|
+
service: "applications" | "assets" | "members" | "access_policies" | "blobs" | "locations";
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { rkvstRetrieveCaps };
|
|
9
25
|
//# sourceMappingURL=retrieve-caps.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-caps.d.cts","names":[],"sources":["../../src/actions/retrieve-caps.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-caps.d.cts","names":[],"sources":["../../src/actions/retrieve-caps.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-caps.d.ts
|
|
4
|
-
declare const RkvstRetrieveCapsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RkvstRetrieveCapsInput: z.ZodObject<{
|
|
5
|
+
service: z.ZodEnum<{
|
|
6
|
+
applications: "applications";
|
|
7
|
+
assets: "assets";
|
|
8
|
+
members: "members";
|
|
9
|
+
access_policies: "access_policies";
|
|
10
|
+
blobs: "blobs";
|
|
11
|
+
locations: "locations";
|
|
12
|
+
}>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const RkvstRetrieveCapsOutput: z.ZodObject<{
|
|
15
|
+
caps: z.ZodArray<z.ZodObject<{
|
|
16
|
+
resource_type: z.ZodNullable<z.ZodString>;
|
|
17
|
+
resource_remaining: z.ZodNullable<z.ZodString>;
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
|
+
}, z.core.$loose>;
|
|
20
|
+
declare const rkvstRetrieveCaps: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
|
+
service: "applications" | "assets" | "members" | "access_policies" | "blobs" | "locations";
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { rkvstRetrieveCaps };
|
|
9
25
|
//# sourceMappingURL=retrieve-caps.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-caps.d.mts","names":[],"sources":["../../src/actions/retrieve-caps.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-caps.d.mts","names":[],"sources":["../../src/actions/retrieve-caps.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -10,15 +10,15 @@ const RkvstRetrieveCapsInput = z.object({ service: z.enum([
|
|
|
10
10
|
"members"
|
|
11
11
|
]).describe("Resource type to return caps for. Allowed values: access_policies, applications, assets, blobs, locations, members.") }).describe("Request schema for RETRIEVE_CAPS.");
|
|
12
12
|
const RkvstRetrieveCaps_CapItemSchema = z.object({
|
|
13
|
-
resource_type: z.string().describe("The resource type name, e.g., 'assets'."),
|
|
14
|
-
resource_remaining: z.string().describe("Remaining quota for this resource, returned as a string.")
|
|
15
|
-
}).describe("Single cap entry showing resource type and remaining quota.");
|
|
13
|
+
resource_type: z.string().describe("The resource type name, e.g., 'assets'.").nullable(),
|
|
14
|
+
resource_remaining: z.string().describe("Remaining quota for this resource, returned as a string.").nullable()
|
|
15
|
+
}).passthrough().describe("Single cap entry showing resource type and remaining quota.");
|
|
16
16
|
const rkvstRetrieveCaps = action("RKVST_RETRIEVE_CAPS", {
|
|
17
17
|
slug: "rkvst-retrieve-caps",
|
|
18
18
|
name: "Retrieve Caps",
|
|
19
19
|
description: "Tool to retrieve resource limit quotas for a specified service. Use when checking quota availability before provisioning resources.",
|
|
20
20
|
input: RkvstRetrieveCapsInput,
|
|
21
|
-
output: z.object({ caps: z.array(RkvstRetrieveCaps_CapItemSchema).describe("List of cap objects, each containing the resource type and remaining quota.") }).describe("Response schema for RETRIEVE_CAPS.")
|
|
21
|
+
output: z.object({ caps: z.array(RkvstRetrieveCaps_CapItemSchema).describe("List of cap objects, each containing the resource type and remaining quota.") }).passthrough().describe("Response schema for RETRIEVE_CAPS.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { rkvstRetrieveCaps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-caps.mjs","names":[],"sources":["../../src/actions/retrieve-caps.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstRetrieveCapsInput
|
|
1
|
+
{"version":3,"file":"retrieve-caps.mjs","names":[],"sources":["../../src/actions/retrieve-caps.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstRetrieveCapsInput = z.object({\n service: z.enum([\"access_policies\", \"applications\", \"assets\", \"blobs\", \"locations\", \"members\"]).describe(\"Resource type to return caps for. Allowed values: access_policies, applications, assets, blobs, locations, members.\"),\n}).describe(\"Request schema for RETRIEVE_CAPS.\");\nconst RkvstRetrieveCaps_CapItemSchema = z.object({\n resource_type: z.string().describe(\"The resource type name, e.g., 'assets'.\").nullable(),\n resource_remaining: z.string().describe(\"Remaining quota for this resource, returned as a string.\").nullable(),\n}).passthrough().describe(\"Single cap entry showing resource type and remaining quota.\");\nexport const RkvstRetrieveCapsOutput = z.object({\n caps: z.array(RkvstRetrieveCaps_CapItemSchema).describe(\"List of cap objects, each containing the resource type and remaining quota.\"),\n}).passthrough().describe(\"Response schema for RETRIEVE_CAPS.\");\n\nexport const rkvstRetrieveCaps = action(\"RKVST_RETRIEVE_CAPS\", {\n slug: \"rkvst-retrieve-caps\",\n name: \"Retrieve Caps\",\n description: \"Tool to retrieve resource limit quotas for a specified service. Use when checking quota availability before provisioning resources.\",\n input: RkvstRetrieveCapsInput,\n output: RkvstRetrieveCapsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,SAAS,EAAE,KAAK;CAAC;CAAmB;CAAgB;CAAU;CAAS;CAAa;AAAS,CAAC,CAAC,CAAC,SAAS,qHAAqH,EAChO,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,kCAAkC,EAAE,OAAO;CAC/C,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACvF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAKvF,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,MAAM,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,6EAA6E,EACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
|
|
@@ -7,22 +7,22 @@ const RkvstRetrieveEventAttachmentMetadataInput = zod.z.object({
|
|
|
7
7
|
event_uuid: zod.z.string().describe("UUID of the event to which the attachment belongs.")
|
|
8
8
|
}).describe("Request schema for retrieving metadata of an attachment on a specified Event.");
|
|
9
9
|
const RkvstRetrieveEventAttachmentMetadata_BlobHashSchema = zod.z.object({
|
|
10
|
-
alg: zod.z.string().describe("Hash algorithm used for the blob (e.g., SHA256)."),
|
|
11
|
-
value: zod.z.string().describe("Hash value of the blob.")
|
|
12
|
-
}).describe("Hash details of the attachment blob.");
|
|
10
|
+
alg: zod.z.string().describe("Hash algorithm used for the blob (e.g., SHA256).").nullable(),
|
|
11
|
+
value: zod.z.string().describe("Hash value of the blob.").nullable()
|
|
12
|
+
}).passthrough().describe("Hash details of the attachment blob.");
|
|
13
13
|
const RkvstRetrieveEventAttachmentMetadataOutput = zod.z.object({
|
|
14
14
|
hash: RkvstRetrieveEventAttachmentMetadata_BlobHashSchema.nullable(),
|
|
15
|
-
size: zod.z.number().int().describe("Size of the blob in bytes."),
|
|
16
|
-
issuer: zod.z.string().describe("Principal issuer of the blob."),
|
|
17
|
-
subject: zod.z.string().describe("Principal subject of the blob."),
|
|
18
|
-
identity: zod.z.string().describe("Blob identity resource address."),
|
|
19
|
-
tenantid: zod.z.string().describe("Tenant identity the blob belongs to."),
|
|
20
|
-
mime_type: zod.z.string().describe("HTTP MIME type of the blob."),
|
|
21
|
-
scanned_status: zod.z.string().describe("Scan status of the blob."),
|
|
15
|
+
size: zod.z.number().int().describe("Size of the blob in bytes.").nullable(),
|
|
16
|
+
issuer: zod.z.string().describe("Principal issuer of the blob.").nullable(),
|
|
17
|
+
subject: zod.z.string().describe("Principal subject of the blob.").nullable(),
|
|
18
|
+
identity: zod.z.string().describe("Blob identity resource address.").nullable(),
|
|
19
|
+
tenantid: zod.z.string().describe("Tenant identity the blob belongs to.").nullable(),
|
|
20
|
+
mime_type: zod.z.string().describe("HTTP MIME type of the blob.").nullable(),
|
|
21
|
+
scanned_status: zod.z.string().describe("Scan status of the blob.").nullable(),
|
|
22
22
|
scanned_timestamp: zod.z.string().describe("Time when the blob was scanned (ISO 8601).").nullable().optional(),
|
|
23
23
|
scanned_bad_reason: zod.z.string().describe("Reason if the scan status indicates a bad scan.").nullable().optional(),
|
|
24
|
-
timestamp_accepted: zod.z.string().describe("Time when the request was accepted (ISO 8601).")
|
|
25
|
-
}).describe("Response schema for attachment metadata on a specified Event.");
|
|
24
|
+
timestamp_accepted: zod.z.string().describe("Time when the request was accepted (ISO 8601).").nullable()
|
|
25
|
+
}).passthrough().describe("Response schema for attachment metadata on a specified Event.");
|
|
26
26
|
const rkvstRetrieveEventAttachmentMetadata = require_action.action("RKVST_RETRIEVE_EVENT_ATTACHMENT_METADATA", {
|
|
27
27
|
slug: "rkvst-retrieve-event-attachment-metadata",
|
|
28
28
|
name: "Retrieve Event Attachment Metadata",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-event-attachment-metadata.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-event-attachment-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstRetrieveEventAttachmentMetadataInput
|
|
1
|
+
{"version":3,"file":"retrieve-event-attachment-metadata.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-event-attachment-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstRetrieveEventAttachmentMetadataInput = 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}).describe(\"Request schema for retrieving metadata of an attachment on a specified Event.\");\nconst RkvstRetrieveEventAttachmentMetadata_BlobHashSchema = z.object({\n alg: z.string().describe(\"Hash algorithm used for the blob (e.g., SHA256).\").nullable(),\n value: z.string().describe(\"Hash value of the blob.\").nullable(),\n}).passthrough().describe(\"Hash details of the attachment blob.\");\nexport const RkvstRetrieveEventAttachmentMetadataOutput = z.object({\n hash: RkvstRetrieveEventAttachmentMetadata_BlobHashSchema.nullable(),\n size: z.number().int().describe(\"Size of the blob in bytes.\").nullable(),\n issuer: z.string().describe(\"Principal issuer of the blob.\").nullable(),\n subject: z.string().describe(\"Principal subject of the blob.\").nullable(),\n identity: z.string().describe(\"Blob identity resource address.\").nullable(),\n tenantid: z.string().describe(\"Tenant identity the blob belongs to.\").nullable(),\n mime_type: z.string().describe(\"HTTP MIME type of the blob.\").nullable(),\n scanned_status: z.string().describe(\"Scan status of the blob.\").nullable(),\n scanned_timestamp: z.string().describe(\"Time when the blob was scanned (ISO 8601).\").nullable().optional(),\n scanned_bad_reason: z.string().describe(\"Reason if the scan status indicates a bad scan.\").nullable().optional(),\n timestamp_accepted: z.string().describe(\"Time when the request was accepted (ISO 8601).\").nullable(),\n}).passthrough().describe(\"Response schema for attachment metadata on a specified Event.\");\n\nexport const rkvstRetrieveEventAttachmentMetadata = action(\"RKVST_RETRIEVE_EVENT_ATTACHMENT_METADATA\", {\n slug: \"rkvst-retrieve-event-attachment-metadata\",\n name: \"Retrieve Event Attachment Metadata\",\n description: \"Tool to retrieve metadata for an attachment on a specified Event. Use when you have asset_uuid, event_uuid, and attachment uuid and need details like size, hash, and scan status.\",\n input: RkvstRetrieveEventAttachmentMetadataInput,\n output: RkvstRetrieveEventAttachmentMetadataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,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,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAM,oDAAoD,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACvE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACzE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,uCAAuCC,eAAAA,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-event-attachment-metadata.d.ts
|
|
4
|
-
declare const RkvstRetrieveEventAttachmentMetadataInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RkvstRetrieveEventAttachmentMetadataInput: z.ZodObject<{
|
|
5
|
+
uuid: z.ZodString;
|
|
6
|
+
asset_uuid: z.ZodString;
|
|
7
|
+
event_uuid: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RkvstRetrieveEventAttachmentMetadataOutput: z.ZodObject<{
|
|
10
|
+
hash: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
alg: z.ZodNullable<z.ZodString>;
|
|
12
|
+
value: z.ZodNullable<z.ZodString>;
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
size: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
issuer: z.ZodNullable<z.ZodString>;
|
|
16
|
+
subject: z.ZodNullable<z.ZodString>;
|
|
17
|
+
identity: z.ZodNullable<z.ZodString>;
|
|
18
|
+
tenantid: z.ZodNullable<z.ZodString>;
|
|
19
|
+
mime_type: z.ZodNullable<z.ZodString>;
|
|
20
|
+
scanned_status: z.ZodNullable<z.ZodString>;
|
|
21
|
+
scanned_timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
scanned_bad_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
timestamp_accepted: z.ZodNullable<z.ZodString>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
|
+
declare const rkvstRetrieveEventAttachmentMetadata: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
|
+
uuid: string;
|
|
27
|
+
asset_uuid: string;
|
|
28
|
+
event_uuid: string;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { rkvstRetrieveEventAttachmentMetadata };
|
|
9
32
|
//# sourceMappingURL=retrieve-event-attachment-metadata.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-event-attachment-metadata.d.cts","names":[],"sources":["../../src/actions/retrieve-event-attachment-metadata.ts"],"mappings":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-event-attachment-metadata.d.cts","names":[],"sources":["../../src/actions/retrieve-event-attachment-metadata.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cASzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAc1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/retrieve-event-attachment-metadata.d.ts
|
|
4
|
-
declare const RkvstRetrieveEventAttachmentMetadataInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RkvstRetrieveEventAttachmentMetadataInput: z.ZodObject<{
|
|
5
|
+
uuid: z.ZodString;
|
|
6
|
+
asset_uuid: z.ZodString;
|
|
7
|
+
event_uuid: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RkvstRetrieveEventAttachmentMetadataOutput: z.ZodObject<{
|
|
10
|
+
hash: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
alg: z.ZodNullable<z.ZodString>;
|
|
12
|
+
value: z.ZodNullable<z.ZodString>;
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
size: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
issuer: z.ZodNullable<z.ZodString>;
|
|
16
|
+
subject: z.ZodNullable<z.ZodString>;
|
|
17
|
+
identity: z.ZodNullable<z.ZodString>;
|
|
18
|
+
tenantid: z.ZodNullable<z.ZodString>;
|
|
19
|
+
mime_type: z.ZodNullable<z.ZodString>;
|
|
20
|
+
scanned_status: z.ZodNullable<z.ZodString>;
|
|
21
|
+
scanned_timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
scanned_bad_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
timestamp_accepted: z.ZodNullable<z.ZodString>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
|
+
declare const rkvstRetrieveEventAttachmentMetadata: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
|
+
uuid: string;
|
|
27
|
+
asset_uuid: string;
|
|
28
|
+
event_uuid: string;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { rkvstRetrieveEventAttachmentMetadata };
|
|
9
32
|
//# sourceMappingURL=retrieve-event-attachment-metadata.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-event-attachment-metadata.d.mts","names":[],"sources":["../../src/actions/retrieve-event-attachment-metadata.ts"],"mappings":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"retrieve-event-attachment-metadata.d.mts","names":[],"sources":["../../src/actions/retrieve-event-attachment-metadata.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cASzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAc1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -7,9 +7,9 @@ const RkvstRetrieveEventAttachmentMetadataInput = z.object({
|
|
|
7
7
|
event_uuid: z.string().describe("UUID of the event to which the attachment belongs.")
|
|
8
8
|
}).describe("Request schema for retrieving metadata of an attachment on a specified Event.");
|
|
9
9
|
const RkvstRetrieveEventAttachmentMetadata_BlobHashSchema = z.object({
|
|
10
|
-
alg: z.string().describe("Hash algorithm used for the blob (e.g., SHA256)."),
|
|
11
|
-
value: z.string().describe("Hash value of the blob.")
|
|
12
|
-
}).describe("Hash details of the attachment blob.");
|
|
10
|
+
alg: z.string().describe("Hash algorithm used for the blob (e.g., SHA256).").nullable(),
|
|
11
|
+
value: z.string().describe("Hash value of the blob.").nullable()
|
|
12
|
+
}).passthrough().describe("Hash details of the attachment blob.");
|
|
13
13
|
const rkvstRetrieveEventAttachmentMetadata = action("RKVST_RETRIEVE_EVENT_ATTACHMENT_METADATA", {
|
|
14
14
|
slug: "rkvst-retrieve-event-attachment-metadata",
|
|
15
15
|
name: "Retrieve Event Attachment Metadata",
|
|
@@ -17,17 +17,17 @@ const rkvstRetrieveEventAttachmentMetadata = action("RKVST_RETRIEVE_EVENT_ATTACH
|
|
|
17
17
|
input: RkvstRetrieveEventAttachmentMetadataInput,
|
|
18
18
|
output: z.object({
|
|
19
19
|
hash: RkvstRetrieveEventAttachmentMetadata_BlobHashSchema.nullable(),
|
|
20
|
-
size: z.number().int().describe("Size of the blob in bytes."),
|
|
21
|
-
issuer: z.string().describe("Principal issuer of the blob."),
|
|
22
|
-
subject: z.string().describe("Principal subject of the blob."),
|
|
23
|
-
identity: z.string().describe("Blob identity resource address."),
|
|
24
|
-
tenantid: z.string().describe("Tenant identity the blob belongs to."),
|
|
25
|
-
mime_type: z.string().describe("HTTP MIME type of the blob."),
|
|
26
|
-
scanned_status: z.string().describe("Scan status of the blob."),
|
|
20
|
+
size: z.number().int().describe("Size of the blob in bytes.").nullable(),
|
|
21
|
+
issuer: z.string().describe("Principal issuer of the blob.").nullable(),
|
|
22
|
+
subject: z.string().describe("Principal subject of the blob.").nullable(),
|
|
23
|
+
identity: z.string().describe("Blob identity resource address.").nullable(),
|
|
24
|
+
tenantid: z.string().describe("Tenant identity the blob belongs to.").nullable(),
|
|
25
|
+
mime_type: z.string().describe("HTTP MIME type of the blob.").nullable(),
|
|
26
|
+
scanned_status: z.string().describe("Scan status of the blob.").nullable(),
|
|
27
27
|
scanned_timestamp: z.string().describe("Time when the blob was scanned (ISO 8601).").nullable().optional(),
|
|
28
28
|
scanned_bad_reason: z.string().describe("Reason if the scan status indicates a bad scan.").nullable().optional(),
|
|
29
|
-
timestamp_accepted: z.string().describe("Time when the request was accepted (ISO 8601).")
|
|
30
|
-
}).describe("Response schema for attachment metadata on a specified Event.")
|
|
29
|
+
timestamp_accepted: z.string().describe("Time when the request was accepted (ISO 8601).").nullable()
|
|
30
|
+
}).passthrough().describe("Response schema for attachment metadata on a specified Event.")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { rkvstRetrieveEventAttachmentMetadata };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-event-attachment-metadata.mjs","names":[],"sources":["../../src/actions/retrieve-event-attachment-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstRetrieveEventAttachmentMetadataInput
|
|
1
|
+
{"version":3,"file":"retrieve-event-attachment-metadata.mjs","names":[],"sources":["../../src/actions/retrieve-event-attachment-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstRetrieveEventAttachmentMetadataInput = 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}).describe(\"Request schema for retrieving metadata of an attachment on a specified Event.\");\nconst RkvstRetrieveEventAttachmentMetadata_BlobHashSchema = z.object({\n alg: z.string().describe(\"Hash algorithm used for the blob (e.g., SHA256).\").nullable(),\n value: z.string().describe(\"Hash value of the blob.\").nullable(),\n}).passthrough().describe(\"Hash details of the attachment blob.\");\nexport const RkvstRetrieveEventAttachmentMetadataOutput = z.object({\n hash: RkvstRetrieveEventAttachmentMetadata_BlobHashSchema.nullable(),\n size: z.number().int().describe(\"Size of the blob in bytes.\").nullable(),\n issuer: z.string().describe(\"Principal issuer of the blob.\").nullable(),\n subject: z.string().describe(\"Principal subject of the blob.\").nullable(),\n identity: z.string().describe(\"Blob identity resource address.\").nullable(),\n tenantid: z.string().describe(\"Tenant identity the blob belongs to.\").nullable(),\n mime_type: z.string().describe(\"HTTP MIME type of the blob.\").nullable(),\n scanned_status: z.string().describe(\"Scan status of the blob.\").nullable(),\n scanned_timestamp: z.string().describe(\"Time when the blob was scanned (ISO 8601).\").nullable().optional(),\n scanned_bad_reason: z.string().describe(\"Reason if the scan status indicates a bad scan.\").nullable().optional(),\n timestamp_accepted: z.string().describe(\"Time when the request was accepted (ISO 8601).\").nullable(),\n}).passthrough().describe(\"Response schema for attachment metadata on a specified Event.\");\n\nexport const rkvstRetrieveEventAttachmentMetadata = action(\"RKVST_RETRIEVE_EVENT_ATTACHMENT_METADATA\", {\n slug: \"rkvst-retrieve-event-attachment-metadata\",\n name: \"Retrieve Event Attachment Metadata\",\n description: \"Tool to retrieve metadata for an attachment on a specified Event. Use when you have asset_uuid, event_uuid, and attachment uuid and need details like size, hash, and scan status.\",\n input: RkvstRetrieveEventAttachmentMetadataInput,\n output: RkvstRetrieveEventAttachmentMetadataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,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,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,sDAAsD,EAAE,OAAO;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAehE,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnBwD,EAAE,OAAO;EACjE,MAAM,oDAAoD,SAAS;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACvE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACzE,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ const RkvstSearchEvents_LedgerEntrySchema = zod.z.object({
|
|
|
12
12
|
hash_schema: zod.z.string().describe("Hash schema used").nullable().optional(),
|
|
13
13
|
idtimestamp: zod.z.string().describe("Ledger idtimestamp").nullable().optional(),
|
|
14
14
|
content_hash: zod.z.string().describe("Ledger content hash").nullable().optional()
|
|
15
|
-
});
|
|
15
|
+
}).passthrough();
|
|
16
16
|
const RkvstSearchEvents_EventSchema = zod.z.object({
|
|
17
17
|
trails: zod.z.array(zod.z.string()).describe("List of trail IDs associated with this event").nullable().optional(),
|
|
18
18
|
identity: zod.z.string().describe("Unique event identifier").nullable().optional(),
|
|
@@ -27,11 +27,11 @@ const RkvstSearchEvents_EventSchema = zod.z.object({
|
|
|
27
27
|
"COMMITTED",
|
|
28
28
|
"CONFIRMED"
|
|
29
29
|
]).describe("Ledger confirmation status").nullable().optional()
|
|
30
|
-
});
|
|
30
|
+
}).passthrough();
|
|
31
31
|
const RkvstSearchEventsOutput = zod.z.object({
|
|
32
32
|
events: zod.z.array(RkvstSearchEvents_EventSchema).describe("Page of matching events"),
|
|
33
|
-
total_count: zod.z.number().int().describe("Total number of matching events across all pages")
|
|
34
|
-
});
|
|
33
|
+
total_count: zod.z.number().int().describe("Total number of matching events across all pages").nullable()
|
|
34
|
+
}).passthrough();
|
|
35
35
|
const rkvstSearchEvents = require_action.action("RKVST_SEARCH_EVENTS", {
|
|
36
36
|
slug: "rkvst-search-events",
|
|
37
37
|
name: "Search Events",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-events.cjs","names":["z","action"],"sources":["../../src/actions/search-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstSearchEventsInput
|
|
1
|
+
{"version":3,"file":"search-events.cjs","names":["z","action"],"sources":["../../src/actions/search-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstSearchEventsInput = z.object({\n top: z.number().int().describe(\"Max number of results to return (1-50).\").optional(),\n skip: z.number().int().describe(\"Number of results to skip before returning the page.\").optional(),\n filter: z.string().describe(\"OData filter expression. Filterable fields: trails, event_type, origin_tenant, created_by, created_at, ledger_entry/index, ledger_entry/idtimestamp, ledger_entry/content_hash. Example: \\\"trails/any(t: t eq 'Clouseau') and event_type eq 'CREATED'\\\"\").optional(),\n}).describe(\"Request schema for searching events with optional OData filter and pagination.\");\nconst RkvstSearchEvents_LedgerEntrySchema = z.object({\n index: z.string().describe(\"Ledger entry index\").nullable().optional(),\n log_id: z.string().describe(\"Ledger log ID\").nullable().optional(),\n hash_schema: z.string().describe(\"Hash schema used\").nullable().optional(),\n idtimestamp: z.string().describe(\"Ledger idtimestamp\").nullable().optional(),\n content_hash: z.string().describe(\"Ledger content hash\").nullable().optional(),\n}).passthrough();\nconst RkvstSearchEvents_EventSchema = z.object({\n trails: z.array(z.string()).describe(\"List of trail IDs associated with this event\").nullable().optional(),\n identity: z.string().describe(\"Unique event identifier\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Key/value map of event attributes\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp in milliseconds since Unix epoch\").nullable().optional(),\n created_by: z.string().describe(\"User or system that created the event\").nullable().optional(),\n event_type: z.string().describe(\"Type of the event\").nullable().optional(),\n ledger_entry: RkvstSearchEvents_LedgerEntrySchema.nullable().optional(),\n origin_tenant: z.string().describe(\"Tenant where event originated\").nullable().optional(),\n confirmation_status: z.enum([\"STORED\", \"COMMITTED\", \"CONFIRMED\"]).describe(\"Ledger confirmation status\").nullable().optional(),\n}).passthrough();\nexport const RkvstSearchEventsOutput = z.object({\n events: z.array(RkvstSearchEvents_EventSchema).describe(\"Page of matching events\"),\n total_count: z.number().int().describe(\"Total number of matching events across all pages\").nullable(),\n}).passthrough();\n\nexport const rkvstSearchEvents = action(\"RKVST_SEARCH_EVENTS\", {\n slug: \"rkvst-search-events\",\n name: \"Search Events\",\n description: \"Tool to search events matching filter criteria with pagination. Use when retrieving events by OData filter and paging through large result sets.\",\n input: RkvstSearchEventsInput,\n output: RkvstSearchEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yPAAyP,CAAC,CAAC,SAAS;AAClS,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,cAAc,oCAAoC,SAAS,CAAC,CAAC,SAAS;CACtE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,qBAAqBA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,QAAQA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,yBAAyB;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,40 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/search-events.d.ts
|
|
4
|
-
declare const RkvstSearchEventsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RkvstSearchEventsInput: z.ZodObject<{
|
|
5
|
+
top: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
skip: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RkvstSearchEventsOutput: z.ZodObject<{
|
|
10
|
+
events: z.ZodArray<z.ZodObject<{
|
|
11
|
+
trails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
|
+
identity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
created_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
event_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
ledger_entry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
|
+
index: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
log_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
hash_schema: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
idtimestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
content_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
}, z.core.$loose>>>;
|
|
24
|
+
origin_tenant: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
confirmation_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
26
|
+
STORED: "STORED";
|
|
27
|
+
COMMITTED: "COMMITTED";
|
|
28
|
+
CONFIRMED: "CONFIRMED";
|
|
29
|
+
}>>>;
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
|
+
total_count: z.ZodNullable<z.ZodNumber>;
|
|
32
|
+
}, z.core.$loose>;
|
|
33
|
+
declare const rkvstSearchEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
|
+
top?: number | undefined;
|
|
35
|
+
skip?: number | undefined;
|
|
36
|
+
filter?: string | undefined;
|
|
37
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
38
|
//#endregion
|
|
8
39
|
export { rkvstSearchEvents };
|
|
9
40
|
//# sourceMappingURL=search-events.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-events.d.cts","names":[],"sources":["../../src/actions/search-events.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"search-events.d.cts","names":[],"sources":["../../src/actions/search-events.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAuBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAKvB,iBAAA,gCAAiB,wBAAA"}
|