Skip to content

Commit

Permalink
feat: OpenAPI spec update via Stainless API (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Mar 7, 2024
1 parent c21db26 commit 8378402
Show file tree
Hide file tree
Showing 12 changed files with 153 additions and 153 deletions.
8 changes: 4 additions & 4 deletions src/resources/accounts/accounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ export namespace Account {
enforce_twofactor?: boolean;

/**
* Indicates whether new zones should use the account-level custom nameservers by
* default.
* @deprecated: Indicates whether new zones should use the account-level custom
* nameservers by default.
*
* Deprecated in favor of `default_nameservers`.
*/
Expand Down Expand Up @@ -166,8 +166,8 @@ export namespace AccountUpdateParams {
enforce_twofactor?: boolean;

/**
* Indicates whether new zones should use the account-level custom nameservers by
* default.
* @deprecated: Indicates whether new zones should use the account-level custom
* nameservers by default.
*
* Deprecated in favor of `default_nameservers`.
*/
Expand Down
6 changes: 3 additions & 3 deletions src/resources/custom-nameservers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export interface CustomNameserverCreateResponse {
ns_name: string;

/**
* Verification status of the nameserver.
* @deprecated: Verification status of the nameserver.
*/
status: 'moved' | 'pending' | 'verified';

Expand Down Expand Up @@ -148,7 +148,7 @@ export namespace CustomNameserverGetResponse {
ns_name: string;

/**
* Verification status of the nameserver.
* @deprecated: Verification status of the nameserver.
*/
status: 'moved' | 'pending' | 'verified';

Expand Down Expand Up @@ -197,7 +197,7 @@ export namespace CustomNameserverVerifyResponse {
ns_name: string;

/**
* Verification status of the nameserver.
* @deprecated: Verification status of the nameserver.
*/
status: 'moved' | 'pending' | 'verified';

Expand Down
20 changes: 10 additions & 10 deletions src/resources/dns/firewall/firewall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export interface FirewallCreateResponse {
negative_cache_ttl?: number | null;

/**
* Deprecated alias for "upstream_ips".
* @deprecated: Deprecated alias for "upstream_ips".
*/
origin_ips?: unknown;

Expand Down Expand Up @@ -172,7 +172,7 @@ export namespace FirewallCreateResponse {
enabled?: boolean;

/**
* Deprecated alias for "only_when_upstream_unhealthy".
* @deprecated: Deprecated alias for "only_when_upstream_unhealthy".
*/
only_when_origin_unhealthy?: unknown;

Expand Down Expand Up @@ -234,7 +234,7 @@ export interface FirewallListResponse {
negative_cache_ttl?: number | null;

/**
* Deprecated alias for "upstream_ips".
* @deprecated: Deprecated alias for "upstream_ips".
*/
origin_ips?: unknown;

Expand Down Expand Up @@ -263,7 +263,7 @@ export namespace FirewallListResponse {
enabled?: boolean;

/**
* Deprecated alias for "only_when_upstream_unhealthy".
* @deprecated: Deprecated alias for "only_when_upstream_unhealthy".
*/
only_when_origin_unhealthy?: unknown;

Expand Down Expand Up @@ -332,7 +332,7 @@ export interface FirewallEditResponse {
negative_cache_ttl?: number | null;

/**
* Deprecated alias for "upstream_ips".
* @deprecated: Deprecated alias for "upstream_ips".
*/
origin_ips?: unknown;

Expand Down Expand Up @@ -361,7 +361,7 @@ export namespace FirewallEditResponse {
enabled?: boolean;

/**
* Deprecated alias for "only_when_upstream_unhealthy".
* @deprecated: Deprecated alias for "only_when_upstream_unhealthy".
*/
only_when_origin_unhealthy?: unknown;

Expand Down Expand Up @@ -423,7 +423,7 @@ export interface FirewallGetResponse {
negative_cache_ttl?: number | null;

/**
* Deprecated alias for "upstream_ips".
* @deprecated: Deprecated alias for "upstream_ips".
*/
origin_ips?: unknown;

Expand Down Expand Up @@ -452,7 +452,7 @@ export namespace FirewallGetResponse {
enabled?: boolean;

/**
* Deprecated alias for "only_when_upstream_unhealthy".
* @deprecated: Deprecated alias for "only_when_upstream_unhealthy".
*/
only_when_origin_unhealthy?: unknown;

Expand Down Expand Up @@ -540,7 +540,7 @@ export namespace FirewallCreateParams {
enabled?: boolean;

/**
* Deprecated alias for "only_when_upstream_unhealthy".
* @deprecated: Deprecated alias for "only_when_upstream_unhealthy".
*/
only_when_origin_unhealthy?: unknown;

Expand Down Expand Up @@ -647,7 +647,7 @@ export namespace FirewallEditParams {
enabled?: boolean;

/**
* Deprecated alias for "only_when_upstream_unhealthy".
* @deprecated: Deprecated alias for "only_when_upstream_unhealthy".
*/
only_when_origin_unhealthy?: unknown;

Expand Down
Loading

0 comments on commit 8378402

Please sign in to comment.