From c248af96e7d3282e5627a130ecf5b683853c8d94 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Fri, 8 Sep 2023 14:10:44 +0000 Subject: [PATCH] feat: update generated APIs --- cmd/scw/testdata/test-all-usage-tem-email-list-usage.golden | 2 +- docs/commands/tem.md | 2 +- go.mod | 2 +- go.sum | 4 ++-- internal/namespaces/tem/v1alpha1/tem_cli.go | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/scw/testdata/test-all-usage-tem-email-list-usage.golden b/cmd/scw/testdata/test-all-usage-tem-email-list-usage.golden index 6c1d0e7120..c912af0902 100644 --- a/cmd/scw/testdata/test-all-usage-tem-email-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-tem-email-list-usage.golden @@ -17,7 +17,7 @@ ARGS: [subject] (Optional) List emails with this subject [search] (Optional) List emails by searching to all fields [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) - [flags.{index}] (Optional) List emails containing only specific flags (unknown_flag | soft_bounce | hard_bounce | spam | mailbox_full) + [flags.{index}] (Optional) List emails containing only specific flags (unknown_flag | soft_bounce | hard_bounce | spam | mailbox_full | mailbox_not_found | greylisted | send_before_expiration) [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all) DEPRECATED ARGS: diff --git a/docs/commands/tem.md b/docs/commands/tem.md index 0435a73429..780d7058b8 100644 --- a/docs/commands/tem.md +++ b/docs/commands/tem.md @@ -278,7 +278,7 @@ scw tem email list [arg=value ...] | subject | | (Optional) List emails with this subject | | search | | (Optional) List emails by searching to all fields | | 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 | -| flags.{index} | One of: `unknown_flag`, `soft_bounce`, `hard_bounce`, `spam`, `mailbox_full` | (Optional) List emails containing only specific flags | +| flags.{index} | One of: `unknown_flag`, `soft_bounce`, `hard_bounce`, `spam`, `mailbox_full`, `mailbox_not_found`, `greylisted`, `send_before_expiration` | (Optional) List emails containing only specific flags | | region | Default: `fr-par`
One of: `fr-par`, `all` | Region to target. If none is passed will use default region from the config | diff --git a/go.mod b/go.mod index 0d33938cc2..07dcdcf0b2 100644 --- a/go.mod +++ b/go.mod @@ -24,7 +24,7 @@ require ( github.com/moby/buildkit v0.11.6 github.com/opencontainers/go-digest v1.0.0 github.com/pkg/errors v0.9.1 - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.20.0.20230904085706-cf5147eb9745 + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.20.0.20230908124914-7f8e112a933b github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 github.com/spf13/cobra v1.7.0 github.com/spf13/pflag v1.0.5 diff --git a/go.sum b/go.sum index 5aa9b7f64c..507b341956 100644 --- a/go.sum +++ b/go.sum @@ -491,8 +491,8 @@ github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncj github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.20.0.20230904085706-cf5147eb9745 h1:Qtr7dGcH98TIeC0JmhHouNhU8/ExnvFZ9ZqEkYiqFhc= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.20.0.20230904085706-cf5147eb9745/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.20.0.20230908124914-7f8e112a933b h1:/9RVY5JPfLGX3ciuhPp03JxQPJhbMTyM/6y4sRYcK70= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.20.0.20230908124914-7f8e112a933b/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg= github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8= github.com/secure-systems-lab/go-securesystemslib v0.4.0 h1:b23VGrQhTA8cN2CbBw7/FulN9fTtqYUdS5+Oxzt+DUE= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= diff --git a/internal/namespaces/tem/v1alpha1/tem_cli.go b/internal/namespaces/tem/v1alpha1/tem_cli.go index ae43fccc46..490c60a27d 100644 --- a/internal/namespaces/tem/v1alpha1/tem_cli.go +++ b/internal/namespaces/tem/v1alpha1/tem_cli.go @@ -322,7 +322,7 @@ func temEmailList() *core.Command { Required: false, Deprecated: false, Positional: false, - EnumValues: []string{"unknown_flag", "soft_bounce", "hard_bounce", "spam", "mailbox_full"}, + EnumValues: []string{"unknown_flag", "soft_bounce", "hard_bounce", "spam", "mailbox_full", "mailbox_not_found", "greylisted", "send_before_expiration"}, }, core.RegionArgSpec(scw.RegionFrPar, scw.Region(core.AllLocalities)), },