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,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 CreateClientAccountRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateClientAccountRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* Optional client person or business name.
|
|
24
|
+
*/
|
|
25
|
+
clientName?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Granted agency account that owns the new client account.
|
|
28
|
+
*/
|
|
29
|
+
accountId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* 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.
|
|
32
|
+
*/
|
|
33
|
+
reason?: string | null;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the CreateClientAccountRequest interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfCreateClientAccountRequest(value: object): value is CreateClientAccountRequest;
|
|
39
|
+
export declare function CreateClientAccountRequestFromJSON(json: any): CreateClientAccountRequest;
|
|
40
|
+
export declare function CreateClientAccountRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateClientAccountRequest;
|
|
41
|
+
export declare function CreateClientAccountRequestToJSON(json: any): CreateClientAccountRequest;
|
|
42
|
+
export declare function CreateClientAccountRequestToJSONTyped(value?: CreateClientAccountRequest | 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.instanceOfCreateClientAccountRequest = instanceOfCreateClientAccountRequest;
|
|
17
|
+
exports.CreateClientAccountRequestFromJSON = CreateClientAccountRequestFromJSON;
|
|
18
|
+
exports.CreateClientAccountRequestFromJSONTyped = CreateClientAccountRequestFromJSONTyped;
|
|
19
|
+
exports.CreateClientAccountRequestToJSON = CreateClientAccountRequestToJSON;
|
|
20
|
+
exports.CreateClientAccountRequestToJSONTyped = CreateClientAccountRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateClientAccountRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateClientAccountRequest(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function CreateClientAccountRequestFromJSON(json) {
|
|
30
|
+
return CreateClientAccountRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function CreateClientAccountRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
'clientName': json['client_name'] == null ? undefined : json['client_name'],
|
|
39
|
+
'accountId': json['account_id'] == null ? undefined : json['account_id'],
|
|
40
|
+
'reason': json['reason'] === undefined ? undefined : json['reason'] === null ? null : json['reason'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function CreateClientAccountRequestToJSON(json) {
|
|
44
|
+
return CreateClientAccountRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function CreateClientAccountRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'name': value['name'],
|
|
52
|
+
'client_name': value['clientName'],
|
|
53
|
+
'account_id': value['accountId'],
|
|
54
|
+
'reason': value['reason'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -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 CreateEmailAliasRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateEmailAliasRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Alias name before @. On revdokumail.com, a prefix with a 4-character random suffix; on a custom domain, the exact name.
|
|
20
|
+
*/
|
|
21
|
+
username: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
domain?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Select another granted account for this request.
|
|
28
|
+
*/
|
|
29
|
+
accountId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* 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.
|
|
32
|
+
*/
|
|
33
|
+
reason?: string | null;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the CreateEmailAliasRequest interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfCreateEmailAliasRequest(value: object): value is CreateEmailAliasRequest;
|
|
39
|
+
export declare function CreateEmailAliasRequestFromJSON(json: any): CreateEmailAliasRequest;
|
|
40
|
+
export declare function CreateEmailAliasRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateEmailAliasRequest;
|
|
41
|
+
export declare function CreateEmailAliasRequestToJSON(json: any): CreateEmailAliasRequest;
|
|
42
|
+
export declare function CreateEmailAliasRequestToJSONTyped(value?: CreateEmailAliasRequest | 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.instanceOfCreateEmailAliasRequest = instanceOfCreateEmailAliasRequest;
|
|
17
|
+
exports.CreateEmailAliasRequestFromJSON = CreateEmailAliasRequestFromJSON;
|
|
18
|
+
exports.CreateEmailAliasRequestFromJSONTyped = CreateEmailAliasRequestFromJSONTyped;
|
|
19
|
+
exports.CreateEmailAliasRequestToJSON = CreateEmailAliasRequestToJSON;
|
|
20
|
+
exports.CreateEmailAliasRequestToJSONTyped = CreateEmailAliasRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateEmailAliasRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateEmailAliasRequest(value) {
|
|
25
|
+
if (!('username' in value) || value['username'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function CreateEmailAliasRequestFromJSON(json) {
|
|
30
|
+
return CreateEmailAliasRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function CreateEmailAliasRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'username': json['username'],
|
|
38
|
+
'domain': json['domain'] == null ? undefined : json['domain'],
|
|
39
|
+
'accountId': json['account_id'] == null ? undefined : json['account_id'],
|
|
40
|
+
'reason': json['reason'] === undefined ? undefined : json['reason'] === null ? null : json['reason'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function CreateEmailAliasRequestToJSON(json) {
|
|
44
|
+
return CreateEmailAliasRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function CreateEmailAliasRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'username': value['username'],
|
|
52
|
+
'domain': value['domain'],
|
|
53
|
+
'account_id': value['accountId'],
|
|
54
|
+
'reason': value['reason'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { CreateEmailDomain201ResponseData } from './CreateEmailDomain201ResponseData';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateEmailDomain201Response
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateEmailDomain201Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
success: boolean;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
data: CreateEmailDomain201ResponseData;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the CreateEmailDomain201Response interface.
|
|
30
|
+
*/
|
|
31
|
+
export declare function instanceOfCreateEmailDomain201Response(value: object): value is CreateEmailDomain201Response;
|
|
32
|
+
export declare function CreateEmailDomain201ResponseFromJSON(json: any): CreateEmailDomain201Response;
|
|
33
|
+
export declare function CreateEmailDomain201ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateEmailDomain201Response;
|
|
34
|
+
export declare function CreateEmailDomain201ResponseToJSON(json: any): CreateEmailDomain201Response;
|
|
35
|
+
export declare function CreateEmailDomain201ResponseToJSONTyped(value?: CreateEmailDomain201Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfCreateEmailDomain201Response = instanceOfCreateEmailDomain201Response;
|
|
17
|
+
exports.CreateEmailDomain201ResponseFromJSON = CreateEmailDomain201ResponseFromJSON;
|
|
18
|
+
exports.CreateEmailDomain201ResponseFromJSONTyped = CreateEmailDomain201ResponseFromJSONTyped;
|
|
19
|
+
exports.CreateEmailDomain201ResponseToJSON = CreateEmailDomain201ResponseToJSON;
|
|
20
|
+
exports.CreateEmailDomain201ResponseToJSONTyped = CreateEmailDomain201ResponseToJSONTyped;
|
|
21
|
+
const CreateEmailDomain201ResponseData_1 = require("./CreateEmailDomain201ResponseData");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CreateEmailDomain201Response interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCreateEmailDomain201Response(value) {
|
|
26
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function CreateEmailDomain201ResponseFromJSON(json) {
|
|
33
|
+
return CreateEmailDomain201ResponseFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function CreateEmailDomain201ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'success': json['success'],
|
|
41
|
+
'data': (0, CreateEmailDomain201ResponseData_1.CreateEmailDomain201ResponseDataFromJSON)(json['data']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function CreateEmailDomain201ResponseToJSON(json) {
|
|
45
|
+
return CreateEmailDomain201ResponseToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function CreateEmailDomain201ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'success': value['success'],
|
|
53
|
+
'data': (0, CreateEmailDomain201ResponseData_1.CreateEmailDomain201ResponseDataToJSON)(value['data']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { EmailDomain } from './EmailDomain';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateEmailDomain201ResponseData
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateEmailDomain201ResponseData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
domain: EmailDomain;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the CreateEmailDomain201ResponseData interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfCreateEmailDomain201ResponseData(value: object): value is CreateEmailDomain201ResponseData;
|
|
28
|
+
export declare function CreateEmailDomain201ResponseDataFromJSON(json: any): CreateEmailDomain201ResponseData;
|
|
29
|
+
export declare function CreateEmailDomain201ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateEmailDomain201ResponseData;
|
|
30
|
+
export declare function CreateEmailDomain201ResponseDataToJSON(json: any): CreateEmailDomain201ResponseData;
|
|
31
|
+
export declare function CreateEmailDomain201ResponseDataToJSONTyped(value?: CreateEmailDomain201ResponseData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfCreateEmailDomain201ResponseData = instanceOfCreateEmailDomain201ResponseData;
|
|
17
|
+
exports.CreateEmailDomain201ResponseDataFromJSON = CreateEmailDomain201ResponseDataFromJSON;
|
|
18
|
+
exports.CreateEmailDomain201ResponseDataFromJSONTyped = CreateEmailDomain201ResponseDataFromJSONTyped;
|
|
19
|
+
exports.CreateEmailDomain201ResponseDataToJSON = CreateEmailDomain201ResponseDataToJSON;
|
|
20
|
+
exports.CreateEmailDomain201ResponseDataToJSONTyped = CreateEmailDomain201ResponseDataToJSONTyped;
|
|
21
|
+
const EmailDomain_1 = require("./EmailDomain");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CreateEmailDomain201ResponseData interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCreateEmailDomain201ResponseData(value) {
|
|
26
|
+
if (!('domain' in value) || value['domain'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function CreateEmailDomain201ResponseDataFromJSON(json) {
|
|
31
|
+
return CreateEmailDomain201ResponseDataFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function CreateEmailDomain201ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'domain': (0, EmailDomain_1.EmailDomainFromJSON)(json['domain']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function CreateEmailDomain201ResponseDataToJSON(json) {
|
|
42
|
+
return CreateEmailDomain201ResponseDataToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function CreateEmailDomain201ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'domain': (0, EmailDomain_1.EmailDomainToJSON)(value['domain']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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 CreateEmailDomainRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateEmailDomainRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
hostname: string;
|
|
22
|
+
/**
|
|
23
|
+
* Select another granted account for this request.
|
|
24
|
+
*/
|
|
25
|
+
accountId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* 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.
|
|
28
|
+
*/
|
|
29
|
+
reason?: string | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the CreateEmailDomainRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfCreateEmailDomainRequest(value: object): value is CreateEmailDomainRequest;
|
|
35
|
+
export declare function CreateEmailDomainRequestFromJSON(json: any): CreateEmailDomainRequest;
|
|
36
|
+
export declare function CreateEmailDomainRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateEmailDomainRequest;
|
|
37
|
+
export declare function CreateEmailDomainRequestToJSON(json: any): CreateEmailDomainRequest;
|
|
38
|
+
export declare function CreateEmailDomainRequestToJSONTyped(value?: CreateEmailDomainRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfCreateEmailDomainRequest = instanceOfCreateEmailDomainRequest;
|
|
17
|
+
exports.CreateEmailDomainRequestFromJSON = CreateEmailDomainRequestFromJSON;
|
|
18
|
+
exports.CreateEmailDomainRequestFromJSONTyped = CreateEmailDomainRequestFromJSONTyped;
|
|
19
|
+
exports.CreateEmailDomainRequestToJSON = CreateEmailDomainRequestToJSON;
|
|
20
|
+
exports.CreateEmailDomainRequestToJSONTyped = CreateEmailDomainRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateEmailDomainRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateEmailDomainRequest(value) {
|
|
25
|
+
if (!('hostname' in value) || value['hostname'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function CreateEmailDomainRequestFromJSON(json) {
|
|
30
|
+
return CreateEmailDomainRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function CreateEmailDomainRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'hostname': json['hostname'],
|
|
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 CreateEmailDomainRequestToJSON(json) {
|
|
43
|
+
return CreateEmailDomainRequestToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function CreateEmailDomainRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'hostname': value['hostname'],
|
|
51
|
+
'account_id': value['accountId'],
|
|
52
|
+
'reason': value['reason'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { CreateMailbox201ResponseData } from './CreateMailbox201ResponseData';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateMailbox201Response
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateMailbox201Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
success: boolean;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
data: CreateMailbox201ResponseData;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the CreateMailbox201Response interface.
|
|
30
|
+
*/
|
|
31
|
+
export declare function instanceOfCreateMailbox201Response(value: object): value is CreateMailbox201Response;
|
|
32
|
+
export declare function CreateMailbox201ResponseFromJSON(json: any): CreateMailbox201Response;
|
|
33
|
+
export declare function CreateMailbox201ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateMailbox201Response;
|
|
34
|
+
export declare function CreateMailbox201ResponseToJSON(json: any): CreateMailbox201Response;
|
|
35
|
+
export declare function CreateMailbox201ResponseToJSONTyped(value?: CreateMailbox201Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfCreateMailbox201Response = instanceOfCreateMailbox201Response;
|
|
17
|
+
exports.CreateMailbox201ResponseFromJSON = CreateMailbox201ResponseFromJSON;
|
|
18
|
+
exports.CreateMailbox201ResponseFromJSONTyped = CreateMailbox201ResponseFromJSONTyped;
|
|
19
|
+
exports.CreateMailbox201ResponseToJSON = CreateMailbox201ResponseToJSON;
|
|
20
|
+
exports.CreateMailbox201ResponseToJSONTyped = CreateMailbox201ResponseToJSONTyped;
|
|
21
|
+
const CreateMailbox201ResponseData_1 = require("./CreateMailbox201ResponseData");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CreateMailbox201Response interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCreateMailbox201Response(value) {
|
|
26
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function CreateMailbox201ResponseFromJSON(json) {
|
|
33
|
+
return CreateMailbox201ResponseFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function CreateMailbox201ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'success': json['success'],
|
|
41
|
+
'data': (0, CreateMailbox201ResponseData_1.CreateMailbox201ResponseDataFromJSON)(json['data']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function CreateMailbox201ResponseToJSON(json) {
|
|
45
|
+
return CreateMailbox201ResponseToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function CreateMailbox201ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'success': value['success'],
|
|
53
|
+
'data': (0, CreateMailbox201ResponseData_1.CreateMailbox201ResponseDataToJSON)(value['data']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { Mailbox } from './Mailbox';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateMailbox201ResponseData
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateMailbox201ResponseData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
mailbox: Mailbox;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the CreateMailbox201ResponseData interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfCreateMailbox201ResponseData(value: object): value is CreateMailbox201ResponseData;
|
|
28
|
+
export declare function CreateMailbox201ResponseDataFromJSON(json: any): CreateMailbox201ResponseData;
|
|
29
|
+
export declare function CreateMailbox201ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateMailbox201ResponseData;
|
|
30
|
+
export declare function CreateMailbox201ResponseDataToJSON(json: any): CreateMailbox201ResponseData;
|
|
31
|
+
export declare function CreateMailbox201ResponseDataToJSONTyped(value?: CreateMailbox201ResponseData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfCreateMailbox201ResponseData = instanceOfCreateMailbox201ResponseData;
|
|
17
|
+
exports.CreateMailbox201ResponseDataFromJSON = CreateMailbox201ResponseDataFromJSON;
|
|
18
|
+
exports.CreateMailbox201ResponseDataFromJSONTyped = CreateMailbox201ResponseDataFromJSONTyped;
|
|
19
|
+
exports.CreateMailbox201ResponseDataToJSON = CreateMailbox201ResponseDataToJSON;
|
|
20
|
+
exports.CreateMailbox201ResponseDataToJSONTyped = CreateMailbox201ResponseDataToJSONTyped;
|
|
21
|
+
const Mailbox_1 = require("./Mailbox");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CreateMailbox201ResponseData interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCreateMailbox201ResponseData(value) {
|
|
26
|
+
if (!('mailbox' in value) || value['mailbox'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function CreateMailbox201ResponseDataFromJSON(json) {
|
|
31
|
+
return CreateMailbox201ResponseDataFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function CreateMailbox201ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'mailbox': (0, Mailbox_1.MailboxFromJSON)(json['mailbox']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function CreateMailbox201ResponseDataToJSON(json) {
|
|
42
|
+
return CreateMailbox201ResponseDataToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function CreateMailbox201ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'mailbox': (0, Mailbox_1.MailboxToJSON)(value['mailbox']),
|
|
50
|
+
};
|
|
51
|
+
}
|