magic-hour 0.35.0 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +208 -10
- package/dist/client.js +2 -2
- package/dist/core/api-error.d.ts +1 -1
- package/dist/core/api-promise.d.ts +2 -2
- package/dist/core/api-promise.js +2 -1
- package/dist/core/auth.d.ts +1 -1
- package/dist/core/auth.js +1 -1
- package/dist/core/binary-response.d.ts +1 -1
- package/dist/core/core-client.d.ts +5 -5
- package/dist/core/core-client.js +2 -5
- package/dist/core/form-data.d.ts +1 -1
- package/dist/core/zod.d.ts +1 -1
- package/dist/core/zod.js +1 -1
- package/dist/environment.d.ts +1 -1
- package/dist/environment.js +1 -1
- package/dist/helpers/download.d.ts +5 -0
- package/dist/helpers/download.js +88 -0
- package/dist/helpers/generate-type.d.ts +51 -0
- package/dist/helpers/generate-type.js +2 -0
- package/dist/helpers/sleep.d.ts +4 -0
- package/dist/helpers/sleep.js +9 -0
- package/dist/logger.d.ts +48 -0
- package/dist/logger.js +97 -0
- package/dist/resources/v1/ai-clothes-changer/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-clothes-changer/request-types.js +1 -1
- package/dist/resources/v1/ai-clothes-changer/resource-client.d.ts +50 -0
- package/dist/resources/v1/ai-clothes-changer/resource-client.js +75 -0
- package/dist/resources/v1/ai-face-editor/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-face-editor/request-types.js +1 -1
- package/dist/resources/v1/ai-face-editor/resource-client.d.ts +55 -0
- package/dist/resources/v1/ai-face-editor/resource-client.js +85 -0
- package/dist/resources/v1/ai-gif-generator/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-gif-generator/request-types.js +1 -1
- package/dist/resources/v1/ai-gif-generator/resource-client.d.ts +29 -0
- package/dist/resources/v1/ai-gif-generator/resource-client.js +60 -0
- package/dist/resources/v1/ai-headshot-generator/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-headshot-generator/request-types.js +1 -1
- package/dist/resources/v1/ai-headshot-generator/resource-client.d.ts +38 -0
- package/dist/resources/v1/ai-headshot-generator/resource-client.js +68 -0
- package/dist/resources/v1/ai-image-editor/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-image-editor/request-types.js +1 -1
- package/dist/resources/v1/ai-image-editor/resource-client.d.ts +39 -0
- package/dist/resources/v1/ai-image-editor/resource-client.js +69 -0
- package/dist/resources/v1/ai-image-generator/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-image-generator/request-types.js +1 -1
- package/dist/resources/v1/ai-image-generator/resource-client.d.ts +31 -0
- package/dist/resources/v1/ai-image-generator/resource-client.js +62 -0
- package/dist/resources/v1/ai-image-upscaler/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-image-upscaler/request-types.js +1 -1
- package/dist/resources/v1/ai-image-upscaler/resource-client.d.ts +40 -0
- package/dist/resources/v1/ai-image-upscaler/resource-client.js +70 -0
- package/dist/resources/v1/ai-meme-generator/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-meme-generator/request-types.js +1 -1
- package/dist/resources/v1/ai-meme-generator/resource-client.d.ts +33 -0
- package/dist/resources/v1/ai-meme-generator/resource-client.js +64 -0
- package/dist/resources/v1/ai-photo-editor/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-photo-editor/request-types.js +1 -1
- package/dist/resources/v1/ai-photo-editor/resource-client.d.ts +49 -0
- package/dist/resources/v1/ai-photo-editor/resource-client.js +79 -0
- package/dist/resources/v1/ai-qr-code-generator/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-qr-code-generator/request-types.js +1 -1
- package/dist/resources/v1/ai-qr-code-generator/resource-client.d.ts +30 -0
- package/dist/resources/v1/ai-qr-code-generator/resource-client.js +61 -0
- package/dist/resources/v1/ai-talking-photo/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-talking-photo/request-types.js +1 -1
- package/dist/resources/v1/ai-talking-photo/resource-client.d.ts +51 -0
- package/dist/resources/v1/ai-talking-photo/resource-client.js +76 -0
- package/dist/resources/v1/animation/request-types.d.ts +1 -1
- package/dist/resources/v1/animation/request-types.js +1 -1
- package/dist/resources/v1/animation/resource-client.d.ts +61 -0
- package/dist/resources/v1/animation/resource-client.js +98 -0
- package/dist/resources/v1/auto-subtitle-generator/request-types.d.ts +1 -1
- package/dist/resources/v1/auto-subtitle-generator/request-types.js +1 -1
- package/dist/resources/v1/auto-subtitle-generator/resource-client.d.ts +41 -0
- package/dist/resources/v1/auto-subtitle-generator/resource-client.js +71 -0
- package/dist/resources/v1/face-detection/request-types.d.ts +1 -1
- package/dist/resources/v1/face-detection/request-types.js +1 -1
- package/dist/resources/v1/face-detection/resource-client.d.ts +30 -0
- package/dist/resources/v1/face-detection/resource-client.js +75 -0
- package/dist/resources/v1/face-swap/request-types.d.ts +7 -1
- package/dist/resources/v1/face-swap/request-types.js +6 -1
- package/dist/resources/v1/face-swap/resource-client.d.ts +77 -0
- package/dist/resources/v1/face-swap/resource-client.js +125 -0
- package/dist/resources/v1/face-swap-photo/request-types.d.ts +1 -1
- package/dist/resources/v1/face-swap-photo/request-types.js +1 -1
- package/dist/resources/v1/face-swap-photo/resource-client.d.ts +73 -0
- package/dist/resources/v1/face-swap-photo/resource-client.js +117 -0
- package/dist/resources/v1/files/resource-client.d.ts +40 -0
- package/dist/resources/v1/files/resource-client.js +236 -0
- package/dist/resources/v1/files/resource-client.test.d.ts +1 -0
- package/dist/resources/v1/files/resource-client.test.js +422 -0
- package/dist/resources/v1/files/upload-urls/request-types.d.ts +1 -1
- package/dist/resources/v1/files/upload-urls/request-types.js +1 -1
- package/dist/resources/v1/image-background-remover/request-types.d.ts +1 -1
- package/dist/resources/v1/image-background-remover/request-types.js +1 -1
- package/dist/resources/v1/image-background-remover/resource-client.d.ts +49 -0
- package/dist/resources/v1/image-background-remover/resource-client.js +82 -0
- package/dist/resources/v1/image-projects/request-types.js +1 -1
- package/dist/resources/v1/image-projects/resource-client.d.ts +22 -0
- package/dist/resources/v1/image-projects/resource-client.js +68 -0
- package/dist/resources/v1/image-projects/resource-client.test.d.ts +1 -0
- package/dist/resources/v1/image-projects/resource-client.test.js +538 -0
- package/dist/resources/v1/image-to-video/request-types.d.ts +1 -1
- package/dist/resources/v1/image-to-video/request-types.js +1 -1
- package/dist/resources/v1/image-to-video/resource-client.d.ts +40 -0
- package/dist/resources/v1/image-to-video/resource-client.js +70 -0
- package/dist/resources/v1/lip-sync/request-types.d.ts +1 -1
- package/dist/resources/v1/lip-sync/request-types.js +1 -1
- package/dist/resources/v1/lip-sync/resource-client.d.ts +53 -0
- package/dist/resources/v1/lip-sync/resource-client.js +84 -0
- package/dist/resources/v1/photo-colorizer/request-types.d.ts +1 -1
- package/dist/resources/v1/photo-colorizer/request-types.js +1 -1
- package/dist/resources/v1/photo-colorizer/resource-client.d.ts +38 -0
- package/dist/resources/v1/photo-colorizer/resource-client.js +68 -0
- package/dist/resources/v1/resource-client.js +3 -3
- package/dist/resources/v1/text-to-video/request-types.d.ts +1 -1
- package/dist/resources/v1/text-to-video/request-types.js +1 -1
- package/dist/resources/v1/text-to-video/resource-client.d.ts +32 -0
- package/dist/resources/v1/text-to-video/resource-client.js +63 -0
- package/dist/resources/v1/video-projects/request-types.js +1 -1
- package/dist/resources/v1/video-projects/resource-client.d.ts +22 -0
- package/dist/resources/v1/video-projects/resource-client.js +68 -0
- package/dist/resources/v1/video-projects/resource-client.test.d.ts +1 -0
- package/dist/resources/v1/video-projects/resource-client.test.js +713 -0
- package/dist/resources/v1/video-to-video/request-types.d.ts +1 -1
- package/dist/resources/v1/video-to-video/request-types.js +1 -1
- package/dist/resources/v1/video-to-video/resource-client.d.ts +48 -0
- package/dist/resources/v1/video-to-video/resource-client.js +84 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/v1-ai-clothes-changer-create-body-assets.js +1 -1
- package/dist/types/v1-ai-clothes-changer-create-body.d.ts +1 -1
- package/dist/types/v1-ai-clothes-changer-create-body.js +2 -2
- package/dist/types/v1-ai-clothes-changer-create-response.js +1 -1
- package/dist/types/v1-ai-face-editor-create-body-assets.js +1 -1
- package/dist/types/v1-ai-face-editor-create-body-style.js +1 -1
- package/dist/types/v1-ai-face-editor-create-body.d.ts +1 -1
- package/dist/types/v1-ai-face-editor-create-body.js +2 -2
- package/dist/types/v1-ai-face-editor-create-response.js +1 -1
- package/dist/types/v1-ai-gif-generator-create-body-style.js +1 -1
- package/dist/types/v1-ai-gif-generator-create-body.d.ts +1 -1
- package/dist/types/v1-ai-gif-generator-create-body.js +2 -2
- package/dist/types/v1-ai-gif-generator-create-response.js +1 -1
- package/dist/types/v1-ai-headshot-generator-create-body-assets.js +1 -1
- package/dist/types/v1-ai-headshot-generator-create-body-style.js +1 -1
- package/dist/types/v1-ai-headshot-generator-create-body.d.ts +1 -1
- package/dist/types/v1-ai-headshot-generator-create-body.js +2 -2
- package/dist/types/v1-ai-headshot-generator-create-response.js +1 -1
- package/dist/types/v1-ai-image-editor-create-body-assets.js +1 -1
- package/dist/types/v1-ai-image-editor-create-body-style.js +1 -1
- package/dist/types/v1-ai-image-editor-create-body.d.ts +1 -1
- package/dist/types/v1-ai-image-editor-create-body.js +2 -2
- package/dist/types/v1-ai-image-editor-create-response.js +1 -1
- package/dist/types/v1-ai-image-generator-create-body-style.js +1 -1
- package/dist/types/v1-ai-image-generator-create-body.d.ts +1 -1
- package/dist/types/v1-ai-image-generator-create-body.js +2 -2
- package/dist/types/v1-ai-image-generator-create-response.js +1 -1
- package/dist/types/v1-ai-image-upscaler-create-body-assets.js +1 -1
- package/dist/types/v1-ai-image-upscaler-create-body-style.js +1 -1
- package/dist/types/v1-ai-image-upscaler-create-body.d.ts +1 -1
- package/dist/types/v1-ai-image-upscaler-create-body.js +2 -2
- package/dist/types/v1-ai-image-upscaler-create-response.js +1 -1
- package/dist/types/v1-ai-meme-generator-create-body-style.js +1 -1
- package/dist/types/v1-ai-meme-generator-create-body.d.ts +1 -1
- package/dist/types/v1-ai-meme-generator-create-body.js +2 -2
- package/dist/types/v1-ai-meme-generator-create-response.js +1 -1
- package/dist/types/v1-ai-photo-editor-create-body-assets.js +1 -1
- package/dist/types/v1-ai-photo-editor-create-body-style.js +1 -1
- package/dist/types/v1-ai-photo-editor-create-body.d.ts +1 -1
- package/dist/types/v1-ai-photo-editor-create-body.js +2 -2
- package/dist/types/v1-ai-photo-editor-create-response.js +1 -1
- package/dist/types/v1-ai-qr-code-generator-create-body-style.js +1 -1
- package/dist/types/v1-ai-qr-code-generator-create-body.d.ts +1 -1
- package/dist/types/v1-ai-qr-code-generator-create-body.js +2 -2
- package/dist/types/v1-ai-qr-code-generator-create-response.js +1 -1
- package/dist/types/v1-ai-talking-photo-create-body-assets.js +1 -1
- package/dist/types/v1-ai-talking-photo-create-body-style.js +1 -1
- package/dist/types/v1-ai-talking-photo-create-body.d.ts +1 -1
- package/dist/types/v1-ai-talking-photo-create-body.js +2 -2
- package/dist/types/v1-ai-talking-photo-create-response.js +1 -1
- package/dist/types/v1-animation-create-body-assets.js +1 -1
- package/dist/types/v1-animation-create-body-style.js +1 -1
- package/dist/types/v1-animation-create-body.d.ts +1 -1
- package/dist/types/v1-animation-create-body.js +2 -2
- package/dist/types/v1-animation-create-response.js +1 -1
- package/dist/types/v1-auto-subtitle-generator-create-body-assets.js +1 -1
- package/dist/types/v1-auto-subtitle-generator-create-body-style-custom-config.js +1 -1
- package/dist/types/v1-auto-subtitle-generator-create-body-style.d.ts +1 -1
- package/dist/types/v1-auto-subtitle-generator-create-body-style.js +2 -2
- package/dist/types/v1-auto-subtitle-generator-create-body.d.ts +1 -1
- package/dist/types/v1-auto-subtitle-generator-create-body.js +2 -2
- package/dist/types/v1-auto-subtitle-generator-create-response.js +1 -1
- package/dist/types/v1-face-detection-create-body-assets.js +1 -1
- package/dist/types/v1-face-detection-create-body.d.ts +1 -1
- package/dist/types/v1-face-detection-create-body.js +2 -2
- package/dist/types/v1-face-detection-create-response.js +1 -1
- package/dist/types/v1-face-detection-get-response-faces-item.js +1 -1
- package/dist/types/v1-face-detection-get-response.d.ts +1 -1
- package/dist/types/v1-face-detection-get-response.js +2 -2
- package/dist/types/v1-face-swap-create-body-assets-face-mappings-item.js +1 -1
- package/dist/types/v1-face-swap-create-body-assets.d.ts +1 -1
- package/dist/types/v1-face-swap-create-body-assets.js +2 -2
- package/dist/types/v1-face-swap-create-body-style-version-enum.d.ts +6 -0
- package/dist/types/v1-face-swap-create-body-style-version-enum.js +2 -0
- package/dist/types/v1-face-swap-create-body-style.d.ts +24 -0
- package/dist/types/v1-face-swap-create-body-style.js +67 -0
- package/dist/types/v1-face-swap-create-body.d.ts +7 -1
- package/dist/types/v1-face-swap-create-body.js +7 -2
- package/dist/types/v1-face-swap-create-response.js +1 -1
- package/dist/types/v1-face-swap-photo-create-body-assets-face-mappings-item.js +1 -1
- package/dist/types/v1-face-swap-photo-create-body-assets.d.ts +1 -1
- package/dist/types/v1-face-swap-photo-create-body-assets.js +2 -2
- package/dist/types/v1-face-swap-photo-create-body.d.ts +1 -1
- package/dist/types/v1-face-swap-photo-create-body.js +2 -2
- package/dist/types/v1-face-swap-photo-create-response.js +1 -1
- package/dist/types/v1-files-upload-urls-create-body-items-item.js +1 -1
- package/dist/types/v1-files-upload-urls-create-body.d.ts +1 -1
- package/dist/types/v1-files-upload-urls-create-body.js +2 -2
- package/dist/types/v1-files-upload-urls-create-response-items-item.js +1 -1
- package/dist/types/v1-files-upload-urls-create-response.d.ts +1 -1
- package/dist/types/v1-files-upload-urls-create-response.js +2 -2
- package/dist/types/v1-image-background-remover-create-body-assets.js +1 -1
- package/dist/types/v1-image-background-remover-create-body.d.ts +1 -1
- package/dist/types/v1-image-background-remover-create-body.js +2 -2
- package/dist/types/v1-image-background-remover-create-response.js +1 -1
- package/dist/types/v1-image-projects-get-response-downloads-item.js +1 -1
- package/dist/types/v1-image-projects-get-response-error.js +1 -1
- package/dist/types/v1-image-projects-get-response.d.ts +1 -1
- package/dist/types/v1-image-projects-get-response.js +2 -2
- package/dist/types/v1-image-to-video-create-body-assets.js +1 -1
- package/dist/types/v1-image-to-video-create-body-style.js +1 -1
- package/dist/types/v1-image-to-video-create-body.d.ts +1 -1
- package/dist/types/v1-image-to-video-create-body.js +2 -2
- package/dist/types/v1-image-to-video-create-response.js +1 -1
- package/dist/types/v1-lip-sync-create-body-assets.js +1 -1
- package/dist/types/v1-lip-sync-create-body.d.ts +1 -1
- package/dist/types/v1-lip-sync-create-body.js +2 -2
- package/dist/types/v1-lip-sync-create-response.js +1 -1
- package/dist/types/v1-photo-colorizer-create-body-assets.js +1 -1
- package/dist/types/v1-photo-colorizer-create-body.d.ts +1 -1
- package/dist/types/v1-photo-colorizer-create-body.js +2 -2
- package/dist/types/v1-photo-colorizer-create-response.js +1 -1
- package/dist/types/v1-text-to-video-create-body-style.js +1 -1
- package/dist/types/v1-text-to-video-create-body.d.ts +1 -1
- package/dist/types/v1-text-to-video-create-body.js +2 -2
- package/dist/types/v1-text-to-video-create-response.js +1 -1
- package/dist/types/v1-video-projects-get-response-download.js +1 -1
- package/dist/types/v1-video-projects-get-response-downloads-item.js +1 -1
- package/dist/types/v1-video-projects-get-response-error.js +1 -1
- package/dist/types/v1-video-projects-get-response.d.ts +1 -1
- package/dist/types/v1-video-projects-get-response.js +2 -2
- package/dist/types/v1-video-to-video-create-body-assets.js +1 -1
- package/dist/types/v1-video-to-video-create-body-style.js +1 -1
- package/dist/types/v1-video-to-video-create-body.d.ts +1 -1
- package/dist/types/v1-video-to-video-create-body.js +2 -2
- package/dist/types/v1-video-to-video-create-response.js +1 -1
- package/package.json +14 -9
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1FilesUploadUrlsCreateBodyItemsItem = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1FilesUploadUrlsCreateBodyItemsItem
|
|
41
41
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { External$V1FilesUploadUrlsCreateBodyItemsItem, V1FilesUploadUrlsCreateBodyItemsItem } from "./v1-files-upload-urls-create-body-items-item";
|
|
2
1
|
import * as z from "zod";
|
|
2
|
+
import { External$V1FilesUploadUrlsCreateBodyItemsItem, V1FilesUploadUrlsCreateBodyItemsItem } from "./v1-files-upload-urls-create-body-items-item";
|
|
3
3
|
/**
|
|
4
4
|
* V1FilesUploadUrlsCreateBody
|
|
5
5
|
*/
|
|
@@ -34,9 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1FilesUploadUrlsCreateBody = void 0;
|
|
37
|
-
const v1_files_upload_urls_create_body_items_item_1 = require("./v1-files-upload-urls-create-body-items-item");
|
|
38
|
-
const core_1 = require("../core");
|
|
39
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
|
+
const v1_files_upload_urls_create_body_items_item_1 = require("./v1-files-upload-urls-create-body-items-item");
|
|
40
40
|
/**
|
|
41
41
|
* Takes network data, validates it, and transforms keys to match typescript object V1FilesUploadUrlsCreateBody
|
|
42
42
|
*/
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1FilesUploadUrlsCreateResponseItemsItem = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1FilesUploadUrlsCreateResponseItemsItem
|
|
41
41
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { External$V1FilesUploadUrlsCreateResponseItemsItem, V1FilesUploadUrlsCreateResponseItemsItem } from "./v1-files-upload-urls-create-response-items-item";
|
|
2
1
|
import * as z from "zod";
|
|
2
|
+
import { External$V1FilesUploadUrlsCreateResponseItemsItem, V1FilesUploadUrlsCreateResponseItemsItem } from "./v1-files-upload-urls-create-response-items-item";
|
|
3
3
|
/**
|
|
4
4
|
* Success
|
|
5
5
|
*/
|
|
@@ -34,9 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1FilesUploadUrlsCreateResponse = void 0;
|
|
37
|
-
const v1_files_upload_urls_create_response_items_item_1 = require("./v1-files-upload-urls-create-response-items-item");
|
|
38
|
-
const core_1 = require("../core");
|
|
39
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
|
+
const v1_files_upload_urls_create_response_items_item_1 = require("./v1-files-upload-urls-create-response-items-item");
|
|
40
40
|
/**
|
|
41
41
|
* Takes network data, validates it, and transforms keys to match typescript object V1FilesUploadUrlsCreateResponse
|
|
42
42
|
*/
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1ImageBackgroundRemoverCreateBodyAssets = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1ImageBackgroundRemoverCreateBodyAssets
|
|
41
41
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { External$V1ImageBackgroundRemoverCreateBodyAssets, V1ImageBackgroundRemoverCreateBodyAssets } from "./v1-image-background-remover-create-body-assets";
|
|
2
1
|
import * as z from "zod";
|
|
2
|
+
import { External$V1ImageBackgroundRemoverCreateBodyAssets, V1ImageBackgroundRemoverCreateBodyAssets } from "./v1-image-background-remover-create-body-assets";
|
|
3
3
|
/**
|
|
4
4
|
* V1ImageBackgroundRemoverCreateBody
|
|
5
5
|
*/
|
|
@@ -34,9 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1ImageBackgroundRemoverCreateBody = void 0;
|
|
37
|
-
const v1_image_background_remover_create_body_assets_1 = require("./v1-image-background-remover-create-body-assets");
|
|
38
|
-
const core_1 = require("../core");
|
|
39
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
|
+
const v1_image_background_remover_create_body_assets_1 = require("./v1-image-background-remover-create-body-assets");
|
|
40
40
|
/**
|
|
41
41
|
* Takes network data, validates it, and transforms keys to match typescript object V1ImageBackgroundRemoverCreateBody
|
|
42
42
|
*/
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1ImageBackgroundRemoverCreateResponse = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1ImageBackgroundRemoverCreateResponse
|
|
41
41
|
*/
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1ImageProjectsGetResponseDownloadsItem = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1ImageProjectsGetResponseDownloadsItem
|
|
41
41
|
*/
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1ImageProjectsGetResponseError = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1ImageProjectsGetResponseError
|
|
41
41
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
1
2
|
import { External$V1ImageProjectsGetResponseDownloadsItem, V1ImageProjectsGetResponseDownloadsItem } from "./v1-image-projects-get-response-downloads-item";
|
|
2
3
|
import { External$V1ImageProjectsGetResponseError, V1ImageProjectsGetResponseError } from "./v1-image-projects-get-response-error";
|
|
3
|
-
import * as z from "zod";
|
|
4
4
|
/**
|
|
5
5
|
* Success
|
|
6
6
|
*/
|
|
@@ -34,10 +34,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1ImageProjectsGetResponse = void 0;
|
|
37
|
+
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
37
39
|
const v1_image_projects_get_response_downloads_item_1 = require("./v1-image-projects-get-response-downloads-item");
|
|
38
40
|
const v1_image_projects_get_response_error_1 = require("./v1-image-projects-get-response-error");
|
|
39
|
-
const core_1 = require("../core");
|
|
40
|
-
const z = __importStar(require("zod"));
|
|
41
41
|
/**
|
|
42
42
|
* Takes network data, validates it, and transforms keys to match typescript object V1ImageProjectsGetResponse
|
|
43
43
|
*/
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1ImageToVideoCreateBodyAssets = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1ImageToVideoCreateBodyAssets
|
|
41
41
|
*/
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1ImageToVideoCreateBodyStyle = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1ImageToVideoCreateBodyStyle
|
|
41
41
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
1
2
|
import { External$V1ImageToVideoCreateBodyAssets, V1ImageToVideoCreateBodyAssets } from "./v1-image-to-video-create-body-assets";
|
|
2
3
|
import { External$V1ImageToVideoCreateBodyStyle, V1ImageToVideoCreateBodyStyle } from "./v1-image-to-video-create-body-style";
|
|
3
|
-
import * as z from "zod";
|
|
4
4
|
/**
|
|
5
5
|
* V1ImageToVideoCreateBody
|
|
6
6
|
*/
|
|
@@ -34,10 +34,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1ImageToVideoCreateBody = void 0;
|
|
37
|
+
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
37
39
|
const v1_image_to_video_create_body_assets_1 = require("./v1-image-to-video-create-body-assets");
|
|
38
40
|
const v1_image_to_video_create_body_style_1 = require("./v1-image-to-video-create-body-style");
|
|
39
|
-
const core_1 = require("../core");
|
|
40
|
-
const z = __importStar(require("zod"));
|
|
41
41
|
/**
|
|
42
42
|
* Takes network data, validates it, and transforms keys to match typescript object V1ImageToVideoCreateBody
|
|
43
43
|
*/
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1ImageToVideoCreateResponse = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1ImageToVideoCreateResponse
|
|
41
41
|
*/
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1LipSyncCreateBodyAssets = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1LipSyncCreateBodyAssets
|
|
41
41
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { External$V1LipSyncCreateBodyAssets, V1LipSyncCreateBodyAssets } from "./v1-lip-sync-create-body-assets";
|
|
2
1
|
import * as z from "zod";
|
|
2
|
+
import { External$V1LipSyncCreateBodyAssets, V1LipSyncCreateBodyAssets } from "./v1-lip-sync-create-body-assets";
|
|
3
3
|
/**
|
|
4
4
|
* V1LipSyncCreateBody
|
|
5
5
|
*/
|
|
@@ -34,9 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1LipSyncCreateBody = void 0;
|
|
37
|
-
const v1_lip_sync_create_body_assets_1 = require("./v1-lip-sync-create-body-assets");
|
|
38
|
-
const core_1 = require("../core");
|
|
39
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
|
+
const v1_lip_sync_create_body_assets_1 = require("./v1-lip-sync-create-body-assets");
|
|
40
40
|
/**
|
|
41
41
|
* Takes network data, validates it, and transforms keys to match typescript object V1LipSyncCreateBody
|
|
42
42
|
*/
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1LipSyncCreateResponse = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1LipSyncCreateResponse
|
|
41
41
|
*/
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1PhotoColorizerCreateBodyAssets = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1PhotoColorizerCreateBodyAssets
|
|
41
41
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { External$V1PhotoColorizerCreateBodyAssets, V1PhotoColorizerCreateBodyAssets } from "./v1-photo-colorizer-create-body-assets";
|
|
2
1
|
import * as z from "zod";
|
|
2
|
+
import { External$V1PhotoColorizerCreateBodyAssets, V1PhotoColorizerCreateBodyAssets } from "./v1-photo-colorizer-create-body-assets";
|
|
3
3
|
/**
|
|
4
4
|
* V1PhotoColorizerCreateBody
|
|
5
5
|
*/
|
|
@@ -34,9 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1PhotoColorizerCreateBody = void 0;
|
|
37
|
-
const v1_photo_colorizer_create_body_assets_1 = require("./v1-photo-colorizer-create-body-assets");
|
|
38
|
-
const core_1 = require("../core");
|
|
39
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
|
+
const v1_photo_colorizer_create_body_assets_1 = require("./v1-photo-colorizer-create-body-assets");
|
|
40
40
|
/**
|
|
41
41
|
* Takes network data, validates it, and transforms keys to match typescript object V1PhotoColorizerCreateBody
|
|
42
42
|
*/
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1PhotoColorizerCreateResponse = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1PhotoColorizerCreateResponse
|
|
41
41
|
*/
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1TextToVideoCreateBodyStyle = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1TextToVideoCreateBodyStyle
|
|
41
41
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { External$V1TextToVideoCreateBodyStyle, V1TextToVideoCreateBodyStyle } from "./v1-text-to-video-create-body-style";
|
|
2
1
|
import * as z from "zod";
|
|
2
|
+
import { External$V1TextToVideoCreateBodyStyle, V1TextToVideoCreateBodyStyle } from "./v1-text-to-video-create-body-style";
|
|
3
3
|
/**
|
|
4
4
|
* V1TextToVideoCreateBody
|
|
5
5
|
*/
|
|
@@ -34,9 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1TextToVideoCreateBody = void 0;
|
|
37
|
-
const v1_text_to_video_create_body_style_1 = require("./v1-text-to-video-create-body-style");
|
|
38
|
-
const core_1 = require("../core");
|
|
39
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
|
+
const v1_text_to_video_create_body_style_1 = require("./v1-text-to-video-create-body-style");
|
|
40
40
|
/**
|
|
41
41
|
* Takes network data, validates it, and transforms keys to match typescript object V1TextToVideoCreateBody
|
|
42
42
|
*/
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1TextToVideoCreateResponse = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1TextToVideoCreateResponse
|
|
41
41
|
*/
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1VideoProjectsGetResponseDownload = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1VideoProjectsGetResponseDownload
|
|
41
41
|
*/
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1VideoProjectsGetResponseDownloadsItem = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1VideoProjectsGetResponseDownloadsItem
|
|
41
41
|
*/
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1VideoProjectsGetResponseError = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1VideoProjectsGetResponseError
|
|
41
41
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
1
2
|
import { External$V1VideoProjectsGetResponseDownload, V1VideoProjectsGetResponseDownload } from "./v1-video-projects-get-response-download";
|
|
2
3
|
import { External$V1VideoProjectsGetResponseDownloadsItem, V1VideoProjectsGetResponseDownloadsItem } from "./v1-video-projects-get-response-downloads-item";
|
|
3
4
|
import { External$V1VideoProjectsGetResponseError, V1VideoProjectsGetResponseError } from "./v1-video-projects-get-response-error";
|
|
4
|
-
import * as z from "zod";
|
|
5
5
|
/**
|
|
6
6
|
* Success
|
|
7
7
|
*/
|
|
@@ -34,11 +34,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1VideoProjectsGetResponse = void 0;
|
|
37
|
+
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
37
39
|
const v1_video_projects_get_response_download_1 = require("./v1-video-projects-get-response-download");
|
|
38
40
|
const v1_video_projects_get_response_downloads_item_1 = require("./v1-video-projects-get-response-downloads-item");
|
|
39
41
|
const v1_video_projects_get_response_error_1 = require("./v1-video-projects-get-response-error");
|
|
40
|
-
const core_1 = require("../core");
|
|
41
|
-
const z = __importStar(require("zod"));
|
|
42
42
|
/**
|
|
43
43
|
* Takes network data, validates it, and transforms keys to match typescript object V1VideoProjectsGetResponse
|
|
44
44
|
*/
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1VideoToVideoCreateBodyAssets = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1VideoToVideoCreateBodyAssets
|
|
41
41
|
*/
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1VideoToVideoCreateBodyStyle = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1VideoToVideoCreateBodyStyle
|
|
41
41
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
1
2
|
import { External$V1VideoToVideoCreateBodyAssets, V1VideoToVideoCreateBodyAssets } from "./v1-video-to-video-create-body-assets";
|
|
2
3
|
import { External$V1VideoToVideoCreateBodyStyle, V1VideoToVideoCreateBodyStyle } from "./v1-video-to-video-create-body-style";
|
|
3
|
-
import * as z from "zod";
|
|
4
4
|
/**
|
|
5
5
|
* V1VideoToVideoCreateBody
|
|
6
6
|
*/
|
|
@@ -34,10 +34,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1VideoToVideoCreateBody = void 0;
|
|
37
|
+
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
37
39
|
const v1_video_to_video_create_body_assets_1 = require("./v1-video-to-video-create-body-assets");
|
|
38
40
|
const v1_video_to_video_create_body_style_1 = require("./v1-video-to-video-create-body-style");
|
|
39
|
-
const core_1 = require("../core");
|
|
40
|
-
const z = __importStar(require("zod"));
|
|
41
41
|
/**
|
|
42
42
|
* Takes network data, validates it, and transforms keys to match typescript object V1VideoToVideoCreateBody
|
|
43
43
|
*/
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1VideoToVideoCreateResponse = void 0;
|
|
37
|
-
const core_1 = require("../core");
|
|
38
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
39
|
/**
|
|
40
40
|
* Takes network data, validates it, and transforms keys to match typescript object V1VideoToVideoCreateResponse
|
|
41
41
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "magic-hour",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"package.json"
|
|
20
20
|
],
|
|
21
21
|
"scripts": {
|
|
22
|
-
"format": "prettier --write 'src/**/*.ts'",
|
|
23
22
|
"build": "tsc && tsc-alias",
|
|
24
|
-
"
|
|
25
|
-
"prepare": "npm run build"
|
|
23
|
+
"format": "prettier --write 'src/**/*.ts'",
|
|
24
|
+
"prepare": "npm run build",
|
|
25
|
+
"test": "jest -i --testPathPattern=test"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"form-data": "^4.0.0",
|
|
@@ -34,30 +34,35 @@
|
|
|
34
34
|
"zod": "^3.23.8"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
+
"@biomejs/biome": "2.2.0",
|
|
38
|
+
"@types/glob": "^8.1.0",
|
|
37
39
|
"@types/jest": "^29.5.14",
|
|
38
40
|
"@types/node": "17.0.33",
|
|
39
41
|
"@types/node-fetch": "2.6.9",
|
|
42
|
+
"@types/prettier": "^2.7.3",
|
|
40
43
|
"@types/qs": "6.9.8",
|
|
41
44
|
"@types/url-join": "4.0.1",
|
|
42
45
|
"jest": "^29.7.0",
|
|
46
|
+
"msw": "^2.10.5",
|
|
43
47
|
"prettier": "2.7.1",
|
|
44
48
|
"ts-jest": "^29.2.5",
|
|
49
|
+
"ts-morph": "^26.0.0",
|
|
45
50
|
"ts-node": "^10.9.2",
|
|
46
51
|
"tsc-alias": "^1.8.10",
|
|
47
52
|
"typescript": "^5.2.0"
|
|
48
53
|
},
|
|
54
|
+
"bugs": "https://github.com/magichourhq/magic-hour-node/issues",
|
|
49
55
|
"description": "Node SDK for Magic Hour API",
|
|
56
|
+
"homepage": "https://github.com/magichourhq/magic-hour-node",
|
|
50
57
|
"keywords": [
|
|
51
58
|
"magic hour",
|
|
52
59
|
"AI video",
|
|
53
60
|
"AI image",
|
|
54
61
|
"api"
|
|
55
62
|
],
|
|
56
|
-
"
|
|
63
|
+
"license": "MIT",
|
|
57
64
|
"repository": {
|
|
58
65
|
"type": "git",
|
|
59
66
|
"url": "git://github.com/magichourhq/magic-hour-node.git"
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
"license": "MIT"
|
|
63
|
-
}
|
|
67
|
+
}
|
|
68
|
+
}
|