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