Skip to content

Commit 94e12ac

Browse files
stainless-app[bot]stainless-bot
authored andcommittedNov 12, 2024·
feat(api): api update (#3595)
1 parent 72cb008 commit 94e12ac

File tree

92 files changed

+560
-2473
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+560
-2473
lines changed
 

‎.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1365
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-8ab175377b40ec09207fa70914e51f8bec9d6030f6f628635d56f4c3321d4809.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-4593529df2c582c5e4de92308af748d9f8abbca6c92fff7e99e08bd463b7271e.yml

‎accounts/account.go

+13-2
Original file line numberDiff line numberDiff line change
@@ -177,14 +177,18 @@ type AccountSettings struct {
177177
// See
178178
// [Custom Nameservers](https://developers.cloudflare.com/dns/additional-options/custom-nameservers/)
179179
// for more information.
180+
//
181+
// Deprecated in favor of
182+
// [DNS Settings](https://developers.cloudflare.com/api/operations/dns-settings-for-an-account-update-dns-settings).
180183
DefaultNameservers AccountSettingsDefaultNameservers `json:"default_nameservers"`
181184
// Indicates whether membership in this account requires that Two-Factor
182185
// Authentication is enabled
183186
EnforceTwofactor bool `json:"enforce_twofactor"`
184187
// Indicates whether new zones should use the account-level custom nameservers by
185188
// default.
186189
//
187-
// Deprecated in favor of `default_nameservers`.
190+
// Deprecated in favor of
191+
// [DNS Settings](https://developers.cloudflare.com/api/operations/dns-settings-for-an-account-update-dns-settings).
188192
UseAccountCustomNSByDefault bool `json:"use_account_custom_ns_by_default"`
189193
JSON accountSettingsJSON `json:"-"`
190194
}
@@ -217,6 +221,9 @@ func (r accountSettingsJSON) RawJSON() string {
217221
// See
218222
// [Custom Nameservers](https://developers.cloudflare.com/dns/additional-options/custom-nameservers/)
219223
// for more information.
224+
//
225+
// Deprecated in favor of
226+
// [DNS Settings](https://developers.cloudflare.com/api/operations/dns-settings-for-an-account-update-dns-settings).
220227
type AccountSettingsDefaultNameservers string
221228

222229
const (
@@ -258,14 +265,18 @@ type AccountSettingsParam struct {
258265
// See
259266
// [Custom Nameservers](https://developers.cloudflare.com/dns/additional-options/custom-nameservers/)
260267
// for more information.
268+
//
269+
// Deprecated in favor of
270+
// [DNS Settings](https://developers.cloudflare.com/api/operations/dns-settings-for-an-account-update-dns-settings).
261271
DefaultNameservers param.Field[AccountSettingsDefaultNameservers] `json:"default_nameservers"`
262272
// Indicates whether membership in this account requires that Two-Factor
263273
// Authentication is enabled
264274
EnforceTwofactor param.Field[bool] `json:"enforce_twofactor"`
265275
// Indicates whether new zones should use the account-level custom nameservers by
266276
// default.
267277
//
268-
// Deprecated in favor of `default_nameservers`.
278+
// Deprecated in favor of
279+
// [DNS Settings](https://developers.cloudflare.com/api/operations/dns-settings-for-an-account-update-dns-settings).
269280
UseAccountCustomNSByDefault param.Field[bool] `json:"use_account_custom_ns_by_default"`
270281
}
271282

0 commit comments

Comments
 (0)
Please sign in to comment.