@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,402 @@
|
|
|
1
1
|
export declare const inboxes: {
|
|
2
|
-
create: (payload: import("./create").CreateInboxPayload) =>
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
create: (payload: import("./create").CreateInboxPayload) => {
|
|
3
|
+
readonly endpoint: "/inboxes";
|
|
4
|
+
readonly method: "POST";
|
|
5
|
+
readonly responseSchema: import("zod").ZodObject<{
|
|
6
|
+
id: import("zod").ZodNumber;
|
|
7
|
+
name: import("zod").ZodString;
|
|
8
|
+
url: import("zod").ZodString;
|
|
9
|
+
queues: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
10
|
+
email: import("zod").ZodString;
|
|
11
|
+
emailPrefix: import("zod").ZodString;
|
|
12
|
+
bounceEmailTo: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
13
|
+
bounceUnprocessableAttachments: import("zod").ZodBoolean;
|
|
14
|
+
bouncePostponedAnnotations: import("zod").ZodBoolean;
|
|
15
|
+
bounceDeletedAnnotations: import("zod").ZodBoolean;
|
|
16
|
+
bounceEmailWithNoAttachments: import("zod").ZodBoolean;
|
|
17
|
+
metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
18
|
+
filters: import("zod").ZodObject<{
|
|
19
|
+
allowedSenders: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
20
|
+
deniedSenders: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
21
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
22
|
+
allowedSenders: string[];
|
|
23
|
+
deniedSenders: string[];
|
|
24
|
+
}, {
|
|
25
|
+
allowedSenders: string[];
|
|
26
|
+
deniedSenders: string[];
|
|
27
|
+
}>;
|
|
28
|
+
dmarcCheckAction: import("zod").ZodString;
|
|
29
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
30
|
+
url: string;
|
|
31
|
+
id: number;
|
|
32
|
+
email: string;
|
|
33
|
+
name: string;
|
|
34
|
+
queues: string[];
|
|
35
|
+
emailPrefix: string;
|
|
36
|
+
bounceUnprocessableAttachments: boolean;
|
|
37
|
+
bouncePostponedAnnotations: boolean;
|
|
38
|
+
bounceDeletedAnnotations: boolean;
|
|
39
|
+
bounceEmailWithNoAttachments: boolean;
|
|
40
|
+
filters: {
|
|
41
|
+
allowedSenders: string[];
|
|
42
|
+
deniedSenders: string[];
|
|
43
|
+
};
|
|
44
|
+
dmarcCheckAction: string;
|
|
45
|
+
bounceEmailTo?: string | null | undefined;
|
|
46
|
+
metadata?: unknown;
|
|
47
|
+
}, {
|
|
48
|
+
url: string;
|
|
49
|
+
id: number;
|
|
50
|
+
email: string;
|
|
51
|
+
name: string;
|
|
52
|
+
queues: string[];
|
|
53
|
+
emailPrefix: string;
|
|
54
|
+
bounceUnprocessableAttachments: boolean;
|
|
55
|
+
bouncePostponedAnnotations: boolean;
|
|
56
|
+
bounceDeletedAnnotations: boolean;
|
|
57
|
+
bounceEmailWithNoAttachments: boolean;
|
|
58
|
+
filters: {
|
|
59
|
+
allowedSenders: string[];
|
|
60
|
+
deniedSenders: string[];
|
|
61
|
+
};
|
|
62
|
+
dmarcCheckAction: string;
|
|
63
|
+
bounceEmailTo?: string | null | undefined;
|
|
64
|
+
metadata?: unknown;
|
|
65
|
+
}>;
|
|
66
|
+
readonly payloadSchema: import("zod").ZodObject<{
|
|
67
|
+
name: import("zod").ZodString;
|
|
68
|
+
emailPrefix: import("zod").ZodString;
|
|
69
|
+
bounceEmailTo: import("zod").ZodOptional<import("zod").ZodString>;
|
|
70
|
+
queues: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
71
|
+
filters: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
72
|
+
allowedSenders: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
73
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
74
|
+
allowedSenders: string[];
|
|
75
|
+
}, {
|
|
76
|
+
allowedSenders: string[];
|
|
77
|
+
}>>;
|
|
78
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
79
|
+
name: string;
|
|
80
|
+
queues: string[];
|
|
81
|
+
emailPrefix: string;
|
|
82
|
+
bounceEmailTo?: string | undefined;
|
|
83
|
+
filters?: {
|
|
84
|
+
allowedSenders: string[];
|
|
85
|
+
} | undefined;
|
|
86
|
+
}, {
|
|
87
|
+
name: string;
|
|
88
|
+
queues: string[];
|
|
89
|
+
emailPrefix: string;
|
|
90
|
+
bounceEmailTo?: string | undefined;
|
|
91
|
+
filters?: {
|
|
92
|
+
allowedSenders: string[];
|
|
93
|
+
} | undefined;
|
|
94
|
+
}>;
|
|
95
|
+
readonly payload: import("./create").CreateInboxPayload;
|
|
96
|
+
};
|
|
97
|
+
get: (inboxId: number) => {
|
|
98
|
+
readonly endpoint: `/inboxes/${number}`;
|
|
99
|
+
readonly method: "GET";
|
|
100
|
+
readonly responseSchema: import("zod").ZodObject<{
|
|
101
|
+
id: import("zod").ZodNumber;
|
|
102
|
+
name: import("zod").ZodString;
|
|
103
|
+
url: import("zod").ZodString;
|
|
104
|
+
queues: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
105
|
+
email: import("zod").ZodString;
|
|
106
|
+
emailPrefix: import("zod").ZodString;
|
|
107
|
+
bounceEmailTo: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
108
|
+
bounceUnprocessableAttachments: import("zod").ZodBoolean;
|
|
109
|
+
bouncePostponedAnnotations: import("zod").ZodBoolean;
|
|
110
|
+
bounceDeletedAnnotations: import("zod").ZodBoolean;
|
|
111
|
+
bounceEmailWithNoAttachments: import("zod").ZodBoolean;
|
|
112
|
+
metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
113
|
+
filters: import("zod").ZodObject<{
|
|
114
|
+
allowedSenders: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
115
|
+
deniedSenders: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
116
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
117
|
+
allowedSenders: string[];
|
|
118
|
+
deniedSenders: string[];
|
|
119
|
+
}, {
|
|
120
|
+
allowedSenders: string[];
|
|
121
|
+
deniedSenders: string[];
|
|
122
|
+
}>;
|
|
123
|
+
dmarcCheckAction: import("zod").ZodString;
|
|
124
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
125
|
+
url: string;
|
|
126
|
+
id: number;
|
|
127
|
+
email: string;
|
|
128
|
+
name: string;
|
|
129
|
+
queues: string[];
|
|
130
|
+
emailPrefix: string;
|
|
131
|
+
bounceUnprocessableAttachments: boolean;
|
|
132
|
+
bouncePostponedAnnotations: boolean;
|
|
133
|
+
bounceDeletedAnnotations: boolean;
|
|
134
|
+
bounceEmailWithNoAttachments: boolean;
|
|
135
|
+
filters: {
|
|
136
|
+
allowedSenders: string[];
|
|
137
|
+
deniedSenders: string[];
|
|
138
|
+
};
|
|
139
|
+
dmarcCheckAction: string;
|
|
140
|
+
bounceEmailTo?: string | null | undefined;
|
|
141
|
+
metadata?: unknown;
|
|
142
|
+
}, {
|
|
143
|
+
url: string;
|
|
144
|
+
id: number;
|
|
145
|
+
email: string;
|
|
146
|
+
name: string;
|
|
147
|
+
queues: string[];
|
|
148
|
+
emailPrefix: string;
|
|
149
|
+
bounceUnprocessableAttachments: boolean;
|
|
150
|
+
bouncePostponedAnnotations: boolean;
|
|
151
|
+
bounceDeletedAnnotations: boolean;
|
|
152
|
+
bounceEmailWithNoAttachments: boolean;
|
|
153
|
+
filters: {
|
|
154
|
+
allowedSenders: string[];
|
|
155
|
+
deniedSenders: string[];
|
|
156
|
+
};
|
|
157
|
+
dmarcCheckAction: string;
|
|
158
|
+
bounceEmailTo?: string | null | undefined;
|
|
159
|
+
metadata?: unknown;
|
|
160
|
+
}>;
|
|
161
|
+
};
|
|
162
|
+
patch: (inboxId: number, payload?: import("./patch").InboxPatchPayload) => {
|
|
163
|
+
readonly endpoint: `/inboxes/${number}`;
|
|
164
|
+
readonly method: "PATCH";
|
|
165
|
+
readonly responseSchema: import("zod").ZodObject<{
|
|
166
|
+
id: import("zod").ZodNumber;
|
|
167
|
+
name: import("zod").ZodString;
|
|
168
|
+
url: import("zod").ZodString;
|
|
169
|
+
queues: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
170
|
+
email: import("zod").ZodString;
|
|
171
|
+
emailPrefix: import("zod").ZodString;
|
|
172
|
+
bounceEmailTo: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
173
|
+
bounceUnprocessableAttachments: import("zod").ZodBoolean;
|
|
174
|
+
bouncePostponedAnnotations: import("zod").ZodBoolean;
|
|
175
|
+
bounceDeletedAnnotations: import("zod").ZodBoolean;
|
|
176
|
+
bounceEmailWithNoAttachments: import("zod").ZodBoolean;
|
|
177
|
+
metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
178
|
+
filters: import("zod").ZodObject<{
|
|
179
|
+
allowedSenders: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
180
|
+
deniedSenders: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
181
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
182
|
+
allowedSenders: string[];
|
|
183
|
+
deniedSenders: string[];
|
|
184
|
+
}, {
|
|
185
|
+
allowedSenders: string[];
|
|
186
|
+
deniedSenders: string[];
|
|
187
|
+
}>;
|
|
188
|
+
dmarcCheckAction: import("zod").ZodString;
|
|
189
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
190
|
+
url: string;
|
|
191
|
+
id: number;
|
|
192
|
+
email: string;
|
|
193
|
+
name: string;
|
|
194
|
+
queues: string[];
|
|
195
|
+
emailPrefix: string;
|
|
196
|
+
bounceUnprocessableAttachments: boolean;
|
|
197
|
+
bouncePostponedAnnotations: boolean;
|
|
198
|
+
bounceDeletedAnnotations: boolean;
|
|
199
|
+
bounceEmailWithNoAttachments: boolean;
|
|
200
|
+
filters: {
|
|
201
|
+
allowedSenders: string[];
|
|
202
|
+
deniedSenders: string[];
|
|
203
|
+
};
|
|
204
|
+
dmarcCheckAction: string;
|
|
205
|
+
bounceEmailTo?: string | null | undefined;
|
|
206
|
+
metadata?: unknown;
|
|
207
|
+
}, {
|
|
208
|
+
url: string;
|
|
209
|
+
id: number;
|
|
210
|
+
email: string;
|
|
211
|
+
name: string;
|
|
212
|
+
queues: string[];
|
|
213
|
+
emailPrefix: string;
|
|
214
|
+
bounceUnprocessableAttachments: boolean;
|
|
215
|
+
bouncePostponedAnnotations: boolean;
|
|
216
|
+
bounceDeletedAnnotations: boolean;
|
|
217
|
+
bounceEmailWithNoAttachments: boolean;
|
|
218
|
+
filters: {
|
|
219
|
+
allowedSenders: string[];
|
|
220
|
+
deniedSenders: string[];
|
|
221
|
+
};
|
|
222
|
+
dmarcCheckAction: string;
|
|
223
|
+
bounceEmailTo?: string | null | undefined;
|
|
224
|
+
metadata?: unknown;
|
|
225
|
+
}>;
|
|
226
|
+
readonly payload: import("./patch").InboxPatchPayload;
|
|
227
|
+
readonly payloadSchema: import("zod").ZodObject<{
|
|
228
|
+
filters: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
229
|
+
document_rejection_conditions: import("zod").ZodObject<{
|
|
230
|
+
mime_types: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
231
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
232
|
+
mime_types: string[];
|
|
233
|
+
}, {
|
|
234
|
+
mime_types: string[];
|
|
235
|
+
}>;
|
|
236
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
237
|
+
document_rejection_conditions: {
|
|
238
|
+
mime_types: string[];
|
|
239
|
+
};
|
|
240
|
+
}, {
|
|
241
|
+
document_rejection_conditions: {
|
|
242
|
+
mime_types: string[];
|
|
243
|
+
};
|
|
244
|
+
}>>;
|
|
245
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
246
|
+
filters?: {
|
|
247
|
+
document_rejection_conditions: {
|
|
248
|
+
mime_types: string[];
|
|
249
|
+
};
|
|
250
|
+
} | undefined;
|
|
251
|
+
}, {
|
|
252
|
+
filters?: {
|
|
253
|
+
document_rejection_conditions: {
|
|
254
|
+
mime_types: string[];
|
|
255
|
+
};
|
|
256
|
+
} | undefined;
|
|
257
|
+
}>;
|
|
258
|
+
};
|
|
259
|
+
list: (query: import("./list").ListInboxesQuery) => {
|
|
260
|
+
readonly method: "GET";
|
|
261
|
+
readonly endpoint: "/inboxes";
|
|
262
|
+
readonly responseSchema: import("zod").ZodObject<{
|
|
263
|
+
pagination: import("zod").ZodObject<{
|
|
264
|
+
next: import("zod").ZodNullable<import("zod").ZodString>;
|
|
265
|
+
previous: import("zod").ZodNullable<import("zod").ZodString>;
|
|
266
|
+
total: import("zod").ZodNumber;
|
|
267
|
+
totalPages: import("zod").ZodNumber;
|
|
268
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
269
|
+
next: string | null;
|
|
270
|
+
previous: string | null;
|
|
271
|
+
total: number;
|
|
272
|
+
totalPages: number;
|
|
273
|
+
}, {
|
|
274
|
+
next: string | null;
|
|
275
|
+
previous: string | null;
|
|
276
|
+
total: number;
|
|
277
|
+
totalPages: number;
|
|
278
|
+
}>;
|
|
279
|
+
results: import("zod").ZodArray<import("zod").ZodObject<{
|
|
280
|
+
id: import("zod").ZodNumber;
|
|
281
|
+
name: import("zod").ZodString;
|
|
282
|
+
url: import("zod").ZodString;
|
|
283
|
+
queues: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
284
|
+
email: import("zod").ZodString;
|
|
285
|
+
emailPrefix: import("zod").ZodString;
|
|
286
|
+
bounceEmailTo: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
287
|
+
bounceUnprocessableAttachments: import("zod").ZodBoolean;
|
|
288
|
+
bouncePostponedAnnotations: import("zod").ZodBoolean;
|
|
289
|
+
bounceDeletedAnnotations: import("zod").ZodBoolean;
|
|
290
|
+
bounceEmailWithNoAttachments: import("zod").ZodBoolean;
|
|
291
|
+
metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
292
|
+
filters: import("zod").ZodObject<{
|
|
293
|
+
allowedSenders: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
294
|
+
deniedSenders: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
295
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
296
|
+
allowedSenders: string[];
|
|
297
|
+
deniedSenders: string[];
|
|
298
|
+
}, {
|
|
299
|
+
allowedSenders: string[];
|
|
300
|
+
deniedSenders: string[];
|
|
301
|
+
}>;
|
|
302
|
+
dmarcCheckAction: import("zod").ZodString;
|
|
303
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
304
|
+
url: string;
|
|
305
|
+
id: number;
|
|
306
|
+
email: string;
|
|
307
|
+
name: string;
|
|
308
|
+
queues: string[];
|
|
309
|
+
emailPrefix: string;
|
|
310
|
+
bounceUnprocessableAttachments: boolean;
|
|
311
|
+
bouncePostponedAnnotations: boolean;
|
|
312
|
+
bounceDeletedAnnotations: boolean;
|
|
313
|
+
bounceEmailWithNoAttachments: boolean;
|
|
314
|
+
filters: {
|
|
315
|
+
allowedSenders: string[];
|
|
316
|
+
deniedSenders: string[];
|
|
317
|
+
};
|
|
318
|
+
dmarcCheckAction: string;
|
|
319
|
+
bounceEmailTo?: string | null | undefined;
|
|
320
|
+
metadata?: unknown;
|
|
321
|
+
}, {
|
|
322
|
+
url: string;
|
|
323
|
+
id: number;
|
|
324
|
+
email: string;
|
|
325
|
+
name: string;
|
|
326
|
+
queues: string[];
|
|
327
|
+
emailPrefix: string;
|
|
328
|
+
bounceUnprocessableAttachments: boolean;
|
|
329
|
+
bouncePostponedAnnotations: boolean;
|
|
330
|
+
bounceDeletedAnnotations: boolean;
|
|
331
|
+
bounceEmailWithNoAttachments: boolean;
|
|
332
|
+
filters: {
|
|
333
|
+
allowedSenders: string[];
|
|
334
|
+
deniedSenders: string[];
|
|
335
|
+
};
|
|
336
|
+
dmarcCheckAction: string;
|
|
337
|
+
bounceEmailTo?: string | null | undefined;
|
|
338
|
+
metadata?: unknown;
|
|
339
|
+
}>, "many">;
|
|
340
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
341
|
+
results: {
|
|
342
|
+
url: string;
|
|
343
|
+
id: number;
|
|
344
|
+
email: string;
|
|
345
|
+
name: string;
|
|
346
|
+
queues: string[];
|
|
347
|
+
emailPrefix: string;
|
|
348
|
+
bounceUnprocessableAttachments: boolean;
|
|
349
|
+
bouncePostponedAnnotations: boolean;
|
|
350
|
+
bounceDeletedAnnotations: boolean;
|
|
351
|
+
bounceEmailWithNoAttachments: boolean;
|
|
352
|
+
filters: {
|
|
353
|
+
allowedSenders: string[];
|
|
354
|
+
deniedSenders: string[];
|
|
355
|
+
};
|
|
356
|
+
dmarcCheckAction: string;
|
|
357
|
+
bounceEmailTo?: string | null | undefined;
|
|
358
|
+
metadata?: unknown;
|
|
359
|
+
}[];
|
|
360
|
+
pagination: {
|
|
361
|
+
next: string | null;
|
|
362
|
+
previous: string | null;
|
|
363
|
+
total: number;
|
|
364
|
+
totalPages: number;
|
|
365
|
+
};
|
|
366
|
+
}, {
|
|
367
|
+
results: {
|
|
368
|
+
url: string;
|
|
369
|
+
id: number;
|
|
370
|
+
email: string;
|
|
371
|
+
name: string;
|
|
372
|
+
queues: string[];
|
|
373
|
+
emailPrefix: string;
|
|
374
|
+
bounceUnprocessableAttachments: boolean;
|
|
375
|
+
bouncePostponedAnnotations: boolean;
|
|
376
|
+
bounceDeletedAnnotations: boolean;
|
|
377
|
+
bounceEmailWithNoAttachments: boolean;
|
|
378
|
+
filters: {
|
|
379
|
+
allowedSenders: string[];
|
|
380
|
+
deniedSenders: string[];
|
|
381
|
+
};
|
|
382
|
+
dmarcCheckAction: string;
|
|
383
|
+
bounceEmailTo?: string | null | undefined;
|
|
384
|
+
metadata?: unknown;
|
|
385
|
+
}[];
|
|
386
|
+
pagination: {
|
|
387
|
+
next: string | null;
|
|
388
|
+
previous: string | null;
|
|
389
|
+
total: number;
|
|
390
|
+
totalPages: number;
|
|
391
|
+
};
|
|
392
|
+
}>;
|
|
393
|
+
readonly query: import("./list").ListInboxesQuery;
|
|
394
|
+
readonly querySchema: import("zod").ZodObject<{
|
|
395
|
+
page: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
396
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
397
|
+
page?: number | undefined;
|
|
398
|
+
}, {
|
|
399
|
+
page?: number | undefined;
|
|
400
|
+
}>;
|
|
401
|
+
};
|
|
6
402
|
};
|
|
@@ -1,7 +1,146 @@
|
|
|
1
|
-
import { ListResponse } from '../../utils/listResponse';
|
|
2
|
-
import { ElisRequestConfig } from '../../utils/requestConfig';
|
|
3
|
-
import { Inbox } from '../models';
|
|
4
1
|
export type ListInboxesQuery = {
|
|
5
2
|
page?: number;
|
|
6
3
|
};
|
|
7
|
-
export declare const list: (query: ListInboxesQuery) =>
|
|
4
|
+
export declare const list: (query: ListInboxesQuery) => {
|
|
5
|
+
readonly method: "GET";
|
|
6
|
+
readonly endpoint: "/inboxes";
|
|
7
|
+
readonly responseSchema: import("zod").ZodObject<{
|
|
8
|
+
pagination: import("zod").ZodObject<{
|
|
9
|
+
next: import("zod").ZodNullable<import("zod").ZodString>;
|
|
10
|
+
previous: import("zod").ZodNullable<import("zod").ZodString>;
|
|
11
|
+
total: import("zod").ZodNumber;
|
|
12
|
+
totalPages: import("zod").ZodNumber;
|
|
13
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14
|
+
next: string | null;
|
|
15
|
+
previous: string | null;
|
|
16
|
+
total: number;
|
|
17
|
+
totalPages: number;
|
|
18
|
+
}, {
|
|
19
|
+
next: string | null;
|
|
20
|
+
previous: string | null;
|
|
21
|
+
total: number;
|
|
22
|
+
totalPages: number;
|
|
23
|
+
}>;
|
|
24
|
+
results: import("zod").ZodArray<import("zod").ZodObject<{
|
|
25
|
+
id: import("zod").ZodNumber;
|
|
26
|
+
name: import("zod").ZodString;
|
|
27
|
+
url: import("zod").ZodString;
|
|
28
|
+
queues: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
29
|
+
email: import("zod").ZodString;
|
|
30
|
+
emailPrefix: import("zod").ZodString;
|
|
31
|
+
bounceEmailTo: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
32
|
+
bounceUnprocessableAttachments: import("zod").ZodBoolean;
|
|
33
|
+
bouncePostponedAnnotations: import("zod").ZodBoolean;
|
|
34
|
+
bounceDeletedAnnotations: import("zod").ZodBoolean;
|
|
35
|
+
bounceEmailWithNoAttachments: import("zod").ZodBoolean;
|
|
36
|
+
metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
37
|
+
filters: import("zod").ZodObject<{
|
|
38
|
+
allowedSenders: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
39
|
+
deniedSenders: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
40
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
41
|
+
allowedSenders: string[];
|
|
42
|
+
deniedSenders: string[];
|
|
43
|
+
}, {
|
|
44
|
+
allowedSenders: string[];
|
|
45
|
+
deniedSenders: string[];
|
|
46
|
+
}>;
|
|
47
|
+
dmarcCheckAction: import("zod").ZodString;
|
|
48
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
49
|
+
url: string;
|
|
50
|
+
id: number;
|
|
51
|
+
email: string;
|
|
52
|
+
name: string;
|
|
53
|
+
queues: string[];
|
|
54
|
+
emailPrefix: string;
|
|
55
|
+
bounceUnprocessableAttachments: boolean;
|
|
56
|
+
bouncePostponedAnnotations: boolean;
|
|
57
|
+
bounceDeletedAnnotations: boolean;
|
|
58
|
+
bounceEmailWithNoAttachments: boolean;
|
|
59
|
+
filters: {
|
|
60
|
+
allowedSenders: string[];
|
|
61
|
+
deniedSenders: string[];
|
|
62
|
+
};
|
|
63
|
+
dmarcCheckAction: string;
|
|
64
|
+
bounceEmailTo?: string | null | undefined;
|
|
65
|
+
metadata?: unknown;
|
|
66
|
+
}, {
|
|
67
|
+
url: string;
|
|
68
|
+
id: number;
|
|
69
|
+
email: string;
|
|
70
|
+
name: string;
|
|
71
|
+
queues: string[];
|
|
72
|
+
emailPrefix: string;
|
|
73
|
+
bounceUnprocessableAttachments: boolean;
|
|
74
|
+
bouncePostponedAnnotations: boolean;
|
|
75
|
+
bounceDeletedAnnotations: boolean;
|
|
76
|
+
bounceEmailWithNoAttachments: boolean;
|
|
77
|
+
filters: {
|
|
78
|
+
allowedSenders: string[];
|
|
79
|
+
deniedSenders: string[];
|
|
80
|
+
};
|
|
81
|
+
dmarcCheckAction: string;
|
|
82
|
+
bounceEmailTo?: string | null | undefined;
|
|
83
|
+
metadata?: unknown;
|
|
84
|
+
}>, "many">;
|
|
85
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
86
|
+
results: {
|
|
87
|
+
url: string;
|
|
88
|
+
id: number;
|
|
89
|
+
email: string;
|
|
90
|
+
name: string;
|
|
91
|
+
queues: string[];
|
|
92
|
+
emailPrefix: string;
|
|
93
|
+
bounceUnprocessableAttachments: boolean;
|
|
94
|
+
bouncePostponedAnnotations: boolean;
|
|
95
|
+
bounceDeletedAnnotations: boolean;
|
|
96
|
+
bounceEmailWithNoAttachments: boolean;
|
|
97
|
+
filters: {
|
|
98
|
+
allowedSenders: string[];
|
|
99
|
+
deniedSenders: string[];
|
|
100
|
+
};
|
|
101
|
+
dmarcCheckAction: string;
|
|
102
|
+
bounceEmailTo?: string | null | undefined;
|
|
103
|
+
metadata?: unknown;
|
|
104
|
+
}[];
|
|
105
|
+
pagination: {
|
|
106
|
+
next: string | null;
|
|
107
|
+
previous: string | null;
|
|
108
|
+
total: number;
|
|
109
|
+
totalPages: number;
|
|
110
|
+
};
|
|
111
|
+
}, {
|
|
112
|
+
results: {
|
|
113
|
+
url: string;
|
|
114
|
+
id: number;
|
|
115
|
+
email: string;
|
|
116
|
+
name: string;
|
|
117
|
+
queues: string[];
|
|
118
|
+
emailPrefix: string;
|
|
119
|
+
bounceUnprocessableAttachments: boolean;
|
|
120
|
+
bouncePostponedAnnotations: boolean;
|
|
121
|
+
bounceDeletedAnnotations: boolean;
|
|
122
|
+
bounceEmailWithNoAttachments: boolean;
|
|
123
|
+
filters: {
|
|
124
|
+
allowedSenders: string[];
|
|
125
|
+
deniedSenders: string[];
|
|
126
|
+
};
|
|
127
|
+
dmarcCheckAction: string;
|
|
128
|
+
bounceEmailTo?: string | null | undefined;
|
|
129
|
+
metadata?: unknown;
|
|
130
|
+
}[];
|
|
131
|
+
pagination: {
|
|
132
|
+
next: string | null;
|
|
133
|
+
previous: string | null;
|
|
134
|
+
total: number;
|
|
135
|
+
totalPages: number;
|
|
136
|
+
};
|
|
137
|
+
}>;
|
|
138
|
+
readonly query: ListInboxesQuery;
|
|
139
|
+
readonly querySchema: import("zod").ZodObject<{
|
|
140
|
+
page: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
141
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
142
|
+
page?: number | undefined;
|
|
143
|
+
}, {
|
|
144
|
+
page?: number | undefined;
|
|
145
|
+
}>;
|
|
146
|
+
};
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { ID } from '../../utils/codecUtils';
|
|
2
|
-
import { ElisRequestConfig } from '../../utils/requestConfig';
|
|
3
|
-
import { Inbox } from '../models';
|
|
4
2
|
export type InboxPatchPayload = {
|
|
5
3
|
filters?: {
|
|
6
4
|
document_rejection_conditions: {
|
|
@@ -8,4 +6,100 @@ export type InboxPatchPayload = {
|
|
|
8
6
|
};
|
|
9
7
|
};
|
|
10
8
|
};
|
|
11
|
-
export declare const patch: (inboxId: ID, payload?: InboxPatchPayload) =>
|
|
9
|
+
export declare const patch: (inboxId: ID, payload?: InboxPatchPayload) => {
|
|
10
|
+
readonly endpoint: `/inboxes/${number}`;
|
|
11
|
+
readonly method: "PATCH";
|
|
12
|
+
readonly responseSchema: import("zod").ZodObject<{
|
|
13
|
+
id: import("zod").ZodNumber;
|
|
14
|
+
name: import("zod").ZodString;
|
|
15
|
+
url: import("zod").ZodString;
|
|
16
|
+
queues: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
17
|
+
email: import("zod").ZodString;
|
|
18
|
+
emailPrefix: import("zod").ZodString;
|
|
19
|
+
bounceEmailTo: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
20
|
+
bounceUnprocessableAttachments: import("zod").ZodBoolean;
|
|
21
|
+
bouncePostponedAnnotations: import("zod").ZodBoolean;
|
|
22
|
+
bounceDeletedAnnotations: import("zod").ZodBoolean;
|
|
23
|
+
bounceEmailWithNoAttachments: import("zod").ZodBoolean;
|
|
24
|
+
metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
25
|
+
filters: import("zod").ZodObject<{
|
|
26
|
+
allowedSenders: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
27
|
+
deniedSenders: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
28
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
29
|
+
allowedSenders: string[];
|
|
30
|
+
deniedSenders: string[];
|
|
31
|
+
}, {
|
|
32
|
+
allowedSenders: string[];
|
|
33
|
+
deniedSenders: string[];
|
|
34
|
+
}>;
|
|
35
|
+
dmarcCheckAction: import("zod").ZodString;
|
|
36
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
37
|
+
url: string;
|
|
38
|
+
id: number;
|
|
39
|
+
email: string;
|
|
40
|
+
name: string;
|
|
41
|
+
queues: string[];
|
|
42
|
+
emailPrefix: string;
|
|
43
|
+
bounceUnprocessableAttachments: boolean;
|
|
44
|
+
bouncePostponedAnnotations: boolean;
|
|
45
|
+
bounceDeletedAnnotations: boolean;
|
|
46
|
+
bounceEmailWithNoAttachments: boolean;
|
|
47
|
+
filters: {
|
|
48
|
+
allowedSenders: string[];
|
|
49
|
+
deniedSenders: string[];
|
|
50
|
+
};
|
|
51
|
+
dmarcCheckAction: string;
|
|
52
|
+
bounceEmailTo?: string | null | undefined;
|
|
53
|
+
metadata?: unknown;
|
|
54
|
+
}, {
|
|
55
|
+
url: string;
|
|
56
|
+
id: number;
|
|
57
|
+
email: string;
|
|
58
|
+
name: string;
|
|
59
|
+
queues: string[];
|
|
60
|
+
emailPrefix: string;
|
|
61
|
+
bounceUnprocessableAttachments: boolean;
|
|
62
|
+
bouncePostponedAnnotations: boolean;
|
|
63
|
+
bounceDeletedAnnotations: boolean;
|
|
64
|
+
bounceEmailWithNoAttachments: boolean;
|
|
65
|
+
filters: {
|
|
66
|
+
allowedSenders: string[];
|
|
67
|
+
deniedSenders: string[];
|
|
68
|
+
};
|
|
69
|
+
dmarcCheckAction: string;
|
|
70
|
+
bounceEmailTo?: string | null | undefined;
|
|
71
|
+
metadata?: unknown;
|
|
72
|
+
}>;
|
|
73
|
+
readonly payload: InboxPatchPayload;
|
|
74
|
+
readonly payloadSchema: import("zod").ZodObject<{
|
|
75
|
+
filters: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
76
|
+
document_rejection_conditions: import("zod").ZodObject<{
|
|
77
|
+
mime_types: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
78
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
79
|
+
mime_types: string[];
|
|
80
|
+
}, {
|
|
81
|
+
mime_types: string[];
|
|
82
|
+
}>;
|
|
83
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
84
|
+
document_rejection_conditions: {
|
|
85
|
+
mime_types: string[];
|
|
86
|
+
};
|
|
87
|
+
}, {
|
|
88
|
+
document_rejection_conditions: {
|
|
89
|
+
mime_types: string[];
|
|
90
|
+
};
|
|
91
|
+
}>>;
|
|
92
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
93
|
+
filters?: {
|
|
94
|
+
document_rejection_conditions: {
|
|
95
|
+
mime_types: string[];
|
|
96
|
+
};
|
|
97
|
+
} | undefined;
|
|
98
|
+
}, {
|
|
99
|
+
filters?: {
|
|
100
|
+
document_rejection_conditions: {
|
|
101
|
+
mime_types: string[];
|
|
102
|
+
};
|
|
103
|
+
} | undefined;
|
|
104
|
+
}>;
|
|
105
|
+
};
|