Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): OpenAPI spec update via Stainless API #967

Merged
merged 1 commit into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1348
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-60eaec2f4029582531bbb45c66bb499e91203845eeeb3d507ae7ed5675a6bbe6.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-c5cb74975efe9667b51432b86c1468bc759577818f1ccf6058493344f433cb23.yml
10 changes: 10 additions & 0 deletions src/resources/accounts/accounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ export namespace Account {
* Account settings
*/
export interface Settings {
/**
* Sets an abuse contact email to notify for abuse reports.
*/
abuse_contact_email?: string;

/**
* Specifies the default nameservers to be used for new zones added to this
* account.
Expand Down Expand Up @@ -144,6 +149,11 @@ export namespace AccountUpdateParams {
* Account settings
*/
export interface Settings {
/**
* Sets an abuse contact email to notify for abuse reports.
*/
abuse_contact_email?: string;

/**
* Specifies the default nameservers to be used for new zones added to this
* account.
Expand Down
1 change: 1 addition & 0 deletions tests/api-resources/accounts/accounts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ describe('resource accounts', () => {
account_id: {},
name: 'Demo Account',
settings: {
abuse_contact_email: 'string',
default_nameservers: 'cloudflare.standard',
enforce_twofactor: true,
use_account_custom_ns_by_default: true,
Expand Down