diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 4208b5c..1b77f50 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.6.0" + ".": "0.7.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 8d8dbdb..21ee381 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 62 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/agentmail%2Fagentmail-f683ea9c16b323f400a2788ed910801a8382e7384b24f82b7db13f35b3bce254.yml -openapi_spec_hash: 05bfef751dd664bca46308476e5d1524 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/agentmail%2Fagentmail-6e84a95db8ffaeeb1c1d2894b6f0773cd8042826f905a0910baeb85dc4da76ae.yml +openapi_spec_hash: 8abbb4f299b7297c6bf1ed48f94eea29 config_hash: 2595ffb55fb009abe18a6566962fbf0a diff --git a/CHANGELOG.md b/CHANGELOG.md index ae9c4bb..45939a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.7.0 (2026-03-06) + +Full Changelog: [v0.6.0...v0.7.0](https://github.com/agentmail-to/agentmail-cli/compare/v0.6.0...v0.7.0) + +### Features + +* **api:** api update ([36258c7](https://github.com/agentmail-to/agentmail-cli/commit/36258c780cc78405beed3e3e40ee53559ccbf75c)) + ## 0.6.0 (2026-03-05) Full Changelog: [v0.5.0...v0.6.0](https://github.com/agentmail-to/agentmail-cli/compare/v0.5.0...v0.6.0) diff --git a/pkg/cmd/apikey.go b/pkg/cmd/apikey.go index 2539eb1..adfef33 100644 --- a/pkg/cmd/apikey.go +++ b/pkg/cmd/apikey.go @@ -36,6 +36,11 @@ var apiKeysList = cli.Command{ Usage: "List API Keys", Suggest: true, Flags: []cli.Flag{ + &requestflag.Flag[any]{ + Name: "ascending", + Usage: "Sort in ascending temporal order.", + QueryPath: "ascending", + }, &requestflag.Flag[any]{ Name: "limit", Usage: "Limit of number of items returned.", diff --git a/pkg/cmd/apikey_test.go b/pkg/cmd/apikey_test.go index e249333..303f9b0 100644 --- a/pkg/cmd/apikey_test.go +++ b/pkg/cmd/apikey_test.go @@ -24,6 +24,7 @@ func TestAPIKeysList(t *testing.T) { t, "api-keys", "list", "--api-key", "string", + "--ascending=true", "--limit", "0", "--page-token", "page_token", ) diff --git a/pkg/cmd/domain.go b/pkg/cmd/domain.go index 51278ae..4a5e8d6 100644 --- a/pkg/cmd/domain.go +++ b/pkg/cmd/domain.go @@ -57,6 +57,11 @@ var domainsList = cli.Command{ Usage: "List Domains", Suggest: true, Flags: []cli.Flag{ + &requestflag.Flag[any]{ + Name: "ascending", + Usage: "Sort in ascending temporal order.", + QueryPath: "ascending", + }, &requestflag.Flag[any]{ Name: "limit", Usage: "Limit of number of items returned.", diff --git a/pkg/cmd/domain_test.go b/pkg/cmd/domain_test.go index 2f7130c..b2a963d 100644 --- a/pkg/cmd/domain_test.go +++ b/pkg/cmd/domain_test.go @@ -35,6 +35,7 @@ func TestDomainsList(t *testing.T) { t, "domains", "list", "--api-key", "string", + "--ascending=true", "--limit", "0", "--page-token", "page_token", ) diff --git a/pkg/cmd/inbox.go b/pkg/cmd/inbox.go index b508e21..c091c67 100644 --- a/pkg/cmd/inbox.go +++ b/pkg/cmd/inbox.go @@ -86,6 +86,11 @@ var inboxesList = cli.Command{ Usage: "List Inboxes", Suggest: true, Flags: []cli.Flag{ + &requestflag.Flag[any]{ + Name: "ascending", + Usage: "Sort in ascending temporal order.", + QueryPath: "ascending", + }, &requestflag.Flag[any]{ Name: "limit", Usage: "Limit of number of items returned.", diff --git a/pkg/cmd/inbox_test.go b/pkg/cmd/inbox_test.go index 992b696..58e6af7 100644 --- a/pkg/cmd/inbox_test.go +++ b/pkg/cmd/inbox_test.go @@ -48,6 +48,7 @@ func TestInboxesList(t *testing.T) { t, "inboxes", "list", "--api-key", "string", + "--ascending=true", "--limit", "0", "--page-token", "page_token", ) diff --git a/pkg/cmd/pod.go b/pkg/cmd/pod.go index 0746bcc..91ace67 100644 --- a/pkg/cmd/pod.go +++ b/pkg/cmd/pod.go @@ -55,6 +55,11 @@ var podsList = cli.Command{ Usage: "List Pods", Suggest: true, Flags: []cli.Flag{ + &requestflag.Flag[any]{ + Name: "ascending", + Usage: "Sort in ascending temporal order.", + QueryPath: "ascending", + }, &requestflag.Flag[any]{ Name: "limit", Usage: "Limit of number of items returned.", diff --git a/pkg/cmd/pod_test.go b/pkg/cmd/pod_test.go index 2c9bd5d..d76639b 100644 --- a/pkg/cmd/pod_test.go +++ b/pkg/cmd/pod_test.go @@ -35,6 +35,7 @@ func TestPodsList(t *testing.T) { t, "pods", "list", "--api-key", "string", + "--ascending=true", "--limit", "0", "--page-token", "page_token", ) diff --git a/pkg/cmd/poddomain.go b/pkg/cmd/poddomain.go index f790015..efc7307 100644 --- a/pkg/cmd/poddomain.go +++ b/pkg/cmd/poddomain.go @@ -52,6 +52,11 @@ var podsDomainsList = cli.Command{ Usage: "ID of pod.", Required: true, }, + &requestflag.Flag[any]{ + Name: "ascending", + Usage: "Sort in ascending temporal order.", + QueryPath: "ascending", + }, &requestflag.Flag[any]{ Name: "limit", Usage: "Limit of number of items returned.", diff --git a/pkg/cmd/poddomain_test.go b/pkg/cmd/poddomain_test.go index 6989849..a782d61 100644 --- a/pkg/cmd/poddomain_test.go +++ b/pkg/cmd/poddomain_test.go @@ -27,6 +27,7 @@ func TestPodsDomainsList(t *testing.T) { "pods:domains", "list", "--api-key", "string", "--pod-id", "pod_id", + "--ascending=true", "--limit", "0", "--page-token", "page_token", ) diff --git a/pkg/cmd/podinbox.go b/pkg/cmd/podinbox.go index 2b69077..a7f945f 100644 --- a/pkg/cmd/podinbox.go +++ b/pkg/cmd/podinbox.go @@ -80,6 +80,11 @@ var podsInboxesList = cli.Command{ Usage: "ID of pod.", Required: true, }, + &requestflag.Flag[any]{ + Name: "ascending", + Usage: "Sort in ascending temporal order.", + QueryPath: "ascending", + }, &requestflag.Flag[any]{ Name: "limit", Usage: "Limit of number of items returned.", diff --git a/pkg/cmd/podinbox_test.go b/pkg/cmd/podinbox_test.go index cded247..83fb056 100644 --- a/pkg/cmd/podinbox_test.go +++ b/pkg/cmd/podinbox_test.go @@ -40,6 +40,7 @@ func TestPodsInboxesList(t *testing.T) { "pods:inboxes", "list", "--api-key", "string", "--pod-id", "pod_id", + "--ascending=true", "--limit", "0", "--page-token", "page_token", ) diff --git a/pkg/cmd/version.go b/pkg/cmd/version.go index c1f2884..f37c8ca 100644 --- a/pkg/cmd/version.go +++ b/pkg/cmd/version.go @@ -2,4 +2,4 @@ package cmd -const Version = "0.6.0" // x-release-please-version +const Version = "0.7.0" // x-release-please-version diff --git a/pkg/cmd/webhook.go b/pkg/cmd/webhook.go index 4143e6e..678c8cd 100644 --- a/pkg/cmd/webhook.go +++ b/pkg/cmd/webhook.go @@ -107,6 +107,11 @@ var webhooksList = cli.Command{ Usage: "List Webhooks", Suggest: true, Flags: []cli.Flag{ + &requestflag.Flag[any]{ + Name: "ascending", + Usage: "Sort in ascending temporal order.", + QueryPath: "ascending", + }, &requestflag.Flag[any]{ Name: "limit", Usage: "Limit of number of items returned.", diff --git a/pkg/cmd/webhook_test.go b/pkg/cmd/webhook_test.go index 9dffcbf..5e3fa4c 100644 --- a/pkg/cmd/webhook_test.go +++ b/pkg/cmd/webhook_test.go @@ -52,6 +52,7 @@ func TestWebhooksList(t *testing.T) { t, "webhooks", "list", "--api-key", "string", + "--ascending=true", "--limit", "0", "--page-token", "page_token", )