@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
|
@@ -184,6 +184,68 @@ export declare const queuePatchPayloadSchema: z.ZodObject<{
|
|
|
184
184
|
}, {
|
|
185
185
|
allDocuments?: boolean | undefined;
|
|
186
186
|
}>>;
|
|
187
|
+
annotationListTable: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
188
|
+
columns: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
189
|
+
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">]>]>;
|
|
190
|
+
columnType: z.ZodLiteral<"meta">;
|
|
191
|
+
visible: z.ZodBoolean;
|
|
192
|
+
width: z.ZodNumber;
|
|
193
|
+
}, "strip", z.ZodTypeAny, {
|
|
194
|
+
width: number;
|
|
195
|
+
columnType: "meta";
|
|
196
|
+
visible: boolean;
|
|
197
|
+
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";
|
|
198
|
+
}, {
|
|
199
|
+
width: number;
|
|
200
|
+
columnType: "meta";
|
|
201
|
+
visible: boolean;
|
|
202
|
+
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";
|
|
203
|
+
}>, z.ZodObject<{
|
|
204
|
+
schemaId: z.ZodString;
|
|
205
|
+
dataType: z.ZodUnion<[z.ZodLiteral<"number">, z.ZodLiteral<"string">, z.ZodLiteral<"date">, z.ZodLiteral<"boolean">]>;
|
|
206
|
+
columnType: z.ZodLiteral<"schema">;
|
|
207
|
+
visible: z.ZodBoolean;
|
|
208
|
+
width: z.ZodNumber;
|
|
209
|
+
}, "strip", z.ZodTypeAny, {
|
|
210
|
+
schemaId: string;
|
|
211
|
+
width: number;
|
|
212
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
213
|
+
columnType: "schema";
|
|
214
|
+
visible: boolean;
|
|
215
|
+
}, {
|
|
216
|
+
schemaId: string;
|
|
217
|
+
width: number;
|
|
218
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
219
|
+
columnType: "schema";
|
|
220
|
+
visible: boolean;
|
|
221
|
+
}>]>, "many">;
|
|
222
|
+
}, "strip", z.ZodTypeAny, {
|
|
223
|
+
columns: ({
|
|
224
|
+
schemaId: string;
|
|
225
|
+
width: number;
|
|
226
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
227
|
+
columnType: "schema";
|
|
228
|
+
visible: boolean;
|
|
229
|
+
} | {
|
|
230
|
+
width: number;
|
|
231
|
+
columnType: "meta";
|
|
232
|
+
visible: boolean;
|
|
233
|
+
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";
|
|
234
|
+
})[];
|
|
235
|
+
}, {
|
|
236
|
+
columns: ({
|
|
237
|
+
schemaId: string;
|
|
238
|
+
width: number;
|
|
239
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
240
|
+
columnType: "schema";
|
|
241
|
+
visible: boolean;
|
|
242
|
+
} | {
|
|
243
|
+
width: number;
|
|
244
|
+
columnType: "meta";
|
|
245
|
+
visible: boolean;
|
|
246
|
+
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";
|
|
247
|
+
})[];
|
|
248
|
+
}>>>;
|
|
187
249
|
}, "strip", z.ZodTypeAny, {
|
|
188
250
|
columns?: {
|
|
189
251
|
schemaId: string;
|
|
@@ -236,6 +298,20 @@ export declare const queuePatchPayloadSchema: z.ZodObject<{
|
|
|
236
298
|
dashboardCustomization?: {
|
|
237
299
|
allDocuments?: boolean | undefined;
|
|
238
300
|
} | undefined;
|
|
301
|
+
annotationListTable?: {
|
|
302
|
+
columns: ({
|
|
303
|
+
schemaId: string;
|
|
304
|
+
width: number;
|
|
305
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
306
|
+
columnType: "schema";
|
|
307
|
+
visible: boolean;
|
|
308
|
+
} | {
|
|
309
|
+
width: number;
|
|
310
|
+
columnType: "meta";
|
|
311
|
+
visible: boolean;
|
|
312
|
+
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";
|
|
313
|
+
})[];
|
|
314
|
+
} | undefined;
|
|
239
315
|
}, {
|
|
240
316
|
columns?: {
|
|
241
317
|
schemaId: string;
|
|
@@ -288,6 +364,20 @@ export declare const queuePatchPayloadSchema: z.ZodObject<{
|
|
|
288
364
|
dashboardCustomization?: {
|
|
289
365
|
allDocuments?: boolean | undefined;
|
|
290
366
|
} | undefined;
|
|
367
|
+
annotationListTable?: {
|
|
368
|
+
columns: ({
|
|
369
|
+
schemaId: string;
|
|
370
|
+
width: number;
|
|
371
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
372
|
+
columnType: "schema";
|
|
373
|
+
visible: boolean;
|
|
374
|
+
} | {
|
|
375
|
+
width: number;
|
|
376
|
+
columnType: "meta";
|
|
377
|
+
visible: boolean;
|
|
378
|
+
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";
|
|
379
|
+
})[];
|
|
380
|
+
} | undefined;
|
|
291
381
|
}>>;
|
|
292
382
|
documentLifetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
293
383
|
dedicatedEngine: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -367,6 +457,20 @@ export declare const queuePatchPayloadSchema: z.ZodObject<{
|
|
|
367
457
|
dashboardCustomization?: {
|
|
368
458
|
allDocuments?: boolean | undefined;
|
|
369
459
|
} | undefined;
|
|
460
|
+
annotationListTable?: {
|
|
461
|
+
columns: ({
|
|
462
|
+
schemaId: string;
|
|
463
|
+
width: number;
|
|
464
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
465
|
+
columnType: "schema";
|
|
466
|
+
visible: boolean;
|
|
467
|
+
} | {
|
|
468
|
+
width: number;
|
|
469
|
+
columnType: "meta";
|
|
470
|
+
visible: boolean;
|
|
471
|
+
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";
|
|
472
|
+
})[];
|
|
473
|
+
} | undefined;
|
|
370
474
|
} | undefined;
|
|
371
475
|
documentLifetime?: string | null | undefined;
|
|
372
476
|
dedicatedEngine?: string | null | undefined;
|
|
@@ -446,6 +550,20 @@ export declare const queuePatchPayloadSchema: z.ZodObject<{
|
|
|
446
550
|
dashboardCustomization?: {
|
|
447
551
|
allDocuments?: boolean | undefined;
|
|
448
552
|
} | undefined;
|
|
553
|
+
annotationListTable?: {
|
|
554
|
+
columns: ({
|
|
555
|
+
schemaId: string;
|
|
556
|
+
width: number;
|
|
557
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
558
|
+
columnType: "schema";
|
|
559
|
+
visible: boolean;
|
|
560
|
+
} | {
|
|
561
|
+
width: number;
|
|
562
|
+
columnType: "meta";
|
|
563
|
+
visible: boolean;
|
|
564
|
+
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";
|
|
565
|
+
})[];
|
|
566
|
+
} | undefined;
|
|
449
567
|
} | undefined;
|
|
450
568
|
documentLifetime?: string | null | undefined;
|
|
451
569
|
dedicatedEngine?: string | null | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Url } from '../../types';
|
|
2
|
-
import { ElisRequestConfig } from '../../utils/requestConfig';
|
|
3
2
|
export type SuggestedRecipientsPayload = {
|
|
4
3
|
emailThreads?: Url[];
|
|
5
4
|
annotations?: Url[];
|
|
@@ -12,4 +11,45 @@ export type SuggestedRecipient = {
|
|
|
12
11
|
export type SuggestedRecipientsResponse = {
|
|
13
12
|
results: SuggestedRecipient[];
|
|
14
13
|
};
|
|
15
|
-
export declare const suggestedRecipients: (queueId: number, payload?: SuggestedRecipientsPayload) =>
|
|
14
|
+
export declare const suggestedRecipients: (queueId: number, payload?: SuggestedRecipientsPayload) => {
|
|
15
|
+
readonly endpoint: `/queues/${number}/suggested_recipients`;
|
|
16
|
+
readonly method: "POST";
|
|
17
|
+
readonly responseSchema: import("zod").ZodObject<{
|
|
18
|
+
results: import("zod").ZodArray<import("zod").ZodObject<{
|
|
19
|
+
email: import("zod").ZodString;
|
|
20
|
+
name: import("zod").ZodNullable<import("zod").ZodString>;
|
|
21
|
+
source: import("zod").ZodString;
|
|
22
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
23
|
+
email: string;
|
|
24
|
+
source: string;
|
|
25
|
+
name: string | null;
|
|
26
|
+
}, {
|
|
27
|
+
email: string;
|
|
28
|
+
source: string;
|
|
29
|
+
name: string | null;
|
|
30
|
+
}>, "many">;
|
|
31
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
32
|
+
results: {
|
|
33
|
+
email: string;
|
|
34
|
+
source: string;
|
|
35
|
+
name: string | null;
|
|
36
|
+
}[];
|
|
37
|
+
}, {
|
|
38
|
+
results: {
|
|
39
|
+
email: string;
|
|
40
|
+
source: string;
|
|
41
|
+
name: string | null;
|
|
42
|
+
}[];
|
|
43
|
+
}>;
|
|
44
|
+
readonly payload: SuggestedRecipientsPayload;
|
|
45
|
+
readonly payloadSchema: import("zod").ZodObject<{
|
|
46
|
+
emailThreads: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
47
|
+
annotations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
48
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
49
|
+
emailThreads?: string[] | undefined;
|
|
50
|
+
annotations?: string[] | undefined;
|
|
51
|
+
}, {
|
|
52
|
+
emailThreads?: string[] | undefined;
|
|
53
|
+
annotations?: string[] | undefined;
|
|
54
|
+
}>;
|
|
55
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
1
2
|
import { Url } from '../../utils/codecUtils';
|
|
2
|
-
import { ElisRequestConfig } from '../../utils/requestConfig';
|
|
3
3
|
export type UploadPayload = {
|
|
4
4
|
filePath: string;
|
|
5
5
|
};
|
|
@@ -11,4 +11,41 @@ export type UploadResponse = {
|
|
|
11
11
|
annotation: Url;
|
|
12
12
|
}>;
|
|
13
13
|
};
|
|
14
|
-
export declare const upload: (queueId: number, fileName: string, payload: unknown, signal?: AbortSignal) =>
|
|
14
|
+
export declare const upload: (queueId: number, fileName: string, payload: unknown, signal?: AbortSignal) => {
|
|
15
|
+
readonly endpoint: `/queues/${number}/upload/${string}`;
|
|
16
|
+
readonly method: "POST";
|
|
17
|
+
readonly headers: {
|
|
18
|
+
readonly 'Content-Type': "application/x-www-form-urlencoded";
|
|
19
|
+
};
|
|
20
|
+
readonly responseSchema: z.ZodObject<{
|
|
21
|
+
document: z.ZodString;
|
|
22
|
+
annotation: z.ZodString;
|
|
23
|
+
results: z.ZodArray<z.ZodObject<{
|
|
24
|
+
document: z.ZodString;
|
|
25
|
+
annotation: z.ZodString;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
document: string;
|
|
28
|
+
annotation: string;
|
|
29
|
+
}, {
|
|
30
|
+
document: string;
|
|
31
|
+
annotation: string;
|
|
32
|
+
}>, "many">;
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
document: string;
|
|
35
|
+
annotation: string;
|
|
36
|
+
results: {
|
|
37
|
+
document: string;
|
|
38
|
+
annotation: string;
|
|
39
|
+
}[];
|
|
40
|
+
}, {
|
|
41
|
+
document: string;
|
|
42
|
+
annotation: string;
|
|
43
|
+
results: {
|
|
44
|
+
document: string;
|
|
45
|
+
annotation: string;
|
|
46
|
+
}[];
|
|
47
|
+
}>;
|
|
48
|
+
readonly payloadSchema: z.ZodUnknown;
|
|
49
|
+
readonly payload: unknown;
|
|
50
|
+
readonly signal: AbortSignal | undefined;
|
|
51
|
+
};
|
|
@@ -184,6 +184,68 @@ export declare const queueSchema: z.ZodObject<{
|
|
|
184
184
|
}, {
|
|
185
185
|
allDocuments?: boolean | undefined;
|
|
186
186
|
}>>;
|
|
187
|
+
annotationListTable: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
188
|
+
columns: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
189
|
+
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">]>]>;
|
|
190
|
+
columnType: z.ZodLiteral<"meta">;
|
|
191
|
+
visible: z.ZodBoolean;
|
|
192
|
+
width: z.ZodNumber;
|
|
193
|
+
}, "strip", z.ZodTypeAny, {
|
|
194
|
+
width: number;
|
|
195
|
+
columnType: "meta";
|
|
196
|
+
visible: boolean;
|
|
197
|
+
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";
|
|
198
|
+
}, {
|
|
199
|
+
width: number;
|
|
200
|
+
columnType: "meta";
|
|
201
|
+
visible: boolean;
|
|
202
|
+
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";
|
|
203
|
+
}>, z.ZodObject<{
|
|
204
|
+
schemaId: z.ZodString;
|
|
205
|
+
dataType: z.ZodUnion<[z.ZodLiteral<"number">, z.ZodLiteral<"string">, z.ZodLiteral<"date">, z.ZodLiteral<"boolean">]>;
|
|
206
|
+
columnType: z.ZodLiteral<"schema">;
|
|
207
|
+
visible: z.ZodBoolean;
|
|
208
|
+
width: z.ZodNumber;
|
|
209
|
+
}, "strip", z.ZodTypeAny, {
|
|
210
|
+
schemaId: string;
|
|
211
|
+
width: number;
|
|
212
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
213
|
+
columnType: "schema";
|
|
214
|
+
visible: boolean;
|
|
215
|
+
}, {
|
|
216
|
+
schemaId: string;
|
|
217
|
+
width: number;
|
|
218
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
219
|
+
columnType: "schema";
|
|
220
|
+
visible: boolean;
|
|
221
|
+
}>]>, "many">;
|
|
222
|
+
}, "strip", z.ZodTypeAny, {
|
|
223
|
+
columns: ({
|
|
224
|
+
schemaId: string;
|
|
225
|
+
width: number;
|
|
226
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
227
|
+
columnType: "schema";
|
|
228
|
+
visible: boolean;
|
|
229
|
+
} | {
|
|
230
|
+
width: number;
|
|
231
|
+
columnType: "meta";
|
|
232
|
+
visible: boolean;
|
|
233
|
+
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";
|
|
234
|
+
})[];
|
|
235
|
+
}, {
|
|
236
|
+
columns: ({
|
|
237
|
+
schemaId: string;
|
|
238
|
+
width: number;
|
|
239
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
240
|
+
columnType: "schema";
|
|
241
|
+
visible: boolean;
|
|
242
|
+
} | {
|
|
243
|
+
width: number;
|
|
244
|
+
columnType: "meta";
|
|
245
|
+
visible: boolean;
|
|
246
|
+
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";
|
|
247
|
+
})[];
|
|
248
|
+
}>>>;
|
|
187
249
|
}, "strip", z.ZodTypeAny, {
|
|
188
250
|
columns?: {
|
|
189
251
|
schemaId: string;
|
|
@@ -236,6 +298,20 @@ export declare const queueSchema: z.ZodObject<{
|
|
|
236
298
|
dashboardCustomization?: {
|
|
237
299
|
allDocuments?: boolean | undefined;
|
|
238
300
|
} | undefined;
|
|
301
|
+
annotationListTable?: {
|
|
302
|
+
columns: ({
|
|
303
|
+
schemaId: string;
|
|
304
|
+
width: number;
|
|
305
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
306
|
+
columnType: "schema";
|
|
307
|
+
visible: boolean;
|
|
308
|
+
} | {
|
|
309
|
+
width: number;
|
|
310
|
+
columnType: "meta";
|
|
311
|
+
visible: boolean;
|
|
312
|
+
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";
|
|
313
|
+
})[];
|
|
314
|
+
} | undefined;
|
|
239
315
|
}, {
|
|
240
316
|
columns?: {
|
|
241
317
|
schemaId: string;
|
|
@@ -288,6 +364,20 @@ export declare const queueSchema: z.ZodObject<{
|
|
|
288
364
|
dashboardCustomization?: {
|
|
289
365
|
allDocuments?: boolean | undefined;
|
|
290
366
|
} | undefined;
|
|
367
|
+
annotationListTable?: {
|
|
368
|
+
columns: ({
|
|
369
|
+
schemaId: string;
|
|
370
|
+
width: number;
|
|
371
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
372
|
+
columnType: "schema";
|
|
373
|
+
visible: boolean;
|
|
374
|
+
} | {
|
|
375
|
+
width: number;
|
|
376
|
+
columnType: "meta";
|
|
377
|
+
visible: boolean;
|
|
378
|
+
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";
|
|
379
|
+
})[];
|
|
380
|
+
} | undefined;
|
|
291
381
|
}>;
|
|
292
382
|
documentLifetime: z.ZodNullable<z.ZodString>;
|
|
293
383
|
dedicatedEngine: z.ZodNullable<z.ZodString>;
|
|
@@ -355,6 +445,20 @@ export declare const queueSchema: z.ZodObject<{
|
|
|
355
445
|
dashboardCustomization?: {
|
|
356
446
|
allDocuments?: boolean | undefined;
|
|
357
447
|
} | undefined;
|
|
448
|
+
annotationListTable?: {
|
|
449
|
+
columns: ({
|
|
450
|
+
schemaId: string;
|
|
451
|
+
width: number;
|
|
452
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
453
|
+
columnType: "schema";
|
|
454
|
+
visible: boolean;
|
|
455
|
+
} | {
|
|
456
|
+
width: number;
|
|
457
|
+
columnType: "meta";
|
|
458
|
+
visible: boolean;
|
|
459
|
+
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";
|
|
460
|
+
})[];
|
|
461
|
+
} | undefined;
|
|
358
462
|
};
|
|
359
463
|
workspace: string | null;
|
|
360
464
|
workflows: Record<string, string | number>[];
|
|
@@ -434,6 +538,20 @@ export declare const queueSchema: z.ZodObject<{
|
|
|
434
538
|
dashboardCustomization?: {
|
|
435
539
|
allDocuments?: boolean | undefined;
|
|
436
540
|
} | undefined;
|
|
541
|
+
annotationListTable?: {
|
|
542
|
+
columns: ({
|
|
543
|
+
schemaId: string;
|
|
544
|
+
width: number;
|
|
545
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
546
|
+
columnType: "schema";
|
|
547
|
+
visible: boolean;
|
|
548
|
+
} | {
|
|
549
|
+
width: number;
|
|
550
|
+
columnType: "meta";
|
|
551
|
+
visible: boolean;
|
|
552
|
+
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";
|
|
553
|
+
})[];
|
|
554
|
+
} | undefined;
|
|
437
555
|
};
|
|
438
556
|
workspace: string | null;
|
|
439
557
|
workflows: Record<string, string | number>[];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AnnotationListTable } from '../../shared/annotationListTable';
|
|
1
2
|
import { AutomationSettings } from './automationSettings';
|
|
2
3
|
import { AutopilotConfig } from './autopilotConfig';
|
|
3
4
|
import { EmailNotificationsSettings } from './emailNotificationsSettings';
|
|
@@ -23,4 +24,5 @@ export type QueueSettings = Partial<{
|
|
|
23
24
|
dashboardCustomization: Partial<{
|
|
24
25
|
allDocuments: boolean;
|
|
25
26
|
}>;
|
|
27
|
+
annotationListTable?: AnnotationListTable;
|
|
26
28
|
}>;
|
|
@@ -170,6 +170,68 @@ export declare const queueSettingsSchema: z.ZodObject<{
|
|
|
170
170
|
}, {
|
|
171
171
|
allDocuments?: boolean | undefined;
|
|
172
172
|
}>>;
|
|
173
|
+
annotationListTable: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
174
|
+
columns: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
175
|
+
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">]>]>;
|
|
176
|
+
columnType: z.ZodLiteral<"meta">;
|
|
177
|
+
visible: z.ZodBoolean;
|
|
178
|
+
width: z.ZodNumber;
|
|
179
|
+
}, "strip", z.ZodTypeAny, {
|
|
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
|
+
width: number;
|
|
186
|
+
columnType: "meta";
|
|
187
|
+
visible: boolean;
|
|
188
|
+
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";
|
|
189
|
+
}>, z.ZodObject<{
|
|
190
|
+
schemaId: z.ZodString;
|
|
191
|
+
dataType: z.ZodUnion<[z.ZodLiteral<"number">, z.ZodLiteral<"string">, z.ZodLiteral<"date">, z.ZodLiteral<"boolean">]>;
|
|
192
|
+
columnType: z.ZodLiteral<"schema">;
|
|
193
|
+
visible: z.ZodBoolean;
|
|
194
|
+
width: z.ZodNumber;
|
|
195
|
+
}, "strip", z.ZodTypeAny, {
|
|
196
|
+
schemaId: string;
|
|
197
|
+
width: number;
|
|
198
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
199
|
+
columnType: "schema";
|
|
200
|
+
visible: boolean;
|
|
201
|
+
}, {
|
|
202
|
+
schemaId: string;
|
|
203
|
+
width: number;
|
|
204
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
205
|
+
columnType: "schema";
|
|
206
|
+
visible: boolean;
|
|
207
|
+
}>]>, "many">;
|
|
208
|
+
}, "strip", z.ZodTypeAny, {
|
|
209
|
+
columns: ({
|
|
210
|
+
schemaId: string;
|
|
211
|
+
width: number;
|
|
212
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
213
|
+
columnType: "schema";
|
|
214
|
+
visible: boolean;
|
|
215
|
+
} | {
|
|
216
|
+
width: number;
|
|
217
|
+
columnType: "meta";
|
|
218
|
+
visible: boolean;
|
|
219
|
+
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";
|
|
220
|
+
})[];
|
|
221
|
+
}, {
|
|
222
|
+
columns: ({
|
|
223
|
+
schemaId: string;
|
|
224
|
+
width: number;
|
|
225
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
226
|
+
columnType: "schema";
|
|
227
|
+
visible: boolean;
|
|
228
|
+
} | {
|
|
229
|
+
width: number;
|
|
230
|
+
columnType: "meta";
|
|
231
|
+
visible: boolean;
|
|
232
|
+
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";
|
|
233
|
+
})[];
|
|
234
|
+
}>>>;
|
|
173
235
|
}, "strip", z.ZodTypeAny, {
|
|
174
236
|
columns?: {
|
|
175
237
|
schemaId: string;
|
|
@@ -222,6 +284,20 @@ export declare const queueSettingsSchema: z.ZodObject<{
|
|
|
222
284
|
dashboardCustomization?: {
|
|
223
285
|
allDocuments?: boolean | undefined;
|
|
224
286
|
} | undefined;
|
|
287
|
+
annotationListTable?: {
|
|
288
|
+
columns: ({
|
|
289
|
+
schemaId: string;
|
|
290
|
+
width: number;
|
|
291
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
292
|
+
columnType: "schema";
|
|
293
|
+
visible: boolean;
|
|
294
|
+
} | {
|
|
295
|
+
width: number;
|
|
296
|
+
columnType: "meta";
|
|
297
|
+
visible: boolean;
|
|
298
|
+
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";
|
|
299
|
+
})[];
|
|
300
|
+
} | undefined;
|
|
225
301
|
}, {
|
|
226
302
|
columns?: {
|
|
227
303
|
schemaId: string;
|
|
@@ -274,4 +350,18 @@ export declare const queueSettingsSchema: z.ZodObject<{
|
|
|
274
350
|
dashboardCustomization?: {
|
|
275
351
|
allDocuments?: boolean | undefined;
|
|
276
352
|
} | undefined;
|
|
353
|
+
annotationListTable?: {
|
|
354
|
+
columns: ({
|
|
355
|
+
schemaId: string;
|
|
356
|
+
width: number;
|
|
357
|
+
dataType: "string" | "number" | "boolean" | "date";
|
|
358
|
+
columnType: "schema";
|
|
359
|
+
visible: boolean;
|
|
360
|
+
} | {
|
|
361
|
+
width: number;
|
|
362
|
+
columnType: "meta";
|
|
363
|
+
visible: boolean;
|
|
364
|
+
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";
|
|
365
|
+
})[];
|
|
366
|
+
} | undefined;
|
|
277
367
|
}>;
|
|
@@ -1,9 +1,98 @@
|
|
|
1
1
|
import { Url } from '../../utils/codecUtils';
|
|
2
|
-
import {
|
|
3
|
-
import { Relation, RelationType } from '../models/relations';
|
|
2
|
+
import { RelationType } from '../models/relations';
|
|
4
3
|
export type CreateRelationPayload = {
|
|
5
4
|
type: RelationType;
|
|
6
5
|
parent?: Url;
|
|
7
6
|
annotations: Url[];
|
|
8
7
|
};
|
|
9
|
-
export declare const create: (payload: CreateRelationPayload) =>
|
|
8
|
+
export declare const create: (payload: CreateRelationPayload) => {
|
|
9
|
+
readonly endpoint: "/relations";
|
|
10
|
+
readonly method: "POST";
|
|
11
|
+
readonly payloadSchema: import("zod").ZodObject<{
|
|
12
|
+
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"edit">, import("zod").ZodLiteral<"duplicate">, import("zod").ZodLiteral<"attachment">]>;
|
|
13
|
+
parent: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14
|
+
annotations: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
15
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
16
|
+
type: "edit" | "duplicate" | "attachment";
|
|
17
|
+
annotations: string[];
|
|
18
|
+
parent?: string | undefined;
|
|
19
|
+
}, {
|
|
20
|
+
type: "edit" | "duplicate" | "attachment";
|
|
21
|
+
annotations: string[];
|
|
22
|
+
parent?: string | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
readonly responseSchema: import("zod").ZodUnion<[import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
25
|
+
url: import("zod").ZodString;
|
|
26
|
+
id: import("zod").ZodNumber;
|
|
27
|
+
key: import("zod").ZodNullable<import("zod").ZodString>;
|
|
28
|
+
annotations: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
29
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
30
|
+
annotations: string[];
|
|
31
|
+
url: string;
|
|
32
|
+
id: number;
|
|
33
|
+
key: string | null;
|
|
34
|
+
}, {
|
|
35
|
+
annotations: string[];
|
|
36
|
+
url: string;
|
|
37
|
+
id: number;
|
|
38
|
+
key: string | null;
|
|
39
|
+
}>, import("zod").ZodObject<{
|
|
40
|
+
type: import("zod").ZodLiteral<"edit">;
|
|
41
|
+
parent: import("zod").ZodString;
|
|
42
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
43
|
+
type: "edit";
|
|
44
|
+
parent: string;
|
|
45
|
+
}, {
|
|
46
|
+
type: "edit";
|
|
47
|
+
parent: string;
|
|
48
|
+
}>>, import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
49
|
+
url: import("zod").ZodString;
|
|
50
|
+
id: import("zod").ZodNumber;
|
|
51
|
+
key: import("zod").ZodNullable<import("zod").ZodString>;
|
|
52
|
+
annotations: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
53
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
54
|
+
annotations: string[];
|
|
55
|
+
url: string;
|
|
56
|
+
id: number;
|
|
57
|
+
key: string | null;
|
|
58
|
+
}, {
|
|
59
|
+
annotations: string[];
|
|
60
|
+
url: string;
|
|
61
|
+
id: number;
|
|
62
|
+
key: string | null;
|
|
63
|
+
}>, import("zod").ZodObject<{
|
|
64
|
+
type: import("zod").ZodLiteral<"duplicate">;
|
|
65
|
+
parent: import("zod").ZodNullable<import("zod").ZodString>;
|
|
66
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
67
|
+
type: "duplicate";
|
|
68
|
+
parent: string | null;
|
|
69
|
+
}, {
|
|
70
|
+
type: "duplicate";
|
|
71
|
+
parent: string | null;
|
|
72
|
+
}>>, import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
73
|
+
url: import("zod").ZodString;
|
|
74
|
+
id: import("zod").ZodNumber;
|
|
75
|
+
key: import("zod").ZodNullable<import("zod").ZodString>;
|
|
76
|
+
annotations: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
77
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
78
|
+
annotations: string[];
|
|
79
|
+
url: string;
|
|
80
|
+
id: number;
|
|
81
|
+
key: string | null;
|
|
82
|
+
}, {
|
|
83
|
+
annotations: string[];
|
|
84
|
+
url: string;
|
|
85
|
+
id: number;
|
|
86
|
+
key: string | null;
|
|
87
|
+
}>, import("zod").ZodObject<{
|
|
88
|
+
type: import("zod").ZodLiteral<"attachment">;
|
|
89
|
+
parent: import("zod").ZodString;
|
|
90
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
91
|
+
type: "attachment";
|
|
92
|
+
parent: string;
|
|
93
|
+
}, {
|
|
94
|
+
type: "attachment";
|
|
95
|
+
parent: string;
|
|
96
|
+
}>>]>;
|
|
97
|
+
readonly payload: CreateRelationPayload;
|
|
98
|
+
};
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
1
2
|
import { ID } from '../../utils/codecUtils';
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
export declare const deleteRelation: (relationId: ID) => {
|
|
4
|
+
readonly endpoint: `/relations/${number}`;
|
|
5
|
+
readonly method: "DELETE";
|
|
6
|
+
readonly responseSchema: z.ZodUnknown;
|
|
7
|
+
};
|