@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
|
@@ -29,7 +29,7 @@ export declare const annotationListResponse: (sideload: SideloadOptions[]) => im
|
|
|
29
29
|
confirmedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
30
30
|
exportedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
31
31
|
assignedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
32
|
-
status: import("zod").ZodUnion<[import("zod").ZodLiteral<"importing">, import("zod").ZodLiteral<"failed_import">, import("zod").ZodLiteral<"split">, import("zod").ZodLiteral<"to_review">, import("zod").ZodLiteral<"reviewing">, import("zod").ZodLiteral<"confirmed">, import("zod").ZodLiteral<"rejected">, import("zod").ZodLiteral<"exporting">, import("zod").ZodLiteral<"exported">, import("zod").ZodLiteral<"failed_export">, import("zod").ZodLiteral<"postponed">, import("zod").ZodLiteral<"deleted">, import("zod").ZodLiteral<"purged">, import("zod").ZodLiteral<"in_workflow">]>;
|
|
32
|
+
status: import("zod").ZodUnion<[import("zod").ZodLiteral<"created">, import("zod").ZodLiteral<"importing">, import("zod").ZodLiteral<"failed_import">, import("zod").ZodLiteral<"split">, import("zod").ZodLiteral<"to_review">, import("zod").ZodLiteral<"reviewing">, import("zod").ZodLiteral<"confirmed">, import("zod").ZodLiteral<"rejected">, import("zod").ZodLiteral<"exporting">, import("zod").ZodLiteral<"exported">, import("zod").ZodLiteral<"failed_export">, import("zod").ZodLiteral<"postponed">, import("zod").ZodLiteral<"deleted">, import("zod").ZodLiteral<"purged">, import("zod").ZodLiteral<"in_workflow">]>;
|
|
33
33
|
rirPollId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
34
34
|
messages: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
|
35
35
|
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"error">, import("zod").ZodLiteral<"warning">, import("zod").ZodLiteral<"info">]>;
|
|
@@ -104,7 +104,7 @@ export declare const annotationListResponse: (sideload: SideloadOptions[]) => im
|
|
|
104
104
|
assignees: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
105
105
|
labels: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
106
106
|
}, "strip", import("zod").ZodTypeAny, {
|
|
107
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
107
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
108
108
|
document: string;
|
|
109
109
|
assignees: string[];
|
|
110
110
|
url: string;
|
|
@@ -152,7 +152,7 @@ export declare const annotationListResponse: (sideload: SideloadOptions[]) => im
|
|
|
152
152
|
hasEmailThreadWithReplies?: boolean | undefined;
|
|
153
153
|
hasEmailThreadWithNewReplies?: boolean | undefined;
|
|
154
154
|
}, {
|
|
155
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
155
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
156
156
|
document: string;
|
|
157
157
|
assignees: string[];
|
|
158
158
|
url: string;
|
|
@@ -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").
|
|
291
|
-
ocrRawText: import("zod").
|
|
292
|
-
rirPage: import("zod").ZodNullable<import("zod").ZodNumber
|
|
293
|
-
rirPosition: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodNumber, "many"
|
|
294
|
-
ocrPosition: import("zod").
|
|
295
|
-
rirConfidence: import("zod").ZodNullable<import("zod").ZodNumber
|
|
296
|
-
connectorPosition: import("zod").
|
|
297
|
-
connectorText: import("zod").
|
|
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
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
position
|
|
303
|
-
rirText
|
|
304
|
-
rirRawText
|
|
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
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
position
|
|
318
|
-
rirText
|
|
319
|
-
rirRawText
|
|
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
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
position
|
|
344
|
-
rirText
|
|
345
|
-
rirRawText
|
|
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
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
position
|
|
368
|
-
rirText
|
|
369
|
-
rirRawText
|
|
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;
|
|
@@ -596,7 +596,7 @@ export declare const annotationListResponse: (sideload: SideloadOptions[]) => im
|
|
|
596
596
|
oidcId?: string | null | undefined;
|
|
597
597
|
}[];
|
|
598
598
|
results: {
|
|
599
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
599
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
600
600
|
document: string;
|
|
601
601
|
assignees: string[];
|
|
602
602
|
url: string;
|
|
@@ -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
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
position
|
|
657
|
-
rirText
|
|
658
|
-
rirRawText
|
|
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;
|
|
@@ -765,7 +765,7 @@ export declare const annotationListResponse: (sideload: SideloadOptions[]) => im
|
|
|
765
765
|
oidcId?: string | null | undefined;
|
|
766
766
|
}[];
|
|
767
767
|
results: {
|
|
768
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
768
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
769
769
|
document: string;
|
|
770
770
|
assignees: string[];
|
|
771
771
|
url: string;
|
|
@@ -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
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
position
|
|
826
|
-
rirText
|
|
827
|
-
rirRawText
|
|
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.
|
|
122
|
-
ocrRawText: z.
|
|
123
|
-
rirPage: z.ZodNullable<z.ZodNumber
|
|
124
|
-
rirPosition: z.ZodNullable<z.ZodArray<z.ZodNumber, "many"
|
|
125
|
-
ocrPosition: z.
|
|
126
|
-
rirConfidence: z.ZodNullable<z.ZodNumber
|
|
127
|
-
connectorPosition: z.
|
|
128
|
-
connectorText: z.
|
|
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
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
position
|
|
134
|
-
rirText
|
|
135
|
-
rirRawText
|
|
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
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
position
|
|
149
|
-
rirText
|
|
150
|
-
rirRawText
|
|
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
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
position
|
|
175
|
-
rirText
|
|
176
|
-
rirRawText
|
|
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
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
position
|
|
199
|
-
rirText
|
|
200
|
-
rirRawText
|
|
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
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
position
|
|
393
|
-
rirText
|
|
394
|
-
rirRawText
|
|
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
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
position
|
|
507
|
-
rirText
|
|
508
|
-
rirRawText
|
|
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;
|
|
@@ -13,7 +13,7 @@ export declare const editDataSourceSchema: z.ZodUnion<[z.ZodLiteral<"automation"
|
|
|
13
13
|
export declare const accessibleChildAnnotationSchema: z.ZodObject<{
|
|
14
14
|
url: z.ZodString;
|
|
15
15
|
queue: 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
|
started: z.ZodBoolean;
|
|
18
18
|
originalFileName: z.ZodString;
|
|
19
19
|
parentPages: z.ZodArray<z.ZodObject<{
|
|
@@ -27,7 +27,7 @@ export declare const accessibleChildAnnotationSchema: z.ZodObject<{
|
|
|
27
27
|
rotationDeg: number;
|
|
28
28
|
}>, "many">;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
30
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
31
31
|
url: string;
|
|
32
32
|
queue: string;
|
|
33
33
|
started: boolean;
|
|
@@ -37,7 +37,7 @@ export declare const accessibleChildAnnotationSchema: z.ZodObject<{
|
|
|
37
37
|
rotationDeg: number;
|
|
38
38
|
}[];
|
|
39
39
|
}, {
|
|
40
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
40
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
41
41
|
url: string;
|
|
42
42
|
queue: string;
|
|
43
43
|
started: boolean;
|
|
@@ -78,7 +78,7 @@ export declare const inaccessibleChildAnnotationSchema: z.ZodObject<{
|
|
|
78
78
|
export declare const childAnnotationSchema: z.ZodUnion<[z.ZodObject<{
|
|
79
79
|
url: z.ZodString;
|
|
80
80
|
queue: z.ZodString;
|
|
81
|
-
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">]>;
|
|
81
|
+
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">]>;
|
|
82
82
|
started: z.ZodBoolean;
|
|
83
83
|
originalFileName: z.ZodString;
|
|
84
84
|
parentPages: z.ZodArray<z.ZodObject<{
|
|
@@ -92,7 +92,7 @@ export declare const childAnnotationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
92
92
|
rotationDeg: number;
|
|
93
93
|
}>, "many">;
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
95
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
96
96
|
url: string;
|
|
97
97
|
queue: string;
|
|
98
98
|
started: boolean;
|
|
@@ -102,7 +102,7 @@ export declare const childAnnotationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
102
102
|
rotationDeg: number;
|
|
103
103
|
}[];
|
|
104
104
|
}, {
|
|
105
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
105
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
106
106
|
url: string;
|
|
107
107
|
queue: string;
|
|
108
108
|
started: boolean;
|
|
@@ -145,7 +145,7 @@ export declare const startEditPagesResponseSchema: z.ZodObject<{
|
|
|
145
145
|
children: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
146
146
|
url: z.ZodString;
|
|
147
147
|
queue: z.ZodString;
|
|
148
|
-
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">]>;
|
|
148
|
+
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">]>;
|
|
149
149
|
started: z.ZodBoolean;
|
|
150
150
|
originalFileName: z.ZodString;
|
|
151
151
|
parentPages: z.ZodArray<z.ZodObject<{
|
|
@@ -159,7 +159,7 @@ export declare const startEditPagesResponseSchema: z.ZodObject<{
|
|
|
159
159
|
rotationDeg: number;
|
|
160
160
|
}>, "many">;
|
|
161
161
|
}, "strip", z.ZodTypeAny, {
|
|
162
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
162
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
163
163
|
url: string;
|
|
164
164
|
queue: string;
|
|
165
165
|
started: boolean;
|
|
@@ -169,7 +169,7 @@ export declare const startEditPagesResponseSchema: z.ZodObject<{
|
|
|
169
169
|
rotationDeg: number;
|
|
170
170
|
}[];
|
|
171
171
|
}, {
|
|
172
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
172
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
173
173
|
url: string;
|
|
174
174
|
queue: string;
|
|
175
175
|
started: boolean;
|
|
@@ -210,7 +210,7 @@ export declare const startEditPagesResponseSchema: z.ZodObject<{
|
|
|
210
210
|
parentAnnotation: string;
|
|
211
211
|
sessionTimeout: string;
|
|
212
212
|
children: ({
|
|
213
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
213
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
214
214
|
url: string;
|
|
215
215
|
queue: string;
|
|
216
216
|
started: boolean;
|
|
@@ -231,7 +231,7 @@ export declare const startEditPagesResponseSchema: z.ZodObject<{
|
|
|
231
231
|
parentAnnotation: string;
|
|
232
232
|
sessionTimeout: string;
|
|
233
233
|
children: ({
|
|
234
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
234
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
235
235
|
url: string;
|
|
236
236
|
queue: string;
|
|
237
237
|
started: boolean;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ListResponse } from '../../utils/listResponse';
|
|
2
2
|
import { ElisRequestConfig } from '../../utils/requestConfig';
|
|
3
3
|
import { DeleteRecommendation } from '../models';
|
|
4
|
-
export type DeleteRecommendationListQueryEncoder = {
|
|
4
|
+
export type DeleteRecommendationListQueryEncoder = {
|
|
5
|
+
queue?: number;
|
|
6
|
+
};
|
|
5
7
|
export declare const list: (query?: DeleteRecommendationListQueryEncoder) => ElisRequestConfig<ListResponse<DeleteRecommendation>, DeleteRecommendationListQueryEncoder, never>;
|
|
@@ -1,2 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const deleteRecommendationListQueryEncoderSchema: z.ZodObject<{
|
|
2
|
+
export declare const deleteRecommendationListQueryEncoderSchema: z.ZodObject<{
|
|
3
|
+
queue: z.ZodOptional<z.ZodNumber>;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
queue?: number | undefined;
|
|
6
|
+
}, {
|
|
7
|
+
queue?: number | undefined;
|
|
8
|
+
}>;
|
|
@@ -7,8 +7,14 @@ export type DocumentsDownloadsQuery = {
|
|
|
7
7
|
id: number[];
|
|
8
8
|
fileName?: string | null;
|
|
9
9
|
};
|
|
10
|
+
export type DocumentsDownloadsType = 'source_document' | 'document';
|
|
10
11
|
export type DocumentsDownloadsPayload = {
|
|
11
12
|
fileName: string;
|
|
12
13
|
documents: Url[];
|
|
14
|
+
type?: DocumentsDownloadsType;
|
|
15
|
+
} | {
|
|
16
|
+
documents: readonly [Url];
|
|
17
|
+
zip: false;
|
|
18
|
+
type?: DocumentsDownloadsType;
|
|
13
19
|
};
|
|
14
20
|
export declare const downloads: (payload: DocumentsDownloadsPayload) => ElisRequestConfig<DocumentsDownloadsResponse, never, DocumentsDownloadsPayload>;
|
|
@@ -16,13 +16,29 @@ export declare const documentsDownloadsQuerySchema: z.ZodObject<{
|
|
|
16
16
|
id: number[];
|
|
17
17
|
fileName?: string | null | undefined;
|
|
18
18
|
}>;
|
|
19
|
-
export declare const
|
|
19
|
+
export declare const documentsDownloadsTypeSchema: z.ZodUnion<[z.ZodLiteral<"source_document">, z.ZodLiteral<"document">]>;
|
|
20
|
+
export declare const documentsDownloadsPayloadSchema: z.ZodUnion<[z.ZodObject<{
|
|
20
21
|
fileName: z.ZodString;
|
|
21
22
|
documents: z.ZodArray<z.ZodString, "many">;
|
|
23
|
+
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"source_document">, z.ZodLiteral<"document">]>>;
|
|
22
24
|
}, "strip", z.ZodTypeAny, {
|
|
23
25
|
documents: string[];
|
|
24
26
|
fileName: string;
|
|
27
|
+
type?: "document" | "source_document" | undefined;
|
|
25
28
|
}, {
|
|
26
29
|
documents: string[];
|
|
27
30
|
fileName: string;
|
|
28
|
-
|
|
31
|
+
type?: "document" | "source_document" | undefined;
|
|
32
|
+
}>, z.ZodObject<{
|
|
33
|
+
documents: z.ZodAny;
|
|
34
|
+
zip: z.ZodLiteral<false>;
|
|
35
|
+
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"source_document">, z.ZodLiteral<"document">]>>;
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
zip: false;
|
|
38
|
+
documents?: any;
|
|
39
|
+
type?: "document" | "source_document" | undefined;
|
|
40
|
+
}, {
|
|
41
|
+
zip: false;
|
|
42
|
+
documents?: any;
|
|
43
|
+
type?: "document" | "source_document" | undefined;
|
|
44
|
+
}>]>;
|