Skip to content

Commit

Permalink
feat: OpenAPI spec update via Stainless API (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Mar 13, 2024
1 parent a992666 commit 7807ef7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cloudflare/types/page_shield/page_shield_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ class PageShieldScript(BaseModel):

added_at: Optional[object] = None

dataflow_score: Optional[object] = None

domain_reported_malicious: Optional[object] = None

fetched_at: Optional[object] = None
Expand All @@ -28,6 +30,8 @@ class PageShieldScript(BaseModel):

last_seen_at: Optional[object] = None

obfuscation_score: Optional[object] = None

page_urls: Optional[object] = None

url: Optional[object] = None
Expand Down
10 changes: 10 additions & 0 deletions src/cloudflare/types/page_shield/script_get_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@


class Version(BaseModel):
dataflow_score: Optional[int] = None
"""The dataflow score of the JavaScript content."""

fetched_at: Optional[str] = None
"""The timestamp of when the script was last fetched."""

Expand All @@ -17,12 +20,17 @@ class Version(BaseModel):
js_integrity_score: Optional[int] = None
"""The integrity score of the JavaScript content."""

obfuscation_score: Optional[int] = None
"""The obfuscation score of the JavaScript content."""


class ScriptGetResponse(BaseModel):
id: Optional[object] = None

added_at: Optional[object] = None

dataflow_score: Optional[object] = None

domain_reported_malicious: Optional[object] = None

fetched_at: Optional[object] = None
Expand All @@ -39,6 +47,8 @@ class ScriptGetResponse(BaseModel):

last_seen_at: Optional[object] = None

obfuscation_score: Optional[object] = None

page_urls: Optional[object] = None

url: Optional[object] = None
Expand Down

0 comments on commit 7807ef7

Please sign in to comment.