@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
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
type DateField = 'created_at' | 'modified_at' | 'exported_at' | 'confirmed_at' | 'rejected_at' | 'deleted_at' | 'assigned_at';
|
|
2
|
+
type UserField = 'exported_by' | 'confirmed_by' | 'rejected_by' | 'deleted_by' | 'modifier' | 'assignees';
|
|
3
|
+
export type MetaField = 'original_file_name' | 'queue' | 'status' | 'labels' | 'details' | DateField | UserField;
|
|
4
|
+
export type SchemaColumn = {
|
|
5
|
+
schemaId: string;
|
|
6
|
+
dataType: 'number' | 'string' | 'date' | 'boolean';
|
|
7
|
+
columnType: 'schema';
|
|
8
|
+
visible: boolean;
|
|
9
|
+
width: number;
|
|
10
|
+
};
|
|
11
|
+
export type MetaColumn = {
|
|
12
|
+
metaName: MetaField;
|
|
13
|
+
columnType: 'meta';
|
|
14
|
+
visible: boolean;
|
|
15
|
+
width: number;
|
|
16
|
+
};
|
|
17
|
+
export type ColumnsWidth = Record<string, number>;
|
|
18
|
+
export type UserTableConfig = {
|
|
19
|
+
organization?: {
|
|
20
|
+
width: ColumnsWidth;
|
|
21
|
+
};
|
|
22
|
+
queues?: {
|
|
23
|
+
width: Record<string, ColumnsWidth>;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export type AnnotationListColumn = MetaColumn | SchemaColumn;
|
|
27
|
+
export type AnnotationListColumns = Array<AnnotationListColumn>;
|
|
28
|
+
export type AnnotationListTable = {
|
|
29
|
+
columns: AnnotationListColumns;
|
|
30
|
+
};
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const metaFieldSchema: z.ZodUnion<[z.ZodLiteral<"original_file_name">, z.ZodLiteral<"queue">, z.ZodLiteral<"status">, z.ZodLiteral<"labels">, z.ZodLiteral<"details">, z.ZodUnion<[z.ZodLiteral<"created_at">, z.ZodLiteral<"modified_at">, z.ZodLiteral<"exported_at">, z.ZodLiteral<"confirmed_at">, z.ZodLiteral<"rejected_at">, z.ZodLiteral<"deleted_at">, z.ZodLiteral<"assigned_at">]>, z.ZodUnion<[z.ZodLiteral<"exported_by">, z.ZodLiteral<"confirmed_by">, z.ZodLiteral<"rejected_by">, z.ZodLiteral<"deleted_by">, z.ZodLiteral<"modifier">, z.ZodLiteral<"assignees">]>]>;
|
|
3
|
+
export declare const schemaColumnSchema: z.ZodObject<{
|
|
4
|
+
schemaId: z.ZodString;
|
|
5
|
+
dataType: z.ZodUnion<[z.ZodLiteral<"number">, z.ZodLiteral<"string">, z.ZodLiteral<"date">, z.ZodLiteral<"boolean">]>;
|
|
6
|
+
columnType: z.ZodLiteral<"schema">;
|
|
7
|
+
visible: z.ZodBoolean;
|
|
8
|
+
width: z.ZodNumber;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
schemaId: string;
|
|
11
|
+
width: number;
|
|
12
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
13
|
+
columnType: "schema";
|
|
14
|
+
visible: boolean;
|
|
15
|
+
}, {
|
|
16
|
+
schemaId: string;
|
|
17
|
+
width: number;
|
|
18
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
19
|
+
columnType: "schema";
|
|
20
|
+
visible: boolean;
|
|
21
|
+
}>;
|
|
22
|
+
export declare const metaColumnSchema: z.ZodObject<{
|
|
23
|
+
metaName: z.ZodUnion<[z.ZodLiteral<"original_file_name">, z.ZodLiteral<"queue">, z.ZodLiteral<"status">, z.ZodLiteral<"labels">, z.ZodLiteral<"details">, z.ZodUnion<[z.ZodLiteral<"created_at">, z.ZodLiteral<"modified_at">, z.ZodLiteral<"exported_at">, z.ZodLiteral<"confirmed_at">, z.ZodLiteral<"rejected_at">, z.ZodLiteral<"deleted_at">, z.ZodLiteral<"assigned_at">]>, z.ZodUnion<[z.ZodLiteral<"exported_by">, z.ZodLiteral<"confirmed_by">, z.ZodLiteral<"rejected_by">, z.ZodLiteral<"deleted_by">, z.ZodLiteral<"modifier">, z.ZodLiteral<"assignees">]>]>;
|
|
24
|
+
columnType: z.ZodLiteral<"meta">;
|
|
25
|
+
visible: z.ZodBoolean;
|
|
26
|
+
width: z.ZodNumber;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
width: number;
|
|
29
|
+
columnType: "meta";
|
|
30
|
+
visible: boolean;
|
|
31
|
+
metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
|
|
32
|
+
}, {
|
|
33
|
+
width: number;
|
|
34
|
+
columnType: "meta";
|
|
35
|
+
visible: boolean;
|
|
36
|
+
metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
|
|
37
|
+
}>;
|
|
38
|
+
export declare const columnsWidthSchema: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
39
|
+
export declare const userTableConfigSchema: z.ZodObject<{
|
|
40
|
+
organization: z.ZodOptional<z.ZodObject<{
|
|
41
|
+
width: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
width: Record<string, number>;
|
|
44
|
+
}, {
|
|
45
|
+
width: Record<string, number>;
|
|
46
|
+
}>>;
|
|
47
|
+
queues: z.ZodOptional<z.ZodObject<{
|
|
48
|
+
width: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
width: Record<string, Record<string, number>>;
|
|
51
|
+
}, {
|
|
52
|
+
width: Record<string, Record<string, number>>;
|
|
53
|
+
}>>;
|
|
54
|
+
}, "strip", z.ZodTypeAny, {
|
|
55
|
+
organization?: {
|
|
56
|
+
width: Record<string, number>;
|
|
57
|
+
} | undefined;
|
|
58
|
+
queues?: {
|
|
59
|
+
width: Record<string, Record<string, number>>;
|
|
60
|
+
} | undefined;
|
|
61
|
+
}, {
|
|
62
|
+
organization?: {
|
|
63
|
+
width: Record<string, number>;
|
|
64
|
+
} | undefined;
|
|
65
|
+
queues?: {
|
|
66
|
+
width: Record<string, Record<string, number>>;
|
|
67
|
+
} | undefined;
|
|
68
|
+
}>;
|
|
69
|
+
export declare const annotationListColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
70
|
+
metaName: z.ZodUnion<[z.ZodLiteral<"original_file_name">, z.ZodLiteral<"queue">, z.ZodLiteral<"status">, z.ZodLiteral<"labels">, z.ZodLiteral<"details">, z.ZodUnion<[z.ZodLiteral<"created_at">, z.ZodLiteral<"modified_at">, z.ZodLiteral<"exported_at">, z.ZodLiteral<"confirmed_at">, z.ZodLiteral<"rejected_at">, z.ZodLiteral<"deleted_at">, z.ZodLiteral<"assigned_at">]>, z.ZodUnion<[z.ZodLiteral<"exported_by">, z.ZodLiteral<"confirmed_by">, z.ZodLiteral<"rejected_by">, z.ZodLiteral<"deleted_by">, z.ZodLiteral<"modifier">, z.ZodLiteral<"assignees">]>]>;
|
|
71
|
+
columnType: z.ZodLiteral<"meta">;
|
|
72
|
+
visible: z.ZodBoolean;
|
|
73
|
+
width: z.ZodNumber;
|
|
74
|
+
}, "strip", z.ZodTypeAny, {
|
|
75
|
+
width: number;
|
|
76
|
+
columnType: "meta";
|
|
77
|
+
visible: boolean;
|
|
78
|
+
metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
|
|
79
|
+
}, {
|
|
80
|
+
width: number;
|
|
81
|
+
columnType: "meta";
|
|
82
|
+
visible: boolean;
|
|
83
|
+
metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
|
|
84
|
+
}>, z.ZodObject<{
|
|
85
|
+
schemaId: z.ZodString;
|
|
86
|
+
dataType: z.ZodUnion<[z.ZodLiteral<"number">, z.ZodLiteral<"string">, z.ZodLiteral<"date">, z.ZodLiteral<"boolean">]>;
|
|
87
|
+
columnType: z.ZodLiteral<"schema">;
|
|
88
|
+
visible: z.ZodBoolean;
|
|
89
|
+
width: z.ZodNumber;
|
|
90
|
+
}, "strip", z.ZodTypeAny, {
|
|
91
|
+
schemaId: string;
|
|
92
|
+
width: number;
|
|
93
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
94
|
+
columnType: "schema";
|
|
95
|
+
visible: boolean;
|
|
96
|
+
}, {
|
|
97
|
+
schemaId: string;
|
|
98
|
+
width: number;
|
|
99
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
100
|
+
columnType: "schema";
|
|
101
|
+
visible: boolean;
|
|
102
|
+
}>]>;
|
|
103
|
+
export declare const annotationListColumnsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
104
|
+
metaName: z.ZodUnion<[z.ZodLiteral<"original_file_name">, z.ZodLiteral<"queue">, z.ZodLiteral<"status">, z.ZodLiteral<"labels">, z.ZodLiteral<"details">, z.ZodUnion<[z.ZodLiteral<"created_at">, z.ZodLiteral<"modified_at">, z.ZodLiteral<"exported_at">, z.ZodLiteral<"confirmed_at">, z.ZodLiteral<"rejected_at">, z.ZodLiteral<"deleted_at">, z.ZodLiteral<"assigned_at">]>, z.ZodUnion<[z.ZodLiteral<"exported_by">, z.ZodLiteral<"confirmed_by">, z.ZodLiteral<"rejected_by">, z.ZodLiteral<"deleted_by">, z.ZodLiteral<"modifier">, z.ZodLiteral<"assignees">]>]>;
|
|
105
|
+
columnType: z.ZodLiteral<"meta">;
|
|
106
|
+
visible: z.ZodBoolean;
|
|
107
|
+
width: z.ZodNumber;
|
|
108
|
+
}, "strip", z.ZodTypeAny, {
|
|
109
|
+
width: number;
|
|
110
|
+
columnType: "meta";
|
|
111
|
+
visible: boolean;
|
|
112
|
+
metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
|
|
113
|
+
}, {
|
|
114
|
+
width: number;
|
|
115
|
+
columnType: "meta";
|
|
116
|
+
visible: boolean;
|
|
117
|
+
metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
|
|
118
|
+
}>, z.ZodObject<{
|
|
119
|
+
schemaId: z.ZodString;
|
|
120
|
+
dataType: z.ZodUnion<[z.ZodLiteral<"number">, z.ZodLiteral<"string">, z.ZodLiteral<"date">, z.ZodLiteral<"boolean">]>;
|
|
121
|
+
columnType: z.ZodLiteral<"schema">;
|
|
122
|
+
visible: z.ZodBoolean;
|
|
123
|
+
width: z.ZodNumber;
|
|
124
|
+
}, "strip", z.ZodTypeAny, {
|
|
125
|
+
schemaId: string;
|
|
126
|
+
width: number;
|
|
127
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
128
|
+
columnType: "schema";
|
|
129
|
+
visible: boolean;
|
|
130
|
+
}, {
|
|
131
|
+
schemaId: string;
|
|
132
|
+
width: number;
|
|
133
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
134
|
+
columnType: "schema";
|
|
135
|
+
visible: boolean;
|
|
136
|
+
}>]>, "many">;
|
|
137
|
+
export declare const annotationListTableSchema: z.ZodObject<{
|
|
138
|
+
columns: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
139
|
+
metaName: z.ZodUnion<[z.ZodLiteral<"original_file_name">, z.ZodLiteral<"queue">, z.ZodLiteral<"status">, z.ZodLiteral<"labels">, z.ZodLiteral<"details">, z.ZodUnion<[z.ZodLiteral<"created_at">, z.ZodLiteral<"modified_at">, z.ZodLiteral<"exported_at">, z.ZodLiteral<"confirmed_at">, z.ZodLiteral<"rejected_at">, z.ZodLiteral<"deleted_at">, z.ZodLiteral<"assigned_at">]>, z.ZodUnion<[z.ZodLiteral<"exported_by">, z.ZodLiteral<"confirmed_by">, z.ZodLiteral<"rejected_by">, z.ZodLiteral<"deleted_by">, z.ZodLiteral<"modifier">, z.ZodLiteral<"assignees">]>]>;
|
|
140
|
+
columnType: z.ZodLiteral<"meta">;
|
|
141
|
+
visible: z.ZodBoolean;
|
|
142
|
+
width: z.ZodNumber;
|
|
143
|
+
}, "strip", z.ZodTypeAny, {
|
|
144
|
+
width: number;
|
|
145
|
+
columnType: "meta";
|
|
146
|
+
visible: boolean;
|
|
147
|
+
metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
|
|
148
|
+
}, {
|
|
149
|
+
width: number;
|
|
150
|
+
columnType: "meta";
|
|
151
|
+
visible: boolean;
|
|
152
|
+
metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
|
|
153
|
+
}>, z.ZodObject<{
|
|
154
|
+
schemaId: z.ZodString;
|
|
155
|
+
dataType: z.ZodUnion<[z.ZodLiteral<"number">, z.ZodLiteral<"string">, z.ZodLiteral<"date">, z.ZodLiteral<"boolean">]>;
|
|
156
|
+
columnType: z.ZodLiteral<"schema">;
|
|
157
|
+
visible: z.ZodBoolean;
|
|
158
|
+
width: z.ZodNumber;
|
|
159
|
+
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
schemaId: string;
|
|
161
|
+
width: number;
|
|
162
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
163
|
+
columnType: "schema";
|
|
164
|
+
visible: boolean;
|
|
165
|
+
}, {
|
|
166
|
+
schemaId: string;
|
|
167
|
+
width: number;
|
|
168
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
169
|
+
columnType: "schema";
|
|
170
|
+
visible: boolean;
|
|
171
|
+
}>]>, "many">;
|
|
172
|
+
}, "strip", z.ZodTypeAny, {
|
|
173
|
+
columns: ({
|
|
174
|
+
schemaId: string;
|
|
175
|
+
width: number;
|
|
176
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
177
|
+
columnType: "schema";
|
|
178
|
+
visible: boolean;
|
|
179
|
+
} | {
|
|
180
|
+
width: number;
|
|
181
|
+
columnType: "meta";
|
|
182
|
+
visible: boolean;
|
|
183
|
+
metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
|
|
184
|
+
})[];
|
|
185
|
+
}, {
|
|
186
|
+
columns: ({
|
|
187
|
+
schemaId: string;
|
|
188
|
+
width: number;
|
|
189
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
190
|
+
columnType: "schema";
|
|
191
|
+
visible: boolean;
|
|
192
|
+
} | {
|
|
193
|
+
width: number;
|
|
194
|
+
columnType: "meta";
|
|
195
|
+
visible: boolean;
|
|
196
|
+
metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "details" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name";
|
|
197
|
+
})[];
|
|
198
|
+
}>;
|
|
@@ -4,19 +4,19 @@ export declare const messageSchema: z.ZodObject<{
|
|
|
4
4
|
content: z.ZodString;
|
|
5
5
|
id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"all">, z.ZodNumber]>>>;
|
|
6
6
|
detail: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7
|
-
hookId: z.ZodNumber
|
|
7
|
+
hookId: z.ZodNullable<z.ZodNumber>;
|
|
8
8
|
hookName: z.ZodString;
|
|
9
9
|
requestId: z.ZodString;
|
|
10
10
|
isException: z.ZodBoolean;
|
|
11
11
|
timestamp: z.ZodOptional<z.ZodString>;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
hookId: number;
|
|
13
|
+
hookId: number | null;
|
|
14
14
|
hookName: string;
|
|
15
15
|
requestId: string;
|
|
16
16
|
isException: boolean;
|
|
17
17
|
timestamp?: string | undefined;
|
|
18
18
|
}, {
|
|
19
|
-
hookId: number;
|
|
19
|
+
hookId: number | null;
|
|
20
20
|
hookName: string;
|
|
21
21
|
requestId: string;
|
|
22
22
|
isException: boolean;
|
|
@@ -27,7 +27,7 @@ export declare const messageSchema: z.ZodObject<{
|
|
|
27
27
|
content: string;
|
|
28
28
|
id?: number | "all" | null | undefined;
|
|
29
29
|
detail?: {
|
|
30
|
-
hookId: number;
|
|
30
|
+
hookId: number | null;
|
|
31
31
|
hookName: string;
|
|
32
32
|
requestId: string;
|
|
33
33
|
isException: boolean;
|
|
@@ -38,7 +38,7 @@ export declare const messageSchema: z.ZodObject<{
|
|
|
38
38
|
content: string;
|
|
39
39
|
id?: number | "all" | null | undefined;
|
|
40
40
|
detail?: {
|
|
41
|
-
hookId: number;
|
|
41
|
+
hookId: number | null;
|
|
42
42
|
hookName: string;
|
|
43
43
|
requestId: string;
|
|
44
44
|
isException: boolean;
|
|
@@ -1,4 +1,52 @@
|
|
|
1
1
|
import { ID } from '../../utils/codecUtils';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export declare const get: (suggestedEditId: ID) => {
|
|
3
|
+
readonly endpoint: `/suggested_edits/${number}`;
|
|
4
|
+
readonly method: "GET";
|
|
5
|
+
readonly responseSchema: import("zod").ZodObject<{
|
|
6
|
+
id: import("zod").ZodNumber;
|
|
7
|
+
url: import("zod").ZodString;
|
|
8
|
+
annotation: import("zod").ZodString;
|
|
9
|
+
documents: import("zod").ZodArray<import("zod").ZodObject<{
|
|
10
|
+
pages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
11
|
+
page: import("zod").ZodString;
|
|
12
|
+
rotationDeg: import("zod").ZodNumber;
|
|
13
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14
|
+
page: string;
|
|
15
|
+
rotationDeg: number;
|
|
16
|
+
}, {
|
|
17
|
+
page: string;
|
|
18
|
+
rotationDeg: number;
|
|
19
|
+
}>, "many">;
|
|
20
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
21
|
+
pages: {
|
|
22
|
+
page: string;
|
|
23
|
+
rotationDeg: number;
|
|
24
|
+
}[];
|
|
25
|
+
}, {
|
|
26
|
+
pages: {
|
|
27
|
+
page: string;
|
|
28
|
+
rotationDeg: number;
|
|
29
|
+
}[];
|
|
30
|
+
}>, "many">;
|
|
31
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
32
|
+
annotation: string;
|
|
33
|
+
url: string;
|
|
34
|
+
id: number;
|
|
35
|
+
documents: {
|
|
36
|
+
pages: {
|
|
37
|
+
page: string;
|
|
38
|
+
rotationDeg: number;
|
|
39
|
+
}[];
|
|
40
|
+
}[];
|
|
41
|
+
}, {
|
|
42
|
+
annotation: string;
|
|
43
|
+
url: string;
|
|
44
|
+
id: number;
|
|
45
|
+
documents: {
|
|
46
|
+
pages: {
|
|
47
|
+
page: string;
|
|
48
|
+
rotationDeg: number;
|
|
49
|
+
}[];
|
|
50
|
+
}[];
|
|
51
|
+
}>;
|
|
52
|
+
};
|
|
@@ -1,3 +1,53 @@
|
|
|
1
1
|
export declare const suggestedEdit: {
|
|
2
|
-
get: (suggestedEditId: number) =>
|
|
2
|
+
get: (suggestedEditId: number) => {
|
|
3
|
+
readonly endpoint: `/suggested_edits/${number}`;
|
|
4
|
+
readonly method: "GET";
|
|
5
|
+
readonly responseSchema: import("zod").ZodObject<{
|
|
6
|
+
id: import("zod").ZodNumber;
|
|
7
|
+
url: import("zod").ZodString;
|
|
8
|
+
annotation: import("zod").ZodString;
|
|
9
|
+
documents: import("zod").ZodArray<import("zod").ZodObject<{
|
|
10
|
+
pages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
11
|
+
page: import("zod").ZodString;
|
|
12
|
+
rotationDeg: import("zod").ZodNumber;
|
|
13
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14
|
+
page: string;
|
|
15
|
+
rotationDeg: number;
|
|
16
|
+
}, {
|
|
17
|
+
page: string;
|
|
18
|
+
rotationDeg: number;
|
|
19
|
+
}>, "many">;
|
|
20
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
21
|
+
pages: {
|
|
22
|
+
page: string;
|
|
23
|
+
rotationDeg: number;
|
|
24
|
+
}[];
|
|
25
|
+
}, {
|
|
26
|
+
pages: {
|
|
27
|
+
page: string;
|
|
28
|
+
rotationDeg: number;
|
|
29
|
+
}[];
|
|
30
|
+
}>, "many">;
|
|
31
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
32
|
+
annotation: string;
|
|
33
|
+
url: string;
|
|
34
|
+
id: number;
|
|
35
|
+
documents: {
|
|
36
|
+
pages: {
|
|
37
|
+
page: string;
|
|
38
|
+
rotationDeg: number;
|
|
39
|
+
}[];
|
|
40
|
+
}[];
|
|
41
|
+
}, {
|
|
42
|
+
annotation: string;
|
|
43
|
+
url: string;
|
|
44
|
+
id: number;
|
|
45
|
+
documents: {
|
|
46
|
+
pages: {
|
|
47
|
+
page: string;
|
|
48
|
+
rotationDeg: number;
|
|
49
|
+
}[];
|
|
50
|
+
}[];
|
|
51
|
+
}>;
|
|
52
|
+
};
|
|
3
53
|
};
|
|
@@ -1,6 +1,63 @@
|
|
|
1
|
-
import { ElisRequestConfig } from '../../utils/requestConfig';
|
|
2
|
-
import { Survey } from '../models/survey';
|
|
3
1
|
export type FromTemplatePayload = {
|
|
4
2
|
uuid: string;
|
|
5
3
|
};
|
|
6
|
-
export declare const fromTemplate: (surveyTemplateUuid: string) =>
|
|
4
|
+
export declare const fromTemplate: (surveyTemplateUuid: string) => {
|
|
5
|
+
readonly endpoint: "surveys/from_template";
|
|
6
|
+
readonly method: "POST";
|
|
7
|
+
readonly responseSchema: import("zod").ZodObject<{
|
|
8
|
+
id: import("zod").ZodNumber;
|
|
9
|
+
url: import("zod").ZodString;
|
|
10
|
+
organization: import("zod").ZodString;
|
|
11
|
+
template: import("zod").ZodString;
|
|
12
|
+
createdAt: import("zod").ZodString;
|
|
13
|
+
modifiedAt: import("zod").ZodString;
|
|
14
|
+
modifier: import("zod").ZodString;
|
|
15
|
+
additionalData: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
16
|
+
answers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
17
|
+
question: import("zod").ZodString;
|
|
18
|
+
value: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
19
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
20
|
+
question: string;
|
|
21
|
+
value?: unknown;
|
|
22
|
+
}, {
|
|
23
|
+
question: string;
|
|
24
|
+
value?: unknown;
|
|
25
|
+
}>, "many">>;
|
|
26
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
27
|
+
url: string;
|
|
28
|
+
id: number;
|
|
29
|
+
modifier: string;
|
|
30
|
+
createdAt: string;
|
|
31
|
+
modifiedAt: string;
|
|
32
|
+
organization: string;
|
|
33
|
+
template: string;
|
|
34
|
+
additionalData?: unknown;
|
|
35
|
+
answers?: {
|
|
36
|
+
question: string;
|
|
37
|
+
value?: unknown;
|
|
38
|
+
}[] | undefined;
|
|
39
|
+
}, {
|
|
40
|
+
url: string;
|
|
41
|
+
id: number;
|
|
42
|
+
modifier: string;
|
|
43
|
+
createdAt: string;
|
|
44
|
+
modifiedAt: string;
|
|
45
|
+
organization: string;
|
|
46
|
+
template: string;
|
|
47
|
+
additionalData?: unknown;
|
|
48
|
+
answers?: {
|
|
49
|
+
question: string;
|
|
50
|
+
value?: unknown;
|
|
51
|
+
}[] | undefined;
|
|
52
|
+
}>;
|
|
53
|
+
readonly payload: {
|
|
54
|
+
readonly uuid: string;
|
|
55
|
+
};
|
|
56
|
+
readonly payloadSchema: import("zod").ZodObject<{
|
|
57
|
+
uuid: import("zod").ZodString;
|
|
58
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
59
|
+
uuid: string;
|
|
60
|
+
}, {
|
|
61
|
+
uuid: string;
|
|
62
|
+
}>;
|
|
63
|
+
};
|
|
@@ -1,4 +1,51 @@
|
|
|
1
1
|
import { ID } from '../../utils/codecUtils';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export declare const get: (surveyId: ID) => {
|
|
3
|
+
readonly endpoint: `/surveys/${number}`;
|
|
4
|
+
readonly method: "GET";
|
|
5
|
+
readonly responseSchema: import("zod").ZodObject<{
|
|
6
|
+
id: import("zod").ZodNumber;
|
|
7
|
+
url: import("zod").ZodString;
|
|
8
|
+
organization: import("zod").ZodString;
|
|
9
|
+
template: import("zod").ZodString;
|
|
10
|
+
createdAt: import("zod").ZodString;
|
|
11
|
+
modifiedAt: import("zod").ZodString;
|
|
12
|
+
modifier: import("zod").ZodString;
|
|
13
|
+
additionalData: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
14
|
+
answers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
15
|
+
question: import("zod").ZodString;
|
|
16
|
+
value: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
17
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
18
|
+
question: string;
|
|
19
|
+
value?: unknown;
|
|
20
|
+
}, {
|
|
21
|
+
question: string;
|
|
22
|
+
value?: unknown;
|
|
23
|
+
}>, "many">>;
|
|
24
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
25
|
+
url: string;
|
|
26
|
+
id: number;
|
|
27
|
+
modifier: string;
|
|
28
|
+
createdAt: string;
|
|
29
|
+
modifiedAt: string;
|
|
30
|
+
organization: string;
|
|
31
|
+
template: string;
|
|
32
|
+
additionalData?: unknown;
|
|
33
|
+
answers?: {
|
|
34
|
+
question: string;
|
|
35
|
+
value?: unknown;
|
|
36
|
+
}[] | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
url: string;
|
|
39
|
+
id: number;
|
|
40
|
+
modifier: string;
|
|
41
|
+
createdAt: string;
|
|
42
|
+
modifiedAt: string;
|
|
43
|
+
organization: string;
|
|
44
|
+
template: string;
|
|
45
|
+
additionalData?: unknown;
|
|
46
|
+
answers?: {
|
|
47
|
+
question: string;
|
|
48
|
+
value?: unknown;
|
|
49
|
+
}[] | undefined;
|
|
50
|
+
}>;
|
|
51
|
+
};
|