@rossum/api-client 0.1.18 → 0.1.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rossum/api-client",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "index.js",
@@ -4,28 +4,28 @@ exports.updatedDatapointsSchema = exports.suggestedOperationsSchema = exports.op
4
4
  const zod_1 = require("zod");
5
5
  const codecUtils_schema_1 = require("../../utils/codecUtils.schema");
6
6
  const grid_schema_1 = require("./grid.schema");
7
+ const valueContentSchema = zod_1.z
8
+ .object({
9
+ value: zod_1.z.string().nullable(),
10
+ normalizedValue: zod_1.z.string().nullable(),
11
+ page: zod_1.z.number().nullable(),
12
+ position: zod_1.z.array(zod_1.z.number()).nullable(),
13
+ rirText: zod_1.z.string().nullable(),
14
+ rirRawText: zod_1.z.string().nullable(),
15
+ ocrText: zod_1.z.string().nullable(),
16
+ ocrRawText: zod_1.z.string().nullable(),
17
+ rirPage: zod_1.z.number().nullable(),
18
+ rirPosition: zod_1.z.array(zod_1.z.number()).nullable(),
19
+ ocrPosition: zod_1.z.array(zod_1.z.number()).nullable(),
20
+ rirConfidence: zod_1.z.number().nullable(),
21
+ connectorPosition: zod_1.z.array(zod_1.z.number()).nullable(),
22
+ connectorText: zod_1.z.string().nullable(),
23
+ })
24
+ .partial();
7
25
  exports.datapointDataSchema = zod_1.z.object({
8
26
  id: codecUtils_schema_1.idSchema.nullable(),
9
27
  url: codecUtils_schema_1.urlSchema.nullable(),
10
- content: zod_1.z
11
- .object({
12
- value: zod_1.z.string().nullable(),
13
- normalizedValue: zod_1.z.string().nullable(),
14
- page: zod_1.z.number().nullable(),
15
- position: zod_1.z.array(zod_1.z.number()).nullable(),
16
- rirText: zod_1.z.string().nullable(),
17
- rirRawText: zod_1.z.string().nullable(),
18
- ocrText: zod_1.z.string().optional().nullable(),
19
- ocrRawText: zod_1.z.string().optional().nullable(),
20
- rirPage: zod_1.z.number().nullable(),
21
- rirPosition: zod_1.z.array(zod_1.z.number()).nullable(),
22
- ocrPosition: zod_1.z.array(zod_1.z.number()).optional().nullable(),
23
- rirConfidence: zod_1.z.number().nullable(),
24
- connectorPosition: zod_1.z.array(zod_1.z.number()).optional().nullable(),
25
- connectorText: zod_1.z.string().optional().nullable(),
26
- })
27
- .optional()
28
- .nullable(),
28
+ content: valueContentSchema.optional().nullable(),
29
29
  category: zod_1.z.literal('datapoint').nullable(),
30
30
  schemaId: zod_1.z.string().nullable(),
31
31
  validationSources: zod_1.z.array(zod_1.z.string()).optional().nullable(),
@@ -41,25 +41,7 @@ exports.tupleDataSchema = zod_1.z.object({
41
41
  exports.multivalueDataSchema = zod_1.z.object({
42
42
  id: codecUtils_schema_1.idSchema.nullable(),
43
43
  url: codecUtils_schema_1.urlSchema.nullable(),
44
- content: zod_1.z
45
- .object({
46
- value: zod_1.z.string().nullable(),
47
- normalizedValue: zod_1.z.string().nullable(),
48
- page: zod_1.z.number().nullable(),
49
- position: zod_1.z.array(zod_1.z.number()).nullable(),
50
- rirText: zod_1.z.string().nullable(),
51
- rirRawText: zod_1.z.string().nullable(),
52
- ocrText: zod_1.z.string().optional().nullable(),
53
- ocrRawText: zod_1.z.string().optional().nullable(),
54
- rirPage: zod_1.z.number().nullable(),
55
- rirPosition: zod_1.z.array(zod_1.z.number()).nullable(),
56
- ocrPosition: zod_1.z.array(zod_1.z.number()).optional().nullable(),
57
- rirConfidence: zod_1.z.number().nullable(),
58
- connectorPosition: zod_1.z.array(zod_1.z.number()).nullable(),
59
- connectorText: zod_1.z.string().nullable(),
60
- })
61
- .optional()
62
- .nullable(),
44
+ content: valueContentSchema.optional().nullable(),
63
45
  children: zod_1.z
64
46
  .union([zod_1.z.array(exports.datapointDataSchema), zod_1.z.array(exports.tupleDataSchema)])
65
47
  .nullable(),
@@ -93,22 +75,7 @@ exports.suggestedOperationsSchema = zod_1.z.object({
93
75
  op: zod_1.z.string(),
94
76
  id: zod_1.z.string(),
95
77
  value: zod_1.z.object({
96
- content: zod_1.z.object({
97
- value: zod_1.z.string().nullable(),
98
- normalizedValue: zod_1.z.string().nullable(),
99
- page: zod_1.z.number().nullable(),
100
- position: zod_1.z.array(zod_1.z.number()).nullable(),
101
- rirText: zod_1.z.string().nullable(),
102
- rirRawText: zod_1.z.string().nullable(),
103
- ocrText: zod_1.z.string().optional().nullable(),
104
- ocrRawText: zod_1.z.string().optional().nullable(),
105
- rirPage: zod_1.z.number().nullable(),
106
- rirPosition: zod_1.z.array(zod_1.z.number()).nullable(),
107
- ocrPosition: zod_1.z.array(zod_1.z.number()).optional().nullable(),
108
- rirConfidence: zod_1.z.number().nullable(),
109
- connectorPosition: zod_1.z.array(zod_1.z.number()).nullable(),
110
- connectorText: zod_1.z.string().nullable(),
111
- }),
78
+ content: valueContentSchema,
112
79
  hidden: zod_1.z.boolean().optional(),
113
80
  options: zod_1.z.array(exports.optionsSchema).optional().nullable(),
114
81
  validation_sources: zod_1.z.array(zod_1.z.string()),
@@ -1 +1 @@
1
- {"version":3,"file":"annotationData.schema.js","sourceRoot":"","sources":["../../../../src/annotations/models/annotationData.schema.ts"],"names":[],"mappings":";;;AACA,6BAAwB;AACxB,qEAAoE;AACpE,+CAA2C;AAE9B,QAAA,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,EAAE,EAAE,4BAAQ,CAAC,QAAQ,EAAE;IACvB,GAAG,EAAE,6BAAS,CAAC,QAAQ,EAAE;IACzB,OAAO,EAAE,OAAC;SACP,MAAM,CAAC;QACN,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACtC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC3B,QAAQ,EAAE,OAAC,CAAC,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oB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,yBAAiB,CAAC;IACnC,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,yBAAiB,CAAC;CACpC,CAAC,CAAC;AAEU,QAAA,aAAa,GAAG,OAAC,CAAC,MAAM,CAAC;IACpC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEU,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC;QACd,OAAO,EAAE,kBAAkB;QAC3B,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QAC9B,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,qBAAa,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;QACrD,kBAAkB,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;KACxC,CAAC;CACH,CAAC,CAAC;AAEU,QAAA,uBAAuB,GAAG,2BAAmB,CAAC,GAAG,CAC5D,OAAC,CAAC,MAAM,CAAC;IACP,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,qBAAa,CAAC;CAChC,CAAC,CACH,CAAC"}
@@ -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.ZodNullable<z.ZodOptional<z.ZodString>>;
55
- ocrRawText: z.ZodNullable<z.ZodOptional<z.ZodString>>;
56
- rirPage: z.ZodNullable<z.ZodNumber>;
57
- rirPosition: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
58
- ocrPosition: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
59
- rirConfidence: z.ZodNullable<z.ZodNumber>;
60
- connectorPosition: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
61
- connectorText: z.ZodNullable<z.ZodOptional<z.ZodString>>;
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: string | null;
64
- page: number | null;
65
- normalizedValue: string | null;
66
- position: number[] | null;
67
- rirText: string | null;
68
- rirRawText: string | null;
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: string | null;
79
- page: number | null;
80
- normalizedValue: string | null;
81
- position: number[] | null;
82
- rirText: string | null;
83
- rirRawText: string | null;
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: string | null;
105
- page: number | null;
106
- normalizedValue: string | null;
107
- position: number[] | null;
108
- rirText: string | null;
109
- rirRawText: string | null;
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: string | null;
129
- page: number | null;
130
- normalizedValue: string | null;
131
- position: number[] | null;
132
- rirText: string | null;
133
- rirRawText: string | null;
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.ZodNullable<z.ZodOptional<z.ZodString>>;
180
- ocrRawText: z.ZodNullable<z.ZodOptional<z.ZodString>>;
181
- rirPage: z.ZodNullable<z.ZodNumber>;
182
- rirPosition: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
183
- ocrPosition: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
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: string | null;
189
- page: number | null;
190
- normalizedValue: string | null;
191
- position: number[] | null;
192
- rirText: string | null;
193
- rirRawText: string | null;
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: string | null;
204
- page: number | null;
205
- normalizedValue: string | null;
206
- position: number[] | null;
207
- rirText: string | null;
208
- rirRawText: string | null;
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: string | null;
233
- page: number | null;
234
- normalizedValue: string | null;
235
- position: number[] | null;
236
- rirText: string | null;
237
- rirRawText: string | null;
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: string | null;
256
- page: number | null;
257
- normalizedValue: string | null;
258
- position: number[] | null;
259
- rirText: string | null;
260
- rirRawText: string | null;
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: string | null;
281
- page: number | null;
282
- normalizedValue: string | null;
283
- position: number[] | null;
284
- rirText: string | null;
285
- rirRawText: string | null;
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: string | null;
308
- page: number | null;
309
- normalizedValue: string | null;
310
- position: number[] | null;
311
- rirText: string | null;
312
- rirRawText: string | null;
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: string | null;
388
- page: number | null;
389
- normalizedValue: string | null;
390
- position: number[] | null;
391
- rirText: string | null;
392
- rirRawText: string | null;
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: string | null;
415
- page: number | null;
416
- normalizedValue: string | null;
417
- position: number[] | null;
418
- rirText: string | null;
419
- rirRawText: string | null;
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: string | null;
471
- page: number | null;
472
- normalizedValue: string | null;
473
- position: number[] | null;
474
- rirText: string | null;
475
- rirRawText: string | null;
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: string | null;
498
- page: number | null;
499
- normalizedValue: string | null;
500
- position: number[] | null;
501
- rirText: string | null;
502
- rirRawText: string | null;
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;