resend-cli 2.22.0-preview-inboxes.0 → 2.22.0-preview-inboxes.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resend-cli",
3
- "version": "2.22.0-preview-inboxes.0",
3
+ "version": "2.22.0-preview-inboxes.1",
4
4
  "description": "The official CLI for Resend",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -13,7 +13,7 @@ metadata:
13
13
  author: resend
14
14
  # Skill version is independent from the CLI/package.json version —
15
15
  # bump it on skill content changes, not CLI releases.
16
- version: "2.17.0"
16
+ version: "2.18.0"
17
17
  homepage: https://resend.com/docs/cli-agents
18
18
  source: https://github.com/resend/resend-cli
19
19
  openclaw:
@@ -19,8 +19,9 @@ Create a new inbox at one of your verified domains.
19
19
 
20
20
  | Flag | Type | Required | Description |
21
21
  |------|------|----------|-------------|
22
- | `--email-address <address>` | string | Yes (non-interactive) | Address for the inbox, e.g. `support@yourdomain.com` |
22
+ | `--email_address <address>` | string | Yes (non-interactive) | Address for the inbox, e.g. `support@yourdomain.com` |
23
23
  | `--name <name>` | string | No | Inbox name shown in the dashboard (max 64 chars) |
24
+ | `--friendly_name <name>` | string | No | Name used when sending from this inbox, e.g. `Ada from Support` |
24
25
  | `--forwarding` | boolean | No | Enable forwarding — received emails are also forwarded to a generated forwarding address |
25
26
 
26
27
  **Output:** `{"object":"inbox","id":"<uuid>","name":"<name>","email_address":"<address>","domain_id":"<uuid>","forwarding_address":"<address>"|null,"unread":0,"created_at":"<date>"}`
@@ -55,13 +56,15 @@ Retrieve a single inbox.
55
56
 
56
57
  ## inboxes update
57
58
 
58
- Update an inbox's name. The email address cannot be changed after creation.
59
+ Update an inbox's name or friendly name. At least one option is required.
60
+ The email address cannot be changed after creation.
59
61
 
60
62
  **Argument:** `<id>` — inbox UUID
61
63
 
62
- | Flag | Type | Required | Description |
63
- |------|------|----------|-------------|
64
- | `--name <name>` | string | Yes | New inbox name (max 64 chars) |
64
+ | Flag | Type | Description |
65
+ |------|------|-------------|
66
+ | `--name <name>` | string | New inbox name (max 64 chars) |
67
+ | `--friendly_name <name>` | string | New name used when sending from this inbox |
65
68
 
66
69
  **Output:** `{"object":"inbox","id":"<uuid>"}`
67
70
 
@@ -72,14 +75,14 @@ Update an inbox's name. The email address cannot be changed after creation.
72
75
  List threads in an inbox (default subcommand of `resend inboxes threads`).
73
76
  Pages are fixed at 50 threads, newest activity first — there is no `--limit`.
74
77
 
75
- **Flags:** `--inbox-id <id>` — required in non-interactive mode
78
+ **Flags:** `--inbox_id <id>` — required in non-interactive mode
76
79
 
77
80
  | Flag | Type | Default | Description |
78
81
  |------|------|---------|-------------|
79
82
  | `--folder <folder>` | string | `inbox` | One of `inbox`, `archive`, `spam`, `sent`, `trash` |
80
83
  | `--query <text>` | string | — | Search subject, sender, and label names |
81
84
  | `--from <sender>` | string | — | Filter by sender address or name |
82
- | `--label <labelId>` | string | — | Filter by label **UUID** (not name); repeat for multiple |
85
+ | `--label <label_id>` | string | — | Filter by label **UUID** (not name); repeat for multiple |
83
86
  | `--cursor <cursor>` | string | — | `next_cursor` from a previous response |
84
87
 
85
88
  **Alias:** `ls`
@@ -93,7 +96,7 @@ Pages are fixed at 50 threads, newest activity first — there is no `--limit`.
93
96
  Retrieve a thread with every message inline, including `html` and `text`
94
97
  bodies. Use the message `id` values as the email ID for replies.
95
98
 
96
- **Flags:** `--inbox-id <id> --thread-id <id>` — required in non-interactive mode
99
+ **Flags:** `--inbox_id <id> --thread_id <id>` — required in non-interactive mode
97
100
 
98
101
  **Output:** `{"object":"inbox_thread","id":"<uuid>","subject":"<subject>"|null,"folder":"inbox","labels":[],"read":true,"messages":{"has_more":false,"data":[{"id":"<uuid>","direction":"inbound|outbound","from":"<sender>","to":[],"subject":"<subject>"|null,"html":"<html>"|null,"text":"<text>"|null,"attachments":[],"read":true,"received_at":"<date>"}]}}`
99
102
 
@@ -104,14 +107,14 @@ bodies. Use the message `id` values as the email ID for replies.
104
107
  Mark a thread read/unread, move it, or apply a label. At least one option is
105
108
  required.
106
109
 
107
- **Flags:** `--inbox-id <id> --thread-id <id>` — required in non-interactive mode
110
+ **Flags:** `--inbox_id <id> --thread_id <id>` — required in non-interactive mode
108
111
 
109
112
  | Flag | Type | Description |
110
113
  |------|------|-------------|
111
114
  | `--read` | boolean | Mark every message in the thread as read |
112
115
  | `--unread` | boolean | Mark every message in the thread as unread |
113
116
  | `--folder <folder>` | string | Move to one of `inbox`, `archive`, `spam`, `trash` (`sent` is not a valid target) |
114
- | `--label-id <labelId>` | string | Apply this label (UUID) to the thread |
117
+ | `--label_id <label_id>` | string | Apply this label (UUID) to the thread |
115
118
 
116
119
  **Output:** `{"object":"inbox_thread","id":"<uuid>","subject":"<subject>"|null,"folder":"<folder>","labels":[],"read":true}`
117
120
 
@@ -121,7 +124,7 @@ required.
121
124
 
122
125
  Delete a thread and all of its messages.
123
126
 
124
- **Flags:** `--inbox-id <id> --thread-id <id>` — required in non-interactive mode
127
+ **Flags:** `--inbox_id <id> --thread_id <id>` — required in non-interactive mode
125
128
 
126
129
  | Flag | Type | Required | Description |
127
130
  |------|------|----------|-------------|
@@ -137,7 +140,7 @@ Delete a thread and all of its messages.
137
140
 
138
141
  Retrieve a single email from a thread.
139
142
 
140
- **Flags:** `--inbox-id <id> --thread-id <id> --email-id <id>` — required in non-interactive mode
143
+ **Flags:** `--inbox_id <id> --thread_id <id> --email_id <id>` — required in non-interactive mode
141
144
 
142
145
  **Output:** `{"id":"<uuid>","direction":"inbound|outbound","from":"<sender>","to":[],"cc":[],"bcc":[],"reply_to":[],"subject":"<subject>"|null,"html":"<html>"|null,"text":"<text>"|null,"attachments":[{"id":"<id>","filename":"<name>"|null,"size":123}],"read":true,"received_at":"<date>"}`
143
146
 
@@ -148,7 +151,7 @@ Retrieve a single email from a thread.
148
151
  Reply to a specific email in a thread. The reply is sent from the inbox
149
152
  address to the sender of the original email.
150
153
 
151
- **Flags:** `--inbox-id <id> --thread-id <id> --email-id <id>` — required in
154
+ **Flags:** `--inbox_id <id> --thread_id <id> --email_id <id>` — required in
152
155
  non-interactive mode; the email ID comes from `inboxes threads get`
153
156
 
154
157
  | Flag | Type | Required | Description |
@@ -165,7 +168,7 @@ non-interactive mode; the email ID comes from `inboxes threads get`
165
168
 
166
169
  Forward an email to other recipients from the inbox address.
167
170
 
168
- **Flags:** `--inbox-id <id> --thread-id <id> --email-id <id>` — required in non-interactive mode
171
+ **Flags:** `--inbox_id <id> --thread_id <id> --email_id <id>` — required in non-interactive mode
169
172
 
170
173
  | Flag | Type | Required | Description |
171
174
  |------|------|----------|-------------|
@@ -181,10 +184,10 @@ Forward an email to other recipients from the inbox address.
181
184
  ## inboxes labels list
182
185
 
183
186
  List all labels in an inbox (not paginated; default subcommand of
184
- `resend inboxes labels`). Use label IDs with `threads update --label-id` and
187
+ `resend inboxes labels`). Use label IDs with `threads update --label_id` and
185
188
  `threads list --label`.
186
189
 
187
- **Flags:** `--inbox-id <id>` — required in non-interactive mode
190
+ **Flags:** `--inbox_id <id>` — required in non-interactive mode
188
191
 
189
192
  **Alias:** `ls`
190
193
 
@@ -196,7 +199,7 @@ List all labels in an inbox (not paginated; default subcommand of
196
199
 
197
200
  Create a label. An inbox can have up to 100 labels.
198
201
 
199
- **Flags:** `--inbox-id <id>` — required in non-interactive mode
202
+ **Flags:** `--inbox_id <id>` — required in non-interactive mode
200
203
 
201
204
  | Flag | Type | Required | Description |
202
205
  |------|------|----------|-------------|
@@ -211,7 +214,7 @@ Create a label. An inbox can have up to 100 labels.
211
214
 
212
215
  Update a label's name or color. At least one option is required.
213
216
 
214
- **Flags:** `--inbox-id <id> --label-id <id>` — required in non-interactive mode
217
+ **Flags:** `--inbox_id <id> --label_id <id>` — required in non-interactive mode
215
218
 
216
219
  | Flag | Type | Description |
217
220
  |------|------|-------------|
@@ -226,7 +229,7 @@ Update a label's name or color. At least one option is required.
226
229
 
227
230
  Delete a label. It is removed from every thread that has it.
228
231
 
229
- **Flags:** `--inbox-id <id> --label-id <id>` — required in non-interactive mode
232
+ **Flags:** `--inbox_id <id> --label_id <id>` — required in non-interactive mode
230
233
 
231
234
  | Flag | Type | Required | Description |
232
235
  |------|------|----------|-------------|
@@ -243,7 +246,7 @@ Delete a label. It is removed from every thread that has it.
243
246
  List drafts in an inbox (default subcommand of `resend inboxes drafts`).
244
247
  Opaque cursor pagination like threads — no `--limit`.
245
248
 
246
- **Flags:** `--inbox-id <id>` — required in non-interactive mode
249
+ **Flags:** `--inbox_id <id>` — required in non-interactive mode
247
250
 
248
251
  | Flag | Type | Description |
249
252
  |------|------|-------------|
@@ -257,11 +260,11 @@ Opaque cursor pagination like threads — no `--limit`.
257
260
 
258
261
  ## inboxes drafts create
259
262
 
260
- Create a standalone draft, or a reply draft when `--thread-id` and
261
- `--reply-to-email-id` are passed **together**. At least one content field is
263
+ Create a standalone draft, or a reply draft when `--thread_id` and
264
+ `--reply_to_email_id` are passed **together**. At least one content field is
262
265
  required.
263
266
 
264
- **Flags:** `--inbox-id <id>` — required in non-interactive mode
267
+ **Flags:** `--inbox_id <id>` — required in non-interactive mode
265
268
 
266
269
  | Flag | Type | Description |
267
270
  |------|------|-------------|
@@ -271,8 +274,8 @@ required.
271
274
  | `--subject <subject>` | string | Draft subject |
272
275
  | `--text <text>` | string | Plain text body |
273
276
  | `--html <html>` | string | HTML body |
274
- | `--thread-id <threadId>` | string | Thread to reply to (pairs with `--reply-to-email-id`) |
275
- | `--reply-to-email-id <emailId>` | string | Email the draft replies to (pairs with `--thread-id`) |
277
+ | `--thread_id <thread_id>` | string | Thread to reply to (pairs with `--reply_to_email_id`) |
278
+ | `--reply_to_email_id <email_id>` | string | Email the draft replies to (pairs with `--thread_id`) |
276
279
 
277
280
  **Output:** `{"object":"inbox_draft","id":"<uuid>","type":"standalone|reply","to":["<address>"]|null,"cc":[],"bcc":[],"subject":"<subject>"|null,"html":"<html>"|null,"text":"<text>"|null,"thread_id":"<uuid>"|null,"reply_to_email_id":"<uuid>"|null,"email_id":null,"created_at":"<date>","updated_at":"<date>"}`
278
281
 
@@ -282,7 +285,7 @@ required.
282
285
 
283
286
  Retrieve a draft, including its full body.
284
287
 
285
- **Flags:** `--inbox-id <id> --draft-id <id>` — required in non-interactive mode
288
+ **Flags:** `--inbox_id <id> --draft_id <id>` — required in non-interactive mode
286
289
 
287
290
  **Output:** same shape as `drafts create`.
288
291
 
@@ -292,9 +295,9 @@ Retrieve a draft, including its full body.
292
295
 
293
296
  Update a draft's recipients, subject, or body. At least one option is
294
297
  required; provided fields replace existing values. Same flags as
295
- `drafts create` minus `--thread-id`/`--reply-to-email-id`.
298
+ `drafts create` minus `--thread_id`/`--reply_to_email_id`.
296
299
 
297
- **Flags:** `--inbox-id <id> --draft-id <id>` — required in non-interactive mode
300
+ **Flags:** `--inbox_id <id> --draft_id <id>` — required in non-interactive mode
298
301
 
299
302
  **Output:** same shape as `drafts create`.
300
303
 
@@ -304,7 +307,7 @@ required; provided fields replace existing values. Same flags as
304
307
 
305
308
  Delete a draft.
306
309
 
307
- **Flags:** `--inbox-id <id> --draft-id <id>` — required in non-interactive mode
310
+ **Flags:** `--inbox_id <id> --draft_id <id>` — required in non-interactive mode
308
311
 
309
312
  | Flag | Type | Required | Description |
310
313
  |------|------|----------|-------------|
@@ -321,7 +324,7 @@ Delete a draft.
321
324
  Send a draft from the inbox address. The draft must have recipients and a
322
325
  body.
323
326
 
324
- **Flags:** `--inbox-id <id> --draft-id <id>` — required in non-interactive mode
327
+ **Flags:** `--inbox_id <id> --draft_id <id>` — required in non-interactive mode
325
328
 
326
329
  **Output:** `{"object":"inbox_draft","id":"<uuid>","thread_id":"<uuid>","email_id":"<uuid>"}`
327
330
 
@@ -21,10 +21,11 @@ Detailed flag specifications for `resend webhooks` commands.
21
21
  | `--endpoint <url>` | string | Yes (non-interactive) | HTTPS webhook URL |
22
22
  | `--events <events...>` | string[] | Yes (non-interactive) | Event types or `all` |
23
23
 
24
- **All 17 events:**
24
+ **All 19 events:**
25
25
  - Email: `email.sent`, `email.delivered`, `email.delivery_delayed`, `email.bounced`, `email.complained`, `email.opened`, `email.clicked`, `email.failed`, `email.scheduled`, `email.suppressed`, `email.received`
26
26
  - Contact: `contact.created`, `contact.updated`, `contact.deleted`
27
27
  - Domain: `domain.created`, `domain.updated`, `domain.deleted`
28
+ - Suppression: `suppression.added`, `suppression.removed`
28
29
 
29
30
  **Output includes `signing_secret`.** `webhooks get` returns it again.
30
31