magic-hour 0.35.0 → 0.36.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 +6 -0
- 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/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-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-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-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-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-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-upscaler/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-image-upscaler/request-types.js +1 -1
- 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-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-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-talking-photo/request-types.d.ts +1 -1
- package/dist/resources/v1/ai-talking-photo/request-types.js +1 -1
- 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/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/face-detection/request-types.d.ts +1 -1
- package/dist/resources/v1/face-detection/request-types.js +1 -1
- 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-photo/request-types.d.ts +1 -1
- package/dist/resources/v1/face-swap-photo/request-types.js +1 -1
- 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-projects/request-types.js +1 -1
- 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/lip-sync/request-types.d.ts +1 -1
- package/dist/resources/v1/lip-sync/request-types.js +1 -1
- 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/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/video-projects/request-types.js +1 -1
- 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/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 +3 -2
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1AiQrCodeGeneratorCreateBodyStyle = 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 V1AiQrCodeGeneratorCreateBodyStyle
|
|
41
41
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { External$V1AiQrCodeGeneratorCreateBodyStyle, V1AiQrCodeGeneratorCreateBodyStyle } from "./v1-ai-qr-code-generator-create-body-style";
|
|
2
1
|
import * as z from "zod";
|
|
2
|
+
import { External$V1AiQrCodeGeneratorCreateBodyStyle, V1AiQrCodeGeneratorCreateBodyStyle } from "./v1-ai-qr-code-generator-create-body-style";
|
|
3
3
|
/**
|
|
4
4
|
* V1AiQrCodeGeneratorCreateBody
|
|
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$V1AiQrCodeGeneratorCreateBody = void 0;
|
|
37
|
-
const v1_ai_qr_code_generator_create_body_style_1 = require("./v1-ai-qr-code-generator-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_ai_qr_code_generator_create_body_style_1 = require("./v1-ai-qr-code-generator-create-body-style");
|
|
40
40
|
/**
|
|
41
41
|
* Takes network data, validates it, and transforms keys to match typescript object V1AiQrCodeGeneratorCreateBody
|
|
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$V1AiQrCodeGeneratorCreateResponse = 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 V1AiQrCodeGeneratorCreateResponse
|
|
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$V1AiTalkingPhotoCreateBodyAssets = 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 V1AiTalkingPhotoCreateBodyAssets
|
|
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$V1AiTalkingPhotoCreateBodyStyle = 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 V1AiTalkingPhotoCreateBodyStyle
|
|
41
41
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
1
2
|
import { External$V1AiTalkingPhotoCreateBodyAssets, V1AiTalkingPhotoCreateBodyAssets } from "./v1-ai-talking-photo-create-body-assets";
|
|
2
3
|
import { External$V1AiTalkingPhotoCreateBodyStyle, V1AiTalkingPhotoCreateBodyStyle } from "./v1-ai-talking-photo-create-body-style";
|
|
3
|
-
import * as z from "zod";
|
|
4
4
|
/**
|
|
5
5
|
* Provide the assets for creating a talking photo
|
|
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$V1AiTalkingPhotoCreateBody = void 0;
|
|
37
|
+
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
37
39
|
const v1_ai_talking_photo_create_body_assets_1 = require("./v1-ai-talking-photo-create-body-assets");
|
|
38
40
|
const v1_ai_talking_photo_create_body_style_1 = require("./v1-ai-talking-photo-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 V1AiTalkingPhotoCreateBody
|
|
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$V1AiTalkingPhotoCreateResponse = 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 V1AiTalkingPhotoCreateResponse
|
|
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$V1AnimationCreateBodyAssets = 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 V1AnimationCreateBodyAssets
|
|
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$V1AnimationCreateBodyStyle = 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 V1AnimationCreateBodyStyle
|
|
41
41
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
1
2
|
import { External$V1AnimationCreateBodyAssets, V1AnimationCreateBodyAssets } from "./v1-animation-create-body-assets";
|
|
2
3
|
import { External$V1AnimationCreateBodyStyle, V1AnimationCreateBodyStyle } from "./v1-animation-create-body-style";
|
|
3
|
-
import * as z from "zod";
|
|
4
4
|
/**
|
|
5
5
|
* V1AnimationCreateBody
|
|
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$V1AnimationCreateBody = void 0;
|
|
37
|
+
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
37
39
|
const v1_animation_create_body_assets_1 = require("./v1-animation-create-body-assets");
|
|
38
40
|
const v1_animation_create_body_style_1 = require("./v1-animation-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 V1AnimationCreateBody
|
|
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$V1AnimationCreateResponse = 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 V1AnimationCreateResponse
|
|
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$V1AutoSubtitleGeneratorCreateBodyAssets = 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 V1AutoSubtitleGeneratorCreateBodyAssets
|
|
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$V1AutoSubtitleGeneratorCreateBodyStyleCustomConfig = 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 V1AutoSubtitleGeneratorCreateBodyStyleCustomConfig
|
|
41
41
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { External$V1AutoSubtitleGeneratorCreateBodyStyleCustomConfig, V1AutoSubtitleGeneratorCreateBodyStyleCustomConfig } from "./v1-auto-subtitle-generator-create-body-style-custom-config";
|
|
2
1
|
import * as z from "zod";
|
|
2
|
+
import { External$V1AutoSubtitleGeneratorCreateBodyStyleCustomConfig, V1AutoSubtitleGeneratorCreateBodyStyleCustomConfig } from "./v1-auto-subtitle-generator-create-body-style-custom-config";
|
|
3
3
|
/**
|
|
4
4
|
* Style of the subtitle. At least one of `.style.template` or `.style.custom_config` must be provided.
|
|
5
5
|
* * If only `.style.template` is provided, default values for the template will be used.
|
|
@@ -34,9 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1AutoSubtitleGeneratorCreateBodyStyle = void 0;
|
|
37
|
-
const v1_auto_subtitle_generator_create_body_style_custom_config_1 = require("./v1-auto-subtitle-generator-create-body-style-custom-config");
|
|
38
|
-
const core_1 = require("../core");
|
|
39
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
|
+
const v1_auto_subtitle_generator_create_body_style_custom_config_1 = require("./v1-auto-subtitle-generator-create-body-style-custom-config");
|
|
40
40
|
/**
|
|
41
41
|
* Takes network data, validates it, and transforms keys to match typescript object V1AutoSubtitleGeneratorCreateBodyStyle
|
|
42
42
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
1
2
|
import { External$V1AutoSubtitleGeneratorCreateBodyAssets, V1AutoSubtitleGeneratorCreateBodyAssets } from "./v1-auto-subtitle-generator-create-body-assets";
|
|
2
3
|
import { External$V1AutoSubtitleGeneratorCreateBodyStyle, V1AutoSubtitleGeneratorCreateBodyStyle } from "./v1-auto-subtitle-generator-create-body-style";
|
|
3
|
-
import * as z from "zod";
|
|
4
4
|
/**
|
|
5
5
|
* V1AutoSubtitleGeneratorCreateBody
|
|
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$V1AutoSubtitleGeneratorCreateBody = void 0;
|
|
37
|
+
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
37
39
|
const v1_auto_subtitle_generator_create_body_assets_1 = require("./v1-auto-subtitle-generator-create-body-assets");
|
|
38
40
|
const v1_auto_subtitle_generator_create_body_style_1 = require("./v1-auto-subtitle-generator-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 V1AutoSubtitleGeneratorCreateBody
|
|
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$V1AutoSubtitleGeneratorCreateResponse = 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 V1AutoSubtitleGeneratorCreateResponse
|
|
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$V1FaceDetectionCreateBodyAssets = 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 V1FaceDetectionCreateBodyAssets
|
|
41
41
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { External$V1FaceDetectionCreateBodyAssets, V1FaceDetectionCreateBodyAssets } from "./v1-face-detection-create-body-assets";
|
|
2
1
|
import * as z from "zod";
|
|
2
|
+
import { External$V1FaceDetectionCreateBodyAssets, V1FaceDetectionCreateBodyAssets } from "./v1-face-detection-create-body-assets";
|
|
3
3
|
/**
|
|
4
4
|
* V1FaceDetectionCreateBody
|
|
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$V1FaceDetectionCreateBody = void 0;
|
|
37
|
-
const v1_face_detection_create_body_assets_1 = require("./v1-face-detection-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_face_detection_create_body_assets_1 = require("./v1-face-detection-create-body-assets");
|
|
40
40
|
/**
|
|
41
41
|
* Takes network data, validates it, and transforms keys to match typescript object V1FaceDetectionCreateBody
|
|
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$V1FaceDetectionCreateResponse = 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 V1FaceDetectionCreateResponse
|
|
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$V1FaceDetectionGetResponseFacesItem = 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 V1FaceDetectionGetResponseFacesItem
|
|
41
41
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { External$V1FaceDetectionGetResponseFacesItem, V1FaceDetectionGetResponseFacesItem } from "./v1-face-detection-get-response-faces-item";
|
|
2
1
|
import * as z from "zod";
|
|
2
|
+
import { External$V1FaceDetectionGetResponseFacesItem, V1FaceDetectionGetResponseFacesItem } from "./v1-face-detection-get-response-faces-item";
|
|
3
3
|
/**
|
|
4
4
|
* V1FaceDetectionGetResponse
|
|
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$V1FaceDetectionGetResponse = void 0;
|
|
37
|
-
const v1_face_detection_get_response_faces_item_1 = require("./v1-face-detection-get-response-faces-item");
|
|
38
|
-
const core_1 = require("../core");
|
|
39
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
|
+
const v1_face_detection_get_response_faces_item_1 = require("./v1-face-detection-get-response-faces-item");
|
|
40
40
|
/**
|
|
41
41
|
* Takes network data, validates it, and transforms keys to match typescript object V1FaceDetectionGetResponse
|
|
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$V1FaceSwapCreateBodyAssetsFaceMappingsItem = 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 V1FaceSwapCreateBodyAssetsFaceMappingsItem
|
|
41
41
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { External$V1FaceSwapCreateBodyAssetsFaceMappingsItem, V1FaceSwapCreateBodyAssetsFaceMappingsItem } from "./v1-face-swap-create-body-assets-face-mappings-item";
|
|
2
1
|
import * as z from "zod";
|
|
2
|
+
import { External$V1FaceSwapCreateBodyAssetsFaceMappingsItem, V1FaceSwapCreateBodyAssetsFaceMappingsItem } from "./v1-face-swap-create-body-assets-face-mappings-item";
|
|
3
3
|
/**
|
|
4
4
|
* Provide the assets for face swap. For video, The `video_source` field determines whether `video_file_path` or `youtube_url` field is used
|
|
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$V1FaceSwapCreateBodyAssets = void 0;
|
|
37
|
-
const v1_face_swap_create_body_assets_face_mappings_item_1 = require("./v1-face-swap-create-body-assets-face-mappings-item");
|
|
38
|
-
const core_1 = require("../core");
|
|
39
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
|
+
const v1_face_swap_create_body_assets_face_mappings_item_1 = require("./v1-face-swap-create-body-assets-face-mappings-item");
|
|
40
40
|
/**
|
|
41
41
|
* Takes network data, validates it, and transforms keys to match typescript object V1FaceSwapCreateBodyAssets
|
|
42
42
|
*/
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * `v1` - May preserve skin detail and texture better, but weaker identity preservation.
|
|
3
|
+
* * `v2` - Faster, sharper, better handling of hair and glasses. stronger identity preservation. (Recommended)
|
|
4
|
+
* * `default` - Use the version we recommend, which will change over time. This is recommended unless you need a specific earlier version. This is the default behavior.
|
|
5
|
+
*/
|
|
6
|
+
export type V1FaceSwapCreateBodyStyleVersionEnum = "default" | "v1" | "v2";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Style of the face swap video.
|
|
4
|
+
*/
|
|
5
|
+
export type V1FaceSwapCreateBodyStyle = {
|
|
6
|
+
/**
|
|
7
|
+
* * `v1` - May preserve skin detail and texture better, but weaker identity preservation.
|
|
8
|
+
* * `v2` - Faster, sharper, better handling of hair and glasses. stronger identity preservation. (Recommended)
|
|
9
|
+
* * `default` - Use the version we recommend, which will change over time. This is recommended unless you need a specific earlier version. This is the default behavior.
|
|
10
|
+
*/
|
|
11
|
+
version?: ("default" | "v1" | "v2") | undefined;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
* V1FaceSwapCreateBodyStyle without any key transformation, this is what
|
|
16
|
+
* we expect to come in as network data
|
|
17
|
+
*/
|
|
18
|
+
export type External$V1FaceSwapCreateBodyStyle = {
|
|
19
|
+
version?: ("default" | "v1" | "v2") | undefined;
|
|
20
|
+
};
|
|
21
|
+
export declare const Schemas$V1FaceSwapCreateBodyStyle: {
|
|
22
|
+
in: z.ZodType<V1FaceSwapCreateBodyStyle, z.ZodTypeDef, unknown>;
|
|
23
|
+
out: z.ZodType<External$V1FaceSwapCreateBodyStyle, z.ZodTypeDef, V1FaceSwapCreateBodyStyle>;
|
|
24
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.Schemas$V1FaceSwapCreateBodyStyle = void 0;
|
|
37
|
+
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
|
+
/**
|
|
40
|
+
* Takes network data, validates it, and transforms keys to match typescript object V1FaceSwapCreateBodyStyle
|
|
41
|
+
*/
|
|
42
|
+
const SchemaIn$V1FaceSwapCreateBodyStyle = z
|
|
43
|
+
.object({
|
|
44
|
+
version: z.enum(["default", "v1", "v2"]).optional(),
|
|
45
|
+
})
|
|
46
|
+
.transform((obj) => {
|
|
47
|
+
return (0, core_1.zodTransform)(obj, {
|
|
48
|
+
version: "version",
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
* Takes typescript data, validates it, and maps keys to match the expected external object External$V1FaceSwapCreateBodyStyle
|
|
54
|
+
*/
|
|
55
|
+
const SchemaOut$V1FaceSwapCreateBodyStyle = z
|
|
56
|
+
.object({
|
|
57
|
+
version: z.enum(["default", "v1", "v2"]).optional(),
|
|
58
|
+
})
|
|
59
|
+
.transform((obj) => {
|
|
60
|
+
return (0, core_1.zodTransform)(obj, {
|
|
61
|
+
version: "version",
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
exports.Schemas$V1FaceSwapCreateBodyStyle = {
|
|
65
|
+
in: SchemaIn$V1FaceSwapCreateBodyStyle,
|
|
66
|
+
out: SchemaOut$V1FaceSwapCreateBodyStyle,
|
|
67
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { External$V1FaceSwapCreateBodyAssets, V1FaceSwapCreateBodyAssets } from "./v1-face-swap-create-body-assets";
|
|
2
1
|
import * as z from "zod";
|
|
2
|
+
import { External$V1FaceSwapCreateBodyAssets, V1FaceSwapCreateBodyAssets } from "./v1-face-swap-create-body-assets";
|
|
3
|
+
import { External$V1FaceSwapCreateBodyStyle, V1FaceSwapCreateBodyStyle } from "./v1-face-swap-create-body-style";
|
|
3
4
|
/**
|
|
4
5
|
* V1FaceSwapCreateBody
|
|
5
6
|
*/
|
|
@@ -30,6 +31,10 @@ export type V1FaceSwapCreateBody = {
|
|
|
30
31
|
* The start time of the input video in seconds. This value is used to trim the input video. The value must be greater than 0.
|
|
31
32
|
*/
|
|
32
33
|
startSeconds: number;
|
|
34
|
+
/**
|
|
35
|
+
* Style of the face swap video.
|
|
36
|
+
*/
|
|
37
|
+
style?: V1FaceSwapCreateBodyStyle | undefined;
|
|
33
38
|
/**
|
|
34
39
|
* `width` is deprecated and no longer influences the output video's resolution.
|
|
35
40
|
*
|
|
@@ -52,6 +57,7 @@ export type External$V1FaceSwapCreateBody = {
|
|
|
52
57
|
height?: number | null | undefined;
|
|
53
58
|
name?: string | undefined;
|
|
54
59
|
start_seconds: number;
|
|
60
|
+
style?: External$V1FaceSwapCreateBodyStyle | undefined;
|
|
55
61
|
width?: number | null | undefined;
|
|
56
62
|
};
|
|
57
63
|
export declare const Schemas$V1FaceSwapCreateBody: {
|
|
@@ -34,9 +34,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1FaceSwapCreateBody = void 0;
|
|
37
|
-
const v1_face_swap_create_body_assets_1 = require("./v1-face-swap-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_face_swap_create_body_assets_1 = require("./v1-face-swap-create-body-assets");
|
|
40
|
+
const v1_face_swap_create_body_style_1 = require("./v1-face-swap-create-body-style");
|
|
40
41
|
/**
|
|
41
42
|
* Takes network data, validates it, and transforms keys to match typescript object V1FaceSwapCreateBody
|
|
42
43
|
*/
|
|
@@ -47,6 +48,7 @@ const SchemaIn$V1FaceSwapCreateBody = z
|
|
|
47
48
|
height: z.number().int().nullable().optional(),
|
|
48
49
|
name: z.string().optional(),
|
|
49
50
|
start_seconds: z.number(),
|
|
51
|
+
style: v1_face_swap_create_body_style_1.Schemas$V1FaceSwapCreateBodyStyle.in.optional(),
|
|
50
52
|
width: z.number().int().nullable().optional(),
|
|
51
53
|
})
|
|
52
54
|
.transform((obj) => {
|
|
@@ -56,6 +58,7 @@ const SchemaIn$V1FaceSwapCreateBody = z
|
|
|
56
58
|
height: "height",
|
|
57
59
|
name: "name",
|
|
58
60
|
start_seconds: "startSeconds",
|
|
61
|
+
style: "style",
|
|
59
62
|
width: "width",
|
|
60
63
|
});
|
|
61
64
|
});
|
|
@@ -70,6 +73,7 @@ const SchemaOut$V1FaceSwapCreateBody = z
|
|
|
70
73
|
height: z.number().int().nullable().optional(),
|
|
71
74
|
name: z.string().optional(),
|
|
72
75
|
startSeconds: z.number(),
|
|
76
|
+
style: v1_face_swap_create_body_style_1.Schemas$V1FaceSwapCreateBodyStyle.out.optional(),
|
|
73
77
|
width: z.number().int().nullable().optional(),
|
|
74
78
|
})
|
|
75
79
|
.transform((obj) => {
|
|
@@ -79,6 +83,7 @@ const SchemaOut$V1FaceSwapCreateBody = z
|
|
|
79
83
|
height: "height",
|
|
80
84
|
name: "name",
|
|
81
85
|
startSeconds: "start_seconds",
|
|
86
|
+
style: "style",
|
|
82
87
|
width: "width",
|
|
83
88
|
});
|
|
84
89
|
});
|
|
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Schemas$V1FaceSwapCreateResponse = 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 V1FaceSwapCreateResponse
|
|
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$V1FaceSwapPhotoCreateBodyAssetsFaceMappingsItem = 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 V1FaceSwapPhotoCreateBodyAssetsFaceMappingsItem
|
|
41
41
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { External$V1FaceSwapPhotoCreateBodyAssetsFaceMappingsItem, V1FaceSwapPhotoCreateBodyAssetsFaceMappingsItem } from "./v1-face-swap-photo-create-body-assets-face-mappings-item";
|
|
2
1
|
import * as z from "zod";
|
|
2
|
+
import { External$V1FaceSwapPhotoCreateBodyAssetsFaceMappingsItem, V1FaceSwapPhotoCreateBodyAssetsFaceMappingsItem } from "./v1-face-swap-photo-create-body-assets-face-mappings-item";
|
|
3
3
|
/**
|
|
4
4
|
* Provide the assets for face swap photo
|
|
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$V1FaceSwapPhotoCreateBodyAssets = void 0;
|
|
37
|
-
const v1_face_swap_photo_create_body_assets_face_mappings_item_1 = require("./v1-face-swap-photo-create-body-assets-face-mappings-item");
|
|
38
|
-
const core_1 = require("../core");
|
|
39
37
|
const z = __importStar(require("zod"));
|
|
38
|
+
const core_1 = require("../core");
|
|
39
|
+
const v1_face_swap_photo_create_body_assets_face_mappings_item_1 = require("./v1-face-swap-photo-create-body-assets-face-mappings-item");
|
|
40
40
|
/**
|
|
41
41
|
* Takes network data, validates it, and transforms keys to match typescript object V1FaceSwapPhotoCreateBodyAssets
|
|
42
42
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { External$V1FaceSwapPhotoCreateBodyAssets, V1FaceSwapPhotoCreateBodyAssets } from "./v1-face-swap-photo-create-body-assets";
|
|
2
1
|
import * as z from "zod";
|
|
2
|
+
import { External$V1FaceSwapPhotoCreateBodyAssets, V1FaceSwapPhotoCreateBodyAssets } from "./v1-face-swap-photo-create-body-assets";
|
|
3
3
|
/**
|
|
4
4
|
* V1FaceSwapPhotoCreateBody
|
|
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$V1FaceSwapPhotoCreateBody = void 0;
|
|
37
|
-
const v1_face_swap_photo_create_body_assets_1 = require("./v1-face-swap-photo-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_face_swap_photo_create_body_assets_1 = require("./v1-face-swap-photo-create-body-assets");
|
|
40
40
|
/**
|
|
41
41
|
* Takes network data, validates it, and transforms keys to match typescript object V1FaceSwapPhotoCreateBody
|
|
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$V1FaceSwapPhotoCreateResponse = 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 V1FaceSwapPhotoCreateResponse
|
|
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$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
|
*/
|