Skip to content

Commit bc2a69b

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): OpenAPI spec update via Stainless API (#967)
1 parent ab5b744 commit bc2a69b

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1348
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-60eaec2f4029582531bbb45c66bb499e91203845eeeb3d507ae7ed5675a6bbe6.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-c5cb74975efe9667b51432b86c1468bc759577818f1ccf6058493344f433cb23.yml

src/resources/accounts/accounts.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ export namespace Account {
8686
* Account settings
8787
*/
8888
export interface Settings {
89+
/**
90+
* Sets an abuse contact email to notify for abuse reports.
91+
*/
92+
abuse_contact_email?: string;
93+
8994
/**
9095
* Specifies the default nameservers to be used for new zones added to this
9196
* account.
@@ -144,6 +149,11 @@ export namespace AccountUpdateParams {
144149
* Account settings
145150
*/
146151
export interface Settings {
152+
/**
153+
* Sets an abuse contact email to notify for abuse reports.
154+
*/
155+
abuse_contact_email?: string;
156+
147157
/**
148158
* Specifies the default nameservers to be used for new zones added to this
149159
* account.

tests/api-resources/accounts/accounts.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ describe('resource accounts', () => {
2626
account_id: {},
2727
name: 'Demo Account',
2828
settings: {
29+
abuse_contact_email: 'string',
2930
default_nameservers: 'cloudflare.standard',
3031
enforce_twofactor: true,
3132
use_account_custom_ns_by_default: true,

0 commit comments

Comments
 (0)