magic-hour 0.7.1 → 0.8.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.
- package/README.md +15 -11
- package/dist/client.d.ts +0 -3
- package/dist/client.js +0 -3
- package/dist/core/api-error.d.ts +0 -3
- package/dist/core/api-error.js +0 -3
- package/dist/core/api-promise.d.ts +0 -3
- package/dist/core/api-promise.js +0 -3
- package/dist/core/auth.d.ts +64 -9
- package/dist/core/auth.js +189 -40
- package/dist/core/binary-response.d.ts +0 -3
- package/dist/core/binary-response.js +0 -3
- package/dist/core/content-type.d.ts +0 -3
- package/dist/core/content-type.js +0 -3
- package/dist/core/core-client.d.ts +2 -4
- package/dist/core/core-client.js +20 -14
- package/dist/core/form-data.d.ts +0 -3
- package/dist/core/form-data.js +0 -3
- package/dist/core/index.d.ts +2 -5
- package/dist/core/index.js +3 -4
- package/dist/core/runtime.d.ts +0 -3
- package/dist/core/runtime.js +0 -3
- package/dist/core/zod.d.ts +1 -3
- package/dist/core/zod.js +4 -4
- package/dist/environment.d.ts +2 -4
- package/dist/environment.js +1 -3
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -3
- package/dist/resources/index.d.ts +0 -3
- package/dist/resources/index.js +0 -3
- package/dist/resources/v1/ai-clothes-changer/index.d.ts +2 -0
- package/dist/resources/v1/ai-clothes-changer/index.js +5 -0
- package/dist/resources/v1/ai-clothes-changer/request-types.d.ts +28 -0
- package/dist/resources/v1/ai-clothes-changer/request-types.js +72 -0
- package/dist/resources/v1/ai-clothes-changer/resource-client.d.ts +14 -0
- package/dist/resources/v1/ai-clothes-changer/resource-client.js +31 -0
- package/dist/resources/v1/ai-headshot-generator/index.d.ts +0 -3
- package/dist/resources/v1/ai-headshot-generator/index.js +0 -3
- package/dist/resources/v1/ai-headshot-generator/request-types.d.ts +0 -3
- package/dist/resources/v1/ai-headshot-generator/request-types.js +0 -3
- package/dist/resources/v1/ai-headshot-generator/resource-client.d.ts +2 -3
- package/dist/resources/v1/ai-headshot-generator/resource-client.js +2 -3
- package/dist/resources/v1/ai-image-generator/index.d.ts +0 -3
- package/dist/resources/v1/ai-image-generator/index.js +0 -3
- package/dist/resources/v1/ai-image-generator/request-types.d.ts +2 -6
- package/dist/resources/v1/ai-image-generator/request-types.js +0 -3
- package/dist/resources/v1/ai-image-generator/resource-client.d.ts +2 -3
- package/dist/resources/v1/ai-image-generator/resource-client.js +2 -3
- package/dist/resources/v1/ai-image-upscaler/index.d.ts +0 -3
- package/dist/resources/v1/ai-image-upscaler/index.js +0 -3
- package/dist/resources/v1/ai-image-upscaler/request-types.d.ts +3 -3
- package/dist/resources/v1/ai-image-upscaler/request-types.js +0 -3
- package/dist/resources/v1/ai-image-upscaler/resource-client.d.ts +2 -3
- package/dist/resources/v1/ai-image-upscaler/resource-client.js +2 -3
- package/dist/resources/v1/ai-photo-editor/index.d.ts +0 -3
- package/dist/resources/v1/ai-photo-editor/index.js +0 -3
- package/dist/resources/v1/ai-photo-editor/request-types.d.ts +0 -3
- package/dist/resources/v1/ai-photo-editor/request-types.js +0 -3
- package/dist/resources/v1/ai-photo-editor/resource-client.d.ts +2 -3
- package/dist/resources/v1/ai-photo-editor/resource-client.js +2 -3
- package/dist/resources/v1/ai-qr-code-generator/index.d.ts +0 -3
- package/dist/resources/v1/ai-qr-code-generator/index.js +0 -3
- package/dist/resources/v1/ai-qr-code-generator/request-types.d.ts +0 -3
- package/dist/resources/v1/ai-qr-code-generator/request-types.js +0 -3
- package/dist/resources/v1/ai-qr-code-generator/resource-client.d.ts +2 -3
- package/dist/resources/v1/ai-qr-code-generator/resource-client.js +2 -3
- package/dist/resources/v1/animation/index.d.ts +0 -3
- package/dist/resources/v1/animation/index.js +0 -3
- package/dist/resources/v1/animation/request-types.d.ts +0 -3
- package/dist/resources/v1/animation/request-types.js +0 -3
- package/dist/resources/v1/animation/resource-client.d.ts +2 -3
- package/dist/resources/v1/animation/resource-client.js +2 -3
- package/dist/resources/v1/face-swap/index.d.ts +0 -3
- package/dist/resources/v1/face-swap/index.js +0 -3
- package/dist/resources/v1/face-swap/request-types.d.ts +0 -3
- package/dist/resources/v1/face-swap/request-types.js +0 -3
- package/dist/resources/v1/face-swap/resource-client.d.ts +2 -3
- package/dist/resources/v1/face-swap/resource-client.js +2 -3
- package/dist/resources/v1/face-swap-photo/index.d.ts +0 -3
- package/dist/resources/v1/face-swap-photo/index.js +0 -3
- package/dist/resources/v1/face-swap-photo/request-types.d.ts +0 -3
- package/dist/resources/v1/face-swap-photo/request-types.js +0 -3
- package/dist/resources/v1/face-swap-photo/resource-client.d.ts +2 -3
- package/dist/resources/v1/face-swap-photo/resource-client.js +2 -3
- package/dist/resources/v1/files/index.d.ts +0 -3
- package/dist/resources/v1/files/index.js +0 -3
- package/dist/resources/v1/files/resource-client.d.ts +0 -3
- package/dist/resources/v1/files/resource-client.js +0 -3
- package/dist/resources/v1/files/upload-urls/index.d.ts +0 -3
- package/dist/resources/v1/files/upload-urls/index.js +0 -3
- package/dist/resources/v1/files/upload-urls/request-types.d.ts +0 -3
- package/dist/resources/v1/files/upload-urls/request-types.js +0 -3
- package/dist/resources/v1/files/upload-urls/resource-client.d.ts +2 -3
- package/dist/resources/v1/files/upload-urls/resource-client.js +2 -3
- package/dist/resources/v1/image-background-remover/index.d.ts +0 -3
- package/dist/resources/v1/image-background-remover/index.js +0 -3
- package/dist/resources/v1/image-background-remover/request-types.d.ts +0 -3
- package/dist/resources/v1/image-background-remover/request-types.js +0 -3
- package/dist/resources/v1/image-background-remover/resource-client.d.ts +2 -3
- package/dist/resources/v1/image-background-remover/resource-client.js +2 -3
- package/dist/resources/v1/image-projects/index.d.ts +0 -3
- package/dist/resources/v1/image-projects/index.js +0 -3
- package/dist/resources/v1/image-projects/request-types.d.ts +6 -3
- package/dist/resources/v1/image-projects/request-types.js +0 -3
- package/dist/resources/v1/image-projects/resource-client.d.ts +4 -3
- package/dist/resources/v1/image-projects/resource-client.js +4 -3
- package/dist/resources/v1/image-to-video/index.d.ts +0 -3
- package/dist/resources/v1/image-to-video/index.js +0 -3
- package/dist/resources/v1/image-to-video/request-types.d.ts +0 -3
- package/dist/resources/v1/image-to-video/request-types.js +0 -3
- package/dist/resources/v1/image-to-video/resource-client.d.ts +2 -3
- package/dist/resources/v1/image-to-video/resource-client.js +2 -3
- package/dist/resources/v1/index.d.ts +1 -3
- package/dist/resources/v1/index.js +2 -4
- package/dist/resources/v1/lip-sync/index.d.ts +0 -3
- package/dist/resources/v1/lip-sync/index.js +0 -3
- package/dist/resources/v1/lip-sync/request-types.d.ts +0 -3
- package/dist/resources/v1/lip-sync/request-types.js +0 -3
- package/dist/resources/v1/lip-sync/resource-client.d.ts +2 -3
- package/dist/resources/v1/lip-sync/resource-client.js +2 -3
- package/dist/resources/v1/resource-client.d.ts +2 -3
- package/dist/resources/v1/resource-client.js +2 -3
- package/dist/resources/v1/text-to-video/index.d.ts +0 -3
- package/dist/resources/v1/text-to-video/index.js +0 -3
- package/dist/resources/v1/text-to-video/request-types.d.ts +2 -6
- package/dist/resources/v1/text-to-video/request-types.js +0 -3
- package/dist/resources/v1/text-to-video/resource-client.d.ts +2 -3
- package/dist/resources/v1/text-to-video/resource-client.js +2 -3
- package/dist/resources/v1/video-projects/index.d.ts +0 -3
- package/dist/resources/v1/video-projects/index.js +0 -3
- package/dist/resources/v1/video-projects/request-types.d.ts +6 -3
- package/dist/resources/v1/video-projects/request-types.js +0 -3
- package/dist/resources/v1/video-projects/resource-client.d.ts +4 -3
- package/dist/resources/v1/video-projects/resource-client.js +4 -3
- package/dist/resources/v1/video-to-video/index.d.ts +0 -3
- package/dist/resources/v1/video-to-video/index.js +0 -3
- package/dist/resources/v1/video-to-video/request-types.d.ts +2 -6
- package/dist/resources/v1/video-to-video/request-types.js +0 -3
- package/dist/resources/v1/video-to-video/resource-client.d.ts +2 -3
- package/dist/resources/v1/video-to-video/resource-client.js +2 -3
- package/dist/types/delete-v1-image-projects-id-response400.d.ts +0 -3
- package/dist/types/delete-v1-image-projects-id-response400.js +0 -3
- package/dist/types/delete-v1-image-projects-id-response401.d.ts +2 -6
- package/dist/types/delete-v1-image-projects-id-response401.js +0 -3
- package/dist/types/delete-v1-image-projects-id-response404.d.ts +2 -6
- package/dist/types/delete-v1-image-projects-id-response404.js +0 -3
- package/dist/types/delete-v1-video-projects-id-response400.d.ts +0 -3
- package/dist/types/delete-v1-video-projects-id-response400.js +0 -3
- package/dist/types/delete-v1-video-projects-id-response401.d.ts +2 -6
- package/dist/types/delete-v1-video-projects-id-response401.js +0 -3
- package/dist/types/delete-v1-video-projects-id-response404.d.ts +2 -6
- package/dist/types/delete-v1-video-projects-id-response404.js +0 -3
- package/dist/types/delete-v1-video-projects-id-response422.d.ts +0 -3
- package/dist/types/delete-v1-video-projects-id-response422.js +0 -3
- package/dist/types/get-v1-image-projects-id-response-downloads-item.d.ts +0 -3
- package/dist/types/get-v1-image-projects-id-response-downloads-item.js +0 -3
- package/dist/types/get-v1-image-projects-id-response-error.d.ts +0 -3
- package/dist/types/get-v1-image-projects-id-response-error.js +0 -3
- package/dist/types/get-v1-image-projects-id-response.d.ts +4 -9
- package/dist/types/get-v1-image-projects-id-response.js +2 -3
- package/dist/types/get-v1-image-projects-id-response400.d.ts +0 -3
- package/dist/types/get-v1-image-projects-id-response400.js +0 -3
- package/dist/types/get-v1-image-projects-id-response401.d.ts +2 -6
- package/dist/types/get-v1-image-projects-id-response401.js +0 -3
- package/dist/types/get-v1-image-projects-id-response404.d.ts +2 -6
- package/dist/types/get-v1-image-projects-id-response404.js +0 -3
- package/dist/types/get-v1-video-projects-id-response-download.d.ts +0 -3
- package/dist/types/get-v1-video-projects-id-response-download.js +0 -3
- package/dist/types/get-v1-video-projects-id-response-downloads-item.d.ts +0 -3
- package/dist/types/get-v1-video-projects-id-response-downloads-item.js +0 -3
- package/dist/types/get-v1-video-projects-id-response-error.d.ts +0 -3
- package/dist/types/get-v1-video-projects-id-response-error.js +0 -3
- package/dist/types/get-v1-video-projects-id-response.d.ts +4 -9
- package/dist/types/get-v1-video-projects-id-response.js +2 -3
- package/dist/types/get-v1-video-projects-id-response400.d.ts +0 -3
- package/dist/types/get-v1-video-projects-id-response400.js +0 -3
- package/dist/types/get-v1-video-projects-id-response401.d.ts +2 -6
- package/dist/types/get-v1-video-projects-id-response401.js +0 -3
- package/dist/types/get-v1-video-projects-id-response404.d.ts +2 -6
- package/dist/types/get-v1-video-projects-id-response404.js +0 -3
- package/dist/types/index.d.ts +7 -59
- package/dist/types/index.js +0 -3
- package/dist/types/post-v1-ai-clothes-changer-body-assets.d.ts +29 -0
- package/dist/types/post-v1-ai-clothes-changer-body-assets.js +75 -0
- package/dist/types/post-v1-ai-clothes-changer-body.d.ts +28 -0
- package/dist/types/post-v1-ai-clothes-changer-body.js +72 -0
- package/dist/types/post-v1-ai-clothes-changer-response.d.ts +27 -0
- package/dist/types/post-v1-ai-clothes-changer-response.js +71 -0
- package/dist/types/post-v1-ai-clothes-changer-response400.d.ts +19 -0
- package/dist/types/post-v1-ai-clothes-changer-response400.js +67 -0
- package/dist/types/post-v1-ai-clothes-changer-response401.d.ts +19 -0
- package/dist/types/post-v1-ai-clothes-changer-response401.js +67 -0
- package/dist/types/post-v1-ai-clothes-changer-response404.d.ts +19 -0
- package/dist/types/post-v1-ai-clothes-changer-response404.js +67 -0
- package/dist/types/post-v1-ai-clothes-changer-response422.d.ts +19 -0
- package/dist/types/post-v1-ai-clothes-changer-response422.js +67 -0
- package/dist/types/post-v1-ai-headshot-generator-body-assets.d.ts +0 -3
- package/dist/types/post-v1-ai-headshot-generator-body-assets.js +0 -3
- package/dist/types/post-v1-ai-headshot-generator-body.d.ts +0 -3
- package/dist/types/post-v1-ai-headshot-generator-body.js +0 -3
- package/dist/types/post-v1-ai-headshot-generator-response.d.ts +0 -3
- package/dist/types/post-v1-ai-headshot-generator-response.js +0 -3
- package/dist/types/post-v1-ai-headshot-generator-response400.d.ts +0 -3
- package/dist/types/post-v1-ai-headshot-generator-response400.js +0 -3
- package/dist/types/post-v1-ai-headshot-generator-response401.d.ts +2 -6
- package/dist/types/post-v1-ai-headshot-generator-response401.js +0 -3
- package/dist/types/post-v1-ai-headshot-generator-response404.d.ts +2 -6
- package/dist/types/post-v1-ai-headshot-generator-response404.js +0 -3
- package/dist/types/post-v1-ai-headshot-generator-response422.d.ts +0 -3
- package/dist/types/post-v1-ai-headshot-generator-response422.js +0 -3
- package/dist/types/post-v1-ai-image-generator-body-style.d.ts +0 -3
- package/dist/types/post-v1-ai-image-generator-body-style.js +0 -3
- package/dist/types/post-v1-ai-image-generator-body.d.ts +2 -6
- package/dist/types/post-v1-ai-image-generator-body.js +0 -3
- package/dist/types/post-v1-ai-image-generator-response.d.ts +0 -3
- package/dist/types/post-v1-ai-image-generator-response.js +0 -3
- package/dist/types/post-v1-ai-image-generator-response400.d.ts +0 -3
- package/dist/types/post-v1-ai-image-generator-response400.js +0 -3
- package/dist/types/post-v1-ai-image-generator-response401.d.ts +2 -6
- package/dist/types/post-v1-ai-image-generator-response401.js +0 -3
- package/dist/types/post-v1-ai-image-generator-response404.d.ts +2 -6
- package/dist/types/post-v1-ai-image-generator-response404.js +0 -3
- package/dist/types/post-v1-ai-image-generator-response422.d.ts +0 -3
- package/dist/types/post-v1-ai-image-generator-response422.js +0 -3
- package/dist/types/post-v1-ai-image-upscaler-body-assets.d.ts +0 -3
- package/dist/types/post-v1-ai-image-upscaler-body-assets.js +0 -3
- package/dist/types/post-v1-ai-image-upscaler-body-style.d.ts +2 -6
- package/dist/types/post-v1-ai-image-upscaler-body-style.js +0 -3
- package/dist/types/post-v1-ai-image-upscaler-body.d.ts +3 -3
- package/dist/types/post-v1-ai-image-upscaler-body.js +0 -3
- package/dist/types/post-v1-ai-image-upscaler-response.d.ts +0 -3
- package/dist/types/post-v1-ai-image-upscaler-response.js +0 -3
- package/dist/types/post-v1-ai-image-upscaler-response400.d.ts +0 -3
- package/dist/types/post-v1-ai-image-upscaler-response400.js +0 -3
- package/dist/types/post-v1-ai-image-upscaler-response401.d.ts +2 -6
- package/dist/types/post-v1-ai-image-upscaler-response401.js +0 -3
- package/dist/types/post-v1-ai-image-upscaler-response404.d.ts +2 -6
- package/dist/types/post-v1-ai-image-upscaler-response404.js +0 -3
- package/dist/types/post-v1-ai-image-upscaler-response422.d.ts +0 -3
- package/dist/types/post-v1-ai-image-upscaler-response422.js +0 -3
- package/dist/types/post-v1-ai-photo-editor-body-assets.d.ts +0 -3
- package/dist/types/post-v1-ai-photo-editor-body-assets.js +0 -3
- package/dist/types/post-v1-ai-photo-editor-body-style.d.ts +0 -3
- package/dist/types/post-v1-ai-photo-editor-body-style.js +0 -3
- package/dist/types/post-v1-ai-photo-editor-body.d.ts +0 -3
- package/dist/types/post-v1-ai-photo-editor-body.js +0 -3
- package/dist/types/post-v1-ai-photo-editor-response.d.ts +0 -3
- package/dist/types/post-v1-ai-photo-editor-response.js +0 -3
- package/dist/types/post-v1-ai-photo-editor-response400.d.ts +0 -3
- package/dist/types/post-v1-ai-photo-editor-response400.js +0 -3
- package/dist/types/post-v1-ai-photo-editor-response401.d.ts +2 -6
- package/dist/types/post-v1-ai-photo-editor-response401.js +0 -3
- package/dist/types/post-v1-ai-photo-editor-response404.d.ts +2 -6
- package/dist/types/post-v1-ai-photo-editor-response404.js +0 -3
- package/dist/types/post-v1-ai-photo-editor-response422.d.ts +0 -3
- package/dist/types/post-v1-ai-photo-editor-response422.js +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-body-style.d.ts +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-body-style.js +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-body.d.ts +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-body.js +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-response.d.ts +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-response.js +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-response400.d.ts +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-response400.js +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-response401.d.ts +2 -6
- package/dist/types/post-v1-ai-qr-code-generator-response401.js +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-response404.d.ts +2 -6
- package/dist/types/post-v1-ai-qr-code-generator-response404.js +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-response422.d.ts +0 -3
- package/dist/types/post-v1-ai-qr-code-generator-response422.js +0 -3
- package/dist/types/post-v1-animation-body-assets.d.ts +2 -6
- package/dist/types/post-v1-animation-body-assets.js +0 -3
- package/dist/types/post-v1-animation-body-style.d.ts +6 -12
- package/dist/types/post-v1-animation-body-style.js +0 -3
- package/dist/types/post-v1-animation-body.d.ts +0 -3
- package/dist/types/post-v1-animation-body.js +0 -3
- package/dist/types/post-v1-animation-response.d.ts +0 -3
- package/dist/types/post-v1-animation-response.js +0 -3
- package/dist/types/post-v1-animation-response400.d.ts +0 -3
- package/dist/types/post-v1-animation-response400.js +0 -3
- package/dist/types/post-v1-animation-response401.d.ts +2 -6
- package/dist/types/post-v1-animation-response401.js +0 -3
- package/dist/types/post-v1-animation-response404.d.ts +2 -6
- package/dist/types/post-v1-animation-response404.js +0 -3
- package/dist/types/post-v1-animation-response422.d.ts +0 -3
- package/dist/types/post-v1-animation-response422.js +0 -3
- package/dist/types/post-v1-face-swap-body-assets.d.ts +2 -6
- package/dist/types/post-v1-face-swap-body-assets.js +0 -3
- package/dist/types/post-v1-face-swap-body.d.ts +0 -3
- package/dist/types/post-v1-face-swap-body.js +0 -3
- package/dist/types/post-v1-face-swap-photo-body-assets.d.ts +0 -3
- package/dist/types/post-v1-face-swap-photo-body-assets.js +0 -3
- package/dist/types/post-v1-face-swap-photo-body.d.ts +0 -3
- package/dist/types/post-v1-face-swap-photo-body.js +0 -3
- package/dist/types/post-v1-face-swap-photo-response.d.ts +0 -3
- package/dist/types/post-v1-face-swap-photo-response.js +0 -3
- package/dist/types/post-v1-face-swap-photo-response400.d.ts +0 -3
- package/dist/types/post-v1-face-swap-photo-response400.js +0 -3
- package/dist/types/post-v1-face-swap-photo-response401.d.ts +2 -6
- package/dist/types/post-v1-face-swap-photo-response401.js +0 -3
- package/dist/types/post-v1-face-swap-photo-response404.d.ts +2 -6
- package/dist/types/post-v1-face-swap-photo-response404.js +0 -3
- package/dist/types/post-v1-face-swap-photo-response422.d.ts +0 -3
- package/dist/types/post-v1-face-swap-photo-response422.js +0 -3
- package/dist/types/post-v1-face-swap-response.d.ts +0 -3
- package/dist/types/post-v1-face-swap-response.js +0 -3
- package/dist/types/post-v1-face-swap-response400.d.ts +0 -3
- package/dist/types/post-v1-face-swap-response400.js +0 -3
- package/dist/types/post-v1-face-swap-response401.d.ts +2 -6
- package/dist/types/post-v1-face-swap-response401.js +0 -3
- package/dist/types/post-v1-face-swap-response404.d.ts +2 -6
- package/dist/types/post-v1-face-swap-response404.js +0 -3
- package/dist/types/post-v1-face-swap-response422.d.ts +0 -3
- package/dist/types/post-v1-face-swap-response422.js +0 -3
- package/dist/types/post-v1-files-upload-urls-body-items-item.d.ts +2 -6
- package/dist/types/post-v1-files-upload-urls-body-items-item.js +0 -3
- package/dist/types/post-v1-files-upload-urls-body.d.ts +0 -3
- package/dist/types/post-v1-files-upload-urls-body.js +0 -3
- package/dist/types/post-v1-files-upload-urls-response-items-item.d.ts +0 -3
- package/dist/types/post-v1-files-upload-urls-response-items-item.js +0 -3
- package/dist/types/post-v1-files-upload-urls-response.d.ts +0 -3
- package/dist/types/post-v1-files-upload-urls-response.js +0 -3
- package/dist/types/post-v1-files-upload-urls-response400.d.ts +0 -3
- package/dist/types/post-v1-files-upload-urls-response400.js +0 -3
- package/dist/types/post-v1-files-upload-urls-response401.d.ts +2 -6
- package/dist/types/post-v1-files-upload-urls-response401.js +0 -3
- package/dist/types/post-v1-files-upload-urls-response404.d.ts +2 -6
- package/dist/types/post-v1-files-upload-urls-response404.js +0 -3
- package/dist/types/post-v1-files-upload-urls-response422.d.ts +0 -3
- package/dist/types/post-v1-files-upload-urls-response422.js +0 -3
- package/dist/types/post-v1-image-background-remover-body-assets.d.ts +0 -3
- package/dist/types/post-v1-image-background-remover-body-assets.js +0 -3
- package/dist/types/post-v1-image-background-remover-body.d.ts +0 -3
- package/dist/types/post-v1-image-background-remover-body.js +0 -3
- package/dist/types/post-v1-image-background-remover-response.d.ts +0 -3
- package/dist/types/post-v1-image-background-remover-response.js +0 -3
- package/dist/types/post-v1-image-background-remover-response400.d.ts +0 -3
- package/dist/types/post-v1-image-background-remover-response400.js +0 -3
- package/dist/types/post-v1-image-background-remover-response401.d.ts +2 -6
- package/dist/types/post-v1-image-background-remover-response401.js +0 -3
- package/dist/types/post-v1-image-background-remover-response404.d.ts +2 -6
- package/dist/types/post-v1-image-background-remover-response404.js +0 -3
- package/dist/types/post-v1-image-background-remover-response422.d.ts +0 -3
- package/dist/types/post-v1-image-background-remover-response422.js +0 -3
- package/dist/types/post-v1-image-to-video-body-assets.d.ts +0 -3
- package/dist/types/post-v1-image-to-video-body-assets.js +0 -3
- package/dist/types/post-v1-image-to-video-body-style.d.ts +0 -3
- package/dist/types/post-v1-image-to-video-body-style.js +0 -3
- package/dist/types/post-v1-image-to-video-body.d.ts +0 -3
- package/dist/types/post-v1-image-to-video-body.js +0 -3
- package/dist/types/post-v1-image-to-video-response.d.ts +0 -3
- package/dist/types/post-v1-image-to-video-response.js +0 -3
- package/dist/types/post-v1-image-to-video-response400.d.ts +0 -3
- package/dist/types/post-v1-image-to-video-response400.js +0 -3
- package/dist/types/post-v1-image-to-video-response401.d.ts +2 -6
- package/dist/types/post-v1-image-to-video-response401.js +0 -3
- package/dist/types/post-v1-image-to-video-response404.d.ts +2 -6
- package/dist/types/post-v1-image-to-video-response404.js +0 -3
- package/dist/types/post-v1-image-to-video-response422.d.ts +0 -3
- package/dist/types/post-v1-image-to-video-response422.js +0 -3
- package/dist/types/post-v1-lip-sync-body-assets.d.ts +2 -6
- package/dist/types/post-v1-lip-sync-body-assets.js +0 -3
- package/dist/types/post-v1-lip-sync-body.d.ts +0 -3
- package/dist/types/post-v1-lip-sync-body.js +0 -3
- package/dist/types/post-v1-lip-sync-response.d.ts +0 -3
- package/dist/types/post-v1-lip-sync-response.js +0 -3
- package/dist/types/post-v1-lip-sync-response400.d.ts +0 -3
- package/dist/types/post-v1-lip-sync-response400.js +0 -3
- package/dist/types/post-v1-lip-sync-response401.d.ts +2 -6
- package/dist/types/post-v1-lip-sync-response401.js +0 -3
- package/dist/types/post-v1-lip-sync-response404.d.ts +2 -6
- package/dist/types/post-v1-lip-sync-response404.js +0 -3
- package/dist/types/post-v1-lip-sync-response422.d.ts +0 -3
- package/dist/types/post-v1-lip-sync-response422.js +0 -3
- package/dist/types/post-v1-text-to-video-body-style.d.ts +0 -3
- package/dist/types/post-v1-text-to-video-body-style.js +0 -3
- package/dist/types/post-v1-text-to-video-body.d.ts +2 -6
- package/dist/types/post-v1-text-to-video-body.js +0 -3
- package/dist/types/post-v1-text-to-video-response.d.ts +0 -3
- package/dist/types/post-v1-text-to-video-response.js +0 -3
- package/dist/types/post-v1-text-to-video-response400.d.ts +0 -3
- package/dist/types/post-v1-text-to-video-response400.js +0 -3
- package/dist/types/post-v1-text-to-video-response401.d.ts +2 -6
- package/dist/types/post-v1-text-to-video-response401.js +0 -3
- package/dist/types/post-v1-text-to-video-response404.d.ts +2 -6
- package/dist/types/post-v1-text-to-video-response404.js +0 -3
- package/dist/types/post-v1-text-to-video-response422.d.ts +0 -3
- package/dist/types/post-v1-text-to-video-response422.js +0 -3
- package/dist/types/post-v1-video-to-video-body-assets.d.ts +2 -6
- package/dist/types/post-v1-video-to-video-body-assets.js +0 -3
- package/dist/types/post-v1-video-to-video-body-style.d.ts +8 -15
- package/dist/types/post-v1-video-to-video-body-style.js +0 -3
- package/dist/types/post-v1-video-to-video-body.d.ts +2 -6
- package/dist/types/post-v1-video-to-video-body.js +0 -3
- package/dist/types/post-v1-video-to-video-response.d.ts +0 -3
- package/dist/types/post-v1-video-to-video-response.js +0 -3
- package/dist/types/post-v1-video-to-video-response400.d.ts +0 -3
- package/dist/types/post-v1-video-to-video-response400.js +0 -3
- package/dist/types/post-v1-video-to-video-response401.d.ts +2 -6
- package/dist/types/post-v1-video-to-video-response401.js +0 -3
- package/dist/types/post-v1-video-to-video-response404.d.ts +2 -6
- package/dist/types/post-v1-video-to-video-response404.js +0 -3
- package/dist/types/post-v1-video-to-video-response422.d.ts +0 -3
- package/dist/types/post-v1-video-to-video-response422.js +0 -3
- package/package.json +4 -4
- package/dist/types/delete-v1-image-projects-id-response401-message-enum.d.ts +0 -12
- package/dist/types/delete-v1-image-projects-id-response401-message-enum.js +0 -2
- package/dist/types/delete-v1-image-projects-id-response404-message-enum.d.ts +0 -12
- package/dist/types/delete-v1-image-projects-id-response404-message-enum.js +0 -2
- package/dist/types/delete-v1-video-projects-id-response401-message-enum.d.ts +0 -12
- package/dist/types/delete-v1-video-projects-id-response401-message-enum.js +0 -2
- package/dist/types/delete-v1-video-projects-id-response404-message-enum.d.ts +0 -12
- package/dist/types/delete-v1-video-projects-id-response404-message-enum.js +0 -2
- package/dist/types/get-v1-image-projects-id-response-status-enum.d.ts +0 -12
- package/dist/types/get-v1-image-projects-id-response-status-enum.js +0 -2
- package/dist/types/get-v1-image-projects-id-response-type-enum.d.ts +0 -12
- package/dist/types/get-v1-image-projects-id-response-type-enum.js +0 -2
- package/dist/types/get-v1-image-projects-id-response401-message-enum.d.ts +0 -12
- package/dist/types/get-v1-image-projects-id-response401-message-enum.js +0 -2
- package/dist/types/get-v1-image-projects-id-response404-message-enum.d.ts +0 -12
- package/dist/types/get-v1-image-projects-id-response404-message-enum.js +0 -2
- package/dist/types/get-v1-video-projects-id-response-status-enum.d.ts +0 -12
- package/dist/types/get-v1-video-projects-id-response-status-enum.js +0 -2
- package/dist/types/get-v1-video-projects-id-response-type-enum.d.ts +0 -12
- package/dist/types/get-v1-video-projects-id-response-type-enum.js +0 -2
- package/dist/types/get-v1-video-projects-id-response401-message-enum.d.ts +0 -12
- package/dist/types/get-v1-video-projects-id-response401-message-enum.js +0 -2
- package/dist/types/get-v1-video-projects-id-response404-message-enum.d.ts +0 -12
- package/dist/types/get-v1-video-projects-id-response404-message-enum.js +0 -2
- package/dist/types/post-v1-ai-headshot-generator-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-headshot-generator-response401-message-enum.js +0 -2
- package/dist/types/post-v1-ai-headshot-generator-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-headshot-generator-response404-message-enum.js +0 -2
- package/dist/types/post-v1-ai-image-generator-body-orientation-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-image-generator-body-orientation-enum.js +0 -2
- package/dist/types/post-v1-ai-image-generator-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-image-generator-response401-message-enum.js +0 -2
- package/dist/types/post-v1-ai-image-generator-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-image-generator-response404-message-enum.js +0 -2
- package/dist/types/post-v1-ai-image-upscaler-body-style-enhancement-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-image-upscaler-body-style-enhancement-enum.js +0 -2
- package/dist/types/post-v1-ai-image-upscaler-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-image-upscaler-response401-message-enum.js +0 -2
- package/dist/types/post-v1-ai-image-upscaler-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-image-upscaler-response404-message-enum.js +0 -2
- package/dist/types/post-v1-ai-photo-editor-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-photo-editor-response401-message-enum.js +0 -2
- package/dist/types/post-v1-ai-photo-editor-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-photo-editor-response404-message-enum.js +0 -2
- package/dist/types/post-v1-ai-qr-code-generator-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-qr-code-generator-response401-message-enum.js +0 -2
- package/dist/types/post-v1-ai-qr-code-generator-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-ai-qr-code-generator-response404-message-enum.js +0 -2
- package/dist/types/post-v1-animation-body-assets-audio-source-enum.d.ts +0 -12
- package/dist/types/post-v1-animation-body-assets-audio-source-enum.js +0 -2
- package/dist/types/post-v1-animation-body-style-art-style-enum.d.ts +0 -12
- package/dist/types/post-v1-animation-body-style-art-style-enum.js +0 -2
- package/dist/types/post-v1-animation-body-style-camera-effect-enum.d.ts +0 -12
- package/dist/types/post-v1-animation-body-style-camera-effect-enum.js +0 -2
- package/dist/types/post-v1-animation-body-style-prompt-type-enum.d.ts +0 -15
- package/dist/types/post-v1-animation-body-style-prompt-type-enum.js +0 -2
- package/dist/types/post-v1-animation-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-animation-response401-message-enum.js +0 -2
- package/dist/types/post-v1-animation-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-animation-response404-message-enum.js +0 -2
- package/dist/types/post-v1-face-swap-body-assets-video-source-enum.d.ts +0 -12
- package/dist/types/post-v1-face-swap-body-assets-video-source-enum.js +0 -2
- package/dist/types/post-v1-face-swap-photo-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-face-swap-photo-response401-message-enum.js +0 -2
- package/dist/types/post-v1-face-swap-photo-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-face-swap-photo-response404-message-enum.js +0 -2
- package/dist/types/post-v1-face-swap-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-face-swap-response401-message-enum.js +0 -2
- package/dist/types/post-v1-face-swap-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-face-swap-response404-message-enum.js +0 -2
- package/dist/types/post-v1-files-upload-urls-body-items-item-type-enum.d.ts +0 -12
- package/dist/types/post-v1-files-upload-urls-body-items-item-type-enum.js +0 -2
- package/dist/types/post-v1-files-upload-urls-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-files-upload-urls-response401-message-enum.js +0 -2
- package/dist/types/post-v1-files-upload-urls-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-files-upload-urls-response404-message-enum.js +0 -2
- package/dist/types/post-v1-image-background-remover-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-image-background-remover-response401-message-enum.js +0 -2
- package/dist/types/post-v1-image-background-remover-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-image-background-remover-response404-message-enum.js +0 -2
- package/dist/types/post-v1-image-to-video-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-image-to-video-response401-message-enum.js +0 -2
- package/dist/types/post-v1-image-to-video-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-image-to-video-response404-message-enum.js +0 -2
- package/dist/types/post-v1-lip-sync-body-assets-video-source-enum.d.ts +0 -12
- package/dist/types/post-v1-lip-sync-body-assets-video-source-enum.js +0 -2
- package/dist/types/post-v1-lip-sync-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-lip-sync-response401-message-enum.js +0 -2
- package/dist/types/post-v1-lip-sync-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-lip-sync-response404-message-enum.js +0 -2
- package/dist/types/post-v1-text-to-video-body-orientation-enum.d.ts +0 -12
- package/dist/types/post-v1-text-to-video-body-orientation-enum.js +0 -2
- package/dist/types/post-v1-text-to-video-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-text-to-video-response401-message-enum.js +0 -2
- package/dist/types/post-v1-text-to-video-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-text-to-video-response404-message-enum.js +0 -2
- package/dist/types/post-v1-video-to-video-body-assets-video-source-enum.d.ts +0 -12
- package/dist/types/post-v1-video-to-video-body-assets-video-source-enum.js +0 -2
- package/dist/types/post-v1-video-to-video-body-fps-resolution-enum.d.ts +0 -14
- package/dist/types/post-v1-video-to-video-body-fps-resolution-enum.js +0 -2
- package/dist/types/post-v1-video-to-video-body-style-art-style-enum.d.ts +0 -12
- package/dist/types/post-v1-video-to-video-body-style-art-style-enum.js +0 -2
- package/dist/types/post-v1-video-to-video-body-style-model-enum.d.ts +0 -15
- package/dist/types/post-v1-video-to-video-body-style-model-enum.js +0 -2
- package/dist/types/post-v1-video-to-video-body-style-prompt-type-enum.d.ts +0 -14
- package/dist/types/post-v1-video-to-video-body-style-prompt-type-enum.js +0 -2
- package/dist/types/post-v1-video-to-video-body-style-version-enum.d.ts +0 -14
- package/dist/types/post-v1-video-to-video-body-style-version-enum.js +0 -2
- package/dist/types/post-v1-video-to-video-response401-message-enum.d.ts +0 -12
- package/dist/types/post-v1-video-to-video-response401-message-enum.js +0 -2
- package/dist/types/post-v1-video-to-video-response404-message-enum.d.ts +0 -12
- package/dist/types/post-v1-video-to-video-response404-message-enum.js +0 -2
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by Sideko (sideko.dev)
|
|
3
|
-
**/
|
|
4
|
-
import { External$GetV1ImageProjectsIdResponse401MessageEnum, GetV1ImageProjectsIdResponse401MessageEnum } from "./get-v1-image-projects-id-response401-message-enum";
|
|
5
1
|
import * as z from "zod";
|
|
6
2
|
/**
|
|
7
3
|
* The request is not properly authenticated
|
|
8
4
|
*/
|
|
9
5
|
export type GetV1ImageProjectsIdResponse401 = {
|
|
10
|
-
message:
|
|
6
|
+
message: "Unauthorized";
|
|
11
7
|
};
|
|
12
8
|
/**
|
|
13
9
|
* @internal
|
|
@@ -15,7 +11,7 @@ export type GetV1ImageProjectsIdResponse401 = {
|
|
|
15
11
|
* we expect to come in as network data
|
|
16
12
|
*/
|
|
17
13
|
export type External$GetV1ImageProjectsIdResponse401 = {
|
|
18
|
-
message:
|
|
14
|
+
message: "Unauthorized";
|
|
19
15
|
};
|
|
20
16
|
export declare const Schemas$GetV1ImageProjectsIdResponse401: {
|
|
21
17
|
in: z.ZodType<GetV1ImageProjectsIdResponse401, z.ZodTypeDef, unknown>;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by Sideko (sideko.dev)
|
|
3
|
-
**/
|
|
4
|
-
import { External$GetV1ImageProjectsIdResponse404MessageEnum, GetV1ImageProjectsIdResponse404MessageEnum } from "./get-v1-image-projects-id-response404-message-enum";
|
|
5
1
|
import * as z from "zod";
|
|
6
2
|
/**
|
|
7
3
|
* Requested resource is not found
|
|
8
4
|
*/
|
|
9
5
|
export type GetV1ImageProjectsIdResponse404 = {
|
|
10
|
-
message:
|
|
6
|
+
message: "Not Found";
|
|
11
7
|
};
|
|
12
8
|
/**
|
|
13
9
|
* @internal
|
|
@@ -15,7 +11,7 @@ export type GetV1ImageProjectsIdResponse404 = {
|
|
|
15
11
|
* we expect to come in as network data
|
|
16
12
|
*/
|
|
17
13
|
export type External$GetV1ImageProjectsIdResponse404 = {
|
|
18
|
-
message:
|
|
14
|
+
message: "Not Found";
|
|
19
15
|
};
|
|
20
16
|
export declare const Schemas$GetV1ImageProjectsIdResponse404: {
|
|
21
17
|
in: z.ZodType<GetV1ImageProjectsIdResponse404, z.ZodTypeDef, unknown>;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by Sideko (sideko.dev)
|
|
3
|
-
**/
|
|
4
1
|
import { External$GetV1VideoProjectsIdResponseDownload, GetV1VideoProjectsIdResponseDownload } from "./get-v1-video-projects-id-response-download";
|
|
5
2
|
import { External$GetV1VideoProjectsIdResponseDownloadsItem, GetV1VideoProjectsIdResponseDownloadsItem } from "./get-v1-video-projects-id-response-downloads-item";
|
|
6
3
|
import { External$GetV1VideoProjectsIdResponseError, GetV1VideoProjectsIdResponseError } from "./get-v1-video-projects-id-response-error";
|
|
7
|
-
import { External$GetV1VideoProjectsIdResponseStatusEnum, GetV1VideoProjectsIdResponseStatusEnum } from "./get-v1-video-projects-id-response-status-enum";
|
|
8
|
-
import { External$GetV1VideoProjectsIdResponseTypeEnum, GetV1VideoProjectsIdResponseTypeEnum } from "./get-v1-video-projects-id-response-type-enum";
|
|
9
4
|
import * as z from "zod";
|
|
10
5
|
/**
|
|
11
6
|
* Success
|
|
@@ -52,12 +47,12 @@ export type GetV1VideoProjectsIdResponse = {
|
|
|
52
47
|
/**
|
|
53
48
|
* The status of the video.
|
|
54
49
|
*/
|
|
55
|
-
status:
|
|
50
|
+
status: "canceled" | "complete" | "draft" | "error" | "queued" | "rendering";
|
|
56
51
|
/**
|
|
57
52
|
* The amount of frames used to generate the video. If the status is not 'complete', the cost is an estimate and will be adjusted when the video completes.
|
|
58
53
|
*/
|
|
59
54
|
totalFrameCost: number;
|
|
60
|
-
type:
|
|
55
|
+
type: "ANIMATION" | "AUTO_SUBTITLE" | "FACE_SWAP" | "IMAGE_TO_VIDEO" | "LIP_SYNC" | "TEXT_TO_VIDEO" | "VIDEO_TO_VIDEO";
|
|
61
56
|
/**
|
|
62
57
|
* 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
|
|
63
58
|
*/
|
|
@@ -80,9 +75,9 @@ export type External$GetV1VideoProjectsIdResponse = {
|
|
|
80
75
|
id: string;
|
|
81
76
|
name: string | null;
|
|
82
77
|
start_seconds: number;
|
|
83
|
-
status:
|
|
78
|
+
status: "canceled" | "complete" | "draft" | "error" | "queued" | "rendering";
|
|
84
79
|
total_frame_cost: number;
|
|
85
|
-
type:
|
|
80
|
+
type: "ANIMATION" | "AUTO_SUBTITLE" | "FACE_SWAP" | "IMAGE_TO_VIDEO" | "LIP_SYNC" | "TEXT_TO_VIDEO" | "VIDEO_TO_VIDEO";
|
|
86
81
|
width: number;
|
|
87
82
|
};
|
|
88
83
|
export declare const Schemas$GetV1VideoProjectsIdResponse: {
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Generated by Sideko (sideko.dev)
|
|
4
|
-
**/
|
|
5
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
3
|
if (k2 === undefined) k2 = k;
|
|
7
4
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -69,6 +66,7 @@ const SchemaIn$GetV1VideoProjectsIdResponse = z
|
|
|
69
66
|
total_frame_cost: z.number().int(),
|
|
70
67
|
type: z.enum([
|
|
71
68
|
"ANIMATION",
|
|
69
|
+
"AUTO_SUBTITLE",
|
|
72
70
|
"FACE_SWAP",
|
|
73
71
|
"IMAGE_TO_VIDEO",
|
|
74
72
|
"LIP_SYNC",
|
|
@@ -124,6 +122,7 @@ const SchemaOut$GetV1VideoProjectsIdResponse = z
|
|
|
124
122
|
totalFrameCost: z.number().int(),
|
|
125
123
|
type: z.enum([
|
|
126
124
|
"ANIMATION",
|
|
125
|
+
"AUTO_SUBTITLE",
|
|
127
126
|
"FACE_SWAP",
|
|
128
127
|
"IMAGE_TO_VIDEO",
|
|
129
128
|
"LIP_SYNC",
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by Sideko (sideko.dev)
|
|
3
|
-
**/
|
|
4
|
-
import { External$GetV1VideoProjectsIdResponse401MessageEnum, GetV1VideoProjectsIdResponse401MessageEnum } from "./get-v1-video-projects-id-response401-message-enum";
|
|
5
1
|
import * as z from "zod";
|
|
6
2
|
/**
|
|
7
3
|
* The request is not properly authenticated
|
|
8
4
|
*/
|
|
9
5
|
export type GetV1VideoProjectsIdResponse401 = {
|
|
10
|
-
message:
|
|
6
|
+
message: "Unauthorized";
|
|
11
7
|
};
|
|
12
8
|
/**
|
|
13
9
|
* @internal
|
|
@@ -15,7 +11,7 @@ export type GetV1VideoProjectsIdResponse401 = {
|
|
|
15
11
|
* we expect to come in as network data
|
|
16
12
|
*/
|
|
17
13
|
export type External$GetV1VideoProjectsIdResponse401 = {
|
|
18
|
-
message:
|
|
14
|
+
message: "Unauthorized";
|
|
19
15
|
};
|
|
20
16
|
export declare const Schemas$GetV1VideoProjectsIdResponse401: {
|
|
21
17
|
in: z.ZodType<GetV1VideoProjectsIdResponse401, z.ZodTypeDef, unknown>;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by Sideko (sideko.dev)
|
|
3
|
-
**/
|
|
4
|
-
import { External$GetV1VideoProjectsIdResponse404MessageEnum, GetV1VideoProjectsIdResponse404MessageEnum } from "./get-v1-video-projects-id-response404-message-enum";
|
|
5
1
|
import * as z from "zod";
|
|
6
2
|
/**
|
|
7
3
|
* Requested resource is not found
|
|
8
4
|
*/
|
|
9
5
|
export type GetV1VideoProjectsIdResponse404 = {
|
|
10
|
-
message:
|
|
6
|
+
message: "Not Found";
|
|
11
7
|
};
|
|
12
8
|
/**
|
|
13
9
|
* @internal
|
|
@@ -15,7 +11,7 @@ export type GetV1VideoProjectsIdResponse404 = {
|
|
|
15
11
|
* we expect to come in as network data
|
|
16
12
|
*/
|
|
17
13
|
export type External$GetV1VideoProjectsIdResponse404 = {
|
|
18
|
-
message:
|
|
14
|
+
message: "Not Found";
|
|
19
15
|
};
|
|
20
16
|
export declare const Schemas$GetV1VideoProjectsIdResponse404: {
|
|
21
17
|
in: z.ZodType<GetV1VideoProjectsIdResponse404, z.ZodTypeDef, unknown>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,67 +1,51 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by Sideko (sideko.dev)
|
|
3
|
-
**/
|
|
4
1
|
export { DeleteV1ImageProjectsIdResponse400 } from "./delete-v1-image-projects-id-response400";
|
|
5
2
|
export { DeleteV1ImageProjectsIdResponse401 } from "./delete-v1-image-projects-id-response401";
|
|
6
|
-
export { DeleteV1ImageProjectsIdResponse401MessageEnum } from "./delete-v1-image-projects-id-response401-message-enum";
|
|
7
3
|
export { DeleteV1ImageProjectsIdResponse404 } from "./delete-v1-image-projects-id-response404";
|
|
8
|
-
export { DeleteV1ImageProjectsIdResponse404MessageEnum } from "./delete-v1-image-projects-id-response404-message-enum";
|
|
9
4
|
export { DeleteV1VideoProjectsIdResponse400 } from "./delete-v1-video-projects-id-response400";
|
|
10
5
|
export { DeleteV1VideoProjectsIdResponse401 } from "./delete-v1-video-projects-id-response401";
|
|
11
|
-
export { DeleteV1VideoProjectsIdResponse401MessageEnum } from "./delete-v1-video-projects-id-response401-message-enum";
|
|
12
6
|
export { DeleteV1VideoProjectsIdResponse404 } from "./delete-v1-video-projects-id-response404";
|
|
13
|
-
export { DeleteV1VideoProjectsIdResponse404MessageEnum } from "./delete-v1-video-projects-id-response404-message-enum";
|
|
14
7
|
export { DeleteV1VideoProjectsIdResponse422 } from "./delete-v1-video-projects-id-response422";
|
|
15
8
|
export { GetV1ImageProjectsIdResponse } from "./get-v1-image-projects-id-response";
|
|
16
9
|
export { GetV1ImageProjectsIdResponseDownloadsItem } from "./get-v1-image-projects-id-response-downloads-item";
|
|
17
10
|
export { GetV1ImageProjectsIdResponseError } from "./get-v1-image-projects-id-response-error";
|
|
18
|
-
export { GetV1ImageProjectsIdResponseStatusEnum } from "./get-v1-image-projects-id-response-status-enum";
|
|
19
|
-
export { GetV1ImageProjectsIdResponseTypeEnum } from "./get-v1-image-projects-id-response-type-enum";
|
|
20
11
|
export { GetV1ImageProjectsIdResponse400 } from "./get-v1-image-projects-id-response400";
|
|
21
12
|
export { GetV1ImageProjectsIdResponse401 } from "./get-v1-image-projects-id-response401";
|
|
22
|
-
export { GetV1ImageProjectsIdResponse401MessageEnum } from "./get-v1-image-projects-id-response401-message-enum";
|
|
23
13
|
export { GetV1ImageProjectsIdResponse404 } from "./get-v1-image-projects-id-response404";
|
|
24
|
-
export { GetV1ImageProjectsIdResponse404MessageEnum } from "./get-v1-image-projects-id-response404-message-enum";
|
|
25
14
|
export { GetV1VideoProjectsIdResponse } from "./get-v1-video-projects-id-response";
|
|
26
15
|
export { GetV1VideoProjectsIdResponseDownload } from "./get-v1-video-projects-id-response-download";
|
|
27
16
|
export { GetV1VideoProjectsIdResponseDownloadsItem } from "./get-v1-video-projects-id-response-downloads-item";
|
|
28
17
|
export { GetV1VideoProjectsIdResponseError } from "./get-v1-video-projects-id-response-error";
|
|
29
|
-
export { GetV1VideoProjectsIdResponseStatusEnum } from "./get-v1-video-projects-id-response-status-enum";
|
|
30
|
-
export { GetV1VideoProjectsIdResponseTypeEnum } from "./get-v1-video-projects-id-response-type-enum";
|
|
31
18
|
export { GetV1VideoProjectsIdResponse400 } from "./get-v1-video-projects-id-response400";
|
|
32
19
|
export { GetV1VideoProjectsIdResponse401 } from "./get-v1-video-projects-id-response401";
|
|
33
|
-
export { GetV1VideoProjectsIdResponse401MessageEnum } from "./get-v1-video-projects-id-response401-message-enum";
|
|
34
20
|
export { GetV1VideoProjectsIdResponse404 } from "./get-v1-video-projects-id-response404";
|
|
35
|
-
export {
|
|
21
|
+
export { PostV1AiClothesChangerBody } from "./post-v1-ai-clothes-changer-body";
|
|
22
|
+
export { PostV1AiClothesChangerBodyAssets } from "./post-v1-ai-clothes-changer-body-assets";
|
|
23
|
+
export { PostV1AiClothesChangerResponse } from "./post-v1-ai-clothes-changer-response";
|
|
24
|
+
export { PostV1AiClothesChangerResponse400 } from "./post-v1-ai-clothes-changer-response400";
|
|
25
|
+
export { PostV1AiClothesChangerResponse401 } from "./post-v1-ai-clothes-changer-response401";
|
|
26
|
+
export { PostV1AiClothesChangerResponse404 } from "./post-v1-ai-clothes-changer-response404";
|
|
27
|
+
export { PostV1AiClothesChangerResponse422 } from "./post-v1-ai-clothes-changer-response422";
|
|
36
28
|
export { PostV1AiHeadshotGeneratorBody } from "./post-v1-ai-headshot-generator-body";
|
|
37
29
|
export { PostV1AiHeadshotGeneratorBodyAssets } from "./post-v1-ai-headshot-generator-body-assets";
|
|
38
30
|
export { PostV1AiHeadshotGeneratorResponse } from "./post-v1-ai-headshot-generator-response";
|
|
39
31
|
export { PostV1AiHeadshotGeneratorResponse400 } from "./post-v1-ai-headshot-generator-response400";
|
|
40
32
|
export { PostV1AiHeadshotGeneratorResponse401 } from "./post-v1-ai-headshot-generator-response401";
|
|
41
|
-
export { PostV1AiHeadshotGeneratorResponse401MessageEnum } from "./post-v1-ai-headshot-generator-response401-message-enum";
|
|
42
33
|
export { PostV1AiHeadshotGeneratorResponse404 } from "./post-v1-ai-headshot-generator-response404";
|
|
43
|
-
export { PostV1AiHeadshotGeneratorResponse404MessageEnum } from "./post-v1-ai-headshot-generator-response404-message-enum";
|
|
44
34
|
export { PostV1AiHeadshotGeneratorResponse422 } from "./post-v1-ai-headshot-generator-response422";
|
|
45
35
|
export { PostV1AiImageGeneratorBody } from "./post-v1-ai-image-generator-body";
|
|
46
|
-
export { PostV1AiImageGeneratorBodyOrientationEnum } from "./post-v1-ai-image-generator-body-orientation-enum";
|
|
47
36
|
export { PostV1AiImageGeneratorBodyStyle } from "./post-v1-ai-image-generator-body-style";
|
|
48
37
|
export { PostV1AiImageGeneratorResponse } from "./post-v1-ai-image-generator-response";
|
|
49
38
|
export { PostV1AiImageGeneratorResponse400 } from "./post-v1-ai-image-generator-response400";
|
|
50
39
|
export { PostV1AiImageGeneratorResponse401 } from "./post-v1-ai-image-generator-response401";
|
|
51
|
-
export { PostV1AiImageGeneratorResponse401MessageEnum } from "./post-v1-ai-image-generator-response401-message-enum";
|
|
52
40
|
export { PostV1AiImageGeneratorResponse404 } from "./post-v1-ai-image-generator-response404";
|
|
53
|
-
export { PostV1AiImageGeneratorResponse404MessageEnum } from "./post-v1-ai-image-generator-response404-message-enum";
|
|
54
41
|
export { PostV1AiImageGeneratorResponse422 } from "./post-v1-ai-image-generator-response422";
|
|
55
42
|
export { PostV1AiImageUpscalerBody } from "./post-v1-ai-image-upscaler-body";
|
|
56
43
|
export { PostV1AiImageUpscalerBodyAssets } from "./post-v1-ai-image-upscaler-body-assets";
|
|
57
44
|
export { PostV1AiImageUpscalerBodyStyle } from "./post-v1-ai-image-upscaler-body-style";
|
|
58
|
-
export { PostV1AiImageUpscalerBodyStyleEnhancementEnum } from "./post-v1-ai-image-upscaler-body-style-enhancement-enum";
|
|
59
45
|
export { PostV1AiImageUpscalerResponse } from "./post-v1-ai-image-upscaler-response";
|
|
60
46
|
export { PostV1AiImageUpscalerResponse400 } from "./post-v1-ai-image-upscaler-response400";
|
|
61
47
|
export { PostV1AiImageUpscalerResponse401 } from "./post-v1-ai-image-upscaler-response401";
|
|
62
|
-
export { PostV1AiImageUpscalerResponse401MessageEnum } from "./post-v1-ai-image-upscaler-response401-message-enum";
|
|
63
48
|
export { PostV1AiImageUpscalerResponse404 } from "./post-v1-ai-image-upscaler-response404";
|
|
64
|
-
export { PostV1AiImageUpscalerResponse404MessageEnum } from "./post-v1-ai-image-upscaler-response404-message-enum";
|
|
65
49
|
export { PostV1AiImageUpscalerResponse422 } from "./post-v1-ai-image-upscaler-response422";
|
|
66
50
|
export { PostV1AiPhotoEditorBody } from "./post-v1-ai-photo-editor-body";
|
|
67
51
|
export { PostV1AiPhotoEditorBodyAssets } from "./post-v1-ai-photo-editor-body-assets";
|
|
@@ -69,71 +53,51 @@ export { PostV1AiPhotoEditorBodyStyle } from "./post-v1-ai-photo-editor-body-sty
|
|
|
69
53
|
export { PostV1AiPhotoEditorResponse } from "./post-v1-ai-photo-editor-response";
|
|
70
54
|
export { PostV1AiPhotoEditorResponse400 } from "./post-v1-ai-photo-editor-response400";
|
|
71
55
|
export { PostV1AiPhotoEditorResponse401 } from "./post-v1-ai-photo-editor-response401";
|
|
72
|
-
export { PostV1AiPhotoEditorResponse401MessageEnum } from "./post-v1-ai-photo-editor-response401-message-enum";
|
|
73
56
|
export { PostV1AiPhotoEditorResponse404 } from "./post-v1-ai-photo-editor-response404";
|
|
74
|
-
export { PostV1AiPhotoEditorResponse404MessageEnum } from "./post-v1-ai-photo-editor-response404-message-enum";
|
|
75
57
|
export { PostV1AiPhotoEditorResponse422 } from "./post-v1-ai-photo-editor-response422";
|
|
76
58
|
export { PostV1AiQrCodeGeneratorBody } from "./post-v1-ai-qr-code-generator-body";
|
|
77
59
|
export { PostV1AiQrCodeGeneratorBodyStyle } from "./post-v1-ai-qr-code-generator-body-style";
|
|
78
60
|
export { PostV1AiQrCodeGeneratorResponse } from "./post-v1-ai-qr-code-generator-response";
|
|
79
61
|
export { PostV1AiQrCodeGeneratorResponse400 } from "./post-v1-ai-qr-code-generator-response400";
|
|
80
62
|
export { PostV1AiQrCodeGeneratorResponse401 } from "./post-v1-ai-qr-code-generator-response401";
|
|
81
|
-
export { PostV1AiQrCodeGeneratorResponse401MessageEnum } from "./post-v1-ai-qr-code-generator-response401-message-enum";
|
|
82
63
|
export { PostV1AiQrCodeGeneratorResponse404 } from "./post-v1-ai-qr-code-generator-response404";
|
|
83
|
-
export { PostV1AiQrCodeGeneratorResponse404MessageEnum } from "./post-v1-ai-qr-code-generator-response404-message-enum";
|
|
84
64
|
export { PostV1AiQrCodeGeneratorResponse422 } from "./post-v1-ai-qr-code-generator-response422";
|
|
85
65
|
export { PostV1AnimationBody } from "./post-v1-animation-body";
|
|
86
66
|
export { PostV1AnimationBodyAssets } from "./post-v1-animation-body-assets";
|
|
87
|
-
export { PostV1AnimationBodyAssetsAudioSourceEnum } from "./post-v1-animation-body-assets-audio-source-enum";
|
|
88
67
|
export { PostV1AnimationBodyStyle } from "./post-v1-animation-body-style";
|
|
89
|
-
export { PostV1AnimationBodyStyleArtStyleEnum } from "./post-v1-animation-body-style-art-style-enum";
|
|
90
|
-
export { PostV1AnimationBodyStyleCameraEffectEnum } from "./post-v1-animation-body-style-camera-effect-enum";
|
|
91
|
-
export { PostV1AnimationBodyStylePromptTypeEnum } from "./post-v1-animation-body-style-prompt-type-enum";
|
|
92
68
|
export { PostV1AnimationResponse } from "./post-v1-animation-response";
|
|
93
69
|
export { PostV1AnimationResponse400 } from "./post-v1-animation-response400";
|
|
94
70
|
export { PostV1AnimationResponse401 } from "./post-v1-animation-response401";
|
|
95
|
-
export { PostV1AnimationResponse401MessageEnum } from "./post-v1-animation-response401-message-enum";
|
|
96
71
|
export { PostV1AnimationResponse404 } from "./post-v1-animation-response404";
|
|
97
|
-
export { PostV1AnimationResponse404MessageEnum } from "./post-v1-animation-response404-message-enum";
|
|
98
72
|
export { PostV1AnimationResponse422 } from "./post-v1-animation-response422";
|
|
99
73
|
export { PostV1FaceSwapBody } from "./post-v1-face-swap-body";
|
|
100
74
|
export { PostV1FaceSwapBodyAssets } from "./post-v1-face-swap-body-assets";
|
|
101
|
-
export { PostV1FaceSwapBodyAssetsVideoSourceEnum } from "./post-v1-face-swap-body-assets-video-source-enum";
|
|
102
75
|
export { PostV1FaceSwapPhotoBody } from "./post-v1-face-swap-photo-body";
|
|
103
76
|
export { PostV1FaceSwapPhotoBodyAssets } from "./post-v1-face-swap-photo-body-assets";
|
|
104
77
|
export { PostV1FaceSwapPhotoResponse } from "./post-v1-face-swap-photo-response";
|
|
105
78
|
export { PostV1FaceSwapPhotoResponse400 } from "./post-v1-face-swap-photo-response400";
|
|
106
79
|
export { PostV1FaceSwapPhotoResponse401 } from "./post-v1-face-swap-photo-response401";
|
|
107
|
-
export { PostV1FaceSwapPhotoResponse401MessageEnum } from "./post-v1-face-swap-photo-response401-message-enum";
|
|
108
80
|
export { PostV1FaceSwapPhotoResponse404 } from "./post-v1-face-swap-photo-response404";
|
|
109
|
-
export { PostV1FaceSwapPhotoResponse404MessageEnum } from "./post-v1-face-swap-photo-response404-message-enum";
|
|
110
81
|
export { PostV1FaceSwapPhotoResponse422 } from "./post-v1-face-swap-photo-response422";
|
|
111
82
|
export { PostV1FaceSwapResponse } from "./post-v1-face-swap-response";
|
|
112
83
|
export { PostV1FaceSwapResponse400 } from "./post-v1-face-swap-response400";
|
|
113
84
|
export { PostV1FaceSwapResponse401 } from "./post-v1-face-swap-response401";
|
|
114
|
-
export { PostV1FaceSwapResponse401MessageEnum } from "./post-v1-face-swap-response401-message-enum";
|
|
115
85
|
export { PostV1FaceSwapResponse404 } from "./post-v1-face-swap-response404";
|
|
116
|
-
export { PostV1FaceSwapResponse404MessageEnum } from "./post-v1-face-swap-response404-message-enum";
|
|
117
86
|
export { PostV1FaceSwapResponse422 } from "./post-v1-face-swap-response422";
|
|
118
87
|
export { PostV1FilesUploadUrlsBody } from "./post-v1-files-upload-urls-body";
|
|
119
88
|
export { PostV1FilesUploadUrlsBodyItemsItem } from "./post-v1-files-upload-urls-body-items-item";
|
|
120
|
-
export { PostV1FilesUploadUrlsBodyItemsItemTypeEnum } from "./post-v1-files-upload-urls-body-items-item-type-enum";
|
|
121
89
|
export { PostV1FilesUploadUrlsResponse } from "./post-v1-files-upload-urls-response";
|
|
122
90
|
export { PostV1FilesUploadUrlsResponseItemsItem } from "./post-v1-files-upload-urls-response-items-item";
|
|
123
91
|
export { PostV1FilesUploadUrlsResponse400 } from "./post-v1-files-upload-urls-response400";
|
|
124
92
|
export { PostV1FilesUploadUrlsResponse401 } from "./post-v1-files-upload-urls-response401";
|
|
125
|
-
export { PostV1FilesUploadUrlsResponse401MessageEnum } from "./post-v1-files-upload-urls-response401-message-enum";
|
|
126
93
|
export { PostV1FilesUploadUrlsResponse404 } from "./post-v1-files-upload-urls-response404";
|
|
127
|
-
export { PostV1FilesUploadUrlsResponse404MessageEnum } from "./post-v1-files-upload-urls-response404-message-enum";
|
|
128
94
|
export { PostV1FilesUploadUrlsResponse422 } from "./post-v1-files-upload-urls-response422";
|
|
129
95
|
export { PostV1ImageBackgroundRemoverBody } from "./post-v1-image-background-remover-body";
|
|
130
96
|
export { PostV1ImageBackgroundRemoverBodyAssets } from "./post-v1-image-background-remover-body-assets";
|
|
131
97
|
export { PostV1ImageBackgroundRemoverResponse } from "./post-v1-image-background-remover-response";
|
|
132
98
|
export { PostV1ImageBackgroundRemoverResponse400 } from "./post-v1-image-background-remover-response400";
|
|
133
99
|
export { PostV1ImageBackgroundRemoverResponse401 } from "./post-v1-image-background-remover-response401";
|
|
134
|
-
export { PostV1ImageBackgroundRemoverResponse401MessageEnum } from "./post-v1-image-background-remover-response401-message-enum";
|
|
135
100
|
export { PostV1ImageBackgroundRemoverResponse404 } from "./post-v1-image-background-remover-response404";
|
|
136
|
-
export { PostV1ImageBackgroundRemoverResponse404MessageEnum } from "./post-v1-image-background-remover-response404-message-enum";
|
|
137
101
|
export { PostV1ImageBackgroundRemoverResponse422 } from "./post-v1-image-background-remover-response422";
|
|
138
102
|
export { PostV1ImageToVideoBody } from "./post-v1-image-to-video-body";
|
|
139
103
|
export { PostV1ImageToVideoBodyAssets } from "./post-v1-image-to-video-body-assets";
|
|
@@ -141,43 +105,27 @@ export { PostV1ImageToVideoBodyStyle } from "./post-v1-image-to-video-body-style
|
|
|
141
105
|
export { PostV1ImageToVideoResponse } from "./post-v1-image-to-video-response";
|
|
142
106
|
export { PostV1ImageToVideoResponse400 } from "./post-v1-image-to-video-response400";
|
|
143
107
|
export { PostV1ImageToVideoResponse401 } from "./post-v1-image-to-video-response401";
|
|
144
|
-
export { PostV1ImageToVideoResponse401MessageEnum } from "./post-v1-image-to-video-response401-message-enum";
|
|
145
108
|
export { PostV1ImageToVideoResponse404 } from "./post-v1-image-to-video-response404";
|
|
146
|
-
export { PostV1ImageToVideoResponse404MessageEnum } from "./post-v1-image-to-video-response404-message-enum";
|
|
147
109
|
export { PostV1ImageToVideoResponse422 } from "./post-v1-image-to-video-response422";
|
|
148
110
|
export { PostV1LipSyncBody } from "./post-v1-lip-sync-body";
|
|
149
111
|
export { PostV1LipSyncBodyAssets } from "./post-v1-lip-sync-body-assets";
|
|
150
|
-
export { PostV1LipSyncBodyAssetsVideoSourceEnum } from "./post-v1-lip-sync-body-assets-video-source-enum";
|
|
151
112
|
export { PostV1LipSyncResponse } from "./post-v1-lip-sync-response";
|
|
152
113
|
export { PostV1LipSyncResponse400 } from "./post-v1-lip-sync-response400";
|
|
153
114
|
export { PostV1LipSyncResponse401 } from "./post-v1-lip-sync-response401";
|
|
154
|
-
export { PostV1LipSyncResponse401MessageEnum } from "./post-v1-lip-sync-response401-message-enum";
|
|
155
115
|
export { PostV1LipSyncResponse404 } from "./post-v1-lip-sync-response404";
|
|
156
|
-
export { PostV1LipSyncResponse404MessageEnum } from "./post-v1-lip-sync-response404-message-enum";
|
|
157
116
|
export { PostV1LipSyncResponse422 } from "./post-v1-lip-sync-response422";
|
|
158
117
|
export { PostV1TextToVideoBody } from "./post-v1-text-to-video-body";
|
|
159
|
-
export { PostV1TextToVideoBodyOrientationEnum } from "./post-v1-text-to-video-body-orientation-enum";
|
|
160
118
|
export { PostV1TextToVideoBodyStyle } from "./post-v1-text-to-video-body-style";
|
|
161
119
|
export { PostV1TextToVideoResponse } from "./post-v1-text-to-video-response";
|
|
162
120
|
export { PostV1TextToVideoResponse400 } from "./post-v1-text-to-video-response400";
|
|
163
121
|
export { PostV1TextToVideoResponse401 } from "./post-v1-text-to-video-response401";
|
|
164
|
-
export { PostV1TextToVideoResponse401MessageEnum } from "./post-v1-text-to-video-response401-message-enum";
|
|
165
122
|
export { PostV1TextToVideoResponse404 } from "./post-v1-text-to-video-response404";
|
|
166
|
-
export { PostV1TextToVideoResponse404MessageEnum } from "./post-v1-text-to-video-response404-message-enum";
|
|
167
123
|
export { PostV1TextToVideoResponse422 } from "./post-v1-text-to-video-response422";
|
|
168
124
|
export { PostV1VideoToVideoBody } from "./post-v1-video-to-video-body";
|
|
169
125
|
export { PostV1VideoToVideoBodyAssets } from "./post-v1-video-to-video-body-assets";
|
|
170
|
-
export { PostV1VideoToVideoBodyAssetsVideoSourceEnum } from "./post-v1-video-to-video-body-assets-video-source-enum";
|
|
171
|
-
export { PostV1VideoToVideoBodyFpsResolutionEnum } from "./post-v1-video-to-video-body-fps-resolution-enum";
|
|
172
126
|
export { PostV1VideoToVideoBodyStyle } from "./post-v1-video-to-video-body-style";
|
|
173
|
-
export { PostV1VideoToVideoBodyStyleArtStyleEnum } from "./post-v1-video-to-video-body-style-art-style-enum";
|
|
174
|
-
export { PostV1VideoToVideoBodyStyleModelEnum } from "./post-v1-video-to-video-body-style-model-enum";
|
|
175
|
-
export { PostV1VideoToVideoBodyStylePromptTypeEnum } from "./post-v1-video-to-video-body-style-prompt-type-enum";
|
|
176
|
-
export { PostV1VideoToVideoBodyStyleVersionEnum } from "./post-v1-video-to-video-body-style-version-enum";
|
|
177
127
|
export { PostV1VideoToVideoResponse } from "./post-v1-video-to-video-response";
|
|
178
128
|
export { PostV1VideoToVideoResponse400 } from "./post-v1-video-to-video-response400";
|
|
179
129
|
export { PostV1VideoToVideoResponse401 } from "./post-v1-video-to-video-response401";
|
|
180
|
-
export { PostV1VideoToVideoResponse401MessageEnum } from "./post-v1-video-to-video-response401-message-enum";
|
|
181
130
|
export { PostV1VideoToVideoResponse404 } from "./post-v1-video-to-video-response404";
|
|
182
|
-
export { PostV1VideoToVideoResponse404MessageEnum } from "./post-v1-video-to-video-response404-message-enum";
|
|
183
131
|
export { PostV1VideoToVideoResponse422 } from "./post-v1-video-to-video-response422";
|
package/dist/types/index.js
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Provide the assets for clothes changer
|
|
4
|
+
*/
|
|
5
|
+
export type PostV1AiClothesChangerBodyAssets = {
|
|
6
|
+
/**
|
|
7
|
+
* The image of the outfit. This value can be the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls), or the url of the file.
|
|
8
|
+
*/
|
|
9
|
+
garmentFilePath: string;
|
|
10
|
+
garmentType: "dresses" | "lower_body" | "upper_body";
|
|
11
|
+
/**
|
|
12
|
+
* The image with the person. This value can be the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls), or the url of the file.
|
|
13
|
+
*/
|
|
14
|
+
personFilePath: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
* PostV1AiClothesChangerBodyAssets without any key transformation, this is what
|
|
19
|
+
* we expect to come in as network data
|
|
20
|
+
*/
|
|
21
|
+
export type External$PostV1AiClothesChangerBodyAssets = {
|
|
22
|
+
garment_file_path: string;
|
|
23
|
+
garment_type: "dresses" | "lower_body" | "upper_body";
|
|
24
|
+
person_file_path: string;
|
|
25
|
+
};
|
|
26
|
+
export declare const Schemas$PostV1AiClothesChangerBodyAssets: {
|
|
27
|
+
in: z.ZodType<PostV1AiClothesChangerBodyAssets, z.ZodTypeDef, unknown>;
|
|
28
|
+
out: z.ZodType<External$PostV1AiClothesChangerBodyAssets, z.ZodTypeDef, PostV1AiClothesChangerBodyAssets>;
|
|
29
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
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$PostV1AiClothesChangerBodyAssets = void 0;
|
|
37
|
+
const core_1 = require("../core");
|
|
38
|
+
const z = __importStar(require("zod"));
|
|
39
|
+
/**
|
|
40
|
+
* Takes network data, validates it, and transforms keys to match typescript object PostV1AiClothesChangerBodyAssets
|
|
41
|
+
*/
|
|
42
|
+
const SchemaIn$PostV1AiClothesChangerBodyAssets = z
|
|
43
|
+
.object({
|
|
44
|
+
garment_file_path: z.string(),
|
|
45
|
+
garment_type: z.enum(["dresses", "lower_body", "upper_body"]),
|
|
46
|
+
person_file_path: z.string(),
|
|
47
|
+
})
|
|
48
|
+
.transform((obj) => {
|
|
49
|
+
return (0, core_1.zodTransform)(obj, {
|
|
50
|
+
garment_file_path: "garmentFilePath",
|
|
51
|
+
garment_type: "garmentType",
|
|
52
|
+
person_file_path: "personFilePath",
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
* Takes typescript data, validates it, and maps keys to match the expected external object External$PostV1AiClothesChangerBodyAssets
|
|
58
|
+
*/
|
|
59
|
+
const SchemaOut$PostV1AiClothesChangerBodyAssets = z
|
|
60
|
+
.object({
|
|
61
|
+
garmentFilePath: z.string(),
|
|
62
|
+
garmentType: z.enum(["dresses", "lower_body", "upper_body"]),
|
|
63
|
+
personFilePath: z.string(),
|
|
64
|
+
})
|
|
65
|
+
.transform((obj) => {
|
|
66
|
+
return (0, core_1.zodTransform)(obj, {
|
|
67
|
+
garmentFilePath: "garment_file_path",
|
|
68
|
+
garmentType: "garment_type",
|
|
69
|
+
personFilePath: "person_file_path",
|
|
70
|
+
});
|
|
71
|
+
});
|
|
72
|
+
exports.Schemas$PostV1AiClothesChangerBodyAssets = {
|
|
73
|
+
in: SchemaIn$PostV1AiClothesChangerBodyAssets,
|
|
74
|
+
out: SchemaOut$PostV1AiClothesChangerBodyAssets,
|
|
75
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { External$PostV1AiClothesChangerBodyAssets, PostV1AiClothesChangerBodyAssets } from "./post-v1-ai-clothes-changer-body-assets";
|
|
2
|
+
import * as z from "zod";
|
|
3
|
+
/**
|
|
4
|
+
* PostV1AiClothesChangerBody
|
|
5
|
+
*/
|
|
6
|
+
export type PostV1AiClothesChangerBody = {
|
|
7
|
+
/**
|
|
8
|
+
* Provide the assets for clothes changer
|
|
9
|
+
*/
|
|
10
|
+
assets: PostV1AiClothesChangerBodyAssets;
|
|
11
|
+
/**
|
|
12
|
+
* The name of image
|
|
13
|
+
*/
|
|
14
|
+
name?: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
* PostV1AiClothesChangerBody without any key transformation, this is what
|
|
19
|
+
* we expect to come in as network data
|
|
20
|
+
*/
|
|
21
|
+
export type External$PostV1AiClothesChangerBody = {
|
|
22
|
+
assets: External$PostV1AiClothesChangerBodyAssets;
|
|
23
|
+
name?: string | undefined;
|
|
24
|
+
};
|
|
25
|
+
export declare const Schemas$PostV1AiClothesChangerBody: {
|
|
26
|
+
in: z.ZodType<PostV1AiClothesChangerBody, z.ZodTypeDef, unknown>;
|
|
27
|
+
out: z.ZodType<External$PostV1AiClothesChangerBody, z.ZodTypeDef, PostV1AiClothesChangerBody>;
|
|
28
|
+
};
|