@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.
@@ -281,48 +281,48 @@ export declare const annotationListResponse: (sideload: SideloadOptions[]) => im
281
281
  id: import("zod").ZodNullable<import("zod").ZodNumber>;
282
282
  url: import("zod").ZodNullable<import("zod").ZodString>;
283
283
  content: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
284
- value: import("zod").ZodNullable<import("zod").ZodString>;
285
- normalizedValue: import("zod").ZodNullable<import("zod").ZodString>;
286
- page: import("zod").ZodNullable<import("zod").ZodNumber>;
287
- position: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodNumber, "many">>;
288
- rirText: import("zod").ZodNullable<import("zod").ZodString>;
289
- rirRawText: import("zod").ZodNullable<import("zod").ZodString>;
290
- ocrText: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
291
- ocrRawText: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
292
- rirPage: import("zod").ZodNullable<import("zod").ZodNumber>;
293
- rirPosition: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodNumber, "many">>;
294
- ocrPosition: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber, "many">>>;
295
- rirConfidence: import("zod").ZodNullable<import("zod").ZodNumber>;
296
- connectorPosition: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber, "many">>>;
297
- connectorText: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
284
+ value: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
285
+ normalizedValue: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
286
+ page: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
287
+ position: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodNumber, "many">>>;
288
+ rirText: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
289
+ rirRawText: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
290
+ ocrText: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
291
+ ocrRawText: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
292
+ rirPage: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
293
+ rirPosition: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodNumber, "many">>>;
294
+ ocrPosition: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodNumber, "many">>>;
295
+ rirConfidence: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
296
+ connectorPosition: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodNumber, "many">>>;
297
+ connectorText: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
298
298
  }, "strip", import("zod").ZodTypeAny, {
299
- value: string | null;
300
- page: number | null;
301
- normalizedValue: string | null;
302
- position: number[] | null;
303
- rirText: string | null;
304
- rirRawText: string | null;
305
- rirPage: number | null;
306
- rirPosition: number[] | null;
307
- rirConfidence: number | null;
299
+ value?: string | null | undefined;
300
+ normalizedValue?: string | null | undefined;
301
+ page?: number | null | undefined;
302
+ position?: number[] | null | undefined;
303
+ rirText?: string | null | undefined;
304
+ rirRawText?: string | null | undefined;
308
305
  ocrText?: string | null | undefined;
309
306
  ocrRawText?: string | null | undefined;
307
+ rirPage?: number | null | undefined;
308
+ rirPosition?: number[] | null | undefined;
310
309
  ocrPosition?: number[] | null | undefined;
310
+ rirConfidence?: number | null | undefined;
311
311
  connectorPosition?: number[] | null | undefined;
312
312
  connectorText?: string | null | undefined;
313
313
  }, {
314
- value: string | null;
315
- page: number | null;
316
- normalizedValue: string | null;
317
- position: number[] | null;
318
- rirText: string | null;
319
- rirRawText: string | null;
320
- rirPage: number | null;
321
- rirPosition: number[] | null;
322
- rirConfidence: number | null;
314
+ value?: string | null | undefined;
315
+ normalizedValue?: string | null | undefined;
316
+ page?: number | null | undefined;
317
+ position?: number[] | null | undefined;
318
+ rirText?: string | null | undefined;
319
+ rirRawText?: string | null | undefined;
323
320
  ocrText?: string | null | undefined;
324
321
  ocrRawText?: string | null | undefined;
322
+ rirPage?: number | null | undefined;
323
+ rirPosition?: number[] | null | undefined;
325
324
  ocrPosition?: number[] | null | undefined;
325
+ rirConfidence?: number | null | undefined;
326
326
  connectorPosition?: number[] | null | undefined;
327
327
  connectorText?: string | null | undefined;
328
328
  }>>>;
@@ -337,18 +337,18 @@ export declare const annotationListResponse: (sideload: SideloadOptions[]) => im
337
337
  schemaId: string | null;
338
338
  category: "datapoint" | null;
339
339
  content?: {
340
- value: string | null;
341
- page: number | null;
342
- normalizedValue: string | null;
343
- position: number[] | null;
344
- rirText: string | null;
345
- rirRawText: string | null;
346
- rirPage: number | null;
347
- rirPosition: number[] | null;
348
- rirConfidence: number | null;
340
+ value?: string | null | undefined;
341
+ normalizedValue?: string | null | undefined;
342
+ page?: number | null | undefined;
343
+ position?: number[] | null | undefined;
344
+ rirText?: string | null | undefined;
345
+ rirRawText?: string | null | undefined;
349
346
  ocrText?: string | null | undefined;
350
347
  ocrRawText?: string | null | undefined;
348
+ rirPage?: number | null | undefined;
349
+ rirPosition?: number[] | null | undefined;
351
350
  ocrPosition?: number[] | null | undefined;
351
+ rirConfidence?: number | null | undefined;
352
352
  connectorPosition?: number[] | null | undefined;
353
353
  connectorText?: string | null | undefined;
354
354
  } | null | undefined;
@@ -361,18 +361,18 @@ export declare const annotationListResponse: (sideload: SideloadOptions[]) => im
361
361
  schemaId: string | null;
362
362
  category: "datapoint" | null;
363
363
  content?: {
364
- value: string | null;
365
- page: number | null;
366
- normalizedValue: string | null;
367
- position: number[] | null;
368
- rirText: string | null;
369
- rirRawText: string | null;
370
- rirPage: number | null;
371
- rirPosition: number[] | null;
372
- rirConfidence: number | null;
364
+ value?: string | null | undefined;
365
+ normalizedValue?: string | null | undefined;
366
+ page?: number | null | undefined;
367
+ position?: number[] | null | undefined;
368
+ rirText?: string | null | undefined;
369
+ rirRawText?: string | null | undefined;
373
370
  ocrText?: string | null | undefined;
374
371
  ocrRawText?: string | null | undefined;
372
+ rirPage?: number | null | undefined;
373
+ rirPosition?: number[] | null | undefined;
375
374
  ocrPosition?: number[] | null | undefined;
375
+ rirConfidence?: number | null | undefined;
376
376
  connectorPosition?: number[] | null | undefined;
377
377
  connectorText?: string | null | undefined;
378
378
  } | null | undefined;
@@ -650,18 +650,18 @@ export declare const annotationListResponse: (sideload: SideloadOptions[]) => im
650
650
  schemaId: string | null;
651
651
  category: "datapoint" | null;
652
652
  content?: {
653
- value: string | null;
654
- page: number | null;
655
- normalizedValue: string | null;
656
- position: number[] | null;
657
- rirText: string | null;
658
- rirRawText: string | null;
659
- rirPage: number | null;
660
- rirPosition: number[] | null;
661
- rirConfidence: number | null;
653
+ value?: string | null | undefined;
654
+ normalizedValue?: string | null | undefined;
655
+ page?: number | null | undefined;
656
+ position?: number[] | null | undefined;
657
+ rirText?: string | null | undefined;
658
+ rirRawText?: string | null | undefined;
662
659
  ocrText?: string | null | undefined;
663
660
  ocrRawText?: string | null | undefined;
661
+ rirPage?: number | null | undefined;
662
+ rirPosition?: number[] | null | undefined;
664
663
  ocrPosition?: number[] | null | undefined;
664
+ rirConfidence?: number | null | undefined;
665
665
  connectorPosition?: number[] | null | undefined;
666
666
  connectorText?: string | null | undefined;
667
667
  } | null | undefined;
@@ -819,18 +819,18 @@ export declare const annotationListResponse: (sideload: SideloadOptions[]) => im
819
819
  schemaId: string | null;
820
820
  category: "datapoint" | null;
821
821
  content?: {
822
- value: string | null;
823
- page: number | null;
824
- normalizedValue: string | null;
825
- position: number[] | null;
826
- rirText: string | null;
827
- rirRawText: string | null;
828
- rirPage: number | null;
829
- rirPosition: number[] | null;
830
- rirConfidence: number | null;
822
+ value?: string | null | undefined;
823
+ normalizedValue?: string | null | undefined;
824
+ page?: number | null | undefined;
825
+ position?: number[] | null | undefined;
826
+ rirText?: string | null | undefined;
827
+ rirRawText?: string | null | undefined;
831
828
  ocrText?: string | null | undefined;
832
829
  ocrRawText?: string | null | undefined;
830
+ rirPage?: number | null | undefined;
831
+ rirPosition?: number[] | null | undefined;
833
832
  ocrPosition?: number[] | null | undefined;
833
+ rirConfidence?: number | null | undefined;
834
834
  connectorPosition?: number[] | null | undefined;
835
835
  connectorText?: string | null | undefined;
836
836
  } | null | undefined;
@@ -112,48 +112,48 @@ export declare const annotationListSideloadSchema: z.ZodObject<{
112
112
  id: z.ZodNullable<z.ZodNumber>;
113
113
  url: z.ZodNullable<z.ZodString>;
114
114
  content: z.ZodNullable<z.ZodOptional<z.ZodObject<{
115
- value: z.ZodNullable<z.ZodString>;
116
- normalizedValue: z.ZodNullable<z.ZodString>;
117
- page: z.ZodNullable<z.ZodNumber>;
118
- position: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
119
- rirText: z.ZodNullable<z.ZodString>;
120
- rirRawText: z.ZodNullable<z.ZodString>;
121
- ocrText: z.ZodNullable<z.ZodOptional<z.ZodString>>;
122
- ocrRawText: z.ZodNullable<z.ZodOptional<z.ZodString>>;
123
- rirPage: z.ZodNullable<z.ZodNumber>;
124
- rirPosition: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>;
125
- ocrPosition: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
126
- rirConfidence: z.ZodNullable<z.ZodNumber>;
127
- connectorPosition: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
128
- connectorText: z.ZodNullable<z.ZodOptional<z.ZodString>>;
115
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
116
+ normalizedValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117
+ page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
118
+ position: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
119
+ rirText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
120
+ rirRawText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
121
+ ocrText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
122
+ ocrRawText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
123
+ rirPage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
124
+ rirPosition: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
125
+ ocrPosition: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
126
+ rirConfidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
127
+ connectorPosition: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
128
+ connectorText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
129
129
  }, "strip", z.ZodTypeAny, {
130
- value: string | null;
131
- page: number | null;
132
- normalizedValue: string | null;
133
- position: number[] | null;
134
- rirText: string | null;
135
- rirRawText: string | null;
136
- rirPage: number | null;
137
- rirPosition: number[] | null;
138
- rirConfidence: number | null;
130
+ value?: string | null | undefined;
131
+ normalizedValue?: string | null | undefined;
132
+ page?: number | null | undefined;
133
+ position?: number[] | null | undefined;
134
+ rirText?: string | null | undefined;
135
+ rirRawText?: string | null | undefined;
139
136
  ocrText?: string | null | undefined;
140
137
  ocrRawText?: string | null | undefined;
138
+ rirPage?: number | null | undefined;
139
+ rirPosition?: number[] | null | undefined;
141
140
  ocrPosition?: number[] | null | undefined;
141
+ rirConfidence?: number | null | undefined;
142
142
  connectorPosition?: number[] | null | undefined;
143
143
  connectorText?: string | null | undefined;
144
144
  }, {
145
- value: string | null;
146
- page: number | null;
147
- normalizedValue: string | null;
148
- position: number[] | null;
149
- rirText: string | null;
150
- rirRawText: string | null;
151
- rirPage: number | null;
152
- rirPosition: number[] | null;
153
- rirConfidence: number | null;
145
+ value?: string | null | undefined;
146
+ normalizedValue?: string | null | undefined;
147
+ page?: number | null | undefined;
148
+ position?: number[] | null | undefined;
149
+ rirText?: string | null | undefined;
150
+ rirRawText?: string | null | undefined;
154
151
  ocrText?: string | null | undefined;
155
152
  ocrRawText?: string | null | undefined;
153
+ rirPage?: number | null | undefined;
154
+ rirPosition?: number[] | null | undefined;
156
155
  ocrPosition?: number[] | null | undefined;
156
+ rirConfidence?: number | null | undefined;
157
157
  connectorPosition?: number[] | null | undefined;
158
158
  connectorText?: string | null | undefined;
159
159
  }>>>;
@@ -168,18 +168,18 @@ export declare const annotationListSideloadSchema: z.ZodObject<{
168
168
  schemaId: string | null;
169
169
  category: "datapoint" | null;
170
170
  content?: {
171
- value: string | null;
172
- page: number | null;
173
- normalizedValue: string | null;
174
- position: number[] | null;
175
- rirText: string | null;
176
- rirRawText: string | null;
177
- rirPage: number | null;
178
- rirPosition: number[] | null;
179
- rirConfidence: number | null;
171
+ value?: string | null | undefined;
172
+ normalizedValue?: string | null | undefined;
173
+ page?: number | null | undefined;
174
+ position?: number[] | null | undefined;
175
+ rirText?: string | null | undefined;
176
+ rirRawText?: string | null | undefined;
180
177
  ocrText?: string | null | undefined;
181
178
  ocrRawText?: string | null | undefined;
179
+ rirPage?: number | null | undefined;
180
+ rirPosition?: number[] | null | undefined;
182
181
  ocrPosition?: number[] | null | undefined;
182
+ rirConfidence?: number | null | undefined;
183
183
  connectorPosition?: number[] | null | undefined;
184
184
  connectorText?: string | null | undefined;
185
185
  } | null | undefined;
@@ -192,18 +192,18 @@ export declare const annotationListSideloadSchema: z.ZodObject<{
192
192
  schemaId: string | null;
193
193
  category: "datapoint" | null;
194
194
  content?: {
195
- value: string | null;
196
- page: number | null;
197
- normalizedValue: string | null;
198
- position: number[] | null;
199
- rirText: string | null;
200
- rirRawText: string | null;
201
- rirPage: number | null;
202
- rirPosition: number[] | null;
203
- rirConfidence: number | null;
195
+ value?: string | null | undefined;
196
+ normalizedValue?: string | null | undefined;
197
+ page?: number | null | undefined;
198
+ position?: number[] | null | undefined;
199
+ rirText?: string | null | undefined;
200
+ rirRawText?: string | null | undefined;
204
201
  ocrText?: string | null | undefined;
205
202
  ocrRawText?: string | null | undefined;
203
+ rirPage?: number | null | undefined;
204
+ rirPosition?: number[] | null | undefined;
206
205
  ocrPosition?: number[] | null | undefined;
206
+ rirConfidence?: number | null | undefined;
207
207
  connectorPosition?: number[] | null | undefined;
208
208
  connectorText?: string | null | undefined;
209
209
  } | null | undefined;
@@ -386,18 +386,18 @@ export declare const annotationListSideloadSchema: z.ZodObject<{
386
386
  schemaId: string | null;
387
387
  category: "datapoint" | null;
388
388
  content?: {
389
- value: string | null;
390
- page: number | null;
391
- normalizedValue: string | null;
392
- position: number[] | null;
393
- rirText: string | null;
394
- rirRawText: string | null;
395
- rirPage: number | null;
396
- rirPosition: number[] | null;
397
- rirConfidence: number | null;
389
+ value?: string | null | undefined;
390
+ normalizedValue?: string | null | undefined;
391
+ page?: number | null | undefined;
392
+ position?: number[] | null | undefined;
393
+ rirText?: string | null | undefined;
394
+ rirRawText?: string | null | undefined;
398
395
  ocrText?: string | null | undefined;
399
396
  ocrRawText?: string | null | undefined;
397
+ rirPage?: number | null | undefined;
398
+ rirPosition?: number[] | null | undefined;
400
399
  ocrPosition?: number[] | null | undefined;
400
+ rirConfidence?: number | null | undefined;
401
401
  connectorPosition?: number[] | null | undefined;
402
402
  connectorText?: string | null | undefined;
403
403
  } | null | undefined;
@@ -500,18 +500,18 @@ export declare const annotationListSideloadSchema: z.ZodObject<{
500
500
  schemaId: string | null;
501
501
  category: "datapoint" | null;
502
502
  content?: {
503
- value: string | null;
504
- page: number | null;
505
- normalizedValue: string | null;
506
- position: number[] | null;
507
- rirText: string | null;
508
- rirRawText: string | null;
509
- rirPage: number | null;
510
- rirPosition: number[] | null;
511
- rirConfidence: number | null;
503
+ value?: string | null | undefined;
504
+ normalizedValue?: string | null | undefined;
505
+ page?: number | null | undefined;
506
+ position?: number[] | null | undefined;
507
+ rirText?: string | null | undefined;
508
+ rirRawText?: string | null | undefined;
512
509
  ocrText?: string | null | undefined;
513
510
  ocrRawText?: string | null | undefined;
511
+ rirPage?: number | null | undefined;
512
+ rirPosition?: number[] | null | undefined;
514
513
  ocrPosition?: number[] | null | undefined;
514
+ rirConfidence?: number | null | undefined;
515
515
  connectorPosition?: number[] | null | undefined;
516
516
  connectorText?: string | null | undefined;
517
517
  } | null | undefined;