agentmail 0.5.19 → 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 (408) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/api/resources/apiKeys/client/Client.d.ts +78 -0
  4. package/dist/cjs/api/resources/apiKeys/client/Client.js +362 -0
  5. package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserConsentsRequest.d.ts +12 -0
  6. package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserConsentsRequest.js +3 -0
  7. package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserCredentialEventsRequest.d.ts +9 -0
  8. package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserCredentialEventsRequest.js +3 -0
  9. package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserCredentialsRequest.d.ts +9 -0
  10. package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserCredentialsRequest.js +3 -0
  11. package/dist/cjs/api/resources/apiKeys/client/requests/index.d.ts +3 -0
  12. package/dist/cjs/api/resources/apiKeys/types/BrowserAuthorizationListLimit.d.ts +1 -0
  13. package/dist/cjs/api/resources/apiKeys/types/BrowserAuthorizationListLimit.js +3 -0
  14. package/dist/cjs/api/resources/apiKeys/types/BrowserConsent.d.ts +16 -0
  15. package/dist/cjs/api/resources/apiKeys/types/BrowserConsent.js +3 -0
  16. package/dist/cjs/api/resources/apiKeys/types/BrowserConsentLifecycleEvent.d.ts +13 -0
  17. package/dist/cjs/api/resources/apiKeys/types/BrowserConsentLifecycleEvent.js +3 -0
  18. package/dist/cjs/api/resources/apiKeys/types/BrowserConsentLifecycleEventType.d.ts +7 -0
  19. package/dist/cjs/api/resources/apiKeys/types/BrowserConsentLifecycleEventType.js +10 -0
  20. package/dist/cjs/api/resources/apiKeys/types/BrowserCredential.d.ts +14 -0
  21. package/dist/cjs/api/resources/apiKeys/types/BrowserCredential.js +3 -0
  22. package/dist/cjs/api/resources/apiKeys/types/BrowserCredentialCreator.d.ts +7 -0
  23. package/dist/cjs/api/resources/apiKeys/types/BrowserCredentialCreator.js +3 -0
  24. package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentAccepted.d.ts +11 -0
  25. package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentAccepted.js +3 -0
  26. package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.d.ts +12 -0
  27. package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.js +3 -0
  28. package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.d.ts +7 -0
  29. package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.js +10 -0
  30. package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentTransactionJti.d.ts +4 -0
  31. package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentTransactionJti.js +3 -0
  32. package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleActor.d.ts +10 -0
  33. package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleActor.js +3 -0
  34. package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleApiKeyActor.d.ts +3 -0
  35. package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleApiKeyActor.js +3 -0
  36. package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleCredentialActor.d.ts +4 -0
  37. package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleCredentialActor.js +3 -0
  38. package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleEvent.d.ts +2 -0
  39. package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleEvent.js +3 -0
  40. package/dist/cjs/api/resources/apiKeys/types/CreateBrowserEnrollmentRequest.d.ts +9 -0
  41. package/dist/cjs/api/resources/apiKeys/types/CreateBrowserEnrollmentRequest.js +3 -0
  42. package/dist/cjs/api/resources/apiKeys/types/ListBrowserConsentsResponse.d.ts +7 -0
  43. package/dist/cjs/api/resources/apiKeys/types/ListBrowserConsentsResponse.js +3 -0
  44. package/dist/cjs/api/resources/apiKeys/types/ListBrowserCredentialsResponse.d.ts +7 -0
  45. package/dist/cjs/api/resources/apiKeys/types/ListBrowserCredentialsResponse.js +3 -0
  46. package/dist/cjs/api/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.d.ts +7 -0
  47. package/dist/cjs/api/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.js +3 -0
  48. package/dist/cjs/api/resources/apiKeys/types/index.d.ts +18 -0
  49. package/dist/cjs/api/resources/apiKeys/types/index.js +18 -0
  50. package/dist/cjs/api/resources/attachments/types/SendAttachment.d.ts +9 -2
  51. package/dist/cjs/api/resources/domains/client/Client.d.ts +17 -0
  52. package/dist/cjs/api/resources/domains/client/Client.js +100 -0
  53. package/dist/cjs/api/resources/domains/types/CreateDomainRequest.d.ts +1 -0
  54. package/dist/cjs/api/resources/domains/types/Domain.d.ts +3 -0
  55. package/dist/cjs/api/resources/domains/types/DomainItem.d.ts +1 -0
  56. package/dist/cjs/api/resources/domains/types/GetSetupLinkResponse.d.ts +16 -0
  57. package/dist/cjs/api/resources/domains/types/GetSetupLinkResponse.js +3 -0
  58. package/dist/cjs/api/resources/domains/types/TrackingEnabled.d.ts +6 -0
  59. package/dist/cjs/api/resources/domains/types/TrackingEnabled.js +3 -0
  60. package/dist/cjs/api/resources/domains/types/UpdateDomainRequest.d.ts +3 -1
  61. package/dist/cjs/api/resources/domains/types/VerificationRecord.d.ts +2 -0
  62. package/dist/cjs/api/resources/domains/types/index.d.ts +2 -0
  63. package/dist/cjs/api/resources/domains/types/index.js +2 -0
  64. package/dist/cjs/api/resources/events/types/EventType.d.ts +1 -0
  65. package/dist/cjs/api/resources/events/types/EventType.js +1 -0
  66. package/dist/cjs/api/resources/events/types/MessageOpenedEvent.d.ts +11 -0
  67. package/dist/cjs/api/resources/events/types/MessageOpenedEvent.js +3 -0
  68. package/dist/cjs/api/resources/events/types/Open.d.ts +7 -0
  69. package/dist/cjs/api/resources/events/types/Open.js +3 -0
  70. package/dist/cjs/api/resources/events/types/index.d.ts +2 -0
  71. package/dist/cjs/api/resources/events/types/index.js +2 -0
  72. package/dist/cjs/api/resources/inboxes/client/Client.d.ts +3 -0
  73. package/dist/cjs/api/resources/inboxes/client/Client.js +19 -14
  74. package/dist/cjs/api/resources/inboxes/resources/apiKeys/client/Client.d.ts +3 -3
  75. package/dist/cjs/api/resources/inboxes/resources/apiKeys/client/Client.js +3 -3
  76. package/dist/cjs/api/resources/inboxes/resources/browserCredentials/client/Client.d.ts +55 -0
  77. package/dist/cjs/api/resources/inboxes/resources/browserCredentials/client/Client.js +175 -0
  78. package/dist/cjs/api/resources/inboxes/resources/browserCredentials/client/index.d.ts +1 -0
  79. package/dist/cjs/api/resources/inboxes/resources/browserCredentials/client/index.js +2 -0
  80. package/dist/cjs/api/resources/inboxes/resources/browserCredentials/exports.d.ts +2 -0
  81. package/dist/cjs/api/resources/inboxes/resources/browserCredentials/exports.js +21 -0
  82. package/dist/cjs/api/resources/inboxes/resources/browserCredentials/index.d.ts +1 -0
  83. package/dist/cjs/api/resources/inboxes/resources/browserCredentials/index.js +17 -0
  84. package/dist/cjs/api/resources/inboxes/resources/drafts/client/Client.d.ts +7 -7
  85. package/dist/cjs/api/resources/inboxes/resources/drafts/client/Client.js +7 -7
  86. package/dist/cjs/api/resources/inboxes/resources/events/client/Client.d.ts +1 -1
  87. package/dist/cjs/api/resources/inboxes/resources/events/client/Client.js +1 -1
  88. package/dist/cjs/api/resources/inboxes/resources/index.d.ts +1 -0
  89. package/dist/cjs/api/resources/inboxes/resources/index.js +2 -1
  90. package/dist/cjs/api/resources/inboxes/resources/lists/client/Client.d.ts +4 -4
  91. package/dist/cjs/api/resources/inboxes/resources/lists/client/Client.js +4 -4
  92. package/dist/cjs/api/resources/inboxes/resources/messages/client/Client.d.ts +12 -12
  93. package/dist/cjs/api/resources/inboxes/resources/messages/client/Client.js +12 -12
  94. package/dist/cjs/api/resources/inboxes/resources/metrics/client/Client.d.ts +1 -1
  95. package/dist/cjs/api/resources/inboxes/resources/metrics/client/Client.js +1 -1
  96. package/dist/cjs/api/resources/inboxes/resources/threads/client/Client.d.ts +4 -4
  97. package/dist/cjs/api/resources/inboxes/resources/threads/client/Client.js +4 -4
  98. package/dist/cjs/api/resources/inboxes/resources/webhooks/client/Client.d.ts +5 -5
  99. package/dist/cjs/api/resources/inboxes/resources/webhooks/client/Client.js +5 -5
  100. package/dist/cjs/api/resources/messages/types/ReplyAllMessageRequest.d.ts +1 -0
  101. package/dist/cjs/api/resources/messages/types/ReplyToMessageRequest.d.ts +1 -0
  102. package/dist/cjs/api/resources/messages/types/SendMessageRequest.d.ts +1 -0
  103. package/dist/cjs/api/resources/messages/types/TrackOpens.d.ts +7 -0
  104. package/dist/cjs/api/resources/messages/types/TrackOpens.js +3 -0
  105. package/dist/cjs/api/resources/messages/types/index.d.ts +1 -0
  106. package/dist/cjs/api/resources/messages/types/index.js +1 -0
  107. package/dist/cjs/api/resources/metrics/client/Client.d.ts +1 -1
  108. package/dist/cjs/api/resources/metrics/client/Client.js +1 -1
  109. package/dist/cjs/api/resources/pods/resources/apiKeys/client/Client.d.ts +3 -3
  110. package/dist/cjs/api/resources/pods/resources/apiKeys/client/Client.js +3 -3
  111. package/dist/cjs/api/resources/pods/resources/domains/client/Client.d.ts +7 -7
  112. package/dist/cjs/api/resources/pods/resources/domains/client/Client.js +7 -7
  113. package/dist/cjs/api/resources/pods/resources/drafts/client/Client.d.ts +3 -3
  114. package/dist/cjs/api/resources/pods/resources/drafts/client/Client.js +3 -3
  115. package/dist/cjs/api/resources/pods/resources/inboxes/client/Client.d.ts +5 -5
  116. package/dist/cjs/api/resources/pods/resources/inboxes/client/Client.js +5 -5
  117. package/dist/cjs/api/resources/pods/resources/lists/client/Client.d.ts +4 -4
  118. package/dist/cjs/api/resources/pods/resources/lists/client/Client.js +4 -4
  119. package/dist/cjs/api/resources/pods/resources/metrics/client/Client.d.ts +1 -1
  120. package/dist/cjs/api/resources/pods/resources/metrics/client/Client.js +1 -1
  121. package/dist/cjs/api/resources/pods/resources/threads/client/Client.d.ts +4 -4
  122. package/dist/cjs/api/resources/pods/resources/threads/client/Client.js +4 -4
  123. package/dist/cjs/api/resources/pods/resources/webhooks/client/Client.d.ts +5 -5
  124. package/dist/cjs/api/resources/pods/resources/webhooks/client/Client.js +5 -5
  125. package/dist/cjs/api/resources/webhooks/client/Client.d.ts +2 -2
  126. package/dist/cjs/api/resources/webhooks/client/Client.js +2 -2
  127. package/dist/cjs/api/resources/websockets/client/Socket.d.ts +1 -1
  128. package/dist/cjs/serialization/resources/apiKeys/types/BrowserAuthorizationListLimit.d.ts +7 -0
  129. package/dist/cjs/serialization/resources/apiKeys/types/BrowserAuthorizationListLimit.js +39 -0
  130. package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsent.d.ts +17 -0
  131. package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsent.js +49 -0
  132. package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsentLifecycleEvent.d.ts +20 -0
  133. package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsentLifecycleEvent.js +52 -0
  134. package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsentLifecycleEventType.d.ts +7 -0
  135. package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsentLifecycleEventType.js +44 -0
  136. package/dist/cjs/serialization/resources/apiKeys/types/BrowserCredential.d.ts +17 -0
  137. package/dist/cjs/serialization/resources/apiKeys/types/BrowserCredential.js +49 -0
  138. package/dist/cjs/serialization/resources/apiKeys/types/BrowserCredentialCreator.d.ts +11 -0
  139. package/dist/cjs/serialization/resources/apiKeys/types/BrowserCredentialCreator.js +43 -0
  140. package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentAccepted.d.ts +11 -0
  141. package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentAccepted.js +43 -0
  142. package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.d.ts +19 -0
  143. package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.js +51 -0
  144. package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.d.ts +7 -0
  145. package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.js +44 -0
  146. package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentTransactionJti.d.ts +7 -0
  147. package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentTransactionJti.js +39 -0
  148. package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleActor.d.ts +15 -0
  149. package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleActor.js +49 -0
  150. package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleApiKeyActor.d.ts +9 -0
  151. package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleApiKeyActor.js +41 -0
  152. package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleCredentialActor.d.ts +10 -0
  153. package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleCredentialActor.js +42 -0
  154. package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleEvent.d.ts +9 -0
  155. package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleEvent.js +41 -0
  156. package/dist/cjs/serialization/resources/apiKeys/types/CreateBrowserEnrollmentRequest.d.ts +10 -0
  157. package/dist/cjs/serialization/resources/apiKeys/types/CreateBrowserEnrollmentRequest.js +42 -0
  158. package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserConsentsResponse.d.ts +16 -0
  159. package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserConsentsResponse.js +48 -0
  160. package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserCredentialsResponse.d.ts +16 -0
  161. package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserCredentialsResponse.js +48 -0
  162. package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.d.ts +16 -0
  163. package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.js +48 -0
  164. package/dist/cjs/serialization/resources/apiKeys/types/index.d.ts +18 -0
  165. package/dist/cjs/serialization/resources/apiKeys/types/index.js +18 -0
  166. package/dist/cjs/serialization/resources/domains/types/CreateDomainRequest.d.ts +2 -0
  167. package/dist/cjs/serialization/resources/domains/types/CreateDomainRequest.js +2 -0
  168. package/dist/cjs/serialization/resources/domains/types/Domain.d.ts +3 -0
  169. package/dist/cjs/serialization/resources/domains/types/Domain.js +3 -0
  170. package/dist/cjs/serialization/resources/domains/types/DomainItem.d.ts +2 -0
  171. package/dist/cjs/serialization/resources/domains/types/DomainItem.js +2 -0
  172. package/dist/cjs/serialization/resources/domains/types/GetSetupLinkResponse.d.ts +15 -0
  173. package/dist/cjs/serialization/resources/domains/types/GetSetupLinkResponse.js +47 -0
  174. package/dist/cjs/serialization/resources/domains/types/TrackingEnabled.d.ts +7 -0
  175. package/dist/cjs/serialization/resources/domains/types/TrackingEnabled.js +39 -0
  176. package/dist/cjs/serialization/resources/domains/types/UpdateDomainRequest.d.ts +2 -0
  177. package/dist/cjs/serialization/resources/domains/types/UpdateDomainRequest.js +2 -0
  178. package/dist/cjs/serialization/resources/domains/types/VerificationRecord.d.ts +1 -0
  179. package/dist/cjs/serialization/resources/domains/types/VerificationRecord.js +1 -0
  180. package/dist/cjs/serialization/resources/domains/types/index.d.ts +2 -0
  181. package/dist/cjs/serialization/resources/domains/types/index.js +2 -0
  182. package/dist/cjs/serialization/resources/events/types/EventType.d.ts +1 -1
  183. package/dist/cjs/serialization/resources/events/types/EventType.js +1 -0
  184. package/dist/cjs/serialization/resources/events/types/MessageOpenedEvent.d.ts +14 -0
  185. package/dist/cjs/serialization/resources/events/types/MessageOpenedEvent.js +46 -0
  186. package/dist/cjs/serialization/resources/events/types/Open.d.ts +16 -0
  187. package/dist/cjs/serialization/resources/events/types/Open.js +48 -0
  188. package/dist/cjs/serialization/resources/events/types/index.d.ts +2 -0
  189. package/dist/cjs/serialization/resources/events/types/index.js +2 -0
  190. package/dist/cjs/serialization/resources/messages/types/ReplyAllMessageRequest.d.ts +2 -0
  191. package/dist/cjs/serialization/resources/messages/types/ReplyAllMessageRequest.js +2 -0
  192. package/dist/cjs/serialization/resources/messages/types/ReplyToMessageRequest.d.ts +2 -0
  193. package/dist/cjs/serialization/resources/messages/types/ReplyToMessageRequest.js +2 -0
  194. package/dist/cjs/serialization/resources/messages/types/SendMessageRequest.d.ts +2 -0
  195. package/dist/cjs/serialization/resources/messages/types/SendMessageRequest.js +2 -0
  196. package/dist/cjs/serialization/resources/messages/types/TrackOpens.d.ts +7 -0
  197. package/dist/cjs/serialization/resources/messages/types/TrackOpens.js +39 -0
  198. package/dist/cjs/serialization/resources/messages/types/index.d.ts +1 -0
  199. package/dist/cjs/serialization/resources/messages/types/index.js +1 -0
  200. package/dist/cjs/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.d.ts +3 -2
  201. package/dist/cjs/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.js +2 -0
  202. package/dist/cjs/version.d.ts +1 -1
  203. package/dist/cjs/version.js +1 -1
  204. package/dist/esm/BaseClient.mjs +2 -2
  205. package/dist/esm/api/resources/apiKeys/client/Client.d.mts +78 -0
  206. package/dist/esm/api/resources/apiKeys/client/Client.mjs +362 -0
  207. package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserConsentsRequest.d.mts +12 -0
  208. package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserConsentsRequest.mjs +2 -0
  209. package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserCredentialEventsRequest.d.mts +9 -0
  210. package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserCredentialEventsRequest.mjs +2 -0
  211. package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserCredentialsRequest.d.mts +9 -0
  212. package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserCredentialsRequest.mjs +2 -0
  213. package/dist/esm/api/resources/apiKeys/client/requests/index.d.mts +3 -0
  214. package/dist/esm/api/resources/apiKeys/types/BrowserAuthorizationListLimit.d.mts +1 -0
  215. package/dist/esm/api/resources/apiKeys/types/BrowserAuthorizationListLimit.mjs +2 -0
  216. package/dist/esm/api/resources/apiKeys/types/BrowserConsent.d.mts +16 -0
  217. package/dist/esm/api/resources/apiKeys/types/BrowserConsent.mjs +2 -0
  218. package/dist/esm/api/resources/apiKeys/types/BrowserConsentLifecycleEvent.d.mts +13 -0
  219. package/dist/esm/api/resources/apiKeys/types/BrowserConsentLifecycleEvent.mjs +2 -0
  220. package/dist/esm/api/resources/apiKeys/types/BrowserConsentLifecycleEventType.d.mts +7 -0
  221. package/dist/esm/api/resources/apiKeys/types/BrowserConsentLifecycleEventType.mjs +7 -0
  222. package/dist/esm/api/resources/apiKeys/types/BrowserCredential.d.mts +14 -0
  223. package/dist/esm/api/resources/apiKeys/types/BrowserCredential.mjs +2 -0
  224. package/dist/esm/api/resources/apiKeys/types/BrowserCredentialCreator.d.mts +7 -0
  225. package/dist/esm/api/resources/apiKeys/types/BrowserCredentialCreator.mjs +2 -0
  226. package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentAccepted.d.mts +11 -0
  227. package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentAccepted.mjs +2 -0
  228. package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.d.mts +12 -0
  229. package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.mjs +2 -0
  230. package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.d.mts +7 -0
  231. package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.mjs +7 -0
  232. package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentTransactionJti.d.mts +4 -0
  233. package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentTransactionJti.mjs +2 -0
  234. package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleActor.d.mts +10 -0
  235. package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleActor.mjs +2 -0
  236. package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleApiKeyActor.d.mts +3 -0
  237. package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleApiKeyActor.mjs +2 -0
  238. package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleCredentialActor.d.mts +4 -0
  239. package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleCredentialActor.mjs +2 -0
  240. package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleEvent.d.mts +2 -0
  241. package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleEvent.mjs +2 -0
  242. package/dist/esm/api/resources/apiKeys/types/CreateBrowserEnrollmentRequest.d.mts +9 -0
  243. package/dist/esm/api/resources/apiKeys/types/CreateBrowserEnrollmentRequest.mjs +2 -0
  244. package/dist/esm/api/resources/apiKeys/types/ListBrowserConsentsResponse.d.mts +7 -0
  245. package/dist/esm/api/resources/apiKeys/types/ListBrowserConsentsResponse.mjs +2 -0
  246. package/dist/esm/api/resources/apiKeys/types/ListBrowserCredentialsResponse.d.mts +7 -0
  247. package/dist/esm/api/resources/apiKeys/types/ListBrowserCredentialsResponse.mjs +2 -0
  248. package/dist/esm/api/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.d.mts +7 -0
  249. package/dist/esm/api/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.mjs +2 -0
  250. package/dist/esm/api/resources/apiKeys/types/index.d.mts +18 -0
  251. package/dist/esm/api/resources/apiKeys/types/index.mjs +18 -0
  252. package/dist/esm/api/resources/attachments/types/SendAttachment.d.mts +9 -2
  253. package/dist/esm/api/resources/domains/client/Client.d.mts +17 -0
  254. package/dist/esm/api/resources/domains/client/Client.mjs +100 -0
  255. package/dist/esm/api/resources/domains/types/CreateDomainRequest.d.mts +1 -0
  256. package/dist/esm/api/resources/domains/types/Domain.d.mts +3 -0
  257. package/dist/esm/api/resources/domains/types/DomainItem.d.mts +1 -0
  258. package/dist/esm/api/resources/domains/types/GetSetupLinkResponse.d.mts +16 -0
  259. package/dist/esm/api/resources/domains/types/GetSetupLinkResponse.mjs +2 -0
  260. package/dist/esm/api/resources/domains/types/TrackingEnabled.d.mts +6 -0
  261. package/dist/esm/api/resources/domains/types/TrackingEnabled.mjs +2 -0
  262. package/dist/esm/api/resources/domains/types/UpdateDomainRequest.d.mts +3 -1
  263. package/dist/esm/api/resources/domains/types/VerificationRecord.d.mts +2 -0
  264. package/dist/esm/api/resources/domains/types/index.d.mts +2 -0
  265. package/dist/esm/api/resources/domains/types/index.mjs +2 -0
  266. package/dist/esm/api/resources/events/types/EventType.d.mts +1 -0
  267. package/dist/esm/api/resources/events/types/EventType.mjs +1 -0
  268. package/dist/esm/api/resources/events/types/MessageOpenedEvent.d.mts +11 -0
  269. package/dist/esm/api/resources/events/types/MessageOpenedEvent.mjs +2 -0
  270. package/dist/esm/api/resources/events/types/Open.d.mts +7 -0
  271. package/dist/esm/api/resources/events/types/Open.mjs +2 -0
  272. package/dist/esm/api/resources/events/types/index.d.mts +2 -0
  273. package/dist/esm/api/resources/events/types/index.mjs +2 -0
  274. package/dist/esm/api/resources/inboxes/client/Client.d.mts +3 -0
  275. package/dist/esm/api/resources/inboxes/client/Client.mjs +5 -0
  276. package/dist/esm/api/resources/inboxes/resources/apiKeys/client/Client.d.mts +3 -3
  277. package/dist/esm/api/resources/inboxes/resources/apiKeys/client/Client.mjs +3 -3
  278. package/dist/esm/api/resources/inboxes/resources/browserCredentials/client/Client.d.mts +55 -0
  279. package/dist/esm/api/resources/inboxes/resources/browserCredentials/client/Client.mjs +138 -0
  280. package/dist/esm/api/resources/inboxes/resources/browserCredentials/client/index.d.mts +1 -0
  281. package/dist/esm/api/resources/inboxes/resources/browserCredentials/client/index.mjs +1 -0
  282. package/dist/esm/api/resources/inboxes/resources/browserCredentials/exports.d.mts +2 -0
  283. package/dist/esm/api/resources/inboxes/resources/browserCredentials/exports.mjs +3 -0
  284. package/dist/esm/api/resources/inboxes/resources/browserCredentials/index.d.mts +1 -0
  285. package/dist/esm/api/resources/inboxes/resources/browserCredentials/index.mjs +1 -0
  286. package/dist/esm/api/resources/inboxes/resources/drafts/client/Client.d.mts +7 -7
  287. package/dist/esm/api/resources/inboxes/resources/drafts/client/Client.mjs +7 -7
  288. package/dist/esm/api/resources/inboxes/resources/events/client/Client.d.mts +1 -1
  289. package/dist/esm/api/resources/inboxes/resources/events/client/Client.mjs +1 -1
  290. package/dist/esm/api/resources/inboxes/resources/index.d.mts +1 -0
  291. package/dist/esm/api/resources/inboxes/resources/index.mjs +1 -0
  292. package/dist/esm/api/resources/inboxes/resources/lists/client/Client.d.mts +4 -4
  293. package/dist/esm/api/resources/inboxes/resources/lists/client/Client.mjs +4 -4
  294. package/dist/esm/api/resources/inboxes/resources/messages/client/Client.d.mts +12 -12
  295. package/dist/esm/api/resources/inboxes/resources/messages/client/Client.mjs +12 -12
  296. package/dist/esm/api/resources/inboxes/resources/metrics/client/Client.d.mts +1 -1
  297. package/dist/esm/api/resources/inboxes/resources/metrics/client/Client.mjs +1 -1
  298. package/dist/esm/api/resources/inboxes/resources/threads/client/Client.d.mts +4 -4
  299. package/dist/esm/api/resources/inboxes/resources/threads/client/Client.mjs +4 -4
  300. package/dist/esm/api/resources/inboxes/resources/webhooks/client/Client.d.mts +5 -5
  301. package/dist/esm/api/resources/inboxes/resources/webhooks/client/Client.mjs +5 -5
  302. package/dist/esm/api/resources/messages/types/ReplyAllMessageRequest.d.mts +1 -0
  303. package/dist/esm/api/resources/messages/types/ReplyToMessageRequest.d.mts +1 -0
  304. package/dist/esm/api/resources/messages/types/SendMessageRequest.d.mts +1 -0
  305. package/dist/esm/api/resources/messages/types/TrackOpens.d.mts +7 -0
  306. package/dist/esm/api/resources/messages/types/TrackOpens.mjs +2 -0
  307. package/dist/esm/api/resources/messages/types/index.d.mts +1 -0
  308. package/dist/esm/api/resources/messages/types/index.mjs +1 -0
  309. package/dist/esm/api/resources/metrics/client/Client.d.mts +1 -1
  310. package/dist/esm/api/resources/metrics/client/Client.mjs +1 -1
  311. package/dist/esm/api/resources/pods/resources/apiKeys/client/Client.d.mts +3 -3
  312. package/dist/esm/api/resources/pods/resources/apiKeys/client/Client.mjs +3 -3
  313. package/dist/esm/api/resources/pods/resources/domains/client/Client.d.mts +7 -7
  314. package/dist/esm/api/resources/pods/resources/domains/client/Client.mjs +7 -7
  315. package/dist/esm/api/resources/pods/resources/drafts/client/Client.d.mts +3 -3
  316. package/dist/esm/api/resources/pods/resources/drafts/client/Client.mjs +3 -3
  317. package/dist/esm/api/resources/pods/resources/inboxes/client/Client.d.mts +5 -5
  318. package/dist/esm/api/resources/pods/resources/inboxes/client/Client.mjs +5 -5
  319. package/dist/esm/api/resources/pods/resources/lists/client/Client.d.mts +4 -4
  320. package/dist/esm/api/resources/pods/resources/lists/client/Client.mjs +4 -4
  321. package/dist/esm/api/resources/pods/resources/metrics/client/Client.d.mts +1 -1
  322. package/dist/esm/api/resources/pods/resources/metrics/client/Client.mjs +1 -1
  323. package/dist/esm/api/resources/pods/resources/threads/client/Client.d.mts +4 -4
  324. package/dist/esm/api/resources/pods/resources/threads/client/Client.mjs +4 -4
  325. package/dist/esm/api/resources/pods/resources/webhooks/client/Client.d.mts +5 -5
  326. package/dist/esm/api/resources/pods/resources/webhooks/client/Client.mjs +5 -5
  327. package/dist/esm/api/resources/webhooks/client/Client.d.mts +2 -2
  328. package/dist/esm/api/resources/webhooks/client/Client.mjs +2 -2
  329. package/dist/esm/api/resources/websockets/client/Socket.d.mts +1 -1
  330. package/dist/esm/serialization/resources/apiKeys/types/BrowserAuthorizationListLimit.d.mts +7 -0
  331. package/dist/esm/serialization/resources/apiKeys/types/BrowserAuthorizationListLimit.mjs +3 -0
  332. package/dist/esm/serialization/resources/apiKeys/types/BrowserConsent.d.mts +17 -0
  333. package/dist/esm/serialization/resources/apiKeys/types/BrowserConsent.mjs +13 -0
  334. package/dist/esm/serialization/resources/apiKeys/types/BrowserConsentLifecycleEvent.d.mts +20 -0
  335. package/dist/esm/serialization/resources/apiKeys/types/BrowserConsentLifecycleEvent.mjs +16 -0
  336. package/dist/esm/serialization/resources/apiKeys/types/BrowserConsentLifecycleEventType.d.mts +7 -0
  337. package/dist/esm/serialization/resources/apiKeys/types/BrowserConsentLifecycleEventType.mjs +8 -0
  338. package/dist/esm/serialization/resources/apiKeys/types/BrowserCredential.d.mts +17 -0
  339. package/dist/esm/serialization/resources/apiKeys/types/BrowserCredential.mjs +13 -0
  340. package/dist/esm/serialization/resources/apiKeys/types/BrowserCredentialCreator.d.mts +11 -0
  341. package/dist/esm/serialization/resources/apiKeys/types/BrowserCredentialCreator.mjs +7 -0
  342. package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentAccepted.d.mts +11 -0
  343. package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentAccepted.mjs +7 -0
  344. package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.d.mts +19 -0
  345. package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.mjs +15 -0
  346. package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.d.mts +7 -0
  347. package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.mjs +8 -0
  348. package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentTransactionJti.d.mts +7 -0
  349. package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentTransactionJti.mjs +3 -0
  350. package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleActor.d.mts +15 -0
  351. package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleActor.mjs +13 -0
  352. package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleApiKeyActor.d.mts +9 -0
  353. package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleApiKeyActor.mjs +5 -0
  354. package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleCredentialActor.d.mts +10 -0
  355. package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleCredentialActor.mjs +6 -0
  356. package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleEvent.d.mts +9 -0
  357. package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleEvent.mjs +5 -0
  358. package/dist/esm/serialization/resources/apiKeys/types/CreateBrowserEnrollmentRequest.d.mts +10 -0
  359. package/dist/esm/serialization/resources/apiKeys/types/CreateBrowserEnrollmentRequest.mjs +6 -0
  360. package/dist/esm/serialization/resources/apiKeys/types/ListBrowserConsentsResponse.d.mts +16 -0
  361. package/dist/esm/serialization/resources/apiKeys/types/ListBrowserConsentsResponse.mjs +12 -0
  362. package/dist/esm/serialization/resources/apiKeys/types/ListBrowserCredentialsResponse.d.mts +16 -0
  363. package/dist/esm/serialization/resources/apiKeys/types/ListBrowserCredentialsResponse.mjs +12 -0
  364. package/dist/esm/serialization/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.d.mts +16 -0
  365. package/dist/esm/serialization/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.mjs +12 -0
  366. package/dist/esm/serialization/resources/apiKeys/types/index.d.mts +18 -0
  367. package/dist/esm/serialization/resources/apiKeys/types/index.mjs +18 -0
  368. package/dist/esm/serialization/resources/domains/types/CreateDomainRequest.d.mts +2 -0
  369. package/dist/esm/serialization/resources/domains/types/CreateDomainRequest.mjs +2 -0
  370. package/dist/esm/serialization/resources/domains/types/Domain.d.mts +3 -0
  371. package/dist/esm/serialization/resources/domains/types/Domain.mjs +3 -0
  372. package/dist/esm/serialization/resources/domains/types/DomainItem.d.mts +2 -0
  373. package/dist/esm/serialization/resources/domains/types/DomainItem.mjs +2 -0
  374. package/dist/esm/serialization/resources/domains/types/GetSetupLinkResponse.d.mts +15 -0
  375. package/dist/esm/serialization/resources/domains/types/GetSetupLinkResponse.mjs +11 -0
  376. package/dist/esm/serialization/resources/domains/types/TrackingEnabled.d.mts +7 -0
  377. package/dist/esm/serialization/resources/domains/types/TrackingEnabled.mjs +3 -0
  378. package/dist/esm/serialization/resources/domains/types/UpdateDomainRequest.d.mts +2 -0
  379. package/dist/esm/serialization/resources/domains/types/UpdateDomainRequest.mjs +2 -0
  380. package/dist/esm/serialization/resources/domains/types/VerificationRecord.d.mts +1 -0
  381. package/dist/esm/serialization/resources/domains/types/VerificationRecord.mjs +1 -0
  382. package/dist/esm/serialization/resources/domains/types/index.d.mts +2 -0
  383. package/dist/esm/serialization/resources/domains/types/index.mjs +2 -0
  384. package/dist/esm/serialization/resources/events/types/EventType.d.mts +1 -1
  385. package/dist/esm/serialization/resources/events/types/EventType.mjs +1 -0
  386. package/dist/esm/serialization/resources/events/types/MessageOpenedEvent.d.mts +14 -0
  387. package/dist/esm/serialization/resources/events/types/MessageOpenedEvent.mjs +10 -0
  388. package/dist/esm/serialization/resources/events/types/Open.d.mts +16 -0
  389. package/dist/esm/serialization/resources/events/types/Open.mjs +12 -0
  390. package/dist/esm/serialization/resources/events/types/index.d.mts +2 -0
  391. package/dist/esm/serialization/resources/events/types/index.mjs +2 -0
  392. package/dist/esm/serialization/resources/messages/types/ReplyAllMessageRequest.d.mts +2 -0
  393. package/dist/esm/serialization/resources/messages/types/ReplyAllMessageRequest.mjs +2 -0
  394. package/dist/esm/serialization/resources/messages/types/ReplyToMessageRequest.d.mts +2 -0
  395. package/dist/esm/serialization/resources/messages/types/ReplyToMessageRequest.mjs +2 -0
  396. package/dist/esm/serialization/resources/messages/types/SendMessageRequest.d.mts +2 -0
  397. package/dist/esm/serialization/resources/messages/types/SendMessageRequest.mjs +2 -0
  398. package/dist/esm/serialization/resources/messages/types/TrackOpens.d.mts +7 -0
  399. package/dist/esm/serialization/resources/messages/types/TrackOpens.mjs +3 -0
  400. package/dist/esm/serialization/resources/messages/types/index.d.mts +1 -0
  401. package/dist/esm/serialization/resources/messages/types/index.mjs +1 -0
  402. package/dist/esm/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.d.mts +3 -2
  403. package/dist/esm/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.mjs +2 -0
  404. package/dist/esm/version.d.mts +1 -1
  405. package/dist/esm/version.mjs +1 -1
  406. package/dist/llms.txt +24 -1
  407. package/package.json +29 -3
  408. package/reference.md +613 -72
@@ -3,6 +3,7 @@ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js"
3
3
  import * as core from "../../../../core/index.js";
4
4
  import * as AgentMail from "../../../index.js";
5
5
  import { ApiKeysClient } from "../resources/apiKeys/client/Client.js";
6
+ import { BrowserCredentialsClient } from "../resources/browserCredentials/client/Client.js";
6
7
  import { DraftsClient } from "../resources/drafts/client/Client.js";
7
8
  import { EventsClient } from "../resources/events/client/Client.js";
8
9
  import { ListsClient } from "../resources/lists/client/Client.js";
@@ -20,6 +21,7 @@ export declare class InboxesClient {
20
21
  protected _threads: ThreadsClient | undefined;
21
22
  protected _messages: MessagesClient | undefined;
22
23
  protected _drafts: DraftsClient | undefined;
24
+ protected _browserCredentials: BrowserCredentialsClient | undefined;
23
25
  protected _webhooks: WebhooksClient | undefined;
24
26
  protected _lists: ListsClient | undefined;
25
27
  protected _metrics: MetricsClient | undefined;
@@ -29,6 +31,7 @@ export declare class InboxesClient {
29
31
  get threads(): ThreadsClient;
30
32
  get messages(): MessagesClient;
31
33
  get drafts(): DraftsClient;
34
+ get browserCredentials(): BrowserCredentialsClient;
32
35
  get webhooks(): WebhooksClient;
33
36
  get lists(): ListsClient;
34
37
  get metrics(): MetricsClient;
@@ -53,44 +53,49 @@ const errors = __importStar(require("../../../../errors/index.js"));
53
53
  const serializers = __importStar(require("../../../../serialization/index.js"));
54
54
  const AgentMail = __importStar(require("../../../index.js"));
55
55
  const Client_js_1 = require("../resources/apiKeys/client/Client.js");
56
- const Client_js_2 = require("../resources/drafts/client/Client.js");
57
- const Client_js_3 = require("../resources/events/client/Client.js");
58
- const Client_js_4 = require("../resources/lists/client/Client.js");
59
- const Client_js_5 = require("../resources/messages/client/Client.js");
60
- const Client_js_6 = require("../resources/metrics/client/Client.js");
61
- const Client_js_7 = require("../resources/threads/client/Client.js");
62
- const Client_js_8 = require("../resources/webhooks/client/Client.js");
56
+ const Client_js_2 = require("../resources/browserCredentials/client/Client.js");
57
+ const Client_js_3 = require("../resources/drafts/client/Client.js");
58
+ const Client_js_4 = require("../resources/events/client/Client.js");
59
+ const Client_js_5 = require("../resources/lists/client/Client.js");
60
+ const Client_js_6 = require("../resources/messages/client/Client.js");
61
+ const Client_js_7 = require("../resources/metrics/client/Client.js");
62
+ const Client_js_8 = require("../resources/threads/client/Client.js");
63
+ const Client_js_9 = require("../resources/webhooks/client/Client.js");
63
64
  class InboxesClient {
64
65
  constructor(options = {}) {
65
66
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
66
67
  }
67
68
  get threads() {
68
69
  var _a;
69
- return ((_a = this._threads) !== null && _a !== void 0 ? _a : (this._threads = new Client_js_7.ThreadsClient(this._options)));
70
+ return ((_a = this._threads) !== null && _a !== void 0 ? _a : (this._threads = new Client_js_8.ThreadsClient(this._options)));
70
71
  }
71
72
  get messages() {
72
73
  var _a;
73
- return ((_a = this._messages) !== null && _a !== void 0 ? _a : (this._messages = new Client_js_5.MessagesClient(this._options)));
74
+ return ((_a = this._messages) !== null && _a !== void 0 ? _a : (this._messages = new Client_js_6.MessagesClient(this._options)));
74
75
  }
75
76
  get drafts() {
76
77
  var _a;
77
- return ((_a = this._drafts) !== null && _a !== void 0 ? _a : (this._drafts = new Client_js_2.DraftsClient(this._options)));
78
+ return ((_a = this._drafts) !== null && _a !== void 0 ? _a : (this._drafts = new Client_js_3.DraftsClient(this._options)));
79
+ }
80
+ get browserCredentials() {
81
+ var _a;
82
+ return ((_a = this._browserCredentials) !== null && _a !== void 0 ? _a : (this._browserCredentials = new Client_js_2.BrowserCredentialsClient(this._options)));
78
83
  }
79
84
  get webhooks() {
80
85
  var _a;
81
- return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new Client_js_8.WebhooksClient(this._options)));
86
+ return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new Client_js_9.WebhooksClient(this._options)));
82
87
  }
83
88
  get lists() {
84
89
  var _a;
85
- return ((_a = this._lists) !== null && _a !== void 0 ? _a : (this._lists = new Client_js_4.ListsClient(this._options)));
90
+ return ((_a = this._lists) !== null && _a !== void 0 ? _a : (this._lists = new Client_js_5.ListsClient(this._options)));
86
91
  }
87
92
  get metrics() {
88
93
  var _a;
89
- return ((_a = this._metrics) !== null && _a !== void 0 ? _a : (this._metrics = new Client_js_6.MetricsClient(this._options)));
94
+ return ((_a = this._metrics) !== null && _a !== void 0 ? _a : (this._metrics = new Client_js_7.MetricsClient(this._options)));
90
95
  }
91
96
  get events() {
92
97
  var _a;
93
- return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new Client_js_3.EventsClient(this._options)));
98
+ return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new Client_js_4.EventsClient(this._options)));
94
99
  }
95
100
  get apiKeys() {
96
101
  var _a;
@@ -13,7 +13,7 @@ export declare class ApiKeysClient {
13
13
  /**
14
14
  * **CLI:**
15
15
  * ```bash
16
- * agentmail inboxes:api-keys list --inbox-id <inbox_id>
16
+ * agentmail inboxes api-keys list --inbox-id <inbox_id>
17
17
  * ```
18
18
  *
19
19
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -30,7 +30,7 @@ export declare class ApiKeysClient {
30
30
  /**
31
31
  * **CLI:**
32
32
  * ```bash
33
- * agentmail inboxes:api-keys create --inbox-id <inbox_id> --name "My Key"
33
+ * agentmail inboxes api-keys create --inbox-id <inbox_id> --name "My Key"
34
34
  * ```
35
35
  *
36
36
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -48,7 +48,7 @@ export declare class ApiKeysClient {
48
48
  /**
49
49
  * **CLI:**
50
50
  * ```bash
51
- * agentmail inboxes:api-keys delete --inbox-id <inbox_id> --api-key-id <api_key_id>
51
+ * agentmail inboxes api-keys delete --inbox-id <inbox_id> --api-key-id <api_key_id>
52
52
  * ```
53
53
  *
54
54
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -59,7 +59,7 @@ class ApiKeysClient {
59
59
  /**
60
60
  * **CLI:**
61
61
  * ```bash
62
- * agentmail inboxes:api-keys list --inbox-id <inbox_id>
62
+ * agentmail inboxes api-keys list --inbox-id <inbox_id>
63
63
  * ```
64
64
  *
65
65
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -132,7 +132,7 @@ class ApiKeysClient {
132
132
  /**
133
133
  * **CLI:**
134
134
  * ```bash
135
- * agentmail inboxes:api-keys create --inbox-id <inbox_id> --name "My Key"
135
+ * agentmail inboxes api-keys create --inbox-id <inbox_id> --name "My Key"
136
136
  * ```
137
137
  *
138
138
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -215,7 +215,7 @@ class ApiKeysClient {
215
215
  /**
216
216
  * **CLI:**
217
217
  * ```bash
218
- * agentmail inboxes:api-keys delete --inbox-id <inbox_id> --api-key-id <api_key_id>
218
+ * agentmail inboxes api-keys delete --inbox-id <inbox_id> --api-key-id <api_key_id>
219
219
  * ```
220
220
  *
221
221
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -0,0 +1,55 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
3
+ import * as core from "../../../../../../core/index.js";
4
+ import * as AgentMail from "../../../../../index.js";
5
+ export declare namespace BrowserCredentialsClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class BrowserCredentialsClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<BrowserCredentialsClient.Options>;
12
+ constructor(options?: BrowserCredentialsClient.Options);
13
+ /**
14
+ * Attach a browser enrollment intent to the inbox. Requires
15
+ * `api_key_create`. Before submitting `transaction_jti`, independently
16
+ * verify that the browser page's final origin is exactly
17
+ * `https://auth.agentid.com`.
18
+ *
19
+ * This endpoint is available to every organization using US production.
20
+ * It is not available in EU production.
21
+ *
22
+ * Select `inbox_id` from trusted AgentMail configuration. An AgentID
23
+ * `login_hint` is not authoritative for selecting the inbox; when the
24
+ * transaction includes one, it must match the path inbox.
25
+ *
26
+ * **AgentMail API keys are sent only to `https://api.agentmail.to`; AgentID never requests them.**
27
+ *
28
+ * A new intent returns `202`; an idempotent retry for the same pending
29
+ * transaction, inbox, and bearer key returns `200` with the same receipt.
30
+ * An intent lasts at most five minutes. An activated credential lasts at
31
+ * most 30 days and cannot outlive its authorizing bearer API key.
32
+ *
33
+ * Creation is limited to 20 intents per bearer API key per hour, 100 per
34
+ * organization per hour, and five live unused intents per bearer API key.
35
+ * Browser activation is separately limited to 20 activations per
36
+ * authorizing bearer API key per UTC day. Either kind of limit can return
37
+ * `429`; honor the `Retry-After` header. Cancelling an enrollment releases
38
+ * its live-intent slot but does not reset the daily activation counter.
39
+ *
40
+ * @param {AgentMail.inboxes.InboxId} inbox_id
41
+ * @param {AgentMail.CreateBrowserEnrollmentRequest} request
42
+ * @param {BrowserCredentialsClient.RequestOptions} requestOptions - Request-specific configuration.
43
+ *
44
+ * @throws {@link AgentMail.ValidationError}
45
+ * @throws {@link AgentMail.NotFoundError}
46
+ * @throws {@link AgentMail.ConflictError}
47
+ *
48
+ * @example
49
+ * await client.inboxes.browserCredentials.createEnrollment("inbox_id", {
50
+ * transactionJti: "blackcurrant.........."
51
+ * })
52
+ */
53
+ createEnrollment(inbox_id: AgentMail.inboxes.InboxId, request: AgentMail.CreateBrowserEnrollmentRequest, requestOptions?: BrowserCredentialsClient.RequestOptions): core.HttpResponsePromise<AgentMail.BrowserEnrollmentAccepted>;
54
+ private __createEnrollment;
55
+ }
@@ -0,0 +1,175 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
+ return new (P || (P = Promise))(function (resolve, reject) {
39
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43
+ });
44
+ };
45
+ Object.defineProperty(exports, "__esModule", { value: true });
46
+ exports.BrowserCredentialsClient = void 0;
47
+ const BaseClient_js_1 = require("../../../../../../BaseClient.js");
48
+ const headers_js_1 = require("../../../../../../core/headers.js");
49
+ const core = __importStar(require("../../../../../../core/index.js"));
50
+ const environments = __importStar(require("../../../../../../environments.js"));
51
+ const handleNonStatusCodeError_js_1 = require("../../../../../../errors/handleNonStatusCodeError.js");
52
+ const errors = __importStar(require("../../../../../../errors/index.js"));
53
+ const serializers = __importStar(require("../../../../../../serialization/index.js"));
54
+ const AgentMail = __importStar(require("../../../../../index.js"));
55
+ class BrowserCredentialsClient {
56
+ constructor(options = {}) {
57
+ this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
58
+ }
59
+ /**
60
+ * Attach a browser enrollment intent to the inbox. Requires
61
+ * `api_key_create`. Before submitting `transaction_jti`, independently
62
+ * verify that the browser page's final origin is exactly
63
+ * `https://auth.agentid.com`.
64
+ *
65
+ * This endpoint is available to every organization using US production.
66
+ * It is not available in EU production.
67
+ *
68
+ * Select `inbox_id` from trusted AgentMail configuration. An AgentID
69
+ * `login_hint` is not authoritative for selecting the inbox; when the
70
+ * transaction includes one, it must match the path inbox.
71
+ *
72
+ * **AgentMail API keys are sent only to `https://api.agentmail.to`; AgentID never requests them.**
73
+ *
74
+ * A new intent returns `202`; an idempotent retry for the same pending
75
+ * transaction, inbox, and bearer key returns `200` with the same receipt.
76
+ * An intent lasts at most five minutes. An activated credential lasts at
77
+ * most 30 days and cannot outlive its authorizing bearer API key.
78
+ *
79
+ * Creation is limited to 20 intents per bearer API key per hour, 100 per
80
+ * organization per hour, and five live unused intents per bearer API key.
81
+ * Browser activation is separately limited to 20 activations per
82
+ * authorizing bearer API key per UTC day. Either kind of limit can return
83
+ * `429`; honor the `Retry-After` header. Cancelling an enrollment releases
84
+ * its live-intent slot but does not reset the daily activation counter.
85
+ *
86
+ * @param {AgentMail.inboxes.InboxId} inbox_id
87
+ * @param {AgentMail.CreateBrowserEnrollmentRequest} request
88
+ * @param {BrowserCredentialsClient.RequestOptions} requestOptions - Request-specific configuration.
89
+ *
90
+ * @throws {@link AgentMail.ValidationError}
91
+ * @throws {@link AgentMail.NotFoundError}
92
+ * @throws {@link AgentMail.ConflictError}
93
+ *
94
+ * @example
95
+ * await client.inboxes.browserCredentials.createEnrollment("inbox_id", {
96
+ * transactionJti: "blackcurrant.........."
97
+ * })
98
+ */
99
+ createEnrollment(inbox_id, request, requestOptions) {
100
+ return core.HttpResponsePromise.fromPromise(this.__createEnrollment(inbox_id, request, requestOptions));
101
+ }
102
+ __createEnrollment(inbox_id, request, requestOptions) {
103
+ return __awaiter(this, void 0, void 0, function* () {
104
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
105
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
106
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
107
+ const _response = yield core.fetcher({
108
+ url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AgentMailEnvironment.Prod)
109
+ .http, `/v0/inboxes/${core.url.encodePathParam(serializers.inboxes.InboxId.jsonOrThrow(inbox_id, { omitUndefined: true }))}/browser-credentials/enrollments`),
110
+ method: "POST",
111
+ headers: _headers,
112
+ contentType: "application/json",
113
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
114
+ requestType: "json",
115
+ body: serializers.CreateBrowserEnrollmentRequest.jsonOrThrow(request, {
116
+ unrecognizedObjectKeys: "strip",
117
+ omitUndefined: true,
118
+ }),
119
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
120
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
121
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
122
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
123
+ logging: this._options.logging,
124
+ });
125
+ if (_response.ok) {
126
+ return {
127
+ data: serializers.BrowserEnrollmentAccepted.parseOrThrow(_response.body, {
128
+ unrecognizedObjectKeys: "passthrough",
129
+ allowUnrecognizedUnionMembers: true,
130
+ allowUnrecognizedEnumValues: true,
131
+ skipValidation: true,
132
+ breadcrumbsPrefix: ["response"],
133
+ }),
134
+ rawResponse: _response.rawResponse,
135
+ };
136
+ }
137
+ if (_response.error.reason === "status-code") {
138
+ switch (_response.error.statusCode) {
139
+ case 400:
140
+ throw new AgentMail.ValidationError(serializers.ValidationErrorResponse.parseOrThrow(_response.error.body, {
141
+ unrecognizedObjectKeys: "passthrough",
142
+ allowUnrecognizedUnionMembers: true,
143
+ allowUnrecognizedEnumValues: true,
144
+ skipValidation: true,
145
+ breadcrumbsPrefix: ["response"],
146
+ }), _response.rawResponse);
147
+ case 404:
148
+ throw new AgentMail.NotFoundError(serializers.ErrorResponse.parseOrThrow(_response.error.body, {
149
+ unrecognizedObjectKeys: "passthrough",
150
+ allowUnrecognizedUnionMembers: true,
151
+ allowUnrecognizedEnumValues: true,
152
+ skipValidation: true,
153
+ breadcrumbsPrefix: ["response"],
154
+ }), _response.rawResponse);
155
+ case 409:
156
+ throw new AgentMail.ConflictError(serializers.ErrorResponse.parseOrThrow(_response.error.body, {
157
+ unrecognizedObjectKeys: "passthrough",
158
+ allowUnrecognizedUnionMembers: true,
159
+ allowUnrecognizedEnumValues: true,
160
+ skipValidation: true,
161
+ breadcrumbsPrefix: ["response"],
162
+ }), _response.rawResponse);
163
+ default:
164
+ throw new errors.AgentMailError({
165
+ statusCode: _response.error.statusCode,
166
+ body: _response.error.body,
167
+ rawResponse: _response.rawResponse,
168
+ });
169
+ }
170
+ }
171
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v0/inboxes/{inbox_id}/browser-credentials/enrollments");
172
+ });
173
+ }
174
+ }
175
+ exports.BrowserCredentialsClient = BrowserCredentialsClient;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { BrowserCredentialsClient } from "./client/Client.js";
2
+ export * from "./client/index.js";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.BrowserCredentialsClient = void 0;
19
+ var Client_js_1 = require("./client/Client.js");
20
+ Object.defineProperty(exports, "BrowserCredentialsClient", { enumerable: true, get: function () { return Client_js_1.BrowserCredentialsClient; } });
21
+ __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1 @@
1
+ export * from "./client/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client/index.js"), exports);
@@ -15,7 +15,7 @@ export declare class DraftsClient {
15
15
  /**
16
16
  * **CLI:**
17
17
  * ```bash
18
- * agentmail inboxes:drafts list --inbox-id <inbox_id>
18
+ * agentmail inboxes drafts list --inbox-id <inbox_id>
19
19
  * ```
20
20
  *
21
21
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -32,7 +32,7 @@ export declare class DraftsClient {
32
32
  /**
33
33
  * **CLI:**
34
34
  * ```bash
35
- * agentmail inboxes:drafts get --inbox-id <inbox_id> --draft-id <draft_id>
35
+ * agentmail inboxes drafts get --inbox-id <inbox_id> --draft-id <draft_id>
36
36
  * ```
37
37
  *
38
38
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -49,7 +49,7 @@ export declare class DraftsClient {
49
49
  /**
50
50
  * **CLI:**
51
51
  * ```bash
52
- * agentmail inboxes:drafts get-attachment --inbox-id <inbox_id> --draft-id <draft_id> --attachment-id <attachment_id>
52
+ * agentmail inboxes drafts get-attachment --inbox-id <inbox_id> --draft-id <draft_id> --attachment-id <attachment_id>
53
53
  * ```
54
54
  *
55
55
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -73,7 +73,7 @@ export declare class DraftsClient {
73
73
  *
74
74
  * **CLI:**
75
75
  * ```bash
76
- * agentmail inboxes:drafts create --inbox-id <inbox_id> --to recipient@example.com --subject "Draft subject" --text "Draft body"
76
+ * agentmail inboxes drafts create --inbox-id <inbox_id> --to recipient@example.com --subject "Draft subject" --text "Draft body"
77
77
  * ```
78
78
  *
79
79
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -95,7 +95,7 @@ export declare class DraftsClient {
95
95
  *
96
96
  * **CLI:**
97
97
  * ```bash
98
- * agentmail inboxes:drafts update --inbox-id <inbox_id> --draft-id <draft_id> --subject "Updated subject"
98
+ * agentmail inboxes drafts update --inbox-id <inbox_id> --draft-id <draft_id> --subject "Updated subject"
99
99
  * ```
100
100
  *
101
101
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -115,7 +115,7 @@ export declare class DraftsClient {
115
115
  /**
116
116
  * **CLI:**
117
117
  * ```bash
118
- * agentmail inboxes:drafts delete --inbox-id <inbox_id> --draft-id <draft_id>
118
+ * agentmail inboxes drafts delete --inbox-id <inbox_id> --draft-id <draft_id>
119
119
  * ```
120
120
  *
121
121
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -132,7 +132,7 @@ export declare class DraftsClient {
132
132
  /**
133
133
  * **CLI:**
134
134
  * ```bash
135
- * agentmail inboxes:drafts send --inbox-id <inbox_id> --draft-id <draft_id>
135
+ * agentmail inboxes drafts send --inbox-id <inbox_id> --draft-id <draft_id>
136
136
  * ```
137
137
  *
138
138
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -60,7 +60,7 @@ class DraftsClient {
60
60
  /**
61
61
  * **CLI:**
62
62
  * ```bash
63
- * agentmail inboxes:drafts list --inbox-id <inbox_id>
63
+ * agentmail inboxes drafts list --inbox-id <inbox_id>
64
64
  * ```
65
65
  *
66
66
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -146,7 +146,7 @@ class DraftsClient {
146
146
  /**
147
147
  * **CLI:**
148
148
  * ```bash
149
- * agentmail inboxes:drafts get --inbox-id <inbox_id> --draft-id <draft_id>
149
+ * agentmail inboxes drafts get --inbox-id <inbox_id> --draft-id <draft_id>
150
150
  * ```
151
151
  *
152
152
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -214,7 +214,7 @@ class DraftsClient {
214
214
  /**
215
215
  * **CLI:**
216
216
  * ```bash
217
- * agentmail inboxes:drafts get-attachment --inbox-id <inbox_id> --draft-id <draft_id> --attachment-id <attachment_id>
217
+ * agentmail inboxes drafts get-attachment --inbox-id <inbox_id> --draft-id <draft_id> --attachment-id <attachment_id>
218
218
  * ```
219
219
  *
220
220
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -289,7 +289,7 @@ class DraftsClient {
289
289
  *
290
290
  * **CLI:**
291
291
  * ```bash
292
- * agentmail inboxes:drafts create --inbox-id <inbox_id> --to recipient@example.com --subject "Draft subject" --text "Draft body"
292
+ * agentmail inboxes drafts create --inbox-id <inbox_id> --to recipient@example.com --subject "Draft subject" --text "Draft body"
293
293
  * ```
294
294
  *
295
295
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -376,7 +376,7 @@ class DraftsClient {
376
376
  *
377
377
  * **CLI:**
378
378
  * ```bash
379
- * agentmail inboxes:drafts update --inbox-id <inbox_id> --draft-id <draft_id> --subject "Updated subject"
379
+ * agentmail inboxes drafts update --inbox-id <inbox_id> --draft-id <draft_id> --subject "Updated subject"
380
380
  * ```
381
381
  *
382
382
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -469,7 +469,7 @@ class DraftsClient {
469
469
  /**
470
470
  * **CLI:**
471
471
  * ```bash
472
- * agentmail inboxes:drafts delete --inbox-id <inbox_id> --draft-id <draft_id>
472
+ * agentmail inboxes drafts delete --inbox-id <inbox_id> --draft-id <draft_id>
473
473
  * ```
474
474
  *
475
475
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -528,7 +528,7 @@ class DraftsClient {
528
528
  /**
529
529
  * **CLI:**
530
530
  * ```bash
531
- * agentmail inboxes:drafts send --inbox-id <inbox_id> --draft-id <draft_id>
531
+ * agentmail inboxes drafts send --inbox-id <inbox_id> --draft-id <draft_id>
532
532
  * ```
533
533
  *
534
534
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -15,7 +15,7 @@ export declare class EventsClient {
15
15
  *
16
16
  * **CLI:**
17
17
  * ```bash
18
- * agentmail inboxes:events list --inbox-id <inbox_id>
18
+ * agentmail inboxes events list --inbox-id <inbox_id>
19
19
  * ```
20
20
  *
21
21
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -61,7 +61,7 @@ class EventsClient {
61
61
  *
62
62
  * **CLI:**
63
63
  * ```bash
64
- * agentmail inboxes:events list --inbox-id <inbox_id>
64
+ * agentmail inboxes events list --inbox-id <inbox_id>
65
65
  * ```
66
66
  *
67
67
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -1,5 +1,6 @@
1
1
  export * from "./apiKeys/client/requests/index.js";
2
2
  export * as apiKeys from "./apiKeys/index.js";
3
+ export * as browserCredentials from "./browserCredentials/index.js";
3
4
  export * from "./drafts/client/requests/index.js";
4
5
  export * as drafts from "./drafts/index.js";
5
6
  export * from "./events/client/requests/index.js";
@@ -36,9 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.webhooks = exports.threads = exports.metrics = exports.messages = exports.lists = exports.events = exports.drafts = exports.apiKeys = void 0;
39
+ exports.webhooks = exports.threads = exports.metrics = exports.messages = exports.lists = exports.events = exports.drafts = exports.browserCredentials = exports.apiKeys = void 0;
40
40
  __exportStar(require("./apiKeys/client/requests/index.js"), exports);
41
41
  exports.apiKeys = __importStar(require("./apiKeys/index.js"));
42
+ exports.browserCredentials = __importStar(require("./browserCredentials/index.js"));
42
43
  __exportStar(require("./drafts/client/requests/index.js"), exports);
43
44
  exports.drafts = __importStar(require("./drafts/index.js"));
44
45
  __exportStar(require("./events/client/requests/index.js"), exports);
@@ -13,7 +13,7 @@ export declare class ListsClient {
13
13
  /**
14
14
  * **CLI:**
15
15
  * ```bash
16
- * agentmail inboxes:lists list --inbox-id <inbox_id> --direction <direction> --type <type>
16
+ * agentmail inboxes lists list --inbox-id <inbox_id> --direction <direction> --type <type>
17
17
  * ```
18
18
  *
19
19
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -30,7 +30,7 @@ export declare class ListsClient {
30
30
  /**
31
31
  * **CLI:**
32
32
  * ```bash
33
- * agentmail inboxes:lists get --inbox-id <inbox_id> --direction <direction> --type <type> --entry <entry>
33
+ * agentmail inboxes lists get --inbox-id <inbox_id> --direction <direction> --type <type> --entry <entry>
34
34
  * ```
35
35
  *
36
36
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -49,7 +49,7 @@ export declare class ListsClient {
49
49
  /**
50
50
  * **CLI:**
51
51
  * ```bash
52
- * agentmail inboxes:lists create --inbox-id <inbox_id> --direction <direction> --type <type> --entry user@example.com
52
+ * agentmail inboxes lists create --inbox-id <inbox_id> --direction <direction> --type <type> --entry user@example.com
53
53
  * ```
54
54
  *
55
55
  * @param {AgentMail.inboxes.InboxId} inbox_id
@@ -70,7 +70,7 @@ export declare class ListsClient {
70
70
  /**
71
71
  * **CLI:**
72
72
  * ```bash
73
- * agentmail inboxes:lists delete --inbox-id <inbox_id> --direction <direction> --type <type> --entry <entry>
73
+ * agentmail inboxes lists delete --inbox-id <inbox_id> --direction <direction> --type <type> --entry <entry>
74
74
  * ```
75
75
  *
76
76
  * @param {AgentMail.inboxes.InboxId} inbox_id