Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Mar 18, 2024
1 parent 28515d5 commit 1f57aa1
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 25 deletions.
10 changes: 5 additions & 5 deletions src/cloudflare/types/spectrum/app_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"DNS",
"OriginDNS",
"EdgeIPs",
"EdgeIPsSpectrumEdgeIPEyeballIPsVariable",
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable",
"EdgeIPsSpectrumEdgeIPEyeballIPs",
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPs",
]


Expand Down Expand Up @@ -98,7 +98,7 @@ class OriginDNS(TypedDict, total=False):
"""


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

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


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


EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPsVariable, EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable]
EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPs, EdgeIPsSpectrumEdgeIPCustomerOwnedIPs]
10 changes: 5 additions & 5 deletions src/cloudflare/types/spectrum/app_create_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"AppCreateResponse",
"DNS",
"EdgeIPs",
"EdgeIPsSpectrumEdgeIPEyeballIPsVariable",
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable",
"EdgeIPsSpectrumEdgeIPEyeballIPs",
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPs",
"OriginDNS",
]

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


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

Expand All @@ -36,7 +36,7 @@ class EdgeIPsSpectrumEdgeIPEyeballIPsVariable(BaseModel):
"""


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


EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPsVariable, EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable]
EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPs, EdgeIPsSpectrumEdgeIPCustomerOwnedIPs]


class OriginDNS(BaseModel):
Expand Down
10 changes: 5 additions & 5 deletions src/cloudflare/types/spectrum/app_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"DNS",
"OriginDNS",
"EdgeIPs",
"EdgeIPsSpectrumEdgeIPEyeballIPsVariable",
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable",
"EdgeIPsSpectrumEdgeIPEyeballIPs",
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPs",
]


Expand Down Expand Up @@ -101,7 +101,7 @@ class OriginDNS(TypedDict, total=False):
"""


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

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


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


EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPsVariable, EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable]
EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPs, EdgeIPsSpectrumEdgeIPCustomerOwnedIPs]
10 changes: 5 additions & 5 deletions src/cloudflare/types/spectrum/app_update_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"AppUpdateResponse",
"DNS",
"EdgeIPs",
"EdgeIPsSpectrumEdgeIPEyeballIPsVariable",
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable",
"EdgeIPsSpectrumEdgeIPEyeballIPs",
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPs",
"OriginDNS",
]

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


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

Expand All @@ -36,7 +36,7 @@ class EdgeIPsSpectrumEdgeIPEyeballIPsVariable(BaseModel):
"""


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


EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPsVariable, EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable]
EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPs, EdgeIPsSpectrumEdgeIPCustomerOwnedIPs]


class OriginDNS(BaseModel):
Expand Down
11 changes: 6 additions & 5 deletions src/cloudflare/types/workers/ai_run_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"BodySentenceSimilarity",
"BodyTextEmbeddings",
"BodyAudio",
"BodyImage",
"BodyWorkersAIImageClassification",
"BodyWorkersAIBodyDetection",
"BodyUnionMember10",
"BodyUnionMember11",
"BodyUnionMember11Message",
Expand Down Expand Up @@ -63,11 +64,11 @@ class BodyAudio(TypedDict, total=False):
audio: Iterable[float]


class BodyImage(TypedDict, total=False):
class BodyWorkersAIImageClassification(TypedDict, total=False):
image: Iterable[float]


class BodyImage(TypedDict, total=False):
class BodyWorkersAIBodyDetection(TypedDict, total=False):
image: Iterable[float]


Expand Down Expand Up @@ -125,9 +126,9 @@ class BodyUnionMember15(TypedDict, total=False):
FileTypes,
BodyAudio,
FileTypes,
BodyImage,
BodyWorkersAIImageClassification,
FileTypes,
BodyImage,
BodyWorkersAIBodyDetection,
BodyUnionMember10,
BodyUnionMember11,
BodyTranslation,
Expand Down

0 comments on commit 1f57aa1

Please sign in to comment.