Skip to content

Commit 02e825a

Browse files
feat(api): update via SDK Studio (#168)
1 parent a72f3ae commit 02e825a

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

src/resources/spectrum/apps.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export interface AppCreateResponse {
120120
/**
121121
* The anycast edge IP configuration for the hostname of this application.
122122
*/
123-
edge_ips?: AppCreateResponse.SpectrumEdgeIPEyeballIPs | AppCreateResponse.SpectrumEdgeIPCustomerOwnedIPs;
123+
edge_ips?: AppCreateResponse.EyeballIPs | AppCreateResponse.CustomerOwnedIPs;
124124

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

195-
export interface SpectrumEdgeIPEyeballIPs {
195+
export interface EyeballIPs {
196196
/**
197197
* The IP versions supported for inbound connections on Spectrum anycast IPs.
198198
*/
@@ -206,7 +206,7 @@ export namespace AppCreateResponse {
206206
type?: 'dynamic';
207207
}
208208

209-
export interface SpectrumEdgeIPCustomerOwnedIPs {
209+
export interface CustomerOwnedIPs {
210210
/**
211211
* The array of customer owned IPs we broadcast via anycast for this hostname and
212212
* application.
@@ -268,7 +268,7 @@ export interface AppUpdateResponse {
268268
/**
269269
* The anycast edge IP configuration for the hostname of this application.
270270
*/
271-
edge_ips?: AppUpdateResponse.SpectrumEdgeIPEyeballIPs | AppUpdateResponse.SpectrumEdgeIPCustomerOwnedIPs;
271+
edge_ips?: AppUpdateResponse.EyeballIPs | AppUpdateResponse.CustomerOwnedIPs;
272272

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

343-
export interface SpectrumEdgeIPEyeballIPs {
343+
export interface EyeballIPs {
344344
/**
345345
* The IP versions supported for inbound connections on Spectrum anycast IPs.
346346
*/
@@ -354,7 +354,7 @@ export namespace AppUpdateResponse {
354354
type?: 'dynamic';
355355
}
356356

357-
export interface SpectrumEdgeIPCustomerOwnedIPs {
357+
export interface CustomerOwnedIPs {
358358
/**
359359
* The array of customer owned IPs we broadcast via anycast for this hostname and
360360
* application.
@@ -437,7 +437,7 @@ export interface AppCreateParams {
437437
/**
438438
* The anycast edge IP configuration for the hostname of this application.
439439
*/
440-
edge_ips?: AppCreateParams.SpectrumEdgeIPEyeballIPs | AppCreateParams.SpectrumEdgeIPCustomerOwnedIPs;
440+
edge_ips?: AppCreateParams.EyeballIPs | AppCreateParams.CustomerOwnedIPs;
441441

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

508-
export interface SpectrumEdgeIPEyeballIPs {
508+
export interface EyeballIPs {
509509
/**
510510
* The IP versions supported for inbound connections on Spectrum anycast IPs.
511511
*/
@@ -519,7 +519,7 @@ export namespace AppCreateParams {
519519
type?: 'dynamic';
520520
}
521521

522-
export interface SpectrumEdgeIPCustomerOwnedIPs {
522+
export interface CustomerOwnedIPs {
523523
/**
524524
* The array of customer owned IPs we broadcast via anycast for this hostname and
525525
* application.
@@ -570,7 +570,7 @@ export interface AppUpdateParams {
570570
/**
571571
* The anycast edge IP configuration for the hostname of this application.
572572
*/
573-
edge_ips?: AppUpdateParams.SpectrumEdgeIPEyeballIPs | AppUpdateParams.SpectrumEdgeIPCustomerOwnedIPs;
573+
edge_ips?: AppUpdateParams.EyeballIPs | AppUpdateParams.CustomerOwnedIPs;
574574

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

641-
export interface SpectrumEdgeIPEyeballIPs {
641+
export interface EyeballIPs {
642642
/**
643643
* The IP versions supported for inbound connections on Spectrum anycast IPs.
644644
*/
@@ -652,7 +652,7 @@ export namespace AppUpdateParams {
652652
type?: 'dynamic';
653653
}
654654

655-
export interface SpectrumEdgeIPCustomerOwnedIPs {
655+
export interface CustomerOwnedIPs {
656656
/**
657657
* The array of customer owned IPs we broadcast via anycast for this hostname and
658658
* application.

src/resources/workers/ai.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ export interface AIRunParams {
133133
| Uploadable
134134
| AIRunParams.Audio
135135
| Uploadable
136-
| AIRunParams.WorkersAIImageClassification
136+
| AIRunParams.ImageClassification
137137
| Uploadable
138-
| AIRunParams.WorkersAIBodyDetection
138+
| AIRunParams.ObjectDetection
139139
| AIRunParams.UnionMember10
140140
| AIRunParams.UnionMember11
141141
| AIRunParams.Translation
@@ -177,11 +177,11 @@ export namespace AIRunParams {
177177
audio?: Array<number>;
178178
}
179179

180-
export interface WorkersAIImageClassification {
180+
export interface ImageClassification {
181181
image?: Array<number>;
182182
}
183183

184-
export interface WorkersAIBodyDetection {
184+
export interface ObjectDetection {
185185
image?: Array<number>;
186186
}
187187

0 commit comments

Comments
 (0)