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,43 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.BrowserEnrollmentAccepted = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.BrowserEnrollmentAccepted = core.serialization.object({
40
+ status: core.serialization.stringLiteral("pending"),
41
+ enrollmentId: core.serialization.property("enrollment_id", core.serialization.string()),
42
+ expiresAt: core.serialization.property("expires_at", core.serialization.number()),
43
+ });
@@ -0,0 +1,19 @@
1
+ import type * as AgentMail from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ import { BrowserEnrollmentLifecycleEventType } from "./BrowserEnrollmentLifecycleEventType.js";
5
+ import { BrowserLifecycleActor } from "./BrowserLifecycleActor.js";
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,51 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.BrowserEnrollmentLifecycleEvent = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ const BrowserEnrollmentLifecycleEventType_js_1 = require("./BrowserEnrollmentLifecycleEventType.js");
40
+ const BrowserLifecycleActor_js_1 = require("./BrowserLifecycleActor.js");
41
+ exports.BrowserEnrollmentLifecycleEvent = core.serialization.object({
42
+ type: BrowserEnrollmentLifecycleEventType_js_1.BrowserEnrollmentLifecycleEventType,
43
+ traceId: core.serialization.property("trace_id", core.serialization.string()),
44
+ eventId: core.serialization.property("event_id", core.serialization.string()),
45
+ occurredAt: core.serialization.property("occurred_at", core.serialization.date()),
46
+ organizationId: core.serialization.property("organization_id", core.serialization.string()),
47
+ podId: core.serialization.property("pod_id", core.serialization.string()),
48
+ actor: BrowserLifecycleActor_js_1.BrowserLifecycleActor,
49
+ enrollmentId: core.serialization.property("enrollment_id", core.serialization.string()),
50
+ credentialId: core.serialization.property("credential_id", core.serialization.string()),
51
+ });
@@ -0,0 +1,7 @@
1
+ import type * as AgentMail from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
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,44 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.BrowserEnrollmentLifecycleEventType = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.BrowserEnrollmentLifecycleEventType = core.serialization.enum_([
40
+ "browser_enrollment_intent_created",
41
+ "browser_credential_activated",
42
+ "browser_enrollment_cancelled",
43
+ "browser_credential_deleted",
44
+ ]);
@@ -0,0 +1,7 @@
1
+ import type * as AgentMail from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
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,39 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.BrowserEnrollmentTransactionJti = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.BrowserEnrollmentTransactionJti = core.serialization.string();
@@ -0,0 +1,15 @@
1
+ import type * as AgentMail from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ import { BrowserLifecycleApiKeyActor } from "./BrowserLifecycleApiKeyActor.js";
5
+ import { BrowserLifecycleCredentialActor } from "./BrowserLifecycleCredentialActor.js";
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,49 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.BrowserLifecycleActor = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ const BrowserLifecycleApiKeyActor_js_1 = require("./BrowserLifecycleApiKeyActor.js");
40
+ const BrowserLifecycleCredentialActor_js_1 = require("./BrowserLifecycleCredentialActor.js");
41
+ exports.BrowserLifecycleActor = core.serialization
42
+ .union("type", {
43
+ api_key: BrowserLifecycleApiKeyActor_js_1.BrowserLifecycleApiKeyActor,
44
+ browser_credential: BrowserLifecycleCredentialActor_js_1.BrowserLifecycleCredentialActor,
45
+ })
46
+ .transform({
47
+ transform: (value) => value,
48
+ untransform: (value) => value,
49
+ });
@@ -0,0 +1,9 @@
1
+ import type * as AgentMail from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
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,41 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.BrowserLifecycleApiKeyActor = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.BrowserLifecycleApiKeyActor = core.serialization.object({
40
+ apiKeyId: core.serialization.property("api_key_id", core.serialization.string()),
41
+ });
@@ -0,0 +1,10 @@
1
+ import type * as AgentMail from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
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,42 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.BrowserLifecycleCredentialActor = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.BrowserLifecycleCredentialActor = core.serialization.object({
40
+ credentialId: core.serialization.property("credential_id", core.serialization.string()),
41
+ authorizingApiKeyId: core.serialization.property("authorizing_api_key_id", core.serialization.string()),
42
+ });
@@ -0,0 +1,9 @@
1
+ import type * as AgentMail from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ import { BrowserConsentLifecycleEvent } from "./BrowserConsentLifecycleEvent.js";
5
+ import { BrowserEnrollmentLifecycleEvent } from "./BrowserEnrollmentLifecycleEvent.js";
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,41 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.BrowserLifecycleEvent = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ const BrowserConsentLifecycleEvent_js_1 = require("./BrowserConsentLifecycleEvent.js");
40
+ const BrowserEnrollmentLifecycleEvent_js_1 = require("./BrowserEnrollmentLifecycleEvent.js");
41
+ exports.BrowserLifecycleEvent = core.serialization.undiscriminatedUnion([BrowserEnrollmentLifecycleEvent_js_1.BrowserEnrollmentLifecycleEvent, BrowserConsentLifecycleEvent_js_1.BrowserConsentLifecycleEvent]);
@@ -0,0 +1,10 @@
1
+ import type * as AgentMail from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ import { BrowserEnrollmentTransactionJti } from "./BrowserEnrollmentTransactionJti.js";
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,42 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CreateBrowserEnrollmentRequest = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ const BrowserEnrollmentTransactionJti_js_1 = require("./BrowserEnrollmentTransactionJti.js");
40
+ exports.CreateBrowserEnrollmentRequest = core.serialization.object({
41
+ transactionJti: core.serialization.property("transaction_jti", BrowserEnrollmentTransactionJti_js_1.BrowserEnrollmentTransactionJti),
42
+ });
@@ -0,0 +1,16 @@
1
+ import type * as AgentMail from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ import { Count } from "../../../types/Count.js";
5
+ import { PageToken } from "../../../types/PageToken.js";
6
+ import { BrowserAuthorizationListLimit } from "./BrowserAuthorizationListLimit.js";
7
+ import { BrowserConsent } from "./BrowserConsent.js";
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,48 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.ListBrowserConsentsResponse = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ const Count_js_1 = require("../../../types/Count.js");
40
+ const PageToken_js_1 = require("../../../types/PageToken.js");
41
+ const BrowserAuthorizationListLimit_js_1 = require("./BrowserAuthorizationListLimit.js");
42
+ const BrowserConsent_js_1 = require("./BrowserConsent.js");
43
+ exports.ListBrowserConsentsResponse = core.serialization.object({
44
+ count: Count_js_1.Count,
45
+ limit: BrowserAuthorizationListLimit_js_1.BrowserAuthorizationListLimit,
46
+ nextPageToken: core.serialization.property("next_page_token", PageToken_js_1.PageToken.optional()),
47
+ consents: core.serialization.list(BrowserConsent_js_1.BrowserConsent),
48
+ });
@@ -0,0 +1,16 @@
1
+ import type * as AgentMail from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ import { Count } from "../../../types/Count.js";
5
+ import { PageToken } from "../../../types/PageToken.js";
6
+ import { BrowserAuthorizationListLimit } from "./BrowserAuthorizationListLimit.js";
7
+ import { BrowserCredential } from "./BrowserCredential.js";
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,48 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.ListBrowserCredentialsResponse = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ const Count_js_1 = require("../../../types/Count.js");
40
+ const PageToken_js_1 = require("../../../types/PageToken.js");
41
+ const BrowserAuthorizationListLimit_js_1 = require("./BrowserAuthorizationListLimit.js");
42
+ const BrowserCredential_js_1 = require("./BrowserCredential.js");
43
+ exports.ListBrowserCredentialsResponse = core.serialization.object({
44
+ count: Count_js_1.Count,
45
+ limit: BrowserAuthorizationListLimit_js_1.BrowserAuthorizationListLimit,
46
+ nextPageToken: core.serialization.property("next_page_token", PageToken_js_1.PageToken.optional()),
47
+ credentials: core.serialization.list(BrowserCredential_js_1.BrowserCredential),
48
+ });