@rossum/api-client 0.1.20 → 0.1.22
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 +4 -1
- package/index.js.map +1 -1
- package/knip.js +9 -0
- package/knip.js.map +1 -0
- package/package.json +1 -1
- package/src/annotations/endpoints/approve.js.map +1 -1
- package/src/annotations/endpoints/assign.js.map +1 -1
- package/src/annotations/endpoints/cancelEditPages.js.map +1 -1
- package/src/annotations/endpoints/confirm.js.map +1 -1
- package/src/annotations/endpoints/copy.js.map +1 -1
- package/src/annotations/endpoints/delete.js.map +1 -1
- package/src/annotations/endpoints/editPages.js.map +1 -1
- package/src/annotations/endpoints/editPagesInPlace.js.map +1 -1
- package/src/annotations/endpoints/exportAnnotationCrossQueue.js.map +1 -1
- package/src/annotations/endpoints/get.js.map +1 -1
- package/src/annotations/endpoints/getContent.js.map +1 -1
- package/src/annotations/endpoints/list.js.map +1 -1
- package/src/annotations/endpoints/list.schema.js +1 -1
- package/src/annotations/endpoints/patch.js.map +1 -1
- package/src/annotations/endpoints/postpone.js.map +1 -1
- package/src/annotations/endpoints/purge.js.map +1 -1
- package/src/annotations/endpoints/reject.js.map +1 -1
- package/src/annotations/endpoints/search.js.map +1 -1
- package/src/annotations/endpoints/split.js.map +1 -1
- package/src/annotations/endpoints/start.js.map +1 -1
- package/src/annotations/endpoints/startEditPages.js.map +1 -1
- package/src/annotations/endpoints/startEmbedded.js.map +1 -1
- package/src/annotations/endpoints/updateContent.js.map +1 -1
- package/src/annotations/endpoints/usageReportExport.js.map +1 -1
- package/src/annotations/endpoints/validate.js.map +1 -1
- package/src/annotations/models/annotation.schema.js +8 -2
- package/src/annotations/models/annotation.schema.js.map +1 -1
- package/src/annotations/models/editPages.schema.js +1 -1
- package/src/authentication/endpoints/getMembershipToken.js.map +1 -1
- package/src/authentication/endpoints/index.js +2 -0
- package/src/authentication/endpoints/index.js.map +1 -1
- package/src/authentication/endpoints/login.js.map +1 -1
- package/src/authentication/endpoints/password/change.js.map +1 -1
- package/src/authentication/endpoints/password/confirm.js.map +1 -1
- package/src/authentication/endpoints/password/reset.js.map +1 -1
- package/src/authentication/endpoints/password/score.js.map +1 -1
- package/src/authentication/endpoints/patch.js +16 -0
- package/src/authentication/endpoints/patch.js.map +1 -0
- package/src/authentication/endpoints/patch.schema.js +6 -0
- package/src/authentication/endpoints/patch.schema.js.map +1 -0
- package/src/authentication/endpoints/token.js.map +1 -1
- package/src/authentication/endpoints/user.js.map +1 -1
- package/src/automationBlockers/endpoints/get.js.map +1 -1
- package/src/billing/endpoints/getHistory.js.map +1 -1
- package/src/billing/endpoints/getHistoryExport.js.map +1 -1
- package/src/billing/endpoints/getStats.js.map +1 -1
- package/src/billing/endpoints/getStatsExport.js.map +1 -1
- package/src/connectors/endpoints/create.js.map +1 -1
- package/src/connectors/endpoints/delete.js.map +1 -1
- package/src/connectors/endpoints/list.js +1 -1
- package/src/connectors/endpoints/list.js.map +1 -1
- package/src/dedicatedEngineSchema/endpoints/create.js.map +1 -1
- package/src/dedicatedEngineSchema/endpoints/get.js.map +1 -1
- package/src/dedicatedEngineSchema/endpoints/patch.js.map +1 -1
- package/src/dedicatedEngineSchema/endpoints/predict.js.map +1 -1
- package/src/dedicatedEngineSchema/endpoints/validate.js.map +1 -1
- package/src/dedicatedEngines/endpoints/create.js.map +1 -1
- package/src/dedicatedEngines/endpoints/get.js.map +1 -1
- package/src/dedicatedEngines/endpoints/list.js.map +1 -1
- package/src/dedicatedEngines/endpoints/patch.js.map +1 -1
- package/src/dedicatedEngines/endpoints/request.js.map +1 -1
- package/src/deleteRecommendations/endpoints/create.js.map +1 -1
- package/src/deleteRecommendations/endpoints/get.js.map +1 -1
- package/src/deleteRecommendations/endpoints/list.js.map +1 -1
- package/src/deleteRecommendations/endpoints/patch.js.map +1 -1
- package/src/documents/endpoints/downloads.js.map +1 -1
- package/src/documents/endpoints/downloads.schema.js +1 -1
- package/src/documents/endpoints/downloads.schema.js.map +1 -1
- package/src/documents/endpoints/get.js.map +1 -1
- package/src/documents/endpoints/getBlob.js.map +1 -1
- package/src/documents/endpoints/list.js +1 -1
- package/src/documents/endpoints/list.js.map +1 -1
- package/src/documents/endpoints/patch.js.map +1 -1
- package/src/email/endpoints/get.js.map +1 -1
- package/src/email/endpoints/list.js +1 -1
- package/src/email/endpoints/list.js.map +1 -1
- package/src/email/endpoints/send.js.map +1 -1
- package/src/emailTemplates/endpoints/create.js.map +1 -1
- package/src/emailTemplates/endpoints/delete.js.map +1 -1
- package/src/emailTemplates/endpoints/get.js.map +1 -1
- package/src/emailTemplates/endpoints/list.js.map +1 -1
- package/src/emailTemplates/endpoints/patch.js.map +1 -1
- package/src/emailTemplates/endpoints/render.js.map +1 -1
- package/src/emailTemplatesStats/endpoints/list.js.map +1 -1
- package/src/emailThreads/endpoints/counts.js +16 -0
- package/src/emailThreads/endpoints/counts.js.map +1 -0
- package/src/emailThreads/endpoints/counts.schema.js +8 -0
- package/src/emailThreads/endpoints/counts.schema.js.map +1 -0
- package/src/emailThreads/endpoints/get.js.map +1 -1
- package/src/emailThreads/endpoints/index.js +5 -1
- package/src/emailThreads/endpoints/index.js.map +1 -1
- package/src/emailThreads/endpoints/list.js +17 -0
- package/src/emailThreads/endpoints/list.js.map +1 -0
- package/src/emailThreads/endpoints/list.schema.js +22 -0
- package/src/emailThreads/endpoints/list.schema.js.map +1 -0
- package/src/emailThreads/endpoints/patch.js.map +1 -1
- package/src/emailThreads/models/emailThreads.schema.js +10 -5
- package/src/emailThreads/models/emailThreads.schema.js.map +1 -1
- package/src/genericEngines/endpoints/get.js +16 -0
- package/src/genericEngines/endpoints/get.js.map +1 -0
- package/src/genericEngines/endpoints/get.schema.js +16 -0
- package/src/genericEngines/endpoints/get.schema.js.map +1 -0
- package/src/genericEngines/endpoints/index.js +2 -0
- package/src/genericEngines/endpoints/index.js.map +1 -1
- package/src/genericEngines/endpoints/list.js.map +1 -1
- package/src/groups/endpoints/list.js.map +1 -1
- package/src/hookTemplates/endpoints/list.js +9 -7
- package/src/hookTemplates/endpoints/list.js.map +1 -1
- package/src/hooks/endpoints/create.js.map +1 -1
- package/src/hooks/endpoints/delete.js.map +1 -1
- package/src/hooks/endpoints/get.js.map +1 -1
- package/src/hooks/endpoints/getSecretsKeys.js.map +1 -1
- package/src/hooks/endpoints/invoke.js.map +1 -1
- package/src/hooks/endpoints/list.js +1 -1
- package/src/hooks/endpoints/list.js.map +1 -1
- package/src/hooks/endpoints/logs.js.map +1 -1
- package/src/hooks/endpoints/patch.js.map +1 -1
- package/src/hooks/endpoints/test.js.map +1 -1
- package/src/hooks/endpoints/test.schema.js +1 -1
- package/src/hooks/endpoints/test.schema.js.map +1 -1
- package/src/inboxes/endpoints/create.js.map +1 -1
- package/src/inboxes/endpoints/get.js.map +1 -1
- package/src/inboxes/endpoints/list.js.map +1 -1
- package/src/inboxes/endpoints/patch.js.map +1 -1
- package/src/internal/endpoints/domainSettings.js.map +1 -1
- package/src/internal/endpoints/generateRejectionEmail.js.map +1 -1
- package/src/internal/endpoints/requestDemo.js.map +1 -1
- package/src/internal/endpoints/requestExtension.js.map +1 -1
- package/src/labels/endpoints/apply.js.map +1 -1
- package/src/labels/endpoints/create.js.map +1 -1
- package/src/labels/endpoints/delete.js.map +1 -1
- package/src/labels/endpoints/list.js.map +1 -1
- package/src/labels/endpoints/patch.js.map +1 -1
- package/src/manage/endpoints/chameleon.js.map +1 -1
- package/src/memberships/endpoints/create.js.map +1 -1
- package/src/organization/endpoints/create.js.map +1 -1
- package/src/organization/endpoints/create.schema.js +1 -1
- package/src/organization/endpoints/create.schema.js.map +1 -1
- package/src/organization/endpoints/get.js.map +1 -1
- package/src/organization/endpoints/limits.js.map +1 -1
- package/src/organization/endpoints/patch.js +3 -3
- package/src/organization/endpoints/patch.js.map +1 -1
- package/src/organization/endpoints/patch.schema.js +3 -25
- package/src/organization/endpoints/patch.schema.js.map +1 -1
- package/src/organization/models/organization.schema.js +4 -0
- package/src/organization/models/organization.schema.js.map +1 -1
- package/src/organizationGroups/endpoints/organizations.js.map +1 -1
- package/src/organizationGroups/endpoints/queues.js.map +1 -1
- package/src/organizationGroups/endpoints/workspaces.js.map +1 -1
- package/src/queues/endpoints/automation.js.map +1 -1
- package/src/queues/endpoints/create.js.map +1 -1
- package/src/queues/endpoints/createFromTemplate.js.map +1 -1
- package/src/queues/endpoints/delete.js.map +1 -1
- package/src/queues/endpoints/duplicate.js.map +1 -1
- package/src/queues/endpoints/exportAnnotation.js.map +1 -1
- package/src/queues/endpoints/get.js.map +1 -1
- package/src/queues/endpoints/getRelatedObjectsCounts.js.map +1 -1
- package/src/queues/endpoints/index.js +2 -0
- package/src/queues/endpoints/index.js.map +1 -1
- package/src/queues/endpoints/list.js.map +1 -1
- package/src/queues/endpoints/nextAnnotation.js +15 -0
- package/src/queues/endpoints/nextAnnotation.js.map +1 -0
- package/src/queues/endpoints/nextAnnotation.schema.js +15 -0
- package/src/queues/endpoints/nextAnnotation.schema.js.map +1 -0
- package/src/queues/endpoints/patch.js.map +1 -1
- package/src/queues/endpoints/suggestedRecipients.js.map +1 -1
- package/src/queues/endpoints/upload.js.map +1 -1
- package/src/queues/models/queueCounts.schema.js +1 -1
- package/src/queues/models/queueSettings.schema.js +2 -0
- package/src/queues/models/queueSettings.schema.js.map +1 -1
- package/src/relations/endpoints/create.js.map +1 -1
- package/src/relations/endpoints/delete.js.map +1 -1
- package/src/relations/endpoints/get.js.map +1 -1
- package/src/relations/endpoints/list.js +1 -1
- package/src/relations/endpoints/list.js.map +1 -1
- package/src/relations/endpoints/patch.js.map +1 -1
- package/src/schemaFields/endpoints/list.js +1 -1
- package/src/schemaFields/endpoints/list.js.map +1 -1
- package/src/schemaFields/endpoints/list.schema.js +3 -2
- package/src/schemaFields/endpoints/list.schema.js.map +1 -1
- package/src/schemas/endpoints/create.js.map +1 -1
- package/src/schemas/endpoints/create.schema.js +1 -1
- package/src/schemas/endpoints/create.schema.js.map +1 -1
- package/src/schemas/endpoints/get.js.map +1 -1
- package/src/schemas/endpoints/list.js +1 -1
- package/src/schemas/endpoints/list.js.map +1 -1
- package/src/schemas/endpoints/patch.js.map +1 -1
- package/src/{organization/models/allDocumentsDashboard.js → shared/annotationListTable.js} +1 -1
- package/src/shared/annotationListTable.js.map +1 -0
- package/src/shared/annotationListTable.schema.js +70 -0
- package/src/shared/annotationListTable.schema.js.map +1 -0
- package/src/shared/annotationStatus.js.map +1 -0
- package/src/{models → shared}/annotationStatus.schema.js.map +1 -1
- package/src/shared/index.js.map +1 -0
- package/src/{models → shared}/message.js.map +1 -1
- package/src/{models → shared}/message.schema.js +1 -1
- package/src/{models → shared}/message.schema.js.map +1 -1
- package/src/suggestedEdit/endpoints/get.js.map +1 -1
- package/src/surveys/endpoints/fromTemplate.js.map +1 -1
- package/src/surveys/endpoints/get.js.map +1 -1
- package/src/surveys/endpoints/list.js.map +1 -1
- package/src/surveys/endpoints/patch.js.map +1 -1
- package/src/tasks/endpoints/get.js.map +1 -1
- package/src/triggers/endpoints/create.js.map +1 -1
- package/src/triggers/endpoints/create.schema.js +1 -1
- package/src/triggers/endpoints/create.schema.js.map +1 -1
- package/src/triggers/endpoints/delete.js.map +1 -1
- package/src/triggers/endpoints/get.js.map +1 -1
- package/src/triggers/endpoints/patch.js.map +1 -1
- package/src/uploads/endpoints/get.js +13 -0
- package/src/uploads/endpoints/get.js.map +1 -0
- package/src/uploads/endpoints/index.js +2 -0
- package/src/uploads/endpoints/index.js.map +1 -1
- package/src/uploads/endpoints/post.js +3 -1
- package/src/uploads/endpoints/post.js.map +1 -1
- package/src/uploads/models/index.js +18 -0
- package/src/uploads/models/index.js.map +1 -0
- package/src/uploads/models/upload.js +3 -0
- package/src/uploads/models/upload.js.map +1 -0
- package/src/uploads/models/upload.schema.js +18 -0
- package/src/uploads/models/upload.schema.js.map +1 -0
- package/src/users/endpoints/create.js.map +1 -1
- package/src/users/endpoints/delete.js.map +1 -1
- package/src/users/endpoints/get.js.map +1 -1
- package/src/users/endpoints/list.js +1 -1
- package/src/users/endpoints/list.js.map +1 -1
- package/src/users/endpoints/patch.js.map +1 -1
- package/src/users/endpoints/resetPassword.js.map +1 -1
- package/src/utils/codecUtils.js +1 -8
- package/src/utils/codecUtils.js.map +1 -1
- package/src/utils/codecUtils.schema.js +1 -5
- package/src/utils/codecUtils.schema.js.map +1 -1
- package/src/utils/keyConvertor.js +1 -16
- package/src/utils/keyConvertor.js.map +1 -1
- package/src/utils/requestConfig.js.map +1 -1
- package/src/workflowActivities/endpoints/get.js.map +1 -1
- package/src/workflowActivities/endpoints/list.js +1 -1
- package/src/workflowActivities/endpoints/list.js.map +1 -1
- package/src/workflowRuns/endpoints/get.js.map +1 -1
- package/src/workflowRuns/endpoints/list.js.map +1 -1
- package/src/workflowRuns/endpoints/reset.js.map +1 -1
- package/src/workflowSteps/endpoints/get.js.map +1 -1
- package/src/workflowSteps/endpoints/list.js.map +1 -1
- package/src/workflows/endpoints/get.js.map +1 -1
- package/src/workflows/endpoints/list.js.map +1 -1
- package/src/workspaces/endpoints/create.js.map +1 -1
- package/src/workspaces/endpoints/delete.js.map +1 -1
- package/src/workspaces/endpoints/list.js.map +1 -1
- package/src/workspaces/endpoints/patch.js +2 -2
- package/src/workspaces/endpoints/patch.js.map +1 -1
- package/src/workspaces/endpoints/patch.schema.js +2 -4
- package/src/workspaces/endpoints/patch.schema.js.map +1 -1
- package/types/index.d.ts +59177 -282
- package/types/knip.d.ts +7 -0
- package/types/src/annotations/endpoints/approve.d.ts +14 -2
- package/types/src/annotations/endpoints/assign.d.ts +20 -2
- package/types/src/annotations/endpoints/cancelEditPages.d.ts +55 -2
- package/types/src/annotations/endpoints/confirm.d.ts +6 -2
- package/types/src/annotations/endpoints/copy.d.ts +22 -2
- package/types/src/annotations/endpoints/delete.d.ts +6 -2
- package/types/src/annotations/endpoints/editPages.d.ts +148 -2
- package/types/src/annotations/endpoints/editPagesInPlace.d.ts +93 -2
- package/types/src/annotations/endpoints/exportAnnotationCrossQueue.d.ts +35 -2
- package/types/src/annotations/endpoints/get.d.ts +207 -3
- package/types/src/annotations/endpoints/getContent.d.ts +3078 -3
- package/types/src/annotations/endpoints/index.d.ts +7200 -34
- package/types/src/annotations/endpoints/list.d.ts +937 -4
- package/types/src/annotations/endpoints/patch.d.ts +411 -2
- package/types/src/annotations/endpoints/patch.schema.d.ts +25 -7
- package/types/src/annotations/endpoints/postpone.d.ts +6 -2
- package/types/src/annotations/endpoints/purge.d.ts +20 -2
- package/types/src/annotations/endpoints/reject.d.ts +14 -2
- package/types/src/annotations/endpoints/search.d.ts +957 -3
- package/types/src/annotations/endpoints/split.d.ts +71 -2
- package/types/src/annotations/endpoints/start.d.ts +22 -3
- package/types/src/annotations/endpoints/startEditPages.d.ts +114 -3
- package/types/src/annotations/endpoints/startEmbedded.d.ts +22 -2
- package/types/src/annotations/endpoints/updateContent.d.ts +128 -3
- package/types/src/annotations/endpoints/usageReportExport.d.ts +359 -4
- package/types/src/annotations/endpoints/validate.d.ts +539 -2
- package/types/src/annotations/models/annotation.d.ts +8 -2
- package/types/src/annotations/models/annotation.schema.d.ts +25 -7
- package/types/src/annotations/models/annotationListResponse.d.ts +39 -9
- package/types/src/annotations/models/editPages.d.ts +1 -1
- package/types/src/authentication/endpoints/getMembershipToken.d.ts +22 -2
- package/types/src/authentication/endpoints/index.d.ts +369 -8
- package/types/src/authentication/endpoints/login.d.ts +29 -3
- package/types/src/authentication/endpoints/password/change.d.ts +25 -2
- package/types/src/authentication/endpoints/password/confirm.d.ts +27 -2
- package/types/src/authentication/endpoints/password/reset.d.ts +21 -2
- package/types/src/authentication/endpoints/password/score.d.ts +32 -2
- package/types/src/authentication/endpoints/patch.d.ts +129 -0
- package/types/src/authentication/endpoints/patch.schema.d.ts +62 -0
- package/types/src/authentication/endpoints/token.d.ts +23 -3
- package/types/src/authentication/endpoints/user.d.ts +65 -3
- package/types/src/automationBlockers/endpoints/get.d.ts +148 -3
- package/types/src/automationBlockers/endpoints/index.d.ts +148 -1
- package/types/src/billing/endpoints/getHistory.d.ts +150 -3
- package/types/src/billing/endpoints/getHistoryExport.d.ts +5 -2
- package/types/src/billing/endpoints/getStats.d.ts +194 -3
- package/types/src/billing/endpoints/getStatsExport.d.ts +53 -2
- package/types/src/connectors/endpoints/create.d.ts +61 -3
- package/types/src/connectors/endpoints/delete.d.ts +6 -2
- package/types/src/connectors/endpoints/index.d.ts +193 -3
- package/types/src/connectors/endpoints/list.d.ts +127 -4
- package/types/src/dedicatedEngineSchema/endpoints/create.d.ts +632 -3
- package/types/src/dedicatedEngineSchema/endpoints/get.d.ts +619 -3
- package/types/src/dedicatedEngineSchema/endpoints/index.d.ts +3690 -41
- package/types/src/dedicatedEngineSchema/endpoints/patch.d.ts +1051 -3
- package/types/src/dedicatedEngineSchema/endpoints/predict.d.ts +611 -2
- package/types/src/dedicatedEngineSchema/endpoints/validate.d.ts +781 -3
- package/types/src/dedicatedEngines/endpoints/create.d.ts +34 -3
- package/types/src/dedicatedEngines/endpoints/get.d.ts +36 -3
- package/types/src/dedicatedEngines/endpoints/index.d.ts +266 -14
- package/types/src/dedicatedEngines/endpoints/list.d.ts +109 -4
- package/types/src/dedicatedEngines/endpoints/patch.d.ts +40 -3
- package/types/src/dedicatedEngines/endpoints/request.d.ts +47 -3
- package/types/src/deleteRecommendations/endpoints/create.d.ts +40 -3
- package/types/src/deleteRecommendations/endpoints/get.d.ts +26 -3
- package/types/src/deleteRecommendations/endpoints/index.d.ts +192 -8
- package/types/src/deleteRecommendations/endpoints/list.d.ts +82 -4
- package/types/src/deleteRecommendations/endpoints/patch.d.ts +44 -3
- package/types/src/documents/endpoints/downloads.d.ts +38 -3
- package/types/src/documents/endpoints/downloads.schema.d.ts +3 -3
- package/types/src/documents/endpoints/get.d.ts +50 -3
- package/types/src/documents/endpoints/getBlob.d.ts +5 -2
- package/types/src/documents/endpoints/index.d.ts +341 -5
- package/types/src/documents/endpoints/list.d.ts +152 -4
- package/types/src/documents/endpoints/patch.d.ts +97 -2
- package/types/src/email/endpoints/get.d.ts +176 -3
- package/types/src/email/endpoints/index.d.ts +665 -3
- package/types/src/email/endpoints/list.d.ts +368 -4
- package/types/src/email/endpoints/send.d.ts +121 -2
- package/types/src/emailTemplates/endpoints/create.d.ts +263 -3
- package/types/src/emailTemplates/endpoints/delete.d.ts +6 -2
- package/types/src/emailTemplates/endpoints/get.d.ts +179 -3
- package/types/src/emailTemplates/endpoints/index.d.ts +1106 -6
- package/types/src/emailTemplates/endpoints/list.d.ts +325 -4
- package/types/src/emailTemplates/endpoints/patch.d.ts +254 -3
- package/types/src/emailTemplates/endpoints/render.d.ts +82 -3
- package/types/src/emailTemplatesStats/endpoints/index.d.ts +73 -1
- package/types/src/emailTemplatesStats/endpoints/list.d.ts +73 -4
- package/types/src/emailThreads/endpoints/counts.d.ts +29 -0
- package/types/src/emailThreads/endpoints/counts.schema.d.ts +8 -0
- package/types/src/emailThreads/endpoints/get.d.ts +100 -3
- package/types/src/emailThreads/endpoints/index.d.ts +464 -2
- package/types/src/emailThreads/endpoints/list.d.ts +245 -0
- package/types/src/emailThreads/endpoints/list.schema.d.ts +47 -0
- package/types/src/emailThreads/endpoints/patch.d.ts +108 -3
- package/types/src/emailThreads/models/emailThreads.d.ts +9 -4
- package/types/src/emailThreads/models/emailThreads.schema.d.ts +29 -16
- package/types/src/genericEngines/endpoints/get.d.ts +40 -0
- package/types/src/genericEngines/endpoints/get.schema.d.ts +8 -0
- package/types/src/genericEngines/endpoints/index.d.ts +147 -1
- package/types/src/genericEngines/endpoints/list.d.ts +109 -4
- package/types/src/groups/endpoints/index.d.ts +59 -1
- package/types/src/groups/endpoints/list.d.ts +59 -4
- package/types/src/hookTemplates/endpoints/index.d.ts +579 -1
- package/types/src/hookTemplates/endpoints/list.d.ts +579 -4
- package/types/src/hooks/endpoints/create.d.ts +558 -3
- package/types/src/hooks/endpoints/delete.d.ts +6 -2
- package/types/src/hooks/endpoints/get.d.ts +321 -3
- package/types/src/hooks/endpoints/getSecretsKeys.d.ts +5 -2
- package/types/src/hooks/endpoints/index.d.ts +2609 -9
- package/types/src/hooks/endpoints/invoke.d.ts +7 -2
- package/types/src/hooks/endpoints/list.d.ts +540 -4
- package/types/src/hooks/endpoints/logs.d.ts +391 -2
- package/types/src/hooks/endpoints/patch.d.ts +653 -3
- package/types/src/hooks/endpoints/test.d.ts +131 -3
- package/types/src/hooks/endpoints/test.schema.d.ts +1 -1
- package/types/src/inboxes/endpoints/create.d.ts +95 -3
- package/types/src/inboxes/endpoints/get.d.ts +65 -3
- package/types/src/inboxes/endpoints/index.d.ts +400 -4
- package/types/src/inboxes/endpoints/list.d.ts +143 -4
- package/types/src/inboxes/endpoints/patch.d.ts +97 -3
- package/types/src/internal/endpoints/domainSettings.d.ts +44 -2
- package/types/src/internal/endpoints/generateRejectionEmail.d.ts +60 -2
- package/types/src/internal/endpoints/index.d.ts +145 -4
- package/types/src/internal/endpoints/requestDemo.d.ts +20 -2
- package/types/src/internal/endpoints/requestExtension.d.ts +23 -2
- package/types/src/labels/endpoints/apply.d.ts +42 -2
- package/types/src/labels/endpoints/create.d.ts +25 -3
- package/types/src/labels/endpoints/delete.d.ts +6 -2
- package/types/src/labels/endpoints/index.d.ts +166 -5
- package/types/src/labels/endpoints/list.d.ts +70 -4
- package/types/src/labels/endpoints/patch.d.ts +25 -3
- package/types/src/manage/endpoints/chameleon.d.ts +11 -2
- package/types/src/manage/endpoints/index.d.ts +11 -1
- package/types/src/memberships/endpoints/create.d.ts +40 -3
- package/types/src/memberships/endpoints/index.d.ts +40 -1
- package/types/src/organization/endpoints/create.d.ts +279 -3
- package/types/src/organization/endpoints/create.schema.d.ts +159 -1
- package/types/src/organization/endpoints/get.d.ts +173 -3
- package/types/src/organization/endpoints/index.d.ts +1250 -32
- package/types/src/organization/endpoints/limits.d.ts +56 -3
- package/types/src/organization/endpoints/patch.d.ts +345 -22
- package/types/src/organization/endpoints/patch.schema.d.ts +158 -45
- package/types/src/organization/models/organization.d.ts +4 -0
- package/types/src/organization/models/organization.schema.d.ts +126 -0
- package/types/src/organizationGroups/endpoints/index.d.ts +648 -23
- package/types/src/organizationGroups/endpoints/organizations.d.ts +73 -4
- package/types/src/organizationGroups/endpoints/queues.d.ts +90 -4
- package/types/src/organizationGroups/endpoints/workspaces.d.ts +85 -4
- package/types/src/queues/endpoints/automation.d.ts +162 -2
- package/types/src/queues/endpoints/create.d.ts +593 -3
- package/types/src/queues/endpoints/createFromTemplate.d.ts +593 -3
- package/types/src/queues/endpoints/delete.d.ts +14 -2
- package/types/src/queues/endpoints/duplicate.d.ts +599 -3
- package/types/src/queues/endpoints/exportAnnotation.d.ts +23 -2
- package/types/src/queues/endpoints/get.d.ts +586 -3
- package/types/src/queues/endpoints/getRelatedObjectsCounts.d.ts +17 -3
- package/types/src/queues/endpoints/index.d.ts +4652 -20
- package/types/src/queues/endpoints/list.d.ts +809 -3
- package/types/src/queues/endpoints/nextAnnotation.d.ts +35 -0
- package/types/src/queues/endpoints/nextAnnotation.schema.d.ts +21 -0
- package/types/src/queues/endpoints/patch.d.ts +1149 -2
- package/types/src/queues/endpoints/patch.schema.d.ts +118 -0
- package/types/src/queues/endpoints/suggestedRecipients.d.ts +42 -2
- package/types/src/queues/endpoints/upload.d.ts +39 -2
- package/types/src/queues/models/queue.schema.d.ts +118 -0
- package/types/src/queues/models/queueSettings.d.ts +2 -0
- package/types/src/queues/models/queueSettings.schema.d.ts +90 -0
- package/types/src/relations/endpoints/create.d.ts +92 -3
- package/types/src/relations/endpoints/delete.d.ts +6 -2
- package/types/src/relations/endpoints/get.d.ts +77 -3
- package/types/src/relations/endpoints/index.d.ts +449 -5
- package/types/src/relations/endpoints/list.d.ts +183 -4
- package/types/src/relations/endpoints/patch.d.ts +95 -3
- package/types/src/schemaFields/endpoints/index.d.ts +48 -1
- package/types/src/schemaFields/endpoints/list.d.ts +50 -3
- package/types/src/schemaFields/endpoints/list.schema.d.ts +4 -1
- package/types/src/schemas/endpoints/create.d.ts +6032 -4
- package/types/src/schemas/endpoints/create.schema.d.ts +1 -1
- package/types/src/schemas/endpoints/get.d.ts +6030 -3
- package/types/src/schemas/endpoints/index.d.ts +31397 -6
- package/types/src/schemas/endpoints/list.d.ts +7299 -4
- package/types/src/schemas/endpoints/patch.d.ts +12037 -2
- package/types/src/shared/annotationListTable.d.ts +31 -0
- package/types/src/shared/annotationListTable.schema.d.ts +198 -0
- package/types/src/{models → shared}/message.d.ts +1 -1
- package/types/src/{models → shared}/message.schema.d.ts +5 -5
- package/types/src/suggestedEdit/endpoints/get.d.ts +51 -3
- package/types/src/suggestedEdit/endpoints/index.d.ts +51 -1
- package/types/src/surveys/endpoints/fromTemplate.d.ts +60 -3
- package/types/src/surveys/endpoints/get.d.ts +50 -3
- package/types/src/surveys/endpoints/index.d.ts +306 -4
- package/types/src/surveys/endpoints/list.d.ts +124 -4
- package/types/src/surveys/endpoints/patch.d.ts +72 -3
- package/types/src/tasks/endpoints/get.d.ts +59 -3
- package/types/src/tasks/endpoints/index.d.ts +59 -1
- package/types/src/triggers/endpoints/create.d.ts +51 -4
- package/types/src/triggers/endpoints/create.schema.d.ts +1 -1
- package/types/src/triggers/endpoints/delete.d.ts +6 -2
- package/types/src/triggers/endpoints/get.d.ts +29 -3
- package/types/src/triggers/endpoints/index.d.ts +138 -10
- package/types/src/triggers/endpoints/patch.d.ts +56 -3
- package/types/src/uploads/endpoints/get.d.ts +38 -0
- package/types/src/uploads/endpoints/index.d.ts +65 -1
- package/types/src/uploads/endpoints/post.d.ts +28 -2
- package/types/src/uploads/models/index.d.ts +1 -0
- package/types/src/uploads/models/upload.d.ts +13 -0
- package/types/src/uploads/models/upload.schema.d.ts +35 -0
- package/types/src/users/endpoints/create.d.ts +103 -3
- package/types/src/users/endpoints/delete.d.ts +6 -2
- package/types/src/users/endpoints/get.d.ts +65 -3
- package/types/src/users/endpoints/index.d.ts +505 -6
- package/types/src/users/endpoints/list.d.ts +186 -4
- package/types/src/users/endpoints/patch.d.ts +127 -2
- package/types/src/users/endpoints/resetPassword.d.ts +19 -3
- package/types/src/utils/client.d.ts +0 -1
- package/types/src/utils/codecUtils.d.ts +0 -10
- package/types/src/utils/codecUtils.schema.d.ts +0 -7
- package/types/src/utils/keyConvertor.d.ts +1 -17
- package/types/src/utils/requestConfig.d.ts +4 -8
- package/types/src/workflowActivities/endpoints/get.d.ts +45 -3
- package/types/src/workflowActivities/endpoints/index.d.ts +165 -2
- package/types/src/workflowActivities/endpoints/list.d.ts +121 -4
- package/types/src/workflowRuns/endpoints/get.d.ts +27 -3
- package/types/src/workflowRuns/endpoints/index.d.ts +133 -3
- package/types/src/workflowRuns/endpoints/list.d.ts +95 -4
- package/types/src/workflowRuns/endpoints/reset.d.ts +14 -2
- package/types/src/workflowSteps/endpoints/get.d.ts +33 -3
- package/types/src/workflowSteps/endpoints/index.d.ts +136 -2
- package/types/src/workflowSteps/endpoints/list.d.ts +104 -4
- package/types/src/workflows/endpoints/get.d.ts +26 -3
- package/types/src/workflows/endpoints/index.d.ts +117 -2
- package/types/src/workflows/endpoints/list.d.ts +91 -4
- package/types/src/workspaces/endpoints/create.d.ts +40 -3
- package/types/src/workspaces/endpoints/delete.d.ts +6 -2
- package/types/src/workspaces/endpoints/index.d.ts +184 -4
- package/types/src/workspaces/endpoints/list.d.ts +102 -4
- package/types/src/workspaces/endpoints/patch.d.ts +39 -6
- package/types/src/workspaces/endpoints/patch.schema.d.ts +1 -4
- package/src/models/annotationStatus.js.map +0 -1
- package/src/models/index.js.map +0 -1
- package/src/organization/models/allDocumentsDashboard.js.map +0 -1
- package/src/organization/models/allDocumentsDashboard.schema.js +0 -36
- package/src/organization/models/allDocumentsDashboard.schema.js.map +0 -1
- package/types/src/organization/models/allDocumentsDashboard.d.ts +0 -17
- package/types/src/organization/models/allDocumentsDashboard.schema.d.ts +0 -80
- /package/src/{models → shared}/annotationStatus.js +0 -0
- /package/src/{models → shared}/annotationStatus.schema.js +0 -0
- /package/src/{models → shared}/index.js +0 -0
- /package/src/{models → shared}/message.js +0 -0
- /package/types/src/{models → shared}/annotationStatus.d.ts +0 -0
- /package/types/src/{models → shared}/annotationStatus.schema.d.ts +0 -0
- /package/types/src/{models → shared}/index.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ZodType } from 'zod';
|
|
2
|
+
import { SideloadOptions } from '../models/annotationListResponse';
|
|
3
3
|
export type AnnotationsSearchQuery = Partial<{
|
|
4
4
|
pageSize: number;
|
|
5
5
|
searchAfter: string;
|
|
@@ -17,5 +17,959 @@ export type AnnotationsSearchPayload = {
|
|
|
17
17
|
export type GenericSchemaListQuery<S extends SideloadOptions> = AnnotationsSearchQuery & {
|
|
18
18
|
sideload?: S[];
|
|
19
19
|
};
|
|
20
|
-
export declare const search: <S extends SideloadOptions>(query: GenericSchemaListQuery<S> | undefined, payload: AnnotationsSearchPayload) =>
|
|
20
|
+
export declare const search: <S extends SideloadOptions>(query: GenericSchemaListQuery<S> | undefined, payload: AnnotationsSearchPayload) => {
|
|
21
|
+
readonly endpoint: "/annotations/search";
|
|
22
|
+
readonly method: "POST";
|
|
23
|
+
readonly responseSchema: import("zod").ZodObject<{
|
|
24
|
+
results: import("zod").ZodArray<import("zod").ZodObject<{
|
|
25
|
+
document: import("zod").ZodString;
|
|
26
|
+
id: import("zod").ZodNumber;
|
|
27
|
+
queue: import("zod").ZodString;
|
|
28
|
+
schema: import("zod").ZodString;
|
|
29
|
+
relations: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
30
|
+
pages: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
31
|
+
creator: import("zod").ZodNullable<import("zod").ZodString>;
|
|
32
|
+
modifier: import("zod").ZodNullable<import("zod").ZodString>;
|
|
33
|
+
createdAt: import("zod").ZodString;
|
|
34
|
+
modifiedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
35
|
+
confirmedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
36
|
+
exportedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
37
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
38
|
+
rejectedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
39
|
+
confirmedBy: import("zod").ZodNullable<import("zod").ZodString>;
|
|
40
|
+
deletedBy: import("zod").ZodNullable<import("zod").ZodString>;
|
|
41
|
+
exportedBy: import("zod").ZodNullable<import("zod").ZodString>;
|
|
42
|
+
rejectedBy: import("zod").ZodNullable<import("zod").ZodString>;
|
|
43
|
+
assignedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
44
|
+
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">]>;
|
|
45
|
+
rirPollId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
46
|
+
messages: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
|
47
|
+
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"error">, import("zod").ZodLiteral<"warning">, import("zod").ZodLiteral<"info">]>;
|
|
48
|
+
content: import("zod").ZodString;
|
|
49
|
+
id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"all">, import("zod").ZodNumber]>>>;
|
|
50
|
+
detail: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
51
|
+
hookId: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
52
|
+
hookName: import("zod").ZodString;
|
|
53
|
+
requestId: import("zod").ZodString;
|
|
54
|
+
isException: import("zod").ZodBoolean;
|
|
55
|
+
timestamp: import("zod").ZodOptional<import("zod").ZodString>;
|
|
56
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
57
|
+
hookId: number | null;
|
|
58
|
+
hookName: string;
|
|
59
|
+
requestId: string;
|
|
60
|
+
isException: boolean;
|
|
61
|
+
timestamp?: string | undefined;
|
|
62
|
+
}, {
|
|
63
|
+
hookId: number | null;
|
|
64
|
+
hookName: string;
|
|
65
|
+
requestId: string;
|
|
66
|
+
isException: boolean;
|
|
67
|
+
timestamp?: string | undefined;
|
|
68
|
+
}>>>;
|
|
69
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
70
|
+
type: "error" | "warning" | "info";
|
|
71
|
+
content: string;
|
|
72
|
+
id?: number | "all" | null | undefined;
|
|
73
|
+
detail?: {
|
|
74
|
+
hookId: number | null;
|
|
75
|
+
hookName: string;
|
|
76
|
+
requestId: string;
|
|
77
|
+
isException: boolean;
|
|
78
|
+
timestamp?: string | undefined;
|
|
79
|
+
} | null | undefined;
|
|
80
|
+
}, {
|
|
81
|
+
type: "error" | "warning" | "info";
|
|
82
|
+
content: string;
|
|
83
|
+
id?: number | "all" | null | undefined;
|
|
84
|
+
detail?: {
|
|
85
|
+
hookId: number | null;
|
|
86
|
+
hookName: string;
|
|
87
|
+
requestId: string;
|
|
88
|
+
isException: boolean;
|
|
89
|
+
timestamp?: string | undefined;
|
|
90
|
+
} | null | undefined;
|
|
91
|
+
}>, "many">>;
|
|
92
|
+
url: import("zod").ZodString;
|
|
93
|
+
content: import("zod").ZodString;
|
|
94
|
+
timeSpent: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
95
|
+
metadata: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
96
|
+
automated: import("zod").ZodBoolean;
|
|
97
|
+
suggestedEdit: import("zod").ZodNullable<import("zod").ZodString>;
|
|
98
|
+
relatedEmails: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
99
|
+
email: import("zod").ZodNullable<import("zod").ZodString>;
|
|
100
|
+
automationBlocker: import("zod").ZodNullable<import("zod").ZodString>;
|
|
101
|
+
emailThread: import("zod").ZodNullable<import("zod").ZodString>;
|
|
102
|
+
organization: import("zod").ZodString;
|
|
103
|
+
automaticallyRejected: import("zod").ZodBoolean;
|
|
104
|
+
prediction: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
105
|
+
source: import("zod").ZodNullable<import("zod").ZodString>;
|
|
106
|
+
version: import("zod").ZodNullable<import("zod").ZodString>;
|
|
107
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
108
|
+
source: string | null;
|
|
109
|
+
version: string | null;
|
|
110
|
+
}, {
|
|
111
|
+
source: string | null;
|
|
112
|
+
version: string | null;
|
|
113
|
+
}>>;
|
|
114
|
+
hasEmailThreadWithReplies: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
115
|
+
hasEmailThreadWithNewReplies: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
116
|
+
assignees: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
117
|
+
labels: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
118
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
119
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
120
|
+
document: string;
|
|
121
|
+
assignees: string[];
|
|
122
|
+
url: string;
|
|
123
|
+
queue: string;
|
|
124
|
+
id: number;
|
|
125
|
+
content: string;
|
|
126
|
+
schema: string;
|
|
127
|
+
relations: string[];
|
|
128
|
+
pages: string[];
|
|
129
|
+
creator: string | null;
|
|
130
|
+
modifier: string | null;
|
|
131
|
+
createdAt: string;
|
|
132
|
+
modifiedAt: string | null;
|
|
133
|
+
confirmedAt: string | null;
|
|
134
|
+
exportedAt: string | null;
|
|
135
|
+
deletedAt: string | null;
|
|
136
|
+
rejectedAt: string | null;
|
|
137
|
+
confirmedBy: string | null;
|
|
138
|
+
deletedBy: string | null;
|
|
139
|
+
exportedBy: string | null;
|
|
140
|
+
rejectedBy: string | null;
|
|
141
|
+
assignedAt: string | null;
|
|
142
|
+
rirPollId: string | null;
|
|
143
|
+
messages: {
|
|
144
|
+
type: "error" | "warning" | "info";
|
|
145
|
+
content: string;
|
|
146
|
+
id?: number | "all" | null | undefined;
|
|
147
|
+
detail?: {
|
|
148
|
+
hookId: number | null;
|
|
149
|
+
hookName: string;
|
|
150
|
+
requestId: string;
|
|
151
|
+
isException: boolean;
|
|
152
|
+
timestamp?: string | undefined;
|
|
153
|
+
} | null | undefined;
|
|
154
|
+
}[] | null;
|
|
155
|
+
timeSpent: number | null;
|
|
156
|
+
metadata: Record<string, unknown>;
|
|
157
|
+
automated: boolean;
|
|
158
|
+
suggestedEdit: string | null;
|
|
159
|
+
relatedEmails: string[];
|
|
160
|
+
email: string | null;
|
|
161
|
+
automationBlocker: string | null;
|
|
162
|
+
emailThread: string | null;
|
|
163
|
+
organization: string;
|
|
164
|
+
automaticallyRejected: boolean;
|
|
165
|
+
prediction: {
|
|
166
|
+
source: string | null;
|
|
167
|
+
version: string | null;
|
|
168
|
+
} | null;
|
|
169
|
+
labels: string[];
|
|
170
|
+
hasEmailThreadWithReplies?: boolean | undefined;
|
|
171
|
+
hasEmailThreadWithNewReplies?: boolean | undefined;
|
|
172
|
+
}, {
|
|
173
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
174
|
+
document: string;
|
|
175
|
+
assignees: string[];
|
|
176
|
+
url: string;
|
|
177
|
+
queue: string;
|
|
178
|
+
id: number;
|
|
179
|
+
content: string;
|
|
180
|
+
schema: string;
|
|
181
|
+
relations: string[];
|
|
182
|
+
pages: string[];
|
|
183
|
+
creator: string | null;
|
|
184
|
+
modifier: string | null;
|
|
185
|
+
createdAt: string;
|
|
186
|
+
modifiedAt: string | null;
|
|
187
|
+
confirmedAt: string | null;
|
|
188
|
+
exportedAt: string | null;
|
|
189
|
+
deletedAt: string | null;
|
|
190
|
+
rejectedAt: string | null;
|
|
191
|
+
confirmedBy: string | null;
|
|
192
|
+
deletedBy: string | null;
|
|
193
|
+
exportedBy: string | null;
|
|
194
|
+
rejectedBy: string | null;
|
|
195
|
+
assignedAt: string | null;
|
|
196
|
+
rirPollId: string | null;
|
|
197
|
+
messages: {
|
|
198
|
+
type: "error" | "warning" | "info";
|
|
199
|
+
content: string;
|
|
200
|
+
id?: number | "all" | null | undefined;
|
|
201
|
+
detail?: {
|
|
202
|
+
hookId: number | null;
|
|
203
|
+
hookName: string;
|
|
204
|
+
requestId: string;
|
|
205
|
+
isException: boolean;
|
|
206
|
+
timestamp?: string | undefined;
|
|
207
|
+
} | null | undefined;
|
|
208
|
+
}[] | null;
|
|
209
|
+
timeSpent: number | null;
|
|
210
|
+
metadata: Record<string, unknown>;
|
|
211
|
+
automated: boolean;
|
|
212
|
+
suggestedEdit: string | null;
|
|
213
|
+
relatedEmails: string[];
|
|
214
|
+
email: string | null;
|
|
215
|
+
automationBlocker: string | null;
|
|
216
|
+
emailThread: string | null;
|
|
217
|
+
organization: string;
|
|
218
|
+
automaticallyRejected: boolean;
|
|
219
|
+
prediction: {
|
|
220
|
+
source: string | null;
|
|
221
|
+
version: string | null;
|
|
222
|
+
} | null;
|
|
223
|
+
labels: string[];
|
|
224
|
+
hasEmailThreadWithReplies?: boolean | undefined;
|
|
225
|
+
hasEmailThreadWithNewReplies?: boolean | undefined;
|
|
226
|
+
}>, "many">;
|
|
227
|
+
pagination: import("zod").ZodObject<{
|
|
228
|
+
next: import("zod").ZodNullable<import("zod").ZodString>;
|
|
229
|
+
previous: import("zod").ZodNullable<import("zod").ZodString>;
|
|
230
|
+
total: import("zod").ZodNumber;
|
|
231
|
+
totalPages: import("zod").ZodNumber;
|
|
232
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
233
|
+
next: string | null;
|
|
234
|
+
previous: string | null;
|
|
235
|
+
total: number;
|
|
236
|
+
totalPages: number;
|
|
237
|
+
}, {
|
|
238
|
+
next: string | null;
|
|
239
|
+
previous: string | null;
|
|
240
|
+
total: number;
|
|
241
|
+
totalPages: number;
|
|
242
|
+
}>;
|
|
243
|
+
assignees: import("zod").ZodArray<import("zod").ZodObject<{
|
|
244
|
+
id: import("zod").ZodNumber;
|
|
245
|
+
url: import("zod").ZodString;
|
|
246
|
+
firstName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
247
|
+
lastName: import("zod").ZodString;
|
|
248
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
249
|
+
emailVerified: import("zod").ZodBoolean;
|
|
250
|
+
dateJoined: import("zod").ZodString;
|
|
251
|
+
username: import("zod").ZodString;
|
|
252
|
+
groups: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
253
|
+
organization: import("zod").ZodString;
|
|
254
|
+
queues: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
255
|
+
isActive: import("zod").ZodBoolean;
|
|
256
|
+
lastLogin: import("zod").ZodNullable<import("zod").ZodString>;
|
|
257
|
+
uiSettings: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
258
|
+
metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
259
|
+
oidcId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
260
|
+
authType: import("zod").ZodUnion<[import("zod").ZodLiteral<"password">, import("zod").ZodLiteral<"sso">]>;
|
|
261
|
+
deleted: import("zod").ZodBoolean;
|
|
262
|
+
phoneNumber: import("zod").ZodNullable<import("zod").ZodString>;
|
|
263
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
264
|
+
deleted: boolean;
|
|
265
|
+
url: string;
|
|
266
|
+
id: number;
|
|
267
|
+
organization: string;
|
|
268
|
+
lastName: string;
|
|
269
|
+
emailVerified: boolean;
|
|
270
|
+
dateJoined: string;
|
|
271
|
+
username: string;
|
|
272
|
+
groups: string[];
|
|
273
|
+
queues: string[];
|
|
274
|
+
isActive: boolean;
|
|
275
|
+
lastLogin: string | null;
|
|
276
|
+
authType: "password" | "sso";
|
|
277
|
+
phoneNumber: string | null;
|
|
278
|
+
firstName?: string | undefined;
|
|
279
|
+
email?: string | undefined;
|
|
280
|
+
uiSettings?: unknown;
|
|
281
|
+
metadata?: unknown;
|
|
282
|
+
oidcId?: string | null | undefined;
|
|
283
|
+
}, {
|
|
284
|
+
deleted: boolean;
|
|
285
|
+
url: string;
|
|
286
|
+
id: number;
|
|
287
|
+
organization: string;
|
|
288
|
+
lastName: string;
|
|
289
|
+
emailVerified: boolean;
|
|
290
|
+
dateJoined: string;
|
|
291
|
+
username: string;
|
|
292
|
+
groups: string[];
|
|
293
|
+
queues: string[];
|
|
294
|
+
isActive: boolean;
|
|
295
|
+
lastLogin: string | null;
|
|
296
|
+
authType: "password" | "sso";
|
|
297
|
+
phoneNumber: string | null;
|
|
298
|
+
firstName?: string | undefined;
|
|
299
|
+
email?: string | undefined;
|
|
300
|
+
uiSettings?: unknown;
|
|
301
|
+
metadata?: unknown;
|
|
302
|
+
oidcId?: string | null | undefined;
|
|
303
|
+
}>, "many">;
|
|
304
|
+
content: import("zod").ZodArray<import("zod").ZodObject<{
|
|
305
|
+
id: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
306
|
+
url: import("zod").ZodNullable<import("zod").ZodString>;
|
|
307
|
+
content: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
308
|
+
value: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
309
|
+
normalizedValue: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
310
|
+
page: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
311
|
+
position: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodNumber, "many">>>;
|
|
312
|
+
rirText: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
313
|
+
rirRawText: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
314
|
+
ocrText: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
315
|
+
ocrRawText: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
316
|
+
rirPage: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
317
|
+
rirPosition: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodNumber, "many">>>;
|
|
318
|
+
ocrPosition: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodNumber, "many">>>;
|
|
319
|
+
rirConfidence: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
320
|
+
connectorPosition: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodNumber, "many">>>;
|
|
321
|
+
connectorText: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
322
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
323
|
+
value?: string | null | undefined;
|
|
324
|
+
normalizedValue?: string | null | undefined;
|
|
325
|
+
page?: number | null | undefined;
|
|
326
|
+
position?: number[] | null | undefined;
|
|
327
|
+
rirText?: string | null | undefined;
|
|
328
|
+
rirRawText?: string | null | undefined;
|
|
329
|
+
ocrText?: string | null | undefined;
|
|
330
|
+
ocrRawText?: string | null | undefined;
|
|
331
|
+
rirPage?: number | null | undefined;
|
|
332
|
+
rirPosition?: number[] | null | undefined;
|
|
333
|
+
ocrPosition?: number[] | null | undefined;
|
|
334
|
+
rirConfidence?: number | null | undefined;
|
|
335
|
+
connectorPosition?: number[] | null | undefined;
|
|
336
|
+
connectorText?: string | null | undefined;
|
|
337
|
+
}, {
|
|
338
|
+
value?: string | null | undefined;
|
|
339
|
+
normalizedValue?: string | null | undefined;
|
|
340
|
+
page?: number | null | undefined;
|
|
341
|
+
position?: number[] | null | undefined;
|
|
342
|
+
rirText?: string | null | undefined;
|
|
343
|
+
rirRawText?: string | null | undefined;
|
|
344
|
+
ocrText?: string | null | undefined;
|
|
345
|
+
ocrRawText?: string | null | undefined;
|
|
346
|
+
rirPage?: number | null | undefined;
|
|
347
|
+
rirPosition?: number[] | null | undefined;
|
|
348
|
+
ocrPosition?: number[] | null | undefined;
|
|
349
|
+
rirConfidence?: number | null | undefined;
|
|
350
|
+
connectorPosition?: number[] | null | undefined;
|
|
351
|
+
connectorText?: string | null | undefined;
|
|
352
|
+
}>>>;
|
|
353
|
+
category: import("zod").ZodNullable<import("zod").ZodLiteral<"datapoint">>;
|
|
354
|
+
schemaId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
355
|
+
validationSources: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>>;
|
|
356
|
+
timeSpent: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
357
|
+
timeSpentOverall: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
358
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
359
|
+
url: string | null;
|
|
360
|
+
id: number | null;
|
|
361
|
+
schemaId: string | null;
|
|
362
|
+
category: "datapoint" | null;
|
|
363
|
+
content?: {
|
|
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;
|
|
370
|
+
ocrText?: string | null | undefined;
|
|
371
|
+
ocrRawText?: string | null | undefined;
|
|
372
|
+
rirPage?: number | null | undefined;
|
|
373
|
+
rirPosition?: number[] | null | undefined;
|
|
374
|
+
ocrPosition?: number[] | null | undefined;
|
|
375
|
+
rirConfidence?: number | null | undefined;
|
|
376
|
+
connectorPosition?: number[] | null | undefined;
|
|
377
|
+
connectorText?: string | null | undefined;
|
|
378
|
+
} | null | undefined;
|
|
379
|
+
validationSources?: string[] | null | undefined;
|
|
380
|
+
timeSpent?: number | null | undefined;
|
|
381
|
+
timeSpentOverall?: number | null | undefined;
|
|
382
|
+
}, {
|
|
383
|
+
url: string | null;
|
|
384
|
+
id: number | null;
|
|
385
|
+
schemaId: string | null;
|
|
386
|
+
category: "datapoint" | null;
|
|
387
|
+
content?: {
|
|
388
|
+
value?: string | null | undefined;
|
|
389
|
+
normalizedValue?: string | null | undefined;
|
|
390
|
+
page?: number | null | undefined;
|
|
391
|
+
position?: number[] | null | undefined;
|
|
392
|
+
rirText?: string | null | undefined;
|
|
393
|
+
rirRawText?: string | null | undefined;
|
|
394
|
+
ocrText?: string | null | undefined;
|
|
395
|
+
ocrRawText?: string | null | undefined;
|
|
396
|
+
rirPage?: number | null | undefined;
|
|
397
|
+
rirPosition?: number[] | null | undefined;
|
|
398
|
+
ocrPosition?: number[] | null | undefined;
|
|
399
|
+
rirConfidence?: number | null | undefined;
|
|
400
|
+
connectorPosition?: number[] | null | undefined;
|
|
401
|
+
connectorText?: string | null | undefined;
|
|
402
|
+
} | null | undefined;
|
|
403
|
+
validationSources?: string[] | null | undefined;
|
|
404
|
+
timeSpent?: number | null | undefined;
|
|
405
|
+
timeSpentOverall?: number | null | undefined;
|
|
406
|
+
}>, "many">;
|
|
407
|
+
relations: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
408
|
+
url: import("zod").ZodString;
|
|
409
|
+
id: import("zod").ZodNumber;
|
|
410
|
+
key: import("zod").ZodNullable<import("zod").ZodString>;
|
|
411
|
+
annotations: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
412
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
413
|
+
annotations: string[];
|
|
414
|
+
url: string;
|
|
415
|
+
id: number;
|
|
416
|
+
key: string | null;
|
|
417
|
+
}, {
|
|
418
|
+
annotations: string[];
|
|
419
|
+
url: string;
|
|
420
|
+
id: number;
|
|
421
|
+
key: string | null;
|
|
422
|
+
}>, import("zod").ZodObject<{
|
|
423
|
+
type: import("zod").ZodLiteral<"edit">;
|
|
424
|
+
parent: import("zod").ZodString;
|
|
425
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
426
|
+
type: "edit";
|
|
427
|
+
parent: string;
|
|
428
|
+
}, {
|
|
429
|
+
type: "edit";
|
|
430
|
+
parent: string;
|
|
431
|
+
}>>, import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
432
|
+
url: import("zod").ZodString;
|
|
433
|
+
id: import("zod").ZodNumber;
|
|
434
|
+
key: import("zod").ZodNullable<import("zod").ZodString>;
|
|
435
|
+
annotations: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
436
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
437
|
+
annotations: string[];
|
|
438
|
+
url: string;
|
|
439
|
+
id: number;
|
|
440
|
+
key: string | null;
|
|
441
|
+
}, {
|
|
442
|
+
annotations: string[];
|
|
443
|
+
url: string;
|
|
444
|
+
id: number;
|
|
445
|
+
key: string | null;
|
|
446
|
+
}>, import("zod").ZodObject<{
|
|
447
|
+
type: import("zod").ZodLiteral<"duplicate">;
|
|
448
|
+
parent: import("zod").ZodNullable<import("zod").ZodString>;
|
|
449
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
450
|
+
type: "duplicate";
|
|
451
|
+
parent: string | null;
|
|
452
|
+
}, {
|
|
453
|
+
type: "duplicate";
|
|
454
|
+
parent: string | null;
|
|
455
|
+
}>>, import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
456
|
+
url: import("zod").ZodString;
|
|
457
|
+
id: import("zod").ZodNumber;
|
|
458
|
+
key: import("zod").ZodNullable<import("zod").ZodString>;
|
|
459
|
+
annotations: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
460
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
461
|
+
annotations: string[];
|
|
462
|
+
url: string;
|
|
463
|
+
id: number;
|
|
464
|
+
key: string | null;
|
|
465
|
+
}, {
|
|
466
|
+
annotations: string[];
|
|
467
|
+
url: string;
|
|
468
|
+
id: number;
|
|
469
|
+
key: string | null;
|
|
470
|
+
}>, import("zod").ZodObject<{
|
|
471
|
+
type: import("zod").ZodLiteral<"attachment">;
|
|
472
|
+
parent: import("zod").ZodString;
|
|
473
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
474
|
+
type: "attachment";
|
|
475
|
+
parent: string;
|
|
476
|
+
}, {
|
|
477
|
+
type: "attachment";
|
|
478
|
+
parent: string;
|
|
479
|
+
}>>]>, "many">;
|
|
480
|
+
labels: import("zod").ZodArray<import("zod").ZodObject<{
|
|
481
|
+
id: import("zod").ZodNumber;
|
|
482
|
+
url: import("zod").ZodString;
|
|
483
|
+
name: import("zod").ZodString;
|
|
484
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
485
|
+
url: string;
|
|
486
|
+
id: number;
|
|
487
|
+
name: string;
|
|
488
|
+
}, {
|
|
489
|
+
url: string;
|
|
490
|
+
id: number;
|
|
491
|
+
name: string;
|
|
492
|
+
}>, "many">;
|
|
493
|
+
documents: import("zod").ZodArray<import("zod").ZodObject<{
|
|
494
|
+
id: import("zod").ZodNumber;
|
|
495
|
+
url: import("zod").ZodString;
|
|
496
|
+
s3Name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
497
|
+
parent: import("zod").ZodNullable<import("zod").ZodString>;
|
|
498
|
+
email: import("zod").ZodNullable<import("zod").ZodString>;
|
|
499
|
+
mimeType: import("zod").ZodString;
|
|
500
|
+
creator: import("zod").ZodNullable<import("zod").ZodString>;
|
|
501
|
+
createdAt: import("zod").ZodString;
|
|
502
|
+
arrivedAt: import("zod").ZodString;
|
|
503
|
+
originalFileName: import("zod").ZodNullable<import("zod").ZodString>;
|
|
504
|
+
content: import("zod").ZodNullable<import("zod").ZodString>;
|
|
505
|
+
attachmentStatus: import("zod").ZodNullable<import("zod").ZodString>;
|
|
506
|
+
metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
507
|
+
annotations: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
508
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
509
|
+
annotations: string[];
|
|
510
|
+
url: string;
|
|
511
|
+
originalFileName: string | null;
|
|
512
|
+
id: number;
|
|
513
|
+
content: string | null;
|
|
514
|
+
creator: string | null;
|
|
515
|
+
createdAt: string;
|
|
516
|
+
email: string | null;
|
|
517
|
+
s3Name: string | null;
|
|
518
|
+
parent: string | null;
|
|
519
|
+
mimeType: string;
|
|
520
|
+
arrivedAt: string;
|
|
521
|
+
attachmentStatus: string | null;
|
|
522
|
+
metadata?: unknown;
|
|
523
|
+
}, {
|
|
524
|
+
annotations: string[];
|
|
525
|
+
url: string;
|
|
526
|
+
originalFileName: string | null;
|
|
527
|
+
id: number;
|
|
528
|
+
content: string | null;
|
|
529
|
+
creator: string | null;
|
|
530
|
+
createdAt: string;
|
|
531
|
+
email: string | null;
|
|
532
|
+
s3Name: string | null;
|
|
533
|
+
parent: string | null;
|
|
534
|
+
mimeType: string;
|
|
535
|
+
arrivedAt: string;
|
|
536
|
+
attachmentStatus: string | null;
|
|
537
|
+
metadata?: unknown;
|
|
538
|
+
}>, "many">;
|
|
539
|
+
modifiers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
540
|
+
id: import("zod").ZodNumber;
|
|
541
|
+
url: import("zod").ZodString;
|
|
542
|
+
firstName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
543
|
+
lastName: import("zod").ZodString;
|
|
544
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
545
|
+
emailVerified: import("zod").ZodBoolean;
|
|
546
|
+
dateJoined: import("zod").ZodString;
|
|
547
|
+
username: import("zod").ZodString;
|
|
548
|
+
groups: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
549
|
+
organization: import("zod").ZodString;
|
|
550
|
+
queues: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
551
|
+
isActive: import("zod").ZodBoolean;
|
|
552
|
+
lastLogin: import("zod").ZodNullable<import("zod").ZodString>;
|
|
553
|
+
uiSettings: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
554
|
+
metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
555
|
+
oidcId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
556
|
+
authType: import("zod").ZodUnion<[import("zod").ZodLiteral<"password">, import("zod").ZodLiteral<"sso">]>;
|
|
557
|
+
deleted: import("zod").ZodBoolean;
|
|
558
|
+
phoneNumber: import("zod").ZodNullable<import("zod").ZodString>;
|
|
559
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
560
|
+
deleted: boolean;
|
|
561
|
+
url: string;
|
|
562
|
+
id: number;
|
|
563
|
+
organization: string;
|
|
564
|
+
lastName: string;
|
|
565
|
+
emailVerified: boolean;
|
|
566
|
+
dateJoined: string;
|
|
567
|
+
username: string;
|
|
568
|
+
groups: string[];
|
|
569
|
+
queues: string[];
|
|
570
|
+
isActive: boolean;
|
|
571
|
+
lastLogin: string | null;
|
|
572
|
+
authType: "password" | "sso";
|
|
573
|
+
phoneNumber: string | null;
|
|
574
|
+
firstName?: string | undefined;
|
|
575
|
+
email?: string | undefined;
|
|
576
|
+
uiSettings?: unknown;
|
|
577
|
+
metadata?: unknown;
|
|
578
|
+
oidcId?: string | null | undefined;
|
|
579
|
+
}, {
|
|
580
|
+
deleted: boolean;
|
|
581
|
+
url: string;
|
|
582
|
+
id: number;
|
|
583
|
+
organization: string;
|
|
584
|
+
lastName: string;
|
|
585
|
+
emailVerified: boolean;
|
|
586
|
+
dateJoined: string;
|
|
587
|
+
username: string;
|
|
588
|
+
groups: string[];
|
|
589
|
+
queues: string[];
|
|
590
|
+
isActive: boolean;
|
|
591
|
+
lastLogin: string | null;
|
|
592
|
+
authType: "password" | "sso";
|
|
593
|
+
phoneNumber: string | null;
|
|
594
|
+
firstName?: string | undefined;
|
|
595
|
+
email?: string | undefined;
|
|
596
|
+
uiSettings?: unknown;
|
|
597
|
+
metadata?: unknown;
|
|
598
|
+
oidcId?: string | null | undefined;
|
|
599
|
+
}>, "many">;
|
|
600
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
601
|
+
assignees: {
|
|
602
|
+
deleted: boolean;
|
|
603
|
+
url: string;
|
|
604
|
+
id: number;
|
|
605
|
+
organization: string;
|
|
606
|
+
lastName: string;
|
|
607
|
+
emailVerified: boolean;
|
|
608
|
+
dateJoined: string;
|
|
609
|
+
username: string;
|
|
610
|
+
groups: string[];
|
|
611
|
+
queues: string[];
|
|
612
|
+
isActive: boolean;
|
|
613
|
+
lastLogin: string | null;
|
|
614
|
+
authType: "password" | "sso";
|
|
615
|
+
phoneNumber: string | null;
|
|
616
|
+
firstName?: string | undefined;
|
|
617
|
+
email?: string | undefined;
|
|
618
|
+
uiSettings?: unknown;
|
|
619
|
+
metadata?: unknown;
|
|
620
|
+
oidcId?: string | null | undefined;
|
|
621
|
+
}[];
|
|
622
|
+
results: {
|
|
623
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
624
|
+
document: string;
|
|
625
|
+
assignees: string[];
|
|
626
|
+
url: string;
|
|
627
|
+
queue: string;
|
|
628
|
+
id: number;
|
|
629
|
+
content: string;
|
|
630
|
+
schema: string;
|
|
631
|
+
relations: string[];
|
|
632
|
+
pages: string[];
|
|
633
|
+
creator: string | null;
|
|
634
|
+
modifier: string | null;
|
|
635
|
+
createdAt: string;
|
|
636
|
+
modifiedAt: string | null;
|
|
637
|
+
confirmedAt: string | null;
|
|
638
|
+
exportedAt: string | null;
|
|
639
|
+
deletedAt: string | null;
|
|
640
|
+
rejectedAt: string | null;
|
|
641
|
+
confirmedBy: string | null;
|
|
642
|
+
deletedBy: string | null;
|
|
643
|
+
exportedBy: string | null;
|
|
644
|
+
rejectedBy: string | null;
|
|
645
|
+
assignedAt: string | null;
|
|
646
|
+
rirPollId: string | null;
|
|
647
|
+
messages: {
|
|
648
|
+
type: "error" | "warning" | "info";
|
|
649
|
+
content: string;
|
|
650
|
+
id?: number | "all" | null | undefined;
|
|
651
|
+
detail?: {
|
|
652
|
+
hookId: number | null;
|
|
653
|
+
hookName: string;
|
|
654
|
+
requestId: string;
|
|
655
|
+
isException: boolean;
|
|
656
|
+
timestamp?: string | undefined;
|
|
657
|
+
} | null | undefined;
|
|
658
|
+
}[] | null;
|
|
659
|
+
timeSpent: number | null;
|
|
660
|
+
metadata: Record<string, unknown>;
|
|
661
|
+
automated: boolean;
|
|
662
|
+
suggestedEdit: string | null;
|
|
663
|
+
relatedEmails: string[];
|
|
664
|
+
email: string | null;
|
|
665
|
+
automationBlocker: string | null;
|
|
666
|
+
emailThread: string | null;
|
|
667
|
+
organization: string;
|
|
668
|
+
automaticallyRejected: boolean;
|
|
669
|
+
prediction: {
|
|
670
|
+
source: string | null;
|
|
671
|
+
version: string | null;
|
|
672
|
+
} | null;
|
|
673
|
+
labels: string[];
|
|
674
|
+
hasEmailThreadWithReplies?: boolean | undefined;
|
|
675
|
+
hasEmailThreadWithNewReplies?: boolean | undefined;
|
|
676
|
+
}[];
|
|
677
|
+
content: {
|
|
678
|
+
url: string | null;
|
|
679
|
+
id: number | null;
|
|
680
|
+
schemaId: string | null;
|
|
681
|
+
category: "datapoint" | null;
|
|
682
|
+
content?: {
|
|
683
|
+
value?: string | null | undefined;
|
|
684
|
+
normalizedValue?: string | null | undefined;
|
|
685
|
+
page?: number | null | undefined;
|
|
686
|
+
position?: number[] | null | undefined;
|
|
687
|
+
rirText?: string | null | undefined;
|
|
688
|
+
rirRawText?: string | null | undefined;
|
|
689
|
+
ocrText?: string | null | undefined;
|
|
690
|
+
ocrRawText?: string | null | undefined;
|
|
691
|
+
rirPage?: number | null | undefined;
|
|
692
|
+
rirPosition?: number[] | null | undefined;
|
|
693
|
+
ocrPosition?: number[] | null | undefined;
|
|
694
|
+
rirConfidence?: number | null | undefined;
|
|
695
|
+
connectorPosition?: number[] | null | undefined;
|
|
696
|
+
connectorText?: string | null | undefined;
|
|
697
|
+
} | null | undefined;
|
|
698
|
+
validationSources?: string[] | null | undefined;
|
|
699
|
+
timeSpent?: number | null | undefined;
|
|
700
|
+
timeSpentOverall?: number | null | undefined;
|
|
701
|
+
}[];
|
|
702
|
+
relations: (({
|
|
703
|
+
annotations: string[];
|
|
704
|
+
url: string;
|
|
705
|
+
id: number;
|
|
706
|
+
key: string | null;
|
|
707
|
+
} & {
|
|
708
|
+
type: "edit";
|
|
709
|
+
parent: string;
|
|
710
|
+
}) | ({
|
|
711
|
+
annotations: string[];
|
|
712
|
+
url: string;
|
|
713
|
+
id: number;
|
|
714
|
+
key: string | null;
|
|
715
|
+
} & {
|
|
716
|
+
type: "duplicate";
|
|
717
|
+
parent: string | null;
|
|
718
|
+
}) | ({
|
|
719
|
+
annotations: string[];
|
|
720
|
+
url: string;
|
|
721
|
+
id: number;
|
|
722
|
+
key: string | null;
|
|
723
|
+
} & {
|
|
724
|
+
type: "attachment";
|
|
725
|
+
parent: string;
|
|
726
|
+
}))[];
|
|
727
|
+
labels: {
|
|
728
|
+
url: string;
|
|
729
|
+
id: number;
|
|
730
|
+
name: string;
|
|
731
|
+
}[];
|
|
732
|
+
pagination: {
|
|
733
|
+
next: string | null;
|
|
734
|
+
previous: string | null;
|
|
735
|
+
total: number;
|
|
736
|
+
totalPages: number;
|
|
737
|
+
};
|
|
738
|
+
documents: {
|
|
739
|
+
annotations: string[];
|
|
740
|
+
url: string;
|
|
741
|
+
originalFileName: string | null;
|
|
742
|
+
id: number;
|
|
743
|
+
content: string | null;
|
|
744
|
+
creator: string | null;
|
|
745
|
+
createdAt: string;
|
|
746
|
+
email: string | null;
|
|
747
|
+
s3Name: string | null;
|
|
748
|
+
parent: string | null;
|
|
749
|
+
mimeType: string;
|
|
750
|
+
arrivedAt: string;
|
|
751
|
+
attachmentStatus: string | null;
|
|
752
|
+
metadata?: unknown;
|
|
753
|
+
}[];
|
|
754
|
+
modifiers: {
|
|
755
|
+
deleted: boolean;
|
|
756
|
+
url: string;
|
|
757
|
+
id: number;
|
|
758
|
+
organization: string;
|
|
759
|
+
lastName: string;
|
|
760
|
+
emailVerified: boolean;
|
|
761
|
+
dateJoined: string;
|
|
762
|
+
username: string;
|
|
763
|
+
groups: string[];
|
|
764
|
+
queues: string[];
|
|
765
|
+
isActive: boolean;
|
|
766
|
+
lastLogin: string | null;
|
|
767
|
+
authType: "password" | "sso";
|
|
768
|
+
phoneNumber: string | null;
|
|
769
|
+
firstName?: string | undefined;
|
|
770
|
+
email?: string | undefined;
|
|
771
|
+
uiSettings?: unknown;
|
|
772
|
+
metadata?: unknown;
|
|
773
|
+
oidcId?: string | null | undefined;
|
|
774
|
+
}[];
|
|
775
|
+
}, {
|
|
776
|
+
assignees: {
|
|
777
|
+
deleted: boolean;
|
|
778
|
+
url: string;
|
|
779
|
+
id: number;
|
|
780
|
+
organization: string;
|
|
781
|
+
lastName: string;
|
|
782
|
+
emailVerified: boolean;
|
|
783
|
+
dateJoined: string;
|
|
784
|
+
username: string;
|
|
785
|
+
groups: string[];
|
|
786
|
+
queues: string[];
|
|
787
|
+
isActive: boolean;
|
|
788
|
+
lastLogin: string | null;
|
|
789
|
+
authType: "password" | "sso";
|
|
790
|
+
phoneNumber: string | null;
|
|
791
|
+
firstName?: string | undefined;
|
|
792
|
+
email?: string | undefined;
|
|
793
|
+
uiSettings?: unknown;
|
|
794
|
+
metadata?: unknown;
|
|
795
|
+
oidcId?: string | null | undefined;
|
|
796
|
+
}[];
|
|
797
|
+
results: {
|
|
798
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
799
|
+
document: string;
|
|
800
|
+
assignees: string[];
|
|
801
|
+
url: string;
|
|
802
|
+
queue: string;
|
|
803
|
+
id: number;
|
|
804
|
+
content: string;
|
|
805
|
+
schema: string;
|
|
806
|
+
relations: string[];
|
|
807
|
+
pages: string[];
|
|
808
|
+
creator: string | null;
|
|
809
|
+
modifier: string | null;
|
|
810
|
+
createdAt: string;
|
|
811
|
+
modifiedAt: string | null;
|
|
812
|
+
confirmedAt: string | null;
|
|
813
|
+
exportedAt: string | null;
|
|
814
|
+
deletedAt: string | null;
|
|
815
|
+
rejectedAt: string | null;
|
|
816
|
+
confirmedBy: string | null;
|
|
817
|
+
deletedBy: string | null;
|
|
818
|
+
exportedBy: string | null;
|
|
819
|
+
rejectedBy: string | null;
|
|
820
|
+
assignedAt: string | null;
|
|
821
|
+
rirPollId: string | null;
|
|
822
|
+
messages: {
|
|
823
|
+
type: "error" | "warning" | "info";
|
|
824
|
+
content: string;
|
|
825
|
+
id?: number | "all" | null | undefined;
|
|
826
|
+
detail?: {
|
|
827
|
+
hookId: number | null;
|
|
828
|
+
hookName: string;
|
|
829
|
+
requestId: string;
|
|
830
|
+
isException: boolean;
|
|
831
|
+
timestamp?: string | undefined;
|
|
832
|
+
} | null | undefined;
|
|
833
|
+
}[] | null;
|
|
834
|
+
timeSpent: number | null;
|
|
835
|
+
metadata: Record<string, unknown>;
|
|
836
|
+
automated: boolean;
|
|
837
|
+
suggestedEdit: string | null;
|
|
838
|
+
relatedEmails: string[];
|
|
839
|
+
email: string | null;
|
|
840
|
+
automationBlocker: string | null;
|
|
841
|
+
emailThread: string | null;
|
|
842
|
+
organization: string;
|
|
843
|
+
automaticallyRejected: boolean;
|
|
844
|
+
prediction: {
|
|
845
|
+
source: string | null;
|
|
846
|
+
version: string | null;
|
|
847
|
+
} | null;
|
|
848
|
+
labels: string[];
|
|
849
|
+
hasEmailThreadWithReplies?: boolean | undefined;
|
|
850
|
+
hasEmailThreadWithNewReplies?: boolean | undefined;
|
|
851
|
+
}[];
|
|
852
|
+
content: {
|
|
853
|
+
url: string | null;
|
|
854
|
+
id: number | null;
|
|
855
|
+
schemaId: string | null;
|
|
856
|
+
category: "datapoint" | null;
|
|
857
|
+
content?: {
|
|
858
|
+
value?: string | null | undefined;
|
|
859
|
+
normalizedValue?: string | null | undefined;
|
|
860
|
+
page?: number | null | undefined;
|
|
861
|
+
position?: number[] | null | undefined;
|
|
862
|
+
rirText?: string | null | undefined;
|
|
863
|
+
rirRawText?: string | null | undefined;
|
|
864
|
+
ocrText?: string | null | undefined;
|
|
865
|
+
ocrRawText?: string | null | undefined;
|
|
866
|
+
rirPage?: number | null | undefined;
|
|
867
|
+
rirPosition?: number[] | null | undefined;
|
|
868
|
+
ocrPosition?: number[] | null | undefined;
|
|
869
|
+
rirConfidence?: number | null | undefined;
|
|
870
|
+
connectorPosition?: number[] | null | undefined;
|
|
871
|
+
connectorText?: string | null | undefined;
|
|
872
|
+
} | null | undefined;
|
|
873
|
+
validationSources?: string[] | null | undefined;
|
|
874
|
+
timeSpent?: number | null | undefined;
|
|
875
|
+
timeSpentOverall?: number | null | undefined;
|
|
876
|
+
}[];
|
|
877
|
+
relations: (({
|
|
878
|
+
annotations: string[];
|
|
879
|
+
url: string;
|
|
880
|
+
id: number;
|
|
881
|
+
key: string | null;
|
|
882
|
+
} & {
|
|
883
|
+
type: "edit";
|
|
884
|
+
parent: string;
|
|
885
|
+
}) | ({
|
|
886
|
+
annotations: string[];
|
|
887
|
+
url: string;
|
|
888
|
+
id: number;
|
|
889
|
+
key: string | null;
|
|
890
|
+
} & {
|
|
891
|
+
type: "duplicate";
|
|
892
|
+
parent: string | null;
|
|
893
|
+
}) | ({
|
|
894
|
+
annotations: string[];
|
|
895
|
+
url: string;
|
|
896
|
+
id: number;
|
|
897
|
+
key: string | null;
|
|
898
|
+
} & {
|
|
899
|
+
type: "attachment";
|
|
900
|
+
parent: string;
|
|
901
|
+
}))[];
|
|
902
|
+
labels: {
|
|
903
|
+
url: string;
|
|
904
|
+
id: number;
|
|
905
|
+
name: string;
|
|
906
|
+
}[];
|
|
907
|
+
pagination: {
|
|
908
|
+
next: string | null;
|
|
909
|
+
previous: string | null;
|
|
910
|
+
total: number;
|
|
911
|
+
totalPages: number;
|
|
912
|
+
};
|
|
913
|
+
documents: {
|
|
914
|
+
annotations: string[];
|
|
915
|
+
url: string;
|
|
916
|
+
originalFileName: string | null;
|
|
917
|
+
id: number;
|
|
918
|
+
content: string | null;
|
|
919
|
+
creator: string | null;
|
|
920
|
+
createdAt: string;
|
|
921
|
+
email: string | null;
|
|
922
|
+
s3Name: string | null;
|
|
923
|
+
parent: string | null;
|
|
924
|
+
mimeType: string;
|
|
925
|
+
arrivedAt: string;
|
|
926
|
+
attachmentStatus: string | null;
|
|
927
|
+
metadata?: unknown;
|
|
928
|
+
}[];
|
|
929
|
+
modifiers: {
|
|
930
|
+
deleted: boolean;
|
|
931
|
+
url: string;
|
|
932
|
+
id: number;
|
|
933
|
+
organization: string;
|
|
934
|
+
lastName: string;
|
|
935
|
+
emailVerified: boolean;
|
|
936
|
+
dateJoined: string;
|
|
937
|
+
username: string;
|
|
938
|
+
groups: string[];
|
|
939
|
+
queues: string[];
|
|
940
|
+
isActive: boolean;
|
|
941
|
+
lastLogin: string | null;
|
|
942
|
+
authType: "password" | "sso";
|
|
943
|
+
phoneNumber: string | null;
|
|
944
|
+
firstName?: string | undefined;
|
|
945
|
+
email?: string | undefined;
|
|
946
|
+
uiSettings?: unknown;
|
|
947
|
+
metadata?: unknown;
|
|
948
|
+
oidcId?: string | null | undefined;
|
|
949
|
+
}[];
|
|
950
|
+
}>;
|
|
951
|
+
readonly query: GenericSchemaListQuery<S>;
|
|
952
|
+
readonly querySchema: ZodType<GenericSchemaListQuery<S>, import("zod").ZodTypeDef, GenericSchemaListQuery<S>>;
|
|
953
|
+
readonly payload: AnnotationsSearchPayload;
|
|
954
|
+
readonly payloadSchema: import("zod").ZodObject<{
|
|
955
|
+
query: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
956
|
+
queryString: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
957
|
+
string: import("zod").ZodString;
|
|
958
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
959
|
+
string: string;
|
|
960
|
+
}, {
|
|
961
|
+
string: string;
|
|
962
|
+
}>>;
|
|
963
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
964
|
+
query: Record<string, unknown>;
|
|
965
|
+
queryString?: {
|
|
966
|
+
string: string;
|
|
967
|
+
} | undefined;
|
|
968
|
+
}, {
|
|
969
|
+
query: Record<string, unknown>;
|
|
970
|
+
queryString?: {
|
|
971
|
+
string: string;
|
|
972
|
+
} | undefined;
|
|
973
|
+
}>;
|
|
974
|
+
};
|
|
21
975
|
export {};
|