revdoku 0.0.0-stage → 2.2.0
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/LICENSE +21 -0
- package/README.md +250 -2
- package/REFERENCE.md +654 -0
- package/dist/apis/DefaultApi.d.ts +1643 -0
- package/dist/apis/DefaultApi.js +3161 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +19 -0
- package/dist/client.d.ts +74 -0
- package/dist/client.js +241 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +22 -0
- package/dist/models/AccountIdentity.d.ts +77 -0
- package/dist/models/AccountIdentity.js +90 -0
- package/dist/models/AccountIdentityAgencyAccount.d.ts +34 -0
- package/dist/models/AccountIdentityAgencyAccount.js +50 -0
- package/dist/models/AccountIdentityPermissions.d.ts +55 -0
- package/dist/models/AccountIdentityPermissions.js +68 -0
- package/dist/models/AccountLimits.d.ts +106 -0
- package/dist/models/AccountLimits.js +126 -0
- package/dist/models/AccountList.d.ts +40 -0
- package/dist/models/AccountList.js +60 -0
- package/dist/models/ActionRequest.d.ts +34 -0
- package/dist/models/ActionRequest.js +50 -0
- package/dist/models/AddUploadSessionFilesRequest.d.ts +39 -0
- package/dist/models/AddUploadSessionFilesRequest.js +55 -0
- package/dist/models/AgentConnection.d.ts +99 -0
- package/dist/models/AgentConnection.js +93 -0
- package/dist/models/ApiError.d.ts +35 -0
- package/dist/models/ApiError.js +55 -0
- package/dist/models/ApiErrorError.d.ts +62 -0
- package/dist/models/ApiErrorError.js +69 -0
- package/dist/models/AppendText200Response.d.ts +35 -0
- package/dist/models/AppendText200Response.js +55 -0
- package/dist/models/AppendTextRequest.d.ts +50 -0
- package/dist/models/AppendTextRequest.js +62 -0
- package/dist/models/AppendTextResult.d.ts +52 -0
- package/dist/models/AppendTextResult.js +72 -0
- package/dist/models/BrowserLink.d.ts +46 -0
- package/dist/models/BrowserLink.js +60 -0
- package/dist/models/ChangeMailboxAddressRequest.d.ts +54 -0
- package/dist/models/ChangeMailboxAddressRequest.js +64 -0
- package/dist/models/CheckEmailDomain200Response.d.ts +35 -0
- package/dist/models/CheckEmailDomain200Response.js +55 -0
- package/dist/models/CodeRequested.d.ts +46 -0
- package/dist/models/CodeRequested.js +56 -0
- package/dist/models/Connection.d.ts +112 -0
- package/dist/models/Connection.js +99 -0
- package/dist/models/ConnectionPermissions.d.ts +38 -0
- package/dist/models/ConnectionPermissions.js +52 -0
- package/dist/models/ConnectionRenewal.d.ts +38 -0
- package/dist/models/ConnectionRenewal.js +52 -0
- package/dist/models/CreateBrowserLink201Response.d.ts +35 -0
- package/dist/models/CreateBrowserLink201Response.js +55 -0
- package/dist/models/CreateBrowserLinkRequest.d.ts +38 -0
- package/dist/models/CreateBrowserLinkRequest.js +52 -0
- package/dist/models/CreateClientAccount201Response.d.ts +35 -0
- package/dist/models/CreateClientAccount201Response.js +55 -0
- package/dist/models/CreateClientAccount201ResponseData.d.ts +31 -0
- package/dist/models/CreateClientAccount201ResponseData.js +51 -0
- package/dist/models/CreateClientAccountRequest.d.ts +42 -0
- package/dist/models/CreateClientAccountRequest.js +56 -0
- package/dist/models/CreateEmailAliasRequest.d.ts +42 -0
- package/dist/models/CreateEmailAliasRequest.js +56 -0
- package/dist/models/CreateEmailDomain201Response.d.ts +35 -0
- package/dist/models/CreateEmailDomain201Response.js +55 -0
- package/dist/models/CreateEmailDomain201ResponseData.d.ts +31 -0
- package/dist/models/CreateEmailDomain201ResponseData.js +51 -0
- package/dist/models/CreateEmailDomainRequest.d.ts +38 -0
- package/dist/models/CreateEmailDomainRequest.js +54 -0
- package/dist/models/CreateMailbox201Response.d.ts +35 -0
- package/dist/models/CreateMailbox201Response.js +55 -0
- package/dist/models/CreateMailbox201ResponseData.d.ts +31 -0
- package/dist/models/CreateMailbox201ResponseData.js +51 -0
- package/dist/models/CreateMailboxRequest.d.ts +39 -0
- package/dist/models/CreateMailboxRequest.js +53 -0
- package/dist/models/CreateUploadSession201Response.d.ts +35 -0
- package/dist/models/CreateUploadSession201Response.js +55 -0
- package/dist/models/CreateUploadSessionRequest.d.ts +63 -0
- package/dist/models/CreateUploadSessionRequest.js +69 -0
- package/dist/models/DecodedEmailAddress.d.ts +34 -0
- package/dist/models/DecodedEmailAddress.js +54 -0
- package/dist/models/DecodedIncomingMessage.d.ts +151 -0
- package/dist/models/DecodedIncomingMessage.js +142 -0
- package/dist/models/DecodedIncomingMessageAttachmentsInner.d.ts +56 -0
- package/dist/models/DecodedIncomingMessageAttachmentsInner.js +74 -0
- package/dist/models/DeleteEmailDomain200Response.d.ts +35 -0
- package/dist/models/DeleteEmailDomain200Response.js +55 -0
- package/dist/models/DeleteEmailDomainRequest.d.ts +42 -0
- package/dist/models/DeleteEmailDomainRequest.js +58 -0
- package/dist/models/DeleteMailboxRequest.d.ts +38 -0
- package/dist/models/DeleteMailboxRequest.js +54 -0
- package/dist/models/DeleteResult.d.ts +34 -0
- package/dist/models/DeleteResult.js +54 -0
- package/dist/models/DnsRecord.d.ts +50 -0
- package/dist/models/DnsRecord.js +70 -0
- package/dist/models/Download.d.ts +53 -0
- package/dist/models/Download.js +75 -0
- package/dist/models/EmailAlias.d.ts +38 -0
- package/dist/models/EmailAlias.js +58 -0
- package/dist/models/EmailAttachment.d.ts +60 -0
- package/dist/models/EmailAttachment.js +76 -0
- package/dist/models/EmailDelivery.d.ts +49 -0
- package/dist/models/EmailDelivery.js +67 -0
- package/dist/models/EmailDetail.d.ts +167 -0
- package/dist/models/EmailDetail.js +157 -0
- package/dist/models/EmailDomain.d.ts +101 -0
- package/dist/models/EmailDomain.js +92 -0
- package/dist/models/EmailDomainAssignedMailboxesInner.d.ts +35 -0
- package/dist/models/EmailDomainAssignedMailboxesInner.js +51 -0
- package/dist/models/EmailDomainAssignedMailboxesInnerEmail.d.ts +30 -0
- package/dist/models/EmailDomainAssignedMailboxesInnerEmail.js +48 -0
- package/dist/models/EmailDomainCheck.d.ts +42 -0
- package/dist/models/EmailDomainCheck.js +58 -0
- package/dist/models/EmailDomainError.d.ts +38 -0
- package/dist/models/EmailDomainError.js +52 -0
- package/dist/models/EmailDomainList.d.ts +44 -0
- package/dist/models/EmailDomainList.js +62 -0
- package/dist/models/EmailForwarding.d.ts +77 -0
- package/dist/models/EmailForwarding.js +89 -0
- package/dist/models/EmailForwardingContent.d.ts +95 -0
- package/dist/models/EmailForwardingContent.js +102 -0
- package/dist/models/EmailLabel.d.ts +51 -0
- package/dist/models/EmailLabel.js +71 -0
- package/dist/models/EmailList.d.ts +36 -0
- package/dist/models/EmailList.js +56 -0
- package/dist/models/EmailReceivedEvent.d.ts +50 -0
- package/dist/models/EmailReceivedEvent.js +73 -0
- package/dist/models/EmailReceivedEventData.d.ts +46 -0
- package/dist/models/EmailReceivedEventData.js +67 -0
- package/dist/models/EmailSenderAllowlist.d.ts +46 -0
- package/dist/models/EmailSenderAllowlist.js +66 -0
- package/dist/models/EmailSubscription.d.ts +64 -0
- package/dist/models/EmailSubscription.js +87 -0
- package/dist/models/EmailSummary.d.ts +158 -0
- package/dist/models/EmailSummary.js +146 -0
- package/dist/models/EmailSummaryFiles.d.ts +42 -0
- package/dist/models/EmailSummaryFiles.js +60 -0
- package/dist/models/ErrorCode.d.ts +172 -0
- package/dist/models/ErrorCode.js +198 -0
- package/dist/models/ExchangeConnectionGrantRequest.d.ts +42 -0
- package/dist/models/ExchangeConnectionGrantRequest.js +56 -0
- package/dist/models/FileActor.d.ts +38 -0
- package/dist/models/FileActor.js +52 -0
- package/dist/models/FileDownload.d.ts +40 -0
- package/dist/models/FileDownload.js +58 -0
- package/dist/models/FileKey.d.ts +38 -0
- package/dist/models/FileKey.js +52 -0
- package/dist/models/FileList.d.ts +36 -0
- package/dist/models/FileList.js +56 -0
- package/dist/models/FileUploadSkip.d.ts +52 -0
- package/dist/models/FileUploadSkip.js +58 -0
- package/dist/models/FileVersion.d.ts +128 -0
- package/dist/models/FileVersion.js +101 -0
- package/dist/models/FileVersionList.d.ts +36 -0
- package/dist/models/FileVersionList.js +56 -0
- package/dist/models/FileVersionReason.d.ts +46 -0
- package/dist/models/FileVersionReason.js +57 -0
- package/dist/models/FinalizeUploadSessionRequest.d.ts +38 -0
- package/dist/models/FinalizeUploadSessionRequest.js +52 -0
- package/dist/models/GetAccountLimits200Response.d.ts +35 -0
- package/dist/models/GetAccountLimits200Response.js +55 -0
- package/dist/models/GetAccountLimits200ResponseData.d.ts +40 -0
- package/dist/models/GetAccountLimits200ResponseData.js +58 -0
- package/dist/models/GetAccountLimits200ResponseDataUsage.d.ts +31 -0
- package/dist/models/GetAccountLimits200ResponseDataUsage.js +49 -0
- package/dist/models/GetAccountLimits200ResponseDataUsageMailboxCreations.d.ts +42 -0
- package/dist/models/GetAccountLimits200ResponseDataUsageMailboxCreations.js +55 -0
- package/dist/models/GetEmail200Response.d.ts +35 -0
- package/dist/models/GetEmail200Response.js +55 -0
- package/dist/models/GetEmail200ResponseData.d.ts +31 -0
- package/dist/models/GetEmail200ResponseData.js +51 -0
- package/dist/models/GetEmailDomainSetupLink200Response.d.ts +35 -0
- package/dist/models/GetEmailDomainSetupLink200Response.js +55 -0
- package/dist/models/GetEmailDomainSetupLink200ResponseData.d.ts +31 -0
- package/dist/models/GetEmailDomainSetupLink200ResponseData.js +51 -0
- package/dist/models/GetEmailDomainSetupLink200ResponseDataSetupLink.d.ts +34 -0
- package/dist/models/GetEmailDomainSetupLink200ResponseDataSetupLink.js +54 -0
- package/dist/models/GetEmailOriginalDownload200Response.d.ts +35 -0
- package/dist/models/GetEmailOriginalDownload200Response.js +55 -0
- package/dist/models/GetEmailOriginalDownload200ResponseData.d.ts +31 -0
- package/dist/models/GetEmailOriginalDownload200ResponseData.js +51 -0
- package/dist/models/GetEmailSubscription200Response.d.ts +35 -0
- package/dist/models/GetEmailSubscription200Response.js +55 -0
- package/dist/models/GetEmailSubscription200ResponseData.d.ts +31 -0
- package/dist/models/GetEmailSubscription200ResponseData.js +51 -0
- package/dist/models/GetEmailWebhook200Response.d.ts +35 -0
- package/dist/models/GetEmailWebhook200Response.js +55 -0
- package/dist/models/GetEmailWebhook200ResponseData.d.ts +31 -0
- package/dist/models/GetEmailWebhook200ResponseData.js +51 -0
- package/dist/models/GetFileByPath200Response.d.ts +35 -0
- package/dist/models/GetFileByPath200Response.js +55 -0
- package/dist/models/GetFileByPath200ResponseData.d.ts +31 -0
- package/dist/models/GetFileByPath200ResponseData.js +51 -0
- package/dist/models/GetFileDownload200Response.d.ts +35 -0
- package/dist/models/GetFileDownload200Response.js +55 -0
- package/dist/models/GetMailboxEmailSettings200Response.d.ts +35 -0
- package/dist/models/GetMailboxEmailSettings200Response.js +55 -0
- package/dist/models/GetStatus200Response.d.ts +35 -0
- package/dist/models/GetStatus200Response.js +55 -0
- package/dist/models/ListAccounts200Response.d.ts +35 -0
- package/dist/models/ListAccounts200Response.js +55 -0
- package/dist/models/ListEmailDomains200Response.d.ts +35 -0
- package/dist/models/ListEmailDomains200Response.js +55 -0
- package/dist/models/ListEmails200Response.d.ts +35 -0
- package/dist/models/ListEmails200Response.js +55 -0
- package/dist/models/ListFileVersions200Response.d.ts +35 -0
- package/dist/models/ListFileVersions200Response.js +55 -0
- package/dist/models/ListFiles200Response.d.ts +35 -0
- package/dist/models/ListFiles200Response.js +55 -0
- package/dist/models/ListMailboxes200Response.d.ts +35 -0
- package/dist/models/ListMailboxes200Response.js +55 -0
- package/dist/models/Mailbox.d.ts +111 -0
- package/dist/models/Mailbox.js +110 -0
- package/dist/models/MailboxAction.d.ts +42 -0
- package/dist/models/MailboxAction.js +56 -0
- package/dist/models/MailboxCounts.d.ts +38 -0
- package/dist/models/MailboxCounts.js +58 -0
- package/dist/models/MailboxCreate.d.ts +45 -0
- package/dist/models/MailboxCreate.js +55 -0
- package/dist/models/MailboxEmail.d.ts +58 -0
- package/dist/models/MailboxEmail.js +73 -0
- package/dist/models/MailboxEmailOptions.d.ts +34 -0
- package/dist/models/MailboxEmailOptions.js +50 -0
- package/dist/models/MailboxEmailSettings.d.ts +87 -0
- package/dist/models/MailboxEmailSettings.js +92 -0
- package/dist/models/MailboxEmailSettingsAssignment.d.ts +52 -0
- package/dist/models/MailboxEmailSettingsAssignment.js +64 -0
- package/dist/models/MailboxEmailSettingsAssignmentError.d.ts +38 -0
- package/dist/models/MailboxEmailSettingsAssignmentError.js +52 -0
- package/dist/models/MailboxEmailSettingsAvailableDomainsInner.d.ts +42 -0
- package/dist/models/MailboxEmailSettingsAvailableDomainsInner.js +58 -0
- package/dist/models/MailboxEmailSettingsCustomization.d.ts +38 -0
- package/dist/models/MailboxEmailSettingsCustomization.js +52 -0
- package/dist/models/MailboxFile.d.ts +128 -0
- package/dist/models/MailboxFile.js +99 -0
- package/dist/models/MailboxList.d.ts +41 -0
- package/dist/models/MailboxList.js +61 -0
- package/dist/models/MailboxLock.d.ts +58 -0
- package/dist/models/MailboxLock.js +65 -0
- package/dist/models/MailboxUpdate.d.ts +40 -0
- package/dist/models/MailboxUpdate.js +52 -0
- package/dist/models/MoveFileRequest.d.ts +46 -0
- package/dist/models/MoveFileRequest.js +56 -0
- package/dist/models/Pagination.d.ts +38 -0
- package/dist/models/Pagination.js +58 -0
- package/dist/models/PathOperationResult.d.ts +73 -0
- package/dist/models/PathOperationResult.js +81 -0
- package/dist/models/PrepareFileUpload201Response.d.ts +35 -0
- package/dist/models/PrepareFileUpload201Response.js +55 -0
- package/dist/models/PrepareFileUploadRequest.d.ts +59 -0
- package/dist/models/PrepareFileUploadRequest.js +73 -0
- package/dist/models/PreparedFileUpload.d.ts +79 -0
- package/dist/models/PreparedFileUpload.js +73 -0
- package/dist/models/RenameFile200Response.d.ts +35 -0
- package/dist/models/RenameFile200Response.js +55 -0
- package/dist/models/RenameFileRequest.d.ts +38 -0
- package/dist/models/RenameFileRequest.js +54 -0
- package/dist/models/RequestSignInCode200Response.d.ts +35 -0
- package/dist/models/RequestSignInCode200Response.js +55 -0
- package/dist/models/RequestSignInCodeRequest.d.ts +38 -0
- package/dist/models/RequestSignInCodeRequest.js +54 -0
- package/dist/models/RestoreFileVersion201Response.d.ts +35 -0
- package/dist/models/RestoreFileVersion201Response.js +55 -0
- package/dist/models/RestoredFileVersion.d.ts +40 -0
- package/dist/models/RestoredFileVersion.js +60 -0
- package/dist/models/SaveUploadSessionBatchRequest.d.ts +38 -0
- package/dist/models/SaveUploadSessionBatchRequest.js +52 -0
- package/dist/models/SaveUploadedFile201Response.d.ts +35 -0
- package/dist/models/SaveUploadedFile201Response.js +55 -0
- package/dist/models/SaveUploadedFileRequest.d.ts +78 -0
- package/dist/models/SaveUploadedFileRequest.js +85 -0
- package/dist/models/SavedFile.d.ts +49 -0
- package/dist/models/SavedFile.js +65 -0
- package/dist/models/SendEmail202Response.d.ts +35 -0
- package/dist/models/SendEmail202Response.js +55 -0
- package/dist/models/SendEmail202ResponseData.d.ts +31 -0
- package/dist/models/SendEmail202ResponseData.js +51 -0
- package/dist/models/SendEmailRequest.d.ts +62 -0
- package/dist/models/SendEmailRequest.js +66 -0
- package/dist/models/SetEmailWebhook200Response.d.ts +35 -0
- package/dist/models/SetEmailWebhook200Response.js +55 -0
- package/dist/models/SetEmailWebhook200ResponseData.d.ts +31 -0
- package/dist/models/SetEmailWebhook200ResponseData.js +51 -0
- package/dist/models/SetEmailWebhookRequest.d.ts +42 -0
- package/dist/models/SetEmailWebhookRequest.js +56 -0
- package/dist/models/Status.d.ts +73 -0
- package/dist/models/Status.js +75 -0
- package/dist/models/StatusFeatures.d.ts +30 -0
- package/dist/models/StatusFeatures.js +48 -0
- package/dist/models/StatusUser.d.ts +38 -0
- package/dist/models/StatusUser.js +52 -0
- package/dist/models/StorageUpload.d.ts +36 -0
- package/dist/models/StorageUpload.js +54 -0
- package/dist/models/UpdateEmailAllowlist200Response.d.ts +35 -0
- package/dist/models/UpdateEmailAllowlist200Response.js +55 -0
- package/dist/models/UpdateEmailAllowlist200ResponseData.d.ts +31 -0
- package/dist/models/UpdateEmailAllowlist200ResponseData.js +51 -0
- package/dist/models/UpdateEmailAllowlistRequest.d.ts +43 -0
- package/dist/models/UpdateEmailAllowlistRequest.js +59 -0
- package/dist/models/UpdateEmailAllowlistRequestSenderAllowlist.d.ts +34 -0
- package/dist/models/UpdateEmailAllowlistRequestSenderAllowlist.js +54 -0
- package/dist/models/UpdateEmailRequest.d.ts +46 -0
- package/dist/models/UpdateEmailRequest.js +56 -0
- package/dist/models/UpdateMailboxRequest.d.ts +43 -0
- package/dist/models/UpdateMailboxRequest.js +57 -0
- package/dist/models/UploadBlob.d.ts +57 -0
- package/dist/models/UploadBlob.js +79 -0
- package/dist/models/UploadSession.d.ts +94 -0
- package/dist/models/UploadSession.js +91 -0
- package/dist/models/UploadSessionFile.d.ts +46 -0
- package/dist/models/UploadSessionFile.js +66 -0
- package/dist/models/UploadSessionResult.d.ts +82 -0
- package/dist/models/UploadSessionResult.js +86 -0
- package/dist/models/UploadSessionUpload.d.ts +47 -0
- package/dist/models/UploadSessionUpload.js +61 -0
- package/dist/models/UploadedFile.d.ts +48 -0
- package/dist/models/UploadedFile.js +66 -0
- package/dist/models/VerifyEmailDomainRequest.d.ts +34 -0
- package/dist/models/VerifyEmailDomainRequest.js +50 -0
- package/dist/models/VerifySignInCode201Response.d.ts +35 -0
- package/dist/models/VerifySignInCode201Response.js +55 -0
- package/dist/models/VerifySignInCodeRequest.d.ts +89 -0
- package/dist/models/VerifySignInCodeRequest.js +91 -0
- package/dist/models/Webhook.d.ts +41 -0
- package/dist/models/Webhook.js +63 -0
- package/dist/models/WebhookWithSecret.d.ts +45 -0
- package/dist/models/WebhookWithSecret.js +65 -0
- package/dist/models/index.d.ts +158 -0
- package/dist/models/index.js +176 -0
- package/dist/runtime.d.ts +196 -0
- package/dist/runtime.js +421 -0
- package/package.json +54 -4
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Revdoku API
|
|
6
|
+
* Mailboxes for AI agents, with private file storage. Create mailboxes, read and reply to email, and store files. Guide: https://revdoku.com/api.md. Create an account at https://app.revdoku.com/users/sign_up.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.2.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfEmailDomainAssignedMailboxesInnerEmail = instanceOfEmailDomainAssignedMailboxesInnerEmail;
|
|
17
|
+
exports.EmailDomainAssignedMailboxesInnerEmailFromJSON = EmailDomainAssignedMailboxesInnerEmailFromJSON;
|
|
18
|
+
exports.EmailDomainAssignedMailboxesInnerEmailFromJSONTyped = EmailDomainAssignedMailboxesInnerEmailFromJSONTyped;
|
|
19
|
+
exports.EmailDomainAssignedMailboxesInnerEmailToJSON = EmailDomainAssignedMailboxesInnerEmailToJSON;
|
|
20
|
+
exports.EmailDomainAssignedMailboxesInnerEmailToJSONTyped = EmailDomainAssignedMailboxesInnerEmailToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the EmailDomainAssignedMailboxesInnerEmail interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfEmailDomainAssignedMailboxesInnerEmail(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function EmailDomainAssignedMailboxesInnerEmailFromJSON(json) {
|
|
28
|
+
return EmailDomainAssignedMailboxesInnerEmailFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function EmailDomainAssignedMailboxesInnerEmailFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'address': json['address'] == null ? undefined : json['address'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function EmailDomainAssignedMailboxesInnerEmailToJSON(json) {
|
|
39
|
+
return EmailDomainAssignedMailboxesInnerEmailToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function EmailDomainAssignedMailboxesInnerEmailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'address': value['address'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Revdoku API
|
|
3
|
+
* Mailboxes for AI agents, with private file storage. Create mailboxes, read and reply to email, and store files. Guide: https://revdoku.com/api.md. Create an account at https://app.revdoku.com/users/sign_up.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.2.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EmailDomainCheck
|
|
16
|
+
*/
|
|
17
|
+
export interface EmailDomainCheck {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
hostname: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
rootDomain: boolean;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
suggestedSubdomain?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
rootGuidance?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the EmailDomainCheck interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfEmailDomainCheck(value: object): value is EmailDomainCheck;
|
|
39
|
+
export declare function EmailDomainCheckFromJSON(json: any): EmailDomainCheck;
|
|
40
|
+
export declare function EmailDomainCheckFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailDomainCheck;
|
|
41
|
+
export declare function EmailDomainCheckToJSON(json: any): EmailDomainCheck;
|
|
42
|
+
export declare function EmailDomainCheckToJSONTyped(value?: EmailDomainCheck | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Revdoku API
|
|
6
|
+
* Mailboxes for AI agents, with private file storage. Create mailboxes, read and reply to email, and store files. Guide: https://revdoku.com/api.md. Create an account at https://app.revdoku.com/users/sign_up.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.2.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfEmailDomainCheck = instanceOfEmailDomainCheck;
|
|
17
|
+
exports.EmailDomainCheckFromJSON = EmailDomainCheckFromJSON;
|
|
18
|
+
exports.EmailDomainCheckFromJSONTyped = EmailDomainCheckFromJSONTyped;
|
|
19
|
+
exports.EmailDomainCheckToJSON = EmailDomainCheckToJSON;
|
|
20
|
+
exports.EmailDomainCheckToJSONTyped = EmailDomainCheckToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the EmailDomainCheck interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfEmailDomainCheck(value) {
|
|
25
|
+
if (!('hostname' in value) || value['hostname'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if ((!('rootDomain' in value) && !('root_domain' in value)) || (value['rootDomain'] === undefined && value['root_domain'] === undefined))
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function EmailDomainCheckFromJSON(json) {
|
|
32
|
+
return EmailDomainCheckFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function EmailDomainCheckFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'hostname': json['hostname'],
|
|
40
|
+
'rootDomain': json['root_domain'],
|
|
41
|
+
'suggestedSubdomain': json['suggested_subdomain'] === undefined ? undefined : json['suggested_subdomain'] === null ? null : json['suggested_subdomain'],
|
|
42
|
+
'rootGuidance': json['root_guidance'] == null ? undefined : json['root_guidance'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function EmailDomainCheckToJSON(json) {
|
|
46
|
+
return EmailDomainCheckToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function EmailDomainCheckToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'hostname': value['hostname'],
|
|
54
|
+
'root_domain': value['rootDomain'],
|
|
55
|
+
'suggested_subdomain': value['suggestedSubdomain'],
|
|
56
|
+
'root_guidance': value['rootGuidance'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Revdoku API
|
|
3
|
+
* Mailboxes for AI agents, with private file storage. Create mailboxes, read and reply to email, and store files. Guide: https://revdoku.com/api.md. Create an account at https://app.revdoku.com/users/sign_up.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.2.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EmailDomainError
|
|
16
|
+
*/
|
|
17
|
+
export interface EmailDomainError {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
code?: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
message?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
retryable?: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the EmailDomainError interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfEmailDomainError(value: object): value is EmailDomainError;
|
|
35
|
+
export declare function EmailDomainErrorFromJSON(json: any): EmailDomainError;
|
|
36
|
+
export declare function EmailDomainErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailDomainError;
|
|
37
|
+
export declare function EmailDomainErrorToJSON(json: any): EmailDomainError;
|
|
38
|
+
export declare function EmailDomainErrorToJSONTyped(value?: EmailDomainError | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Revdoku API
|
|
6
|
+
* Mailboxes for AI agents, with private file storage. Create mailboxes, read and reply to email, and store files. Guide: https://revdoku.com/api.md. Create an account at https://app.revdoku.com/users/sign_up.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.2.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfEmailDomainError = instanceOfEmailDomainError;
|
|
17
|
+
exports.EmailDomainErrorFromJSON = EmailDomainErrorFromJSON;
|
|
18
|
+
exports.EmailDomainErrorFromJSONTyped = EmailDomainErrorFromJSONTyped;
|
|
19
|
+
exports.EmailDomainErrorToJSON = EmailDomainErrorToJSON;
|
|
20
|
+
exports.EmailDomainErrorToJSONTyped = EmailDomainErrorToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the EmailDomainError interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfEmailDomainError(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function EmailDomainErrorFromJSON(json) {
|
|
28
|
+
return EmailDomainErrorFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function EmailDomainErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'code': json['code'] == null ? undefined : json['code'],
|
|
36
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
37
|
+
'retryable': json['retryable'] == null ? undefined : json['retryable'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function EmailDomainErrorToJSON(json) {
|
|
41
|
+
return EmailDomainErrorToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function EmailDomainErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'code': value['code'],
|
|
49
|
+
'message': value['message'],
|
|
50
|
+
'retryable': value['retryable'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Revdoku API
|
|
3
|
+
* Mailboxes for AI agents, with private file storage. Create mailboxes, read and reply to email, and store files. Guide: https://revdoku.com/api.md. Create an account at https://app.revdoku.com/users/sign_up.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.2.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Pagination } from './Pagination';
|
|
13
|
+
import type { EmailDomain } from './EmailDomain';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface EmailDomainList
|
|
18
|
+
*/
|
|
19
|
+
export interface EmailDomainList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
domains: Array<EmailDomain>;
|
|
24
|
+
/**
|
|
25
|
+
* Whether this account can use custom email domains.
|
|
26
|
+
*/
|
|
27
|
+
enabled: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
guidance?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
pagination: Pagination;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the EmailDomainList interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfEmailDomainList(value: object): value is EmailDomainList;
|
|
41
|
+
export declare function EmailDomainListFromJSON(json: any): EmailDomainList;
|
|
42
|
+
export declare function EmailDomainListFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailDomainList;
|
|
43
|
+
export declare function EmailDomainListToJSON(json: any): EmailDomainList;
|
|
44
|
+
export declare function EmailDomainListToJSONTyped(value?: EmailDomainList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Revdoku API
|
|
6
|
+
* Mailboxes for AI agents, with private file storage. Create mailboxes, read and reply to email, and store files. Guide: https://revdoku.com/api.md. Create an account at https://app.revdoku.com/users/sign_up.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.2.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfEmailDomainList = instanceOfEmailDomainList;
|
|
17
|
+
exports.EmailDomainListFromJSON = EmailDomainListFromJSON;
|
|
18
|
+
exports.EmailDomainListFromJSONTyped = EmailDomainListFromJSONTyped;
|
|
19
|
+
exports.EmailDomainListToJSON = EmailDomainListToJSON;
|
|
20
|
+
exports.EmailDomainListToJSONTyped = EmailDomainListToJSONTyped;
|
|
21
|
+
const Pagination_1 = require("./Pagination");
|
|
22
|
+
const EmailDomain_1 = require("./EmailDomain");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the EmailDomainList interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfEmailDomainList(value) {
|
|
27
|
+
if (!('domains' in value) || value['domains'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('pagination' in value) || value['pagination'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function EmailDomainListFromJSON(json) {
|
|
36
|
+
return EmailDomainListFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function EmailDomainListFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'domains': (json['domains'].map(EmailDomain_1.EmailDomainFromJSON)),
|
|
44
|
+
'enabled': json['enabled'],
|
|
45
|
+
'guidance': json['guidance'] == null ? undefined : json['guidance'],
|
|
46
|
+
'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function EmailDomainListToJSON(json) {
|
|
50
|
+
return EmailDomainListToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function EmailDomainListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'domains': (value['domains'].map(EmailDomain_1.EmailDomainToJSON)),
|
|
58
|
+
'enabled': value['enabled'],
|
|
59
|
+
'guidance': value['guidance'],
|
|
60
|
+
'pagination': (0, Pagination_1.PaginationToJSON)(value['pagination']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Revdoku API
|
|
3
|
+
* Mailboxes for AI agents, with private file storage. Create mailboxes, read and reply to email, and store files. Guide: https://revdoku.com/api.md. Create an account at https://app.revdoku.com/users/sign_up.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.2.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Server-recorded member forwarding provenance. The original author is reported by the member, not independently authenticated. Absent for ordinary or unrecognized mail.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EmailForwarding
|
|
16
|
+
*/
|
|
17
|
+
export interface EmailForwarding {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
method: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
memberId: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
memberEmail: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
intakeAccountId: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
outerFrom?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
outerSubject?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
outerMessageId?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
originalDateRaw?: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
originalSentAt?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
attribution: EmailForwardingAttributionEnum;
|
|
58
|
+
/**
|
|
59
|
+
* Parser implementation used at intake; does not change the forwarding response shape.
|
|
60
|
+
*/
|
|
61
|
+
parserVersion: number;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* @export
|
|
65
|
+
*/
|
|
66
|
+
export declare const EmailForwardingAttributionEnum: {
|
|
67
|
+
readonly MemberForwarded: "member_forwarded";
|
|
68
|
+
};
|
|
69
|
+
export type EmailForwardingAttributionEnum = typeof EmailForwardingAttributionEnum[keyof typeof EmailForwardingAttributionEnum];
|
|
70
|
+
/**
|
|
71
|
+
* Check if a given object implements the EmailForwarding interface.
|
|
72
|
+
*/
|
|
73
|
+
export declare function instanceOfEmailForwarding(value: object): value is EmailForwarding;
|
|
74
|
+
export declare function EmailForwardingFromJSON(json: any): EmailForwarding;
|
|
75
|
+
export declare function EmailForwardingFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailForwarding;
|
|
76
|
+
export declare function EmailForwardingToJSON(json: any): EmailForwarding;
|
|
77
|
+
export declare function EmailForwardingToJSONTyped(value?: EmailForwarding | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Revdoku API
|
|
6
|
+
* Mailboxes for AI agents, with private file storage. Create mailboxes, read and reply to email, and store files. Guide: https://revdoku.com/api.md. Create an account at https://app.revdoku.com/users/sign_up.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.2.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.EmailForwardingAttributionEnum = void 0;
|
|
17
|
+
exports.instanceOfEmailForwarding = instanceOfEmailForwarding;
|
|
18
|
+
exports.EmailForwardingFromJSON = EmailForwardingFromJSON;
|
|
19
|
+
exports.EmailForwardingFromJSONTyped = EmailForwardingFromJSONTyped;
|
|
20
|
+
exports.EmailForwardingToJSON = EmailForwardingToJSON;
|
|
21
|
+
exports.EmailForwardingToJSONTyped = EmailForwardingToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.EmailForwardingAttributionEnum = {
|
|
26
|
+
MemberForwarded: 'member_forwarded',
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the EmailForwarding interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfEmailForwarding(value) {
|
|
32
|
+
if (!('method' in value) || value['method'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if ((!('memberId' in value) && !('member_id' in value)) || (value['memberId'] === undefined && value['member_id'] === undefined))
|
|
35
|
+
return false;
|
|
36
|
+
if ((!('memberEmail' in value) && !('member_email' in value)) || (value['memberEmail'] === undefined && value['member_email'] === undefined))
|
|
37
|
+
return false;
|
|
38
|
+
if ((!('intakeAccountId' in value) && !('intake_account_id' in value)) || (value['intakeAccountId'] === undefined && value['intake_account_id'] === undefined))
|
|
39
|
+
return false;
|
|
40
|
+
if (!('attribution' in value) || value['attribution'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (value['attribution'] !== 'member_forwarded')
|
|
43
|
+
return false;
|
|
44
|
+
if ((!('parserVersion' in value) && !('parser_version' in value)) || (value['parserVersion'] === undefined && value['parser_version'] === undefined))
|
|
45
|
+
return false;
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
function EmailForwardingFromJSON(json) {
|
|
49
|
+
return EmailForwardingFromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function EmailForwardingFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
|
+
if (json == null) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'method': json['method'],
|
|
57
|
+
'memberId': json['member_id'],
|
|
58
|
+
'memberEmail': json['member_email'],
|
|
59
|
+
'intakeAccountId': json['intake_account_id'],
|
|
60
|
+
'outerFrom': json['outer_from'] == null ? undefined : json['outer_from'],
|
|
61
|
+
'outerSubject': json['outer_subject'] == null ? undefined : json['outer_subject'],
|
|
62
|
+
'outerMessageId': json['outer_message_id'] == null ? undefined : json['outer_message_id'],
|
|
63
|
+
'originalDateRaw': json['original_date_raw'] == null ? undefined : json['original_date_raw'],
|
|
64
|
+
'originalSentAt': json['original_sent_at'] == null ? undefined : json['original_sent_at'],
|
|
65
|
+
'attribution': json['attribution'],
|
|
66
|
+
'parserVersion': json['parser_version'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
function EmailForwardingToJSON(json) {
|
|
70
|
+
return EmailForwardingToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
function EmailForwardingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
'method': value['method'],
|
|
78
|
+
'member_id': value['memberId'],
|
|
79
|
+
'member_email': value['memberEmail'],
|
|
80
|
+
'intake_account_id': value['intakeAccountId'],
|
|
81
|
+
'outer_from': value['outerFrom'],
|
|
82
|
+
'outer_subject': value['outerSubject'],
|
|
83
|
+
'outer_message_id': value['outerMessageId'],
|
|
84
|
+
'original_date_raw': value['originalDateRaw'],
|
|
85
|
+
'original_sent_at': value['originalSentAt'],
|
|
86
|
+
'attribution': value['attribution'],
|
|
87
|
+
'parser_version': value['parserVersion'],
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Revdoku API
|
|
3
|
+
* Mailboxes for AI agents, with private file storage. Create mailboxes, read and reply to email, and store files. Guide: https://revdoku.com/api.md. Create an account at https://app.revdoku.com/users/sign_up.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.2.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EmailForwardingContent
|
|
16
|
+
*/
|
|
17
|
+
export interface EmailForwardingContent {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
method: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
memberId: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
memberEmail: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
intakeAccountId: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
outerFrom?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
outerSubject?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
outerMessageId?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
originalDateRaw?: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
originalSentAt?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
attribution: EmailForwardingContentAttributionEnum;
|
|
58
|
+
/**
|
|
59
|
+
* Parser implementation used at intake; does not change the forwarding response shape.
|
|
60
|
+
*/
|
|
61
|
+
parserVersion: number;
|
|
62
|
+
/**
|
|
63
|
+
* Separate member note, bounded to 64 KiB. Never part of the original body.
|
|
64
|
+
*/
|
|
65
|
+
noteText?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
noteStatus?: EmailForwardingContentNoteStatusEnum;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* @export
|
|
73
|
+
*/
|
|
74
|
+
export declare const EmailForwardingContentAttributionEnum: {
|
|
75
|
+
readonly MemberForwarded: "member_forwarded";
|
|
76
|
+
};
|
|
77
|
+
export type EmailForwardingContentAttributionEnum = typeof EmailForwardingContentAttributionEnum[keyof typeof EmailForwardingContentAttributionEnum];
|
|
78
|
+
/**
|
|
79
|
+
* @export
|
|
80
|
+
*/
|
|
81
|
+
export declare const EmailForwardingContentNoteStatusEnum: {
|
|
82
|
+
readonly Complete: "complete";
|
|
83
|
+
readonly Empty: "empty";
|
|
84
|
+
readonly Truncated: "truncated";
|
|
85
|
+
readonly Unavailable: "unavailable";
|
|
86
|
+
};
|
|
87
|
+
export type EmailForwardingContentNoteStatusEnum = typeof EmailForwardingContentNoteStatusEnum[keyof typeof EmailForwardingContentNoteStatusEnum];
|
|
88
|
+
/**
|
|
89
|
+
* Check if a given object implements the EmailForwardingContent interface.
|
|
90
|
+
*/
|
|
91
|
+
export declare function instanceOfEmailForwardingContent(value: object): value is EmailForwardingContent;
|
|
92
|
+
export declare function EmailForwardingContentFromJSON(json: any): EmailForwardingContent;
|
|
93
|
+
export declare function EmailForwardingContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailForwardingContent;
|
|
94
|
+
export declare function EmailForwardingContentToJSON(json: any): EmailForwardingContent;
|
|
95
|
+
export declare function EmailForwardingContentToJSONTyped(value?: EmailForwardingContent | null, ignoreDiscriminator?: boolean): any;
|