@rossum/api-client 0.1.20 → 0.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -1
- package/index.js.map +1 -1
- package/knip.js +9 -0
- package/knip.js.map +1 -0
- package/package.json +1 -1
- package/src/annotations/endpoints/approve.js.map +1 -1
- package/src/annotations/endpoints/assign.js.map +1 -1
- package/src/annotations/endpoints/cancelEditPages.js.map +1 -1
- package/src/annotations/endpoints/confirm.js.map +1 -1
- package/src/annotations/endpoints/copy.js.map +1 -1
- package/src/annotations/endpoints/delete.js.map +1 -1
- package/src/annotations/endpoints/editPages.js.map +1 -1
- package/src/annotations/endpoints/editPagesInPlace.js.map +1 -1
- package/src/annotations/endpoints/exportAnnotationCrossQueue.js.map +1 -1
- package/src/annotations/endpoints/get.js.map +1 -1
- package/src/annotations/endpoints/getContent.js.map +1 -1
- package/src/annotations/endpoints/list.js.map +1 -1
- package/src/annotations/endpoints/list.schema.js +1 -1
- package/src/annotations/endpoints/patch.js.map +1 -1
- package/src/annotations/endpoints/postpone.js.map +1 -1
- package/src/annotations/endpoints/purge.js.map +1 -1
- package/src/annotations/endpoints/reject.js.map +1 -1
- package/src/annotations/endpoints/search.js.map +1 -1
- package/src/annotations/endpoints/split.js.map +1 -1
- package/src/annotations/endpoints/start.js.map +1 -1
- package/src/annotations/endpoints/startEditPages.js.map +1 -1
- package/src/annotations/endpoints/startEmbedded.js.map +1 -1
- package/src/annotations/endpoints/updateContent.js.map +1 -1
- package/src/annotations/endpoints/usageReportExport.js.map +1 -1
- package/src/annotations/endpoints/validate.js.map +1 -1
- package/src/annotations/models/annotation.schema.js +8 -2
- package/src/annotations/models/annotation.schema.js.map +1 -1
- package/src/annotations/models/editPages.schema.js +1 -1
- package/src/authentication/endpoints/getMembershipToken.js.map +1 -1
- package/src/authentication/endpoints/index.js +2 -0
- package/src/authentication/endpoints/index.js.map +1 -1
- package/src/authentication/endpoints/login.js.map +1 -1
- package/src/authentication/endpoints/password/change.js.map +1 -1
- package/src/authentication/endpoints/password/confirm.js.map +1 -1
- package/src/authentication/endpoints/password/reset.js.map +1 -1
- package/src/authentication/endpoints/password/score.js.map +1 -1
- package/src/authentication/endpoints/patch.js +16 -0
- package/src/authentication/endpoints/patch.js.map +1 -0
- package/src/authentication/endpoints/patch.schema.js +6 -0
- package/src/authentication/endpoints/patch.schema.js.map +1 -0
- package/src/authentication/endpoints/token.js.map +1 -1
- package/src/authentication/endpoints/user.js.map +1 -1
- package/src/automationBlockers/endpoints/get.js.map +1 -1
- package/src/billing/endpoints/getHistory.js.map +1 -1
- package/src/billing/endpoints/getHistoryExport.js.map +1 -1
- package/src/billing/endpoints/getStats.js.map +1 -1
- package/src/billing/endpoints/getStatsExport.js.map +1 -1
- package/src/connectors/endpoints/create.js.map +1 -1
- package/src/connectors/endpoints/delete.js.map +1 -1
- package/src/connectors/endpoints/list.js +1 -1
- package/src/connectors/endpoints/list.js.map +1 -1
- package/src/dedicatedEngineSchema/endpoints/create.js.map +1 -1
- package/src/dedicatedEngineSchema/endpoints/get.js.map +1 -1
- package/src/dedicatedEngineSchema/endpoints/patch.js.map +1 -1
- package/src/dedicatedEngineSchema/endpoints/predict.js.map +1 -1
- package/src/dedicatedEngineSchema/endpoints/validate.js.map +1 -1
- package/src/dedicatedEngines/endpoints/create.js.map +1 -1
- package/src/dedicatedEngines/endpoints/get.js.map +1 -1
- package/src/dedicatedEngines/endpoints/list.js.map +1 -1
- package/src/dedicatedEngines/endpoints/patch.js.map +1 -1
- package/src/dedicatedEngines/endpoints/request.js.map +1 -1
- package/src/deleteRecommendations/endpoints/create.js.map +1 -1
- package/src/deleteRecommendations/endpoints/get.js.map +1 -1
- package/src/deleteRecommendations/endpoints/list.js.map +1 -1
- package/src/deleteRecommendations/endpoints/patch.js.map +1 -1
- package/src/documents/endpoints/downloads.js.map +1 -1
- package/src/documents/endpoints/downloads.schema.js +1 -1
- package/src/documents/endpoints/downloads.schema.js.map +1 -1
- package/src/documents/endpoints/get.js.map +1 -1
- package/src/documents/endpoints/getBlob.js.map +1 -1
- package/src/documents/endpoints/list.js +1 -1
- package/src/documents/endpoints/list.js.map +1 -1
- package/src/documents/endpoints/patch.js.map +1 -1
- package/src/email/endpoints/get.js.map +1 -1
- package/src/email/endpoints/list.js +1 -1
- package/src/email/endpoints/list.js.map +1 -1
- package/src/email/endpoints/send.js.map +1 -1
- package/src/emailTemplates/endpoints/create.js.map +1 -1
- package/src/emailTemplates/endpoints/delete.js.map +1 -1
- package/src/emailTemplates/endpoints/get.js.map +1 -1
- package/src/emailTemplates/endpoints/list.js.map +1 -1
- package/src/emailTemplates/endpoints/patch.js.map +1 -1
- package/src/emailTemplates/endpoints/render.js.map +1 -1
- package/src/emailTemplatesStats/endpoints/list.js.map +1 -1
- package/src/emailThreads/endpoints/counts.js +16 -0
- package/src/emailThreads/endpoints/counts.js.map +1 -0
- package/src/emailThreads/endpoints/counts.schema.js +8 -0
- package/src/emailThreads/endpoints/counts.schema.js.map +1 -0
- package/src/emailThreads/endpoints/get.js.map +1 -1
- package/src/emailThreads/endpoints/index.js +5 -1
- package/src/emailThreads/endpoints/index.js.map +1 -1
- package/src/emailThreads/endpoints/list.js +17 -0
- package/src/emailThreads/endpoints/list.js.map +1 -0
- package/src/emailThreads/endpoints/list.schema.js +22 -0
- package/src/emailThreads/endpoints/list.schema.js.map +1 -0
- package/src/emailThreads/endpoints/patch.js.map +1 -1
- package/src/emailThreads/models/emailThreads.schema.js +10 -5
- package/src/emailThreads/models/emailThreads.schema.js.map +1 -1
- package/src/genericEngines/endpoints/get.js +16 -0
- package/src/genericEngines/endpoints/get.js.map +1 -0
- package/src/genericEngines/endpoints/get.schema.js +16 -0
- package/src/genericEngines/endpoints/get.schema.js.map +1 -0
- package/src/genericEngines/endpoints/index.js +2 -0
- package/src/genericEngines/endpoints/index.js.map +1 -1
- package/src/genericEngines/endpoints/list.js.map +1 -1
- package/src/groups/endpoints/list.js.map +1 -1
- package/src/hookTemplates/endpoints/list.js +9 -7
- package/src/hookTemplates/endpoints/list.js.map +1 -1
- package/src/hooks/endpoints/create.js.map +1 -1
- package/src/hooks/endpoints/delete.js.map +1 -1
- package/src/hooks/endpoints/get.js.map +1 -1
- package/src/hooks/endpoints/getSecretsKeys.js.map +1 -1
- package/src/hooks/endpoints/invoke.js.map +1 -1
- package/src/hooks/endpoints/list.js +1 -1
- package/src/hooks/endpoints/list.js.map +1 -1
- package/src/hooks/endpoints/logs.js.map +1 -1
- package/src/hooks/endpoints/patch.js.map +1 -1
- package/src/hooks/endpoints/test.js.map +1 -1
- package/src/hooks/endpoints/test.schema.js +1 -1
- package/src/hooks/endpoints/test.schema.js.map +1 -1
- package/src/inboxes/endpoints/create.js.map +1 -1
- package/src/inboxes/endpoints/get.js.map +1 -1
- package/src/inboxes/endpoints/list.js.map +1 -1
- package/src/inboxes/endpoints/patch.js.map +1 -1
- package/src/internal/endpoints/domainSettings.js.map +1 -1
- package/src/internal/endpoints/generateRejectionEmail.js.map +1 -1
- package/src/internal/endpoints/requestDemo.js.map +1 -1
- package/src/internal/endpoints/requestExtension.js.map +1 -1
- package/src/labels/endpoints/apply.js.map +1 -1
- package/src/labels/endpoints/create.js.map +1 -1
- package/src/labels/endpoints/delete.js.map +1 -1
- package/src/labels/endpoints/list.js.map +1 -1
- package/src/labels/endpoints/patch.js.map +1 -1
- package/src/manage/endpoints/chameleon.js.map +1 -1
- package/src/memberships/endpoints/create.js.map +1 -1
- package/src/organization/endpoints/create.js.map +1 -1
- package/src/organization/endpoints/create.schema.js +1 -1
- package/src/organization/endpoints/create.schema.js.map +1 -1
- package/src/organization/endpoints/get.js.map +1 -1
- package/src/organization/endpoints/limits.js.map +1 -1
- package/src/organization/endpoints/patch.js +3 -3
- package/src/organization/endpoints/patch.js.map +1 -1
- package/src/organization/endpoints/patch.schema.js +3 -25
- package/src/organization/endpoints/patch.schema.js.map +1 -1
- package/src/organization/models/organization.schema.js +4 -0
- package/src/organization/models/organization.schema.js.map +1 -1
- package/src/organizationGroups/endpoints/organizations.js.map +1 -1
- package/src/organizationGroups/endpoints/queues.js.map +1 -1
- package/src/organizationGroups/endpoints/workspaces.js.map +1 -1
- package/src/queues/endpoints/automation.js.map +1 -1
- package/src/queues/endpoints/create.js.map +1 -1
- package/src/queues/endpoints/createFromTemplate.js.map +1 -1
- package/src/queues/endpoints/delete.js.map +1 -1
- package/src/queues/endpoints/duplicate.js.map +1 -1
- package/src/queues/endpoints/exportAnnotation.js.map +1 -1
- package/src/queues/endpoints/get.js.map +1 -1
- package/src/queues/endpoints/getRelatedObjectsCounts.js.map +1 -1
- package/src/queues/endpoints/index.js +2 -0
- package/src/queues/endpoints/index.js.map +1 -1
- package/src/queues/endpoints/list.js.map +1 -1
- package/src/queues/endpoints/nextAnnotation.js +15 -0
- package/src/queues/endpoints/nextAnnotation.js.map +1 -0
- package/src/queues/endpoints/nextAnnotation.schema.js +15 -0
- package/src/queues/endpoints/nextAnnotation.schema.js.map +1 -0
- package/src/queues/endpoints/patch.js.map +1 -1
- package/src/queues/endpoints/suggestedRecipients.js.map +1 -1
- package/src/queues/endpoints/upload.js.map +1 -1
- package/src/queues/models/queueCounts.schema.js +1 -1
- package/src/queues/models/queueSettings.schema.js +2 -0
- package/src/queues/models/queueSettings.schema.js.map +1 -1
- package/src/relations/endpoints/create.js.map +1 -1
- package/src/relations/endpoints/delete.js.map +1 -1
- package/src/relations/endpoints/get.js.map +1 -1
- package/src/relations/endpoints/list.js +1 -1
- package/src/relations/endpoints/list.js.map +1 -1
- package/src/relations/endpoints/patch.js.map +1 -1
- package/src/schemaFields/endpoints/list.js +1 -1
- package/src/schemaFields/endpoints/list.js.map +1 -1
- package/src/schemaFields/endpoints/list.schema.js +3 -2
- package/src/schemaFields/endpoints/list.schema.js.map +1 -1
- package/src/schemas/endpoints/create.js.map +1 -1
- package/src/schemas/endpoints/create.schema.js +1 -1
- package/src/schemas/endpoints/create.schema.js.map +1 -1
- package/src/schemas/endpoints/get.js.map +1 -1
- package/src/schemas/endpoints/list.js +1 -1
- package/src/schemas/endpoints/list.js.map +1 -1
- package/src/schemas/endpoints/patch.js.map +1 -1
- package/src/{organization/models/allDocumentsDashboard.js → shared/annotationListTable.js} +1 -1
- package/src/shared/annotationListTable.js.map +1 -0
- package/src/shared/annotationListTable.schema.js +70 -0
- package/src/shared/annotationListTable.schema.js.map +1 -0
- package/src/shared/annotationStatus.js.map +1 -0
- package/src/{models → shared}/annotationStatus.schema.js.map +1 -1
- package/src/shared/index.js.map +1 -0
- package/src/{models → shared}/message.js.map +1 -1
- package/src/{models → shared}/message.schema.js +1 -1
- package/src/{models → shared}/message.schema.js.map +1 -1
- package/src/suggestedEdit/endpoints/get.js.map +1 -1
- package/src/surveys/endpoints/fromTemplate.js.map +1 -1
- package/src/surveys/endpoints/get.js.map +1 -1
- package/src/surveys/endpoints/list.js.map +1 -1
- package/src/surveys/endpoints/patch.js.map +1 -1
- package/src/tasks/endpoints/get.js.map +1 -1
- package/src/triggers/endpoints/create.js.map +1 -1
- package/src/triggers/endpoints/create.schema.js +1 -1
- package/src/triggers/endpoints/create.schema.js.map +1 -1
- package/src/triggers/endpoints/delete.js.map +1 -1
- package/src/triggers/endpoints/get.js.map +1 -1
- package/src/triggers/endpoints/patch.js.map +1 -1
- package/src/uploads/endpoints/get.js +13 -0
- package/src/uploads/endpoints/get.js.map +1 -0
- package/src/uploads/endpoints/index.js +2 -0
- package/src/uploads/endpoints/index.js.map +1 -1
- package/src/uploads/endpoints/post.js +3 -1
- package/src/uploads/endpoints/post.js.map +1 -1
- package/src/uploads/models/index.js +18 -0
- package/src/uploads/models/index.js.map +1 -0
- package/src/uploads/models/upload.js +3 -0
- package/src/uploads/models/upload.js.map +1 -0
- package/src/uploads/models/upload.schema.js +18 -0
- package/src/uploads/models/upload.schema.js.map +1 -0
- package/src/users/endpoints/create.js.map +1 -1
- package/src/users/endpoints/delete.js.map +1 -1
- package/src/users/endpoints/get.js.map +1 -1
- package/src/users/endpoints/list.js +1 -1
- package/src/users/endpoints/list.js.map +1 -1
- package/src/users/endpoints/patch.js.map +1 -1
- package/src/users/endpoints/resetPassword.js.map +1 -1
- package/src/utils/codecUtils.js +1 -8
- package/src/utils/codecUtils.js.map +1 -1
- package/src/utils/codecUtils.schema.js +1 -5
- package/src/utils/codecUtils.schema.js.map +1 -1
- package/src/utils/keyConvertor.js +1 -16
- package/src/utils/keyConvertor.js.map +1 -1
- package/src/utils/requestConfig.js.map +1 -1
- package/src/workflowActivities/endpoints/get.js.map +1 -1
- package/src/workflowActivities/endpoints/list.js +1 -1
- package/src/workflowActivities/endpoints/list.js.map +1 -1
- package/src/workflowRuns/endpoints/get.js.map +1 -1
- package/src/workflowRuns/endpoints/list.js.map +1 -1
- package/src/workflowRuns/endpoints/reset.js.map +1 -1
- package/src/workflowSteps/endpoints/get.js.map +1 -1
- package/src/workflowSteps/endpoints/list.js.map +1 -1
- package/src/workflows/endpoints/get.js.map +1 -1
- package/src/workflows/endpoints/list.js.map +1 -1
- package/src/workspaces/endpoints/create.js.map +1 -1
- package/src/workspaces/endpoints/delete.js.map +1 -1
- package/src/workspaces/endpoints/list.js.map +1 -1
- package/src/workspaces/endpoints/patch.js +2 -2
- package/src/workspaces/endpoints/patch.js.map +1 -1
- package/src/workspaces/endpoints/patch.schema.js +2 -4
- package/src/workspaces/endpoints/patch.schema.js.map +1 -1
- package/types/index.d.ts +59177 -282
- package/types/knip.d.ts +7 -0
- package/types/src/annotations/endpoints/approve.d.ts +14 -2
- package/types/src/annotations/endpoints/assign.d.ts +20 -2
- package/types/src/annotations/endpoints/cancelEditPages.d.ts +55 -2
- package/types/src/annotations/endpoints/confirm.d.ts +6 -2
- package/types/src/annotations/endpoints/copy.d.ts +22 -2
- package/types/src/annotations/endpoints/delete.d.ts +6 -2
- package/types/src/annotations/endpoints/editPages.d.ts +148 -2
- package/types/src/annotations/endpoints/editPagesInPlace.d.ts +93 -2
- package/types/src/annotations/endpoints/exportAnnotationCrossQueue.d.ts +35 -2
- package/types/src/annotations/endpoints/get.d.ts +207 -3
- package/types/src/annotations/endpoints/getContent.d.ts +3078 -3
- package/types/src/annotations/endpoints/index.d.ts +7200 -34
- package/types/src/annotations/endpoints/list.d.ts +937 -4
- package/types/src/annotations/endpoints/patch.d.ts +411 -2
- package/types/src/annotations/endpoints/patch.schema.d.ts +25 -7
- package/types/src/annotations/endpoints/postpone.d.ts +6 -2
- package/types/src/annotations/endpoints/purge.d.ts +20 -2
- package/types/src/annotations/endpoints/reject.d.ts +14 -2
- package/types/src/annotations/endpoints/search.d.ts +957 -3
- package/types/src/annotations/endpoints/split.d.ts +71 -2
- package/types/src/annotations/endpoints/start.d.ts +22 -3
- package/types/src/annotations/endpoints/startEditPages.d.ts +114 -3
- package/types/src/annotations/endpoints/startEmbedded.d.ts +22 -2
- package/types/src/annotations/endpoints/updateContent.d.ts +128 -3
- package/types/src/annotations/endpoints/usageReportExport.d.ts +359 -4
- package/types/src/annotations/endpoints/validate.d.ts +539 -2
- package/types/src/annotations/models/annotation.d.ts +8 -2
- package/types/src/annotations/models/annotation.schema.d.ts +25 -7
- package/types/src/annotations/models/annotationListResponse.d.ts +39 -9
- package/types/src/annotations/models/editPages.d.ts +1 -1
- package/types/src/authentication/endpoints/getMembershipToken.d.ts +22 -2
- package/types/src/authentication/endpoints/index.d.ts +369 -8
- package/types/src/authentication/endpoints/login.d.ts +29 -3
- package/types/src/authentication/endpoints/password/change.d.ts +25 -2
- package/types/src/authentication/endpoints/password/confirm.d.ts +27 -2
- package/types/src/authentication/endpoints/password/reset.d.ts +21 -2
- package/types/src/authentication/endpoints/password/score.d.ts +32 -2
- package/types/src/authentication/endpoints/patch.d.ts +129 -0
- package/types/src/authentication/endpoints/patch.schema.d.ts +62 -0
- package/types/src/authentication/endpoints/token.d.ts +23 -3
- package/types/src/authentication/endpoints/user.d.ts +65 -3
- package/types/src/automationBlockers/endpoints/get.d.ts +148 -3
- package/types/src/automationBlockers/endpoints/index.d.ts +148 -1
- package/types/src/billing/endpoints/getHistory.d.ts +150 -3
- package/types/src/billing/endpoints/getHistoryExport.d.ts +5 -2
- package/types/src/billing/endpoints/getStats.d.ts +194 -3
- package/types/src/billing/endpoints/getStatsExport.d.ts +53 -2
- package/types/src/connectors/endpoints/create.d.ts +61 -3
- package/types/src/connectors/endpoints/delete.d.ts +6 -2
- package/types/src/connectors/endpoints/index.d.ts +193 -3
- package/types/src/connectors/endpoints/list.d.ts +127 -4
- package/types/src/dedicatedEngineSchema/endpoints/create.d.ts +632 -3
- package/types/src/dedicatedEngineSchema/endpoints/get.d.ts +619 -3
- package/types/src/dedicatedEngineSchema/endpoints/index.d.ts +3690 -41
- package/types/src/dedicatedEngineSchema/endpoints/patch.d.ts +1051 -3
- package/types/src/dedicatedEngineSchema/endpoints/predict.d.ts +611 -2
- package/types/src/dedicatedEngineSchema/endpoints/validate.d.ts +781 -3
- package/types/src/dedicatedEngines/endpoints/create.d.ts +34 -3
- package/types/src/dedicatedEngines/endpoints/get.d.ts +36 -3
- package/types/src/dedicatedEngines/endpoints/index.d.ts +266 -14
- package/types/src/dedicatedEngines/endpoints/list.d.ts +109 -4
- package/types/src/dedicatedEngines/endpoints/patch.d.ts +40 -3
- package/types/src/dedicatedEngines/endpoints/request.d.ts +47 -3
- package/types/src/deleteRecommendations/endpoints/create.d.ts +40 -3
- package/types/src/deleteRecommendations/endpoints/get.d.ts +26 -3
- package/types/src/deleteRecommendations/endpoints/index.d.ts +192 -8
- package/types/src/deleteRecommendations/endpoints/list.d.ts +82 -4
- package/types/src/deleteRecommendations/endpoints/patch.d.ts +44 -3
- package/types/src/documents/endpoints/downloads.d.ts +38 -3
- package/types/src/documents/endpoints/downloads.schema.d.ts +3 -3
- package/types/src/documents/endpoints/get.d.ts +50 -3
- package/types/src/documents/endpoints/getBlob.d.ts +5 -2
- package/types/src/documents/endpoints/index.d.ts +341 -5
- package/types/src/documents/endpoints/list.d.ts +152 -4
- package/types/src/documents/endpoints/patch.d.ts +97 -2
- package/types/src/email/endpoints/get.d.ts +176 -3
- package/types/src/email/endpoints/index.d.ts +665 -3
- package/types/src/email/endpoints/list.d.ts +368 -4
- package/types/src/email/endpoints/send.d.ts +121 -2
- package/types/src/emailTemplates/endpoints/create.d.ts +263 -3
- package/types/src/emailTemplates/endpoints/delete.d.ts +6 -2
- package/types/src/emailTemplates/endpoints/get.d.ts +179 -3
- package/types/src/emailTemplates/endpoints/index.d.ts +1106 -6
- package/types/src/emailTemplates/endpoints/list.d.ts +325 -4
- package/types/src/emailTemplates/endpoints/patch.d.ts +254 -3
- package/types/src/emailTemplates/endpoints/render.d.ts +82 -3
- package/types/src/emailTemplatesStats/endpoints/index.d.ts +73 -1
- package/types/src/emailTemplatesStats/endpoints/list.d.ts +73 -4
- package/types/src/emailThreads/endpoints/counts.d.ts +29 -0
- package/types/src/emailThreads/endpoints/counts.schema.d.ts +8 -0
- package/types/src/emailThreads/endpoints/get.d.ts +100 -3
- package/types/src/emailThreads/endpoints/index.d.ts +464 -2
- package/types/src/emailThreads/endpoints/list.d.ts +245 -0
- package/types/src/emailThreads/endpoints/list.schema.d.ts +47 -0
- package/types/src/emailThreads/endpoints/patch.d.ts +108 -3
- package/types/src/emailThreads/models/emailThreads.d.ts +9 -4
- package/types/src/emailThreads/models/emailThreads.schema.d.ts +29 -16
- package/types/src/genericEngines/endpoints/get.d.ts +40 -0
- package/types/src/genericEngines/endpoints/get.schema.d.ts +8 -0
- package/types/src/genericEngines/endpoints/index.d.ts +147 -1
- package/types/src/genericEngines/endpoints/list.d.ts +109 -4
- package/types/src/groups/endpoints/index.d.ts +59 -1
- package/types/src/groups/endpoints/list.d.ts +59 -4
- package/types/src/hookTemplates/endpoints/index.d.ts +579 -1
- package/types/src/hookTemplates/endpoints/list.d.ts +579 -4
- package/types/src/hooks/endpoints/create.d.ts +558 -3
- package/types/src/hooks/endpoints/delete.d.ts +6 -2
- package/types/src/hooks/endpoints/get.d.ts +321 -3
- package/types/src/hooks/endpoints/getSecretsKeys.d.ts +5 -2
- package/types/src/hooks/endpoints/index.d.ts +2609 -9
- package/types/src/hooks/endpoints/invoke.d.ts +7 -2
- package/types/src/hooks/endpoints/list.d.ts +540 -4
- package/types/src/hooks/endpoints/logs.d.ts +391 -2
- package/types/src/hooks/endpoints/patch.d.ts +653 -3
- package/types/src/hooks/endpoints/test.d.ts +131 -3
- package/types/src/hooks/endpoints/test.schema.d.ts +1 -1
- package/types/src/inboxes/endpoints/create.d.ts +95 -3
- package/types/src/inboxes/endpoints/get.d.ts +65 -3
- package/types/src/inboxes/endpoints/index.d.ts +400 -4
- package/types/src/inboxes/endpoints/list.d.ts +143 -4
- package/types/src/inboxes/endpoints/patch.d.ts +97 -3
- package/types/src/internal/endpoints/domainSettings.d.ts +44 -2
- package/types/src/internal/endpoints/generateRejectionEmail.d.ts +60 -2
- package/types/src/internal/endpoints/index.d.ts +145 -4
- package/types/src/internal/endpoints/requestDemo.d.ts +20 -2
- package/types/src/internal/endpoints/requestExtension.d.ts +23 -2
- package/types/src/labels/endpoints/apply.d.ts +42 -2
- package/types/src/labels/endpoints/create.d.ts +25 -3
- package/types/src/labels/endpoints/delete.d.ts +6 -2
- package/types/src/labels/endpoints/index.d.ts +166 -5
- package/types/src/labels/endpoints/list.d.ts +70 -4
- package/types/src/labels/endpoints/patch.d.ts +25 -3
- package/types/src/manage/endpoints/chameleon.d.ts +11 -2
- package/types/src/manage/endpoints/index.d.ts +11 -1
- package/types/src/memberships/endpoints/create.d.ts +40 -3
- package/types/src/memberships/endpoints/index.d.ts +40 -1
- package/types/src/organization/endpoints/create.d.ts +279 -3
- package/types/src/organization/endpoints/create.schema.d.ts +159 -1
- package/types/src/organization/endpoints/get.d.ts +173 -3
- package/types/src/organization/endpoints/index.d.ts +1250 -32
- package/types/src/organization/endpoints/limits.d.ts +56 -3
- package/types/src/organization/endpoints/patch.d.ts +345 -22
- package/types/src/organization/endpoints/patch.schema.d.ts +158 -45
- package/types/src/organization/models/organization.d.ts +4 -0
- package/types/src/organization/models/organization.schema.d.ts +126 -0
- package/types/src/organizationGroups/endpoints/index.d.ts +648 -23
- package/types/src/organizationGroups/endpoints/organizations.d.ts +73 -4
- package/types/src/organizationGroups/endpoints/queues.d.ts +90 -4
- package/types/src/organizationGroups/endpoints/workspaces.d.ts +85 -4
- package/types/src/queues/endpoints/automation.d.ts +162 -2
- package/types/src/queues/endpoints/create.d.ts +593 -3
- package/types/src/queues/endpoints/createFromTemplate.d.ts +593 -3
- package/types/src/queues/endpoints/delete.d.ts +14 -2
- package/types/src/queues/endpoints/duplicate.d.ts +599 -3
- package/types/src/queues/endpoints/exportAnnotation.d.ts +23 -2
- package/types/src/queues/endpoints/get.d.ts +586 -3
- package/types/src/queues/endpoints/getRelatedObjectsCounts.d.ts +17 -3
- package/types/src/queues/endpoints/index.d.ts +4652 -20
- package/types/src/queues/endpoints/list.d.ts +809 -3
- package/types/src/queues/endpoints/nextAnnotation.d.ts +35 -0
- package/types/src/queues/endpoints/nextAnnotation.schema.d.ts +21 -0
- package/types/src/queues/endpoints/patch.d.ts +1149 -2
- package/types/src/queues/endpoints/patch.schema.d.ts +118 -0
- package/types/src/queues/endpoints/suggestedRecipients.d.ts +42 -2
- package/types/src/queues/endpoints/upload.d.ts +39 -2
- package/types/src/queues/models/queue.schema.d.ts +118 -0
- package/types/src/queues/models/queueSettings.d.ts +2 -0
- package/types/src/queues/models/queueSettings.schema.d.ts +90 -0
- package/types/src/relations/endpoints/create.d.ts +92 -3
- package/types/src/relations/endpoints/delete.d.ts +6 -2
- package/types/src/relations/endpoints/get.d.ts +77 -3
- package/types/src/relations/endpoints/index.d.ts +449 -5
- package/types/src/relations/endpoints/list.d.ts +183 -4
- package/types/src/relations/endpoints/patch.d.ts +95 -3
- package/types/src/schemaFields/endpoints/index.d.ts +48 -1
- package/types/src/schemaFields/endpoints/list.d.ts +50 -3
- package/types/src/schemaFields/endpoints/list.schema.d.ts +4 -1
- package/types/src/schemas/endpoints/create.d.ts +6032 -4
- package/types/src/schemas/endpoints/create.schema.d.ts +1 -1
- package/types/src/schemas/endpoints/get.d.ts +6030 -3
- package/types/src/schemas/endpoints/index.d.ts +31397 -6
- package/types/src/schemas/endpoints/list.d.ts +7299 -4
- package/types/src/schemas/endpoints/patch.d.ts +12037 -2
- package/types/src/shared/annotationListTable.d.ts +31 -0
- package/types/src/shared/annotationListTable.schema.d.ts +198 -0
- package/types/src/{models → shared}/message.d.ts +1 -1
- package/types/src/{models → shared}/message.schema.d.ts +5 -5
- package/types/src/suggestedEdit/endpoints/get.d.ts +51 -3
- package/types/src/suggestedEdit/endpoints/index.d.ts +51 -1
- package/types/src/surveys/endpoints/fromTemplate.d.ts +60 -3
- package/types/src/surveys/endpoints/get.d.ts +50 -3
- package/types/src/surveys/endpoints/index.d.ts +306 -4
- package/types/src/surveys/endpoints/list.d.ts +124 -4
- package/types/src/surveys/endpoints/patch.d.ts +72 -3
- package/types/src/tasks/endpoints/get.d.ts +59 -3
- package/types/src/tasks/endpoints/index.d.ts +59 -1
- package/types/src/triggers/endpoints/create.d.ts +51 -4
- package/types/src/triggers/endpoints/create.schema.d.ts +1 -1
- package/types/src/triggers/endpoints/delete.d.ts +6 -2
- package/types/src/triggers/endpoints/get.d.ts +29 -3
- package/types/src/triggers/endpoints/index.d.ts +138 -10
- package/types/src/triggers/endpoints/patch.d.ts +56 -3
- package/types/src/uploads/endpoints/get.d.ts +38 -0
- package/types/src/uploads/endpoints/index.d.ts +65 -1
- package/types/src/uploads/endpoints/post.d.ts +28 -2
- package/types/src/uploads/models/index.d.ts +1 -0
- package/types/src/uploads/models/upload.d.ts +13 -0
- package/types/src/uploads/models/upload.schema.d.ts +35 -0
- package/types/src/users/endpoints/create.d.ts +103 -3
- package/types/src/users/endpoints/delete.d.ts +6 -2
- package/types/src/users/endpoints/get.d.ts +65 -3
- package/types/src/users/endpoints/index.d.ts +505 -6
- package/types/src/users/endpoints/list.d.ts +186 -4
- package/types/src/users/endpoints/patch.d.ts +127 -2
- package/types/src/users/endpoints/resetPassword.d.ts +19 -3
- package/types/src/utils/client.d.ts +0 -1
- package/types/src/utils/codecUtils.d.ts +0 -10
- package/types/src/utils/codecUtils.schema.d.ts +0 -7
- package/types/src/utils/keyConvertor.d.ts +1 -17
- package/types/src/utils/requestConfig.d.ts +4 -8
- package/types/src/workflowActivities/endpoints/get.d.ts +45 -3
- package/types/src/workflowActivities/endpoints/index.d.ts +165 -2
- package/types/src/workflowActivities/endpoints/list.d.ts +121 -4
- package/types/src/workflowRuns/endpoints/get.d.ts +27 -3
- package/types/src/workflowRuns/endpoints/index.d.ts +133 -3
- package/types/src/workflowRuns/endpoints/list.d.ts +95 -4
- package/types/src/workflowRuns/endpoints/reset.d.ts +14 -2
- package/types/src/workflowSteps/endpoints/get.d.ts +33 -3
- package/types/src/workflowSteps/endpoints/index.d.ts +136 -2
- package/types/src/workflowSteps/endpoints/list.d.ts +104 -4
- package/types/src/workflows/endpoints/get.d.ts +26 -3
- package/types/src/workflows/endpoints/index.d.ts +117 -2
- package/types/src/workflows/endpoints/list.d.ts +91 -4
- package/types/src/workspaces/endpoints/create.d.ts +40 -3
- package/types/src/workspaces/endpoints/delete.d.ts +6 -2
- package/types/src/workspaces/endpoints/index.d.ts +184 -4
- package/types/src/workspaces/endpoints/list.d.ts +102 -4
- package/types/src/workspaces/endpoints/patch.d.ts +39 -6
- package/types/src/workspaces/endpoints/patch.schema.d.ts +1 -4
- package/src/models/annotationStatus.js.map +0 -1
- package/src/models/index.js.map +0 -1
- package/src/organization/models/allDocumentsDashboard.js.map +0 -1
- package/src/organization/models/allDocumentsDashboard.schema.js +0 -36
- package/src/organization/models/allDocumentsDashboard.schema.js.map +0 -1
- package/types/src/organization/models/allDocumentsDashboard.d.ts +0 -17
- package/types/src/organization/models/allDocumentsDashboard.schema.d.ts +0 -80
- /package/src/{models → shared}/annotationStatus.js +0 -0
- /package/src/{models → shared}/annotationStatus.schema.js +0 -0
- /package/src/{models → shared}/index.js +0 -0
- /package/src/{models → shared}/message.js +0 -0
- /package/types/src/{models → shared}/annotationStatus.d.ts +0 -0
- /package/types/src/{models → shared}/annotationStatus.schema.d.ts +0 -0
- /package/types/src/{models → shared}/index.d.ts +0 -0
|
@@ -1,6 +1,186 @@
|
|
|
1
1
|
export declare const workspaces: {
|
|
2
|
-
list: (query?: import("./list").WorkspaceListQuery) =>
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
list: (query?: import("./list").WorkspaceListQuery) => {
|
|
3
|
+
readonly endpoint: "/workspaces";
|
|
4
|
+
readonly method: "GET";
|
|
5
|
+
readonly responseSchema: import("zod").ZodObject<{
|
|
6
|
+
pagination: import("zod").ZodObject<{
|
|
7
|
+
next: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8
|
+
previous: import("zod").ZodNullable<import("zod").ZodString>;
|
|
9
|
+
total: import("zod").ZodNumber;
|
|
10
|
+
totalPages: import("zod").ZodNumber;
|
|
11
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
12
|
+
next: string | null;
|
|
13
|
+
previous: string | null;
|
|
14
|
+
total: number;
|
|
15
|
+
totalPages: number;
|
|
16
|
+
}, {
|
|
17
|
+
next: string | null;
|
|
18
|
+
previous: string | null;
|
|
19
|
+
total: number;
|
|
20
|
+
totalPages: number;
|
|
21
|
+
}>;
|
|
22
|
+
results: import("zod").ZodArray<import("zod").ZodObject<{
|
|
23
|
+
id: import("zod").ZodNumber;
|
|
24
|
+
name: import("zod").ZodString;
|
|
25
|
+
url: import("zod").ZodString;
|
|
26
|
+
autopilot: import("zod").ZodBoolean;
|
|
27
|
+
organization: import("zod").ZodString;
|
|
28
|
+
queues: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
29
|
+
metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
30
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
31
|
+
url: string;
|
|
32
|
+
id: number;
|
|
33
|
+
organization: string;
|
|
34
|
+
name: string;
|
|
35
|
+
queues: string[];
|
|
36
|
+
autopilot: boolean;
|
|
37
|
+
metadata?: unknown;
|
|
38
|
+
}, {
|
|
39
|
+
url: string;
|
|
40
|
+
id: number;
|
|
41
|
+
organization: string;
|
|
42
|
+
name: string;
|
|
43
|
+
queues: string[];
|
|
44
|
+
autopilot: boolean;
|
|
45
|
+
metadata?: unknown;
|
|
46
|
+
}>, "many">;
|
|
47
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
48
|
+
results: {
|
|
49
|
+
url: string;
|
|
50
|
+
id: number;
|
|
51
|
+
organization: string;
|
|
52
|
+
name: string;
|
|
53
|
+
queues: string[];
|
|
54
|
+
autopilot: boolean;
|
|
55
|
+
metadata?: unknown;
|
|
56
|
+
}[];
|
|
57
|
+
pagination: {
|
|
58
|
+
next: string | null;
|
|
59
|
+
previous: string | null;
|
|
60
|
+
total: number;
|
|
61
|
+
totalPages: number;
|
|
62
|
+
};
|
|
63
|
+
}, {
|
|
64
|
+
results: {
|
|
65
|
+
url: string;
|
|
66
|
+
id: number;
|
|
67
|
+
organization: string;
|
|
68
|
+
name: string;
|
|
69
|
+
queues: string[];
|
|
70
|
+
autopilot: boolean;
|
|
71
|
+
metadata?: unknown;
|
|
72
|
+
}[];
|
|
73
|
+
pagination: {
|
|
74
|
+
next: string | null;
|
|
75
|
+
previous: string | null;
|
|
76
|
+
total: number;
|
|
77
|
+
totalPages: number;
|
|
78
|
+
};
|
|
79
|
+
}>;
|
|
80
|
+
readonly query: import("./list").WorkspaceListQuery;
|
|
81
|
+
readonly querySchema: import("zod").ZodIntersection<import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
82
|
+
pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
83
|
+
page: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
84
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
85
|
+
pageSize?: number | undefined;
|
|
86
|
+
page?: number | undefined;
|
|
87
|
+
}, {
|
|
88
|
+
pageSize?: number | undefined;
|
|
89
|
+
page?: number | undefined;
|
|
90
|
+
}>, import("zod").ZodObject<{
|
|
91
|
+
fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
92
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
93
|
+
fields?: string[] | undefined;
|
|
94
|
+
}, {
|
|
95
|
+
fields?: string[] | undefined;
|
|
96
|
+
}>>, import("zod").ZodObject<{
|
|
97
|
+
ordering: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
98
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
99
|
+
ordering?: string[] | undefined;
|
|
100
|
+
}, {
|
|
101
|
+
ordering?: string[] | undefined;
|
|
102
|
+
}>>;
|
|
103
|
+
};
|
|
104
|
+
create: (payload: import("./create").CreateWorkspacePayload) => {
|
|
105
|
+
readonly endpoint: "/workspaces";
|
|
106
|
+
readonly method: "POST";
|
|
107
|
+
readonly responseSchema: import("zod").ZodObject<{
|
|
108
|
+
id: import("zod").ZodNumber;
|
|
109
|
+
name: import("zod").ZodString;
|
|
110
|
+
url: import("zod").ZodString;
|
|
111
|
+
autopilot: import("zod").ZodBoolean;
|
|
112
|
+
organization: import("zod").ZodString;
|
|
113
|
+
queues: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
114
|
+
metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
115
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
116
|
+
url: string;
|
|
117
|
+
id: number;
|
|
118
|
+
organization: string;
|
|
119
|
+
name: string;
|
|
120
|
+
queues: string[];
|
|
121
|
+
autopilot: boolean;
|
|
122
|
+
metadata?: unknown;
|
|
123
|
+
}, {
|
|
124
|
+
url: string;
|
|
125
|
+
id: number;
|
|
126
|
+
organization: string;
|
|
127
|
+
name: string;
|
|
128
|
+
queues: string[];
|
|
129
|
+
autopilot: boolean;
|
|
130
|
+
metadata?: unknown;
|
|
131
|
+
}>;
|
|
132
|
+
readonly payloadSchema: import("zod").ZodObject<{
|
|
133
|
+
name: import("zod").ZodString;
|
|
134
|
+
organization: import("zod").ZodString;
|
|
135
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
136
|
+
organization: string;
|
|
137
|
+
name: string;
|
|
138
|
+
}, {
|
|
139
|
+
organization: string;
|
|
140
|
+
name: string;
|
|
141
|
+
}>;
|
|
142
|
+
readonly payload: import("./create").CreateWorkspacePayload;
|
|
143
|
+
};
|
|
144
|
+
delete: (workspaceId: number) => {
|
|
145
|
+
readonly endpoint: `/workspaces/${number}`;
|
|
146
|
+
readonly method: "DELETE";
|
|
147
|
+
readonly responseSchema: import("zod").ZodUnknown;
|
|
148
|
+
};
|
|
149
|
+
patch: (workspaceId: number, payload: import("./patch").PatchWorkspacePayload) => {
|
|
150
|
+
readonly endpoint: `/workspaces/${number}`;
|
|
151
|
+
readonly method: "PATCH";
|
|
152
|
+
readonly responseSchema: import("zod").ZodObject<{
|
|
153
|
+
id: import("zod").ZodNumber;
|
|
154
|
+
name: import("zod").ZodString;
|
|
155
|
+
url: import("zod").ZodString;
|
|
156
|
+
autopilot: import("zod").ZodBoolean;
|
|
157
|
+
organization: import("zod").ZodString;
|
|
158
|
+
queues: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
159
|
+
metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
160
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
161
|
+
url: string;
|
|
162
|
+
id: number;
|
|
163
|
+
organization: string;
|
|
164
|
+
name: string;
|
|
165
|
+
queues: string[];
|
|
166
|
+
autopilot: boolean;
|
|
167
|
+
metadata?: unknown;
|
|
168
|
+
}, {
|
|
169
|
+
url: string;
|
|
170
|
+
id: number;
|
|
171
|
+
organization: string;
|
|
172
|
+
name: string;
|
|
173
|
+
queues: string[];
|
|
174
|
+
autopilot: boolean;
|
|
175
|
+
metadata?: unknown;
|
|
176
|
+
}>;
|
|
177
|
+
readonly payloadSchema: import("zod").ZodObject<{
|
|
178
|
+
name: import("zod").ZodString;
|
|
179
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
180
|
+
name: string;
|
|
181
|
+
}, {
|
|
182
|
+
name: string;
|
|
183
|
+
}>;
|
|
184
|
+
readonly payload: import("./patch").PatchWorkspacePayload;
|
|
185
|
+
};
|
|
6
186
|
};
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { ListResponse } from '../../utils/listResponse';
|
|
2
|
-
import { ElisRequestConfig } from '../../utils/requestConfig';
|
|
3
|
-
import { Workspace } from '../models/workspace';
|
|
4
1
|
export type WorkspaceListQuery = Partial<{
|
|
5
2
|
pageSize: number;
|
|
6
3
|
page: number;
|
|
@@ -9,4 +6,105 @@ export type WorkspaceListQuery = Partial<{
|
|
|
9
6
|
}> & Partial<{
|
|
10
7
|
ordering: string[];
|
|
11
8
|
}>;
|
|
12
|
-
export declare const list: (query?: WorkspaceListQuery) =>
|
|
9
|
+
export declare const list: (query?: WorkspaceListQuery) => {
|
|
10
|
+
readonly endpoint: "/workspaces";
|
|
11
|
+
readonly method: "GET";
|
|
12
|
+
readonly responseSchema: import("zod").ZodObject<{
|
|
13
|
+
pagination: import("zod").ZodObject<{
|
|
14
|
+
next: import("zod").ZodNullable<import("zod").ZodString>;
|
|
15
|
+
previous: import("zod").ZodNullable<import("zod").ZodString>;
|
|
16
|
+
total: import("zod").ZodNumber;
|
|
17
|
+
totalPages: import("zod").ZodNumber;
|
|
18
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
19
|
+
next: string | null;
|
|
20
|
+
previous: string | null;
|
|
21
|
+
total: number;
|
|
22
|
+
totalPages: number;
|
|
23
|
+
}, {
|
|
24
|
+
next: string | null;
|
|
25
|
+
previous: string | null;
|
|
26
|
+
total: number;
|
|
27
|
+
totalPages: number;
|
|
28
|
+
}>;
|
|
29
|
+
results: import("zod").ZodArray<import("zod").ZodObject<{
|
|
30
|
+
id: import("zod").ZodNumber;
|
|
31
|
+
name: import("zod").ZodString;
|
|
32
|
+
url: import("zod").ZodString;
|
|
33
|
+
autopilot: import("zod").ZodBoolean;
|
|
34
|
+
organization: import("zod").ZodString;
|
|
35
|
+
queues: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
36
|
+
metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
37
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
38
|
+
url: string;
|
|
39
|
+
id: number;
|
|
40
|
+
organization: string;
|
|
41
|
+
name: string;
|
|
42
|
+
queues: string[];
|
|
43
|
+
autopilot: boolean;
|
|
44
|
+
metadata?: unknown;
|
|
45
|
+
}, {
|
|
46
|
+
url: string;
|
|
47
|
+
id: number;
|
|
48
|
+
organization: string;
|
|
49
|
+
name: string;
|
|
50
|
+
queues: string[];
|
|
51
|
+
autopilot: boolean;
|
|
52
|
+
metadata?: unknown;
|
|
53
|
+
}>, "many">;
|
|
54
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
55
|
+
results: {
|
|
56
|
+
url: string;
|
|
57
|
+
id: number;
|
|
58
|
+
organization: string;
|
|
59
|
+
name: string;
|
|
60
|
+
queues: string[];
|
|
61
|
+
autopilot: boolean;
|
|
62
|
+
metadata?: unknown;
|
|
63
|
+
}[];
|
|
64
|
+
pagination: {
|
|
65
|
+
next: string | null;
|
|
66
|
+
previous: string | null;
|
|
67
|
+
total: number;
|
|
68
|
+
totalPages: number;
|
|
69
|
+
};
|
|
70
|
+
}, {
|
|
71
|
+
results: {
|
|
72
|
+
url: string;
|
|
73
|
+
id: number;
|
|
74
|
+
organization: string;
|
|
75
|
+
name: string;
|
|
76
|
+
queues: string[];
|
|
77
|
+
autopilot: boolean;
|
|
78
|
+
metadata?: unknown;
|
|
79
|
+
}[];
|
|
80
|
+
pagination: {
|
|
81
|
+
next: string | null;
|
|
82
|
+
previous: string | null;
|
|
83
|
+
total: number;
|
|
84
|
+
totalPages: number;
|
|
85
|
+
};
|
|
86
|
+
}>;
|
|
87
|
+
readonly query: WorkspaceListQuery;
|
|
88
|
+
readonly querySchema: import("zod").ZodIntersection<import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
89
|
+
pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
90
|
+
page: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
91
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
92
|
+
pageSize?: number | undefined;
|
|
93
|
+
page?: number | undefined;
|
|
94
|
+
}, {
|
|
95
|
+
pageSize?: number | undefined;
|
|
96
|
+
page?: number | undefined;
|
|
97
|
+
}>, import("zod").ZodObject<{
|
|
98
|
+
fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
99
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
100
|
+
fields?: string[] | undefined;
|
|
101
|
+
}, {
|
|
102
|
+
fields?: string[] | undefined;
|
|
103
|
+
}>>, import("zod").ZodObject<{
|
|
104
|
+
ordering: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
105
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
106
|
+
ordering?: string[] | undefined;
|
|
107
|
+
}, {
|
|
108
|
+
ordering?: string[] | undefined;
|
|
109
|
+
}>>;
|
|
110
|
+
};
|
|
@@ -1,8 +1,41 @@
|
|
|
1
|
-
import { ID
|
|
2
|
-
|
|
3
|
-
import { Workspace } from '../models';
|
|
4
|
-
export type CreateWorkspacePayload = {
|
|
1
|
+
import { ID } from '../../utils/codecUtils';
|
|
2
|
+
export type PatchWorkspacePayload = {
|
|
5
3
|
name: string;
|
|
6
|
-
organization: Url;
|
|
7
4
|
};
|
|
8
|
-
export declare const patch: (workspaceId: ID, payload:
|
|
5
|
+
export declare const patch: (workspaceId: ID, payload: PatchWorkspacePayload) => {
|
|
6
|
+
readonly endpoint: `/workspaces/${number}`;
|
|
7
|
+
readonly method: "PATCH";
|
|
8
|
+
readonly responseSchema: import("zod").ZodObject<{
|
|
9
|
+
id: import("zod").ZodNumber;
|
|
10
|
+
name: import("zod").ZodString;
|
|
11
|
+
url: import("zod").ZodString;
|
|
12
|
+
autopilot: import("zod").ZodBoolean;
|
|
13
|
+
organization: import("zod").ZodString;
|
|
14
|
+
queues: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
15
|
+
metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
16
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
17
|
+
url: string;
|
|
18
|
+
id: number;
|
|
19
|
+
organization: string;
|
|
20
|
+
name: string;
|
|
21
|
+
queues: string[];
|
|
22
|
+
autopilot: boolean;
|
|
23
|
+
metadata?: unknown;
|
|
24
|
+
}, {
|
|
25
|
+
url: string;
|
|
26
|
+
id: number;
|
|
27
|
+
organization: string;
|
|
28
|
+
name: string;
|
|
29
|
+
queues: string[];
|
|
30
|
+
autopilot: boolean;
|
|
31
|
+
metadata?: unknown;
|
|
32
|
+
}>;
|
|
33
|
+
readonly payloadSchema: import("zod").ZodObject<{
|
|
34
|
+
name: import("zod").ZodString;
|
|
35
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
36
|
+
name: string;
|
|
37
|
+
}, {
|
|
38
|
+
name: string;
|
|
39
|
+
}>;
|
|
40
|
+
readonly payload: PatchWorkspacePayload;
|
|
41
|
+
};
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const patchWorkspacePayloadSchema: z.ZodObject<{
|
|
3
3
|
name: z.ZodString;
|
|
4
|
-
organization: z.ZodString;
|
|
5
4
|
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
organization: string;
|
|
7
5
|
name: string;
|
|
8
6
|
}, {
|
|
9
|
-
organization: string;
|
|
10
7
|
name: string;
|
|
11
8
|
}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"annotationStatus.js","sourceRoot":"","sources":["../../../src/models/annotationStatus.ts"],"names":[],"mappings":""}
|
package/src/models/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"allDocumentsDashboard.js","sourceRoot":"","sources":["../../../../src/organization/models/allDocumentsDashboard.ts"],"names":[],"mappings":""}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.allDocumentsDashboardSchema = exports.columnsOrderSchema = exports.columnsVisibilitySchema = exports.columnsWidthSchema = exports.dashboardColumnsSchema = exports.dashboardColumnSchema = exports.schemaColumnSchema = exports.metaFieldSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.metaFieldSchema = zod_1.z.union([
|
|
6
|
-
zod_1.z.literal('status'),
|
|
7
|
-
zod_1.z.literal('original_file_name'),
|
|
8
|
-
zod_1.z.literal('created_at'),
|
|
9
|
-
zod_1.z.literal('modified_at'),
|
|
10
|
-
zod_1.z.literal('modifier__username'),
|
|
11
|
-
zod_1.z.literal('queue'),
|
|
12
|
-
zod_1.z.literal('labels'),
|
|
13
|
-
]);
|
|
14
|
-
exports.schemaColumnSchema = zod_1.z.object({
|
|
15
|
-
column_type: zod_1.z.literal('schema_id'),
|
|
16
|
-
field: zod_1.z.string(),
|
|
17
|
-
data_type: zod_1.z.union([
|
|
18
|
-
zod_1.z.literal('number'),
|
|
19
|
-
zod_1.z.literal('string'),
|
|
20
|
-
zod_1.z.literal('date'),
|
|
21
|
-
]),
|
|
22
|
-
});
|
|
23
|
-
exports.dashboardColumnSchema = exports.schemaColumnSchema;
|
|
24
|
-
exports.dashboardColumnsSchema = zod_1.z.array(exports.dashboardColumnSchema);
|
|
25
|
-
exports.columnsWidthSchema = zod_1.z.record(zod_1.z.number());
|
|
26
|
-
exports.columnsVisibilitySchema = zod_1.z.record(zod_1.z.boolean());
|
|
27
|
-
exports.columnsOrderSchema = zod_1.z.array(zod_1.z.string());
|
|
28
|
-
exports.allDocumentsDashboardSchema = zod_1.z
|
|
29
|
-
.object({
|
|
30
|
-
columns: exports.dashboardColumnsSchema,
|
|
31
|
-
width: exports.columnsWidthSchema,
|
|
32
|
-
visibility: exports.columnsVisibilitySchema,
|
|
33
|
-
order: exports.columnsOrderSchema,
|
|
34
|
-
})
|
|
35
|
-
.partial();
|
|
36
|
-
//# sourceMappingURL=allDocumentsDashboard.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"allDocumentsDashboard.schema.js","sourceRoot":"","sources":["../../../../src/organization/models/allDocumentsDashboard.schema.ts"],"names":[],"mappings":";;;AACA,6BAAwB;AAEX,QAAA,eAAe,GAAG,OAAC,CAAC,KAAK,CAAC;IACrC,OAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;IACnB,OAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC;IAC/B,OAAC,CAAC,OAAO,CAAC,YAAY,CAAC;IACvB,OAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IACxB,OAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC;IAC/B,OAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IAClB,OAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;CACpB,CAAC,CAAC;AAEU,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,WAAW,EAAE,OAAC,CAAC,OAAO,CAAC,WAAW,CAAC;IACnC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC;QACjB,OAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;QACnB,OAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;QACnB,OAAC,CAAC,OAAO,CAAC,MAAM,CAAC;KAClB,CAAC;CACH,CAAC,CAAC;AAEU,QAAA,qBAAqB,GAAG,0BAAkB,CAAC;AAE3C,QAAA,sBAAsB,GAAG,OAAC,CAAC,KAAK,CAAC,6BAAqB,CAAC,CAAC;AAExD,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC;AAE1C,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC;AAEhD,QAAA,kBAAkB,GAAG,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC;AAEzC,QAAA,2BAA2B,GAAG,OAAC;KACzC,MAAM,CAAC;IACN,OAAO,EAAE,8BAAsB;IAC/B,KAAK,EAAE,0BAAkB;IACzB,UAAU,EAAE,+BAAuB;IACnC,KAAK,EAAE,0BAAkB;CAC1B,CAAC;KACD,OAAO,EAAE,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type MetaField = 'status' | 'original_file_name' | 'created_at' | 'modified_at' | 'modifier__username' | 'queue' | 'labels';
|
|
2
|
-
export type SchemaColumn = {
|
|
3
|
-
column_type: 'schema_id';
|
|
4
|
-
field: string;
|
|
5
|
-
data_type: 'number' | 'string' | 'date';
|
|
6
|
-
};
|
|
7
|
-
export type DashboardColumn = SchemaColumn;
|
|
8
|
-
export type DashboardColumns = Array<DashboardColumn>;
|
|
9
|
-
export type ColumnsWidth = Record<string, number>;
|
|
10
|
-
export type ColumnsVisibility = Record<string, boolean>;
|
|
11
|
-
export type ColumnsOrder = Array<string>;
|
|
12
|
-
export type AllDocumentsDashboard = Partial<{
|
|
13
|
-
columns: DashboardColumns;
|
|
14
|
-
width: ColumnsWidth;
|
|
15
|
-
visibility: ColumnsVisibility;
|
|
16
|
-
order: ColumnsOrder;
|
|
17
|
-
}>;
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const metaFieldSchema: z.ZodUnion<[z.ZodLiteral<"status">, z.ZodLiteral<"original_file_name">, z.ZodLiteral<"created_at">, z.ZodLiteral<"modified_at">, z.ZodLiteral<"modifier__username">, z.ZodLiteral<"queue">, z.ZodLiteral<"labels">]>;
|
|
3
|
-
export declare const schemaColumnSchema: z.ZodObject<{
|
|
4
|
-
column_type: z.ZodLiteral<"schema_id">;
|
|
5
|
-
field: z.ZodString;
|
|
6
|
-
data_type: z.ZodUnion<[z.ZodLiteral<"number">, z.ZodLiteral<"string">, z.ZodLiteral<"date">]>;
|
|
7
|
-
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
column_type: "schema_id";
|
|
9
|
-
field: string;
|
|
10
|
-
data_type: "string" | "number" | "date";
|
|
11
|
-
}, {
|
|
12
|
-
column_type: "schema_id";
|
|
13
|
-
field: string;
|
|
14
|
-
data_type: "string" | "number" | "date";
|
|
15
|
-
}>;
|
|
16
|
-
export declare const dashboardColumnSchema: z.ZodObject<{
|
|
17
|
-
column_type: z.ZodLiteral<"schema_id">;
|
|
18
|
-
field: z.ZodString;
|
|
19
|
-
data_type: z.ZodUnion<[z.ZodLiteral<"number">, z.ZodLiteral<"string">, z.ZodLiteral<"date">]>;
|
|
20
|
-
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
column_type: "schema_id";
|
|
22
|
-
field: string;
|
|
23
|
-
data_type: "string" | "number" | "date";
|
|
24
|
-
}, {
|
|
25
|
-
column_type: "schema_id";
|
|
26
|
-
field: string;
|
|
27
|
-
data_type: "string" | "number" | "date";
|
|
28
|
-
}>;
|
|
29
|
-
export declare const dashboardColumnsSchema: z.ZodArray<z.ZodObject<{
|
|
30
|
-
column_type: z.ZodLiteral<"schema_id">;
|
|
31
|
-
field: z.ZodString;
|
|
32
|
-
data_type: z.ZodUnion<[z.ZodLiteral<"number">, z.ZodLiteral<"string">, z.ZodLiteral<"date">]>;
|
|
33
|
-
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
column_type: "schema_id";
|
|
35
|
-
field: string;
|
|
36
|
-
data_type: "string" | "number" | "date";
|
|
37
|
-
}, {
|
|
38
|
-
column_type: "schema_id";
|
|
39
|
-
field: string;
|
|
40
|
-
data_type: "string" | "number" | "date";
|
|
41
|
-
}>, "many">;
|
|
42
|
-
export declare const columnsWidthSchema: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
43
|
-
export declare const columnsVisibilitySchema: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
44
|
-
export declare const columnsOrderSchema: z.ZodArray<z.ZodString, "many">;
|
|
45
|
-
export declare const allDocumentsDashboardSchema: z.ZodObject<{
|
|
46
|
-
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
47
|
-
column_type: z.ZodLiteral<"schema_id">;
|
|
48
|
-
field: z.ZodString;
|
|
49
|
-
data_type: z.ZodUnion<[z.ZodLiteral<"number">, z.ZodLiteral<"string">, z.ZodLiteral<"date">]>;
|
|
50
|
-
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
column_type: "schema_id";
|
|
52
|
-
field: string;
|
|
53
|
-
data_type: "string" | "number" | "date";
|
|
54
|
-
}, {
|
|
55
|
-
column_type: "schema_id";
|
|
56
|
-
field: string;
|
|
57
|
-
data_type: "string" | "number" | "date";
|
|
58
|
-
}>, "many">>;
|
|
59
|
-
width: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
60
|
-
visibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
61
|
-
order: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
62
|
-
}, "strip", z.ZodTypeAny, {
|
|
63
|
-
columns?: {
|
|
64
|
-
column_type: "schema_id";
|
|
65
|
-
field: string;
|
|
66
|
-
data_type: "string" | "number" | "date";
|
|
67
|
-
}[] | undefined;
|
|
68
|
-
width?: Record<string, number> | undefined;
|
|
69
|
-
visibility?: Record<string, boolean> | undefined;
|
|
70
|
-
order?: string[] | undefined;
|
|
71
|
-
}, {
|
|
72
|
-
columns?: {
|
|
73
|
-
column_type: "schema_id";
|
|
74
|
-
field: string;
|
|
75
|
-
data_type: "string" | "number" | "date";
|
|
76
|
-
}[] | undefined;
|
|
77
|
-
width?: Record<string, number> | undefined;
|
|
78
|
-
visibility?: Record<string, boolean> | undefined;
|
|
79
|
-
order?: string[] | undefined;
|
|
80
|
-
}>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|