Skip to content

Commit

Permalink
feat: update via SDK Studio (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Feb 23, 2024
1 parent 108aa42 commit 3093455
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions src/resources/spectrum/apps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ export interface AppCreateResponse {
/**
* The anycast edge IP configuration for the hostname of this application.
*/
edge_ips?: AppCreateResponse.UnionMember0 | AppCreateResponse.SpectrumEdgeIPVariable;
edge_ips?:
| AppCreateResponse.SpectrumEdgeIPEyeballIPsVariable
| AppCreateResponse.SpectrumEdgeIPCustomerOwnedIPsVariable;

/**
* Enables IP Access Rules for this application. Notes: Only available for TCP
Expand Down Expand Up @@ -192,7 +194,7 @@ export namespace AppCreateResponse {
type?: 'CNAME' | 'ADDRESS';
}

export interface UnionMember0 {
export interface SpectrumEdgeIPEyeballIPsVariable {
/**
* The IP versions supported for inbound connections on Spectrum anycast IPs.
*/
Expand All @@ -206,7 +208,7 @@ export namespace AppCreateResponse {
type?: 'dynamic';
}

export interface SpectrumEdgeIPVariable {
export interface SpectrumEdgeIPCustomerOwnedIPsVariable {
/**
* The array of customer owned IPs we broadcast via anycast for this hostname and
* application.
Expand Down Expand Up @@ -268,7 +270,9 @@ export interface AppUpdateResponse {
/**
* The anycast edge IP configuration for the hostname of this application.
*/
edge_ips?: AppUpdateResponse.UnionMember0 | AppUpdateResponse.SpectrumEdgeIPVariable;
edge_ips?:
| AppUpdateResponse.SpectrumEdgeIPEyeballIPsVariable
| AppUpdateResponse.SpectrumEdgeIPCustomerOwnedIPsVariable;

/**
* Enables IP Access Rules for this application. Notes: Only available for TCP
Expand Down Expand Up @@ -340,7 +344,7 @@ export namespace AppUpdateResponse {
type?: 'CNAME' | 'ADDRESS';
}

export interface UnionMember0 {
export interface SpectrumEdgeIPEyeballIPsVariable {
/**
* The IP versions supported for inbound connections on Spectrum anycast IPs.
*/
Expand All @@ -354,7 +358,7 @@ export namespace AppUpdateResponse {
type?: 'dynamic';
}

export interface SpectrumEdgeIPVariable {
export interface SpectrumEdgeIPCustomerOwnedIPsVariable {
/**
* The array of customer owned IPs we broadcast via anycast for this hostname and
* application.
Expand Down Expand Up @@ -437,7 +441,9 @@ export interface AppCreateParams {
/**
* The anycast edge IP configuration for the hostname of this application.
*/
edge_ips?: AppCreateParams.UnionMember0 | AppCreateParams.SpectrumEdgeIPVariable;
edge_ips?:
| AppCreateParams.SpectrumEdgeIPEyeballIPsVariable
| AppCreateParams.SpectrumEdgeIPCustomerOwnedIPsVariable;

/**
* Enables IP Access Rules for this application. Notes: Only available for TCP
Expand Down Expand Up @@ -505,7 +511,7 @@ export namespace AppCreateParams {
type?: '' | 'A' | 'AAAA' | 'SRV';
}

export interface UnionMember0 {
export interface SpectrumEdgeIPEyeballIPsVariable {
/**
* The IP versions supported for inbound connections on Spectrum anycast IPs.
*/
Expand All @@ -519,7 +525,7 @@ export namespace AppCreateParams {
type?: 'dynamic';
}

export interface SpectrumEdgeIPVariable {
export interface SpectrumEdgeIPCustomerOwnedIPsVariable {
/**
* The array of customer owned IPs we broadcast via anycast for this hostname and
* application.
Expand Down Expand Up @@ -570,7 +576,9 @@ export interface AppUpdateParams {
/**
* The anycast edge IP configuration for the hostname of this application.
*/
edge_ips?: AppUpdateParams.UnionMember0 | AppUpdateParams.SpectrumEdgeIPVariable;
edge_ips?:
| AppUpdateParams.SpectrumEdgeIPEyeballIPsVariable
| AppUpdateParams.SpectrumEdgeIPCustomerOwnedIPsVariable;

/**
* Enables IP Access Rules for this application. Notes: Only available for TCP
Expand Down Expand Up @@ -638,7 +646,7 @@ export namespace AppUpdateParams {
type?: '' | 'A' | 'AAAA' | 'SRV';
}

export interface UnionMember0 {
export interface SpectrumEdgeIPEyeballIPsVariable {
/**
* The IP versions supported for inbound connections on Spectrum anycast IPs.
*/
Expand All @@ -652,7 +660,7 @@ export namespace AppUpdateParams {
type?: 'dynamic';
}

export interface SpectrumEdgeIPVariable {
export interface SpectrumEdgeIPCustomerOwnedIPsVariable {
/**
* The array of customer owned IPs we broadcast via anycast for this hostname and
* application.
Expand Down

0 comments on commit 3093455

Please sign in to comment.