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,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.ConnectionMailboxAccessEnum = exports.ConnectionScopeEnum = exports.ConnectionTokenTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfConnection = instanceOfConnection;
|
|
18
|
+
exports.ConnectionFromJSON = ConnectionFromJSON;
|
|
19
|
+
exports.ConnectionFromJSONTyped = ConnectionFromJSONTyped;
|
|
20
|
+
exports.ConnectionToJSON = ConnectionToJSON;
|
|
21
|
+
exports.ConnectionToJSONTyped = ConnectionToJSONTyped;
|
|
22
|
+
const runtime_1 = require("../runtime");
|
|
23
|
+
const ConnectionPermissions_1 = require("./ConnectionPermissions");
|
|
24
|
+
const ConnectionRenewal_1 = require("./ConnectionRenewal");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.ConnectionTokenTypeEnum = {
|
|
29
|
+
Api: 'api',
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
exports.ConnectionScopeEnum = {
|
|
35
|
+
MailboxRead: 'mailbox_read',
|
|
36
|
+
MailboxWrite: 'mailbox_write',
|
|
37
|
+
MailboxAdmin: 'mailbox_admin',
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
42
|
+
exports.ConnectionMailboxAccessEnum = {
|
|
43
|
+
All: 'all',
|
|
44
|
+
Selected: 'selected',
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the Connection interface.
|
|
48
|
+
*/
|
|
49
|
+
function instanceOfConnection(value) {
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
function ConnectionFromJSON(json) {
|
|
53
|
+
return ConnectionFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function ConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'apiKeyId': json['api_key_id'] === undefined ? undefined : json['api_key_id'] === null ? null : json['api_key_id'],
|
|
61
|
+
'label': json['label'] === undefined ? undefined : json['label'] === null ? null : json['label'],
|
|
62
|
+
'tokenType': json['token_type'] === undefined ? undefined : json['token_type'] === null ? null : json['token_type'],
|
|
63
|
+
'scope': json['scope'] === undefined ? undefined : json['scope'] === null ? null : json['scope'],
|
|
64
|
+
'expiresAt': json['expires_at'] === undefined ? undefined : json['expires_at'] === null ? null : ((0, runtime_1.parseDateTime)(json['expires_at'])),
|
|
65
|
+
'lastUsedAt': json['last_used_at'] === undefined ? undefined : json['last_used_at'] === null ? null : ((0, runtime_1.parseDateTime)(json['last_used_at'])),
|
|
66
|
+
'mailboxAccess': json['mailbox_access'] === undefined ? undefined : json['mailbox_access'] === null ? null : json['mailbox_access'],
|
|
67
|
+
'mailboxIds': json['mailbox_ids'] == null ? undefined : json['mailbox_ids'],
|
|
68
|
+
'deniedMailboxIds': json['denied_mailbox_ids'] == null ? undefined : json['denied_mailbox_ids'],
|
|
69
|
+
'mailboxPermissions': json['mailbox_permissions'] == null ? undefined : json['mailbox_permissions'],
|
|
70
|
+
'permissions': json['permissions'] == null ? undefined : (0, ConnectionPermissions_1.ConnectionPermissionsFromJSON)(json['permissions']),
|
|
71
|
+
'agent': json['agent'] === undefined ? undefined : json['agent'] === null ? null : json['agent'],
|
|
72
|
+
'transport': json['transport'] === undefined ? undefined : json['transport'] === null ? null : json['transport'],
|
|
73
|
+
'renewal': json['renewal'] == null ? undefined : (0, ConnectionRenewal_1.ConnectionRenewalFromJSON)(json['renewal']),
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
function ConnectionToJSON(json) {
|
|
77
|
+
return ConnectionToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
function ConnectionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
'api_key_id': value['apiKeyId'],
|
|
85
|
+
'label': value['label'],
|
|
86
|
+
'token_type': value['tokenType'],
|
|
87
|
+
'scope': value['scope'],
|
|
88
|
+
'expires_at': value['expiresAt'] == null ? value['expiresAt'] : (0, runtime_1.serializeDateTime)(value['expiresAt']),
|
|
89
|
+
'last_used_at': value['lastUsedAt'] == null ? value['lastUsedAt'] : (0, runtime_1.serializeDateTime)(value['lastUsedAt']),
|
|
90
|
+
'mailbox_access': value['mailboxAccess'],
|
|
91
|
+
'mailbox_ids': value['mailboxIds'],
|
|
92
|
+
'denied_mailbox_ids': value['deniedMailboxIds'],
|
|
93
|
+
'mailbox_permissions': value['mailboxPermissions'],
|
|
94
|
+
'permissions': (0, ConnectionPermissions_1.ConnectionPermissionsToJSON)(value['permissions']),
|
|
95
|
+
'agent': value['agent'],
|
|
96
|
+
'transport': value['transport'],
|
|
97
|
+
'renewal': (0, ConnectionRenewal_1.ConnectionRenewalToJSON)(value['renewal']),
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -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 ConnectionPermissions
|
|
16
|
+
*/
|
|
17
|
+
export interface ConnectionPermissions {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
read?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
write?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
admin?: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ConnectionPermissions interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfConnectionPermissions(value: object): value is ConnectionPermissions;
|
|
35
|
+
export declare function ConnectionPermissionsFromJSON(json: any): ConnectionPermissions;
|
|
36
|
+
export declare function ConnectionPermissionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectionPermissions;
|
|
37
|
+
export declare function ConnectionPermissionsToJSON(json: any): ConnectionPermissions;
|
|
38
|
+
export declare function ConnectionPermissionsToJSONTyped(value?: ConnectionPermissions | 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.instanceOfConnectionPermissions = instanceOfConnectionPermissions;
|
|
17
|
+
exports.ConnectionPermissionsFromJSON = ConnectionPermissionsFromJSON;
|
|
18
|
+
exports.ConnectionPermissionsFromJSONTyped = ConnectionPermissionsFromJSONTyped;
|
|
19
|
+
exports.ConnectionPermissionsToJSON = ConnectionPermissionsToJSON;
|
|
20
|
+
exports.ConnectionPermissionsToJSONTyped = ConnectionPermissionsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ConnectionPermissions interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfConnectionPermissions(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ConnectionPermissionsFromJSON(json) {
|
|
28
|
+
return ConnectionPermissionsFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ConnectionPermissionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'read': json['read'] == null ? undefined : json['read'],
|
|
36
|
+
'write': json['write'] == null ? undefined : json['write'],
|
|
37
|
+
'admin': json['admin'] == null ? undefined : json['admin'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ConnectionPermissionsToJSON(json) {
|
|
41
|
+
return ConnectionPermissionsToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ConnectionPermissionsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'read': value['read'],
|
|
49
|
+
'write': value['write'],
|
|
50
|
+
'admin': value['admin'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -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 ConnectionRenewal
|
|
16
|
+
*/
|
|
17
|
+
export interface ConnectionRenewal {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
recommended?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
nextAction?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
browserUrl?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ConnectionRenewal interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfConnectionRenewal(value: object): value is ConnectionRenewal;
|
|
35
|
+
export declare function ConnectionRenewalFromJSON(json: any): ConnectionRenewal;
|
|
36
|
+
export declare function ConnectionRenewalFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectionRenewal;
|
|
37
|
+
export declare function ConnectionRenewalToJSON(json: any): ConnectionRenewal;
|
|
38
|
+
export declare function ConnectionRenewalToJSONTyped(value?: ConnectionRenewal | 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.instanceOfConnectionRenewal = instanceOfConnectionRenewal;
|
|
17
|
+
exports.ConnectionRenewalFromJSON = ConnectionRenewalFromJSON;
|
|
18
|
+
exports.ConnectionRenewalFromJSONTyped = ConnectionRenewalFromJSONTyped;
|
|
19
|
+
exports.ConnectionRenewalToJSON = ConnectionRenewalToJSON;
|
|
20
|
+
exports.ConnectionRenewalToJSONTyped = ConnectionRenewalToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ConnectionRenewal interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfConnectionRenewal(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ConnectionRenewalFromJSON(json) {
|
|
28
|
+
return ConnectionRenewalFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ConnectionRenewalFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'recommended': json['recommended'] == null ? undefined : json['recommended'],
|
|
36
|
+
'nextAction': json['next_action'] == null ? undefined : json['next_action'],
|
|
37
|
+
'browserUrl': json['browser_url'] == null ? undefined : json['browser_url'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ConnectionRenewalToJSON(json) {
|
|
41
|
+
return ConnectionRenewalToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ConnectionRenewalToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'recommended': value['recommended'],
|
|
49
|
+
'next_action': value['nextAction'],
|
|
50
|
+
'browser_url': value['browserUrl'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -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 { BrowserLink } from './BrowserLink';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateBrowserLink201Response
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateBrowserLink201Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
success: boolean;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
data: BrowserLink;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the CreateBrowserLink201Response interface.
|
|
30
|
+
*/
|
|
31
|
+
export declare function instanceOfCreateBrowserLink201Response(value: object): value is CreateBrowserLink201Response;
|
|
32
|
+
export declare function CreateBrowserLink201ResponseFromJSON(json: any): CreateBrowserLink201Response;
|
|
33
|
+
export declare function CreateBrowserLink201ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBrowserLink201Response;
|
|
34
|
+
export declare function CreateBrowserLink201ResponseToJSON(json: any): CreateBrowserLink201Response;
|
|
35
|
+
export declare function CreateBrowserLink201ResponseToJSONTyped(value?: CreateBrowserLink201Response | 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.instanceOfCreateBrowserLink201Response = instanceOfCreateBrowserLink201Response;
|
|
17
|
+
exports.CreateBrowserLink201ResponseFromJSON = CreateBrowserLink201ResponseFromJSON;
|
|
18
|
+
exports.CreateBrowserLink201ResponseFromJSONTyped = CreateBrowserLink201ResponseFromJSONTyped;
|
|
19
|
+
exports.CreateBrowserLink201ResponseToJSON = CreateBrowserLink201ResponseToJSON;
|
|
20
|
+
exports.CreateBrowserLink201ResponseToJSONTyped = CreateBrowserLink201ResponseToJSONTyped;
|
|
21
|
+
const BrowserLink_1 = require("./BrowserLink");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CreateBrowserLink201Response interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCreateBrowserLink201Response(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 CreateBrowserLink201ResponseFromJSON(json) {
|
|
33
|
+
return CreateBrowserLink201ResponseFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function CreateBrowserLink201ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'success': json['success'],
|
|
41
|
+
'data': (0, BrowserLink_1.BrowserLinkFromJSON)(json['data']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function CreateBrowserLink201ResponseToJSON(json) {
|
|
45
|
+
return CreateBrowserLink201ResponseToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function CreateBrowserLink201ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'success': value['success'],
|
|
53
|
+
'data': (0, BrowserLink_1.BrowserLinkToJSON)(value['data']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -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 CreateBrowserLinkRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateBrowserLinkRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
redirectPath?: 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 CreateBrowserLinkRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfCreateBrowserLinkRequest(value: object): value is CreateBrowserLinkRequest;
|
|
35
|
+
export declare function CreateBrowserLinkRequestFromJSON(json: any): CreateBrowserLinkRequest;
|
|
36
|
+
export declare function CreateBrowserLinkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBrowserLinkRequest;
|
|
37
|
+
export declare function CreateBrowserLinkRequestToJSON(json: any): CreateBrowserLinkRequest;
|
|
38
|
+
export declare function CreateBrowserLinkRequestToJSONTyped(value?: CreateBrowserLinkRequest | 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.instanceOfCreateBrowserLinkRequest = instanceOfCreateBrowserLinkRequest;
|
|
17
|
+
exports.CreateBrowserLinkRequestFromJSON = CreateBrowserLinkRequestFromJSON;
|
|
18
|
+
exports.CreateBrowserLinkRequestFromJSONTyped = CreateBrowserLinkRequestFromJSONTyped;
|
|
19
|
+
exports.CreateBrowserLinkRequestToJSON = CreateBrowserLinkRequestToJSON;
|
|
20
|
+
exports.CreateBrowserLinkRequestToJSONTyped = CreateBrowserLinkRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateBrowserLinkRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateBrowserLinkRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function CreateBrowserLinkRequestFromJSON(json) {
|
|
28
|
+
return CreateBrowserLinkRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function CreateBrowserLinkRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'redirectPath': json['redirect_path'] == null ? undefined : json['redirect_path'],
|
|
36
|
+
'accountId': json['account_id'] == null ? undefined : json['account_id'],
|
|
37
|
+
'reason': json['reason'] === undefined ? undefined : json['reason'] === null ? null : json['reason'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function CreateBrowserLinkRequestToJSON(json) {
|
|
41
|
+
return CreateBrowserLinkRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function CreateBrowserLinkRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'redirect_path': value['redirectPath'],
|
|
49
|
+
'account_id': value['accountId'],
|
|
50
|
+
'reason': value['reason'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -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 { CreateClientAccount201ResponseData } from './CreateClientAccount201ResponseData';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateClientAccount201Response
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateClientAccount201Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
success: boolean;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
data: CreateClientAccount201ResponseData;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the CreateClientAccount201Response interface.
|
|
30
|
+
*/
|
|
31
|
+
export declare function instanceOfCreateClientAccount201Response(value: object): value is CreateClientAccount201Response;
|
|
32
|
+
export declare function CreateClientAccount201ResponseFromJSON(json: any): CreateClientAccount201Response;
|
|
33
|
+
export declare function CreateClientAccount201ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateClientAccount201Response;
|
|
34
|
+
export declare function CreateClientAccount201ResponseToJSON(json: any): CreateClientAccount201Response;
|
|
35
|
+
export declare function CreateClientAccount201ResponseToJSONTyped(value?: CreateClientAccount201Response | 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.instanceOfCreateClientAccount201Response = instanceOfCreateClientAccount201Response;
|
|
17
|
+
exports.CreateClientAccount201ResponseFromJSON = CreateClientAccount201ResponseFromJSON;
|
|
18
|
+
exports.CreateClientAccount201ResponseFromJSONTyped = CreateClientAccount201ResponseFromJSONTyped;
|
|
19
|
+
exports.CreateClientAccount201ResponseToJSON = CreateClientAccount201ResponseToJSON;
|
|
20
|
+
exports.CreateClientAccount201ResponseToJSONTyped = CreateClientAccount201ResponseToJSONTyped;
|
|
21
|
+
const CreateClientAccount201ResponseData_1 = require("./CreateClientAccount201ResponseData");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CreateClientAccount201Response interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCreateClientAccount201Response(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 CreateClientAccount201ResponseFromJSON(json) {
|
|
33
|
+
return CreateClientAccount201ResponseFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function CreateClientAccount201ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'success': json['success'],
|
|
41
|
+
'data': (0, CreateClientAccount201ResponseData_1.CreateClientAccount201ResponseDataFromJSON)(json['data']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function CreateClientAccount201ResponseToJSON(json) {
|
|
45
|
+
return CreateClientAccount201ResponseToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function CreateClientAccount201ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'success': value['success'],
|
|
53
|
+
'data': (0, CreateClientAccount201ResponseData_1.CreateClientAccount201ResponseDataToJSON)(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 { AccountIdentity } from './AccountIdentity';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateClientAccount201ResponseData
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateClientAccount201ResponseData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
account: AccountIdentity;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the CreateClientAccount201ResponseData interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfCreateClientAccount201ResponseData(value: object): value is CreateClientAccount201ResponseData;
|
|
28
|
+
export declare function CreateClientAccount201ResponseDataFromJSON(json: any): CreateClientAccount201ResponseData;
|
|
29
|
+
export declare function CreateClientAccount201ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateClientAccount201ResponseData;
|
|
30
|
+
export declare function CreateClientAccount201ResponseDataToJSON(json: any): CreateClientAccount201ResponseData;
|
|
31
|
+
export declare function CreateClientAccount201ResponseDataToJSONTyped(value?: CreateClientAccount201ResponseData | 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.instanceOfCreateClientAccount201ResponseData = instanceOfCreateClientAccount201ResponseData;
|
|
17
|
+
exports.CreateClientAccount201ResponseDataFromJSON = CreateClientAccount201ResponseDataFromJSON;
|
|
18
|
+
exports.CreateClientAccount201ResponseDataFromJSONTyped = CreateClientAccount201ResponseDataFromJSONTyped;
|
|
19
|
+
exports.CreateClientAccount201ResponseDataToJSON = CreateClientAccount201ResponseDataToJSON;
|
|
20
|
+
exports.CreateClientAccount201ResponseDataToJSONTyped = CreateClientAccount201ResponseDataToJSONTyped;
|
|
21
|
+
const AccountIdentity_1 = require("./AccountIdentity");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CreateClientAccount201ResponseData interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCreateClientAccount201ResponseData(value) {
|
|
26
|
+
if (!('account' in value) || value['account'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function CreateClientAccount201ResponseDataFromJSON(json) {
|
|
31
|
+
return CreateClientAccount201ResponseDataFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function CreateClientAccount201ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'account': (0, AccountIdentity_1.AccountIdentityFromJSON)(json['account']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function CreateClientAccount201ResponseDataToJSON(json) {
|
|
42
|
+
return CreateClientAccount201ResponseDataToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function CreateClientAccount201ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'account': (0, AccountIdentity_1.AccountIdentityToJSON)(value['account']),
|
|
50
|
+
};
|
|
51
|
+
}
|