@uug-ai/models 1.6.11 → 1.6.12
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/dist/types.d.ts +281 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -15174,6 +15174,123 @@ export interface paths {
|
|
|
15174
15174
|
patch?: never;
|
|
15175
15175
|
trace?: never;
|
|
15176
15176
|
};
|
|
15177
|
+
"/internal/getworkflowrunserrorresponse": {
|
|
15178
|
+
parameters: {
|
|
15179
|
+
query?: never;
|
|
15180
|
+
header?: never;
|
|
15181
|
+
path?: never;
|
|
15182
|
+
cookie?: never;
|
|
15183
|
+
};
|
|
15184
|
+
/**
|
|
15185
|
+
* Get GetWorkflowRunsErrorResponse (schema generation only)
|
|
15186
|
+
* @description Internal endpoint used only to ensure GetWorkflowRunsErrorResponse schema is generated in OpenAPI spec
|
|
15187
|
+
*/
|
|
15188
|
+
get: {
|
|
15189
|
+
parameters: {
|
|
15190
|
+
query?: never;
|
|
15191
|
+
header?: never;
|
|
15192
|
+
path?: never;
|
|
15193
|
+
cookie?: never;
|
|
15194
|
+
};
|
|
15195
|
+
requestBody?: never;
|
|
15196
|
+
responses: {
|
|
15197
|
+
/** @description OK */
|
|
15198
|
+
200: {
|
|
15199
|
+
headers: {
|
|
15200
|
+
[name: string]: unknown;
|
|
15201
|
+
};
|
|
15202
|
+
content: {
|
|
15203
|
+
"application/json": components["schemas"]["api.GetWorkflowRunsErrorResponse"];
|
|
15204
|
+
};
|
|
15205
|
+
};
|
|
15206
|
+
};
|
|
15207
|
+
};
|
|
15208
|
+
put?: never;
|
|
15209
|
+
post?: never;
|
|
15210
|
+
delete?: never;
|
|
15211
|
+
options?: never;
|
|
15212
|
+
head?: never;
|
|
15213
|
+
patch?: never;
|
|
15214
|
+
trace?: never;
|
|
15215
|
+
};
|
|
15216
|
+
"/internal/getworkflowrunsresponse": {
|
|
15217
|
+
parameters: {
|
|
15218
|
+
query?: never;
|
|
15219
|
+
header?: never;
|
|
15220
|
+
path?: never;
|
|
15221
|
+
cookie?: never;
|
|
15222
|
+
};
|
|
15223
|
+
/**
|
|
15224
|
+
* Get GetWorkflowRunsResponse (schema generation only)
|
|
15225
|
+
* @description Internal endpoint used only to ensure GetWorkflowRunsResponse schema is generated in OpenAPI spec
|
|
15226
|
+
*/
|
|
15227
|
+
get: {
|
|
15228
|
+
parameters: {
|
|
15229
|
+
query?: never;
|
|
15230
|
+
header?: never;
|
|
15231
|
+
path?: never;
|
|
15232
|
+
cookie?: never;
|
|
15233
|
+
};
|
|
15234
|
+
requestBody?: never;
|
|
15235
|
+
responses: {
|
|
15236
|
+
/** @description OK */
|
|
15237
|
+
200: {
|
|
15238
|
+
headers: {
|
|
15239
|
+
[name: string]: unknown;
|
|
15240
|
+
};
|
|
15241
|
+
content: {
|
|
15242
|
+
"application/json": components["schemas"]["api.GetWorkflowRunsResponse"];
|
|
15243
|
+
};
|
|
15244
|
+
};
|
|
15245
|
+
};
|
|
15246
|
+
};
|
|
15247
|
+
put?: never;
|
|
15248
|
+
post?: never;
|
|
15249
|
+
delete?: never;
|
|
15250
|
+
options?: never;
|
|
15251
|
+
head?: never;
|
|
15252
|
+
patch?: never;
|
|
15253
|
+
trace?: never;
|
|
15254
|
+
};
|
|
15255
|
+
"/internal/getworkflowrunssuccessresponse": {
|
|
15256
|
+
parameters: {
|
|
15257
|
+
query?: never;
|
|
15258
|
+
header?: never;
|
|
15259
|
+
path?: never;
|
|
15260
|
+
cookie?: never;
|
|
15261
|
+
};
|
|
15262
|
+
/**
|
|
15263
|
+
* Get GetWorkflowRunsSuccessResponse (schema generation only)
|
|
15264
|
+
* @description Internal endpoint used only to ensure GetWorkflowRunsSuccessResponse schema is generated in OpenAPI spec
|
|
15265
|
+
*/
|
|
15266
|
+
get: {
|
|
15267
|
+
parameters: {
|
|
15268
|
+
query?: never;
|
|
15269
|
+
header?: never;
|
|
15270
|
+
path?: never;
|
|
15271
|
+
cookie?: never;
|
|
15272
|
+
};
|
|
15273
|
+
requestBody?: never;
|
|
15274
|
+
responses: {
|
|
15275
|
+
/** @description OK */
|
|
15276
|
+
200: {
|
|
15277
|
+
headers: {
|
|
15278
|
+
[name: string]: unknown;
|
|
15279
|
+
};
|
|
15280
|
+
content: {
|
|
15281
|
+
"application/json": components["schemas"]["api.GetWorkflowRunsSuccessResponse"];
|
|
15282
|
+
};
|
|
15283
|
+
};
|
|
15284
|
+
};
|
|
15285
|
+
};
|
|
15286
|
+
put?: never;
|
|
15287
|
+
post?: never;
|
|
15288
|
+
delete?: never;
|
|
15289
|
+
options?: never;
|
|
15290
|
+
head?: never;
|
|
15291
|
+
patch?: never;
|
|
15292
|
+
trace?: never;
|
|
15293
|
+
};
|
|
15177
15294
|
"/internal/getworkflowserrorresponse": {
|
|
15178
15295
|
parameters: {
|
|
15179
15296
|
query?: never;
|
|
@@ -25821,6 +25938,84 @@ export interface paths {
|
|
|
25821
25938
|
patch?: never;
|
|
25822
25939
|
trace?: never;
|
|
25823
25940
|
};
|
|
25941
|
+
"/internal/workflowrunstatus": {
|
|
25942
|
+
parameters: {
|
|
25943
|
+
query?: never;
|
|
25944
|
+
header?: never;
|
|
25945
|
+
path?: never;
|
|
25946
|
+
cookie?: never;
|
|
25947
|
+
};
|
|
25948
|
+
/**
|
|
25949
|
+
* Get WorkflowRunStatus (schema generation only)
|
|
25950
|
+
* @description Internal endpoint used only to ensure WorkflowRunStatus schema is generated in OpenAPI spec
|
|
25951
|
+
*/
|
|
25952
|
+
get: {
|
|
25953
|
+
parameters: {
|
|
25954
|
+
query?: never;
|
|
25955
|
+
header?: never;
|
|
25956
|
+
path?: never;
|
|
25957
|
+
cookie?: never;
|
|
25958
|
+
};
|
|
25959
|
+
requestBody?: never;
|
|
25960
|
+
responses: {
|
|
25961
|
+
/** @description OK */
|
|
25962
|
+
200: {
|
|
25963
|
+
headers: {
|
|
25964
|
+
[name: string]: unknown;
|
|
25965
|
+
};
|
|
25966
|
+
content: {
|
|
25967
|
+
"application/json": components["schemas"]["api.WorkflowRunStatus"];
|
|
25968
|
+
};
|
|
25969
|
+
};
|
|
25970
|
+
};
|
|
25971
|
+
};
|
|
25972
|
+
put?: never;
|
|
25973
|
+
post?: never;
|
|
25974
|
+
delete?: never;
|
|
25975
|
+
options?: never;
|
|
25976
|
+
head?: never;
|
|
25977
|
+
patch?: never;
|
|
25978
|
+
trace?: never;
|
|
25979
|
+
};
|
|
25980
|
+
"/internal/workflowrunstatussummary": {
|
|
25981
|
+
parameters: {
|
|
25982
|
+
query?: never;
|
|
25983
|
+
header?: never;
|
|
25984
|
+
path?: never;
|
|
25985
|
+
cookie?: never;
|
|
25986
|
+
};
|
|
25987
|
+
/**
|
|
25988
|
+
* Get WorkflowRunStatusSummary (schema generation only)
|
|
25989
|
+
* @description Internal endpoint used only to ensure WorkflowRunStatusSummary schema is generated in OpenAPI spec
|
|
25990
|
+
*/
|
|
25991
|
+
get: {
|
|
25992
|
+
parameters: {
|
|
25993
|
+
query?: never;
|
|
25994
|
+
header?: never;
|
|
25995
|
+
path?: never;
|
|
25996
|
+
cookie?: never;
|
|
25997
|
+
};
|
|
25998
|
+
requestBody?: never;
|
|
25999
|
+
responses: {
|
|
26000
|
+
/** @description OK */
|
|
26001
|
+
200: {
|
|
26002
|
+
headers: {
|
|
26003
|
+
[name: string]: unknown;
|
|
26004
|
+
};
|
|
26005
|
+
content: {
|
|
26006
|
+
"application/json": components["schemas"]["api.WorkflowRunStatusSummary"];
|
|
26007
|
+
};
|
|
26008
|
+
};
|
|
26009
|
+
};
|
|
26010
|
+
};
|
|
26011
|
+
put?: never;
|
|
26012
|
+
post?: never;
|
|
26013
|
+
delete?: never;
|
|
26014
|
+
options?: never;
|
|
26015
|
+
head?: never;
|
|
26016
|
+
patch?: never;
|
|
26017
|
+
trace?: never;
|
|
26018
|
+
};
|
|
25824
26019
|
"/internal/workflowstage": {
|
|
25825
26020
|
parameters: {
|
|
25826
26021
|
query?: never;
|
|
@@ -26517,6 +26712,15 @@ export interface components {
|
|
|
26517
26712
|
params?: {
|
|
26518
26713
|
[key: string]: unknown;
|
|
26519
26714
|
};
|
|
26715
|
+
/**
|
|
26716
|
+
* @description SourceAttachmentId points at a video CaseAttachment by its id.
|
|
26717
|
+
* When both SourceCaseMediaId and SourceVideoFile are empty the API
|
|
26718
|
+
* materialises (idempotently — reuses the attachment's linked row
|
|
26719
|
+
* when present) a Role=source CaseMedia from the attachment's stored
|
|
26720
|
+
* video and applies the edit to that row, so an attached video can
|
|
26721
|
+
* be redacted with the same flow as a device recording.
|
|
26722
|
+
*/
|
|
26723
|
+
sourceAttachmentId?: string;
|
|
26520
26724
|
sourceCaseMediaId?: string;
|
|
26521
26725
|
/**
|
|
26522
26726
|
* @description SourceVideoFile points at a legacy task.export_files entry by its
|
|
@@ -28585,6 +28789,35 @@ export interface components {
|
|
|
28585
28789
|
"api.GetWorkflowResponse": {
|
|
28586
28790
|
workflow?: components["schemas"]["models.Workflow"];
|
|
28587
28791
|
};
|
|
28792
|
+
"api.GetWorkflowRunsErrorResponse": {
|
|
28793
|
+
/** @description Application-specific error code */
|
|
28794
|
+
applicationStatusCode?: string;
|
|
28795
|
+
/** @description Entity-specific error code */
|
|
28796
|
+
entityStatusCode?: string;
|
|
28797
|
+
/** @description HTTP status code for the error */
|
|
28798
|
+
httpStatusCode?: number;
|
|
28799
|
+
/** @description Error message describing the issue */
|
|
28800
|
+
message?: string;
|
|
28801
|
+
/** @description Additional metadata about the error, such as timestamps and request IDs */
|
|
28802
|
+
metadata?: components["schemas"]["api.Metadata"];
|
|
28803
|
+
};
|
|
28804
|
+
"api.GetWorkflowRunsResponse": {
|
|
28805
|
+
runs?: components["schemas"]["api.WorkflowRunStatus"][];
|
|
28806
|
+
summary?: components["schemas"]["api.WorkflowRunStatusSummary"];
|
|
28807
|
+
};
|
|
28808
|
+
"api.GetWorkflowRunsSuccessResponse": {
|
|
28809
|
+
/** @description Application-specific status code */
|
|
28810
|
+
applicationStatusCode?: string;
|
|
28811
|
+
data?: components["schemas"]["api.GetWorkflowRunsResponse"];
|
|
28812
|
+
/** @description Entity-specific status code */
|
|
28813
|
+
entityStatusCode?: string;
|
|
28814
|
+
/** @description HTTP status code for the response */
|
|
28815
|
+
httpStatusCode?: number;
|
|
28816
|
+
/** @description Success message describing the operation */
|
|
28817
|
+
message?: string;
|
|
28818
|
+
/** @description Additional metadata about the response, such as timestamps and request IDs */
|
|
28819
|
+
metadata?: components["schemas"]["api.Metadata"];
|
|
28820
|
+
};
|
|
28588
28821
|
"api.GetWorkflowSuccessResponse": {
|
|
28589
28822
|
/** @description Application-specific status code */
|
|
28590
28823
|
applicationStatusCode?: string;
|
|
@@ -29045,6 +29278,7 @@ export interface components {
|
|
|
29045
29278
|
metadata?: components["schemas"]["api.Metadata"];
|
|
29046
29279
|
};
|
|
29047
29280
|
"api.RunWorkflowRequest": {
|
|
29281
|
+
attachmentIds?: string[];
|
|
29048
29282
|
mediaIds?: string[];
|
|
29049
29283
|
workflowId?: string;
|
|
29050
29284
|
};
|
|
@@ -29738,6 +29972,36 @@ export interface components {
|
|
|
29738
29972
|
surface?: components["schemas"]["models.WorkflowTriggerSurface"];
|
|
29739
29973
|
triggerType?: components["schemas"]["models.WorkflowTriggerType"];
|
|
29740
29974
|
};
|
|
29975
|
+
"api.WorkflowRunStatus": {
|
|
29976
|
+
/**
|
|
29977
|
+
* @description Dispatched / Resolved are the sizes of the run's dispatched and resolved
|
|
29978
|
+
* operation sets, exposed as a coarse progress hint.
|
|
29979
|
+
*/
|
|
29980
|
+
dispatched?: number;
|
|
29981
|
+
end?: number;
|
|
29982
|
+
/** @description HasResults is true when the run accumulated any stage output. */
|
|
29983
|
+
hasResults?: boolean;
|
|
29984
|
+
key?: string;
|
|
29985
|
+
origin?: string;
|
|
29986
|
+
resolved?: number;
|
|
29987
|
+
runId?: string;
|
|
29988
|
+
sourceRef?: string;
|
|
29989
|
+
/** @description Start / End are unix seconds; End is 0 while the run is still open. */
|
|
29990
|
+
start?: number;
|
|
29991
|
+
/**
|
|
29992
|
+
* @description State is the derived lifecycle: running | completed | noResult
|
|
29993
|
+
* (models.WorkflowRunState).
|
|
29994
|
+
*/
|
|
29995
|
+
state?: string;
|
|
29996
|
+
workflowId?: string;
|
|
29997
|
+
workflowName?: string;
|
|
29998
|
+
};
|
|
29999
|
+
"api.WorkflowRunStatusSummary": {
|
|
30000
|
+
completed?: number;
|
|
30001
|
+
noResult?: number;
|
|
30002
|
+
running?: number;
|
|
30003
|
+
total?: number;
|
|
30004
|
+
};
|
|
29741
30005
|
/** @enum {integer} */
|
|
29742
30006
|
"models.AccessLevel": 0 | 1 | 2 | 3;
|
|
29743
30007
|
"models.AccessToken": {
|
|
@@ -30183,6 +30447,18 @@ export interface components {
|
|
|
30183
30447
|
*/
|
|
30184
30448
|
media?: components["schemas"]["models.Media"];
|
|
30185
30449
|
organisationId?: string;
|
|
30450
|
+
/**
|
|
30451
|
+
* @description OriginAttachmentId marks a Role=source row that was materialised
|
|
30452
|
+
* from a video CaseAttachment (see the case_attachments collection)
|
|
30453
|
+
* so a case's attached videos can flow through the same
|
|
30454
|
+
* workflow-run and redaction machinery as device recordings. It
|
|
30455
|
+
* back-links to the CaseAttachment.Id. Rows carrying it are kept
|
|
30456
|
+
* out of the normal media playlist and default to
|
|
30457
|
+
* IncludeInExport=false / IncludeInShare=false at insert time (the
|
|
30458
|
+
* owning attachment carries its own export/share curation). Only
|
|
30459
|
+
* meaningful on Role = "source".
|
|
30460
|
+
*/
|
|
30461
|
+
originAttachmentId?: string;
|
|
30186
30462
|
/**
|
|
30187
30463
|
* @description Params carries kind-specific parameters used to produce the edit.
|
|
30188
30464
|
* For Action = "composite" it is expected to contain an
|
|
@@ -33947,6 +34223,9 @@ export declare namespace api {
|
|
|
33947
34223
|
type GetVideowallsSuccessResponse = components['schemas']['api.GetVideowallsSuccessResponse'];
|
|
33948
34224
|
type GetWorkflowErrorResponse = components['schemas']['api.GetWorkflowErrorResponse'];
|
|
33949
34225
|
type GetWorkflowResponse = components['schemas']['api.GetWorkflowResponse'];
|
|
34226
|
+
type GetWorkflowRunsErrorResponse = components['schemas']['api.GetWorkflowRunsErrorResponse'];
|
|
34227
|
+
type GetWorkflowRunsResponse = components['schemas']['api.GetWorkflowRunsResponse'];
|
|
34228
|
+
type GetWorkflowRunsSuccessResponse = components['schemas']['api.GetWorkflowRunsSuccessResponse'];
|
|
33950
34229
|
type GetWorkflowSuccessResponse = components['schemas']['api.GetWorkflowSuccessResponse'];
|
|
33951
34230
|
type GetWorkflowsErrorResponse = components['schemas']['api.GetWorkflowsErrorResponse'];
|
|
33952
34231
|
type GetWorkflowsRequest = components['schemas']['api.GetWorkflowsRequest'];
|
|
@@ -34069,4 +34348,6 @@ export declare namespace api {
|
|
|
34069
34348
|
type UpsertStateSuccessResponse = components['schemas']['api.UpsertStateSuccessResponse'];
|
|
34070
34349
|
type WarningResponse = components['schemas']['api.WarningResponse'];
|
|
34071
34350
|
type WorkflowFilter = components['schemas']['api.WorkflowFilter'];
|
|
34351
|
+
type WorkflowRunStatus = components['schemas']['api.WorkflowRunStatus'];
|
|
34352
|
+
type WorkflowRunStatusSummary = components['schemas']['api.WorkflowRunStatusSummary'];
|
|
34072
34353
|
}
|