@keystrokehq/shotstack 0.1.4 → 0.1.6

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 (197) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-template.cjs +1 -0
  4. package/dist/actions/create-template.cjs.map +1 -1
  5. package/dist/actions/create-template.d.cts +3 -7
  6. package/dist/actions/create-template.d.cts.map +1 -1
  7. package/dist/actions/create-template.d.mts +3 -7
  8. package/dist/actions/create-template.d.mts.map +1 -1
  9. package/dist/actions/create-template.mjs +1 -0
  10. package/dist/actions/create-template.mjs.map +1 -1
  11. package/dist/actions/create-template2.cjs +1 -0
  12. package/dist/actions/create-template2.cjs.map +1 -1
  13. package/dist/actions/create-template2.d.cts +4 -37
  14. package/dist/actions/create-template2.d.cts.map +1 -1
  15. package/dist/actions/create-template2.d.mts +4 -37
  16. package/dist/actions/create-template2.d.mts.map +1 -1
  17. package/dist/actions/create-template2.mjs +1 -0
  18. package/dist/actions/create-template2.mjs.map +1 -1
  19. package/dist/actions/delete-ingested-media.cjs +1 -0
  20. package/dist/actions/delete-ingested-media.cjs.map +1 -1
  21. package/dist/actions/delete-ingested-media.d.cts +3 -3
  22. package/dist/actions/delete-ingested-media.d.cts.map +1 -1
  23. package/dist/actions/delete-ingested-media.d.mts +3 -3
  24. package/dist/actions/delete-ingested-media.d.mts.map +1 -1
  25. package/dist/actions/delete-ingested-media.mjs +1 -0
  26. package/dist/actions/delete-ingested-media.mjs.map +1 -1
  27. package/dist/actions/delete-template2.cjs +1 -0
  28. package/dist/actions/delete-template2.cjs.map +1 -1
  29. package/dist/actions/delete-template2.d.cts +3 -3
  30. package/dist/actions/delete-template2.d.cts.map +1 -1
  31. package/dist/actions/delete-template2.d.mts +3 -3
  32. package/dist/actions/delete-template2.d.mts.map +1 -1
  33. package/dist/actions/delete-template2.mjs +1 -0
  34. package/dist/actions/delete-template2.mjs.map +1 -1
  35. package/dist/actions/delete-workflow.cjs +1 -0
  36. package/dist/actions/delete-workflow.cjs.map +1 -1
  37. package/dist/actions/delete-workflow.d.cts +3 -3
  38. package/dist/actions/delete-workflow.d.cts.map +1 -1
  39. package/dist/actions/delete-workflow.d.mts +3 -3
  40. package/dist/actions/delete-workflow.d.mts.map +1 -1
  41. package/dist/actions/delete-workflow.mjs +1 -0
  42. package/dist/actions/delete-workflow.mjs.map +1 -1
  43. package/dist/actions/fetch-source.cjs +1 -0
  44. package/dist/actions/fetch-source.cjs.map +1 -1
  45. package/dist/actions/fetch-source.d.cts +3 -3
  46. package/dist/actions/fetch-source.d.cts.map +1 -1
  47. package/dist/actions/fetch-source.d.mts +3 -3
  48. package/dist/actions/fetch-source.d.mts.map +1 -1
  49. package/dist/actions/fetch-source.mjs +1 -0
  50. package/dist/actions/fetch-source.mjs.map +1 -1
  51. package/dist/actions/get-assets-render.cjs +1 -0
  52. package/dist/actions/get-assets-render.cjs.map +1 -1
  53. package/dist/actions/get-assets-render.d.cts +3 -3
  54. package/dist/actions/get-assets-render.d.cts.map +1 -1
  55. package/dist/actions/get-assets-render.d.mts +3 -3
  56. package/dist/actions/get-assets-render.d.mts.map +1 -1
  57. package/dist/actions/get-assets-render.mjs +1 -0
  58. package/dist/actions/get-assets-render.mjs.map +1 -1
  59. package/dist/actions/get-assets.cjs +1 -0
  60. package/dist/actions/get-assets.cjs.map +1 -1
  61. package/dist/actions/get-assets.d.cts +3 -3
  62. package/dist/actions/get-assets.d.cts.map +1 -1
  63. package/dist/actions/get-assets.d.mts +3 -3
  64. package/dist/actions/get-assets.d.mts.map +1 -1
  65. package/dist/actions/get-assets.mjs +1 -0
  66. package/dist/actions/get-assets.mjs.map +1 -1
  67. package/dist/actions/get-render-callback.cjs +1 -0
  68. package/dist/actions/get-render-callback.cjs.map +1 -1
  69. package/dist/actions/get-render-callback.d.cts +3 -3
  70. package/dist/actions/get-render-callback.d.cts.map +1 -1
  71. package/dist/actions/get-render-callback.d.mts +3 -3
  72. package/dist/actions/get-render-callback.d.mts.map +1 -1
  73. package/dist/actions/get-render-callback.mjs +1 -0
  74. package/dist/actions/get-render-callback.mjs.map +1 -1
  75. package/dist/actions/get-render-status.cjs +1 -0
  76. package/dist/actions/get-render-status.cjs.map +1 -1
  77. package/dist/actions/get-render-status.d.cts +3 -6
  78. package/dist/actions/get-render-status.d.cts.map +1 -1
  79. package/dist/actions/get-render-status.d.mts +3 -6
  80. package/dist/actions/get-render-status.d.mts.map +1 -1
  81. package/dist/actions/get-render-status.mjs +1 -0
  82. package/dist/actions/get-render-status.mjs.map +1 -1
  83. package/dist/actions/get-source.cjs +1 -0
  84. package/dist/actions/get-source.cjs.map +1 -1
  85. package/dist/actions/get-source.d.cts +3 -3
  86. package/dist/actions/get-source.d.cts.map +1 -1
  87. package/dist/actions/get-source.d.mts +3 -3
  88. package/dist/actions/get-source.d.mts.map +1 -1
  89. package/dist/actions/get-source.mjs +1 -0
  90. package/dist/actions/get-source.mjs.map +1 -1
  91. package/dist/actions/get-template-by-version.cjs +1 -0
  92. package/dist/actions/get-template-by-version.cjs.map +1 -1
  93. package/dist/actions/get-template-by-version.d.cts +3 -4
  94. package/dist/actions/get-template-by-version.d.cts.map +1 -1
  95. package/dist/actions/get-template-by-version.d.mts +3 -4
  96. package/dist/actions/get-template-by-version.d.mts.map +1 -1
  97. package/dist/actions/get-template-by-version.mjs +1 -0
  98. package/dist/actions/get-template-by-version.mjs.map +1 -1
  99. package/dist/actions/get-template.cjs +1 -0
  100. package/dist/actions/get-template.cjs.map +1 -1
  101. package/dist/actions/get-template.d.cts +3 -3
  102. package/dist/actions/get-template.d.cts.map +1 -1
  103. package/dist/actions/get-template.d.mts +3 -3
  104. package/dist/actions/get-template.d.mts.map +1 -1
  105. package/dist/actions/get-template.mjs +1 -0
  106. package/dist/actions/get-template.mjs.map +1 -1
  107. package/dist/actions/get-upload-url.cjs +1 -0
  108. package/dist/actions/get-upload-url.cjs.map +1 -1
  109. package/dist/actions/get-upload-url.d.cts +3 -3
  110. package/dist/actions/get-upload-url.d.cts.map +1 -1
  111. package/dist/actions/get-upload-url.d.mts +3 -3
  112. package/dist/actions/get-upload-url.d.mts.map +1 -1
  113. package/dist/actions/get-upload-url.mjs +1 -0
  114. package/dist/actions/get-upload-url.mjs.map +1 -1
  115. package/dist/actions/inspect-media.cjs +1 -0
  116. package/dist/actions/inspect-media.cjs.map +1 -1
  117. package/dist/actions/inspect-media.d.cts +3 -3
  118. package/dist/actions/inspect-media.d.cts.map +1 -1
  119. package/dist/actions/inspect-media.d.mts +3 -3
  120. package/dist/actions/inspect-media.d.mts.map +1 -1
  121. package/dist/actions/inspect-media.mjs +1 -0
  122. package/dist/actions/inspect-media.mjs.map +1 -1
  123. package/dist/actions/list-sources.cjs +1 -0
  124. package/dist/actions/list-sources.cjs.map +1 -1
  125. package/dist/actions/list-sources.d.cts +3 -5
  126. package/dist/actions/list-sources.d.cts.map +1 -1
  127. package/dist/actions/list-sources.d.mts +3 -5
  128. package/dist/actions/list-sources.d.mts.map +1 -1
  129. package/dist/actions/list-sources.mjs +1 -0
  130. package/dist/actions/list-sources.mjs.map +1 -1
  131. package/dist/actions/list-sources2.cjs +1 -0
  132. package/dist/actions/list-sources2.cjs.map +1 -1
  133. package/dist/actions/list-sources2.d.cts +4 -7
  134. package/dist/actions/list-sources2.d.cts.map +1 -1
  135. package/dist/actions/list-sources2.d.mts +4 -7
  136. package/dist/actions/list-sources2.d.mts.map +1 -1
  137. package/dist/actions/list-sources2.mjs +1 -0
  138. package/dist/actions/list-sources2.mjs.map +1 -1
  139. package/dist/actions/list-templates.cjs +1 -0
  140. package/dist/actions/list-templates.cjs.map +1 -1
  141. package/dist/actions/list-templates.d.cts +3 -1
  142. package/dist/actions/list-templates.d.cts.map +1 -1
  143. package/dist/actions/list-templates.d.mts +3 -1
  144. package/dist/actions/list-templates.d.mts.map +1 -1
  145. package/dist/actions/list-templates.mjs +1 -0
  146. package/dist/actions/list-templates.mjs.map +1 -1
  147. package/dist/actions/list-templates2.cjs +1 -0
  148. package/dist/actions/list-templates2.cjs.map +1 -1
  149. package/dist/actions/list-templates2.d.cts +4 -4
  150. package/dist/actions/list-templates2.d.cts.map +1 -1
  151. package/dist/actions/list-templates2.d.mts +4 -4
  152. package/dist/actions/list-templates2.d.mts.map +1 -1
  153. package/dist/actions/list-templates2.mjs +1 -0
  154. package/dist/actions/list-templates2.mjs.map +1 -1
  155. package/dist/actions/post-upload.cjs +1 -0
  156. package/dist/actions/post-upload.cjs.map +1 -1
  157. package/dist/actions/post-upload.d.cts +3 -1
  158. package/dist/actions/post-upload.d.cts.map +1 -1
  159. package/dist/actions/post-upload.d.mts +3 -1
  160. package/dist/actions/post-upload.d.mts.map +1 -1
  161. package/dist/actions/post-upload.mjs +1 -0
  162. package/dist/actions/post-upload.mjs.map +1 -1
  163. package/dist/actions/render-video.cjs +1 -0
  164. package/dist/actions/render-video.cjs.map +1 -1
  165. package/dist/actions/render-video.d.cts +3 -5
  166. package/dist/actions/render-video.d.cts.map +1 -1
  167. package/dist/actions/render-video.d.mts +3 -5
  168. package/dist/actions/render-video.d.mts.map +1 -1
  169. package/dist/actions/render-video.mjs +1 -0
  170. package/dist/actions/render-video.mjs.map +1 -1
  171. package/dist/actions/transfer-asset.cjs +1 -0
  172. package/dist/actions/transfer-asset.cjs.map +1 -1
  173. package/dist/actions/transfer-asset.d.cts +3 -10
  174. package/dist/actions/transfer-asset.d.cts.map +1 -1
  175. package/dist/actions/transfer-asset.d.mts +3 -10
  176. package/dist/actions/transfer-asset.d.mts.map +1 -1
  177. package/dist/actions/transfer-asset.mjs +1 -0
  178. package/dist/actions/transfer-asset.mjs.map +1 -1
  179. package/dist/actions/update-template.cjs +1 -0
  180. package/dist/actions/update-template.cjs.map +1 -1
  181. package/dist/actions/update-template.d.cts +3 -5
  182. package/dist/actions/update-template.d.cts.map +1 -1
  183. package/dist/actions/update-template.d.mts +3 -5
  184. package/dist/actions/update-template.d.mts.map +1 -1
  185. package/dist/actions/update-template.mjs +1 -0
  186. package/dist/actions/update-template.mjs.map +1 -1
  187. package/dist/app.cjs +9 -2
  188. package/dist/app.cjs.map +1 -1
  189. package/dist/app.d.cts +8 -1
  190. package/dist/app.d.cts.map +1 -1
  191. package/dist/app.d.mts +8 -1
  192. package/dist/app.d.mts.map +1 -1
  193. package/dist/app.mjs +6 -2
  194. package/dist/app.mjs.map +1 -1
  195. package/dist/index.d.cts +1 -1
  196. package/dist/index.d.mts +1 -1
  197. package/package.json +2 -2
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/fetch-source.ts
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-source.cjs","names":["z","action"],"sources":["../../src/actions/fetch-source.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackFetchSourceInput = z.object({\n url: z.string().describe(\"Publicly accessible URL of the media file to fetch\"),\n}).describe(\"Request model for fetching a media file from a URL and storing as a source asset.\");\nconst ShotstackFetchSource_SourceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the fetched source asset. Use this ID to poll the sources endpoint to check ingestion status.\").nullable(),\n type: z.string().describe(\"The resource type, always 'source'\").nullable(),\n}).passthrough().describe(\"Data object containing the source asset information.\");\nexport const ShotstackFetchSourceOutput = z.object({\n data: ShotstackFetchSource_SourceDataSchema.nullable(),\n}).passthrough().describe(\"Response model for a fetched source asset. The file is fetched asynchronously,\\nuse the returned ID to check ingestion status via the Get Source endpoint.\");\n\nexport const shotstackFetchSource = action(\"SHOTSTACK_FETCH_SOURCE\", {\n slug: \"shotstack-fetch-source\",\n name: \"Fetch Source\",\n description: \"Tool to fetch a remote media file and store it as a source asset. Operation is asynchronous — poll SHOTSTACK_GET_INGEST_STATUS or SHOTSTACK_INSPECT_MEDIA until the asset is ready before passing it to SHOTSTACK_RENDER_VIDEO or other downstream tools. Use when you need to ingest a file before rendering.\",\n input: ShotstackFetchSourceInput,\n output: ShotstackFetchSourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAC/E,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACxJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4JAA4J;AAEtL,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"fetch-source.cjs","names":["z","action"],"sources":["../../src/actions/fetch-source.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackFetchSourceInput = z.object({\n url: z.string().describe(\"Publicly accessible URL of the media file to fetch\"),\n}).describe(\"Request model for fetching a media file from a URL and storing as a source asset.\");\nconst ShotstackFetchSource_SourceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the fetched source asset. Use this ID to poll the sources endpoint to check ingestion status.\").nullable(),\n type: z.string().describe(\"The resource type, always 'source'\").nullable(),\n}).passthrough().describe(\"Data object containing the source asset information.\");\nexport const ShotstackFetchSourceOutput = z.object({\n data: ShotstackFetchSource_SourceDataSchema.nullable(),\n}).passthrough().describe(\"Response model for a fetched source asset. The file is fetched asynchronously,\\nuse the returned ID to check ingestion status via the Get Source endpoint.\");\n\nexport const shotstackFetchSource: AppAction<\n typeof ShotstackFetchSourceInput,\n typeof ShotstackFetchSourceOutput,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_FETCH_SOURCE\", {\n slug: \"shotstack-fetch-source\",\n name: \"Fetch Source\",\n description: \"Tool to fetch a remote media file and store it as a source asset. Operation is asynchronous — poll SHOTSTACK_GET_INGEST_STATUS or SHOTSTACK_INSPECT_MEDIA until the asset is ready before passing it to SHOTSTACK_RENDER_VIDEO or other downstream tools. Use when you need to ingest a file before rendering.\",\n input: ShotstackFetchSourceInput,\n output: ShotstackFetchSourceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAC/E,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACxJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4JAA4J;AAEtL,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { shotstack } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/fetch-source.d.ts
@@ -10,9 +12,7 @@ declare const ShotstackFetchSourceOutput: z.ZodObject<{
10
12
  type: z.ZodNullable<z.ZodString>;
11
13
  }, z.core.$loose>>;
12
14
  }, z.core.$loose>;
13
- declare const shotstackFetchSource: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- url: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const shotstackFetchSource: AppAction<typeof ShotstackFetchSourceInput, typeof ShotstackFetchSourceOutput, typeof shotstack.credential>;
16
16
  //#endregion
17
17
  export { shotstackFetchSource };
18
18
  //# sourceMappingURL=fetch-source.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-source.d.cts","names":[],"sources":["../../src/actions/fetch-source.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAOzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"fetch-source.d.cts","names":[],"sources":["../../src/actions/fetch-source.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAOzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { shotstack } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/fetch-source.d.ts
@@ -10,9 +12,7 @@ declare const ShotstackFetchSourceOutput: z.ZodObject<{
10
12
  type: z.ZodNullable<z.ZodString>;
11
13
  }, z.core.$loose>>;
12
14
  }, z.core.$loose>;
13
- declare const shotstackFetchSource: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- url: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const shotstackFetchSource: AppAction<typeof ShotstackFetchSourceInput, typeof ShotstackFetchSourceOutput, typeof shotstack.credential>;
16
16
  //#endregion
17
17
  export { shotstackFetchSource };
18
18
  //# sourceMappingURL=fetch-source.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-source.d.mts","names":[],"sources":["../../src/actions/fetch-source.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAOzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"fetch-source.d.mts","names":[],"sources":["../../src/actions/fetch-source.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAOzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/fetch-source.ts
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-source.mjs","names":[],"sources":["../../src/actions/fetch-source.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackFetchSourceInput = z.object({\n url: z.string().describe(\"Publicly accessible URL of the media file to fetch\"),\n}).describe(\"Request model for fetching a media file from a URL and storing as a source asset.\");\nconst ShotstackFetchSource_SourceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the fetched source asset. Use this ID to poll the sources endpoint to check ingestion status.\").nullable(),\n type: z.string().describe(\"The resource type, always 'source'\").nullable(),\n}).passthrough().describe(\"Data object containing the source asset information.\");\nexport const ShotstackFetchSourceOutput = z.object({\n data: ShotstackFetchSource_SourceDataSchema.nullable(),\n}).passthrough().describe(\"Response model for a fetched source asset. The file is fetched asynchronously,\\nuse the returned ID to check ingestion status via the Get Source endpoint.\");\n\nexport const shotstackFetchSource = action(\"SHOTSTACK_FETCH_SOURCE\", {\n slug: \"shotstack-fetch-source\",\n name: \"Fetch Source\",\n description: \"Tool to fetch a remote media file and store it as a source asset. Operation is asynchronous — poll SHOTSTACK_GET_INGEST_STATUS or SHOTSTACK_INSPECT_MEDIA until the asset is ready before passing it to SHOTSTACK_RENDER_VIDEO or other downstream tools. Use when you need to ingest a file before rendering.\",\n input: ShotstackFetchSourceInput,\n output: ShotstackFetchSourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAC/E,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACxJ,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4JAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"fetch-source.mjs","names":[],"sources":["../../src/actions/fetch-source.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackFetchSourceInput = z.object({\n url: z.string().describe(\"Publicly accessible URL of the media file to fetch\"),\n}).describe(\"Request model for fetching a media file from a URL and storing as a source asset.\");\nconst ShotstackFetchSource_SourceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the fetched source asset. Use this ID to poll the sources endpoint to check ingestion status.\").nullable(),\n type: z.string().describe(\"The resource type, always 'source'\").nullable(),\n}).passthrough().describe(\"Data object containing the source asset information.\");\nexport const ShotstackFetchSourceOutput = z.object({\n data: ShotstackFetchSource_SourceDataSchema.nullable(),\n}).passthrough().describe(\"Response model for a fetched source asset. The file is fetched asynchronously,\\nuse the returned ID to check ingestion status via the Get Source endpoint.\");\n\nexport const shotstackFetchSource: AppAction<\n typeof ShotstackFetchSourceInput,\n typeof ShotstackFetchSourceOutput,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_FETCH_SOURCE\", {\n slug: \"shotstack-fetch-source\",\n name: \"Fetch Source\",\n description: \"Tool to fetch a remote media file and store it as a source asset. Operation is asynchronous — poll SHOTSTACK_GET_INGEST_STATUS or SHOTSTACK_INSPECT_MEDIA until the asset is ready before passing it to SHOTSTACK_RENDER_VIDEO or other downstream tools. Use when you need to ingest a file before rendering.\",\n input: ShotstackFetchSourceInput,\n output: ShotstackFetchSourceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAC/E,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACxJ,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4JAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-assets-render.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-assets-render.cjs","names":["z","action"],"sources":["../../src/actions/get-assets-render.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackGetAssetsRenderInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the render job to retrieve associated assets for.\"),\n}).describe(\"Request model for retrieving assets by render ID.\");\nconst ShotstackGetAssetsRender_AssetAttributesSchema = z.object({\n id: z.string().describe(\"Unique asset identifier (UUID).\").nullable().optional(),\n url: z.string().describe(\"Publicly accessible CDN URL for the asset.\").nullable().optional(),\n owner: z.string().describe(\"Account owner identifier.\").nullable().optional(),\n region: z.string().describe(\"Geographic region where asset is stored (e.g., 'au').\").nullable().optional(),\n status: z.string().describe(\"Current asset state. Values: 'ready' (available for use) or 'processing'.\").nullable().optional(),\n created: z.string().describe(\"Asset creation timestamp (ISO 8601 format).\").nullable().optional(),\n updated: z.string().describe(\"Last modification timestamp (ISO 8601 format).\").nullable().optional(),\n filename: z.string().describe(\"Name of the asset file.\").nullable().optional(),\n renderId: z.string().describe(\"Associated render job identifier.\").nullable().optional(),\n providerId: z.string().describe(\"Third-party provider identifier.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an asset.\");\nconst ShotstackGetAssetsRender_AssetDataSchema = z.object({\n type: z.string().describe(\"Resource type, always 'asset'.\").nullable().optional(),\n attributes: ShotstackGetAssetsRender_AssetAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Asset data object following JSON:API specification.\");\nexport const ShotstackGetAssetsRenderOutput = z.object({\n data: z.array(ShotstackGetAssetsRender_AssetDataSchema).describe(\"Array of asset objects. A single render task can generate up to 3 unique assets (video, thumbnail, poster).\"),\n}).passthrough().describe(\"Response model containing assets associated with a render ID.\");\n\nexport const shotstackGetAssetsRender = action(\"SHOTSTACK_GET_ASSETS_RENDER\", {\n slug: \"shotstack-get-assets-render\",\n name: \"Get Assets by Render ID\",\n description: \"Tool to retrieve hosted assets by render ID. Use when you need to fetch one or more files (video, thumbnail, poster image) generated by a specific render job.\",\n input: ShotstackGetAssetsRenderInput,\n output: ShotstackGetAssetsRenderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,EAC7G,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AACnD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAY,+CAA+C,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,6GAA6G,EAChL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-assets-render.cjs","names":["z","action"],"sources":["../../src/actions/get-assets-render.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackGetAssetsRenderInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the render job to retrieve associated assets for.\"),\n}).describe(\"Request model for retrieving assets by render ID.\");\nconst ShotstackGetAssetsRender_AssetAttributesSchema = z.object({\n id: z.string().describe(\"Unique asset identifier (UUID).\").nullable().optional(),\n url: z.string().describe(\"Publicly accessible CDN URL for the asset.\").nullable().optional(),\n owner: z.string().describe(\"Account owner identifier.\").nullable().optional(),\n region: z.string().describe(\"Geographic region where asset is stored (e.g., 'au').\").nullable().optional(),\n status: z.string().describe(\"Current asset state. Values: 'ready' (available for use) or 'processing'.\").nullable().optional(),\n created: z.string().describe(\"Asset creation timestamp (ISO 8601 format).\").nullable().optional(),\n updated: z.string().describe(\"Last modification timestamp (ISO 8601 format).\").nullable().optional(),\n filename: z.string().describe(\"Name of the asset file.\").nullable().optional(),\n renderId: z.string().describe(\"Associated render job identifier.\").nullable().optional(),\n providerId: z.string().describe(\"Third-party provider identifier.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an asset.\");\nconst ShotstackGetAssetsRender_AssetDataSchema = z.object({\n type: z.string().describe(\"Resource type, always 'asset'.\").nullable().optional(),\n attributes: ShotstackGetAssetsRender_AssetAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Asset data object following JSON:API specification.\");\nexport const ShotstackGetAssetsRenderOutput = z.object({\n data: z.array(ShotstackGetAssetsRender_AssetDataSchema).describe(\"Array of asset objects. A single render task can generate up to 3 unique assets (video, thumbnail, poster).\"),\n}).passthrough().describe(\"Response model containing assets associated with a render ID.\");\n\nexport const shotstackGetAssetsRender: AppAction<\n typeof ShotstackGetAssetsRenderInput,\n typeof ShotstackGetAssetsRenderOutput,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_GET_ASSETS_RENDER\", {\n slug: \"shotstack-get-assets-render\",\n name: \"Get Assets by Render ID\",\n description: \"Tool to retrieve hosted assets by render ID. Use when you need to fetch one or more files (video, thumbnail, poster image) generated by a specific render job.\",\n input: ShotstackGetAssetsRenderInput,\n output: ShotstackGetAssetsRenderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,EAC7G,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,KAAKA,IAAAA,EA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GAA6G,EAChL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { shotstack } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-assets-render.d.ts
@@ -21,9 +23,7 @@ declare const ShotstackGetAssetsRenderOutput: z.ZodObject<{
21
23
  }, z.core.$loose>>>;
22
24
  }, z.core.$loose>>;
23
25
  }, z.core.$loose>;
24
- declare const shotstackGetAssetsRender: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- id: string;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const shotstackGetAssetsRender: AppAction<typeof ShotstackGetAssetsRenderInput, typeof ShotstackGetAssetsRenderOutput, typeof shotstack.credential>;
27
27
  //#endregion
28
28
  export { shotstackGetAssetsRender };
29
29
  //# sourceMappingURL=get-assets-render.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-assets-render.d.cts","names":[],"sources":["../../src/actions/get-assets-render.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAmB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-assets-render.d.cts","names":[],"sources":["../../src/actions/get-assets-render.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAmB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { shotstack } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-assets-render.d.ts
@@ -21,9 +23,7 @@ declare const ShotstackGetAssetsRenderOutput: z.ZodObject<{
21
23
  }, z.core.$loose>>>;
22
24
  }, z.core.$loose>>;
23
25
  }, z.core.$loose>;
24
- declare const shotstackGetAssetsRender: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- id: string;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const shotstackGetAssetsRender: AppAction<typeof ShotstackGetAssetsRenderInput, typeof ShotstackGetAssetsRenderOutput, typeof shotstack.credential>;
27
27
  //#endregion
28
28
  export { shotstackGetAssetsRender };
29
29
  //# sourceMappingURL=get-assets-render.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-assets-render.d.mts","names":[],"sources":["../../src/actions/get-assets-render.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAmB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-assets-render.d.mts","names":[],"sources":["../../src/actions/get-assets-render.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAmB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-assets-render.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-assets-render.mjs","names":[],"sources":["../../src/actions/get-assets-render.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackGetAssetsRenderInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the render job to retrieve associated assets for.\"),\n}).describe(\"Request model for retrieving assets by render ID.\");\nconst ShotstackGetAssetsRender_AssetAttributesSchema = z.object({\n id: z.string().describe(\"Unique asset identifier (UUID).\").nullable().optional(),\n url: z.string().describe(\"Publicly accessible CDN URL for the asset.\").nullable().optional(),\n owner: z.string().describe(\"Account owner identifier.\").nullable().optional(),\n region: z.string().describe(\"Geographic region where asset is stored (e.g., 'au').\").nullable().optional(),\n status: z.string().describe(\"Current asset state. Values: 'ready' (available for use) or 'processing'.\").nullable().optional(),\n created: z.string().describe(\"Asset creation timestamp (ISO 8601 format).\").nullable().optional(),\n updated: z.string().describe(\"Last modification timestamp (ISO 8601 format).\").nullable().optional(),\n filename: z.string().describe(\"Name of the asset file.\").nullable().optional(),\n renderId: z.string().describe(\"Associated render job identifier.\").nullable().optional(),\n providerId: z.string().describe(\"Third-party provider identifier.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an asset.\");\nconst ShotstackGetAssetsRender_AssetDataSchema = z.object({\n type: z.string().describe(\"Resource type, always 'asset'.\").nullable().optional(),\n attributes: ShotstackGetAssetsRender_AssetAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Asset data object following JSON:API specification.\");\nexport const ShotstackGetAssetsRenderOutput = z.object({\n data: z.array(ShotstackGetAssetsRender_AssetDataSchema).describe(\"Array of asset objects. A single render task can generate up to 3 unique assets (video, thumbnail, poster).\"),\n}).passthrough().describe(\"Response model containing assets associated with a render ID.\");\n\nexport const shotstackGetAssetsRender = action(\"SHOTSTACK_GET_ASSETS_RENDER\", {\n slug: \"shotstack-get-assets-render\",\n name: \"Get Assets by Render ID\",\n description: \"Tool to retrieve hosted assets by render ID. Use when you need to fetch one or more files (video, thumbnail, poster image) generated by a specific render job.\",\n input: ShotstackGetAssetsRenderInput,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AS,CAAC,CAAC,SAAS;CAChF,YAAY,+CAA+C,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAK/E,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,6GAA6G,EAChL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-assets-render.mjs","names":[],"sources":["../../src/actions/get-assets-render.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackGetAssetsRenderInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the render job to retrieve associated assets for.\"),\n}).describe(\"Request model for retrieving assets by render ID.\");\nconst ShotstackGetAssetsRender_AssetAttributesSchema = z.object({\n id: z.string().describe(\"Unique asset identifier (UUID).\").nullable().optional(),\n url: z.string().describe(\"Publicly accessible CDN URL for the asset.\").nullable().optional(),\n owner: z.string().describe(\"Account owner identifier.\").nullable().optional(),\n region: z.string().describe(\"Geographic region where asset is stored (e.g., 'au').\").nullable().optional(),\n status: z.string().describe(\"Current asset state. Values: 'ready' (available for use) or 'processing'.\").nullable().optional(),\n created: z.string().describe(\"Asset creation timestamp (ISO 8601 format).\").nullable().optional(),\n updated: z.string().describe(\"Last modification timestamp (ISO 8601 format).\").nullable().optional(),\n filename: z.string().describe(\"Name of the asset file.\").nullable().optional(),\n renderId: z.string().describe(\"Associated render job identifier.\").nullable().optional(),\n providerId: z.string().describe(\"Third-party provider identifier.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an asset.\");\nconst ShotstackGetAssetsRender_AssetDataSchema = z.object({\n type: z.string().describe(\"Resource type, always 'asset'.\").nullable().optional(),\n attributes: ShotstackGetAssetsRender_AssetAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Asset data object following JSON:API specification.\");\nexport const ShotstackGetAssetsRenderOutput = z.object({\n data: z.array(ShotstackGetAssetsRender_AssetDataSchema).describe(\"Array of asset objects. A single render task can generate up to 3 unique assets (video, thumbnail, poster).\"),\n}).passthrough().describe(\"Response model containing assets associated with a render ID.\");\n\nexport const shotstackGetAssetsRender: AppAction<\n typeof ShotstackGetAssetsRenderInput,\n typeof ShotstackGetAssetsRenderOutput,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_GET_ASSETS_RENDER\", {\n slug: \"shotstack-get-assets-render\",\n name: \"Get Assets by Render ID\",\n description: \"Tool to retrieve hosted assets by render ID. Use when you need to fetch one or more files (video, thumbnail, poster image) generated by a specific render job.\",\n input: ShotstackGetAssetsRenderInput,\n output: ShotstackGetAssetsRenderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO,EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,EAC7G,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AACnD,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAY,+CAA+C,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAK/E,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,6GAA6G,EAChL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-assets.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-assets.cjs","names":["z","action"],"sources":["../../src/actions/get-assets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackGetAssetsInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the asset to retrieve. Can be the asset ID, render ID, source ID, or rendition ID.\"),\n}).describe(\"Request model for retrieving an asset by ID.\");\nconst ShotstackGetAssets_AssetAttributesSchema = z.object({\n id: z.string().describe(\"Unique asset identifier (UUID).\").nullable().optional(),\n url: z.string().describe(\"Publicly accessible CDN URL for the asset.\").nullable().optional(),\n owner: z.string().describe(\"Account owner identifier.\").nullable().optional(),\n region: z.string().describe(\"Geographic region where asset is stored (e.g., 'au').\").nullable().optional(),\n status: z.string().describe(\"Current asset state. Values: 'ready' (available for use) or 'deleted' (no longer consuming storage).\").nullable().optional(),\n created: z.string().describe(\"Asset creation timestamp (ISO 8601 format).\").nullable().optional(),\n updated: z.string().describe(\"Last modification timestamp (ISO 8601 format).\").nullable().optional(),\n filename: z.string().describe(\"Name of the asset file.\").nullable().optional(),\n provider: z.string().describe(\"Hosting provider name (e.g., 'shotstack').\").nullable().optional(),\n renderId: z.string().describe(\"Associated render job identifier (if asset from render).\").nullable().optional(),\n sourceId: z.string().describe(\"Source identifier (if asset from ingestion service).\").nullable().optional(),\n providerId: z.string().describe(\"Third-party provider identifier.\").nullable().optional(),\n renditionId: z.string().describe(\"Rendition identifier (if asset from ingestion rendition).\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an asset.\");\nconst ShotstackGetAssets_AssetDataSchema = z.object({\n type: z.string().describe(\"Resource type, always 'assets'.\").nullable().optional(),\n attributes: ShotstackGetAssets_AssetAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Asset data object following JSON:API specification.\");\nexport const ShotstackGetAssetsOutput = z.object({\n data: z.union([ShotstackGetAssets_AssetDataSchema, z.array(ShotstackGetAssets_AssetDataSchema)]),\n}).passthrough().describe(\"Response model containing asset details.\");\n\nexport const shotstackGetAssets = action(\"SHOTSTACK_GET_ASSETS\", {\n slug: \"shotstack-get-assets\",\n name: \"Get Asset\",\n description: \"Tool to fetch details of a hosted asset by its unique identifier. Use when you need to retrieve information about videos, images, audio files, thumbnails, or poster images hosted on Shotstack's CDN.\",\n input: ShotstackGetAssetsInput,\n output: ShotstackGetAssetsOutput,\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CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AACnD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,yCAAyC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAMA,IAAAA,EAAE,MAAM,CAAC,oCAAoCA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-assets.cjs","names":["z","action"],"sources":["../../src/actions/get-assets.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackGetAssetsInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the asset to retrieve. Can be the asset ID, render ID, source ID, or rendition ID.\"),\n}).describe(\"Request model for retrieving an asset by ID.\");\nconst ShotstackGetAssets_AssetAttributesSchema = z.object({\n id: z.string().describe(\"Unique asset identifier (UUID).\").nullable().optional(),\n url: z.string().describe(\"Publicly accessible CDN URL for the asset.\").nullable().optional(),\n owner: z.string().describe(\"Account owner identifier.\").nullable().optional(),\n region: z.string().describe(\"Geographic region where asset is stored (e.g., 'au').\").nullable().optional(),\n status: z.string().describe(\"Current asset state. Values: 'ready' (available for use) or 'deleted' (no longer consuming storage).\").nullable().optional(),\n created: z.string().describe(\"Asset creation timestamp (ISO 8601 format).\").nullable().optional(),\n updated: z.string().describe(\"Last modification timestamp (ISO 8601 format).\").nullable().optional(),\n filename: z.string().describe(\"Name of the asset file.\").nullable().optional(),\n provider: z.string().describe(\"Hosting provider name (e.g., 'shotstack').\").nullable().optional(),\n renderId: z.string().describe(\"Associated render job identifier (if asset from render).\").nullable().optional(),\n sourceId: z.string().describe(\"Source identifier (if asset from ingestion service).\").nullable().optional(),\n providerId: z.string().describe(\"Third-party provider identifier.\").nullable().optional(),\n renditionId: z.string().describe(\"Rendition identifier (if asset from ingestion rendition).\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an asset.\");\nconst ShotstackGetAssets_AssetDataSchema = z.object({\n type: z.string().describe(\"Resource type, always 'assets'.\").nullable().optional(),\n attributes: ShotstackGetAssets_AssetAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Asset data object following JSON:API specification.\");\nexport const ShotstackGetAssetsOutput = z.object({\n data: z.union([ShotstackGetAssets_AssetDataSchema, z.array(ShotstackGetAssets_AssetDataSchema)]),\n}).passthrough().describe(\"Response model containing asset details.\");\n\nexport const shotstackGetAssets: AppAction<\n typeof ShotstackGetAssetsInput,\n typeof ShotstackGetAssetsOutput,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_GET_ASSETS\", {\n slug: \"shotstack-get-assets\",\n name: \"Get Asset\",\n description: \"Tool to fetch details of a hosted asset by its unique identifier. Use when you need to retrieve information about videos, images, audio files, thumbnails, or poster images hosted on Shotstack's CDN.\",\n input: ShotstackGetAssetsInput,\n output: ShotstackGetAssetsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAA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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AACnD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,yCAAyC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAMA,IAAAA,EAAE,MAAM,CAAC,oCAAoCA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { shotstack } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-assets.d.ts
@@ -41,9 +43,7 @@ declare const ShotstackGetAssetsOutput: z.ZodObject<{
41
43
  }, z.core.$loose>>>;
42
44
  }, z.core.$loose>>]>;
43
45
  }, z.core.$loose>;
44
- declare const shotstackGetAssets: import("@keystrokehq/action").WorkflowActionDefinition<{
45
- id: string;
46
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
46
+ declare const shotstackGetAssets: AppAction<typeof ShotstackGetAssetsInput, typeof ShotstackGetAssetsOutput, typeof shotstack.credential>;
47
47
  //#endregion
48
48
  export { shotstackGetAssets };
49
49
  //# sourceMappingURL=get-assets.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-assets.d.cts","names":[],"sources":["../../src/actions/get-assets.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAsBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-assets.d.cts","names":[],"sources":["../../src/actions/get-assets.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAsBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { shotstack } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-assets.d.ts
@@ -41,9 +43,7 @@ declare const ShotstackGetAssetsOutput: z.ZodObject<{
41
43
  }, z.core.$loose>>>;
42
44
  }, z.core.$loose>>]>;
43
45
  }, z.core.$loose>;
44
- declare const shotstackGetAssets: import("@keystrokehq/action").WorkflowActionDefinition<{
45
- id: string;
46
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
46
+ declare const shotstackGetAssets: AppAction<typeof ShotstackGetAssetsInput, typeof ShotstackGetAssetsOutput, typeof shotstack.credential>;
47
47
  //#endregion
48
48
  export { shotstackGetAssets };
49
49
  //# sourceMappingURL=get-assets.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-assets.d.mts","names":[],"sources":["../../src/actions/get-assets.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAsBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-assets.d.mts","names":[],"sources":["../../src/actions/get-assets.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAsBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-assets.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-assets.mjs","names":[],"sources":["../../src/actions/get-assets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackGetAssetsInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the asset to retrieve. Can be the asset ID, render ID, source ID, or rendition ID.\"),\n}).describe(\"Request model for retrieving an asset by ID.\");\nconst ShotstackGetAssets_AssetAttributesSchema = z.object({\n id: z.string().describe(\"Unique asset identifier (UUID).\").nullable().optional(),\n url: z.string().describe(\"Publicly accessible CDN URL for the asset.\").nullable().optional(),\n owner: z.string().describe(\"Account owner identifier.\").nullable().optional(),\n region: z.string().describe(\"Geographic region where asset is stored (e.g., 'au').\").nullable().optional(),\n status: z.string().describe(\"Current asset state. Values: 'ready' (available for use) or 'deleted' (no longer consuming storage).\").nullable().optional(),\n created: z.string().describe(\"Asset creation timestamp (ISO 8601 format).\").nullable().optional(),\n updated: z.string().describe(\"Last modification timestamp (ISO 8601 format).\").nullable().optional(),\n filename: z.string().describe(\"Name of the asset file.\").nullable().optional(),\n provider: z.string().describe(\"Hosting provider name (e.g., 'shotstack').\").nullable().optional(),\n renderId: z.string().describe(\"Associated render job identifier (if asset from render).\").nullable().optional(),\n sourceId: z.string().describe(\"Source identifier (if asset from ingestion service).\").nullable().optional(),\n providerId: z.string().describe(\"Third-party provider identifier.\").nullable().optional(),\n renditionId: z.string().describe(\"Rendition identifier (if asset from ingestion rendition).\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an asset.\");\nconst ShotstackGetAssets_AssetDataSchema = z.object({\n type: z.string().describe(\"Resource type, always 'assets'.\").nullable().optional(),\n attributes: ShotstackGetAssets_AssetAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Asset data object following JSON:API specification.\");\nexport const ShotstackGetAssetsOutput = z.object({\n data: z.union([ShotstackGetAssets_AssetDataSchema, z.array(ShotstackGetAssets_AssetDataSchema)]),\n}).passthrough().describe(\"Response model containing asset details.\");\n\nexport const shotstackGetAssets = action(\"SHOTSTACK_GET_ASSETS\", {\n slug: \"shotstack-get-assets\",\n name: \"Get Asset\",\n description: \"Tool to fetch details of a hosted asset by its unique identifier. Use when you need to retrieve information about videos, images, audio files, thumbnails, or poster images hosted on Shotstack's CDN.\",\n input: ShotstackGetAssetsInput,\n output: ShotstackGetAssetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,EAC9I,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CA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,oCAAoC,EAAE,MAAM,kCAAkC,CAAC,CAAC,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-assets.mjs","names":[],"sources":["../../src/actions/get-assets.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackGetAssetsInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the asset to retrieve. Can be the asset ID, render ID, source ID, or rendition ID.\"),\n}).describe(\"Request model for retrieving an asset by ID.\");\nconst ShotstackGetAssets_AssetAttributesSchema = z.object({\n id: z.string().describe(\"Unique asset identifier (UUID).\").nullable().optional(),\n url: z.string().describe(\"Publicly accessible CDN URL for the asset.\").nullable().optional(),\n owner: z.string().describe(\"Account owner identifier.\").nullable().optional(),\n region: z.string().describe(\"Geographic region where asset is stored (e.g., 'au').\").nullable().optional(),\n status: z.string().describe(\"Current asset state. Values: 'ready' (available for use) or 'deleted' (no longer consuming storage).\").nullable().optional(),\n created: z.string().describe(\"Asset creation timestamp (ISO 8601 format).\").nullable().optional(),\n updated: z.string().describe(\"Last modification timestamp (ISO 8601 format).\").nullable().optional(),\n filename: z.string().describe(\"Name of the asset file.\").nullable().optional(),\n provider: z.string().describe(\"Hosting provider name (e.g., 'shotstack').\").nullable().optional(),\n renderId: z.string().describe(\"Associated render job identifier (if asset from render).\").nullable().optional(),\n sourceId: z.string().describe(\"Source identifier (if asset from ingestion service).\").nullable().optional(),\n providerId: z.string().describe(\"Third-party provider identifier.\").nullable().optional(),\n renditionId: z.string().describe(\"Rendition identifier (if asset from ingestion rendition).\").nullable().optional(),\n}).passthrough().describe(\"Attributes of an asset.\");\nconst ShotstackGetAssets_AssetDataSchema = z.object({\n type: z.string().describe(\"Resource type, always 'assets'.\").nullable().optional(),\n attributes: ShotstackGetAssets_AssetAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Asset data object following JSON:API specification.\");\nexport const ShotstackGetAssetsOutput = z.object({\n data: z.union([ShotstackGetAssets_AssetDataSchema, z.array(ShotstackGetAssets_AssetDataSchema)]),\n}).passthrough().describe(\"Response model containing asset details.\");\n\nexport const shotstackGetAssets: AppAction<\n typeof ShotstackGetAssetsInput,\n typeof ShotstackGetAssetsOutput,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_GET_ASSETS\", {\n slug: \"shotstack-get-assets\",\n name: \"Get Asset\",\n description: \"Tool to fetch details of a hosted asset by its unique identifier. Use when you need to retrieve information about videos, images, audio files, thumbnails, or poster images hosted on Shotstack's CDN.\",\n input: ShotstackGetAssetsInput,\n output: ShotstackGetAssetsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,EAC9I,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AACnD,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,yCAAyC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAK/E,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO,EAC/C,MAAM,EAAE,MAAM,CAAC,oCAAoC,EAAE,MAAM,kCAAkC,CAAC,CAAC,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-render-callback.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-render-callback.cjs","names":["z","action"],"sources":["../../src/actions/get-render-callback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackGetRenderCallbackInput = z.object({\n renderId: z.string().describe(\"The unique identifier of the render process.\"),\n}).describe(\"Request model for retrieving a render's callback settings.\");\nconst ShotstackGetRenderCallback_CallbackDataSchema = z.object({\n url: z.string().nullable(),\n status: z.string().describe(\"The current status of the callback.\").nullable(),\n attempts: z.number().int().describe(\"The number of callback attempts made.\").nullable(),\n responseBody: z.string().describe(\"Response body from the callback endpoint.\").nullable(),\n responseCode: z.number().int().describe(\"HTTP response code returned from callback calls.\").nullable(),\n lastAttemptedAt: z.string().describe(\"ISO8601 timestamp of the most recent callback attempt.\").nullable(),\n}).passthrough().describe(\"Details of the callback associated with a render.\");\nexport const ShotstackGetRenderCallbackOutput = z.object({\n data: ShotstackGetRenderCallback_CallbackDataSchema.nullable(),\n message: z.string().describe(\"Message describing the callback status.\").nullable(),\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).passthrough().describe(\"Response model for a render's callback settings.\");\n\nexport const shotstackGetRenderCallback = action(\"SHOTSTACK_GET_RENDER_CALLBACK\", {\n slug: \"shotstack-get-render-callback\",\n name: \"Get Render Callback\",\n description: \"Tool to retrieve the webhook/callback URL configuration for a specific render job. Returns only callback settings (URL, method, headers), not render status or output URLs — use a separate render-status check to obtain final results.\",\n input: ShotstackGetRenderCallbackInput,\n output: ShotstackGetRenderCallbackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC9E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CACzB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACrG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAM,8CAA8C,SAAS;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-render-callback.cjs","names":["z","action"],"sources":["../../src/actions/get-render-callback.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackGetRenderCallbackInput = z.object({\n renderId: z.string().describe(\"The unique identifier of the render process.\"),\n}).describe(\"Request model for retrieving a render's callback settings.\");\nconst ShotstackGetRenderCallback_CallbackDataSchema = z.object({\n url: z.string().nullable(),\n status: z.string().describe(\"The current status of the callback.\").nullable(),\n attempts: z.number().int().describe(\"The number of callback attempts made.\").nullable(),\n responseBody: z.string().describe(\"Response body from the callback endpoint.\").nullable(),\n responseCode: z.number().int().describe(\"HTTP response code returned from callback calls.\").nullable(),\n lastAttemptedAt: z.string().describe(\"ISO8601 timestamp of the most recent callback attempt.\").nullable(),\n}).passthrough().describe(\"Details of the callback associated with a render.\");\nexport const ShotstackGetRenderCallbackOutput = z.object({\n data: ShotstackGetRenderCallback_CallbackDataSchema.nullable(),\n message: z.string().describe(\"Message describing the callback status.\").nullable(),\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).passthrough().describe(\"Response model for a render's callback settings.\");\n\nexport const shotstackGetRenderCallback: AppAction<\n typeof ShotstackGetRenderCallbackInput,\n typeof ShotstackGetRenderCallbackOutput,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_GET_RENDER_CALLBACK\", {\n slug: \"shotstack-get-render-callback\",\n name: \"Get Render Callback\",\n description: \"Tool to retrieve the webhook/callback URL configuration for a specific render job. Returns only callback settings (URL, method, headers), not render status or output URLs — use a separate render-status check to obtain final results.\",\n input: ShotstackGetRenderCallbackInput,\n output: ShotstackGetRenderCallbackOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC9E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CACzB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACrG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAM,8CAA8C,SAAS;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { shotstack } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-render-callback.d.ts
@@ -16,9 +18,7 @@ declare const ShotstackGetRenderCallbackOutput: z.ZodObject<{
16
18
  message: z.ZodNullable<z.ZodString>;
17
19
  success: z.ZodNullable<z.ZodBoolean>;
18
20
  }, z.core.$loose>;
19
- declare const shotstackGetRenderCallback: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- renderId: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const shotstackGetRenderCallback: AppAction<typeof ShotstackGetRenderCallbackInput, typeof ShotstackGetRenderCallbackOutput, typeof shotstack.credential>;
22
22
  //#endregion
23
23
  export { shotstackGetRenderCallback };
24
24
  //# sourceMappingURL=get-render-callback.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-render-callback.d.cts","names":[],"sources":["../../src/actions/get-render-callback.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAW/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"get-render-callback.d.cts","names":[],"sources":["../../src/actions/get-render-callback.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAW/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { shotstack } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-render-callback.d.ts
@@ -16,9 +18,7 @@ declare const ShotstackGetRenderCallbackOutput: z.ZodObject<{
16
18
  message: z.ZodNullable<z.ZodString>;
17
19
  success: z.ZodNullable<z.ZodBoolean>;
18
20
  }, z.core.$loose>;
19
- declare const shotstackGetRenderCallback: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- renderId: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const shotstackGetRenderCallback: AppAction<typeof ShotstackGetRenderCallbackInput, typeof ShotstackGetRenderCallbackOutput, typeof shotstack.credential>;
22
22
  //#endregion
23
23
  export { shotstackGetRenderCallback };
24
24
  //# sourceMappingURL=get-render-callback.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-render-callback.d.mts","names":[],"sources":["../../src/actions/get-render-callback.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAW/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"get-render-callback.d.mts","names":[],"sources":["../../src/actions/get-render-callback.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAW/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-render-callback.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-render-callback.mjs","names":[],"sources":["../../src/actions/get-render-callback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackGetRenderCallbackInput = z.object({\n renderId: z.string().describe(\"The unique identifier of the render process.\"),\n}).describe(\"Request model for retrieving a render's callback settings.\");\nconst ShotstackGetRenderCallback_CallbackDataSchema = z.object({\n url: z.string().nullable(),\n status: z.string().describe(\"The current status of the callback.\").nullable(),\n attempts: z.number().int().describe(\"The number of callback attempts made.\").nullable(),\n responseBody: z.string().describe(\"Response body from the callback endpoint.\").nullable(),\n responseCode: z.number().int().describe(\"HTTP response code returned from callback calls.\").nullable(),\n lastAttemptedAt: z.string().describe(\"ISO8601 timestamp of the most recent callback attempt.\").nullable(),\n}).passthrough().describe(\"Details of the callback associated with a render.\");\nexport const ShotstackGetRenderCallbackOutput = z.object({\n data: ShotstackGetRenderCallback_CallbackDataSchema.nullable(),\n message: z.string().describe(\"Message describing the callback status.\").nullable(),\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).passthrough().describe(\"Response model for a render's callback settings.\");\n\nexport const shotstackGetRenderCallback = action(\"SHOTSTACK_GET_RENDER_CALLBACK\", {\n slug: \"shotstack-get-render-callback\",\n name: \"Get Render Callback\",\n description: \"Tool to retrieve the webhook/callback URL configuration for a specific render job. Returns only callback settings (URL, method, headers), not render status or output URLs — use a separate render-status check to obtain final results.\",\n input: ShotstackGetRenderCallbackInput,\n output: ShotstackGetRenderCallbackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC9E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS;CACzB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACrG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAO7E,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX8C,EAAE,OAAO;EACvD,MAAM,8CAA8C,SAAS;EAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-render-callback.mjs","names":[],"sources":["../../src/actions/get-render-callback.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackGetRenderCallbackInput = z.object({\n renderId: z.string().describe(\"The unique identifier of the render process.\"),\n}).describe(\"Request model for retrieving a render's callback settings.\");\nconst ShotstackGetRenderCallback_CallbackDataSchema = z.object({\n url: z.string().nullable(),\n status: z.string().describe(\"The current status of the callback.\").nullable(),\n attempts: z.number().int().describe(\"The number of callback attempts made.\").nullable(),\n responseBody: z.string().describe(\"Response body from the callback endpoint.\").nullable(),\n responseCode: z.number().int().describe(\"HTTP response code returned from callback calls.\").nullable(),\n lastAttemptedAt: z.string().describe(\"ISO8601 timestamp of the most recent callback attempt.\").nullable(),\n}).passthrough().describe(\"Details of the callback associated with a render.\");\nexport const ShotstackGetRenderCallbackOutput = z.object({\n data: ShotstackGetRenderCallback_CallbackDataSchema.nullable(),\n message: z.string().describe(\"Message describing the callback status.\").nullable(),\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n}).passthrough().describe(\"Response model for a render's callback settings.\");\n\nexport const shotstackGetRenderCallback: AppAction<\n typeof ShotstackGetRenderCallbackInput,\n typeof ShotstackGetRenderCallbackOutput,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_GET_RENDER_CALLBACK\", {\n slug: \"shotstack-get-render-callback\",\n name: \"Get Render Callback\",\n description: \"Tool to retrieve the webhook/callback URL configuration for a specific render job. Returns only callback settings (URL, method, headers), not render status or output URLs — use a separate render-status check to obtain final results.\",\n input: ShotstackGetRenderCallbackInput,\n output: ShotstackGetRenderCallbackOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO,EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EAC9E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS;CACzB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACrG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAO7E,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf8C,EAAE,OAAO;EACvD,MAAM,8CAA8C,SAAS;EAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-render-status.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-render-status.cjs","names":["z","action"],"sources":["../../src/actions/get-render-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackGetRenderStatusInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the render job to retrieve status for.\"),\n data: z.boolean().describe(\"Include the original timeline and output settings in the response. Default is false (will be deprecated to false soon).\").optional(),\n merged: z.boolean().describe(\"When used with data=true, shows merge fields merged into the data response.\").optional(),\n version: z.string().default(\"stage\").describe(\"API version to use. Use 'stage' for sandbox/testing or 'v1' for production.\").optional(),\n}).describe(\"Request model for retrieving render job status.\");\nconst ShotstackGetRenderStatus_EditDataSchema = z.object({\n disk: z.enum([\"local\", \"mount\"]).describe(\"Deprecated - formerly specified disk storage type; now handled automatically with no effect when set.\").nullable().optional(),\n merge: z.array(z.record(z.string(), z.unknown())).describe(\"An array of key/value pairs that provides an easy way to create templates with placeholders for dynamic content replacement.\").nullable().optional(),\n output: z.record(z.string(), z.unknown()).describe(\"Specifies the rendered output format and destination settings.\"),\n callback: z.string().describe(\"Optional webhook URL for receiving status notifications when rendering completes, fails, or when videos are sent to output destinations.\").nullable().optional(),\n timeline: z.record(z.string(), z.unknown()).describe(\"An edit defines the arrangement of a video on a timeline, an audio edit or an image design.\"),\n}).passthrough().describe(\"Timeline and output rendering data (Edit schema).\");\nconst ShotstackGetRenderStatus_RenderResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the render task in UUID format.\").nullable(),\n url: z.string().describe(\"The URL of the final asset (temporary, 24-hour validity).\").nullable().optional(),\n data: ShotstackGetRenderStatus_EditDataSchema.nullable().optional(),\n plan: z.string().describe(\"Customer subscription plan type.\").nullable().optional(),\n error: z.string().describe(\"An error message, only displayed if an error occurred.\").nullable().optional(),\n owner: z.string().describe(\"The owner ID of the render task.\").nullable(),\n poster: z.string().describe(\"The URL of the poster image if requested.\").nullable().optional(),\n status: z.enum([\"queued\", \"fetching\", \"preprocessing\", \"rendering\", \"saving\", \"done\", \"failed\"]).describe(\"The status of the render task.\").nullable(),\n created: z.string().describe(\"The time the render task was initially queued.\").nullable().optional(),\n updated: z.string().describe(\"The time the render status was last updated.\").nullable().optional(),\n duration: z.number().describe(\"The output video or audio length in seconds.\").nullable().optional(),\n thumbnail: z.string().describe(\"The URL of the thumbnail image if requested.\").nullable().optional(),\n renderTime: z.number().describe(\"The time taken to render the asset in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Render job details and status information.\");\nexport const ShotstackGetRenderStatusOutput = z.object({\n message: z.string().describe(\"OK or an error message.\").nullable(),\n success: z.boolean().describe(\"true if status available, else false.\").nullable(),\n response: ShotstackGetRenderStatus_RenderResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing render job status and details.\");\n\nexport const shotstackGetRenderStatus = action(\"SHOTSTACK_GET_RENDER_STATUS\", {\n slug: \"shotstack-get-render-status\",\n name: \"Get Render Status\",\n description: \"Tool to retrieve the current status and details of a Shotstack render job by render ID. Use when polling a render until done or failed, typically after creating a render with SHOTSTACK_RENDER_VIDEO.\",\n input: ShotstackGetRenderStatusInput,\n output: ShotstackGetRenderStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CAC/J,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACrH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvK,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/M,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE;CACnH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9L,UAAUA,IAAAA,E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AAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,UAAU,kDAAkD,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-render-status.cjs","names":["z","action"],"sources":["../../src/actions/get-render-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackGetRenderStatusInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the render job to retrieve status for.\"),\n data: z.boolean().describe(\"Include the original timeline and output settings in the response. Default is false (will be deprecated to false soon).\").optional(),\n merged: z.boolean().describe(\"When used with data=true, shows merge fields merged into the data response.\").optional(),\n version: z.string().default(\"stage\").describe(\"API version to use. Use 'stage' for sandbox/testing or 'v1' for production.\").optional(),\n}).describe(\"Request model for retrieving render job status.\");\nconst ShotstackGetRenderStatus_EditDataSchema = z.object({\n disk: z.enum([\"local\", \"mount\"]).describe(\"Deprecated - formerly specified disk storage type; now handled automatically with no effect when set.\").nullable().optional(),\n merge: z.array(z.record(z.string(), z.unknown())).describe(\"An array of key/value pairs that provides an easy way to create templates with placeholders for dynamic content replacement.\").nullable().optional(),\n output: z.record(z.string(), z.unknown()).describe(\"Specifies the rendered output format and destination settings.\"),\n callback: z.string().describe(\"Optional webhook URL for receiving status notifications when rendering completes, fails, or when videos are sent to output destinations.\").nullable().optional(),\n timeline: z.record(z.string(), z.unknown()).describe(\"An edit defines the arrangement of a video on a timeline, an audio edit or an image design.\"),\n}).passthrough().describe(\"Timeline and output rendering data (Edit schema).\");\nconst ShotstackGetRenderStatus_RenderResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the render task in UUID format.\").nullable(),\n url: z.string().describe(\"The URL of the final asset (temporary, 24-hour validity).\").nullable().optional(),\n data: ShotstackGetRenderStatus_EditDataSchema.nullable().optional(),\n plan: z.string().describe(\"Customer subscription plan type.\").nullable().optional(),\n error: z.string().describe(\"An error message, only displayed if an error occurred.\").nullable().optional(),\n owner: z.string().describe(\"The owner ID of the render task.\").nullable(),\n poster: z.string().describe(\"The URL of the poster image if requested.\").nullable().optional(),\n status: z.enum([\"queued\", \"fetching\", \"preprocessing\", \"rendering\", \"saving\", \"done\", \"failed\"]).describe(\"The status of the render task.\").nullable(),\n created: z.string().describe(\"The time the render task was initially queued.\").nullable().optional(),\n updated: z.string().describe(\"The time the render status was last updated.\").nullable().optional(),\n duration: z.number().describe(\"The output video or audio length in seconds.\").nullable().optional(),\n thumbnail: z.string().describe(\"The URL of the thumbnail image if requested.\").nullable().optional(),\n renderTime: z.number().describe(\"The time taken to render the asset in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Render job details and status information.\");\nexport const ShotstackGetRenderStatusOutput = z.object({\n message: z.string().describe(\"OK or an error message.\").nullable(),\n success: z.boolean().describe(\"true if status available, else false.\").nullable(),\n response: ShotstackGetRenderStatus_RenderResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing render job status and details.\");\n\nexport const shotstackGetRenderStatus: AppAction<\n typeof ShotstackGetRenderStatusInput,\n typeof ShotstackGetRenderStatusOutput,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_GET_RENDER_STATUS\", {\n slug: \"shotstack-get-render-status\",\n name: \"Get Render Status\",\n description: \"Tool to retrieve the current status and details of a Shotstack render job by render ID. Use when polling a render until done or failed, typically after creating a render with SHOTSTACK_RENDER_VIDEO.\",\n input: ShotstackGetRenderStatusInput,\n output: ShotstackGetRenderStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CAC/J,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACrH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvK,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/M,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE;CACnH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9L,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAA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C,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,UAAU,kDAAkD,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { shotstack } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-render-status.d.ts
@@ -43,12 +45,7 @@ declare const ShotstackGetRenderStatusOutput: z.ZodObject<{
43
45
  renderTime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
46
  }, z.core.$loose>>;
45
47
  }, z.core.$loose>;
46
- declare const shotstackGetRenderStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
47
- id: string;
48
- data?: boolean | undefined;
49
- merged?: boolean | undefined;
50
- version?: string | undefined;
51
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
48
+ declare const shotstackGetRenderStatus: AppAction<typeof ShotstackGetRenderStatusInput, typeof ShotstackGetRenderStatusOutput, typeof shotstack.credential>;
52
49
  //#endregion
53
50
  export { shotstackGetRenderStatus };
54
51
  //# sourceMappingURL=get-render-status.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-render-status.d.cts","names":[],"sources":["../../src/actions/get-render-status.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cA4B7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-render-status.d.cts","names":[],"sources":["../../src/actions/get-render-status.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cA4B7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { shotstack } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-render-status.d.ts
@@ -43,12 +45,7 @@ declare const ShotstackGetRenderStatusOutput: z.ZodObject<{
43
45
  renderTime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
46
  }, z.core.$loose>>;
45
47
  }, z.core.$loose>;
46
- declare const shotstackGetRenderStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
47
- id: string;
48
- data?: boolean | undefined;
49
- merged?: boolean | undefined;
50
- version?: string | undefined;
51
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
48
+ declare const shotstackGetRenderStatus: AppAction<typeof ShotstackGetRenderStatusInput, typeof ShotstackGetRenderStatusOutput, typeof shotstack.credential>;
52
49
  //#endregion
53
50
  export { shotstackGetRenderStatus };
54
51
  //# sourceMappingURL=get-render-status.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-render-status.d.mts","names":[],"sources":["../../src/actions/get-render-status.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cA4B7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-render-status.d.mts","names":[],"sources":["../../src/actions/get-render-status.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cA4B7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-render-status.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-render-status.mjs","names":[],"sources":["../../src/actions/get-render-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackGetRenderStatusInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the render job to retrieve status for.\"),\n data: z.boolean().describe(\"Include the original timeline and output settings in the response. Default is false (will be deprecated to false soon).\").optional(),\n merged: z.boolean().describe(\"When used with data=true, shows merge fields merged into the data response.\").optional(),\n version: z.string().default(\"stage\").describe(\"API version to use. Use 'stage' for sandbox/testing or 'v1' for production.\").optional(),\n}).describe(\"Request model for retrieving render job status.\");\nconst ShotstackGetRenderStatus_EditDataSchema = z.object({\n disk: z.enum([\"local\", \"mount\"]).describe(\"Deprecated - formerly specified disk storage type; now handled automatically with no effect when set.\").nullable().optional(),\n merge: z.array(z.record(z.string(), z.unknown())).describe(\"An array of key/value pairs that provides an easy way to create templates with placeholders for dynamic content replacement.\").nullable().optional(),\n output: z.record(z.string(), z.unknown()).describe(\"Specifies the rendered output format and destination settings.\"),\n callback: z.string().describe(\"Optional webhook URL for receiving status notifications when rendering completes, fails, or when videos are sent to output destinations.\").nullable().optional(),\n timeline: z.record(z.string(), z.unknown()).describe(\"An edit defines the arrangement of a video on a timeline, an audio edit or an image design.\"),\n}).passthrough().describe(\"Timeline and output rendering data (Edit schema).\");\nconst ShotstackGetRenderStatus_RenderResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the render task in UUID format.\").nullable(),\n url: z.string().describe(\"The URL of the final asset (temporary, 24-hour validity).\").nullable().optional(),\n data: ShotstackGetRenderStatus_EditDataSchema.nullable().optional(),\n plan: z.string().describe(\"Customer subscription plan type.\").nullable().optional(),\n error: z.string().describe(\"An error message, only displayed if an error occurred.\").nullable().optional(),\n owner: z.string().describe(\"The owner ID of the render task.\").nullable(),\n poster: z.string().describe(\"The URL of the poster image if requested.\").nullable().optional(),\n status: z.enum([\"queued\", \"fetching\", \"preprocessing\", \"rendering\", \"saving\", \"done\", \"failed\"]).describe(\"The status of the render task.\").nullable(),\n created: z.string().describe(\"The time the render task was initially queued.\").nullable().optional(),\n updated: z.string().describe(\"The time the render status was last updated.\").nullable().optional(),\n duration: z.number().describe(\"The output video or audio length in seconds.\").nullable().optional(),\n thumbnail: z.string().describe(\"The URL of the thumbnail image if requested.\").nullable().optional(),\n renderTime: z.number().describe(\"The time taken to render the asset in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Render job details and status information.\");\nexport const ShotstackGetRenderStatusOutput = z.object({\n message: z.string().describe(\"OK or an error message.\").nullable(),\n success: z.boolean().describe(\"true if status available, else false.\").nullable(),\n response: ShotstackGetRenderStatus_RenderResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing render job status and details.\");\n\nexport const shotstackGetRenderStatus = action(\"SHOTSTACK_GET_RENDER_STATUS\", {\n slug: \"shotstack-get-render-status\",\n name: \"Get Render Status\",\n description: \"Tool to retrieve the current status and details of a Shotstack render job by render ID. Use when polling a render until done or failed, typically after creating a render with SHOTSTACK_REN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C,CAAC,SAAS;EAChF,UAAU,kDAAkD,SAAS;CACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-render-status.mjs","names":[],"sources":["../../src/actions/get-render-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackGetRenderStatusInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the render job to retrieve status for.\"),\n data: z.boolean().describe(\"Include the original timeline and output settings in the response. Default is false (will be deprecated to false soon).\").optional(),\n merged: z.boolean().describe(\"When used with data=true, shows merge fields merged into the data response.\").optional(),\n version: z.string().default(\"stage\").describe(\"API version to use. Use 'stage' for sandbox/testing or 'v1' for production.\").optional(),\n}).describe(\"Request model for retrieving render job status.\");\nconst ShotstackGetRenderStatus_EditDataSchema = z.object({\n disk: z.enum([\"local\", \"mount\"]).describe(\"Deprecated - formerly specified disk storage type; now handled automatically with no effect when set.\").nullable().optional(),\n merge: z.array(z.record(z.string(), z.unknown())).describe(\"An array of key/value pairs that provides an easy way to create templates with placeholders for dynamic content replacement.\").nullable().optional(),\n output: z.record(z.string(), z.unknown()).describe(\"Specifies the rendered output format and destination settings.\"),\n callback: z.string().describe(\"Optional webhook URL for receiving status notifications when rendering completes, fails, or when videos are sent to output destinations.\").nullable().optional(),\n timeline: z.record(z.string(), z.unknown()).describe(\"An edit defines the arrangement of a video on a timeline, an audio edit or an image design.\"),\n}).passthrough().describe(\"Timeline and output rendering data (Edit schema).\");\nconst ShotstackGetRenderStatus_RenderResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the render task in UUID format.\").nullable(),\n url: z.string().describe(\"The URL of the final asset (temporary, 24-hour validity).\").nullable().optional(),\n data: ShotstackGetRenderStatus_EditDataSchema.nullable().optional(),\n plan: z.string().describe(\"Customer subscription plan type.\").nullable().optional(),\n error: z.string().describe(\"An error message, only displayed if an error occurred.\").nullable().optional(),\n owner: z.string().describe(\"The owner ID of the render task.\").nullable(),\n poster: z.string().describe(\"The URL of the poster image if requested.\").nullable().optional(),\n status: z.enum([\"queued\", \"fetching\", \"preprocessing\", \"rendering\", \"saving\", \"done\", \"failed\"]).describe(\"The status of the render task.\").nullable(),\n created: z.string().describe(\"The time the render task was initially queued.\").nullable().optional(),\n updated: z.string().describe(\"The time the render status was last updated.\").nullable().optional(),\n duration: z.number().describe(\"The output video or audio length in seconds.\").nullable().optional(),\n thumbnail: z.string().describe(\"The URL of the thumbnail image if requested.\").nullable().optional(),\n renderTime: z.number().describe(\"The time taken to render the asset in milliseconds.\").nullable().optional(),\n}).passthrough().describe(\"Render job details and status information.\");\nexport const ShotstackGetRenderStatusOutput = z.object({\n message: z.string().describe(\"OK or an error message.\").nullable(),\n success: z.boolean().describe(\"true if status available, else false.\").nullable(),\n response: ShotstackGetRenderStatus_RenderResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing render job status and details.\");\n\nexport const shotstackGetRenderStatus: AppAction<\n typeof ShotstackGetRenderStatusInput,\n typeof ShotstackGetRenderStatusOutput,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_GET_RENDER_STATUS\", {\n slug: \"shotstack-get-render-status\",\n name: \"Get Render Status\",\n description: \"Tool to retrieve the current status and details of a Shotstack render job by render ID. Use when polling a render until done or failed, typically after creating a render with SHOTSTACK_RENDER_VIDEO.\",\n input: ShotstackGetRenderStatusInput,\n output: ShotstackGetRenderStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CAC/J,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACrH,SAAS,EAAE,OAAO,CAAC,CA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CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQ,EAAE,KAAK;EAAC;EAAU;EAAY;EAAiB;EAAa;EAAU;EAAQ;CAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAOtE,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf4C,EAAE,OAAO;EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACjE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChF,UAAU,kDAAkD,SAAS;CACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-source.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-source.cjs","names":["z","action"],"sources":["../../src/actions/get-source.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackGetSourceInput = z.object({\n id: z.string().describe(\"Unique identifier of the source asset to retrieve.\"),\n}).describe(\"Request model for retrieving a source asset by ID.\");\nconst ShotstackGetSource_SourceAttributesSchema = z.object({\n id: z.string().describe(\"The unique identifier for the source asset.\").nullable(),\n fps: z.number().describe(\"Frame rate of the video.\").nullable().optional(),\n error: z.string().describe(\"Error message if ingestion failed.\").nullable().optional(),\n input: z.string().describe(\"The original input URL that was ingested.\").nullable(),\n owner: z.string().describe(\"The owner identifier for the source asset.\").nullable(),\n width: z.number().int().describe(\"Width of the media in pixels (for video/image).\").nullable().optional(),\n height: z.number().int().describe(\"Height of the media in pixels (for video/image).\").nullable().optional(),\n source: z.string().describe(\"The URL of the ingested source file in Shotstack storage.\").nullable().optional(),\n status: z.string().describe(\"The ingestion status of the source (e.g., pending, ready, failed).\").nullable(),\n created: z.string().describe(\"ISO 8601 timestamp when the source was ingested.\").nullable(),\n updated: z.string().describe(\"ISO 8601 timestamp when the source status was last updated.\").nullable(),\n duration: z.number().describe(\"Duration of the media in seconds (for video/audio).\").nullable().optional(),\n filesize: z.number().int().describe(\"The file size in bytes.\").nullable().optional(),\n extension: z.string().describe(\"The file extension of the source.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a source asset.\");\nconst ShotstackGetSource_SourceDataSchema = z.object({\n id: z.string().describe(\"The unique identifier for the source asset.\").nullable(),\n type: z.string().describe(\"The resource type (always 'source').\").nullable(),\n attributes: ShotstackGetSource_SourceAttributesSchema.nullable(),\n}).passthrough().describe(\"JSON:API format source data wrapper.\");\nexport const ShotstackGetSourceOutput = z.object({\n data: ShotstackGetSource_SourceDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing details of the requested source asset.\");\n\nexport const shotstackGetSource = action(\"SHOTSTACK_GET_SOURCE\", {\n slug: \"shotstack-get-source\",\n name: \"Get Source Details\",\n description: \"Tool to fetch the details of a specific source asset. Use when you need to inspect a source after uploading, check its status, or diagnose ingest/render failures—such as unsupported codecs, corrupt files, or bad UR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rG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,YAAY,0CAA0C,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAE5F,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-source.cjs","names":["z","action"],"sources":["../../src/actions/get-source.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shotstack } from \"../app\";\n\nexport const ShotstackGetSourceInput = z.object({\n id: z.string().describe(\"Unique identifier of the source asset to retrieve.\"),\n}).describe(\"Request model for retrieving a source asset by ID.\");\nconst ShotstackGetSource_SourceAttributesSchema = z.object({\n id: z.string().describe(\"The unique identifier for the source asset.\").nullable(),\n fps: z.number().describe(\"Frame rate of the video.\").nullable().optional(),\n error: z.string().describe(\"Error message if ingestion failed.\").nullable().optional(),\n input: z.string().describe(\"The original input URL that was ingested.\").nullable(),\n owner: z.string().describe(\"The owner identifier for the source asset.\").nullable(),\n width: z.number().int().describe(\"Width of the media in pixels (for video/image).\").nullable().optional(),\n height: z.number().int().describe(\"Height of the media in pixels (for video/image).\").nullable().optional(),\n source: z.string().describe(\"The URL of the ingested source file in Shotstack storage.\").nullable().optional(),\n status: z.string().describe(\"The ingestion status of the source (e.g., pending, ready, failed).\").nullable(),\n created: z.string().describe(\"ISO 8601 timestamp when the source was ingested.\").nullable(),\n updated: z.string().describe(\"ISO 8601 timestamp when the source status was last updated.\").nullable(),\n duration: z.number().describe(\"Duration of the media in seconds (for video/audio).\").nullable().optional(),\n filesize: z.number().int().describe(\"The file size in bytes.\").nullable().optional(),\n extension: z.string().describe(\"The file extension of the source.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of a source asset.\");\nconst ShotstackGetSource_SourceDataSchema = z.object({\n id: z.string().describe(\"The unique identifier for the source asset.\").nullable(),\n type: z.string().describe(\"The resource type (always 'source').\").nullable(),\n attributes: ShotstackGetSource_SourceAttributesSchema.nullable(),\n}).passthrough().describe(\"JSON:API format source data wrapper.\");\nexport const ShotstackGetSourceOutput = z.object({\n data: ShotstackGetSource_SourceDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing details of the requested source asset.\");\n\nexport const shotstackGetSource: AppAction<\n typeof ShotstackGetSourceInput,\n typeof ShotstackGetSourceOutput,\n typeof shotstack.credential\n> = action(\"SHOTSTACK_GET_SOURCE\", {\n slug: \"shotstack-get-source\",\n name: \"Get Source Details\",\n description: \"Tool to fetch the details of a specific source asset. Use when you need to inspect a source after uploading, check its status, or diagnose ingest/render failures—such as unsupported codecs, corrupt files, or bad URLs—before retrying.\",\n input: ShotstackGetSourceInput,\n output: ShotstackGetSourceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO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