@rossum/api-client 0.1.18 → 0.1.20
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/index.js +2 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/src/annotations/models/annotationData.schema.js +21 -54
- package/src/annotations/models/annotationData.schema.js.map +1 -1
- package/src/deleteRecommendations/endpoints/list.js.map +1 -1
- package/src/deleteRecommendations/endpoints/list.schema.js +3 -1
- package/src/deleteRecommendations/endpoints/list.schema.js.map +1 -1
- package/src/documents/endpoints/downloads.js.map +1 -1
- package/src/documents/endpoints/downloads.schema.js +17 -5
- package/src/documents/endpoints/downloads.schema.js.map +1 -1
- package/src/hooks/models/hookUtils.schema.js +5 -1
- package/src/hooks/models/hookUtils.schema.js.map +1 -1
- package/src/hooks/models/log.schema.js +6 -0
- package/src/hooks/models/log.schema.js.map +1 -1
- package/src/inboxes/endpoints/index.js +2 -0
- package/src/inboxes/endpoints/index.js.map +1 -1
- package/src/inboxes/endpoints/list.js +17 -0
- package/src/inboxes/endpoints/list.js.map +1 -0
- package/src/inboxes/endpoints/list.schema.js +8 -0
- package/src/inboxes/endpoints/list.schema.js.map +1 -0
- package/src/internal/endpoints/generateRejectionEmail.js +15 -0
- package/src/internal/endpoints/generateRejectionEmail.js.map +1 -0
- package/src/internal/endpoints/generateRejectionEmail.schema.js +23 -0
- package/src/internal/endpoints/generateRejectionEmail.schema.js.map +1 -0
- package/src/internal/endpoints/index.js +2 -0
- package/src/internal/endpoints/index.js.map +1 -1
- package/src/models/annotationStatus.schema.js +1 -0
- package/src/models/annotationStatus.schema.js.map +1 -1
- package/src/queues/endpoints/upload.js +2 -1
- package/src/queues/endpoints/upload.js.map +1 -1
- package/src/tasks/endpoints/get.js +2 -1
- package/src/tasks/endpoints/get.js.map +1 -1
- package/src/tasks/models/asyncTask.schema.js +5 -1
- package/src/tasks/models/asyncTask.schema.js.map +1 -1
- package/src/uploads/endpoints/index.js +8 -0
- package/src/uploads/endpoints/index.js.map +1 -0
- package/src/uploads/endpoints/post.js +20 -0
- package/src/uploads/endpoints/post.js.map +1 -0
- package/src/uploads/endpoints/post.schema.js +12 -0
- package/src/uploads/endpoints/post.schema.js.map +1 -0
- package/src/utils/requestConfig.js +2 -1
- package/src/utils/requestConfig.js.map +1 -1
- package/types/index.d.ts +7 -2
- package/types/src/annotations/endpoints/list.schema.d.ts +3 -3
- package/types/src/annotations/endpoints/patch.schema.d.ts +3 -3
- package/types/src/annotations/endpoints/validate.schema.d.ts +170 -170
- package/types/src/annotations/models/annotation.schema.d.ts +3 -3
- package/types/src/annotations/models/annotationData.d.ts +20 -48
- package/types/src/annotations/models/annotationData.schema.d.ts +1950 -1950
- package/types/src/annotations/models/annotationListResponse.d.ts +73 -73
- package/types/src/annotations/models/annotationListResponse.schema.d.ts +68 -68
- package/types/src/annotations/models/editPages.schema.d.ts +11 -11
- package/types/src/deleteRecommendations/endpoints/list.d.ts +3 -1
- package/types/src/deleteRecommendations/endpoints/list.schema.d.ts +7 -1
- package/types/src/documents/endpoints/downloads.d.ts +6 -0
- package/types/src/documents/endpoints/downloads.schema.d.ts +18 -2
- package/types/src/hookTemplates/models/hookTemplate.schema.d.ts +6 -6
- package/types/src/hooks/endpoints/logs.schema.d.ts +70 -0
- package/types/src/hooks/endpoints/patch.schema.d.ts +6 -6
- package/types/src/hooks/models/hook.schema.d.ts +9 -9
- package/types/src/hooks/models/hookUtils.d.ts +3 -2
- package/types/src/hooks/models/hookUtils.schema.d.ts +3 -2
- package/types/src/hooks/models/log.d.ts +7 -2
- package/types/src/hooks/models/log.schema.d.ts +42 -0
- package/types/src/inboxes/endpoints/index.d.ts +1 -0
- package/types/src/inboxes/endpoints/list.d.ts +7 -0
- package/types/src/inboxes/endpoints/list.schema.d.ts +8 -0
- package/types/src/internal/endpoints/generateRejectionEmail.d.ts +21 -0
- package/types/src/internal/endpoints/generateRejectionEmail.schema.d.ts +56 -0
- package/types/src/internal/endpoints/index.d.ts +1 -0
- package/types/src/models/annotationStatus.d.ts +1 -1
- package/types/src/models/annotationStatus.schema.d.ts +1 -1
- package/types/src/queues/endpoints/index.d.ts +1 -1
- package/types/src/queues/endpoints/patch.schema.d.ts +3 -3
- package/types/src/queues/endpoints/upload.d.ts +1 -1
- package/types/src/queues/models/queue.schema.d.ts +3 -3
- package/types/src/queues/models/queueCounts.schema.d.ts +1 -1
- package/types/src/tasks/endpoints/get.d.ts +1 -1
- package/types/src/tasks/endpoints/index.d.ts +1 -1
- package/types/src/tasks/models/asyncTask.d.ts +2 -1
- package/types/src/tasks/models/asyncTask.schema.d.ts +9 -4
- package/types/src/uploads/endpoints/index.d.ts +3 -0
- package/types/src/uploads/endpoints/post.d.ts +9 -0
- package/types/src/uploads/endpoints/post.schema.d.ts +15 -0
- package/types/src/utils/requestConfig.d.ts +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requestConfig.js","sourceRoot":"","sources":["../../../src/utils/requestConfig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAAsC;AACtC,iDAA0C;AAC1C,mCAA4C;AAC5C,kCAAkC;AAGlC,oCAAyE;AAEzE,iDAAmD;AACnD,yCAAiD;
|
|
1
|
+
{"version":3,"file":"requestConfig.js","sourceRoot":"","sources":["../../../src/utils/requestConfig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAAsC;AACtC,iDAA0C;AAC1C,mCAA4C;AAC5C,kCAAkC;AAGlC,oCAAyE;AAEzE,iDAAmD;AACnD,yCAAiD;AAoF1C,MAAM,yBAAyB,GAAG,CACvC,aAAyC,EACb,EAAE;;IAC9B,OAAA,IAAA,iBAAQ,EAAC,aAAa,EAAE;QACtB,MAAM,EAAE,MAAA,aAAa,CAAC,MAAM,mCAAI,KAAK;QACrC,YAAY,EAAE,MAAA,aAAa,CAAC,YAAY,mCAAI,MAAM;QAClD,SAAS,EAAE,MAAA,aAAa,CAAC,SAA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,CAAC;AA7BS,QAAA,QAAQ,YA6BjB;AAEG,MAAM,gBAAgB,GAAG,CAC9B,YAA8B,EAC9B,aAAyC,EACM,EAAE,CACjD,IAAA,eAAI,EACF,aAAa,EACb,iCAAyB,EACzB,IAAA,qBAAa,EAAC,YAAY,CAAC,EAC3B,CAAC,CAAC,KAAK,CAAC,IAAA,2BAAmB,EAAC,YAAY,EAAE,aAAa,CAAC,CAAC,EACzD,CAAC,CAAC,KAAK,CAAC,IAAA,8BAAsB,EAAC,YAAY,EAAE,aAAa,CAAC,CAAC,EAC5D,CAAC,CAAC,KAAK,CAAC,IAAA,+BAAuB,EAAC,YAAY,EAAE,aAAa,CAAC,CAAC,EAC7D,CAAC,CAAC,KAAK,CAAC,IAAA,0BAAkB,EAAC,YAAY,EAAE,aAAa,CAAC,CAAC,EACxD,CAAC,CAAC,KAAK,CAAC,IAAA,kBAAU,EAAC,YAAY,EAAE,aAAa,CAAC,CAAC,EAChD,CAAC,CAAC,KAAK,CAAC,IAAA,gBAAQ,EAAC,YAAY,EAAE,aAAa,CAAC,CAAC,CAC/C,CAAC;AAdS,QAAA,gBAAgB,oBAczB"}
|
package/types/index.d.ts
CHANGED
|
@@ -217,11 +217,13 @@ export declare const endpoints: {
|
|
|
217
217
|
create: (payload: import("./src/inboxes/endpoints/create").CreateInboxPayload) => ElisRequestConfig<import("./src/inboxes/models").Inbox, never, import("./src/inboxes/endpoints/create").CreateInboxPayload>;
|
|
218
218
|
get: (inboxId: number) => ElisRequestConfig<import("./src/inboxes/models").Inbox, never, never>;
|
|
219
219
|
patch: (inboxId: number, payload?: import("./src/inboxes/endpoints/patch").InboxPatchPayload) => ElisRequestConfig<import("./src/inboxes/models").Inbox, never, import("./src/inboxes/endpoints/patch").InboxPatchPayload>;
|
|
220
|
+
list: (query: import("./src/inboxes/endpoints/list").ListInboxesQuery) => ElisRequestConfig<ListResponse<import("./src/inboxes/models").Inbox>, import("./src/inboxes/endpoints/list").ListInboxesQuery, never>;
|
|
220
221
|
};
|
|
221
222
|
internal: {
|
|
222
223
|
requestDemo: (payload: import("./src/internal/endpoints/requestDemo").RequestDemoPayload) => ElisRequestConfig<unknown, never, import("./src/internal/endpoints/requestDemo").RequestDemoPayload>;
|
|
223
224
|
requestExtension: (payload: import("./src/internal/endpoints/requestExtension").RequestExtensionPayload) => ElisRequestConfig<unknown, never, import("./src/internal/endpoints/requestExtension").RequestExtensionPayload>;
|
|
224
225
|
domainSettings: (query: import("./src/internal/endpoints/domainSettings").DomainSettingsQuery) => ElisRequestConfig<import("./src/internal/endpoints/domainSettings").DomainSettingsResponse, import("./src/internal/endpoints/domainSettings").DomainSettingsQuery, never>;
|
|
226
|
+
generateRejectionEmail: (payload: import("./src/internal/endpoints/generateRejectionEmail").GenerateRejectionPayload) => ElisRequestConfig<import("./src/internal/endpoints/generateRejectionEmail").GenerateResponse, never, import("./src/internal/endpoints/generateRejectionEmail").GenerateRejectionPayload>;
|
|
225
227
|
};
|
|
226
228
|
labels: {
|
|
227
229
|
apply: (payload: import("./src/labels/endpoints/apply").ApplyLabelPayload) => ElisRequestConfig<unknown, never, import("./src/labels/endpoints/apply").ApplyLabelPayload>;
|
|
@@ -386,7 +388,7 @@ export declare const endpoints: {
|
|
|
386
388
|
columns: string;
|
|
387
389
|
id: string;
|
|
388
390
|
}>, never>;
|
|
389
|
-
upload: (queueId: number, fileName: string, payload: unknown) => ElisRequestConfig<import("./src/queues/endpoints/upload").UploadResponse, never, unknown>;
|
|
391
|
+
upload: (queueId: number, fileName: string, payload: unknown, signal?: AbortSignal | undefined) => ElisRequestConfig<import("./src/queues/endpoints/upload").UploadResponse, never, unknown>;
|
|
390
392
|
suggestedRecipients: (queueId: number, payload?: import("./src/queues/endpoints/suggestedRecipients").SuggestedRecipientsPayload) => ElisRequestConfig<import("./src/queues/endpoints/suggestedRecipients").SuggestedRecipientsResponse, never, import("./src/queues/endpoints/suggestedRecipients").SuggestedRecipientsPayload>;
|
|
391
393
|
duplicate: (queueId: number, payload: import("./src/queues/endpoints/duplicate").QueueDuplicatePayload) => ElisRequestConfig<import("./src/queues/models").Queue, never, import("./src/queues/endpoints/duplicate").QueueDuplicatePayload>;
|
|
392
394
|
};
|
|
@@ -413,7 +415,7 @@ export declare const endpoints: {
|
|
|
413
415
|
list: (query: import("./src/surveys/endpoints/list").SurveysListQuery) => ElisRequestConfig<ListResponse<import("./src/surveys/models").Survey>, import("./src/surveys/endpoints/list").SurveysListQuery, never>;
|
|
414
416
|
};
|
|
415
417
|
tasks: {
|
|
416
|
-
get: (taskId: number, query: import("./src/tasks/endpoints/get").GetAsyncTaskQuery) => ElisRequestConfig<import("./src/tasks/models/asyncTask").AsyncTask, import("./src/tasks/endpoints/get").GetAsyncTaskQuery, never>;
|
|
418
|
+
get: (taskId: number, query: import("./src/tasks/endpoints/get").GetAsyncTaskQuery, signal?: AbortSignal | undefined) => ElisRequestConfig<import("./src/tasks/models/asyncTask").AsyncTask, import("./src/tasks/endpoints/get").GetAsyncTaskQuery, never>;
|
|
417
419
|
};
|
|
418
420
|
triggers: {
|
|
419
421
|
create: (payload: import("./src/triggers/endpoints/create").CreateTriggerPayload) => ElisRequestConfig<import("./src/triggers/models").Trigger, never, import("./src/triggers/endpoints/create").CreateTriggerPayload>;
|
|
@@ -441,6 +443,9 @@ export declare const endpoints: {
|
|
|
441
443
|
resetPassword: (payload: import("./src/users/endpoints/resetPassword").ResetPayload) => ElisRequestConfig<import("./src/users/models/resetPassword").ResetPassword, never, import("./src/users/endpoints/resetPassword").ResetPayload>;
|
|
442
444
|
get: (userId: string) => ElisRequestConfig<import("./src/users/models").User, never, never>;
|
|
443
445
|
};
|
|
446
|
+
uploads: {
|
|
447
|
+
post: (queueId: number, data: unknown, name?: string, signal?: AbortSignal | undefined) => ElisRequestConfig<import("./src/uploads/endpoints/post").UploadsPostResponse, import("./src/uploads/endpoints/post").UploadsPostQuery, unknown>;
|
|
448
|
+
};
|
|
444
449
|
workflowActivities: {
|
|
445
450
|
get: (workflowActivityUrl: string) => ElisRequestConfig<import("./src/workflowActivities/models").WorkflowActivity, never, never>;
|
|
446
451
|
list: (query?: import("./src/workflowActivities/endpoints/list").WorkflowActivitiesListQuery) => ElisRequestConfig<ListResponse<import("./src/workflowActivities/models").WorkflowActivity>, import("./src/workflowActivities/endpoints/list").WorkflowActivitiesListQuery, never>;
|
|
@@ -4,7 +4,7 @@ export declare const annotationListQuerySchema: z.ZodIntersection<z.ZodObject<{
|
|
|
4
4
|
queue: z.ZodOptional<z.ZodNumber>;
|
|
5
5
|
search: z.ZodOptional<z.ZodString>;
|
|
6
6
|
sideload: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"documents">, z.ZodLiteral<"modifiers">, z.ZodLiteral<"content">, z.ZodLiteral<"assignees">, z.ZodLiteral<"relations">, z.ZodLiteral<"labels">]>, "many">>;
|
|
7
|
-
status: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"importing">, z.ZodLiteral<"failed_import">, z.ZodLiteral<"split">, z.ZodLiteral<"to_review">, z.ZodLiteral<"reviewing">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"rejected">, z.ZodLiteral<"exporting">, z.ZodLiteral<"exported">, z.ZodLiteral<"failed_export">, z.ZodLiteral<"postponed">, z.ZodLiteral<"deleted">, z.ZodLiteral<"purged">, z.ZodLiteral<"in_workflow">]>, "many">>;
|
|
7
|
+
status: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"created">, z.ZodLiteral<"importing">, z.ZodLiteral<"failed_import">, z.ZodLiteral<"split">, z.ZodLiteral<"to_review">, z.ZodLiteral<"reviewing">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"rejected">, z.ZodLiteral<"exporting">, z.ZodLiteral<"exported">, z.ZodLiteral<"failed_export">, z.ZodLiteral<"postponed">, z.ZodLiteral<"deleted">, z.ZodLiteral<"purged">, z.ZodLiteral<"in_workflow">]>, "many">>;
|
|
8
8
|
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9
9
|
ordering: z.ZodOptional<z.ZodString>;
|
|
10
10
|
assignees: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
@@ -14,7 +14,7 @@ export declare const annotationListQuerySchema: z.ZodIntersection<z.ZodObject<{
|
|
|
14
14
|
queue?: number | undefined;
|
|
15
15
|
search?: string | undefined;
|
|
16
16
|
sideload?: ("assignees" | "content" | "relations" | "labels" | "documents" | "modifiers")[] | undefined;
|
|
17
|
-
status?: ("importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow")[] | undefined;
|
|
17
|
+
status?: ("created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow")[] | undefined;
|
|
18
18
|
labels?: string[] | undefined;
|
|
19
19
|
ordering?: string | undefined;
|
|
20
20
|
assignees?: number[] | undefined;
|
|
@@ -24,7 +24,7 @@ export declare const annotationListQuerySchema: z.ZodIntersection<z.ZodObject<{
|
|
|
24
24
|
queue?: number | undefined;
|
|
25
25
|
search?: string | undefined;
|
|
26
26
|
sideload?: ("assignees" | "content" | "relations" | "labels" | "documents" | "modifiers")[] | undefined;
|
|
27
|
-
status?: ("importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow")[] | undefined;
|
|
27
|
+
status?: ("created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow")[] | undefined;
|
|
28
28
|
labels?: string[] | undefined;
|
|
29
29
|
ordering?: string | undefined;
|
|
30
30
|
assignees?: number[] | undefined;
|
|
@@ -13,7 +13,7 @@ export declare const annotationPayloadSchema: z.ZodObject<{
|
|
|
13
13
|
confirmedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
exportedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
assignedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"importing">, z.ZodLiteral<"failed_import">, z.ZodLiteral<"split">, z.ZodLiteral<"to_review">, z.ZodLiteral<"reviewing">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"rejected">, z.ZodLiteral<"exporting">, z.ZodLiteral<"exported">, z.ZodLiteral<"failed_export">, z.ZodLiteral<"postponed">, z.ZodLiteral<"deleted">, z.ZodLiteral<"purged">, z.ZodLiteral<"in_workflow">]>>;
|
|
16
|
+
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"created">, z.ZodLiteral<"importing">, z.ZodLiteral<"failed_import">, z.ZodLiteral<"split">, z.ZodLiteral<"to_review">, z.ZodLiteral<"reviewing">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"rejected">, z.ZodLiteral<"exporting">, z.ZodLiteral<"exported">, z.ZodLiteral<"failed_export">, z.ZodLiteral<"postponed">, z.ZodLiteral<"deleted">, z.ZodLiteral<"purged">, z.ZodLiteral<"in_workflow">]>>;
|
|
17
17
|
rirPollId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
messages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
19
19
|
type: z.ZodUnion<[z.ZodLiteral<"error">, z.ZodLiteral<"warning">, z.ZodLiteral<"info">]>;
|
|
@@ -101,7 +101,7 @@ export declare const annotationPayloadSchema: z.ZodObject<{
|
|
|
101
101
|
confirmedAt?: string | null | undefined;
|
|
102
102
|
exportedAt?: string | null | undefined;
|
|
103
103
|
assignedAt?: string | null | undefined;
|
|
104
|
-
status?: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow" | undefined;
|
|
104
|
+
status?: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow" | undefined;
|
|
105
105
|
rirPollId?: string | null | undefined;
|
|
106
106
|
messages?: {
|
|
107
107
|
type: "error" | "warning" | "info";
|
|
@@ -149,7 +149,7 @@ export declare const annotationPayloadSchema: z.ZodObject<{
|
|
|
149
149
|
confirmedAt?: string | null | undefined;
|
|
150
150
|
exportedAt?: string | null | undefined;
|
|
151
151
|
assignedAt?: string | null | undefined;
|
|
152
|
-
status?: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow" | undefined;
|
|
152
|
+
status?: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow" | undefined;
|
|
153
153
|
rirPollId?: string | null | undefined;
|
|
154
154
|
messages?: {
|
|
155
155
|
type: "error" | "warning" | "info";
|
|
@@ -45,48 +45,48 @@ export declare const validateAnnotationResponseSchema: z.ZodObject<{
|
|
|
45
45
|
id: z.ZodNullable<z.ZodNumber>;
|
|
46
46
|
url: z.ZodNullable<z.ZodString>;
|
|
47
47
|
content: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
48
|
-
value: z.ZodNullable<z.ZodString
|
|
49
|
-
normalizedValue: z.ZodNullable<z.ZodString
|
|
50
|
-
page: z.ZodNullable<z.ZodNumber
|
|
51
|
-
position: z.ZodNullable<z.ZodArray<z.ZodNumber, "many"
|
|
52
|
-
rirText: z.ZodNullable<z.ZodString
|
|
53
|
-
rirRawText: z.ZodNullable<z.ZodString
|
|
54
|
-
ocrText: z.
|
|
55
|
-
ocrRawText: z.
|
|
56
|
-
rirPage: z.ZodNullable<z.ZodNumber
|
|
57
|
-
rirPosition: z.ZodNullable<z.ZodArray<z.ZodNumber, "many"
|
|
58
|
-
ocrPosition: z.
|
|
59
|
-
rirConfidence: z.ZodNullable<z.ZodNumber
|
|
60
|
-
connectorPosition: z.
|
|
61
|
-
connectorText: z.
|
|
48
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
normalizedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
51
|
+
position: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
52
|
+
rirText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
rirRawText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
ocrText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
ocrRawText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
+
rirPage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
57
|
+
rirPosition: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
58
|
+
ocrPosition: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
59
|
+
rirConfidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
60
|
+
connectorPosition: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
61
|
+
connectorText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
62
|
}, "strip", z.ZodTypeAny, {
|
|
63
|
-
value
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
position
|
|
67
|
-
rirText
|
|
68
|
-
rirRawText
|
|
69
|
-
rirPage: number | null;
|
|
70
|
-
rirPosition: number[] | null;
|
|
71
|
-
rirConfidence: number | null;
|
|
63
|
+
value?: string | null | undefined;
|
|
64
|
+
normalizedValue?: string | null | undefined;
|
|
65
|
+
page?: number | null | undefined;
|
|
66
|
+
position?: number[] | null | undefined;
|
|
67
|
+
rirText?: string | null | undefined;
|
|
68
|
+
rirRawText?: string | null | undefined;
|
|
72
69
|
ocrText?: string | null | undefined;
|
|
73
70
|
ocrRawText?: string | null | undefined;
|
|
71
|
+
rirPage?: number | null | undefined;
|
|
72
|
+
rirPosition?: number[] | null | undefined;
|
|
74
73
|
ocrPosition?: number[] | null | undefined;
|
|
74
|
+
rirConfidence?: number | null | undefined;
|
|
75
75
|
connectorPosition?: number[] | null | undefined;
|
|
76
76
|
connectorText?: string | null | undefined;
|
|
77
77
|
}, {
|
|
78
|
-
value
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
position
|
|
82
|
-
rirText
|
|
83
|
-
rirRawText
|
|
84
|
-
rirPage: number | null;
|
|
85
|
-
rirPosition: number[] | null;
|
|
86
|
-
rirConfidence: number | null;
|
|
78
|
+
value?: string | null | undefined;
|
|
79
|
+
normalizedValue?: string | null | undefined;
|
|
80
|
+
page?: number | null | undefined;
|
|
81
|
+
position?: number[] | null | undefined;
|
|
82
|
+
rirText?: string | null | undefined;
|
|
83
|
+
rirRawText?: string | null | undefined;
|
|
87
84
|
ocrText?: string | null | undefined;
|
|
88
85
|
ocrRawText?: string | null | undefined;
|
|
86
|
+
rirPage?: number | null | undefined;
|
|
87
|
+
rirPosition?: number[] | null | undefined;
|
|
89
88
|
ocrPosition?: number[] | null | undefined;
|
|
89
|
+
rirConfidence?: number | null | undefined;
|
|
90
90
|
connectorPosition?: number[] | null | undefined;
|
|
91
91
|
connectorText?: string | null | undefined;
|
|
92
92
|
}>>>;
|
|
@@ -101,18 +101,18 @@ export declare const validateAnnotationResponseSchema: z.ZodObject<{
|
|
|
101
101
|
schemaId: string | null;
|
|
102
102
|
category: "datapoint" | null;
|
|
103
103
|
content?: {
|
|
104
|
-
value
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
position
|
|
108
|
-
rirText
|
|
109
|
-
rirRawText
|
|
110
|
-
rirPage: number | null;
|
|
111
|
-
rirPosition: number[] | null;
|
|
112
|
-
rirConfidence: number | null;
|
|
104
|
+
value?: string | null | undefined;
|
|
105
|
+
normalizedValue?: string | null | undefined;
|
|
106
|
+
page?: number | null | undefined;
|
|
107
|
+
position?: number[] | null | undefined;
|
|
108
|
+
rirText?: string | null | undefined;
|
|
109
|
+
rirRawText?: string | null | undefined;
|
|
113
110
|
ocrText?: string | null | undefined;
|
|
114
111
|
ocrRawText?: string | null | undefined;
|
|
112
|
+
rirPage?: number | null | undefined;
|
|
113
|
+
rirPosition?: number[] | null | undefined;
|
|
115
114
|
ocrPosition?: number[] | null | undefined;
|
|
115
|
+
rirConfidence?: number | null | undefined;
|
|
116
116
|
connectorPosition?: number[] | null | undefined;
|
|
117
117
|
connectorText?: string | null | undefined;
|
|
118
118
|
} | null | undefined;
|
|
@@ -125,18 +125,18 @@ export declare const validateAnnotationResponseSchema: z.ZodObject<{
|
|
|
125
125
|
schemaId: string | null;
|
|
126
126
|
category: "datapoint" | null;
|
|
127
127
|
content?: {
|
|
128
|
-
value
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
position
|
|
132
|
-
rirText
|
|
133
|
-
rirRawText
|
|
134
|
-
rirPage: number | null;
|
|
135
|
-
rirPosition: number[] | null;
|
|
136
|
-
rirConfidence: number | null;
|
|
128
|
+
value?: string | null | undefined;
|
|
129
|
+
normalizedValue?: string | null | undefined;
|
|
130
|
+
page?: number | null | undefined;
|
|
131
|
+
position?: number[] | null | undefined;
|
|
132
|
+
rirText?: string | null | undefined;
|
|
133
|
+
rirRawText?: string | null | undefined;
|
|
137
134
|
ocrText?: string | null | undefined;
|
|
138
135
|
ocrRawText?: string | null | undefined;
|
|
136
|
+
rirPage?: number | null | undefined;
|
|
137
|
+
rirPosition?: number[] | null | undefined;
|
|
139
138
|
ocrPosition?: number[] | null | undefined;
|
|
139
|
+
rirConfidence?: number | null | undefined;
|
|
140
140
|
connectorPosition?: number[] | null | undefined;
|
|
141
141
|
connectorText?: string | null | undefined;
|
|
142
142
|
} | null | undefined;
|
|
@@ -170,50 +170,50 @@ export declare const validateAnnotationResponseSchema: z.ZodObject<{
|
|
|
170
170
|
id: z.ZodString;
|
|
171
171
|
value: z.ZodObject<{
|
|
172
172
|
content: z.ZodObject<{
|
|
173
|
-
value: z.ZodNullable<z.ZodString
|
|
174
|
-
normalizedValue: z.ZodNullable<z.ZodString
|
|
175
|
-
page: z.ZodNullable<z.ZodNumber
|
|
176
|
-
position: z.ZodNullable<z.ZodArray<z.ZodNumber, "many"
|
|
177
|
-
rirText: z.ZodNullable<z.ZodString
|
|
178
|
-
rirRawText: z.ZodNullable<z.ZodString
|
|
179
|
-
ocrText: z.
|
|
180
|
-
ocrRawText: z.
|
|
181
|
-
rirPage: z.ZodNullable<z.ZodNumber
|
|
182
|
-
rirPosition: z.ZodNullable<z.ZodArray<z.ZodNumber, "many"
|
|
183
|
-
ocrPosition: z.
|
|
184
|
-
rirConfidence: z.ZodNullable<z.ZodNumber
|
|
185
|
-
connectorPosition: z.ZodNullable<z.ZodArray<z.ZodNumber, "many"
|
|
186
|
-
connectorText: z.ZodNullable<z.ZodString
|
|
173
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
174
|
+
normalizedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
175
|
+
page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
176
|
+
position: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
177
|
+
rirText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
178
|
+
rirRawText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
179
|
+
ocrText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
180
|
+
ocrRawText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
181
|
+
rirPage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
182
|
+
rirPosition: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
183
|
+
ocrPosition: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
184
|
+
rirConfidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
185
|
+
connectorPosition: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
186
|
+
connectorText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
|
-
value
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
position
|
|
192
|
-
rirText
|
|
193
|
-
rirRawText
|
|
194
|
-
rirPage: number | null;
|
|
195
|
-
rirPosition: number[] | null;
|
|
196
|
-
rirConfidence: number | null;
|
|
197
|
-
connectorPosition: number[] | null;
|
|
198
|
-
connectorText: string | null;
|
|
188
|
+
value?: string | null | undefined;
|
|
189
|
+
normalizedValue?: string | null | undefined;
|
|
190
|
+
page?: number | null | undefined;
|
|
191
|
+
position?: number[] | null | undefined;
|
|
192
|
+
rirText?: string | null | undefined;
|
|
193
|
+
rirRawText?: string | null | undefined;
|
|
199
194
|
ocrText?: string | null | undefined;
|
|
200
195
|
ocrRawText?: string | null | undefined;
|
|
196
|
+
rirPage?: number | null | undefined;
|
|
197
|
+
rirPosition?: number[] | null | undefined;
|
|
201
198
|
ocrPosition?: number[] | null | undefined;
|
|
199
|
+
rirConfidence?: number | null | undefined;
|
|
200
|
+
connectorPosition?: number[] | null | undefined;
|
|
201
|
+
connectorText?: string | null | undefined;
|
|
202
202
|
}, {
|
|
203
|
-
value
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
position
|
|
207
|
-
rirText
|
|
208
|
-
rirRawText
|
|
209
|
-
rirPage: number | null;
|
|
210
|
-
rirPosition: number[] | null;
|
|
211
|
-
rirConfidence: number | null;
|
|
212
|
-
connectorPosition: number[] | null;
|
|
213
|
-
connectorText: string | null;
|
|
203
|
+
value?: string | null | undefined;
|
|
204
|
+
normalizedValue?: string | null | undefined;
|
|
205
|
+
page?: number | null | undefined;
|
|
206
|
+
position?: number[] | null | undefined;
|
|
207
|
+
rirText?: string | null | undefined;
|
|
208
|
+
rirRawText?: string | null | undefined;
|
|
214
209
|
ocrText?: string | null | undefined;
|
|
215
210
|
ocrRawText?: string | null | undefined;
|
|
211
|
+
rirPage?: number | null | undefined;
|
|
212
|
+
rirPosition?: number[] | null | undefined;
|
|
216
213
|
ocrPosition?: number[] | null | undefined;
|
|
214
|
+
rirConfidence?: number | null | undefined;
|
|
215
|
+
connectorPosition?: number[] | null | undefined;
|
|
216
|
+
connectorText?: string | null | undefined;
|
|
217
217
|
}>;
|
|
218
218
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
219
219
|
options: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -229,20 +229,20 @@ export declare const validateAnnotationResponseSchema: z.ZodObject<{
|
|
|
229
229
|
validation_sources: z.ZodArray<z.ZodString, "many">;
|
|
230
230
|
}, "strip", z.ZodTypeAny, {
|
|
231
231
|
content: {
|
|
232
|
-
value
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
position
|
|
236
|
-
rirText
|
|
237
|
-
rirRawText
|
|
238
|
-
rirPage: number | null;
|
|
239
|
-
rirPosition: number[] | null;
|
|
240
|
-
rirConfidence: number | null;
|
|
241
|
-
connectorPosition: number[] | null;
|
|
242
|
-
connectorText: string | null;
|
|
232
|
+
value?: string | null | undefined;
|
|
233
|
+
normalizedValue?: string | null | undefined;
|
|
234
|
+
page?: number | null | undefined;
|
|
235
|
+
position?: number[] | null | undefined;
|
|
236
|
+
rirText?: string | null | undefined;
|
|
237
|
+
rirRawText?: string | null | undefined;
|
|
243
238
|
ocrText?: string | null | undefined;
|
|
244
239
|
ocrRawText?: string | null | undefined;
|
|
240
|
+
rirPage?: number | null | undefined;
|
|
241
|
+
rirPosition?: number[] | null | undefined;
|
|
245
242
|
ocrPosition?: number[] | null | undefined;
|
|
243
|
+
rirConfidence?: number | null | undefined;
|
|
244
|
+
connectorPosition?: number[] | null | undefined;
|
|
245
|
+
connectorText?: string | null | undefined;
|
|
246
246
|
};
|
|
247
247
|
validation_sources: string[];
|
|
248
248
|
hidden?: boolean | undefined;
|
|
@@ -252,20 +252,20 @@ export declare const validateAnnotationResponseSchema: z.ZodObject<{
|
|
|
252
252
|
}[] | null | undefined;
|
|
253
253
|
}, {
|
|
254
254
|
content: {
|
|
255
|
-
value
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
position
|
|
259
|
-
rirText
|
|
260
|
-
rirRawText
|
|
261
|
-
rirPage: number | null;
|
|
262
|
-
rirPosition: number[] | null;
|
|
263
|
-
rirConfidence: number | null;
|
|
264
|
-
connectorPosition: number[] | null;
|
|
265
|
-
connectorText: string | null;
|
|
255
|
+
value?: string | null | undefined;
|
|
256
|
+
normalizedValue?: string | null | undefined;
|
|
257
|
+
page?: number | null | undefined;
|
|
258
|
+
position?: number[] | null | undefined;
|
|
259
|
+
rirText?: string | null | undefined;
|
|
260
|
+
rirRawText?: string | null | undefined;
|
|
266
261
|
ocrText?: string | null | undefined;
|
|
267
262
|
ocrRawText?: string | null | undefined;
|
|
263
|
+
rirPage?: number | null | undefined;
|
|
264
|
+
rirPosition?: number[] | null | undefined;
|
|
268
265
|
ocrPosition?: number[] | null | undefined;
|
|
266
|
+
rirConfidence?: number | null | undefined;
|
|
267
|
+
connectorPosition?: number[] | null | undefined;
|
|
268
|
+
connectorText?: string | null | undefined;
|
|
269
269
|
};
|
|
270
270
|
validation_sources: string[];
|
|
271
271
|
hidden?: boolean | undefined;
|
|
@@ -277,20 +277,20 @@ export declare const validateAnnotationResponseSchema: z.ZodObject<{
|
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
278
|
value: {
|
|
279
279
|
content: {
|
|
280
|
-
value
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
position
|
|
284
|
-
rirText
|
|
285
|
-
rirRawText
|
|
286
|
-
rirPage: number | null;
|
|
287
|
-
rirPosition: number[] | null;
|
|
288
|
-
rirConfidence: number | null;
|
|
289
|
-
connectorPosition: number[] | null;
|
|
290
|
-
connectorText: string | null;
|
|
280
|
+
value?: string | null | undefined;
|
|
281
|
+
normalizedValue?: string | null | undefined;
|
|
282
|
+
page?: number | null | undefined;
|
|
283
|
+
position?: number[] | null | undefined;
|
|
284
|
+
rirText?: string | null | undefined;
|
|
285
|
+
rirRawText?: string | null | undefined;
|
|
291
286
|
ocrText?: string | null | undefined;
|
|
292
287
|
ocrRawText?: string | null | undefined;
|
|
288
|
+
rirPage?: number | null | undefined;
|
|
289
|
+
rirPosition?: number[] | null | undefined;
|
|
293
290
|
ocrPosition?: number[] | null | undefined;
|
|
291
|
+
rirConfidence?: number | null | undefined;
|
|
292
|
+
connectorPosition?: number[] | null | undefined;
|
|
293
|
+
connectorText?: string | null | undefined;
|
|
294
294
|
};
|
|
295
295
|
validation_sources: string[];
|
|
296
296
|
hidden?: boolean | undefined;
|
|
@@ -304,20 +304,20 @@ export declare const validateAnnotationResponseSchema: z.ZodObject<{
|
|
|
304
304
|
}, {
|
|
305
305
|
value: {
|
|
306
306
|
content: {
|
|
307
|
-
value
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
position
|
|
311
|
-
rirText
|
|
312
|
-
rirRawText
|
|
313
|
-
rirPage: number | null;
|
|
314
|
-
rirPosition: number[] | null;
|
|
315
|
-
rirConfidence: number | null;
|
|
316
|
-
connectorPosition: number[] | null;
|
|
317
|
-
connectorText: string | null;
|
|
307
|
+
value?: string | null | undefined;
|
|
308
|
+
normalizedValue?: string | null | undefined;
|
|
309
|
+
page?: number | null | undefined;
|
|
310
|
+
position?: number[] | null | undefined;
|
|
311
|
+
rirText?: string | null | undefined;
|
|
312
|
+
rirRawText?: string | null | undefined;
|
|
318
313
|
ocrText?: string | null | undefined;
|
|
319
314
|
ocrRawText?: string | null | undefined;
|
|
315
|
+
rirPage?: number | null | undefined;
|
|
316
|
+
rirPosition?: number[] | null | undefined;
|
|
320
317
|
ocrPosition?: number[] | null | undefined;
|
|
318
|
+
rirConfidence?: number | null | undefined;
|
|
319
|
+
connectorPosition?: number[] | null | undefined;
|
|
320
|
+
connectorText?: string | null | undefined;
|
|
321
321
|
};
|
|
322
322
|
validation_sources: string[];
|
|
323
323
|
hidden?: boolean | undefined;
|
|
@@ -384,18 +384,18 @@ export declare const validateAnnotationResponseSchema: z.ZodObject<{
|
|
|
384
384
|
schemaId: string | null;
|
|
385
385
|
category: "datapoint" | null;
|
|
386
386
|
content?: {
|
|
387
|
-
value
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
position
|
|
391
|
-
rirText
|
|
392
|
-
rirRawText
|
|
393
|
-
rirPage: number | null;
|
|
394
|
-
rirPosition: number[] | null;
|
|
395
|
-
rirConfidence: number | null;
|
|
387
|
+
value?: string | null | undefined;
|
|
388
|
+
normalizedValue?: string | null | undefined;
|
|
389
|
+
page?: number | null | undefined;
|
|
390
|
+
position?: number[] | null | undefined;
|
|
391
|
+
rirText?: string | null | undefined;
|
|
392
|
+
rirRawText?: string | null | undefined;
|
|
396
393
|
ocrText?: string | null | undefined;
|
|
397
394
|
ocrRawText?: string | null | undefined;
|
|
395
|
+
rirPage?: number | null | undefined;
|
|
396
|
+
rirPosition?: number[] | null | undefined;
|
|
398
397
|
ocrPosition?: number[] | null | undefined;
|
|
398
|
+
rirConfidence?: number | null | undefined;
|
|
399
399
|
connectorPosition?: number[] | null | undefined;
|
|
400
400
|
connectorText?: string | null | undefined;
|
|
401
401
|
} | null | undefined;
|
|
@@ -411,20 +411,20 @@ export declare const validateAnnotationResponseSchema: z.ZodObject<{
|
|
|
411
411
|
suggestedOperations: {
|
|
412
412
|
value: {
|
|
413
413
|
content: {
|
|
414
|
-
value
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
position
|
|
418
|
-
rirText
|
|
419
|
-
rirRawText
|
|
420
|
-
rirPage: number | null;
|
|
421
|
-
rirPosition: number[] | null;
|
|
422
|
-
rirConfidence: number | null;
|
|
423
|
-
connectorPosition: number[] | null;
|
|
424
|
-
connectorText: string | null;
|
|
414
|
+
value?: string | null | undefined;
|
|
415
|
+
normalizedValue?: string | null | undefined;
|
|
416
|
+
page?: number | null | undefined;
|
|
417
|
+
position?: number[] | null | undefined;
|
|
418
|
+
rirText?: string | null | undefined;
|
|
419
|
+
rirRawText?: string | null | undefined;
|
|
425
420
|
ocrText?: string | null | undefined;
|
|
426
421
|
ocrRawText?: string | null | undefined;
|
|
422
|
+
rirPage?: number | null | undefined;
|
|
423
|
+
rirPosition?: number[] | null | undefined;
|
|
427
424
|
ocrPosition?: number[] | null | undefined;
|
|
425
|
+
rirConfidence?: number | null | undefined;
|
|
426
|
+
connectorPosition?: number[] | null | undefined;
|
|
427
|
+
connectorText?: string | null | undefined;
|
|
428
428
|
};
|
|
429
429
|
validation_sources: string[];
|
|
430
430
|
hidden?: boolean | undefined;
|
|
@@ -467,18 +467,18 @@ export declare const validateAnnotationResponseSchema: z.ZodObject<{
|
|
|
467
467
|
schemaId: string | null;
|
|
468
468
|
category: "datapoint" | null;
|
|
469
469
|
content?: {
|
|
470
|
-
value
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
position
|
|
474
|
-
rirText
|
|
475
|
-
rirRawText
|
|
476
|
-
rirPage: number | null;
|
|
477
|
-
rirPosition: number[] | null;
|
|
478
|
-
rirConfidence: number | null;
|
|
470
|
+
value?: string | null | undefined;
|
|
471
|
+
normalizedValue?: string | null | undefined;
|
|
472
|
+
page?: number | null | undefined;
|
|
473
|
+
position?: number[] | null | undefined;
|
|
474
|
+
rirText?: string | null | undefined;
|
|
475
|
+
rirRawText?: string | null | undefined;
|
|
479
476
|
ocrText?: string | null | undefined;
|
|
480
477
|
ocrRawText?: string | null | undefined;
|
|
478
|
+
rirPage?: number | null | undefined;
|
|
479
|
+
rirPosition?: number[] | null | undefined;
|
|
481
480
|
ocrPosition?: number[] | null | undefined;
|
|
481
|
+
rirConfidence?: number | null | undefined;
|
|
482
482
|
connectorPosition?: number[] | null | undefined;
|
|
483
483
|
connectorText?: string | null | undefined;
|
|
484
484
|
} | null | undefined;
|
|
@@ -494,20 +494,20 @@ export declare const validateAnnotationResponseSchema: z.ZodObject<{
|
|
|
494
494
|
suggestedOperations: {
|
|
495
495
|
value: {
|
|
496
496
|
content: {
|
|
497
|
-
value
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
position
|
|
501
|
-
rirText
|
|
502
|
-
rirRawText
|
|
503
|
-
rirPage: number | null;
|
|
504
|
-
rirPosition: number[] | null;
|
|
505
|
-
rirConfidence: number | null;
|
|
506
|
-
connectorPosition: number[] | null;
|
|
507
|
-
connectorText: string | null;
|
|
497
|
+
value?: string | null | undefined;
|
|
498
|
+
normalizedValue?: string | null | undefined;
|
|
499
|
+
page?: number | null | undefined;
|
|
500
|
+
position?: number[] | null | undefined;
|
|
501
|
+
rirText?: string | null | undefined;
|
|
502
|
+
rirRawText?: string | null | undefined;
|
|
508
503
|
ocrText?: string | null | undefined;
|
|
509
504
|
ocrRawText?: string | null | undefined;
|
|
505
|
+
rirPage?: number | null | undefined;
|
|
506
|
+
rirPosition?: number[] | null | undefined;
|
|
510
507
|
ocrPosition?: number[] | null | undefined;
|
|
508
|
+
rirConfidence?: number | null | undefined;
|
|
509
|
+
connectorPosition?: number[] | null | undefined;
|
|
510
|
+
connectorText?: string | null | undefined;
|
|
511
511
|
};
|
|
512
512
|
validation_sources: string[];
|
|
513
513
|
hidden?: boolean | undefined;
|
|
@@ -13,7 +13,7 @@ export declare const annotationSchema: z.ZodObject<{
|
|
|
13
13
|
confirmedAt: z.ZodNullable<z.ZodString>;
|
|
14
14
|
exportedAt: z.ZodNullable<z.ZodString>;
|
|
15
15
|
assignedAt: z.ZodNullable<z.ZodString>;
|
|
16
|
-
status: z.ZodUnion<[z.ZodLiteral<"importing">, z.ZodLiteral<"failed_import">, z.ZodLiteral<"split">, z.ZodLiteral<"to_review">, z.ZodLiteral<"reviewing">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"rejected">, z.ZodLiteral<"exporting">, z.ZodLiteral<"exported">, z.ZodLiteral<"failed_export">, z.ZodLiteral<"postponed">, z.ZodLiteral<"deleted">, z.ZodLiteral<"purged">, z.ZodLiteral<"in_workflow">]>;
|
|
16
|
+
status: z.ZodUnion<[z.ZodLiteral<"created">, z.ZodLiteral<"importing">, z.ZodLiteral<"failed_import">, z.ZodLiteral<"split">, z.ZodLiteral<"to_review">, z.ZodLiteral<"reviewing">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"rejected">, z.ZodLiteral<"exporting">, z.ZodLiteral<"exported">, z.ZodLiteral<"failed_export">, z.ZodLiteral<"postponed">, z.ZodLiteral<"deleted">, z.ZodLiteral<"purged">, z.ZodLiteral<"in_workflow">]>;
|
|
17
17
|
rirPollId: z.ZodNullable<z.ZodString>;
|
|
18
18
|
messages: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
19
19
|
type: z.ZodUnion<[z.ZodLiteral<"error">, z.ZodLiteral<"warning">, z.ZodLiteral<"info">]>;
|
|
@@ -88,7 +88,7 @@ export declare const annotationSchema: z.ZodObject<{
|
|
|
88
88
|
assignees: z.ZodArray<z.ZodString, "many">;
|
|
89
89
|
labels: z.ZodArray<z.ZodString, "many">;
|
|
90
90
|
}, "strip", z.ZodTypeAny, {
|
|
91
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
91
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
92
92
|
document: string;
|
|
93
93
|
assignees: string[];
|
|
94
94
|
url: string;
|
|
@@ -136,7 +136,7 @@ export declare const annotationSchema: z.ZodObject<{
|
|
|
136
136
|
hasEmailThreadWithReplies?: boolean | undefined;
|
|
137
137
|
hasEmailThreadWithNewReplies?: boolean | undefined;
|
|
138
138
|
}, {
|
|
139
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
139
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
140
140
|
document: string;
|
|
141
141
|
assignees: string[];
|
|
142
142
|
url: string;
|