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.
Files changed (332) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +250 -2
  3. package/REFERENCE.md +654 -0
  4. package/dist/apis/DefaultApi.d.ts +1643 -0
  5. package/dist/apis/DefaultApi.js +3161 -0
  6. package/dist/apis/index.d.ts +1 -0
  7. package/dist/apis/index.js +19 -0
  8. package/dist/client.d.ts +74 -0
  9. package/dist/client.js +241 -0
  10. package/dist/index.d.ts +4 -0
  11. package/dist/index.js +22 -0
  12. package/dist/models/AccountIdentity.d.ts +77 -0
  13. package/dist/models/AccountIdentity.js +90 -0
  14. package/dist/models/AccountIdentityAgencyAccount.d.ts +34 -0
  15. package/dist/models/AccountIdentityAgencyAccount.js +50 -0
  16. package/dist/models/AccountIdentityPermissions.d.ts +55 -0
  17. package/dist/models/AccountIdentityPermissions.js +68 -0
  18. package/dist/models/AccountLimits.d.ts +106 -0
  19. package/dist/models/AccountLimits.js +126 -0
  20. package/dist/models/AccountList.d.ts +40 -0
  21. package/dist/models/AccountList.js +60 -0
  22. package/dist/models/ActionRequest.d.ts +34 -0
  23. package/dist/models/ActionRequest.js +50 -0
  24. package/dist/models/AddUploadSessionFilesRequest.d.ts +39 -0
  25. package/dist/models/AddUploadSessionFilesRequest.js +55 -0
  26. package/dist/models/AgentConnection.d.ts +99 -0
  27. package/dist/models/AgentConnection.js +93 -0
  28. package/dist/models/ApiError.d.ts +35 -0
  29. package/dist/models/ApiError.js +55 -0
  30. package/dist/models/ApiErrorError.d.ts +62 -0
  31. package/dist/models/ApiErrorError.js +69 -0
  32. package/dist/models/AppendText200Response.d.ts +35 -0
  33. package/dist/models/AppendText200Response.js +55 -0
  34. package/dist/models/AppendTextRequest.d.ts +50 -0
  35. package/dist/models/AppendTextRequest.js +62 -0
  36. package/dist/models/AppendTextResult.d.ts +52 -0
  37. package/dist/models/AppendTextResult.js +72 -0
  38. package/dist/models/BrowserLink.d.ts +46 -0
  39. package/dist/models/BrowserLink.js +60 -0
  40. package/dist/models/ChangeMailboxAddressRequest.d.ts +54 -0
  41. package/dist/models/ChangeMailboxAddressRequest.js +64 -0
  42. package/dist/models/CheckEmailDomain200Response.d.ts +35 -0
  43. package/dist/models/CheckEmailDomain200Response.js +55 -0
  44. package/dist/models/CodeRequested.d.ts +46 -0
  45. package/dist/models/CodeRequested.js +56 -0
  46. package/dist/models/Connection.d.ts +112 -0
  47. package/dist/models/Connection.js +99 -0
  48. package/dist/models/ConnectionPermissions.d.ts +38 -0
  49. package/dist/models/ConnectionPermissions.js +52 -0
  50. package/dist/models/ConnectionRenewal.d.ts +38 -0
  51. package/dist/models/ConnectionRenewal.js +52 -0
  52. package/dist/models/CreateBrowserLink201Response.d.ts +35 -0
  53. package/dist/models/CreateBrowserLink201Response.js +55 -0
  54. package/dist/models/CreateBrowserLinkRequest.d.ts +38 -0
  55. package/dist/models/CreateBrowserLinkRequest.js +52 -0
  56. package/dist/models/CreateClientAccount201Response.d.ts +35 -0
  57. package/dist/models/CreateClientAccount201Response.js +55 -0
  58. package/dist/models/CreateClientAccount201ResponseData.d.ts +31 -0
  59. package/dist/models/CreateClientAccount201ResponseData.js +51 -0
  60. package/dist/models/CreateClientAccountRequest.d.ts +42 -0
  61. package/dist/models/CreateClientAccountRequest.js +56 -0
  62. package/dist/models/CreateEmailAliasRequest.d.ts +42 -0
  63. package/dist/models/CreateEmailAliasRequest.js +56 -0
  64. package/dist/models/CreateEmailDomain201Response.d.ts +35 -0
  65. package/dist/models/CreateEmailDomain201Response.js +55 -0
  66. package/dist/models/CreateEmailDomain201ResponseData.d.ts +31 -0
  67. package/dist/models/CreateEmailDomain201ResponseData.js +51 -0
  68. package/dist/models/CreateEmailDomainRequest.d.ts +38 -0
  69. package/dist/models/CreateEmailDomainRequest.js +54 -0
  70. package/dist/models/CreateMailbox201Response.d.ts +35 -0
  71. package/dist/models/CreateMailbox201Response.js +55 -0
  72. package/dist/models/CreateMailbox201ResponseData.d.ts +31 -0
  73. package/dist/models/CreateMailbox201ResponseData.js +51 -0
  74. package/dist/models/CreateMailboxRequest.d.ts +39 -0
  75. package/dist/models/CreateMailboxRequest.js +53 -0
  76. package/dist/models/CreateUploadSession201Response.d.ts +35 -0
  77. package/dist/models/CreateUploadSession201Response.js +55 -0
  78. package/dist/models/CreateUploadSessionRequest.d.ts +63 -0
  79. package/dist/models/CreateUploadSessionRequest.js +69 -0
  80. package/dist/models/DecodedEmailAddress.d.ts +34 -0
  81. package/dist/models/DecodedEmailAddress.js +54 -0
  82. package/dist/models/DecodedIncomingMessage.d.ts +151 -0
  83. package/dist/models/DecodedIncomingMessage.js +142 -0
  84. package/dist/models/DecodedIncomingMessageAttachmentsInner.d.ts +56 -0
  85. package/dist/models/DecodedIncomingMessageAttachmentsInner.js +74 -0
  86. package/dist/models/DeleteEmailDomain200Response.d.ts +35 -0
  87. package/dist/models/DeleteEmailDomain200Response.js +55 -0
  88. package/dist/models/DeleteEmailDomainRequest.d.ts +42 -0
  89. package/dist/models/DeleteEmailDomainRequest.js +58 -0
  90. package/dist/models/DeleteMailboxRequest.d.ts +38 -0
  91. package/dist/models/DeleteMailboxRequest.js +54 -0
  92. package/dist/models/DeleteResult.d.ts +34 -0
  93. package/dist/models/DeleteResult.js +54 -0
  94. package/dist/models/DnsRecord.d.ts +50 -0
  95. package/dist/models/DnsRecord.js +70 -0
  96. package/dist/models/Download.d.ts +53 -0
  97. package/dist/models/Download.js +75 -0
  98. package/dist/models/EmailAlias.d.ts +38 -0
  99. package/dist/models/EmailAlias.js +58 -0
  100. package/dist/models/EmailAttachment.d.ts +60 -0
  101. package/dist/models/EmailAttachment.js +76 -0
  102. package/dist/models/EmailDelivery.d.ts +49 -0
  103. package/dist/models/EmailDelivery.js +67 -0
  104. package/dist/models/EmailDetail.d.ts +167 -0
  105. package/dist/models/EmailDetail.js +157 -0
  106. package/dist/models/EmailDomain.d.ts +101 -0
  107. package/dist/models/EmailDomain.js +92 -0
  108. package/dist/models/EmailDomainAssignedMailboxesInner.d.ts +35 -0
  109. package/dist/models/EmailDomainAssignedMailboxesInner.js +51 -0
  110. package/dist/models/EmailDomainAssignedMailboxesInnerEmail.d.ts +30 -0
  111. package/dist/models/EmailDomainAssignedMailboxesInnerEmail.js +48 -0
  112. package/dist/models/EmailDomainCheck.d.ts +42 -0
  113. package/dist/models/EmailDomainCheck.js +58 -0
  114. package/dist/models/EmailDomainError.d.ts +38 -0
  115. package/dist/models/EmailDomainError.js +52 -0
  116. package/dist/models/EmailDomainList.d.ts +44 -0
  117. package/dist/models/EmailDomainList.js +62 -0
  118. package/dist/models/EmailForwarding.d.ts +77 -0
  119. package/dist/models/EmailForwarding.js +89 -0
  120. package/dist/models/EmailForwardingContent.d.ts +95 -0
  121. package/dist/models/EmailForwardingContent.js +102 -0
  122. package/dist/models/EmailLabel.d.ts +51 -0
  123. package/dist/models/EmailLabel.js +71 -0
  124. package/dist/models/EmailList.d.ts +36 -0
  125. package/dist/models/EmailList.js +56 -0
  126. package/dist/models/EmailReceivedEvent.d.ts +50 -0
  127. package/dist/models/EmailReceivedEvent.js +73 -0
  128. package/dist/models/EmailReceivedEventData.d.ts +46 -0
  129. package/dist/models/EmailReceivedEventData.js +67 -0
  130. package/dist/models/EmailSenderAllowlist.d.ts +46 -0
  131. package/dist/models/EmailSenderAllowlist.js +66 -0
  132. package/dist/models/EmailSubscription.d.ts +64 -0
  133. package/dist/models/EmailSubscription.js +87 -0
  134. package/dist/models/EmailSummary.d.ts +158 -0
  135. package/dist/models/EmailSummary.js +146 -0
  136. package/dist/models/EmailSummaryFiles.d.ts +42 -0
  137. package/dist/models/EmailSummaryFiles.js +60 -0
  138. package/dist/models/ErrorCode.d.ts +172 -0
  139. package/dist/models/ErrorCode.js +198 -0
  140. package/dist/models/ExchangeConnectionGrantRequest.d.ts +42 -0
  141. package/dist/models/ExchangeConnectionGrantRequest.js +56 -0
  142. package/dist/models/FileActor.d.ts +38 -0
  143. package/dist/models/FileActor.js +52 -0
  144. package/dist/models/FileDownload.d.ts +40 -0
  145. package/dist/models/FileDownload.js +58 -0
  146. package/dist/models/FileKey.d.ts +38 -0
  147. package/dist/models/FileKey.js +52 -0
  148. package/dist/models/FileList.d.ts +36 -0
  149. package/dist/models/FileList.js +56 -0
  150. package/dist/models/FileUploadSkip.d.ts +52 -0
  151. package/dist/models/FileUploadSkip.js +58 -0
  152. package/dist/models/FileVersion.d.ts +128 -0
  153. package/dist/models/FileVersion.js +101 -0
  154. package/dist/models/FileVersionList.d.ts +36 -0
  155. package/dist/models/FileVersionList.js +56 -0
  156. package/dist/models/FileVersionReason.d.ts +46 -0
  157. package/dist/models/FileVersionReason.js +57 -0
  158. package/dist/models/FinalizeUploadSessionRequest.d.ts +38 -0
  159. package/dist/models/FinalizeUploadSessionRequest.js +52 -0
  160. package/dist/models/GetAccountLimits200Response.d.ts +35 -0
  161. package/dist/models/GetAccountLimits200Response.js +55 -0
  162. package/dist/models/GetAccountLimits200ResponseData.d.ts +40 -0
  163. package/dist/models/GetAccountLimits200ResponseData.js +58 -0
  164. package/dist/models/GetAccountLimits200ResponseDataUsage.d.ts +31 -0
  165. package/dist/models/GetAccountLimits200ResponseDataUsage.js +49 -0
  166. package/dist/models/GetAccountLimits200ResponseDataUsageMailboxCreations.d.ts +42 -0
  167. package/dist/models/GetAccountLimits200ResponseDataUsageMailboxCreations.js +55 -0
  168. package/dist/models/GetEmail200Response.d.ts +35 -0
  169. package/dist/models/GetEmail200Response.js +55 -0
  170. package/dist/models/GetEmail200ResponseData.d.ts +31 -0
  171. package/dist/models/GetEmail200ResponseData.js +51 -0
  172. package/dist/models/GetEmailDomainSetupLink200Response.d.ts +35 -0
  173. package/dist/models/GetEmailDomainSetupLink200Response.js +55 -0
  174. package/dist/models/GetEmailDomainSetupLink200ResponseData.d.ts +31 -0
  175. package/dist/models/GetEmailDomainSetupLink200ResponseData.js +51 -0
  176. package/dist/models/GetEmailDomainSetupLink200ResponseDataSetupLink.d.ts +34 -0
  177. package/dist/models/GetEmailDomainSetupLink200ResponseDataSetupLink.js +54 -0
  178. package/dist/models/GetEmailOriginalDownload200Response.d.ts +35 -0
  179. package/dist/models/GetEmailOriginalDownload200Response.js +55 -0
  180. package/dist/models/GetEmailOriginalDownload200ResponseData.d.ts +31 -0
  181. package/dist/models/GetEmailOriginalDownload200ResponseData.js +51 -0
  182. package/dist/models/GetEmailSubscription200Response.d.ts +35 -0
  183. package/dist/models/GetEmailSubscription200Response.js +55 -0
  184. package/dist/models/GetEmailSubscription200ResponseData.d.ts +31 -0
  185. package/dist/models/GetEmailSubscription200ResponseData.js +51 -0
  186. package/dist/models/GetEmailWebhook200Response.d.ts +35 -0
  187. package/dist/models/GetEmailWebhook200Response.js +55 -0
  188. package/dist/models/GetEmailWebhook200ResponseData.d.ts +31 -0
  189. package/dist/models/GetEmailWebhook200ResponseData.js +51 -0
  190. package/dist/models/GetFileByPath200Response.d.ts +35 -0
  191. package/dist/models/GetFileByPath200Response.js +55 -0
  192. package/dist/models/GetFileByPath200ResponseData.d.ts +31 -0
  193. package/dist/models/GetFileByPath200ResponseData.js +51 -0
  194. package/dist/models/GetFileDownload200Response.d.ts +35 -0
  195. package/dist/models/GetFileDownload200Response.js +55 -0
  196. package/dist/models/GetMailboxEmailSettings200Response.d.ts +35 -0
  197. package/dist/models/GetMailboxEmailSettings200Response.js +55 -0
  198. package/dist/models/GetStatus200Response.d.ts +35 -0
  199. package/dist/models/GetStatus200Response.js +55 -0
  200. package/dist/models/ListAccounts200Response.d.ts +35 -0
  201. package/dist/models/ListAccounts200Response.js +55 -0
  202. package/dist/models/ListEmailDomains200Response.d.ts +35 -0
  203. package/dist/models/ListEmailDomains200Response.js +55 -0
  204. package/dist/models/ListEmails200Response.d.ts +35 -0
  205. package/dist/models/ListEmails200Response.js +55 -0
  206. package/dist/models/ListFileVersions200Response.d.ts +35 -0
  207. package/dist/models/ListFileVersions200Response.js +55 -0
  208. package/dist/models/ListFiles200Response.d.ts +35 -0
  209. package/dist/models/ListFiles200Response.js +55 -0
  210. package/dist/models/ListMailboxes200Response.d.ts +35 -0
  211. package/dist/models/ListMailboxes200Response.js +55 -0
  212. package/dist/models/Mailbox.d.ts +111 -0
  213. package/dist/models/Mailbox.js +110 -0
  214. package/dist/models/MailboxAction.d.ts +42 -0
  215. package/dist/models/MailboxAction.js +56 -0
  216. package/dist/models/MailboxCounts.d.ts +38 -0
  217. package/dist/models/MailboxCounts.js +58 -0
  218. package/dist/models/MailboxCreate.d.ts +45 -0
  219. package/dist/models/MailboxCreate.js +55 -0
  220. package/dist/models/MailboxEmail.d.ts +58 -0
  221. package/dist/models/MailboxEmail.js +73 -0
  222. package/dist/models/MailboxEmailOptions.d.ts +34 -0
  223. package/dist/models/MailboxEmailOptions.js +50 -0
  224. package/dist/models/MailboxEmailSettings.d.ts +87 -0
  225. package/dist/models/MailboxEmailSettings.js +92 -0
  226. package/dist/models/MailboxEmailSettingsAssignment.d.ts +52 -0
  227. package/dist/models/MailboxEmailSettingsAssignment.js +64 -0
  228. package/dist/models/MailboxEmailSettingsAssignmentError.d.ts +38 -0
  229. package/dist/models/MailboxEmailSettingsAssignmentError.js +52 -0
  230. package/dist/models/MailboxEmailSettingsAvailableDomainsInner.d.ts +42 -0
  231. package/dist/models/MailboxEmailSettingsAvailableDomainsInner.js +58 -0
  232. package/dist/models/MailboxEmailSettingsCustomization.d.ts +38 -0
  233. package/dist/models/MailboxEmailSettingsCustomization.js +52 -0
  234. package/dist/models/MailboxFile.d.ts +128 -0
  235. package/dist/models/MailboxFile.js +99 -0
  236. package/dist/models/MailboxList.d.ts +41 -0
  237. package/dist/models/MailboxList.js +61 -0
  238. package/dist/models/MailboxLock.d.ts +58 -0
  239. package/dist/models/MailboxLock.js +65 -0
  240. package/dist/models/MailboxUpdate.d.ts +40 -0
  241. package/dist/models/MailboxUpdate.js +52 -0
  242. package/dist/models/MoveFileRequest.d.ts +46 -0
  243. package/dist/models/MoveFileRequest.js +56 -0
  244. package/dist/models/Pagination.d.ts +38 -0
  245. package/dist/models/Pagination.js +58 -0
  246. package/dist/models/PathOperationResult.d.ts +73 -0
  247. package/dist/models/PathOperationResult.js +81 -0
  248. package/dist/models/PrepareFileUpload201Response.d.ts +35 -0
  249. package/dist/models/PrepareFileUpload201Response.js +55 -0
  250. package/dist/models/PrepareFileUploadRequest.d.ts +59 -0
  251. package/dist/models/PrepareFileUploadRequest.js +73 -0
  252. package/dist/models/PreparedFileUpload.d.ts +79 -0
  253. package/dist/models/PreparedFileUpload.js +73 -0
  254. package/dist/models/RenameFile200Response.d.ts +35 -0
  255. package/dist/models/RenameFile200Response.js +55 -0
  256. package/dist/models/RenameFileRequest.d.ts +38 -0
  257. package/dist/models/RenameFileRequest.js +54 -0
  258. package/dist/models/RequestSignInCode200Response.d.ts +35 -0
  259. package/dist/models/RequestSignInCode200Response.js +55 -0
  260. package/dist/models/RequestSignInCodeRequest.d.ts +38 -0
  261. package/dist/models/RequestSignInCodeRequest.js +54 -0
  262. package/dist/models/RestoreFileVersion201Response.d.ts +35 -0
  263. package/dist/models/RestoreFileVersion201Response.js +55 -0
  264. package/dist/models/RestoredFileVersion.d.ts +40 -0
  265. package/dist/models/RestoredFileVersion.js +60 -0
  266. package/dist/models/SaveUploadSessionBatchRequest.d.ts +38 -0
  267. package/dist/models/SaveUploadSessionBatchRequest.js +52 -0
  268. package/dist/models/SaveUploadedFile201Response.d.ts +35 -0
  269. package/dist/models/SaveUploadedFile201Response.js +55 -0
  270. package/dist/models/SaveUploadedFileRequest.d.ts +78 -0
  271. package/dist/models/SaveUploadedFileRequest.js +85 -0
  272. package/dist/models/SavedFile.d.ts +49 -0
  273. package/dist/models/SavedFile.js +65 -0
  274. package/dist/models/SendEmail202Response.d.ts +35 -0
  275. package/dist/models/SendEmail202Response.js +55 -0
  276. package/dist/models/SendEmail202ResponseData.d.ts +31 -0
  277. package/dist/models/SendEmail202ResponseData.js +51 -0
  278. package/dist/models/SendEmailRequest.d.ts +62 -0
  279. package/dist/models/SendEmailRequest.js +66 -0
  280. package/dist/models/SetEmailWebhook200Response.d.ts +35 -0
  281. package/dist/models/SetEmailWebhook200Response.js +55 -0
  282. package/dist/models/SetEmailWebhook200ResponseData.d.ts +31 -0
  283. package/dist/models/SetEmailWebhook200ResponseData.js +51 -0
  284. package/dist/models/SetEmailWebhookRequest.d.ts +42 -0
  285. package/dist/models/SetEmailWebhookRequest.js +56 -0
  286. package/dist/models/Status.d.ts +73 -0
  287. package/dist/models/Status.js +75 -0
  288. package/dist/models/StatusFeatures.d.ts +30 -0
  289. package/dist/models/StatusFeatures.js +48 -0
  290. package/dist/models/StatusUser.d.ts +38 -0
  291. package/dist/models/StatusUser.js +52 -0
  292. package/dist/models/StorageUpload.d.ts +36 -0
  293. package/dist/models/StorageUpload.js +54 -0
  294. package/dist/models/UpdateEmailAllowlist200Response.d.ts +35 -0
  295. package/dist/models/UpdateEmailAllowlist200Response.js +55 -0
  296. package/dist/models/UpdateEmailAllowlist200ResponseData.d.ts +31 -0
  297. package/dist/models/UpdateEmailAllowlist200ResponseData.js +51 -0
  298. package/dist/models/UpdateEmailAllowlistRequest.d.ts +43 -0
  299. package/dist/models/UpdateEmailAllowlistRequest.js +59 -0
  300. package/dist/models/UpdateEmailAllowlistRequestSenderAllowlist.d.ts +34 -0
  301. package/dist/models/UpdateEmailAllowlistRequestSenderAllowlist.js +54 -0
  302. package/dist/models/UpdateEmailRequest.d.ts +46 -0
  303. package/dist/models/UpdateEmailRequest.js +56 -0
  304. package/dist/models/UpdateMailboxRequest.d.ts +43 -0
  305. package/dist/models/UpdateMailboxRequest.js +57 -0
  306. package/dist/models/UploadBlob.d.ts +57 -0
  307. package/dist/models/UploadBlob.js +79 -0
  308. package/dist/models/UploadSession.d.ts +94 -0
  309. package/dist/models/UploadSession.js +91 -0
  310. package/dist/models/UploadSessionFile.d.ts +46 -0
  311. package/dist/models/UploadSessionFile.js +66 -0
  312. package/dist/models/UploadSessionResult.d.ts +82 -0
  313. package/dist/models/UploadSessionResult.js +86 -0
  314. package/dist/models/UploadSessionUpload.d.ts +47 -0
  315. package/dist/models/UploadSessionUpload.js +61 -0
  316. package/dist/models/UploadedFile.d.ts +48 -0
  317. package/dist/models/UploadedFile.js +66 -0
  318. package/dist/models/VerifyEmailDomainRequest.d.ts +34 -0
  319. package/dist/models/VerifyEmailDomainRequest.js +50 -0
  320. package/dist/models/VerifySignInCode201Response.d.ts +35 -0
  321. package/dist/models/VerifySignInCode201Response.js +55 -0
  322. package/dist/models/VerifySignInCodeRequest.d.ts +89 -0
  323. package/dist/models/VerifySignInCodeRequest.js +91 -0
  324. package/dist/models/Webhook.d.ts +41 -0
  325. package/dist/models/Webhook.js +63 -0
  326. package/dist/models/WebhookWithSecret.d.ts +45 -0
  327. package/dist/models/WebhookWithSecret.js +65 -0
  328. package/dist/models/index.d.ts +158 -0
  329. package/dist/models/index.js +176 -0
  330. package/dist/runtime.d.ts +196 -0
  331. package/dist/runtime.js +421 -0
  332. package/package.json +54 -4
@@ -0,0 +1,1643 @@
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 * as runtime from '../runtime';
13
+ import { type ActionRequest } from '../models/ActionRequest';
14
+ import { type AddUploadSessionFilesRequest } from '../models/AddUploadSessionFilesRequest';
15
+ import { type AppendText200Response } from '../models/AppendText200Response';
16
+ import { type AppendTextRequest } from '../models/AppendTextRequest';
17
+ import { type ChangeMailboxAddressRequest } from '../models/ChangeMailboxAddressRequest';
18
+ import { type CheckEmailDomain200Response } from '../models/CheckEmailDomain200Response';
19
+ import { type CreateBrowserLink201Response } from '../models/CreateBrowserLink201Response';
20
+ import { type CreateBrowserLinkRequest } from '../models/CreateBrowserLinkRequest';
21
+ import { type CreateClientAccount201Response } from '../models/CreateClientAccount201Response';
22
+ import { type CreateClientAccountRequest } from '../models/CreateClientAccountRequest';
23
+ import { type CreateEmailAliasRequest } from '../models/CreateEmailAliasRequest';
24
+ import { type CreateEmailDomain201Response } from '../models/CreateEmailDomain201Response';
25
+ import { type CreateEmailDomainRequest } from '../models/CreateEmailDomainRequest';
26
+ import { type CreateMailbox201Response } from '../models/CreateMailbox201Response';
27
+ import { type CreateMailboxRequest } from '../models/CreateMailboxRequest';
28
+ import { type CreateUploadSession201Response } from '../models/CreateUploadSession201Response';
29
+ import { type CreateUploadSessionRequest } from '../models/CreateUploadSessionRequest';
30
+ import { type DeleteEmailDomain200Response } from '../models/DeleteEmailDomain200Response';
31
+ import { type DeleteEmailDomainRequest } from '../models/DeleteEmailDomainRequest';
32
+ import { type DeleteMailboxRequest } from '../models/DeleteMailboxRequest';
33
+ import { type ExchangeConnectionGrantRequest } from '../models/ExchangeConnectionGrantRequest';
34
+ import { type FinalizeUploadSessionRequest } from '../models/FinalizeUploadSessionRequest';
35
+ import { type GetAccountLimits200Response } from '../models/GetAccountLimits200Response';
36
+ import { type GetEmail200Response } from '../models/GetEmail200Response';
37
+ import { type GetEmailDomainSetupLink200Response } from '../models/GetEmailDomainSetupLink200Response';
38
+ import { type GetEmailOriginalDownload200Response } from '../models/GetEmailOriginalDownload200Response';
39
+ import { type GetEmailSubscription200Response } from '../models/GetEmailSubscription200Response';
40
+ import { type GetEmailWebhook200Response } from '../models/GetEmailWebhook200Response';
41
+ import { type GetFileByPath200Response } from '../models/GetFileByPath200Response';
42
+ import { type GetFileDownload200Response } from '../models/GetFileDownload200Response';
43
+ import { type GetMailboxEmailSettings200Response } from '../models/GetMailboxEmailSettings200Response';
44
+ import { type GetStatus200Response } from '../models/GetStatus200Response';
45
+ import { type ListAccounts200Response } from '../models/ListAccounts200Response';
46
+ import { type ListEmailDomains200Response } from '../models/ListEmailDomains200Response';
47
+ import { type ListEmails200Response } from '../models/ListEmails200Response';
48
+ import { type ListFileVersions200Response } from '../models/ListFileVersions200Response';
49
+ import { type ListFiles200Response } from '../models/ListFiles200Response';
50
+ import { type ListMailboxes200Response } from '../models/ListMailboxes200Response';
51
+ import { type MoveFileRequest } from '../models/MoveFileRequest';
52
+ import { type PrepareFileUpload201Response } from '../models/PrepareFileUpload201Response';
53
+ import { type PrepareFileUploadRequest } from '../models/PrepareFileUploadRequest';
54
+ import { type RenameFile200Response } from '../models/RenameFile200Response';
55
+ import { type RenameFileRequest } from '../models/RenameFileRequest';
56
+ import { type RequestSignInCode200Response } from '../models/RequestSignInCode200Response';
57
+ import { type RequestSignInCodeRequest } from '../models/RequestSignInCodeRequest';
58
+ import { type RestoreFileVersion201Response } from '../models/RestoreFileVersion201Response';
59
+ import { type SaveUploadSessionBatchRequest } from '../models/SaveUploadSessionBatchRequest';
60
+ import { type SaveUploadedFile201Response } from '../models/SaveUploadedFile201Response';
61
+ import { type SaveUploadedFileRequest } from '../models/SaveUploadedFileRequest';
62
+ import { type SendEmail202Response } from '../models/SendEmail202Response';
63
+ import { type SendEmailRequest } from '../models/SendEmailRequest';
64
+ import { type SetEmailWebhook200Response } from '../models/SetEmailWebhook200Response';
65
+ import { type SetEmailWebhookRequest } from '../models/SetEmailWebhookRequest';
66
+ import { type UpdateEmailAllowlist200Response } from '../models/UpdateEmailAllowlist200Response';
67
+ import { type UpdateEmailAllowlistRequest } from '../models/UpdateEmailAllowlistRequest';
68
+ import { type UpdateEmailRequest } from '../models/UpdateEmailRequest';
69
+ import { type UpdateMailboxRequest } from '../models/UpdateMailboxRequest';
70
+ import { type VerifyEmailDomainRequest } from '../models/VerifyEmailDomainRequest';
71
+ import { type VerifySignInCode201Response } from '../models/VerifySignInCode201Response';
72
+ import { type VerifySignInCodeRequest } from '../models/VerifySignInCodeRequest';
73
+ export interface AddUploadSessionFilesOperationRequest {
74
+ /**
75
+ *
76
+ */
77
+ mailboxId: string;
78
+ /**
79
+ * mailbox_upload_session.id from the create response.
80
+ */
81
+ sessionId: string;
82
+ /**
83
+ *
84
+ */
85
+ addUploadSessionFilesRequest: AddUploadSessionFilesRequest;
86
+ }
87
+ export interface AppendTextOperationRequest {
88
+ /**
89
+ *
90
+ */
91
+ mailboxId: string;
92
+ /**
93
+ *
94
+ */
95
+ appendTextRequest: AppendTextRequest;
96
+ }
97
+ export interface ArchiveMailboxRequest {
98
+ /**
99
+ *
100
+ */
101
+ mailboxId: string;
102
+ /**
103
+ *
104
+ */
105
+ actionRequest: ActionRequest;
106
+ }
107
+ export interface ChangeMailboxAddressOperationRequest {
108
+ /**
109
+ *
110
+ */
111
+ mailboxId: string;
112
+ /**
113
+ *
114
+ */
115
+ changeMailboxAddressRequest: ChangeMailboxAddressRequest;
116
+ }
117
+ export interface CheckEmailDomainRequest {
118
+ /**
119
+ *
120
+ */
121
+ createEmailDomainRequest: CreateEmailDomainRequest;
122
+ }
123
+ export interface CopyFileRequest {
124
+ /**
125
+ *
126
+ */
127
+ mailboxId: string;
128
+ /**
129
+ *
130
+ */
131
+ fileId: string;
132
+ /**
133
+ *
134
+ */
135
+ moveFileRequest: MoveFileRequest;
136
+ }
137
+ export interface CreateBrowserLinkOperationRequest {
138
+ /**
139
+ *
140
+ */
141
+ createBrowserLinkRequest: CreateBrowserLinkRequest;
142
+ }
143
+ export interface CreateClientAccountOperationRequest {
144
+ /**
145
+ *
146
+ */
147
+ createClientAccountRequest: CreateClientAccountRequest;
148
+ }
149
+ export interface CreateEmailAliasOperationRequest {
150
+ /**
151
+ *
152
+ */
153
+ mailboxId: string;
154
+ /**
155
+ *
156
+ */
157
+ createEmailAliasRequest: CreateEmailAliasRequest;
158
+ }
159
+ export interface CreateEmailDomainOperationRequest {
160
+ /**
161
+ *
162
+ */
163
+ createEmailDomainRequest: CreateEmailDomainRequest;
164
+ }
165
+ export interface CreateMailboxOperationRequest {
166
+ /**
167
+ *
168
+ */
169
+ createMailboxRequest: CreateMailboxRequest;
170
+ }
171
+ export interface CreateUploadSessionOperationRequest {
172
+ /**
173
+ *
174
+ */
175
+ mailboxId: string;
176
+ /**
177
+ *
178
+ */
179
+ createUploadSessionRequest: CreateUploadSessionRequest;
180
+ }
181
+ export interface DeleteEmailRequest {
182
+ /**
183
+ *
184
+ */
185
+ mailboxId: string;
186
+ /**
187
+ *
188
+ */
189
+ emailId: string;
190
+ /**
191
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
192
+ */
193
+ accountId?: string;
194
+ /**
195
+ *
196
+ */
197
+ reason?: string | null;
198
+ }
199
+ export interface DeleteEmailAliasRequest {
200
+ /**
201
+ *
202
+ */
203
+ mailboxId: string;
204
+ /**
205
+ *
206
+ */
207
+ aliasId: string;
208
+ /**
209
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
210
+ */
211
+ accountId?: string;
212
+ /**
213
+ *
214
+ */
215
+ reason?: string | null;
216
+ }
217
+ export interface DeleteEmailDomainOperationRequest {
218
+ /**
219
+ *
220
+ */
221
+ domainId: string;
222
+ /**
223
+ *
224
+ */
225
+ deleteEmailDomainRequest: DeleteEmailDomainRequest;
226
+ }
227
+ export interface DeleteEmailWebhookRequest {
228
+ /**
229
+ *
230
+ */
231
+ mailboxId: string;
232
+ /**
233
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
234
+ */
235
+ accountId?: string;
236
+ }
237
+ export interface DeleteFileRequest {
238
+ /**
239
+ *
240
+ */
241
+ mailboxId: string;
242
+ /**
243
+ *
244
+ */
245
+ fileId: string;
246
+ /**
247
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
248
+ */
249
+ accountId?: string;
250
+ /**
251
+ *
252
+ */
253
+ reason?: string | null;
254
+ }
255
+ export interface DeleteMailboxOperationRequest {
256
+ /**
257
+ *
258
+ */
259
+ mailboxId: string;
260
+ /**
261
+ *
262
+ */
263
+ deleteMailboxRequest: DeleteMailboxRequest;
264
+ }
265
+ export interface ExchangeConnectionGrantOperationRequest {
266
+ /**
267
+ *
268
+ */
269
+ exchangeConnectionGrantRequest: ExchangeConnectionGrantRequest;
270
+ }
271
+ export interface FinalizeUploadSessionOperationRequest {
272
+ /**
273
+ *
274
+ */
275
+ mailboxId: string;
276
+ /**
277
+ * mailbox_upload_session.id from the create response.
278
+ */
279
+ sessionId: string;
280
+ /**
281
+ *
282
+ */
283
+ finalizeUploadSessionRequest?: FinalizeUploadSessionRequest;
284
+ }
285
+ export interface GetAccountRequest {
286
+ /**
287
+ * Granted account to read.
288
+ */
289
+ accountId: string;
290
+ }
291
+ export interface GetAccountLimitsRequest {
292
+ /**
293
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
294
+ */
295
+ accountId?: string;
296
+ }
297
+ export interface GetEmailRequest {
298
+ /**
299
+ *
300
+ */
301
+ mailboxId: string;
302
+ /**
303
+ *
304
+ */
305
+ emailId: string;
306
+ /**
307
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
308
+ */
309
+ accountId?: string;
310
+ /**
311
+ *
312
+ */
313
+ reason?: string | null;
314
+ /**
315
+ * Include backing file IDs for file-browser integrations.
316
+ */
317
+ includeStorage?: boolean;
318
+ }
319
+ export interface GetEmailAttachmentDownloadRequest {
320
+ /**
321
+ *
322
+ */
323
+ mailboxId: string;
324
+ /**
325
+ *
326
+ */
327
+ emailId: string;
328
+ /**
329
+ *
330
+ */
331
+ attachmentId: string;
332
+ /**
333
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
334
+ */
335
+ accountId?: string;
336
+ /**
337
+ *
338
+ */
339
+ reason?: string | null;
340
+ }
341
+ export interface GetEmailDomainRequest {
342
+ /**
343
+ *
344
+ */
345
+ domainId: string;
346
+ /**
347
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
348
+ */
349
+ accountId?: string;
350
+ }
351
+ export interface GetEmailDomainSetupLinkRequest {
352
+ /**
353
+ *
354
+ */
355
+ domainId: string;
356
+ /**
357
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
358
+ */
359
+ accountId?: string;
360
+ }
361
+ export interface GetEmailOriginalDownloadRequest {
362
+ /**
363
+ *
364
+ */
365
+ mailboxId: string;
366
+ /**
367
+ *
368
+ */
369
+ emailId: string;
370
+ /**
371
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
372
+ */
373
+ accountId?: string;
374
+ /**
375
+ *
376
+ */
377
+ reason?: string | null;
378
+ }
379
+ export interface GetEmailSubscriptionRequest {
380
+ /**
381
+ *
382
+ */
383
+ mailboxId: string;
384
+ /**
385
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
386
+ */
387
+ accountId?: string;
388
+ }
389
+ export interface GetEmailWebhookRequest {
390
+ /**
391
+ *
392
+ */
393
+ mailboxId: string;
394
+ /**
395
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
396
+ */
397
+ accountId?: string;
398
+ }
399
+ export interface GetFileRequest {
400
+ /**
401
+ *
402
+ */
403
+ mailboxId: string;
404
+ /**
405
+ *
406
+ */
407
+ fileId: string;
408
+ /**
409
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
410
+ */
411
+ accountId?: string;
412
+ /**
413
+ *
414
+ */
415
+ reason?: string | null;
416
+ }
417
+ export interface GetFileByPathRequest {
418
+ /**
419
+ *
420
+ */
421
+ mailboxId: string;
422
+ /**
423
+ *
424
+ */
425
+ path: string;
426
+ /**
427
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
428
+ */
429
+ accountId?: string;
430
+ /**
431
+ *
432
+ */
433
+ reason?: string | null;
434
+ }
435
+ export interface GetFileDownloadRequest {
436
+ /**
437
+ *
438
+ */
439
+ mailboxId: string;
440
+ /**
441
+ *
442
+ */
443
+ fileId: string;
444
+ /**
445
+ *
446
+ */
447
+ versionId?: string;
448
+ /**
449
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
450
+ */
451
+ accountId?: string;
452
+ /**
453
+ *
454
+ */
455
+ reason?: string | null;
456
+ }
457
+ export interface GetMailboxRequest {
458
+ /**
459
+ *
460
+ */
461
+ mailboxId: string;
462
+ /**
463
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
464
+ */
465
+ accountId?: string;
466
+ /**
467
+ *
468
+ */
469
+ reason?: string | null;
470
+ }
471
+ export interface GetMailboxEmailSettingsRequest {
472
+ /**
473
+ *
474
+ */
475
+ mailboxId: string;
476
+ /**
477
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
478
+ */
479
+ accountId?: string;
480
+ /**
481
+ *
482
+ */
483
+ reason?: string | null;
484
+ }
485
+ export interface GetStatusRequest {
486
+ /**
487
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
488
+ */
489
+ accountId?: string;
490
+ /**
491
+ *
492
+ */
493
+ reason?: string | null;
494
+ }
495
+ export interface ListAccountsRequest {
496
+ /**
497
+ *
498
+ */
499
+ limit?: number;
500
+ /**
501
+ * pagination.next_cursor from the previous page.
502
+ */
503
+ cursor?: string;
504
+ }
505
+ export interface ListEmailDomainsRequest {
506
+ /**
507
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
508
+ */
509
+ accountId?: string;
510
+ /**
511
+ *
512
+ */
513
+ limit?: number;
514
+ /**
515
+ * pagination.next_cursor from the previous page.
516
+ */
517
+ cursor?: string;
518
+ }
519
+ export interface ListEmailsRequest {
520
+ /**
521
+ *
522
+ */
523
+ mailboxId: string;
524
+ /**
525
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
526
+ */
527
+ accountId?: string;
528
+ /**
529
+ *
530
+ */
531
+ reason?: string | null;
532
+ /**
533
+ *
534
+ */
535
+ limit?: number;
536
+ /**
537
+ * pagination.next_cursor from the previous page.
538
+ */
539
+ cursor?: string;
540
+ /**
541
+ * Arrival order. Use asc to poll.
542
+ */
543
+ order?: ListEmailsOrderEnum;
544
+ /**
545
+ *
546
+ */
547
+ direction?: ListEmailsDirectionEnum;
548
+ /**
549
+ * Exact sender address, case insensitive.
550
+ */
551
+ sender?: string;
552
+ /**
553
+ * Case-insensitive subject text.
554
+ */
555
+ subject?: string;
556
+ /**
557
+ *
558
+ */
559
+ receivedAfter?: Date;
560
+ /**
561
+ *
562
+ */
563
+ receivedBefore?: Date;
564
+ /**
565
+ *
566
+ */
567
+ read?: boolean;
568
+ /**
569
+ *
570
+ */
571
+ hasAttachments?: boolean;
572
+ /**
573
+ * Return the emails of this conversation.
574
+ */
575
+ conversationId?: string;
576
+ /**
577
+ * Include backing file IDs for file-browser integrations.
578
+ */
579
+ includeStorage?: boolean;
580
+ }
581
+ export interface ListFileVersionsRequest {
582
+ /**
583
+ *
584
+ */
585
+ mailboxId: string;
586
+ /**
587
+ *
588
+ */
589
+ fileId: string;
590
+ /**
591
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
592
+ */
593
+ accountId?: string;
594
+ /**
595
+ *
596
+ */
597
+ reason?: string | null;
598
+ /**
599
+ *
600
+ */
601
+ limit?: number;
602
+ /**
603
+ * pagination.next_cursor from the previous page.
604
+ */
605
+ cursor?: string;
606
+ }
607
+ export interface ListFilesRequest {
608
+ /**
609
+ *
610
+ */
611
+ mailboxId: string;
612
+ /**
613
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
614
+ */
615
+ accountId?: string;
616
+ /**
617
+ *
618
+ */
619
+ reason?: string | null;
620
+ /**
621
+ * Case-insensitive text in the path.
622
+ */
623
+ q?: string;
624
+ /**
625
+ * List one folder. An empty value lists the root.
626
+ */
627
+ folder?: string;
628
+ /**
629
+ *
630
+ */
631
+ limit?: number;
632
+ /**
633
+ * pagination.next_cursor from the previous page.
634
+ */
635
+ cursor?: string;
636
+ }
637
+ export interface ListMailboxesRequest {
638
+ /**
639
+ * Select another granted account for this request. Omit to use the credential default. In JSON bodies, send account_id as a body field instead.
640
+ */
641
+ accountId?: string;
642
+ /**
643
+ *
644
+ */
645
+ reason?: string | null;
646
+ /**
647
+ *
648
+ */
649
+ status?: ListMailboxesStatusEnum;
650
+ /**
651
+ * Case-insensitive text in the mailbox ID, or in the title or address when the key can see the address.
652
+ */
653
+ q?: string;
654
+ /**
655
+ *
656
+ */
657
+ limit?: number;
658
+ /**
659
+ * pagination.next_cursor from the previous page.
660
+ */
661
+ cursor?: string;
662
+ }
663
+ export interface MoveFileOperationRequest {
664
+ /**
665
+ *
666
+ */
667
+ mailboxId: string;
668
+ /**
669
+ *
670
+ */
671
+ fileId: string;
672
+ /**
673
+ *
674
+ */
675
+ moveFileRequest: MoveFileRequest;
676
+ }
677
+ export interface PrepareFileUploadOperationRequest {
678
+ /**
679
+ *
680
+ */
681
+ prepareFileUploadRequest: PrepareFileUploadRequest;
682
+ }
683
+ export interface RenameFileOperationRequest {
684
+ /**
685
+ *
686
+ */
687
+ mailboxId: string;
688
+ /**
689
+ *
690
+ */
691
+ fileId: string;
692
+ /**
693
+ *
694
+ */
695
+ renameFileRequest: RenameFileRequest;
696
+ }
697
+ export interface RequestSignInCodeOperationRequest {
698
+ /**
699
+ *
700
+ */
701
+ requestSignInCodeRequest: RequestSignInCodeRequest;
702
+ }
703
+ export interface RestoreFileVersionRequest {
704
+ /**
705
+ *
706
+ */
707
+ mailboxId: string;
708
+ /**
709
+ *
710
+ */
711
+ fileId: string;
712
+ /**
713
+ *
714
+ */
715
+ versionId: string;
716
+ /**
717
+ *
718
+ */
719
+ actionRequest: ActionRequest;
720
+ }
721
+ export interface SaveUploadSessionBatchOperationRequest {
722
+ /**
723
+ *
724
+ */
725
+ mailboxId: string;
726
+ /**
727
+ * mailbox_upload_session.id from the create response.
728
+ */
729
+ sessionId: string;
730
+ /**
731
+ *
732
+ */
733
+ saveUploadSessionBatchRequest?: SaveUploadSessionBatchRequest;
734
+ }
735
+ export interface SaveUploadedFileOperationRequest {
736
+ /**
737
+ *
738
+ */
739
+ mailboxId: string;
740
+ /**
741
+ *
742
+ */
743
+ saveUploadedFileRequest: SaveUploadedFileRequest;
744
+ }
745
+ export interface SendEmailOperationRequest {
746
+ /**
747
+ *
748
+ */
749
+ mailboxId: string;
750
+ /**
751
+ *
752
+ */
753
+ sendEmailRequest: SendEmailRequest;
754
+ }
755
+ export interface SetEmailWebhookOperationRequest {
756
+ /**
757
+ *
758
+ */
759
+ mailboxId: string;
760
+ /**
761
+ *
762
+ */
763
+ setEmailWebhookRequest: SetEmailWebhookRequest;
764
+ }
765
+ export interface UnarchiveMailboxRequest {
766
+ /**
767
+ *
768
+ */
769
+ mailboxId: string;
770
+ /**
771
+ *
772
+ */
773
+ actionRequest: ActionRequest;
774
+ }
775
+ export interface UpdateEmailOperationRequest {
776
+ /**
777
+ *
778
+ */
779
+ mailboxId: string;
780
+ /**
781
+ *
782
+ */
783
+ emailId: string;
784
+ /**
785
+ *
786
+ */
787
+ updateEmailRequest: UpdateEmailRequest;
788
+ /**
789
+ * Include backing file IDs for file-browser integrations.
790
+ */
791
+ includeStorage?: boolean;
792
+ }
793
+ export interface UpdateEmailAllowlistOperationRequest {
794
+ /**
795
+ *
796
+ */
797
+ mailboxId: string;
798
+ /**
799
+ *
800
+ */
801
+ updateEmailAllowlistRequest: UpdateEmailAllowlistRequest;
802
+ }
803
+ export interface UpdateMailboxOperationRequest {
804
+ /**
805
+ *
806
+ */
807
+ mailboxId: string;
808
+ /**
809
+ *
810
+ */
811
+ updateMailboxRequest: UpdateMailboxRequest;
812
+ }
813
+ export interface VerifyEmailDomainOperationRequest {
814
+ /**
815
+ *
816
+ */
817
+ domainId: string;
818
+ /**
819
+ *
820
+ */
821
+ verifyEmailDomainRequest: VerifyEmailDomainRequest;
822
+ }
823
+ export interface VerifySignInCodeOperationRequest {
824
+ /**
825
+ *
826
+ */
827
+ verifySignInCodeRequest: VerifySignInCodeRequest;
828
+ }
829
+ /**
830
+ *
831
+ */
832
+ export declare class DefaultApi extends runtime.BaseAPI {
833
+ /**
834
+ * Creates request options for addUploadSessionFiles without sending the request
835
+ */
836
+ addUploadSessionFilesRequestOpts(requestParameters: AddUploadSessionFilesOperationRequest): Promise<runtime.RequestOpts>;
837
+ /**
838
+ * Returns upload.url and upload.headers for each file that needs bytes. Repeating a path returns a fresh target, for example after a failed PUT. Files with identical content are skipped.
839
+ * Get storage targets for a batch
840
+ */
841
+ addUploadSessionFilesRaw(requestParameters: AddUploadSessionFilesOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateUploadSession201Response>>;
842
+ /**
843
+ * Returns upload.url and upload.headers for each file that needs bytes. Repeating a path returns a fresh target, for example after a failed PUT. Files with identical content are skipped.
844
+ * Get storage targets for a batch
845
+ */
846
+ addUploadSessionFiles(requestParameters: AddUploadSessionFilesOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateUploadSession201Response>;
847
+ /**
848
+ * Creates request options for appendText without sending the request
849
+ */
850
+ appendTextRequestOpts(requestParameters: AppendTextOperationRequest): Promise<runtime.RequestOpts>;
851
+ /**
852
+ * Appends UTF-8 text to an existing text file and creates a new version. A missing file returns MAILBOX_FILE_NOT_FOUND.
853
+ * Append text to a file
854
+ */
855
+ appendTextRaw(requestParameters: AppendTextOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AppendText200Response>>;
856
+ /**
857
+ * Appends UTF-8 text to an existing text file and creates a new version. A missing file returns MAILBOX_FILE_NOT_FOUND.
858
+ * Append text to a file
859
+ */
860
+ appendText(requestParameters: AppendTextOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AppendText200Response>;
861
+ /**
862
+ * Creates request options for archiveMailbox without sending the request
863
+ */
864
+ archiveMailboxRequestOpts(requestParameters: ArchiveMailboxRequest): Promise<runtime.RequestOpts>;
865
+ /**
866
+ * Archived mailboxes keep their files and emails and become read-only.
867
+ * Archive a mailbox
868
+ */
869
+ archiveMailboxRaw(requestParameters: ArchiveMailboxRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateMailbox201Response>>;
870
+ /**
871
+ * Archived mailboxes keep their files and emails and become read-only.
872
+ * Archive a mailbox
873
+ */
874
+ archiveMailbox(requestParameters: ArchiveMailboxRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateMailbox201Response>;
875
+ /**
876
+ * Creates request options for changeMailboxAddress without sending the request
877
+ */
878
+ changeMailboxAddressRequestOpts(requestParameters: ChangeMailboxAddressOperationRequest): Promise<runtime.RequestOpts>;
879
+ /**
880
+ * Requires mailbox admin permission and a paid plan, except for a change back to revdokumail.com. Send the current address as expected_address. Omit username for a generated name. A custom-domain change returns 202; read the settings until assignment.status is active or failed. For account owners and administrators the old address becomes an alias unless keep_old_as_alias is false. Without a free alias slot the request returns EMAIL_ALIAS_LIMIT; send false to retire the old address. A change from revdokumail.com to a customer domain always keeps the old address as the revdokumail.com base address, which uses no alias slot. A change from a customer domain back to revdokumail.com makes that base address the main address again at once (200, assignment.status active): username is ignored, no address change is counted and it works on every plan.
881
+ * Change the primary address
882
+ */
883
+ changeMailboxAddressRaw(requestParameters: ChangeMailboxAddressOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetMailboxEmailSettings200Response>>;
884
+ /**
885
+ * Requires mailbox admin permission and a paid plan, except for a change back to revdokumail.com. Send the current address as expected_address. Omit username for a generated name. A custom-domain change returns 202; read the settings until assignment.status is active or failed. For account owners and administrators the old address becomes an alias unless keep_old_as_alias is false. Without a free alias slot the request returns EMAIL_ALIAS_LIMIT; send false to retire the old address. A change from revdokumail.com to a customer domain always keeps the old address as the revdokumail.com base address, which uses no alias slot. A change from a customer domain back to revdokumail.com makes that base address the main address again at once (200, assignment.status active): username is ignored, no address change is counted and it works on every plan.
886
+ * Change the primary address
887
+ */
888
+ changeMailboxAddress(requestParameters: ChangeMailboxAddressOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetMailboxEmailSettings200Response>;
889
+ /**
890
+ * Creates request options for checkEmailDomain without sending the request
891
+ */
892
+ checkEmailDomainRequestOpts(requestParameters: CheckEmailDomainRequest): Promise<runtime.RequestOpts>;
893
+ /**
894
+ * Makes no claim and changes no DNS. If the root domain already receives email, use an unused subdomain such as inbox.example.com.
895
+ * Check a hostname for conflicting DNS
896
+ */
897
+ checkEmailDomainRaw(requestParameters: CheckEmailDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CheckEmailDomain200Response>>;
898
+ /**
899
+ * Makes no claim and changes no DNS. If the root domain already receives email, use an unused subdomain such as inbox.example.com.
900
+ * Check a hostname for conflicting DNS
901
+ */
902
+ checkEmailDomain(requestParameters: CheckEmailDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CheckEmailDomain200Response>;
903
+ /**
904
+ * Creates request options for copyFile without sending the request
905
+ */
906
+ copyFileRequestOpts(requestParameters: CopyFileRequest): Promise<runtime.RequestOpts>;
907
+ /**
908
+ * Works in the same mailbox or into target_mailbox_id. Content is not uploaded again. Send target_path for an exact path or target_folder to keep the name.
909
+ * Copy a file
910
+ */
911
+ copyFileRaw(requestParameters: CopyFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RenameFile200Response>>;
912
+ /**
913
+ * Works in the same mailbox or into target_mailbox_id. Content is not uploaded again. Send target_path for an exact path or target_folder to keep the name.
914
+ * Copy a file
915
+ */
916
+ copyFile(requestParameters: CopyFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RenameFile200Response>;
917
+ /**
918
+ * Creates request options for createBrowserLink without sending the request
919
+ */
920
+ createBrowserLinkRequestOpts(requestParameters: CreateBrowserLinkOperationRequest): Promise<runtime.RequestOpts>;
921
+ /**
922
+ * Returns a dashboard URL for a path such as /mailboxes. The user signs in normally; the link grants no access.
923
+ * Create a dashboard link for the user
924
+ */
925
+ createBrowserLinkRaw(requestParameters: CreateBrowserLinkOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateBrowserLink201Response>>;
926
+ /**
927
+ * Returns a dashboard URL for a path such as /mailboxes. The user signs in normally; the link grants no access.
928
+ * Create a dashboard link for the user
929
+ */
930
+ createBrowserLink(requestParameters: CreateBrowserLinkOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateBrowserLink201Response>;
931
+ /**
932
+ * Creates request options for createClientAccount without sending the request
933
+ */
934
+ createClientAccountRequestOpts(requestParameters: CreateClientAccountOperationRequest): Promise<runtime.RequestOpts>;
935
+ /**
936
+ * Requires an agency owner credential with client-account access. The credential default does not change; send the new account_id on later requests.
937
+ * Create a client account
938
+ */
939
+ createClientAccountRaw(requestParameters: CreateClientAccountOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateClientAccount201Response>>;
940
+ /**
941
+ * Requires an agency owner credential with client-account access. The credential default does not change; send the new account_id on later requests.
942
+ * Create a client account
943
+ */
944
+ createClientAccount(requestParameters: CreateClientAccountOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateClientAccount201Response>;
945
+ /**
946
+ * Creates request options for createEmailAlias without sending the request
947
+ */
948
+ createEmailAliasRequestOpts(requestParameters: CreateEmailAliasOperationRequest): Promise<runtime.RequestOpts>;
949
+ /**
950
+ * Requires a paid plan and a full-account owner or administrator with mailbox-admin permission. The primary address stays unchanged. On a mailbox whose primary address is on your domain, the first revdokumail.com alias becomes its base address and uses no alias slot.
951
+ * Add an alias address
952
+ */
953
+ createEmailAliasRaw(requestParameters: CreateEmailAliasOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetMailboxEmailSettings200Response>>;
954
+ /**
955
+ * Requires a paid plan and a full-account owner or administrator with mailbox-admin permission. The primary address stays unchanged. On a mailbox whose primary address is on your domain, the first revdokumail.com alias becomes its base address and uses no alias slot.
956
+ * Add an alias address
957
+ */
958
+ createEmailAlias(requestParameters: CreateEmailAliasOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetMailboxEmailSettings200Response>;
959
+ /**
960
+ * Creates request options for createEmailDomain without sending the request
961
+ */
962
+ createEmailDomainRequestOpts(requestParameters: CreateEmailDomainOperationRequest): Promise<runtime.RequestOpts>;
963
+ /**
964
+ * Claims an exact hostname and returns the ownership record. Read the domain again shortly after for all `required_dns_records`. Never change DNS without the domain owner\'s authorization.
965
+ * Connect a custom email domain
966
+ */
967
+ createEmailDomainRaw(requestParameters: CreateEmailDomainOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateEmailDomain201Response>>;
968
+ /**
969
+ * Claims an exact hostname and returns the ownership record. Read the domain again shortly after for all `required_dns_records`. Never change DNS without the domain owner\'s authorization.
970
+ * Connect a custom email domain
971
+ */
972
+ createEmailDomain(requestParameters: CreateEmailDomainOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateEmailDomain201Response>;
973
+ /**
974
+ * Creates request options for createMailbox without sending the request
975
+ */
976
+ createMailboxRequestOpts(requestParameters: CreateMailboxOperationRequest): Promise<runtime.RequestOpts>;
977
+ /**
978
+ * Waits until the address can receive email. On revdokumail.com, email.username is a prefix with a permanent 4-character random suffix on every plan; a custom domain takes the exact name. If confirmation does not finish, EMAIL_NOT_READY returns the created mailbox_id in error.details: read that mailbox instead of creating another. The title defaults to email.username; a title that another active mailbox uses returns 409 MAILBOX_TITLE_TAKEN. Never retry a creation automatically.
979
+ * Create a mailbox
980
+ */
981
+ createMailboxRaw(requestParameters: CreateMailboxOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateMailbox201Response>>;
982
+ /**
983
+ * Waits until the address can receive email. On revdokumail.com, email.username is a prefix with a permanent 4-character random suffix on every plan; a custom domain takes the exact name. If confirmation does not finish, EMAIL_NOT_READY returns the created mailbox_id in error.details: read that mailbox instead of creating another. The title defaults to email.username; a title that another active mailbox uses returns 409 MAILBOX_TITLE_TAKEN. Never retry a creation automatically.
984
+ * Create a mailbox
985
+ */
986
+ createMailbox(requestParameters: CreateMailboxOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateMailbox201Response>;
987
+ /**
988
+ * Creates request options for createUploadSession without sending the request
989
+ */
990
+ createUploadSessionRequestOpts(requestParameters: CreateUploadSessionOperationRequest): Promise<runtime.RequestOpts>;
991
+ /**
992
+ * Starts an upload session for many files and returns storage targets for the first files. The session locks the mailbox for other writers; incoming email still arrives. Send files in batches with POST .../uploads, PUT the bytes to each upload.url, save each batch with POST .../finalize_batch, then call POST .../finalize. Unsaved uploads are discarded when the session expires.
993
+ * Start a batch upload
994
+ */
995
+ createUploadSessionRaw(requestParameters: CreateUploadSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateUploadSession201Response>>;
996
+ /**
997
+ * Starts an upload session for many files and returns storage targets for the first files. The session locks the mailbox for other writers; incoming email still arrives. Send files in batches with POST .../uploads, PUT the bytes to each upload.url, save each batch with POST .../finalize_batch, then call POST .../finalize. Unsaved uploads are discarded when the session expires.
998
+ * Start a batch upload
999
+ */
1000
+ createUploadSession(requestParameters: CreateUploadSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateUploadSession201Response>;
1001
+ /**
1002
+ * Creates request options for deleteEmail without sending the request
1003
+ */
1004
+ deleteEmailRequestOpts(requestParameters: DeleteEmailRequest): Promise<runtime.RequestOpts>;
1005
+ /**
1006
+ * Requires mailbox-admin permission. Deletes the stored message and its attachments. There is no trash.
1007
+ * Delete an email
1008
+ */
1009
+ deleteEmailRaw(requestParameters: DeleteEmailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeleteEmailDomain200Response>>;
1010
+ /**
1011
+ * Requires mailbox-admin permission. Deletes the stored message and its attachments. There is no trash.
1012
+ * Delete an email
1013
+ */
1014
+ deleteEmail(requestParameters: DeleteEmailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteEmailDomain200Response>;
1015
+ /**
1016
+ * Creates request options for deleteEmailAlias without sending the request
1017
+ */
1018
+ deleteEmailAliasRequestOpts(requestParameters: DeleteEmailAliasRequest): Promise<runtime.RequestOpts>;
1019
+ /**
1020
+ * Stops new and queued deliveries to the alias. Saved emails stay. The base address of a mailbox whose primary address is on your domain cannot be removed (`409 EMAIL_ALIAS_BASE`).
1021
+ * Remove an alias address
1022
+ */
1023
+ deleteEmailAliasRaw(requestParameters: DeleteEmailAliasRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeleteEmailDomain200Response>>;
1024
+ /**
1025
+ * Stops new and queued deliveries to the alias. Saved emails stay. The base address of a mailbox whose primary address is on your domain cannot be removed (`409 EMAIL_ALIAS_BASE`).
1026
+ * Remove an alias address
1027
+ */
1028
+ deleteEmailAlias(requestParameters: DeleteEmailAliasRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteEmailDomain200Response>;
1029
+ /**
1030
+ * Creates request options for deleteEmailDomain without sending the request
1031
+ */
1032
+ deleteEmailDomainRequestOpts(requestParameters: DeleteEmailDomainOperationRequest): Promise<runtime.RequestOpts>;
1033
+ /**
1034
+ * Send the domain hostname and confirm=true. A domain that mailbox addresses still use returns EMAIL_DOMAIN_IN_USE.
1035
+ * Remove an unused custom email domain
1036
+ */
1037
+ deleteEmailDomainRaw(requestParameters: DeleteEmailDomainOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeleteEmailDomain200Response>>;
1038
+ /**
1039
+ * Send the domain hostname and confirm=true. A domain that mailbox addresses still use returns EMAIL_DOMAIN_IN_USE.
1040
+ * Remove an unused custom email domain
1041
+ */
1042
+ deleteEmailDomain(requestParameters: DeleteEmailDomainOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteEmailDomain200Response>;
1043
+ /**
1044
+ * Creates request options for deleteEmailWebhook without sending the request
1045
+ */
1046
+ deleteEmailWebhookRequestOpts(requestParameters: DeleteEmailWebhookRequest): Promise<runtime.RequestOpts>;
1047
+ /**
1048
+ * Cancels queued deliveries. A delivery already in progress can finish. Returns the mailbox ID, also when no webhook is set.
1049
+ * Remove the email webhook
1050
+ */
1051
+ deleteEmailWebhookRaw(requestParameters: DeleteEmailWebhookRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeleteEmailDomain200Response>>;
1052
+ /**
1053
+ * Cancels queued deliveries. A delivery already in progress can finish. Returns the mailbox ID, also when no webhook is set.
1054
+ * Remove the email webhook
1055
+ */
1056
+ deleteEmailWebhook(requestParameters: DeleteEmailWebhookRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteEmailDomain200Response>;
1057
+ /**
1058
+ * Creates request options for deleteFile without sending the request
1059
+ */
1060
+ deleteFileRequestOpts(requestParameters: DeleteFileRequest): Promise<runtime.RequestOpts>;
1061
+ /**
1062
+ * Requires mailbox-admin permission. Files under _email/ return EMAIL_PATH_READ_ONLY; delete the email instead. Other top-level folders that start with _ return RESERVED_PATH.
1063
+ * Delete a file
1064
+ */
1065
+ deleteFileRaw(requestParameters: DeleteFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeleteEmailDomain200Response>>;
1066
+ /**
1067
+ * Requires mailbox-admin permission. Files under _email/ return EMAIL_PATH_READ_ONLY; delete the email instead. Other top-level folders that start with _ return RESERVED_PATH.
1068
+ * Delete a file
1069
+ */
1070
+ deleteFile(requestParameters: DeleteFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteEmailDomain200Response>;
1071
+ /**
1072
+ * Creates request options for deleteMailbox without sending the request
1073
+ */
1074
+ deleteMailboxRequestOpts(requestParameters: DeleteMailboxOperationRequest): Promise<runtime.RequestOpts>;
1075
+ /**
1076
+ * Archive the mailbox first. Send delete.confirmation from the mailbox read after the user confirms. Large mailboxes finish deleting in the background.
1077
+ * Permanently delete an archived mailbox
1078
+ */
1079
+ deleteMailboxRaw(requestParameters: DeleteMailboxOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeleteEmailDomain200Response>>;
1080
+ /**
1081
+ * Archive the mailbox first. Send delete.confirmation from the mailbox read after the user confirms. Large mailboxes finish deleting in the background.
1082
+ * Permanently delete an archived mailbox
1083
+ */
1084
+ deleteMailbox(requestParameters: DeleteMailboxOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteEmailDomain200Response>;
1085
+ /**
1086
+ * Creates request options for exchangeConnectionGrant without sending the request
1087
+ */
1088
+ exchangeConnectionGrantRequestOpts(requestParameters: ExchangeConnectionGrantOperationRequest): Promise<runtime.RequestOpts>;
1089
+ /**
1090
+ * The dashboard creates the one-time code when a signed-in administrator copies a connection prompt.
1091
+ * Exchange a one-time dashboard connection code for an API key
1092
+ */
1093
+ exchangeConnectionGrantRaw(requestParameters: ExchangeConnectionGrantOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VerifySignInCode201Response>>;
1094
+ /**
1095
+ * The dashboard creates the one-time code when a signed-in administrator copies a connection prompt.
1096
+ * Exchange a one-time dashboard connection code for an API key
1097
+ */
1098
+ exchangeConnectionGrant(requestParameters: ExchangeConnectionGrantOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VerifySignInCode201Response>;
1099
+ /**
1100
+ * Creates request options for finalizeUploadSession without sending the request
1101
+ */
1102
+ finalizeUploadSessionRequestOpts(requestParameters: FinalizeUploadSessionOperationRequest): Promise<runtime.RequestOpts>;
1103
+ /**
1104
+ * complete=true saves the remaining uploaded files, creates one mailbox version and releases the lock. A 202 response with finalize_pending=true means more files remain: call finalize again after Retry-After. complete=false cancels the session and discards its unsaved files. Finalizing a finished session returns it unchanged.
1105
+ * Finish or cancel a batch upload
1106
+ */
1107
+ finalizeUploadSessionRaw(requestParameters: FinalizeUploadSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateUploadSession201Response>>;
1108
+ /**
1109
+ * complete=true saves the remaining uploaded files, creates one mailbox version and releases the lock. A 202 response with finalize_pending=true means more files remain: call finalize again after Retry-After. complete=false cancels the session and discards its unsaved files. Finalizing a finished session returns it unchanged.
1110
+ * Finish or cancel a batch upload
1111
+ */
1112
+ finalizeUploadSession(requestParameters: FinalizeUploadSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateUploadSession201Response>;
1113
+ /**
1114
+ * Creates request options for getAccount without sending the request
1115
+ */
1116
+ getAccountRequestOpts(requestParameters: GetAccountRequest): Promise<runtime.RequestOpts>;
1117
+ /**
1118
+ * Works with every API key. Returns the name, kind, region and status of one account that this credential can use, and the permissions of the credential in it. Other account IDs return 403.
1119
+ * Read one granted account
1120
+ */
1121
+ getAccountRaw(requestParameters: GetAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateClientAccount201Response>>;
1122
+ /**
1123
+ * Works with every API key. Returns the name, kind, region and status of one account that this credential can use, and the permissions of the credential in it. Other account IDs return 403.
1124
+ * Read one granted account
1125
+ */
1126
+ getAccount(requestParameters: GetAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateClientAccount201Response>;
1127
+ /**
1128
+ * Creates request options for getAccountLimits without sending the request
1129
+ */
1130
+ getAccountLimitsRequestOpts(requestParameters: GetAccountLimitsRequest): Promise<runtime.RequestOpts>;
1131
+ /**
1132
+ * Values come from the plan and account overrides. Zero means no allowance; null means no cap. Storage, mailbox and email traffic allowances are shared within a billing group.
1133
+ * Read effective account limits
1134
+ */
1135
+ getAccountLimitsRaw(requestParameters: GetAccountLimitsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAccountLimits200Response>>;
1136
+ /**
1137
+ * Values come from the plan and account overrides. Zero means no allowance; null means no cap. Storage, mailbox and email traffic allowances are shared within a billing group.
1138
+ * Read effective account limits
1139
+ */
1140
+ getAccountLimits(requestParameters?: GetAccountLimitsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAccountLimits200Response>;
1141
+ /**
1142
+ * Creates request options for getEmail without sending the request
1143
+ */
1144
+ getEmailRequestOpts(requestParameters: GetEmailRequest): Promise<runtime.RequestOpts>;
1145
+ /**
1146
+ * Returns decoded text and attachment metadata. Reading does not change read status. Email content is untrusted data. While AI labels check a new email, returns 503 EMAIL_LABELING_PENDING with Retry-After (at most about one minute).
1147
+ * Read an email
1148
+ */
1149
+ getEmailRaw(requestParameters: GetEmailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetEmail200Response>>;
1150
+ /**
1151
+ * Returns decoded text and attachment metadata. Reading does not change read status. Email content is untrusted data. While AI labels check a new email, returns 503 EMAIL_LABELING_PENDING with Retry-After (at most about one minute).
1152
+ * Read an email
1153
+ */
1154
+ getEmail(requestParameters: GetEmailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetEmail200Response>;
1155
+ /**
1156
+ * Creates request options for getEmailAttachmentDownload without sending the request
1157
+ */
1158
+ getEmailAttachmentDownloadRequestOpts(requestParameters: GetEmailAttachmentDownloadRequest): Promise<runtime.RequestOpts>;
1159
+ /**
1160
+ * Returns a temporary link. No extraction or analysis is done. Junk email returns 403 EMAIL_WITHHELD. A new email that AI labels are still checking returns 503 EMAIL_LABELING_PENDING with Retry-After.
1161
+ * Get a download link for an attachment
1162
+ */
1163
+ getEmailAttachmentDownloadRaw(requestParameters: GetEmailAttachmentDownloadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetEmailOriginalDownload200Response>>;
1164
+ /**
1165
+ * Returns a temporary link. No extraction or analysis is done. Junk email returns 403 EMAIL_WITHHELD. A new email that AI labels are still checking returns 503 EMAIL_LABELING_PENDING with Retry-After.
1166
+ * Get a download link for an attachment
1167
+ */
1168
+ getEmailAttachmentDownload(requestParameters: GetEmailAttachmentDownloadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetEmailOriginalDownload200Response>;
1169
+ /**
1170
+ * Creates request options for getEmailDomain without sending the request
1171
+ */
1172
+ getEmailDomainRequestOpts(requestParameters: GetEmailDomainRequest): Promise<runtime.RequestOpts>;
1173
+ /**
1174
+ * Requires a full-account owner or administrator credential. Returns the domain status and the DNS records to publish.
1175
+ * Read a custom email domain
1176
+ */
1177
+ getEmailDomainRaw(requestParameters: GetEmailDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateEmailDomain201Response>>;
1178
+ /**
1179
+ * Requires a full-account owner or administrator credential. Returns the domain status and the DNS records to publish.
1180
+ * Read a custom email domain
1181
+ */
1182
+ getEmailDomain(requestParameters: GetEmailDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateEmailDomain201Response>;
1183
+ /**
1184
+ * Creates request options for getEmailDomainSetupLink without sending the request
1185
+ */
1186
+ getEmailDomainSetupLinkRequestOpts(requestParameters: GetEmailDomainSetupLinkRequest): Promise<runtime.RequestOpts>;
1187
+ /**
1188
+ * Signs a Domain Connect link for a domain whose `setup_provider` is set. Give the URL to the domain owner to open in a browser. The DNS provider adds `required_dns_records` after the owner approves them, then returns to Account Settings → Domains. Errors: 422 `EMAIL_DOMAIN_SETUP_UNSUPPORTED` when the provider or the domain state does not allow one-click setup, 422 `EMAIL_DOMAIN_SETUP_UNAVAILABLE` while the deployment cannot sign links, 422 `EMAIL_DNS_CONFLICT` when the hostname has records of another mail provider, 403 `EMAIL_DOMAINS_UPGRADE_REQUIRED` when the plan no longer includes custom email domains, and 503 `EMAIL_DNS_TEMPORARY` when DNS cannot be checked. Add the records manually, or try again later after a 503.
1189
+ * Get a one-click DNS setup link
1190
+ */
1191
+ getEmailDomainSetupLinkRaw(requestParameters: GetEmailDomainSetupLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetEmailDomainSetupLink200Response>>;
1192
+ /**
1193
+ * Signs a Domain Connect link for a domain whose `setup_provider` is set. Give the URL to the domain owner to open in a browser. The DNS provider adds `required_dns_records` after the owner approves them, then returns to Account Settings → Domains. Errors: 422 `EMAIL_DOMAIN_SETUP_UNSUPPORTED` when the provider or the domain state does not allow one-click setup, 422 `EMAIL_DOMAIN_SETUP_UNAVAILABLE` while the deployment cannot sign links, 422 `EMAIL_DNS_CONFLICT` when the hostname has records of another mail provider, 403 `EMAIL_DOMAINS_UPGRADE_REQUIRED` when the plan no longer includes custom email domains, and 503 `EMAIL_DNS_TEMPORARY` when DNS cannot be checked. Add the records manually, or try again later after a 503.
1194
+ * Get a one-click DNS setup link
1195
+ */
1196
+ getEmailDomainSetupLink(requestParameters: GetEmailDomainSetupLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetEmailDomainSetupLink200Response>;
1197
+ /**
1198
+ * Creates request options for getEmailOriginalDownload without sending the request
1199
+ */
1200
+ getEmailOriginalDownloadRequestOpts(requestParameters: GetEmailOriginalDownloadRequest): Promise<runtime.RequestOpts>;
1201
+ /**
1202
+ * Returns a temporary link to the original .eml file. Downloads do not change read status. Junk email returns 403 EMAIL_WITHHELD. A new email that AI labels are still checking returns 503 EMAIL_LABELING_PENDING with Retry-After.
1203
+ * Get a download link for the original email
1204
+ */
1205
+ getEmailOriginalDownloadRaw(requestParameters: GetEmailOriginalDownloadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetEmailOriginalDownload200Response>>;
1206
+ /**
1207
+ * Returns a temporary link to the original .eml file. Downloads do not change read status. Junk email returns 403 EMAIL_WITHHELD. A new email that AI labels are still checking returns 503 EMAIL_LABELING_PENDING with Retry-After.
1208
+ * Get a download link for the original email
1209
+ */
1210
+ getEmailOriginalDownload(requestParameters: GetEmailOriginalDownloadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetEmailOriginalDownload200Response>;
1211
+ /**
1212
+ * Creates request options for getEmailSubscription without sending the request
1213
+ */
1214
+ getEmailSubscriptionRequestOpts(requestParameters: GetEmailSubscriptionRequest): Promise<runtime.RequestOpts>;
1215
+ /**
1216
+ * Requires mailbox read permission. Connect to websocket_url with email_subscription_token=TOKEN within 60 seconds, then subscribe to EmailReceivedChannel. Catch up with the email list cursor after every connect.
1217
+ * Get a live email subscription ticket
1218
+ */
1219
+ getEmailSubscriptionRaw(requestParameters: GetEmailSubscriptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetEmailSubscription200Response>>;
1220
+ /**
1221
+ * Requires mailbox read permission. Connect to websocket_url with email_subscription_token=TOKEN within 60 seconds, then subscribe to EmailReceivedChannel. Catch up with the email list cursor after every connect.
1222
+ * Get a live email subscription ticket
1223
+ */
1224
+ getEmailSubscription(requestParameters: GetEmailSubscriptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetEmailSubscription200Response>;
1225
+ /**
1226
+ * Creates request options for getEmailWebhook without sending the request
1227
+ */
1228
+ getEmailWebhookRequestOpts(requestParameters: GetEmailWebhookRequest): Promise<runtime.RequestOpts>;
1229
+ /**
1230
+ * Requires mailbox-admin permission. webhook is null when no webhook is set. The signing secret is never returned here.
1231
+ * Read the email webhook
1232
+ */
1233
+ getEmailWebhookRaw(requestParameters: GetEmailWebhookRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetEmailWebhook200Response>>;
1234
+ /**
1235
+ * Requires mailbox-admin permission. webhook is null when no webhook is set. The signing secret is never returned here.
1236
+ * Read the email webhook
1237
+ */
1238
+ getEmailWebhook(requestParameters: GetEmailWebhookRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetEmailWebhook200Response>;
1239
+ /**
1240
+ * Creates request options for getFile without sending the request
1241
+ */
1242
+ getFileRequestOpts(requestParameters: GetFileRequest): Promise<runtime.RequestOpts>;
1243
+ /**
1244
+ * Reading metadata never marks the file read.
1245
+ * Read file metadata
1246
+ */
1247
+ getFileRaw(requestParameters: GetFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetFileByPath200Response>>;
1248
+ /**
1249
+ * Reading metadata never marks the file read.
1250
+ * Read file metadata
1251
+ */
1252
+ getFile(requestParameters: GetFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetFileByPath200Response>;
1253
+ /**
1254
+ * Creates request options for getFileByPath without sending the request
1255
+ */
1256
+ getFileByPathRequestOpts(requestParameters: GetFileByPathRequest): Promise<runtime.RequestOpts>;
1257
+ /**
1258
+ * Returns file metadata only. Read content with the download endpoint. The disposition and content_url parameters return INVALID_ARGUMENT.
1259
+ * Find a file by path
1260
+ */
1261
+ getFileByPathRaw(requestParameters: GetFileByPathRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetFileByPath200Response>>;
1262
+ /**
1263
+ * Returns file metadata only. Read content with the download endpoint. The disposition and content_url parameters return INVALID_ARGUMENT.
1264
+ * Find a file by path
1265
+ */
1266
+ getFileByPath(requestParameters: GetFileByPathRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetFileByPath200Response>;
1267
+ /**
1268
+ * Creates request options for getFileDownload without sending the request
1269
+ */
1270
+ getFileDownloadRequestOpts(requestParameters: GetFileDownloadRequest): Promise<runtime.RequestOpts>;
1271
+ /**
1272
+ * Returns a temporary link and marks this version read. Send version_id for an older version.
1273
+ * Get a download link for a file
1274
+ */
1275
+ getFileDownloadRaw(requestParameters: GetFileDownloadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetFileDownload200Response>>;
1276
+ /**
1277
+ * Returns a temporary link and marks this version read. Send version_id for an older version.
1278
+ * Get a download link for a file
1279
+ */
1280
+ getFileDownload(requestParameters: GetFileDownloadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetFileDownload200Response>;
1281
+ /**
1282
+ * Creates request options for getMailbox without sending the request
1283
+ */
1284
+ getMailboxRequestOpts(requestParameters: GetMailboxRequest): Promise<runtime.RequestOpts>;
1285
+ /**
1286
+ * Reading never changes the mailbox. Read address settings, emails and files through their own endpoints.
1287
+ * Read a mailbox
1288
+ */
1289
+ getMailboxRaw(requestParameters: GetMailboxRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateMailbox201Response>>;
1290
+ /**
1291
+ * Reading never changes the mailbox. Read address settings, emails and files through their own endpoints.
1292
+ * Read a mailbox
1293
+ */
1294
+ getMailbox(requestParameters: GetMailboxRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateMailbox201Response>;
1295
+ /**
1296
+ * Creates request options for getMailboxEmailSettings without sending the request
1297
+ */
1298
+ getMailboxEmailSettingsRequestOpts(requestParameters: GetMailboxEmailSettingsRequest): Promise<runtime.RequestOpts>;
1299
+ /**
1300
+ * Requires mailbox write permission.
1301
+ * Read address settings
1302
+ */
1303
+ getMailboxEmailSettingsRaw(requestParameters: GetMailboxEmailSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetMailboxEmailSettings200Response>>;
1304
+ /**
1305
+ * Requires mailbox write permission.
1306
+ * Read address settings
1307
+ */
1308
+ getMailboxEmailSettings(requestParameters: GetMailboxEmailSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetMailboxEmailSettings200Response>;
1309
+ /**
1310
+ * Creates request options for getStatus without sending the request
1311
+ */
1312
+ getStatusRequestOpts(requestParameters: GetStatusRequest): Promise<runtime.RequestOpts>;
1313
+ /**
1314
+ * Works with every API key, including mailbox-scoped keys. Read quotas with GET /v1/account/limits.
1315
+ * Read the connection and selected account
1316
+ */
1317
+ getStatusRaw(requestParameters: GetStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetStatus200Response>>;
1318
+ /**
1319
+ * Works with every API key, including mailbox-scoped keys. Read quotas with GET /v1/account/limits.
1320
+ * Read the connection and selected account
1321
+ */
1322
+ getStatus(requestParameters?: GetStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetStatus200Response>;
1323
+ /**
1324
+ * Creates request options for listAccounts without sending the request
1325
+ */
1326
+ listAccountsRequestOpts(requestParameters: ListAccountsRequest): Promise<runtime.RequestOpts>;
1327
+ /**
1328
+ * Works with every API key. Lists the account of this credential and the client accounts that an agency owner granted to it. Send an id from this list as account_id to act in that account.
1329
+ * List accounts granted to this credential
1330
+ */
1331
+ listAccountsRaw(requestParameters: ListAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListAccounts200Response>>;
1332
+ /**
1333
+ * Works with every API key. Lists the account of this credential and the client accounts that an agency owner granted to it. Send an id from this list as account_id to act in that account.
1334
+ * List accounts granted to this credential
1335
+ */
1336
+ listAccounts(requestParameters?: ListAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListAccounts200Response>;
1337
+ /**
1338
+ * Creates request options for listEmailDomains without sending the request
1339
+ */
1340
+ listEmailDomainsRequestOpts(requestParameters: ListEmailDomainsRequest): Promise<runtime.RequestOpts>;
1341
+ /**
1342
+ * Requires a full-account owner or administrator credential.
1343
+ * List custom email domains
1344
+ */
1345
+ listEmailDomainsRaw(requestParameters: ListEmailDomainsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListEmailDomains200Response>>;
1346
+ /**
1347
+ * Requires a full-account owner or administrator credential.
1348
+ * List custom email domains
1349
+ */
1350
+ listEmailDomains(requestParameters?: ListEmailDomainsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListEmailDomains200Response>;
1351
+ /**
1352
+ * Creates request options for listEmails without sending the request
1353
+ */
1354
+ listEmailsRequestOpts(requestParameters: ListEmailsRequest): Promise<runtime.RequestOpts>;
1355
+ /**
1356
+ * Requires mailbox read permission. Lists received email by default. To poll, list in ascending order, save pagination.next_cursor after every page (including an empty page) and send it next time with the same filters. Listing never marks email read.
1357
+ * List emails
1358
+ */
1359
+ listEmailsRaw(requestParameters: ListEmailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListEmails200Response>>;
1360
+ /**
1361
+ * Requires mailbox read permission. Lists received email by default. To poll, list in ascending order, save pagination.next_cursor after every page (including an empty page) and send it next time with the same filters. Listing never marks email read.
1362
+ * List emails
1363
+ */
1364
+ listEmails(requestParameters: ListEmailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListEmails200Response>;
1365
+ /**
1366
+ * Creates request options for listFileVersions without sending the request
1367
+ */
1368
+ listFileVersionsRequestOpts(requestParameters: ListFileVersionsRequest): Promise<runtime.RequestOpts>;
1369
+ /**
1370
+ * Newest first.
1371
+ * List file versions
1372
+ */
1373
+ listFileVersionsRaw(requestParameters: ListFileVersionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListFileVersions200Response>>;
1374
+ /**
1375
+ * Newest first.
1376
+ * List file versions
1377
+ */
1378
+ listFileVersions(requestParameters: ListFileVersionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListFileVersions200Response>;
1379
+ /**
1380
+ * Creates request options for listFiles without sending the request
1381
+ */
1382
+ listFilesRequestOpts(requestParameters: ListFilesRequest): Promise<runtime.RequestOpts>;
1383
+ /**
1384
+ * Lists current files, including stored emails under _email/. Listing never marks files read.
1385
+ * List files
1386
+ */
1387
+ listFilesRaw(requestParameters: ListFilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListFiles200Response>>;
1388
+ /**
1389
+ * Lists current files, including stored emails under _email/. Listing never marks files read.
1390
+ * List files
1391
+ */
1392
+ listFiles(requestParameters: ListFilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListFiles200Response>;
1393
+ /**
1394
+ * Creates request options for listMailboxes without sending the request
1395
+ */
1396
+ listMailboxesRequestOpts(requestParameters: ListMailboxesRequest): Promise<runtime.RequestOpts>;
1397
+ /**
1398
+ * Lists active mailboxes by default, newest first. Counts and pages cover only mailboxes this credential can access. Reads no email content.
1399
+ * List mailboxes
1400
+ */
1401
+ listMailboxesRaw(requestParameters: ListMailboxesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListMailboxes200Response>>;
1402
+ /**
1403
+ * Lists active mailboxes by default, newest first. Counts and pages cover only mailboxes this credential can access. Reads no email content.
1404
+ * List mailboxes
1405
+ */
1406
+ listMailboxes(requestParameters?: ListMailboxesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListMailboxes200Response>;
1407
+ /**
1408
+ * Creates request options for moveFile without sending the request
1409
+ */
1410
+ moveFileRequestOpts(requestParameters: MoveFileOperationRequest): Promise<runtime.RequestOpts>;
1411
+ /**
1412
+ * Works in the same mailbox or into target_mailbox_id. Content is not uploaded again. Send target_path for an exact path or target_folder to keep the name.
1413
+ * Move a file
1414
+ */
1415
+ moveFileRaw(requestParameters: MoveFileOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RenameFile200Response>>;
1416
+ /**
1417
+ * Works in the same mailbox or into target_mailbox_id. Content is not uploaded again. Send target_path for an exact path or target_folder to keep the name.
1418
+ * Move a file
1419
+ */
1420
+ moveFile(requestParameters: MoveFileOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RenameFile200Response>;
1421
+ /**
1422
+ * Creates request options for prepareFileUpload without sending the request
1423
+ */
1424
+ prepareFileUploadRequestOpts(requestParameters: PrepareFileUploadOperationRequest): Promise<runtime.RequestOpts>;
1425
+ /**
1426
+ * Returns a storage URL. Then PUT the bytes to direct_upload.url with exactly direct_upload.headers and no API key (step 2), and save the file with POST /v1/mailboxes/{mailbox_id}/files (step 3). Identical content at the same path returns skipped=true and duplicate=true without an upload.
1427
+ * Prepare a file upload (step 1 of 3)
1428
+ */
1429
+ prepareFileUploadRaw(requestParameters: PrepareFileUploadOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PrepareFileUpload201Response>>;
1430
+ /**
1431
+ * Returns a storage URL. Then PUT the bytes to direct_upload.url with exactly direct_upload.headers and no API key (step 2), and save the file with POST /v1/mailboxes/{mailbox_id}/files (step 3). Identical content at the same path returns skipped=true and duplicate=true without an upload.
1432
+ * Prepare a file upload (step 1 of 3)
1433
+ */
1434
+ prepareFileUpload(requestParameters: PrepareFileUploadOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PrepareFileUpload201Response>;
1435
+ /**
1436
+ * Creates request options for renameFile without sending the request
1437
+ */
1438
+ renameFileRequestOpts(requestParameters: RenameFileOperationRequest): Promise<runtime.RequestOpts>;
1439
+ /**
1440
+ * Changes the path without uploading the content again.
1441
+ * Rename or move a file in the same mailbox
1442
+ */
1443
+ renameFileRaw(requestParameters: RenameFileOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RenameFile200Response>>;
1444
+ /**
1445
+ * Changes the path without uploading the content again.
1446
+ * Rename or move a file in the same mailbox
1447
+ */
1448
+ renameFile(requestParameters: RenameFileOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RenameFile200Response>;
1449
+ /**
1450
+ * Creates request options for requestSignInCode without sending the request
1451
+ */
1452
+ requestSignInCodeRequestOpts(requestParameters: RequestSignInCodeOperationRequest): Promise<runtime.RequestOpts>;
1453
+ /**
1454
+ * Sends a six-digit code to an existing account email. The response is the same for every address, so it never reveals whether an account exists. Create new accounts in the browser at https://app.revdoku.com/users/sign_up.
1455
+ * Email a sign-in code
1456
+ */
1457
+ requestSignInCodeRaw(requestParameters: RequestSignInCodeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RequestSignInCode200Response>>;
1458
+ /**
1459
+ * Sends a six-digit code to an existing account email. The response is the same for every address, so it never reveals whether an account exists. Create new accounts in the browser at https://app.revdoku.com/users/sign_up.
1460
+ * Email a sign-in code
1461
+ */
1462
+ requestSignInCode(requestParameters: RequestSignInCodeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RequestSignInCode200Response>;
1463
+ /**
1464
+ * Creates request options for restoreFileVersion without sending the request
1465
+ */
1466
+ restoreFileVersionRequestOpts(requestParameters: RestoreFileVersionRequest): Promise<runtime.RequestOpts>;
1467
+ /**
1468
+ * Creates a new current version with the content of the selected version. History is kept. Requires a plan with version restore.
1469
+ * Restore a file version
1470
+ */
1471
+ restoreFileVersionRaw(requestParameters: RestoreFileVersionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RestoreFileVersion201Response>>;
1472
+ /**
1473
+ * Creates a new current version with the content of the selected version. History is kept. Requires a plan with version restore.
1474
+ * Restore a file version
1475
+ */
1476
+ restoreFileVersion(requestParameters: RestoreFileVersionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RestoreFileVersion201Response>;
1477
+ /**
1478
+ * Creates request options for saveUploadSessionBatch without sending the request
1479
+ */
1480
+ saveUploadSessionBatchRequestOpts(requestParameters: SaveUploadSessionBatchOperationRequest): Promise<runtime.RequestOpts>;
1481
+ /**
1482
+ * Saves up to limit files whose bytes were uploaded. Call it after each batch to keep each request short. DIRECT_UPLOAD_NOT_FOUND names a file whose bytes are missing in error.details.path; upload it again and retry.
1483
+ * Save uploaded files
1484
+ */
1485
+ saveUploadSessionBatchRaw(requestParameters: SaveUploadSessionBatchOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateUploadSession201Response>>;
1486
+ /**
1487
+ * Saves up to limit files whose bytes were uploaded. Call it after each batch to keep each request short. DIRECT_UPLOAD_NOT_FOUND names a file whose bytes are missing in error.details.path; upload it again and retry.
1488
+ * Save uploaded files
1489
+ */
1490
+ saveUploadSessionBatch(requestParameters: SaveUploadSessionBatchOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateUploadSession201Response>;
1491
+ /**
1492
+ * Creates request options for saveUploadedFile without sending the request
1493
+ */
1494
+ saveUploadedFileRequestOpts(requestParameters: SaveUploadedFileOperationRequest): Promise<runtime.RequestOpts>;
1495
+ /**
1496
+ * Saves the uploaded blob at path. An existing path gets a new version.
1497
+ * Save an uploaded file (step 3 of 3)
1498
+ */
1499
+ saveUploadedFileRaw(requestParameters: SaveUploadedFileOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SaveUploadedFile201Response>>;
1500
+ /**
1501
+ * Saves the uploaded blob at path. An existing path gets a new version.
1502
+ * Save an uploaded file (step 3 of 3)
1503
+ */
1504
+ saveUploadedFile(requestParameters: SaveUploadedFileOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SaveUploadedFile201Response>;
1505
+ /**
1506
+ * Creates request options for sendEmail without sending the request
1507
+ */
1508
+ sendEmailRequestOpts(requestParameters: SendEmailOperationRequest): Promise<runtime.RequestOpts>;
1509
+ /**
1510
+ * Requires mailbox write permission. Send only to account members, to other mailboxes of the account, or to addresses that emailed this mailbox and passed sender authentication; an administrator can turn off each kind. When the mailbox requires approval, delivery.status is awaiting_approval until a person sends, edits or declines the email; do not send it again. Replying to or attaching an email that AI labels marked as Junk returns 403 EMAIL_WITHHELD; one they are still checking returns 503 EMAIL_LABELING_PENDING with Retry-After. The From name is the mailbox title. On the Free plan, the email ends with one line about Revdoku. Set in_reply_to to reply. Delivery is asynchronous: read delivery.status later. After an unknown result, list direction=sent before you send again.
1511
+ * Send an email
1512
+ */
1513
+ sendEmailRaw(requestParameters: SendEmailOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SendEmail202Response>>;
1514
+ /**
1515
+ * Requires mailbox write permission. Send only to account members, to other mailboxes of the account, or to addresses that emailed this mailbox and passed sender authentication; an administrator can turn off each kind. When the mailbox requires approval, delivery.status is awaiting_approval until a person sends, edits or declines the email; do not send it again. Replying to or attaching an email that AI labels marked as Junk returns 403 EMAIL_WITHHELD; one they are still checking returns 503 EMAIL_LABELING_PENDING with Retry-After. The From name is the mailbox title. On the Free plan, the email ends with one line about Revdoku. Set in_reply_to to reply. Delivery is asynchronous: read delivery.status later. After an unknown result, list direction=sent before you send again.
1516
+ * Send an email
1517
+ */
1518
+ sendEmail(requestParameters: SendEmailOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SendEmail202Response>;
1519
+ /**
1520
+ * Creates request options for setEmailWebhook without sending the request
1521
+ */
1522
+ setEmailWebhookRequestOpts(requestParameters: SetEmailWebhookOperationRequest): Promise<runtime.RequestOpts>;
1523
+ /**
1524
+ * Requires mailbox-admin permission and a public HTTPS URL. A new URL or rotate_secret=true creates a new signing secret, returns it once and cancels pending deliveries. The same URL without rotate_secret returns the webhook without a secret.
1525
+ * Set the email webhook
1526
+ */
1527
+ setEmailWebhookRaw(requestParameters: SetEmailWebhookOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SetEmailWebhook200Response>>;
1528
+ /**
1529
+ * Requires mailbox-admin permission and a public HTTPS URL. A new URL or rotate_secret=true creates a new signing secret, returns it once and cancels pending deliveries. The same URL without rotate_secret returns the webhook without a secret.
1530
+ * Set the email webhook
1531
+ */
1532
+ setEmailWebhook(requestParameters: SetEmailWebhookOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SetEmailWebhook200Response>;
1533
+ /**
1534
+ * Creates request options for unarchiveMailbox without sending the request
1535
+ */
1536
+ unarchiveMailboxRequestOpts(requestParameters: UnarchiveMailboxRequest): Promise<runtime.RequestOpts>;
1537
+ /**
1538
+ * Requires mailbox-admin permission. The mailbox becomes writable again. If another active mailbox has the same title, the title gets a number suffix. A mailbox that is not archived returns MAILBOX_NOT_ARCHIVED.
1539
+ * Unarchive a mailbox
1540
+ */
1541
+ unarchiveMailboxRaw(requestParameters: UnarchiveMailboxRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateMailbox201Response>>;
1542
+ /**
1543
+ * Requires mailbox-admin permission. The mailbox becomes writable again. If another active mailbox has the same title, the title gets a number suffix. A mailbox that is not archived returns MAILBOX_NOT_ARCHIVED.
1544
+ * Unarchive a mailbox
1545
+ */
1546
+ unarchiveMailbox(requestParameters: UnarchiveMailboxRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateMailbox201Response>;
1547
+ /**
1548
+ * Creates request options for updateEmail without sending the request
1549
+ */
1550
+ updateEmailRequestOpts(requestParameters: UpdateEmailOperationRequest): Promise<runtime.RequestOpts>;
1551
+ /**
1552
+ * Changes read status and custom labels. Send at least one of read, add_labels and remove_labels. Labels need write access. A new label name creates the label. Built-in labels such as Junk change only in the dashboard.
1553
+ * Update an email\'s read status or labels
1554
+ */
1555
+ updateEmailRaw(requestParameters: UpdateEmailOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SendEmail202Response>>;
1556
+ /**
1557
+ * Changes read status and custom labels. Send at least one of read, add_labels and remove_labels. Labels need write access. A new label name creates the label. Built-in labels such as Junk change only in the dashboard.
1558
+ * Update an email\'s read status or labels
1559
+ */
1560
+ updateEmail(requestParameters: UpdateEmailOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SendEmail202Response>;
1561
+ /**
1562
+ * Creates request options for updateEmailAllowlist without sending the request
1563
+ */
1564
+ updateEmailAllowlistRequestOpts(requestParameters: UpdateEmailAllowlistOperationRequest): Promise<runtime.RequestOpts>;
1565
+ /**
1566
+ * Requires an account owner or administrator with mailbox-admin permission. Send sender_allowlist.version from the settings read as expected_version.
1567
+ * Replace the allowed senders
1568
+ */
1569
+ updateEmailAllowlistRaw(requestParameters: UpdateEmailAllowlistOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UpdateEmailAllowlist200Response>>;
1570
+ /**
1571
+ * Requires an account owner or administrator with mailbox-admin permission. Send sender_allowlist.version from the settings read as expected_version.
1572
+ * Replace the allowed senders
1573
+ */
1574
+ updateEmailAllowlist(requestParameters: UpdateEmailAllowlistOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UpdateEmailAllowlist200Response>;
1575
+ /**
1576
+ * Creates request options for updateMailbox without sending the request
1577
+ */
1578
+ updateMailboxRequestOpts(requestParameters: UpdateMailboxOperationRequest): Promise<runtime.RequestOpts>;
1579
+ /**
1580
+ * metadata must be a JSON object. It replaces the stored object; {} clears it. Send expected_metadata_version from your last read; a stale value changes nothing and returns MAILBOX_METADATA_CONFLICT. Titles are unique among active mailboxes; a used title returns 409 MAILBOX_TITLE_TAKEN.
1581
+ * Update a mailbox title, description or metadata
1582
+ */
1583
+ updateMailboxRaw(requestParameters: UpdateMailboxOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateMailbox201Response>>;
1584
+ /**
1585
+ * metadata must be a JSON object. It replaces the stored object; {} clears it. Send expected_metadata_version from your last read; a stale value changes nothing and returns MAILBOX_METADATA_CONFLICT. Titles are unique among active mailboxes; a used title returns 409 MAILBOX_TITLE_TAKEN.
1586
+ * Update a mailbox title, description or metadata
1587
+ */
1588
+ updateMailbox(requestParameters: UpdateMailboxOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateMailbox201Response>;
1589
+ /**
1590
+ * Creates request options for verifyEmailDomain without sending the request
1591
+ */
1592
+ verifyEmailDomainRequestOpts(requestParameters: VerifyEmailDomainOperationRequest): Promise<runtime.RequestOpts>;
1593
+ /**
1594
+ * Queues the check and returns the current state. Read the domain again to see the result.
1595
+ * Check DNS and provider setup again
1596
+ */
1597
+ verifyEmailDomainRaw(requestParameters: VerifyEmailDomainOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateEmailDomain201Response>>;
1598
+ /**
1599
+ * Queues the check and returns the current state. Read the domain again to see the result.
1600
+ * Check DNS and provider setup again
1601
+ */
1602
+ verifyEmailDomain(requestParameters: VerifyEmailDomainOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateEmailDomain201Response>;
1603
+ /**
1604
+ * Creates request options for verifySignInCode without sending the request
1605
+ */
1606
+ verifySignInCodeRequestOpts(requestParameters: VerifySignInCodeOperationRequest): Promise<runtime.RequestOpts>;
1607
+ /**
1608
+ * Creates an AI agent connection for an account owner or administrator. Accounts with two-factor authentication must use browser sign-in.
1609
+ * Exchange a sign-in code for an API key
1610
+ */
1611
+ verifySignInCodeRaw(requestParameters: VerifySignInCodeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VerifySignInCode201Response>>;
1612
+ /**
1613
+ * Creates an AI agent connection for an account owner or administrator. Accounts with two-factor authentication must use browser sign-in.
1614
+ * Exchange a sign-in code for an API key
1615
+ */
1616
+ verifySignInCode(requestParameters: VerifySignInCodeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VerifySignInCode201Response>;
1617
+ }
1618
+ /**
1619
+ * @export
1620
+ */
1621
+ export declare const ListEmailsOrderEnum: {
1622
+ readonly Asc: "asc";
1623
+ readonly Desc: "desc";
1624
+ };
1625
+ export type ListEmailsOrderEnum = typeof ListEmailsOrderEnum[keyof typeof ListEmailsOrderEnum];
1626
+ /**
1627
+ * @export
1628
+ */
1629
+ export declare const ListEmailsDirectionEnum: {
1630
+ readonly Received: "received";
1631
+ readonly Sent: "sent";
1632
+ readonly All: "all";
1633
+ };
1634
+ export type ListEmailsDirectionEnum = typeof ListEmailsDirectionEnum[keyof typeof ListEmailsDirectionEnum];
1635
+ /**
1636
+ * @export
1637
+ */
1638
+ export declare const ListMailboxesStatusEnum: {
1639
+ readonly Active: "active";
1640
+ readonly Archived: "archived";
1641
+ readonly All: "all";
1642
+ };
1643
+ export type ListMailboxesStatusEnum = typeof ListMailboxesStatusEnum[keyof typeof ListMailboxesStatusEnum];