@keystrokehq/rkvst 0.1.0 → 0.1.2

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.
Files changed (204) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/download-event-attachment.cjs +3 -3
  5. package/dist/actions/download-event-attachment.cjs.map +1 -1
  6. package/dist/actions/download-event-attachment.d.cts +17 -3
  7. package/dist/actions/download-event-attachment.d.cts.map +1 -1
  8. package/dist/actions/download-event-attachment.d.mts +17 -3
  9. package/dist/actions/download-event-attachment.d.mts.map +1 -1
  10. package/dist/actions/download-event-attachment.mjs +3 -3
  11. package/dist/actions/download-event-attachment.mjs.map +1 -1
  12. package/dist/actions/get-app-registration.cjs +7 -7
  13. package/dist/actions/get-app-registration.cjs.map +1 -1
  14. package/dist/actions/get-app-registration.d.cts +19 -3
  15. package/dist/actions/get-app-registration.d.cts.map +1 -1
  16. package/dist/actions/get-app-registration.d.mts +19 -3
  17. package/dist/actions/get-app-registration.d.mts.map +1 -1
  18. package/dist/actions/get-app-registration.mjs +7 -7
  19. package/dist/actions/get-app-registration.mjs.map +1 -1
  20. package/dist/actions/get-asset.cjs +7 -7
  21. package/dist/actions/get-asset.cjs.map +1 -1
  22. package/dist/actions/get-asset.d.cts +21 -3
  23. package/dist/actions/get-asset.d.cts.map +1 -1
  24. package/dist/actions/get-asset.d.mts +21 -3
  25. package/dist/actions/get-asset.d.mts.map +1 -1
  26. package/dist/actions/get-asset.mjs +7 -7
  27. package/dist/actions/get-asset.mjs.map +1 -1
  28. package/dist/actions/get-blob.cjs +10 -10
  29. package/dist/actions/get-blob.cjs.map +1 -1
  30. package/dist/actions/get-blob.d.cts +24 -3
  31. package/dist/actions/get-blob.d.cts.map +1 -1
  32. package/dist/actions/get-blob.d.mts +24 -3
  33. package/dist/actions/get-blob.d.mts.map +1 -1
  34. package/dist/actions/get-blob.mjs +10 -10
  35. package/dist/actions/get-blob.mjs.map +1 -1
  36. package/dist/actions/get-event.cjs +5 -5
  37. package/dist/actions/get-event.cjs.map +1 -1
  38. package/dist/actions/get-event.d.cts +16 -3
  39. package/dist/actions/get-event.d.cts.map +1 -1
  40. package/dist/actions/get-event.d.mts +16 -3
  41. package/dist/actions/get-event.d.mts.map +1 -1
  42. package/dist/actions/get-event.mjs +5 -5
  43. package/dist/actions/get-event.mjs.map +1 -1
  44. package/dist/actions/get-iam-subject.cjs +4 -4
  45. package/dist/actions/get-iam-subject.cjs.map +1 -1
  46. package/dist/actions/get-iam-subject.d.cts +15 -3
  47. package/dist/actions/get-iam-subject.d.cts.map +1 -1
  48. package/dist/actions/get-iam-subject.d.mts +15 -3
  49. package/dist/actions/get-iam-subject.d.mts.map +1 -1
  50. package/dist/actions/get-iam-subject.mjs +4 -4
  51. package/dist/actions/get-iam-subject.mjs.map +1 -1
  52. package/dist/actions/get-member.cjs +4 -4
  53. package/dist/actions/get-member.cjs.map +1 -1
  54. package/dist/actions/get-member.d.cts +13 -3
  55. package/dist/actions/get-member.d.cts.map +1 -1
  56. package/dist/actions/get-member.d.mts +13 -3
  57. package/dist/actions/get-member.d.mts.map +1 -1
  58. package/dist/actions/get-member.mjs +4 -4
  59. package/dist/actions/get-member.mjs.map +1 -1
  60. package/dist/actions/get-public-asset-event.cjs +10 -10
  61. package/dist/actions/get-public-asset-event.cjs.map +1 -1
  62. package/dist/actions/get-public-asset-event.d.cts +28 -3
  63. package/dist/actions/get-public-asset-event.d.cts.map +1 -1
  64. package/dist/actions/get-public-asset-event.d.mts +28 -3
  65. package/dist/actions/get-public-asset-event.d.mts.map +1 -1
  66. package/dist/actions/get-public-asset-event.mjs +10 -10
  67. package/dist/actions/get-public-asset-event.mjs.map +1 -1
  68. package/dist/actions/get-public-asset.cjs +9 -9
  69. package/dist/actions/get-public-asset.cjs.map +1 -1
  70. package/dist/actions/get-public-asset.d.cts +20 -3
  71. package/dist/actions/get-public-asset.d.cts.map +1 -1
  72. package/dist/actions/get-public-asset.d.mts +20 -3
  73. package/dist/actions/get-public-asset.d.mts.map +1 -1
  74. package/dist/actions/get-public-asset.mjs +9 -9
  75. package/dist/actions/get-public-asset.mjs.map +1 -1
  76. package/dist/actions/get-tenancy.cjs +1 -1
  77. package/dist/actions/get-tenancy.cjs.map +1 -1
  78. package/dist/actions/get-tenancy.d.cts +19 -3
  79. package/dist/actions/get-tenancy.d.cts.map +1 -1
  80. package/dist/actions/get-tenancy.d.mts +19 -3
  81. package/dist/actions/get-tenancy.d.mts.map +1 -1
  82. package/dist/actions/get-tenancy.mjs +1 -1
  83. package/dist/actions/get-tenancy.mjs.map +1 -1
  84. package/dist/actions/list-app-registrations.cjs +7 -7
  85. package/dist/actions/list-app-registrations.cjs.map +1 -1
  86. package/dist/actions/list-app-registrations.d.cts +22 -3
  87. package/dist/actions/list-app-registrations.d.cts.map +1 -1
  88. package/dist/actions/list-app-registrations.d.mts +22 -3
  89. package/dist/actions/list-app-registrations.d.mts.map +1 -1
  90. package/dist/actions/list-app-registrations.mjs +7 -7
  91. package/dist/actions/list-app-registrations.mjs.map +1 -1
  92. package/dist/actions/list-asset-events.cjs +13 -13
  93. package/dist/actions/list-asset-events.cjs.map +1 -1
  94. package/dist/actions/list-asset-events.d.cts +41 -3
  95. package/dist/actions/list-asset-events.d.cts.map +1 -1
  96. package/dist/actions/list-asset-events.d.mts +41 -3
  97. package/dist/actions/list-asset-events.d.mts.map +1 -1
  98. package/dist/actions/list-asset-events.mjs +13 -13
  99. package/dist/actions/list-asset-events.mjs.map +1 -1
  100. package/dist/actions/list-assets.cjs +7 -7
  101. package/dist/actions/list-assets.cjs.map +1 -1
  102. package/dist/actions/list-assets.d.cts +33 -3
  103. package/dist/actions/list-assets.d.cts.map +1 -1
  104. package/dist/actions/list-assets.d.mts +33 -3
  105. package/dist/actions/list-assets.d.mts.map +1 -1
  106. package/dist/actions/list-assets.mjs +7 -7
  107. package/dist/actions/list-assets.mjs.map +1 -1
  108. package/dist/actions/list-iam-subjects.cjs +2 -2
  109. package/dist/actions/list-iam-subjects.cjs.map +1 -1
  110. package/dist/actions/list-iam-subjects.d.cts +26 -3
  111. package/dist/actions/list-iam-subjects.d.cts.map +1 -1
  112. package/dist/actions/list-iam-subjects.d.mts +26 -3
  113. package/dist/actions/list-iam-subjects.d.mts.map +1 -1
  114. package/dist/actions/list-iam-subjects.mjs +2 -2
  115. package/dist/actions/list-iam-subjects.mjs.map +1 -1
  116. package/dist/actions/list-members.cjs +4 -4
  117. package/dist/actions/list-members.cjs.map +1 -1
  118. package/dist/actions/list-members.d.cts +20 -3
  119. package/dist/actions/list-members.d.cts.map +1 -1
  120. package/dist/actions/list-members.d.mts +20 -3
  121. package/dist/actions/list-members.d.mts.map +1 -1
  122. package/dist/actions/list-members.mjs +4 -4
  123. package/dist/actions/list-members.mjs.map +1 -1
  124. package/dist/actions/list-public-asset-events.cjs.map +1 -1
  125. package/dist/actions/list-public-asset-events.d.cts +30 -3
  126. package/dist/actions/list-public-asset-events.d.cts.map +1 -1
  127. package/dist/actions/list-public-asset-events.d.mts +30 -3
  128. package/dist/actions/list-public-asset-events.d.mts.map +1 -1
  129. package/dist/actions/list-public-asset-events.mjs.map +1 -1
  130. package/dist/actions/list-public-assets.cjs +9 -9
  131. package/dist/actions/list-public-assets.cjs.map +1 -1
  132. package/dist/actions/list-public-assets.d.cts +25 -3
  133. package/dist/actions/list-public-assets.d.cts.map +1 -1
  134. package/dist/actions/list-public-assets.d.mts +25 -3
  135. package/dist/actions/list-public-assets.d.mts.map +1 -1
  136. package/dist/actions/list-public-assets.mjs +9 -9
  137. package/dist/actions/list-public-assets.mjs.map +1 -1
  138. package/dist/actions/list-tenancies.cjs +1 -1
  139. package/dist/actions/list-tenancies.cjs.map +1 -1
  140. package/dist/actions/list-tenancies.d.cts +22 -3
  141. package/dist/actions/list-tenancies.d.cts.map +1 -1
  142. package/dist/actions/list-tenancies.d.mts +22 -3
  143. package/dist/actions/list-tenancies.d.mts.map +1 -1
  144. package/dist/actions/list-tenancies.mjs +1 -1
  145. package/dist/actions/list-tenancies.mjs.map +1 -1
  146. package/dist/actions/promote-member.cjs +4 -4
  147. package/dist/actions/promote-member.cjs.map +1 -1
  148. package/dist/actions/promote-member.d.cts +13 -3
  149. package/dist/actions/promote-member.d.cts.map +1 -1
  150. package/dist/actions/promote-member.d.mts +13 -3
  151. package/dist/actions/promote-member.d.mts.map +1 -1
  152. package/dist/actions/promote-member.mjs +4 -4
  153. package/dist/actions/promote-member.mjs.map +1 -1
  154. package/dist/actions/retrieve-asset-attachment-metadata.cjs +11 -11
  155. package/dist/actions/retrieve-asset-attachment-metadata.cjs.map +1 -1
  156. package/dist/actions/retrieve-asset-attachment-metadata.d.cts +24 -3
  157. package/dist/actions/retrieve-asset-attachment-metadata.d.cts.map +1 -1
  158. package/dist/actions/retrieve-asset-attachment-metadata.d.mts +24 -3
  159. package/dist/actions/retrieve-asset-attachment-metadata.d.mts.map +1 -1
  160. package/dist/actions/retrieve-asset-attachment-metadata.mjs +11 -11
  161. package/dist/actions/retrieve-asset-attachment-metadata.mjs.map +1 -1
  162. package/dist/actions/retrieve-caps.cjs +2 -2
  163. package/dist/actions/retrieve-caps.cjs.map +1 -1
  164. package/dist/actions/retrieve-caps.d.cts +19 -3
  165. package/dist/actions/retrieve-caps.d.cts.map +1 -1
  166. package/dist/actions/retrieve-caps.d.mts +19 -3
  167. package/dist/actions/retrieve-caps.d.mts.map +1 -1
  168. package/dist/actions/retrieve-caps.mjs +2 -2
  169. package/dist/actions/retrieve-caps.mjs.map +1 -1
  170. package/dist/actions/retrieve-event-attachment-metadata.cjs +10 -10
  171. package/dist/actions/retrieve-event-attachment-metadata.cjs.map +1 -1
  172. package/dist/actions/retrieve-event-attachment-metadata.d.cts +26 -3
  173. package/dist/actions/retrieve-event-attachment-metadata.d.cts.map +1 -1
  174. package/dist/actions/retrieve-event-attachment-metadata.d.mts +26 -3
  175. package/dist/actions/retrieve-event-attachment-metadata.d.mts.map +1 -1
  176. package/dist/actions/retrieve-event-attachment-metadata.mjs +10 -10
  177. package/dist/actions/retrieve-event-attachment-metadata.mjs.map +1 -1
  178. package/dist/actions/search-events.cjs +1 -1
  179. package/dist/actions/search-events.cjs.map +1 -1
  180. package/dist/actions/search-events.d.cts +34 -3
  181. package/dist/actions/search-events.d.cts.map +1 -1
  182. package/dist/actions/search-events.d.mts +34 -3
  183. package/dist/actions/search-events.d.mts.map +1 -1
  184. package/dist/actions/search-events.mjs +1 -1
  185. package/dist/actions/search-events.mjs.map +1 -1
  186. package/dist/actions/update-app-registration.cjs +7 -7
  187. package/dist/actions/update-app-registration.cjs.map +1 -1
  188. package/dist/actions/update-app-registration.d.cts +23 -3
  189. package/dist/actions/update-app-registration.d.cts.map +1 -1
  190. package/dist/actions/update-app-registration.d.mts +23 -3
  191. package/dist/actions/update-app-registration.d.mts.map +1 -1
  192. package/dist/actions/update-app-registration.mjs +7 -7
  193. package/dist/actions/update-app-registration.mjs.map +1 -1
  194. package/dist/catalog.cjs +7 -1
  195. package/dist/catalog.cjs.map +1 -1
  196. package/dist/catalog.d.cts +8 -0
  197. package/dist/catalog.d.mts +8 -0
  198. package/dist/catalog.mjs +7 -1
  199. package/dist/catalog.mjs.map +1 -1
  200. package/dist/execute.cjs +1 -1
  201. package/dist/execute.cjs.map +1 -1
  202. package/dist/execute.mjs +1 -1
  203. package/dist/execute.mjs.map +1 -1
  204. package/package.json +2 -2
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Keystroke-managed integration.
4
4
 
5
5
  **App:** `rkvst`
6
- **Version:** `20260615_00`
6
+ **Version:** `20260624_00`
7
7
  **Actions:** 24
8
8
 
9
9
  ```ts
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["rkvst","executeRkvstTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { rkvst } from \"./app\";\nimport { executeRkvstTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return rkvst.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRkvstTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["rkvst","executeRkvstTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { rkvst } from \"./app\";\nimport { executeRkvstTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return rkvst.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRkvstTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { rkvst } from \"./app\";\nimport { executeRkvstTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return rkvst.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRkvstTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { rkvst } from \"./app\";\nimport { executeRkvstTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return rkvst.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRkvstTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
@@ -7,9 +7,9 @@ const RkvstDownloadEventAttachmentInput = zod.z.object({
7
7
  event_uuid: zod.z.string().describe("UUID of the event to which the attachment belongs.")
8
8
  });
9
9
  const RkvstDownloadEventAttachment_FileDownloadableSchema = zod.z.object({
10
- name: zod.z.string().describe("Name of the file"),
11
- s3url: zod.z.string().describe("S3 URL of the downloaded file."),
12
- mimetype: zod.z.string().describe("Mime type of the file.")
10
+ name: zod.z.string().describe("Name of the file").nullable(),
11
+ s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
12
+ mimetype: zod.z.string().describe("Mime type of the file.").nullable()
13
13
  });
14
14
  const RkvstDownloadEventAttachmentOutput = zod.z.object({ content: RkvstDownloadEventAttachment_FileDownloadableSchema.nullable() });
15
15
  const rkvstDownloadEventAttachment = require_action.action("RKVST_DOWNLOAD_EVENT_ATTACHMENT", {
@@ -1 +1 @@
1
- {"version":3,"file":"download-event-attachment.cjs","names":["z","action"],"sources":["../../src/actions/download-event-attachment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstDownloadEventAttachmentInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"UUID of the attachment (omit the 'blobs/' prefix).\"),\n asset_uuid: z.string().describe(\"UUID of the asset containing the event.\"),\n event_uuid: z.string().describe(\"UUID of the event to which the attachment belongs.\"),\n});\nconst RkvstDownloadEventAttachment_FileDownloadableSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const RkvstDownloadEventAttachmentOutput: z.ZodTypeAny = z.object({\n content: RkvstDownloadEventAttachment_FileDownloadableSchema.nullable(),\n});\n\nexport const rkvstDownloadEventAttachment = action(\"RKVST_DOWNLOAD_EVENT_ATTACHMENT\", {\n slug: \"rkvst-download-event-attachment\",\n name: \"Download Event Attachment\",\n description: \"Tool to download an attachment from a specified Event on an Asset. Use when you have asset_uuid, event_uuid, and attachment uuid, and want the raw binary content.\",\n input: RkvstDownloadEventAttachmentInput,\n output: RkvstDownloadEventAttachmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;AACtF,CAAC;AACD,MAAM,sDAAoEA,IAAAA,EAAE,OAAO;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AACD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,SAAS,oDAAoD,SAAS,EACxE,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"download-event-attachment.cjs","names":["z","action"],"sources":["../../src/actions/download-event-attachment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstDownloadEventAttachmentInput = z.object({\n uuid: z.string().describe(\"UUID of the attachment (omit the 'blobs/' prefix).\"),\n asset_uuid: z.string().describe(\"UUID of the asset containing the event.\"),\n event_uuid: z.string().describe(\"UUID of the event to which the attachment belongs.\"),\n});\nconst RkvstDownloadEventAttachment_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n});\nexport const RkvstDownloadEventAttachmentOutput = z.object({\n content: RkvstDownloadEventAttachment_FileDownloadableSchema.nullable(),\n});\n\nexport const rkvstDownloadEventAttachment = action(\"RKVST_DOWNLOAD_EVENT_ATTACHMENT\", {\n slug: \"rkvst-download-event-attachment\",\n name: \"Download Event Attachment\",\n description: \"Tool to download an attachment from a specified Event on an Asset. Use when you have asset_uuid, event_uuid, and attachment uuid, and want the raw binary content.\",\n input: RkvstDownloadEventAttachmentInput,\n output: RkvstDownloadEventAttachmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;AACtF,CAAC;AACD,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,SAAS,oDAAoD,SAAS,EACxE,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/download-event-attachment.d.ts
4
- declare const RkvstDownloadEventAttachmentInput: z.ZodTypeAny;
5
- declare const RkvstDownloadEventAttachmentOutput: z.ZodTypeAny;
6
- declare const rkvstDownloadEventAttachment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RkvstDownloadEventAttachmentInput: z.ZodObject<{
5
+ uuid: z.ZodString;
6
+ asset_uuid: z.ZodString;
7
+ event_uuid: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const RkvstDownloadEventAttachmentOutput: z.ZodObject<{
10
+ content: z.ZodNullable<z.ZodObject<{
11
+ name: z.ZodNullable<z.ZodString>;
12
+ s3url: z.ZodNullable<z.ZodString>;
13
+ mimetype: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$strip>>;
15
+ }, z.core.$strip>;
16
+ declare const rkvstDownloadEventAttachment: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ uuid: string;
18
+ asset_uuid: string;
19
+ event_uuid: string;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { rkvstDownloadEventAttachment };
9
23
  //# sourceMappingURL=download-event-attachment.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"download-event-attachment.d.cts","names":[],"sources":["../../src/actions/download-event-attachment.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAIhD;AAAA,cAMW,kCAAA,EAAoC,CAAA,CAAE,UAEjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"download-event-attachment.d.cts","names":[],"sources":["../../src/actions/download-event-attachment.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAUjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/download-event-attachment.d.ts
4
- declare const RkvstDownloadEventAttachmentInput: z.ZodTypeAny;
5
- declare const RkvstDownloadEventAttachmentOutput: z.ZodTypeAny;
6
- declare const rkvstDownloadEventAttachment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RkvstDownloadEventAttachmentInput: z.ZodObject<{
5
+ uuid: z.ZodString;
6
+ asset_uuid: z.ZodString;
7
+ event_uuid: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const RkvstDownloadEventAttachmentOutput: z.ZodObject<{
10
+ content: z.ZodNullable<z.ZodObject<{
11
+ name: z.ZodNullable<z.ZodString>;
12
+ s3url: z.ZodNullable<z.ZodString>;
13
+ mimetype: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$strip>>;
15
+ }, z.core.$strip>;
16
+ declare const rkvstDownloadEventAttachment: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ uuid: string;
18
+ asset_uuid: string;
19
+ event_uuid: string;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { rkvstDownloadEventAttachment };
9
23
  //# sourceMappingURL=download-event-attachment.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"download-event-attachment.d.mts","names":[],"sources":["../../src/actions/download-event-attachment.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAIhD;AAAA,cAMW,kCAAA,EAAoC,CAAA,CAAE,UAEjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"download-event-attachment.d.mts","names":[],"sources":["../../src/actions/download-event-attachment.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAUjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -7,9 +7,9 @@ const RkvstDownloadEventAttachmentInput = z.object({
7
7
  event_uuid: z.string().describe("UUID of the event to which the attachment belongs.")
8
8
  });
9
9
  const RkvstDownloadEventAttachment_FileDownloadableSchema = z.object({
10
- name: z.string().describe("Name of the file"),
11
- s3url: z.string().describe("S3 URL of the downloaded file."),
12
- mimetype: z.string().describe("Mime type of the file.")
10
+ name: z.string().describe("Name of the file").nullable(),
11
+ s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
12
+ mimetype: z.string().describe("Mime type of the file.").nullable()
13
13
  });
14
14
  const rkvstDownloadEventAttachment = action("RKVST_DOWNLOAD_EVENT_ATTACHMENT", {
15
15
  slug: "rkvst-download-event-attachment",
@@ -1 +1 @@
1
- {"version":3,"file":"download-event-attachment.mjs","names":[],"sources":["../../src/actions/download-event-attachment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstDownloadEventAttachmentInput: z.ZodTypeAny = z.object({\n uuid: z.string().describe(\"UUID of the attachment (omit the 'blobs/' prefix).\"),\n asset_uuid: z.string().describe(\"UUID of the asset containing the event.\"),\n event_uuid: z.string().describe(\"UUID of the event to which the attachment belongs.\"),\n});\nconst RkvstDownloadEventAttachment_FileDownloadableSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const RkvstDownloadEventAttachmentOutput: z.ZodTypeAny = z.object({\n content: RkvstDownloadEventAttachment_FileDownloadableSchema.nullable(),\n});\n\nexport const rkvstDownloadEventAttachment = action(\"RKVST_DOWNLOAD_EVENT_ATTACHMENT\", {\n slug: \"rkvst-download-event-attachment\",\n name: \"Download Event Attachment\",\n description: \"Tool to download an attachment from a specified Event on an Asset. Use when you have asset_uuid, event_uuid, and attachment uuid, and want the raw binary content.\",\n input: RkvstDownloadEventAttachmentInput,\n output: RkvstDownloadEventAttachmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;AACtF,CAAC;AACD,MAAM,sDAAoE,EAAE,OAAO;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AAKD,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8D,EAAE,OAAO,EACvE,SAAS,oDAAoD,SAAS,EACxE,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"download-event-attachment.mjs","names":[],"sources":["../../src/actions/download-event-attachment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstDownloadEventAttachmentInput = z.object({\n uuid: z.string().describe(\"UUID of the attachment (omit the 'blobs/' prefix).\"),\n asset_uuid: z.string().describe(\"UUID of the asset containing the event.\"),\n event_uuid: z.string().describe(\"UUID of the event to which the attachment belongs.\"),\n});\nconst RkvstDownloadEventAttachment_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n});\nexport const RkvstDownloadEventAttachmentOutput = z.object({\n content: RkvstDownloadEventAttachment_FileDownloadableSchema.nullable(),\n});\n\nexport const rkvstDownloadEventAttachment = action(\"RKVST_DOWNLOAD_EVENT_ATTACHMENT\", {\n slug: \"rkvst-download-event-attachment\",\n name: \"Download Event Attachment\",\n description: \"Tool to download an attachment from a specified Event on an Asset. Use when you have asset_uuid, event_uuid, and attachment uuid, and want the raw binary content.\",\n input: RkvstDownloadEventAttachmentInput,\n output: RkvstDownloadEventAttachmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;AACtF,CAAC;AACD,MAAM,sDAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC;AAKD,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,SAAS,oDAAoD,SAAS,EACxE,CAOU;AACV,CAAC"}
@@ -3,17 +3,17 @@ let zod = require("zod");
3
3
  //#region src/actions/get-app-registration.ts
4
4
  const RkvstGetAppRegistrationInput = zod.z.object({ app_registration_id: zod.z.string().describe("UUID of the App Registration to retrieve.") }).describe("Request model for fetching details of an App Registration.");
5
5
  const RkvstGetAppRegistration_CredentialSchema = zod.z.object({
6
- secret: zod.z.string().describe("The client secret (redacted on standard GET responses)."),
7
- valid_from: zod.z.string().describe("Secret validity start time in RFC3339 format."),
8
- valid_until: zod.z.string().describe("Secret expiry time in RFC3339 format.")
6
+ secret: zod.z.string().describe("The client secret (redacted on standard GET responses).").nullable(),
7
+ valid_from: zod.z.string().describe("Secret validity start time in RFC3339 format.").nullable(),
8
+ valid_until: zod.z.string().describe("Secret expiry time in RFC3339 format.").nullable()
9
9
  }).describe("Represents a time-limited secret credential for an application.");
10
10
  const RkvstGetAppRegistrationOutput = zod.z.object({
11
11
  roles: zod.z.array(zod.z.string()).describe("List of roles assigned to the application.").nullable().optional(),
12
- identity: zod.z.string().describe("Resource name for the application."),
13
- client_id: zod.z.string().describe("Client ID for the OIDC client credentials flow."),
14
- tenant_id: zod.z.string().describe("Identity of the owning tenant."),
12
+ identity: zod.z.string().describe("Resource name for the application.").nullable(),
13
+ client_id: zod.z.string().describe("Client ID for the OIDC client credentials flow.").nullable(),
14
+ tenant_id: zod.z.string().describe("Identity of the owning tenant.").nullable(),
15
15
  credentials: zod.z.array(RkvstGetAppRegistration_CredentialSchema).describe("List of time-limited secret objects for the application.").nullable().optional(),
16
- display_name: zod.z.string().describe("Human-readable display name for the application."),
16
+ display_name: zod.z.string().describe("Human-readable display name for the application.").nullable(),
17
17
  custom_claims: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom claims for use in access policies.").nullable().optional()
18
18
  }).describe("Response model for an App Registration.");
19
19
  const rkvstGetAppRegistration = require_action.action("RKVST_GET_APP_REGISTRATION", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-app-registration.cjs","names":["z","action"],"sources":["../../src/actions/get-app-registration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstGetAppRegistrationInput: z.ZodTypeAny = z.object({\n app_registration_id: z.string().describe(\"UUID of the App Registration to retrieve.\"),\n}).describe(\"Request model for fetching details of an App Registration.\");\nconst RkvstGetAppRegistration_CredentialSchema: z.ZodTypeAny = z.object({\n secret: z.string().describe(\"The client secret (redacted on standard GET responses).\"),\n valid_from: z.string().describe(\"Secret validity start time in RFC3339 format.\"),\n valid_until: z.string().describe(\"Secret expiry time in RFC3339 format.\"),\n}).describe(\"Represents a time-limited secret credential for an application.\");\nexport const RkvstGetAppRegistrationOutput: z.ZodTypeAny = z.object({\n roles: z.array(z.string()).describe(\"List of roles assigned to the application.\").nullable().optional(),\n identity: z.string().describe(\"Resource name for the application.\"),\n client_id: z.string().describe(\"Client ID for the OIDC client credentials flow.\"),\n tenant_id: z.string().describe(\"Identity of the owning tenant.\"),\n credentials: z.array(RkvstGetAppRegistration_CredentialSchema).describe(\"List of time-limited secret objects for the application.\").nullable().optional(),\n display_name: z.string().describe(\"Human-readable display name for the application.\"),\n custom_claims: z.record(z.string(), z.unknown()).describe(\"Custom claims for use in access policies.\").nullable().optional(),\n}).describe(\"Response model for an App Registration.\");\n\nexport const rkvstGetAppRegistration = action(\"RKVST_GET_APP_REGISTRATION\", {\n slug: \"rkvst-get-app-registration\",\n name: \"Get App Registration\",\n description: \"Tool to retrieve details for a given App Registration ID. Use after obtaining the application's UUID to inspect its configuration and credentials.\",\n input: RkvstGetAppRegistrationInput,\n output: RkvstGetAppRegistrationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EACtF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC/D,aAAaA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACpF,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-app-registration.cjs","names":["z","action"],"sources":["../../src/actions/get-app-registration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstGetAppRegistrationInput = z.object({\n app_registration_id: z.string().describe(\"UUID of the App Registration to retrieve.\"),\n}).describe(\"Request model for fetching details of an App Registration.\");\nconst RkvstGetAppRegistration_CredentialSchema = z.object({\n secret: z.string().describe(\"The client secret (redacted on standard GET responses).\").nullable(),\n valid_from: z.string().describe(\"Secret validity start time in RFC3339 format.\").nullable(),\n valid_until: z.string().describe(\"Secret expiry time in RFC3339 format.\").nullable(),\n}).describe(\"Represents a time-limited secret credential for an application.\");\nexport const RkvstGetAppRegistrationOutput = z.object({\n roles: z.array(z.string()).describe(\"List of roles assigned to the application.\").nullable().optional(),\n identity: z.string().describe(\"Resource name for the application.\").nullable(),\n client_id: z.string().describe(\"Client ID for the OIDC client credentials flow.\").nullable(),\n tenant_id: z.string().describe(\"Identity of the owning tenant.\").nullable(),\n credentials: z.array(RkvstGetAppRegistration_CredentialSchema).describe(\"List of time-limited secret objects for the application.\").nullable().optional(),\n display_name: z.string().describe(\"Human-readable display name for the application.\").nullable(),\n custom_claims: z.record(z.string(), z.unknown()).describe(\"Custom claims for use in access policies.\").nullable().optional(),\n}).describe(\"Response model for an App Registration.\");\n\nexport const rkvstGetAppRegistration = action(\"RKVST_GET_APP_REGISTRATION\", {\n slug: \"rkvst-get-app-registration\",\n name: \"Get App Registration\",\n description: \"Tool to retrieve details for a given App Registration ID. Use after obtaining the application's UUID to inspect its configuration and credentials.\",\n input: RkvstGetAppRegistrationInput,\n output: RkvstGetAppRegistrationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EACtF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC/F,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-app-registration.d.ts
4
- declare const RkvstGetAppRegistrationInput: z.ZodTypeAny;
5
- declare const RkvstGetAppRegistrationOutput: z.ZodTypeAny;
6
- declare const rkvstGetAppRegistration: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RkvstGetAppRegistrationInput: z.ZodObject<{
5
+ app_registration_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RkvstGetAppRegistrationOutput: z.ZodObject<{
8
+ roles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
9
+ identity: z.ZodNullable<z.ZodString>;
10
+ client_id: z.ZodNullable<z.ZodString>;
11
+ tenant_id: z.ZodNullable<z.ZodString>;
12
+ credentials: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ secret: z.ZodNullable<z.ZodString>;
14
+ valid_from: z.ZodNullable<z.ZodString>;
15
+ valid_until: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>>>>;
17
+ display_name: z.ZodNullable<z.ZodString>;
18
+ custom_claims: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19
+ }, z.core.$strip>;
20
+ declare const rkvstGetAppRegistration: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ app_registration_id: string;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { rkvstGetAppRegistration };
9
25
  //# sourceMappingURL=get-app-registration.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-app-registration.d.cts","names":[],"sources":["../../src/actions/get-app-registration.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAE4B;AAAA,cAM5D,6BAAA,EAA+B,CAAA,CAAE,UAQQ;AAAA,cAEzC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-app-registration.d.cts","names":[],"sources":["../../src/actions/get-app-registration.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAQ5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAU7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-app-registration.d.ts
4
- declare const RkvstGetAppRegistrationInput: z.ZodTypeAny;
5
- declare const RkvstGetAppRegistrationOutput: z.ZodTypeAny;
6
- declare const rkvstGetAppRegistration: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RkvstGetAppRegistrationInput: z.ZodObject<{
5
+ app_registration_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RkvstGetAppRegistrationOutput: z.ZodObject<{
8
+ roles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
9
+ identity: z.ZodNullable<z.ZodString>;
10
+ client_id: z.ZodNullable<z.ZodString>;
11
+ tenant_id: z.ZodNullable<z.ZodString>;
12
+ credentials: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ secret: z.ZodNullable<z.ZodString>;
14
+ valid_from: z.ZodNullable<z.ZodString>;
15
+ valid_until: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>>>>;
17
+ display_name: z.ZodNullable<z.ZodString>;
18
+ custom_claims: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19
+ }, z.core.$strip>;
20
+ declare const rkvstGetAppRegistration: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ app_registration_id: string;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { rkvstGetAppRegistration };
9
25
  //# sourceMappingURL=get-app-registration.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-app-registration.d.mts","names":[],"sources":["../../src/actions/get-app-registration.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAE4B;AAAA,cAM5D,6BAAA,EAA+B,CAAA,CAAE,UAQQ;AAAA,cAEzC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-app-registration.d.mts","names":[],"sources":["../../src/actions/get-app-registration.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAQ5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAU7B,uBAAA,gCAAuB,wBAAA"}
@@ -3,9 +3,9 @@ import { z } from "zod";
3
3
  //#region src/actions/get-app-registration.ts
4
4
  const RkvstGetAppRegistrationInput = z.object({ app_registration_id: z.string().describe("UUID of the App Registration to retrieve.") }).describe("Request model for fetching details of an App Registration.");
5
5
  const RkvstGetAppRegistration_CredentialSchema = z.object({
6
- secret: z.string().describe("The client secret (redacted on standard GET responses)."),
7
- valid_from: z.string().describe("Secret validity start time in RFC3339 format."),
8
- valid_until: z.string().describe("Secret expiry time in RFC3339 format.")
6
+ secret: z.string().describe("The client secret (redacted on standard GET responses).").nullable(),
7
+ valid_from: z.string().describe("Secret validity start time in RFC3339 format.").nullable(),
8
+ valid_until: z.string().describe("Secret expiry time in RFC3339 format.").nullable()
9
9
  }).describe("Represents a time-limited secret credential for an application.");
10
10
  const rkvstGetAppRegistration = action("RKVST_GET_APP_REGISTRATION", {
11
11
  slug: "rkvst-get-app-registration",
@@ -14,11 +14,11 @@ const rkvstGetAppRegistration = action("RKVST_GET_APP_REGISTRATION", {
14
14
  input: RkvstGetAppRegistrationInput,
15
15
  output: z.object({
16
16
  roles: z.array(z.string()).describe("List of roles assigned to the application.").nullable().optional(),
17
- identity: z.string().describe("Resource name for the application."),
18
- client_id: z.string().describe("Client ID for the OIDC client credentials flow."),
19
- tenant_id: z.string().describe("Identity of the owning tenant."),
17
+ identity: z.string().describe("Resource name for the application.").nullable(),
18
+ client_id: z.string().describe("Client ID for the OIDC client credentials flow.").nullable(),
19
+ tenant_id: z.string().describe("Identity of the owning tenant.").nullable(),
20
20
  credentials: z.array(RkvstGetAppRegistration_CredentialSchema).describe("List of time-limited secret objects for the application.").nullable().optional(),
21
- display_name: z.string().describe("Human-readable display name for the application."),
21
+ display_name: z.string().describe("Human-readable display name for the application.").nullable(),
22
22
  custom_claims: z.record(z.string(), z.unknown()).describe("Custom claims for use in access policies.").nullable().optional()
23
23
  }).describe("Response model for an App Registration.")
24
24
  });
@@ -1 +1 @@
1
- {"version":3,"file":"get-app-registration.mjs","names":[],"sources":["../../src/actions/get-app-registration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstGetAppRegistrationInput: z.ZodTypeAny = z.object({\n app_registration_id: z.string().describe(\"UUID of the App Registration to retrieve.\"),\n}).describe(\"Request model for fetching details of an App Registration.\");\nconst RkvstGetAppRegistration_CredentialSchema: z.ZodTypeAny = z.object({\n secret: z.string().describe(\"The client secret (redacted on standard GET responses).\"),\n valid_from: z.string().describe(\"Secret validity start time in RFC3339 format.\"),\n valid_until: z.string().describe(\"Secret expiry time in RFC3339 format.\"),\n}).describe(\"Represents a time-limited secret credential for an application.\");\nexport const RkvstGetAppRegistrationOutput: z.ZodTypeAny = z.object({\n roles: z.array(z.string()).describe(\"List of roles assigned to the application.\").nullable().optional(),\n identity: z.string().describe(\"Resource name for the application.\"),\n client_id: z.string().describe(\"Client ID for the OIDC client credentials flow.\"),\n tenant_id: z.string().describe(\"Identity of the owning tenant.\"),\n credentials: z.array(RkvstGetAppRegistration_CredentialSchema).describe(\"List of time-limited secret objects for the application.\").nullable().optional(),\n display_name: z.string().describe(\"Human-readable display name for the application.\"),\n custom_claims: z.record(z.string(), z.unknown()).describe(\"Custom claims for use in access policies.\").nullable().optional(),\n}).describe(\"Response model for an App Registration.\");\n\nexport const rkvstGetAppRegistration = action(\"RKVST_GET_APP_REGISTRATION\", {\n slug: \"rkvst-get-app-registration\",\n name: \"Get App Registration\",\n description: \"Tool to retrieve details for a given App Registration ID. Use after obtaining the application's UUID to inspect its configuration and credentials.\",\n input: RkvstGetAppRegistrationInput,\n output: RkvstGetAppRegistrationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO,EACjE,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EACtF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,2CAAyD,EAAE,OAAO;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAW7E,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfyD,EAAE,OAAO;EAClE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC/D,aAAa,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EACpF,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-app-registration.mjs","names":[],"sources":["../../src/actions/get-app-registration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstGetAppRegistrationInput = z.object({\n app_registration_id: z.string().describe(\"UUID of the App Registration to retrieve.\"),\n}).describe(\"Request model for fetching details of an App Registration.\");\nconst RkvstGetAppRegistration_CredentialSchema = z.object({\n secret: z.string().describe(\"The client secret (redacted on standard GET responses).\").nullable(),\n valid_from: z.string().describe(\"Secret validity start time in RFC3339 format.\").nullable(),\n valid_until: z.string().describe(\"Secret expiry time in RFC3339 format.\").nullable(),\n}).describe(\"Represents a time-limited secret credential for an application.\");\nexport const RkvstGetAppRegistrationOutput = z.object({\n roles: z.array(z.string()).describe(\"List of roles assigned to the application.\").nullable().optional(),\n identity: z.string().describe(\"Resource name for the application.\").nullable(),\n client_id: z.string().describe(\"Client ID for the OIDC client credentials flow.\").nullable(),\n tenant_id: z.string().describe(\"Identity of the owning tenant.\").nullable(),\n credentials: z.array(RkvstGetAppRegistration_CredentialSchema).describe(\"List of time-limited secret objects for the application.\").nullable().optional(),\n display_name: z.string().describe(\"Human-readable display name for the application.\").nullable(),\n custom_claims: z.record(z.string(), z.unknown()).describe(\"Custom claims for use in access policies.\").nullable().optional(),\n}).describe(\"Response model for an App Registration.\");\n\nexport const rkvstGetAppRegistration = action(\"RKVST_GET_APP_REGISTRATION\", {\n slug: \"rkvst-get-app-registration\",\n name: \"Get App Registration\",\n description: \"Tool to retrieve details for a given App Registration ID. Use after obtaining the application's UUID to inspect its configuration and credentials.\",\n input: RkvstGetAppRegistrationInput,\n output: RkvstGetAppRegistrationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EACtF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,2CAA2C,EAAE,OAAO;CACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAW7E,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf2C,EAAE,OAAO;EACpD,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,aAAa,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC/F,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
@@ -6,17 +6,17 @@ const RkvstGetAssetInput = zod.z.object({
6
6
  asset_uuid: zod.z.string().describe("UUID of the Asset to retrieve")
7
7
  }).describe("Request schema for retrieving details of a specific Asset by UUID.");
8
8
  const RkvstGetAssetOutput = zod.z.object({
9
- owner: zod.z.string().describe("Wallet address of the asset owner"),
10
- public: zod.z.boolean().describe("Whether the asset is public"),
11
- at_time: zod.z.string().describe("Time the asset data is from (ISO 8601)"),
12
- tracked: zod.z.string().describe("Whether the asset is tracked in the system"),
9
+ owner: zod.z.string().describe("Wallet address of the asset owner").nullable(),
10
+ public: zod.z.boolean().describe("Whether the asset is public").nullable(),
11
+ at_time: zod.z.string().describe("Time the asset data is from (ISO 8601)").nullable(),
12
+ tracked: zod.z.string().describe("Whether the asset is tracked in the system").nullable(),
13
13
  chain_id: zod.z.string().describe("Chain ID of the blockchain associated with this asset").nullable().optional(),
14
- identity: zod.z.string().describe("Relative resource address in the form assets/{UUID}"),
14
+ identity: zod.z.string().describe("Relative resource address in the form assets/{UUID}").nullable(),
15
15
  attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Key-value mapping of asset properties"),
16
16
  behaviours: zod.z.array(zod.z.string()).describe("List of enabled behaviours for this asset"),
17
17
  proof_mechanism: zod.z.string().describe("Mechanism used to provide evidential proof for events on this asset").nullable().optional(),
18
- tenant_identity: zod.z.string().describe("Identity of the tenant that created this asset"),
19
- confirmation_status: zod.z.string().describe("Whether the asset has been committed (e.g., PENDING or CONFIRMED)")
18
+ tenant_identity: zod.z.string().describe("Identity of the tenant that created this asset").nullable(),
19
+ confirmation_status: zod.z.string().describe("Whether the asset has been committed (e.g., PENDING or CONFIRMED)").nullable()
20
20
  }).describe("Response schema for retrieved Asset details.");
21
21
  const rkvstGetAsset = require_action.action("RKVST_GET_ASSET", {
22
22
  slug: "rkvst-get-asset",
@@ -1 +1 @@
1
- {"version":3,"file":"get-asset.cjs","names":["z","action"],"sources":["../../src/actions/get-asset.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstGetAssetInput: z.ZodTypeAny = z.object({\n at_time: z.string().describe(\"Optional ISO 8601 timestamp to retrieve the Asset's state at a past time\").optional(),\n asset_uuid: z.string().describe(\"UUID of the Asset to retrieve\"),\n}).describe(\"Request schema for retrieving details of a specific Asset by UUID.\");\nexport const RkvstGetAssetOutput: z.ZodTypeAny = z.object({\n owner: z.string().describe(\"Wallet address of the asset owner\"),\n public: z.boolean().describe(\"Whether the asset is public\"),\n at_time: z.string().describe(\"Time the asset data is from (ISO 8601)\"),\n tracked: z.string().describe(\"Whether the asset is tracked in the system\"),\n chain_id: z.string().describe(\"Chain ID of the blockchain associated with this asset\").nullable().optional(),\n identity: z.string().describe(\"Relative resource address in the form assets/{UUID}\"),\n attributes: z.record(z.string(), z.unknown()).describe(\"Key-value mapping of asset properties\"),\n behaviours: z.array(z.string()).describe(\"List of enabled behaviours for this asset\"),\n proof_mechanism: z.string().describe(\"Mechanism used to provide evidential proof for events on this asset\").nullable().optional(),\n tenant_identity: z.string().describe(\"Identity of the tenant that created this asset\"),\n confirmation_status: z.string().describe(\"Whether the asset has been committed (e.g., PENDING or CONFIRMED)\"),\n}).describe(\"Response schema for retrieved Asset details.\");\n\nexport const rkvstGetAsset = action(\"RKVST_GET_ASSET\", {\n slug: \"rkvst-get-asset\",\n name: \"Get Asset\",\n description: \"Tool to retrieve details for a given Asset. Use after you have its UUID; set `at_time` to get historical state.\",\n input: RkvstGetAssetInput,\n output: RkvstGetAssetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AACjE,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC9D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACnF,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC;CAC9F,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;CACpF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACrF,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;AAC9G,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-asset.cjs","names":["z","action"],"sources":["../../src/actions/get-asset.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstGetAssetInput = z.object({\n at_time: z.string().describe(\"Optional ISO 8601 timestamp to retrieve the Asset's state at a past time\").optional(),\n asset_uuid: z.string().describe(\"UUID of the Asset to retrieve\"),\n}).describe(\"Request schema for retrieving details of a specific Asset by UUID.\");\nexport const RkvstGetAssetOutput = z.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(\"Time the asset data is from (ISO 8601)\").nullable(),\n tracked: z.string().describe(\"Whether the asset is tracked in the system\").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 to provide evidential proof for events on this asset\").nullable().optional(),\n tenant_identity: z.string().describe(\"Identity of the tenant that created this asset\").nullable(),\n confirmation_status: z.string().describe(\"Whether the asset has been committed (e.g., PENDING or CONFIRMED)\").nullable(),\n}).describe(\"Response schema for retrieved Asset details.\");\n\nexport const rkvstGetAsset = action(\"RKVST_GET_ASSET\", {\n slug: \"rkvst-get-asset\",\n name: \"Get Asset\",\n description: \"Tool to retrieve details for a given Asset. Use after you have its UUID; set `at_time` to get historical state.\",\n input: RkvstGetAssetInput,\n output: RkvstGetAssetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AACjE,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC;CAC9F,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;CACpF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAChG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-asset.d.ts
4
- declare const RkvstGetAssetInput: z.ZodTypeAny;
5
- declare const RkvstGetAssetOutput: z.ZodTypeAny;
6
- declare const rkvstGetAsset: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RkvstGetAssetInput: z.ZodObject<{
5
+ at_time: z.ZodOptional<z.ZodString>;
6
+ asset_uuid: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const RkvstGetAssetOutput: z.ZodObject<{
9
+ owner: z.ZodNullable<z.ZodString>;
10
+ public: z.ZodNullable<z.ZodBoolean>;
11
+ at_time: z.ZodNullable<z.ZodString>;
12
+ tracked: z.ZodNullable<z.ZodString>;
13
+ chain_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ identity: z.ZodNullable<z.ZodString>;
15
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16
+ behaviours: z.ZodArray<z.ZodString>;
17
+ proof_mechanism: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ tenant_identity: z.ZodNullable<z.ZodString>;
19
+ confirmation_status: z.ZodNullable<z.ZodString>;
20
+ }, z.core.$strip>;
21
+ declare const rkvstGetAsset: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ asset_uuid: string;
23
+ at_time?: string | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { rkvstGetAsset };
9
27
  //# sourceMappingURL=get-asset.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-asset.d.cts","names":[],"sources":["../../src/actions/get-asset.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAG8C;AAAA,cACpE,mBAAA,EAAqB,CAAA,CAAE,UAYuB;AAAA,cAE9C,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-asset.d.cts","names":[],"sources":["../../src/actions/get-asset.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;cAIlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAcnB,aAAA,gCAAa,wBAAA"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-asset.d.ts
4
- declare const RkvstGetAssetInput: z.ZodTypeAny;
5
- declare const RkvstGetAssetOutput: z.ZodTypeAny;
6
- declare const rkvstGetAsset: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RkvstGetAssetInput: z.ZodObject<{
5
+ at_time: z.ZodOptional<z.ZodString>;
6
+ asset_uuid: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const RkvstGetAssetOutput: z.ZodObject<{
9
+ owner: z.ZodNullable<z.ZodString>;
10
+ public: z.ZodNullable<z.ZodBoolean>;
11
+ at_time: z.ZodNullable<z.ZodString>;
12
+ tracked: z.ZodNullable<z.ZodString>;
13
+ chain_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ identity: z.ZodNullable<z.ZodString>;
15
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16
+ behaviours: z.ZodArray<z.ZodString>;
17
+ proof_mechanism: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ tenant_identity: z.ZodNullable<z.ZodString>;
19
+ confirmation_status: z.ZodNullable<z.ZodString>;
20
+ }, z.core.$strip>;
21
+ declare const rkvstGetAsset: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ asset_uuid: string;
23
+ at_time?: string | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { rkvstGetAsset };
9
27
  //# sourceMappingURL=get-asset.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-asset.d.mts","names":[],"sources":["../../src/actions/get-asset.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAG8C;AAAA,cACpE,mBAAA,EAAqB,CAAA,CAAE,UAYuB;AAAA,cAE9C,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-asset.d.mts","names":[],"sources":["../../src/actions/get-asset.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;cAIlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAcnB,aAAA,gCAAa,wBAAA"}
@@ -9,17 +9,17 @@ const rkvstGetAsset = action("RKVST_GET_ASSET", {
9
9
  asset_uuid: z.string().describe("UUID of the Asset to retrieve")
10
10
  }).describe("Request schema for retrieving details of a specific Asset by UUID."),
11
11
  output: z.object({
12
- owner: z.string().describe("Wallet address of the asset owner"),
13
- public: z.boolean().describe("Whether the asset is public"),
14
- at_time: z.string().describe("Time the asset data is from (ISO 8601)"),
15
- tracked: z.string().describe("Whether the asset is tracked in the system"),
12
+ owner: z.string().describe("Wallet address of the asset owner").nullable(),
13
+ public: z.boolean().describe("Whether the asset is public").nullable(),
14
+ at_time: z.string().describe("Time the asset data is from (ISO 8601)").nullable(),
15
+ tracked: z.string().describe("Whether the asset is tracked in the system").nullable(),
16
16
  chain_id: z.string().describe("Chain ID of the blockchain associated with this asset").nullable().optional(),
17
- identity: z.string().describe("Relative resource address in the form assets/{UUID}"),
17
+ identity: z.string().describe("Relative resource address in the form assets/{UUID}").nullable(),
18
18
  attributes: z.record(z.string(), z.unknown()).describe("Key-value mapping of asset properties"),
19
19
  behaviours: z.array(z.string()).describe("List of enabled behaviours for this asset"),
20
20
  proof_mechanism: z.string().describe("Mechanism used to provide evidential proof for events on this asset").nullable().optional(),
21
- tenant_identity: z.string().describe("Identity of the tenant that created this asset"),
22
- confirmation_status: z.string().describe("Whether the asset has been committed (e.g., PENDING or CONFIRMED)")
21
+ tenant_identity: z.string().describe("Identity of the tenant that created this asset").nullable(),
22
+ confirmation_status: z.string().describe("Whether the asset has been committed (e.g., PENDING or CONFIRMED)").nullable()
23
23
  }).describe("Response schema for retrieved Asset details.")
24
24
  });
25
25
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"get-asset.mjs","names":[],"sources":["../../src/actions/get-asset.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstGetAssetInput: z.ZodTypeAny = z.object({\n at_time: z.string().describe(\"Optional ISO 8601 timestamp to retrieve the Asset's state at a past time\").optional(),\n asset_uuid: z.string().describe(\"UUID of the Asset to retrieve\"),\n}).describe(\"Request schema for retrieving details of a specific Asset by UUID.\");\nexport const RkvstGetAssetOutput: z.ZodTypeAny = z.object({\n owner: z.string().describe(\"Wallet address of the asset owner\"),\n public: z.boolean().describe(\"Whether the asset is public\"),\n at_time: z.string().describe(\"Time the asset data is from (ISO 8601)\"),\n tracked: z.string().describe(\"Whether the asset is tracked in the system\"),\n chain_id: z.string().describe(\"Chain ID of the blockchain associated with this asset\").nullable().optional(),\n identity: z.string().describe(\"Relative resource address in the form assets/{UUID}\"),\n attributes: z.record(z.string(), z.unknown()).describe(\"Key-value mapping of asset properties\"),\n behaviours: z.array(z.string()).describe(\"List of enabled behaviours for this asset\"),\n proof_mechanism: z.string().describe(\"Mechanism used to provide evidential proof for events on this asset\").nullable().optional(),\n tenant_identity: z.string().describe(\"Identity of the tenant that created this asset\"),\n confirmation_status: z.string().describe(\"Whether the asset has been committed (e.g., PENDING or CONFIRMED)\"),\n}).describe(\"Response schema for retrieved Asset details.\");\n\nexport const rkvstGetAsset = action(\"RKVST_GET_ASSET\", {\n slug: \"rkvst-get-asset\",\n name: \"Get Asset\",\n description: \"Tool to retrieve details for a given Asset. Use after you have its UUID; set `at_time` to get historical state.\",\n input: RkvstGetAssetInput,\n output: RkvstGetAssetOutput,\n});\n"],"mappings":";;AAsBA,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB8C,EAAE,OAAO;EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACjE,CAAC,CAAC,CAAC,SAAS,oEAmBH;CACP,QAnB+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC9D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EACnF,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC;EAC9F,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;EACpF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EACrF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC9G,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-asset.mjs","names":[],"sources":["../../src/actions/get-asset.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstGetAssetInput = z.object({\n at_time: z.string().describe(\"Optional ISO 8601 timestamp to retrieve the Asset's state at a past time\").optional(),\n asset_uuid: z.string().describe(\"UUID of the Asset to retrieve\"),\n}).describe(\"Request schema for retrieving details of a specific Asset by UUID.\");\nexport const RkvstGetAssetOutput = z.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(\"Time the asset data is from (ISO 8601)\").nullable(),\n tracked: z.string().describe(\"Whether the asset is tracked in the system\").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 to provide evidential proof for events on this asset\").nullable().optional(),\n tenant_identity: z.string().describe(\"Identity of the tenant that created this asset\").nullable(),\n confirmation_status: z.string().describe(\"Whether the asset has been committed (e.g., PENDING or CONFIRMED)\").nullable(),\n}).describe(\"Response schema for retrieved Asset details.\");\n\nexport const rkvstGetAsset = action(\"RKVST_GET_ASSET\", {\n slug: \"rkvst-get-asset\",\n name: \"Get Asset\",\n description: \"Tool to retrieve details for a given Asset. Use after you have its UUID; set `at_time` to get historical state.\",\n input: RkvstGetAssetInput,\n output: RkvstGetAssetOutput,\n});\n"],"mappings":";;AAsBA,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBgC,EAAE,OAAO;EACzC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACjE,CAAC,CAAC,CAAC,SAAS,oEAmBH;CACP,QAnBiC,EAAE,OAAO;EAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC;EAC9F,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C;EACpF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAChG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -6,21 +6,21 @@ const RkvstGetBlobInput = zod.z.object({
6
6
  asset_uuid: zod.z.string().describe("Optional public asset UUID to use when retrieving public attachment metadata without Authorization. If provided, the tool will call the public attachments info endpoint to retrieve the blob metadata.").optional()
7
7
  }).describe("Request schema for retrieving a Blob by ID or via public asset attachment.");
8
8
  const RkvstGetBlob_BlobHashSchema = zod.z.object({
9
- alg: zod.z.string().describe("Hash algorithm of the Blob."),
10
- value: zod.z.string().describe("Hash value of the Blob.")
9
+ alg: zod.z.string().describe("Hash algorithm of the Blob.").nullable(),
10
+ value: zod.z.string().describe("Hash value of the Blob.").nullable()
11
11
  }).describe("Hash details of the Blob.");
12
12
  const RkvstGetBlobOutput = zod.z.object({
13
13
  hash: RkvstGetBlob_BlobHashSchema.nullable(),
14
- size: zod.z.number().int().describe("Size of the Blob in bytes."),
15
- issuer: zod.z.string().describe("Principal issuer of the Blob."),
16
- subject: zod.z.string().describe("Principal subject of the Blob."),
17
- identity: zod.z.string().describe("Resource address of the Blob."),
18
- tenantid: zod.z.string().describe("Tenant identity that owns the Blob."),
19
- mime_type: zod.z.string().describe("MIME type of the Blob."),
20
- scanned_status: zod.z.string().describe("Status of the scan."),
14
+ size: zod.z.number().int().describe("Size of the Blob in bytes.").nullable(),
15
+ issuer: zod.z.string().describe("Principal issuer of the Blob.").nullable(),
16
+ subject: zod.z.string().describe("Principal subject of the Blob.").nullable(),
17
+ identity: zod.z.string().describe("Resource address of the Blob.").nullable(),
18
+ tenantid: zod.z.string().describe("Tenant identity that owns the Blob.").nullable(),
19
+ mime_type: zod.z.string().describe("MIME type of the Blob.").nullable(),
20
+ scanned_status: zod.z.string().describe("Status of the scan.").nullable(),
21
21
  scanned_timestamp: zod.z.string().describe("Timestamp when the Blob was scanned (ISO 8601).").nullable().optional(),
22
22
  scanned_bad_reason: zod.z.string().describe("Reason if the scan failed.").nullable().optional(),
23
- timestamp_accepted: zod.z.string().describe("Time when the request was accepted (ISO 8601).")
23
+ timestamp_accepted: zod.z.string().describe("Time when the request was accepted (ISO 8601).").nullable()
24
24
  }).describe("Response schema for retrieving a Blob metadata.");
25
25
  const rkvstGetBlob = require_action.action("RKVST_GET_BLOB", {
26
26
  slug: "rkvst-get-blob",
@@ -1 +1 @@
1
- {"version":3,"file":"get-blob.cjs","names":["z","action"],"sources":["../../src/actions/get-blob.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstGetBlobInput: z.ZodTypeAny = z.object({\n blob_id: z.string().describe(\"UUID of the Blob to retrieve (accepts 'blobs/{uuid}' as well).\"),\n asset_uuid: z.string().describe(\"Optional public asset UUID to use when retrieving public attachment metadata without Authorization. If provided, the tool will call the public attachments info endpoint to retrieve the blob metadata.\").optional(),\n}).describe(\"Request schema for retrieving a Blob by ID or via public asset attachment.\");\nconst RkvstGetBlob_BlobHashSchema: z.ZodTypeAny = z.object({\n alg: z.string().describe(\"Hash algorithm of the Blob.\"),\n value: z.string().describe(\"Hash value of the Blob.\"),\n}).describe(\"Hash details of the Blob.\");\nexport const RkvstGetBlobOutput: z.ZodTypeAny = z.object({\n hash: RkvstGetBlob_BlobHashSchema.nullable(),\n size: z.number().int().describe(\"Size of the Blob in bytes.\"),\n issuer: z.string().describe(\"Principal issuer of the Blob.\"),\n subject: z.string().describe(\"Principal subject of the Blob.\"),\n identity: z.string().describe(\"Resource address of the Blob.\"),\n tenantid: z.string().describe(\"Tenant identity that owns the Blob.\"),\n mime_type: z.string().describe(\"MIME type of the Blob.\"),\n scanned_status: z.string().describe(\"Status of the scan.\"),\n scanned_timestamp: z.string().describe(\"Timestamp when the Blob was scanned (ISO 8601).\").nullable().optional(),\n scanned_bad_reason: z.string().describe(\"Reason if the scan failed.\").nullable().optional(),\n timestamp_accepted: z.string().describe(\"Time when the request was accepted (ISO 8601).\"),\n}).describe(\"Response schema for retrieving a Blob metadata.\");\n\nexport const rkvstGetBlob = action(\"RKVST_GET_BLOB\", {\n slug: \"rkvst-get-blob\",\n name: \"Get Blob\",\n description: \"Tool to retrieve details of a Blob by ID. Use after confirming the Blob ID.\",\n input: RkvstGetBlobInput,\n output: RkvstGetBlobOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;AACtP,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,8BAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;AACtD,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAa,qBAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAM,4BAA4B,SAAS;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACvD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACzD,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AAC1F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,eAAeC,eAAAA,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-blob.cjs","names":["z","action"],"sources":["../../src/actions/get-blob.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RkvstGetBlobInput = z.object({\n blob_id: z.string().describe(\"UUID of the Blob to retrieve (accepts 'blobs/{uuid}' as well).\"),\n asset_uuid: z.string().describe(\"Optional public asset UUID to use when retrieving public attachment metadata without Authorization. If provided, the tool will call the public attachments info endpoint to retrieve the blob metadata.\").optional(),\n}).describe(\"Request schema for retrieving a Blob by ID or via public asset attachment.\");\nconst RkvstGetBlob_BlobHashSchema = z.object({\n alg: z.string().describe(\"Hash algorithm of the Blob.\").nullable(),\n value: z.string().describe(\"Hash value of the Blob.\").nullable(),\n}).describe(\"Hash details of the Blob.\");\nexport const RkvstGetBlobOutput = z.object({\n hash: RkvstGetBlob_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(\"Resource address of the Blob.\").nullable(),\n tenantid: z.string().describe(\"Tenant identity that owns the Blob.\").nullable(),\n mime_type: z.string().describe(\"MIME type of the Blob.\").nullable(),\n scanned_status: z.string().describe(\"Status of the scan.\").nullable(),\n scanned_timestamp: z.string().describe(\"Timestamp when the Blob was scanned (ISO 8601).\").nullable().optional(),\n scanned_bad_reason: z.string().describe(\"Reason if the scan failed.\").nullable().optional(),\n timestamp_accepted: z.string().describe(\"Time when the request was accepted (ISO 8601).\").nullable(),\n}).describe(\"Response schema for retrieving a Blob metadata.\");\n\nexport const rkvstGetBlob = action(\"RKVST_GET_BLOB\", {\n slug: \"rkvst-get-blob\",\n name: \"Get Blob\",\n description: \"Tool to retrieve details of a Blob by ID. Use after confirming the Blob ID.\",\n input: RkvstGetBlobInput,\n output: RkvstGetBlobOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAoBA,IAAAA,EAAE,OAAO;CACxC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;AACtP,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,MAAM,4BAA4B,SAAS;CAC3C,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,+BAA+B,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAClE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACpE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,eAAeC,eAAAA,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-blob.d.ts
4
- declare const RkvstGetBlobInput: z.ZodTypeAny;
5
- declare const RkvstGetBlobOutput: z.ZodTypeAny;
6
- declare const rkvstGetBlob: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RkvstGetBlobInput: z.ZodObject<{
5
+ blob_id: z.ZodString;
6
+ asset_uuid: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const RkvstGetBlobOutput: z.ZodObject<{
9
+ hash: z.ZodNullable<z.ZodObject<{
10
+ alg: z.ZodNullable<z.ZodString>;
11
+ value: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$strip>>;
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.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ scanned_bad_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ timestamp_accepted: z.ZodNullable<z.ZodString>;
23
+ }, z.core.$strip>;
24
+ declare const rkvstGetBlob: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ blob_id: string;
26
+ asset_uuid?: string | undefined;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { rkvstGetBlob };
9
30
  //# sourceMappingURL=get-blob.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-blob.d.cts","names":[],"sources":["../../src/actions/get-blob.ts"],"mappings":";;;cAIa,iBAAA,EAAmB,CAAA,CAAE,UAGuD;AAAA,cAK5E,kBAAA,EAAoB,CAAA,CAAE,UAY2B;AAAA,cAEjD,YAAA,gCAAY,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-blob.d.cts","names":[],"sources":["../../src/actions/get-blob.ts"],"mappings":";;;cAIa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;;cAQjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAclB,YAAA,gCAAY,wBAAA"}