Skip to content

Commit d2a77f2

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): OpenAPI spec update via Stainless API (#810)
1 parent 9d23770 commit d2a77f2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1335
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-9a251d357720416104482b5ef46e7fd51961fdaf6f3104d36b04f1bd51809cfb.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-4d641c65ec0fe43d3f8f3f2b13ec8ef70a7d9c4f4d2cb10679ccc140fdd143c3.yml

src/cloudflare/types/zero_trust/risk_scoring/behaviour_update_params.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from __future__ import annotations
44

5-
from typing import Dict, Optional
5+
from typing import Dict
66
from typing_extensions import Literal, Required, TypedDict
77

88
__all__ = ["BehaviourUpdateParams", "Behaviors"]
@@ -15,4 +15,4 @@ class BehaviourUpdateParams(TypedDict, total=False):
1515
class Behaviors(TypedDict, total=False):
1616
enabled: Required[bool]
1717

18-
risk_level: Required[Optional[Literal["low", "medium", "high"]]]
18+
risk_level: Required[Literal["low", "medium", "high"]]

src/cloudflare/types/zero_trust/risk_scoring/summary_get_response.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class User(BaseModel):
1616

1717
last_event: datetime
1818

19-
max_risk_level: Optional[Literal["low", "medium", "high"]] = None
19+
max_risk_level: Literal["low", "medium", "high"]
2020

2121
name: str
2222

src/cloudflare/types/zero_trust/risk_scoring_get_response.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Event(BaseModel):
1414

1515
name: str
1616

17-
risk_level: Optional[Literal["low", "medium", "high"]] = None
17+
risk_level: Literal["low", "medium", "high"]
1818

1919
timestamp: datetime
2020

0 commit comments

Comments
 (0)