From 97e39785e6c14154c255a3eeb0b6d7bdd4184ef8 Mon Sep 17 00:00:00 2001 From: "sdk-github-actions[bot]" Date: Thu, 3 Sep 2026 23:36:51 +0000 Subject: [PATCH] chore(release): auto --- .sdk.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- src/environment.ts | 2 +- src/resources/v1/image-to-video/request-types.ts | 8 ++++---- src/resources/v1/text-to-video/request-types.ts | 8 ++++---- .../v1-image-to-video-create-body-resolution-enum.ts | 1 + src/types/v1-image-to-video-create-body.ts | 8 ++++---- src/types/v1-text-to-video-create-body-resolution-enum.ts | 1 + src/types/v1-text-to-video-create-body.ts | 8 ++++---- 10 files changed, 23 insertions(+), 21 deletions(-) diff --git a/.sdk.json b/.sdk.json index 467ebed..0da877e 100644 --- a/.sdk.json +++ b/.sdk.json @@ -1,5 +1,5 @@ { - "id": "063a5d83-3d58-4579-beca-9cfebbb892bc", + "id": "fb9e22f7-76b4-4b2f-99a4-d3223a35bdc4", "tracked_paths": [ { "editable": true, diff --git a/package-lock.json b/package-lock.json index f01c62a..beedd5a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "magic-hour", - "version": "0.73.0", + "version": "0.74.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "magic-hour", - "version": "0.73.0", + "version": "0.74.0", "license": "MIT", "dependencies": { "make-api-request-js": "^0.2.1", diff --git a/package.json b/package.json index 32494d2..04a974a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "magic-hour", - "version": "0.73.0", + "version": "0.74.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { diff --git a/src/environment.ts b/src/environment.ts index aa6766b..0048898 100644 --- a/src/environment.ts +++ b/src/environment.ts @@ -1,4 +1,4 @@ export enum Environment { Environment = "https://api.magichour.ai", - MockServer = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.77.0", + MockServer = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.78.0", } diff --git a/src/resources/v1/image-to-video/request-types.ts b/src/resources/v1/image-to-video/request-types.ts index dcd9157..19abfda 100644 --- a/src/resources/v1/image-to-video/request-types.ts +++ b/src/resources/v1/image-to-video/request-types.ts @@ -136,7 +136,7 @@ export type CreateRequest = { * * **`wan-2.2`**: Supports 480p, 720p, 1080p. * */ - resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined; + resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined; /** * Attributed used to dictate the style of the output */ @@ -185,7 +185,7 @@ export type External$CreateRequest = { ) | undefined; name?: string | undefined; - resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined; + resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined; style?: External$V1ImageToVideoCreateBodyStyle | undefined; width?: number | null | undefined; }; @@ -229,7 +229,7 @@ const SchemaIn$CreateRequest: z.ZodType< ]) .optional(), name: z.string().optional(), - resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(), + resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(), style: Schemas$V1ImageToVideoCreateBodyStyle.in.optional(), width: z.number().int().nullable().optional(), }) @@ -287,7 +287,7 @@ const SchemaOut$CreateRequest: z.ZodType< ]) .optional(), name: z.string().optional(), - resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(), + resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(), style: Schemas$V1ImageToVideoCreateBodyStyle.out.optional(), width: z.number().int().nullable().optional(), }) diff --git a/src/resources/v1/text-to-video/request-types.ts b/src/resources/v1/text-to-video/request-types.ts index a91996b..1e8479c 100644 --- a/src/resources/v1/text-to-video/request-types.ts +++ b/src/resources/v1/text-to-video/request-types.ts @@ -145,7 +145,7 @@ export type CreateRequest = { * * **`wan-2.2`**: Supports 480p, 720p, 1080p. * */ - resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined; + resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined; style: V1TextToVideoCreateBodyStyle; }; @@ -185,7 +185,7 @@ export type External$CreateRequest = { | undefined; name?: string | undefined; orientation?: ("landscape" | "portrait" | "square") | undefined; - resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined; + resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined; style: External$V1TextToVideoCreateBodyStyle; }; @@ -228,7 +228,7 @@ const SchemaIn$CreateRequest: z.ZodType< .optional(), name: z.string().optional(), orientation: z.enum(["landscape", "portrait", "square"]).optional(), - resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(), + resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(), style: Schemas$V1TextToVideoCreateBodyStyle.in, }) .transform((obj) => { @@ -284,7 +284,7 @@ const SchemaOut$CreateRequest: z.ZodType< .optional(), name: z.string().optional(), orientation: z.enum(["landscape", "portrait", "square"]).optional(), - resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(), + resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(), style: Schemas$V1TextToVideoCreateBodyStyle.out, }) .transform((obj) => { diff --git a/src/types/v1-image-to-video-create-body-resolution-enum.ts b/src/types/v1-image-to-video-create-body-resolution-enum.ts index 898a93d..41902b0 100644 --- a/src/types/v1-image-to-video-create-body-resolution-enum.ts +++ b/src/types/v1-image-to-video-create-body-resolution-enum.ts @@ -19,6 +19,7 @@ */ export type V1ImageToVideoCreateBodyResolutionEnum = | "1080p" + | "360p" | "480p" | "4k" | "720p"; diff --git a/src/types/v1-image-to-video-create-body.ts b/src/types/v1-image-to-video-create-body.ts index b39d2a2..bfc29a0 100644 --- a/src/types/v1-image-to-video-create-body.ts +++ b/src/types/v1-image-to-video-create-body.ts @@ -136,7 +136,7 @@ export type V1ImageToVideoCreateBody = { * * **`wan-2.2`**: Supports 480p, 720p, 1080p. * */ - resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined; + resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined; /** * Attributed used to dictate the style of the output */ @@ -185,7 +185,7 @@ export type External$V1ImageToVideoCreateBody = { ) | undefined; name?: string | undefined; - resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined; + resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined; style?: External$V1ImageToVideoCreateBodyStyle | undefined; width?: number | null | undefined; }; @@ -229,7 +229,7 @@ const SchemaIn$V1ImageToVideoCreateBody: z.ZodType< ]) .optional(), name: z.string().optional(), - resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(), + resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(), style: Schemas$V1ImageToVideoCreateBodyStyle.in.optional(), width: z.number().int().nullable().optional(), }) @@ -287,7 +287,7 @@ const SchemaOut$V1ImageToVideoCreateBody: z.ZodType< ]) .optional(), name: z.string().optional(), - resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(), + resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(), style: Schemas$V1ImageToVideoCreateBodyStyle.out.optional(), width: z.number().int().nullable().optional(), }) diff --git a/src/types/v1-text-to-video-create-body-resolution-enum.ts b/src/types/v1-text-to-video-create-body-resolution-enum.ts index 07a7414..c405188 100644 --- a/src/types/v1-text-to-video-create-body-resolution-enum.ts +++ b/src/types/v1-text-to-video-create-body-resolution-enum.ts @@ -19,6 +19,7 @@ */ export type V1TextToVideoCreateBodyResolutionEnum = | "1080p" + | "360p" | "480p" | "4k" | "720p"; diff --git a/src/types/v1-text-to-video-create-body.ts b/src/types/v1-text-to-video-create-body.ts index 2614ded..4952172 100644 --- a/src/types/v1-text-to-video-create-body.ts +++ b/src/types/v1-text-to-video-create-body.ts @@ -145,7 +145,7 @@ export type V1TextToVideoCreateBody = { * * **`wan-2.2`**: Supports 480p, 720p, 1080p. * */ - resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined; + resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined; style: V1TextToVideoCreateBodyStyle; }; @@ -185,7 +185,7 @@ export type External$V1TextToVideoCreateBody = { | undefined; name?: string | undefined; orientation?: ("landscape" | "portrait" | "square") | undefined; - resolution?: ("1080p" | "480p" | "4k" | "720p") | undefined; + resolution?: ("1080p" | "360p" | "480p" | "4k" | "720p") | undefined; style: External$V1TextToVideoCreateBodyStyle; }; @@ -228,7 +228,7 @@ const SchemaIn$V1TextToVideoCreateBody: z.ZodType< .optional(), name: z.string().optional(), orientation: z.enum(["landscape", "portrait", "square"]).optional(), - resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(), + resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(), style: Schemas$V1TextToVideoCreateBodyStyle.in, }) .transform((obj) => { @@ -284,7 +284,7 @@ const SchemaOut$V1TextToVideoCreateBody: z.ZodType< .optional(), name: z.string().optional(), orientation: z.enum(["landscape", "portrait", "square"]).optional(), - resolution: z.enum(["1080p", "480p", "4k", "720p"]).optional(), + resolution: z.enum(["1080p", "360p", "480p", "4k", "720p"]).optional(), style: Schemas$V1TextToVideoCreateBodyStyle.out, }) .transform((obj) => {