agentmail 0.5.20 → 0.5.21

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 (309) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/apiKeys/client/Client.d.ts +78 -0
  3. package/dist/cjs/api/resources/apiKeys/client/Client.js +362 -0
  4. package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserConsentsRequest.d.ts +12 -0
  5. package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserConsentsRequest.js +3 -0
  6. package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserCredentialEventsRequest.d.ts +9 -0
  7. package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserCredentialEventsRequest.js +3 -0
  8. package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserCredentialsRequest.d.ts +9 -0
  9. package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserCredentialsRequest.js +3 -0
  10. package/dist/cjs/api/resources/apiKeys/client/requests/index.d.ts +3 -0
  11. package/dist/cjs/api/resources/apiKeys/types/BrowserAuthorizationListLimit.d.ts +1 -0
  12. package/dist/cjs/api/resources/apiKeys/types/BrowserAuthorizationListLimit.js +3 -0
  13. package/dist/cjs/api/resources/apiKeys/types/BrowserConsent.d.ts +16 -0
  14. package/dist/cjs/api/resources/apiKeys/types/BrowserConsent.js +3 -0
  15. package/dist/cjs/api/resources/apiKeys/types/BrowserConsentLifecycleEvent.d.ts +13 -0
  16. package/dist/cjs/api/resources/apiKeys/types/BrowserConsentLifecycleEvent.js +3 -0
  17. package/dist/cjs/api/resources/apiKeys/types/BrowserConsentLifecycleEventType.d.ts +7 -0
  18. package/dist/cjs/api/resources/apiKeys/types/BrowserConsentLifecycleEventType.js +10 -0
  19. package/dist/cjs/api/resources/apiKeys/types/BrowserCredential.d.ts +14 -0
  20. package/dist/cjs/api/resources/apiKeys/types/BrowserCredential.js +3 -0
  21. package/dist/cjs/api/resources/apiKeys/types/BrowserCredentialCreator.d.ts +7 -0
  22. package/dist/cjs/api/resources/apiKeys/types/BrowserCredentialCreator.js +3 -0
  23. package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentAccepted.d.ts +11 -0
  24. package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentAccepted.js +3 -0
  25. package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.d.ts +12 -0
  26. package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.js +3 -0
  27. package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.d.ts +7 -0
  28. package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.js +10 -0
  29. package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentTransactionJti.d.ts +4 -0
  30. package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentTransactionJti.js +3 -0
  31. package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleActor.d.ts +10 -0
  32. package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleActor.js +3 -0
  33. package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleApiKeyActor.d.ts +3 -0
  34. package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleApiKeyActor.js +3 -0
  35. package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleCredentialActor.d.ts +4 -0
  36. package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleCredentialActor.js +3 -0
  37. package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleEvent.d.ts +2 -0
  38. package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleEvent.js +3 -0
  39. package/dist/cjs/api/resources/apiKeys/types/CreateBrowserEnrollmentRequest.d.ts +9 -0
  40. package/dist/cjs/api/resources/apiKeys/types/CreateBrowserEnrollmentRequest.js +3 -0
  41. package/dist/cjs/api/resources/apiKeys/types/ListBrowserConsentsResponse.d.ts +7 -0
  42. package/dist/cjs/api/resources/apiKeys/types/ListBrowserConsentsResponse.js +3 -0
  43. package/dist/cjs/api/resources/apiKeys/types/ListBrowserCredentialsResponse.d.ts +7 -0
  44. package/dist/cjs/api/resources/apiKeys/types/ListBrowserCredentialsResponse.js +3 -0
  45. package/dist/cjs/api/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.d.ts +7 -0
  46. package/dist/cjs/api/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.js +3 -0
  47. package/dist/cjs/api/resources/apiKeys/types/index.d.ts +18 -0
  48. package/dist/cjs/api/resources/apiKeys/types/index.js +18 -0
  49. package/dist/cjs/api/resources/attachments/types/SendAttachment.d.ts +9 -2
  50. package/dist/cjs/api/resources/domains/client/Client.d.ts +17 -0
  51. package/dist/cjs/api/resources/domains/client/Client.js +100 -0
  52. package/dist/cjs/api/resources/domains/types/Domain.d.ts +2 -0
  53. package/dist/cjs/api/resources/domains/types/GetSetupLinkResponse.d.ts +16 -0
  54. package/dist/cjs/api/resources/domains/types/GetSetupLinkResponse.js +3 -0
  55. package/dist/cjs/api/resources/domains/types/VerificationRecord.d.ts +2 -0
  56. package/dist/cjs/api/resources/domains/types/index.d.ts +1 -0
  57. package/dist/cjs/api/resources/domains/types/index.js +1 -0
  58. package/dist/cjs/api/resources/inboxes/client/Client.d.ts +3 -0
  59. package/dist/cjs/api/resources/inboxes/client/Client.js +19 -14
  60. package/dist/cjs/api/resources/inboxes/resources/apiKeys/client/Client.d.ts +3 -3
  61. package/dist/cjs/api/resources/inboxes/resources/apiKeys/client/Client.js +3 -3
  62. package/dist/cjs/api/resources/inboxes/resources/browserCredentials/client/Client.d.ts +55 -0
  63. package/dist/cjs/api/resources/inboxes/resources/browserCredentials/client/Client.js +175 -0
  64. package/dist/cjs/api/resources/inboxes/resources/browserCredentials/client/index.d.ts +1 -0
  65. package/dist/cjs/api/resources/inboxes/resources/browserCredentials/client/index.js +2 -0
  66. package/dist/cjs/api/resources/inboxes/resources/browserCredentials/exports.d.ts +2 -0
  67. package/dist/cjs/api/resources/inboxes/resources/browserCredentials/exports.js +21 -0
  68. package/dist/cjs/api/resources/inboxes/resources/browserCredentials/index.d.ts +1 -0
  69. package/dist/cjs/api/resources/inboxes/resources/browserCredentials/index.js +17 -0
  70. package/dist/cjs/api/resources/inboxes/resources/drafts/client/Client.d.ts +7 -7
  71. package/dist/cjs/api/resources/inboxes/resources/drafts/client/Client.js +7 -7
  72. package/dist/cjs/api/resources/inboxes/resources/events/client/Client.d.ts +1 -1
  73. package/dist/cjs/api/resources/inboxes/resources/events/client/Client.js +1 -1
  74. package/dist/cjs/api/resources/inboxes/resources/index.d.ts +1 -0
  75. package/dist/cjs/api/resources/inboxes/resources/index.js +2 -1
  76. package/dist/cjs/api/resources/inboxes/resources/lists/client/Client.d.ts +4 -4
  77. package/dist/cjs/api/resources/inboxes/resources/lists/client/Client.js +4 -4
  78. package/dist/cjs/api/resources/inboxes/resources/messages/client/Client.d.ts +12 -12
  79. package/dist/cjs/api/resources/inboxes/resources/messages/client/Client.js +12 -12
  80. package/dist/cjs/api/resources/inboxes/resources/metrics/client/Client.d.ts +1 -1
  81. package/dist/cjs/api/resources/inboxes/resources/metrics/client/Client.js +1 -1
  82. package/dist/cjs/api/resources/inboxes/resources/threads/client/Client.d.ts +4 -4
  83. package/dist/cjs/api/resources/inboxes/resources/threads/client/Client.js +4 -4
  84. package/dist/cjs/api/resources/inboxes/resources/webhooks/client/Client.d.ts +5 -5
  85. package/dist/cjs/api/resources/inboxes/resources/webhooks/client/Client.js +5 -5
  86. package/dist/cjs/api/resources/metrics/client/Client.d.ts +1 -1
  87. package/dist/cjs/api/resources/metrics/client/Client.js +1 -1
  88. package/dist/cjs/api/resources/pods/resources/apiKeys/client/Client.d.ts +3 -3
  89. package/dist/cjs/api/resources/pods/resources/apiKeys/client/Client.js +3 -3
  90. package/dist/cjs/api/resources/pods/resources/domains/client/Client.d.ts +7 -7
  91. package/dist/cjs/api/resources/pods/resources/domains/client/Client.js +7 -7
  92. package/dist/cjs/api/resources/pods/resources/drafts/client/Client.d.ts +3 -3
  93. package/dist/cjs/api/resources/pods/resources/drafts/client/Client.js +3 -3
  94. package/dist/cjs/api/resources/pods/resources/inboxes/client/Client.d.ts +5 -5
  95. package/dist/cjs/api/resources/pods/resources/inboxes/client/Client.js +5 -5
  96. package/dist/cjs/api/resources/pods/resources/lists/client/Client.d.ts +4 -4
  97. package/dist/cjs/api/resources/pods/resources/lists/client/Client.js +4 -4
  98. package/dist/cjs/api/resources/pods/resources/metrics/client/Client.d.ts +1 -1
  99. package/dist/cjs/api/resources/pods/resources/metrics/client/Client.js +1 -1
  100. package/dist/cjs/api/resources/pods/resources/threads/client/Client.d.ts +4 -4
  101. package/dist/cjs/api/resources/pods/resources/threads/client/Client.js +4 -4
  102. package/dist/cjs/api/resources/pods/resources/webhooks/client/Client.d.ts +5 -5
  103. package/dist/cjs/api/resources/pods/resources/webhooks/client/Client.js +5 -5
  104. package/dist/cjs/api/resources/webhooks/client/Client.d.ts +2 -2
  105. package/dist/cjs/api/resources/webhooks/client/Client.js +2 -2
  106. package/dist/cjs/serialization/resources/apiKeys/types/BrowserAuthorizationListLimit.d.ts +7 -0
  107. package/dist/cjs/serialization/resources/apiKeys/types/BrowserAuthorizationListLimit.js +39 -0
  108. package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsent.d.ts +17 -0
  109. package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsent.js +49 -0
  110. package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsentLifecycleEvent.d.ts +20 -0
  111. package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsentLifecycleEvent.js +52 -0
  112. package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsentLifecycleEventType.d.ts +7 -0
  113. package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsentLifecycleEventType.js +44 -0
  114. package/dist/cjs/serialization/resources/apiKeys/types/BrowserCredential.d.ts +17 -0
  115. package/dist/cjs/serialization/resources/apiKeys/types/BrowserCredential.js +49 -0
  116. package/dist/cjs/serialization/resources/apiKeys/types/BrowserCredentialCreator.d.ts +11 -0
  117. package/dist/cjs/serialization/resources/apiKeys/types/BrowserCredentialCreator.js +43 -0
  118. package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentAccepted.d.ts +11 -0
  119. package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentAccepted.js +43 -0
  120. package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.d.ts +19 -0
  121. package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.js +51 -0
  122. package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.d.ts +7 -0
  123. package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.js +44 -0
  124. package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentTransactionJti.d.ts +7 -0
  125. package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentTransactionJti.js +39 -0
  126. package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleActor.d.ts +15 -0
  127. package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleActor.js +49 -0
  128. package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleApiKeyActor.d.ts +9 -0
  129. package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleApiKeyActor.js +41 -0
  130. package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleCredentialActor.d.ts +10 -0
  131. package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleCredentialActor.js +42 -0
  132. package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleEvent.d.ts +9 -0
  133. package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleEvent.js +41 -0
  134. package/dist/cjs/serialization/resources/apiKeys/types/CreateBrowserEnrollmentRequest.d.ts +10 -0
  135. package/dist/cjs/serialization/resources/apiKeys/types/CreateBrowserEnrollmentRequest.js +42 -0
  136. package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserConsentsResponse.d.ts +16 -0
  137. package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserConsentsResponse.js +48 -0
  138. package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserCredentialsResponse.d.ts +16 -0
  139. package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserCredentialsResponse.js +48 -0
  140. package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.d.ts +16 -0
  141. package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.js +48 -0
  142. package/dist/cjs/serialization/resources/apiKeys/types/index.d.ts +18 -0
  143. package/dist/cjs/serialization/resources/apiKeys/types/index.js +18 -0
  144. package/dist/cjs/serialization/resources/domains/types/Domain.d.ts +1 -0
  145. package/dist/cjs/serialization/resources/domains/types/Domain.js +1 -0
  146. package/dist/cjs/serialization/resources/domains/types/GetSetupLinkResponse.d.ts +15 -0
  147. package/dist/cjs/serialization/resources/domains/types/GetSetupLinkResponse.js +47 -0
  148. package/dist/cjs/serialization/resources/domains/types/VerificationRecord.d.ts +1 -0
  149. package/dist/cjs/serialization/resources/domains/types/VerificationRecord.js +1 -0
  150. package/dist/cjs/serialization/resources/domains/types/index.d.ts +1 -0
  151. package/dist/cjs/serialization/resources/domains/types/index.js +1 -0
  152. package/dist/cjs/version.d.ts +1 -1
  153. package/dist/cjs/version.js +1 -1
  154. package/dist/esm/BaseClient.mjs +2 -2
  155. package/dist/esm/api/resources/apiKeys/client/Client.d.mts +78 -0
  156. package/dist/esm/api/resources/apiKeys/client/Client.mjs +362 -0
  157. package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserConsentsRequest.d.mts +12 -0
  158. package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserConsentsRequest.mjs +2 -0
  159. package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserCredentialEventsRequest.d.mts +9 -0
  160. package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserCredentialEventsRequest.mjs +2 -0
  161. package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserCredentialsRequest.d.mts +9 -0
  162. package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserCredentialsRequest.mjs +2 -0
  163. package/dist/esm/api/resources/apiKeys/client/requests/index.d.mts +3 -0
  164. package/dist/esm/api/resources/apiKeys/types/BrowserAuthorizationListLimit.d.mts +1 -0
  165. package/dist/esm/api/resources/apiKeys/types/BrowserAuthorizationListLimit.mjs +2 -0
  166. package/dist/esm/api/resources/apiKeys/types/BrowserConsent.d.mts +16 -0
  167. package/dist/esm/api/resources/apiKeys/types/BrowserConsent.mjs +2 -0
  168. package/dist/esm/api/resources/apiKeys/types/BrowserConsentLifecycleEvent.d.mts +13 -0
  169. package/dist/esm/api/resources/apiKeys/types/BrowserConsentLifecycleEvent.mjs +2 -0
  170. package/dist/esm/api/resources/apiKeys/types/BrowserConsentLifecycleEventType.d.mts +7 -0
  171. package/dist/esm/api/resources/apiKeys/types/BrowserConsentLifecycleEventType.mjs +7 -0
  172. package/dist/esm/api/resources/apiKeys/types/BrowserCredential.d.mts +14 -0
  173. package/dist/esm/api/resources/apiKeys/types/BrowserCredential.mjs +2 -0
  174. package/dist/esm/api/resources/apiKeys/types/BrowserCredentialCreator.d.mts +7 -0
  175. package/dist/esm/api/resources/apiKeys/types/BrowserCredentialCreator.mjs +2 -0
  176. package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentAccepted.d.mts +11 -0
  177. package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentAccepted.mjs +2 -0
  178. package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.d.mts +12 -0
  179. package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.mjs +2 -0
  180. package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.d.mts +7 -0
  181. package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.mjs +7 -0
  182. package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentTransactionJti.d.mts +4 -0
  183. package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentTransactionJti.mjs +2 -0
  184. package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleActor.d.mts +10 -0
  185. package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleActor.mjs +2 -0
  186. package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleApiKeyActor.d.mts +3 -0
  187. package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleApiKeyActor.mjs +2 -0
  188. package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleCredentialActor.d.mts +4 -0
  189. package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleCredentialActor.mjs +2 -0
  190. package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleEvent.d.mts +2 -0
  191. package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleEvent.mjs +2 -0
  192. package/dist/esm/api/resources/apiKeys/types/CreateBrowserEnrollmentRequest.d.mts +9 -0
  193. package/dist/esm/api/resources/apiKeys/types/CreateBrowserEnrollmentRequest.mjs +2 -0
  194. package/dist/esm/api/resources/apiKeys/types/ListBrowserConsentsResponse.d.mts +7 -0
  195. package/dist/esm/api/resources/apiKeys/types/ListBrowserConsentsResponse.mjs +2 -0
  196. package/dist/esm/api/resources/apiKeys/types/ListBrowserCredentialsResponse.d.mts +7 -0
  197. package/dist/esm/api/resources/apiKeys/types/ListBrowserCredentialsResponse.mjs +2 -0
  198. package/dist/esm/api/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.d.mts +7 -0
  199. package/dist/esm/api/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.mjs +2 -0
  200. package/dist/esm/api/resources/apiKeys/types/index.d.mts +18 -0
  201. package/dist/esm/api/resources/apiKeys/types/index.mjs +18 -0
  202. package/dist/esm/api/resources/attachments/types/SendAttachment.d.mts +9 -2
  203. package/dist/esm/api/resources/domains/client/Client.d.mts +17 -0
  204. package/dist/esm/api/resources/domains/client/Client.mjs +100 -0
  205. package/dist/esm/api/resources/domains/types/Domain.d.mts +2 -0
  206. package/dist/esm/api/resources/domains/types/GetSetupLinkResponse.d.mts +16 -0
  207. package/dist/esm/api/resources/domains/types/GetSetupLinkResponse.mjs +2 -0
  208. package/dist/esm/api/resources/domains/types/VerificationRecord.d.mts +2 -0
  209. package/dist/esm/api/resources/domains/types/index.d.mts +1 -0
  210. package/dist/esm/api/resources/domains/types/index.mjs +1 -0
  211. package/dist/esm/api/resources/inboxes/client/Client.d.mts +3 -0
  212. package/dist/esm/api/resources/inboxes/client/Client.mjs +5 -0
  213. package/dist/esm/api/resources/inboxes/resources/apiKeys/client/Client.d.mts +3 -3
  214. package/dist/esm/api/resources/inboxes/resources/apiKeys/client/Client.mjs +3 -3
  215. package/dist/esm/api/resources/inboxes/resources/browserCredentials/client/Client.d.mts +55 -0
  216. package/dist/esm/api/resources/inboxes/resources/browserCredentials/client/Client.mjs +138 -0
  217. package/dist/esm/api/resources/inboxes/resources/browserCredentials/client/index.d.mts +1 -0
  218. package/dist/esm/api/resources/inboxes/resources/browserCredentials/client/index.mjs +1 -0
  219. package/dist/esm/api/resources/inboxes/resources/browserCredentials/exports.d.mts +2 -0
  220. package/dist/esm/api/resources/inboxes/resources/browserCredentials/exports.mjs +3 -0
  221. package/dist/esm/api/resources/inboxes/resources/browserCredentials/index.d.mts +1 -0
  222. package/dist/esm/api/resources/inboxes/resources/browserCredentials/index.mjs +1 -0
  223. package/dist/esm/api/resources/inboxes/resources/drafts/client/Client.d.mts +7 -7
  224. package/dist/esm/api/resources/inboxes/resources/drafts/client/Client.mjs +7 -7
  225. package/dist/esm/api/resources/inboxes/resources/events/client/Client.d.mts +1 -1
  226. package/dist/esm/api/resources/inboxes/resources/events/client/Client.mjs +1 -1
  227. package/dist/esm/api/resources/inboxes/resources/index.d.mts +1 -0
  228. package/dist/esm/api/resources/inboxes/resources/index.mjs +1 -0
  229. package/dist/esm/api/resources/inboxes/resources/lists/client/Client.d.mts +4 -4
  230. package/dist/esm/api/resources/inboxes/resources/lists/client/Client.mjs +4 -4
  231. package/dist/esm/api/resources/inboxes/resources/messages/client/Client.d.mts +12 -12
  232. package/dist/esm/api/resources/inboxes/resources/messages/client/Client.mjs +12 -12
  233. package/dist/esm/api/resources/inboxes/resources/metrics/client/Client.d.mts +1 -1
  234. package/dist/esm/api/resources/inboxes/resources/metrics/client/Client.mjs +1 -1
  235. package/dist/esm/api/resources/inboxes/resources/threads/client/Client.d.mts +4 -4
  236. package/dist/esm/api/resources/inboxes/resources/threads/client/Client.mjs +4 -4
  237. package/dist/esm/api/resources/inboxes/resources/webhooks/client/Client.d.mts +5 -5
  238. package/dist/esm/api/resources/inboxes/resources/webhooks/client/Client.mjs +5 -5
  239. package/dist/esm/api/resources/metrics/client/Client.d.mts +1 -1
  240. package/dist/esm/api/resources/metrics/client/Client.mjs +1 -1
  241. package/dist/esm/api/resources/pods/resources/apiKeys/client/Client.d.mts +3 -3
  242. package/dist/esm/api/resources/pods/resources/apiKeys/client/Client.mjs +3 -3
  243. package/dist/esm/api/resources/pods/resources/domains/client/Client.d.mts +7 -7
  244. package/dist/esm/api/resources/pods/resources/domains/client/Client.mjs +7 -7
  245. package/dist/esm/api/resources/pods/resources/drafts/client/Client.d.mts +3 -3
  246. package/dist/esm/api/resources/pods/resources/drafts/client/Client.mjs +3 -3
  247. package/dist/esm/api/resources/pods/resources/inboxes/client/Client.d.mts +5 -5
  248. package/dist/esm/api/resources/pods/resources/inboxes/client/Client.mjs +5 -5
  249. package/dist/esm/api/resources/pods/resources/lists/client/Client.d.mts +4 -4
  250. package/dist/esm/api/resources/pods/resources/lists/client/Client.mjs +4 -4
  251. package/dist/esm/api/resources/pods/resources/metrics/client/Client.d.mts +1 -1
  252. package/dist/esm/api/resources/pods/resources/metrics/client/Client.mjs +1 -1
  253. package/dist/esm/api/resources/pods/resources/threads/client/Client.d.mts +4 -4
  254. package/dist/esm/api/resources/pods/resources/threads/client/Client.mjs +4 -4
  255. package/dist/esm/api/resources/pods/resources/webhooks/client/Client.d.mts +5 -5
  256. package/dist/esm/api/resources/pods/resources/webhooks/client/Client.mjs +5 -5
  257. package/dist/esm/api/resources/webhooks/client/Client.d.mts +2 -2
  258. package/dist/esm/api/resources/webhooks/client/Client.mjs +2 -2
  259. package/dist/esm/serialization/resources/apiKeys/types/BrowserAuthorizationListLimit.d.mts +7 -0
  260. package/dist/esm/serialization/resources/apiKeys/types/BrowserAuthorizationListLimit.mjs +3 -0
  261. package/dist/esm/serialization/resources/apiKeys/types/BrowserConsent.d.mts +17 -0
  262. package/dist/esm/serialization/resources/apiKeys/types/BrowserConsent.mjs +13 -0
  263. package/dist/esm/serialization/resources/apiKeys/types/BrowserConsentLifecycleEvent.d.mts +20 -0
  264. package/dist/esm/serialization/resources/apiKeys/types/BrowserConsentLifecycleEvent.mjs +16 -0
  265. package/dist/esm/serialization/resources/apiKeys/types/BrowserConsentLifecycleEventType.d.mts +7 -0
  266. package/dist/esm/serialization/resources/apiKeys/types/BrowserConsentLifecycleEventType.mjs +8 -0
  267. package/dist/esm/serialization/resources/apiKeys/types/BrowserCredential.d.mts +17 -0
  268. package/dist/esm/serialization/resources/apiKeys/types/BrowserCredential.mjs +13 -0
  269. package/dist/esm/serialization/resources/apiKeys/types/BrowserCredentialCreator.d.mts +11 -0
  270. package/dist/esm/serialization/resources/apiKeys/types/BrowserCredentialCreator.mjs +7 -0
  271. package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentAccepted.d.mts +11 -0
  272. package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentAccepted.mjs +7 -0
  273. package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.d.mts +19 -0
  274. package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.mjs +15 -0
  275. package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.d.mts +7 -0
  276. package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.mjs +8 -0
  277. package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentTransactionJti.d.mts +7 -0
  278. package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentTransactionJti.mjs +3 -0
  279. package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleActor.d.mts +15 -0
  280. package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleActor.mjs +13 -0
  281. package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleApiKeyActor.d.mts +9 -0
  282. package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleApiKeyActor.mjs +5 -0
  283. package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleCredentialActor.d.mts +10 -0
  284. package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleCredentialActor.mjs +6 -0
  285. package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleEvent.d.mts +9 -0
  286. package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleEvent.mjs +5 -0
  287. package/dist/esm/serialization/resources/apiKeys/types/CreateBrowserEnrollmentRequest.d.mts +10 -0
  288. package/dist/esm/serialization/resources/apiKeys/types/CreateBrowserEnrollmentRequest.mjs +6 -0
  289. package/dist/esm/serialization/resources/apiKeys/types/ListBrowserConsentsResponse.d.mts +16 -0
  290. package/dist/esm/serialization/resources/apiKeys/types/ListBrowserConsentsResponse.mjs +12 -0
  291. package/dist/esm/serialization/resources/apiKeys/types/ListBrowserCredentialsResponse.d.mts +16 -0
  292. package/dist/esm/serialization/resources/apiKeys/types/ListBrowserCredentialsResponse.mjs +12 -0
  293. package/dist/esm/serialization/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.d.mts +16 -0
  294. package/dist/esm/serialization/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.mjs +12 -0
  295. package/dist/esm/serialization/resources/apiKeys/types/index.d.mts +18 -0
  296. package/dist/esm/serialization/resources/apiKeys/types/index.mjs +18 -0
  297. package/dist/esm/serialization/resources/domains/types/Domain.d.mts +1 -0
  298. package/dist/esm/serialization/resources/domains/types/Domain.mjs +1 -0
  299. package/dist/esm/serialization/resources/domains/types/GetSetupLinkResponse.d.mts +15 -0
  300. package/dist/esm/serialization/resources/domains/types/GetSetupLinkResponse.mjs +11 -0
  301. package/dist/esm/serialization/resources/domains/types/VerificationRecord.d.mts +1 -0
  302. package/dist/esm/serialization/resources/domains/types/VerificationRecord.mjs +1 -0
  303. package/dist/esm/serialization/resources/domains/types/index.d.mts +1 -0
  304. package/dist/esm/serialization/resources/domains/types/index.mjs +1 -0
  305. package/dist/esm/version.d.mts +1 -1
  306. package/dist/esm/version.mjs +1 -1
  307. package/dist/llms.txt +11 -1
  308. package/package.json +20 -2
  309. package/reference.md +613 -72
@@ -0,0 +1,13 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ export const BrowserConsent = core.serialization.object({
4
+ consentId: core.serialization.property("consent_id", core.serialization.string()),
5
+ inboxId: core.serialization.property("inbox_id", core.serialization.string()),
6
+ clientType: core.serialization.property("client_type", core.serialization.stringLiteral("closed")),
7
+ clientId: core.serialization.property("client_id", core.serialization.string()),
8
+ clientUrl: core.serialization.property("client_url", core.serialization.string().optional()),
9
+ approvedScopes: core.serialization.property("approved_scopes", core.serialization.list(core.serialization.string())),
10
+ createdAt: core.serialization.property("created_at", core.serialization.date()),
11
+ updatedAt: core.serialization.property("updated_at", core.serialization.date()),
12
+ expiresAt: core.serialization.property("expires_at", core.serialization.date()),
13
+ });
@@ -0,0 +1,20 @@
1
+ import type * as AgentMail from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ import { BrowserConsentLifecycleEventType } from "./BrowserConsentLifecycleEventType.mjs";
5
+ import { BrowserLifecycleActor } from "./BrowserLifecycleActor.mjs";
6
+ export declare const BrowserConsentLifecycleEvent: core.serialization.ObjectSchema<serializers.BrowserConsentLifecycleEvent.Raw, AgentMail.BrowserConsentLifecycleEvent>;
7
+ export declare namespace BrowserConsentLifecycleEvent {
8
+ interface Raw {
9
+ type: BrowserConsentLifecycleEventType.Raw;
10
+ trace_id: string;
11
+ event_id: string;
12
+ occurred_at: string;
13
+ organization_id: string;
14
+ pod_id: string;
15
+ actor: BrowserLifecycleActor.Raw;
16
+ consent_id: string;
17
+ client_type: "closed";
18
+ client_id: string;
19
+ }
20
+ }
@@ -0,0 +1,16 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ import { BrowserConsentLifecycleEventType } from "./BrowserConsentLifecycleEventType.mjs";
4
+ import { BrowserLifecycleActor } from "./BrowserLifecycleActor.mjs";
5
+ export const BrowserConsentLifecycleEvent = core.serialization.object({
6
+ type: BrowserConsentLifecycleEventType,
7
+ traceId: core.serialization.property("trace_id", core.serialization.string()),
8
+ eventId: core.serialization.property("event_id", core.serialization.string()),
9
+ occurredAt: core.serialization.property("occurred_at", core.serialization.date()),
10
+ organizationId: core.serialization.property("organization_id", core.serialization.string()),
11
+ podId: core.serialization.property("pod_id", core.serialization.string()),
12
+ actor: BrowserLifecycleActor,
13
+ consentId: core.serialization.property("consent_id", core.serialization.string()),
14
+ clientType: core.serialization.property("client_type", core.serialization.stringLiteral("closed")),
15
+ clientId: core.serialization.property("client_id", core.serialization.string()),
16
+ });
@@ -0,0 +1,7 @@
1
+ import type * as AgentMail from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ export declare const BrowserConsentLifecycleEventType: core.serialization.Schema<serializers.BrowserConsentLifecycleEventType.Raw, AgentMail.BrowserConsentLifecycleEventType>;
5
+ export declare namespace BrowserConsentLifecycleEventType {
6
+ type Raw = "browser_consent_created" | "browser_consent_updated" | "browser_consent_reused" | "browser_consent_revoked";
7
+ }
@@ -0,0 +1,8 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ export const BrowserConsentLifecycleEventType = core.serialization.enum_([
4
+ "browser_consent_created",
5
+ "browser_consent_updated",
6
+ "browser_consent_reused",
7
+ "browser_consent_revoked",
8
+ ]);
@@ -0,0 +1,17 @@
1
+ import type * as AgentMail from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ import { BrowserCredentialCreator } from "./BrowserCredentialCreator.mjs";
5
+ export declare const BrowserCredential: core.serialization.ObjectSchema<serializers.BrowserCredential.Raw, AgentMail.BrowserCredential>;
6
+ export declare namespace BrowserCredential {
7
+ interface Raw {
8
+ credential_id: string;
9
+ public_key_fingerprint_prefix: string;
10
+ organization_id: string;
11
+ pod_id: string;
12
+ inbox_id: string;
13
+ created_by: BrowserCredentialCreator.Raw;
14
+ created_at: string;
15
+ expires_at: string;
16
+ }
17
+ }
@@ -0,0 +1,13 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ import { BrowserCredentialCreator } from "./BrowserCredentialCreator.mjs";
4
+ export const BrowserCredential = core.serialization.object({
5
+ credentialId: core.serialization.property("credential_id", core.serialization.string()),
6
+ publicKeyFingerprintPrefix: core.serialization.property("public_key_fingerprint_prefix", core.serialization.string()),
7
+ organizationId: core.serialization.property("organization_id", core.serialization.string()),
8
+ podId: core.serialization.property("pod_id", core.serialization.string()),
9
+ inboxId: core.serialization.property("inbox_id", core.serialization.string()),
10
+ createdBy: core.serialization.property("created_by", BrowserCredentialCreator),
11
+ createdAt: core.serialization.property("created_at", core.serialization.date()),
12
+ expiresAt: core.serialization.property("expires_at", core.serialization.date()),
13
+ });
@@ -0,0 +1,11 @@
1
+ import type * as AgentMail from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ export declare const BrowserCredentialCreator: core.serialization.ObjectSchema<serializers.BrowserCredentialCreator.Raw, AgentMail.BrowserCredentialCreator>;
5
+ export declare namespace BrowserCredentialCreator {
6
+ interface Raw {
7
+ kind: "bearer_api_key";
8
+ api_key_id: string;
9
+ created_at: string;
10
+ }
11
+ }
@@ -0,0 +1,7 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ export const BrowserCredentialCreator = core.serialization.object({
4
+ kind: core.serialization.stringLiteral("bearer_api_key"),
5
+ apiKeyId: core.serialization.property("api_key_id", core.serialization.string()),
6
+ createdAt: core.serialization.property("created_at", core.serialization.date()),
7
+ });
@@ -0,0 +1,11 @@
1
+ import type * as AgentMail from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ export declare const BrowserEnrollmentAccepted: core.serialization.ObjectSchema<serializers.BrowserEnrollmentAccepted.Raw, AgentMail.BrowserEnrollmentAccepted>;
5
+ export declare namespace BrowserEnrollmentAccepted {
6
+ interface Raw {
7
+ status: "pending";
8
+ enrollment_id: string;
9
+ expires_at: number;
10
+ }
11
+ }
@@ -0,0 +1,7 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ export const BrowserEnrollmentAccepted = core.serialization.object({
4
+ status: core.serialization.stringLiteral("pending"),
5
+ enrollmentId: core.serialization.property("enrollment_id", core.serialization.string()),
6
+ expiresAt: core.serialization.property("expires_at", core.serialization.number()),
7
+ });
@@ -0,0 +1,19 @@
1
+ import type * as AgentMail from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ import { BrowserEnrollmentLifecycleEventType } from "./BrowserEnrollmentLifecycleEventType.mjs";
5
+ import { BrowserLifecycleActor } from "./BrowserLifecycleActor.mjs";
6
+ export declare const BrowserEnrollmentLifecycleEvent: core.serialization.ObjectSchema<serializers.BrowserEnrollmentLifecycleEvent.Raw, AgentMail.BrowserEnrollmentLifecycleEvent>;
7
+ export declare namespace BrowserEnrollmentLifecycleEvent {
8
+ interface Raw {
9
+ type: BrowserEnrollmentLifecycleEventType.Raw;
10
+ trace_id: string;
11
+ event_id: string;
12
+ occurred_at: string;
13
+ organization_id: string;
14
+ pod_id: string;
15
+ actor: BrowserLifecycleActor.Raw;
16
+ enrollment_id: string;
17
+ credential_id: string;
18
+ }
19
+ }
@@ -0,0 +1,15 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ import { BrowserEnrollmentLifecycleEventType } from "./BrowserEnrollmentLifecycleEventType.mjs";
4
+ import { BrowserLifecycleActor } from "./BrowserLifecycleActor.mjs";
5
+ export const BrowserEnrollmentLifecycleEvent = core.serialization.object({
6
+ type: BrowserEnrollmentLifecycleEventType,
7
+ traceId: core.serialization.property("trace_id", core.serialization.string()),
8
+ eventId: core.serialization.property("event_id", core.serialization.string()),
9
+ occurredAt: core.serialization.property("occurred_at", core.serialization.date()),
10
+ organizationId: core.serialization.property("organization_id", core.serialization.string()),
11
+ podId: core.serialization.property("pod_id", core.serialization.string()),
12
+ actor: BrowserLifecycleActor,
13
+ enrollmentId: core.serialization.property("enrollment_id", core.serialization.string()),
14
+ credentialId: core.serialization.property("credential_id", core.serialization.string()),
15
+ });
@@ -0,0 +1,7 @@
1
+ import type * as AgentMail from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ export declare const BrowserEnrollmentLifecycleEventType: core.serialization.Schema<serializers.BrowserEnrollmentLifecycleEventType.Raw, AgentMail.BrowserEnrollmentLifecycleEventType>;
5
+ export declare namespace BrowserEnrollmentLifecycleEventType {
6
+ type Raw = "browser_enrollment_intent_created" | "browser_credential_activated" | "browser_enrollment_cancelled" | "browser_credential_deleted";
7
+ }
@@ -0,0 +1,8 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ export const BrowserEnrollmentLifecycleEventType = core.serialization.enum_([
4
+ "browser_enrollment_intent_created",
5
+ "browser_credential_activated",
6
+ "browser_enrollment_cancelled",
7
+ "browser_credential_deleted",
8
+ ]);
@@ -0,0 +1,7 @@
1
+ import type * as AgentMail from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ export declare const BrowserEnrollmentTransactionJti: core.serialization.Schema<serializers.BrowserEnrollmentTransactionJti.Raw, AgentMail.BrowserEnrollmentTransactionJti>;
5
+ export declare namespace BrowserEnrollmentTransactionJti {
6
+ type Raw = string;
7
+ }
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ export const BrowserEnrollmentTransactionJti = core.serialization.string();
@@ -0,0 +1,15 @@
1
+ import type * as AgentMail from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ import { BrowserLifecycleApiKeyActor } from "./BrowserLifecycleApiKeyActor.mjs";
5
+ import { BrowserLifecycleCredentialActor } from "./BrowserLifecycleCredentialActor.mjs";
6
+ export declare const BrowserLifecycleActor: core.serialization.Schema<serializers.BrowserLifecycleActor.Raw, AgentMail.BrowserLifecycleActor>;
7
+ export declare namespace BrowserLifecycleActor {
8
+ type Raw = BrowserLifecycleActor.ApiKey | BrowserLifecycleActor.BrowserCredential;
9
+ interface ApiKey extends BrowserLifecycleApiKeyActor.Raw {
10
+ type: "api_key";
11
+ }
12
+ interface BrowserCredential extends BrowserLifecycleCredentialActor.Raw {
13
+ type: "browser_credential";
14
+ }
15
+ }
@@ -0,0 +1,13 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ import { BrowserLifecycleApiKeyActor } from "./BrowserLifecycleApiKeyActor.mjs";
4
+ import { BrowserLifecycleCredentialActor } from "./BrowserLifecycleCredentialActor.mjs";
5
+ export const BrowserLifecycleActor = core.serialization
6
+ .union("type", {
7
+ api_key: BrowserLifecycleApiKeyActor,
8
+ browser_credential: BrowserLifecycleCredentialActor,
9
+ })
10
+ .transform({
11
+ transform: (value) => value,
12
+ untransform: (value) => value,
13
+ });
@@ -0,0 +1,9 @@
1
+ import type * as AgentMail from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ export declare const BrowserLifecycleApiKeyActor: core.serialization.ObjectSchema<serializers.BrowserLifecycleApiKeyActor.Raw, AgentMail.BrowserLifecycleApiKeyActor>;
5
+ export declare namespace BrowserLifecycleApiKeyActor {
6
+ interface Raw {
7
+ api_key_id: string;
8
+ }
9
+ }
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ export const BrowserLifecycleApiKeyActor = core.serialization.object({
4
+ apiKeyId: core.serialization.property("api_key_id", core.serialization.string()),
5
+ });
@@ -0,0 +1,10 @@
1
+ import type * as AgentMail from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ export declare const BrowserLifecycleCredentialActor: core.serialization.ObjectSchema<serializers.BrowserLifecycleCredentialActor.Raw, AgentMail.BrowserLifecycleCredentialActor>;
5
+ export declare namespace BrowserLifecycleCredentialActor {
6
+ interface Raw {
7
+ credential_id: string;
8
+ authorizing_api_key_id: string;
9
+ }
10
+ }
@@ -0,0 +1,6 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ export const BrowserLifecycleCredentialActor = core.serialization.object({
4
+ credentialId: core.serialization.property("credential_id", core.serialization.string()),
5
+ authorizingApiKeyId: core.serialization.property("authorizing_api_key_id", core.serialization.string()),
6
+ });
@@ -0,0 +1,9 @@
1
+ import type * as AgentMail from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ import { BrowserConsentLifecycleEvent } from "./BrowserConsentLifecycleEvent.mjs";
5
+ import { BrowserEnrollmentLifecycleEvent } from "./BrowserEnrollmentLifecycleEvent.mjs";
6
+ export declare const BrowserLifecycleEvent: core.serialization.Schema<serializers.BrowserLifecycleEvent.Raw, AgentMail.BrowserLifecycleEvent>;
7
+ export declare namespace BrowserLifecycleEvent {
8
+ type Raw = BrowserEnrollmentLifecycleEvent.Raw | BrowserConsentLifecycleEvent.Raw;
9
+ }
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ import { BrowserConsentLifecycleEvent } from "./BrowserConsentLifecycleEvent.mjs";
4
+ import { BrowserEnrollmentLifecycleEvent } from "./BrowserEnrollmentLifecycleEvent.mjs";
5
+ export const BrowserLifecycleEvent = core.serialization.undiscriminatedUnion([BrowserEnrollmentLifecycleEvent, BrowserConsentLifecycleEvent]);
@@ -0,0 +1,10 @@
1
+ import type * as AgentMail from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ import { BrowserEnrollmentTransactionJti } from "./BrowserEnrollmentTransactionJti.mjs";
5
+ export declare const CreateBrowserEnrollmentRequest: core.serialization.ObjectSchema<serializers.CreateBrowserEnrollmentRequest.Raw, AgentMail.CreateBrowserEnrollmentRequest>;
6
+ export declare namespace CreateBrowserEnrollmentRequest {
7
+ interface Raw {
8
+ transaction_jti: BrowserEnrollmentTransactionJti.Raw;
9
+ }
10
+ }
@@ -0,0 +1,6 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ import { BrowserEnrollmentTransactionJti } from "./BrowserEnrollmentTransactionJti.mjs";
4
+ export const CreateBrowserEnrollmentRequest = core.serialization.object({
5
+ transactionJti: core.serialization.property("transaction_jti", BrowserEnrollmentTransactionJti),
6
+ });
@@ -0,0 +1,16 @@
1
+ import type * as AgentMail from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ import { Count } from "../../../types/Count.mjs";
5
+ import { PageToken } from "../../../types/PageToken.mjs";
6
+ import { BrowserAuthorizationListLimit } from "./BrowserAuthorizationListLimit.mjs";
7
+ import { BrowserConsent } from "./BrowserConsent.mjs";
8
+ export declare const ListBrowserConsentsResponse: core.serialization.ObjectSchema<serializers.ListBrowserConsentsResponse.Raw, AgentMail.ListBrowserConsentsResponse>;
9
+ export declare namespace ListBrowserConsentsResponse {
10
+ interface Raw {
11
+ count: Count.Raw;
12
+ limit: BrowserAuthorizationListLimit.Raw;
13
+ next_page_token?: PageToken.Raw | null;
14
+ consents: BrowserConsent.Raw[];
15
+ }
16
+ }
@@ -0,0 +1,12 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ import { Count } from "../../../types/Count.mjs";
4
+ import { PageToken } from "../../../types/PageToken.mjs";
5
+ import { BrowserAuthorizationListLimit } from "./BrowserAuthorizationListLimit.mjs";
6
+ import { BrowserConsent } from "./BrowserConsent.mjs";
7
+ export const ListBrowserConsentsResponse = core.serialization.object({
8
+ count: Count,
9
+ limit: BrowserAuthorizationListLimit,
10
+ nextPageToken: core.serialization.property("next_page_token", PageToken.optional()),
11
+ consents: core.serialization.list(BrowserConsent),
12
+ });
@@ -0,0 +1,16 @@
1
+ import type * as AgentMail from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ import { Count } from "../../../types/Count.mjs";
5
+ import { PageToken } from "../../../types/PageToken.mjs";
6
+ import { BrowserAuthorizationListLimit } from "./BrowserAuthorizationListLimit.mjs";
7
+ import { BrowserCredential } from "./BrowserCredential.mjs";
8
+ export declare const ListBrowserCredentialsResponse: core.serialization.ObjectSchema<serializers.ListBrowserCredentialsResponse.Raw, AgentMail.ListBrowserCredentialsResponse>;
9
+ export declare namespace ListBrowserCredentialsResponse {
10
+ interface Raw {
11
+ count: Count.Raw;
12
+ limit: BrowserAuthorizationListLimit.Raw;
13
+ next_page_token?: PageToken.Raw | null;
14
+ credentials: BrowserCredential.Raw[];
15
+ }
16
+ }
@@ -0,0 +1,12 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ import { Count } from "../../../types/Count.mjs";
4
+ import { PageToken } from "../../../types/PageToken.mjs";
5
+ import { BrowserAuthorizationListLimit } from "./BrowserAuthorizationListLimit.mjs";
6
+ import { BrowserCredential } from "./BrowserCredential.mjs";
7
+ export const ListBrowserCredentialsResponse = core.serialization.object({
8
+ count: Count,
9
+ limit: BrowserAuthorizationListLimit,
10
+ nextPageToken: core.serialization.property("next_page_token", PageToken.optional()),
11
+ credentials: core.serialization.list(BrowserCredential),
12
+ });
@@ -0,0 +1,16 @@
1
+ import type * as AgentMail from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ import { Count } from "../../../types/Count.mjs";
5
+ import { PageToken } from "../../../types/PageToken.mjs";
6
+ import { BrowserAuthorizationListLimit } from "./BrowserAuthorizationListLimit.mjs";
7
+ import { BrowserLifecycleEvent } from "./BrowserLifecycleEvent.mjs";
8
+ export declare const ListBrowserLifecycleEventsResponse: core.serialization.ObjectSchema<serializers.ListBrowserLifecycleEventsResponse.Raw, AgentMail.ListBrowserLifecycleEventsResponse>;
9
+ export declare namespace ListBrowserLifecycleEventsResponse {
10
+ interface Raw {
11
+ count: Count.Raw;
12
+ limit: BrowserAuthorizationListLimit.Raw;
13
+ next_page_token?: PageToken.Raw | null;
14
+ events: BrowserLifecycleEvent.Raw[];
15
+ }
16
+ }
@@ -0,0 +1,12 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ import { Count } from "../../../types/Count.mjs";
4
+ import { PageToken } from "../../../types/PageToken.mjs";
5
+ import { BrowserAuthorizationListLimit } from "./BrowserAuthorizationListLimit.mjs";
6
+ import { BrowserLifecycleEvent } from "./BrowserLifecycleEvent.mjs";
7
+ export const ListBrowserLifecycleEventsResponse = core.serialization.object({
8
+ count: Count,
9
+ limit: BrowserAuthorizationListLimit,
10
+ nextPageToken: core.serialization.property("next_page_token", PageToken.optional()),
11
+ events: core.serialization.list(BrowserLifecycleEvent),
12
+ });
@@ -1,12 +1,30 @@
1
1
  export * from "./ApiKey.mjs";
2
2
  export * from "./ApiKeyId.mjs";
3
3
  export * from "./ApiKeyPermissions.mjs";
4
+ export * from "./BrowserAuthorizationListLimit.mjs";
5
+ export * from "./BrowserConsent.mjs";
6
+ export * from "./BrowserConsentLifecycleEvent.mjs";
7
+ export * from "./BrowserConsentLifecycleEventType.mjs";
8
+ export * from "./BrowserCredential.mjs";
9
+ export * from "./BrowserCredentialCreator.mjs";
10
+ export * from "./BrowserEnrollmentAccepted.mjs";
11
+ export * from "./BrowserEnrollmentLifecycleEvent.mjs";
12
+ export * from "./BrowserEnrollmentLifecycleEventType.mjs";
13
+ export * from "./BrowserEnrollmentTransactionJti.mjs";
14
+ export * from "./BrowserLifecycleActor.mjs";
15
+ export * from "./BrowserLifecycleApiKeyActor.mjs";
16
+ export * from "./BrowserLifecycleCredentialActor.mjs";
17
+ export * from "./BrowserLifecycleEvent.mjs";
4
18
  export * from "./CreateApiKeyRequest.mjs";
5
19
  export * from "./CreateApiKeyResponse.mjs";
20
+ export * from "./CreateBrowserEnrollmentRequest.mjs";
6
21
  export * from "./CreatedAt.mjs";
7
22
  export * from "./CreatePublicKeyRequest.mjs";
8
23
  export * from "./InboxPublicKeyScope.mjs";
9
24
  export * from "./ListApiKeysResponse.mjs";
25
+ export * from "./ListBrowserConsentsResponse.mjs";
26
+ export * from "./ListBrowserCredentialsResponse.mjs";
27
+ export * from "./ListBrowserLifecycleEventsResponse.mjs";
10
28
  export * from "./ListPublicKeysResponse.mjs";
11
29
  export * from "./Name.mjs";
12
30
  export * from "./OrganizationPublicKeyScope.mjs";
@@ -1,12 +1,30 @@
1
1
  export * from "./ApiKey.mjs";
2
2
  export * from "./ApiKeyId.mjs";
3
3
  export * from "./ApiKeyPermissions.mjs";
4
+ export * from "./BrowserAuthorizationListLimit.mjs";
5
+ export * from "./BrowserConsent.mjs";
6
+ export * from "./BrowserConsentLifecycleEvent.mjs";
7
+ export * from "./BrowserConsentLifecycleEventType.mjs";
8
+ export * from "./BrowserCredential.mjs";
9
+ export * from "./BrowserCredentialCreator.mjs";
10
+ export * from "./BrowserEnrollmentAccepted.mjs";
11
+ export * from "./BrowserEnrollmentLifecycleEvent.mjs";
12
+ export * from "./BrowserEnrollmentLifecycleEventType.mjs";
13
+ export * from "./BrowserEnrollmentTransactionJti.mjs";
14
+ export * from "./BrowserLifecycleActor.mjs";
15
+ export * from "./BrowserLifecycleApiKeyActor.mjs";
16
+ export * from "./BrowserLifecycleCredentialActor.mjs";
17
+ export * from "./BrowserLifecycleEvent.mjs";
4
18
  export * from "./CreateApiKeyRequest.mjs";
5
19
  export * from "./CreateApiKeyResponse.mjs";
20
+ export * from "./CreateBrowserEnrollmentRequest.mjs";
6
21
  export * from "./CreatedAt.mjs";
7
22
  export * from "./CreatePublicKeyRequest.mjs";
8
23
  export * from "./InboxPublicKeyScope.mjs";
9
24
  export * from "./ListApiKeysResponse.mjs";
25
+ export * from "./ListBrowserConsentsResponse.mjs";
26
+ export * from "./ListBrowserCredentialsResponse.mjs";
27
+ export * from "./ListBrowserLifecycleEventsResponse.mjs";
10
28
  export * from "./ListPublicKeysResponse.mjs";
11
29
  export * from "./Name.mjs";
12
30
  export * from "./OrganizationPublicKeyScope.mjs";
@@ -17,6 +17,7 @@ export declare namespace Domain {
17
17
  domain_id: DomainId.Raw;
18
18
  domain: DomainName.Raw;
19
19
  status: Status.Raw;
20
+ reason?: string | null;
20
21
  feedback_enabled: FeedbackEnabled.Raw;
21
22
  subdomains_enabled: SubdomainsEnabled.Raw;
22
23
  tracking_enabled: TrackingEnabled.Raw;
@@ -14,6 +14,7 @@ export const Domain = core.serialization.object({
14
14
  domainId: core.serialization.property("domain_id", DomainId),
15
15
  domain: DomainName,
16
16
  status: Status,
17
+ reason: core.serialization.string().optional(),
17
18
  feedbackEnabled: core.serialization.property("feedback_enabled", FeedbackEnabled),
18
19
  subdomainsEnabled: core.serialization.property("subdomains_enabled", SubdomainsEnabled),
19
20
  trackingEnabled: core.serialization.property("tracking_enabled", TrackingEnabled),
@@ -0,0 +1,15 @@
1
+ import type * as AgentMail from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ export declare const GetSetupLinkResponse: core.serialization.ObjectSchema<serializers.GetSetupLinkResponse.Raw, AgentMail.GetSetupLinkResponse>;
5
+ export declare namespace GetSetupLinkResponse {
6
+ interface Raw {
7
+ supported: boolean;
8
+ provider_name?: string | null;
9
+ url?: string | null;
10
+ width?: number | null;
11
+ height?: number | null;
12
+ state?: string | null;
13
+ conflicting_provider?: string | null;
14
+ }
15
+ }
@@ -0,0 +1,11 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ export const GetSetupLinkResponse = core.serialization.object({
4
+ supported: core.serialization.boolean(),
5
+ providerName: core.serialization.property("provider_name", core.serialization.string().optional()),
6
+ url: core.serialization.string().optional(),
7
+ width: core.serialization.number().optional(),
8
+ height: core.serialization.number().optional(),
9
+ state: core.serialization.string().optional(),
10
+ conflictingProvider: core.serialization.property("conflicting_provider", core.serialization.string().optional()),
11
+ });
@@ -11,5 +11,6 @@ export declare namespace VerificationRecord {
11
11
  value: string;
12
12
  status: RecordStatus.Raw;
13
13
  priority?: number | null;
14
+ reason?: string | null;
14
15
  }
15
16
  }
@@ -8,4 +8,5 @@ export const VerificationRecord = core.serialization.object({
8
8
  value: core.serialization.string(),
9
9
  status: RecordStatus,
10
10
  priority: core.serialization.number().optional(),
11
+ reason: core.serialization.string().optional(),
11
12
  });
@@ -5,6 +5,7 @@ export * from "./DomainId.mjs";
5
5
  export * from "./DomainItem.mjs";
6
6
  export * from "./DomainName.mjs";
7
7
  export * from "./FeedbackEnabled.mjs";
8
+ export * from "./GetSetupLinkResponse.mjs";
8
9
  export * from "./ListDomainsResponse.mjs";
9
10
  export * from "./RecordStatus.mjs";
10
11
  export * from "./RecordType.mjs";
@@ -5,6 +5,7 @@ export * from "./DomainId.mjs";
5
5
  export * from "./DomainItem.mjs";
6
6
  export * from "./DomainName.mjs";
7
7
  export * from "./FeedbackEnabled.mjs";
8
+ export * from "./GetSetupLinkResponse.mjs";
8
9
  export * from "./ListDomainsResponse.mjs";
9
10
  export * from "./RecordStatus.mjs";
10
11
  export * from "./RecordType.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.5.20";
1
+ export declare const SDK_VERSION = "0.5.21";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.5.20";
1
+ export const SDK_VERSION = "0.5.21";