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,128 @@
|
|
|
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 { FileKey } from './FileKey';
|
|
13
|
+
import type { FileVersionReason } from './FileVersionReason';
|
|
14
|
+
import type { FileActor } from './FileActor';
|
|
15
|
+
import type { FileVersion } from './FileVersion';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface MailboxFile
|
|
20
|
+
*/
|
|
21
|
+
export interface MailboxFile {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
mailboxId?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
basename?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
path: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
role?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
createdBySystem?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
deleted?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
versionReasons?: Array<FileVersionReason>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
lock?: {
|
|
58
|
+
[key: string]: any;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
currentFileVersion?: FileVersion | null;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
createdBy?: FileActor;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
*/
|
|
71
|
+
createdAt?: Date;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
75
|
+
updatedAt?: Date;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
deletedAt?: Date;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
*/
|
|
83
|
+
createdByAgent?: {
|
|
84
|
+
[key: string]: any;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
*/
|
|
89
|
+
updatedByAgent?: {
|
|
90
|
+
[key: string]: any;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
*/
|
|
95
|
+
createdByApiKey?: {
|
|
96
|
+
[key: string]: any;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
*/
|
|
101
|
+
updatedByApiKey?: {
|
|
102
|
+
[key: string]: any;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
*/
|
|
107
|
+
read?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
*/
|
|
111
|
+
readAt?: Date | null;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
*/
|
|
115
|
+
readBy?: FileActor | null;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
*/
|
|
119
|
+
readByApiKey?: FileKey | null;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Check if a given object implements the MailboxFile interface.
|
|
123
|
+
*/
|
|
124
|
+
export declare function instanceOfMailboxFile(value: object): value is MailboxFile;
|
|
125
|
+
export declare function MailboxFileFromJSON(json: any): MailboxFile;
|
|
126
|
+
export declare function MailboxFileFromJSONTyped(json: any, ignoreDiscriminator: boolean): MailboxFile;
|
|
127
|
+
export declare function MailboxFileToJSON(json: any): MailboxFile;
|
|
128
|
+
export declare function MailboxFileToJSONTyped(value?: MailboxFile | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,99 @@
|
|
|
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.instanceOfMailboxFile = instanceOfMailboxFile;
|
|
17
|
+
exports.MailboxFileFromJSON = MailboxFileFromJSON;
|
|
18
|
+
exports.MailboxFileFromJSONTyped = MailboxFileFromJSONTyped;
|
|
19
|
+
exports.MailboxFileToJSON = MailboxFileToJSON;
|
|
20
|
+
exports.MailboxFileToJSONTyped = MailboxFileToJSONTyped;
|
|
21
|
+
const runtime_1 = require("../runtime");
|
|
22
|
+
const FileKey_1 = require("./FileKey");
|
|
23
|
+
const FileVersionReason_1 = require("./FileVersionReason");
|
|
24
|
+
const FileActor_1 = require("./FileActor");
|
|
25
|
+
const FileVersion_1 = require("./FileVersion");
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the MailboxFile interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfMailboxFile(value) {
|
|
30
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function MailboxFileFromJSON(json) {
|
|
37
|
+
return MailboxFileFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function MailboxFileFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': json['id'],
|
|
45
|
+
'mailboxId': json['mailbox_id'] == null ? undefined : json['mailbox_id'],
|
|
46
|
+
'basename': json['basename'] == null ? undefined : json['basename'],
|
|
47
|
+
'path': json['path'],
|
|
48
|
+
'role': json['role'] == null ? undefined : json['role'],
|
|
49
|
+
'createdBySystem': json['created_by_system'] == null ? undefined : json['created_by_system'],
|
|
50
|
+
'deleted': json['deleted'] == null ? undefined : json['deleted'],
|
|
51
|
+
'versionReasons': json['version_reasons'] == null ? undefined : (json['version_reasons'].map(FileVersionReason_1.FileVersionReasonFromJSON)),
|
|
52
|
+
'lock': json['lock'] == null ? undefined : json['lock'],
|
|
53
|
+
'currentFileVersion': json['current_file_version'] === undefined ? undefined : json['current_file_version'] === null ? null : (0, FileVersion_1.FileVersionFromJSON)(json['current_file_version']),
|
|
54
|
+
'createdBy': json['created_by'] == null ? undefined : (0, FileActor_1.FileActorFromJSON)(json['created_by']),
|
|
55
|
+
'createdAt': json['created_at'] == null ? undefined : ((0, runtime_1.parseDateTime)(json['created_at'])),
|
|
56
|
+
'updatedAt': json['updated_at'] == null ? undefined : ((0, runtime_1.parseDateTime)(json['updated_at'])),
|
|
57
|
+
'deletedAt': json['deleted_at'] == null ? undefined : ((0, runtime_1.parseDateTime)(json['deleted_at'])),
|
|
58
|
+
'createdByAgent': json['created_by_agent'] == null ? undefined : json['created_by_agent'],
|
|
59
|
+
'updatedByAgent': json['updated_by_agent'] == null ? undefined : json['updated_by_agent'],
|
|
60
|
+
'createdByApiKey': json['created_by_api_key'] == null ? undefined : json['created_by_api_key'],
|
|
61
|
+
'updatedByApiKey': json['updated_by_api_key'] == null ? undefined : json['updated_by_api_key'],
|
|
62
|
+
'read': json['read'] == null ? undefined : json['read'],
|
|
63
|
+
'readAt': json['read_at'] === undefined ? undefined : json['read_at'] === null ? null : ((0, runtime_1.parseDateTime)(json['read_at'])),
|
|
64
|
+
'readBy': json['read_by'] === undefined ? undefined : json['read_by'] === null ? null : (0, FileActor_1.FileActorFromJSON)(json['read_by']),
|
|
65
|
+
'readByApiKey': json['read_by_api_key'] === undefined ? undefined : json['read_by_api_key'] === null ? null : (0, FileKey_1.FileKeyFromJSON)(json['read_by_api_key']),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
function MailboxFileToJSON(json) {
|
|
69
|
+
return MailboxFileToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
function MailboxFileToJSONTyped(value, ignoreDiscriminator = false) {
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
'id': value['id'],
|
|
77
|
+
'mailbox_id': value['mailboxId'],
|
|
78
|
+
'basename': value['basename'],
|
|
79
|
+
'path': value['path'],
|
|
80
|
+
'role': value['role'],
|
|
81
|
+
'created_by_system': value['createdBySystem'],
|
|
82
|
+
'deleted': value['deleted'],
|
|
83
|
+
'version_reasons': value['versionReasons'] == null ? undefined : (value['versionReasons'].map(FileVersionReason_1.FileVersionReasonToJSON)),
|
|
84
|
+
'lock': value['lock'],
|
|
85
|
+
'current_file_version': (0, FileVersion_1.FileVersionToJSON)(value['currentFileVersion']),
|
|
86
|
+
'created_by': (0, FileActor_1.FileActorToJSON)(value['createdBy']),
|
|
87
|
+
'created_at': value['createdAt'] == null ? value['createdAt'] : (0, runtime_1.serializeDateTime)(value['createdAt']),
|
|
88
|
+
'updated_at': value['updatedAt'] == null ? value['updatedAt'] : (0, runtime_1.serializeDateTime)(value['updatedAt']),
|
|
89
|
+
'deleted_at': value['deletedAt'] == null ? value['deletedAt'] : (0, runtime_1.serializeDateTime)(value['deletedAt']),
|
|
90
|
+
'created_by_agent': value['createdByAgent'],
|
|
91
|
+
'updated_by_agent': value['updatedByAgent'],
|
|
92
|
+
'created_by_api_key': value['createdByApiKey'],
|
|
93
|
+
'updated_by_api_key': value['updatedByApiKey'],
|
|
94
|
+
'read': value['read'],
|
|
95
|
+
'read_at': value['readAt'] == null ? value['readAt'] : (0, runtime_1.serializeDateTime)(value['readAt']),
|
|
96
|
+
'read_by': (0, FileActor_1.FileActorToJSON)(value['readBy']),
|
|
97
|
+
'read_by_api_key': (0, FileKey_1.FileKeyToJSON)(value['readByApiKey']),
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { MailboxCounts } from './MailboxCounts';
|
|
14
|
+
import type { Mailbox } from './Mailbox';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface MailboxList
|
|
19
|
+
*/
|
|
20
|
+
export interface MailboxList {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
mailboxes: Array<Mailbox>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
counts: MailboxCounts;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
pagination: Pagination;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the MailboxList interface.
|
|
36
|
+
*/
|
|
37
|
+
export declare function instanceOfMailboxList(value: object): value is MailboxList;
|
|
38
|
+
export declare function MailboxListFromJSON(json: any): MailboxList;
|
|
39
|
+
export declare function MailboxListFromJSONTyped(json: any, ignoreDiscriminator: boolean): MailboxList;
|
|
40
|
+
export declare function MailboxListToJSON(json: any): MailboxList;
|
|
41
|
+
export declare function MailboxListToJSONTyped(value?: MailboxList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
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.instanceOfMailboxList = instanceOfMailboxList;
|
|
17
|
+
exports.MailboxListFromJSON = MailboxListFromJSON;
|
|
18
|
+
exports.MailboxListFromJSONTyped = MailboxListFromJSONTyped;
|
|
19
|
+
exports.MailboxListToJSON = MailboxListToJSON;
|
|
20
|
+
exports.MailboxListToJSONTyped = MailboxListToJSONTyped;
|
|
21
|
+
const Pagination_1 = require("./Pagination");
|
|
22
|
+
const MailboxCounts_1 = require("./MailboxCounts");
|
|
23
|
+
const Mailbox_1 = require("./Mailbox");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the MailboxList interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfMailboxList(value) {
|
|
28
|
+
if (!('mailboxes' in value) || value['mailboxes'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('counts' in value) || value['counts'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('pagination' in value) || value['pagination'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function MailboxListFromJSON(json) {
|
|
37
|
+
return MailboxListFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function MailboxListFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'mailboxes': (json['mailboxes'].map(Mailbox_1.MailboxFromJSON)),
|
|
45
|
+
'counts': (0, MailboxCounts_1.MailboxCountsFromJSON)(json['counts']),
|
|
46
|
+
'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function MailboxListToJSON(json) {
|
|
50
|
+
return MailboxListToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function MailboxListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'mailboxes': (value['mailboxes'].map(Mailbox_1.MailboxToJSON)),
|
|
58
|
+
'counts': (0, MailboxCounts_1.MailboxCountsToJSON)(value['counts']),
|
|
59
|
+
'pagination': (0, Pagination_1.PaginationToJSON)(value['pagination']),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 { FileKey } from './FileKey';
|
|
13
|
+
import type { FileActor } from './FileActor';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface MailboxLock
|
|
18
|
+
*/
|
|
19
|
+
export interface MailboxLock {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
locked: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
lockedUntil?: Date;
|
|
28
|
+
/**
|
|
29
|
+
* For example mailbox_delete while a permanent delete runs.
|
|
30
|
+
*/
|
|
31
|
+
kind?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
message?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
progress?: {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
lockedBy?: FileActor;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
lockedByApiKey?: FileKey;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the MailboxLock interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfMailboxLock(value: object): value is MailboxLock;
|
|
55
|
+
export declare function MailboxLockFromJSON(json: any): MailboxLock;
|
|
56
|
+
export declare function MailboxLockFromJSONTyped(json: any, ignoreDiscriminator: boolean): MailboxLock;
|
|
57
|
+
export declare function MailboxLockToJSON(json: any): MailboxLock;
|
|
58
|
+
export declare function MailboxLockToJSONTyped(value?: MailboxLock | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
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.instanceOfMailboxLock = instanceOfMailboxLock;
|
|
17
|
+
exports.MailboxLockFromJSON = MailboxLockFromJSON;
|
|
18
|
+
exports.MailboxLockFromJSONTyped = MailboxLockFromJSONTyped;
|
|
19
|
+
exports.MailboxLockToJSON = MailboxLockToJSON;
|
|
20
|
+
exports.MailboxLockToJSONTyped = MailboxLockToJSONTyped;
|
|
21
|
+
const runtime_1 = require("../runtime");
|
|
22
|
+
const FileKey_1 = require("./FileKey");
|
|
23
|
+
const FileActor_1 = require("./FileActor");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the MailboxLock interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfMailboxLock(value) {
|
|
28
|
+
if (!('locked' in value) || value['locked'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function MailboxLockFromJSON(json) {
|
|
33
|
+
return MailboxLockFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function MailboxLockFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'locked': json['locked'],
|
|
41
|
+
'lockedUntil': json['locked_until'] == null ? undefined : ((0, runtime_1.parseDateTime)(json['locked_until'])),
|
|
42
|
+
'kind': json['kind'] == null ? undefined : json['kind'],
|
|
43
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
44
|
+
'progress': json['progress'] == null ? undefined : json['progress'],
|
|
45
|
+
'lockedBy': json['locked_by'] == null ? undefined : (0, FileActor_1.FileActorFromJSON)(json['locked_by']),
|
|
46
|
+
'lockedByApiKey': json['locked_by_api_key'] == null ? undefined : (0, FileKey_1.FileKeyFromJSON)(json['locked_by_api_key']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function MailboxLockToJSON(json) {
|
|
50
|
+
return MailboxLockToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function MailboxLockToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'locked': value['locked'],
|
|
58
|
+
'locked_until': value['lockedUntil'] == null ? value['lockedUntil'] : (0, runtime_1.serializeDateTime)(value['lockedUntil']),
|
|
59
|
+
'kind': value['kind'],
|
|
60
|
+
'message': value['message'],
|
|
61
|
+
'progress': value['progress'],
|
|
62
|
+
'locked_by': (0, FileActor_1.FileActorToJSON)(value['lockedBy']),
|
|
63
|
+
'locked_by_api_key': (0, FileKey_1.FileKeyToJSON)(value['lockedByApiKey']),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 MailboxUpdate
|
|
16
|
+
*/
|
|
17
|
+
export interface MailboxUpdate {
|
|
18
|
+
/**
|
|
19
|
+
* New title. An empty string or null clears it. A title that another active mailbox uses returns 409 MAILBOX_TITLE_TAKEN.
|
|
20
|
+
*/
|
|
21
|
+
title?: string | null;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
description?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
metadata?: {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the MailboxUpdate interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfMailboxUpdate(value: object): value is MailboxUpdate;
|
|
37
|
+
export declare function MailboxUpdateFromJSON(json: any): MailboxUpdate;
|
|
38
|
+
export declare function MailboxUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): MailboxUpdate;
|
|
39
|
+
export declare function MailboxUpdateToJSON(json: any): MailboxUpdate;
|
|
40
|
+
export declare function MailboxUpdateToJSONTyped(value?: MailboxUpdate | 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.instanceOfMailboxUpdate = instanceOfMailboxUpdate;
|
|
17
|
+
exports.MailboxUpdateFromJSON = MailboxUpdateFromJSON;
|
|
18
|
+
exports.MailboxUpdateFromJSONTyped = MailboxUpdateFromJSONTyped;
|
|
19
|
+
exports.MailboxUpdateToJSON = MailboxUpdateToJSON;
|
|
20
|
+
exports.MailboxUpdateToJSONTyped = MailboxUpdateToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the MailboxUpdate interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfMailboxUpdate(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function MailboxUpdateFromJSON(json) {
|
|
28
|
+
return MailboxUpdateFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function MailboxUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'title': json['title'] === undefined ? undefined : json['title'] === null ? null : json['title'],
|
|
36
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
37
|
+
'metadata': json['metadata'] == null ? undefined : json['metadata'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function MailboxUpdateToJSON(json) {
|
|
41
|
+
return MailboxUpdateToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function MailboxUpdateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'title': value['title'],
|
|
49
|
+
'description': value['description'],
|
|
50
|
+
'metadata': value['metadata'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 MoveFileRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface MoveFileRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
targetMailboxId?: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
targetPath?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
targetFolder?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Select another granted account for this request.
|
|
32
|
+
*/
|
|
33
|
+
accountId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Optional purpose for this action. AI agents should explain intentional reads and changes when known; omit when unknown. Do not include secrets, file contents, or transcripts.
|
|
36
|
+
*/
|
|
37
|
+
reason?: string | null;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the MoveFileRequest interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfMoveFileRequest(value: object): value is MoveFileRequest;
|
|
43
|
+
export declare function MoveFileRequestFromJSON(json: any): MoveFileRequest;
|
|
44
|
+
export declare function MoveFileRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoveFileRequest;
|
|
45
|
+
export declare function MoveFileRequestToJSON(json: any): MoveFileRequest;
|
|
46
|
+
export declare function MoveFileRequestToJSONTyped(value?: MoveFileRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfMoveFileRequest = instanceOfMoveFileRequest;
|
|
17
|
+
exports.MoveFileRequestFromJSON = MoveFileRequestFromJSON;
|
|
18
|
+
exports.MoveFileRequestFromJSONTyped = MoveFileRequestFromJSONTyped;
|
|
19
|
+
exports.MoveFileRequestToJSON = MoveFileRequestToJSON;
|
|
20
|
+
exports.MoveFileRequestToJSONTyped = MoveFileRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the MoveFileRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfMoveFileRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function MoveFileRequestFromJSON(json) {
|
|
28
|
+
return MoveFileRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function MoveFileRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'targetMailboxId': json['target_mailbox_id'] == null ? undefined : json['target_mailbox_id'],
|
|
36
|
+
'targetPath': json['target_path'] == null ? undefined : json['target_path'],
|
|
37
|
+
'targetFolder': json['target_folder'] == null ? undefined : json['target_folder'],
|
|
38
|
+
'accountId': json['account_id'] == null ? undefined : json['account_id'],
|
|
39
|
+
'reason': json['reason'] === undefined ? undefined : json['reason'] === null ? null : json['reason'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function MoveFileRequestToJSON(json) {
|
|
43
|
+
return MoveFileRequestToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function MoveFileRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'target_mailbox_id': value['targetMailboxId'],
|
|
51
|
+
'target_path': value['targetPath'],
|
|
52
|
+
'target_folder': value['targetFolder'],
|
|
53
|
+
'account_id': value['accountId'],
|
|
54
|
+
'reason': value['reason'],
|
|
55
|
+
};
|
|
56
|
+
}
|