magic-hour 0.3.0 → 0.4.1

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 (43) hide show
  1. package/README.md +4 -0
  2. package/dist/resources/v1/animation/index.d.ts +5 -0
  3. package/dist/resources/v1/animation/index.js +8 -0
  4. package/dist/resources/v1/animation/request-types.d.ts +10 -0
  5. package/dist/resources/v1/animation/request-types.js +5 -0
  6. package/dist/resources/v1/animation/resource-client.d.ts +15 -0
  7. package/dist/resources/v1/animation/resource-client.js +29 -0
  8. package/dist/resources/v1/index.d.ts +1 -0
  9. package/dist/resources/v1/index.js +2 -1
  10. package/dist/resources/v1/resource-client.d.ts +2 -0
  11. package/dist/resources/v1/resource-client.js +2 -0
  12. package/dist/types/index.d.ts +14 -0
  13. package/dist/types/post-v1-ai-photo-editor-body-style.d.ts +4 -0
  14. package/dist/types/post-v1-ai-photo-editor-body.d.ts +2 -2
  15. package/dist/types/post-v1-animation-body-assets-audio-source-enum.d.ts +4 -0
  16. package/dist/types/post-v1-animation-body-assets-audio-source-enum.js +2 -0
  17. package/dist/types/post-v1-animation-body-assets.d.ts +25 -0
  18. package/dist/types/post-v1-animation-body-assets.js +5 -0
  19. package/dist/types/post-v1-animation-body-style-art-style-enum.d.ts +4 -0
  20. package/dist/types/post-v1-animation-body-style-art-style-enum.js +2 -0
  21. package/dist/types/post-v1-animation-body-style-camera-effect-enum.d.ts +4 -0
  22. package/dist/types/post-v1-animation-body-style-camera-effect-enum.js +2 -0
  23. package/dist/types/post-v1-animation-body-style-prompt-type-enum.d.ts +4 -0
  24. package/dist/types/post-v1-animation-body-style-prompt-type-enum.js +2 -0
  25. package/dist/types/post-v1-animation-body-style.d.ts +33 -0
  26. package/dist/types/post-v1-animation-body-style.js +5 -0
  27. package/dist/types/post-v1-animation-body.d.ts +37 -0
  28. package/dist/types/post-v1-animation-body.js +5 -0
  29. package/dist/types/post-v1-animation-response.d.ts +16 -0
  30. package/dist/types/post-v1-animation-response.js +5 -0
  31. package/dist/types/post-v1-animation-response400.d.ts +9 -0
  32. package/dist/types/post-v1-animation-response400.js +5 -0
  33. package/dist/types/post-v1-animation-response401-message-enum.d.ts +4 -0
  34. package/dist/types/post-v1-animation-response401-message-enum.js +2 -0
  35. package/dist/types/post-v1-animation-response401.d.ts +10 -0
  36. package/dist/types/post-v1-animation-response401.js +5 -0
  37. package/dist/types/post-v1-animation-response404-message-enum.d.ts +4 -0
  38. package/dist/types/post-v1-animation-response404-message-enum.js +2 -0
  39. package/dist/types/post-v1-animation-response404.d.ts +10 -0
  40. package/dist/types/post-v1-animation-response404.js +5 -0
  41. package/dist/types/post-v1-animation-response422.d.ts +9 -0
  42. package/dist/types/post-v1-animation-response422.js +5 -0
  43. package/package.json +1 -1
package/README.md CHANGED
@@ -56,6 +56,10 @@ const client = new Client({ token: process.env["API_TOKEN"]!! });
56
56
 
57
57
  * [create](src/resources/v1/ai-qr-code-generator/README.md#create) - Create AI QR Code
58
58
 
59
+ ### [v1.animation](src/resources/v1/animation/README.md)
60
+
61
+ * [create](src/resources/v1/animation/README.md#create) - Create Animation
62
+
59
63
  ### [v1.face_swap](src/resources/v1/face-swap/README.md)
60
64
 
61
65
  * [create](src/resources/v1/face-swap/README.md#create) - Create Face Swap video
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export { CreateRequest } from "./request-types";
5
+ export { AnimationClient } from "./resource-client";
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.AnimationClient = void 0;
7
+ var resource_client_1 = require("./resource-client");
8
+ Object.defineProperty(exports, "AnimationClient", { enumerable: true, get: function () { return resource_client_1.AnimationClient; } });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../../../index.js";
5
+ /**
6
+ * CreateRequest
7
+ */
8
+ export declare type CreateRequest = {
9
+ data: types.PostV1AnimationBody;
10
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../../../index.js";
5
+ import { ApiPromise, CoreClient, CoreResourceClient, RequestOptions } from "../../../core";
6
+ import * as requests from "../../../resources/v1/animation/request-types";
7
+ export declare class AnimationClient extends CoreResourceClient {
8
+ constructor(client: CoreClient);
9
+ /**
10
+ * Create a Animation video. The estimated frame cost is calculated based on the `fps` and `end_seconds` input.
11
+ *
12
+ * POST /v1/animation
13
+ */
14
+ create(request: requests.CreateRequest, opts?: RequestOptions): ApiPromise<types.PostV1AnimationResponse>;
15
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.AnimationClient = void 0;
7
+ const core_1 = require("../../../core");
8
+ class AnimationClient extends core_1.CoreResourceClient {
9
+ constructor(client) {
10
+ super(client);
11
+ }
12
+ /**
13
+ * Create a Animation video. The estimated frame cost is calculated based on the `fps` and `end_seconds` input.
14
+ *
15
+ * POST /v1/animation
16
+ */
17
+ create(request, opts) {
18
+ return this._client.makeRequest({
19
+ method: "post",
20
+ path: "/v1/animation",
21
+ auth: ["bearerAuth"],
22
+ contentType: "application/json",
23
+ body: request.data,
24
+ responseType: "json",
25
+ opts,
26
+ });
27
+ }
28
+ }
29
+ exports.AnimationClient = AnimationClient;
@@ -6,6 +6,7 @@ export * as aiImageGenerator from "./ai-image-generator";
6
6
  export * as aiImageUpscaler from "./ai-image-upscaler";
7
7
  export * as aiPhotoEditor from "./ai-photo-editor";
8
8
  export * as aiQrCodeGenerator from "./ai-qr-code-generator";
9
+ export * as animation from "./animation";
9
10
  export * as faceSwap from "./face-swap";
10
11
  export * as faceSwapPhoto from "./face-swap-photo";
11
12
  export * as files from "./files";
@@ -26,12 +26,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.videoToVideo = exports.videoProjects = exports.textToVideo = exports.V1Client = exports.lipSync = exports.imageToVideo = exports.imageProjects = exports.files = exports.faceSwapPhoto = exports.faceSwap = exports.aiQrCodeGenerator = exports.aiPhotoEditor = exports.aiImageUpscaler = exports.aiImageGenerator = exports.aiHeadshotGenerator = void 0;
29
+ exports.videoToVideo = exports.videoProjects = exports.textToVideo = exports.V1Client = exports.lipSync = exports.imageToVideo = exports.imageProjects = exports.files = exports.faceSwapPhoto = exports.faceSwap = exports.animation = exports.aiQrCodeGenerator = exports.aiPhotoEditor = exports.aiImageUpscaler = exports.aiImageGenerator = exports.aiHeadshotGenerator = void 0;
30
30
  exports.aiHeadshotGenerator = __importStar(require("./ai-headshot-generator"));
31
31
  exports.aiImageGenerator = __importStar(require("./ai-image-generator"));
32
32
  exports.aiImageUpscaler = __importStar(require("./ai-image-upscaler"));
33
33
  exports.aiPhotoEditor = __importStar(require("./ai-photo-editor"));
34
34
  exports.aiQrCodeGenerator = __importStar(require("./ai-qr-code-generator"));
35
+ exports.animation = __importStar(require("./animation"));
35
36
  exports.faceSwap = __importStar(require("./face-swap"));
36
37
  exports.faceSwapPhoto = __importStar(require("./face-swap-photo"));
37
38
  exports.files = __importStar(require("./files"));
@@ -7,6 +7,7 @@ import { AiImageGeneratorClient } from "../../resources/v1/ai-image-generator";
7
7
  import { AiImageUpscalerClient } from "../../resources/v1/ai-image-upscaler";
8
8
  import { AiPhotoEditorClient } from "../../resources/v1/ai-photo-editor";
9
9
  import { AiQrCodeGeneratorClient } from "../../resources/v1/ai-qr-code-generator";
10
+ import { AnimationClient } from "../../resources/v1/animation";
10
11
  import { FaceSwapClient } from "../../resources/v1/face-swap";
11
12
  import { FaceSwapPhotoClient } from "../../resources/v1/face-swap-photo";
12
13
  import { FilesClient } from "../../resources/v1/files";
@@ -24,6 +25,7 @@ export declare class V1Client extends CoreResourceClient {
24
25
  aiImageUpscaler: AiImageUpscalerClient;
25
26
  aiPhotoEditor: AiPhotoEditorClient;
26
27
  aiQrCodeGenerator: AiQrCodeGeneratorClient;
28
+ animation: AnimationClient;
27
29
  faceSwap: FaceSwapClient;
28
30
  faceSwapPhoto: FaceSwapPhotoClient;
29
31
  files: FilesClient;
@@ -10,6 +10,7 @@ const ai_image_generator_1 = require("../../resources/v1/ai-image-generator");
10
10
  const ai_image_upscaler_1 = require("../../resources/v1/ai-image-upscaler");
11
11
  const ai_photo_editor_1 = require("../../resources/v1/ai-photo-editor");
12
12
  const ai_qr_code_generator_1 = require("../../resources/v1/ai-qr-code-generator");
13
+ const animation_1 = require("../../resources/v1/animation");
13
14
  const face_swap_1 = require("../../resources/v1/face-swap");
14
15
  const face_swap_photo_1 = require("../../resources/v1/face-swap-photo");
15
16
  const files_1 = require("../../resources/v1/files");
@@ -29,6 +30,7 @@ class V1Client extends core_1.CoreResourceClient {
29
30
  this.aiImageUpscaler = new ai_image_upscaler_1.AiImageUpscalerClient(this._client);
30
31
  this.aiPhotoEditor = new ai_photo_editor_1.AiPhotoEditorClient(this._client);
31
32
  this.aiQrCodeGenerator = new ai_qr_code_generator_1.AiQrCodeGeneratorClient(this._client);
33
+ this.animation = new animation_1.AnimationClient(this._client);
32
34
  this.faceSwap = new face_swap_1.FaceSwapClient(this._client);
33
35
  this.faceSwapPhoto = new face_swap_photo_1.FaceSwapPhotoClient(this._client);
34
36
  this.files = new files_1.FilesClient(this._client);
@@ -81,6 +81,20 @@ export { PostV1AiQrCodeGeneratorResponse401MessageEnum } from "./post-v1-ai-qr-c
81
81
  export { PostV1AiQrCodeGeneratorResponse404 } from "./post-v1-ai-qr-code-generator-response404";
82
82
  export { PostV1AiQrCodeGeneratorResponse404MessageEnum } from "./post-v1-ai-qr-code-generator-response404-message-enum";
83
83
  export { PostV1AiQrCodeGeneratorResponse422 } from "./post-v1-ai-qr-code-generator-response422";
84
+ export { PostV1AnimationBody } from "./post-v1-animation-body";
85
+ export { PostV1AnimationBodyAssets } from "./post-v1-animation-body-assets";
86
+ export { PostV1AnimationBodyAssetsAudioSourceEnum } from "./post-v1-animation-body-assets-audio-source-enum";
87
+ export { PostV1AnimationBodyStyle } from "./post-v1-animation-body-style";
88
+ export { PostV1AnimationBodyStyleArtStyleEnum } from "./post-v1-animation-body-style-art-style-enum";
89
+ export { PostV1AnimationBodyStyleCameraEffectEnum } from "./post-v1-animation-body-style-camera-effect-enum";
90
+ export { PostV1AnimationBodyStylePromptTypeEnum } from "./post-v1-animation-body-style-prompt-type-enum";
91
+ export { PostV1AnimationResponse } from "./post-v1-animation-response";
92
+ export { PostV1AnimationResponse400 } from "./post-v1-animation-response400";
93
+ export { PostV1AnimationResponse401 } from "./post-v1-animation-response401";
94
+ export { PostV1AnimationResponse401MessageEnum } from "./post-v1-animation-response401-message-enum";
95
+ export { PostV1AnimationResponse404 } from "./post-v1-animation-response404";
96
+ export { PostV1AnimationResponse404MessageEnum } from "./post-v1-animation-response404-message-enum";
97
+ export { PostV1AnimationResponse422 } from "./post-v1-animation-response422";
84
98
  export { PostV1FaceSwapBody } from "./post-v1-face-swap-body";
85
99
  export { PostV1FaceSwapBodyAssets } from "./post-v1-face-swap-body-assets";
86
100
  export { PostV1FaceSwapBodyAssetsVideoSourceEnum } from "./post-v1-face-swap-body-assets-video-source-enum";
@@ -25,4 +25,8 @@ export declare type PostV1AiPhotoEditorBodyStyle = {
25
25
  * Determines the prompt's influence. Higher values align the output more with the prompt.
26
26
  */
27
27
  prompt_strength: number;
28
+ /**
29
+ * Number of iterations used to generate the output. Higher values improve quality and increase the strength of the prompt but increase processing time.
30
+ */
31
+ steps?: number;
28
32
  };
@@ -19,8 +19,8 @@ export declare type PostV1AiPhotoEditorBody = {
19
19
  */
20
20
  resolution: number;
21
21
  /**
22
- * Number of iterations used to generate the output. Higher values improve quality and increase the strength of the prompt but increase processing time.
22
+ * Deprecated: Please use `.style.steps` instead. Number of iterations used to generate the output. Higher values improve quality and increase the strength of the prompt but increase processing time.
23
23
  */
24
- steps: number;
24
+ steps?: number;
25
25
  style: types.PostV1AiPhotoEditorBodyStyle;
26
26
  };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1AnimationBodyAssetsAudioSourceEnum = "file" | "none" | "youtube";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ /**
6
+ * Provide the assets for animation.
7
+ */
8
+ export declare type PostV1AnimationBodyAssets = {
9
+ /**
10
+ * The path of the input audio. This is the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls). This field is required if `audio_source` is `file`
11
+ */
12
+ audio_file_path?: string;
13
+ /**
14
+ * Optionally add an audio source if you'd like to incorporate audio into your video
15
+ */
16
+ audio_source: types.PostV1AnimationBodyAssetsAudioSourceEnum;
17
+ /**
18
+ * An initial image to use a the first frame of the video. This is the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls)
19
+ */
20
+ image_file_path?: string;
21
+ /**
22
+ * Using a youtube video as the input source. This field is required if `audio_source` is `youtube`
23
+ */
24
+ youtube_url?: string;
25
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1AnimationBodyStyleArtStyleEnum = "3D Render" | "90s Streets" | "Abstract Minimalist" | "Arcane" | "Art Deco" | "Bold Colored Illustration" | "Cinematic Landscape" | "Cinematic Miyazaki" | "Cosmic" | "Cubist" | "Custom" | "Cyberpunk" | "Dark Graphic Illustration" | "Dark Watercolor" | "Directed by AI" | "Double Exposure" | "Faded Illustration" | "Fantasy" | "Futuristic Anime" | "Impressionism" | "Ink and Watercolor Portrait" | "Inkpunk" | "Intricate Abstract Lines Portrait" | "Jackson Pollock" | "Landscape Painting" | "Low Poly" | "Miniatures" | "Minimal Cold Futurism" | "Oil Painting" | "Old School Comic" | "Overgrown" | "Painted Cityscape" | "Painterly Illustration" | "Photograph" | "Pixar" | "Pixel Art" | "Postapocalyptic" | "Sin City" | "Soft Delicate Matte Portrait" | "Spooky" | "Studio Ghibli Film Still" | "Synthwave" | "Traditional Watercolor" | "Van Gogh" | "Vibrant Matte Illustration" | "Vintage Japanese Anime" | "Woodcut";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1AnimationBodyStyleCameraEffectEnum = "Accelerate" | "Aggressive Zoom In - Audio Sync" | "Aggressive Zoom Out - Audio Sync" | "Boost Zoom In" | "Boost Zoom Out" | "Bounce In And Out" | "Bounce Out" | "Bounce Out - Audio Sync" | "Bounce and Spin - Audio Sync" | "Bounce in Place" | "Cog in the Machine" | "Devolve - Audio Sync" | "Directed by AI" | "Dramatic Zoom In" | "Dramatic Zoom Out" | "Drift Spin" | "Earthquake Bounce" | "Earthquake Bounce - Audio Sync" | "Evolve - Audio Sync" | "Heartbeat" | "Hesitate In" | "Jump" | "Pan Left" | "Pan Right" | "Pulse - Audio Sync" | "Pusher" | "Pusher - Audio Sync" | "Quadrant" | "Rise and Climb" | "Road Trip" | "Rodeo" | "Roll In" | "Roll In - Audio Sync" | "Rolling Bounces" | "Rubber Band" | "Simple Zoom In" | "Simple Zoom Out" | "Slice Bounce" | "Slideshow" | "Speed of Light" | "Spin Bounce" | "Sway Out" | "Sway Out - Audio Sync" | "Tilt Down" | "Tilt Up" | "Traverse" | "Tron" | "Vertigo" | "Vertigo - Audio Sync" | "Zoom In - Audio Sync" | "Zoom In and Spin - Audio Sync" | "Zoom Out - Audio Sync";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1AnimationBodyStylePromptTypeEnum = "ai_choose" | "custom" | "use_lyrics";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ /**
6
+ * Defines the style of the output video
7
+ */
8
+ export declare type PostV1AnimationBodyStyle = {
9
+ /**
10
+ * The art style of the final output video
11
+ */
12
+ art_style: types.PostV1AnimationBodyStyleArtStyleEnum;
13
+ /**
14
+ * Describe custom art style. This field is required if `art_style` is `Custom`
15
+ */
16
+ art_style_custom?: string;
17
+ camera_effect: types.PostV1AnimationBodyStyleCameraEffectEnum;
18
+ /**
19
+ * The prompt used for the video. Prompt is required if `prompt_type` is `custom`. Otherwise this value is ignored
20
+ */
21
+ prompt?: string | null;
22
+ /**
23
+ *
24
+ * * `custom` - use your own prompt for the video.
25
+ * * `use_lyrics` - Use the lyrics of the audio to create the prompt. If this option is selected, then `assets.audio_source` must be `file` or `youtube`.
26
+ * * `ai_choose` - Let AI write the prompt. If this option is selected, then `assets.audio_source` must be `file` or `youtube`.
27
+ */
28
+ prompt_type: types.PostV1AnimationBodyStylePromptTypeEnum;
29
+ /**
30
+ * Change determines how quickly the video's content changes across frames. Higher = more rapid transitions. Lower = more stable visual experience.
31
+ */
32
+ transition_speed: number;
33
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ /**
6
+ * PostV1AnimationBody
7
+ */
8
+ export declare type PostV1AnimationBody = {
9
+ /**
10
+ * Provide the assets for animation.
11
+ */
12
+ assets: types.PostV1AnimationBodyAssets;
13
+ /**
14
+ * The end time of the input video in seconds
15
+ */
16
+ end_seconds: number;
17
+ /**
18
+ * The desire output video frame rate
19
+ */
20
+ fps: number;
21
+ /**
22
+ * The height of the final output video. The maximum height depends on your subscription. Please refer to our [pricing page](https://magichour.ai/pricing) for more details
23
+ */
24
+ height: number;
25
+ /**
26
+ * The name of video
27
+ */
28
+ name?: string;
29
+ /**
30
+ * Defines the style of the output video
31
+ */
32
+ style: types.PostV1AnimationBodyStyle;
33
+ /**
34
+ * The width of the final output video. The maximum width depends on your subscription. Please refer to our [pricing page](https://magichour.ai/pricing) for more details
35
+ */
36
+ width: number;
37
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ /**
5
+ * Success
6
+ */
7
+ export declare type PostV1AnimationResponse = {
8
+ /**
9
+ * Estimated cost of the video in terms of number of frames needed to render the video. Frames will be adjusted when the video completes
10
+ */
11
+ estimated_frame_cost: number;
12
+ /**
13
+ * Unique ID of the video. This value can be used in the [get video project API](/api/tag/video-projects/get/v1/video-projects/{id}) to fetch additional details such as status
14
+ */
15
+ id: string;
16
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ /**
5
+ * The request is invalid
6
+ */
7
+ export declare type PostV1AnimationResponse400 = {
8
+ message: string;
9
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1AnimationResponse401MessageEnum = "Unauthorized";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ /**
6
+ * The request is not properly authenticated
7
+ */
8
+ export declare type PostV1AnimationResponse401 = {
9
+ message: types.PostV1AnimationResponse401MessageEnum;
10
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ export declare type PostV1AnimationResponse404MessageEnum = "Not Found";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ import { types } from "../index.js";
5
+ /**
6
+ * Requested resource is not found
7
+ */
8
+ export declare type PostV1AnimationResponse404 = {
9
+ message: types.PostV1AnimationResponse404MessageEnum;
10
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by Sideko (sideko.dev)
3
+ **/
4
+ /**
5
+ * Unprocessable Entity
6
+ */
7
+ export declare type PostV1AnimationResponse422 = {
8
+ message: string;
9
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by Sideko (sideko.dev)
4
+ **/
5
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-hour",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {