@nvisy/sdk 0.39.0 → 0.41.0
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/CHANGELOG.md +33 -1
- package/dist/{client-Do9D7tIl.d.ts → client-CmoKiYBW.d.ts} +18 -3
- package/dist/client-CmoKiYBW.d.ts.map +1 -0
- package/dist/datatypes/index.d.ts +2 -2
- package/dist/{error-Zp6bHUht.js → error-D0ZutHVP.js} +2 -2
- package/dist/{error-Zp6bHUht.js.map → error-D0ZutHVP.js.map} +1 -1
- package/dist/{errors-yp8AsvR_.d.ts → errors-B0cfPrDB.d.ts} +2 -2
- package/dist/{errors-yp8AsvR_.d.ts.map → errors-B0cfPrDB.d.ts.map} +1 -1
- package/dist/{index-7mawMrbL.d.ts → index-Co9cILnx.d.ts} +381 -53
- package/dist/index-Co9cILnx.d.ts.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/services/index.d.ts +1 -1
- package/dist/services/index.js +1 -1
- package/dist/{services-DTJZ6KBk.js → services-DIm-mBQR.js} +23 -2
- package/dist/{services-DTJZ6KBk.js.map → services-DIm-mBQR.js.map} +1 -1
- package/dist/standalone/index.d.ts +1 -1
- package/dist/standalone/index.js +1 -1
- package/dist/webhooks/index.d.ts +2 -2
- package/package.json +3 -3
- package/dist/client-Do9D7tIl.d.ts.map +0 -1
- package/dist/index-7mawMrbL.d.ts.map +0 -1
|
@@ -3740,7 +3740,7 @@ interface paths {
|
|
|
3740
3740
|
};
|
|
3741
3741
|
/**
|
|
3742
3742
|
* List files
|
|
3743
|
-
* @description Lists files in a workspace with cursor-based pagination. Use the `after` parameter with the `nextCursor` value from the response to fetch subsequent pages.
|
|
3743
|
+
* @description Lists files in a workspace with cursor-based pagination. Use the `after` parameter with the `nextCursor` value from the response to fetch subsequent pages. Pass `hash` (a hex SHA-256) to find files with identical content — a non-empty result means the file already exists, so an upload can be skipped.
|
|
3744
3744
|
*/
|
|
3745
3745
|
get: {
|
|
3746
3746
|
parameters: {
|
|
@@ -3750,6 +3750,12 @@ interface paths {
|
|
|
3750
3750
|
* extension set (so `jpg` also matches `jpeg`).
|
|
3751
3751
|
*/
|
|
3752
3752
|
formats?: components["schemas"]["FormatToken"][];
|
|
3753
|
+
/**
|
|
3754
|
+
* @description Filter to files whose content is exactly this SHA-256. Lets a client check
|
|
3755
|
+
* whether identical content already exists in the workspace before uploading
|
|
3756
|
+
* it.
|
|
3757
|
+
*/
|
|
3758
|
+
hash?: components["schemas"]["FileHash"];
|
|
3753
3759
|
/** @description Filter by modality (`text`, `tabular`, `image`, `audio`). */
|
|
3754
3760
|
modality?: components["schemas"]["ModalityToken"][];
|
|
3755
3761
|
/** @description Search by file name (case-insensitive, partial match). */
|
|
@@ -3792,6 +3798,21 @@ interface paths {
|
|
|
3792
3798
|
"application/json": components["schemas"]["FilePage"];
|
|
3793
3799
|
};
|
|
3794
3800
|
};
|
|
3801
|
+
/**
|
|
3802
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3803
|
+
*
|
|
3804
|
+
* This struct contains all the information needed to serialize an error
|
|
3805
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3806
|
+
* information, and user-friendly messages.
|
|
3807
|
+
*/
|
|
3808
|
+
400: {
|
|
3809
|
+
headers: {
|
|
3810
|
+
[name: string]: unknown;
|
|
3811
|
+
};
|
|
3812
|
+
content: {
|
|
3813
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3814
|
+
};
|
|
3815
|
+
};
|
|
3795
3816
|
/**
|
|
3796
3817
|
* @description HTTP error response representation with security-conscious design.
|
|
3797
3818
|
*
|
|
@@ -5946,6 +5967,94 @@ interface paths {
|
|
|
5946
5967
|
patch?: never;
|
|
5947
5968
|
trace?: never;
|
|
5948
5969
|
};
|
|
5970
|
+
"/workspaces/{workspaceSlug}/detections/{detectionId}/intermediates/": {
|
|
5971
|
+
parameters: {
|
|
5972
|
+
query?: never;
|
|
5973
|
+
header?: never;
|
|
5974
|
+
path?: never;
|
|
5975
|
+
cookie?: never;
|
|
5976
|
+
};
|
|
5977
|
+
/**
|
|
5978
|
+
* Get detection intermediates
|
|
5979
|
+
* @description Returns the detection's enrichment intermediates — an image's OCR layout, an audio clip's transcript, or tokenized text — as `{ body, parts }`, so a client can search the extracted content and add entities the analysis missed. A detection whose analysis ran no enricher has no intermediates (404).
|
|
5980
|
+
*/
|
|
5981
|
+
get: {
|
|
5982
|
+
parameters: {
|
|
5983
|
+
query?: never;
|
|
5984
|
+
header?: never;
|
|
5985
|
+
path: {
|
|
5986
|
+
/** @description URL-safe workspace identifier. */
|
|
5987
|
+
workspaceSlug: string;
|
|
5988
|
+
/** @description Opaque identifier of the detection. */
|
|
5989
|
+
detectionId: components["schemas"]["DetectionId"];
|
|
5990
|
+
};
|
|
5991
|
+
cookie?: never;
|
|
5992
|
+
};
|
|
5993
|
+
requestBody?: never;
|
|
5994
|
+
responses: {
|
|
5995
|
+
200: {
|
|
5996
|
+
headers: {
|
|
5997
|
+
[name: string]: unknown;
|
|
5998
|
+
};
|
|
5999
|
+
content: {
|
|
6000
|
+
"application/json": components["schemas"]["ArtifactSet"];
|
|
6001
|
+
};
|
|
6002
|
+
};
|
|
6003
|
+
/**
|
|
6004
|
+
* @description HTTP error response representation with security-conscious design.
|
|
6005
|
+
*
|
|
6006
|
+
* This struct contains all the information needed to serialize an error
|
|
6007
|
+
* response, including the error name, message, HTTP status code, resource
|
|
6008
|
+
* information, and user-friendly messages.
|
|
6009
|
+
*/
|
|
6010
|
+
401: {
|
|
6011
|
+
headers: {
|
|
6012
|
+
[name: string]: unknown;
|
|
6013
|
+
};
|
|
6014
|
+
content: {
|
|
6015
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6016
|
+
};
|
|
6017
|
+
};
|
|
6018
|
+
/**
|
|
6019
|
+
* @description HTTP error response representation with security-conscious design.
|
|
6020
|
+
*
|
|
6021
|
+
* This struct contains all the information needed to serialize an error
|
|
6022
|
+
* response, including the error name, message, HTTP status code, resource
|
|
6023
|
+
* information, and user-friendly messages.
|
|
6024
|
+
*/
|
|
6025
|
+
403: {
|
|
6026
|
+
headers: {
|
|
6027
|
+
[name: string]: unknown;
|
|
6028
|
+
};
|
|
6029
|
+
content: {
|
|
6030
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6031
|
+
};
|
|
6032
|
+
};
|
|
6033
|
+
/**
|
|
6034
|
+
* @description HTTP error response representation with security-conscious design.
|
|
6035
|
+
*
|
|
6036
|
+
* This struct contains all the information needed to serialize an error
|
|
6037
|
+
* response, including the error name, message, HTTP status code, resource
|
|
6038
|
+
* information, and user-friendly messages.
|
|
6039
|
+
*/
|
|
6040
|
+
404: {
|
|
6041
|
+
headers: {
|
|
6042
|
+
[name: string]: unknown;
|
|
6043
|
+
};
|
|
6044
|
+
content: {
|
|
6045
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6046
|
+
};
|
|
6047
|
+
};
|
|
6048
|
+
};
|
|
6049
|
+
};
|
|
6050
|
+
put?: never;
|
|
6051
|
+
post?: never;
|
|
6052
|
+
delete?: never;
|
|
6053
|
+
options?: never;
|
|
6054
|
+
head?: never;
|
|
6055
|
+
patch?: never;
|
|
6056
|
+
trace?: never;
|
|
6057
|
+
};
|
|
5949
6058
|
"/workspaces/{workspaceSlug}/redactions/{redactionId}/review": {
|
|
5950
6059
|
parameters: {
|
|
5951
6060
|
query?: never;
|
|
@@ -9431,6 +9540,44 @@ interface components {
|
|
|
9431
9540
|
/** @description The JWT token string (only shown once on creation). */
|
|
9432
9541
|
token: string;
|
|
9433
9542
|
};
|
|
9543
|
+
ArtifactSet: {
|
|
9544
|
+
body: ({
|
|
9545
|
+
artifact: components["schemas"]["Tokens"];
|
|
9546
|
+
/** @constant */
|
|
9547
|
+
modality: "text";
|
|
9548
|
+
} | {
|
|
9549
|
+
artifact: components["schemas"]["Layout"];
|
|
9550
|
+
/** @constant */
|
|
9551
|
+
modality: "image";
|
|
9552
|
+
} | {
|
|
9553
|
+
artifact: components["schemas"]["Transcription"];
|
|
9554
|
+
/** @constant */
|
|
9555
|
+
modality: "audio";
|
|
9556
|
+
} | {
|
|
9557
|
+
artifact: components["schemas"]["Tokens"];
|
|
9558
|
+
/** @constant */
|
|
9559
|
+
modality: "tabular";
|
|
9560
|
+
}) | null;
|
|
9561
|
+
parts: {
|
|
9562
|
+
[key: string]: {
|
|
9563
|
+
artifact: components["schemas"]["Tokens"];
|
|
9564
|
+
/** @constant */
|
|
9565
|
+
modality: "text";
|
|
9566
|
+
} | {
|
|
9567
|
+
artifact: components["schemas"]["Layout"];
|
|
9568
|
+
/** @constant */
|
|
9569
|
+
modality: "image";
|
|
9570
|
+
} | {
|
|
9571
|
+
artifact: components["schemas"]["Transcription"];
|
|
9572
|
+
/** @constant */
|
|
9573
|
+
modality: "audio";
|
|
9574
|
+
} | {
|
|
9575
|
+
artifact: components["schemas"]["Tokens"];
|
|
9576
|
+
/** @constant */
|
|
9577
|
+
modality: "tabular";
|
|
9578
|
+
};
|
|
9579
|
+
};
|
|
9580
|
+
};
|
|
9434
9581
|
/**
|
|
9435
9582
|
* @description Author-supplied rationale for a redaction: *under what authority* it was made.
|
|
9436
9583
|
*
|
|
@@ -9694,12 +9841,12 @@ interface components {
|
|
|
9694
9841
|
* and encoding inference (the container format a decoder should expect).
|
|
9695
9842
|
* The recognizable text — a timestamped transcript — is *not* held here;
|
|
9696
9843
|
* a speech-to-text [`Enricher`] stamps it onto the call's
|
|
9697
|
-
* [`
|
|
9844
|
+
* [`artifact`], keeping
|
|
9698
9845
|
* `AudioData` the codec's payload alone.
|
|
9699
9846
|
*
|
|
9700
9847
|
* [`Audio`]: super::Audio
|
|
9701
9848
|
* [`Enricher`]: crate::recognition::Enricher
|
|
9702
|
-
* [`
|
|
9849
|
+
* [`artifact`]: crate::recognition::RecognizerContext::artifact
|
|
9703
9850
|
*/
|
|
9704
9851
|
AudioData: {
|
|
9705
9852
|
/** @description Original filename, when known. */
|
|
@@ -11221,6 +11368,8 @@ interface components {
|
|
|
11221
11368
|
displayName: string;
|
|
11222
11369
|
/** @description File extension (without dot). */
|
|
11223
11370
|
fileExtension: string;
|
|
11371
|
+
/** @description Lowercase hex-encoded SHA-256 of the file's plaintext content. */
|
|
11372
|
+
fileHash: string;
|
|
11224
11373
|
/** @description The file's role (original, redacted, audit). */
|
|
11225
11374
|
fileKind: components["schemas"]["FileKind"];
|
|
11226
11375
|
/**
|
|
@@ -11265,6 +11414,8 @@ interface components {
|
|
|
11265
11414
|
/** @description Display name of the file. */
|
|
11266
11415
|
fileName: string;
|
|
11267
11416
|
};
|
|
11417
|
+
/** @description A SHA-256 content hash as a 64-character hex string. */
|
|
11418
|
+
FileHash: string;
|
|
11268
11419
|
/**
|
|
11269
11420
|
* @description The role a file plays, which drives its data-retention scope and whether it
|
|
11270
11421
|
* is a user-facing document.
|
|
@@ -11273,7 +11424,7 @@ interface components {
|
|
|
11273
11424
|
* version chain (lineage); import origin (connection and remote key) lives in
|
|
11274
11425
|
* the `workspace_file_imports` satellite.
|
|
11275
11426
|
*/
|
|
11276
|
-
FileKind: "original" | "redacted" | "audit" | "review";
|
|
11427
|
+
FileKind: "original" | "redacted" | "audit" | "review" | "intermediate";
|
|
11277
11428
|
/**
|
|
11278
11429
|
* @description Generic paginated response wrapper.
|
|
11279
11430
|
*
|
|
@@ -12329,6 +12480,52 @@ interface components {
|
|
|
12329
12480
|
* [`RecognizerContext`]: crate::recognition::RecognizerContext
|
|
12330
12481
|
*/
|
|
12331
12482
|
Languages: components["schemas"]["Language"][];
|
|
12483
|
+
/**
|
|
12484
|
+
* @description An image's recognized text, laid out in space.
|
|
12485
|
+
*
|
|
12486
|
+
* An ordered set of [`LayoutBlock`]s (the recognized text regions). The flat
|
|
12487
|
+
* [`text`] — the blocks joined — is what a recognizer
|
|
12488
|
+
* inspects; [`resolve`] maps a byte range of that text back
|
|
12489
|
+
* to the [`ImageLocation`] it occupies, using the blocks' (and their
|
|
12490
|
+
* words') bounding boxes. Empty when the backend recognized nothing.
|
|
12491
|
+
*
|
|
12492
|
+
* [`text`]: Self::text
|
|
12493
|
+
* [`resolve`]: Self::resolve
|
|
12494
|
+
*/
|
|
12495
|
+
Layout: {
|
|
12496
|
+
/** @description Blocks in reading order. */
|
|
12497
|
+
blocks: components["schemas"]["LayoutBlock"][];
|
|
12498
|
+
/**
|
|
12499
|
+
* @description The blocks' text joined by [`BLOCK_SEPARATOR`], cached so recognition
|
|
12500
|
+
* and byte-range resolution share one flat string.
|
|
12501
|
+
*/
|
|
12502
|
+
text: string;
|
|
12503
|
+
};
|
|
12504
|
+
/**
|
|
12505
|
+
* @description One recognized region of an image: its bounding box and text, optionally
|
|
12506
|
+
* broken into per-word boxes.
|
|
12507
|
+
*/
|
|
12508
|
+
LayoutBlock: {
|
|
12509
|
+
/** @description Bounding region of the block in image coordinates. */
|
|
12510
|
+
region: components["schemas"]["ImageLocation"];
|
|
12511
|
+
/** @description Recognized text for this block. */
|
|
12512
|
+
text: string;
|
|
12513
|
+
/**
|
|
12514
|
+
* @description Per-word boxes within the block, when the backend emitted them.
|
|
12515
|
+
* Empty otherwise; resolution then falls back to the block region.
|
|
12516
|
+
* @default []
|
|
12517
|
+
*/
|
|
12518
|
+
words?: components["schemas"]["LayoutWord"][];
|
|
12519
|
+
};
|
|
12520
|
+
/** @description One word within a [`LayoutBlock`], with its own bounding box. */
|
|
12521
|
+
LayoutWord: {
|
|
12522
|
+
/** @description Per-word confidence, when reported. */
|
|
12523
|
+
confidence?: components["schemas"]["Confidence"];
|
|
12524
|
+
/** @description Bounding region of the word in image coordinates. */
|
|
12525
|
+
region: components["schemas"]["ImageLocation"];
|
|
12526
|
+
/** @description The word text, as it appears in the block text. */
|
|
12527
|
+
text: string;
|
|
12528
|
+
};
|
|
12332
12529
|
/**
|
|
12333
12530
|
* @description What a redacted output leaks about the original it replaced.
|
|
12334
12531
|
*
|
|
@@ -12346,6 +12543,12 @@ interface components {
|
|
|
12346
12543
|
* extension set (so `jpg` also matches `jpeg`).
|
|
12347
12544
|
*/
|
|
12348
12545
|
formats?: components["schemas"]["FormatToken"][];
|
|
12546
|
+
/**
|
|
12547
|
+
* @description Filter to files whose content is exactly this SHA-256. Lets a client check
|
|
12548
|
+
* whether identical content already exists in the workspace before uploading
|
|
12549
|
+
* it.
|
|
12550
|
+
*/
|
|
12551
|
+
hash?: components["schemas"]["FileHash"];
|
|
12349
12552
|
/** @description Filter by modality (`text`, `tabular`, `image`, `audio`). */
|
|
12350
12553
|
modality?: components["schemas"]["ModalityToken"][];
|
|
12351
12554
|
/** @description Search by file name (case-insensitive, partial match). */
|
|
@@ -13699,6 +13902,8 @@ interface components {
|
|
|
13699
13902
|
RetentionOverride: {
|
|
13700
13903
|
/** @description Overrides audit-blob retention when set. */
|
|
13701
13904
|
auditLogs?: components["schemas"]["Retention"];
|
|
13905
|
+
/** @description Overrides enrichment-intermediate retention when set. */
|
|
13906
|
+
intermediates?: components["schemas"]["Retention"];
|
|
13702
13907
|
/** @description Overrides redacted-document retention when set. */
|
|
13703
13908
|
redactedDocuments?: components["schemas"]["Retention"];
|
|
13704
13909
|
};
|
|
@@ -13714,6 +13919,13 @@ interface components {
|
|
|
13714
13919
|
* }
|
|
13715
13920
|
*/
|
|
13716
13921
|
auditLogs?: components["schemas"]["Retention"];
|
|
13922
|
+
/**
|
|
13923
|
+
* @description Retention for enrichment intermediates (OCR layout, transcript).
|
|
13924
|
+
* @default {
|
|
13925
|
+
* "mode": "forever"
|
|
13926
|
+
* }
|
|
13927
|
+
*/
|
|
13928
|
+
intermediates?: components["schemas"]["Retention"];
|
|
13717
13929
|
/**
|
|
13718
13930
|
* @description Retention for uploaded/imported source documents.
|
|
13719
13931
|
* @default {
|
|
@@ -15358,6 +15570,31 @@ interface components {
|
|
|
15358
15570
|
*/
|
|
15359
15571
|
start_us: number;
|
|
15360
15572
|
};
|
|
15573
|
+
/**
|
|
15574
|
+
* @description One token produced by an upstream tokenizer.
|
|
15575
|
+
*
|
|
15576
|
+
* `lemma` falls back to `text` when the producer has no lemmatizer, so callers
|
|
15577
|
+
* that want lemma-aware matching can read `token.lemma` uniformly without
|
|
15578
|
+
* checking which engine produced the artifact.
|
|
15579
|
+
*/
|
|
15580
|
+
Token: {
|
|
15581
|
+
/** @description Producer-asserted punctuation flag. */
|
|
15582
|
+
is_punct: boolean;
|
|
15583
|
+
/**
|
|
15584
|
+
* @description Producer-asserted stopword flag (e.g. "the", "a", "of" for English).
|
|
15585
|
+
* Producers without a stopword list set this to `false`.
|
|
15586
|
+
*/
|
|
15587
|
+
is_stop: boolean;
|
|
15588
|
+
/** @description Lemma when the producer emitted one; otherwise == [`text`](Self::text). */
|
|
15589
|
+
lemma: string;
|
|
15590
|
+
/**
|
|
15591
|
+
* @description Byte range this token occupies in the source text. Use this to map back
|
|
15592
|
+
* to substrings of the original input.
|
|
15593
|
+
*/
|
|
15594
|
+
offset: components["schemas"]["Range_of_uint"];
|
|
15595
|
+
/** @description Surface form as it appears in the source text. */
|
|
15596
|
+
text: string;
|
|
15597
|
+
};
|
|
15361
15598
|
/**
|
|
15362
15599
|
* @description Token counts a model reported, each optional because providers differ in
|
|
15363
15600
|
* what they return — some give only a total, some none at all.
|
|
@@ -15394,6 +15631,81 @@ interface components {
|
|
|
15394
15631
|
*/
|
|
15395
15632
|
tokenId: string;
|
|
15396
15633
|
};
|
|
15634
|
+
/**
|
|
15635
|
+
* @description Owning token sequence: the [`Text`](super::Text) modality's enrichment
|
|
15636
|
+
* artifact, produced by a tokenizing enricher and read by a context enhancer.
|
|
15637
|
+
*
|
|
15638
|
+
* Tokens are sorted by `offset.start` (producers should emit them in order;
|
|
15639
|
+
* consumer-side code assumes this). A context enhancer borrows the underlying
|
|
15640
|
+
* slice via [`as_slice`](Tokens::as_slice) and walks it by count when scoring an
|
|
15641
|
+
* entity's neighbourhood. Empty ([`Default`]) until a tokenizing enricher fills
|
|
15642
|
+
* it — the enhancer then tokenizes on demand instead.
|
|
15643
|
+
*/
|
|
15644
|
+
Tokens: components["schemas"]["Token"][];
|
|
15645
|
+
/**
|
|
15646
|
+
* @description One segment of a [`Transcription`]: a span of audio and the text
|
|
15647
|
+
* recognised within it, with optional diarization, language, confidence,
|
|
15648
|
+
* and per-word timings.
|
|
15649
|
+
*
|
|
15650
|
+
* `speaker_id` is populated only by backends with diarization;
|
|
15651
|
+
* `language` by backends that emit per-segment language detection;
|
|
15652
|
+
* `confidence` when the backend reports one; `words` when it emits a
|
|
15653
|
+
* word-level breakdown (which is what lets a sub-segment range resolve to
|
|
15654
|
+
* a tighter span than the whole segment).
|
|
15655
|
+
*/
|
|
15656
|
+
TranscriptSegment: {
|
|
15657
|
+
/** @description Backend confidence in the segment, when reported. */
|
|
15658
|
+
confidence?: components["schemas"]["Confidence"];
|
|
15659
|
+
/** @description Detected language for this segment, when the backend reported one. */
|
|
15660
|
+
language?: string;
|
|
15661
|
+
/** @description Time span the segment covers within the stream. */
|
|
15662
|
+
span: components["schemas"]["TimeSpan"];
|
|
15663
|
+
/** @description Diarization speaker label, when the backend assigned one. */
|
|
15664
|
+
speaker_id?: string;
|
|
15665
|
+
/** @description Recognised text for this segment. */
|
|
15666
|
+
text: string;
|
|
15667
|
+
/**
|
|
15668
|
+
* @description Per-word timings within the segment, when the backend emitted them.
|
|
15669
|
+
* Empty otherwise; resolution then falls back to the segment span.
|
|
15670
|
+
* @default []
|
|
15671
|
+
*/
|
|
15672
|
+
words?: components["schemas"]["TranscriptWord"][];
|
|
15673
|
+
};
|
|
15674
|
+
/** @description One word within a [`TranscriptSegment`], with its own time span. */
|
|
15675
|
+
TranscriptWord: {
|
|
15676
|
+
/** @description Per-word confidence, when reported. */
|
|
15677
|
+
confidence?: components["schemas"]["Confidence"];
|
|
15678
|
+
/** @description Time span the word covers within the stream. */
|
|
15679
|
+
span: components["schemas"]["TimeSpan"];
|
|
15680
|
+
/** @description The word text, as it appears in the segment text. */
|
|
15681
|
+
text: string;
|
|
15682
|
+
};
|
|
15683
|
+
/**
|
|
15684
|
+
* @description Timestamped transcript of an audio stream.
|
|
15685
|
+
*
|
|
15686
|
+
* An ordered set of [`TranscriptSegment`]s. The flat
|
|
15687
|
+
* [`text`] — the segments joined — is what a recognizer
|
|
15688
|
+
* inspects; [`resolve`] maps a byte range of that text back
|
|
15689
|
+
* to the [`TimeSpan`] it occupies, using the segments' (and their words')
|
|
15690
|
+
* timings. Empty when the backend produced nothing (silence, or a no-op
|
|
15691
|
+
* backend).
|
|
15692
|
+
*
|
|
15693
|
+
* [`text`]: Self::text
|
|
15694
|
+
* [`resolve`]: Self::resolve
|
|
15695
|
+
*/
|
|
15696
|
+
Transcription: {
|
|
15697
|
+
/** @description Segments in stream order. */
|
|
15698
|
+
segments: components["schemas"]["TranscriptSegment"][];
|
|
15699
|
+
/**
|
|
15700
|
+
* @description The segments' text joined by [`SEGMENT_SEPARATOR`], cached so
|
|
15701
|
+
* recognition and byte-range resolution share one flat string. Each
|
|
15702
|
+
* segment's text begins at a known offset within it (see
|
|
15703
|
+
* [`segment_offsets`]).
|
|
15704
|
+
*
|
|
15705
|
+
* [`segment_offsets`]: Self::segment_offsets
|
|
15706
|
+
*/
|
|
15707
|
+
text: string;
|
|
15708
|
+
};
|
|
15397
15709
|
/**
|
|
15398
15710
|
* @description An account's current unread-notification count, broadcast on the account's
|
|
15399
15711
|
* core-NATS unread subject.
|
|
@@ -15926,6 +16238,9 @@ interface components {
|
|
|
15926
16238
|
* "auditLogs": {
|
|
15927
16239
|
* "mode": "forever"
|
|
15928
16240
|
* },
|
|
16241
|
+
* "intermediates": {
|
|
16242
|
+
* "mode": "forever"
|
|
16243
|
+
* },
|
|
15929
16244
|
* "originalDocuments": {
|
|
15930
16245
|
* "mode": "forever"
|
|
15931
16246
|
* },
|
|
@@ -15957,60 +16272,72 @@ interface components {
|
|
|
15957
16272
|
}
|
|
15958
16273
|
//#endregion
|
|
15959
16274
|
//#region src/datatypes/account.d.ts
|
|
15960
|
-
type Schemas$
|
|
15961
|
-
type Handle = Schemas$
|
|
15962
|
-
type Account = Schemas$
|
|
15963
|
-
type PublicAccount = Schemas$
|
|
15964
|
-
type UpdateAccount = Schemas$
|
|
15965
|
-
type PasswordChange = Schemas$
|
|
15966
|
-
type AccountRef = Schemas$
|
|
16275
|
+
type Schemas$23 = components["schemas"];
|
|
16276
|
+
type Handle = Schemas$23["Handle"];
|
|
16277
|
+
type Account = Schemas$23["Account"];
|
|
16278
|
+
type PublicAccount = Schemas$23["PublicAccount"];
|
|
16279
|
+
type UpdateAccount = Schemas$23["UpdateAccount"];
|
|
16280
|
+
type PasswordChange = Schemas$23["PasswordChange"];
|
|
16281
|
+
type AccountRef = Schemas$23["AccountRef"];
|
|
15967
16282
|
//#endregion
|
|
15968
16283
|
//#region src/datatypes/activity.d.ts
|
|
15969
|
-
type Schemas$
|
|
15970
|
-
type Activity = Schemas$
|
|
15971
|
-
type ActivityPage = Schemas$
|
|
15972
|
-
type ActivityType = Schemas$
|
|
15973
|
-
type ActivityFilterQuery = Schemas$
|
|
15974
|
-
type ActivityExportOptions = Schemas$
|
|
15975
|
-
type ActivityPayload = Schemas$
|
|
15976
|
-
type WorkspaceActivityParams = Schemas$
|
|
15977
|
-
type MemberActivityParams = Schemas$
|
|
15978
|
-
type InviteActivityParams = Schemas$
|
|
15979
|
-
type ConnectionActivityParams = Schemas$
|
|
15980
|
-
type PipelineActivityParams = Schemas$
|
|
15981
|
-
type DetectionActivityParams = Schemas$
|
|
15982
|
-
type RedactionActivityParams = Schemas$
|
|
15983
|
-
type PolicyActivityParams = Schemas$
|
|
15984
|
-
type FileActivityParams = Schemas$
|
|
15985
|
-
type WebhookActivityParams = Schemas$
|
|
16284
|
+
type Schemas$22 = components["schemas"];
|
|
16285
|
+
type Activity = Schemas$22["Activity"];
|
|
16286
|
+
type ActivityPage = Schemas$22["ActivityPage"];
|
|
16287
|
+
type ActivityType = Schemas$22["ActivityType"];
|
|
16288
|
+
type ActivityFilterQuery = Schemas$22["ActivityFilterQuery"];
|
|
16289
|
+
type ActivityExportOptions = Schemas$22["ActivityExportOptions"];
|
|
16290
|
+
type ActivityPayload = Schemas$22["ActivityPayload"];
|
|
16291
|
+
type WorkspaceActivityParams = Schemas$22["WorkspaceActivityParams"];
|
|
16292
|
+
type MemberActivityParams = Schemas$22["MemberActivityParams"];
|
|
16293
|
+
type InviteActivityParams = Schemas$22["InviteActivityParams"];
|
|
16294
|
+
type ConnectionActivityParams = Schemas$22["ConnectionActivityParams"];
|
|
16295
|
+
type PipelineActivityParams = Schemas$22["PipelineActivityParams"];
|
|
16296
|
+
type DetectionActivityParams = Schemas$22["DetectionActivityParams"];
|
|
16297
|
+
type RedactionActivityParams = Schemas$22["RedactionActivityParams"];
|
|
16298
|
+
type PolicyActivityParams = Schemas$22["PolicyActivityParams"];
|
|
16299
|
+
type FileActivityParams = Schemas$22["FileActivityParams"];
|
|
16300
|
+
type WebhookActivityParams = Schemas$22["WebhookActivityParams"];
|
|
15986
16301
|
//#endregion
|
|
15987
16302
|
//#region src/datatypes/analytics.d.ts
|
|
15988
|
-
type Schemas$
|
|
15989
|
-
type WorkspaceAnalytics = Schemas$
|
|
15990
|
-
type StorageAnalytics = Schemas$
|
|
15991
|
-
type StorageKindEntry = Schemas$
|
|
15992
|
-
type DetectionAnalytics = Schemas$
|
|
15993
|
-
type DetectionStatusEntry = Schemas$
|
|
15994
|
-
type UsageAnalytics = Schemas$
|
|
15995
|
-
type ModelUsage = Schemas$
|
|
15996
|
-
type ModelUsageEntry = Schemas$
|
|
15997
|
-
type Usage = Schemas$
|
|
15998
|
-
type UsageReport = Schemas$
|
|
15999
|
-
type TokenCounts = Schemas$
|
|
16000
|
-
type ProviderType = Schemas$
|
|
16001
|
-
type RecognizerId = Schemas$
|
|
16002
|
-
type DetectionTimeSeries = Schemas$
|
|
16003
|
-
type DetectionDayEntry = Schemas$
|
|
16303
|
+
type Schemas$21 = components["schemas"];
|
|
16304
|
+
type WorkspaceAnalytics = Schemas$21["WorkspaceAnalytics"];
|
|
16305
|
+
type StorageAnalytics = Schemas$21["StorageAnalytics"];
|
|
16306
|
+
type StorageKindEntry = Schemas$21["StorageKindEntry"];
|
|
16307
|
+
type DetectionAnalytics = Schemas$21["DetectionAnalytics"];
|
|
16308
|
+
type DetectionStatusEntry = Schemas$21["DetectionStatusEntry"];
|
|
16309
|
+
type UsageAnalytics = Schemas$21["UsageAnalytics"];
|
|
16310
|
+
type ModelUsage = Schemas$21["ModelUsage"];
|
|
16311
|
+
type ModelUsageEntry = Schemas$21["ModelUsageEntry"];
|
|
16312
|
+
type Usage = Schemas$21["Usage"];
|
|
16313
|
+
type UsageReport = Schemas$21["UsageReport"];
|
|
16314
|
+
type TokenCounts = Schemas$21["TokenCounts"];
|
|
16315
|
+
type ProviderType = Schemas$21["ProviderType"];
|
|
16316
|
+
type RecognizerId = Schemas$21["RecognizerId"];
|
|
16317
|
+
type DetectionTimeSeries = Schemas$21["DetectionTimeSeries"];
|
|
16318
|
+
type DetectionDayEntry = Schemas$21["DetectionDayEntry"];
|
|
16004
16319
|
//#endregion
|
|
16005
16320
|
//#region src/datatypes/api-token.d.ts
|
|
16321
|
+
type Schemas$20 = components["schemas"];
|
|
16322
|
+
type ApiToken = Schemas$20["ApiToken"];
|
|
16323
|
+
type ApiTokenWithJWT = Schemas$20["ApiTokenWithJWT"];
|
|
16324
|
+
type ApiTokenType = Schemas$20["ApiTokenType"];
|
|
16325
|
+
type CreateApiToken = Schemas$20["CreateApiToken"];
|
|
16326
|
+
type UpdateApiToken = Schemas$20["UpdateApiToken"];
|
|
16327
|
+
type TokenExpiration = Schemas$20["TokenExpiration"];
|
|
16328
|
+
type ApiTokenPage = Schemas$20["ApiTokenPage"];
|
|
16329
|
+
//#endregion
|
|
16330
|
+
//#region src/datatypes/artifact.d.ts
|
|
16006
16331
|
type Schemas$19 = components["schemas"];
|
|
16007
|
-
type
|
|
16008
|
-
type
|
|
16009
|
-
type
|
|
16010
|
-
type
|
|
16011
|
-
type
|
|
16012
|
-
type
|
|
16013
|
-
type
|
|
16332
|
+
type ArtifactSet = Schemas$19["ArtifactSet"];
|
|
16333
|
+
type Layout = Schemas$19["Layout"];
|
|
16334
|
+
type LayoutBlock = Schemas$19["LayoutBlock"];
|
|
16335
|
+
type LayoutWord = Schemas$19["LayoutWord"];
|
|
16336
|
+
type Transcription = Schemas$19["Transcription"];
|
|
16337
|
+
type TranscriptSegment = Schemas$19["TranscriptSegment"];
|
|
16338
|
+
type TranscriptWord = Schemas$19["TranscriptWord"];
|
|
16339
|
+
type Tokens = Schemas$19["Tokens"];
|
|
16340
|
+
type Token = Schemas$19["Token"];
|
|
16014
16341
|
//#endregion
|
|
16015
16342
|
//#region src/datatypes/audit.d.ts
|
|
16016
16343
|
type Schemas$18 = components["schemas"];
|
|
@@ -16187,6 +16514,7 @@ type Schemas$10 = components["schemas"];
|
|
|
16187
16514
|
type File = Schemas$10["File"];
|
|
16188
16515
|
type UpdateFile = Schemas$10["UpdateFile"];
|
|
16189
16516
|
type FileKind = Schemas$10["FileKind"];
|
|
16517
|
+
type FileHash = Schemas$10["FileHash"];
|
|
16190
16518
|
type FormatToken = Schemas$10["FormatToken"];
|
|
16191
16519
|
type ModalityToken = Schemas$10["ModalityToken"];
|
|
16192
16520
|
type ListFiles = Schemas$10["ListFiles"];
|
|
@@ -16335,5 +16663,5 @@ type Retention = Schemas["Retention"];
|
|
|
16335
16663
|
type RetentionSettings = Schemas["RetentionSettings"];
|
|
16336
16664
|
type RetentionOverride = Schemas["RetentionOverride"];
|
|
16337
16665
|
//#endregion
|
|
16338
|
-
export { PolicyRule as $,
|
|
16339
|
-
//# sourceMappingURL=index-
|
|
16666
|
+
export { PolicyRule as $, Token as $i, SyncStatus as $n, ImageHint as $r, ReplyInvite as $t, Color as A, ActivityPayload as Aa, TabularModel as Ai, RedactionResultPage as An, Audit as Ar, NotificationPage as At, Label as B, WebhookActivityParams as Ba, TextEntity as Bi, ConnectionVerification as Bn, Dimensions as Br, MemberSortField as Bt, Language as C, UsageAnalytics as Ca, TabularAuditKind as Ci, DetectionPage as Cn, AudioHint as Cr, DetectionCompletedParams as Ct, ScopeMetadata as D, ActivityExportOptions as Da, TabularHint as Di, RedactDetection as Dn, AudioPattern as Dr, MemberJoinedParams as Dt, Languages as E, Activity as Ea, TabularEntity as Ei, PipelineDetectionsQuery as En, AudioModel as Er, MemberInvitedParams as Et, GdprArticle9Treatment as F, InviteActivityParams as Fa, TextAuditEvent as Fi, ConnectionConfig as Fn, CitedAttribution as Fr, UnreadStatus as Ft, LanguageTag as G, PasswordChange as Ga, TextPattern as Gi, OpenAiCredentials as Gn, FreeformAttribution as Gr, InviteCode as Gt, LabelLocale as H, Account as Ha, TextLocation as Hi, CreateConnection as Hn, Dpi as Hr, CreateInvite as Ht, GdprSensitiveScope as I, MemberActivityParams as Ia, TextAuditKind as Ii, ConnectionId as In, CodecParams as Ir, UpdateNotificationSettings as It, PciDssPart as J, paths as Ja, TimeSpan as Ji, SyncConnection as Jn, ImageAuditKind as Jr, InvitePreview as Jt, LocalizedText as K, PublicAccount as Ka, TextRefinement as Ki, S3Credentials as Kn, ImageAdd as Kr, InviteExpiration as Kt, HipaaAccountNumbers as L, PipelineActivityParams as La, TextAuditLog as Li, ConnectionPage as Ln, Conflict as Lr, ListMembers as Lt, CreatePolicy as M, ConnectionActivityParams as Ma, TabularRefinement as Mi, AnthropicCredentials as Mn, BoundingBox as Mr, NotificationSettings as Mt, DateGranularity as N, DetectionActivityParams as Na, TabularRetag as Ni, AzureCredentials as Nn, Calibration as Nr, RedactionCreatedParams as Nt, AudioRedaction as O, ActivityFilterQuery as Oa, TabularLocation as Oi, RedactionId as On, AudioRefinement as Or, Notification as Ot, DateStyle as P, FileActivityParams as Pa, TextAdd as Pi, Connection as Pn, Category as Pr, UnreadCountEvent as Pt, PolicyDraft as Q, LayoutWord as Qi, SyncScheduleInput as Qn, ImageEntity as Qr, ListInvites as Qt, HipaaDeidMethod as R, PolicyActivityParams as Ra, TextData as Ri, ConnectionSync as Rn, Contested as Rr, Member as Rt, CountryCode as S, Usage as Sa, TabularAuditEvent as Si, DetectionMetadata as Sn, AudioEntity as Sr, ConnectionSyncFailedParams as St, LanguageSpan as T, WorkspaceAnalytics as Ta, TabularEdit as Ti, DetectionStatusEvent as Tn, AudioManual as Tr, MarkedReadStatus as Tt, LabelRef as U, AccountRef as Ua, TextManual as Ui, GcsCredentials as Un, EditSet as Ur, GenerateInviteCode as Ut, LabelEntry as V, WorkspaceActivityParams as Va, TextHint as Vi, ConnectionsQuery as Vn, DocumentContext as Vr, UpdateMember as Vt, LabelScope as W, Handle as Wa, TextModel as Wi, LlmConfig as Wn, EntityCoRef as Wr, Invite as Wt, Policy as X, Layout as Xi, SyncMode as Xn, ImageData as Xr, InviteSortField as Xt, PciPanRender as Y, ArtifactSet as Yi, SyncDeletionPolicy as Yn, ImageAuditLog as Yr, InviteSent as Yt, PolicyDefinition as Z, LayoutBlock as Zi, SyncSchedule as Zn, ImageEdit as Zr, InviteStatus as Zt, WebhookId as _, ProviderType as _a, RuleMatch as _i, ErrorResponse as _n, AudioAuditEvent as _r, PipelineSummaryPage as _t, RetentionSettings as a, ApiTokenPage as aa, ImageRetag as ai, DeletedFiles as an, ChatSessionPage as ar, TabularRedaction as at, WebhookStatus as b, StorageKindEntry as ba, Suppress as bi, Detection as bn, AudioData as br, CursorPagination as bt, WorkspacePage as c, CreateApiToken as ca, ModelEvent as ci, FileKind as cn, SendChatMessage as cr, TextRedaction as ct, CreateWebhook as d, DetectionAnalytics as da, Point as di, ListFiles as dn, RegisteredRecognizer as dr, CreatePipeline as dt, Tokens as ea, ImageLocation as ei, SortOrder as en, SyncTriggerType as er, PolicySummary as et, TestWebhook as f, DetectionDayEntry as fa, Polygon as fi, ModalityToken as fn, AuthToken as fr, Pipeline as ft, WebhookEvent as g, ModelUsageEntry as ga, Report as gi, ExportQuery as gn, AudioAdd as gr, PipelineSummary as gt, WebhookCreated as h, ModelUsage as ha, Redaction as hi, ExportFormat as hn, Attribution as hr, PipelineStatus as ht, RetentionOverride as i, ApiToken as ia, ImageRefinement as ii, DeleteFiles as in, ChatSession as ir, Sha2Algorithm as it, ConfidenceThreshold as j, ActivityType as ja, TabularPattern as ji, WorkspaceDetectionsQuery as jn, AuditHash as jr, NotificationPayload as jt, ClampBucket as k, ActivityPage as ka, TabularManual as ki, RedactionResult as kn, AudioRetag as kr, NotificationEvent as kt, WorkspaceRole as l, TokenExpiration as la, OperatorId as li, FilePage as ln, LabelCatalog as lr, UpdatePolicy as lt, Webhook as m, DetectionTimeSeries as ma, RasterMode as mi, DateWindow as mn, Signup as mr, PipelineFilter as mt, RasterPolicy as n, TranscriptWord as na, ImageModel as ni, Health as nn, ChatMessage as nr, PolicyTemplate as nt, UpdateWorkspace as o, ApiTokenType as oa, LeakProfile as oi, File as on, ChatToken as or, TemplateOrigin as ot, UpdateWebhook as p, DetectionStatusEntry as pa, RangeOfUint as pi, UpdateFile as pn, Login as pr, PipelineDefinition as pt, ModalityRedactions as q, UpdateAccount as qa, TextRetag as qi, StorageConfig as qn, ImageAuditEvent as qr, InvitePage as qt, Retention as r, Transcription as ra, ImagePattern as ri, HealthStatus as rn, ChatRole as rr, Predicate as rt, Workspace as s, ApiTokenWithJWT as sa, ManualIntent as si, FileHash as sn, CreateChatSession as sr, TerminalFallback as st, CreateWorkspace as t, TranscriptSegment as ta, ImageManual as ti, ComponentHealth as tn, UpdateConnection as tr, PolicySummaryPage as tt, WorkspaceSettings as u, UpdateApiToken as ua, PatternEvent as ui, FormatToken as un, RecognizerCatalog as ur, Waveform as ut, WebhookPage as v, RecognizerId as va, Selection as vi, ValidationErrorDetail as vn, AudioAuditKind as vr, PipelineTriggerType as vt, LanguageProvenance as w, UsageReport as wa, TabularAuditLog as wi, DetectionStatus as wn, AudioLocation as wr, DetectionFailedParams as wt, Confidence as x, TokenCounts as xa, TabularAdd as xi, DetectionId as xn, AudioEdit as xr, ConnectionSyncCompletedParams as xt, WebhookResult as y, StorageAnalytics as ya, SourceRef as yi, CreateDetection as yn, AudioAuditLog as yr, UpdatePipeline as yt, ImageRedaction as z, RedactionActivityParams as za, TextEdit as zi, ConnectionSyncPage as zn, Deduplication as zr, MemberPage as zt };
|
|
16667
|
+
//# sourceMappingURL=index-Co9cILnx.d.ts.map
|