@d-id/client-sdk 2.0.6-staging.397 → 2.0.6-staging.399
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as Be, C as J, S as f, a as Je, b as Qe, A as m, d as We, l as pe, e as qe, t as Ge, f as A, g as U, h as He, D as ge, i as Xe, j as b, n as Ze } from "./index-
|
|
1
|
+
import { c as Be, C as J, S as f, a as Je, b as Qe, A as m, d as We, l as pe, e as qe, t as Ge, f as A, g as U, h as He, D as ge, i as Xe, j as b, n as Ze } from "./index-DUhgSjpH.js";
|
|
2
2
|
function Ye() {
|
|
3
3
|
try {
|
|
4
4
|
return Intl.DateTimeFormat().resolvedOptions().timeZone ?? "";
|
|
@@ -35,7 +35,7 @@ const on = {
|
|
|
35
35
|
}, he = 2e4, rn = [];
|
|
36
36
|
async function an() {
|
|
37
37
|
try {
|
|
38
|
-
return await import("./index-
|
|
38
|
+
return await import("./index-DUhgSjpH.js").then((l) => l.F);
|
|
39
39
|
} catch {
|
|
40
40
|
throw new Error(
|
|
41
41
|
"LiveKit client is required for this streaming manager. Please install it using: npm install livekit-client"
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
import { KnowledgeType } from './knowledge';
|
|
1
|
+
import { DocumentType, KnowledgeType } from './knowledge';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Lifecycle status of a document, as served by the knowledge API. The API stores the
|
|
5
|
+
* status as a prefixed event subject (`document/done`) but strips the prefix on read,
|
|
6
|
+
* so the wire value is always bare.
|
|
7
|
+
*/
|
|
8
|
+
export type DocumentStatus = 'created' | 'processed' | 'done' | 'rejected' | 'error';
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated The knowledge API has never served these prefixed values — it strips the
|
|
11
|
+
* subject prefix on read. Use `DocumentStatus` instead. Kept for backwards compatibility
|
|
12
|
+
* and will be removed in the next major.
|
|
13
|
+
*/
|
|
3
14
|
export declare enum Subject {
|
|
4
15
|
KnowledgeProcessing = "knowledge/processing",
|
|
5
|
-
KnowledgeIndexing = "knowledge/indexing",
|
|
6
16
|
KnowledgeFailed = "knowledge/error",
|
|
7
17
|
KnowledgeDone = "knowledge/done"
|
|
8
18
|
}
|
|
@@ -12,7 +22,7 @@ export interface DocumentData {
|
|
|
12
22
|
owner_id: string;
|
|
13
23
|
id: string;
|
|
14
24
|
created_by: string;
|
|
15
|
-
status:
|
|
25
|
+
status: DocumentStatus;
|
|
16
26
|
documentType: DocumentType;
|
|
17
27
|
type: KnowledgeType;
|
|
18
28
|
source_url: string;
|