Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Mar 18, 2024
1 parent b805df7 commit 73c72e3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
24 changes: 12 additions & 12 deletions src/resources/spectrum/apps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export interface AppCreateResponse {
/**
* The anycast edge IP configuration for the hostname of this application.
*/
edge_ips?: AppCreateResponse.SpectrumEdgeIPEyeballIPs | AppCreateResponse.SpectrumEdgeIPCustomerOwnedIPs;
edge_ips?: AppCreateResponse.EyeballIPs | AppCreateResponse.CustomerOwnedIPs;

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

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

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

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

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

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

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

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

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

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

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

export interface SpectrumEdgeIPCustomerOwnedIPs {
export interface CustomerOwnedIPs {
/**
* The array of customer owned IPs we broadcast via anycast for this hostname and
* application.
Expand Down
8 changes: 4 additions & 4 deletions src/resources/workers/ai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ export interface AIRunParams {
| Uploadable
| AIRunParams.Audio
| Uploadable
| AIRunParams.WorkersAIImageClassification
| AIRunParams.ImageClassification
| Uploadable
| AIRunParams.WorkersAIBodyDetection
| AIRunParams.ObjectDetection
| AIRunParams.UnionMember10
| AIRunParams.UnionMember11
| AIRunParams.Translation
Expand Down Expand Up @@ -177,11 +177,11 @@ export namespace AIRunParams {
audio?: Array<number>;
}

export interface WorkersAIImageClassification {
export interface ImageClassification {
image?: Array<number>;
}

export interface WorkersAIBodyDetection {
export interface ObjectDetection {
image?: Array<number>;
}

Expand Down

0 comments on commit 73c72e3

Please sign in to comment.