@nvisy/sdk 0.16.0 → 0.18.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 +45 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/{client-DhSBnaim.d.ts → client-Cv_32nqW.d.ts} +2 -2
- package/dist/{client-DhSBnaim.d.ts.map → client-Cv_32nqW.d.ts.map} +1 -1
- package/dist/datatypes/index.d.ts +2 -2
- package/dist/{errors-CgzTgbga.d.ts → errors-DqGT1Lqy.d.ts} +2 -2
- package/dist/{errors-CgzTgbga.d.ts.map → errors-DqGT1Lqy.d.ts.map} +1 -1
- package/dist/{index-Cd74EvDw.d.ts → index-BJIDRs4m.d.ts} +219 -408
- package/dist/index-BJIDRs4m.d.ts.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/services/index.d.ts +1 -1
- package/dist/webhooks/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/index-Cd74EvDw.d.ts.map +0 -1
|
@@ -7505,40 +7505,6 @@ interface components {
|
|
|
7505
7505
|
/** @description The JWT token string (only shown once on creation). */
|
|
7506
7506
|
token: string;
|
|
7507
7507
|
};
|
|
7508
|
-
/** @description Response type for a pipeline artifact. */
|
|
7509
|
-
Artifact: {
|
|
7510
|
-
/** @description Type of artifact (input, output, intermediate). */
|
|
7511
|
-
artifactType: components["schemas"]["ArtifactType"];
|
|
7512
|
-
/**
|
|
7513
|
-
* Format: date-time
|
|
7514
|
-
* @description When the artifact was created.
|
|
7515
|
-
*/
|
|
7516
|
-
createdAt: string;
|
|
7517
|
-
/**
|
|
7518
|
-
* Format: uuid
|
|
7519
|
-
* @description File storing the artifact data.
|
|
7520
|
-
*/
|
|
7521
|
-
fileId: string;
|
|
7522
|
-
/**
|
|
7523
|
-
* Format: uuid
|
|
7524
|
-
* @description Unique artifact identifier.
|
|
7525
|
-
*/
|
|
7526
|
-
id: string;
|
|
7527
|
-
/** @description Extended metadata (checksums, counts, etc.). */
|
|
7528
|
-
metadata: unknown;
|
|
7529
|
-
/**
|
|
7530
|
-
* Format: uuid
|
|
7531
|
-
* @description Pipeline run that produced this artifact.
|
|
7532
|
-
*/
|
|
7533
|
-
runId: string;
|
|
7534
|
-
};
|
|
7535
|
-
/**
|
|
7536
|
-
* @description Classification of pipeline run artifacts.
|
|
7537
|
-
*
|
|
7538
|
-
* This enumeration corresponds to the `ARTIFACT_TYPE` PostgreSQL enum and is used
|
|
7539
|
-
* to categorize artifacts produced during pipeline runs.
|
|
7540
|
-
*/
|
|
7541
|
-
ArtifactType: "input" | "output" | "intermediate";
|
|
7542
7508
|
/**
|
|
7543
7509
|
* @description Author-supplied rationale for a redaction: a policy name and an optional
|
|
7544
7510
|
* description.
|
|
@@ -8025,6 +7991,18 @@ interface components {
|
|
|
8025
7991
|
* output audience. See elide's [`ScopeMetadata`].
|
|
8026
7992
|
*/
|
|
8027
7993
|
metadata?: components["schemas"]["ScopeMetadata"];
|
|
7994
|
+
/**
|
|
7995
|
+
* @description OCR mode the analyze call decoded with. Recorded so the
|
|
7996
|
+
* anonymize call re-decodes the same document under the same
|
|
7997
|
+
* codec configuration — otherwise entity offsets stored in
|
|
7998
|
+
* the audit wouldn't line up against a differently-rendered
|
|
7999
|
+
* second decode. Defaults to [`OcrMode::Auto`] (the codec's
|
|
8000
|
+
* built-in behaviour) when omitted.
|
|
8001
|
+
* @default {
|
|
8002
|
+
* "kind": "auto"
|
|
8003
|
+
* }
|
|
8004
|
+
*/
|
|
8005
|
+
ocrMode: components["schemas"]["OcrMode"];
|
|
8028
8006
|
};
|
|
8029
8007
|
/** @description Response returned after successful authentication (login/signup). */
|
|
8030
8008
|
AuthToken: {
|
|
@@ -8415,6 +8393,11 @@ interface components {
|
|
|
8415
8393
|
description?: string;
|
|
8416
8394
|
/** @description Pipeline display name (2-128 characters). */
|
|
8417
8395
|
displayName: string;
|
|
8396
|
+
/**
|
|
8397
|
+
* @description Optional per-scope data-retention override for this pipeline. Each unset
|
|
8398
|
+
* scope inherits the workspace retention.
|
|
8399
|
+
*/
|
|
8400
|
+
retention?: components["schemas"]["RetentionOverride"];
|
|
8418
8401
|
/** @description URL slug, unique within the workspace and immutable after creation. */
|
|
8419
8402
|
slug: components["schemas"]["Handle"];
|
|
8420
8403
|
};
|
|
@@ -8499,8 +8482,11 @@ interface components {
|
|
|
8499
8482
|
description?: string;
|
|
8500
8483
|
/** @description Display name of the workspace (2-32 characters). */
|
|
8501
8484
|
displayName: string;
|
|
8502
|
-
/**
|
|
8503
|
-
|
|
8485
|
+
/**
|
|
8486
|
+
* @description Workspace settings (approval requirement, data-retention rules). Defaults
|
|
8487
|
+
* to requiring approval and keeping everything when omitted.
|
|
8488
|
+
*/
|
|
8489
|
+
settings?: components["schemas"]["WorkspaceSettings"];
|
|
8504
8490
|
/** @description Optional URL slug. Derived from the display name when omitted. */
|
|
8505
8491
|
slug?: components["schemas"]["Handle"];
|
|
8506
8492
|
};
|
|
@@ -8524,156 +8510,6 @@ interface components {
|
|
|
8524
8510
|
*/
|
|
8525
8511
|
limit?: number;
|
|
8526
8512
|
};
|
|
8527
|
-
/**
|
|
8528
|
-
* @description One caller-supplied dictionary for the pattern recognizer.
|
|
8529
|
-
*
|
|
8530
|
-
* Mirrors `elide_pattern::Dictionary`. Literal-term matching via
|
|
8531
|
-
* Aho-Corasick; faster and safer than regex for closed sets.
|
|
8532
|
-
*/
|
|
8533
|
-
CustomDictionary: {
|
|
8534
|
-
/**
|
|
8535
|
-
* @description Context keywords lifting confidence near matches.
|
|
8536
|
-
*
|
|
8537
|
-
* Consumed only when the analyzer's
|
|
8538
|
-
* [`PatternRecognizerParams`]`.context_enhanced` is `true`.
|
|
8539
|
-
*
|
|
8540
|
-
* [`PatternRecognizerParams`]: super::PatternRecognizerParams
|
|
8541
|
-
*/
|
|
8542
|
-
context?: components["schemas"]["CustomPatternContext"];
|
|
8543
|
-
/**
|
|
8544
|
-
* @description ISO 3166-1 alpha-2 country codes scoping the dictionary.
|
|
8545
|
-
*
|
|
8546
|
-
* Empty means "any country"; otherwise the recognizer skips
|
|
8547
|
-
* the dictionary when the per-call jurisdiction hint is not
|
|
8548
|
-
* in the list.
|
|
8549
|
-
*/
|
|
8550
|
-
countries?: components["schemas"]["CountryCode"][];
|
|
8551
|
-
/** @description Entity label every match emits. */
|
|
8552
|
-
label: components["schemas"]["LabelRef"];
|
|
8553
|
-
/**
|
|
8554
|
-
* @description BCP-47 language tags scoping the dictionary.
|
|
8555
|
-
*
|
|
8556
|
-
* Empty means "any language"; otherwise the recognizer skips
|
|
8557
|
-
* the dictionary when the per-call language hint is not in
|
|
8558
|
-
* the list.
|
|
8559
|
-
*/
|
|
8560
|
-
languages?: components["schemas"]["LanguageTag"][];
|
|
8561
|
-
/** @description Human-readable identifier surfaced in provenance. */
|
|
8562
|
-
name: string;
|
|
8563
|
-
/**
|
|
8564
|
-
* @description Default confidence stamped on matches when a term has no
|
|
8565
|
-
* per-term override.
|
|
8566
|
-
*
|
|
8567
|
-
* Defaults to [`Confidence::MAX`].
|
|
8568
|
-
* @default 1
|
|
8569
|
-
*/
|
|
8570
|
-
score: components["schemas"]["Confidence"];
|
|
8571
|
-
/**
|
|
8572
|
-
* @description Literal terms + per-term confidence overrides.
|
|
8573
|
-
*
|
|
8574
|
-
* At least one required; the recognizer skips dictionaries
|
|
8575
|
-
* with an empty term list at compile time.
|
|
8576
|
-
*/
|
|
8577
|
-
terms: components["schemas"]["CustomDictionaryTerm"][];
|
|
8578
|
-
};
|
|
8579
|
-
/** @description One term inside a [`CustomDictionary`]. */
|
|
8580
|
-
CustomDictionaryTerm: {
|
|
8581
|
-
/**
|
|
8582
|
-
* @description Per-term score override.
|
|
8583
|
-
*
|
|
8584
|
-
* `None` falls back to the parent dictionary's `score`.
|
|
8585
|
-
*/
|
|
8586
|
-
score?: components["schemas"]["Confidence"];
|
|
8587
|
-
/** @description The literal scanned for. */
|
|
8588
|
-
term: string;
|
|
8589
|
-
};
|
|
8590
|
-
/**
|
|
8591
|
-
* @description Context keywords for a custom rule.
|
|
8592
|
-
*
|
|
8593
|
-
* Either a flat list applied regardless of language, or a
|
|
8594
|
-
* per-language map. Matches the shape of `elide_pattern`'s
|
|
8595
|
-
* `Context` — untagged so the wire looks like either
|
|
8596
|
-
* `["kw1", "kw2"]` or `{ "en": ["kw1"], "es": ["kw2"] }`.
|
|
8597
|
-
*/
|
|
8598
|
-
CustomPatternContext: string[] | {
|
|
8599
|
-
[key: string]: string[];
|
|
8600
|
-
};
|
|
8601
|
-
/**
|
|
8602
|
-
* @description One caller-supplied regex rule for the pattern recognizer.
|
|
8603
|
-
*
|
|
8604
|
-
* Mirrors `elide_pattern::Regex`. Serialize + Deserialize +
|
|
8605
|
-
* JsonSchema end-to-end so SDK callers can inline rules on the
|
|
8606
|
-
* wire; the engine converts each rule to an elide `Regex` at
|
|
8607
|
-
* analyzer-compile time.
|
|
8608
|
-
*/
|
|
8609
|
-
CustomPatternRule: {
|
|
8610
|
-
/**
|
|
8611
|
-
* @description Context keywords lifting confidence when they appear near
|
|
8612
|
-
* a match.
|
|
8613
|
-
*
|
|
8614
|
-
* Either a flat list (any language) or a per-language map.
|
|
8615
|
-
* Consumed only when the analyzer's
|
|
8616
|
-
* [`PatternRecognizerParams`]`.context_enhanced` is `true`.
|
|
8617
|
-
*
|
|
8618
|
-
* [`PatternRecognizerParams`]: super::PatternRecognizerParams
|
|
8619
|
-
*/
|
|
8620
|
-
context?: components["schemas"]["CustomPatternContext"];
|
|
8621
|
-
/**
|
|
8622
|
-
* @description ISO 3166-1 alpha-2 country codes scoping the rule.
|
|
8623
|
-
*
|
|
8624
|
-
* Empty means "any country"; otherwise the recognizer skips
|
|
8625
|
-
* the rule when the per-call jurisdiction hint is not in the
|
|
8626
|
-
* list.
|
|
8627
|
-
*/
|
|
8628
|
-
countries?: components["schemas"]["CountryCode"][];
|
|
8629
|
-
/** @description Entity label every variant emits. */
|
|
8630
|
-
label: components["schemas"]["LabelRef"];
|
|
8631
|
-
/**
|
|
8632
|
-
* @description BCP-47 language tags scoping the rule.
|
|
8633
|
-
*
|
|
8634
|
-
* Empty means "any language"; otherwise the recognizer skips
|
|
8635
|
-
* the rule when the per-call language hint is not in the
|
|
8636
|
-
* list.
|
|
8637
|
-
*/
|
|
8638
|
-
languages?: components["schemas"]["LanguageTag"][];
|
|
8639
|
-
/** @description Human-readable identifier surfaced in provenance. */
|
|
8640
|
-
name: string;
|
|
8641
|
-
/**
|
|
8642
|
-
* @description Regex sources + per-variant confidence + optional
|
|
8643
|
-
* validator.
|
|
8644
|
-
*
|
|
8645
|
-
* At least one required; the recognizer skips rules with an
|
|
8646
|
-
* empty variant list at compile time.
|
|
8647
|
-
*/
|
|
8648
|
-
variants: components["schemas"]["CustomPatternVariant"][];
|
|
8649
|
-
};
|
|
8650
|
-
/** @description One regex variant inside a [`CustomPatternRule`]. */
|
|
8651
|
-
CustomPatternVariant: {
|
|
8652
|
-
/**
|
|
8653
|
-
* @description Regex source.
|
|
8654
|
-
*
|
|
8655
|
-
* Capped at [`MAX_REGEX_SOURCE_LEN`] bytes; longer sources
|
|
8656
|
-
* reject at deserialize. Compiled by the engine at
|
|
8657
|
-
* analyzer-compile time.
|
|
8658
|
-
*/
|
|
8659
|
-
regex: string;
|
|
8660
|
-
/**
|
|
8661
|
-
* @description Confidence stamped on every match, before any
|
|
8662
|
-
* post-recognition keyword boost.
|
|
8663
|
-
*
|
|
8664
|
-
* Defaults to [`Confidence::MAX`].
|
|
8665
|
-
* @default 1
|
|
8666
|
-
*/
|
|
8667
|
-
score: components["schemas"]["Confidence"];
|
|
8668
|
-
/**
|
|
8669
|
-
* @description Optional validator name.
|
|
8670
|
-
*
|
|
8671
|
-
* Resolved against elide's `ValidatorRegistry` at compile
|
|
8672
|
-
* time (e.g. `"ssn"`, `"credit_card"`, `"iban"`). Unknown
|
|
8673
|
-
* names error at compile. `None` means "no validation".
|
|
8674
|
-
*/
|
|
8675
|
-
validator?: string;
|
|
8676
|
-
};
|
|
8677
8513
|
/**
|
|
8678
8514
|
* @description The coarseness a [`GeneralizeDate`] reduces a date/timestamp to.
|
|
8679
8515
|
*
|
|
@@ -8715,6 +8551,19 @@ interface components {
|
|
|
8715
8551
|
*/
|
|
8716
8552
|
width: number;
|
|
8717
8553
|
};
|
|
8554
|
+
/**
|
|
8555
|
+
* Format: uint16
|
|
8556
|
+
* @description Dots-per-inch resolution for rasterizing vector content.
|
|
8557
|
+
*
|
|
8558
|
+
* Used e.g. for rendering PDF pages to images for OCR.
|
|
8559
|
+
*
|
|
8560
|
+
* PDF coordinates are in points (1 pt = 1/72 in), so
|
|
8561
|
+
* [`scale_factor`] gives the multiplier from points to
|
|
8562
|
+
* pixels at this resolution.
|
|
8563
|
+
*
|
|
8564
|
+
* [`scale_factor`]: Self::scale_factor
|
|
8565
|
+
*/
|
|
8566
|
+
Dpi: number;
|
|
8718
8567
|
/**
|
|
8719
8568
|
* @description Coreference identifier shared by entities that denote the same
|
|
8720
8569
|
* real-world thing.
|
|
@@ -8790,6 +8639,8 @@ interface components {
|
|
|
8790
8639
|
displayName: string;
|
|
8791
8640
|
/** @description File extension (without dot). */
|
|
8792
8641
|
fileExtension: string;
|
|
8642
|
+
/** @description The file's role (original, redacted, audit). */
|
|
8643
|
+
fileKind: components["schemas"]["FileKind"];
|
|
8793
8644
|
/**
|
|
8794
8645
|
* Format: int64
|
|
8795
8646
|
* @description File size in bytes.
|
|
@@ -8800,8 +8651,6 @@ interface components {
|
|
|
8800
8651
|
* @description Unique file identifier.
|
|
8801
8652
|
*/
|
|
8802
8653
|
id: string;
|
|
8803
|
-
/** @description MIME type. */
|
|
8804
|
-
mimeType?: string;
|
|
8805
8654
|
/** @description Original filename when uploaded. */
|
|
8806
8655
|
originalFilename: string;
|
|
8807
8656
|
/**
|
|
@@ -8809,10 +8658,6 @@ interface components {
|
|
|
8809
8658
|
* @description Parent file ID if this is a newer version.
|
|
8810
8659
|
*/
|
|
8811
8660
|
parentId?: string;
|
|
8812
|
-
/** @description How the file was created (uploaded, imported, generated). */
|
|
8813
|
-
source: components["schemas"]["FileSource"];
|
|
8814
|
-
/** @description Classification tags. */
|
|
8815
|
-
tags: string[];
|
|
8816
8661
|
/**
|
|
8817
8662
|
* Format: date-time
|
|
8818
8663
|
* @description Last update timestamp.
|
|
@@ -8828,6 +8673,15 @@ interface components {
|
|
|
8828
8673
|
/** @description Handle of the workspace this file belongs to. */
|
|
8829
8674
|
workspaceSlug: components["schemas"]["Handle"];
|
|
8830
8675
|
};
|
|
8676
|
+
/**
|
|
8677
|
+
* @description The role a file plays, which drives its data-retention scope and whether it
|
|
8678
|
+
* is a user-facing document.
|
|
8679
|
+
*
|
|
8680
|
+
* Corresponds to the `FILE_KIND` PostgreSQL enum. Orthogonal to the `parent_id`
|
|
8681
|
+
* version chain (lineage); import origin (connection and remote key) lives in
|
|
8682
|
+
* the `workspace_file_imports` satellite.
|
|
8683
|
+
*/
|
|
8684
|
+
FileKind: "original" | "redacted" | "audit";
|
|
8831
8685
|
/**
|
|
8832
8686
|
* @description Generic paginated response wrapper.
|
|
8833
8687
|
*
|
|
@@ -8846,14 +8700,6 @@ interface components {
|
|
|
8846
8700
|
*/
|
|
8847
8701
|
total?: number;
|
|
8848
8702
|
};
|
|
8849
|
-
/**
|
|
8850
|
-
* @description Defines how a file was created in the system.
|
|
8851
|
-
*
|
|
8852
|
-
* This enumeration corresponds to the `FILE_SOURCE` PostgreSQL enum and is used
|
|
8853
|
-
* to track the origin of files - whether they were uploaded by users, imported
|
|
8854
|
-
* from external sources, or generated by the system.
|
|
8855
|
-
*/
|
|
8856
|
-
FileSource: "uploaded" | "imported" | "generated";
|
|
8857
8703
|
/**
|
|
8858
8704
|
* @description A supported file extension.
|
|
8859
8705
|
* @enum {string}
|
|
@@ -9413,8 +9259,6 @@ interface components {
|
|
|
9413
9259
|
expiresAt: string;
|
|
9414
9260
|
/** @description Role the user will have if they join. */
|
|
9415
9261
|
invitedRole: components["schemas"]["WorkspaceRole"];
|
|
9416
|
-
/** @description Tags associated with the workspace. */
|
|
9417
|
-
tags: string[];
|
|
9418
9262
|
/** @description Handle of the workspace. */
|
|
9419
9263
|
workspaceSlug: components["schemas"]["Handle"];
|
|
9420
9264
|
};
|
|
@@ -9841,13 +9685,6 @@ interface components {
|
|
|
9841
9685
|
};
|
|
9842
9686
|
/** @description Fields available for sorting workspace members. */
|
|
9843
9687
|
MemberSortField: "name" | "date";
|
|
9844
|
-
/**
|
|
9845
|
-
* @description How the merging reconciler combines same-label overlaps.
|
|
9846
|
-
*
|
|
9847
|
-
* Picks one entity per overlapping cluster of findings that
|
|
9848
|
-
* share a label.
|
|
9849
|
-
*/
|
|
9850
|
-
MergingStrategyParams: "max" | "noisy_or";
|
|
9851
9688
|
/**
|
|
9852
9689
|
* @description Per-modality operator specs carried by a `redact` rule.
|
|
9853
9690
|
*
|
|
@@ -9955,6 +9792,42 @@ interface components {
|
|
|
9955
9792
|
/** @description Whether to send email notifications. */
|
|
9956
9793
|
notifyViaEmail: boolean;
|
|
9957
9794
|
};
|
|
9795
|
+
/**
|
|
9796
|
+
* @description Policy for turning a document's pages into images for OCR.
|
|
9797
|
+
*
|
|
9798
|
+
* A born-digital PDF has a selectable text layer and needs no OCR; a
|
|
9799
|
+
* scanned one is image-only and must be rendered to images first. [`Auto`]
|
|
9800
|
+
* is the right default — extract text, render only what lacks it — but the
|
|
9801
|
+
* text-layer parser that drives that decision is not in place yet, so today
|
|
9802
|
+
* only [`Force`] actually renders.
|
|
9803
|
+
*
|
|
9804
|
+
* Serializes with an internal `kind` tag (`{"kind": "auto"}`,
|
|
9805
|
+
* `{"kind": "force", "dpi": 300}`, `{"kind": "never"}`).
|
|
9806
|
+
*
|
|
9807
|
+
* [`Auto`]: OcrMode::Auto
|
|
9808
|
+
* [`Force`]: OcrMode::Force
|
|
9809
|
+
*/
|
|
9810
|
+
OcrMode: {
|
|
9811
|
+
/** @constant */
|
|
9812
|
+
kind: "auto";
|
|
9813
|
+
} | {
|
|
9814
|
+
/** @description Resolution to render pages at; [`Dpi::OCR`] (300) is typical. */
|
|
9815
|
+
dpi: components["schemas"]["Dpi"];
|
|
9816
|
+
/** @constant */
|
|
9817
|
+
kind: "force";
|
|
9818
|
+
} | {
|
|
9819
|
+
/** @constant */
|
|
9820
|
+
kind: "never";
|
|
9821
|
+
};
|
|
9822
|
+
/**
|
|
9823
|
+
* @description How a workspace's documents are turned into images for OCR during detection.
|
|
9824
|
+
*
|
|
9825
|
+
* A workspace-level policy over the engine's per-run OCR mode: `Auto` lets the
|
|
9826
|
+
* engine decide from the text layer, `Force` always renders every page (for
|
|
9827
|
+
* documents with unreliable text layers — scans, watermarks), and `Never`
|
|
9828
|
+
* relies on the text layer only.
|
|
9829
|
+
*/
|
|
9830
|
+
OcrPolicy: "auto" | "force" | "never";
|
|
9958
9831
|
/** @description OpenAI API credentials. */
|
|
9959
9832
|
OpenAiCredentials: {
|
|
9960
9833
|
/** @description OpenAI API key. */
|
|
@@ -9990,46 +9863,6 @@ interface components {
|
|
|
9990
9863
|
/** @description Name of the validator that confirmed the match (e.g. `"luhn"`). */
|
|
9991
9864
|
validator?: string;
|
|
9992
9865
|
};
|
|
9993
|
-
/** @description Params for the `elide-pattern` recognizer. */
|
|
9994
|
-
PatternRecognizerParams: {
|
|
9995
|
-
/**
|
|
9996
|
-
* @description Load every pattern + dictionary shipped with `elide-pattern`.
|
|
9997
|
-
*
|
|
9998
|
-
* Implies the country-scoped jurisdictional pattern packs
|
|
9999
|
-
* are active for the scope's jurisdictions.
|
|
10000
|
-
* @default false
|
|
10001
|
-
*/
|
|
10002
|
-
builtins: boolean;
|
|
10003
|
-
/**
|
|
10004
|
-
* @description Enable per-label context-keyword boosting.
|
|
10005
|
-
*
|
|
10006
|
-
* Wraps the bare pattern recognizer in elide's
|
|
10007
|
-
* `Enhanced<PatternRecognizer>` layer so per-label context
|
|
10008
|
-
* keywords boost low-confidence matches before they leave
|
|
10009
|
-
* the recognizer.
|
|
10010
|
-
* @default false
|
|
10011
|
-
*/
|
|
10012
|
-
contextEnhanced: boolean;
|
|
10013
|
-
/**
|
|
10014
|
-
* @description Caller-inlined regex rules.
|
|
10015
|
-
*
|
|
10016
|
-
* Compiled per-request. See [`CustomPatternRule`] for the
|
|
10017
|
-
* shape; the engine bounds request-level cost with a rule-
|
|
10018
|
-
* count cap and a per-regex NFA-size limit at compile time,
|
|
10019
|
-
* on top of the deserialize-time source-length cap in
|
|
10020
|
-
* [`MAX_REGEX_SOURCE_LEN`].
|
|
10021
|
-
*
|
|
10022
|
-
* [`MAX_REGEX_SOURCE_LEN`]: super::MAX_REGEX_SOURCE_LEN
|
|
10023
|
-
*/
|
|
10024
|
-
custom?: components["schemas"]["CustomPatternRule"][];
|
|
10025
|
-
/**
|
|
10026
|
-
* @description Caller-inlined literal-term dictionaries.
|
|
10027
|
-
*
|
|
10028
|
-
* Compiled per-request into a shared Aho-Corasick automaton.
|
|
10029
|
-
* Same rule-count cap as `custom` applies at compile time.
|
|
10030
|
-
*/
|
|
10031
|
-
customDictionaries?: components["schemas"]["CustomDictionary"][];
|
|
10032
|
-
};
|
|
10033
9866
|
/**
|
|
10034
9867
|
* @description Which PCI DSS subsection this template addresses.
|
|
10035
9868
|
*
|
|
@@ -10080,8 +9913,6 @@ interface components {
|
|
|
10080
9913
|
PciPanRender: "truncate" | "truncate_last_four" | "hmac_sha256" | "hmac_sha512";
|
|
10081
9914
|
/** @description Pipeline response. */
|
|
10082
9915
|
Pipeline: {
|
|
10083
|
-
/** @description Artifacts produced by pipeline runs. */
|
|
10084
|
-
artifacts: components["schemas"]["Artifact"][];
|
|
10085
9916
|
/**
|
|
10086
9917
|
* Format: date-time
|
|
10087
9918
|
* @description Timestamp when the pipeline was created.
|
|
@@ -10095,6 +9926,8 @@ interface components {
|
|
|
10095
9926
|
description?: string;
|
|
10096
9927
|
/** @description Pipeline display name. */
|
|
10097
9928
|
displayName: string;
|
|
9929
|
+
/** @description Per-scope data-retention override, when the pipeline sets one. */
|
|
9930
|
+
retention?: components["schemas"]["RetentionOverride"];
|
|
10098
9931
|
/** @description URL slug of the pipeline, unique within its workspace. */
|
|
10099
9932
|
slug: components["schemas"]["Handle"];
|
|
10100
9933
|
/** @description Pipeline lifecycle status. */
|
|
@@ -10107,47 +9940,25 @@ interface components {
|
|
|
10107
9940
|
/** @description Handle of the workspace this pipeline belongs to. */
|
|
10108
9941
|
workspaceSlug: components["schemas"]["Handle"];
|
|
10109
9942
|
};
|
|
10110
|
-
/**
|
|
10111
|
-
* @description A pipeline's deduplication intent.
|
|
10112
|
-
*
|
|
10113
|
-
* Each field is optional: when a pipeline omits one, it inherits the
|
|
10114
|
-
* deployment default from the engine config. Per-recognizer calibration is
|
|
10115
|
-
* operator-only and never set here.
|
|
10116
|
-
*/
|
|
10117
|
-
PipelineDeduplication: {
|
|
10118
|
-
/** @description How same-label overlapping findings are merged into one. */
|
|
10119
|
-
merging?: components["schemas"]["MergingStrategyParams"];
|
|
10120
|
-
/** @description Minimum confidence the filter layer admits. */
|
|
10121
|
-
minConfidence?: components["schemas"]["ConfidenceThreshold"];
|
|
10122
|
-
/** @description How cross-label overlaps pick a winner. */
|
|
10123
|
-
tiebreaker?: components["schemas"]["TiebreakerParams"];
|
|
10124
|
-
};
|
|
10125
9943
|
/**
|
|
10126
9944
|
* @description A pipeline's detection + governance intent.
|
|
10127
9945
|
*
|
|
10128
|
-
* Holds what a pipeline author decides —
|
|
10129
|
-
*
|
|
10130
|
-
*
|
|
10131
|
-
* here. Stored as JSON in the pipeline's `definition` column but
|
|
10132
|
-
* against this schema at the API boundary.
|
|
9946
|
+
* Holds what a pipeline author decides — the default scope and the policies to
|
|
9947
|
+
* apply. Recognition is entirely server-wide: the built-in pattern set plus the
|
|
9948
|
+
* deployment's NER/LLM lineups and enrichment backends live in the engine
|
|
9949
|
+
* config, not here. Stored as JSON in the pipeline's `definition` column but
|
|
9950
|
+
* validated against this schema at the API boundary.
|
|
10133
9951
|
*
|
|
10134
9952
|
* The label catalog is not part of this: the policies own the label vocabulary,
|
|
10135
9953
|
* and the engine derives the detection catalog from them at run time.
|
|
10136
9954
|
*
|
|
10137
9955
|
* The split:
|
|
10138
9956
|
*
|
|
10139
|
-
* - `recognizers` / `deduplication` — the detection intent, merged with the
|
|
10140
|
-
* server-wide engine defaults into an `AnalyzerParams`.
|
|
10141
9957
|
* - `default_scope` — optional pipeline-wide scope a document may override.
|
|
10142
9958
|
* - `policy_slugs` — references to the workspace's policies, resolved at run
|
|
10143
9959
|
* time.
|
|
10144
9960
|
*/
|
|
10145
9961
|
PipelineDefinition: {
|
|
10146
|
-
/**
|
|
10147
|
-
* @description Post-recognition deduplication behavior.
|
|
10148
|
-
* @default {}
|
|
10149
|
-
*/
|
|
10150
|
-
deduplication: components["schemas"]["PipelineDeduplication"];
|
|
10151
9962
|
/**
|
|
10152
9963
|
* @description Optional pipeline-wide scope (languages, jurisdictions, document labels).
|
|
10153
9964
|
*
|
|
@@ -10162,12 +9973,6 @@ interface components {
|
|
|
10162
9973
|
* definition; surfaced here so the API exposes one coherent object.
|
|
10163
9974
|
*/
|
|
10164
9975
|
policySlugs?: components["schemas"]["Handle"][];
|
|
10165
|
-
/**
|
|
10166
|
-
* @description Recognizer lineup: pattern (incl. inline custom rules and
|
|
10167
|
-
* dictionaries), plus the NER and LLM toggles.
|
|
10168
|
-
* @default {}
|
|
10169
|
-
*/
|
|
10170
|
-
recognizers: components["schemas"]["RecognizerParams"];
|
|
10171
9976
|
};
|
|
10172
9977
|
/** @description Query parameters for filtering pipelines. */
|
|
10173
9978
|
PipelineFilter: {
|
|
@@ -10193,15 +9998,20 @@ interface components {
|
|
|
10193
9998
|
* @description When the run completed.
|
|
10194
9999
|
*/
|
|
10195
10000
|
completedAt?: string;
|
|
10001
|
+
/** @description Opaque identifier of the run. */
|
|
10002
|
+
id: components["schemas"]["RunId"];
|
|
10196
10003
|
/**
|
|
10197
10004
|
* Format: uuid
|
|
10198
|
-
* @description
|
|
10005
|
+
* @description Source document this run analyzes / redacts.
|
|
10199
10006
|
*/
|
|
10200
|
-
|
|
10201
|
-
/** @description Opaque identifier of the run. */
|
|
10202
|
-
id: components["schemas"]["RunId"];
|
|
10007
|
+
inputFileId: string;
|
|
10203
10008
|
/** @description Non-encrypted metadata for filtering/display. */
|
|
10204
10009
|
metadata: unknown;
|
|
10010
|
+
/**
|
|
10011
|
+
* Format: uuid
|
|
10012
|
+
* @description Redacted document produced by the run, once it completes.
|
|
10013
|
+
*/
|
|
10014
|
+
outputFileId?: string;
|
|
10205
10015
|
/** @description Handle of the pipeline this run belongs to. */
|
|
10206
10016
|
pipelineSlug: components["schemas"]["Handle"];
|
|
10207
10017
|
/**
|
|
@@ -10403,8 +10213,6 @@ interface components {
|
|
|
10403
10213
|
labels?: components["schemas"]["Labels"];
|
|
10404
10214
|
/** @description Human-readable name. Display-only. Does not key anything. */
|
|
10405
10215
|
name: string;
|
|
10406
|
-
/** @description Lifecycle rules for content under this policy. */
|
|
10407
|
-
retention?: components["schemas"]["RetentionPolicy"][];
|
|
10408
10216
|
/** @description Ordered rules. First match wins within this policy. */
|
|
10409
10217
|
rules?: components["schemas"]["PolicyRule"][];
|
|
10410
10218
|
};
|
|
@@ -10618,19 +10426,6 @@ interface components {
|
|
|
10618
10426
|
/** @description Negated predicate. */
|
|
10619
10427
|
not: components["schemas"]["Predicate"];
|
|
10620
10428
|
};
|
|
10621
|
-
/**
|
|
10622
|
-
* @description How to pick recognizers out of a deployment-configured lineup.
|
|
10623
|
-
*
|
|
10624
|
-
* Untagged on the wire: `true` / `false` / a list of names.
|
|
10625
|
-
*
|
|
10626
|
-
* - `All(true)`: explicit opt-in. Attaches every configured
|
|
10627
|
-
* recognizer; fails the analyzer compile if the lineup is
|
|
10628
|
-
* empty.
|
|
10629
|
-
* - `All(false)`: explicit opt-out. Skips the lineup entirely.
|
|
10630
|
-
* - `Only(names)`: attach only the named recognizers. An empty
|
|
10631
|
-
* list and any unknown name fail the analyzer compile.
|
|
10632
|
-
*/
|
|
10633
|
-
ProviderSelection: boolean | string[];
|
|
10634
10429
|
/**
|
|
10635
10430
|
* @description Public view of an account, returned when looking up someone other than the
|
|
10636
10431
|
* authenticated caller. Carries only the fields safe to share with a
|
|
@@ -10663,39 +10458,6 @@ interface components {
|
|
|
10663
10458
|
/** @description NER (named-entity recognition) recognizers. */
|
|
10664
10459
|
ner: components["schemas"]["RegisteredRecognizer"][];
|
|
10665
10460
|
};
|
|
10666
|
-
/**
|
|
10667
|
-
* @description Recognizer slots an analyzer can fill.
|
|
10668
|
-
*
|
|
10669
|
-
* Pattern is at-most-one (per-request); NER and LLM are
|
|
10670
|
-
* deployment-owned lineups each selected by a
|
|
10671
|
-
* [`ProviderSelection`].
|
|
10672
|
-
*/
|
|
10673
|
-
RecognizerParams: {
|
|
10674
|
-
/**
|
|
10675
|
-
* @description Select which of the deployment's LLM recognizers to run.
|
|
10676
|
-
*
|
|
10677
|
-
* Same shape as [`ner`]. The lineup is additionally filtered
|
|
10678
|
-
* by declared modality — only recognizers whose `modalities`
|
|
10679
|
-
* list contains the analyzer's modality attach.
|
|
10680
|
-
*
|
|
10681
|
-
* [`ner`]: RecognizerParams::ner
|
|
10682
|
-
*/
|
|
10683
|
-
llm?: components["schemas"]["ProviderSelection"];
|
|
10684
|
-
/**
|
|
10685
|
-
* @description Select which of the deployment's NER recognizers to run.
|
|
10686
|
-
*
|
|
10687
|
-
* See [`ProviderSelection`] for the shape. `None` is the
|
|
10688
|
-
* softly-on default: attach every configured recognizer if
|
|
10689
|
-
* the deployment has any, skip silently otherwise.
|
|
10690
|
-
*/
|
|
10691
|
-
ner?: components["schemas"]["ProviderSelection"];
|
|
10692
|
-
/**
|
|
10693
|
-
* @description Built-in pattern + dictionary recognizer (`elide-pattern`).
|
|
10694
|
-
*
|
|
10695
|
-
* At most one per analyzer.
|
|
10696
|
-
*/
|
|
10697
|
-
pattern?: components["schemas"]["PatternRecognizerParams"];
|
|
10698
|
-
};
|
|
10699
10461
|
/**
|
|
10700
10462
|
* @description Public view of one recognizer in the engine's NER or LLM
|
|
10701
10463
|
* lineup.
|
|
@@ -10730,40 +10492,73 @@ interface components {
|
|
|
10730
10492
|
acceptInvite: boolean;
|
|
10731
10493
|
};
|
|
10732
10494
|
/**
|
|
10733
|
-
* @description How long data is retained.
|
|
10495
|
+
* @description How long a class of data is retained.
|
|
10734
10496
|
*
|
|
10735
|
-
*
|
|
10736
|
-
*
|
|
10737
|
-
* smaller `days` is stricter (`Duration { days: 7 } <
|
|
10738
|
-
* Duration { days: 30 }`). The derived [`Ord`] reflects this:
|
|
10739
|
-
* strictest-wins resolution across multiple policies is just
|
|
10740
|
-
* `iter.min()`. Variant declaration order is load-bearing;
|
|
10741
|
-
* don't reorder.
|
|
10497
|
+
* Wire shape is internally tagged on `mode`: `{ "mode": "forever" }`,
|
|
10498
|
+
* `{ "mode": "zeroDays" }`, `{ "mode": "days", "days": 30 }`.
|
|
10742
10499
|
*/
|
|
10743
10500
|
Retention: {
|
|
10744
10501
|
/** @constant */
|
|
10745
|
-
mode: "
|
|
10502
|
+
mode: "forever";
|
|
10503
|
+
} | {
|
|
10504
|
+
/** @constant */
|
|
10505
|
+
mode: "zeroDays";
|
|
10746
10506
|
} | {
|
|
10747
10507
|
/**
|
|
10748
|
-
* Format:
|
|
10749
|
-
* @description
|
|
10508
|
+
* Format: uint32
|
|
10509
|
+
* @description Number of days to retain data.
|
|
10750
10510
|
*/
|
|
10751
10511
|
days: number;
|
|
10752
10512
|
/** @constant */
|
|
10753
|
-
mode: "
|
|
10754
|
-
} | {
|
|
10755
|
-
/** @constant */
|
|
10756
|
-
mode: "indefinite";
|
|
10513
|
+
mode: "days";
|
|
10757
10514
|
};
|
|
10758
|
-
/**
|
|
10759
|
-
|
|
10760
|
-
|
|
10761
|
-
|
|
10762
|
-
|
|
10763
|
-
|
|
10515
|
+
/**
|
|
10516
|
+
* @description A pipeline's optional per-scope override of the workspace retention. A `None`
|
|
10517
|
+
* field inherits the workspace value for that scope.
|
|
10518
|
+
*
|
|
10519
|
+
* Only scopes a pipeline actually produces are overridable — original documents
|
|
10520
|
+
* are ingested, not produced by a pipeline, so they have no per-pipeline
|
|
10521
|
+
* override and always follow the workspace baseline.
|
|
10522
|
+
*/
|
|
10523
|
+
RetentionOverride: {
|
|
10524
|
+
/**
|
|
10525
|
+
* @description Overrides audit-blob retention when set.
|
|
10526
|
+
* @default null
|
|
10527
|
+
*/
|
|
10528
|
+
auditLogs: components["schemas"]["Retention"];
|
|
10529
|
+
/**
|
|
10530
|
+
* @description Overrides redacted-document retention when set.
|
|
10531
|
+
* @default null
|
|
10532
|
+
*/
|
|
10533
|
+
redactedDocuments: components["schemas"]["Retention"];
|
|
10534
|
+
};
|
|
10535
|
+
/**
|
|
10536
|
+
* @description Retention for every scope. Missing fields default to [`Retention::Forever`],
|
|
10537
|
+
* so an empty settings blob keeps everything.
|
|
10538
|
+
*/
|
|
10539
|
+
RetentionSettings: {
|
|
10540
|
+
/**
|
|
10541
|
+
* @description Retention for audit blobs.
|
|
10542
|
+
* @default {
|
|
10543
|
+
* "mode": "forever"
|
|
10544
|
+
* }
|
|
10545
|
+
*/
|
|
10546
|
+
auditLogs: components["schemas"]["Retention"];
|
|
10547
|
+
/**
|
|
10548
|
+
* @description Retention for uploaded/imported source documents.
|
|
10549
|
+
* @default {
|
|
10550
|
+
* "mode": "forever"
|
|
10551
|
+
* }
|
|
10552
|
+
*/
|
|
10553
|
+
originalDocuments: components["schemas"]["Retention"];
|
|
10554
|
+
/**
|
|
10555
|
+
* @description Retention for generated redacted documents.
|
|
10556
|
+
* @default {
|
|
10557
|
+
* "mode": "forever"
|
|
10558
|
+
* }
|
|
10559
|
+
*/
|
|
10560
|
+
redactedDocuments: components["schemas"]["Retention"];
|
|
10764
10561
|
};
|
|
10765
|
-
/** @description What class of data a retention policy applies to. */
|
|
10766
|
-
RetentionScope: "original_content" | "redacted_output" | "audit_logs";
|
|
10767
10562
|
/**
|
|
10768
10563
|
* @description A reviewer-supplied redaction override with the policy
|
|
10769
10564
|
* authority it draws from.
|
|
@@ -11985,13 +11780,6 @@ interface components {
|
|
|
11985
11780
|
*/
|
|
11986
11781
|
style: components["schemas"]["DateStyle"];
|
|
11987
11782
|
};
|
|
11988
|
-
/**
|
|
11989
|
-
* @description How the structural reconciler picks a winner across labels.
|
|
11990
|
-
*
|
|
11991
|
-
* Runs after merging when overlapping entities carry different
|
|
11992
|
-
* labels.
|
|
11993
|
-
*/
|
|
11994
|
-
TiebreakerParams: "highest_confidence" | "longest_span";
|
|
11995
11783
|
/**
|
|
11996
11784
|
* @description Half-open `[start, end)` stream interval, measured in microseconds.
|
|
11997
11785
|
*
|
|
@@ -12092,8 +11880,6 @@ interface components {
|
|
|
12092
11880
|
displayName?: string;
|
|
12093
11881
|
/** @description Updated metadata. */
|
|
12094
11882
|
metadata?: unknown;
|
|
12095
|
-
/** @description Updated tags. */
|
|
12096
|
-
tags?: string[];
|
|
12097
11883
|
};
|
|
12098
11884
|
/** @description Request to update a member's role. */
|
|
12099
11885
|
UpdateMember: {
|
|
@@ -12122,6 +11908,11 @@ interface components {
|
|
|
12122
11908
|
description?: string;
|
|
12123
11909
|
/** @description New display name for the pipeline (2-128 characters). */
|
|
12124
11910
|
displayName?: string;
|
|
11911
|
+
/**
|
|
11912
|
+
* @description Replacement per-scope data-retention override. When omitted, the
|
|
11913
|
+
* pipeline's retention override is left unchanged.
|
|
11914
|
+
*/
|
|
11915
|
+
retention?: components["schemas"]["RetentionOverride"];
|
|
12125
11916
|
/** @description New status for the pipeline. */
|
|
12126
11917
|
status?: components["schemas"]["PipelineStatus"];
|
|
12127
11918
|
};
|
|
@@ -12169,8 +11960,11 @@ interface components {
|
|
|
12169
11960
|
description?: string;
|
|
12170
11961
|
/** @description New display name for the workspace (2-32 characters). */
|
|
12171
11962
|
displayName?: string;
|
|
12172
|
-
/**
|
|
12173
|
-
|
|
11963
|
+
/**
|
|
11964
|
+
* @description Replacement workspace settings (approval requirement, data-retention
|
|
11965
|
+
* rules). When omitted, settings are left unchanged.
|
|
11966
|
+
*/
|
|
11967
|
+
settings?: components["schemas"]["WorkspaceSettings"];
|
|
12174
11968
|
};
|
|
12175
11969
|
/** @description Validation error details for field-specific errors. */
|
|
12176
11970
|
ValidationErrorDetail: {
|
|
@@ -12370,12 +12164,10 @@ interface components {
|
|
|
12370
12164
|
displayName: string;
|
|
12371
12165
|
/** @description Role of the member in the workspace. */
|
|
12372
12166
|
memberRole: components["schemas"]["WorkspaceRole"];
|
|
12373
|
-
/** @description
|
|
12374
|
-
|
|
12167
|
+
/** @description Workspace settings (approval requirement, data-retention rules). */
|
|
12168
|
+
settings: components["schemas"]["WorkspaceSettings"];
|
|
12375
12169
|
/** @description URL-safe workspace identifier. */
|
|
12376
12170
|
slug: components["schemas"]["Handle"];
|
|
12377
|
-
/** @description Tags associated with the workspace. */
|
|
12378
|
-
tags: string[];
|
|
12379
12171
|
/**
|
|
12380
12172
|
* Format: date-time
|
|
12381
12173
|
* @description Timestamp when the workspace was last updated.
|
|
@@ -12420,6 +12212,34 @@ interface components {
|
|
|
12420
12212
|
/** @description Filter by run status. */
|
|
12421
12213
|
status?: components["schemas"]["PipelineRunStatus"];
|
|
12422
12214
|
};
|
|
12215
|
+
/** @description Typed workspace settings, the JSON stored in the `workspaces.settings` column. */
|
|
12216
|
+
WorkspaceSettings: {
|
|
12217
|
+
/**
|
|
12218
|
+
* @description How documents are rendered for OCR during detection.
|
|
12219
|
+
* @default auto
|
|
12220
|
+
*/
|
|
12221
|
+
ocr: components["schemas"]["OcrPolicy"];
|
|
12222
|
+
/**
|
|
12223
|
+
* @description Whether approval is required before processed files become visible.
|
|
12224
|
+
* @default true
|
|
12225
|
+
*/
|
|
12226
|
+
requireApproval: boolean;
|
|
12227
|
+
/**
|
|
12228
|
+
* @description Data-retention rules for the workspace.
|
|
12229
|
+
* @default {
|
|
12230
|
+
* "auditLogs": {
|
|
12231
|
+
* "mode": "forever"
|
|
12232
|
+
* },
|
|
12233
|
+
* "originalDocuments": {
|
|
12234
|
+
* "mode": "forever"
|
|
12235
|
+
* },
|
|
12236
|
+
* "redactedDocuments": {
|
|
12237
|
+
* "mode": "forever"
|
|
12238
|
+
* }
|
|
12239
|
+
* }
|
|
12240
|
+
*/
|
|
12241
|
+
retention: components["schemas"]["RetentionSettings"];
|
|
12242
|
+
};
|
|
12423
12243
|
/** @description Query parameters for listing all syncs across a workspace. */
|
|
12424
12244
|
WorkspaceSyncsQuery: {
|
|
12425
12245
|
/**
|
|
@@ -12468,6 +12288,8 @@ type Schemas$16 = components["schemas"];
|
|
|
12468
12288
|
type EntityGroup = Schemas$16["EntityGroup"];
|
|
12469
12289
|
type AuditContext = Schemas$16["AuditContext"];
|
|
12470
12290
|
type EntityCoRef = Schemas$16["EntityCoRef"];
|
|
12291
|
+
type OcrMode = Schemas$16["OcrMode"];
|
|
12292
|
+
type Dpi = Schemas$16["Dpi"];
|
|
12471
12293
|
type Review = Schemas$16["Review"];
|
|
12472
12294
|
type Attribution = Schemas$16["Attribution"];
|
|
12473
12295
|
type LeakProfile = Schemas$16["LeakProfile"];
|
|
@@ -12563,7 +12385,7 @@ type ValidationErrorDetail = Schemas$12["ValidationErrorDetail"];
|
|
|
12563
12385
|
type Schemas$11 = components["schemas"];
|
|
12564
12386
|
type File = Schemas$11["File"];
|
|
12565
12387
|
type UpdateFile = Schemas$11["UpdateFile"];
|
|
12566
|
-
type
|
|
12388
|
+
type FileKind = Schemas$11["FileKind"];
|
|
12567
12389
|
type FormatToken = Schemas$11["FormatToken"];
|
|
12568
12390
|
type ModalityToken = Schemas$11["ModalityToken"];
|
|
12569
12391
|
type ListFiles = Schemas$11["ListFiles"];
|
|
@@ -12644,9 +12466,6 @@ type TextRedaction = Schemas$4["TextRedaction"];
|
|
|
12644
12466
|
type ImageRedaction = Schemas$4["ImageRedaction"];
|
|
12645
12467
|
type AudioRedaction = Schemas$4["AudioRedaction"];
|
|
12646
12468
|
type TabularRedaction = Schemas$4["TabularRedaction"];
|
|
12647
|
-
type RetentionPolicy = Schemas$4["RetentionPolicy"];
|
|
12648
|
-
type Retention = Schemas$4["Retention"];
|
|
12649
|
-
type RetentionScope = Schemas$4["RetentionScope"];
|
|
12650
12469
|
type Labels = Schemas$4["Labels"];
|
|
12651
12470
|
type LabelGroup = Schemas$4["LabelGroup"];
|
|
12652
12471
|
type LabelEntry = Schemas$4["LabelEntry"];
|
|
@@ -12663,37 +12482,24 @@ type LanguageTag = Schemas$4["LanguageTag"];
|
|
|
12663
12482
|
type Sha2Algorithm = Schemas$4["Sha2Algorithm"];
|
|
12664
12483
|
type TerminalFallback = Schemas$4["TerminalFallback"];
|
|
12665
12484
|
//#endregion
|
|
12666
|
-
//#region src/datatypes/
|
|
12485
|
+
//#region src/datatypes/run.d.ts
|
|
12667
12486
|
type Schemas$3 = components["schemas"];
|
|
12668
|
-
type
|
|
12669
|
-
type
|
|
12670
|
-
type
|
|
12671
|
-
type
|
|
12672
|
-
type
|
|
12673
|
-
type CustomPatternContext = Schemas$3["CustomPatternContext"];
|
|
12674
|
-
type CustomDictionary = Schemas$3["CustomDictionary"];
|
|
12675
|
-
type CustomDictionaryTerm = Schemas$3["CustomDictionaryTerm"];
|
|
12676
|
-
type PipelineDeduplication = Schemas$3["PipelineDeduplication"];
|
|
12677
|
-
type MergingStrategyParams = Schemas$3["MergingStrategyParams"];
|
|
12678
|
-
type TiebreakerParams = Schemas$3["TiebreakerParams"];
|
|
12679
|
-
type ScopeParams = Schemas$3["ScopeParams"];
|
|
12680
|
-
type ScopeMetadata = Schemas$3["ScopeMetadata"];
|
|
12681
|
-
type CountryCode = Schemas$3["CountryCode"];
|
|
12682
|
-
type Language = Schemas$3["Language"];
|
|
12683
|
-
type Languages = Schemas$3["Languages"];
|
|
12684
|
-
type LanguageSpan = Schemas$3["LanguageSpan"];
|
|
12685
|
-
type LanguageProvenance = Schemas$3["LanguageProvenance"];
|
|
12686
|
-
type Confidence = Schemas$3["Confidence"];
|
|
12487
|
+
type PipelineRun = Schemas$3["PipelineRun"];
|
|
12488
|
+
type CreatePipelineRun = Schemas$3["CreatePipelineRun"];
|
|
12489
|
+
type PipelineRunStatus = Schemas$3["PipelineRunStatus"];
|
|
12490
|
+
type PipelineRunPage = Schemas$3["PipelineRunPage"];
|
|
12491
|
+
type Audit = Schemas$3["Audit"];
|
|
12687
12492
|
//#endregion
|
|
12688
|
-
//#region src/datatypes/
|
|
12493
|
+
//#region src/datatypes/scope.d.ts
|
|
12689
12494
|
type Schemas$2 = components["schemas"];
|
|
12690
|
-
type
|
|
12691
|
-
type
|
|
12692
|
-
type
|
|
12693
|
-
type
|
|
12694
|
-
type
|
|
12695
|
-
type
|
|
12696
|
-
type
|
|
12495
|
+
type ScopeParams = Schemas$2["ScopeParams"];
|
|
12496
|
+
type ScopeMetadata = Schemas$2["ScopeMetadata"];
|
|
12497
|
+
type CountryCode = Schemas$2["CountryCode"];
|
|
12498
|
+
type Language = Schemas$2["Language"];
|
|
12499
|
+
type Languages = Schemas$2["Languages"];
|
|
12500
|
+
type LanguageSpan = Schemas$2["LanguageSpan"];
|
|
12501
|
+
type LanguageProvenance = Schemas$2["LanguageProvenance"];
|
|
12502
|
+
type Confidence = Schemas$2["Confidence"];
|
|
12697
12503
|
//#endregion
|
|
12698
12504
|
//#region src/datatypes/webhook.d.ts
|
|
12699
12505
|
type Schemas$1 = components["schemas"];
|
|
@@ -12714,6 +12520,11 @@ type CreateWorkspace = Schemas["CreateWorkspace"];
|
|
|
12714
12520
|
type UpdateWorkspace = Schemas["UpdateWorkspace"];
|
|
12715
12521
|
type WorkspaceRole = Schemas["WorkspaceRole"];
|
|
12716
12522
|
type WorkspacePage = Schemas["WorkspacePage"];
|
|
12523
|
+
type WorkspaceSettings = Schemas["WorkspaceSettings"];
|
|
12524
|
+
type OcrPolicy = Schemas["OcrPolicy"];
|
|
12525
|
+
type Retention = Schemas["Retention"];
|
|
12526
|
+
type RetentionSettings = Schemas["RetentionSettings"];
|
|
12527
|
+
type RetentionOverride = Schemas["RetentionOverride"];
|
|
12717
12528
|
//#endregion
|
|
12718
|
-
export {
|
|
12719
|
-
//# sourceMappingURL=index-
|
|
12529
|
+
export { Policy as $, ImageHint as $n, ListFiles as $t, PipelineRun as A, AuthToken as An, ApiTokenType as Ar, MemberPage as At, GdprArticle9Treatment as B, AudioLocation as Bn, PublicAccount as Br, InviteSent as Bt, LanguageProvenance as C, SyncScheduleInput as Cn, TextEventKind as Cr, NotificationEvent as Ct, ScopeParams as D, LabelCatalog as Dn, TimeSpan as Dr, UpdateNotificationSettings as Dt, ScopeMetadata as E, UpdateConnection as En, TextProvenance as Er, UnreadStatus as Et, Color as F, AudioEntity as Fn, Activity as Fr, Invite as Ft, LabelGroup as G, Dpi as Gn, SortOrder as Gt, ImageRedaction as H, AuditContext as Hn, paths as Hr, InviteStatus as Ht, ConfidenceThreshold as I, AudioEntityRecord as In, ActivityPage as Ir, InviteCode as It, LanguageTag as J, ImageData as Jn, HealthStatus as Jt, LabelLocale as K, EntityCoRef as Kn, ComponentHealth as Kt, CreatePolicy as L, AudioEvent as Ln, ActivityType as Lr, InviteExpiration as Lt, PipelineRunStatus as M, Signup as Mn, CreateApiToken as Mr, UpdateMember as Mt, AudioRedaction as N, Attribution as Nn, TokenExpiration as Nr, CreateInvite as Nt, Audit as O, RecognizerCatalog as On, ApiToken as Or, ListMembers as Ot, ClampBucket as P, AudioData as Pn, UpdateApiToken as Pr, GenerateInviteCode as Pt, PciPanRender as Q, ImageEventKind as Qn, FormatToken as Qt, DateGranularity as R, AudioEventKind as Rn, Account as Rr, InvitePage as Rt, Language as S, SyncSchedule as Sn, TextEvent as Sr, Notification as St, Languages as T, SyncTriggerType as Tn, TextLocation as Tr, NotificationSettings as Tt, Label as U, BoundingBox as Un, ListInvites as Ut, HipaaDeidMethod as V, AudioProvenance as Vn, UpdateAccount as Vr, InviteSortField as Vt, LabelEntry as W, Dimensions as Wn, ReplyInvite as Wt, ModalityRedactions as X, ImageEntityRecord as Xn, FileKind as Xt, LocalizedText as Y, ImageEntity as Yn, File as Yt, PciDssPart as Z, ImageEvent as Zn, FilePage as Zt, WebhookPage as _, S3Credentials as _n, TabularLocation as _r, PipelineSummary as _t, RetentionSettings as a, AzureCredentials as an, OperatorId as ar, Predicate as at, Confidence as b, SyncDeletionPolicy as bn, TextEntity as br, UpdatePipeline as bt, WorkspacePage as c, ConnectionPage as cn, Polygon as cr, TerminalFallback as ct, CreateWebhook as d, ConnectionVerification as dn, RuleMatch as dr, Waveform as dt, ModalityToken as en, ImageLocation as er, PolicyDefinition as et, TestWebhook as f, ConnectionsQuery as fn, TabularEntity as fr, CreatePipeline as ft, WebhookEvent as g, OpenAiCredentials as gn, TabularHint as gr, PipelineStatus as gt, WebhookCreated as h, LlmConfig as hn, TabularEventKind as hr, PipelineFilter as ht, RetentionOverride as i, AnthropicCredentials as in, OcrMode as ir, PolicyTemplate as it, PipelineRunPage as j, Login as jn, ApiTokenWithJWT as jr, MemberSortField as jt, CreatePipelineRun as k, RegisteredRecognizer as kn, ApiTokenPage as kr, Member as kt, WorkspaceRole as l, ConnectionSync as ln, RangeOfUint as lr, TextRedaction as lt, Webhook as m, GcsCredentials as mn, TabularEvent as mr, PipelineDefinition as mt, OcrPolicy as n, ErrorResponse as nn, LeakProfile as nr, PolicySummary as nt, UpdateWorkspace as o, Connection as on, PatternEvent as or, Sha2Algorithm as ot, UpdateWebhook as p, CreateConnection as pn, TabularEntityRecord as pr, Pipeline as pt, Labels as q, EntityGroup as qn, Health as qt, Retention as r, ValidationErrorDetail as rn, ModelEvent as rr, PolicySummaryPage as rt, Workspace as s, ConnectionConfig as sn, Point as sr, TabularRedaction as st, CreateWorkspace as t, UpdateFile as tn, ImageProvenance as tr, PolicyRule as tt, WorkspaceSettings as u, ConnectionSyncPage as un, Review as ur, UpdatePolicy as ut, WebhookResult as v, StorageConfig as vn, TabularProvenance as vr, PipelineSummaryPage as vt, LanguageSpan as w, SyncStatus as wn, TextHint as wr, NotificationPage as wt, CountryCode as x, SyncMode as xn, TextEntityRecord as xr, CursorPagination as xt, WebhookStatus as y, SyncConnection as yn, TextData as yr, PipelineTriggerType as yt, DateStyle as z, AudioHint as zn, AccountRef as zr, InvitePreview as zt };
|
|
12530
|
+
//# sourceMappingURL=index-BJIDRs4m.d.ts.map
|