@keystrokehq/shotstack 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) 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 +4 -4
  4. package/dist/actions/create-template.cjs.map +1 -1
  5. package/dist/actions/create-template.d.cts +21 -3
  6. package/dist/actions/create-template.d.cts.map +1 -1
  7. package/dist/actions/create-template.d.mts +21 -3
  8. package/dist/actions/create-template.d.mts.map +1 -1
  9. package/dist/actions/create-template.mjs +4 -4
  10. package/dist/actions/create-template.mjs.map +1 -1
  11. package/dist/actions/create-template2.cjs +7 -7
  12. package/dist/actions/create-template2.cjs.map +1 -1
  13. package/dist/actions/create-template2.d.cts +89 -3
  14. package/dist/actions/create-template2.d.cts.map +1 -1
  15. package/dist/actions/create-template2.d.mts +89 -3
  16. package/dist/actions/create-template2.d.mts.map +1 -1
  17. package/dist/actions/create-template2.mjs +7 -7
  18. package/dist/actions/create-template2.mjs.map +1 -1
  19. package/dist/actions/delete-ingested-media.cjs +3 -3
  20. package/dist/actions/delete-ingested-media.cjs.map +1 -1
  21. package/dist/actions/delete-ingested-media.d.cts +10 -3
  22. package/dist/actions/delete-ingested-media.d.cts.map +1 -1
  23. package/dist/actions/delete-ingested-media.d.mts +10 -3
  24. package/dist/actions/delete-ingested-media.d.mts.map +1 -1
  25. package/dist/actions/delete-ingested-media.mjs +3 -3
  26. package/dist/actions/delete-ingested-media.mjs.map +1 -1
  27. package/dist/actions/delete-template2.cjs +3 -3
  28. package/dist/actions/delete-template2.cjs.map +1 -1
  29. package/dist/actions/delete-template2.d.cts +10 -3
  30. package/dist/actions/delete-template2.d.cts.map +1 -1
  31. package/dist/actions/delete-template2.d.mts +10 -3
  32. package/dist/actions/delete-template2.d.mts.map +1 -1
  33. package/dist/actions/delete-template2.mjs +3 -3
  34. package/dist/actions/delete-template2.mjs.map +1 -1
  35. package/dist/actions/delete-workflow.cjs +3 -3
  36. package/dist/actions/delete-workflow.cjs.map +1 -1
  37. package/dist/actions/delete-workflow.d.cts +10 -3
  38. package/dist/actions/delete-workflow.d.cts.map +1 -1
  39. package/dist/actions/delete-workflow.d.mts +10 -3
  40. package/dist/actions/delete-workflow.d.mts.map +1 -1
  41. package/dist/actions/delete-workflow.mjs +3 -3
  42. package/dist/actions/delete-workflow.mjs.map +1 -1
  43. package/dist/actions/fetch-source.cjs +4 -4
  44. package/dist/actions/fetch-source.cjs.map +1 -1
  45. package/dist/actions/fetch-source.d.cts +12 -3
  46. package/dist/actions/fetch-source.d.cts.map +1 -1
  47. package/dist/actions/fetch-source.d.mts +12 -3
  48. package/dist/actions/fetch-source.d.mts.map +1 -1
  49. package/dist/actions/fetch-source.mjs +4 -4
  50. package/dist/actions/fetch-source.mjs.map +1 -1
  51. package/dist/actions/get-assets-render.cjs +3 -3
  52. package/dist/actions/get-assets-render.cjs.map +1 -1
  53. package/dist/actions/get-assets-render.d.cts +23 -3
  54. package/dist/actions/get-assets-render.d.cts.map +1 -1
  55. package/dist/actions/get-assets-render.d.mts +23 -3
  56. package/dist/actions/get-assets-render.d.mts.map +1 -1
  57. package/dist/actions/get-assets-render.mjs +3 -3
  58. package/dist/actions/get-assets-render.mjs.map +1 -1
  59. package/dist/actions/get-assets.cjs +3 -3
  60. package/dist/actions/get-assets.cjs.map +1 -1
  61. package/dist/actions/get-assets.d.cts +43 -3
  62. package/dist/actions/get-assets.d.cts.map +1 -1
  63. package/dist/actions/get-assets.d.mts +43 -3
  64. package/dist/actions/get-assets.d.mts.map +1 -1
  65. package/dist/actions/get-assets.mjs +3 -3
  66. package/dist/actions/get-assets.mjs.map +1 -1
  67. package/dist/actions/get-render-callback.cjs +9 -9
  68. package/dist/actions/get-render-callback.cjs.map +1 -1
  69. package/dist/actions/get-render-callback.d.cts +18 -3
  70. package/dist/actions/get-render-callback.d.cts.map +1 -1
  71. package/dist/actions/get-render-callback.d.mts +18 -3
  72. package/dist/actions/get-render-callback.d.mts.map +1 -1
  73. package/dist/actions/get-render-callback.mjs +9 -9
  74. package/dist/actions/get-render-callback.mjs.map +1 -1
  75. package/dist/actions/get-render-status.cjs +8 -8
  76. package/dist/actions/get-render-status.cjs.map +1 -1
  77. package/dist/actions/get-render-status.d.cts +48 -3
  78. package/dist/actions/get-render-status.d.cts.map +1 -1
  79. package/dist/actions/get-render-status.d.mts +48 -3
  80. package/dist/actions/get-render-status.d.mts.map +1 -1
  81. package/dist/actions/get-render-status.mjs +8 -8
  82. package/dist/actions/get-render-status.mjs.map +1 -1
  83. package/dist/actions/get-source.cjs +10 -10
  84. package/dist/actions/get-source.cjs.map +1 -1
  85. package/dist/actions/get-source.d.cts +28 -3
  86. package/dist/actions/get-source.d.cts.map +1 -1
  87. package/dist/actions/get-source.d.mts +28 -3
  88. package/dist/actions/get-source.d.mts.map +1 -1
  89. package/dist/actions/get-source.mjs +10 -10
  90. package/dist/actions/get-source.mjs.map +1 -1
  91. package/dist/actions/get-template-by-version.cjs +8 -8
  92. package/dist/actions/get-template-by-version.cjs.map +1 -1
  93. package/dist/actions/get-template-by-version.d.cts +25 -3
  94. package/dist/actions/get-template-by-version.d.cts.map +1 -1
  95. package/dist/actions/get-template-by-version.d.mts +25 -3
  96. package/dist/actions/get-template-by-version.d.mts.map +1 -1
  97. package/dist/actions/get-template-by-version.mjs +8 -8
  98. package/dist/actions/get-template-by-version.mjs.map +1 -1
  99. package/dist/actions/get-template.cjs +7 -7
  100. package/dist/actions/get-template.cjs.map +1 -1
  101. package/dist/actions/get-template.d.cts +23 -3
  102. package/dist/actions/get-template.d.cts.map +1 -1
  103. package/dist/actions/get-template.d.mts +23 -3
  104. package/dist/actions/get-template.d.mts.map +1 -1
  105. package/dist/actions/get-template.mjs +7 -7
  106. package/dist/actions/get-template.mjs.map +1 -1
  107. package/dist/actions/get-upload-url.cjs +8 -8
  108. package/dist/actions/get-upload-url.cjs.map +1 -1
  109. package/dist/actions/get-upload-url.d.cts +17 -3
  110. package/dist/actions/get-upload-url.d.cts.map +1 -1
  111. package/dist/actions/get-upload-url.d.mts +17 -3
  112. package/dist/actions/get-upload-url.d.mts.map +1 -1
  113. package/dist/actions/get-upload-url.mjs +8 -8
  114. package/dist/actions/get-upload-url.mjs.map +1 -1
  115. package/dist/actions/inspect-media.cjs +4 -4
  116. package/dist/actions/inspect-media.cjs.map +1 -1
  117. package/dist/actions/inspect-media.d.cts +83 -3
  118. package/dist/actions/inspect-media.d.cts.map +1 -1
  119. package/dist/actions/inspect-media.d.mts +83 -3
  120. package/dist/actions/inspect-media.d.mts.map +1 -1
  121. package/dist/actions/inspect-media.mjs +4 -4
  122. package/dist/actions/inspect-media.mjs.map +1 -1
  123. package/dist/actions/list-sources.cjs +13 -13
  124. package/dist/actions/list-sources.cjs.map +1 -1
  125. package/dist/actions/list-sources.d.cts +38 -3
  126. package/dist/actions/list-sources.d.cts.map +1 -1
  127. package/dist/actions/list-sources.d.mts +38 -3
  128. package/dist/actions/list-sources.d.mts.map +1 -1
  129. package/dist/actions/list-sources.mjs +13 -13
  130. package/dist/actions/list-sources.mjs.map +1 -1
  131. package/dist/actions/list-sources2.cjs +11 -11
  132. package/dist/actions/list-sources2.cjs.map +1 -1
  133. package/dist/actions/list-sources2.d.cts +43 -3
  134. package/dist/actions/list-sources2.d.cts.map +1 -1
  135. package/dist/actions/list-sources2.d.mts +43 -3
  136. package/dist/actions/list-sources2.d.mts.map +1 -1
  137. package/dist/actions/list-sources2.mjs +11 -11
  138. package/dist/actions/list-sources2.mjs.map +1 -1
  139. package/dist/actions/list-templates.cjs +9 -9
  140. package/dist/actions/list-templates.cjs.map +1 -1
  141. package/dist/actions/list-templates.d.cts +15 -3
  142. package/dist/actions/list-templates.d.cts.map +1 -1
  143. package/dist/actions/list-templates.d.mts +15 -3
  144. package/dist/actions/list-templates.d.mts.map +1 -1
  145. package/dist/actions/list-templates.mjs +9 -9
  146. package/dist/actions/list-templates.mjs.map +1 -1
  147. package/dist/actions/list-templates2.cjs +10 -10
  148. package/dist/actions/list-templates2.cjs.map +1 -1
  149. package/dist/actions/list-templates2.d.cts +22 -3
  150. package/dist/actions/list-templates2.d.cts.map +1 -1
  151. package/dist/actions/list-templates2.d.mts +22 -3
  152. package/dist/actions/list-templates2.d.mts.map +1 -1
  153. package/dist/actions/list-templates2.mjs +10 -10
  154. package/dist/actions/list-templates2.mjs.map +1 -1
  155. package/dist/actions/post-upload.cjs +8 -8
  156. package/dist/actions/post-upload.cjs.map +1 -1
  157. package/dist/actions/post-upload.d.cts +13 -3
  158. package/dist/actions/post-upload.d.cts.map +1 -1
  159. package/dist/actions/post-upload.d.mts +13 -3
  160. package/dist/actions/post-upload.d.mts.map +1 -1
  161. package/dist/actions/post-upload.mjs +8 -8
  162. package/dist/actions/post-upload.mjs.map +1 -1
  163. package/dist/actions/render-video.cjs +5 -5
  164. package/dist/actions/render-video.cjs.map +1 -1
  165. package/dist/actions/render-video.d.cts +21 -3
  166. package/dist/actions/render-video.d.cts.map +1 -1
  167. package/dist/actions/render-video.d.mts +21 -3
  168. package/dist/actions/render-video.d.mts.map +1 -1
  169. package/dist/actions/render-video.mjs +5 -5
  170. package/dist/actions/render-video.mjs.map +1 -1
  171. package/dist/actions/transfer-asset.cjs +4 -4
  172. package/dist/actions/transfer-asset.cjs.map +1 -1
  173. package/dist/actions/transfer-asset.d.cts +30 -3
  174. package/dist/actions/transfer-asset.d.cts.map +1 -1
  175. package/dist/actions/transfer-asset.d.mts +30 -3
  176. package/dist/actions/transfer-asset.d.mts.map +1 -1
  177. package/dist/actions/transfer-asset.mjs +4 -4
  178. package/dist/actions/transfer-asset.mjs.map +1 -1
  179. package/dist/actions/update-template.cjs +5 -5
  180. package/dist/actions/update-template.cjs.map +1 -1
  181. package/dist/actions/update-template.d.cts +18 -3
  182. package/dist/actions/update-template.d.cts.map +1 -1
  183. package/dist/actions/update-template.d.mts +18 -3
  184. package/dist/actions/update-template.d.mts.map +1 -1
  185. package/dist/actions/update-template.mjs +5 -5
  186. package/dist/actions/update-template.mjs.map +1 -1
  187. package/dist/catalog.cjs +13 -1
  188. package/dist/catalog.cjs.map +1 -1
  189. package/dist/catalog.d.cts +12 -0
  190. package/dist/catalog.d.mts +12 -0
  191. package/dist/catalog.mjs +13 -1
  192. package/dist/catalog.mjs.map +1 -1
  193. package/package.json +2 -2
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/render-video.d.ts
4
- declare const ShotstackRenderVideoInput: z.ZodTypeAny;
5
- declare const ShotstackRenderVideoOutput: z.ZodTypeAny;
6
- declare const shotstackRenderVideo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShotstackRenderVideoInput: z.ZodObject<{
5
+ output: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
+ callback: z.ZodOptional<z.ZodString>;
7
+ timeline: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
+ }, z.core.$strip>;
9
+ declare const ShotstackRenderVideoOutput: z.ZodObject<{
10
+ message: z.ZodNullable<z.ZodString>;
11
+ success: z.ZodNullable<z.ZodBoolean>;
12
+ response: z.ZodNullable<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodString>;
14
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$loose>>;
19
+ }, z.core.$loose>;
20
+ declare const shotstackRenderVideo: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ output: Record<string, unknown>;
22
+ timeline: Record<string, unknown>;
23
+ callback?: string | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { shotstackRenderVideo };
9
27
  //# sourceMappingURL=render-video.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"render-video.d.cts","names":[],"sources":["../../src/actions/render-video.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAIxC;AAAA,cAQW,0BAAA,EAA4B,CAAA,CAAE,UAIzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"render-video.d.cts","names":[],"sources":["../../src/actions/render-video.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAM1B,oBAAA,gCAAoB,wBAAA;UAM/B,MAAA;YAAA,MAAA"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/render-video.d.ts
4
- declare const ShotstackRenderVideoInput: z.ZodTypeAny;
5
- declare const ShotstackRenderVideoOutput: z.ZodTypeAny;
6
- declare const shotstackRenderVideo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShotstackRenderVideoInput: z.ZodObject<{
5
+ output: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
+ callback: z.ZodOptional<z.ZodString>;
7
+ timeline: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
+ }, z.core.$strip>;
9
+ declare const ShotstackRenderVideoOutput: z.ZodObject<{
10
+ message: z.ZodNullable<z.ZodString>;
11
+ success: z.ZodNullable<z.ZodBoolean>;
12
+ response: z.ZodNullable<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodString>;
14
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$loose>>;
19
+ }, z.core.$loose>;
20
+ declare const shotstackRenderVideo: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ output: Record<string, unknown>;
22
+ timeline: Record<string, unknown>;
23
+ callback?: string | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { shotstackRenderVideo };
9
27
  //# sourceMappingURL=render-video.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"render-video.d.mts","names":[],"sources":["../../src/actions/render-video.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAIxC;AAAA,cAQW,0BAAA,EAA4B,CAAA,CAAE,UAIzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"render-video.d.mts","names":[],"sources":["../../src/actions/render-video.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAM1B,oBAAA,gCAAoB,wBAAA;UAM/B,MAAA;YAAA,MAAA"}
@@ -7,22 +7,22 @@ const ShotstackRenderVideoInput = z.object({
7
7
  timeline: z.record(z.string(), z.unknown()).describe("Timeline definition describing the sequence of tracks, clips, and transitions. Each track contains clips with an 'asset' (required), 'start' and 'length' (seconds), optional 'effect' (e.g. zoomIn, slideLeft, zoomOut), 'transform' (rotate/skew/flip -- NOTE: use 'transform' NOT 'transformations'), 'filter', 'opacity' (0-1), and 'transition'. Asset types: video, image, audio (require 'src'); title (requires 'text'); html; luma.")
8
8
  });
9
9
  const ShotstackRenderVideo_RenderResponseDataSchema = z.object({
10
- id: z.string().describe("Unique identifier for the render job"),
10
+ id: z.string().describe("Unique identifier for the render job").nullable(),
11
11
  url: z.string().describe("URL to check render status and retrieve results").nullable().optional(),
12
12
  owner: z.string().describe("Owner associated with the render job").nullable().optional(),
13
13
  status: z.string().describe("Initial status of the render job (e.g., queued)").nullable().optional(),
14
14
  message: z.string().describe("Status message for the render job").nullable().optional()
15
- }).describe("Metadata about the initiated render job.");
15
+ }).passthrough().describe("Metadata about the initiated render job.");
16
16
  const shotstackRenderVideo = action("SHOTSTACK_RENDER_VIDEO", {
17
17
  slug: "shotstack-render-video",
18
18
  name: "Render Video",
19
19
  description: "Tool to initiate a new video render job. Use when you have defined a timeline and output settings and want to start rendering.",
20
20
  input: ShotstackRenderVideoInput,
21
21
  output: z.object({
22
- message: z.string().describe("Confirmation message from the API"),
23
- success: z.boolean().describe("Indicates if the render request was successfully received"),
22
+ message: z.string().describe("Confirmation message from the API").nullable(),
23
+ success: z.boolean().describe("Indicates if the render request was successfully received").nullable(),
24
24
  response: ShotstackRenderVideo_RenderResponseDataSchema.nullable()
25
- })
25
+ }).passthrough()
26
26
  });
27
27
  //#endregion
28
28
  export { shotstackRenderVideo };
@@ -1 +1 @@
1
- {"version":3,"file":"render-video.mjs","names":[],"sources":["../../src/actions/render-video.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackRenderVideoInput: z.ZodTypeAny = z.object({\n output: z.record(z.string(), z.unknown()).describe(\"Output settings for rendering including format, resolution, frame rate, and aspect ratio\"),\n callback: z.string().describe(\"Optional webhook URL to receive notifications when render status changes\").optional(),\n timeline: z.record(z.string(), z.unknown()).describe(\"Timeline definition describing the sequence of tracks, clips, and transitions. Each track contains clips with an 'asset' (required), 'start' and 'length' (seconds), optional 'effect' (e.g. zoomIn, slideLeft, zoomOut), 'transform' (rotate/skew/flip -- NOTE: use 'transform' NOT 'transformations'), 'filter', 'opacity' (0-1), and 'transition'. Asset types: video, image, audio (require 'src'); title (requires 'text'); html; luma.\"),\n});\nconst ShotstackRenderVideo_RenderResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the render job\"),\n url: z.string().describe(\"URL to check render status and retrieve results\").nullable().optional(),\n owner: z.string().describe(\"Owner associated with the render job\").nullable().optional(),\n status: z.string().describe(\"Initial status of the render job (e.g., queued)\").nullable().optional(),\n message: z.string().describe(\"Status message for the render job\").nullable().optional(),\n}).describe(\"Metadata about the initiated render job.\");\nexport const ShotstackRenderVideoOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message from the API\"),\n success: z.boolean().describe(\"Indicates if the render request was successfully received\"),\n response: ShotstackRenderVideo_RenderResponseDataSchema.nullable(),\n});\n\nexport const shotstackRenderVideo = action(\"SHOTSTACK_RENDER_VIDEO\", {\n slug: \"shotstack-render-video\",\n name: \"Render Video\",\n description: \"Tool to initiate a new video render job. Use when you have defined a timeline and output settings and want to start rendering.\",\n input: ShotstackRenderVideoInput,\n output: ShotstackRenderVideoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0FAA0F;CAC7I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8aAA8a;AACre,CAAC;AACD,MAAM,gDAA8D,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAOtD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXsD,EAAE,OAAO;EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAChE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D;EACzF,UAAU,8CAA8C,SAAS;CACnE,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"render-video.mjs","names":[],"sources":["../../src/actions/render-video.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackRenderVideoInput = z.object({\n output: z.record(z.string(), z.unknown()).describe(\"Output settings for rendering including format, resolution, frame rate, and aspect ratio\"),\n callback: z.string().describe(\"Optional webhook URL to receive notifications when render status changes\").optional(),\n timeline: z.record(z.string(), z.unknown()).describe(\"Timeline definition describing the sequence of tracks, clips, and transitions. Each track contains clips with an 'asset' (required), 'start' and 'length' (seconds), optional 'effect' (e.g. zoomIn, slideLeft, zoomOut), 'transform' (rotate/skew/flip -- NOTE: use 'transform' NOT 'transformations'), 'filter', 'opacity' (0-1), and 'transition'. Asset types: video, image, audio (require 'src'); title (requires 'text'); html; luma.\"),\n});\nconst ShotstackRenderVideo_RenderResponseDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the render job\").nullable(),\n url: z.string().describe(\"URL to check render status and retrieve results\").nullable().optional(),\n owner: z.string().describe(\"Owner associated with the render job\").nullable().optional(),\n status: z.string().describe(\"Initial status of the render job (e.g., queued)\").nullable().optional(),\n message: z.string().describe(\"Status message for the render job\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the initiated render job.\");\nexport const ShotstackRenderVideoOutput = z.object({\n message: z.string().describe(\"Confirmation message from the API\").nullable(),\n success: z.boolean().describe(\"Indicates if the render request was successfully received\").nullable(),\n response: ShotstackRenderVideo_RenderResponseDataSchema.nullable(),\n}).passthrough();\n\nexport const shotstackRenderVideo = action(\"SHOTSTACK_RENDER_VIDEO\", {\n slug: \"shotstack-render-video\",\n name: \"Render Video\",\n description: \"Tool to initiate a new video render job. Use when you have defined a timeline and output settings and want to start rendering.\",\n input: ShotstackRenderVideoInput,\n output: ShotstackRenderVideoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0FAA0F;CAC7I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8aAA8a;AACre,CAAC;AACD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAOpE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC3E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACpG,UAAU,8CAA8C,SAAS;CACnE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -8,19 +8,19 @@ const ShotstackTransferAssetInput = zod.z.object({
8
8
  exclude: zod.z.boolean().describe("Whether to exclude this destination from the transfer. Set to true to skip this destination.").optional(),
9
9
  options: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional provider-specific options for the destination.").optional(),
10
10
  provider: zod.z.string().describe("The destination provider identifier (e.g., 'shotstack', 's3', 'mux').")
11
- }).describe("Destination configuration for asset transfer.")).describe("Array of destination objects specifying where to transfer the asset. At least one destination is required.")
11
+ }).passthrough().describe("Destination configuration for asset transfer.")).describe("Array of destination objects specifying where to transfer the asset. At least one destination is required.")
12
12
  }).describe("Request model for transferring an asset from a public URL to Serve API destinations.");
13
13
  const ShotstackTransferAsset_TransferAttributesSchema = zod.z.object({
14
14
  id: zod.z.string().describe("Unique asset identifier for the transfer request.").nullable().optional(),
15
15
  owner: zod.z.string().describe("Account owner identifier who initiated the transfer.").nullable().optional(),
16
16
  status: zod.z.string().describe("Current status of the asset transfer. Possible values: 'queued' (transfer pending), 'processing' (in progress), 'ready' (complete), 'failed' (transfer error).").nullable().optional(),
17
17
  created: zod.z.string().describe("ISO 8601 timestamp when the transfer request was created.").nullable().optional()
18
- }).describe("Attributes of the transferred asset.");
18
+ }).passthrough().describe("Attributes of the transferred asset.");
19
19
  const ShotstackTransferAsset_TransferDataSchema = zod.z.object({
20
20
  type: zod.z.string().describe("Resource type, always 'asset'.").nullable().optional(),
21
21
  attributes: ShotstackTransferAsset_TransferAttributesSchema.nullable().optional()
22
- }).describe("Asset data object following JSON:API specification.");
23
- const ShotstackTransferAssetOutput = zod.z.object({ data: ShotstackTransferAsset_TransferDataSchema.nullable() }).describe("Response model containing the asset transfer request details.");
22
+ }).passthrough().describe("Asset data object following JSON:API specification.");
23
+ const ShotstackTransferAssetOutput = zod.z.object({ data: ShotstackTransferAsset_TransferDataSchema.nullable() }).passthrough().describe("Response model containing the asset transfer request details.");
24
24
  const shotstackTransferAsset = require_action.action("SHOTSTACK_TRANSFER_ASSET", {
25
25
  slug: "shotstack-transfer-asset",
26
26
  name: "Transfer Asset",
@@ -1 +1 @@
1
- {"version":3,"file":"transfer-asset.cjs","names":["z","action"],"sources":["../../src/actions/transfer-asset.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackTransferAssetInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier (UUID format recommended) for the asset. This identifier does not need to be globally unique but should be provided by the client.\"),\n url: z.string().describe(\"The publicly accessible URL of the file to transfer. Must be a valid HTTP/HTTPS URL.\"),\n destinations: z.array(z.object({\n exclude: z.boolean().describe(\"Whether to exclude this destination from the transfer. Set to true to skip this destination.\").optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Optional provider-specific options for the destination.\").optional(),\n provider: z.string().describe(\"The destination provider identifier (e.g., 'shotstack', 's3', 'mux').\"),\n}).describe(\"Destination configuration for asset transfer.\")).describe(\"Array of destination objects specifying where to transfer the asset. At least one destination is required.\"),\n}).describe(\"Request model for transferring an asset from a public URL to Serve API destinations.\");\nconst ShotstackTransferAsset_TransferAttributesSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique asset identifier for the transfer request.\").nullable().optional(),\n owner: z.string().describe(\"Account owner identifier who initiated the transfer.\").nullable().optional(),\n status: z.string().describe(\"Current status of the asset transfer. Possible values: 'queued' (transfer pending), 'processing' (in progress), 'ready' (complete), 'failed' (transfer error).\").nullable().optional(),\n created: z.string().describe(\"ISO 8601 timestamp when the transfer request was created.\").nullable().optional(),\n}).describe(\"Attributes of the transferred asset.\");\nconst ShotstackTransferAsset_TransferDataSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Resource type, always 'asset'.\").nullable().optional(),\n attributes: ShotstackTransferAsset_TransferAttributesSchema.nullable().optional(),\n}).describe(\"Asset data object following JSON:API specification.\");\nexport const ShotstackTransferAssetOutput: z.ZodTypeAny = z.object({\n data: ShotstackTransferAsset_TransferDataSchema.nullable(),\n}).describe(\"Response model containing the asset transfer request details.\");\n\nexport const shotstackTransferAsset = action(\"SHOTSTACK_TRANSFER_ASSET\", {\n slug: \"shotstack-transfer-asset\",\n name: \"Transfer Asset\",\n description: \"Tool to transfer a file from any publicly available URL to one or more Serve API destinations. Use when you need to copy a file from an external source to Shotstack's hosting service or other configured destinations.\",\n input: ShotstackTransferAssetInput,\n output: ShotstackTransferAssetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ;CAC9K,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CAC/G,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC/B,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EACvI,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACxH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACvG,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,4GAA4G;AACnL,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClN,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAY,gDAAgD,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,MAAM,0CAA0C,SAAS,EAC3D,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAE3E,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"transfer-asset.cjs","names":["z","action"],"sources":["../../src/actions/transfer-asset.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackTransferAssetInput = z.object({\n id: z.string().describe(\"Unique identifier (UUID format recommended) for the asset. This identifier does not need to be globally unique but should be provided by the client.\"),\n url: z.string().describe(\"The publicly accessible URL of the file to transfer. Must be a valid HTTP/HTTPS URL.\"),\n destinations: z.array(z.object({\n exclude: z.boolean().describe(\"Whether to exclude this destination from the transfer. Set to true to skip this destination.\").optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Optional provider-specific options for the destination.\").optional(),\n provider: z.string().describe(\"The destination provider identifier (e.g., 'shotstack', 's3', 'mux').\"),\n}).passthrough().describe(\"Destination configuration for asset transfer.\")).describe(\"Array of destination objects specifying where to transfer the asset. At least one destination is required.\"),\n}).describe(\"Request model for transferring an asset from a public URL to Serve API destinations.\");\nconst ShotstackTransferAsset_TransferAttributesSchema = z.object({\n id: z.string().describe(\"Unique asset identifier for the transfer request.\").nullable().optional(),\n owner: z.string().describe(\"Account owner identifier who initiated the transfer.\").nullable().optional(),\n status: z.string().describe(\"Current status of the asset transfer. Possible values: 'queued' (transfer pending), 'processing' (in progress), 'ready' (complete), 'failed' (transfer error).\").nullable().optional(),\n created: z.string().describe(\"ISO 8601 timestamp when the transfer request was created.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of the transferred asset.\");\nconst ShotstackTransferAsset_TransferDataSchema = z.object({\n type: z.string().describe(\"Resource type, always 'asset'.\").nullable().optional(),\n attributes: ShotstackTransferAsset_TransferAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Asset data object following JSON:API specification.\");\nexport const ShotstackTransferAssetOutput = z.object({\n data: ShotstackTransferAsset_TransferDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing the asset transfer request details.\");\n\nexport const shotstackTransferAsset = action(\"SHOTSTACK_TRANSFER_ASSET\", {\n slug: \"shotstack-transfer-asset\",\n name: \"Transfer Asset\",\n description: \"Tool to transfer a file from any publicly available URL to one or more Serve API destinations. Use when you need to copy a file from an external source to Shotstack's hosting service or other configured destinations.\",\n input: ShotstackTransferAssetInput,\n output: ShotstackTransferAssetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ;CAC9K,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CAC/G,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC/B,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EACvI,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACxH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,4GAA4G;AACjM,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClN,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAY,gDAAgD,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,MAAM,0CAA0C,SAAS,EAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/transfer-asset.d.ts
4
- declare const ShotstackTransferAssetInput: z.ZodTypeAny;
5
- declare const ShotstackTransferAssetOutput: z.ZodTypeAny;
6
- declare const shotstackTransferAsset: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShotstackTransferAssetInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ url: z.ZodString;
7
+ destinations: z.ZodArray<z.ZodObject<{
8
+ exclude: z.ZodOptional<z.ZodBoolean>;
9
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
+ provider: z.ZodString;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$strip>;
13
+ declare const ShotstackTransferAssetOutput: z.ZodObject<{
14
+ data: z.ZodNullable<z.ZodObject<{
15
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$loose>>>;
22
+ }, z.core.$loose>>;
23
+ }, z.core.$loose>;
24
+ declare const shotstackTransferAsset: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ id: string;
26
+ url: string;
27
+ destinations: {
28
+ [x: string]: unknown;
29
+ provider: string;
30
+ exclude?: boolean | undefined;
31
+ options?: Record<string, unknown> | undefined;
32
+ }[];
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
34
  //#endregion
8
35
  export { shotstackTransferAsset };
9
36
  //# sourceMappingURL=transfer-asset.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transfer-asset.d.cts","names":[],"sources":["../../src/actions/transfer-asset.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAQuD;AAAA,cAWtF,4BAAA,EAA8B,CAAA,CAAE,UAE+B;AAAA,cAE/D,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"transfer-asset.d.cts","names":[],"sources":["../../src/actions/transfer-asset.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA;;;;;;;cAMjC,MAAA;EAAA;AAAA"}
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/transfer-asset.d.ts
4
- declare const ShotstackTransferAssetInput: z.ZodTypeAny;
5
- declare const ShotstackTransferAssetOutput: z.ZodTypeAny;
6
- declare const shotstackTransferAsset: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShotstackTransferAssetInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ url: z.ZodString;
7
+ destinations: z.ZodArray<z.ZodObject<{
8
+ exclude: z.ZodOptional<z.ZodBoolean>;
9
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
+ provider: z.ZodString;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$strip>;
13
+ declare const ShotstackTransferAssetOutput: z.ZodObject<{
14
+ data: z.ZodNullable<z.ZodObject<{
15
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$loose>>>;
22
+ }, z.core.$loose>>;
23
+ }, z.core.$loose>;
24
+ declare const shotstackTransferAsset: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ id: string;
26
+ url: string;
27
+ destinations: {
28
+ [x: string]: unknown;
29
+ provider: string;
30
+ exclude?: boolean | undefined;
31
+ options?: Record<string, unknown> | undefined;
32
+ }[];
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
34
  //#endregion
8
35
  export { shotstackTransferAsset };
9
36
  //# sourceMappingURL=transfer-asset.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transfer-asset.d.mts","names":[],"sources":["../../src/actions/transfer-asset.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAQuD;AAAA,cAWtF,4BAAA,EAA8B,CAAA,CAAE,UAE+B;AAAA,cAE/D,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"transfer-asset.d.mts","names":[],"sources":["../../src/actions/transfer-asset.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAmB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA;;;;;;;cAMjC,MAAA;EAAA;AAAA"}
@@ -8,24 +8,24 @@ const ShotstackTransferAssetInput = z.object({
8
8
  exclude: z.boolean().describe("Whether to exclude this destination from the transfer. Set to true to skip this destination.").optional(),
9
9
  options: z.record(z.string(), z.unknown()).describe("Optional provider-specific options for the destination.").optional(),
10
10
  provider: z.string().describe("The destination provider identifier (e.g., 'shotstack', 's3', 'mux').")
11
- }).describe("Destination configuration for asset transfer.")).describe("Array of destination objects specifying where to transfer the asset. At least one destination is required.")
11
+ }).passthrough().describe("Destination configuration for asset transfer.")).describe("Array of destination objects specifying where to transfer the asset. At least one destination is required.")
12
12
  }).describe("Request model for transferring an asset from a public URL to Serve API destinations.");
13
13
  const ShotstackTransferAsset_TransferAttributesSchema = z.object({
14
14
  id: z.string().describe("Unique asset identifier for the transfer request.").nullable().optional(),
15
15
  owner: z.string().describe("Account owner identifier who initiated the transfer.").nullable().optional(),
16
16
  status: z.string().describe("Current status of the asset transfer. Possible values: 'queued' (transfer pending), 'processing' (in progress), 'ready' (complete), 'failed' (transfer error).").nullable().optional(),
17
17
  created: z.string().describe("ISO 8601 timestamp when the transfer request was created.").nullable().optional()
18
- }).describe("Attributes of the transferred asset.");
18
+ }).passthrough().describe("Attributes of the transferred asset.");
19
19
  const ShotstackTransferAsset_TransferDataSchema = z.object({
20
20
  type: z.string().describe("Resource type, always 'asset'.").nullable().optional(),
21
21
  attributes: ShotstackTransferAsset_TransferAttributesSchema.nullable().optional()
22
- }).describe("Asset data object following JSON:API specification.");
22
+ }).passthrough().describe("Asset data object following JSON:API specification.");
23
23
  const shotstackTransferAsset = action("SHOTSTACK_TRANSFER_ASSET", {
24
24
  slug: "shotstack-transfer-asset",
25
25
  name: "Transfer Asset",
26
26
  description: "Tool to transfer a file from any publicly available URL to one or more Serve API destinations. Use when you need to copy a file from an external source to Shotstack's hosting service or other configured destinations.",
27
27
  input: ShotstackTransferAssetInput,
28
- output: z.object({ data: ShotstackTransferAsset_TransferDataSchema.nullable() }).describe("Response model containing the asset transfer request details.")
28
+ output: z.object({ data: ShotstackTransferAsset_TransferDataSchema.nullable() }).passthrough().describe("Response model containing the asset transfer request details.")
29
29
  });
30
30
  //#endregion
31
31
  export { shotstackTransferAsset };
@@ -1 +1 @@
1
- {"version":3,"file":"transfer-asset.mjs","names":[],"sources":["../../src/actions/transfer-asset.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackTransferAssetInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier (UUID format recommended) for the asset. This identifier does not need to be globally unique but should be provided by the client.\"),\n url: z.string().describe(\"The publicly accessible URL of the file to transfer. Must be a valid HTTP/HTTPS URL.\"),\n destinations: z.array(z.object({\n exclude: z.boolean().describe(\"Whether to exclude this destination from the transfer. Set to true to skip this destination.\").optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Optional provider-specific options for the destination.\").optional(),\n provider: z.string().describe(\"The destination provider identifier (e.g., 'shotstack', 's3', 'mux').\"),\n}).describe(\"Destination configuration for asset transfer.\")).describe(\"Array of destination objects specifying where to transfer the asset. At least one destination is required.\"),\n}).describe(\"Request model for transferring an asset from a public URL to Serve API destinations.\");\nconst ShotstackTransferAsset_TransferAttributesSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique asset identifier for the transfer request.\").nullable().optional(),\n owner: z.string().describe(\"Account owner identifier who initiated the transfer.\").nullable().optional(),\n status: z.string().describe(\"Current status of the asset transfer. Possible values: 'queued' (transfer pending), 'processing' (in progress), 'ready' (complete), 'failed' (transfer error).\").nullable().optional(),\n created: z.string().describe(\"ISO 8601 timestamp when the transfer request was created.\").nullable().optional(),\n}).describe(\"Attributes of the transferred asset.\");\nconst ShotstackTransferAsset_TransferDataSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Resource type, always 'asset'.\").nullable().optional(),\n attributes: ShotstackTransferAsset_TransferAttributesSchema.nullable().optional(),\n}).describe(\"Asset data object following JSON:API specification.\");\nexport const ShotstackTransferAssetOutput: z.ZodTypeAny = z.object({\n data: ShotstackTransferAsset_TransferDataSchema.nullable(),\n}).describe(\"Response model containing the asset transfer request details.\");\n\nexport const shotstackTransferAsset = action(\"SHOTSTACK_TRANSFER_ASSET\", {\n slug: \"shotstack-transfer-asset\",\n name: \"Transfer Asset\",\n description: \"Tool to transfer a file from any publicly available URL to one or more Serve API destinations. Use when you need to copy a file from an external source to Shotstack's hosting service or other configured destinations.\",\n input: ShotstackTransferAssetInput,\n output: ShotstackTransferAssetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ;CAC9K,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CAC/G,cAAc,EAAE,MAAM,EAAE,OAAO;EAC/B,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EACvI,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACxH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACvG,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,4GAA4G;AACnL,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,kDAAgE,EAAE,OAAO;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClN,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,4CAA0D,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAY,gDAAgD,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAKjE,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,MAAM,0CAA0C,SAAS,EAC3D,CAAC,CAAC,CAAC,SAAS,+DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"transfer-asset.mjs","names":[],"sources":["../../src/actions/transfer-asset.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackTransferAssetInput = z.object({\n id: z.string().describe(\"Unique identifier (UUID format recommended) for the asset. This identifier does not need to be globally unique but should be provided by the client.\"),\n url: z.string().describe(\"The publicly accessible URL of the file to transfer. Must be a valid HTTP/HTTPS URL.\"),\n destinations: z.array(z.object({\n exclude: z.boolean().describe(\"Whether to exclude this destination from the transfer. Set to true to skip this destination.\").optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Optional provider-specific options for the destination.\").optional(),\n provider: z.string().describe(\"The destination provider identifier (e.g., 'shotstack', 's3', 'mux').\"),\n}).passthrough().describe(\"Destination configuration for asset transfer.\")).describe(\"Array of destination objects specifying where to transfer the asset. At least one destination is required.\"),\n}).describe(\"Request model for transferring an asset from a public URL to Serve API destinations.\");\nconst ShotstackTransferAsset_TransferAttributesSchema = z.object({\n id: z.string().describe(\"Unique asset identifier for the transfer request.\").nullable().optional(),\n owner: z.string().describe(\"Account owner identifier who initiated the transfer.\").nullable().optional(),\n status: z.string().describe(\"Current status of the asset transfer. Possible values: 'queued' (transfer pending), 'processing' (in progress), 'ready' (complete), 'failed' (transfer error).\").nullable().optional(),\n created: z.string().describe(\"ISO 8601 timestamp when the transfer request was created.\").nullable().optional(),\n}).passthrough().describe(\"Attributes of the transferred asset.\");\nconst ShotstackTransferAsset_TransferDataSchema = z.object({\n type: z.string().describe(\"Resource type, always 'asset'.\").nullable().optional(),\n attributes: ShotstackTransferAsset_TransferAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Asset data object following JSON:API specification.\");\nexport const ShotstackTransferAssetOutput = z.object({\n data: ShotstackTransferAsset_TransferDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing the asset transfer request details.\");\n\nexport const shotstackTransferAsset = action(\"SHOTSTACK_TRANSFER_ASSET\", {\n slug: \"shotstack-transfer-asset\",\n name: \"Transfer Asset\",\n description: \"Tool to transfer a file from any publicly available URL to one or more Serve API destinations. Use when you need to copy a file from an external source to Shotstack's hosting service or other configured destinations.\",\n input: ShotstackTransferAssetInput,\n output: ShotstackTransferAssetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ;CAC9K,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CAC/G,cAAc,EAAE,MAAM,EAAE,OAAO;EAC/B,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EACvI,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACxH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,4GAA4G;AACjM,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClN,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAY,gDAAgD,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAK/E,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,MAAM,0CAA0C,SAAS,EAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
@@ -8,13 +8,13 @@ const ShotstackUpdateTemplateInput = zod.z.object({
8
8
  }).describe("Parameters required to update an existing template.");
9
9
  const ShotstackUpdateTemplate_UpdateTemplateResponseDataSchema = zod.z.object({
10
10
  id: zod.z.string().describe("The unique identifier of the updated template.").nullable().optional(),
11
- message: zod.z.string().describe("Confirmation message for the template update operation.")
12
- }).describe("Data object containing template update confirmation details.");
11
+ message: zod.z.string().describe("Confirmation message for the template update operation.").nullable()
12
+ }).passthrough().describe("Data object containing template update confirmation details.");
13
13
  const ShotstackUpdateTemplateOutput = zod.z.object({
14
- message: zod.z.string().describe("Status message indicating the result of the operation."),
15
- success: zod.z.boolean().describe("Indicates if the request was successful."),
14
+ message: zod.z.string().describe("Status message indicating the result of the operation.").nullable(),
15
+ success: zod.z.boolean().describe("Indicates if the request was successful.").nullable(),
16
16
  response: ShotstackUpdateTemplate_UpdateTemplateResponseDataSchema.nullable()
17
- }).describe("Response schema for template update operation.");
17
+ }).passthrough().describe("Response schema for template update operation.");
18
18
  const shotstackUpdateTemplate = require_action.action("SHOTSTACK_UPDATE_TEMPLATE", {
19
19
  slug: "shotstack-update-template",
20
20
  name: "Update Template",
@@ -1 +1 @@
1
- {"version":3,"file":"update-template.cjs","names":["z","action"],"sources":["../../src/actions/update-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackUpdateTemplateInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the template to update in UUID format.\"),\n name: z.string().describe(\"Display name for the template.\"),\n template: z.record(z.string(), z.unknown()).describe(\"Complete edit configuration containing timeline and output settings. Must include both timeline (with tracks containing clips) and output (with format and resolution) properties.\"),\n}).describe(\"Parameters required to update an existing template.\");\nconst ShotstackUpdateTemplate_UpdateTemplateResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the updated template.\").nullable().optional(),\n message: z.string().describe(\"Confirmation message for the template update operation.\"),\n}).describe(\"Data object containing template update confirmation details.\");\nexport const ShotstackUpdateTemplateOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message indicating the result of the operation.\"),\n success: z.boolean().describe(\"Indicates if the request was successful.\"),\n response: ShotstackUpdateTemplate_UpdateTemplateResponseDataSchema.nullable(),\n}).describe(\"Response schema for template update operation.\");\n\nexport const shotstackUpdateTemplate = action(\"SHOTSTACK_UPDATE_TEMPLATE\", {\n slug: \"shotstack-update-template\",\n name: \"Update Template\",\n description: \"Tool to update an existing template by its ID. Use when you need to modify a template's name or edit configuration. Both name and complete template definition must be provided.\",\n input: ShotstackUpdateTemplateInput,\n output: ShotstackUpdateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oLAAoL;AAC3O,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,2DAAyEA,IAAAA,EAAE,OAAO;CACtF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AACxF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACrF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CACxE,UAAU,yDAAyD,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-template.cjs","names":["z","action"],"sources":["../../src/actions/update-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackUpdateTemplateInput = z.object({\n id: z.string().describe(\"The unique identifier of the template to update in UUID format.\"),\n name: z.string().describe(\"Display name for the template.\"),\n template: z.record(z.string(), z.unknown()).describe(\"Complete edit configuration containing timeline and output settings. Must include both timeline (with tracks containing clips) and output (with format and resolution) properties.\"),\n}).describe(\"Parameters required to update an existing template.\");\nconst ShotstackUpdateTemplate_UpdateTemplateResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the updated template.\").nullable().optional(),\n message: z.string().describe(\"Confirmation message for the template update operation.\").nullable(),\n}).passthrough().describe(\"Data object containing template update confirmation details.\");\nexport const ShotstackUpdateTemplateOutput = z.object({\n message: z.string().describe(\"Status message indicating the result of the operation.\").nullable(),\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n response: ShotstackUpdateTemplate_UpdateTemplateResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for template update operation.\");\n\nexport const shotstackUpdateTemplate = action(\"SHOTSTACK_UPDATE_TEMPLATE\", {\n slug: \"shotstack-update-template\",\n name: \"Update Template\",\n description: \"Tool to update an existing template by its ID. Use when you need to modify a template's name or edit configuration. Both name and complete template definition must be provided.\",\n input: ShotstackUpdateTemplateInput,\n output: ShotstackUpdateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oLAAoL;AAC3O,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,UAAU,yDAAyD,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-template.d.ts
4
- declare const ShotstackUpdateTemplateInput: z.ZodTypeAny;
5
- declare const ShotstackUpdateTemplateOutput: z.ZodTypeAny;
6
- declare const shotstackUpdateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShotstackUpdateTemplateInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ name: z.ZodString;
7
+ template: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
+ }, z.core.$strip>;
9
+ declare const ShotstackUpdateTemplateOutput: z.ZodObject<{
10
+ message: z.ZodNullable<z.ZodString>;
11
+ success: z.ZodNullable<z.ZodBoolean>;
12
+ response: z.ZodNullable<z.ZodObject<{
13
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ message: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$loose>>;
16
+ }, z.core.$loose>;
17
+ declare const shotstackUpdateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ id: string;
19
+ name: string;
20
+ template: Record<string, unknown>;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { shotstackUpdateTemplate };
9
24
  //# sourceMappingURL=update-template.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-template.d.cts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAIqB;AAAA,cAKrD,6BAAA,EAA+B,CAAA,CAAE,UAIe;AAAA,cAEhD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-template.d.cts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAM7B,uBAAA,gCAAuB,wBAAA;;;YAMlC,MAAA;AAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-template.d.ts
4
- declare const ShotstackUpdateTemplateInput: z.ZodTypeAny;
5
- declare const ShotstackUpdateTemplateOutput: z.ZodTypeAny;
6
- declare const shotstackUpdateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ShotstackUpdateTemplateInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ name: z.ZodString;
7
+ template: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
+ }, z.core.$strip>;
9
+ declare const ShotstackUpdateTemplateOutput: z.ZodObject<{
10
+ message: z.ZodNullable<z.ZodString>;
11
+ success: z.ZodNullable<z.ZodBoolean>;
12
+ response: z.ZodNullable<z.ZodObject<{
13
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ message: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$loose>>;
16
+ }, z.core.$loose>;
17
+ declare const shotstackUpdateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ id: string;
19
+ name: string;
20
+ template: Record<string, unknown>;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { shotstackUpdateTemplate };
9
24
  //# sourceMappingURL=update-template.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-template.d.mts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAIqB;AAAA,cAKrD,6BAAA,EAA+B,CAAA,CAAE,UAIe;AAAA,cAEhD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-template.d.mts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAM7B,uBAAA,gCAAuB,wBAAA;;;YAMlC,MAAA;AAAA"}
@@ -8,18 +8,18 @@ const ShotstackUpdateTemplateInput = z.object({
8
8
  }).describe("Parameters required to update an existing template.");
9
9
  const ShotstackUpdateTemplate_UpdateTemplateResponseDataSchema = z.object({
10
10
  id: z.string().describe("The unique identifier of the updated template.").nullable().optional(),
11
- message: z.string().describe("Confirmation message for the template update operation.")
12
- }).describe("Data object containing template update confirmation details.");
11
+ message: z.string().describe("Confirmation message for the template update operation.").nullable()
12
+ }).passthrough().describe("Data object containing template update confirmation details.");
13
13
  const shotstackUpdateTemplate = action("SHOTSTACK_UPDATE_TEMPLATE", {
14
14
  slug: "shotstack-update-template",
15
15
  name: "Update Template",
16
16
  description: "Tool to update an existing template by its ID. Use when you need to modify a template's name or edit configuration. Both name and complete template definition must be provided.",
17
17
  input: ShotstackUpdateTemplateInput,
18
18
  output: z.object({
19
- message: z.string().describe("Status message indicating the result of the operation."),
20
- success: z.boolean().describe("Indicates if the request was successful."),
19
+ message: z.string().describe("Status message indicating the result of the operation.").nullable(),
20
+ success: z.boolean().describe("Indicates if the request was successful.").nullable(),
21
21
  response: ShotstackUpdateTemplate_UpdateTemplateResponseDataSchema.nullable()
22
- }).describe("Response schema for template update operation.")
22
+ }).passthrough().describe("Response schema for template update operation.")
23
23
  });
24
24
  //#endregion
25
25
  export { shotstackUpdateTemplate };
@@ -1 +1 @@
1
- {"version":3,"file":"update-template.mjs","names":[],"sources":["../../src/actions/update-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackUpdateTemplateInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the template to update in UUID format.\"),\n name: z.string().describe(\"Display name for the template.\"),\n template: z.record(z.string(), z.unknown()).describe(\"Complete edit configuration containing timeline and output settings. Must include both timeline (with tracks containing clips) and output (with format and resolution) properties.\"),\n}).describe(\"Parameters required to update an existing template.\");\nconst ShotstackUpdateTemplate_UpdateTemplateResponseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the updated template.\").nullable().optional(),\n message: z.string().describe(\"Confirmation message for the template update operation.\"),\n}).describe(\"Data object containing template update confirmation details.\");\nexport const ShotstackUpdateTemplateOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message indicating the result of the operation.\"),\n success: z.boolean().describe(\"Indicates if the request was successful.\"),\n response: ShotstackUpdateTemplate_UpdateTemplateResponseDataSchema.nullable(),\n}).describe(\"Response schema for template update operation.\");\n\nexport const shotstackUpdateTemplate = action(\"SHOTSTACK_UPDATE_TEMPLATE\", {\n slug: \"shotstack-update-template\",\n name: \"Update Template\",\n description: \"Tool to update an existing template by its ID. Use when you need to modify a template's name or edit configuration. Both name and complete template definition must be provided.\",\n input: ShotstackUpdateTemplateInput,\n output: ShotstackUpdateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oLAAoL;AAC3O,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,2DAAyE,EAAE,OAAO;CACtF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AACxF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAO1E,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXyD,EAAE,OAAO;EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACrF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;EACxE,UAAU,yDAAyD,SAAS;CAC9E,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-template.mjs","names":[],"sources":["../../src/actions/update-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShotstackUpdateTemplateInput = z.object({\n id: z.string().describe(\"The unique identifier of the template to update in UUID format.\"),\n name: z.string().describe(\"Display name for the template.\"),\n template: z.record(z.string(), z.unknown()).describe(\"Complete edit configuration containing timeline and output settings. Must include both timeline (with tracks containing clips) and output (with format and resolution) properties.\"),\n}).describe(\"Parameters required to update an existing template.\");\nconst ShotstackUpdateTemplate_UpdateTemplateResponseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the updated template.\").nullable().optional(),\n message: z.string().describe(\"Confirmation message for the template update operation.\").nullable(),\n}).passthrough().describe(\"Data object containing template update confirmation details.\");\nexport const ShotstackUpdateTemplateOutput = z.object({\n message: z.string().describe(\"Status message indicating the result of the operation.\").nullable(),\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable(),\n response: ShotstackUpdateTemplate_UpdateTemplateResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for template update operation.\");\n\nexport const shotstackUpdateTemplate = action(\"SHOTSTACK_UPDATE_TEMPLATE\", {\n slug: \"shotstack-update-template\",\n name: \"Update Template\",\n description: \"Tool to update an existing template by its ID. Use when you need to modify a template's name or edit configuration. Both name and complete template definition must be provided.\",\n input: ShotstackUpdateTemplateInput,\n output: ShotstackUpdateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oLAAoL;AAC3O,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,2DAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAOxF,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACnF,UAAU,yDAAyD,SAAS;CAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,19 @@ const shotstackCatalog = {
7
7
  "category": "Video & Audio",
8
8
  "logo": "https://logos.composio.dev/api/shotstack",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": {
12
+ "version": {
13
+ "label": "API Environment",
14
+ "description": "The environment to use for the API request, either 'stage' for the staging environment or 'v1' for the production environment."
15
+ },
16
+ "api_key": {
17
+ "label": "Shotstack API Key",
18
+ "secret": true,
19
+ "description": "The API key provided by Shotstack for authenticating API requests."
20
+ }
21
+ },
22
+ "credentialScheme": "API_KEY"
11
23
  };
12
24
  //#endregion
13
25
  exports.shotstackCatalog = shotstackCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const shotstackCatalog = {\n \"slug\": \"shotstack\",\n \"name\": \"Shotstack\",\n \"description\": \"Shotstack is a cloud-based platform that enables developers, marketers, and designers to automate the generation of videos, images, and audio at scale using a RESTful API.\",\n \"category\": \"Video & Audio\",\n \"logo\": \"https://logos.composio.dev/api/shotstack\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const shotstackCatalog = {\n \"slug\": \"shotstack\",\n \"name\": \"Shotstack\",\n \"description\": \"Shotstack is a cloud-based platform that enables developers, marketers, and designers to automate the generation of videos, images, and audio at scale using a RESTful API.\",\n \"category\": \"Video & Audio\",\n \"logo\": \"https://logos.composio.dev/api/shotstack\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"version\": {\n \"label\": \"API Environment\",\n \"description\": \"The environment to use for the API request, either 'stage' for the staging environment or 'v1' for the production environment.\"\n },\n \"api_key\": {\n \"label\": \"Shotstack API Key\",\n \"secret\": true,\n \"description\": \"The API key provided by Shotstack for authenticating API requests.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,WAAW;GACT,SAAS;GACT,eAAe;EACjB;EACA,WAAW;GACT,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,18 @@ declare const shotstackCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/shotstack";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly version: {
13
+ readonly label: "API Environment";
14
+ readonly description: "The environment to use for the API request, either 'stage' for the staging environment or 'v1' for the production environment.";
15
+ };
16
+ readonly api_key: {
17
+ readonly label: "Shotstack API Key";
18
+ readonly secret: true;
19
+ readonly description: "The API key provided by Shotstack for authenticating API requests.";
20
+ };
21
+ };
22
+ readonly credentialScheme: "API_KEY";
11
23
  };
12
24
  //#endregion
13
25
  export { shotstackCatalog };
@@ -8,6 +8,18 @@ declare const shotstackCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/shotstack";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly version: {
13
+ readonly label: "API Environment";
14
+ readonly description: "The environment to use for the API request, either 'stage' for the staging environment or 'v1' for the production environment.";
15
+ };
16
+ readonly api_key: {
17
+ readonly label: "Shotstack API Key";
18
+ readonly secret: true;
19
+ readonly description: "The API key provided by Shotstack for authenticating API requests.";
20
+ };
21
+ };
22
+ readonly credentialScheme: "API_KEY";
11
23
  };
12
24
  //#endregion
13
25
  export { shotstackCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,19 @@ const shotstackCatalog = {
7
7
  "category": "Video & Audio",
8
8
  "logo": "https://logos.composio.dev/api/shotstack",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": {
12
+ "version": {
13
+ "label": "API Environment",
14
+ "description": "The environment to use for the API request, either 'stage' for the staging environment or 'v1' for the production environment."
15
+ },
16
+ "api_key": {
17
+ "label": "Shotstack API Key",
18
+ "secret": true,
19
+ "description": "The API key provided by Shotstack for authenticating API requests."
20
+ }
21
+ },
22
+ "credentialScheme": "API_KEY"
11
23
  };
12
24
  //#endregion
13
25
  export { shotstackCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const shotstackCatalog = {\n \"slug\": \"shotstack\",\n \"name\": \"Shotstack\",\n \"description\": \"Shotstack is a cloud-based platform that enables developers, marketers, and designers to automate the generation of videos, images, and audio at scale using a RESTful API.\",\n \"category\": \"Video & Audio\",\n \"logo\": \"https://logos.composio.dev/api/shotstack\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const shotstackCatalog = {\n \"slug\": \"shotstack\",\n \"name\": \"Shotstack\",\n \"description\": \"Shotstack is a cloud-based platform that enables developers, marketers, and designers to automate the generation of videos, images, and audio at scale using a RESTful API.\",\n \"category\": \"Video & Audio\",\n \"logo\": \"https://logos.composio.dev/api/shotstack\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"version\": {\n \"label\": \"API Environment\",\n \"description\": \"The environment to use for the API request, either 'stage' for the staging environment or 'v1' for the production environment.\"\n },\n \"api_key\": {\n \"label\": \"Shotstack API Key\",\n \"secret\": true,\n \"description\": \"The API key provided by Shotstack for authenticating API requests.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,WAAW;GACT,SAAS;GACT,eAAe;EACjB;EACA,WAAW;GACT,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/shotstack",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {