@editframe/api 0.15.0-beta.3 → 0.15.0-beta.5
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/dist/resources/image-file.d.ts +21 -9
- package/dist/resources/image-file.js +3 -3
- package/dist/types.json +1 -0
- package/package.json +5 -4
- package/src/resources/image-file.ts +15 -3
- package/docs/packages/api/docs/.nojekyll +0 -1
- package/docs/packages/api/docs/assets/highlight.css +0 -71
- package/docs/packages/api/docs/assets/icons.js +0 -18
- package/docs/packages/api/docs/assets/icons.svg +0 -1
- package/docs/packages/api/docs/assets/main.js +0 -60
- package/docs/packages/api/docs/assets/navigation.js +0 -1
- package/docs/packages/api/docs/assets/search.js +0 -1
- package/docs/packages/api/docs/assets/style.css +0 -1493
- package/docs/packages/api/docs/classes/Client.html +0 -4
- package/docs/packages/api/docs/functions/createCaptionFile.html +0 -8
- package/docs/packages/api/docs/functions/createISOBMFFFile.html +0 -1
- package/docs/packages/api/docs/functions/createISOBMFFTrack.html +0 -1
- package/docs/packages/api/docs/functions/createImageFile.html +0 -1
- package/docs/packages/api/docs/functions/createRender.html +0 -1
- package/docs/packages/api/docs/functions/createTranscription.html +0 -1
- package/docs/packages/api/docs/functions/createURLToken.html +0 -1
- package/docs/packages/api/docs/functions/createUnprocessedFile.html +0 -1
- package/docs/packages/api/docs/functions/getISOBMFFFileTranscription.html +0 -1
- package/docs/packages/api/docs/functions/getIsobmffProcessInfo.html +0 -1
- package/docs/packages/api/docs/functions/getIsobmffProcessProgress.html +0 -1
- package/docs/packages/api/docs/functions/getTranscriptionInfo.html +0 -1
- package/docs/packages/api/docs/functions/getTranscriptionProgress.html +0 -1
- package/docs/packages/api/docs/functions/lookupCaptionFileByMd5.html +0 -1
- package/docs/packages/api/docs/functions/lookupISOBMFFFileByMd5.html +0 -1
- package/docs/packages/api/docs/functions/lookupImageFileByMd5.html +0 -1
- package/docs/packages/api/docs/functions/lookupRenderByMd5.html +0 -1
- package/docs/packages/api/docs/functions/lookupUnprocessedFileByMd5.html +0 -1
- package/docs/packages/api/docs/functions/processIsobmffFile.html +0 -1
- package/docs/packages/api/docs/functions/transcribeISOBMFFFile.html +0 -1
- package/docs/packages/api/docs/functions/uploadCaptionFile.html +0 -1
- package/docs/packages/api/docs/functions/uploadFragmentIndex.html +0 -1
- package/docs/packages/api/docs/functions/uploadISOBMFFTrack.html +0 -1
- package/docs/packages/api/docs/functions/uploadImageFile.html +0 -1
- package/docs/packages/api/docs/functions/uploadRender.html +0 -1
- package/docs/packages/api/docs/functions/uploadUnprocessedReadableStream.html +0 -1
- package/docs/packages/api/docs/index.html +0 -39
- package/docs/packages/api/docs/interfaces/CreateCaptionFileResult.html +0 -4
- package/docs/packages/api/docs/interfaces/CreateISOBMFFFileResult.html +0 -5
- package/docs/packages/api/docs/interfaces/CreateISOBMFFTrackResult.html +0 -6
- package/docs/packages/api/docs/interfaces/CreateImageFileResult.html +0 -5
- package/docs/packages/api/docs/interfaces/CreateRenderResult.html +0 -4
- package/docs/packages/api/docs/interfaces/CreateTranscriptionResult.html +0 -3
- package/docs/packages/api/docs/interfaces/CreateUnprocessedFileResult.html +0 -6
- package/docs/packages/api/docs/interfaces/GetISOBMFFFileTranscriptionResult.html +0 -4
- package/docs/packages/api/docs/interfaces/IsobmffProcessInfoResult.html +0 -7
- package/docs/packages/api/docs/interfaces/LookupCaptionFileByMd5Result.html +0 -4
- package/docs/packages/api/docs/interfaces/LookupISOBMFFFileByMd5Result.html +0 -5
- package/docs/packages/api/docs/interfaces/LookupImageFileByMd5Result.html +0 -5
- package/docs/packages/api/docs/interfaces/LookupRenderByMd5Result.html +0 -4
- package/docs/packages/api/docs/interfaces/LookupUnprocessedFileByMd5Result.html +0 -6
- package/docs/packages/api/docs/interfaces/ProcessIsobmffFileResult.html +0 -2
- package/docs/packages/api/docs/interfaces/TranscribeISOBMFFFileResult.html +0 -4
- package/docs/packages/api/docs/interfaces/TranscriptionInfoResult.html +0 -3
- package/docs/packages/api/docs/interfaces/URLTokenResult.html +0 -2
- package/docs/packages/api/docs/modules.html +0 -54
- package/docs/packages/api/docs/variables/CreateCaptionFilePayload.html +0 -1
- package/docs/packages/api/docs/variables/CreateISOBMFFFilePayload.html +0 -1
- package/docs/packages/api/docs/variables/CreateISOBMFFTrackPayload.html +0 -1
- package/docs/packages/api/docs/variables/CreateImageFilePayload.html +0 -1
- package/docs/packages/api/docs/variables/CreateRenderPayload.html +0 -1
- package/docs/packages/api/docs/variables/CreateTranscriptionPayload.html +0 -1
- package/docs/packages/api/docs/variables/CreateUnprocessedFilePayload.html +0 -1
- package/docs/packages/api/docs/variables/TranscribeISOBMFFFilePayload.html +0 -1
|
@@ -4,15 +4,15 @@ export declare const CreateImageFilePayload: z.ZodObject<{
|
|
|
4
4
|
/**
|
|
5
5
|
* The md5 hash of the image file.
|
|
6
6
|
*/
|
|
7
|
-
md5: z.ZodString
|
|
7
|
+
md5: z.ZodNullable<z.ZodString>;
|
|
8
8
|
/**
|
|
9
9
|
* The height of the image file in pixels.
|
|
10
10
|
*/
|
|
11
|
-
height: z.ZodNumber
|
|
11
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
12
12
|
/**
|
|
13
13
|
* The width of the image file in pixels.
|
|
14
14
|
*/
|
|
15
|
-
width: z.ZodNumber
|
|
15
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
16
16
|
/**
|
|
17
17
|
* The mime type of the image file.
|
|
18
18
|
*/
|
|
@@ -26,25 +26,37 @@ export declare const CreateImageFilePayload: z.ZodObject<{
|
|
|
26
26
|
*/
|
|
27
27
|
byte_size: z.ZodNumber;
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
|
29
|
-
width: number;
|
|
30
|
-
height: number;
|
|
29
|
+
width: number | null;
|
|
30
|
+
height: number | null;
|
|
31
31
|
filename: string;
|
|
32
|
-
md5: string;
|
|
32
|
+
md5: string | null;
|
|
33
33
|
mime_type: "image/jpeg" | "image/png" | "image/jpg" | "image/webp";
|
|
34
34
|
byte_size: number;
|
|
35
35
|
}, {
|
|
36
|
-
width: number;
|
|
37
|
-
height: number;
|
|
36
|
+
width: number | null;
|
|
37
|
+
height: number | null;
|
|
38
38
|
filename: string;
|
|
39
|
-
md5: string;
|
|
39
|
+
md5: string | null;
|
|
40
40
|
mime_type: "image/jpeg" | "image/png" | "image/jpg" | "image/webp";
|
|
41
41
|
byte_size: number;
|
|
42
42
|
}>;
|
|
43
43
|
export type CreateImageFilePayload = z.infer<typeof CreateImageFilePayload>;
|
|
44
44
|
export interface CreateImageFileResult {
|
|
45
|
+
/**
|
|
46
|
+
* Whether the image file has been fully uploaded.
|
|
47
|
+
*/
|
|
45
48
|
complete: boolean | null;
|
|
49
|
+
/**
|
|
50
|
+
* The byte size of the image file.
|
|
51
|
+
*/
|
|
46
52
|
byte_size: number;
|
|
53
|
+
/**
|
|
54
|
+
* The id of the image file.
|
|
55
|
+
*/
|
|
47
56
|
id: string;
|
|
57
|
+
/**
|
|
58
|
+
* The md5 hash of the image file.
|
|
59
|
+
*/
|
|
48
60
|
md5: string;
|
|
49
61
|
}
|
|
50
62
|
export interface LookupImageFileByMd5Result {
|
|
@@ -7,15 +7,15 @@ const CreateImageFilePayload = z.object({
|
|
|
7
7
|
/**
|
|
8
8
|
* The md5 hash of the image file.
|
|
9
9
|
*/
|
|
10
|
-
md5: z.string(),
|
|
10
|
+
md5: z.string().nullable(),
|
|
11
11
|
/**
|
|
12
12
|
* The height of the image file in pixels.
|
|
13
13
|
*/
|
|
14
|
-
height: z.number().int(),
|
|
14
|
+
height: z.number().int().nullable(),
|
|
15
15
|
/**
|
|
16
16
|
* The width of the image file in pixels.
|
|
17
17
|
*/
|
|
18
|
-
width: z.number().int(),
|
|
18
|
+
width: z.number().int().nullable(),
|
|
19
19
|
/**
|
|
20
20
|
* The mime type of the image file.
|
|
21
21
|
*/
|