@nvisy/sdk 0.44.0 → 0.45.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 +32 -0
- package/dist/{client-B-AXyhN8.d.ts → client-BSm-th0-.d.ts} +38 -5
- package/dist/client-BSm-th0-.d.ts.map +1 -0
- package/dist/datatypes/index.d.ts +2 -2
- package/dist/{error-CTCtJIAC.js → error-BxPIw06n.js} +2 -2
- package/dist/{error-CTCtJIAC.js.map → error-BxPIw06n.js.map} +1 -1
- package/dist/{errors-D2SP900g.d.ts → errors-B0aVjvsp.d.ts} +2 -2
- package/dist/{errors-D2SP900g.d.ts.map → errors-B0aVjvsp.d.ts.map} +1 -1
- package/dist/{index-Cv75Uuts.d.ts → index-kr36ZsdV.d.ts} +341 -67
- package/dist/index-kr36ZsdV.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-DOXHe3iC.js → services-Wl_lWB66.js} +59 -11
- package/dist/services-Wl_lWB66.js.map +1 -0
- 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 +1 -1
- package/dist/client-B-AXyhN8.d.ts.map +0 -1
- package/dist/index-Cv75Uuts.d.ts.map +0 -1
- package/dist/services-DOXHe3iC.js.map +0 -1
|
@@ -3407,7 +3407,111 @@ interface paths {
|
|
|
3407
3407
|
put?: never;
|
|
3408
3408
|
/**
|
|
3409
3409
|
* Sync connection
|
|
3410
|
-
* @description
|
|
3410
|
+
* @description Runs the object-store connection's configured direction: imports every new object, or exports every redacted output not yet exported. File services use the picker import and per-file export instead. Returns the created sync; poll it for completion.
|
|
3411
|
+
*/
|
|
3412
|
+
post: {
|
|
3413
|
+
parameters: {
|
|
3414
|
+
query?: never;
|
|
3415
|
+
header?: never;
|
|
3416
|
+
path: {
|
|
3417
|
+
/** @description URL-safe workspace identifier. */
|
|
3418
|
+
workspaceSlug: string;
|
|
3419
|
+
/** @description Opaque identifier of the connection. */
|
|
3420
|
+
connectionId: components["schemas"]["ConnectionId"];
|
|
3421
|
+
};
|
|
3422
|
+
cookie?: never;
|
|
3423
|
+
};
|
|
3424
|
+
requestBody?: never;
|
|
3425
|
+
responses: {
|
|
3426
|
+
/** @description A connection sync (import or export). */
|
|
3427
|
+
202: {
|
|
3428
|
+
headers: {
|
|
3429
|
+
[name: string]: unknown;
|
|
3430
|
+
};
|
|
3431
|
+
content: {
|
|
3432
|
+
"application/json": components["schemas"]["ConnectionSync"];
|
|
3433
|
+
};
|
|
3434
|
+
};
|
|
3435
|
+
/**
|
|
3436
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3437
|
+
*
|
|
3438
|
+
* This struct contains all the information needed to serialize an error
|
|
3439
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3440
|
+
* information, and user-friendly messages.
|
|
3441
|
+
*/
|
|
3442
|
+
400: {
|
|
3443
|
+
headers: {
|
|
3444
|
+
[name: string]: unknown;
|
|
3445
|
+
};
|
|
3446
|
+
content: {
|
|
3447
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3448
|
+
};
|
|
3449
|
+
};
|
|
3450
|
+
/**
|
|
3451
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3452
|
+
*
|
|
3453
|
+
* This struct contains all the information needed to serialize an error
|
|
3454
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3455
|
+
* information, and user-friendly messages.
|
|
3456
|
+
*/
|
|
3457
|
+
401: {
|
|
3458
|
+
headers: {
|
|
3459
|
+
[name: string]: unknown;
|
|
3460
|
+
};
|
|
3461
|
+
content: {
|
|
3462
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3463
|
+
};
|
|
3464
|
+
};
|
|
3465
|
+
/**
|
|
3466
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3467
|
+
*
|
|
3468
|
+
* This struct contains all the information needed to serialize an error
|
|
3469
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3470
|
+
* information, and user-friendly messages.
|
|
3471
|
+
*/
|
|
3472
|
+
403: {
|
|
3473
|
+
headers: {
|
|
3474
|
+
[name: string]: unknown;
|
|
3475
|
+
};
|
|
3476
|
+
content: {
|
|
3477
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3478
|
+
};
|
|
3479
|
+
};
|
|
3480
|
+
/**
|
|
3481
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3482
|
+
*
|
|
3483
|
+
* This struct contains all the information needed to serialize an error
|
|
3484
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3485
|
+
* information, and user-friendly messages.
|
|
3486
|
+
*/
|
|
3487
|
+
404: {
|
|
3488
|
+
headers: {
|
|
3489
|
+
[name: string]: unknown;
|
|
3490
|
+
};
|
|
3491
|
+
content: {
|
|
3492
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3493
|
+
};
|
|
3494
|
+
};
|
|
3495
|
+
};
|
|
3496
|
+
};
|
|
3497
|
+
delete?: never;
|
|
3498
|
+
options?: never;
|
|
3499
|
+
head?: never;
|
|
3500
|
+
patch?: never;
|
|
3501
|
+
trace?: never;
|
|
3502
|
+
};
|
|
3503
|
+
"/workspaces/{workspaceSlug}/connections/{connectionId}/import/": {
|
|
3504
|
+
parameters: {
|
|
3505
|
+
query?: never;
|
|
3506
|
+
header?: never;
|
|
3507
|
+
path?: never;
|
|
3508
|
+
cookie?: never;
|
|
3509
|
+
};
|
|
3510
|
+
get?: never;
|
|
3511
|
+
put?: never;
|
|
3512
|
+
/**
|
|
3513
|
+
* Import selected files
|
|
3514
|
+
* @description Imports the files selected in the provider's picker (file services only). Already-imported files are skipped. Returns the created sync; poll it for completion.
|
|
3411
3515
|
*/
|
|
3412
3516
|
post: {
|
|
3413
3517
|
parameters: {
|
|
@@ -3422,17 +3526,12 @@ interface paths {
|
|
|
3422
3526
|
cookie?: never;
|
|
3423
3527
|
};
|
|
3424
3528
|
/**
|
|
3425
|
-
* @description Request payload to
|
|
3426
|
-
*
|
|
3427
|
-
* The direction is determined by the connection's configured `sync_mode`.
|
|
3428
|
-
* - Import connections need no body: the sync fetches every not-yet-imported
|
|
3429
|
-
* object under the connection's root path.
|
|
3430
|
-
* - Export connections push one workspace file (`file_id`) to one object
|
|
3431
|
-
* `key`; both are required for export and ignored for import.
|
|
3529
|
+
* @description Request payload to import a caller-selected set of files from a file-service
|
|
3530
|
+
* connection (the provider picker returns id + name per file).
|
|
3432
3531
|
*/
|
|
3433
3532
|
requestBody: {
|
|
3434
3533
|
content: {
|
|
3435
|
-
"application/json": components["schemas"]["
|
|
3534
|
+
"application/json": components["schemas"]["ImportFiles"];
|
|
3436
3535
|
};
|
|
3437
3536
|
};
|
|
3438
3537
|
responses: {
|
|
@@ -3505,6 +3604,167 @@ interface paths {
|
|
|
3505
3604
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
3506
3605
|
};
|
|
3507
3606
|
};
|
|
3607
|
+
/**
|
|
3608
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3609
|
+
*
|
|
3610
|
+
* This struct contains all the information needed to serialize an error
|
|
3611
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3612
|
+
* information, and user-friendly messages.
|
|
3613
|
+
*/
|
|
3614
|
+
409: {
|
|
3615
|
+
headers: {
|
|
3616
|
+
[name: string]: unknown;
|
|
3617
|
+
};
|
|
3618
|
+
content: {
|
|
3619
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3620
|
+
};
|
|
3621
|
+
};
|
|
3622
|
+
/** @description Expected request with `Content-Type: application/json` */
|
|
3623
|
+
415: {
|
|
3624
|
+
headers: {
|
|
3625
|
+
[name: string]: unknown;
|
|
3626
|
+
};
|
|
3627
|
+
content: {
|
|
3628
|
+
"text/plain": string;
|
|
3629
|
+
};
|
|
3630
|
+
};
|
|
3631
|
+
/** @description Failed to deserialize the JSON body into the target type */
|
|
3632
|
+
422: {
|
|
3633
|
+
headers: {
|
|
3634
|
+
[name: string]: unknown;
|
|
3635
|
+
};
|
|
3636
|
+
content: {
|
|
3637
|
+
"text/plain": string;
|
|
3638
|
+
};
|
|
3639
|
+
};
|
|
3640
|
+
};
|
|
3641
|
+
};
|
|
3642
|
+
delete?: never;
|
|
3643
|
+
options?: never;
|
|
3644
|
+
head?: never;
|
|
3645
|
+
patch?: never;
|
|
3646
|
+
trace?: never;
|
|
3647
|
+
};
|
|
3648
|
+
"/workspaces/{workspaceSlug}/connections/{connectionId}/export/": {
|
|
3649
|
+
parameters: {
|
|
3650
|
+
query?: never;
|
|
3651
|
+
header?: never;
|
|
3652
|
+
path?: never;
|
|
3653
|
+
cookie?: never;
|
|
3654
|
+
};
|
|
3655
|
+
get?: never;
|
|
3656
|
+
put?: never;
|
|
3657
|
+
/**
|
|
3658
|
+
* Export files to connection
|
|
3659
|
+
* @description Exports the selected workspace files to the connection, each as a new provider file. Returns the created sync; poll it for completion.
|
|
3660
|
+
*/
|
|
3661
|
+
post: {
|
|
3662
|
+
parameters: {
|
|
3663
|
+
query?: never;
|
|
3664
|
+
header?: never;
|
|
3665
|
+
path: {
|
|
3666
|
+
/** @description URL-safe workspace identifier. */
|
|
3667
|
+
workspaceSlug: string;
|
|
3668
|
+
/** @description Opaque identifier of the connection. */
|
|
3669
|
+
connectionId: components["schemas"]["ConnectionId"];
|
|
3670
|
+
};
|
|
3671
|
+
cookie?: never;
|
|
3672
|
+
};
|
|
3673
|
+
/**
|
|
3674
|
+
* @description Request payload to export a caller-selected set of workspace files to a
|
|
3675
|
+
* connection. Each is written as a new provider file, never overwriting a
|
|
3676
|
+
* source. Mirrors [`ImportFiles`] on the export side.
|
|
3677
|
+
*/
|
|
3678
|
+
requestBody: {
|
|
3679
|
+
content: {
|
|
3680
|
+
"application/json": components["schemas"]["ExportFiles"];
|
|
3681
|
+
};
|
|
3682
|
+
};
|
|
3683
|
+
responses: {
|
|
3684
|
+
/** @description A connection sync (import or export). */
|
|
3685
|
+
202: {
|
|
3686
|
+
headers: {
|
|
3687
|
+
[name: string]: unknown;
|
|
3688
|
+
};
|
|
3689
|
+
content: {
|
|
3690
|
+
"application/json": components["schemas"]["ConnectionSync"];
|
|
3691
|
+
};
|
|
3692
|
+
};
|
|
3693
|
+
/**
|
|
3694
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3695
|
+
*
|
|
3696
|
+
* This struct contains all the information needed to serialize an error
|
|
3697
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3698
|
+
* information, and user-friendly messages.
|
|
3699
|
+
*/
|
|
3700
|
+
400: {
|
|
3701
|
+
headers: {
|
|
3702
|
+
[name: string]: unknown;
|
|
3703
|
+
};
|
|
3704
|
+
content: {
|
|
3705
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3706
|
+
};
|
|
3707
|
+
};
|
|
3708
|
+
/**
|
|
3709
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3710
|
+
*
|
|
3711
|
+
* This struct contains all the information needed to serialize an error
|
|
3712
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3713
|
+
* information, and user-friendly messages.
|
|
3714
|
+
*/
|
|
3715
|
+
401: {
|
|
3716
|
+
headers: {
|
|
3717
|
+
[name: string]: unknown;
|
|
3718
|
+
};
|
|
3719
|
+
content: {
|
|
3720
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3721
|
+
};
|
|
3722
|
+
};
|
|
3723
|
+
/**
|
|
3724
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3725
|
+
*
|
|
3726
|
+
* This struct contains all the information needed to serialize an error
|
|
3727
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3728
|
+
* information, and user-friendly messages.
|
|
3729
|
+
*/
|
|
3730
|
+
403: {
|
|
3731
|
+
headers: {
|
|
3732
|
+
[name: string]: unknown;
|
|
3733
|
+
};
|
|
3734
|
+
content: {
|
|
3735
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3736
|
+
};
|
|
3737
|
+
};
|
|
3738
|
+
/**
|
|
3739
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3740
|
+
*
|
|
3741
|
+
* This struct contains all the information needed to serialize an error
|
|
3742
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3743
|
+
* information, and user-friendly messages.
|
|
3744
|
+
*/
|
|
3745
|
+
404: {
|
|
3746
|
+
headers: {
|
|
3747
|
+
[name: string]: unknown;
|
|
3748
|
+
};
|
|
3749
|
+
content: {
|
|
3750
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3751
|
+
};
|
|
3752
|
+
};
|
|
3753
|
+
/**
|
|
3754
|
+
* @description HTTP error response representation with security-conscious design.
|
|
3755
|
+
*
|
|
3756
|
+
* This struct contains all the information needed to serialize an error
|
|
3757
|
+
* response, including the error name, message, HTTP status code, resource
|
|
3758
|
+
* information, and user-friendly messages.
|
|
3759
|
+
*/
|
|
3760
|
+
409: {
|
|
3761
|
+
headers: {
|
|
3762
|
+
[name: string]: unknown;
|
|
3763
|
+
};
|
|
3764
|
+
content: {
|
|
3765
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3766
|
+
};
|
|
3767
|
+
};
|
|
3508
3768
|
/** @description Expected request with `Content-Type: application/json` */
|
|
3509
3769
|
415: {
|
|
3510
3770
|
headers: {
|
|
@@ -9619,11 +9879,6 @@ interface components {
|
|
|
9619
9879
|
* audit trail and activity tracking.
|
|
9620
9880
|
*/
|
|
9621
9881
|
ActivityType: "workspace.created" | "workspace.updated" | "workspace.deleted" | "member.added" | "member.updated" | "member.deleted" | "invite.created" | "invite.accepted" | "invite.declined" | "invite.canceled" | "connection.created" | "connection.updated" | "connection.deleted" | "connection.sync.started" | "connection.sync.completed" | "connection.sync.failed" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "file.created" | "file.updated" | "file.deleted" | "pipeline.created" | "pipeline.updated" | "pipeline.deleted" | "pipeline.detection.started" | "pipeline.detection.completed" | "pipeline.detection.failed" | "pipeline.redaction.created" | "policy.created" | "policy.updated" | "policy.deleted";
|
|
9622
|
-
/** @description Anthropic API credentials. */
|
|
9623
|
-
AnthropicCredentials: {
|
|
9624
|
-
/** @description Anthropic API key. */
|
|
9625
|
-
apiKey: string;
|
|
9626
|
-
};
|
|
9627
9882
|
/** @description API token response structure. */
|
|
9628
9883
|
ApiToken: {
|
|
9629
9884
|
/**
|
|
@@ -10393,6 +10648,20 @@ interface components {
|
|
|
10393
10648
|
/** @description Handle of the authenticated account. */
|
|
10394
10649
|
username: components["schemas"]["Handle"];
|
|
10395
10650
|
};
|
|
10651
|
+
/**
|
|
10652
|
+
* @description Configuration for a provider reached with an API key (OpenAI, Anthropic).
|
|
10653
|
+
*
|
|
10654
|
+
* The `api_key` is masked in [`Debug`], so neither this struct nor any config
|
|
10655
|
+
* that embeds it leaks the key.
|
|
10656
|
+
*/
|
|
10657
|
+
AuthenticatedProvider: {
|
|
10658
|
+
/** @description The provider API key. */
|
|
10659
|
+
apiKey: string;
|
|
10660
|
+
/** @description Override the API base URL (for a compatible endpoint or a proxy). Optional. */
|
|
10661
|
+
baseUrl?: string;
|
|
10662
|
+
/** @description Default model to use when a request does not specify one. Optional. */
|
|
10663
|
+
defaultModel?: string;
|
|
10664
|
+
};
|
|
10396
10665
|
/**
|
|
10397
10666
|
* @description Path parameters for a public avatar route: the owner id and the avatar's
|
|
10398
10667
|
* content-hash version.
|
|
@@ -11555,6 +11824,18 @@ interface components {
|
|
|
11555
11824
|
/** @description Validation error details for field-specific errors */
|
|
11556
11825
|
validation?: components["schemas"]["ValidationErrorDetail"][];
|
|
11557
11826
|
};
|
|
11827
|
+
/**
|
|
11828
|
+
* @description Request payload to export a caller-selected set of workspace files to a
|
|
11829
|
+
* connection. Each is written as a new provider file, never overwriting a
|
|
11830
|
+
* source. Mirrors [`ImportFiles`] on the export side.
|
|
11831
|
+
*/
|
|
11832
|
+
ExportFiles: {
|
|
11833
|
+
/**
|
|
11834
|
+
* @description The workspace files to export, by id. Files already exported to the
|
|
11835
|
+
* connection are exported again (a fresh copy).
|
|
11836
|
+
*/
|
|
11837
|
+
fileIds: string[];
|
|
11838
|
+
};
|
|
11558
11839
|
/** @description The file format an export is rendered as. */
|
|
11559
11840
|
ExportFormat: "csv" | "json";
|
|
11560
11841
|
/**
|
|
@@ -11677,7 +11958,10 @@ interface components {
|
|
|
11677
11958
|
FileServiceConfig: {
|
|
11678
11959
|
/** @description Which provider backs this connection. */
|
|
11679
11960
|
provider: components["schemas"]["Provider"];
|
|
11680
|
-
/**
|
|
11961
|
+
/**
|
|
11962
|
+
* @description The folder (id or path) new exports are written into; `None` uses the
|
|
11963
|
+
* account root.
|
|
11964
|
+
*/
|
|
11681
11965
|
root?: string;
|
|
11682
11966
|
/** @description The OAuth token set for this connection. */
|
|
11683
11967
|
tokens: components["schemas"]["OAuthTokens"];
|
|
@@ -12354,6 +12638,14 @@ interface components {
|
|
|
12354
12638
|
/** @description The rationale, when one was given. */
|
|
12355
12639
|
reason?: string;
|
|
12356
12640
|
};
|
|
12641
|
+
/**
|
|
12642
|
+
* @description Request payload to import a caller-selected set of files from a file-service
|
|
12643
|
+
* connection (the provider picker returns id + name per file).
|
|
12644
|
+
*/
|
|
12645
|
+
ImportFiles: {
|
|
12646
|
+
/** @description The files to import. Already-imported files are skipped. */
|
|
12647
|
+
files: components["schemas"]["PickedFile"][];
|
|
12648
|
+
};
|
|
12357
12649
|
/**
|
|
12358
12650
|
* @description Workspace invite with complete information.
|
|
12359
12651
|
*
|
|
@@ -12828,36 +13120,21 @@ interface components {
|
|
|
12828
13120
|
* @description A fully-typed LLM inference connection configuration.
|
|
12829
13121
|
*
|
|
12830
13122
|
* The `provider` tag selects the variant and thereby the credential shape, so
|
|
12831
|
-
* an OpenAI connection cannot carry Anthropic credentials.
|
|
12832
|
-
*
|
|
12833
|
-
*
|
|
13123
|
+
* an OpenAI connection cannot carry Anthropic credentials. The key-bearing
|
|
13124
|
+
* variants hold an [`AuthenticatedProvider`], which masks the key in `Debug`;
|
|
13125
|
+
* serialization exists only to persist the config encrypted at rest, never to
|
|
13126
|
+
* return it in API responses.
|
|
12834
13127
|
*/
|
|
12835
|
-
LlmConfig: {
|
|
12836
|
-
/** @description Override the API base URL (for Azure OpenAI or a proxy). Optional. */
|
|
12837
|
-
baseUrl?: string;
|
|
12838
|
-
/** @description OpenAI credentials. */
|
|
12839
|
-
credentials: components["schemas"]["OpenAiCredentials"];
|
|
12840
|
-
/** @description Default model to use when a request does not specify one. Optional. */
|
|
12841
|
-
defaultModel?: string;
|
|
13128
|
+
LlmConfig: ({
|
|
12842
13129
|
/** @constant */
|
|
12843
13130
|
provider: "openai";
|
|
12844
|
-
} | {
|
|
12845
|
-
/** @description Base URL of the Ollama server (e.g. `http://localhost:11434`). */
|
|
12846
|
-
baseUrl: string;
|
|
12847
|
-
/** @description Default model to use when a request does not specify one. Optional. */
|
|
12848
|
-
defaultModel?: string;
|
|
13131
|
+
} & components["schemas"]["AuthenticatedProvider"]) | ({
|
|
12849
13132
|
/** @constant */
|
|
12850
13133
|
provider: "ollama";
|
|
12851
|
-
} | {
|
|
12852
|
-
/** @description Override the API base URL. Optional. */
|
|
12853
|
-
baseUrl?: string;
|
|
12854
|
-
/** @description Anthropic credentials. */
|
|
12855
|
-
credentials: components["schemas"]["AnthropicCredentials"];
|
|
12856
|
-
/** @description Default model to use when a request does not specify one. Optional. */
|
|
12857
|
-
defaultModel?: string;
|
|
13134
|
+
} & components["schemas"]["UnauthenticatedProvider"]) | ({
|
|
12858
13135
|
/** @constant */
|
|
12859
13136
|
provider: "anthropic";
|
|
12860
|
-
};
|
|
13137
|
+
} & components["schemas"]["AuthenticatedProvider"]);
|
|
12861
13138
|
/**
|
|
12862
13139
|
* @description A value localized per [`LanguageTag`], with an English-first fallback.
|
|
12863
13140
|
*
|
|
@@ -13174,7 +13451,8 @@ interface components {
|
|
|
13174
13451
|
};
|
|
13175
13452
|
/**
|
|
13176
13453
|
* @description A persisted OAuth token set. Stored encrypted with the rest of a
|
|
13177
|
-
* connection's config; never returned in API responses.
|
|
13454
|
+
* connection's config; never returned in API responses. The tokens are masked
|
|
13455
|
+
* in [`Debug`] so a connection config's derived `Debug` cannot leak them.
|
|
13178
13456
|
*/
|
|
13179
13457
|
OAuthTokens: {
|
|
13180
13458
|
/** @description The current access token, sent as a bearer credential. */
|
|
@@ -13190,11 +13468,6 @@ interface components {
|
|
|
13190
13468
|
*/
|
|
13191
13469
|
refresh_token?: string;
|
|
13192
13470
|
};
|
|
13193
|
-
/** @description OpenAI API credentials. */
|
|
13194
|
-
OpenAiCredentials: {
|
|
13195
|
-
/** @description OpenAI API key. */
|
|
13196
|
-
apiKey: string;
|
|
13197
|
-
};
|
|
13198
13471
|
/**
|
|
13199
13472
|
* @description Identifies a redaction operator, for the redaction audit a higher
|
|
13200
13473
|
* layer assembles.
|
|
@@ -13287,6 +13560,13 @@ interface components {
|
|
|
13287
13560
|
* [`Engine::with_key_provider`]: https://docs.rs/elide-pipeline/latest/elide_pipeline/struct.Engine.html
|
|
13288
13561
|
*/
|
|
13289
13562
|
PciPanRender: "truncate" | "truncate_last_four" | "hmac_sha256" | "hmac_sha512";
|
|
13563
|
+
/** @description One file the user selected in the provider's picker. */
|
|
13564
|
+
PickedFile: {
|
|
13565
|
+
/** @description The provider's file identifier (used to fetch the bytes). */
|
|
13566
|
+
id: string;
|
|
13567
|
+
/** @description The file's display name, as the picker reported it. */
|
|
13568
|
+
name: string;
|
|
13569
|
+
};
|
|
13290
13570
|
/** @description Pipeline response. */
|
|
13291
13571
|
Pipeline: {
|
|
13292
13572
|
/**
|
|
@@ -14540,24 +14820,6 @@ interface components {
|
|
|
14540
14820
|
/** @description The rationale, when one was given. */
|
|
14541
14821
|
reason?: string;
|
|
14542
14822
|
};
|
|
14543
|
-
/**
|
|
14544
|
-
* @description Request payload to trigger a connection sync.
|
|
14545
|
-
*
|
|
14546
|
-
* The direction is determined by the connection's configured `sync_mode`.
|
|
14547
|
-
* - Import connections need no body: the sync fetches every not-yet-imported
|
|
14548
|
-
* object under the connection's root path.
|
|
14549
|
-
* - Export connections push one workspace file (`file_id`) to one object
|
|
14550
|
-
* `key`; both are required for export and ignored for import.
|
|
14551
|
-
*/
|
|
14552
|
-
SyncConnection: {
|
|
14553
|
-
/**
|
|
14554
|
-
* Format: uuid
|
|
14555
|
-
* @description The workspace file to export (export connections only).
|
|
14556
|
-
*/
|
|
14557
|
-
fileId?: string;
|
|
14558
|
-
/** @description The destination object key for an export, relative to the root path. */
|
|
14559
|
-
key?: string;
|
|
14560
|
-
};
|
|
14561
14823
|
/**
|
|
14562
14824
|
* @description What an import does with a file whose source object no longer exists.
|
|
14563
14825
|
*
|
|
@@ -16040,6 +16302,16 @@ interface components {
|
|
|
16040
16302
|
*/
|
|
16041
16303
|
text: string;
|
|
16042
16304
|
};
|
|
16305
|
+
/**
|
|
16306
|
+
* @description Configuration for a provider reached without an API key (Ollama), addressed
|
|
16307
|
+
* by a caller-supplied base URL. Carries no secret, so it derives [`Debug`].
|
|
16308
|
+
*/
|
|
16309
|
+
UnauthenticatedProvider: {
|
|
16310
|
+
/** @description Base URL of the server (e.g. `http://localhost:11434`). */
|
|
16311
|
+
baseUrl: string;
|
|
16312
|
+
/** @description Default model to use when a request does not specify one. Optional. */
|
|
16313
|
+
defaultModel?: string;
|
|
16314
|
+
};
|
|
16043
16315
|
/**
|
|
16044
16316
|
* @description An account's current unread-notification count, broadcast on the account's
|
|
16045
16317
|
* core-NATS unread subject.
|
|
@@ -16803,10 +17075,12 @@ type CreateConnection = Schemas$14["CreateConnection"];
|
|
|
16803
17075
|
type UpdateConnection = Schemas$14["UpdateConnection"];
|
|
16804
17076
|
type ConnectionsQuery = Schemas$14["ConnectionsQuery"];
|
|
16805
17077
|
type ConnectionPage = Schemas$14["ConnectionPage"];
|
|
16806
|
-
type SyncConnection = Schemas$14["SyncConnection"];
|
|
16807
17078
|
type ConnectionSync = Schemas$14["ConnectionSync"];
|
|
16808
17079
|
type ConnectionSyncPage = Schemas$14["ConnectionSyncPage"];
|
|
16809
17080
|
type ConnectionVerification = Schemas$14["ConnectionVerification"];
|
|
17081
|
+
type ImportFiles = Schemas$14["ImportFiles"];
|
|
17082
|
+
type PickedFile = Schemas$14["PickedFile"];
|
|
17083
|
+
type ExportFiles = Schemas$14["ExportFiles"];
|
|
16810
17084
|
type SyncMode = Schemas$14["SyncMode"];
|
|
16811
17085
|
type SyncStatus = Schemas$14["SyncStatus"];
|
|
16812
17086
|
type SyncTriggerType = Schemas$14["SyncTriggerType"];
|
|
@@ -16817,8 +17091,8 @@ type S3Credentials = Schemas$14["S3Credentials"];
|
|
|
16817
17091
|
type AzureCredentials = Schemas$14["AzureCredentials"];
|
|
16818
17092
|
type GcsCredentials = Schemas$14["GcsCredentials"];
|
|
16819
17093
|
type LlmConfig = Schemas$14["LlmConfig"];
|
|
16820
|
-
type
|
|
16821
|
-
type
|
|
17094
|
+
type AuthenticatedProvider = Schemas$14["AuthenticatedProvider"];
|
|
17095
|
+
type UnauthenticatedProvider = Schemas$14["UnauthenticatedProvider"];
|
|
16822
17096
|
type Provider = Schemas$14["Provider"];
|
|
16823
17097
|
type FileServiceConfig = Schemas$14["FileServiceConfig"];
|
|
16824
17098
|
type OAuthTokens = Schemas$14["OAuthTokens"];
|
|
@@ -17008,5 +17282,5 @@ type Retention = Schemas["Retention"];
|
|
|
17008
17282
|
type RetentionSettings = Schemas["RetentionSettings"];
|
|
17009
17283
|
type RetentionOverride = Schemas["RetentionOverride"];
|
|
17010
17284
|
//#endregion
|
|
17011
|
-
export { PolicyRule as $,
|
|
17012
|
-
//# sourceMappingURL=index-
|
|
17285
|
+
export { PolicyRule as $, WorkspaceActivityParams as $a, TextHint as $i, StartFileServiceOAuth as $n, EditSet as $r, ReplyInvite as $t, Color as A, RecognizerId as Aa, SourceSpan as Ai, RedactionResultPage as An, AudioEdit as Ar, NotificationPage as At, Label as B, ActivityFilterQuery as Ba, TabularManual as Bi, ConnectionVerification as Bn, AuditHash as Br, MemberSortField as Bt, Language as C, DetectionAnalytics as Ca, RangeOfUint as Ci, DetectionPage as Cn, Signup as Cr, DetectionCompletedParams as Ct, ScopeMetadata as D, ModelUsage as Da, RuleMatch as Di, RedactDetection as Dn, AudioAuditKind as Dr, MemberJoinedParams as Dt, Languages as E, DetectionTimeSeries as Ea, Report as Ei, PipelineDetectionsQuery as En, AudioAuditEvent as Er, MemberInvitedParams as Et, GdprArticle9Treatment as F, UsageAnalytics as Fa, TabularAuditLog as Fi, ConnectionConfig as Fn, AudioModel as Fr, UnreadStatus as Ft, LanguageTag as G, DetectionActivityParams as Ga, TextAdd as Gi, GcsCredentials as Gn, CodecParams as Gr, InviteCode as Gt, LabelLocale as H, ActivityPayload as Ha, TabularPattern as Hi, CreateConnection as Hn, Calibration as Hr, CreateInvite as Ht, GdprSensitiveScope as I, UsageReport as Ia, TabularEdit as Ii, ConnectionId as In, AudioPattern as Ir, UpdateNotificationSettings as It, PciDssPart as J, MemberActivityParams as Ja, TextAuditLog as Ji, OAuthStartResponse as Jn, DecodedSpan as Jr, InvitePreview as Jt, LocalizedText as K, FileActivityParams as Ka, TextAuditEvent as Ki, ImportFiles as Kn, Conflict as Kr, InviteExpiration as Kt, HipaaAccountNumbers as L, WorkspaceAnalytics as La, TabularEntity as Li, ConnectionPage as Ln, AudioRefinement as Lr, ListMembers as Lt, CreatePolicy as M, StorageKindEntry as Ma, TabularAdd as Mi, AuthenticatedProvider as Mn, AudioHint as Mr, NotificationSettings as Mt, DateGranularity as N, TokenCounts as Na, TabularAuditEvent as Ni, AzureCredentials as Nn, AudioLocation as Nr, RedactionCreatedParams as Nt, AudioRedaction as O, ModelUsageEntry as Oa, Selection as Oi, RedactionId as On, AudioAuditLog as Or, Notification as Ot, DateStyle as P, Usage as Pa, TabularAuditKind as Pi, Connection as Pn, AudioManual as Pr, UnreadCountEvent as Pt, PolicyDraft as Q, WebhookActivityParams as Qa, TextEntity as Qi, S3Credentials as Qn, Dpi as Qr, ListInvites as Qt, HipaaDeidMethod as R, Activity as Ra, TabularHint as Ri, ConnectionSync as Rn, AudioRetag as Rr, Member as Rt, CountryCode as S, UpdateApiToken as Sa, Polygon as Si, DetectionMetadata as Sn, Login as Sr, ConnectionSyncFailedParams as St, LanguageSpan as T, DetectionStatusEntry as Ta, Redaction as Ti, DetectionStatusEvent as Tn, AudioAdd as Tr, MarkedReadStatus as Tt, LabelRef as U, ActivityType as Ua, TabularRefinement as Ui, ExportFiles as Un, Category as Ur, GenerateInviteCode as Ut, LabelEntry as V, ActivityPage as Va, TabularModel as Vi, ConnectionsQuery as Vn, BoundingBox as Vr, UpdateMember as Vt, LabelScope as W, ConnectionActivityParams as Wa, TabularRetag as Wi, FileServiceConfig as Wn, CitedAttribution as Wr, Invite as Wt, Policy as X, PolicyActivityParams as Xa, TextData as Xi, PickedFile as Xn, Dimensions as Xr, InviteSortField as Xt, PciPanRender as Y, PipelineActivityParams as Ya, TextCoord as Yi, OAuthTokens as Yn, Deduplication as Yr, InviteSent as Yt, PolicyDefinition as Z, RedactionActivityParams as Za, TextEdit as Zi, Provider as Zn, DocumentContext as Zr, InviteStatus as Zt, WebhookId as _, ApiTokenPage as _a, ManualIntent as _i, ErrorResponse as _n, FileProviders as _r, PipelineSummaryPage as _t, RetentionSettings as a, TextRetag as aa, ImageAuditLog as ai, DeletedFiles as an, UpdateAccount as ao, SyncStatus as ar, TabularRedaction as at, WebhookStatus as b, CreateApiToken as ba, PatternEvent as bi, Detection as bn, RegisteredRecognizer as br, CursorPagination as bt, WorkspacePage as c, Layout as ca, ImageEntity as ci, FileKind as cn, UpdateConnection as cr, TextRedaction as ct, CreateWebhook as d, Token as da, ImageManual as di, ListFiles as dn, ChatSession as dr, CreatePipeline as dt, TextLocation as ea, EntityCoRef as ei, SortOrder as en, Account as eo, StorageConfig as er, PolicySummary as et, TestWebhook as f, Tokens as fa, ImageModel as fi, ModalityToken as fn, ChatSessionPage as fr, Pipeline as ft, WebhookEvent as g, ApiToken as ga, LeakProfile as gi, ExportQuery as gn, ConnectorCatalog as gr, PipelineSummary as gt, WebhookCreated as h, Transcription as ha, ImageRetag as hi, ExportFormat as hn, SendChatMessage as hr, PipelineStatus as ht, RetentionOverride as i, TextRefinement as ia, ImageAuditKind as ii, DeleteFiles as in, PublicAccount as io, SyncScheduleInput as ir, Sha2Algorithm as it, ConfidenceThreshold as j, StorageAnalytics as ja, Suppress as ji, WorkspaceDetectionsQuery as jn, AudioEntity as jr, NotificationPayload as jt, ClampBucket as k, ProviderType as ka, SourceRef as ki, RedactionResult as kn, AudioData as kr, NotificationEvent as kt, WorkspaceRole as l, LayoutBlock as la, ImageHint as li, FilePage as ln, ChatMessage as lr, UpdatePolicy as lt, Webhook as m, TranscriptWord as ma, ImageRefinement as mi, DateWindow as mn, CreateChatSession as mr, PipelineFilter as mt, RasterPolicy as n, TextModel as na, ImageAdd as ni, Health as nn, Handle as no, SyncMode as nr, PolicyTemplate as nt, UpdateWorkspace as o, TimeSpan as oa, ImageData as oi, File as on, paths as oo, SyncTriggerType as or, TemplateOrigin as ot, UpdateWebhook as p, TranscriptSegment as pa, ImagePattern as pi, UpdateFile as pn, ChatToken as pr, PipelineDefinition as pt, ModalityRedactions as q, InviteActivityParams as qa, TextAuditKind as qi, LlmConfig as qn, Contested as qr, InvitePage as qt, Retention as r, TextPattern as ra, ImageAuditEvent as ri, HealthStatus as rn, PasswordChange as ro, SyncSchedule as rr, Predicate as rt, Workspace as s, ArtifactSet as sa, ImageEdit as si, FileHash as sn, UnauthenticatedProvider as sr, TerminalFallback as st, CreateWorkspace as t, TextManual as ta, FreeformAttribution as ti, ComponentHealth as tn, AccountRef as to, SyncDeletionPolicy as tr, PolicySummaryPage as tt, WorkspaceSettings as u, LayoutWord as ua, ImageLocation as ui, FormatToken as un, ChatRole as ur, Waveform as ut, WebhookPage as v, ApiTokenType as va, ModelEvent as vi, ValidationErrorDetail as vn, LabelCatalog as vr, PipelineTriggerType as vt, LanguageProvenance as w, DetectionDayEntry as wa, RasterMode as wi, DetectionStatus as wn, Attribution as wr, DetectionFailedParams as wt, Confidence as x, TokenExpiration as xa, Point as xi, DetectionId as xn, AuthToken as xr, ConnectionSyncCompletedParams as xt, WebhookResult as y, ApiTokenWithJWT as ya, OperatorId as yi, CreateDetection as yn, RecognizerCatalog as yr, UpdatePipeline as yt, ImageRedaction as z, ActivityExportOptions as za, TabularLocation as zi, ConnectionSyncPage as zn, Audit as zr, MemberPage as zt };
|
|
17286
|
+
//# sourceMappingURL=index-kr36ZsdV.d.ts.map
|