agentmail 0.4.0 → 0.4.2

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 (64) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/apiKeys/types/ApiKey.d.ts +2 -0
  3. package/dist/cjs/api/resources/apiKeys/types/CreateApiKeyResponse.d.ts +2 -0
  4. package/dist/cjs/api/resources/inboxes/resources/threads/client/Client.d.ts +4 -1
  5. package/dist/cjs/api/resources/inboxes/resources/threads/client/Client.js +12 -5
  6. package/dist/cjs/api/resources/inboxes/resources/threads/client/requests/DeleteThreadRequest.d.ts +8 -0
  7. package/dist/cjs/api/resources/inboxes/resources/threads/client/requests/DeleteThreadRequest.js +3 -0
  8. package/dist/cjs/api/resources/inboxes/resources/threads/client/requests/index.d.ts +1 -0
  9. package/dist/cjs/api/resources/pods/client/Client.d.ts +3 -0
  10. package/dist/cjs/api/resources/pods/client/Client.js +15 -10
  11. package/dist/cjs/api/resources/pods/resources/apiKeys/client/Client.d.ts +52 -0
  12. package/dist/cjs/api/resources/pods/resources/apiKeys/client/Client.js +262 -0
  13. package/dist/cjs/api/resources/pods/resources/apiKeys/client/index.d.ts +1 -0
  14. package/dist/cjs/api/resources/pods/resources/apiKeys/client/index.js +17 -0
  15. package/dist/cjs/api/resources/pods/resources/apiKeys/client/requests/ListApiKeysRequest.d.ts +9 -0
  16. package/dist/cjs/api/resources/pods/resources/apiKeys/client/requests/ListApiKeysRequest.js +3 -0
  17. package/dist/cjs/api/resources/pods/resources/apiKeys/client/requests/index.d.ts +1 -0
  18. package/dist/cjs/api/resources/pods/resources/apiKeys/client/requests/index.js +2 -0
  19. package/dist/cjs/api/resources/pods/resources/apiKeys/index.d.ts +1 -0
  20. package/dist/cjs/api/resources/pods/resources/apiKeys/index.js +17 -0
  21. package/dist/cjs/api/resources/pods/resources/index.d.ts +2 -0
  22. package/dist/cjs/api/resources/pods/resources/index.js +3 -1
  23. package/dist/cjs/api/resources/threads/client/Client.js +2 -1
  24. package/dist/cjs/api/resources/threads/client/requests/ListThreadsRequest.d.ts +1 -0
  25. package/dist/cjs/serialization/resources/apiKeys/types/ApiKey.d.ts +1 -0
  26. package/dist/cjs/serialization/resources/apiKeys/types/ApiKey.js +1 -0
  27. package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeyResponse.d.ts +1 -0
  28. package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeyResponse.js +1 -0
  29. package/dist/cjs/version.d.ts +1 -1
  30. package/dist/cjs/version.js +1 -1
  31. package/dist/esm/BaseClient.mjs +2 -2
  32. package/dist/esm/api/resources/apiKeys/types/ApiKey.d.mts +2 -0
  33. package/dist/esm/api/resources/apiKeys/types/CreateApiKeyResponse.d.mts +2 -0
  34. package/dist/esm/api/resources/inboxes/resources/threads/client/Client.d.mts +4 -1
  35. package/dist/esm/api/resources/inboxes/resources/threads/client/Client.mjs +12 -5
  36. package/dist/esm/api/resources/inboxes/resources/threads/client/requests/DeleteThreadRequest.d.mts +8 -0
  37. package/dist/esm/api/resources/inboxes/resources/threads/client/requests/DeleteThreadRequest.mjs +2 -0
  38. package/dist/esm/api/resources/inboxes/resources/threads/client/requests/index.d.mts +1 -0
  39. package/dist/esm/api/resources/pods/client/Client.d.mts +3 -0
  40. package/dist/esm/api/resources/pods/client/Client.mjs +5 -0
  41. package/dist/esm/api/resources/pods/resources/apiKeys/client/Client.d.mts +52 -0
  42. package/dist/esm/api/resources/pods/resources/apiKeys/client/Client.mjs +225 -0
  43. package/dist/esm/api/resources/pods/resources/apiKeys/client/index.d.mts +1 -0
  44. package/dist/esm/api/resources/pods/resources/apiKeys/client/index.mjs +1 -0
  45. package/dist/esm/api/resources/pods/resources/apiKeys/client/requests/ListApiKeysRequest.d.mts +9 -0
  46. package/dist/esm/api/resources/pods/resources/apiKeys/client/requests/ListApiKeysRequest.mjs +2 -0
  47. package/dist/esm/api/resources/pods/resources/apiKeys/client/requests/index.d.mts +1 -0
  48. package/dist/esm/api/resources/pods/resources/apiKeys/client/requests/index.mjs +1 -0
  49. package/dist/esm/api/resources/pods/resources/apiKeys/index.d.mts +1 -0
  50. package/dist/esm/api/resources/pods/resources/apiKeys/index.mjs +1 -0
  51. package/dist/esm/api/resources/pods/resources/index.d.mts +2 -0
  52. package/dist/esm/api/resources/pods/resources/index.mjs +2 -0
  53. package/dist/esm/api/resources/threads/client/Client.mjs +2 -1
  54. package/dist/esm/api/resources/threads/client/requests/ListThreadsRequest.d.mts +1 -0
  55. package/dist/esm/serialization/resources/apiKeys/types/ApiKey.d.mts +1 -0
  56. package/dist/esm/serialization/resources/apiKeys/types/ApiKey.mjs +1 -0
  57. package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeyResponse.d.mts +1 -0
  58. package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeyResponse.mjs +1 -0
  59. package/dist/esm/version.d.mts +1 -1
  60. package/dist/esm/version.mjs +1 -1
  61. package/dist/llms-full.txt +2275 -97
  62. package/dist/llms.txt +6 -2
  63. package/package.json +1 -1
  64. package/reference.md +197 -1
package/dist/llms.txt CHANGED
@@ -13,9 +13,10 @@
13
13
  - [Lists](https://docs.agentmail.to/lists.mdx): Learn how to use Lists to control which email addresses and domains your agents can send to or receive from.
14
14
  - [Attachments](https://docs.agentmail.to/attachments.mdx): Learn how to send files as attachments, and download incoming attachments from both messages and threads.
15
15
  - [Pods](https://docs.agentmail.to/documentation/core-concepts/pods.mdx): Learn how to use pods for multi-tenant email management
16
- - [Skills](https://docs.agentmail.to/integrations/skills.mdx): AgentMail's official skill for Moltbot, Claude Code, Cursor, and other AI assistants
16
+ - [AI Onboarding](https://docs.agentmail.to/ai-onboarding.mdx): Resources for AI coding assistants, MCP servers, skills, and agent-friendly documentation.
17
+ - [Skills](https://docs.agentmail.to/integrations/skills.mdx): AgentMail's official skill for OpenClaw, Claude Code, Cursor, and other AI assistants
17
18
  - [MCP](https://docs.agentmail.to/integrations/mcp.mdx): AgentMail's Model Context Protocol (MCP) integration
18
- - [Openclaw](https://docs.agentmail.to/integrations/openclaw.mdx): AgentMail's Openclaw integration
19
+ - [OpenClaw](https://docs.agentmail.to/integrations/openclaw.mdx): AgentMail's OpenClaw integration
19
20
  - [Replit](https://docs.agentmail.to/integrations/replit.mdx): AgentMail's Replit integration
20
21
  - [x402](https://docs.agentmail.to/integrations/x402.mdx): AgentMail's x402 integration for HTTP-native payments
21
22
  - [Guide: Sending & Receiving Email](https://docs.agentmail.to/sending-receiving-email.mdx): A step-by-step guide to the practical workflow of sending initial emails and handling replies to have a full conversation.
@@ -128,6 +129,9 @@
128
129
  - API Reference > Pods > Lists [List Entries](https://docs.agentmail.to/api-reference/pods/lists/list.mdx)
129
130
  - API Reference > Pods > Lists [Get List Entry](https://docs.agentmail.to/api-reference/pods/lists/get.mdx)
130
131
  - API Reference > Pods > Lists [Delete List Entry](https://docs.agentmail.to/api-reference/pods/lists/delete.mdx)
132
+ - API Reference > Pods > API Keys [Create API Key](https://docs.agentmail.to/api-reference/pods/api-keys/create.mdx)
133
+ - API Reference > Pods > API Keys [List API Keys](https://docs.agentmail.to/api-reference/pods/api-keys/list.mdx)
134
+ - API Reference > Pods > API Keys [Delete API Key](https://docs.agentmail.to/api-reference/pods/api-keys/delete.mdx)
131
135
  - API Reference > Organizations [Get Organization](https://docs.agentmail.to/api-reference/organizations/get.mdx)
132
136
 
133
137
  ## OpenAPI Specification
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentmail",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
package/reference.md CHANGED
@@ -2532,10 +2532,24 @@ await client.inboxes.threads.getAttachment("inbox_id", "thread_id", "attachment_
2532
2532
  </dl>
2533
2533
  </details>
2534
2534
 
2535
- <details><summary><code>client.inboxes.threads.<a href="/src/api/resources/inboxes/resources/threads/client/Client.ts">delete</a>(inbox_id, thread_id) -> void</code></summary>
2535
+ <details><summary><code>client.inboxes.threads.<a href="/src/api/resources/inboxes/resources/threads/client/Client.ts">delete</a>(inbox_id, thread_id, { ...params }) -> void</code></summary>
2536
2536
  <dl>
2537
2537
  <dd>
2538
2538
 
2539
+ #### 📝 Description
2540
+
2541
+ <dl>
2542
+ <dd>
2543
+
2544
+ <dl>
2545
+ <dd>
2546
+
2547
+ Moves the thread to trash by adding a trash label to all messages. If the thread is already in trash, it will be permanently deleted. Use `permanent=true` to force permanent deletion.
2548
+ </dd>
2549
+ </dl>
2550
+ </dd>
2551
+ </dl>
2552
+
2539
2553
  #### 🔌 Usage
2540
2554
 
2541
2555
  <dl>
@@ -2577,6 +2591,14 @@ await client.inboxes.threads.delete("inbox_id", "thread_id");
2577
2591
  <dl>
2578
2592
  <dd>
2579
2593
 
2594
+ **request:** `AgentMail.inboxes.DeleteThreadRequest`
2595
+
2596
+ </dd>
2597
+ </dl>
2598
+
2599
+ <dl>
2600
+ <dd>
2601
+
2580
2602
  **requestOptions:** `ThreadsClient.RequestOptions`
2581
2603
 
2582
2604
  </dd>
@@ -2957,6 +2979,180 @@ await client.organizations.get();
2957
2979
  </dl>
2958
2980
 
2959
2981
 
2982
+ </dd>
2983
+ </dl>
2984
+ </details>
2985
+
2986
+ ## Pods ApiKeys
2987
+ <details><summary><code>client.pods.apiKeys.<a href="/src/api/resources/pods/resources/apiKeys/client/Client.ts">create</a>(pod_id, { ...params }) -> AgentMail.CreateApiKeyResponse</code></summary>
2988
+ <dl>
2989
+ <dd>
2990
+
2991
+ #### 🔌 Usage
2992
+
2993
+ <dl>
2994
+ <dd>
2995
+
2996
+ <dl>
2997
+ <dd>
2998
+
2999
+ ```typescript
3000
+ await client.pods.apiKeys.create("pod_id", {
3001
+ name: "name"
3002
+ });
3003
+
3004
+ ```
3005
+ </dd>
3006
+ </dl>
3007
+ </dd>
3008
+ </dl>
3009
+
3010
+ #### ⚙️ Parameters
3011
+
3012
+ <dl>
3013
+ <dd>
3014
+
3015
+ <dl>
3016
+ <dd>
3017
+
3018
+ **pod_id:** `AgentMail.PodId`
3019
+
3020
+ </dd>
3021
+ </dl>
3022
+
3023
+ <dl>
3024
+ <dd>
3025
+
3026
+ **request:** `AgentMail.CreateApiKeyRequest`
3027
+
3028
+ </dd>
3029
+ </dl>
3030
+
3031
+ <dl>
3032
+ <dd>
3033
+
3034
+ **requestOptions:** `ApiKeysClient.RequestOptions`
3035
+
3036
+ </dd>
3037
+ </dl>
3038
+ </dd>
3039
+ </dl>
3040
+
3041
+
3042
+ </dd>
3043
+ </dl>
3044
+ </details>
3045
+
3046
+ <details><summary><code>client.pods.apiKeys.<a href="/src/api/resources/pods/resources/apiKeys/client/Client.ts">list</a>(pod_id, { ...params }) -> AgentMail.ListApiKeysResponse</code></summary>
3047
+ <dl>
3048
+ <dd>
3049
+
3050
+ #### 🔌 Usage
3051
+
3052
+ <dl>
3053
+ <dd>
3054
+
3055
+ <dl>
3056
+ <dd>
3057
+
3058
+ ```typescript
3059
+ await client.pods.apiKeys.list("pod_id");
3060
+
3061
+ ```
3062
+ </dd>
3063
+ </dl>
3064
+ </dd>
3065
+ </dl>
3066
+
3067
+ #### ⚙️ Parameters
3068
+
3069
+ <dl>
3070
+ <dd>
3071
+
3072
+ <dl>
3073
+ <dd>
3074
+
3075
+ **pod_id:** `AgentMail.PodId`
3076
+
3077
+ </dd>
3078
+ </dl>
3079
+
3080
+ <dl>
3081
+ <dd>
3082
+
3083
+ **request:** `AgentMail.pods.ListApiKeysRequest`
3084
+
3085
+ </dd>
3086
+ </dl>
3087
+
3088
+ <dl>
3089
+ <dd>
3090
+
3091
+ **requestOptions:** `ApiKeysClient.RequestOptions`
3092
+
3093
+ </dd>
3094
+ </dl>
3095
+ </dd>
3096
+ </dl>
3097
+
3098
+
3099
+ </dd>
3100
+ </dl>
3101
+ </details>
3102
+
3103
+ <details><summary><code>client.pods.apiKeys.<a href="/src/api/resources/pods/resources/apiKeys/client/Client.ts">delete</a>(pod_id, api_key) -> void</code></summary>
3104
+ <dl>
3105
+ <dd>
3106
+
3107
+ #### 🔌 Usage
3108
+
3109
+ <dl>
3110
+ <dd>
3111
+
3112
+ <dl>
3113
+ <dd>
3114
+
3115
+ ```typescript
3116
+ await client.pods.apiKeys.delete("pod_id", "api_key");
3117
+
3118
+ ```
3119
+ </dd>
3120
+ </dl>
3121
+ </dd>
3122
+ </dl>
3123
+
3124
+ #### ⚙️ Parameters
3125
+
3126
+ <dl>
3127
+ <dd>
3128
+
3129
+ <dl>
3130
+ <dd>
3131
+
3132
+ **pod_id:** `AgentMail.PodId`
3133
+
3134
+ </dd>
3135
+ </dl>
3136
+
3137
+ <dl>
3138
+ <dd>
3139
+
3140
+ **api_key:** `AgentMail.ApiKeyId`
3141
+
3142
+ </dd>
3143
+ </dl>
3144
+
3145
+ <dl>
3146
+ <dd>
3147
+
3148
+ **requestOptions:** `ApiKeysClient.RequestOptions`
3149
+
3150
+ </dd>
3151
+ </dl>
3152
+ </dd>
3153
+ </dl>
3154
+
3155
+
2960
3156
  </dd>
2961
3157
  </dl>
2962
3158
  </details>