Skip to content

Commit d4d9e55

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): update via SDK Studio (#142)
1 parent e7abd85 commit d4d9e55

File tree

5 files changed

+26
-25
lines changed

5 files changed

+26
-25
lines changed

src/cloudflare/types/spectrum/app_create_params.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"DNS",
1111
"OriginDNS",
1212
"EdgeIPs",
13-
"EdgeIPsSpectrumEdgeIPEyeballIPsVariable",
14-
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable",
13+
"EdgeIPsSpectrumEdgeIPEyeballIPs",
14+
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPs",
1515
]
1616

1717

@@ -98,7 +98,7 @@ class OriginDNS(TypedDict, total=False):
9898
"""
9999

100100

101-
class EdgeIPsSpectrumEdgeIPEyeballIPsVariable(TypedDict, total=False):
101+
class EdgeIPsSpectrumEdgeIPEyeballIPs(TypedDict, total=False):
102102
connectivity: Literal["all", "ipv4", "ipv6"]
103103
"""The IP versions supported for inbound connections on Spectrum anycast IPs."""
104104

@@ -110,7 +110,7 @@ class EdgeIPsSpectrumEdgeIPEyeballIPsVariable(TypedDict, total=False):
110110
"""
111111

112112

113-
class EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable(TypedDict, total=False):
113+
class EdgeIPsSpectrumEdgeIPCustomerOwnedIPs(TypedDict, total=False):
114114
ips: List[str]
115115
"""
116116
The array of customer owned IPs we broadcast via anycast for this hostname and
@@ -125,4 +125,4 @@ class EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable(TypedDict, total=False):
125125
"""
126126

127127

128-
EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPsVariable, EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable]
128+
EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPs, EdgeIPsSpectrumEdgeIPCustomerOwnedIPs]

src/cloudflare/types/spectrum/app_create_response.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"AppCreateResponse",
1111
"DNS",
1212
"EdgeIPs",
13-
"EdgeIPsSpectrumEdgeIPEyeballIPsVariable",
14-
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable",
13+
"EdgeIPsSpectrumEdgeIPEyeballIPs",
14+
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPs",
1515
"OriginDNS",
1616
]
1717

@@ -24,7 +24,7 @@ class DNS(BaseModel):
2424
"""The type of DNS record associated with the application."""
2525

2626

27-
class EdgeIPsSpectrumEdgeIPEyeballIPsVariable(BaseModel):
27+
class EdgeIPsSpectrumEdgeIPEyeballIPs(BaseModel):
2828
connectivity: Optional[Literal["all", "ipv4", "ipv6"]] = None
2929
"""The IP versions supported for inbound connections on Spectrum anycast IPs."""
3030

@@ -36,7 +36,7 @@ class EdgeIPsSpectrumEdgeIPEyeballIPsVariable(BaseModel):
3636
"""
3737

3838

39-
class EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable(BaseModel):
39+
class EdgeIPsSpectrumEdgeIPCustomerOwnedIPs(BaseModel):
4040
ips: Optional[List[str]] = None
4141
"""
4242
The array of customer owned IPs we broadcast via anycast for this hostname and
@@ -51,7 +51,7 @@ class EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable(BaseModel):
5151
"""
5252

5353

54-
EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPsVariable, EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable]
54+
EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPs, EdgeIPsSpectrumEdgeIPCustomerOwnedIPs]
5555

5656

5757
class OriginDNS(BaseModel):

src/cloudflare/types/spectrum/app_update_params.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"DNS",
1111
"OriginDNS",
1212
"EdgeIPs",
13-
"EdgeIPsSpectrumEdgeIPEyeballIPsVariable",
14-
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable",
13+
"EdgeIPsSpectrumEdgeIPEyeballIPs",
14+
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPs",
1515
]
1616

1717

@@ -101,7 +101,7 @@ class OriginDNS(TypedDict, total=False):
101101
"""
102102

103103

104-
class EdgeIPsSpectrumEdgeIPEyeballIPsVariable(TypedDict, total=False):
104+
class EdgeIPsSpectrumEdgeIPEyeballIPs(TypedDict, total=False):
105105
connectivity: Literal["all", "ipv4", "ipv6"]
106106
"""The IP versions supported for inbound connections on Spectrum anycast IPs."""
107107

@@ -113,7 +113,7 @@ class EdgeIPsSpectrumEdgeIPEyeballIPsVariable(TypedDict, total=False):
113113
"""
114114

115115

116-
class EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable(TypedDict, total=False):
116+
class EdgeIPsSpectrumEdgeIPCustomerOwnedIPs(TypedDict, total=False):
117117
ips: List[str]
118118
"""
119119
The array of customer owned IPs we broadcast via anycast for this hostname and
@@ -128,4 +128,4 @@ class EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable(TypedDict, total=False):
128128
"""
129129

130130

131-
EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPsVariable, EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable]
131+
EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPs, EdgeIPsSpectrumEdgeIPCustomerOwnedIPs]

src/cloudflare/types/spectrum/app_update_response.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"AppUpdateResponse",
1111
"DNS",
1212
"EdgeIPs",
13-
"EdgeIPsSpectrumEdgeIPEyeballIPsVariable",
14-
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable",
13+
"EdgeIPsSpectrumEdgeIPEyeballIPs",
14+
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPs",
1515
"OriginDNS",
1616
]
1717

@@ -24,7 +24,7 @@ class DNS(BaseModel):
2424
"""The type of DNS record associated with the application."""
2525

2626

27-
class EdgeIPsSpectrumEdgeIPEyeballIPsVariable(BaseModel):
27+
class EdgeIPsSpectrumEdgeIPEyeballIPs(BaseModel):
2828
connectivity: Optional[Literal["all", "ipv4", "ipv6"]] = None
2929
"""The IP versions supported for inbound connections on Spectrum anycast IPs."""
3030

@@ -36,7 +36,7 @@ class EdgeIPsSpectrumEdgeIPEyeballIPsVariable(BaseModel):
3636
"""
3737

3838

39-
class EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable(BaseModel):
39+
class EdgeIPsSpectrumEdgeIPCustomerOwnedIPs(BaseModel):
4040
ips: Optional[List[str]] = None
4141
"""
4242
The array of customer owned IPs we broadcast via anycast for this hostname and
@@ -51,7 +51,7 @@ class EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable(BaseModel):
5151
"""
5252

5353

54-
EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPsVariable, EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable]
54+
EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPs, EdgeIPsSpectrumEdgeIPCustomerOwnedIPs]
5555

5656

5757
class OriginDNS(BaseModel):

src/cloudflare/types/workers/ai_run_params.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"BodySentenceSimilarity",
1616
"BodyTextEmbeddings",
1717
"BodyAudio",
18-
"BodyImage",
18+
"BodyWorkersAIImageClassification",
19+
"BodyWorkersAIBodyDetection",
1920
"BodyUnionMember10",
2021
"BodyUnionMember11",
2122
"BodyUnionMember11Message",
@@ -63,11 +64,11 @@ class BodyAudio(TypedDict, total=False):
6364
audio: Iterable[float]
6465

6566

66-
class BodyImage(TypedDict, total=False):
67+
class BodyWorkersAIImageClassification(TypedDict, total=False):
6768
image: Iterable[float]
6869

6970

70-
class BodyImage(TypedDict, total=False):
71+
class BodyWorkersAIBodyDetection(TypedDict, total=False):
7172
image: Iterable[float]
7273

7374

@@ -125,9 +126,9 @@ class BodyUnionMember15(TypedDict, total=False):
125126
FileTypes,
126127
BodyAudio,
127128
FileTypes,
128-
BodyImage,
129+
BodyWorkersAIImageClassification,
129130
FileTypes,
130-
BodyImage,
131+
BodyWorkersAIBodyDetection,
131132
BodyUnionMember10,
132133
BodyUnionMember11,
133134
BodyTranslation,

0 commit comments

Comments
 (0)