@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
1,424 lines (1,423 loc) • 105 kB
text/typescript
import z from "zod";
//#region src/schemas/media.d.ts
declare const controllerSchemas: {
getMultiple: {
query: {
string: z.ZodObject<{
"filter[title]": z.ZodOptional<z.ZodString>;
"filter[key]": z.ZodOptional<z.ZodString>;
"filter[mimeType]": z.ZodOptional<z.ZodString>;
"filter[folderId]": z.ZodOptional<z.ZodString>;
"filter[type]": z.ZodOptional<z.ZodString>;
"filter[extension]": z.ZodOptional<z.ZodString>;
"filter[isDeleted]": z.ZodOptional<z.ZodString>;
"filter[deletedBy]": z.ZodOptional<z.ZodString>;
"filter[public]": z.ZodOptional<z.ZodString>;
"filter[origin]": z.ZodOptional<z.ZodString>;
"filter[fileSize]": z.ZodOptional<z.ZodString>;
"filter[width]": z.ZodOptional<z.ZodString>;
"filter[height]": z.ZodOptional<z.ZodString>;
"filter[createdAt]": z.ZodOptional<z.ZodString>;
"filter[updatedAt]": z.ZodOptional<z.ZodString>;
sort: z.ZodOptional<z.ZodString>;
page: z.ZodOptional<z.ZodString>;
perPage: z.ZodOptional<z.ZodString>;
}, z.z.core.$strip>;
formatted: z.ZodObject<{
filter: z.ZodOptional<z.ZodObject<{
title: z.ZodOptional<z.ZodObject<{
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
operator: z.ZodOptional<z.ZodEnum<{
in: "in";
"=": "=";
"!=": "!=";
">": ">";
">=": ">=";
"<": "<";
"<=": "<=";
"not-in": "not-in";
is: "is";
"is-not": "is-not";
contains: "contains";
"not-contains": "not-contains";
"starts-with": "starts-with";
"not-starts-with": "not-starts-with";
"ends-with": "ends-with";
"not-ends-with": "not-ends-with";
}>>;
}, z.z.core.$strip>>;
key: z.ZodOptional<z.ZodObject<{
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
operator: z.ZodOptional<z.ZodEnum<{
in: "in";
"=": "=";
"!=": "!=";
">": ">";
">=": ">=";
"<": "<";
"<=": "<=";
"not-in": "not-in";
is: "is";
"is-not": "is-not";
contains: "contains";
"not-contains": "not-contains";
"starts-with": "starts-with";
"not-starts-with": "not-starts-with";
"ends-with": "ends-with";
"not-ends-with": "not-ends-with";
}>>;
}, z.z.core.$strip>>;
mimeType: z.ZodOptional<z.ZodObject<{
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodBoolean, z.ZodArray<z.ZodBoolean>]>;
operator: z.ZodOptional<z.ZodEnum<{
in: "in";
"=": "=";
"!=": "!=";
">": ">";
">=": ">=";
"<": "<";
"<=": "<=";
"not-in": "not-in";
is: "is";
"is-not": "is-not";
contains: "contains";
"not-contains": "not-contains";
"starts-with": "starts-with";
"not-starts-with": "not-starts-with";
"ends-with": "ends-with";
"not-ends-with": "not-ends-with";
}>>;
}, z.z.core.$strip>>;
folderId: z.ZodOptional<z.ZodObject<{
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
operator: z.ZodOptional<z.ZodEnum<{
in: "in";
"=": "=";
"!=": "!=";
">": ">";
">=": ">=";
"<": "<";
"<=": "<=";
"not-in": "not-in";
is: "is";
"is-not": "is-not";
contains: "contains";
"not-contains": "not-contains";
"starts-with": "starts-with";
"not-starts-with": "not-starts-with";
"ends-with": "ends-with";
"not-ends-with": "not-ends-with";
}>>;
}, z.z.core.$strip>>;
type: z.ZodOptional<z.ZodObject<{
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodBoolean, z.ZodArray<z.ZodBoolean>]>;
operator: z.ZodOptional<z.ZodEnum<{
in: "in";
"=": "=";
"!=": "!=";
">": ">";
">=": ">=";
"<": "<";
"<=": "<=";
"not-in": "not-in";
is: "is";
"is-not": "is-not";
contains: "contains";
"not-contains": "not-contains";
"starts-with": "starts-with";
"not-starts-with": "not-starts-with";
"ends-with": "ends-with";
"not-ends-with": "not-ends-with";
}>>;
}, z.z.core.$strip>>;
extension: z.ZodOptional<z.ZodObject<{
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodBoolean, z.ZodArray<z.ZodBoolean>]>;
operator: z.ZodOptional<z.ZodEnum<{
in: "in";
"=": "=";
"!=": "!=";
">": ">";
">=": ">=";
"<": "<";
"<=": "<=";
"not-in": "not-in";
is: "is";
"is-not": "is-not";
contains: "contains";
"not-contains": "not-contains";
"starts-with": "starts-with";
"not-starts-with": "not-starts-with";
"ends-with": "ends-with";
"not-ends-with": "not-ends-with";
}>>;
}, z.z.core.$strip>>;
isDeleted: z.ZodOptional<z.ZodObject<{
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
operator: z.ZodOptional<z.ZodEnum<{
in: "in";
"=": "=";
"!=": "!=";
">": ">";
">=": ">=";
"<": "<";
"<=": "<=";
"not-in": "not-in";
is: "is";
"is-not": "is-not";
contains: "contains";
"not-contains": "not-contains";
"starts-with": "starts-with";
"not-starts-with": "not-starts-with";
"ends-with": "ends-with";
"not-ends-with": "not-ends-with";
}>>;
}, z.z.core.$strip>>;
deletedBy: z.ZodOptional<z.ZodObject<{
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodBoolean, z.ZodArray<z.ZodBoolean>]>;
operator: z.ZodOptional<z.ZodEnum<{
in: "in";
"=": "=";
"!=": "!=";
">": ">";
">=": ">=";
"<": "<";
"<=": "<=";
"not-in": "not-in";
is: "is";
"is-not": "is-not";
contains: "contains";
"not-contains": "not-contains";
"starts-with": "starts-with";
"not-starts-with": "not-starts-with";
"ends-with": "ends-with";
"not-ends-with": "not-ends-with";
}>>;
}, z.z.core.$strip>>;
public: z.ZodOptional<z.ZodObject<{
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
operator: z.ZodOptional<z.ZodEnum<{
in: "in";
"=": "=";
"!=": "!=";
">": ">";
">=": ">=";
"<": "<";
"<=": "<=";
"not-in": "not-in";
is: "is";
"is-not": "is-not";
contains: "contains";
"not-contains": "not-contains";
"starts-with": "starts-with";
"not-starts-with": "not-starts-with";
"ends-with": "ends-with";
"not-ends-with": "not-ends-with";
}>>;
}, z.z.core.$strip>>;
origin: z.ZodOptional<z.ZodObject<{
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodBoolean, z.ZodArray<z.ZodBoolean>]>;
operator: z.ZodOptional<z.ZodEnum<{
in: "in";
"=": "=";
"!=": "!=";
">": ">";
">=": ">=";
"<": "<";
"<=": "<=";
"not-in": "not-in";
is: "is";
"is-not": "is-not";
contains: "contains";
"not-contains": "not-contains";
"starts-with": "starts-with";
"not-starts-with": "not-starts-with";
"ends-with": "ends-with";
"not-ends-with": "not-ends-with";
}>>;
}, z.z.core.$strip>>;
fileSize: z.ZodOptional<z.ZodObject<{
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
operator: z.ZodOptional<z.ZodEnum<{
in: "in";
"=": "=";
"!=": "!=";
">": ">";
">=": ">=";
"<": "<";
"<=": "<=";
"not-in": "not-in";
is: "is";
"is-not": "is-not";
contains: "contains";
"not-contains": "not-contains";
"starts-with": "starts-with";
"not-starts-with": "not-starts-with";
"ends-with": "ends-with";
"not-ends-with": "not-ends-with";
}>>;
}, z.z.core.$strip>>;
width: z.ZodOptional<z.ZodObject<{
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
operator: z.ZodOptional<z.ZodEnum<{
in: "in";
"=": "=";
"!=": "!=";
">": ">";
">=": ">=";
"<": "<";
"<=": "<=";
"not-in": "not-in";
is: "is";
"is-not": "is-not";
contains: "contains";
"not-contains": "not-contains";
"starts-with": "starts-with";
"not-starts-with": "not-starts-with";
"ends-with": "ends-with";
"not-ends-with": "not-ends-with";
}>>;
}, z.z.core.$strip>>;
height: z.ZodOptional<z.ZodObject<{
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
operator: z.ZodOptional<z.ZodEnum<{
in: "in";
"=": "=";
"!=": "!=";
">": ">";
">=": ">=";
"<": "<";
"<=": "<=";
"not-in": "not-in";
is: "is";
"is-not": "is-not";
contains: "contains";
"not-contains": "not-contains";
"starts-with": "starts-with";
"not-starts-with": "not-starts-with";
"ends-with": "ends-with";
"not-ends-with": "not-ends-with";
}>>;
}, z.z.core.$strip>>;
createdAt: z.ZodOptional<z.ZodObject<{
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
operator: z.ZodOptional<z.ZodEnum<{
in: "in";
"=": "=";
"!=": "!=";
">": ">";
">=": ">=";
"<": "<";
"<=": "<=";
"not-in": "not-in";
is: "is";
"is-not": "is-not";
contains: "contains";
"not-contains": "not-contains";
"starts-with": "starts-with";
"not-starts-with": "not-starts-with";
"ends-with": "ends-with";
"not-ends-with": "not-ends-with";
}>>;
}, z.z.core.$strip>>;
updatedAt: z.ZodOptional<z.ZodObject<{
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
operator: z.ZodOptional<z.ZodEnum<{
in: "in";
"=": "=";
"!=": "!=";
">": ">";
">=": ">=";
"<": "<";
"<=": "<=";
"not-in": "not-in";
is: "is";
"is-not": "is-not";
contains: "contains";
"not-contains": "not-contains";
"starts-with": "starts-with";
"not-starts-with": "not-starts-with";
"ends-with": "ends-with";
"not-ends-with": "not-ends-with";
}>>;
}, z.z.core.$strip>>;
}, z.z.core.$strip>>;
filterOr: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
key: z.ZodString;
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodBoolean, z.ZodArray<z.ZodBoolean>, z.ZodNull]>;
operator: z.ZodOptional<z.ZodEnum<{
in: "in";
"=": "=";
"!=": "!=";
">": ">";
">=": ">=";
"<": "<";
"<=": "<=";
"not-in": "not-in";
is: "is";
"is-not": "is-not";
contains: "contains";
"not-contains": "not-contains";
"starts-with": "starts-with";
"not-starts-with": "not-starts-with";
"ends-with": "ends-with";
"not-ends-with": "not-ends-with";
}>>;
}, z.z.core.$strip>>>>;
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
key: z.ZodEnum<{
title: "title";
width: "width";
height: "height";
createdAt: "createdAt";
updatedAt: "updatedAt";
mimeType: "mimeType";
extension: "extension";
fileSize: "fileSize";
deletedBy: "deletedBy";
isDeletedAt: "isDeletedAt";
}>;
direction: z.ZodEnum<{
asc: "asc";
desc: "desc";
}>;
}, z.z.core.$strip>>>;
page: z.ZodNumber;
perPage: z.ZodNumber;
}, z.z.core.$strip>;
};
params: undefined;
body: undefined;
response: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
public: z.ZodBoolean;
isDeleted: z.ZodNullable<z.ZodBoolean>;
isDeletedAt: z.ZodNullable<z.ZodString>;
deletedBy: z.ZodNullable<z.ZodNumber>;
createdAt: z.ZodNullable<z.ZodString>;
updatedAt: z.ZodNullable<z.ZodString>;
alt: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
file: z.ZodDiscriminatedUnion<[z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
fileName: z.ZodNullable<z.ZodString>;
sourceType: z.ZodLiteral<"original">;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
width: z.ZodNullable<z.ZodNumber>;
height: z.ZodNullable<z.ZodNumber>;
focalPoint: z.ZodNullable<z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
}, z.z.core.$strip>>;
blurHash: z.ZodNullable<z.ZodString>;
averageColor: z.ZodNullable<z.ZodString>;
base64: z.ZodNullable<z.ZodString>;
isDark: z.ZodNullable<z.ZodBoolean>;
isLight: z.ZodNullable<z.ZodBoolean>;
}, z.z.core.$strip>;
}, z.z.core.$strip>, z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
fileName: z.ZodNullable<z.ZodString>;
sourceType: z.ZodLiteral<"crop">;
crop: z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
width: z.ZodNumber;
height: z.ZodNumber;
rotation: z.ZodNumber;
skewX: z.ZodNumber;
skewY: z.ZodNumber;
}, z.z.core.$strip>;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
width: z.ZodNullable<z.ZodNumber>;
height: z.ZodNullable<z.ZodNumber>;
focalPoint: z.ZodNullable<z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
}, z.z.core.$strip>>;
blurHash: z.ZodNullable<z.ZodString>;
averageColor: z.ZodNullable<z.ZodString>;
base64: z.ZodNullable<z.ZodString>;
isDark: z.ZodNullable<z.ZodBoolean>;
isLight: z.ZodNullable<z.ZodBoolean>;
}, z.z.core.$strip>;
original: z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
width: z.ZodNullable<z.ZodNumber>;
height: z.ZodNullable<z.ZodNumber>;
focalPoint: z.ZodNullable<z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
}, z.z.core.$strip>>;
blurHash: z.ZodNullable<z.ZodString>;
averageColor: z.ZodNullable<z.ZodString>;
base64: z.ZodNullable<z.ZodString>;
isDark: z.ZodNullable<z.ZodBoolean>;
isLight: z.ZodNullable<z.ZodBoolean>;
}, z.z.core.$strip>;
}, z.z.core.$strip>;
}, z.z.core.$strip>], "sourceType">;
folderId: z.ZodNullable<z.ZodNumber>;
origin: z.ZodEnum<{
human: "human";
ai_generated: "ai_generated";
ai_modified: "ai_modified";
}>;
title: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
id: z.ZodNumber;
type: z.ZodLiteral<"image">;
}, z.z.core.$strip>, z.ZodObject<{
public: z.ZodBoolean;
isDeleted: z.ZodNullable<z.ZodBoolean>;
isDeletedAt: z.ZodNullable<z.ZodString>;
deletedBy: z.ZodNullable<z.ZodNumber>;
createdAt: z.ZodNullable<z.ZodString>;
updatedAt: z.ZodNullable<z.ZodString>;
description: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
file: z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
fileName: z.ZodNullable<z.ZodString>;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
}, z.z.core.$strip>;
}, z.z.core.$strip>;
poster: z.ZodNullable<z.ZodObject<{
id: z.ZodNumber;
type: z.ZodLiteral<"image">;
origin: z.ZodEnum<{
human: "human";
ai_generated: "ai_generated";
ai_modified: "ai_modified";
}>;
alt: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
file: z.ZodDiscriminatedUnion<[z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
fileName: z.ZodNullable<z.ZodString>;
sourceType: z.ZodLiteral<"original">;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
width: z.ZodNullable<z.ZodNumber>;
height: z.ZodNullable<z.ZodNumber>;
focalPoint: z.ZodNullable<z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
}, z.z.core.$strip>>;
blurHash: z.ZodNullable<z.ZodString>;
averageColor: z.ZodNullable<z.ZodString>;
base64: z.ZodNullable<z.ZodString>;
isDark: z.ZodNullable<z.ZodBoolean>;
isLight: z.ZodNullable<z.ZodBoolean>;
}, z.z.core.$strip>;
}, z.z.core.$strip>, z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
fileName: z.ZodNullable<z.ZodString>;
sourceType: z.ZodLiteral<"crop">;
crop: z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
width: z.ZodNumber;
height: z.ZodNumber;
rotation: z.ZodNumber;
skewX: z.ZodNumber;
skewY: z.ZodNumber;
}, z.z.core.$strip>;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
width: z.ZodNullable<z.ZodNumber>;
height: z.ZodNullable<z.ZodNumber>;
focalPoint: z.ZodNullable<z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
}, z.z.core.$strip>>;
blurHash: z.ZodNullable<z.ZodString>;
averageColor: z.ZodNullable<z.ZodString>;
base64: z.ZodNullable<z.ZodString>;
isDark: z.ZodNullable<z.ZodBoolean>;
isLight: z.ZodNullable<z.ZodBoolean>;
}, z.z.core.$strip>;
original: z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
width: z.ZodNullable<z.ZodNumber>;
height: z.ZodNullable<z.ZodNumber>;
focalPoint: z.ZodNullable<z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
}, z.z.core.$strip>>;
blurHash: z.ZodNullable<z.ZodString>;
averageColor: z.ZodNullable<z.ZodString>;
base64: z.ZodNullable<z.ZodString>;
isDark: z.ZodNullable<z.ZodBoolean>;
isLight: z.ZodNullable<z.ZodBoolean>;
}, z.z.core.$strip>;
}, z.z.core.$strip>;
}, z.z.core.$strip>], "sourceType">;
}, z.z.core.$strip>>;
folderId: z.ZodNullable<z.ZodNumber>;
origin: z.ZodEnum<{
human: "human";
ai_generated: "ai_generated";
ai_modified: "ai_modified";
}>;
title: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
id: z.ZodNumber;
type: z.ZodLiteral<"video">;
}, z.z.core.$strip>, z.ZodObject<{
public: z.ZodBoolean;
isDeleted: z.ZodNullable<z.ZodBoolean>;
isDeletedAt: z.ZodNullable<z.ZodString>;
deletedBy: z.ZodNullable<z.ZodNumber>;
createdAt: z.ZodNullable<z.ZodString>;
updatedAt: z.ZodNullable<z.ZodString>;
description: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
file: z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
fileName: z.ZodNullable<z.ZodString>;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
}, z.z.core.$strip>;
}, z.z.core.$strip>;
folderId: z.ZodNullable<z.ZodNumber>;
origin: z.ZodEnum<{
human: "human";
ai_generated: "ai_generated";
ai_modified: "ai_modified";
}>;
title: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
id: z.ZodNumber;
type: z.ZodLiteral<"audio">;
}, z.z.core.$strip>, z.ZodObject<{
public: z.ZodBoolean;
isDeleted: z.ZodNullable<z.ZodBoolean>;
isDeletedAt: z.ZodNullable<z.ZodString>;
deletedBy: z.ZodNullable<z.ZodNumber>;
createdAt: z.ZodNullable<z.ZodString>;
updatedAt: z.ZodNullable<z.ZodString>;
summary: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
file: z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
fileName: z.ZodNullable<z.ZodString>;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
}, z.z.core.$strip>;
}, z.z.core.$strip>;
folderId: z.ZodNullable<z.ZodNumber>;
origin: z.ZodEnum<{
human: "human";
ai_generated: "ai_generated";
ai_modified: "ai_modified";
}>;
title: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
id: z.ZodNumber;
type: z.ZodLiteral<"document">;
}, z.z.core.$strip>, z.ZodObject<{
public: z.ZodBoolean;
isDeleted: z.ZodNullable<z.ZodBoolean>;
isDeletedAt: z.ZodNullable<z.ZodString>;
deletedBy: z.ZodNullable<z.ZodNumber>;
createdAt: z.ZodNullable<z.ZodString>;
updatedAt: z.ZodNullable<z.ZodString>;
file: z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
fileName: z.ZodNullable<z.ZodString>;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
}, z.z.core.$strip>;
}, z.z.core.$strip>;
folderId: z.ZodNullable<z.ZodNumber>;
origin: z.ZodEnum<{
human: "human";
ai_generated: "ai_generated";
ai_modified: "ai_modified";
}>;
title: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
id: z.ZodNumber;
type: z.ZodLiteral<"archive">;
}, z.z.core.$strip>, z.ZodObject<{
public: z.ZodBoolean;
isDeleted: z.ZodNullable<z.ZodBoolean>;
isDeletedAt: z.ZodNullable<z.ZodString>;
deletedBy: z.ZodNullable<z.ZodNumber>;
createdAt: z.ZodNullable<z.ZodString>;
updatedAt: z.ZodNullable<z.ZodString>;
file: z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
fileName: z.ZodNullable<z.ZodString>;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
}, z.z.core.$strip>;
}, z.z.core.$strip>;
folderId: z.ZodNullable<z.ZodNumber>;
origin: z.ZodEnum<{
human: "human";
ai_generated: "ai_generated";
ai_modified: "ai_modified";
}>;
title: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
id: z.ZodNumber;
type: z.ZodLiteral<"unknown">;
}, z.z.core.$strip>], "type">>;
};
getSingle: {
body: undefined;
query: {
string: undefined;
formatted: undefined;
};
params: z.ZodObject<{
id: z.ZodString;
}, z.z.core.$strip>;
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
public: z.ZodBoolean;
isDeleted: z.ZodNullable<z.ZodBoolean>;
isDeletedAt: z.ZodNullable<z.ZodString>;
deletedBy: z.ZodNullable<z.ZodNumber>;
createdAt: z.ZodNullable<z.ZodString>;
updatedAt: z.ZodNullable<z.ZodString>;
alt: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
file: z.ZodDiscriminatedUnion<[z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
fileName: z.ZodNullable<z.ZodString>;
sourceType: z.ZodLiteral<"original">;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
width: z.ZodNullable<z.ZodNumber>;
height: z.ZodNullable<z.ZodNumber>;
focalPoint: z.ZodNullable<z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
}, z.z.core.$strip>>;
blurHash: z.ZodNullable<z.ZodString>;
averageColor: z.ZodNullable<z.ZodString>;
base64: z.ZodNullable<z.ZodString>;
isDark: z.ZodNullable<z.ZodBoolean>;
isLight: z.ZodNullable<z.ZodBoolean>;
}, z.z.core.$strip>;
}, z.z.core.$strip>, z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
fileName: z.ZodNullable<z.ZodString>;
sourceType: z.ZodLiteral<"crop">;
crop: z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
width: z.ZodNumber;
height: z.ZodNumber;
rotation: z.ZodNumber;
skewX: z.ZodNumber;
skewY: z.ZodNumber;
}, z.z.core.$strip>;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
width: z.ZodNullable<z.ZodNumber>;
height: z.ZodNullable<z.ZodNumber>;
focalPoint: z.ZodNullable<z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
}, z.z.core.$strip>>;
blurHash: z.ZodNullable<z.ZodString>;
averageColor: z.ZodNullable<z.ZodString>;
base64: z.ZodNullable<z.ZodString>;
isDark: z.ZodNullable<z.ZodBoolean>;
isLight: z.ZodNullable<z.ZodBoolean>;
}, z.z.core.$strip>;
original: z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
width: z.ZodNullable<z.ZodNumber>;
height: z.ZodNullable<z.ZodNumber>;
focalPoint: z.ZodNullable<z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
}, z.z.core.$strip>>;
blurHash: z.ZodNullable<z.ZodString>;
averageColor: z.ZodNullable<z.ZodString>;
base64: z.ZodNullable<z.ZodString>;
isDark: z.ZodNullable<z.ZodBoolean>;
isLight: z.ZodNullable<z.ZodBoolean>;
}, z.z.core.$strip>;
}, z.z.core.$strip>;
}, z.z.core.$strip>], "sourceType">;
folderId: z.ZodNullable<z.ZodNumber>;
origin: z.ZodEnum<{
human: "human";
ai_generated: "ai_generated";
ai_modified: "ai_modified";
}>;
title: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
id: z.ZodNumber;
type: z.ZodLiteral<"image">;
}, z.z.core.$strip>, z.ZodObject<{
public: z.ZodBoolean;
isDeleted: z.ZodNullable<z.ZodBoolean>;
isDeletedAt: z.ZodNullable<z.ZodString>;
deletedBy: z.ZodNullable<z.ZodNumber>;
createdAt: z.ZodNullable<z.ZodString>;
updatedAt: z.ZodNullable<z.ZodString>;
description: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
file: z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
fileName: z.ZodNullable<z.ZodString>;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
}, z.z.core.$strip>;
}, z.z.core.$strip>;
poster: z.ZodNullable<z.ZodObject<{
id: z.ZodNumber;
type: z.ZodLiteral<"image">;
origin: z.ZodEnum<{
human: "human";
ai_generated: "ai_generated";
ai_modified: "ai_modified";
}>;
alt: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
file: z.ZodDiscriminatedUnion<[z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
fileName: z.ZodNullable<z.ZodString>;
sourceType: z.ZodLiteral<"original">;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
width: z.ZodNullable<z.ZodNumber>;
height: z.ZodNullable<z.ZodNumber>;
focalPoint: z.ZodNullable<z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
}, z.z.core.$strip>>;
blurHash: z.ZodNullable<z.ZodString>;
averageColor: z.ZodNullable<z.ZodString>;
base64: z.ZodNullable<z.ZodString>;
isDark: z.ZodNullable<z.ZodBoolean>;
isLight: z.ZodNullable<z.ZodBoolean>;
}, z.z.core.$strip>;
}, z.z.core.$strip>, z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
fileName: z.ZodNullable<z.ZodString>;
sourceType: z.ZodLiteral<"crop">;
crop: z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
width: z.ZodNumber;
height: z.ZodNumber;
rotation: z.ZodNumber;
skewX: z.ZodNumber;
skewY: z.ZodNumber;
}, z.z.core.$strip>;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
width: z.ZodNullable<z.ZodNumber>;
height: z.ZodNullable<z.ZodNumber>;
focalPoint: z.ZodNullable<z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
}, z.z.core.$strip>>;
blurHash: z.ZodNullable<z.ZodString>;
averageColor: z.ZodNullable<z.ZodString>;
base64: z.ZodNullable<z.ZodString>;
isDark: z.ZodNullable<z.ZodBoolean>;
isLight: z.ZodNullable<z.ZodBoolean>;
}, z.z.core.$strip>;
original: z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
width: z.ZodNullable<z.ZodNumber>;
height: z.ZodNullable<z.ZodNumber>;
focalPoint: z.ZodNullable<z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
}, z.z.core.$strip>>;
blurHash: z.ZodNullable<z.ZodString>;
averageColor: z.ZodNullable<z.ZodString>;
base64: z.ZodNullable<z.ZodString>;
isDark: z.ZodNullable<z.ZodBoolean>;
isLight: z.ZodNullable<z.ZodBoolean>;
}, z.z.core.$strip>;
}, z.z.core.$strip>;
}, z.z.core.$strip>], "sourceType">;
}, z.z.core.$strip>>;
folderId: z.ZodNullable<z.ZodNumber>;
origin: z.ZodEnum<{
human: "human";
ai_generated: "ai_generated";
ai_modified: "ai_modified";
}>;
title: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
id: z.ZodNumber;
type: z.ZodLiteral<"video">;
}, z.z.core.$strip>, z.ZodObject<{
public: z.ZodBoolean;
isDeleted: z.ZodNullable<z.ZodBoolean>;
isDeletedAt: z.ZodNullable<z.ZodString>;
deletedBy: z.ZodNullable<z.ZodNumber>;
createdAt: z.ZodNullable<z.ZodString>;
updatedAt: z.ZodNullable<z.ZodString>;
description: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
file: z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
fileName: z.ZodNullable<z.ZodString>;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
}, z.z.core.$strip>;
}, z.z.core.$strip>;
folderId: z.ZodNullable<z.ZodNumber>;
origin: z.ZodEnum<{
human: "human";
ai_generated: "ai_generated";
ai_modified: "ai_modified";
}>;
title: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
id: z.ZodNumber;
type: z.ZodLiteral<"audio">;
}, z.z.core.$strip>, z.ZodObject<{
public: z.ZodBoolean;
isDeleted: z.ZodNullable<z.ZodBoolean>;
isDeletedAt: z.ZodNullable<z.ZodString>;
deletedBy: z.ZodNullable<z.ZodNumber>;
createdAt: z.ZodNullable<z.ZodString>;
updatedAt: z.ZodNullable<z.ZodString>;
summary: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
file: z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
fileName: z.ZodNullable<z.ZodString>;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
}, z.z.core.$strip>;
}, z.z.core.$strip>;
folderId: z.ZodNullable<z.ZodNumber>;
origin: z.ZodEnum<{
human: "human";
ai_generated: "ai_generated";
ai_modified: "ai_modified";
}>;
title: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
id: z.ZodNumber;
type: z.ZodLiteral<"document">;
}, z.z.core.$strip>, z.ZodObject<{
public: z.ZodBoolean;
isDeleted: z.ZodNullable<z.ZodBoolean>;
isDeletedAt: z.ZodNullable<z.ZodString>;
deletedBy: z.ZodNullable<z.ZodNumber>;
createdAt: z.ZodNullable<z.ZodString>;
updatedAt: z.ZodNullable<z.ZodString>;
file: z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
fileName: z.ZodNullable<z.ZodString>;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
}, z.z.core.$strip>;
}, z.z.core.$strip>;
folderId: z.ZodNullable<z.ZodNumber>;
origin: z.ZodEnum<{
human: "human";
ai_generated: "ai_generated";
ai_modified: "ai_modified";
}>;
title: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
id: z.ZodNumber;
type: z.ZodLiteral<"archive">;
}, z.z.core.$strip>, z.ZodObject<{
public: z.ZodBoolean;
isDeleted: z.ZodNullable<z.ZodBoolean>;
isDeletedAt: z.ZodNullable<z.ZodString>;
deletedBy: z.ZodNullable<z.ZodNumber>;
createdAt: z.ZodNullable<z.ZodString>;
updatedAt: z.ZodNullable<z.ZodString>;
file: z.ZodObject<{
key: z.ZodString;
url: z.ZodString;
fileName: z.ZodNullable<z.ZodString>;
meta: z.ZodObject<{
mimeType: z.ZodString;
extension: z.ZodString;
fileSize: z.ZodNumber;
}, z.z.core.$strip>;
}, z.z.core.$strip>;
folderId: z.ZodNullable<z.ZodNumber>;
origin: z.ZodEnum<{
human: "human";
ai_generated: "ai_generated";
ai_modified: "ai_modified";
}>;
title: z.ZodArray<z.ZodObject<{
localeCode: z.ZodNullable<z.ZodString>;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>;
id: z.ZodNumber;
type: z.ZodLiteral<"unknown">;
}, z.z.core.$strip>], "type">;
};
deleteSingle: {
body: undefined;
query: {
string: undefined;
formatted: undefined;
};
params: z.ZodObject<{
id: z.ZodString;
}, z.z.core.$strip>;
response: undefined;
};
deleteSinglePermanently: {
body: undefined;
query: {
string: undefined;
formatted: undefined;
};
params: z.ZodObject<{
id: z.ZodString;
}, z.z.core.$strip>;
response: undefined;
};
deleteMultiplePermanently: {
body: z.ZodObject<{
ids: z.ZodArray<z.ZodNumber>;
}, z.z.core.$strip>;
query: {
string: undefined;
formatted: undefined;
};
params: undefined;
response: undefined;
};
deleteBatch: {
body: z.ZodObject<{
folderIds: z.ZodArray<z.ZodNumber>;
mediaIds: z.ZodArray<z.ZodNumber>;
recursiveMedia: z.ZodBoolean;
}, z.z.core.$strip>;
query: {
string: undefined;
formatted: undefined;
};
params: undefined;
response: undefined;
};
restoreMultiple: {
body: z.ZodObject<{
ids: z.ZodArray<z.ZodNumber>;
}, z.z.core.$strip>;
query: {
string: undefined;
formatted: undefined;
};
params: undefined;
response: undefined;
};
moveFolder: {
body: z.ZodObject<{
folderId: z.ZodNullable<z.ZodNumber>;
}, z.z.core.$strip>;
query: {
string: undefined;
formatted: undefined;
};
params: z.ZodObject<{
id: z.ZodString;
}, z.z.core.$strip>;
response: undefined;
};
updateSingle: {
body: z.ZodObject<{
crop: z.ZodOptional<z.ZodNullable<z.ZodObject<{
key: z.ZodString;
fileName: z.ZodString;
width: z.ZodNumber;
height: z.ZodNumber;
focalPoint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
}, z.z.core.$strip>>>;
blurHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
averageColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
base64: z.ZodOptional<z.ZodNullable<z.ZodString>>;
isDark: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
isLight: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
state: z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
width: z.ZodNumber;
height: z.ZodNumber;
rotation: z.ZodNumber;
skewX: z.ZodNumber;
skewY: z.ZodNumber;
}, z.z.core.$strip>;
}, z.z.core.$strip>>>;
key: z.ZodOptional<z.ZodString>;
public: z.ZodOptional<z.ZodBoolean>;
origin: z.ZodOptional<z.ZodEnum<{
human: "human";
ai_generated: "ai_generated";
ai_modified: "ai_modified";
}>>;
aiGenerationRequestId: z.ZodOptional<z.ZodString>;
folderId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
fileName: z.ZodOptional<z.ZodString>;
title: z.ZodOptional<z.ZodArray<z.ZodObject<{
localeCode: z.ZodString;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>>;
alt: z.ZodOptional<z.ZodArray<z.ZodObject<{
localeCode: z.ZodString;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>>;
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
localeCode: z.ZodString;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>>;
summary: z.ZodOptional<z.ZodArray<z.ZodObject<{
localeCode: z.ZodString;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>>;
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
focalPoint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
}, z.z.core.$strip>>>;
blurHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
averageColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
base64: z.ZodOptional<z.ZodNullable<z.ZodString>>;
isDark: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
isLight: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
isDeleted: z.ZodOptional<z.ZodBoolean>;
posterId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
}, z.z.core.$strip>;
query: {
string: undefined;
formatted: undefined;
};
params: z.ZodObject<{
id: z.ZodString;
}, z.z.core.$strip>;
response: undefined;
};
clearSingleProcessed: {
body: undefined;
query: {
string: undefined;
formatted: undefined;
};
params: z.ZodObject<{
id: z.ZodString;
}, z.z.core.$strip>;
response: undefined;
};
clearAllProcessed: {
body: undefined;
query: {
string: undefined;
formatted: undefined;
};
params: undefined;
response: undefined;
};
createUploadSession: {
body: z.ZodObject<{
fileName: z.ZodString;
mimeType: z.ZodString;
size: z.ZodNumber;
public: z.ZodBoolean;
temporary: z.ZodOptional<z.ZodBoolean>;
}, z.z.core.$strip>;
query: {
string: undefined;
formatted: undefined;
};
params: undefined;
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
mode: z.ZodLiteral<"single">;
key: z.ZodString;
url: z.ZodString;
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, z.z.core.$strip>, z.ZodObject<{
mode: z.ZodLiteral<"resumable">;
key: z.ZodString;
sessionId: z.ZodString;
partSize: z.ZodNumber;
expiresAt: z.ZodString;
uploadedParts: z.ZodArray<z.ZodObject<{
partNumber: z.ZodNumber;
etag: z.ZodString;
size: z.ZodOptional<z.ZodNumber>;
}, z.z.core.$strip>>;
}, z.z.core.$strip>], "mode">;
};
getUploadSession: {
body: undefined;
query: {
string: undefined;
formatted: undefined;
};
params: z.ZodObject<{
sessionId: z.ZodString;
}, z.z.core.$strip>;
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
canResume: z.ZodLiteral<true>;
key: z.ZodString;
sessionId: z.ZodString;
partSize: z.ZodNumber;
expiresAt: z.ZodString;
uploadedParts: z.ZodArray<z.ZodObject<{
partNumber: z.ZodNumber;
etag: z.ZodString;
size: z.ZodOptional<z.ZodNumber>;
}, z.z.core.$strip>>;
}, z.z.core.$strip>, z.ZodObject<{
canResume: z.ZodLiteral<false>;
sessionId: z.ZodString;
reason: z.ZodEnum<{
adapter_not_resumable: "adapter_not_resumable";
adapter_changed: "adapter_changed";
}>;
}, z.z.core.$strip>], "canResume">;
};
getUploadPartUrls: {
body: z.ZodObject<{
partNumbers: z.ZodArray<z.ZodNumber>;
}, z.z.core.$strip>;
query: {
string: undefined;
formatted: undefined;
};
params: z.ZodObject<{
sessionId: z.ZodString;
}, z.z.core.$strip>;
response: z.ZodObject<{
parts: z.ZodArray<z.ZodObject<{
partNumber: z.ZodNumber;
url: z.ZodString;
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, z.z.core.$strip>>;
}, z.z.core.$strip>;
};
completeUploadSession: {
body: z.ZodObject<{
parts: z.ZodArray<z.ZodObject<{
partNumber: z.ZodNumber;
etag: z.ZodString;
size: z.ZodOptional<z.ZodNumber>;
}, z.z.core.$strip>>;
}, z.z.core.$strip>;
query: {
string: undefined;
formatted: undefined;
};
params: z.ZodObject<{
sessionId: z.ZodString;
}, z.z.core.$strip>;
response: z.ZodObject<{
key: z.ZodString;
}, z.z.core.$strip>;
};
abortUploadSession: {
body: undefined;
query: {
string: undefined;
formatted: undefined;
};
params: z.ZodObject<{
sessionId: z.ZodString;
}, z.z.core.$strip>;
response: undefined;
};
createSingle: {
body: z.ZodObject<{
crop: z.ZodOptional<z.ZodObject<{
key: z.ZodString;
fileName: z.ZodString;
width: z.ZodNumber;
height: z.ZodNumber;
focalPoint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
}, z.z.core.$strip>>>;
blurHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
averageColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
base64: z.ZodOptional<z.ZodNullable<z.ZodString>>;
isDark: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
isLight: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
state: z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
width: z.ZodNumber;
height: z.ZodNumber;
rotation: z.ZodNumber;
skewX: z.ZodNumber;
skewY: z.ZodNumber;
}, z.z.core.$strip>;
}, z.z.core.$strip>>;
key: z.ZodString;
folderId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
fileName: z.ZodString;
origin: z.ZodEnum<{
human: "human";
ai_generated: "ai_generated";
ai_modified: "ai_modified";
}>;
aiGenerationRequestId: z.ZodOptional<z.ZodString>;
title: z.ZodOptional<z.ZodArray<z.ZodObject<{
localeCode: z.ZodString;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>>;
alt: z.ZodOptional<z.ZodArray<z.ZodObject<{
localeCode: z.ZodString;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>>;
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
localeCode: z.ZodString;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>>;
summary: z.ZodOptional<z.ZodArray<z.ZodObject<{
localeCode: z.ZodString;
value: z.ZodNullable<z.ZodString>;
}, z.z.core.$strip>>>;
width: z.ZodOptional<z.ZodNumber>;
height: z.ZodOptional<z.ZodNumber>;
focalPoint: z.ZodOptional<z.ZodObject<{
x: z.ZodNumber;
y: z.ZodNumber;
}, z.z.core.$strip>>;
blurHash: z.ZodOptional<z.ZodString>;
averageColor: z.ZodOptional<z.ZodString>;
base64: z.ZodOptional<z.ZodNullable<z.ZodString>>;
isDark: z.ZodOptional<z.ZodBoolean>;
isLight: z.ZodOptional<z.ZodBoolean>;
posterId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
isHidden: z.ZodOptional<z.ZodBoolean>;
}, z.z.core.$strip>;
query: {
string: undefined;
formatted: undefined;
};
params: undefined;
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
public: z.ZodBoolean;
isDe