@nvisy/sdk 0.34.0 → 0.36.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 +52 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/{client-Dxa6VuCi.d.ts → client-CRAUKfrL.d.ts} +134 -104
- package/dist/client-CRAUKfrL.d.ts.map +1 -0
- package/dist/datatypes/index.d.ts +2 -2
- package/dist/{error-DAOza_p3.js → error-B-clwUc0.js} +2 -2
- package/dist/{error-DAOza_p3.js.map → error-B-clwUc0.js.map} +1 -1
- package/dist/{errors-B2mDlQfg.d.ts → errors-CgrmHkHE.d.ts} +2 -2
- package/dist/{errors-B2mDlQfg.d.ts.map → errors-CgrmHkHE.d.ts.map} +1 -1
- package/dist/{index-BsijAKTe.d.ts → index-B1rBPY26.d.ts} +975 -743
- package/dist/index-B1rBPY26.d.ts.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +11 -5
- package/dist/index.js.map +1 -1
- package/dist/services/index.d.ts +2 -2
- package/dist/services/index.js +2 -2
- package/dist/{services-CjHW797N.js → services-BEP_y6VO.js} +212 -163
- package/dist/services-BEP_y6VO.js.map +1 -0
- package/dist/webhooks/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/client-Dxa6VuCi.d.ts.map +0 -1
- package/dist/index-BsijAKTe.d.ts.map +0 -1
- package/dist/services-CjHW797N.js.map +0 -1
|
@@ -1453,7 +1453,7 @@ interface paths {
|
|
|
1453
1453
|
};
|
|
1454
1454
|
/**
|
|
1455
1455
|
* Workspace analytics
|
|
1456
|
-
* @description Returns aggregate analytics for a workspace: stored-file totals with a per-kind breakdown,
|
|
1456
|
+
* @description Returns aggregate analytics for a workspace: stored-file totals with a per-kind breakdown, detection health (status mix, error rate, and durations), and inference token usage (workspace totals plus a per-model breakdown). Breakdowns list every kind/status, zero-filled, in a stable order.
|
|
1457
1457
|
*/
|
|
1458
1458
|
get: {
|
|
1459
1459
|
parameters: {
|
|
@@ -1468,7 +1468,7 @@ interface paths {
|
|
|
1468
1468
|
requestBody?: never;
|
|
1469
1469
|
responses: {
|
|
1470
1470
|
/**
|
|
1471
|
-
* @description Aggregate analytics for a workspace: what it stores, how its
|
|
1471
|
+
* @description Aggregate analytics for a workspace: what it stores, how its detections fare, and
|
|
1472
1472
|
* the inference tokens they spent.
|
|
1473
1473
|
*/
|
|
1474
1474
|
200: {
|
|
@@ -1534,7 +1534,7 @@ interface paths {
|
|
|
1534
1534
|
patch?: never;
|
|
1535
1535
|
trace?: never;
|
|
1536
1536
|
};
|
|
1537
|
-
"/workspaces/{workspaceSlug}/analytics/
|
|
1537
|
+
"/workspaces/{workspaceSlug}/analytics/detections/timeseries/": {
|
|
1538
1538
|
parameters: {
|
|
1539
1539
|
query?: never;
|
|
1540
1540
|
header?: never;
|
|
@@ -1542,8 +1542,8 @@ interface paths {
|
|
|
1542
1542
|
cookie?: never;
|
|
1543
1543
|
};
|
|
1544
1544
|
/**
|
|
1545
|
-
* Workspace
|
|
1546
|
-
* @description Returns a workspace's daily
|
|
1545
|
+
* Workspace detection time series
|
|
1546
|
+
* @description Returns a workspace's daily detection activity over a date window: detections per day, plus each day's error rate and durations. Every day in the window is present (quiet days report detections: 0), so the series plots as a continuous line or a contribution-style calendar. The window is `from`/`to` (inclusive, YYYY-MM-DD); it defaults to the last 30 days and is capped at 366 days.
|
|
1547
1547
|
*/
|
|
1548
1548
|
get: {
|
|
1549
1549
|
parameters: {
|
|
@@ -1566,15 +1566,16 @@ interface paths {
|
|
|
1566
1566
|
requestBody?: never;
|
|
1567
1567
|
responses: {
|
|
1568
1568
|
/**
|
|
1569
|
-
* @description A workspace's daily
|
|
1570
|
-
* (quiet days included with `
|
|
1569
|
+
* @description A workspace's daily detection activity over a window: one point per day, dense
|
|
1570
|
+
* (quiet days included with `detections: 0`), ready to plot as a continuous
|
|
1571
|
+
* series.
|
|
1571
1572
|
*/
|
|
1572
1573
|
200: {
|
|
1573
1574
|
headers: {
|
|
1574
1575
|
[name: string]: unknown;
|
|
1575
1576
|
};
|
|
1576
1577
|
content: {
|
|
1577
|
-
"application/json": components["schemas"]["
|
|
1578
|
+
"application/json": components["schemas"]["DetectionTimeSeries"];
|
|
1578
1579
|
};
|
|
1579
1580
|
};
|
|
1580
1581
|
/**
|
|
@@ -4737,7 +4738,7 @@ interface paths {
|
|
|
4737
4738
|
};
|
|
4738
4739
|
trace?: never;
|
|
4739
4740
|
};
|
|
4740
|
-
"/workspaces/{workspaceSlug}/pipelines/
|
|
4741
|
+
"/workspaces/{workspaceSlug}/pipelines/detections/": {
|
|
4741
4742
|
parameters: {
|
|
4742
4743
|
query?: never;
|
|
4743
4744
|
header?: never;
|
|
@@ -4745,8 +4746,8 @@ interface paths {
|
|
|
4745
4746
|
cookie?: never;
|
|
4746
4747
|
};
|
|
4747
4748
|
/**
|
|
4748
|
-
* List workspace
|
|
4749
|
-
* @description Returns all
|
|
4749
|
+
* List workspace detections
|
|
4750
|
+
* @description Returns all detections across the workspace, most recent first, with optional status, file, pipeline, trigger-account, and trigger-type filters.
|
|
4750
4751
|
*/
|
|
4751
4752
|
get: {
|
|
4752
4753
|
parameters: {
|
|
@@ -4764,15 +4765,15 @@ interface paths {
|
|
|
4764
4765
|
includeCount?: boolean;
|
|
4765
4766
|
/** @description The maximum number of records to return (1-100, default: 20). */
|
|
4766
4767
|
limit?: number;
|
|
4767
|
-
/** @description Filter by the source file the
|
|
4768
|
+
/** @description Filter by the source file the detection analyzes. */
|
|
4768
4769
|
fileId?: string;
|
|
4769
4770
|
/** @description Filter by the owning pipeline. */
|
|
4770
4771
|
pipelineId?: string;
|
|
4771
|
-
/** @description Filter by
|
|
4772
|
-
status?: components["schemas"]["
|
|
4773
|
-
/** @description Filter by how the
|
|
4772
|
+
/** @description Filter by detection status. */
|
|
4773
|
+
status?: components["schemas"]["DetectionStatus"];
|
|
4774
|
+
/** @description Filter by how the detection was initiated (user vs system). */
|
|
4774
4775
|
triggerType?: components["schemas"]["PipelineTriggerType"];
|
|
4775
|
-
/** @description Filter by the account that triggered the
|
|
4776
|
+
/** @description Filter by the account that triggered the detection. */
|
|
4776
4777
|
triggeredBy?: string;
|
|
4777
4778
|
};
|
|
4778
4779
|
header?: never;
|
|
@@ -4796,7 +4797,7 @@ interface paths {
|
|
|
4796
4797
|
[name: string]: unknown;
|
|
4797
4798
|
};
|
|
4798
4799
|
content: {
|
|
4799
|
-
"application/json": components["schemas"]["
|
|
4800
|
+
"application/json": components["schemas"]["DetectionPage"];
|
|
4800
4801
|
};
|
|
4801
4802
|
};
|
|
4802
4803
|
/**
|
|
@@ -4854,7 +4855,7 @@ interface paths {
|
|
|
4854
4855
|
patch?: never;
|
|
4855
4856
|
trace?: never;
|
|
4856
4857
|
};
|
|
4857
|
-
"/workspaces/{workspaceSlug}/pipelines/{pipelineSlug}/
|
|
4858
|
+
"/workspaces/{workspaceSlug}/pipelines/{pipelineSlug}/detections/": {
|
|
4858
4859
|
parameters: {
|
|
4859
4860
|
query?: never;
|
|
4860
4861
|
header?: never;
|
|
@@ -4862,8 +4863,8 @@ interface paths {
|
|
|
4862
4863
|
cookie?: never;
|
|
4863
4864
|
};
|
|
4864
4865
|
/**
|
|
4865
|
-
* List pipeline
|
|
4866
|
-
* @description Returns
|
|
4866
|
+
* List pipeline detections
|
|
4867
|
+
* @description Returns detections for a specific pipeline, most recent first, with optional status, file, trigger-account, and trigger-type filters.
|
|
4867
4868
|
*/
|
|
4868
4869
|
get: {
|
|
4869
4870
|
parameters: {
|
|
@@ -4881,13 +4882,13 @@ interface paths {
|
|
|
4881
4882
|
includeCount?: boolean;
|
|
4882
4883
|
/** @description The maximum number of records to return (1-100, default: 20). */
|
|
4883
4884
|
limit?: number;
|
|
4884
|
-
/** @description Filter by the source file the
|
|
4885
|
+
/** @description Filter by the source file the detection analyzes. */
|
|
4885
4886
|
fileId?: string;
|
|
4886
|
-
/** @description Filter by
|
|
4887
|
-
status?: components["schemas"]["
|
|
4888
|
-
/** @description Filter by how the
|
|
4887
|
+
/** @description Filter by detection status. */
|
|
4888
|
+
status?: components["schemas"]["DetectionStatus"];
|
|
4889
|
+
/** @description Filter by how the detection was initiated (user vs system). */
|
|
4889
4890
|
triggerType?: components["schemas"]["PipelineTriggerType"];
|
|
4890
|
-
/** @description Filter by the account that triggered the
|
|
4891
|
+
/** @description Filter by the account that triggered the detection. */
|
|
4891
4892
|
triggeredBy?: string;
|
|
4892
4893
|
};
|
|
4893
4894
|
header?: never;
|
|
@@ -4913,7 +4914,7 @@ interface paths {
|
|
|
4913
4914
|
[name: string]: unknown;
|
|
4914
4915
|
};
|
|
4915
4916
|
content: {
|
|
4916
|
-
"application/json": components["schemas"]["
|
|
4917
|
+
"application/json": components["schemas"]["DetectionPage"];
|
|
4917
4918
|
};
|
|
4918
4919
|
};
|
|
4919
4920
|
/**
|
|
@@ -4965,8 +4966,8 @@ interface paths {
|
|
|
4965
4966
|
};
|
|
4966
4967
|
put?: never;
|
|
4967
4968
|
/**
|
|
4968
|
-
* Start a
|
|
4969
|
-
* @description Starts
|
|
4969
|
+
* Start a detection
|
|
4970
|
+
* @description Starts analysis for a file and returns 202 with the detection in the `pending` state; the analysis runs in the background. Watch the detection's status via the SSE stream at `.../detections/{detectionId}/events` (or re-read the detection) and fetch the findings from `.../detections/{detectionId}/analysis/` once it reaches `complete`. A repeated Idempotency-Key returns the existing detection.
|
|
4970
4971
|
*/
|
|
4971
4972
|
post: {
|
|
4972
4973
|
parameters: {
|
|
@@ -4981,43 +4982,47 @@ interface paths {
|
|
|
4981
4982
|
cookie?: never;
|
|
4982
4983
|
};
|
|
4983
4984
|
/**
|
|
4984
|
-
* @description Request payload to start a
|
|
4985
|
+
* @description Request payload to start a detection over a file.
|
|
4985
4986
|
*
|
|
4986
|
-
* Analyzes the file with the pipeline's configuration and returns the
|
|
4987
|
-
* which holds the findings for review before redaction.
|
|
4987
|
+
* Analyzes the file with the pipeline's configuration and returns the
|
|
4988
|
+
* detection, which holds the findings for review before redaction.
|
|
4988
4989
|
*/
|
|
4989
4990
|
requestBody: {
|
|
4990
4991
|
content: {
|
|
4991
|
-
"application/json": components["schemas"]["
|
|
4992
|
+
"application/json": components["schemas"]["CreateDetection"];
|
|
4992
4993
|
};
|
|
4993
4994
|
};
|
|
4994
4995
|
responses: {
|
|
4995
4996
|
/**
|
|
4996
|
-
* @description Response type for a
|
|
4997
|
+
* @description Response type for a detection.
|
|
4997
4998
|
*
|
|
4998
|
-
* A
|
|
4999
|
-
* slugs are carried for context.
|
|
4999
|
+
* A detection is addressed by its own opaque id; the owning pipeline and
|
|
5000
|
+
* workspace slugs are carried for context. Redacted outputs are not here — a
|
|
5001
|
+
* detection produces many redactions, each fetched from its `redactions`
|
|
5002
|
+
* endpoint.
|
|
5000
5003
|
*/
|
|
5001
5004
|
200: {
|
|
5002
5005
|
headers: {
|
|
5003
5006
|
[name: string]: unknown;
|
|
5004
5007
|
};
|
|
5005
5008
|
content: {
|
|
5006
|
-
"application/json": components["schemas"]["
|
|
5009
|
+
"application/json": components["schemas"]["Detection"];
|
|
5007
5010
|
};
|
|
5008
5011
|
};
|
|
5009
5012
|
/**
|
|
5010
|
-
* @description Response type for a
|
|
5013
|
+
* @description Response type for a detection.
|
|
5011
5014
|
*
|
|
5012
|
-
* A
|
|
5013
|
-
* slugs are carried for context.
|
|
5015
|
+
* A detection is addressed by its own opaque id; the owning pipeline and
|
|
5016
|
+
* workspace slugs are carried for context. Redacted outputs are not here — a
|
|
5017
|
+
* detection produces many redactions, each fetched from its `redactions`
|
|
5018
|
+
* endpoint.
|
|
5014
5019
|
*/
|
|
5015
5020
|
202: {
|
|
5016
5021
|
headers: {
|
|
5017
5022
|
[name: string]: unknown;
|
|
5018
5023
|
};
|
|
5019
5024
|
content: {
|
|
5020
|
-
"application/json": components["schemas"]["
|
|
5025
|
+
"application/json": components["schemas"]["Detection"];
|
|
5021
5026
|
};
|
|
5022
5027
|
};
|
|
5023
5028
|
/**
|
|
@@ -5121,7 +5126,7 @@ interface paths {
|
|
|
5121
5126
|
patch?: never;
|
|
5122
5127
|
trace?: never;
|
|
5123
5128
|
};
|
|
5124
|
-
"/workspaces/{workspaceSlug}/
|
|
5129
|
+
"/workspaces/{workspaceSlug}/detections/{detectionId}/": {
|
|
5125
5130
|
parameters: {
|
|
5126
5131
|
query?: never;
|
|
5127
5132
|
header?: never;
|
|
@@ -5129,8 +5134,8 @@ interface paths {
|
|
|
5129
5134
|
cookie?: never;
|
|
5130
5135
|
};
|
|
5131
5136
|
/**
|
|
5132
|
-
* Get
|
|
5133
|
-
* @description Returns the
|
|
5137
|
+
* Get detection
|
|
5138
|
+
* @description Returns the detection and its status for review.
|
|
5134
5139
|
*/
|
|
5135
5140
|
get: {
|
|
5136
5141
|
parameters: {
|
|
@@ -5139,25 +5144,27 @@ interface paths {
|
|
|
5139
5144
|
path: {
|
|
5140
5145
|
/** @description URL-safe workspace identifier. */
|
|
5141
5146
|
workspaceSlug: string;
|
|
5142
|
-
/** @description Opaque identifier of the
|
|
5143
|
-
|
|
5147
|
+
/** @description Opaque identifier of the detection. */
|
|
5148
|
+
detectionId: components["schemas"]["DetectionId"];
|
|
5144
5149
|
};
|
|
5145
5150
|
cookie?: never;
|
|
5146
5151
|
};
|
|
5147
5152
|
requestBody?: never;
|
|
5148
5153
|
responses: {
|
|
5149
5154
|
/**
|
|
5150
|
-
* @description Response type for a
|
|
5155
|
+
* @description Response type for a detection.
|
|
5151
5156
|
*
|
|
5152
|
-
* A
|
|
5153
|
-
* slugs are carried for context.
|
|
5157
|
+
* A detection is addressed by its own opaque id; the owning pipeline and
|
|
5158
|
+
* workspace slugs are carried for context. Redacted outputs are not here — a
|
|
5159
|
+
* detection produces many redactions, each fetched from its `redactions`
|
|
5160
|
+
* endpoint.
|
|
5154
5161
|
*/
|
|
5155
5162
|
200: {
|
|
5156
5163
|
headers: {
|
|
5157
5164
|
[name: string]: unknown;
|
|
5158
5165
|
};
|
|
5159
5166
|
content: {
|
|
5160
|
-
"application/json": components["schemas"]["
|
|
5167
|
+
"application/json": components["schemas"]["Detection"];
|
|
5161
5168
|
};
|
|
5162
5169
|
};
|
|
5163
5170
|
/**
|
|
@@ -5215,7 +5222,7 @@ interface paths {
|
|
|
5215
5222
|
patch?: never;
|
|
5216
5223
|
trace?: never;
|
|
5217
5224
|
};
|
|
5218
|
-
"/workspaces/{workspaceSlug}/
|
|
5225
|
+
"/workspaces/{workspaceSlug}/detections/{detectionId}/events/": {
|
|
5219
5226
|
parameters: {
|
|
5220
5227
|
query?: never;
|
|
5221
5228
|
header?: never;
|
|
@@ -5223,8 +5230,8 @@ interface paths {
|
|
|
5223
5230
|
cookie?: never;
|
|
5224
5231
|
};
|
|
5225
5232
|
/**
|
|
5226
|
-
* Stream
|
|
5227
|
-
* @description Opens a Server-Sent Events stream of the
|
|
5233
|
+
* Stream detection status
|
|
5234
|
+
* @description Opens a Server-Sent Events stream of the detection's status changes. Emits the current status immediately, then each transition, and ends once the detection settles (complete or failed). Each event's `data` is a `DetectionStatusEvent` (see the response schema). Authenticate with a Bearer token via a `fetch`-based client; the native `EventSource` cannot send an `Authorization` header.
|
|
5228
5235
|
*/
|
|
5229
5236
|
get: {
|
|
5230
5237
|
parameters: {
|
|
@@ -5233,8 +5240,8 @@ interface paths {
|
|
|
5233
5240
|
path: {
|
|
5234
5241
|
/** @description URL-safe workspace identifier. */
|
|
5235
5242
|
workspaceSlug: string;
|
|
5236
|
-
/** @description Opaque identifier of the
|
|
5237
|
-
|
|
5243
|
+
/** @description Opaque identifier of the detection. */
|
|
5244
|
+
detectionId: components["schemas"]["DetectionId"];
|
|
5238
5245
|
};
|
|
5239
5246
|
cookie?: never;
|
|
5240
5247
|
};
|
|
@@ -5246,7 +5253,7 @@ interface paths {
|
|
|
5246
5253
|
[name: string]: unknown;
|
|
5247
5254
|
};
|
|
5248
5255
|
content: {
|
|
5249
|
-
"text/event-stream": components["schemas"]["
|
|
5256
|
+
"text/event-stream": components["schemas"]["DetectionStatusEvent"];
|
|
5250
5257
|
};
|
|
5251
5258
|
};
|
|
5252
5259
|
/**
|
|
@@ -5304,18 +5311,111 @@ interface paths {
|
|
|
5304
5311
|
patch?: never;
|
|
5305
5312
|
trace?: never;
|
|
5306
5313
|
};
|
|
5307
|
-
"/workspaces/{workspaceSlug}/
|
|
5314
|
+
"/workspaces/{workspaceSlug}/detections/{detectionId}/redactions/": {
|
|
5308
5315
|
parameters: {
|
|
5309
5316
|
query?: never;
|
|
5310
5317
|
header?: never;
|
|
5311
5318
|
path?: never;
|
|
5312
5319
|
cookie?: never;
|
|
5313
5320
|
};
|
|
5314
|
-
|
|
5321
|
+
/**
|
|
5322
|
+
* List detection redactions
|
|
5323
|
+
* @description Returns a detection's redactions, most recent first, cursor-paginated. Each redaction is one redact pass with its own reviewer edits, output document, and review audit.
|
|
5324
|
+
*/
|
|
5325
|
+
get: {
|
|
5326
|
+
parameters: {
|
|
5327
|
+
query?: {
|
|
5328
|
+
/**
|
|
5329
|
+
* @description Cursor pointing to the last item of the previous page.
|
|
5330
|
+
* Obtain this from the `nextCursor` field in the response.
|
|
5331
|
+
*/
|
|
5332
|
+
after?: string;
|
|
5333
|
+
/**
|
|
5334
|
+
* @description Whether to include the total item count in the response's `total` field.
|
|
5335
|
+
* Defaults to `false`, since counting is an extra query; set it to `true`
|
|
5336
|
+
* only when the count is actually needed.
|
|
5337
|
+
*/
|
|
5338
|
+
includeCount?: boolean;
|
|
5339
|
+
/** @description The maximum number of records to return (1-100, default: 20). */
|
|
5340
|
+
limit?: number;
|
|
5341
|
+
};
|
|
5342
|
+
header?: never;
|
|
5343
|
+
path: {
|
|
5344
|
+
/** @description URL-safe workspace identifier. */
|
|
5345
|
+
workspaceSlug: string;
|
|
5346
|
+
/** @description Opaque identifier of the detection. */
|
|
5347
|
+
detectionId: components["schemas"]["DetectionId"];
|
|
5348
|
+
};
|
|
5349
|
+
cookie?: never;
|
|
5350
|
+
};
|
|
5351
|
+
requestBody?: never;
|
|
5352
|
+
responses: {
|
|
5353
|
+
/**
|
|
5354
|
+
* @description Generic paginated response wrapper.
|
|
5355
|
+
*
|
|
5356
|
+
* Provides a consistent structure for all paginated API responses with
|
|
5357
|
+
* cursor-based pagination support. When `next_cursor` is present, there
|
|
5358
|
+
* are more items to fetch.
|
|
5359
|
+
*/
|
|
5360
|
+
200: {
|
|
5361
|
+
headers: {
|
|
5362
|
+
[name: string]: unknown;
|
|
5363
|
+
};
|
|
5364
|
+
content: {
|
|
5365
|
+
"application/json": components["schemas"]["RedactionResultPage"];
|
|
5366
|
+
};
|
|
5367
|
+
};
|
|
5368
|
+
/**
|
|
5369
|
+
* @description HTTP error response representation with security-conscious design.
|
|
5370
|
+
*
|
|
5371
|
+
* This struct contains all the information needed to serialize an error
|
|
5372
|
+
* response, including the error name, message, HTTP status code, resource
|
|
5373
|
+
* information, and user-friendly messages.
|
|
5374
|
+
*/
|
|
5375
|
+
401: {
|
|
5376
|
+
headers: {
|
|
5377
|
+
[name: string]: unknown;
|
|
5378
|
+
};
|
|
5379
|
+
content: {
|
|
5380
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5381
|
+
};
|
|
5382
|
+
};
|
|
5383
|
+
/**
|
|
5384
|
+
* @description HTTP error response representation with security-conscious design.
|
|
5385
|
+
*
|
|
5386
|
+
* This struct contains all the information needed to serialize an error
|
|
5387
|
+
* response, including the error name, message, HTTP status code, resource
|
|
5388
|
+
* information, and user-friendly messages.
|
|
5389
|
+
*/
|
|
5390
|
+
403: {
|
|
5391
|
+
headers: {
|
|
5392
|
+
[name: string]: unknown;
|
|
5393
|
+
};
|
|
5394
|
+
content: {
|
|
5395
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5396
|
+
};
|
|
5397
|
+
};
|
|
5398
|
+
/**
|
|
5399
|
+
* @description HTTP error response representation with security-conscious design.
|
|
5400
|
+
*
|
|
5401
|
+
* This struct contains all the information needed to serialize an error
|
|
5402
|
+
* response, including the error name, message, HTTP status code, resource
|
|
5403
|
+
* information, and user-friendly messages.
|
|
5404
|
+
*/
|
|
5405
|
+
404: {
|
|
5406
|
+
headers: {
|
|
5407
|
+
[name: string]: unknown;
|
|
5408
|
+
};
|
|
5409
|
+
content: {
|
|
5410
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5411
|
+
};
|
|
5412
|
+
};
|
|
5413
|
+
};
|
|
5414
|
+
};
|
|
5315
5415
|
put?: never;
|
|
5316
5416
|
/**
|
|
5317
|
-
* Redact a
|
|
5318
|
-
* @description Applies the pipeline's policies to the
|
|
5417
|
+
* Redact a detection
|
|
5418
|
+
* @description Applies the pipeline's policies to the detection's stored analysis — with any reviewer `edits` layered on first (suppress a false positive, retag a detection, or add one the analysis missed) — and produces a new redaction: a redacted document plus a review audit recording what was redacted. A detection can be redacted more than once. An edit targeting a detection not in the analysis, or a set that contradicts itself, is rejected (400).
|
|
5319
5419
|
*/
|
|
5320
5420
|
post: {
|
|
5321
5421
|
parameters: {
|
|
@@ -5324,25 +5424,58 @@ interface paths {
|
|
|
5324
5424
|
path: {
|
|
5325
5425
|
/** @description URL-safe workspace identifier. */
|
|
5326
5426
|
workspaceSlug: string;
|
|
5327
|
-
/** @description Opaque identifier of the
|
|
5328
|
-
|
|
5427
|
+
/** @description Opaque identifier of the detection. */
|
|
5428
|
+
detectionId: components["schemas"]["DetectionId"];
|
|
5329
5429
|
};
|
|
5330
5430
|
cookie?: never;
|
|
5331
5431
|
};
|
|
5332
|
-
|
|
5432
|
+
/**
|
|
5433
|
+
* @description Request payload to redact a detection.
|
|
5434
|
+
*
|
|
5435
|
+
* The reviewer's edits layer over the detection's analysis before redaction:
|
|
5436
|
+
* suppress a false positive, retag a detection, or add one the analysis missed.
|
|
5437
|
+
* Omit `edits` to redact with the policy decisions exactly as detected. Each
|
|
5438
|
+
* redact request produces a new redaction.
|
|
5439
|
+
*/
|
|
5440
|
+
requestBody: {
|
|
5441
|
+
content: {
|
|
5442
|
+
"application/json": components["schemas"]["RedactDetection"];
|
|
5443
|
+
};
|
|
5444
|
+
};
|
|
5333
5445
|
responses: {
|
|
5334
5446
|
/**
|
|
5335
|
-
* @description Response type for a
|
|
5447
|
+
* @description Response type for a redaction.
|
|
5336
5448
|
*
|
|
5337
|
-
* A
|
|
5338
|
-
*
|
|
5449
|
+
* A redaction is one redact pass over a detection, produced with a specific set
|
|
5450
|
+
* of reviewer edits. It owns the redacted output document (downloadable through
|
|
5451
|
+
* the normal file endpoints) and a review audit recording what was redacted and
|
|
5452
|
+
* why (fetched from the redaction's `review` endpoint).
|
|
5453
|
+
*
|
|
5454
|
+
* Named `RedactionResult` rather than `Redaction` because the engine's audit
|
|
5455
|
+
* schema already carries a `Redaction` (an audit event), and the two must not
|
|
5456
|
+
* collide in the generated OpenAPI.
|
|
5339
5457
|
*/
|
|
5340
|
-
|
|
5458
|
+
201: {
|
|
5459
|
+
headers: {
|
|
5460
|
+
[name: string]: unknown;
|
|
5461
|
+
};
|
|
5462
|
+
content: {
|
|
5463
|
+
"application/json": components["schemas"]["RedactionResult"];
|
|
5464
|
+
};
|
|
5465
|
+
};
|
|
5466
|
+
/**
|
|
5467
|
+
* @description HTTP error response representation with security-conscious design.
|
|
5468
|
+
*
|
|
5469
|
+
* This struct contains all the information needed to serialize an error
|
|
5470
|
+
* response, including the error name, message, HTTP status code, resource
|
|
5471
|
+
* information, and user-friendly messages.
|
|
5472
|
+
*/
|
|
5473
|
+
400: {
|
|
5341
5474
|
headers: {
|
|
5342
5475
|
[name: string]: unknown;
|
|
5343
5476
|
};
|
|
5344
5477
|
content: {
|
|
5345
|
-
"application/json": components["schemas"]["
|
|
5478
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5346
5479
|
};
|
|
5347
5480
|
};
|
|
5348
5481
|
/**
|
|
@@ -5405,6 +5538,24 @@ interface paths {
|
|
|
5405
5538
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
5406
5539
|
};
|
|
5407
5540
|
};
|
|
5541
|
+
/** @description Expected request with `Content-Type: application/json` */
|
|
5542
|
+
415: {
|
|
5543
|
+
headers: {
|
|
5544
|
+
[name: string]: unknown;
|
|
5545
|
+
};
|
|
5546
|
+
content: {
|
|
5547
|
+
"text/plain": string;
|
|
5548
|
+
};
|
|
5549
|
+
};
|
|
5550
|
+
/** @description Failed to deserialize the JSON body into the target type */
|
|
5551
|
+
422: {
|
|
5552
|
+
headers: {
|
|
5553
|
+
[name: string]: unknown;
|
|
5554
|
+
};
|
|
5555
|
+
content: {
|
|
5556
|
+
"text/plain": string;
|
|
5557
|
+
};
|
|
5558
|
+
};
|
|
5408
5559
|
};
|
|
5409
5560
|
};
|
|
5410
5561
|
delete?: never;
|
|
@@ -5413,7 +5564,7 @@ interface paths {
|
|
|
5413
5564
|
patch?: never;
|
|
5414
5565
|
trace?: never;
|
|
5415
5566
|
};
|
|
5416
|
-
"/workspaces/{workspaceSlug}/
|
|
5567
|
+
"/workspaces/{workspaceSlug}/detections/{detectionId}/analysis/": {
|
|
5417
5568
|
parameters: {
|
|
5418
5569
|
query?: never;
|
|
5419
5570
|
header?: never;
|
|
@@ -5421,8 +5572,8 @@ interface paths {
|
|
|
5421
5572
|
cookie?: never;
|
|
5422
5573
|
};
|
|
5423
5574
|
/**
|
|
5424
|
-
* Get
|
|
5425
|
-
* @description Returns the
|
|
5575
|
+
* Get detection findings
|
|
5576
|
+
* @description Returns the detection's detected findings (the analyzed document) for review.
|
|
5426
5577
|
*/
|
|
5427
5578
|
get: {
|
|
5428
5579
|
parameters: {
|
|
@@ -5431,21 +5582,25 @@ interface paths {
|
|
|
5431
5582
|
path: {
|
|
5432
5583
|
/** @description URL-safe workspace identifier. */
|
|
5433
5584
|
workspaceSlug: string;
|
|
5434
|
-
/** @description Opaque identifier of the
|
|
5435
|
-
|
|
5585
|
+
/** @description Opaque identifier of the detection. */
|
|
5586
|
+
detectionId: components["schemas"]["DetectionId"];
|
|
5436
5587
|
};
|
|
5437
5588
|
cookie?: never;
|
|
5438
5589
|
};
|
|
5439
5590
|
requestBody?: never;
|
|
5440
5591
|
responses: {
|
|
5441
5592
|
/**
|
|
5442
|
-
* @description What detection found in one document
|
|
5443
|
-
* decided about it.
|
|
5593
|
+
* @description What detection found in one document.
|
|
5444
5594
|
*
|
|
5445
|
-
* Wraps elide's [`Report`] with the
|
|
5446
|
-
*
|
|
5447
|
-
*
|
|
5448
|
-
*
|
|
5595
|
+
* Wraps elide's [`Report`] with the things elide does not model:
|
|
5596
|
+
* the recognition [`DocumentContext`] the entities were scored
|
|
5597
|
+
* against, how the document decoded, and what the pass cost.
|
|
5598
|
+
*
|
|
5599
|
+
* Reviewer edits are not here. They are the caller's own input,
|
|
5600
|
+
* applied to the report before anonymize
|
|
5601
|
+
* ([`EditSet::apply`](crate::entity::EditSet::apply)), so an audit
|
|
5602
|
+
* carries what analysis found *as amended* rather than the
|
|
5603
|
+
* amendments themselves.
|
|
5449
5604
|
*
|
|
5450
5605
|
* # Serialization
|
|
5451
5606
|
*
|
|
@@ -5457,10 +5612,10 @@ interface paths {
|
|
|
5457
5612
|
* # Schema
|
|
5458
5613
|
*
|
|
5459
5614
|
* Generate under the **serialize** contract
|
|
5460
|
-
* ([`SchemaSettings::for_serialize`]). `
|
|
5461
|
-
* `skip_serializing_if`, and only that contract marks
|
|
5462
|
-
*
|
|
5463
|
-
*
|
|
5615
|
+
* ([`SchemaSettings::for_serialize`]). `usage` is
|
|
5616
|
+
* `skip_serializing_if`, and only that contract marks it optional
|
|
5617
|
+
* — `schema_for!` defaults to deserialize and declares it
|
|
5618
|
+
* required, so a generated client would reject responses this
|
|
5464
5619
|
* crate really emits.
|
|
5465
5620
|
*
|
|
5466
5621
|
* [`Engine`]: super::Engine
|
|
@@ -5546,7 +5701,7 @@ interface paths {
|
|
|
5546
5701
|
patch?: never;
|
|
5547
5702
|
trace?: never;
|
|
5548
5703
|
};
|
|
5549
|
-
"/workspaces/{workspaceSlug}/
|
|
5704
|
+
"/workspaces/{workspaceSlug}/detections/{detectionId}/audit/": {
|
|
5550
5705
|
parameters: {
|
|
5551
5706
|
query?: never;
|
|
5552
5707
|
header?: never;
|
|
@@ -5554,8 +5709,8 @@ interface paths {
|
|
|
5554
5709
|
cookie?: never;
|
|
5555
5710
|
};
|
|
5556
5711
|
/**
|
|
5557
|
-
* Download
|
|
5558
|
-
* @description Downloads the
|
|
5712
|
+
* Download detection audit
|
|
5713
|
+
* @description Downloads the detection's audit as a file. `format` is `csv` (default) — a zip of entities.csv, provenance.csv, and reviews.csv — or `json`, a pretty-printed JSON file.
|
|
5559
5714
|
*/
|
|
5560
5715
|
get: {
|
|
5561
5716
|
parameters: {
|
|
@@ -5567,14 +5722,14 @@ interface paths {
|
|
|
5567
5722
|
path: {
|
|
5568
5723
|
/** @description URL-safe workspace identifier. */
|
|
5569
5724
|
workspaceSlug: string;
|
|
5570
|
-
/** @description Opaque identifier of the
|
|
5571
|
-
|
|
5725
|
+
/** @description Opaque identifier of the detection. */
|
|
5726
|
+
detectionId: components["schemas"]["DetectionId"];
|
|
5572
5727
|
};
|
|
5573
5728
|
cookie?: never;
|
|
5574
5729
|
};
|
|
5575
5730
|
requestBody?: never;
|
|
5576
5731
|
responses: {
|
|
5577
|
-
/** @description The
|
|
5732
|
+
/** @description The detection's exported audit. */
|
|
5578
5733
|
200: {
|
|
5579
5734
|
headers: {
|
|
5580
5735
|
[name: string]: unknown;
|
|
@@ -5654,6 +5809,143 @@ interface paths {
|
|
|
5654
5809
|
patch?: never;
|
|
5655
5810
|
trace?: never;
|
|
5656
5811
|
};
|
|
5812
|
+
"/workspaces/{workspaceSlug}/redactions/{redactionId}/review": {
|
|
5813
|
+
parameters: {
|
|
5814
|
+
query?: never;
|
|
5815
|
+
header?: never;
|
|
5816
|
+
path?: never;
|
|
5817
|
+
cookie?: never;
|
|
5818
|
+
};
|
|
5819
|
+
/**
|
|
5820
|
+
* Get redaction review
|
|
5821
|
+
* @description Returns the redaction's review audit: the detection analysis with the reviewer's edits applied and the per-entity redaction outcome recorded.
|
|
5822
|
+
*/
|
|
5823
|
+
get: {
|
|
5824
|
+
parameters: {
|
|
5825
|
+
query?: never;
|
|
5826
|
+
header?: never;
|
|
5827
|
+
path: {
|
|
5828
|
+
/** @description URL-safe workspace identifier. */
|
|
5829
|
+
workspaceSlug: string;
|
|
5830
|
+
/** @description Opaque identifier of the redaction. */
|
|
5831
|
+
redactionId: components["schemas"]["RedactionId"];
|
|
5832
|
+
};
|
|
5833
|
+
cookie?: never;
|
|
5834
|
+
};
|
|
5835
|
+
requestBody?: never;
|
|
5836
|
+
responses: {
|
|
5837
|
+
/**
|
|
5838
|
+
* @description What detection found in one document.
|
|
5839
|
+
*
|
|
5840
|
+
* Wraps elide's [`Report`] with the things elide does not model:
|
|
5841
|
+
* the recognition [`DocumentContext`] the entities were scored
|
|
5842
|
+
* against, how the document decoded, and what the pass cost.
|
|
5843
|
+
*
|
|
5844
|
+
* Reviewer edits are not here. They are the caller's own input,
|
|
5845
|
+
* applied to the report before anonymize
|
|
5846
|
+
* ([`EditSet::apply`](crate::entity::EditSet::apply)), so an audit
|
|
5847
|
+
* carries what analysis found *as amended* rather than the
|
|
5848
|
+
* amendments themselves.
|
|
5849
|
+
*
|
|
5850
|
+
* # Serialization
|
|
5851
|
+
*
|
|
5852
|
+
* [`Serialize`] but deliberately **not** `Deserialize`: a
|
|
5853
|
+
* serialized report tags entity groups by modality *name*, so
|
|
5854
|
+
* rebuilding one needs the registry [`Engine`] holds. Read an
|
|
5855
|
+
* audit back with [`Engine::deserialize_audit`].
|
|
5856
|
+
*
|
|
5857
|
+
* # Schema
|
|
5858
|
+
*
|
|
5859
|
+
* Generate under the **serialize** contract
|
|
5860
|
+
* ([`SchemaSettings::for_serialize`]). `usage` is
|
|
5861
|
+
* `skip_serializing_if`, and only that contract marks it optional
|
|
5862
|
+
* — `schema_for!` defaults to deserialize and declares it
|
|
5863
|
+
* required, so a generated client would reject responses this
|
|
5864
|
+
* crate really emits.
|
|
5865
|
+
*
|
|
5866
|
+
* [`Engine`]: super::Engine
|
|
5867
|
+
* [`Engine::deserialize_audit`]: super::Engine::deserialize_audit
|
|
5868
|
+
* [`Report`]: elide::Report
|
|
5869
|
+
* [`SchemaSettings::for_serialize`]: schemars::generate::SchemaSettings::for_serialize
|
|
5870
|
+
*/
|
|
5871
|
+
200: {
|
|
5872
|
+
headers: {
|
|
5873
|
+
[name: string]: unknown;
|
|
5874
|
+
};
|
|
5875
|
+
content: {
|
|
5876
|
+
"application/json": components["schemas"]["Audit"];
|
|
5877
|
+
};
|
|
5878
|
+
};
|
|
5879
|
+
/**
|
|
5880
|
+
* @description HTTP error response representation with security-conscious design.
|
|
5881
|
+
*
|
|
5882
|
+
* This struct contains all the information needed to serialize an error
|
|
5883
|
+
* response, including the error name, message, HTTP status code, resource
|
|
5884
|
+
* information, and user-friendly messages.
|
|
5885
|
+
*/
|
|
5886
|
+
401: {
|
|
5887
|
+
headers: {
|
|
5888
|
+
[name: string]: unknown;
|
|
5889
|
+
};
|
|
5890
|
+
content: {
|
|
5891
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5892
|
+
};
|
|
5893
|
+
};
|
|
5894
|
+
/**
|
|
5895
|
+
* @description HTTP error response representation with security-conscious design.
|
|
5896
|
+
*
|
|
5897
|
+
* This struct contains all the information needed to serialize an error
|
|
5898
|
+
* response, including the error name, message, HTTP status code, resource
|
|
5899
|
+
* information, and user-friendly messages.
|
|
5900
|
+
*/
|
|
5901
|
+
403: {
|
|
5902
|
+
headers: {
|
|
5903
|
+
[name: string]: unknown;
|
|
5904
|
+
};
|
|
5905
|
+
content: {
|
|
5906
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5907
|
+
};
|
|
5908
|
+
};
|
|
5909
|
+
/**
|
|
5910
|
+
* @description HTTP error response representation with security-conscious design.
|
|
5911
|
+
*
|
|
5912
|
+
* This struct contains all the information needed to serialize an error
|
|
5913
|
+
* response, including the error name, message, HTTP status code, resource
|
|
5914
|
+
* information, and user-friendly messages.
|
|
5915
|
+
*/
|
|
5916
|
+
404: {
|
|
5917
|
+
headers: {
|
|
5918
|
+
[name: string]: unknown;
|
|
5919
|
+
};
|
|
5920
|
+
content: {
|
|
5921
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5922
|
+
};
|
|
5923
|
+
};
|
|
5924
|
+
/**
|
|
5925
|
+
* @description HTTP error response representation with security-conscious design.
|
|
5926
|
+
*
|
|
5927
|
+
* This struct contains all the information needed to serialize an error
|
|
5928
|
+
* response, including the error name, message, HTTP status code, resource
|
|
5929
|
+
* information, and user-friendly messages.
|
|
5930
|
+
*/
|
|
5931
|
+
409: {
|
|
5932
|
+
headers: {
|
|
5933
|
+
[name: string]: unknown;
|
|
5934
|
+
};
|
|
5935
|
+
content: {
|
|
5936
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5937
|
+
};
|
|
5938
|
+
};
|
|
5939
|
+
};
|
|
5940
|
+
};
|
|
5941
|
+
put?: never;
|
|
5942
|
+
post?: never;
|
|
5943
|
+
delete?: never;
|
|
5944
|
+
options?: never;
|
|
5945
|
+
head?: never;
|
|
5946
|
+
patch?: never;
|
|
5947
|
+
trace?: never;
|
|
5948
|
+
};
|
|
5657
5949
|
"/workspaces/{workspaceSlug}/policies/": {
|
|
5658
5950
|
parameters: {
|
|
5659
5951
|
query?: never;
|
|
@@ -8878,21 +9170,21 @@ interface components {
|
|
|
8878
9170
|
/** @constant */
|
|
8879
9171
|
type: "pipeline.deleted";
|
|
8880
9172
|
} | {
|
|
8881
|
-
data: components["schemas"]["
|
|
9173
|
+
data: components["schemas"]["DetectionActivityParams"];
|
|
8882
9174
|
/** @constant */
|
|
8883
|
-
type: "pipeline.
|
|
9175
|
+
type: "pipeline.detection.started";
|
|
8884
9176
|
} | {
|
|
8885
|
-
data: components["schemas"]["
|
|
9177
|
+
data: components["schemas"]["DetectionActivityParams"];
|
|
8886
9178
|
/** @constant */
|
|
8887
|
-
type: "pipeline.
|
|
9179
|
+
type: "pipeline.detection.completed";
|
|
8888
9180
|
} | {
|
|
8889
|
-
data: components["schemas"]["
|
|
9181
|
+
data: components["schemas"]["DetectionActivityParams"];
|
|
8890
9182
|
/** @constant */
|
|
8891
|
-
type: "pipeline.
|
|
9183
|
+
type: "pipeline.detection.failed";
|
|
8892
9184
|
} | {
|
|
8893
|
-
data: components["schemas"]["
|
|
9185
|
+
data: components["schemas"]["RedactionActivityParams"];
|
|
8894
9186
|
/** @constant */
|
|
8895
|
-
type: "pipeline.
|
|
9187
|
+
type: "pipeline.redaction.created";
|
|
8896
9188
|
} | {
|
|
8897
9189
|
data: components["schemas"]["PolicyActivityParams"];
|
|
8898
9190
|
/** @constant */
|
|
@@ -8913,7 +9205,7 @@ interface components {
|
|
|
8913
9205
|
* to categorize different types of activities that occur within workspaces for comprehensive
|
|
8914
9206
|
* audit trail and activity tracking.
|
|
8915
9207
|
*/
|
|
8916
|
-
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.
|
|
9208
|
+
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";
|
|
8917
9209
|
/** @description Anthropic API credentials. */
|
|
8918
9210
|
AnthropicCredentials: {
|
|
8919
9211
|
/** @description Anthropic API key. */
|
|
@@ -9268,10 +9560,7 @@ interface components {
|
|
|
9268
9560
|
} & components["schemas"]["AudioRetag"]) | ({
|
|
9269
9561
|
/** @constant */
|
|
9270
9562
|
op: "suppress";
|
|
9271
|
-
} & components["schemas"]["Suppress"])
|
|
9272
|
-
/** @constant */
|
|
9273
|
-
op: "redact";
|
|
9274
|
-
} & components["schemas"]["AudioRedact"]);
|
|
9563
|
+
} & components["schemas"]["Suppress"]);
|
|
9275
9564
|
/**
|
|
9276
9565
|
* @description Detected piece of sensitive information within some medium.
|
|
9277
9566
|
*
|
|
@@ -9438,37 +9727,6 @@ interface components {
|
|
|
9438
9727
|
/** @description Pattern metadata (name, regex, validator, contextual flag). */
|
|
9439
9728
|
pattern: components["schemas"]["PatternEvent"];
|
|
9440
9729
|
};
|
|
9441
|
-
/**
|
|
9442
|
-
* @description Redact this entity with `action` instead of the operator the
|
|
9443
|
-
* policy picked.
|
|
9444
|
-
*/
|
|
9445
|
-
AudioRedact: {
|
|
9446
|
-
/**
|
|
9447
|
-
* @description The operator to run, typed to the entity's own modality so a
|
|
9448
|
-
* text entity cannot be given an image operator.
|
|
9449
|
-
*/
|
|
9450
|
-
action: components["schemas"]["AudioRedaction"];
|
|
9451
|
-
/** @description Who made it, when the caller said. */
|
|
9452
|
-
actor?: string;
|
|
9453
|
-
/**
|
|
9454
|
-
* Format: uuid
|
|
9455
|
-
* @description The entity to redact.
|
|
9456
|
-
*/
|
|
9457
|
-
id: string;
|
|
9458
|
-
/**
|
|
9459
|
-
* Format: uuid
|
|
9460
|
-
* @description The policy whose authority the reviewer exercises. Must match
|
|
9461
|
-
* a submitted policy's `id`.
|
|
9462
|
-
*
|
|
9463
|
-
* Not only for audit: it picks which per-policy pseudonym vault
|
|
9464
|
-
* and `KeyProvider` the operator resolves against, so an
|
|
9465
|
-
* override using `Pseudonymize` or `HmacHash` stays consistent
|
|
9466
|
-
* with that policy's other rules.
|
|
9467
|
-
*/
|
|
9468
|
-
policyId: string;
|
|
9469
|
-
/** @description The rationale, when one was given. */
|
|
9470
|
-
reason?: string;
|
|
9471
|
-
};
|
|
9472
9730
|
/** @description Operator spec a `redact` audio rule carries. */
|
|
9473
9731
|
AudioRedaction: {
|
|
9474
9732
|
/** @constant */
|
|
@@ -9552,13 +9810,17 @@ interface components {
|
|
|
9552
9810
|
reason?: string;
|
|
9553
9811
|
};
|
|
9554
9812
|
/**
|
|
9555
|
-
* @description What detection found in one document
|
|
9556
|
-
*
|
|
9813
|
+
* @description What detection found in one document.
|
|
9814
|
+
*
|
|
9815
|
+
* Wraps elide's [`Report`] with the things elide does not model:
|
|
9816
|
+
* the recognition [`DocumentContext`] the entities were scored
|
|
9817
|
+
* against, how the document decoded, and what the pass cost.
|
|
9557
9818
|
*
|
|
9558
|
-
*
|
|
9559
|
-
*
|
|
9560
|
-
*
|
|
9561
|
-
*
|
|
9819
|
+
* Reviewer edits are not here. They are the caller's own input,
|
|
9820
|
+
* applied to the report before anonymize
|
|
9821
|
+
* ([`EditSet::apply`](crate::entity::EditSet::apply)), so an audit
|
|
9822
|
+
* carries what analysis found *as amended* rather than the
|
|
9823
|
+
* amendments themselves.
|
|
9562
9824
|
*
|
|
9563
9825
|
* # Serialization
|
|
9564
9826
|
*
|
|
@@ -9570,10 +9832,10 @@ interface components {
|
|
|
9570
9832
|
* # Schema
|
|
9571
9833
|
*
|
|
9572
9834
|
* Generate under the **serialize** contract
|
|
9573
|
-
* ([`SchemaSettings::for_serialize`]). `
|
|
9574
|
-
* `skip_serializing_if`, and only that contract marks
|
|
9575
|
-
*
|
|
9576
|
-
*
|
|
9835
|
+
* ([`SchemaSettings::for_serialize`]). `usage` is
|
|
9836
|
+
* `skip_serializing_if`, and only that contract marks it optional
|
|
9837
|
+
* — `schema_for!` defaults to deserialize and declares it
|
|
9838
|
+
* required, so a generated client would reject responses this
|
|
9577
9839
|
* crate really emits.
|
|
9578
9840
|
*
|
|
9579
9841
|
* [`Engine`]: super::Engine
|
|
@@ -9601,28 +9863,12 @@ interface components {
|
|
|
9601
9863
|
* [`Engine::anonymize`]: super::Engine::anonymize
|
|
9602
9864
|
*/
|
|
9603
9865
|
context: components["schemas"]["DocumentContext"];
|
|
9604
|
-
/**
|
|
9605
|
-
* @description What a reviewer changed: detections they added, corrected,
|
|
9606
|
-
* suppressed, or chose an operator for.
|
|
9607
|
-
*
|
|
9608
|
-
* A list rather than one decision per entity, because the
|
|
9609
|
-
* operations feed independent channels — a retag and an
|
|
9610
|
-
* operator override on the same entity are both legitimate.
|
|
9611
|
-
*
|
|
9612
|
-
* Separate from the report because elide has no concept of a
|
|
9613
|
-
* per-entity operator override: [`anonymize_with`] re-resolves
|
|
9614
|
-
* operators from live policy at apply time.
|
|
9615
|
-
*
|
|
9616
|
-
* [`anonymize_with`]: elide::Orchestrator::anonymize_with
|
|
9617
|
-
*/
|
|
9618
|
-
edits: components["schemas"]["EditSet"];
|
|
9619
9866
|
/**
|
|
9620
9867
|
* @description The detections: elide's own report, body and container
|
|
9621
9868
|
* parts, each entity carrying its provenance chain.
|
|
9622
9869
|
*
|
|
9623
9870
|
* Edit it through [`Report`]'s own API — [`include`],
|
|
9624
9871
|
* [`suppress`], [`entities`] — for the decisions elide models.
|
|
9625
|
-
* Operator overrides live in [`edits`](Self::edits).
|
|
9626
9872
|
*
|
|
9627
9873
|
* [`Report`]: elide::Report
|
|
9628
9874
|
* [`include`]: elide::Report::include
|
|
@@ -10212,6 +10458,26 @@ interface components {
|
|
|
10212
10458
|
*/
|
|
10213
10459
|
sync?: components["schemas"]["SyncScheduleInput"];
|
|
10214
10460
|
};
|
|
10461
|
+
/**
|
|
10462
|
+
* @description Request payload to start a detection over a file.
|
|
10463
|
+
*
|
|
10464
|
+
* Analyzes the file with the pipeline's configuration and returns the
|
|
10465
|
+
* detection, which holds the findings for review before redaction.
|
|
10466
|
+
*/
|
|
10467
|
+
CreateDetection: {
|
|
10468
|
+
/**
|
|
10469
|
+
* Format: uuid
|
|
10470
|
+
* @description The file to analyze.
|
|
10471
|
+
*/
|
|
10472
|
+
fileId: string;
|
|
10473
|
+
/**
|
|
10474
|
+
* @description Per-document scope (languages, jurisdictions, document labels).
|
|
10475
|
+
*
|
|
10476
|
+
* Overrides the pipeline's `defaultScope` when present; absent falls back to
|
|
10477
|
+
* the pipeline default.
|
|
10478
|
+
*/
|
|
10479
|
+
scope?: components["schemas"]["DocumentContext"];
|
|
10480
|
+
};
|
|
10215
10481
|
/** @description Request payload for creating a new workspace invite. */
|
|
10216
10482
|
CreateInvite: {
|
|
10217
10483
|
/** @description When the invitation expires. */
|
|
@@ -10253,26 +10519,6 @@ interface components {
|
|
|
10253
10519
|
*/
|
|
10254
10520
|
status?: components["schemas"]["PipelineStatus"];
|
|
10255
10521
|
};
|
|
10256
|
-
/**
|
|
10257
|
-
* @description Request payload to start a run (detect) over a file.
|
|
10258
|
-
*
|
|
10259
|
-
* Analyzes the file with the pipeline's configuration and returns the run,
|
|
10260
|
-
* which holds the findings for review before redaction.
|
|
10261
|
-
*/
|
|
10262
|
-
CreatePipelineRun: {
|
|
10263
|
-
/**
|
|
10264
|
-
* Format: uuid
|
|
10265
|
-
* @description The file to analyze.
|
|
10266
|
-
*/
|
|
10267
|
-
fileId: string;
|
|
10268
|
-
/**
|
|
10269
|
-
* @description Per-document scope (languages, jurisdictions, document labels).
|
|
10270
|
-
*
|
|
10271
|
-
* Overrides the pipeline's `defaultScope` when present; absent falls back to
|
|
10272
|
-
* the pipeline default.
|
|
10273
|
-
*/
|
|
10274
|
-
scope?: components["schemas"]["DocumentContext"];
|
|
10275
|
-
};
|
|
10276
10522
|
/**
|
|
10277
10523
|
* @description Request payload for creating a new workspace policy.
|
|
10278
10524
|
*
|
|
@@ -10410,6 +10656,243 @@ interface components {
|
|
|
10410
10656
|
/** @description Name of the fusion strategy that combined them. */
|
|
10411
10657
|
strategy: string;
|
|
10412
10658
|
};
|
|
10659
|
+
/**
|
|
10660
|
+
* @description Response type for a detection.
|
|
10661
|
+
*
|
|
10662
|
+
* A detection is addressed by its own opaque id; the owning pipeline and
|
|
10663
|
+
* workspace slugs are carried for context. Redacted outputs are not here — a
|
|
10664
|
+
* detection produces many redactions, each fetched from its `redactions`
|
|
10665
|
+
* endpoint.
|
|
10666
|
+
*/
|
|
10667
|
+
Detection: {
|
|
10668
|
+
/**
|
|
10669
|
+
* Format: date-time
|
|
10670
|
+
* @description When the detection completed analysis.
|
|
10671
|
+
*/
|
|
10672
|
+
completedAt?: string;
|
|
10673
|
+
/** @description Human-readable failure reason, present only when the detection `failed`. */
|
|
10674
|
+
error?: string;
|
|
10675
|
+
/** @description Opaque identifier of the detection. */
|
|
10676
|
+
id: components["schemas"]["DetectionId"];
|
|
10677
|
+
/**
|
|
10678
|
+
* Format: uuid
|
|
10679
|
+
* @description Source document this detection analyzes.
|
|
10680
|
+
*/
|
|
10681
|
+
inputFileId: string;
|
|
10682
|
+
/**
|
|
10683
|
+
* @description Display name of the source document, for showing the detection without a
|
|
10684
|
+
* separate file lookup. `None` if the file was removed (e.g. by retention).
|
|
10685
|
+
*/
|
|
10686
|
+
inputFileName?: string;
|
|
10687
|
+
/** @description Non-encrypted metadata for filtering/display. */
|
|
10688
|
+
metadata: components["schemas"]["DetectionMetadata"];
|
|
10689
|
+
/** @description Handle of the pipeline this detection belongs to. */
|
|
10690
|
+
pipelineSlug: components["schemas"]["Handle"];
|
|
10691
|
+
/**
|
|
10692
|
+
* Format: date-time
|
|
10693
|
+
* @description When the detection started.
|
|
10694
|
+
*/
|
|
10695
|
+
startedAt: string;
|
|
10696
|
+
/**
|
|
10697
|
+
* @description Current detection status.
|
|
10698
|
+
*
|
|
10699
|
+
* The detections are available to fetch from the detection's `analysis`
|
|
10700
|
+
* endpoint once this reaches `complete`.
|
|
10701
|
+
*/
|
|
10702
|
+
status: components["schemas"]["DetectionStatus"];
|
|
10703
|
+
/** @description How the detection was triggered. */
|
|
10704
|
+
triggerType: components["schemas"]["PipelineTriggerType"];
|
|
10705
|
+
/** @description Account that triggered the detection. */
|
|
10706
|
+
triggeredBy: components["schemas"]["AccountRef"];
|
|
10707
|
+
/** @description Handle of the workspace this detection belongs to. */
|
|
10708
|
+
workspaceSlug: components["schemas"]["Handle"];
|
|
10709
|
+
};
|
|
10710
|
+
/** @description Params of a detection activity (`pipeline.detection.*`). */
|
|
10711
|
+
DetectionActivityParams: {
|
|
10712
|
+
/** @description Id of the detection. */
|
|
10713
|
+
detectionId: components["schemas"]["DetectionId"];
|
|
10714
|
+
/** @description Slug of the owning pipeline. */
|
|
10715
|
+
pipelineSlug: components["schemas"]["Handle"];
|
|
10716
|
+
};
|
|
10717
|
+
/** @description Detection health for a workspace. */
|
|
10718
|
+
DetectionAnalytics: {
|
|
10719
|
+
/**
|
|
10720
|
+
* Format: int64
|
|
10721
|
+
* @description Mean completed-detection duration in milliseconds; omitted until a
|
|
10722
|
+
* detection completes.
|
|
10723
|
+
*/
|
|
10724
|
+
avgDurationMs?: number;
|
|
10725
|
+
/**
|
|
10726
|
+
* @description Per-status breakdown, one entry per detection status (zero-filled), in a
|
|
10727
|
+
* stable order.
|
|
10728
|
+
*/
|
|
10729
|
+
byStatus: components["schemas"]["DetectionStatusEntry"][];
|
|
10730
|
+
/**
|
|
10731
|
+
* Format: double
|
|
10732
|
+
* @description Failed / (completed + failed). Omitted when no detection has reached a
|
|
10733
|
+
* terminal state (genuinely no signal, not zero).
|
|
10734
|
+
*/
|
|
10735
|
+
errorRate?: number;
|
|
10736
|
+
/**
|
|
10737
|
+
* Format: int64
|
|
10738
|
+
* @description 95th-percentile completed-detection duration in milliseconds; omitted until
|
|
10739
|
+
* a detection completes.
|
|
10740
|
+
*/
|
|
10741
|
+
p95DurationMs?: number;
|
|
10742
|
+
/**
|
|
10743
|
+
* Format: int64
|
|
10744
|
+
* @description Total number of detections.
|
|
10745
|
+
*/
|
|
10746
|
+
total: number;
|
|
10747
|
+
};
|
|
10748
|
+
/** @description Params of a `pipeline.detection.completed` notification. */
|
|
10749
|
+
DetectionCompletedParams: {
|
|
10750
|
+
/** @description Id of the detection. */
|
|
10751
|
+
detectionId: components["schemas"]["DetectionId"];
|
|
10752
|
+
/** @description Display name of the analyzed file, if known. */
|
|
10753
|
+
inputFileName?: string;
|
|
10754
|
+
/** @description Slug of the owning pipeline. */
|
|
10755
|
+
pipelineSlug: components["schemas"]["Handle"];
|
|
10756
|
+
};
|
|
10757
|
+
/** @description A single day of detection activity. */
|
|
10758
|
+
DetectionDayEntry: {
|
|
10759
|
+
/**
|
|
10760
|
+
* Format: int64
|
|
10761
|
+
* @description Mean completed-detection duration (milliseconds) this day; omitted if none completed.
|
|
10762
|
+
*/
|
|
10763
|
+
avgDurationMs?: number;
|
|
10764
|
+
/**
|
|
10765
|
+
* Format: date
|
|
10766
|
+
* @description The day (`YYYY-MM-DD`, UTC).
|
|
10767
|
+
*/
|
|
10768
|
+
date: string;
|
|
10769
|
+
/**
|
|
10770
|
+
* Format: int64
|
|
10771
|
+
* @description Detections started this day (`0` on a quiet day).
|
|
10772
|
+
*/
|
|
10773
|
+
detections: number;
|
|
10774
|
+
/**
|
|
10775
|
+
* Format: double
|
|
10776
|
+
* @description Failed / (completed + failed) for this day; omitted when no detection
|
|
10777
|
+
* reached a terminal state that day.
|
|
10778
|
+
*/
|
|
10779
|
+
errorRate?: number;
|
|
10780
|
+
/**
|
|
10781
|
+
* Format: int64
|
|
10782
|
+
* @description Input/prompt tokens spent by this day's detections; omitted when none used a model.
|
|
10783
|
+
*/
|
|
10784
|
+
inputTokens?: number;
|
|
10785
|
+
/**
|
|
10786
|
+
* Format: int64
|
|
10787
|
+
* @description Output/completion tokens spent this day; omitted when none used a model.
|
|
10788
|
+
*/
|
|
10789
|
+
outputTokens?: number;
|
|
10790
|
+
/**
|
|
10791
|
+
* Format: int64
|
|
10792
|
+
* @description 95th-percentile completed-detection duration (milliseconds) this day; omitted if none.
|
|
10793
|
+
*/
|
|
10794
|
+
p95DurationMs?: number;
|
|
10795
|
+
/**
|
|
10796
|
+
* Format: int64
|
|
10797
|
+
* @description Reported total tokens this day; omitted when none used a model.
|
|
10798
|
+
*/
|
|
10799
|
+
totalTokens?: number;
|
|
10800
|
+
};
|
|
10801
|
+
/** @description Params of a `pipeline.detection.failed` notification. */
|
|
10802
|
+
DetectionFailedParams: {
|
|
10803
|
+
/** @description Id of the detection. */
|
|
10804
|
+
detectionId: components["schemas"]["DetectionId"];
|
|
10805
|
+
/** @description Failure reason, if available. */
|
|
10806
|
+
error?: string;
|
|
10807
|
+
/** @description Display name of the analyzed file, if known. */
|
|
10808
|
+
inputFileName?: string;
|
|
10809
|
+
/** @description Slug of the owning pipeline. */
|
|
10810
|
+
pipelineSlug: components["schemas"]["Handle"];
|
|
10811
|
+
};
|
|
10812
|
+
/** @description Opaque detection identifier (detection_<uuid>). */
|
|
10813
|
+
DetectionId: string;
|
|
10814
|
+
/** @description Structured metadata for a detection. */
|
|
10815
|
+
DetectionMetadata: {
|
|
10816
|
+
/** @description Failure reason recorded when the detection failed. */
|
|
10817
|
+
error?: string;
|
|
10818
|
+
/** @description Free-form labels attached to the detection. */
|
|
10819
|
+
tags?: string[];
|
|
10820
|
+
/**
|
|
10821
|
+
* @description The engine's full per-recognizer usage report (durations, per-model token
|
|
10822
|
+
* counts), stored opaquely for drill-down. Per-model token totals for
|
|
10823
|
+
* aggregation live in the `workspace_detection_usage` table; this keeps the
|
|
10824
|
+
* detail. Absent when the detection produced no usage.
|
|
10825
|
+
*/
|
|
10826
|
+
usage?: unknown;
|
|
10827
|
+
};
|
|
10828
|
+
/**
|
|
10829
|
+
* @description Generic paginated response wrapper.
|
|
10830
|
+
*
|
|
10831
|
+
* Provides a consistent structure for all paginated API responses with
|
|
10832
|
+
* cursor-based pagination support. When `next_cursor` is present, there
|
|
10833
|
+
* are more items to fetch.
|
|
10834
|
+
*/
|
|
10835
|
+
DetectionPage: {
|
|
10836
|
+
/** @description Items in this page. */
|
|
10837
|
+
items: components["schemas"]["Detection"][];
|
|
10838
|
+
/** @description Cursor to fetch the next page. Present only when more items exist. */
|
|
10839
|
+
nextCursor?: string;
|
|
10840
|
+
/**
|
|
10841
|
+
* Format: int64
|
|
10842
|
+
* @description Total count of items matching the query (if requested).
|
|
10843
|
+
*/
|
|
10844
|
+
total?: number;
|
|
10845
|
+
};
|
|
10846
|
+
/** @description Path parameters for detection operations. */
|
|
10847
|
+
DetectionPathParams: {
|
|
10848
|
+
/** @description Opaque identifier of the detection. */
|
|
10849
|
+
detectionId: components["schemas"]["DetectionId"];
|
|
10850
|
+
};
|
|
10851
|
+
/**
|
|
10852
|
+
* @description The execution status of a detection (one analysis pass of a file).
|
|
10853
|
+
*
|
|
10854
|
+
* Corresponds to the `DETECTION_STATUS` PostgreSQL enum. A detection is
|
|
10855
|
+
* `Pending` (enqueued, no worker yet), then `Executing` (a worker is actively
|
|
10856
|
+
* analyzing), then settles into `Complete` (analysis done, ready to redact) or
|
|
10857
|
+
* `Failed`. Redaction is a separate, repeatable action over a complete
|
|
10858
|
+
* detection and does not change this status.
|
|
10859
|
+
*/
|
|
10860
|
+
DetectionStatus: "pending" | "executing" | "complete" | "failed";
|
|
10861
|
+
/** @description One status's share of a workspace's detections. */
|
|
10862
|
+
DetectionStatusEntry: {
|
|
10863
|
+
/**
|
|
10864
|
+
* Format: int64
|
|
10865
|
+
* @description Number of detections in this status.
|
|
10866
|
+
*/
|
|
10867
|
+
count: number;
|
|
10868
|
+
/** @description The detection status. */
|
|
10869
|
+
status: components["schemas"]["DetectionStatus"];
|
|
10870
|
+
};
|
|
10871
|
+
/**
|
|
10872
|
+
* @description A detection's status change, broadcast on the core-NATS subject
|
|
10873
|
+
* [`detection_subject`].
|
|
10874
|
+
*
|
|
10875
|
+
* Fan-out to any watching SSE connections; the detection row in Postgres remains
|
|
10876
|
+
* the source of truth, so a missed broadcast is recoverable by re-reading it.
|
|
10877
|
+
*/
|
|
10878
|
+
DetectionStatusEvent: {
|
|
10879
|
+
/**
|
|
10880
|
+
* Format: uuid
|
|
10881
|
+
* @description The detection whose status changed.
|
|
10882
|
+
*/
|
|
10883
|
+
detectionId: string;
|
|
10884
|
+
/** @description The detection's new status. */
|
|
10885
|
+
status: components["schemas"]["DetectionStatus"];
|
|
10886
|
+
};
|
|
10887
|
+
/**
|
|
10888
|
+
* @description A workspace's daily detection activity over a window: one point per day, dense
|
|
10889
|
+
* (quiet days included with `detections: 0`), ready to plot as a continuous
|
|
10890
|
+
* series.
|
|
10891
|
+
*/
|
|
10892
|
+
DetectionTimeSeries: {
|
|
10893
|
+
/** @description One entry per day in the requested window, oldest first. */
|
|
10894
|
+
points: components["schemas"]["DetectionDayEntry"][];
|
|
10895
|
+
};
|
|
10413
10896
|
/**
|
|
10414
10897
|
* @description Pixel dimensions of an image or any 2-D canvas.
|
|
10415
10898
|
*
|
|
@@ -10599,7 +11082,7 @@ interface components {
|
|
|
10599
11082
|
* version chain (lineage); import origin (connection and remote key) lives in
|
|
10600
11083
|
* the `workspace_file_imports` satellite.
|
|
10601
11084
|
*/
|
|
10602
|
-
FileKind: "original" | "redacted" | "audit";
|
|
11085
|
+
FileKind: "original" | "redacted" | "audit" | "review";
|
|
10603
11086
|
/**
|
|
10604
11087
|
* @description Generic paginated response wrapper.
|
|
10605
11088
|
*
|
|
@@ -10994,10 +11477,7 @@ interface components {
|
|
|
10994
11477
|
} & components["schemas"]["ImageRetag"]) | ({
|
|
10995
11478
|
/** @constant */
|
|
10996
11479
|
op: "suppress";
|
|
10997
|
-
} & components["schemas"]["Suppress"])
|
|
10998
|
-
/** @constant */
|
|
10999
|
-
op: "redact";
|
|
11000
|
-
} & components["schemas"]["ImageRedact"]);
|
|
11480
|
+
} & components["schemas"]["Suppress"]);
|
|
11001
11481
|
/**
|
|
11002
11482
|
* @description Detected piece of sensitive information within some medium.
|
|
11003
11483
|
*
|
|
@@ -11169,37 +11649,6 @@ interface components {
|
|
|
11169
11649
|
/** @description Pattern metadata (name, regex, validator, contextual flag). */
|
|
11170
11650
|
pattern: components["schemas"]["PatternEvent"];
|
|
11171
11651
|
};
|
|
11172
|
-
/**
|
|
11173
|
-
* @description Redact this entity with `action` instead of the operator the
|
|
11174
|
-
* policy picked.
|
|
11175
|
-
*/
|
|
11176
|
-
ImageRedact: {
|
|
11177
|
-
/**
|
|
11178
|
-
* @description The operator to run, typed to the entity's own modality so a
|
|
11179
|
-
* text entity cannot be given an image operator.
|
|
11180
|
-
*/
|
|
11181
|
-
action: components["schemas"]["ImageRedaction"];
|
|
11182
|
-
/** @description Who made it, when the caller said. */
|
|
11183
|
-
actor?: string;
|
|
11184
|
-
/**
|
|
11185
|
-
* Format: uuid
|
|
11186
|
-
* @description The entity to redact.
|
|
11187
|
-
*/
|
|
11188
|
-
id: string;
|
|
11189
|
-
/**
|
|
11190
|
-
* Format: uuid
|
|
11191
|
-
* @description The policy whose authority the reviewer exercises. Must match
|
|
11192
|
-
* a submitted policy's `id`.
|
|
11193
|
-
*
|
|
11194
|
-
* Not only for audit: it picks which per-policy pseudonym vault
|
|
11195
|
-
* and `KeyProvider` the operator resolves against, so an
|
|
11196
|
-
* override using `Pseudonymize` or `HmacHash` stays consistent
|
|
11197
|
-
* with that policy's other rules.
|
|
11198
|
-
*/
|
|
11199
|
-
policyId: string;
|
|
11200
|
-
/** @description The rationale, when one was given. */
|
|
11201
|
-
reason?: string;
|
|
11202
|
-
};
|
|
11203
11652
|
/** @description Operator spec a `redact` image rule carries. */
|
|
11204
11653
|
ImageRedaction: {
|
|
11205
11654
|
/** @constant */
|
|
@@ -11901,7 +12350,7 @@ interface components {
|
|
|
11901
12350
|
/** @description Model version, when the backend reports one. */
|
|
11902
12351
|
version?: string;
|
|
11903
12352
|
};
|
|
11904
|
-
/** @description One model's token usage across a workspace's
|
|
12353
|
+
/** @description One model's token usage across a workspace's detections. */
|
|
11905
12354
|
ModelUsageEntry: {
|
|
11906
12355
|
/**
|
|
11907
12356
|
* Format: int64
|
|
@@ -11958,11 +12407,12 @@ interface components {
|
|
|
11958
12407
|
* @description Defines the type of notification event sent to a user.
|
|
11959
12408
|
*
|
|
11960
12409
|
* This enumeration corresponds to the `NOTIFICATION_EVENT` PostgreSQL enum and
|
|
11961
|
-
* is used for member, connection-sync,
|
|
12410
|
+
* is used for member, connection-sync, detection, redaction, and system
|
|
12411
|
+
* notifications.
|
|
11962
12412
|
* The values mirror the [`WebhookEvent`](super::WebhookEvent) naming for the
|
|
11963
12413
|
* events the two channels share.
|
|
11964
12414
|
*/
|
|
11965
|
-
NotificationEvent: "member.invited" | "member.joined" | "connection.sync.completed" | "connection.sync.failed" | "pipeline.
|
|
12415
|
+
NotificationEvent: "member.invited" | "member.joined" | "connection.sync.completed" | "connection.sync.failed" | "pipeline.detection.completed" | "pipeline.redaction.created" | "pipeline.detection.failed";
|
|
11966
12416
|
/**
|
|
11967
12417
|
* @description Generic paginated response wrapper.
|
|
11968
12418
|
*
|
|
@@ -12019,17 +12469,17 @@ interface components {
|
|
|
12019
12469
|
/** @constant */
|
|
12020
12470
|
type: "connection.sync.failed";
|
|
12021
12471
|
} | {
|
|
12022
|
-
data: components["schemas"]["
|
|
12472
|
+
data: components["schemas"]["DetectionCompletedParams"];
|
|
12023
12473
|
/** @constant */
|
|
12024
|
-
type: "pipeline.
|
|
12474
|
+
type: "pipeline.detection.completed";
|
|
12025
12475
|
} | {
|
|
12026
|
-
data: components["schemas"]["
|
|
12476
|
+
data: components["schemas"]["RedactionCreatedParams"];
|
|
12027
12477
|
/** @constant */
|
|
12028
|
-
type: "pipeline.
|
|
12478
|
+
type: "pipeline.redaction.created";
|
|
12029
12479
|
} | {
|
|
12030
|
-
data: components["schemas"]["
|
|
12480
|
+
data: components["schemas"]["DetectionFailedParams"];
|
|
12031
12481
|
/** @constant */
|
|
12032
|
-
type: "pipeline.
|
|
12482
|
+
type: "pipeline.detection.failed";
|
|
12033
12483
|
};
|
|
12034
12484
|
/** @description Response for notification settings within a workspace. */
|
|
12035
12485
|
NotificationSettings: {
|
|
@@ -12189,191 +12639,65 @@ interface components {
|
|
|
12189
12639
|
* config, not here. Stored as JSON in the pipeline's `definition` column but
|
|
12190
12640
|
* validated against this schema at the API boundary.
|
|
12191
12641
|
*
|
|
12192
|
-
* The label catalog is not part of this: the policies own the label vocabulary,
|
|
12193
|
-
* and the engine derives the detection catalog from them at run time.
|
|
12194
|
-
*
|
|
12195
|
-
* The split:
|
|
12196
|
-
*
|
|
12197
|
-
* - `default_scope` — optional pipeline-wide scope a document may override.
|
|
12198
|
-
* - `policy_slugs` — references to the workspace's policies, resolved at run
|
|
12199
|
-
* time.
|
|
12200
|
-
*/
|
|
12201
|
-
PipelineDefinition: {
|
|
12202
|
-
/**
|
|
12203
|
-
* @description Optional pipeline-wide scope (languages, jurisdictions, document labels).
|
|
12204
|
-
*
|
|
12205
|
-
* A document's own scope overrides this at detect time; absent here means
|
|
12206
|
-
* the document must assert its own.
|
|
12207
|
-
*/
|
|
12208
|
-
defaultScope?: components["schemas"]["DocumentContext"];
|
|
12209
|
-
/**
|
|
12210
|
-
* @description Slugs of workspace policies applied at redaction.
|
|
12211
|
-
*
|
|
12212
|
-
* Stored relationally in the `workspace_pipeline_policies` join table, not the JSON
|
|
12213
|
-
* definition; surfaced here so the API exposes one coherent object.
|
|
12214
|
-
*/
|
|
12215
|
-
policySlugs?: components["schemas"]["Handle"][];
|
|
12216
|
-
};
|
|
12217
|
-
/** @description Query parameters for filtering pipelines. */
|
|
12218
|
-
PipelineFilter: {
|
|
12219
|
-
/** @description Search by pipeline name (trigram similarity). */
|
|
12220
|
-
search?: string;
|
|
12221
|
-
/** @description Filter by pipeline status. */
|
|
12222
|
-
status?: components["schemas"]["PipelineStatus"];
|
|
12223
|
-
};
|
|
12224
|
-
/** @description Path parameters for pipeline operations. */
|
|
12225
|
-
PipelinePathParams: {
|
|
12226
|
-
/** @description URL slug of the pipeline, unique within its workspace. */
|
|
12227
|
-
pipelineSlug: string;
|
|
12228
|
-
};
|
|
12229
|
-
/**
|
|
12230
|
-
* @description Response type for a pipeline run.
|
|
12231
|
-
*
|
|
12232
|
-
* A run is addressed by its own opaque id; the owning pipeline and workspace
|
|
12233
|
-
* slugs are carried for context.
|
|
12234
|
-
*/
|
|
12235
|
-
PipelineRun: {
|
|
12236
|
-
/**
|
|
12237
|
-
* Format: date-time
|
|
12238
|
-
* @description When the run completed.
|
|
12239
|
-
*/
|
|
12240
|
-
completedAt?: string;
|
|
12241
|
-
/** @description Human-readable failure reason, present only when the run `failed`. */
|
|
12242
|
-
error?: string;
|
|
12243
|
-
/** @description Opaque identifier of the run. */
|
|
12244
|
-
id: components["schemas"]["RunId"];
|
|
12245
|
-
/**
|
|
12246
|
-
* Format: uuid
|
|
12247
|
-
* @description Source document this run analyzes / redacts.
|
|
12248
|
-
*/
|
|
12249
|
-
inputFileId: string;
|
|
12250
|
-
/**
|
|
12251
|
-
* @description Display name of the source document, for showing the run without a
|
|
12252
|
-
* separate file lookup. `None` if the file was removed (e.g. by retention).
|
|
12253
|
-
*/
|
|
12254
|
-
inputFileName?: string;
|
|
12255
|
-
/** @description Non-encrypted metadata for filtering/display. */
|
|
12256
|
-
metadata: components["schemas"]["RunMetadata"];
|
|
12257
|
-
/**
|
|
12258
|
-
* Format: uuid
|
|
12259
|
-
* @description Redacted document produced by the run, once it completes.
|
|
12260
|
-
*/
|
|
12261
|
-
outputFileId?: string;
|
|
12262
|
-
/** @description Display name of the redacted output, once the run completes. */
|
|
12263
|
-
outputFileName?: string;
|
|
12264
|
-
/** @description Handle of the pipeline this run belongs to. */
|
|
12265
|
-
pipelineSlug: components["schemas"]["Handle"];
|
|
12266
|
-
/**
|
|
12267
|
-
* Format: date-time
|
|
12268
|
-
* @description When the run started.
|
|
12269
|
-
*/
|
|
12270
|
-
startedAt: string;
|
|
12271
|
-
/**
|
|
12272
|
-
* @description Current run status.
|
|
12273
|
-
*
|
|
12274
|
-
* The detections are available to fetch from the run's `detections`
|
|
12275
|
-
* endpoint once this reaches `analyzed`.
|
|
12276
|
-
*/
|
|
12277
|
-
status: components["schemas"]["PipelineRunStatus"];
|
|
12278
|
-
/** @description How the run was triggered. */
|
|
12279
|
-
triggerType: components["schemas"]["PipelineTriggerType"];
|
|
12280
|
-
/** @description Account that triggered the run. */
|
|
12281
|
-
triggeredBy: components["schemas"]["AccountRef"];
|
|
12282
|
-
/** @description Handle of the workspace this run belongs to. */
|
|
12283
|
-
workspaceSlug: components["schemas"]["Handle"];
|
|
12284
|
-
};
|
|
12285
|
-
/** @description Params of a pipeline-run activity (`pipeline.run.*`). */
|
|
12286
|
-
PipelineRunActivityParams: {
|
|
12287
|
-
/** @description Slug of the owning pipeline. */
|
|
12288
|
-
pipelineSlug: components["schemas"]["Handle"];
|
|
12289
|
-
/** @description Id of the run. */
|
|
12290
|
-
runId: components["schemas"]["RunId"];
|
|
12291
|
-
};
|
|
12292
|
-
/** @description Params of a `pipeline.run.analyzed` notification. */
|
|
12293
|
-
PipelineRunAnalyzedParams: {
|
|
12294
|
-
/** @description Display name of the analyzed file, if known. */
|
|
12295
|
-
inputFileName?: string;
|
|
12296
|
-
/** @description Slug of the owning pipeline. */
|
|
12297
|
-
pipelineSlug: components["schemas"]["Handle"];
|
|
12298
|
-
/** @description Id of the run. */
|
|
12299
|
-
runId: components["schemas"]["RunId"];
|
|
12300
|
-
};
|
|
12301
|
-
/** @description Params of a `pipeline.run.completed` notification. */
|
|
12302
|
-
PipelineRunCompletedParams: {
|
|
12303
|
-
/** @description Display name of the analyzed file, if known. */
|
|
12304
|
-
inputFileName?: string;
|
|
12305
|
-
/** @description Slug of the owning pipeline. */
|
|
12306
|
-
pipelineSlug: components["schemas"]["Handle"];
|
|
12307
|
-
/** @description Id of the run. */
|
|
12308
|
-
runId: components["schemas"]["RunId"];
|
|
12309
|
-
};
|
|
12310
|
-
/** @description Params of a `pipeline.run.failed` notification. */
|
|
12311
|
-
PipelineRunFailedParams: {
|
|
12312
|
-
/** @description Failure reason, if available. */
|
|
12313
|
-
error?: string;
|
|
12314
|
-
/** @description Display name of the analyzed file, if known. */
|
|
12315
|
-
inputFileName?: string;
|
|
12316
|
-
/** @description Slug of the owning pipeline. */
|
|
12317
|
-
pipelineSlug: components["schemas"]["Handle"];
|
|
12318
|
-
/** @description Id of the run. */
|
|
12319
|
-
runId: components["schemas"]["RunId"];
|
|
12320
|
-
};
|
|
12321
|
-
/**
|
|
12322
|
-
* @description Generic paginated response wrapper.
|
|
12323
|
-
*
|
|
12324
|
-
* Provides a consistent structure for all paginated API responses with
|
|
12325
|
-
* cursor-based pagination support. When `next_cursor` is present, there
|
|
12326
|
-
* are more items to fetch.
|
|
12327
|
-
*/
|
|
12328
|
-
PipelineRunPage: {
|
|
12329
|
-
/** @description Items in this page. */
|
|
12330
|
-
items: components["schemas"]["PipelineRun"][];
|
|
12331
|
-
/** @description Cursor to fetch the next page. Present only when more items exist. */
|
|
12332
|
-
nextCursor?: string;
|
|
12333
|
-
/**
|
|
12334
|
-
* Format: int64
|
|
12335
|
-
* @description Total count of items matching the query (if requested).
|
|
12336
|
-
*/
|
|
12337
|
-
total?: number;
|
|
12338
|
-
};
|
|
12339
|
-
/** @description Path parameters for pipeline run operations. */
|
|
12340
|
-
PipelineRunPathParams: {
|
|
12341
|
-
/** @description Opaque identifier of the run. */
|
|
12342
|
-
runId: components["schemas"]["RunId"];
|
|
12343
|
-
};
|
|
12344
|
-
/**
|
|
12345
|
-
* @description Defines the execution status of a pipeline run.
|
|
12346
|
-
*
|
|
12347
|
-
* This enumeration corresponds to the `PIPELINE_RUN_STATUS` PostgreSQL enum and is used
|
|
12348
|
-
* to track the current state of a pipeline execution.
|
|
12642
|
+
* The label catalog is not part of this: the policies own the label vocabulary,
|
|
12643
|
+
* and the engine derives the detection catalog from them at run time.
|
|
12644
|
+
*
|
|
12645
|
+
* The split:
|
|
12349
12646
|
*
|
|
12350
|
-
*
|
|
12351
|
-
*
|
|
12352
|
-
*
|
|
12647
|
+
* - `default_scope` — optional pipeline-wide scope a document may override.
|
|
12648
|
+
* - `policy_slugs` — references to the workspace's policies, resolved at run
|
|
12649
|
+
* time.
|
|
12353
12650
|
*/
|
|
12354
|
-
|
|
12651
|
+
PipelineDefinition: {
|
|
12652
|
+
/**
|
|
12653
|
+
* @description Optional pipeline-wide scope (languages, jurisdictions, document labels).
|
|
12654
|
+
*
|
|
12655
|
+
* A document's own scope overrides this at detect time; absent here means
|
|
12656
|
+
* the document must assert its own.
|
|
12657
|
+
*/
|
|
12658
|
+
defaultScope?: components["schemas"]["DocumentContext"];
|
|
12659
|
+
/**
|
|
12660
|
+
* @description Slugs of workspace policies applied at redaction.
|
|
12661
|
+
*
|
|
12662
|
+
* Stored relationally in the `workspace_pipeline_policies` join table, not the JSON
|
|
12663
|
+
* definition; surfaced here so the API exposes one coherent object.
|
|
12664
|
+
*/
|
|
12665
|
+
policySlugs?: components["schemas"]["Handle"][];
|
|
12666
|
+
};
|
|
12355
12667
|
/**
|
|
12356
|
-
* @description Query parameters for listing a single pipeline's
|
|
12668
|
+
* @description Query parameters for listing a single pipeline's detections.
|
|
12357
12669
|
*
|
|
12358
12670
|
* The pipeline is fixed by the route, so it narrows only by status, file,
|
|
12359
12671
|
* trigger account, and trigger type.
|
|
12360
12672
|
*/
|
|
12361
|
-
|
|
12673
|
+
PipelineDetectionsQuery: {
|
|
12362
12674
|
/**
|
|
12363
12675
|
* Format: uuid
|
|
12364
|
-
* @description Filter by the source file the
|
|
12676
|
+
* @description Filter by the source file the detection analyzes.
|
|
12365
12677
|
*/
|
|
12366
12678
|
fileId?: string;
|
|
12367
|
-
/** @description Filter by
|
|
12368
|
-
status?: components["schemas"]["
|
|
12369
|
-
/** @description Filter by how the
|
|
12679
|
+
/** @description Filter by detection status. */
|
|
12680
|
+
status?: components["schemas"]["DetectionStatus"];
|
|
12681
|
+
/** @description Filter by how the detection was initiated (user vs system). */
|
|
12370
12682
|
triggerType?: components["schemas"]["PipelineTriggerType"];
|
|
12371
12683
|
/**
|
|
12372
12684
|
* Format: uuid
|
|
12373
|
-
* @description Filter by the account that triggered the
|
|
12685
|
+
* @description Filter by the account that triggered the detection.
|
|
12374
12686
|
*/
|
|
12375
12687
|
triggeredBy?: string;
|
|
12376
12688
|
};
|
|
12689
|
+
/** @description Query parameters for filtering pipelines. */
|
|
12690
|
+
PipelineFilter: {
|
|
12691
|
+
/** @description Search by pipeline name (trigram similarity). */
|
|
12692
|
+
search?: string;
|
|
12693
|
+
/** @description Filter by pipeline status. */
|
|
12694
|
+
status?: components["schemas"]["PipelineStatus"];
|
|
12695
|
+
};
|
|
12696
|
+
/** @description Path parameters for pipeline operations. */
|
|
12697
|
+
PipelinePathParams: {
|
|
12698
|
+
/** @description URL slug of the pipeline, unique within its workspace. */
|
|
12699
|
+
pipelineSlug: string;
|
|
12700
|
+
};
|
|
12377
12701
|
/**
|
|
12378
12702
|
* @description Defines the lifecycle status of a pipeline definition.
|
|
12379
12703
|
*
|
|
@@ -12917,6 +13241,21 @@ interface components {
|
|
|
12917
13241
|
/** @description Recognizer's version at the time it ran. */
|
|
12918
13242
|
version: string;
|
|
12919
13243
|
};
|
|
13244
|
+
/**
|
|
13245
|
+
* @description Request payload to redact a detection.
|
|
13246
|
+
*
|
|
13247
|
+
* The reviewer's edits layer over the detection's analysis before redaction:
|
|
13248
|
+
* suppress a false positive, retag a detection, or add one the analysis missed.
|
|
13249
|
+
* Omit `edits` to redact with the policy decisions exactly as detected. Each
|
|
13250
|
+
* redact request produces a new redaction.
|
|
13251
|
+
*/
|
|
13252
|
+
RedactDetection: {
|
|
13253
|
+
/**
|
|
13254
|
+
* @description Reviewer edits to apply before redaction, grouped by modality. Omit to
|
|
13255
|
+
* redact with the policy decisions exactly as detected.
|
|
13256
|
+
*/
|
|
13257
|
+
edits?: components["schemas"]["EditSet"];
|
|
13258
|
+
};
|
|
12920
13259
|
/** @description An operator hid the entity. */
|
|
12921
13260
|
Redaction: {
|
|
12922
13261
|
/**
|
|
@@ -12951,6 +13290,87 @@ interface components {
|
|
|
12951
13290
|
*/
|
|
12952
13291
|
span_length?: number;
|
|
12953
13292
|
};
|
|
13293
|
+
/** @description Params of a redaction activity (`pipeline.redaction.*`). */
|
|
13294
|
+
RedactionActivityParams: {
|
|
13295
|
+
/** @description Slug of the owning pipeline. */
|
|
13296
|
+
pipelineSlug: components["schemas"]["Handle"];
|
|
13297
|
+
/** @description Id of the redaction. */
|
|
13298
|
+
redactionId: components["schemas"]["RedactionId"];
|
|
13299
|
+
};
|
|
13300
|
+
/** @description Params of a `pipeline.redaction.created` notification. */
|
|
13301
|
+
RedactionCreatedParams: {
|
|
13302
|
+
/** @description Id of the detection the redaction was produced from. */
|
|
13303
|
+
detectionId: components["schemas"]["DetectionId"];
|
|
13304
|
+
/** @description Display name of the redacted file, if known. */
|
|
13305
|
+
inputFileName?: string;
|
|
13306
|
+
/** @description Slug of the owning pipeline. */
|
|
13307
|
+
pipelineSlug: components["schemas"]["Handle"];
|
|
13308
|
+
/** @description Id of the redaction. */
|
|
13309
|
+
redactionId: components["schemas"]["RedactionId"];
|
|
13310
|
+
};
|
|
13311
|
+
/** @description Opaque redaction identifier (redaction_<uuid>). */
|
|
13312
|
+
RedactionId: string;
|
|
13313
|
+
/**
|
|
13314
|
+
* @description Path parameters for a redaction.
|
|
13315
|
+
*
|
|
13316
|
+
* The redaction id is globally unique, so a redaction is addressed by id alone
|
|
13317
|
+
* and resolved within the workspace by the query.
|
|
13318
|
+
*/
|
|
13319
|
+
RedactionPathParams: {
|
|
13320
|
+
/** @description Opaque identifier of the redaction. */
|
|
13321
|
+
redactionId: components["schemas"]["RedactionId"];
|
|
13322
|
+
};
|
|
13323
|
+
/**
|
|
13324
|
+
* @description Response type for a redaction.
|
|
13325
|
+
*
|
|
13326
|
+
* A redaction is one redact pass over a detection, produced with a specific set
|
|
13327
|
+
* of reviewer edits. It owns the redacted output document (downloadable through
|
|
13328
|
+
* the normal file endpoints) and a review audit recording what was redacted and
|
|
13329
|
+
* why (fetched from the redaction's `review` endpoint).
|
|
13330
|
+
*
|
|
13331
|
+
* Named `RedactionResult` rather than `Redaction` because the engine's audit
|
|
13332
|
+
* schema already carries a `Redaction` (an audit event), and the two must not
|
|
13333
|
+
* collide in the generated OpenAPI.
|
|
13334
|
+
*/
|
|
13335
|
+
RedactionResult: {
|
|
13336
|
+
/**
|
|
13337
|
+
* Format: date-time
|
|
13338
|
+
* @description When the redaction was created.
|
|
13339
|
+
*/
|
|
13340
|
+
createdAt: string;
|
|
13341
|
+
/** @description The detection this redaction was produced from. */
|
|
13342
|
+
detectionId: components["schemas"]["DetectionId"];
|
|
13343
|
+
/** @description Opaque identifier of the redaction. */
|
|
13344
|
+
id: components["schemas"]["RedactionId"];
|
|
13345
|
+
/**
|
|
13346
|
+
* Format: uuid
|
|
13347
|
+
* @description Redacted output document this redaction produced. `None` only if the file
|
|
13348
|
+
* was removed (e.g. by retention).
|
|
13349
|
+
*/
|
|
13350
|
+
outputFileId?: string;
|
|
13351
|
+
/** @description Account that requested the redaction. */
|
|
13352
|
+
requestedBy: components["schemas"]["AccountRef"];
|
|
13353
|
+
/** @description Handle of the workspace this redaction belongs to. */
|
|
13354
|
+
workspaceSlug: components["schemas"]["Handle"];
|
|
13355
|
+
};
|
|
13356
|
+
/**
|
|
13357
|
+
* @description Generic paginated response wrapper.
|
|
13358
|
+
*
|
|
13359
|
+
* Provides a consistent structure for all paginated API responses with
|
|
13360
|
+
* cursor-based pagination support. When `next_cursor` is present, there
|
|
13361
|
+
* are more items to fetch.
|
|
13362
|
+
*/
|
|
13363
|
+
RedactionResultPage: {
|
|
13364
|
+
/** @description Items in this page. */
|
|
13365
|
+
items: components["schemas"]["RedactionResult"][];
|
|
13366
|
+
/** @description Cursor to fetch the next page. Present only when more items exist. */
|
|
13367
|
+
nextCursor?: string;
|
|
13368
|
+
/**
|
|
13369
|
+
* Format: int64
|
|
13370
|
+
* @description Total count of items matching the query (if requested).
|
|
13371
|
+
*/
|
|
13372
|
+
total?: number;
|
|
13373
|
+
};
|
|
12954
13374
|
/**
|
|
12955
13375
|
* @description Public view of one recognizer in the engine's NER or LLM
|
|
12956
13376
|
* lineup.
|
|
@@ -13114,129 +13534,6 @@ interface components {
|
|
|
13114
13534
|
} | {
|
|
13115
13535
|
tag: string;
|
|
13116
13536
|
} | "predicate" | "fallback";
|
|
13117
|
-
/** @description Pipeline-run health for a workspace. */
|
|
13118
|
-
RunAnalytics: {
|
|
13119
|
-
/**
|
|
13120
|
-
* Format: int64
|
|
13121
|
-
* @description Mean completed-run duration in milliseconds; omitted until a run completes.
|
|
13122
|
-
*/
|
|
13123
|
-
avgDurationMs?: number;
|
|
13124
|
-
/**
|
|
13125
|
-
* @description Per-status breakdown, one entry per run status (zero-filled), in a stable
|
|
13126
|
-
* order.
|
|
13127
|
-
*/
|
|
13128
|
-
byStatus: components["schemas"]["RunStatusEntry"][];
|
|
13129
|
-
/**
|
|
13130
|
-
* Format: double
|
|
13131
|
-
* @description Failed / (completed + failed). Omitted when no run has reached a terminal
|
|
13132
|
-
* state (genuinely no signal, not zero).
|
|
13133
|
-
*/
|
|
13134
|
-
errorRate?: number;
|
|
13135
|
-
/**
|
|
13136
|
-
* Format: int64
|
|
13137
|
-
* @description 95th-percentile completed-run duration in milliseconds; omitted until a run
|
|
13138
|
-
* completes.
|
|
13139
|
-
*/
|
|
13140
|
-
p95DurationMs?: number;
|
|
13141
|
-
/**
|
|
13142
|
-
* Format: int64
|
|
13143
|
-
* @description Total number of runs.
|
|
13144
|
-
*/
|
|
13145
|
-
total: number;
|
|
13146
|
-
};
|
|
13147
|
-
/** @description A single day of run activity. */
|
|
13148
|
-
RunDayEntry: {
|
|
13149
|
-
/**
|
|
13150
|
-
* Format: int64
|
|
13151
|
-
* @description Mean completed-run duration (milliseconds) this day; omitted if none completed.
|
|
13152
|
-
*/
|
|
13153
|
-
avgDurationMs?: number;
|
|
13154
|
-
/**
|
|
13155
|
-
* Format: date
|
|
13156
|
-
* @description The day (`YYYY-MM-DD`, UTC).
|
|
13157
|
-
*/
|
|
13158
|
-
date: string;
|
|
13159
|
-
/**
|
|
13160
|
-
* Format: double
|
|
13161
|
-
* @description Failed / (completed + failed) for this day; omitted when no run reached a
|
|
13162
|
-
* terminal state that day.
|
|
13163
|
-
*/
|
|
13164
|
-
errorRate?: number;
|
|
13165
|
-
/**
|
|
13166
|
-
* Format: int64
|
|
13167
|
-
* @description Input/prompt tokens spent by this day's runs; omitted when none used a model.
|
|
13168
|
-
*/
|
|
13169
|
-
inputTokens?: number;
|
|
13170
|
-
/**
|
|
13171
|
-
* Format: int64
|
|
13172
|
-
* @description Output/completion tokens spent this day; omitted when none used a model.
|
|
13173
|
-
*/
|
|
13174
|
-
outputTokens?: number;
|
|
13175
|
-
/**
|
|
13176
|
-
* Format: int64
|
|
13177
|
-
* @description 95th-percentile completed-run duration (milliseconds) this day; omitted if none.
|
|
13178
|
-
*/
|
|
13179
|
-
p95DurationMs?: number;
|
|
13180
|
-
/**
|
|
13181
|
-
* Format: int64
|
|
13182
|
-
* @description Runs started this day (`0` on a quiet day).
|
|
13183
|
-
*/
|
|
13184
|
-
runs: number;
|
|
13185
|
-
/**
|
|
13186
|
-
* Format: int64
|
|
13187
|
-
* @description Reported total tokens this day; omitted when none used a model.
|
|
13188
|
-
*/
|
|
13189
|
-
totalTokens?: number;
|
|
13190
|
-
};
|
|
13191
|
-
/** @description Opaque run identifier (run_<uuid>). */
|
|
13192
|
-
RunId: string;
|
|
13193
|
-
/** @description Structured metadata for a pipeline run. */
|
|
13194
|
-
RunMetadata: {
|
|
13195
|
-
/** @description Failure reason recorded when the run failed. */
|
|
13196
|
-
error?: string;
|
|
13197
|
-
/** @description Free-form labels attached to the run. */
|
|
13198
|
-
tags?: string[];
|
|
13199
|
-
/**
|
|
13200
|
-
* @description The engine's full per-recognizer usage report (durations, per-model token
|
|
13201
|
-
* counts), stored opaquely for drill-down. Per-model token totals for
|
|
13202
|
-
* aggregation live in the `workspace_pipeline_run_usage` table; this keeps
|
|
13203
|
-
* the detail. Absent when the run produced no usage.
|
|
13204
|
-
*/
|
|
13205
|
-
usage?: unknown;
|
|
13206
|
-
};
|
|
13207
|
-
/** @description One status's share of a workspace's runs. */
|
|
13208
|
-
RunStatusEntry: {
|
|
13209
|
-
/**
|
|
13210
|
-
* Format: int64
|
|
13211
|
-
* @description Number of runs in this status.
|
|
13212
|
-
*/
|
|
13213
|
-
count: number;
|
|
13214
|
-
/** @description The run status. */
|
|
13215
|
-
status: components["schemas"]["PipelineRunStatus"];
|
|
13216
|
-
};
|
|
13217
|
-
/**
|
|
13218
|
-
* @description A run's status change, broadcast on the core-NATS subject [`run_subject`].
|
|
13219
|
-
*
|
|
13220
|
-
* Fan-out to any watching SSE connections; the run row in Postgres remains the
|
|
13221
|
-
* source of truth, so a missed broadcast is recoverable by re-reading the run.
|
|
13222
|
-
*/
|
|
13223
|
-
RunStatusEvent: {
|
|
13224
|
-
/**
|
|
13225
|
-
* Format: uuid
|
|
13226
|
-
* @description The run whose status changed.
|
|
13227
|
-
*/
|
|
13228
|
-
runId: string;
|
|
13229
|
-
/** @description The run's new status. */
|
|
13230
|
-
status: components["schemas"]["PipelineRunStatus"];
|
|
13231
|
-
};
|
|
13232
|
-
/**
|
|
13233
|
-
* @description A workspace's daily run activity over a window: one point per day, dense
|
|
13234
|
-
* (quiet days included with `runs: 0`), ready to plot as a continuous series.
|
|
13235
|
-
*/
|
|
13236
|
-
RunTimeSeries: {
|
|
13237
|
-
/** @description One entry per day in the requested window, oldest first. */
|
|
13238
|
-
points: components["schemas"]["RunDayEntry"][];
|
|
13239
|
-
};
|
|
13240
13537
|
/**
|
|
13241
13538
|
* @description Typed credentials for S3-compatible provider.
|
|
13242
13539
|
*
|
|
@@ -13812,10 +14109,7 @@ interface components {
|
|
|
13812
14109
|
} & components["schemas"]["TabularRetag"]) | ({
|
|
13813
14110
|
/** @constant */
|
|
13814
14111
|
op: "suppress";
|
|
13815
|
-
} & components["schemas"]["Suppress"])
|
|
13816
|
-
/** @constant */
|
|
13817
|
-
op: "redact";
|
|
13818
|
-
} & components["schemas"]["TabularRedact"]);
|
|
14112
|
+
} & components["schemas"]["Suppress"]);
|
|
13819
14113
|
/**
|
|
13820
14114
|
* @description Detected piece of sensitive information within some medium.
|
|
13821
14115
|
*
|
|
@@ -14012,37 +14306,6 @@ interface components {
|
|
|
14012
14306
|
/** @description Pattern metadata (name, regex, validator, contextual flag). */
|
|
14013
14307
|
pattern: components["schemas"]["PatternEvent"];
|
|
14014
14308
|
};
|
|
14015
|
-
/**
|
|
14016
|
-
* @description Redact this entity with `action` instead of the operator the
|
|
14017
|
-
* policy picked.
|
|
14018
|
-
*/
|
|
14019
|
-
TabularRedact: {
|
|
14020
|
-
/**
|
|
14021
|
-
* @description The operator to run, typed to the entity's own modality so a
|
|
14022
|
-
* text entity cannot be given an image operator.
|
|
14023
|
-
*/
|
|
14024
|
-
action: components["schemas"]["TabularRedaction"];
|
|
14025
|
-
/** @description Who made it, when the caller said. */
|
|
14026
|
-
actor?: string;
|
|
14027
|
-
/**
|
|
14028
|
-
* Format: uuid
|
|
14029
|
-
* @description The entity to redact.
|
|
14030
|
-
*/
|
|
14031
|
-
id: string;
|
|
14032
|
-
/**
|
|
14033
|
-
* Format: uuid
|
|
14034
|
-
* @description The policy whose authority the reviewer exercises. Must match
|
|
14035
|
-
* a submitted policy's `id`.
|
|
14036
|
-
*
|
|
14037
|
-
* Not only for audit: it picks which per-policy pseudonym vault
|
|
14038
|
-
* and `KeyProvider` the operator resolves against, so an
|
|
14039
|
-
* override using `Pseudonymize` or `HmacHash` stays consistent
|
|
14040
|
-
* with that policy's other rules.
|
|
14041
|
-
*/
|
|
14042
|
-
policyId: string;
|
|
14043
|
-
/** @description The rationale, when one was given. */
|
|
14044
|
-
reason?: string;
|
|
14045
|
-
};
|
|
14046
14309
|
/** @description Operator spec a `redact` tabular rule carries. */
|
|
14047
14310
|
TabularRedaction: {
|
|
14048
14311
|
/** @constant */
|
|
@@ -14427,10 +14690,7 @@ interface components {
|
|
|
14427
14690
|
} & components["schemas"]["TextRetag"]) | ({
|
|
14428
14691
|
/** @constant */
|
|
14429
14692
|
op: "suppress";
|
|
14430
|
-
} & components["schemas"]["Suppress"])
|
|
14431
|
-
/** @constant */
|
|
14432
|
-
op: "redact";
|
|
14433
|
-
} & components["schemas"]["TextRedact"]);
|
|
14693
|
+
} & components["schemas"]["Suppress"]);
|
|
14434
14694
|
/**
|
|
14435
14695
|
* @description Detected piece of sensitive information within some medium.
|
|
14436
14696
|
*
|
|
@@ -14549,8 +14809,9 @@ interface components {
|
|
|
14549
14809
|
/**
|
|
14550
14810
|
* @description The exact raw source ranges this decoded span came from, for codecs whose
|
|
14551
14811
|
* decoded text differs from the source (XML/HTML/DOCX, where entities are
|
|
14552
|
-
* decoded
|
|
14553
|
-
*
|
|
14812
|
+
* decoded; JSON, where `\"` / `\uXXXX` escapes collapse). Empty when the
|
|
14813
|
+
* source equals the decoded text (plain text, CSV) or the format has no
|
|
14814
|
+
* byte-source coordinate (rendered/scanned formats).
|
|
14554
14815
|
*
|
|
14555
14816
|
* Usually one range; a reconciled span that fused several source runs (or a
|
|
14556
14817
|
* span crossing an escape) carries several, kept distinct rather than merged
|
|
@@ -14606,37 +14867,6 @@ interface components {
|
|
|
14606
14867
|
/** @description Pattern metadata (name, regex, validator, contextual flag). */
|
|
14607
14868
|
pattern: components["schemas"]["PatternEvent"];
|
|
14608
14869
|
};
|
|
14609
|
-
/**
|
|
14610
|
-
* @description Redact this entity with `action` instead of the operator the
|
|
14611
|
-
* policy picked.
|
|
14612
|
-
*/
|
|
14613
|
-
TextRedact: {
|
|
14614
|
-
/**
|
|
14615
|
-
* @description The operator to run, typed to the entity's own modality so a
|
|
14616
|
-
* text entity cannot be given an image operator.
|
|
14617
|
-
*/
|
|
14618
|
-
action: components["schemas"]["TextRedaction"];
|
|
14619
|
-
/** @description Who made it, when the caller said. */
|
|
14620
|
-
actor?: string;
|
|
14621
|
-
/**
|
|
14622
|
-
* Format: uuid
|
|
14623
|
-
* @description The entity to redact.
|
|
14624
|
-
*/
|
|
14625
|
-
id: string;
|
|
14626
|
-
/**
|
|
14627
|
-
* Format: uuid
|
|
14628
|
-
* @description The policy whose authority the reviewer exercises. Must match
|
|
14629
|
-
* a submitted policy's `id`.
|
|
14630
|
-
*
|
|
14631
|
-
* Not only for audit: it picks which per-policy pseudonym vault
|
|
14632
|
-
* and `KeyProvider` the operator resolves against, so an
|
|
14633
|
-
* override using `Pseudonymize` or `HmacHash` stays consistent
|
|
14634
|
-
* with that policy's other rules.
|
|
14635
|
-
*/
|
|
14636
|
-
policyId: string;
|
|
14637
|
-
/** @description The rationale, when one was given. */
|
|
14638
|
-
reason?: string;
|
|
14639
|
-
};
|
|
14640
14870
|
/** @description Operator spec a `redact` text rule carries. */
|
|
14641
14871
|
TextRedaction: {
|
|
14642
14872
|
/** @constant */
|
|
@@ -15083,7 +15313,7 @@ interface components {
|
|
|
15083
15313
|
/** @description Model / token detail; `None` for a pure-CPU component. */
|
|
15084
15314
|
model?: components["schemas"]["ModelUsage"];
|
|
15085
15315
|
};
|
|
15086
|
-
/** @description Inference token usage across a workspace's
|
|
15316
|
+
/** @description Inference token usage across a workspace's detections. */
|
|
15087
15317
|
UsageAnalytics: {
|
|
15088
15318
|
/** @description Per-model breakdown, one entry per model used, in a stable order. */
|
|
15089
15319
|
byModel: components["schemas"]["ModelUsageEntry"][];
|
|
@@ -15254,7 +15484,7 @@ interface components {
|
|
|
15254
15484
|
* This enumeration corresponds to the `WEBHOOK_EVENT` PostgreSQL enum and is used
|
|
15255
15485
|
* to configure which events a webhook should receive notifications for.
|
|
15256
15486
|
*/
|
|
15257
|
-
WebhookEvent: "file.created" | "file.updated" | "file.deleted" | "member.added" | "member.deleted" | "member.updated" | "connection.created" | "connection.updated" | "connection.deleted" | "connection.sync.started" | "connection.sync.completed" | "connection.sync.failed" | "pipeline.created" | "pipeline.updated" | "pipeline.deleted" | "pipeline.
|
|
15487
|
+
WebhookEvent: "file.created" | "file.updated" | "file.deleted" | "member.added" | "member.deleted" | "member.updated" | "connection.created" | "connection.updated" | "connection.deleted" | "connection.sync.started" | "connection.sync.completed" | "connection.sync.failed" | "pipeline.created" | "pipeline.updated" | "pipeline.deleted" | "pipeline.detection.started" | "pipeline.detection.completed" | "pipeline.detection.failed" | "pipeline.redaction.created" | "policy.created" | "policy.updated" | "policy.deleted";
|
|
15258
15488
|
/** @description Opaque whk identifier (whk_<uuid>). */
|
|
15259
15489
|
WebhookId: string;
|
|
15260
15490
|
/**
|
|
@@ -15334,17 +15564,43 @@ interface components {
|
|
|
15334
15564
|
workspaceSlug: components["schemas"]["Handle"];
|
|
15335
15565
|
};
|
|
15336
15566
|
/**
|
|
15337
|
-
* @description Aggregate analytics for a workspace: what it stores, how its
|
|
15567
|
+
* @description Aggregate analytics for a workspace: what it stores, how its detections fare, and
|
|
15338
15568
|
* the inference tokens they spent.
|
|
15339
15569
|
*/
|
|
15340
15570
|
WorkspaceAnalytics: {
|
|
15341
|
-
/** @description
|
|
15342
|
-
|
|
15571
|
+
/** @description Detection health: volume, status mix, and durations. */
|
|
15572
|
+
detections: components["schemas"]["DetectionAnalytics"];
|
|
15343
15573
|
/** @description Stored-file totals and their per-kind breakdown. */
|
|
15344
15574
|
storage: components["schemas"]["StorageAnalytics"];
|
|
15345
15575
|
/** @description Inference token usage: workspace totals and a per-model breakdown. */
|
|
15346
15576
|
usage: components["schemas"]["UsageAnalytics"];
|
|
15347
15577
|
};
|
|
15578
|
+
/**
|
|
15579
|
+
* @description Query parameters for listing detections across a workspace.
|
|
15580
|
+
*
|
|
15581
|
+
* Every field is an optional filter; unset fields impose no constraint.
|
|
15582
|
+
*/
|
|
15583
|
+
WorkspaceDetectionsQuery: {
|
|
15584
|
+
/**
|
|
15585
|
+
* Format: uuid
|
|
15586
|
+
* @description Filter by the source file the detection analyzes.
|
|
15587
|
+
*/
|
|
15588
|
+
fileId?: string;
|
|
15589
|
+
/**
|
|
15590
|
+
* Format: uuid
|
|
15591
|
+
* @description Filter by the owning pipeline.
|
|
15592
|
+
*/
|
|
15593
|
+
pipelineId?: string;
|
|
15594
|
+
/** @description Filter by detection status. */
|
|
15595
|
+
status?: components["schemas"]["DetectionStatus"];
|
|
15596
|
+
/** @description Filter by how the detection was initiated (user vs system). */
|
|
15597
|
+
triggerType?: components["schemas"]["PipelineTriggerType"];
|
|
15598
|
+
/**
|
|
15599
|
+
* Format: uuid
|
|
15600
|
+
* @description Filter by the account that triggered the detection.
|
|
15601
|
+
*/
|
|
15602
|
+
triggeredBy?: string;
|
|
15603
|
+
};
|
|
15348
15604
|
/** @description Path parameters for file operations within a workspace context. */
|
|
15349
15605
|
WorkspaceFilePathParams: {
|
|
15350
15606
|
/**
|
|
@@ -15378,32 +15634,6 @@ interface components {
|
|
|
15378
15634
|
* hierarchical access control for workspace members with clearly defined capabilities.
|
|
15379
15635
|
*/
|
|
15380
15636
|
WorkspaceRole: "owner" | "admin" | "member" | "guest";
|
|
15381
|
-
/**
|
|
15382
|
-
* @description Query parameters for listing runs across a workspace.
|
|
15383
|
-
*
|
|
15384
|
-
* Every field is an optional filter; unset fields impose no constraint.
|
|
15385
|
-
*/
|
|
15386
|
-
WorkspaceRunsQuery: {
|
|
15387
|
-
/**
|
|
15388
|
-
* Format: uuid
|
|
15389
|
-
* @description Filter by the source file the run analyzes.
|
|
15390
|
-
*/
|
|
15391
|
-
fileId?: string;
|
|
15392
|
-
/**
|
|
15393
|
-
* Format: uuid
|
|
15394
|
-
* @description Filter by the owning pipeline.
|
|
15395
|
-
*/
|
|
15396
|
-
pipelineId?: string;
|
|
15397
|
-
/** @description Filter by run status. */
|
|
15398
|
-
status?: components["schemas"]["PipelineRunStatus"];
|
|
15399
|
-
/** @description Filter by how the run was initiated (user vs system). */
|
|
15400
|
-
triggerType?: components["schemas"]["PipelineTriggerType"];
|
|
15401
|
-
/**
|
|
15402
|
-
* Format: uuid
|
|
15403
|
-
* @description Filter by the account that triggered the run.
|
|
15404
|
-
*/
|
|
15405
|
-
triggeredBy?: string;
|
|
15406
|
-
};
|
|
15407
15637
|
/** @description Typed workspace settings, the JSON stored in the `workspaces.settings` column. */
|
|
15408
15638
|
WorkspaceSettings: {
|
|
15409
15639
|
/**
|
|
@@ -15474,7 +15704,8 @@ type MemberActivityParams = Schemas$21["MemberActivityParams"];
|
|
|
15474
15704
|
type InviteActivityParams = Schemas$21["InviteActivityParams"];
|
|
15475
15705
|
type ConnectionActivityParams = Schemas$21["ConnectionActivityParams"];
|
|
15476
15706
|
type PipelineActivityParams = Schemas$21["PipelineActivityParams"];
|
|
15477
|
-
type
|
|
15707
|
+
type DetectionActivityParams = Schemas$21["DetectionActivityParams"];
|
|
15708
|
+
type RedactionActivityParams = Schemas$21["RedactionActivityParams"];
|
|
15478
15709
|
type PolicyActivityParams = Schemas$21["PolicyActivityParams"];
|
|
15479
15710
|
type FileActivityParams = Schemas$21["FileActivityParams"];
|
|
15480
15711
|
type WebhookActivityParams = Schemas$21["WebhookActivityParams"];
|
|
@@ -15484,8 +15715,8 @@ type Schemas$20 = components["schemas"];
|
|
|
15484
15715
|
type WorkspaceAnalytics = Schemas$20["WorkspaceAnalytics"];
|
|
15485
15716
|
type StorageAnalytics = Schemas$20["StorageAnalytics"];
|
|
15486
15717
|
type StorageKindEntry = Schemas$20["StorageKindEntry"];
|
|
15487
|
-
type
|
|
15488
|
-
type
|
|
15718
|
+
type DetectionAnalytics = Schemas$20["DetectionAnalytics"];
|
|
15719
|
+
type DetectionStatusEntry = Schemas$20["DetectionStatusEntry"];
|
|
15489
15720
|
type UsageAnalytics = Schemas$20["UsageAnalytics"];
|
|
15490
15721
|
type ModelUsage = Schemas$20["ModelUsage"];
|
|
15491
15722
|
type ModelUsageEntry = Schemas$20["ModelUsageEntry"];
|
|
@@ -15494,8 +15725,8 @@ type UsageReport = Schemas$20["UsageReport"];
|
|
|
15494
15725
|
type TokenCounts = Schemas$20["TokenCounts"];
|
|
15495
15726
|
type ProviderType = Schemas$20["ProviderType"];
|
|
15496
15727
|
type RecognizerId = Schemas$20["RecognizerId"];
|
|
15497
|
-
type
|
|
15498
|
-
type
|
|
15728
|
+
type DetectionTimeSeries = Schemas$20["DetectionTimeSeries"];
|
|
15729
|
+
type DetectionDayEntry = Schemas$20["DetectionDayEntry"];
|
|
15499
15730
|
//#endregion
|
|
15500
15731
|
//#region src/datatypes/api-token.d.ts
|
|
15501
15732
|
type Schemas$19 = components["schemas"];
|
|
@@ -15555,7 +15786,6 @@ type TextPattern = Schemas$18["TextPattern"];
|
|
|
15555
15786
|
type TextManual = Schemas$18["TextManual"];
|
|
15556
15787
|
type TextEdit = Schemas$18["TextEdit"];
|
|
15557
15788
|
type TextAdd = Schemas$18["TextAdd"];
|
|
15558
|
-
type TextRedact = Schemas$18["TextRedact"];
|
|
15559
15789
|
type TextRefinement = Schemas$18["TextRefinement"];
|
|
15560
15790
|
type TextRetag = Schemas$18["TextRetag"];
|
|
15561
15791
|
type ImageEntity = Schemas$18["ImageEntity"];
|
|
@@ -15570,7 +15800,6 @@ type ImagePattern = Schemas$18["ImagePattern"];
|
|
|
15570
15800
|
type ImageManual = Schemas$18["ImageManual"];
|
|
15571
15801
|
type ImageEdit = Schemas$18["ImageEdit"];
|
|
15572
15802
|
type ImageAdd = Schemas$18["ImageAdd"];
|
|
15573
|
-
type ImageRedact = Schemas$18["ImageRedact"];
|
|
15574
15803
|
type ImageRefinement = Schemas$18["ImageRefinement"];
|
|
15575
15804
|
type ImageRetag = Schemas$18["ImageRetag"];
|
|
15576
15805
|
type AudioEntity = Schemas$18["AudioEntity"];
|
|
@@ -15585,7 +15814,6 @@ type AudioPattern = Schemas$18["AudioPattern"];
|
|
|
15585
15814
|
type AudioManual = Schemas$18["AudioManual"];
|
|
15586
15815
|
type AudioEdit = Schemas$18["AudioEdit"];
|
|
15587
15816
|
type AudioAdd = Schemas$18["AudioAdd"];
|
|
15588
|
-
type AudioRedact = Schemas$18["AudioRedact"];
|
|
15589
15817
|
type AudioRefinement = Schemas$18["AudioRefinement"];
|
|
15590
15818
|
type AudioRetag = Schemas$18["AudioRetag"];
|
|
15591
15819
|
type TabularEntity = Schemas$18["TabularEntity"];
|
|
@@ -15599,7 +15827,6 @@ type TabularPattern = Schemas$18["TabularPattern"];
|
|
|
15599
15827
|
type TabularManual = Schemas$18["TabularManual"];
|
|
15600
15828
|
type TabularEdit = Schemas$18["TabularEdit"];
|
|
15601
15829
|
type TabularAdd = Schemas$18["TabularAdd"];
|
|
15602
|
-
type TabularRedact = Schemas$18["TabularRedact"];
|
|
15603
15830
|
type TabularRefinement = Schemas$18["TabularRefinement"];
|
|
15604
15831
|
type TabularRetag = Schemas$18["TabularRetag"];
|
|
15605
15832
|
//#endregion
|
|
@@ -15654,142 +15881,147 @@ type OpenAiCredentials = Schemas$14["OpenAiCredentials"];
|
|
|
15654
15881
|
type SyncSchedule = Schemas$14["SyncSchedule"];
|
|
15655
15882
|
type SyncScheduleInput = Schemas$14["SyncScheduleInput"];
|
|
15656
15883
|
//#endregion
|
|
15657
|
-
//#region src/datatypes/
|
|
15884
|
+
//#region src/datatypes/detection.d.ts
|
|
15658
15885
|
type Schemas$13 = components["schemas"];
|
|
15659
|
-
type
|
|
15660
|
-
type
|
|
15886
|
+
type DetectionId = Schemas$13["DetectionId"];
|
|
15887
|
+
type Detection = Schemas$13["Detection"];
|
|
15888
|
+
type DetectionMetadata = Schemas$13["DetectionMetadata"];
|
|
15889
|
+
type CreateDetection = Schemas$13["CreateDetection"];
|
|
15890
|
+
type DetectionStatus = Schemas$13["DetectionStatus"];
|
|
15891
|
+
type DetectionPage = Schemas$13["DetectionPage"];
|
|
15892
|
+
type WorkspaceDetectionsQuery = Schemas$13["WorkspaceDetectionsQuery"];
|
|
15893
|
+
type PipelineDetectionsQuery = Schemas$13["PipelineDetectionsQuery"];
|
|
15894
|
+
type DetectionStatusEvent = Schemas$13["DetectionStatusEvent"];
|
|
15895
|
+
type RedactionId = Schemas$13["RedactionId"];
|
|
15896
|
+
type RedactDetection = Schemas$13["RedactDetection"];
|
|
15897
|
+
type RedactionResult = Schemas$13["RedactionResult"];
|
|
15898
|
+
type RedactionResultPage = Schemas$13["RedactionResultPage"];
|
|
15661
15899
|
//#endregion
|
|
15662
|
-
//#region src/datatypes/
|
|
15900
|
+
//#region src/datatypes/error.d.ts
|
|
15663
15901
|
type Schemas$12 = components["schemas"];
|
|
15664
|
-
type
|
|
15665
|
-
type
|
|
15666
|
-
type DateWindow = Schemas$12["DateWindow"];
|
|
15902
|
+
type ErrorResponse = Schemas$12["ErrorResponse"];
|
|
15903
|
+
type ValidationErrorDetail = Schemas$12["ValidationErrorDetail"];
|
|
15667
15904
|
//#endregion
|
|
15668
|
-
//#region src/datatypes/
|
|
15905
|
+
//#region src/datatypes/export.d.ts
|
|
15669
15906
|
type Schemas$11 = components["schemas"];
|
|
15670
|
-
type
|
|
15671
|
-
type
|
|
15672
|
-
type
|
|
15673
|
-
type FormatToken = Schemas$11["FormatToken"];
|
|
15674
|
-
type ModalityToken = Schemas$11["ModalityToken"];
|
|
15675
|
-
type ListFiles = Schemas$11["ListFiles"];
|
|
15676
|
-
type FilePage = Schemas$11["FilePage"];
|
|
15907
|
+
type ExportFormat = Schemas$11["ExportFormat"];
|
|
15908
|
+
type ExportQuery = Schemas$11["ExportQuery"];
|
|
15909
|
+
type DateWindow = Schemas$11["DateWindow"];
|
|
15677
15910
|
//#endregion
|
|
15678
|
-
//#region src/datatypes/
|
|
15911
|
+
//#region src/datatypes/file.d.ts
|
|
15679
15912
|
type Schemas$10 = components["schemas"];
|
|
15680
|
-
type
|
|
15681
|
-
type
|
|
15682
|
-
type
|
|
15913
|
+
type File = Schemas$10["File"];
|
|
15914
|
+
type UpdateFile = Schemas$10["UpdateFile"];
|
|
15915
|
+
type FileKind = Schemas$10["FileKind"];
|
|
15916
|
+
type FormatToken = Schemas$10["FormatToken"];
|
|
15917
|
+
type ModalityToken = Schemas$10["ModalityToken"];
|
|
15918
|
+
type ListFiles = Schemas$10["ListFiles"];
|
|
15919
|
+
type FilePage = Schemas$10["FilePage"];
|
|
15683
15920
|
//#endregion
|
|
15684
|
-
//#region src/datatypes/
|
|
15921
|
+
//#region src/datatypes/health.d.ts
|
|
15685
15922
|
type Schemas$9 = components["schemas"];
|
|
15686
|
-
type
|
|
15687
|
-
type
|
|
15688
|
-
type
|
|
15689
|
-
type ReplyInvite = Schemas$9["ReplyInvite"];
|
|
15690
|
-
type GenerateInviteCode = Schemas$9["GenerateInviteCode"];
|
|
15691
|
-
type InviteCode = Schemas$9["InviteCode"];
|
|
15692
|
-
type InviteStatus = Schemas$9["InviteStatus"];
|
|
15693
|
-
type InviteExpiration = Schemas$9["InviteExpiration"];
|
|
15694
|
-
type ListInvites = Schemas$9["ListInvites"];
|
|
15695
|
-
type InviteSortField = Schemas$9["InviteSortField"];
|
|
15696
|
-
type SortOrder = Schemas$9["SortOrder"];
|
|
15697
|
-
type InvitePreview = Schemas$9["InvitePreview"];
|
|
15698
|
-
type InvitePage = Schemas$9["InvitePage"];
|
|
15923
|
+
type Health = Schemas$9["Health"];
|
|
15924
|
+
type HealthStatus = Schemas$9["HealthStatus"];
|
|
15925
|
+
type ComponentHealth = Schemas$9["ComponentHealth"];
|
|
15699
15926
|
//#endregion
|
|
15700
|
-
//#region src/datatypes/
|
|
15927
|
+
//#region src/datatypes/invite.d.ts
|
|
15701
15928
|
type Schemas$8 = components["schemas"];
|
|
15702
|
-
type
|
|
15703
|
-
type
|
|
15704
|
-
type
|
|
15705
|
-
type
|
|
15706
|
-
type
|
|
15929
|
+
type Invite = Schemas$8["Invite"];
|
|
15930
|
+
type InviteSent = Schemas$8["InviteSent"];
|
|
15931
|
+
type CreateInvite = Schemas$8["CreateInvite"];
|
|
15932
|
+
type ReplyInvite = Schemas$8["ReplyInvite"];
|
|
15933
|
+
type GenerateInviteCode = Schemas$8["GenerateInviteCode"];
|
|
15934
|
+
type InviteCode = Schemas$8["InviteCode"];
|
|
15935
|
+
type InviteStatus = Schemas$8["InviteStatus"];
|
|
15936
|
+
type InviteExpiration = Schemas$8["InviteExpiration"];
|
|
15937
|
+
type ListInvites = Schemas$8["ListInvites"];
|
|
15938
|
+
type InviteSortField = Schemas$8["InviteSortField"];
|
|
15939
|
+
type SortOrder = Schemas$8["SortOrder"];
|
|
15940
|
+
type InvitePreview = Schemas$8["InvitePreview"];
|
|
15941
|
+
type InvitePage = Schemas$8["InvitePage"];
|
|
15707
15942
|
//#endregion
|
|
15708
|
-
//#region src/datatypes/
|
|
15943
|
+
//#region src/datatypes/member.d.ts
|
|
15709
15944
|
type Schemas$7 = components["schemas"];
|
|
15710
|
-
type
|
|
15711
|
-
type
|
|
15712
|
-
type
|
|
15713
|
-
type
|
|
15714
|
-
type
|
|
15715
|
-
type NotificationPage = Schemas$7["NotificationPage"];
|
|
15716
|
-
type MarkedReadStatus = Schemas$7["MarkedReadStatus"];
|
|
15717
|
-
type UnreadCountEvent = Schemas$7["UnreadCountEvent"];
|
|
15718
|
-
type NotificationPayload = Schemas$7["NotificationPayload"];
|
|
15719
|
-
type MemberInvitedParams = Schemas$7["MemberInvitedParams"];
|
|
15720
|
-
type MemberJoinedParams = Schemas$7["MemberJoinedParams"];
|
|
15721
|
-
type ConnectionSyncCompletedParams = Schemas$7["ConnectionSyncCompletedParams"];
|
|
15722
|
-
type ConnectionSyncFailedParams = Schemas$7["ConnectionSyncFailedParams"];
|
|
15723
|
-
type PipelineRunAnalyzedParams = Schemas$7["PipelineRunAnalyzedParams"];
|
|
15724
|
-
type PipelineRunCompletedParams = Schemas$7["PipelineRunCompletedParams"];
|
|
15725
|
-
type PipelineRunFailedParams = Schemas$7["PipelineRunFailedParams"];
|
|
15945
|
+
type Member = Schemas$7["Member"];
|
|
15946
|
+
type UpdateMember = Schemas$7["UpdateMember"];
|
|
15947
|
+
type ListMembers = Schemas$7["ListMembers"];
|
|
15948
|
+
type MemberSortField = Schemas$7["MemberSortField"];
|
|
15949
|
+
type MemberPage = Schemas$7["MemberPage"];
|
|
15726
15950
|
//#endregion
|
|
15727
|
-
//#region src/datatypes/
|
|
15951
|
+
//#region src/datatypes/notification.d.ts
|
|
15728
15952
|
type Schemas$6 = components["schemas"];
|
|
15729
|
-
type
|
|
15953
|
+
type Notification = Schemas$6["Notification"];
|
|
15954
|
+
type NotificationEvent = Schemas$6["NotificationEvent"];
|
|
15955
|
+
type NotificationSettings = Schemas$6["NotificationSettings"];
|
|
15956
|
+
type UpdateNotificationSettings = Schemas$6["UpdateNotificationSettings"];
|
|
15957
|
+
type UnreadStatus = Schemas$6["UnreadStatus"];
|
|
15958
|
+
type NotificationPage = Schemas$6["NotificationPage"];
|
|
15959
|
+
type MarkedReadStatus = Schemas$6["MarkedReadStatus"];
|
|
15960
|
+
type UnreadCountEvent = Schemas$6["UnreadCountEvent"];
|
|
15961
|
+
type NotificationPayload = Schemas$6["NotificationPayload"];
|
|
15962
|
+
type MemberInvitedParams = Schemas$6["MemberInvitedParams"];
|
|
15963
|
+
type MemberJoinedParams = Schemas$6["MemberJoinedParams"];
|
|
15964
|
+
type ConnectionSyncCompletedParams = Schemas$6["ConnectionSyncCompletedParams"];
|
|
15965
|
+
type ConnectionSyncFailedParams = Schemas$6["ConnectionSyncFailedParams"];
|
|
15966
|
+
type DetectionCompletedParams = Schemas$6["DetectionCompletedParams"];
|
|
15967
|
+
type DetectionFailedParams = Schemas$6["DetectionFailedParams"];
|
|
15968
|
+
type RedactionCreatedParams = Schemas$6["RedactionCreatedParams"];
|
|
15730
15969
|
//#endregion
|
|
15731
|
-
//#region src/datatypes/
|
|
15970
|
+
//#region src/datatypes/pagination.d.ts
|
|
15732
15971
|
type Schemas$5 = components["schemas"];
|
|
15733
|
-
type
|
|
15734
|
-
type CreatePipeline = Schemas$5["CreatePipeline"];
|
|
15735
|
-
type UpdatePipeline = Schemas$5["UpdatePipeline"];
|
|
15736
|
-
type PipelineDefinition = Schemas$5["PipelineDefinition"];
|
|
15737
|
-
type PipelineFilter = Schemas$5["PipelineFilter"];
|
|
15738
|
-
type PipelineStatus = Schemas$5["PipelineStatus"];
|
|
15739
|
-
type PipelineTriggerType = Schemas$5["PipelineTriggerType"];
|
|
15740
|
-
type PipelineSummary = Schemas$5["PipelineSummary"];
|
|
15741
|
-
type PipelineSummaryPage = Schemas$5["PipelineSummaryPage"];
|
|
15972
|
+
type CursorPagination = Schemas$5["CursorPagination"];
|
|
15742
15973
|
//#endregion
|
|
15743
|
-
//#region src/datatypes/
|
|
15974
|
+
//#region src/datatypes/pipeline.d.ts
|
|
15744
15975
|
type Schemas$4 = components["schemas"];
|
|
15745
|
-
type
|
|
15746
|
-
type
|
|
15747
|
-
type
|
|
15748
|
-
type
|
|
15749
|
-
type
|
|
15750
|
-
type
|
|
15751
|
-
type
|
|
15752
|
-
type
|
|
15753
|
-
type
|
|
15754
|
-
type TemplateOrigin = Schemas$4["TemplateOrigin"];
|
|
15755
|
-
type HipaaDeidMethod = Schemas$4["HipaaDeidMethod"];
|
|
15756
|
-
type HipaaAccountNumbers = Schemas$4["HipaaAccountNumbers"];
|
|
15757
|
-
type GdprArticle9Treatment = Schemas$4["GdprArticle9Treatment"];
|
|
15758
|
-
type GdprSensitiveScope = Schemas$4["GdprSensitiveScope"];
|
|
15759
|
-
type PciDssPart = Schemas$4["PciDssPart"];
|
|
15760
|
-
type PciPanRender = Schemas$4["PciPanRender"];
|
|
15761
|
-
type Predicate = Schemas$4["Predicate"];
|
|
15762
|
-
type ModalityRedactions = Schemas$4["ModalityRedactions"];
|
|
15763
|
-
type TextRedaction = Schemas$4["TextRedaction"];
|
|
15764
|
-
type ImageRedaction = Schemas$4["ImageRedaction"];
|
|
15765
|
-
type AudioRedaction = Schemas$4["AudioRedaction"];
|
|
15766
|
-
type TabularRedaction = Schemas$4["TabularRedaction"];
|
|
15767
|
-
type LabelScope = Schemas$4["LabelScope"];
|
|
15768
|
-
type LabelEntry = Schemas$4["LabelEntry"];
|
|
15769
|
-
type LabelLocale = Schemas$4["LabelLocale"];
|
|
15770
|
-
type Label = Schemas$4["Label"];
|
|
15771
|
-
type LabelRef = Schemas$4["LabelRef"];
|
|
15772
|
-
type LocalizedText = Schemas$4["LocalizedText"];
|
|
15773
|
-
type Color = Schemas$4["Color"];
|
|
15774
|
-
type Waveform = Schemas$4["Waveform"];
|
|
15775
|
-
type ClampBucket = Schemas$4["ClampBucket"];
|
|
15776
|
-
type ConfidenceThreshold = Schemas$4["ConfidenceThreshold"];
|
|
15777
|
-
type DateStyle = Schemas$4["DateStyle"];
|
|
15778
|
-
type DateGranularity = Schemas$4["DateGranularity"];
|
|
15779
|
-
type LanguageTag = Schemas$4["LanguageTag"];
|
|
15780
|
-
type Sha2Algorithm = Schemas$4["Sha2Algorithm"];
|
|
15781
|
-
type TerminalFallback = Schemas$4["TerminalFallback"];
|
|
15976
|
+
type Pipeline = Schemas$4["Pipeline"];
|
|
15977
|
+
type CreatePipeline = Schemas$4["CreatePipeline"];
|
|
15978
|
+
type UpdatePipeline = Schemas$4["UpdatePipeline"];
|
|
15979
|
+
type PipelineDefinition = Schemas$4["PipelineDefinition"];
|
|
15980
|
+
type PipelineFilter = Schemas$4["PipelineFilter"];
|
|
15981
|
+
type PipelineStatus = Schemas$4["PipelineStatus"];
|
|
15982
|
+
type PipelineTriggerType = Schemas$4["PipelineTriggerType"];
|
|
15983
|
+
type PipelineSummary = Schemas$4["PipelineSummary"];
|
|
15984
|
+
type PipelineSummaryPage = Schemas$4["PipelineSummaryPage"];
|
|
15782
15985
|
//#endregion
|
|
15783
|
-
//#region src/datatypes/
|
|
15986
|
+
//#region src/datatypes/policy.d.ts
|
|
15784
15987
|
type Schemas$3 = components["schemas"];
|
|
15785
|
-
type
|
|
15786
|
-
type
|
|
15787
|
-
type
|
|
15788
|
-
type
|
|
15789
|
-
type
|
|
15790
|
-
type
|
|
15791
|
-
type
|
|
15792
|
-
type
|
|
15988
|
+
type Policy = Schemas$3["Policy"];
|
|
15989
|
+
type PolicySummary = Schemas$3["PolicySummary"];
|
|
15990
|
+
type PolicySummaryPage = Schemas$3["PolicySummaryPage"];
|
|
15991
|
+
type PolicyDefinition = Schemas$3["PolicyDefinition"];
|
|
15992
|
+
type PolicyDraft = Schemas$3["PolicyDraft"];
|
|
15993
|
+
type CreatePolicy = Schemas$3["CreatePolicy"];
|
|
15994
|
+
type UpdatePolicy = Schemas$3["UpdatePolicy"];
|
|
15995
|
+
type PolicyRule = Schemas$3["PolicyRule"];
|
|
15996
|
+
type PolicyTemplate = Schemas$3["PolicyTemplate"];
|
|
15997
|
+
type TemplateOrigin = Schemas$3["TemplateOrigin"];
|
|
15998
|
+
type HipaaDeidMethod = Schemas$3["HipaaDeidMethod"];
|
|
15999
|
+
type HipaaAccountNumbers = Schemas$3["HipaaAccountNumbers"];
|
|
16000
|
+
type GdprArticle9Treatment = Schemas$3["GdprArticle9Treatment"];
|
|
16001
|
+
type GdprSensitiveScope = Schemas$3["GdprSensitiveScope"];
|
|
16002
|
+
type PciDssPart = Schemas$3["PciDssPart"];
|
|
16003
|
+
type PciPanRender = Schemas$3["PciPanRender"];
|
|
16004
|
+
type Predicate = Schemas$3["Predicate"];
|
|
16005
|
+
type ModalityRedactions = Schemas$3["ModalityRedactions"];
|
|
16006
|
+
type TextRedaction = Schemas$3["TextRedaction"];
|
|
16007
|
+
type ImageRedaction = Schemas$3["ImageRedaction"];
|
|
16008
|
+
type AudioRedaction = Schemas$3["AudioRedaction"];
|
|
16009
|
+
type TabularRedaction = Schemas$3["TabularRedaction"];
|
|
16010
|
+
type LabelScope = Schemas$3["LabelScope"];
|
|
16011
|
+
type LabelEntry = Schemas$3["LabelEntry"];
|
|
16012
|
+
type LabelLocale = Schemas$3["LabelLocale"];
|
|
16013
|
+
type Label = Schemas$3["Label"];
|
|
16014
|
+
type LabelRef = Schemas$3["LabelRef"];
|
|
16015
|
+
type LocalizedText = Schemas$3["LocalizedText"];
|
|
16016
|
+
type Color = Schemas$3["Color"];
|
|
16017
|
+
type Waveform = Schemas$3["Waveform"];
|
|
16018
|
+
type ClampBucket = Schemas$3["ClampBucket"];
|
|
16019
|
+
type ConfidenceThreshold = Schemas$3["ConfidenceThreshold"];
|
|
16020
|
+
type DateStyle = Schemas$3["DateStyle"];
|
|
16021
|
+
type DateGranularity = Schemas$3["DateGranularity"];
|
|
16022
|
+
type LanguageTag = Schemas$3["LanguageTag"];
|
|
16023
|
+
type Sha2Algorithm = Schemas$3["Sha2Algorithm"];
|
|
16024
|
+
type TerminalFallback = Schemas$3["TerminalFallback"];
|
|
15793
16025
|
//#endregion
|
|
15794
16026
|
//#region src/datatypes/scope.d.ts
|
|
15795
16027
|
type Schemas$2 = components["schemas"];
|
|
@@ -15827,5 +16059,5 @@ type Retention = Schemas["Retention"];
|
|
|
15827
16059
|
type RetentionSettings = Schemas["RetentionSettings"];
|
|
15828
16060
|
type RetentionOverride = Schemas["RetentionOverride"];
|
|
15829
16061
|
//#endregion
|
|
15830
|
-
export {
|
|
15831
|
-
//# sourceMappingURL=index-
|
|
16062
|
+
export { PolicyRule as $, DetectionAnalytics as $i, ChatMessage as $n, ImageModel as $r, ReplyInvite as $t, Color as A, Account as Aa, TabularRetag as Ai, AzureCredentials as An, Calibration as Ar, NotificationPage as At, Label as B, TextManual as Bi, GcsCredentials as Bn, EditSet as Br, MemberSortField as Bt, Language as C, InviteActivityParams as Ca, TabularEntity as Ci, PipelineDetectionsQuery as Cn, AudioModel as Cr, DetectionCompletedParams as Ct, ScopeMetadata as D, RedactionActivityParams as Da, TabularModel as Di, RedactionResultPage as Dn, Audit as Dr, MemberJoinedParams as Dt, Languages as E, PolicyActivityParams as Ea, TabularManual as Ei, RedactionResult as En, AudioRetag as Er, MemberInvitedParams as Et, GdprArticle9Treatment as F, UpdateAccount as Fa, TextData as Fi, ConnectionSync as Fn, Contested as Fr, UnreadStatus as Ft, LanguageTag as G, TimeSpan as Gi, SyncConnection as Gn, ImageAuditKind as Gr, InviteCode as Gt, LabelLocale as H, TextPattern as Hi, OpenAiCredentials as Hn, FreeformAttribution as Hr, CreateInvite as Ht, GdprSensitiveScope as I, paths as Ia, TextEdit as Ii, ConnectionSyncPage as In, Deduplication as Ir, UpdateNotificationSettings as It, PciDssPart as J, ApiTokenType as Ji, SyncSchedule as Jn, ImageEdit as Jr, InvitePreview as Jt, LocalizedText as K, ApiToken as Ki, SyncDeletionPolicy as Kn, ImageAuditLog as Kr, InviteExpiration as Kt, HipaaAccountNumbers as L, TextEntity as Li, ConnectionVerification as Ln, Dimensions as Lr, ListMembers as Lt, CreatePolicy as M, Handle as Ma, TextAuditEvent as Mi, ConnectionConfig as Mn, CitedAttribution as Mr, NotificationSettings as Mt, DateGranularity as N, PasswordChange as Na, TextAuditKind as Ni, ConnectionId as Nn, CodecParams as Nr, RedactionCreatedParams as Nt, AudioRedaction as O, WebhookActivityParams as Oa, TabularPattern as Oi, WorkspaceDetectionsQuery as On, AuditHash as Or, Notification as Ot, DateStyle as P, PublicAccount as Pa, TextAuditLog as Pi, ConnectionPage as Pn, Conflict as Pr, UnreadCountEvent as Pt, PolicyDraft as Q, UpdateApiToken as Qi, UpdateConnection as Qn, ImageManual as Qr, ListInvites as Qt, HipaaDeidMethod as R, TextHint as Ri, ConnectionsQuery as Rn, DocumentContext as Rr, Member as Rt, CountryCode as S, FileActivityParams as Sa, TabularEdit as Si, DetectionStatusEvent as Sn, AudioManual as Sr, ConnectionSyncFailedParams as St, LanguageSpan as T, PipelineActivityParams as Ta, TabularLocation as Ti, RedactionId as Tn, AudioRefinement as Tr, MarkedReadStatus as Tt, LabelRef as U, TextRefinement as Ui, S3Credentials as Un, ImageAdd as Ur, GenerateInviteCode as Ut, LabelEntry as V, TextModel as Vi, LlmConfig as Vn, EntityCoRef as Vr, UpdateMember as Vt, LabelScope as W, TextRetag as Wi, StorageConfig as Wn, ImageAuditEvent as Wr, Invite as Wt, Policy as X, CreateApiToken as Xi, SyncStatus as Xn, ImageHint as Xr, InviteSortField as Xt, PciPanRender as Y, ApiTokenWithJWT as Yi, SyncScheduleInput as Yn, ImageEntity as Yr, InviteSent as Yt, PolicyDefinition as Z, TokenExpiration as Zi, SyncTriggerType as Zn, ImageLocation as Zr, InviteStatus as Zt, WebhookId as _, ActivityPage as _a, Suppress as _i, Detection as _n, AudioData as _r, PipelineSummaryPage as _t, RetentionSettings as a, ProviderType as aa, ModelEvent as ai, FileKind as an, SendChatMessage as ar, TabularRedaction as at, WebhookStatus as b, ConnectionActivityParams as ba, TabularAuditKind as bi, DetectionPage as bn, AudioHint as br, CursorPagination as bt, WorkspacePage as c, StorageKindEntry as ca, Point as ci, ListFiles as cn, RegisteredRecognizer as cr, TextRedaction as ct, CreateWebhook as d, UsageAnalytics as da, RasterMode as di, DateWindow as dn, Signup as dr, CreatePipeline as dt, DetectionDayEntry as ea, ImagePattern as ei, SortOrder as en, ChatRole as er, PolicySummary as et, TestWebhook as f, UsageReport as fa, Redaction as fi, ExportFormat as fn, Attribution as fr, Pipeline as ft, WebhookEvent as g, ActivityFilterQuery as ga, SourceRef as gi, CreateDetection as gn, AudioAuditLog as gr, PipelineSummary as gt, WebhookCreated as h, ActivityExportOptions as ha, Selection as hi, ValidationErrorDetail as hn, AudioAuditKind as hr, PipelineStatus as ht, RetentionOverride as i, ModelUsageEntry as ia, ManualIntent as ii, File as in, CreateChatSession as ir, Sha2Algorithm as it, ConfidenceThreshold as j, AccountRef as ja, TextAdd as ji, Connection as jn, Category as jr, NotificationPayload as jt, ClampBucket as k, WorkspaceActivityParams as ka, TabularRefinement as ki, AnthropicCredentials as kn, BoundingBox as kr, NotificationEvent as kt, WorkspaceRole as l, TokenCounts as la, Polygon as li, ModalityToken as ln, AuthToken as lr, UpdatePolicy as lt, Webhook as m, Activity as ma, RuleMatch as mi, ErrorResponse as mn, AudioAuditEvent as mr, PipelineFilter as mt, OcrPolicy as n, DetectionTimeSeries as na, ImageRetag as ni, Health as nn, ChatSessionPage as nr, PolicyTemplate as nt, UpdateWorkspace as o, RecognizerId as oa, OperatorId as oi, FilePage as on, LabelCatalog as or, TemplateOrigin as ot, UpdateWebhook as p, WorkspaceAnalytics as pa, Report as pi, ExportQuery as pn, AudioAdd as pr, PipelineDefinition as pt, ModalityRedactions as q, ApiTokenPage as qi, SyncMode as qn, ImageData as qr, InvitePage as qt, Retention as r, ModelUsage as ra, LeakProfile as ri, HealthStatus as rn, ChatToken as rr, Predicate as rt, Workspace as s, StorageAnalytics as sa, PatternEvent as si, FormatToken as sn, RecognizerCatalog as sr, TerminalFallback as st, CreateWorkspace as t, DetectionStatusEntry as ta, ImageRefinement as ti, ComponentHealth as tn, ChatSession as tr, PolicySummaryPage as tt, WorkspaceSettings as u, Usage as ua, RangeOfUint as ui, UpdateFile as un, Login as ur, Waveform as ut, WebhookPage as v, ActivityPayload as va, TabularAdd as vi, DetectionId as vn, AudioEdit as vr, PipelineTriggerType as vt, LanguageProvenance as w, MemberActivityParams as wa, TabularHint as wi, RedactDetection as wn, AudioPattern as wr, DetectionFailedParams as wt, Confidence as x, DetectionActivityParams as xa, TabularAuditLog as xi, DetectionStatus as xn, AudioLocation as xr, ConnectionSyncCompletedParams as xt, WebhookResult as y, ActivityType as ya, TabularAuditEvent as yi, DetectionMetadata as yn, AudioEntity as yr, UpdatePipeline as yt, ImageRedaction as z, TextLocation as zi, CreateConnection as zn, Dpi as zr, MemberPage as zt };
|
|
16063
|
+
//# sourceMappingURL=index-B1rBPY26.d.ts.map
|