Skip to content

Commit a72f3ae

Browse files
feat(api): update via SDK Studio (#166)
1 parent 37fa2f5 commit a72f3ae

File tree

2 files changed

+16
-24
lines changed

2 files changed

+16
-24
lines changed

src/resources/spectrum/apps.ts

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

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

197-
export interface SpectrumEdgeIPEyeballIPsVariable {
195+
export interface SpectrumEdgeIPEyeballIPs {
198196
/**
199197
* The IP versions supported for inbound connections on Spectrum anycast IPs.
200198
*/
@@ -208,7 +206,7 @@ export namespace AppCreateResponse {
208206
type?: 'dynamic';
209207
}
210208

211-
export interface SpectrumEdgeIPCustomerOwnedIPsVariable {
209+
export interface SpectrumEdgeIPCustomerOwnedIPs {
212210
/**
213211
* The array of customer owned IPs we broadcast via anycast for this hostname and
214212
* application.
@@ -270,9 +268,7 @@ export interface AppUpdateResponse {
270268
/**
271269
* The anycast edge IP configuration for the hostname of this application.
272270
*/
273-
edge_ips?:
274-
| AppUpdateResponse.SpectrumEdgeIPEyeballIPsVariable
275-
| AppUpdateResponse.SpectrumEdgeIPCustomerOwnedIPsVariable;
271+
edge_ips?: AppUpdateResponse.SpectrumEdgeIPEyeballIPs | AppUpdateResponse.SpectrumEdgeIPCustomerOwnedIPs;
276272

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

347-
export interface SpectrumEdgeIPEyeballIPsVariable {
343+
export interface SpectrumEdgeIPEyeballIPs {
348344
/**
349345
* The IP versions supported for inbound connections on Spectrum anycast IPs.
350346
*/
@@ -358,7 +354,7 @@ export namespace AppUpdateResponse {
358354
type?: 'dynamic';
359355
}
360356

361-
export interface SpectrumEdgeIPCustomerOwnedIPsVariable {
357+
export interface SpectrumEdgeIPCustomerOwnedIPs {
362358
/**
363359
* The array of customer owned IPs we broadcast via anycast for this hostname and
364360
* application.
@@ -441,9 +437,7 @@ export interface AppCreateParams {
441437
/**
442438
* The anycast edge IP configuration for the hostname of this application.
443439
*/
444-
edge_ips?:
445-
| AppCreateParams.SpectrumEdgeIPEyeballIPsVariable
446-
| AppCreateParams.SpectrumEdgeIPCustomerOwnedIPsVariable;
440+
edge_ips?: AppCreateParams.SpectrumEdgeIPEyeballIPs | AppCreateParams.SpectrumEdgeIPCustomerOwnedIPs;
447441

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

514-
export interface SpectrumEdgeIPEyeballIPsVariable {
508+
export interface SpectrumEdgeIPEyeballIPs {
515509
/**
516510
* The IP versions supported for inbound connections on Spectrum anycast IPs.
517511
*/
@@ -525,7 +519,7 @@ export namespace AppCreateParams {
525519
type?: 'dynamic';
526520
}
527521

528-
export interface SpectrumEdgeIPCustomerOwnedIPsVariable {
522+
export interface SpectrumEdgeIPCustomerOwnedIPs {
529523
/**
530524
* The array of customer owned IPs we broadcast via anycast for this hostname and
531525
* application.
@@ -576,9 +570,7 @@ export interface AppUpdateParams {
576570
/**
577571
* The anycast edge IP configuration for the hostname of this application.
578572
*/
579-
edge_ips?:
580-
| AppUpdateParams.SpectrumEdgeIPEyeballIPsVariable
581-
| AppUpdateParams.SpectrumEdgeIPCustomerOwnedIPsVariable;
573+
edge_ips?: AppUpdateParams.SpectrumEdgeIPEyeballIPs | AppUpdateParams.SpectrumEdgeIPCustomerOwnedIPs;
582574

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

649-
export interface SpectrumEdgeIPEyeballIPsVariable {
641+
export interface SpectrumEdgeIPEyeballIPs {
650642
/**
651643
* The IP versions supported for inbound connections on Spectrum anycast IPs.
652644
*/
@@ -660,7 +652,7 @@ export namespace AppUpdateParams {
660652
type?: 'dynamic';
661653
}
662654

663-
export interface SpectrumEdgeIPCustomerOwnedIPsVariable {
655+
export interface SpectrumEdgeIPCustomerOwnedIPs {
664656
/**
665657
* The array of customer owned IPs we broadcast via anycast for this hostname and
666658
* 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.Image
136+
| AIRunParams.WorkersAIImageClassification
137137
| Uploadable
138-
| AIRunParams.Image
138+
| AIRunParams.WorkersAIBodyDetection
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 Image {
180+
export interface WorkersAIImageClassification {
181181
image?: Array<number>;
182182
}
183183

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

0 commit comments

Comments
 (0)