Skip to main content

Module types

Module types 

Source
Expand description

This module contains the generated types for the library.

Modules§

base64
Base64 data that encodes to url safe base64, but can decode from multiple base64 implementations to account for various clients and libraries. Compatible with serde and JsonSchema.
errorrequests
Error methods.
multipartrequests
Multipart form data types.
paginaterequests
Utility functions used for pagination.
phone_number
A library to implement phone numbers for our database and JSON serialization and deserialization.

Structs§

AcknowledgeTasks
AcknowledgeTasksRequestBody
Actor
ApplicationConfiguration
ApplicationConfigurationRequest
BasicUser
BasicUserRequest
BulkDownload
BulkDownloadRequest
BulkEditDocumentsResult
BulkEditObjectsRequest
BulkEditRequest
BulkEditResult
Change
Classifier
Correspondent
CorrespondentCounts
CorrespondentRequest
CustomField
CustomFieldCounts
CustomFieldInstance
CustomFieldInstanceRequest
CustomFieldRequest
Database
Document
Adds update nested feature
DocumentListRequest
DocumentPermissions
DocumentRequest
Adds update nested feature
DocumentShareLinksResponse
DocumentType
DocumentTypeCounts
DocumentTypePermissions
DocumentTypeRequest
EmailDocumentRequestRequest
EmailDocumentResponse
EmailDocumentsResponse
EmailRequest
Group
GroupRequest
Index
LogEntry
MailAccount
MailAccountProcessResponse
MailAccountRequest
MailAccountTestResponse
MailRule
MailRuleRequest
Metadata
MigrationStatus
NoteCreateRequestRequest
Notes
NotesRequest
PaginatedCorrespondentList
PaginatedCustomFieldList
PaginatedDocumentList
PaginatedDocumentTypeList
PaginatedGroupList
PaginatedLogEntryList
PaginatedMailAccountList
PaginatedMailRuleList
PaginatedProcessedMailList
PaginatedSavedViewList
PaginatedShareLinkList
PaginatedStoragePathList
PaginatedTagList
PaginatedUserList
PaginatedWorkflowActionList
PaginatedWorkflowList
PaginatedWorkflowTriggerList
PaperlessAuthToken
PaperlessAuthTokenRequest
PatchedApplicationConfigurationRequest
PatchedCorrespondentRequest
PatchedCustomFieldRequest
PatchedDocumentRequest
Adds update nested feature
PatchedDocumentTypeRequest
PatchedGroupRequest
PatchedMailAccountRequest
PatchedMailRuleRequest
PatchedProfileRequest
PatchedSavedViewRequest
PatchedStoragePathRequest
PatchedTagRequest
PatchedUserRequest
PatchedWorkflowActionRequest
PatchedWorkflowRequest
PatchedWorkflowTriggerRequest
Permissions
PostDocumentRequest
ProcessedMail
ProcessedMailRequest
Profile
ProfileDisconnectSocialAccountCreateRequestBody
ProfileTotpCreateRequestBody
SanityCheck
SavedView
SavedViewFilterRule
SavedViewFilterRuleRequest
SavedViewRequest
SearchResult
SelectionData
SetPermissions
ShareLink
ShareLinkRequest
SocialAccount
SocialAccountRequest
Storage
StoragePath
StoragePathCounts
StoragePathRequest
Suggestions
SystemStatus
Tag
TagCounts
TagRequest
Tasks
TasksView
TasksViewRequest
TrashRequest
UiSettingsView
UiSettingsViewRequest
User
UserRequest
View
Workflow
WorkflowAction
WorkflowActionEmail
WorkflowActionEmailRequest
WorkflowActionRequest
WorkflowActionWebhook
WorkflowActionWebhookRequest
WorkflowRequest
WorkflowTrigger
WorkflowTriggerRequest

Enums§

AccountTypeEnum
1 - IMAP2 - Gmail OAuth3 - Outlook OAuth
AssignCorrespondentFromEnum
1 - Do not assign a correspondent2 - Use mail address3 - Use name (or mail address if not available)4 - Use correspondent selected below
AssignTitleFromEnum
1 - Use subject as title2 - Use attachment filename as title3 - Do not assign title from rule
AttachmentTypeEnum
1 - Only process attachments.2 - Process all files, including ‘inline’ attachments.
ColorConversionStrategy
ColorConversionStrategyEnum
LeaveColorUnchanged - LeaveColorUnchangedRGB - RGBUseDeviceIndependentColor - UseDeviceIndependentColorGray - GrayCMYK - CMYK
CompressionEnum
none - nonedeflated - deflatedbzip2 - bzip2lzma - lzma
ConsumptionScopeEnum
1 - Only process attachments.2 - Process full Mail (with embedded attachments in file) as .eml3 - Process full Mail (with embedded attachments in file) as .eml + process attachments as separate documents
ContentEnum
archive - archiveoriginals - originalsboth - both
DataTypeEnum
string - stringurl - urldate - dateboolean - booleaninteger - integerfloat - floatmonetary - monetarydocumentlink - documentlinkselect - selectlongtext - longtext
DisplayMode
DisplayModeEnum
table - TablesmallCards - Small CardslargeCards - Large Cards
FileVersionEnum
archive - Archiveoriginal - Original
ImapSecurityEnum
1 - No encryption2 - Use SSL3 - Use STARTTLS
ListTaskName
MailRuleActionEnum
1 - Delete2 - Move to specified folder3 - Mark as read, don’t process read mails4 - Flag the mail, don’t process flagged mails5 - Tag the mail with specified tag, don’t process tagged mails
MatchingAlgorithm
0 - None1 - Any word2 - All words3 - Exact match4 - Regular expression5 - Fuzzy word6 - Automatic
MethodEnum
set_correspondent - set_correspondentset_document_type - set_document_typeset_storage_path - set_storage_pathadd_tag - add_tagremove_tag - remove_tagmodify_tags - modify_tagsmodify_custom_fields - modify_custom_fieldsdelete - deletereprocess - reprocessset_permissions - set_permissionsrotate - rotatemerge - mergesplit - splitdelete_pages - delete_pagesedit_pdf - edit_pdf
Mode
ModeEnum
skip - skipredo - redoforce - forceskip_noarchive - skip_noarchive
ObjectTypeEnum
tags - tagscorrespondents - correspondentsdocument_types - document_typesstorage_paths - storage_paths
OperationEnum
set_permissions - set_permissionsdelete - delete
OutputType
OutputTypeEnum
pdf - pdfpdfa - pdfapdfa-1 - pdfa-1pdfa-2 - pdfa-2pdfa-3 - pdfa-3
PdfLayoutEnum
0 - System default1 - Text, then HTML2 - HTML, then text3 - HTML only4 - Text only
RuleTypeEnum
0 - title contains1 - content contains2 - ASN is3 - correspondent is4 - document type is5 - is in inbox6 - has tag7 - has any tag8 - created before9 - created after10 - created year is11 - created month is12 - created day is13 - added before14 - added after15 - modified before16 - modified after17 - does not have tag18 - does not have ASN19 - title or content contains20 - fulltext query21 - more like this22 - has tags in23 - ASN greater than24 - ASN less than25 - storage path is26 - has correspondent in27 - does not have correspondent in28 - has document type in29 - does not have document type in30 - has storage path in31 - does not have storage path in32 - owner is33 - has owner in34 - does not have owner35 - does not have owner in36 - has custom field value37 - is shared by me38 - has custom fields39 - has custom field in40 - does not have custom field in41 - does not have custom field42 - custom fields query43 - created to44 - created from45 - added to46 - added from47 - mime type is
ScheduleDateFieldEnum
added - Addedcreated - Createdmodified - Modifiedcustom_field - Custom Field
SkipArchiveFile
SkipArchiveFileEnum
never - neverwith_text - with_textalways - always
SourcesEnum
1 - Consume Folder2 - Api Upload3 - Mail Fetch4 - Web UI
Status
StatusEnum
FAILURE - FAILUREPENDING - PENDINGRECEIVED - RECEIVEDRETRY - RETRYREVOKED - REVOKEDSTARTED - STARTEDSUCCESS - SUCCESS
TaskName
Name of the task that was run
TaskNameEnum
consume_file - Consume Filetrain_classifier - Train Classifiercheck_sanity - Check Sanityindex_optimize - Index Optimize
TasksViewTypeEnum
auto_task - Auto Taskscheduled_task - Scheduled Taskmanual_task - Manual Task
TrashActionEnum
restore - restoreempty - empty
Type
UnpaperClean
UnpaperCleanEnum
clean - cleanclean-final - clean-finalnone - none
WorkflowActionTypeEnum
1 - Assignment2 - Removal3 - Email4 - Webhook
WorkflowTriggerMatchingAlgorithmEnum
0 - None1 - Any word2 - All words3 - Exact match4 - Regular expression5 - Fuzzy word
WorkflowTriggerTypeEnum
1 - Consumption Started2 - Document Added3 - Document Updated4 - Scheduled