agentmail 0.1.14 → 0.1.16

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 (69) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +3 -0
  3. package/dist/cjs/Client.js +13 -8
  4. package/dist/cjs/api/resources/domains/types/RecordStatus.d.ts +2 -1
  5. package/dist/cjs/api/resources/domains/types/RecordStatus.js +2 -1
  6. package/dist/cjs/api/resources/domains/types/VerificationStatus.d.ts +4 -1
  7. package/dist/cjs/api/resources/domains/types/VerificationStatus.js +4 -1
  8. package/dist/cjs/api/resources/index.d.ts +2 -0
  9. package/dist/cjs/api/resources/index.js +3 -1
  10. package/dist/cjs/api/resources/organizations/client/Client.d.ts +24 -0
  11. package/dist/cjs/api/resources/organizations/client/Client.js +121 -0
  12. package/dist/cjs/api/resources/organizations/client/index.d.ts +1 -0
  13. package/dist/cjs/api/resources/organizations/client/index.js +2 -0
  14. package/dist/cjs/api/resources/organizations/index.d.ts +2 -0
  15. package/dist/cjs/api/resources/organizations/index.js +18 -0
  16. package/dist/cjs/api/resources/organizations/types/Organization.d.ts +19 -0
  17. package/dist/cjs/api/resources/organizations/types/Organization.js +3 -0
  18. package/dist/cjs/api/resources/organizations/types/index.d.ts +1 -0
  19. package/dist/cjs/api/resources/organizations/types/index.js +17 -0
  20. package/dist/cjs/serialization/resources/domains/types/RecordStatus.d.ts +1 -1
  21. package/dist/cjs/serialization/resources/domains/types/RecordStatus.js +1 -1
  22. package/dist/cjs/serialization/resources/domains/types/VerificationStatus.d.ts +1 -1
  23. package/dist/cjs/serialization/resources/domains/types/VerificationStatus.js +1 -1
  24. package/dist/cjs/serialization/resources/index.d.ts +2 -0
  25. package/dist/cjs/serialization/resources/index.js +3 -1
  26. package/dist/cjs/serialization/resources/organizations/index.d.ts +1 -0
  27. package/dist/cjs/serialization/resources/organizations/index.js +17 -0
  28. package/dist/cjs/serialization/resources/organizations/types/Organization.d.ts +16 -0
  29. package/dist/cjs/serialization/resources/organizations/types/Organization.js +48 -0
  30. package/dist/cjs/serialization/resources/organizations/types/index.d.ts +1 -0
  31. package/dist/cjs/serialization/resources/organizations/types/index.js +17 -0
  32. package/dist/cjs/version.d.ts +1 -1
  33. package/dist/cjs/version.js +1 -1
  34. package/dist/esm/BaseClient.mjs +2 -2
  35. package/dist/esm/Client.d.mts +3 -0
  36. package/dist/esm/Client.mjs +5 -0
  37. package/dist/esm/api/resources/domains/types/RecordStatus.d.mts +2 -1
  38. package/dist/esm/api/resources/domains/types/RecordStatus.mjs +2 -1
  39. package/dist/esm/api/resources/domains/types/VerificationStatus.d.mts +4 -1
  40. package/dist/esm/api/resources/domains/types/VerificationStatus.mjs +4 -1
  41. package/dist/esm/api/resources/index.d.mts +2 -0
  42. package/dist/esm/api/resources/index.mjs +2 -0
  43. package/dist/esm/api/resources/organizations/client/Client.d.mts +24 -0
  44. package/dist/esm/api/resources/organizations/client/Client.mjs +84 -0
  45. package/dist/esm/api/resources/organizations/client/index.d.mts +1 -0
  46. package/dist/esm/api/resources/organizations/client/index.mjs +1 -0
  47. package/dist/esm/api/resources/organizations/index.d.mts +2 -0
  48. package/dist/esm/api/resources/organizations/index.mjs +2 -0
  49. package/dist/esm/api/resources/organizations/types/Organization.d.mts +19 -0
  50. package/dist/esm/api/resources/organizations/types/Organization.mjs +2 -0
  51. package/dist/esm/api/resources/organizations/types/index.d.mts +1 -0
  52. package/dist/esm/api/resources/organizations/types/index.mjs +1 -0
  53. package/dist/esm/serialization/resources/domains/types/RecordStatus.d.mts +1 -1
  54. package/dist/esm/serialization/resources/domains/types/RecordStatus.mjs +1 -1
  55. package/dist/esm/serialization/resources/domains/types/VerificationStatus.d.mts +1 -1
  56. package/dist/esm/serialization/resources/domains/types/VerificationStatus.mjs +1 -1
  57. package/dist/esm/serialization/resources/index.d.mts +2 -0
  58. package/dist/esm/serialization/resources/index.mjs +2 -0
  59. package/dist/esm/serialization/resources/organizations/index.d.mts +1 -0
  60. package/dist/esm/serialization/resources/organizations/index.mjs +1 -0
  61. package/dist/esm/serialization/resources/organizations/types/Organization.d.mts +16 -0
  62. package/dist/esm/serialization/resources/organizations/types/Organization.mjs +12 -0
  63. package/dist/esm/serialization/resources/organizations/types/index.d.mts +1 -0
  64. package/dist/esm/serialization/resources/organizations/types/index.mjs +1 -0
  65. package/dist/esm/version.d.mts +1 -1
  66. package/dist/esm/version.mjs +1 -1
  67. package/dist/llms-full.txt +87 -51
  68. package/package.json +1 -1
  69. package/reference.md +56 -0
@@ -5,7 +5,7 @@
5
5
  <Tip title="Welcome to AgentMail!" icon="fa-solid fa-star" />
6
6
 
7
7
  <Frame caption="We're excited to have you onboard!">
8
- <img src="file:7e31e22e-f85c-4c5a-b25b-b83579d445d7" alt="We're excited to have you onboard!" />
8
+ <img src="file:2bbde1f0-3ffb-42e2-983f-dbde7883b260" alt="We're excited to have you onboard!" />
9
9
  </Frame>
10
10
 
11
11
  AgentMail is an API platform for giving AI agents their own inboxes to send, receive, and act upon emails. This allows agents to assume their own identity and communicate via the universal protocol of email with services, people, and other agents.
@@ -171,7 +171,7 @@ This guide will walk you through installing the AgentMail SDK, authenticating wi
171
171
  <Step title="Create an API Key">
172
172
  Now that you're in the console, you'll need to create an API key to
173
173
  authenticate your requests. Navigate to the API Keys section in your console
174
- dashboard. ![API Key Creation Screenshot](file:7ec4475a-6fe5-4cfc-8e16-e8aa1dc51a8d) Click
174
+ dashboard. ![API Key Creation Screenshot](file:533b527b-b89e-4535-bc11-b04eda210805) Click
175
175
  "Create New API Key" and give it a descriptive name. Once created, copy the
176
176
  API key and store it securely. Create a `.env` file in your project's root
177
177
  directory and add your key to it. We recommend using environment variables to
@@ -322,7 +322,7 @@ Unlike traditional email providers that are designed for human scale, AgentMail
322
322
 
323
323
  As the diagram below illustrates, your `organization` is the top-level container that holds all your resources. You can provision many `Inboxes` within your `organization`, each with its own `Threads`, `Messages`, and `Attachments`, allowing you to manage a large fleet of agents seamlessly.
324
324
 
325
- <img src="file:c85a1de1-ac59-4d3c-bf3d-be58c1e545fe" alt="AgentMail Organizational Hierarchy" />
325
+ <img src="file:2f70a86c-fb83-4804-90dd-4f3b666cccf5" alt="AgentMail Organizational Hierarchy" />
326
326
 
327
327
  <Steps>
328
328
  <Step title="Organization">
@@ -742,7 +742,7 @@ Here is an example of a well-structured and styled HTML header:
742
742
  </CodeBlocks>
743
743
 
744
744
  <Frame caption="Look how pretty this message looks!">
745
- <img src="file:d544decc-f10a-4531-a0ed-c5d90ad5c4bd" alt="rendered css" />
745
+ <img src="file:d664e355-f144-4b64-85d2-0e39cbba8ac7" alt="rendered css" />
746
746
  </Frame>
747
747
 
748
748
  ## Receiving `Messages`
@@ -1981,7 +1981,7 @@ Configuring your domain is a three-step process: add the domain via API, copy th
1981
1981
  After creating your domain in the AgentMail Console, click the "Download BIND Zone File" button to get the complete zone file.
1982
1982
 
1983
1983
  <Frame caption="Downloading BIND zone file from AgentMail Console">
1984
- <img src="file:d4a4f23e-5b69-4258-9516-a9b5bce15090" alt="Download BIND Zone File from Console" />
1984
+ <img src="file:b15a4c8d-594a-4014-a5fe-03b02c2921d4" alt="Download BIND Zone File from Console" />
1985
1985
  </Frame>
1986
1986
 
1987
1987
  <Tabs>
@@ -1992,13 +1992,13 @@ Configuring your domain is a three-step process: add the domain via API, copy th
1992
1992
  2. Navigate to **DNS > Records**
1993
1993
 
1994
1994
  <Frame caption="This is what the page looks like">
1995
- <img src="file:dc3c97c7-14ba-4e76-8043-9f4db1d4ee15" alt="Cloudflare BIND Import" />
1995
+ <img src="file:b833b8bb-2437-44a2-85d8-e269f59dd24b" alt="Cloudflare BIND Import" />
1996
1996
  </Frame>
1997
1997
 
1998
1998
  3. Click **"Import and Export"**
1999
1999
 
2000
2000
  <Frame caption="You should be able to just drop the file in">
2001
- <img src="file:2c1ab1ff-9580-4873-bd7c-71bef79ba387" alt="Cloudflare BIND Import" />
2001
+ <img src="file:8d2d26bc-c4f3-48c1-aabc-16cf3ee90047" alt="Cloudflare BIND Import" />
2002
2002
  </Frame>
2003
2003
 
2004
2004
  4. Upload the downloaded BIND zone file as is
@@ -2011,13 +2011,13 @@ Configuring your domain is a three-step process: add the domain via API, copy th
2011
2011
  2. Click **"Import zone file"** in the top right corner
2012
2012
 
2013
2013
  <Frame caption="Importing BIND zone file in AWS Route 53">
2014
- <img src="file:bc92f8b9-ca2b-42b3-80d7-7a8bad684cbb" alt="AWS Route 53 BIND Import" />
2014
+ <img src="file:d7b1afc1-0bad-4d53-a011-5c4091a4380f" alt="AWS Route 53 BIND Import" />
2015
2015
  </Frame>
2016
2016
 
2017
2017
  3. Paste the CONTENTS of downloaded BIND zone file
2018
2018
 
2019
2019
  <Frame caption="Open the file with text editor and paste the contents. It should look similar to what we have in this image.">
2020
- <img src="file:85169b02-214a-41fe-9e04-7ef8eff1fa2c" alt="AWS Route 53 BIND Import" />
2020
+ <img src="file:bbc90a2f-9733-4e39-890d-8068bc184c73" alt="AWS Route 53 BIND Import" />
2021
2021
  </Frame>
2022
2022
 
2023
2023
  4. Review the records and click **"Import"**
@@ -2046,13 +2046,13 @@ Configuring your domain is a three-step process: add the domain via API, copy th
2046
2046
  2. Navigate to the **DNS** subtab of the domain you want to send from
2047
2047
 
2048
2048
  <Frame caption="Click on this button!">
2049
- <img src="file:afc83fd7-56ca-4401-a9bb-8b2b97dc1c98" alt="Porkbun DNS Management" />
2049
+ <img src="file:4785688a-45d5-4f45-bd33-b92d0ef11fab" alt="Porkbun DNS Management" />
2050
2050
  </Frame>
2051
2051
 
2052
2052
  3. Scroll down to the quick upload section
2053
2053
 
2054
2054
  <Frame caption="Upload your BIND zone file here">
2055
- <img src="file:1338c4d9-2241-4bb6-9004-47b443bda49d" alt="Porkbun Zone File Import" />
2055
+ <img src="file:b8882eda-ea51-462c-a0fc-da905d4821d7" alt="Porkbun Zone File Import" />
2056
2056
  </Frame>
2057
2057
 
2058
2058
  4. Upload the downloaded BIND zone file as is
@@ -2485,7 +2485,7 @@ The process is straightforward:
2485
2485
  </Step>
2486
2486
 
2487
2487
  <Step title="2. Register the Endpoint with AgentMail">
2488
- You can register your URL using the AgentMail API. When you create a webhook, you'll specify your endpoint's URL. As AgentMail currently only supports the `message.received` event, there's no need to specify event types.
2488
+ You can register your URL using the AgentMail API. When you create a webhook, you'll specify your endpoint's URL as well as event types you want to receive.
2489
2489
 
2490
2490
  <CodeBlocks>
2491
2491
  ```python
@@ -2870,13 +2870,13 @@ Ngrok creates a secure tunnel from a public URL to your local development server
2870
2870
 
2871
2871
  Visit [ngrok.com](https://ngrok.com/) and click "Sign up" to create a free account.
2872
2872
 
2873
- <img src="file:9836b58f-369e-4dcc-9813-b0ff5613e37d" alt="Ngrok homepage" />
2873
+ <img src="file:257e9c77-745e-4f57-898d-6ad64c30184f" alt="Ngrok homepage" />
2874
2874
 
2875
2875
  ### 1.2 Choose your platform and install
2876
2876
 
2877
2877
  After logging in, ngrok will guide you through the setup process. Select your operating system and follow the installation instructions.
2878
2878
 
2879
- <img src="file:8a4a7ad0-6c03-4e13-a7dc-f986ce988f19" alt="Ngrok setup instructions" />
2879
+ <img src="file:62640b7b-609b-4c81-b4c5-93673f5a0a1b" alt="Ngrok setup instructions" />
2880
2880
 
2881
2881
  For macOS, you can install ngrok via Homebrew:
2882
2882
 
@@ -2922,7 +2922,7 @@ ngrok http 3000
2922
2922
 
2923
2923
  You should see output similar to this:
2924
2924
 
2925
- <img src="file:dbd52d4e-2186-4925-85a8-40f7e08dd062" alt="Ngrok terminal output" />
2925
+ <img src="file:0fe5c03c-37be-413a-8ae6-ffb22f356221" alt="Ngrok terminal output" />
2926
2926
 
2927
2927
  Copy the **Forwarding URL** (e.g., `https://your-subdomain.ngrok-free.app`). This is the public URL that AgentMail will use to send webhooks.
2928
2928
 
@@ -3019,7 +3019,7 @@ python webhook_receiver.py
3019
3019
 
3020
3020
  Open your browser and visit `http://127.0.0.1:3000` to see the status page confirming your webhook receiver is running:
3021
3021
 
3022
- <img src="file:bea7ba98-6cd7-4dba-a73f-92b14c538c61" alt="Webhook receiver status page" />
3022
+ <img src="file:445e6cfc-8d24-4d5b-9ade-cbf9e21c5f4e" alt="Webhook receiver status page" />
3023
3023
 
3024
3024
  ## Testing Your Setup
3025
3025
 
@@ -3516,7 +3516,7 @@ How you send your emails is just as important as what you send. If you're sendin
3516
3516
  more natural to email providers. AgentMail's ability to create inboxes at
3517
3517
  scale makes this strategy easy to implement.
3518
3518
 
3519
- <img src="file:809afcab-40b2-4798-93ca-5b7cc0b19b7a" alt="Diagram comparing one inbox sending 1000 emails vs. five inboxes sending 200 each." />
3519
+ <img src="file:98c9cc4a-14cd-4306-b9af-5add27313bfe" alt="Diagram comparing one inbox sending 1000 emails vs. five inboxes sending 200 each." />
3520
3520
  </Step>
3521
3521
 
3522
3522
  <Step title="Protect Your Reputation with Multiple Domains">
@@ -5535,7 +5535,7 @@ Done
5535
5535
 
5536
5536
  Go to your AgentMail inbox and filter by labels to organize your emails:
5537
5537
 
5538
- <img src="file:4332462e-7efd-4695-a8e1-daa0da6699f4" alt="Test image" />
5538
+ <img src="file:aabdc3e3-f51c-4b2d-93e9-0aeaff841bf8" alt="Test image" />
5539
5539
 
5540
5540
  **Filter by sentiment:**
5541
5541
 
@@ -15081,9 +15081,12 @@ components:
15081
15081
  type_domains:VerificationStatus:
15082
15082
  type: string
15083
15083
  enum:
15084
+ - value: NOT_STARTED
15084
15085
  - value: PENDING
15086
+ - value: INVALID
15087
+ - value: FAILED
15085
15088
  - value: VERIFYING
15086
- - value: READY
15089
+ - value: VERIFIED
15087
15090
  type_domains:FeedbackEnabled:
15088
15091
  type: boolean
15089
15092
  type_domains:RecordType:
@@ -15096,7 +15099,8 @@ components:
15096
15099
  type: string
15097
15100
  enum:
15098
15101
  - value: MISSING
15099
- - value: VERIFIED
15102
+ - value: INVALID
15103
+ - value: VALID
15100
15104
  type_domains:VerificationRecord:
15101
15105
  type: object
15102
15106
  properties:
@@ -15529,9 +15533,12 @@ components:
15529
15533
  type_domains:VerificationStatus:
15530
15534
  type: string
15531
15535
  enum:
15536
+ - value: NOT_STARTED
15532
15537
  - value: PENDING
15538
+ - value: INVALID
15539
+ - value: FAILED
15533
15540
  - value: VERIFYING
15534
- - value: READY
15541
+ - value: VERIFIED
15535
15542
  type_domains:RecordType:
15536
15543
  type: string
15537
15544
  enum:
@@ -15542,7 +15549,8 @@ components:
15542
15549
  type: string
15543
15550
  enum:
15544
15551
  - value: MISSING
15545
- - value: VERIFIED
15552
+ - value: INVALID
15553
+ - value: VALID
15546
15554
  type_domains:VerificationRecord:
15547
15555
  type: object
15548
15556
  properties:
@@ -16175,7 +16183,11 @@ components:
16175
16183
  type: array
16176
16184
  items:
16177
16185
  $ref: '#/components/schemas/type_events:EventType'
16178
- type_webhooks:InboxIds:
16186
+ type_events:PodIds:
16187
+ type: array
16188
+ items:
16189
+ type: string
16190
+ type_events:InboxIds:
16179
16191
  type: array
16180
16192
  items:
16181
16193
  type: string
@@ -16190,8 +16202,10 @@ components:
16190
16202
  $ref: '#/components/schemas/type_webhooks:Url'
16191
16203
  event_types:
16192
16204
  $ref: '#/components/schemas/type_events:EventTypes'
16205
+ pod_ids:
16206
+ $ref: '#/components/schemas/type_events:PodIds'
16193
16207
  inbox_ids:
16194
- $ref: '#/components/schemas/type_webhooks:InboxIds'
16208
+ $ref: '#/components/schemas/type_events:InboxIds'
16195
16209
  secret:
16196
16210
  type: string
16197
16211
  description: Secret for webhook signature verification.
@@ -16422,7 +16436,11 @@ components:
16422
16436
  type: array
16423
16437
  items:
16424
16438
  $ref: '#/components/schemas/type_events:EventType'
16425
- type_webhooks:InboxIds:
16439
+ type_events:PodIds:
16440
+ type: array
16441
+ items:
16442
+ type: string
16443
+ type_events:InboxIds:
16426
16444
  type: array
16427
16445
  items:
16428
16446
  type: string
@@ -16437,8 +16455,10 @@ components:
16437
16455
  $ref: '#/components/schemas/type_webhooks:Url'
16438
16456
  event_types:
16439
16457
  $ref: '#/components/schemas/type_events:EventTypes'
16458
+ pod_ids:
16459
+ $ref: '#/components/schemas/type_events:PodIds'
16440
16460
  inbox_ids:
16441
- $ref: '#/components/schemas/type_webhooks:InboxIds'
16461
+ $ref: '#/components/schemas/type_events:InboxIds'
16442
16462
  secret:
16443
16463
  type: string
16444
16464
  description: Secret for webhook signature verification.
@@ -16653,7 +16673,11 @@ components:
16653
16673
  type: array
16654
16674
  items:
16655
16675
  $ref: '#/components/schemas/type_events:EventType'
16656
- type_webhooks:InboxIds:
16676
+ type_events:PodIds:
16677
+ type: array
16678
+ items:
16679
+ type: string
16680
+ type_events:InboxIds:
16657
16681
  type: array
16658
16682
  items:
16659
16683
  type: string
@@ -16666,8 +16690,10 @@ components:
16666
16690
  $ref: '#/components/schemas/type_webhooks:Url'
16667
16691
  event_types:
16668
16692
  $ref: '#/components/schemas/type_events:EventTypes'
16693
+ pod_ids:
16694
+ $ref: '#/components/schemas/type_events:PodIds'
16669
16695
  inbox_ids:
16670
- $ref: '#/components/schemas/type_webhooks:InboxIds'
16696
+ $ref: '#/components/schemas/type_events:InboxIds'
16671
16697
  client_id:
16672
16698
  $ref: '#/components/schemas/type_webhooks:ClientId'
16673
16699
  required:
@@ -16684,8 +16710,10 @@ components:
16684
16710
  $ref: '#/components/schemas/type_webhooks:Url'
16685
16711
  event_types:
16686
16712
  $ref: '#/components/schemas/type_events:EventTypes'
16713
+ pod_ids:
16714
+ $ref: '#/components/schemas/type_events:PodIds'
16687
16715
  inbox_ids:
16688
- $ref: '#/components/schemas/type_webhooks:InboxIds'
16716
+ $ref: '#/components/schemas/type_events:InboxIds'
16689
16717
  secret:
16690
16718
  type: string
16691
16719
  description: Secret for webhook signature verification.
@@ -18014,9 +18042,12 @@ components:
18014
18042
  type_domains:VerificationStatus:
18015
18043
  type: string
18016
18044
  enum:
18045
+ - value: NOT_STARTED
18017
18046
  - value: PENDING
18047
+ - value: INVALID
18048
+ - value: FAILED
18018
18049
  - value: VERIFYING
18019
- - value: READY
18050
+ - value: VERIFIED
18020
18051
  type_domains:FeedbackEnabled:
18021
18052
  type: boolean
18022
18053
  type_domains:RecordType:
@@ -18029,7 +18060,8 @@ components:
18029
18060
  type: string
18030
18061
  enum:
18031
18062
  - value: MISSING
18032
- - value: VERIFIED
18063
+ - value: INVALID
18064
+ - value: VALID
18033
18065
  type_domains:VerificationRecord:
18034
18066
  type: object
18035
18067
  properties:
@@ -18221,6 +18253,14 @@ components:
18221
18253
  type: array
18222
18254
  items:
18223
18255
  $ref: '#/components/schemas/type_events:EventType'
18256
+ type_events:InboxIds:
18257
+ type: array
18258
+ items:
18259
+ type: string
18260
+ type_events:PodIds:
18261
+ type: array
18262
+ items:
18263
+ type: string
18224
18264
  type_websockets:Subscribed:
18225
18265
  type: object
18226
18266
  properties:
@@ -18232,15 +18272,9 @@ components:
18232
18272
  event_types:
18233
18273
  $ref: '#/components/schemas/type_events:EventTypes'
18234
18274
  inbox_ids:
18235
- type: array
18236
- items:
18237
- type: string
18238
- description: IDs of the inboxes that have been subscribed to.
18275
+ $ref: '#/components/schemas/type_events:InboxIds'
18239
18276
  pod_ids:
18240
- type: array
18241
- items:
18242
- type: string
18243
- description: IDs of the pods that have been subscribed to.
18277
+ $ref: '#/components/schemas/type_events:PodIds'
18244
18278
  required:
18245
18279
  - type
18246
18280
  type_events:EventId:
@@ -18767,9 +18801,12 @@ components:
18767
18801
  type_domains:VerificationStatus:
18768
18802
  type: string
18769
18803
  enum:
18804
+ - value: NOT_STARTED
18770
18805
  - value: PENDING
18806
+ - value: INVALID
18807
+ - value: FAILED
18771
18808
  - value: VERIFYING
18772
- - value: READY
18809
+ - value: VERIFIED
18773
18810
  type_domains:FeedbackEnabled:
18774
18811
  type: boolean
18775
18812
  type_domains:RecordType:
@@ -18782,7 +18819,8 @@ components:
18782
18819
  type: string
18783
18820
  enum:
18784
18821
  - value: MISSING
18785
- - value: VERIFIED
18822
+ - value: INVALID
18823
+ - value: VALID
18786
18824
  type_domains:VerificationRecord:
18787
18825
  type: object
18788
18826
  properties:
@@ -18875,15 +18913,9 @@ components:
18875
18913
  event_types:
18876
18914
  $ref: '#/components/schemas/type_events:EventTypes'
18877
18915
  inbox_ids:
18878
- type: array
18879
- items:
18880
- type: string
18881
- description: IDs of the inboxes to subscribe to.
18916
+ $ref: '#/components/schemas/type_events:InboxIds'
18882
18917
  pod_ids:
18883
- type: array
18884
- items:
18885
- type: string
18886
- description: IDs of the pods to subscribe to.
18918
+ $ref: '#/components/schemas/type_events:PodIds'
18887
18919
  required:
18888
18920
  - type
18889
18921
 
@@ -23455,9 +23487,12 @@ components:
23455
23487
  type_domains:VerificationStatus:
23456
23488
  type: string
23457
23489
  enum:
23490
+ - value: NOT_STARTED
23458
23491
  - value: PENDING
23492
+ - value: INVALID
23493
+ - value: FAILED
23459
23494
  - value: VERIFYING
23460
- - value: READY
23495
+ - value: VERIFIED
23461
23496
  type_domains:RecordType:
23462
23497
  type: string
23463
23498
  enum:
@@ -23468,7 +23503,8 @@ components:
23468
23503
  type: string
23469
23504
  enum:
23470
23505
  - value: MISSING
23471
- - value: VERIFIED
23506
+ - value: INVALID
23507
+ - value: VALID
23472
23508
  type_domains:VerificationRecord:
23473
23509
  type: object
23474
23510
  properties:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentmail",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "private": false,
5
5
  "repository": "github:agentmail-to/agentmail-node",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -2394,6 +2394,62 @@ await client.metrics.list({
2394
2394
  </dl>
2395
2395
 
2396
2396
 
2397
+ </dd>
2398
+ </dl>
2399
+ </details>
2400
+
2401
+ ## Organizations
2402
+ <details><summary><code>client.organizations.<a href="/src/api/resources/organizations/client/Client.ts">get</a>() -> AgentMail.Organization</code></summary>
2403
+ <dl>
2404
+ <dd>
2405
+
2406
+ #### 📝 Description
2407
+
2408
+ <dl>
2409
+ <dd>
2410
+
2411
+ <dl>
2412
+ <dd>
2413
+
2414
+ Get the current organization.
2415
+ </dd>
2416
+ </dl>
2417
+ </dd>
2418
+ </dl>
2419
+
2420
+ #### 🔌 Usage
2421
+
2422
+ <dl>
2423
+ <dd>
2424
+
2425
+ <dl>
2426
+ <dd>
2427
+
2428
+ ```typescript
2429
+ await client.organizations.get();
2430
+
2431
+ ```
2432
+ </dd>
2433
+ </dl>
2434
+ </dd>
2435
+ </dl>
2436
+
2437
+ #### ⚙️ Parameters
2438
+
2439
+ <dl>
2440
+ <dd>
2441
+
2442
+ <dl>
2443
+ <dd>
2444
+
2445
+ **requestOptions:** `OrganizationsClient.RequestOptions`
2446
+
2447
+ </dd>
2448
+ </dl>
2449
+ </dd>
2450
+ </dl>
2451
+
2452
+
2397
2453
  </dd>
2398
2454
  </dl>
2399
2455
  </details>