From 6f4ccd20dd1d68beb629c55967065615e9f2e4ea Mon Sep 17 00:00:00 2001 From: Dennis Kugelmann Date: Mon, 30 Dec 2024 09:30:39 +0100 Subject: [PATCH] fix: Name of team plan (#738) --- content/v2/certificates.markdown | 6 +++--- content/v2/openapi.yml | 2 +- content/v2/zones/records.markdown | 2 +- fixtures/v2/api/accounts/success-user.http | 3 ++- fixtures/v2/api/listAccounts/success-user.http | 3 ++- fixtures/v2/api/whoami/success-account.http | 3 ++- fixtures/v2/api/whoami/success.http | 3 ++- .../v2/webhooks/account.user_invitation_accept/example.http | 2 +- .../v2/webhooks/account.user_invitation_revoke/example.http | 2 +- fixtures/v2/webhooks/account.user_invite/example.http | 2 +- fixtures/v2/webhooks/account.user_remove/example.http | 2 +- fixtures/v2/webhooks/subscription.renew/state-failed.http | 2 +- 12 files changed, 18 insertions(+), 14 deletions(-) diff --git a/content/v2/certificates.markdown b/content/v2/certificates.markdown index 2ebd060f..a2a6ed90 100644 --- a/content/v2/certificates.markdown +++ b/content/v2/certificates.markdown @@ -188,7 +188,7 @@ The domain must be [delegated](https://support.dnsimple.com/articles/pointing-do The default certificate name is `www` and covers both the root domain (e.g. `example.com`) and the `www` subdomain (e.g. `www.example.com`). You can choose a **custom name** (like `api`), which is valid only for `https://api.example.com`. -Custom names require a subscription to a Professional or Enterprise plan. +Custom names require a subscription to a Teams or Enterprise plan. ### Alternate names @@ -198,14 +198,14 @@ By default, a certificate doesn't have alternate names. You can purchase a single certificate for both `https://docs.example.com` and `https://status.example.com`, alongside `https://example.com`. -Alternate names require a subscription to a Professional or Enterprise plan. +Alternate names require a subscription to a Teams or Enterprise plan. ### Wildcard certificates To request a wildcard certificate that's valid for an unlimited number of names that belong to a single subdomain level, use `*` (e.g. `*.example.com`). -Let's Encrypt wildcard certificates is a feature that is only available to the Professional or Enterprise plans. +Let's Encrypt wildcard certificates is a feature that is only available to the Teams or Enterprise plans. If the feature is not enabled, you will receive an HTTP 412 response code. diff --git a/content/v2/openapi.yml b/content/v2/openapi.yml index 1055291a..9ba5a04d 100644 --- a/content/v2/openapi.yml +++ b/content/v2/openapi.yml @@ -3378,7 +3378,7 @@ components: example: id: 1 email: example-account@example.com - plan_identifier: dnsimple-professional + plan_identifier: teams-v1-monthly created_at: '2015-09-18T23:04:37Z' updated_at: '2016-06-09T20:03:39Z' WebhookAccount: diff --git a/content/v2/zones/records.markdown b/content/v2/zones/records.markdown index f0fbb7d7..708d2b7f 100644 --- a/content/v2/zones/records.markdown +++ b/content/v2/zones/records.markdown @@ -17,7 +17,7 @@ Please refer to the definition of the `ZoneRecord` data type in [our OpenAPI doc ## Record Regions {#ZoneRecordRegions} -The zone record **regions** is a feature that is only available to the Professional and Enterprise plans. +The zone record **regions** is a feature that is only available to the Teams and Enterprise plans. If the feature is not enabled, you will receive an HTTP 412 response code. diff --git a/fixtures/v2/api/accounts/success-user.http b/fixtures/v2/api/accounts/success-user.http index 5078aa5b..b53589ca 100644 --- a/fixtures/v2/api/accounts/success-user.http +++ b/fixtures/v2/api/accounts/success-user.http @@ -17,4 +17,5 @@ X-Permitted-Cross-Domain-Policies: none X-XSS-Protection: 1; mode=block Strict-Transport-Security: max-age=31536000 -{"data":[{"id":123,"email":"john@example.com","plan_identifier":"dnsimple-personal","created_at":"2011-09-11T17:15:58Z","updated_at":"2016-06-03T15:02:26Z"},{"id":456,"email":"ops@company.com","plan_identifier":"dnsimple-professional","created_at":"2012-03-16T16:02:54Z","updated_at":"2016-06-14T11:23:16Z"}]} +{"data":[{"id":123,"email":"john@example.com","plan_identifier":"dnsimple-personal","created_at":"2011-09-11T17:15:58Z","updated_at":"2016-06-03T15:02:26Z"},{"id":456,"email":"ops@company.com","plan_identifier":"teams-v1-monthly","created_at":"2012-03-16T16:02:54Z","updated_at":"2016-06-14T11:23:16Z"}]} + diff --git a/fixtures/v2/api/listAccounts/success-user.http b/fixtures/v2/api/listAccounts/success-user.http index 5078aa5b..b53589ca 100644 --- a/fixtures/v2/api/listAccounts/success-user.http +++ b/fixtures/v2/api/listAccounts/success-user.http @@ -17,4 +17,5 @@ X-Permitted-Cross-Domain-Policies: none X-XSS-Protection: 1; mode=block Strict-Transport-Security: max-age=31536000 -{"data":[{"id":123,"email":"john@example.com","plan_identifier":"dnsimple-personal","created_at":"2011-09-11T17:15:58Z","updated_at":"2016-06-03T15:02:26Z"},{"id":456,"email":"ops@company.com","plan_identifier":"dnsimple-professional","created_at":"2012-03-16T16:02:54Z","updated_at":"2016-06-14T11:23:16Z"}]} +{"data":[{"id":123,"email":"john@example.com","plan_identifier":"dnsimple-personal","created_at":"2011-09-11T17:15:58Z","updated_at":"2016-06-03T15:02:26Z"},{"id":456,"email":"ops@company.com","plan_identifier":"teams-v1-monthly","created_at":"2012-03-16T16:02:54Z","updated_at":"2016-06-14T11:23:16Z"}]} + diff --git a/fixtures/v2/api/whoami/success-account.http b/fixtures/v2/api/whoami/success-account.http index c8302d74..282480d9 100644 --- a/fixtures/v2/api/whoami/success-account.http +++ b/fixtures/v2/api/whoami/success-account.http @@ -12,4 +12,5 @@ X-Request-Id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd X-Runtime: 0.141588 Strict-Transport-Security: max-age=31536000 -{"data":{"user":null,"account":{"id":1,"email":"example-account@example.com","plan_identifier":"dnsimple-professional","created_at":"2015-09-18T23:04:37Z","updated_at":"2016-06-09T20:03:39Z"}}} +{"data":{"user":null,"account":{"id":1,"email":"example-account@example.com","plan_identifier":"teams-v1-monthly","created_at":"2015-09-18T23:04:37Z","updated_at":"2016-06-09T20:03:39Z"}}} + diff --git a/fixtures/v2/api/whoami/success.http b/fixtures/v2/api/whoami/success.http index c8302d74..282480d9 100644 --- a/fixtures/v2/api/whoami/success.http +++ b/fixtures/v2/api/whoami/success.http @@ -12,4 +12,5 @@ X-Request-Id: 15a7f3a5-7ee5-4e36-ac5a-8c21c2e1fffd X-Runtime: 0.141588 Strict-Transport-Security: max-age=31536000 -{"data":{"user":null,"account":{"id":1,"email":"example-account@example.com","plan_identifier":"dnsimple-professional","created_at":"2015-09-18T23:04:37Z","updated_at":"2016-06-09T20:03:39Z"}}} +{"data":{"user":null,"account":{"id":1,"email":"example-account@example.com","plan_identifier":"teams-v1-monthly","created_at":"2015-09-18T23:04:37Z","updated_at":"2016-06-09T20:03:39Z"}}} + diff --git a/fixtures/v2/webhooks/account.user_invitation_accept/example.http b/fixtures/v2/webhooks/account.user_invitation_accept/example.http index 7028794f..bf664147 100644 --- a/fixtures/v2/webhooks/account.user_invitation_accept/example.http +++ b/fixtures/v2/webhooks/account.user_invitation_accept/example.http @@ -10,4 +10,4 @@ Total-Route-Time: 0 Via: 1.1 vegur Connection: close -{"data": {"account": {"id": 1111, "email": "xxxxx@xxxxxx.xxx", "created_at": "2012-03-16T16:02:54Z", "updated_at": "2020-05-10T18:11:03Z", "plan_identifier": "professional-v1-monthly"}, "account_invitation": {"id": 3523, "email": "xxxxxx@xxxxxx.xxx", "token": "eb5763dc-0f24-420b-b7f6-c7355c8b8309", "account_id": 1111, "created_at": "2020-05-12T18:42:44Z", "updated_at": "2020-05-12T18:43:44Z", "invitation_sent_at": "2020-05-12T18:42:44Z", "invitation_accepted_at": "2020-05-12T18:43:44Z"}}, "name": "account.user_invitation_accept", "actor": {"id": "1120", "entity": "user", "pretty": "xxxxxx@xxxxxx.xxx"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "2fab89c6-963b-47bf-a631-cfa15f06d21f"} +{"data": {"account": {"id": 1111, "email": "xxxxx@xxxxxx.xxx", "created_at": "2012-03-16T16:02:54Z", "updated_at": "2020-05-10T18:11:03Z", "plan_identifier": "teams-v1-monthly"}, "account_invitation": {"id": 3523, "email": "xxxxxx@xxxxxx.xxx", "token": "eb5763dc-0f24-420b-b7f6-c7355c8b8309", "account_id": 1111, "created_at": "2020-05-12T18:42:44Z", "updated_at": "2020-05-12T18:43:44Z", "invitation_sent_at": "2020-05-12T18:42:44Z", "invitation_accepted_at": "2020-05-12T18:43:44Z"}}, "name": "account.user_invitation_accept", "actor": {"id": "1120", "entity": "user", "pretty": "xxxxxx@xxxxxx.xxx"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "2fab89c6-963b-47bf-a631-cfa15f06d21f"} diff --git a/fixtures/v2/webhooks/account.user_invitation_revoke/example.http b/fixtures/v2/webhooks/account.user_invitation_revoke/example.http index e7ae5f8c..d06295f2 100644 --- a/fixtures/v2/webhooks/account.user_invitation_revoke/example.http +++ b/fixtures/v2/webhooks/account.user_invitation_revoke/example.http @@ -10,4 +10,4 @@ Content-Length: 760 Via: 1.1 vegur Connection: close -{"data": {"account": {"id": 1111, "email": "xxxxx@xxxxxx.xxx", "created_at": "2012-03-16T16:02:54Z", "updated_at": "2020-05-10T18:11:03Z", "plan_identifier": "professional-v1-monthly"}, "account_invitation": {"id": 3522, "email": "xxxxxx@xxxxxx.xxx", "token": "be87d69b-a58a-43bd-9a21-aaf303829a60", "account_id": 1111, "created_at": "2020-05-12T18:42:27Z", "updated_at": "2020-05-12T18:42:27Z", "invitation_sent_at": "2020-05-12T18:42:27Z", "invitation_accepted_at": null}}, "name": "account.user_invitation_revoke", "actor": {"id": "88720", "entity": "user", "pretty": "xxxxxxxxxxxxxxxxx@xxxxxx.xxx"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "688bc70d-0e79-439a-bd2b-0d62cbfe56cc"} +{"data": {"account": {"id": 1111, "email": "xxxxx@xxxxxx.xxx", "created_at": "2012-03-16T16:02:54Z", "updated_at": "2020-05-10T18:11:03Z", "plan_identifier": "teams-v1-monthly"}, "account_invitation": {"id": 3522, "email": "xxxxxx@xxxxxx.xxx", "token": "be87d69b-a58a-43bd-9a21-aaf303829a60", "account_id": 1111, "created_at": "2020-05-12T18:42:27Z", "updated_at": "2020-05-12T18:42:27Z", "invitation_sent_at": "2020-05-12T18:42:27Z", "invitation_accepted_at": null}}, "name": "account.user_invitation_revoke", "actor": {"id": "88720", "entity": "user", "pretty": "xxxxxxxxxxxxxxxxx@xxxxxx.xxx"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "688bc70d-0e79-439a-bd2b-0d62cbfe56cc"} diff --git a/fixtures/v2/webhooks/account.user_invite/example.http b/fixtures/v2/webhooks/account.user_invite/example.http index 1b800307..4b19d545 100644 --- a/fixtures/v2/webhooks/account.user_invite/example.http +++ b/fixtures/v2/webhooks/account.user_invite/example.http @@ -10,4 +10,4 @@ Content-Length: 749 Via: 1.1 vegur Connection: close -{"data": {"account": {"id": 1111, "email": "xxxxx@xxxxxx.xxx", "created_at": "2012-03-16T16:02:54Z", "updated_at": "2020-05-10T18:11:03Z", "plan_identifier": "professional-v1-monthly"}, "account_invitation": {"id": 3523, "email": "xxxxxx@xxxxxx.xxx", "token": "eb5763dc-0f24-420b-b7f6-c7355c8b8309", "account_id": 1111, "created_at": "2020-05-12T18:42:44Z", "updated_at": "2020-05-12T18:42:44Z", "invitation_sent_at": "2020-05-12T18:42:44Z", "invitation_accepted_at": null}}, "name": "account.user_invite", "actor": {"id": "88720", "entity": "user", "pretty": "xxxxxxxxxxxxxxxxx@xxxxxx.xxx"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "f8f1ffa3-e49b-4ff0-a46a-41dd67094307"} +{"data": {"account": {"id": 1111, "email": "xxxxx@xxxxxx.xxx", "created_at": "2012-03-16T16:02:54Z", "updated_at": "2020-05-10T18:11:03Z", "plan_identifier": "teams-v1-monthly"}, "account_invitation": {"id": 3523, "email": "xxxxxx@xxxxxx.xxx", "token": "eb5763dc-0f24-420b-b7f6-c7355c8b8309", "account_id": 1111, "created_at": "2020-05-12T18:42:44Z", "updated_at": "2020-05-12T18:42:44Z", "invitation_sent_at": "2020-05-12T18:42:44Z", "invitation_accepted_at": null}}, "name": "account.user_invite", "actor": {"id": "88720", "entity": "user", "pretty": "xxxxxxxxxxxxxxxxx@xxxxxx.xxx"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "f8f1ffa3-e49b-4ff0-a46a-41dd67094307"} diff --git a/fixtures/v2/webhooks/account.user_remove/example.http b/fixtures/v2/webhooks/account.user_remove/example.http index 5661a0db..d29a861b 100644 --- a/fixtures/v2/webhooks/account.user_remove/example.http +++ b/fixtures/v2/webhooks/account.user_remove/example.http @@ -10,4 +10,4 @@ Via: 1.1 vegur Total-Route-Time: 0 Connection: close -{"data": {"user": {"id": 1120, "email": "xxxxxx@xxxxxx.xxx", "created_at": "2011-03-17T21:30:25Z", "updated_at": "2018-11-16T12:38:34Z"}, "account": {"id": 1111, "email": "xxxxx@xxxxxx.xxx", "created_at": "2012-03-16T16:02:54Z", "updated_at": "2020-05-10T18:11:03Z", "plan_identifier": "professional-v1-monthly"}}, "name": "account.user_remove", "actor": {"id": "88720", "entity": "user", "pretty": "xxxxxxxxxxxxxxxxx@xxxxxx.xxx"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "c60473f0-bbed-4858-84f9-5766c8227447"} +{"data": {"user": {"id": 1120, "email": "xxxxxx@xxxxxx.xxx", "created_at": "2011-03-17T21:30:25Z", "updated_at": "2018-11-16T12:38:34Z"}, "account": {"id": 1111, "email": "xxxxx@xxxxxx.xxx", "created_at": "2012-03-16T16:02:54Z", "updated_at": "2020-05-10T18:11:03Z", "plan_identifier": "teams-v1-monthly"}}, "name": "account.user_remove", "actor": {"id": "88720", "entity": "user", "pretty": "xxxxxxxxxxxxxxxxx@xxxxxx.xxx"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "c60473f0-bbed-4858-84f9-5766c8227447"} diff --git a/fixtures/v2/webhooks/subscription.renew/state-failed.http b/fixtures/v2/webhooks/subscription.renew/state-failed.http index 19f98ce4..0fd2b556 100644 --- a/fixtures/v2/webhooks/subscription.renew/state-failed.http +++ b/fixtures/v2/webhooks/subscription.renew/state-failed.http @@ -10,4 +10,4 @@ Accept-Encoding: gzip User-Agent: DNSimple-Webhook-Notifier/8b16040b4b0e3b18a84c6a300a85119cf638980a Connection: close -{"data": {"subscription": {"id": 11111, "state": "subscribed", "plan_name": "Professional", "created_at": "2018-12-20T13:40:26Z", "updated_at": "2019-04-06T08:57:01Z"}}, "name": "subscription.renew:failed", "actor": {"id": "system", "entity": "dnsimple", "pretty": "support@dnsimple.com"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "e08f7b64-81b2-454c-a090-ee012cbf2141"} +{"data": {"subscription": {"id": 11111, "state": "subscribed", "plan_name": "Teams", "created_at": "2018-12-20T13:40:26Z", "updated_at": "2019-04-06T08:57:01Z"}}, "name": "subscription.renew:failed", "actor": {"id": "system", "entity": "dnsimple", "pretty": "support@dnsimple.com"}, "account": {"id": 1111, "display": "xxxxxxxx", "identifier": "xxxxxxxx"}, "api_version": "v2", "request_identifier": "e08f7b64-81b2-454c-a090-ee012cbf2141"}