From 73c72e367ab005516d28d0c5cb1e7e2f560e4d4d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 18 Mar 2024 20:48:25 +0000 Subject: [PATCH] feat(api): update via SDK Studio (#168) --- src/resources/spectrum/apps.ts | 24 ++++++++++++------------ src/resources/workers/ai.ts | 8 ++++---- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/resources/spectrum/apps.ts b/src/resources/spectrum/apps.ts index 354ab5fcef..8888aeeb11 100644 --- a/src/resources/spectrum/apps.ts +++ b/src/resources/spectrum/apps.ts @@ -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 @@ -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. */ @@ -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. @@ -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 @@ -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. */ @@ -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. @@ -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 @@ -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. */ @@ -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. @@ -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 @@ -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. */ @@ -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. diff --git a/src/resources/workers/ai.ts b/src/resources/workers/ai.ts index 18b90ea74e..5dd9fc32dd 100644 --- a/src/resources/workers/ai.ts +++ b/src/resources/workers/ai.ts @@ -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 @@ -177,11 +177,11 @@ export namespace AIRunParams { audio?: Array; } - export interface WorkersAIImageClassification { + export interface ImageClassification { image?: Array; } - export interface WorkersAIBodyDetection { + export interface ObjectDetection { image?: Array; }