Skip to content

Commit 5f89ed4

Browse files
feat(tem): add support for mailbox_full error (#3324)
Co-authored-by: Rémy Léone <[email protected]>
1 parent 4803fb8 commit 5f89ed4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/scw/testdata/test-all-usage-tem-email-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ARGS:
1717
[subject] (Optional) List emails with this subject
1818
[search] (Optional) List emails by searching to all fields
1919
[order-by] (Optional) List emails corresponding to specific criteria (created_at_desc | created_at_asc | updated_at_desc | updated_at_asc | status_desc | status_asc | mail_from_desc | mail_from_asc | mail_rcpt_desc | mail_rcpt_asc | subject_desc | subject_asc)
20-
[flags.{index}] (Optional) List emails containing only specific flags (unknown_flag | soft_bounce | hard_bounce | spam)
20+
[flags.{index}] (Optional) List emails containing only specific flags (unknown_flag | soft_bounce | hard_bounce | spam | mailbox_full)
2121
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
2222

2323
DEPRECATED ARGS:

docs/commands/tem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ scw tem email list [arg=value ...]
278278
| subject | | (Optional) List emails with this subject |
279279
| search | | (Optional) List emails by searching to all fields |
280280
| order-by | One of: `created_at_desc`, `created_at_asc`, `updated_at_desc`, `updated_at_asc`, `status_desc`, `status_asc`, `mail_from_desc`, `mail_from_asc`, `mail_rcpt_desc`, `mail_rcpt_asc`, `subject_desc`, `subject_asc` | (Optional) List emails corresponding to specific criteria |
281-
| flags.{index} | One of: `unknown_flag`, `soft_bounce`, `hard_bounce`, `spam` | (Optional) List emails containing only specific flags |
281+
| flags.{index} | One of: `unknown_flag`, `soft_bounce`, `hard_bounce`, `spam`, `mailbox_full` | (Optional) List emails containing only specific flags |
282282
| region | Default: `fr-par`<br />One of: `fr-par`, `all` | Region to target. If none is passed will use default region from the config |
283283

284284

internal/namespaces/tem/v1alpha1/tem_cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ func temEmailList() *core.Command {
322322
Required: false,
323323
Deprecated: false,
324324
Positional: false,
325-
EnumValues: []string{"unknown_flag", "soft_bounce", "hard_bounce", "spam"},
325+
EnumValues: []string{"unknown_flag", "soft_bounce", "hard_bounce", "spam", "mailbox_full"},
326326
},
327327
core.RegionArgSpec(scw.RegionFrPar, scw.Region(core.AllLocalities)),
328328
},

0 commit comments

Comments
 (0)