agentmail 0.0.72 → 0.0.74

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 (355) hide show
  1. package/dist/cjs/Client.d.ts +3 -0
  2. package/dist/cjs/Client.js +21 -16
  3. package/dist/cjs/api/resources/apiKeys/client/Client.d.ts +2 -1
  4. package/dist/cjs/api/resources/apiKeys/client/Client.js +52 -62
  5. package/dist/cjs/api/resources/domains/client/Client.d.ts +21 -9
  6. package/dist/cjs/api/resources/domains/client/Client.js +131 -78
  7. package/dist/cjs/api/resources/domains/types/ClientId.d.ts +7 -0
  8. package/dist/cjs/api/resources/domains/types/CreateDomainRequest.d.ts +1 -2
  9. package/dist/cjs/api/resources/domains/types/Domain.d.ts +2 -3
  10. package/dist/cjs/api/resources/domains/types/DomainSummary.d.ts +2 -3
  11. package/dist/cjs/api/resources/domains/types/FeedbackEnabled.d.ts +7 -0
  12. package/dist/cjs/api/resources/domains/types/FeedbackEnabled.js +5 -0
  13. package/dist/cjs/api/resources/domains/types/index.d.ts +2 -1
  14. package/dist/cjs/api/resources/domains/types/index.js +2 -1
  15. package/dist/cjs/api/resources/drafts/client/Client.d.ts +2 -1
  16. package/dist/cjs/api/resources/drafts/client/Client.js +70 -83
  17. package/dist/cjs/api/resources/drafts/types/CreateDraftRequest.d.ts +1 -0
  18. package/dist/cjs/api/resources/drafts/types/Draft.d.ts +1 -0
  19. package/dist/cjs/api/resources/drafts/types/DraftClientId.d.ts +7 -0
  20. package/dist/cjs/api/resources/drafts/types/DraftClientId.js +5 -0
  21. package/dist/cjs/api/resources/drafts/types/UpdateDraftRequest.d.ts +14 -0
  22. package/dist/cjs/api/resources/drafts/types/UpdateDraftRequest.js +5 -0
  23. package/dist/cjs/api/resources/drafts/types/index.d.ts +2 -0
  24. package/dist/cjs/api/resources/drafts/types/index.js +2 -0
  25. package/dist/cjs/api/resources/inboxes/client/Client.d.ts +2 -1
  26. package/dist/cjs/api/resources/inboxes/client/Client.js +52 -62
  27. package/dist/cjs/api/resources/inboxes/resources/drafts/client/Client.d.ts +26 -2
  28. package/dist/cjs/api/resources/inboxes/resources/drafts/client/Client.js +161 -84
  29. package/dist/cjs/api/resources/inboxes/resources/messages/client/Client.d.ts +2 -1
  30. package/dist/cjs/api/resources/inboxes/resources/messages/client/Client.js +70 -83
  31. package/dist/cjs/api/resources/inboxes/resources/threads/client/Client.d.ts +2 -1
  32. package/dist/cjs/api/resources/inboxes/resources/threads/client/Client.js +70 -83
  33. package/dist/cjs/api/resources/inboxes/types/CreateInboxRequest.d.ts +1 -2
  34. package/dist/cjs/api/resources/inboxes/types/DisplayName.d.ts +7 -0
  35. package/dist/cjs/api/resources/inboxes/types/DisplayName.js +5 -0
  36. package/dist/cjs/api/resources/inboxes/types/Inbox.d.ts +2 -3
  37. package/dist/cjs/api/resources/inboxes/types/index.d.ts +1 -0
  38. package/dist/cjs/api/resources/inboxes/types/index.js +1 -0
  39. package/dist/cjs/api/resources/index.d.ts +1 -0
  40. package/dist/cjs/api/resources/index.js +2 -1
  41. package/dist/cjs/api/resources/pods/client/Client.d.ts +90 -0
  42. package/dist/cjs/api/resources/pods/client/Client.js +375 -0
  43. package/dist/cjs/api/resources/pods/client/index.d.ts +2 -0
  44. package/dist/cjs/api/resources/pods/client/index.js +17 -0
  45. package/dist/cjs/api/resources/pods/client/requests/ListPodsRequest.d.ts +12 -0
  46. package/dist/cjs/api/resources/pods/client/requests/ListPodsRequest.js +5 -0
  47. package/dist/cjs/api/resources/pods/client/requests/index.d.ts +1 -0
  48. package/dist/cjs/api/resources/pods/client/requests/index.js +2 -0
  49. package/dist/cjs/api/resources/pods/index.d.ts +3 -0
  50. package/dist/cjs/api/resources/pods/index.js +19 -0
  51. package/dist/cjs/api/resources/pods/resources/domains/client/Client.d.ts +72 -0
  52. package/dist/cjs/api/resources/pods/resources/domains/client/Client.js +312 -0
  53. package/dist/cjs/api/resources/pods/resources/domains/client/index.d.ts +2 -0
  54. package/dist/cjs/api/resources/pods/resources/domains/client/index.js +17 -0
  55. package/dist/cjs/api/resources/pods/resources/domains/client/requests/ListDomainsRequest.d.ts +16 -0
  56. package/dist/cjs/api/resources/pods/resources/domains/client/requests/ListDomainsRequest.js +5 -0
  57. package/dist/cjs/api/resources/pods/resources/domains/client/requests/index.d.ts +1 -0
  58. package/dist/cjs/api/resources/pods/resources/domains/client/requests/index.js +2 -0
  59. package/dist/cjs/api/resources/pods/resources/domains/index.d.ts +1 -0
  60. package/dist/cjs/api/resources/pods/resources/domains/index.js +17 -0
  61. package/dist/cjs/api/resources/pods/resources/drafts/client/Client.d.ts +57 -0
  62. package/dist/cjs/api/resources/pods/resources/drafts/client/Client.js +239 -0
  63. package/dist/cjs/api/resources/pods/resources/drafts/client/index.d.ts +2 -0
  64. package/dist/cjs/api/resources/pods/resources/drafts/client/index.js +17 -0
  65. package/dist/cjs/api/resources/pods/resources/drafts/client/requests/ListDraftsRequest.d.ts +16 -0
  66. package/dist/cjs/api/resources/pods/resources/drafts/client/requests/ListDraftsRequest.js +5 -0
  67. package/dist/cjs/api/resources/pods/resources/drafts/client/requests/index.d.ts +1 -0
  68. package/dist/cjs/api/resources/pods/resources/drafts/client/requests/index.js +2 -0
  69. package/dist/cjs/api/resources/pods/resources/drafts/index.d.ts +1 -0
  70. package/dist/cjs/api/resources/pods/resources/drafts/index.js +17 -0
  71. package/dist/cjs/api/resources/pods/resources/inboxes/client/Client.d.ts +86 -0
  72. package/dist/cjs/api/resources/pods/resources/inboxes/client/Client.js +387 -0
  73. package/dist/cjs/api/resources/pods/resources/inboxes/client/index.d.ts +2 -0
  74. package/dist/cjs/api/resources/pods/resources/inboxes/client/index.js +17 -0
  75. package/dist/cjs/api/resources/pods/resources/inboxes/client/requests/ListInboxesRequest.d.ts +16 -0
  76. package/dist/cjs/api/resources/pods/resources/inboxes/client/requests/ListInboxesRequest.js +5 -0
  77. package/dist/cjs/api/resources/pods/resources/inboxes/client/requests/index.d.ts +1 -0
  78. package/dist/cjs/api/resources/pods/resources/inboxes/client/requests/index.js +2 -0
  79. package/dist/cjs/api/resources/pods/resources/inboxes/index.d.ts +1 -0
  80. package/dist/cjs/api/resources/pods/resources/inboxes/index.js +17 -0
  81. package/dist/cjs/api/resources/pods/resources/index.d.ts +8 -0
  82. package/dist/cjs/api/resources/pods/resources/index.js +47 -0
  83. package/dist/cjs/api/resources/pods/resources/threads/client/Client.d.ts +62 -0
  84. package/dist/cjs/api/resources/pods/resources/threads/client/Client.js +297 -0
  85. package/dist/cjs/api/resources/pods/resources/threads/client/index.d.ts +2 -0
  86. package/dist/cjs/api/resources/pods/resources/threads/client/index.js +17 -0
  87. package/dist/cjs/api/resources/pods/resources/threads/client/requests/ListThreadsRequest.d.ts +16 -0
  88. package/dist/cjs/api/resources/pods/resources/threads/client/requests/ListThreadsRequest.js +5 -0
  89. package/dist/cjs/api/resources/pods/resources/threads/client/requests/index.d.ts +1 -0
  90. package/dist/cjs/api/resources/pods/resources/threads/client/requests/index.js +2 -0
  91. package/dist/cjs/api/resources/pods/resources/threads/index.d.ts +1 -0
  92. package/dist/cjs/api/resources/pods/resources/threads/index.js +17 -0
  93. package/dist/cjs/api/resources/pods/types/ClientId.d.ts +7 -0
  94. package/dist/cjs/api/resources/pods/types/ClientId.js +5 -0
  95. package/dist/cjs/api/resources/pods/types/CreatePodRequest.d.ts +8 -0
  96. package/dist/cjs/api/resources/pods/types/CreatePodRequest.js +5 -0
  97. package/dist/cjs/api/resources/pods/types/ListPodsResponse.d.ts +11 -0
  98. package/dist/cjs/api/resources/pods/types/ListPodsResponse.js +5 -0
  99. package/dist/cjs/api/resources/pods/types/Name.d.ts +7 -0
  100. package/dist/cjs/api/resources/pods/types/Name.js +5 -0
  101. package/dist/cjs/api/resources/pods/types/Pod.d.ts +13 -0
  102. package/dist/cjs/api/resources/pods/types/Pod.js +5 -0
  103. package/dist/cjs/api/resources/pods/types/PodId.d.ts +7 -0
  104. package/dist/cjs/api/resources/pods/types/PodId.js +5 -0
  105. package/dist/cjs/api/resources/pods/types/index.d.ts +6 -0
  106. package/dist/cjs/api/resources/pods/types/index.js +22 -0
  107. package/dist/cjs/api/resources/threads/client/Client.d.ts +2 -12
  108. package/dist/cjs/api/resources/threads/client/Client.js +57 -133
  109. package/dist/cjs/api/resources/webhooks/client/Client.d.ts +2 -1
  110. package/dist/cjs/api/resources/webhooks/client/Client.js +52 -62
  111. package/dist/cjs/core/index.d.ts +0 -2
  112. package/dist/cjs/core/index.js +0 -2
  113. package/dist/cjs/serialization/resources/domains/types/ClientId.d.ts +10 -0
  114. package/dist/cjs/serialization/resources/domains/types/ClientId.js +41 -0
  115. package/dist/cjs/serialization/resources/domains/types/CreateDomainRequest.d.ts +2 -1
  116. package/dist/cjs/serialization/resources/domains/types/CreateDomainRequest.js +2 -1
  117. package/dist/cjs/serialization/resources/domains/types/Domain.d.ts +4 -3
  118. package/dist/cjs/serialization/resources/domains/types/Domain.js +4 -3
  119. package/dist/cjs/serialization/resources/domains/types/DomainSummary.d.ts +4 -3
  120. package/dist/cjs/serialization/resources/domains/types/DomainSummary.js +4 -3
  121. package/dist/cjs/serialization/resources/domains/types/FeedbackEnabled.d.ts +10 -0
  122. package/dist/cjs/serialization/resources/domains/types/FeedbackEnabled.js +41 -0
  123. package/dist/cjs/serialization/resources/domains/types/index.d.ts +2 -1
  124. package/dist/cjs/serialization/resources/domains/types/index.js +2 -1
  125. package/dist/cjs/serialization/resources/drafts/types/CreateDraftRequest.d.ts +2 -0
  126. package/dist/cjs/serialization/resources/drafts/types/CreateDraftRequest.js +2 -0
  127. package/dist/cjs/serialization/resources/drafts/types/Draft.d.ts +2 -0
  128. package/dist/cjs/serialization/resources/drafts/types/Draft.js +2 -0
  129. package/dist/cjs/serialization/resources/drafts/types/DraftClientId.d.ts +10 -0
  130. package/dist/cjs/serialization/resources/drafts/types/DraftClientId.js +41 -0
  131. package/dist/cjs/serialization/resources/drafts/types/UpdateDraftRequest.d.ts +27 -0
  132. package/dist/cjs/serialization/resources/drafts/types/UpdateDraftRequest.js +58 -0
  133. package/dist/cjs/serialization/resources/drafts/types/index.d.ts +2 -0
  134. package/dist/cjs/serialization/resources/drafts/types/index.js +2 -0
  135. package/dist/cjs/serialization/resources/inboxes/types/CreateInboxRequest.d.ts +2 -1
  136. package/dist/cjs/serialization/resources/inboxes/types/CreateInboxRequest.js +2 -1
  137. package/dist/cjs/serialization/resources/inboxes/types/DisplayName.d.ts +10 -0
  138. package/dist/cjs/serialization/resources/inboxes/types/DisplayName.js +41 -0
  139. package/dist/cjs/serialization/resources/inboxes/types/Inbox.d.ts +3 -2
  140. package/dist/cjs/serialization/resources/inboxes/types/Inbox.js +3 -2
  141. package/dist/cjs/serialization/resources/inboxes/types/index.d.ts +1 -0
  142. package/dist/cjs/serialization/resources/inboxes/types/index.js +1 -0
  143. package/dist/cjs/serialization/resources/index.d.ts +1 -0
  144. package/dist/cjs/serialization/resources/index.js +2 -1
  145. package/dist/cjs/serialization/resources/pods/index.d.ts +1 -0
  146. package/dist/cjs/serialization/resources/pods/index.js +17 -0
  147. package/dist/cjs/serialization/resources/pods/types/ClientId.d.ts +10 -0
  148. package/dist/cjs/serialization/resources/pods/types/ClientId.js +41 -0
  149. package/dist/cjs/serialization/resources/pods/types/CreatePodRequest.d.ts +15 -0
  150. package/dist/cjs/serialization/resources/pods/types/CreatePodRequest.js +46 -0
  151. package/dist/cjs/serialization/resources/pods/types/ListPodsResponse.d.ts +19 -0
  152. package/dist/cjs/serialization/resources/pods/types/ListPodsResponse.js +50 -0
  153. package/dist/cjs/serialization/resources/pods/types/Name.d.ts +10 -0
  154. package/dist/cjs/serialization/resources/pods/types/Name.js +41 -0
  155. package/dist/cjs/serialization/resources/pods/types/Pod.d.ts +19 -0
  156. package/dist/cjs/serialization/resources/{domains/types/CreateDomainResponse.js → pods/types/Pod.js} +8 -11
  157. package/dist/cjs/serialization/resources/pods/types/PodId.d.ts +10 -0
  158. package/dist/cjs/serialization/resources/pods/types/PodId.js +41 -0
  159. package/dist/cjs/serialization/resources/pods/types/index.d.ts +6 -0
  160. package/dist/cjs/serialization/resources/pods/types/index.js +22 -0
  161. package/dist/cjs/version.d.ts +1 -1
  162. package/dist/cjs/version.js +1 -1
  163. package/dist/esm/Client.d.mts +3 -0
  164. package/dist/esm/Client.mjs +7 -2
  165. package/dist/esm/api/resources/apiKeys/client/Client.d.mts +2 -1
  166. package/dist/esm/api/resources/apiKeys/client/Client.mjs +52 -62
  167. package/dist/esm/api/resources/domains/client/Client.d.mts +21 -9
  168. package/dist/esm/api/resources/domains/client/Client.mjs +131 -78
  169. package/dist/esm/api/resources/domains/types/ClientId.d.mts +7 -0
  170. package/dist/esm/api/resources/domains/types/CreateDomainRequest.d.mts +1 -2
  171. package/dist/esm/api/resources/domains/types/Domain.d.mts +2 -3
  172. package/dist/esm/api/resources/domains/types/DomainSummary.d.mts +2 -3
  173. package/dist/esm/api/resources/domains/types/FeedbackEnabled.d.mts +7 -0
  174. package/dist/esm/api/resources/domains/types/FeedbackEnabled.mjs +4 -0
  175. package/dist/esm/api/resources/domains/types/index.d.mts +2 -1
  176. package/dist/esm/api/resources/domains/types/index.mjs +2 -1
  177. package/dist/esm/api/resources/drafts/client/Client.d.mts +2 -1
  178. package/dist/esm/api/resources/drafts/client/Client.mjs +70 -83
  179. package/dist/esm/api/resources/drafts/types/CreateDraftRequest.d.mts +1 -0
  180. package/dist/esm/api/resources/drafts/types/Draft.d.mts +1 -0
  181. package/dist/esm/api/resources/drafts/types/DraftClientId.d.mts +7 -0
  182. package/dist/esm/api/resources/drafts/types/DraftClientId.mjs +4 -0
  183. package/dist/esm/api/resources/drafts/types/UpdateDraftRequest.d.mts +14 -0
  184. package/dist/esm/api/resources/drafts/types/UpdateDraftRequest.mjs +4 -0
  185. package/dist/esm/api/resources/drafts/types/index.d.mts +2 -0
  186. package/dist/esm/api/resources/drafts/types/index.mjs +2 -0
  187. package/dist/esm/api/resources/inboxes/client/Client.d.mts +2 -1
  188. package/dist/esm/api/resources/inboxes/client/Client.mjs +52 -62
  189. package/dist/esm/api/resources/inboxes/resources/drafts/client/Client.d.mts +26 -2
  190. package/dist/esm/api/resources/inboxes/resources/drafts/client/Client.mjs +161 -84
  191. package/dist/esm/api/resources/inboxes/resources/messages/client/Client.d.mts +2 -1
  192. package/dist/esm/api/resources/inboxes/resources/messages/client/Client.mjs +70 -83
  193. package/dist/esm/api/resources/inboxes/resources/threads/client/Client.d.mts +2 -1
  194. package/dist/esm/api/resources/inboxes/resources/threads/client/Client.mjs +70 -83
  195. package/dist/esm/api/resources/inboxes/types/CreateInboxRequest.d.mts +1 -2
  196. package/dist/esm/api/resources/inboxes/types/DisplayName.d.mts +7 -0
  197. package/dist/esm/api/resources/inboxes/types/DisplayName.mjs +4 -0
  198. package/dist/esm/api/resources/inboxes/types/Inbox.d.mts +2 -3
  199. package/dist/esm/api/resources/inboxes/types/index.d.mts +1 -0
  200. package/dist/esm/api/resources/inboxes/types/index.mjs +1 -0
  201. package/dist/esm/api/resources/index.d.mts +1 -0
  202. package/dist/esm/api/resources/index.mjs +1 -0
  203. package/dist/esm/api/resources/pods/client/Client.d.mts +90 -0
  204. package/dist/esm/api/resources/pods/client/Client.mjs +338 -0
  205. package/dist/esm/api/resources/pods/client/index.d.mts +2 -0
  206. package/dist/esm/api/resources/pods/client/index.mjs +1 -0
  207. package/dist/esm/api/resources/pods/client/requests/ListPodsRequest.d.mts +12 -0
  208. package/dist/esm/api/resources/pods/client/requests/ListPodsRequest.mjs +4 -0
  209. package/dist/esm/api/resources/pods/client/requests/index.d.mts +1 -0
  210. package/dist/esm/api/resources/pods/client/requests/index.mjs +1 -0
  211. package/dist/esm/api/resources/pods/index.d.mts +3 -0
  212. package/dist/esm/api/resources/pods/index.mjs +3 -0
  213. package/dist/esm/api/resources/pods/resources/domains/client/Client.d.mts +72 -0
  214. package/dist/esm/api/resources/pods/resources/domains/client/Client.mjs +275 -0
  215. package/dist/esm/api/resources/pods/resources/domains/client/index.d.mts +2 -0
  216. package/dist/esm/api/resources/pods/resources/domains/client/index.mjs +1 -0
  217. package/dist/esm/api/resources/pods/resources/domains/client/requests/ListDomainsRequest.d.mts +16 -0
  218. package/dist/esm/api/resources/pods/resources/domains/client/requests/ListDomainsRequest.mjs +4 -0
  219. package/dist/esm/api/resources/pods/resources/domains/client/requests/index.d.mts +1 -0
  220. package/dist/esm/api/resources/pods/resources/domains/client/requests/index.mjs +1 -0
  221. package/dist/esm/api/resources/pods/resources/domains/index.d.mts +1 -0
  222. package/dist/esm/api/resources/pods/resources/domains/index.mjs +1 -0
  223. package/dist/esm/api/resources/pods/resources/drafts/client/Client.d.mts +57 -0
  224. package/dist/esm/api/resources/pods/resources/drafts/client/Client.mjs +202 -0
  225. package/dist/esm/api/resources/pods/resources/drafts/client/index.d.mts +2 -0
  226. package/dist/esm/api/resources/pods/resources/drafts/client/index.mjs +1 -0
  227. package/dist/esm/api/resources/pods/resources/drafts/client/requests/ListDraftsRequest.d.mts +16 -0
  228. package/dist/esm/api/resources/pods/resources/drafts/client/requests/ListDraftsRequest.mjs +4 -0
  229. package/dist/esm/api/resources/pods/resources/drafts/client/requests/index.d.mts +1 -0
  230. package/dist/esm/api/resources/pods/resources/drafts/client/requests/index.mjs +1 -0
  231. package/dist/esm/api/resources/pods/resources/drafts/index.d.mts +1 -0
  232. package/dist/esm/api/resources/pods/resources/drafts/index.mjs +1 -0
  233. package/dist/esm/api/resources/pods/resources/inboxes/client/Client.d.mts +86 -0
  234. package/dist/esm/api/resources/pods/resources/inboxes/client/Client.mjs +350 -0
  235. package/dist/esm/api/resources/pods/resources/inboxes/client/index.d.mts +2 -0
  236. package/dist/esm/api/resources/pods/resources/inboxes/client/index.mjs +1 -0
  237. package/dist/esm/api/resources/pods/resources/inboxes/client/requests/ListInboxesRequest.d.mts +16 -0
  238. package/dist/esm/api/resources/pods/resources/inboxes/client/requests/ListInboxesRequest.mjs +4 -0
  239. package/dist/esm/api/resources/pods/resources/inboxes/client/requests/index.d.mts +1 -0
  240. package/dist/esm/api/resources/pods/resources/inboxes/client/requests/index.mjs +1 -0
  241. package/dist/esm/api/resources/pods/resources/inboxes/index.d.mts +1 -0
  242. package/dist/esm/api/resources/pods/resources/inboxes/index.mjs +1 -0
  243. package/dist/esm/api/resources/pods/resources/index.d.mts +8 -0
  244. package/dist/esm/api/resources/pods/resources/index.mjs +8 -0
  245. package/dist/esm/api/resources/pods/resources/threads/client/Client.d.mts +62 -0
  246. package/dist/esm/api/resources/pods/resources/threads/client/Client.mjs +260 -0
  247. package/dist/esm/api/resources/pods/resources/threads/client/index.d.mts +2 -0
  248. package/dist/esm/api/resources/pods/resources/threads/client/index.mjs +1 -0
  249. package/dist/esm/api/resources/pods/resources/threads/client/requests/ListThreadsRequest.d.mts +16 -0
  250. package/dist/esm/api/resources/pods/resources/threads/client/requests/ListThreadsRequest.mjs +4 -0
  251. package/dist/esm/api/resources/pods/resources/threads/client/requests/index.d.mts +1 -0
  252. package/dist/esm/api/resources/pods/resources/threads/client/requests/index.mjs +1 -0
  253. package/dist/esm/api/resources/pods/resources/threads/index.d.mts +1 -0
  254. package/dist/esm/api/resources/pods/resources/threads/index.mjs +1 -0
  255. package/dist/esm/api/resources/pods/types/ClientId.d.mts +7 -0
  256. package/dist/esm/api/resources/pods/types/ClientId.mjs +4 -0
  257. package/dist/esm/api/resources/pods/types/CreatePodRequest.d.mts +8 -0
  258. package/dist/esm/api/resources/pods/types/CreatePodRequest.mjs +4 -0
  259. package/dist/esm/api/resources/pods/types/ListPodsResponse.d.mts +11 -0
  260. package/dist/esm/api/resources/pods/types/ListPodsResponse.mjs +4 -0
  261. package/dist/esm/api/resources/pods/types/Name.d.mts +7 -0
  262. package/dist/esm/api/resources/pods/types/Name.mjs +4 -0
  263. package/dist/esm/api/resources/pods/types/Pod.d.mts +13 -0
  264. package/dist/esm/api/resources/pods/types/Pod.mjs +4 -0
  265. package/dist/esm/api/resources/pods/types/PodId.d.mts +7 -0
  266. package/dist/esm/api/resources/pods/types/PodId.mjs +4 -0
  267. package/dist/esm/api/resources/pods/types/index.d.mts +6 -0
  268. package/dist/esm/api/resources/pods/types/index.mjs +6 -0
  269. package/dist/esm/api/resources/threads/client/Client.d.mts +2 -12
  270. package/dist/esm/api/resources/threads/client/Client.mjs +57 -133
  271. package/dist/esm/api/resources/webhooks/client/Client.d.mts +2 -1
  272. package/dist/esm/api/resources/webhooks/client/Client.mjs +52 -62
  273. package/dist/esm/core/index.d.mts +0 -2
  274. package/dist/esm/core/index.mjs +0 -2
  275. package/dist/esm/serialization/resources/domains/types/ClientId.d.mts +10 -0
  276. package/dist/esm/serialization/resources/domains/types/ClientId.mjs +5 -0
  277. package/dist/esm/serialization/resources/domains/types/CreateDomainRequest.d.mts +2 -1
  278. package/dist/esm/serialization/resources/domains/types/CreateDomainRequest.mjs +2 -1
  279. package/dist/esm/serialization/resources/domains/types/Domain.d.mts +4 -3
  280. package/dist/esm/serialization/resources/domains/types/Domain.mjs +4 -3
  281. package/dist/esm/serialization/resources/domains/types/DomainSummary.d.mts +4 -3
  282. package/dist/esm/serialization/resources/domains/types/DomainSummary.mjs +4 -3
  283. package/dist/esm/serialization/resources/domains/types/FeedbackEnabled.d.mts +10 -0
  284. package/dist/esm/serialization/resources/domains/types/FeedbackEnabled.mjs +5 -0
  285. package/dist/esm/serialization/resources/domains/types/index.d.mts +2 -1
  286. package/dist/esm/serialization/resources/domains/types/index.mjs +2 -1
  287. package/dist/esm/serialization/resources/drafts/types/CreateDraftRequest.d.mts +2 -0
  288. package/dist/esm/serialization/resources/drafts/types/CreateDraftRequest.mjs +2 -0
  289. package/dist/esm/serialization/resources/drafts/types/Draft.d.mts +2 -0
  290. package/dist/esm/serialization/resources/drafts/types/Draft.mjs +2 -0
  291. package/dist/esm/serialization/resources/drafts/types/DraftClientId.d.mts +10 -0
  292. package/dist/esm/serialization/resources/drafts/types/DraftClientId.mjs +5 -0
  293. package/dist/esm/serialization/resources/drafts/types/UpdateDraftRequest.d.mts +27 -0
  294. package/dist/esm/serialization/resources/drafts/types/UpdateDraftRequest.mjs +22 -0
  295. package/dist/esm/serialization/resources/drafts/types/index.d.mts +2 -0
  296. package/dist/esm/serialization/resources/drafts/types/index.mjs +2 -0
  297. package/dist/esm/serialization/resources/inboxes/types/CreateInboxRequest.d.mts +2 -1
  298. package/dist/esm/serialization/resources/inboxes/types/CreateInboxRequest.mjs +2 -1
  299. package/dist/esm/serialization/resources/inboxes/types/DisplayName.d.mts +10 -0
  300. package/dist/esm/serialization/resources/inboxes/types/DisplayName.mjs +5 -0
  301. package/dist/esm/serialization/resources/inboxes/types/Inbox.d.mts +3 -2
  302. package/dist/esm/serialization/resources/inboxes/types/Inbox.mjs +3 -2
  303. package/dist/esm/serialization/resources/inboxes/types/index.d.mts +1 -0
  304. package/dist/esm/serialization/resources/inboxes/types/index.mjs +1 -0
  305. package/dist/esm/serialization/resources/index.d.mts +1 -0
  306. package/dist/esm/serialization/resources/index.mjs +1 -0
  307. package/dist/esm/serialization/resources/pods/index.d.mts +1 -0
  308. package/dist/esm/serialization/resources/pods/index.mjs +1 -0
  309. package/dist/esm/serialization/resources/pods/types/ClientId.d.mts +10 -0
  310. package/dist/esm/serialization/resources/pods/types/ClientId.mjs +5 -0
  311. package/dist/esm/serialization/resources/pods/types/CreatePodRequest.d.mts +15 -0
  312. package/dist/esm/serialization/resources/pods/types/CreatePodRequest.mjs +10 -0
  313. package/dist/esm/serialization/resources/pods/types/ListPodsResponse.d.mts +19 -0
  314. package/dist/esm/serialization/resources/pods/types/ListPodsResponse.mjs +14 -0
  315. package/dist/esm/serialization/resources/pods/types/Name.d.mts +10 -0
  316. package/dist/esm/serialization/resources/pods/types/Name.mjs +5 -0
  317. package/dist/esm/serialization/resources/pods/types/Pod.d.mts +19 -0
  318. package/dist/esm/serialization/resources/pods/types/Pod.mjs +14 -0
  319. package/dist/esm/serialization/resources/pods/types/PodId.d.mts +10 -0
  320. package/dist/esm/serialization/resources/pods/types/PodId.mjs +5 -0
  321. package/dist/esm/serialization/resources/pods/types/index.d.mts +6 -0
  322. package/dist/esm/serialization/resources/pods/types/index.mjs +6 -0
  323. package/dist/esm/version.d.mts +1 -1
  324. package/dist/esm/version.mjs +1 -1
  325. package/dist/llms-full.txt +10453 -1871
  326. package/dist/llms.txt +19 -2
  327. package/package.json +1 -1
  328. package/reference.md +1195 -309
  329. package/dist/cjs/api/resources/domains/types/CreateDomainResponse.d.ts +0 -18
  330. package/dist/cjs/core/pagination/Page.d.ts +0 -32
  331. package/dist/cjs/core/pagination/Page.js +0 -100
  332. package/dist/cjs/core/pagination/Pageable.d.ts +0 -14
  333. package/dist/cjs/core/pagination/Pageable.js +0 -10
  334. package/dist/cjs/core/pagination/index.d.ts +0 -2
  335. package/dist/cjs/core/pagination/index.js +0 -7
  336. package/dist/cjs/core/utils/index.d.ts +0 -1
  337. package/dist/cjs/core/utils/index.js +0 -5
  338. package/dist/cjs/core/utils/setObjectProperty.d.ts +0 -11
  339. package/dist/cjs/core/utils/setObjectProperty.js +0 -42
  340. package/dist/cjs/serialization/resources/domains/types/CreateDomainResponse.d.ts +0 -22
  341. package/dist/esm/api/resources/domains/types/CreateDomainResponse.d.mts +0 -18
  342. package/dist/esm/core/pagination/Page.d.mts +0 -32
  343. package/dist/esm/core/pagination/Page.mjs +0 -96
  344. package/dist/esm/core/pagination/Pageable.d.mts +0 -14
  345. package/dist/esm/core/pagination/Pageable.mjs +0 -6
  346. package/dist/esm/core/pagination/index.d.mts +0 -2
  347. package/dist/esm/core/pagination/index.mjs +0 -2
  348. package/dist/esm/core/utils/index.d.mts +0 -1
  349. package/dist/esm/core/utils/index.mjs +0 -1
  350. package/dist/esm/core/utils/setObjectProperty.d.mts +0 -11
  351. package/dist/esm/core/utils/setObjectProperty.mjs +0 -39
  352. package/dist/esm/serialization/resources/domains/types/CreateDomainResponse.d.mts +0 -22
  353. package/dist/esm/serialization/resources/domains/types/CreateDomainResponse.mjs +0 -17
  354. /package/dist/cjs/api/resources/domains/types/{CreateDomainResponse.js → ClientId.js} +0 -0
  355. /package/dist/esm/api/resources/domains/types/{CreateDomainResponse.mjs → ClientId.mjs} +0 -0
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.FeedbackEnabled = void 0;
40
+ const core = __importStar(require("../../../../core/index.js"));
41
+ exports.FeedbackEnabled = core.serialization.boolean();
@@ -4,8 +4,9 @@ export * from "./RecordType.js";
4
4
  export * from "./VerificationStatus.js";
5
5
  export * from "./RecordStatus.js";
6
6
  export * from "./VerificationRecord.js";
7
+ export * from "./FeedbackEnabled.js";
8
+ export * from "./ClientId.js";
7
9
  export * from "./Domain.js";
8
10
  export * from "./DomainSummary.js";
9
- export * from "./CreateDomainResponse.js";
10
11
  export * from "./ListDomainsResponse.js";
11
12
  export * from "./CreateDomainRequest.js";
@@ -20,8 +20,9 @@ __exportStar(require("./RecordType.js"), exports);
20
20
  __exportStar(require("./VerificationStatus.js"), exports);
21
21
  __exportStar(require("./RecordStatus.js"), exports);
22
22
  __exportStar(require("./VerificationRecord.js"), exports);
23
+ __exportStar(require("./FeedbackEnabled.js"), exports);
24
+ __exportStar(require("./ClientId.js"), exports);
23
25
  __exportStar(require("./Domain.js"), exports);
24
26
  __exportStar(require("./DomainSummary.js"), exports);
25
- __exportStar(require("./CreateDomainResponse.js"), exports);
26
27
  __exportStar(require("./ListDomainsResponse.js"), exports);
27
28
  __exportStar(require("./CreateDomainRequest.js"), exports);
@@ -14,6 +14,7 @@ import { DraftText } from "./DraftText.js";
14
14
  import { DraftHtml } from "./DraftHtml.js";
15
15
  import { DraftInReplyTo } from "./DraftInReplyTo.js";
16
16
  import { DraftSendAt } from "./DraftSendAt.js";
17
+ import { DraftClientId } from "./DraftClientId.js";
17
18
  export declare const CreateDraftRequest: core.serialization.ObjectSchema<serializers.CreateDraftRequest.Raw, AgentMail.CreateDraftRequest>;
18
19
  export declare namespace CreateDraftRequest {
19
20
  interface Raw {
@@ -27,5 +28,6 @@ export declare namespace CreateDraftRequest {
27
28
  html?: DraftHtml.Raw | null;
28
29
  in_reply_to?: DraftInReplyTo.Raw | null;
29
30
  send_at?: DraftSendAt.Raw | null;
31
+ client_id?: DraftClientId.Raw | null;
30
32
  }
31
33
  }
@@ -48,6 +48,7 @@ const DraftText_js_1 = require("./DraftText.js");
48
48
  const DraftHtml_js_1 = require("./DraftHtml.js");
49
49
  const DraftInReplyTo_js_1 = require("./DraftInReplyTo.js");
50
50
  const DraftSendAt_js_1 = require("./DraftSendAt.js");
51
+ const DraftClientId_js_1 = require("./DraftClientId.js");
51
52
  exports.CreateDraftRequest = core.serialization.object({
52
53
  labels: DraftLabels_js_1.DraftLabels.optional(),
53
54
  replyTo: core.serialization.property("reply_to", DraftReplyTo_js_1.DraftReplyTo.optional()),
@@ -59,4 +60,5 @@ exports.CreateDraftRequest = core.serialization.object({
59
60
  html: DraftHtml_js_1.DraftHtml.optional(),
60
61
  inReplyTo: core.serialization.property("in_reply_to", DraftInReplyTo_js_1.DraftInReplyTo.optional()),
61
62
  sendAt: core.serialization.property("send_at", DraftSendAt_js_1.DraftSendAt.optional()),
63
+ clientId: core.serialization.property("client_id", DraftClientId_js_1.DraftClientId.optional()),
62
64
  });
@@ -7,6 +7,7 @@ import * as core from "../../../../core/index.js";
7
7
  import { InboxId } from "../../inboxes/types/InboxId.js";
8
8
  import { ThreadId } from "../../threads/types/ThreadId.js";
9
9
  import { DraftId } from "./DraftId.js";
10
+ import { DraftClientId } from "./DraftClientId.js";
10
11
  import { DraftLabels } from "./DraftLabels.js";
11
12
  import { DraftReplyTo } from "./DraftReplyTo.js";
12
13
  import { DraftTo } from "./DraftTo.js";
@@ -27,6 +28,7 @@ export declare namespace Draft {
27
28
  inbox_id: InboxId.Raw;
28
29
  thread_id: ThreadId.Raw;
29
30
  draft_id: DraftId.Raw;
31
+ client_id?: DraftClientId.Raw | null;
30
32
  labels: DraftLabels.Raw;
31
33
  reply_to?: DraftReplyTo.Raw | null;
32
34
  to?: DraftTo.Raw | null;
@@ -41,6 +41,7 @@ const core = __importStar(require("../../../../core/index.js"));
41
41
  const InboxId_js_1 = require("../../inboxes/types/InboxId.js");
42
42
  const ThreadId_js_1 = require("../../threads/types/ThreadId.js");
43
43
  const DraftId_js_1 = require("./DraftId.js");
44
+ const DraftClientId_js_1 = require("./DraftClientId.js");
44
45
  const DraftLabels_js_1 = require("./DraftLabels.js");
45
46
  const DraftReplyTo_js_1 = require("./DraftReplyTo.js");
46
47
  const DraftTo_js_1 = require("./DraftTo.js");
@@ -59,6 +60,7 @@ exports.Draft = core.serialization.object({
59
60
  inboxId: core.serialization.property("inbox_id", InboxId_js_1.InboxId),
60
61
  threadId: core.serialization.property("thread_id", ThreadId_js_1.ThreadId),
61
62
  draftId: core.serialization.property("draft_id", DraftId_js_1.DraftId),
63
+ clientId: core.serialization.property("client_id", DraftClientId_js_1.DraftClientId.optional()),
62
64
  labels: DraftLabels_js_1.DraftLabels,
63
65
  replyTo: core.serialization.property("reply_to", DraftReplyTo_js_1.DraftReplyTo.optional()),
64
66
  to: DraftTo_js_1.DraftTo.optional(),
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index.js";
5
+ import * as AgentMail from "../../../../api/index.js";
6
+ import * as core from "../../../../core/index.js";
7
+ export declare const DraftClientId: core.serialization.Schema<serializers.DraftClientId.Raw, AgentMail.DraftClientId>;
8
+ export declare namespace DraftClientId {
9
+ type Raw = string;
10
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.DraftClientId = void 0;
40
+ const core = __importStar(require("../../../../core/index.js"));
41
+ exports.DraftClientId = core.serialization.string();
@@ -0,0 +1,27 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index.js";
5
+ import * as AgentMail from "../../../../api/index.js";
6
+ import * as core from "../../../../core/index.js";
7
+ import { DraftReplyTo } from "./DraftReplyTo.js";
8
+ import { DraftTo } from "./DraftTo.js";
9
+ import { DraftCc } from "./DraftCc.js";
10
+ import { DraftBcc } from "./DraftBcc.js";
11
+ import { DraftSubject } from "./DraftSubject.js";
12
+ import { DraftText } from "./DraftText.js";
13
+ import { DraftHtml } from "./DraftHtml.js";
14
+ import { DraftSendAt } from "./DraftSendAt.js";
15
+ export declare const UpdateDraftRequest: core.serialization.ObjectSchema<serializers.UpdateDraftRequest.Raw, AgentMail.UpdateDraftRequest>;
16
+ export declare namespace UpdateDraftRequest {
17
+ interface Raw {
18
+ reply_to?: DraftReplyTo.Raw | null;
19
+ to?: DraftTo.Raw | null;
20
+ cc?: DraftCc.Raw | null;
21
+ bcc?: DraftBcc.Raw | null;
22
+ subject?: DraftSubject.Raw | null;
23
+ text?: DraftText.Raw | null;
24
+ html?: DraftHtml.Raw | null;
25
+ send_at?: DraftSendAt.Raw | null;
26
+ }
27
+ }
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.UpdateDraftRequest = void 0;
40
+ const core = __importStar(require("../../../../core/index.js"));
41
+ const DraftReplyTo_js_1 = require("./DraftReplyTo.js");
42
+ const DraftTo_js_1 = require("./DraftTo.js");
43
+ const DraftCc_js_1 = require("./DraftCc.js");
44
+ const DraftBcc_js_1 = require("./DraftBcc.js");
45
+ const DraftSubject_js_1 = require("./DraftSubject.js");
46
+ const DraftText_js_1 = require("./DraftText.js");
47
+ const DraftHtml_js_1 = require("./DraftHtml.js");
48
+ const DraftSendAt_js_1 = require("./DraftSendAt.js");
49
+ exports.UpdateDraftRequest = core.serialization.object({
50
+ replyTo: core.serialization.property("reply_to", DraftReplyTo_js_1.DraftReplyTo.optional()),
51
+ to: DraftTo_js_1.DraftTo.optional(),
52
+ cc: DraftCc_js_1.DraftCc.optional(),
53
+ bcc: DraftBcc_js_1.DraftBcc.optional(),
54
+ subject: DraftSubject_js_1.DraftSubject.optional(),
55
+ text: DraftText_js_1.DraftText.optional(),
56
+ html: DraftHtml_js_1.DraftHtml.optional(),
57
+ sendAt: core.serialization.property("send_at", DraftSendAt_js_1.DraftSendAt.optional()),
58
+ });
@@ -1,4 +1,5 @@
1
1
  export * from "./DraftId.js";
2
+ export * from "./DraftClientId.js";
2
3
  export * from "./DraftLabels.js";
3
4
  export * from "./DraftReplyTo.js";
4
5
  export * from "./DraftTo.js";
@@ -17,3 +18,4 @@ export * from "./DraftItem.js";
17
18
  export * from "./Draft.js";
18
19
  export * from "./ListDraftsResponse.js";
19
20
  export * from "./CreateDraftRequest.js";
21
+ export * from "./UpdateDraftRequest.js";
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./DraftId.js"), exports);
18
+ __exportStar(require("./DraftClientId.js"), exports);
18
19
  __exportStar(require("./DraftLabels.js"), exports);
19
20
  __exportStar(require("./DraftReplyTo.js"), exports);
20
21
  __exportStar(require("./DraftTo.js"), exports);
@@ -33,3 +34,4 @@ __exportStar(require("./DraftItem.js"), exports);
33
34
  __exportStar(require("./Draft.js"), exports);
34
35
  __exportStar(require("./ListDraftsResponse.js"), exports);
35
36
  __exportStar(require("./CreateDraftRequest.js"), exports);
37
+ __exportStar(require("./UpdateDraftRequest.js"), exports);
@@ -4,13 +4,14 @@
4
4
  import * as serializers from "../../../index.js";
5
5
  import * as AgentMail from "../../../../api/index.js";
6
6
  import * as core from "../../../../core/index.js";
7
+ import { DisplayName } from "./DisplayName.js";
7
8
  import { ClientId } from "./ClientId.js";
8
9
  export declare const CreateInboxRequest: core.serialization.ObjectSchema<serializers.inboxes.CreateInboxRequest.Raw, AgentMail.inboxes.CreateInboxRequest>;
9
10
  export declare namespace CreateInboxRequest {
10
11
  interface Raw {
11
12
  username?: string | null;
12
13
  domain?: string | null;
13
- display_name?: string | null;
14
+ display_name?: DisplayName.Raw | null;
14
15
  client_id?: ClientId.Raw | null;
15
16
  }
16
17
  }
@@ -38,10 +38,11 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.CreateInboxRequest = void 0;
40
40
  const core = __importStar(require("../../../../core/index.js"));
41
+ const DisplayName_js_1 = require("./DisplayName.js");
41
42
  const ClientId_js_1 = require("./ClientId.js");
42
43
  exports.CreateInboxRequest = core.serialization.object({
43
44
  username: core.serialization.string().optional(),
44
45
  domain: core.serialization.string().optional(),
45
- displayName: core.serialization.property("display_name", core.serialization.string().optional()),
46
+ displayName: core.serialization.property("display_name", DisplayName_js_1.DisplayName.optional()),
46
47
  clientId: core.serialization.property("client_id", ClientId_js_1.ClientId.optional()),
47
48
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index.js";
5
+ import * as AgentMail from "../../../../api/index.js";
6
+ import * as core from "../../../../core/index.js";
7
+ export declare const DisplayName: core.serialization.Schema<serializers.inboxes.DisplayName.Raw, AgentMail.inboxes.DisplayName>;
8
+ export declare namespace DisplayName {
9
+ type Raw = string;
10
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.DisplayName = void 0;
40
+ const core = __importStar(require("../../../../core/index.js"));
41
+ exports.DisplayName = core.serialization.string();
@@ -5,14 +5,15 @@ import * as serializers from "../../../index.js";
5
5
  import * as AgentMail from "../../../../api/index.js";
6
6
  import * as core from "../../../../core/index.js";
7
7
  import { InboxId } from "./InboxId.js";
8
+ import { DisplayName } from "./DisplayName.js";
8
9
  import { ClientId } from "./ClientId.js";
9
10
  export declare const Inbox: core.serialization.ObjectSchema<serializers.inboxes.Inbox.Raw, AgentMail.inboxes.Inbox>;
10
11
  export declare namespace Inbox {
11
12
  interface Raw {
12
13
  inbox_id: InboxId.Raw;
13
- display_name: string;
14
+ display_name?: DisplayName.Raw | null;
15
+ client_id?: ClientId.Raw | null;
14
16
  updated_at: string;
15
17
  created_at: string;
16
- client_id?: ClientId.Raw | null;
17
18
  }
18
19
  }
@@ -39,11 +39,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.Inbox = void 0;
40
40
  const core = __importStar(require("../../../../core/index.js"));
41
41
  const InboxId_js_1 = require("./InboxId.js");
42
+ const DisplayName_js_1 = require("./DisplayName.js");
42
43
  const ClientId_js_1 = require("./ClientId.js");
43
44
  exports.Inbox = core.serialization.object({
44
45
  inboxId: core.serialization.property("inbox_id", InboxId_js_1.InboxId),
45
- displayName: core.serialization.property("display_name", core.serialization.string()),
46
+ displayName: core.serialization.property("display_name", DisplayName_js_1.DisplayName.optional()),
47
+ clientId: core.serialization.property("client_id", ClientId_js_1.ClientId.optional()),
46
48
  updatedAt: core.serialization.property("updated_at", core.serialization.date()),
47
49
  createdAt: core.serialization.property("created_at", core.serialization.date()),
48
- clientId: core.serialization.property("client_id", ClientId_js_1.ClientId.optional()),
49
50
  });
@@ -1,4 +1,5 @@
1
1
  export * from "./InboxId.js";
2
+ export * from "./DisplayName.js";
2
3
  export * from "./ClientId.js";
3
4
  export * from "./Inbox.js";
4
5
  export * from "./ListInboxesResponse.js";
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./InboxId.js"), exports);
18
+ __exportStar(require("./DisplayName.js"), exports);
18
19
  __exportStar(require("./ClientId.js"), exports);
19
20
  __exportStar(require("./Inbox.js"), exports);
20
21
  __exportStar(require("./ListInboxesResponse.js"), exports);
@@ -1,6 +1,7 @@
1
1
  export * as websockets from "./websockets/index.js";
2
2
  export * from "./websockets/client/socket/index.js";
3
3
  export * as inboxes from "./inboxes/index.js";
4
+ export * as pods from "./pods/index.js";
4
5
  export * as webhooks from "./webhooks/index.js";
5
6
  export * as apiKeys from "./apiKeys/index.js";
6
7
  export * from "./apiKeys/types/index.js";
@@ -36,10 +36,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.threads = exports.metrics = exports.messages = exports.events = exports.drafts = exports.domains = exports.attachments = exports.apiKeys = exports.webhooks = exports.inboxes = exports.websockets = void 0;
39
+ exports.threads = exports.metrics = exports.messages = exports.events = exports.drafts = exports.domains = exports.attachments = exports.apiKeys = exports.webhooks = exports.pods = exports.inboxes = exports.websockets = void 0;
40
40
  exports.websockets = __importStar(require("./websockets/index.js"));
41
41
  __exportStar(require("./websockets/client/socket/index.js"), exports);
42
42
  exports.inboxes = __importStar(require("./inboxes/index.js"));
43
+ exports.pods = __importStar(require("./pods/index.js"));
43
44
  exports.webhooks = __importStar(require("./webhooks/index.js"));
44
45
  exports.apiKeys = __importStar(require("./apiKeys/index.js"));
45
46
  __exportStar(require("./apiKeys/types/index.js"), exports);
@@ -0,0 +1 @@
1
+ export * from "./types/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("./types/index.js"), exports);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index.js";
5
+ import * as AgentMail from "../../../../api/index.js";
6
+ import * as core from "../../../../core/index.js";
7
+ export declare const ClientId: core.serialization.Schema<serializers.pods.ClientId.Raw, AgentMail.pods.ClientId>;
8
+ export declare namespace ClientId {
9
+ type Raw = string;
10
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ClientId = void 0;
40
+ const core = __importStar(require("../../../../core/index.js"));
41
+ exports.ClientId = core.serialization.string();
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index.js";
5
+ import * as AgentMail from "../../../../api/index.js";
6
+ import * as core from "../../../../core/index.js";
7
+ import { Name } from "./Name.js";
8
+ import { ClientId } from "./ClientId.js";
9
+ export declare const CreatePodRequest: core.serialization.ObjectSchema<serializers.pods.CreatePodRequest.Raw, AgentMail.pods.CreatePodRequest>;
10
+ export declare namespace CreatePodRequest {
11
+ interface Raw {
12
+ name?: Name.Raw | null;
13
+ client_id?: ClientId.Raw | null;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.CreatePodRequest = void 0;
40
+ const core = __importStar(require("../../../../core/index.js"));
41
+ const Name_js_1 = require("./Name.js");
42
+ const ClientId_js_1 = require("./ClientId.js");
43
+ exports.CreatePodRequest = core.serialization.object({
44
+ name: Name_js_1.Name.optional(),
45
+ clientId: core.serialization.property("client_id", ClientId_js_1.ClientId.optional()),
46
+ });
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index.js";
5
+ import * as AgentMail from "../../../../api/index.js";
6
+ import * as core from "../../../../core/index.js";
7
+ import { Count } from "../../../types/Count.js";
8
+ import { Limit } from "../../../types/Limit.js";
9
+ import { PageToken } from "../../../types/PageToken.js";
10
+ import { Pod } from "./Pod.js";
11
+ export declare const ListPodsResponse: core.serialization.ObjectSchema<serializers.pods.ListPodsResponse.Raw, AgentMail.pods.ListPodsResponse>;
12
+ export declare namespace ListPodsResponse {
13
+ interface Raw {
14
+ count: Count.Raw;
15
+ limit?: Limit.Raw | null;
16
+ next_page_token?: PageToken.Raw | null;
17
+ pods: Pod.Raw[];
18
+ }
19
+ }