@byte_fluffy/nexra-sdk 0.1.0-alpha.44 → 0.1.0-alpha.45
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 +32 -0
- package/dist/catalog.d.ts +2 -2
- package/dist/catalog.js +2 -2
- package/dist/{chunk-ESPUF2D4.js → chunk-FEACXUHZ.js} +20 -2
- package/dist/{chunk-JJD32I64.js → chunk-OX5GFYVN.js} +175 -45
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/language.d.ts +1 -1
- package/dist/language.js +2 -2
- package/dist/media-CwGmG5qB.d.ts +299 -0
- package/dist/{media-geometry-YD9Y_CFw.d.ts → media-geometry-KwQh1O8Y.d.ts} +1 -1
- package/dist/media.d.ts +2 -222
- package/dist/media.js +1 -1
- package/dist/types.d.ts +3 -3
- package/dist/{voices-BHzDQ5xH.d.ts → voices-B09HqQJJ.d.ts} +11 -7
- package/package.json +1 -1
- package/dist/assets-Cusrjj7_.d.ts +0 -61
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { a as JsonObject } from './json-Cz0MkWQn.js';
|
|
2
|
-
|
|
3
|
-
declare const MEDIA_KINDS: readonly ["image", "video", "audio", "document", "archive", "other"];
|
|
4
|
-
type MediaKind = (typeof MEDIA_KINDS)[number];
|
|
5
|
-
type MediaAssetStatus = "pending" | "ready" | "failed" | "deleted";
|
|
6
|
-
interface MediaAsset {
|
|
7
|
-
id: string;
|
|
8
|
-
kind: MediaKind;
|
|
9
|
-
status: MediaAssetStatus;
|
|
10
|
-
source: "upload" | "generated" | "provider" | "imported";
|
|
11
|
-
name?: string;
|
|
12
|
-
mimeType?: string;
|
|
13
|
-
sizeBytes?: number;
|
|
14
|
-
width?: number;
|
|
15
|
-
height?: number;
|
|
16
|
-
durationMs?: number;
|
|
17
|
-
checksumSha256?: string;
|
|
18
|
-
url?: string;
|
|
19
|
-
downloadUrl?: string;
|
|
20
|
-
expiresAt?: string;
|
|
21
|
-
metadata?: JsonObject;
|
|
22
|
-
createdAt: string;
|
|
23
|
-
}
|
|
24
|
-
interface AssetReference {
|
|
25
|
-
assetId: string;
|
|
26
|
-
}
|
|
27
|
-
type AssetInput = AssetReference | Blob | File | MediaAsset | string | URL;
|
|
28
|
-
interface AssetUploadOptions {
|
|
29
|
-
kind?: MediaKind;
|
|
30
|
-
name?: string;
|
|
31
|
-
signal?: AbortSignal;
|
|
32
|
-
}
|
|
33
|
-
interface AssetImportRequest {
|
|
34
|
-
url: string;
|
|
35
|
-
kind?: MediaKind;
|
|
36
|
-
name?: string;
|
|
37
|
-
}
|
|
38
|
-
type AssetCertificationProvider = "seedance";
|
|
39
|
-
type AssetCertificationStatus = "processing" | "ready" | "failed";
|
|
40
|
-
interface AssetCertification {
|
|
41
|
-
assetId: string;
|
|
42
|
-
provider: AssetCertificationProvider;
|
|
43
|
-
status: AssetCertificationStatus;
|
|
44
|
-
providerAssetId?: string;
|
|
45
|
-
assetUri?: string;
|
|
46
|
-
groupId?: string;
|
|
47
|
-
library: "general" | "liveness";
|
|
48
|
-
error?: string;
|
|
49
|
-
createdAt: string;
|
|
50
|
-
updatedAt: string;
|
|
51
|
-
}
|
|
52
|
-
interface AssetCertificationRequest {
|
|
53
|
-
library?: "general" | "liveness";
|
|
54
|
-
}
|
|
55
|
-
interface AssetCertificationWaitOptions {
|
|
56
|
-
pollIntervalMs?: number;
|
|
57
|
-
timeoutMs?: number;
|
|
58
|
-
signal?: AbortSignal;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export { type AssetImportRequest as A, MEDIA_KINDS as M, type AssetInput as a, type AssetReference as b, type AssetUploadOptions as c, type MediaAsset as d, type MediaAssetStatus as e, type MediaKind as f, type AssetCertificationRequest as g, type AssetCertification as h, type AssetCertificationWaitOptions as i };
|