@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,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-app-registrations.d.ts
|
|
4
|
-
declare const RkvstListAppRegistrationsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RkvstListAppRegistrationsInput: z.ZodObject<{
|
|
5
|
+
page_token: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RkvstListAppRegistrationsOutput: z.ZodObject<{
|
|
8
|
+
applications: z.ZodArray<z.ZodObject<{
|
|
9
|
+
roles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
10
|
+
identity: z.ZodNullable<z.ZodString>;
|
|
11
|
+
client_id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
tenant_id: z.ZodNullable<z.ZodString>;
|
|
13
|
+
credentials: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
14
|
+
secret: z.ZodNullable<z.ZodString>;
|
|
15
|
+
valid_from: z.ZodNullable<z.ZodString>;
|
|
16
|
+
valid_until: z.ZodNullable<z.ZodString>;
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
|
+
display_name: z.ZodNullable<z.ZodString>;
|
|
19
|
+
custom_claims: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
next_page_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
|
+
declare const rkvstListAppRegistrations: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
page_token?: string | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { rkvstListAppRegistrations };
|
|
9
28
|
//# sourceMappingURL=list-app-registrations.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-app-registrations.d.cts","names":[],"sources":["../../src/actions/list-app-registrations.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"list-app-registrations.d.cts","names":[],"sources":["../../src/actions/list-app-registrations.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAiB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-app-registrations.d.ts
|
|
4
|
-
declare const RkvstListAppRegistrationsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RkvstListAppRegistrationsInput: z.ZodObject<{
|
|
5
|
+
page_token: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RkvstListAppRegistrationsOutput: z.ZodObject<{
|
|
8
|
+
applications: z.ZodArray<z.ZodObject<{
|
|
9
|
+
roles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
10
|
+
identity: z.ZodNullable<z.ZodString>;
|
|
11
|
+
client_id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
tenant_id: z.ZodNullable<z.ZodString>;
|
|
13
|
+
credentials: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
14
|
+
secret: z.ZodNullable<z.ZodString>;
|
|
15
|
+
valid_from: z.ZodNullable<z.ZodString>;
|
|
16
|
+
valid_until: z.ZodNullable<z.ZodString>;
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
|
+
display_name: z.ZodNullable<z.ZodString>;
|
|
19
|
+
custom_claims: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
next_page_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
|
+
declare const rkvstListAppRegistrations: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
page_token?: string | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { rkvstListAppRegistrations };
|
|
9
28
|
//# sourceMappingURL=list-app-registrations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-app-registrations.d.mts","names":[],"sources":["../../src/actions/list-app-registrations.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"list-app-registrations.d.mts","names":[],"sources":["../../src/actions/list-app-registrations.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAiB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -3,19 +3,19 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-app-registrations.ts
|
|
4
4
|
const RkvstListAppRegistrationsInput = z.object({ page_token: z.string().describe("Pagination token from a previous call; omit for the first page.").optional() }).describe("Request model for listing App Registrations with optional pagination.");
|
|
5
5
|
const RkvstListAppRegistrations_CredentialSchema = z.object({
|
|
6
|
-
secret: z.string().describe("Client secret value (redacted to empty string when retrieved later)."),
|
|
7
|
-
valid_from: z.string().describe("Secret validity start time in RFC3339 format."),
|
|
8
|
-
valid_until: z.string().describe("Secret validity end time in RFC3339 format.")
|
|
9
|
-
}).describe("Represents a time-limited secret credential for an application.");
|
|
6
|
+
secret: z.string().describe("Client secret value (redacted to empty string when retrieved later).").nullable(),
|
|
7
|
+
valid_from: z.string().describe("Secret validity start time in RFC3339 format.").nullable(),
|
|
8
|
+
valid_until: z.string().describe("Secret validity end time in RFC3339 format.").nullable()
|
|
9
|
+
}).passthrough().describe("Represents a time-limited secret credential for an application.");
|
|
10
10
|
const RkvstListAppRegistrations_ApplicationSchema = z.object({
|
|
11
11
|
roles: z.array(z.string()).describe("Roles assigned to the application (if any).").nullable().optional(),
|
|
12
|
-
identity: z.string().describe("Resource name for the application."),
|
|
13
|
-
client_id: z.string().describe("Client ID for OIDC client credentials flow."),
|
|
14
|
-
tenant_id: z.string().describe("Identifier of the owning tenant."),
|
|
12
|
+
identity: z.string().describe("Resource name for the application.").nullable(),
|
|
13
|
+
client_id: z.string().describe("Client ID for OIDC client credentials flow.").nullable(),
|
|
14
|
+
tenant_id: z.string().describe("Identifier of the owning tenant.").nullable(),
|
|
15
15
|
credentials: z.array(RkvstListAppRegistrations_CredentialSchema).describe("Array of time-limited credential objects.").nullable().optional(),
|
|
16
|
-
display_name: z.string().describe("Human-readable display name for the application."),
|
|
16
|
+
display_name: z.string().describe("Human-readable display name for the application.").nullable(),
|
|
17
17
|
custom_claims: z.record(z.string(), z.unknown()).describe("Custom claims for access policies.").nullable().optional()
|
|
18
|
-
}).describe("Represents an application registered in the tenant.");
|
|
18
|
+
}).passthrough().describe("Represents an application registered in the tenant.");
|
|
19
19
|
const rkvstListAppRegistrations = action("RKVST_LIST_APP_REGISTRATIONS", {
|
|
20
20
|
slug: "rkvst-list-app-registrations",
|
|
21
21
|
name: "List App Registrations",
|
|
@@ -24,7 +24,7 @@ const rkvstListAppRegistrations = action("RKVST_LIST_APP_REGISTRATIONS", {
|
|
|
24
24
|
output: z.object({
|
|
25
25
|
applications: z.array(RkvstListAppRegistrations_ApplicationSchema).describe("List of application objects for this tenant."),
|
|
26
26
|
next_page_token: z.string().describe("Token to retrieve the next page of results; empty if no further pages.").nullable().optional()
|
|
27
|
-
}).describe("Response model for listing App Registrations.")
|
|
27
|
+
}).passthrough().describe("Response model for listing App Registrations.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { rkvstListAppRegistrations };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-app-registrations.mjs","names":[],"sources":["../../src/actions/list-app-registrations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstListAppRegistrationsInput
|
|
1
|
+
{"version":3,"file":"list-app-registrations.mjs","names":[],"sources":["../../src/actions/list-app-registrations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstListAppRegistrationsInput = z.object({\n page_token: z.string().describe(\"Pagination token from a previous call; omit for the first page.\").optional(),\n}).describe(\"Request model for listing App Registrations with optional pagination.\");\nconst RkvstListAppRegistrations_CredentialSchema = z.object({\n secret: z.string().describe(\"Client secret value (redacted to empty string when retrieved later).\").nullable(),\n valid_from: z.string().describe(\"Secret validity start time in RFC3339 format.\").nullable(),\n valid_until: z.string().describe(\"Secret validity end time in RFC3339 format.\").nullable(),\n}).passthrough().describe(\"Represents a time-limited secret credential for an application.\");\nconst RkvstListAppRegistrations_ApplicationSchema = z.object({\n roles: z.array(z.string()).describe(\"Roles assigned to the application (if any).\").nullable().optional(),\n identity: z.string().describe(\"Resource name for the application.\").nullable(),\n client_id: z.string().describe(\"Client ID for OIDC client credentials flow.\").nullable(),\n tenant_id: z.string().describe(\"Identifier of the owning tenant.\").nullable(),\n credentials: z.array(RkvstListAppRegistrations_CredentialSchema).describe(\"Array of time-limited credential objects.\").nullable().optional(),\n display_name: z.string().describe(\"Human-readable display name for the application.\").nullable(),\n custom_claims: z.record(z.string(), z.unknown()).describe(\"Custom claims for access policies.\").nullable().optional(),\n}).passthrough().describe(\"Represents an application registered in the tenant.\");\nexport const RkvstListAppRegistrationsOutput = z.object({\n applications: z.array(RkvstListAppRegistrations_ApplicationSchema).describe(\"List of application objects for this tenant.\"),\n next_page_token: z.string().describe(\"Token to retrieve the next page of results; empty if no further pages.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing App Registrations.\");\n\nexport const rkvstListAppRegistrations = action(\"RKVST_LIST_APP_REGISTRATIONS\", {\n slug: \"rkvst-list-app-registrations\",\n name: \"List App Registrations\",\n description: \"Tool to list all App Registrations. Use after acquiring a valid auth token to retrieve the applications registered under the tenant.\",\n input: RkvstListAppRegistrationsInput,\n output: RkvstListAppRegistrationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,6CAA6C,EAAE,OAAO;CAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAC3F,MAAM,8CAA8C,EAAE,OAAO;CAC3D,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC/F,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAM/E,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,cAAc,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,8CAA8C;EAC1H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -7,33 +7,33 @@ const RkvstListAssetEventsInput = zod.z.object({
|
|
|
7
7
|
asset_uuid: zod.z.string().describe("UUID of the Asset to list events for"),
|
|
8
8
|
page_token: zod.z.string().describe("Token for retrieving the next page of results, obtained from next_page_token in a previous response").optional(),
|
|
9
9
|
minimum_trust: zod.z.string().describe("Return events with confirmation status at or above this level (e.g., COMMITTED, CONFIRMED)").optional(),
|
|
10
|
-
asset_attributes: zod.z.
|
|
11
|
-
event_attributes: zod.z.
|
|
10
|
+
asset_attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Filter by asset attribute equality; key->value. Use '*' for presence or '!=*' for absence.").optional(),
|
|
11
|
+
event_attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Filter by event attribute equality; key->value. Use '*' for presence or '!=*' for absence.").optional()
|
|
12
12
|
}).describe("Request schema for listing events of a specified Asset.");
|
|
13
13
|
const RkvstListAssetEvents_EventObjectSchema = zod.z.object({
|
|
14
|
-
from_: zod.z.string().describe("Wallet address of the entity that created this event"),
|
|
15
|
-
identity: zod.z.string().describe("Identity of the event resource (e.g., 'assets/{UUID}/events/{UUID}')"),
|
|
16
|
-
behaviour: zod.z.string().describe("Behaviour used to create the event (e.g., 'RecordEvidence')"),
|
|
17
|
-
operation: zod.z.string().describe("Operation represented by the event (e.g., 'Record')"),
|
|
18
|
-
block_number: zod.z.string().describe("Block number where the event was committed"),
|
|
19
|
-
asset_identity: zod.z.string().describe("Relative resource address of the asset (e.g., 'assets/{UUID}')"),
|
|
20
|
-
transaction_id: zod.z.string().describe("Transaction hash as a hex string"),
|
|
14
|
+
from_: zod.z.string().describe("Wallet address of the entity that created this event").nullable(),
|
|
15
|
+
identity: zod.z.string().describe("Identity of the event resource (e.g., 'assets/{UUID}/events/{UUID}')").nullable(),
|
|
16
|
+
behaviour: zod.z.string().describe("Behaviour used to create the event (e.g., 'RecordEvidence')").nullable(),
|
|
17
|
+
operation: zod.z.string().describe("Operation represented by the event (e.g., 'Record')").nullable(),
|
|
18
|
+
block_number: zod.z.string().describe("Block number where the event was committed").nullable(),
|
|
19
|
+
asset_identity: zod.z.string().describe("Relative resource address of the asset (e.g., 'assets/{UUID}')").nullable(),
|
|
20
|
+
transaction_id: zod.z.string().describe("Transaction hash as a hex string").nullable(),
|
|
21
21
|
merklelog_entry: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Merkle MMR log entry details for verification"),
|
|
22
|
-
tenant_identity: zod.z.string().describe("Identity of the tenant that created this event"),
|
|
22
|
+
tenant_identity: zod.z.string().describe("Identity of the tenant that created this event").nullable(),
|
|
23
23
|
asset_attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Asset attributes at the time of the event"),
|
|
24
24
|
event_attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Event-specific attributes"),
|
|
25
|
-
transaction_index: zod.z.string().describe("Index of the event within the committed block"),
|
|
25
|
+
transaction_index: zod.z.string().describe("Index of the event within the committed block").nullable(),
|
|
26
26
|
principal_accepted: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Principal recorded by the server"),
|
|
27
27
|
principal_declared: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Principal provided by the user"),
|
|
28
|
-
timestamp_accepted: zod.z.string().describe("Server-recorded time of event (ISO 8601 UTC)"),
|
|
29
|
-
timestamp_declared: zod.z.string().describe("User-declared time of event (ISO 8601 UTC)"),
|
|
30
|
-
confirmation_status: zod.z.string().describe("Confirmation status of the event (e.g., PENDING, COMMITTED, CONFIRMED)"),
|
|
31
|
-
timestamp_committed: zod.z.string().describe("Verifiable storage time of event (ISO 8601 UTC)")
|
|
32
|
-
}).describe("Schema for an Event object returned in the list of asset events.");
|
|
28
|
+
timestamp_accepted: zod.z.string().describe("Server-recorded time of event (ISO 8601 UTC)").nullable(),
|
|
29
|
+
timestamp_declared: zod.z.string().describe("User-declared time of event (ISO 8601 UTC)").nullable(),
|
|
30
|
+
confirmation_status: zod.z.string().describe("Confirmation status of the event (e.g., PENDING, COMMITTED, CONFIRMED)").nullable(),
|
|
31
|
+
timestamp_committed: zod.z.string().describe("Verifiable storage time of event (ISO 8601 UTC)").nullable()
|
|
32
|
+
}).passthrough().describe("Schema for an Event object returned in the list of asset events.");
|
|
33
33
|
const RkvstListAssetEventsOutput = zod.z.object({
|
|
34
34
|
events: zod.z.array(RkvstListAssetEvents_EventObjectSchema).describe("Array of Event objects for the asset"),
|
|
35
35
|
next_page_token: zod.z.string().describe("Token for retrieving the next page of results; empty if none").nullable().optional()
|
|
36
|
-
}).describe("Response schema for listing events of a specified Asset.");
|
|
36
|
+
}).passthrough().describe("Response schema for listing events of a specified Asset.");
|
|
37
37
|
const rkvstListAssetEvents = require_action.action("RKVST_LIST_ASSET_EVENTS", {
|
|
38
38
|
slug: "rkvst-list-asset-events",
|
|
39
39
|
name: "List Asset Events",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-asset-events.cjs","names":["z","action"],"sources":["../../src/actions/list-asset-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstListAssetEventsInput
|
|
1
|
+
{"version":3,"file":"list-asset-events.cjs","names":["z","action"],"sources":["../../src/actions/list-asset-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstListAssetEventsInput = z.object({\n order_by: z.string().describe(\"Order results for certain schemas (e.g., SIMPLEHASHV1)\").optional(),\n page_size: z.number().int().describe(\"Maximum number of results per page, must be >= 1\").optional(),\n asset_uuid: z.string().describe(\"UUID of the Asset to list events for\"),\n page_token: z.string().describe(\"Token for retrieving the next page of results, obtained from next_page_token in a previous response\").optional(),\n minimum_trust: z.string().describe(\"Return events with confirmation status at or above this level (e.g., COMMITTED, CONFIRMED)\").optional(),\n asset_attributes: z.record(z.string(), z.unknown()).describe(\"Filter by asset attribute equality; key->value. Use '*' for presence or '!=*' for absence.\").optional(),\n event_attributes: z.record(z.string(), z.unknown()).describe(\"Filter by event attribute equality; key->value. Use '*' for presence or '!=*' for absence.\").optional(),\n}).describe(\"Request schema for listing events of a specified Asset.\");\nconst RkvstListAssetEvents_EventObjectSchema = z.object({\n from_: z.string().describe(\"Wallet address of the entity that created this event\").nullable(),\n identity: z.string().describe(\"Identity of the event resource (e.g., 'assets/{UUID}/events/{UUID}')\").nullable(),\n behaviour: z.string().describe(\"Behaviour used to create the event (e.g., 'RecordEvidence')\").nullable(),\n operation: z.string().describe(\"Operation represented by the event (e.g., 'Record')\").nullable(),\n block_number: z.string().describe(\"Block number where the event was committed\").nullable(),\n asset_identity: z.string().describe(\"Relative resource address of the asset (e.g., 'assets/{UUID}')\").nullable(),\n transaction_id: z.string().describe(\"Transaction hash as a hex string\").nullable(),\n merklelog_entry: z.record(z.string(), z.unknown()).describe(\"Merkle MMR log entry details for verification\"),\n tenant_identity: z.string().describe(\"Identity of the tenant that created this event\").nullable(),\n asset_attributes: z.record(z.string(), z.unknown()).describe(\"Asset attributes at the time of the event\"),\n event_attributes: z.record(z.string(), z.unknown()).describe(\"Event-specific attributes\"),\n transaction_index: z.string().describe(\"Index of the event within the committed block\").nullable(),\n principal_accepted: z.record(z.string(), z.unknown()).describe(\"Principal recorded by the server\"),\n principal_declared: z.record(z.string(), z.unknown()).describe(\"Principal provided by the user\"),\n timestamp_accepted: z.string().describe(\"Server-recorded time of event (ISO 8601 UTC)\").nullable(),\n timestamp_declared: z.string().describe(\"User-declared time of event (ISO 8601 UTC)\").nullable(),\n confirmation_status: z.string().describe(\"Confirmation status of the event (e.g., PENDING, COMMITTED, CONFIRMED)\").nullable(),\n timestamp_committed: z.string().describe(\"Verifiable storage time of event (ISO 8601 UTC)\").nullable(),\n}).passthrough().describe(\"Schema for an Event object returned in the list of asset events.\");\nexport const RkvstListAssetEventsOutput = z.object({\n events: z.array(RkvstListAssetEvents_EventObjectSchema).describe(\"Array of Event objects for the asset\"),\n next_page_token: z.string().describe(\"Token for retrieving the next page of results; empty if none\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing events of a specified Asset.\");\n\nexport const rkvstListAssetEvents = action(\"RKVST_LIST_ASSET_EVENTS\", {\n slug: \"rkvst-list-asset-events\",\n name: \"List Asset Events\",\n description: \"Tool to list events for a specified asset. Use after confirming you have the asset UUID.\",\n input: RkvstListAssetEventsInput,\n output: RkvstListAssetEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAA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,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,47 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-asset-events.d.ts
|
|
4
|
-
declare const RkvstListAssetEventsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RkvstListAssetEventsInput: z.ZodObject<{
|
|
5
|
+
order_by: z.ZodOptional<z.ZodString>;
|
|
6
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
asset_uuid: z.ZodString;
|
|
8
|
+
page_token: z.ZodOptional<z.ZodString>;
|
|
9
|
+
minimum_trust: z.ZodOptional<z.ZodString>;
|
|
10
|
+
asset_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11
|
+
event_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const RkvstListAssetEventsOutput: z.ZodObject<{
|
|
14
|
+
events: z.ZodArray<z.ZodObject<{
|
|
15
|
+
from_: z.ZodNullable<z.ZodString>;
|
|
16
|
+
identity: z.ZodNullable<z.ZodString>;
|
|
17
|
+
behaviour: z.ZodNullable<z.ZodString>;
|
|
18
|
+
operation: z.ZodNullable<z.ZodString>;
|
|
19
|
+
block_number: z.ZodNullable<z.ZodString>;
|
|
20
|
+
asset_identity: z.ZodNullable<z.ZodString>;
|
|
21
|
+
transaction_id: z.ZodNullable<z.ZodString>;
|
|
22
|
+
merklelog_entry: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
23
|
+
tenant_identity: z.ZodNullable<z.ZodString>;
|
|
24
|
+
asset_attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
25
|
+
event_attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
26
|
+
transaction_index: z.ZodNullable<z.ZodString>;
|
|
27
|
+
principal_accepted: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
28
|
+
principal_declared: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
29
|
+
timestamp_accepted: z.ZodNullable<z.ZodString>;
|
|
30
|
+
timestamp_declared: z.ZodNullable<z.ZodString>;
|
|
31
|
+
confirmation_status: z.ZodNullable<z.ZodString>;
|
|
32
|
+
timestamp_committed: z.ZodNullable<z.ZodString>;
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
next_page_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
}, z.core.$loose>;
|
|
36
|
+
declare const rkvstListAssetEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
|
+
asset_uuid: string;
|
|
38
|
+
order_by?: string | undefined;
|
|
39
|
+
page_size?: number | undefined;
|
|
40
|
+
page_token?: string | undefined;
|
|
41
|
+
minimum_trust?: string | undefined;
|
|
42
|
+
asset_attributes?: Record<string, unknown> | undefined;
|
|
43
|
+
event_attributes?: Record<string, unknown> | undefined;
|
|
44
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
45
|
//#endregion
|
|
8
46
|
export { rkvstListAssetEvents };
|
|
9
47
|
//# sourceMappingURL=list-asset-events.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-asset-events.d.cts","names":[],"sources":["../../src/actions/list-asset-events.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"list-asset-events.d.cts","names":[],"sources":["../../src/actions/list-asset-events.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cA6BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA;;;;;;qBAM/B,MAAA;qBAAA,MAAA;AAAA"}
|
|
@@ -1,9 +1,47 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-asset-events.d.ts
|
|
4
|
-
declare const RkvstListAssetEventsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RkvstListAssetEventsInput: z.ZodObject<{
|
|
5
|
+
order_by: z.ZodOptional<z.ZodString>;
|
|
6
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
asset_uuid: z.ZodString;
|
|
8
|
+
page_token: z.ZodOptional<z.ZodString>;
|
|
9
|
+
minimum_trust: z.ZodOptional<z.ZodString>;
|
|
10
|
+
asset_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11
|
+
event_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const RkvstListAssetEventsOutput: z.ZodObject<{
|
|
14
|
+
events: z.ZodArray<z.ZodObject<{
|
|
15
|
+
from_: z.ZodNullable<z.ZodString>;
|
|
16
|
+
identity: z.ZodNullable<z.ZodString>;
|
|
17
|
+
behaviour: z.ZodNullable<z.ZodString>;
|
|
18
|
+
operation: z.ZodNullable<z.ZodString>;
|
|
19
|
+
block_number: z.ZodNullable<z.ZodString>;
|
|
20
|
+
asset_identity: z.ZodNullable<z.ZodString>;
|
|
21
|
+
transaction_id: z.ZodNullable<z.ZodString>;
|
|
22
|
+
merklelog_entry: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
23
|
+
tenant_identity: z.ZodNullable<z.ZodString>;
|
|
24
|
+
asset_attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
25
|
+
event_attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
26
|
+
transaction_index: z.ZodNullable<z.ZodString>;
|
|
27
|
+
principal_accepted: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
28
|
+
principal_declared: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
29
|
+
timestamp_accepted: z.ZodNullable<z.ZodString>;
|
|
30
|
+
timestamp_declared: z.ZodNullable<z.ZodString>;
|
|
31
|
+
confirmation_status: z.ZodNullable<z.ZodString>;
|
|
32
|
+
timestamp_committed: z.ZodNullable<z.ZodString>;
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
next_page_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
}, z.core.$loose>;
|
|
36
|
+
declare const rkvstListAssetEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
|
+
asset_uuid: string;
|
|
38
|
+
order_by?: string | undefined;
|
|
39
|
+
page_size?: number | undefined;
|
|
40
|
+
page_token?: string | undefined;
|
|
41
|
+
minimum_trust?: string | undefined;
|
|
42
|
+
asset_attributes?: Record<string, unknown> | undefined;
|
|
43
|
+
event_attributes?: Record<string, unknown> | undefined;
|
|
44
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
45
|
//#endregion
|
|
8
46
|
export { rkvstListAssetEvents };
|
|
9
47
|
//# sourceMappingURL=list-asset-events.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-asset-events.d.mts","names":[],"sources":["../../src/actions/list-asset-events.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"list-asset-events.d.mts","names":[],"sources":["../../src/actions/list-asset-events.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cA6BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA;;;;;;qBAM/B,MAAA;qBAAA,MAAA;AAAA"}
|
|
@@ -7,29 +7,29 @@ const RkvstListAssetEventsInput = z.object({
|
|
|
7
7
|
asset_uuid: z.string().describe("UUID of the Asset to list events for"),
|
|
8
8
|
page_token: z.string().describe("Token for retrieving the next page of results, obtained from next_page_token in a previous response").optional(),
|
|
9
9
|
minimum_trust: z.string().describe("Return events with confirmation status at or above this level (e.g., COMMITTED, CONFIRMED)").optional(),
|
|
10
|
-
asset_attributes: z.
|
|
11
|
-
event_attributes: z.
|
|
10
|
+
asset_attributes: z.record(z.string(), z.unknown()).describe("Filter by asset attribute equality; key->value. Use '*' for presence or '!=*' for absence.").optional(),
|
|
11
|
+
event_attributes: z.record(z.string(), z.unknown()).describe("Filter by event attribute equality; key->value. Use '*' for presence or '!=*' for absence.").optional()
|
|
12
12
|
}).describe("Request schema for listing events of a specified Asset.");
|
|
13
13
|
const RkvstListAssetEvents_EventObjectSchema = z.object({
|
|
14
|
-
from_: z.string().describe("Wallet address of the entity that created this event"),
|
|
15
|
-
identity: z.string().describe("Identity of the event resource (e.g., 'assets/{UUID}/events/{UUID}')"),
|
|
16
|
-
behaviour: z.string().describe("Behaviour used to create the event (e.g., 'RecordEvidence')"),
|
|
17
|
-
operation: z.string().describe("Operation represented by the event (e.g., 'Record')"),
|
|
18
|
-
block_number: z.string().describe("Block number where the event was committed"),
|
|
19
|
-
asset_identity: z.string().describe("Relative resource address of the asset (e.g., 'assets/{UUID}')"),
|
|
20
|
-
transaction_id: z.string().describe("Transaction hash as a hex string"),
|
|
14
|
+
from_: z.string().describe("Wallet address of the entity that created this event").nullable(),
|
|
15
|
+
identity: z.string().describe("Identity of the event resource (e.g., 'assets/{UUID}/events/{UUID}')").nullable(),
|
|
16
|
+
behaviour: z.string().describe("Behaviour used to create the event (e.g., 'RecordEvidence')").nullable(),
|
|
17
|
+
operation: z.string().describe("Operation represented by the event (e.g., 'Record')").nullable(),
|
|
18
|
+
block_number: z.string().describe("Block number where the event was committed").nullable(),
|
|
19
|
+
asset_identity: z.string().describe("Relative resource address of the asset (e.g., 'assets/{UUID}')").nullable(),
|
|
20
|
+
transaction_id: z.string().describe("Transaction hash as a hex string").nullable(),
|
|
21
21
|
merklelog_entry: z.record(z.string(), z.unknown()).describe("Merkle MMR log entry details for verification"),
|
|
22
|
-
tenant_identity: z.string().describe("Identity of the tenant that created this event"),
|
|
22
|
+
tenant_identity: z.string().describe("Identity of the tenant that created this event").nullable(),
|
|
23
23
|
asset_attributes: z.record(z.string(), z.unknown()).describe("Asset attributes at the time of the event"),
|
|
24
24
|
event_attributes: z.record(z.string(), z.unknown()).describe("Event-specific attributes"),
|
|
25
|
-
transaction_index: z.string().describe("Index of the event within the committed block"),
|
|
25
|
+
transaction_index: z.string().describe("Index of the event within the committed block").nullable(),
|
|
26
26
|
principal_accepted: z.record(z.string(), z.unknown()).describe("Principal recorded by the server"),
|
|
27
27
|
principal_declared: z.record(z.string(), z.unknown()).describe("Principal provided by the user"),
|
|
28
|
-
timestamp_accepted: z.string().describe("Server-recorded time of event (ISO 8601 UTC)"),
|
|
29
|
-
timestamp_declared: z.string().describe("User-declared time of event (ISO 8601 UTC)"),
|
|
30
|
-
confirmation_status: z.string().describe("Confirmation status of the event (e.g., PENDING, COMMITTED, CONFIRMED)"),
|
|
31
|
-
timestamp_committed: z.string().describe("Verifiable storage time of event (ISO 8601 UTC)")
|
|
32
|
-
}).describe("Schema for an Event object returned in the list of asset events.");
|
|
28
|
+
timestamp_accepted: z.string().describe("Server-recorded time of event (ISO 8601 UTC)").nullable(),
|
|
29
|
+
timestamp_declared: z.string().describe("User-declared time of event (ISO 8601 UTC)").nullable(),
|
|
30
|
+
confirmation_status: z.string().describe("Confirmation status of the event (e.g., PENDING, COMMITTED, CONFIRMED)").nullable(),
|
|
31
|
+
timestamp_committed: z.string().describe("Verifiable storage time of event (ISO 8601 UTC)").nullable()
|
|
32
|
+
}).passthrough().describe("Schema for an Event object returned in the list of asset events.");
|
|
33
33
|
const rkvstListAssetEvents = action("RKVST_LIST_ASSET_EVENTS", {
|
|
34
34
|
slug: "rkvst-list-asset-events",
|
|
35
35
|
name: "List Asset Events",
|
|
@@ -38,7 +38,7 @@ const rkvstListAssetEvents = action("RKVST_LIST_ASSET_EVENTS", {
|
|
|
38
38
|
output: z.object({
|
|
39
39
|
events: z.array(RkvstListAssetEvents_EventObjectSchema).describe("Array of Event objects for the asset"),
|
|
40
40
|
next_page_token: z.string().describe("Token for retrieving the next page of results; empty if none").nullable().optional()
|
|
41
|
-
}).describe("Response schema for listing events of a specified Asset.")
|
|
41
|
+
}).passthrough().describe("Response schema for listing events of a specified Asset.")
|
|
42
42
|
});
|
|
43
43
|
//#endregion
|
|
44
44
|
export { rkvstListAssetEvents };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-asset-events.mjs","names":[],"sources":["../../src/actions/list-asset-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstListAssetEventsInput
|
|
1
|
+
{"version":3,"file":"list-asset-events.mjs","names":[],"sources":["../../src/actions/list-asset-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstListAssetEventsInput = z.object({\n order_by: z.string().describe(\"Order results for certain schemas (e.g., SIMPLEHASHV1)\").optional(),\n page_size: z.number().int().describe(\"Maximum number of results per page, must be >= 1\").optional(),\n asset_uuid: z.string().describe(\"UUID of the Asset to list events for\"),\n page_token: z.string().describe(\"Token for retrieving the next page of results, obtained from next_page_token in a previous response\").optional(),\n minimum_trust: z.string().describe(\"Return events with confirmation status at or above this level (e.g., COMMITTED, CONFIRMED)\").optional(),\n asset_attributes: z.record(z.string(), z.unknown()).describe(\"Filter by asset attribute equality; key->value. Use '*' for presence or '!=*' for absence.\").optional(),\n event_attributes: z.record(z.string(), z.unknown()).describe(\"Filter by event attribute equality; key->value. Use '*' for presence or '!=*' for absence.\").optional(),\n}).describe(\"Request schema for listing events of a specified Asset.\");\nconst RkvstListAssetEvents_EventObjectSchema = z.object({\n from_: z.string().describe(\"Wallet address of the entity that created this event\").nullable(),\n identity: z.string().describe(\"Identity of the event resource (e.g., 'assets/{UUID}/events/{UUID}')\").nullable(),\n behaviour: z.string().describe(\"Behaviour used to create the event (e.g., 'RecordEvidence')\").nullable(),\n operation: z.string().describe(\"Operation represented by the event (e.g., 'Record')\").nullable(),\n block_number: z.string().describe(\"Block number where the event was committed\").nullable(),\n asset_identity: z.string().describe(\"Relative resource address of the asset (e.g., 'assets/{UUID}')\").nullable(),\n transaction_id: z.string().describe(\"Transaction hash as a hex string\").nullable(),\n merklelog_entry: z.record(z.string(), z.unknown()).describe(\"Merkle MMR log entry details for verification\"),\n tenant_identity: z.string().describe(\"Identity of the tenant that created this event\").nullable(),\n asset_attributes: z.record(z.string(), z.unknown()).describe(\"Asset attributes at the time of the event\"),\n event_attributes: z.record(z.string(), z.unknown()).describe(\"Event-specific attributes\"),\n transaction_index: z.string().describe(\"Index of the event within the committed block\").nullable(),\n principal_accepted: z.record(z.string(), z.unknown()).describe(\"Principal recorded by the server\"),\n principal_declared: z.record(z.string(), z.unknown()).describe(\"Principal provided by the user\"),\n timestamp_accepted: z.string().describe(\"Server-recorded time of event (ISO 8601 UTC)\").nullable(),\n timestamp_declared: z.string().describe(\"User-declared time of event (ISO 8601 UTC)\").nullable(),\n confirmation_status: z.string().describe(\"Confirmation status of the event (e.g., PENDING, COMMITTED, CONFIRMED)\").nullable(),\n timestamp_committed: z.string().describe(\"Verifiable storage time of event (ISO 8601 UTC)\").nullable(),\n}).passthrough().describe(\"Schema for an Event object returned in the list of asset events.\");\nexport const RkvstListAssetEventsOutput = z.object({\n events: z.array(RkvstListAssetEvents_EventObjectSchema).describe(\"Array of Event objects for the asset\"),\n next_page_token: z.string().describe(\"Token for retrieving the next page of results; empty if none\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing events of a specified Asset.\");\n\nexport const rkvstListAssetEvents = action(\"RKVST_LIST_ASSET_EVENTS\", {\n slug: \"rkvst-list-asset-events\",\n name: \"List Asset Events\",\n description: \"Tool to list events for a specified asset. Use after confirming you have the asset UUID.\",\n input: RkvstListAssetEventsInput,\n output: RkvstListAssetEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAChJ,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAC1I,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACpK,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AACtK,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,yCAAyC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC/G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,C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AsC,CAAC,CAAC,SAAS,sCAAsC;EACvG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
|
|
@@ -10,23 +10,23 @@ const RkvstListAssetsInput = zod.z.object({
|
|
|
10
10
|
"attributes.arc_display_type": zod.z.string().describe("Filter by asset type (e.g., 'Traffic light').").optional()
|
|
11
11
|
}).describe("Request schema for listing Assets with optional pagination and filtering.");
|
|
12
12
|
const RkvstListAssets_AssetItemSchema = zod.z.object({
|
|
13
|
-
owner: zod.z.string().describe("Wallet address of the asset owner."),
|
|
14
|
-
public: zod.z.boolean().describe("Whether the asset is public."),
|
|
15
|
-
at_time: zod.z.string().describe("Timestamp indicating when the asset data is from (ISO 8601)."),
|
|
16
|
-
tracked: zod.z.string().describe("Tracking state of the asset."),
|
|
13
|
+
owner: zod.z.string().describe("Wallet address of the asset owner.").nullable(),
|
|
14
|
+
public: zod.z.boolean().describe("Whether the asset is public.").nullable(),
|
|
15
|
+
at_time: zod.z.string().describe("Timestamp indicating when the asset data is from (ISO 8601).").nullable(),
|
|
16
|
+
tracked: zod.z.string().describe("Tracking state of the asset.").nullable(),
|
|
17
17
|
chain_id: zod.z.string().describe("Chain id of the blockchain associated with this asset.").nullable().optional(),
|
|
18
|
-
identity: zod.z.string().describe("Relative resource address in the form assets/{UUID}."),
|
|
18
|
+
identity: zod.z.string().describe("Relative resource address in the form assets/{UUID}.").nullable(),
|
|
19
19
|
attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Key-value mapping of asset properties."),
|
|
20
20
|
behaviours: zod.z.array(zod.z.string()).describe("List of enabled behaviours for this asset."),
|
|
21
21
|
proof_mechanism: zod.z.string().describe("Mechanism used for evidential proof.").nullable().optional(),
|
|
22
|
-
tenant_identity: zod.z.string().describe("Identity of the tenant that created this asset."),
|
|
23
|
-
confirmation_status: zod.z.string().describe("Asset confirmation status (e.g., PENDING).")
|
|
24
|
-
});
|
|
22
|
+
tenant_identity: zod.z.string().describe("Identity of the tenant that created this asset.").nullable(),
|
|
23
|
+
confirmation_status: zod.z.string().describe("Asset confirmation status (e.g., PENDING).").nullable()
|
|
24
|
+
}).passthrough();
|
|
25
25
|
const RkvstListAssetsOutput = zod.z.object({
|
|
26
26
|
assets: zod.z.array(RkvstListAssets_AssetItemSchema).describe("List of assets returned."),
|
|
27
27
|
total_count: zod.z.number().int().describe("Total number of assets; present if requested via header.").nullable().optional(),
|
|
28
28
|
next_page_token: zod.z.string().describe("Token to retrieve next page of results.").nullable().optional()
|
|
29
|
-
});
|
|
29
|
+
}).passthrough();
|
|
30
30
|
const rkvstListAssets = require_action.action("RKVST_LIST_ASSETS", {
|
|
31
31
|
slug: "rkvst-list-assets",
|
|
32
32
|
name: "List Assets",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-assets.cjs","names":["z","action"],"sources":["../../src/actions/list-assets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstListAssetsInput
|
|
1
|
+
{"version":3,"file":"list-assets.cjs","names":["z","action"],"sources":["../../src/actions/list-assets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstListAssetsInput = z.object({\n page_size: z.number().int().describe(\"Maximum number of assets to return.\").optional(),\n next_page_token: z.string().describe(\"Token to retrieve the next page of assets.\").optional(),\n proof_mechanism: z.string().describe(\"Filter by proof mechanism (e.g., 'MERKLE_LOG').\").optional(),\n request_total_count: z.boolean().describe(\"If true, includes 'x-total-count' header in the response.\").optional(),\n \"attributes.arc_display_name\": z.string().describe(\"Filter by asset display name. Use '=' for exact match, '*' for presence, '!=*' for missing.\").optional(),\n \"attributes.arc_display_type\": z.string().describe(\"Filter by asset type (e.g., 'Traffic light').\").optional(),\n}).describe(\"Request schema for listing Assets with optional pagination and filtering.\");\nconst RkvstListAssets_AssetItemSchema = z.object({\n owner: z.string().describe(\"Wallet address of the asset owner.\").nullable(),\n public: z.boolean().describe(\"Whether the asset is public.\").nullable(),\n at_time: z.string().describe(\"Timestamp indicating when the asset data is from (ISO 8601).\").nullable(),\n tracked: z.string().describe(\"Tracking state of the asset.\").nullable(),\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}.\").nullable(),\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 for evidential proof.\").nullable().optional(),\n tenant_identity: z.string().describe(\"Identity of the tenant that created this asset.\").nullable(),\n confirmation_status: z.string().describe(\"Asset confirmation status (e.g., PENDING).\").nullable(),\n}).passthrough();\nexport const RkvstListAssetsOutput = z.object({\n assets: z.array(RkvstListAssets_AssetItemSchema).describe(\"List of assets returned.\"),\n total_count: z.number().int().describe(\"Total number of assets; present if requested via header.\").nullable().optional(),\n next_page_token: z.string().describe(\"Token to retrieve next page of results.\").nullable().optional(),\n}).passthrough();\n\nexport const rkvstListAssets = action(\"RKVST_LIST_ASSETS\", {\n slug: \"rkvst-list-assets\",\n name: \"List Assets\",\n description: \"Tool to list all Assets with optional pagination and filters. Use when you need to retrieve asset metadata in batches via page_size and next_page_token.\",\n input: RkvstListAssetsInput,\n output: RkvstListAssetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACrF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,C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,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,0BAA0B;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,39 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-assets.d.ts
|
|
4
|
-
declare const RkvstListAssetsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RkvstListAssetsInput: z.ZodObject<{
|
|
5
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
next_page_token: z.ZodOptional<z.ZodString>;
|
|
7
|
+
proof_mechanism: z.ZodOptional<z.ZodString>;
|
|
8
|
+
request_total_count: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
"attributes.arc_display_name": z.ZodOptional<z.ZodString>;
|
|
10
|
+
"attributes.arc_display_type": z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const RkvstListAssetsOutput: z.ZodObject<{
|
|
13
|
+
assets: z.ZodArray<z.ZodObject<{
|
|
14
|
+
owner: z.ZodNullable<z.ZodString>;
|
|
15
|
+
public: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
at_time: z.ZodNullable<z.ZodString>;
|
|
17
|
+
tracked: z.ZodNullable<z.ZodString>;
|
|
18
|
+
chain_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
identity: z.ZodNullable<z.ZodString>;
|
|
20
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
21
|
+
behaviours: z.ZodArray<z.ZodString>;
|
|
22
|
+
proof_mechanism: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
tenant_identity: z.ZodNullable<z.ZodString>;
|
|
24
|
+
confirmation_status: z.ZodNullable<z.ZodString>;
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
|
+
total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
+
next_page_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
|
+
declare const rkvstListAssets: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
|
+
page_size?: number | undefined;
|
|
31
|
+
next_page_token?: string | undefined;
|
|
32
|
+
proof_mechanism?: string | undefined;
|
|
33
|
+
request_total_count?: boolean | undefined;
|
|
34
|
+
"attributes.arc_display_name"?: string | undefined;
|
|
35
|
+
"attributes.arc_display_type"?: string | undefined;
|
|
36
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
37
|
//#endregion
|
|
8
38
|
export { rkvstListAssets };
|
|
9
39
|
//# sourceMappingURL=list-assets.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-assets.d.cts","names":[],"sources":["../../src/actions/list-assets.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"list-assets.d.cts","names":[],"sources":["../../src/actions/list-assets.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cAqBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAMrB,eAAA,gCAAe,wBAAA"}
|
|
@@ -1,9 +1,39 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-assets.d.ts
|
|
4
|
-
declare const RkvstListAssetsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RkvstListAssetsInput: z.ZodObject<{
|
|
5
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
next_page_token: z.ZodOptional<z.ZodString>;
|
|
7
|
+
proof_mechanism: z.ZodOptional<z.ZodString>;
|
|
8
|
+
request_total_count: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
"attributes.arc_display_name": z.ZodOptional<z.ZodString>;
|
|
10
|
+
"attributes.arc_display_type": z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const RkvstListAssetsOutput: z.ZodObject<{
|
|
13
|
+
assets: z.ZodArray<z.ZodObject<{
|
|
14
|
+
owner: z.ZodNullable<z.ZodString>;
|
|
15
|
+
public: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
at_time: z.ZodNullable<z.ZodString>;
|
|
17
|
+
tracked: z.ZodNullable<z.ZodString>;
|
|
18
|
+
chain_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
identity: z.ZodNullable<z.ZodString>;
|
|
20
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
21
|
+
behaviours: z.ZodArray<z.ZodString>;
|
|
22
|
+
proof_mechanism: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
tenant_identity: z.ZodNullable<z.ZodString>;
|
|
24
|
+
confirmation_status: z.ZodNullable<z.ZodString>;
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
|
+
total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
+
next_page_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
|
+
declare const rkvstListAssets: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
|
+
page_size?: number | undefined;
|
|
31
|
+
next_page_token?: string | undefined;
|
|
32
|
+
proof_mechanism?: string | undefined;
|
|
33
|
+
request_total_count?: boolean | undefined;
|
|
34
|
+
"attributes.arc_display_name"?: string | undefined;
|
|
35
|
+
"attributes.arc_display_type"?: string | undefined;
|
|
36
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
37
|
//#endregion
|
|
8
38
|
export { rkvstListAssets };
|
|
9
39
|
//# sourceMappingURL=list-assets.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-assets.d.mts","names":[],"sources":["../../src/actions/list-assets.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"list-assets.d.mts","names":[],"sources":["../../src/actions/list-assets.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cAqBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAMrB,eAAA,gCAAe,wBAAA"}
|