mirror of
https://github.com/cloudflare/cloudflare-python.git
synced 2026-01-16 23:01:03 +00:00
feat(api): OpenAPI spec update via Stainless API (#1168)
This commit is contained in:
parent
e78475a10e
commit
bce89ebcd9
270 changed files with 2300 additions and 9712 deletions
|
|
@ -1,2 +1,2 @@
|
|||
configured_endpoints: 1254
|
||||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-1c4b189384dd6c53416271abb9b2fe109b44c1ddbb06d3d892e56457bbe0af70.yml
|
||||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-57d5393f478118c0b972617567a66d66ffd64916fddd3f2328cd012671a12860.yml
|
||||
|
|
|
|||
|
|
@ -46,24 +46,7 @@ class OutagesResource(SyncAPIResource):
|
|||
*,
|
||||
asn: int | NotGiven = NOT_GIVEN,
|
||||
date_end: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
date_range: Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: str | NotGiven = NOT_GIVEN,
|
||||
date_start: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -134,24 +117,7 @@ class OutagesResource(SyncAPIResource):
|
|||
self,
|
||||
*,
|
||||
date_end: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
date_range: Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: str | NotGiven = NOT_GIVEN,
|
||||
date_start: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -222,24 +188,7 @@ class AsyncOutagesResource(AsyncAPIResource):
|
|||
*,
|
||||
asn: int | NotGiven = NOT_GIVEN,
|
||||
date_end: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
date_range: Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: str | NotGiven = NOT_GIVEN,
|
||||
date_start: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -310,24 +259,7 @@ class AsyncOutagesResource(AsyncAPIResource):
|
|||
self,
|
||||
*,
|
||||
date_end: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
date_range: Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: str | NotGiven = NOT_GIVEN,
|
||||
date_start: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -83,26 +83,7 @@ class AS112Resource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -209,26 +190,7 @@ class AsyncAS112Resource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -58,26 +58,7 @@ class SummaryResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -156,26 +137,7 @@ class SummaryResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -254,26 +216,7 @@ class SummaryResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -352,26 +295,7 @@ class SummaryResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -450,26 +374,7 @@ class SummaryResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -548,26 +453,7 @@ class SummaryResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -656,26 +542,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -754,26 +621,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -852,26 +700,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -950,26 +779,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1048,26 +858,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1146,26 +937,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -59,26 +59,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -163,26 +144,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -267,26 +229,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -371,26 +314,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -475,26 +399,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -579,26 +484,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -696,26 +582,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -800,26 +667,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -904,26 +752,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1008,26 +837,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1112,26 +922,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1216,26 +1007,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -50,26 +50,7 @@ class TopResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -157,26 +138,7 @@ class TopResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -264,26 +226,7 @@ class TopResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -370,26 +313,7 @@ class TopResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -485,26 +409,7 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -592,26 +497,7 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -699,26 +585,7 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -805,26 +672,7 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -84,26 +84,7 @@ class Layer3Resource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -232,26 +213,7 @@ class AsyncLayer3Resource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -57,26 +57,7 @@ class SummaryResource(SyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -162,26 +143,7 @@ class SummaryResource(SyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -268,26 +230,7 @@ class SummaryResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -366,26 +309,7 @@ class SummaryResource(SyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -467,26 +391,7 @@ class SummaryResource(SyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -568,26 +473,7 @@ class SummaryResource(SyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -683,26 +569,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -788,26 +655,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -894,26 +742,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -992,26 +821,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1093,26 +903,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1194,26 +985,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -62,26 +62,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -178,26 +159,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -295,26 +257,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -399,26 +342,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -427,6 +351,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
name: List[str] | NotGiven = NOT_GIVEN,
|
||||
normalization: Literal["PERCENTAGE", "MIN0_MAX"] | NotGiven = NOT_GIVEN,
|
||||
protocol: List[Literal["UDP", "TCP", "ICMP", "GRE"]] | NotGiven = NOT_GIVEN,
|
||||
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
||||
# The extra values given here take precedence over values defined on the client or passed to this method.
|
||||
extra_headers: Headers | None = None,
|
||||
|
|
@ -473,6 +398,8 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
normalization: Normalization method applied. Refer to
|
||||
[Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).
|
||||
|
||||
protocol: Array of L3/4 attack types.
|
||||
|
||||
extra_headers: Send extra headers
|
||||
|
||||
extra_query: Add additional query parameters to the request
|
||||
|
|
@ -502,6 +429,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
"location": location,
|
||||
"name": name,
|
||||
"normalization": normalization,
|
||||
"protocol": protocol,
|
||||
},
|
||||
timeseries_group_industry_params.TimeseriesGroupIndustryParams,
|
||||
),
|
||||
|
|
@ -516,26 +444,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -628,26 +537,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -740,26 +630,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -861,26 +732,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -889,6 +741,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
name: List[str] | NotGiven = NOT_GIVEN,
|
||||
normalization: Literal["PERCENTAGE", "MIN0_MAX"] | NotGiven = NOT_GIVEN,
|
||||
protocol: List[Literal["UDP", "TCP", "ICMP", "GRE"]] | NotGiven = NOT_GIVEN,
|
||||
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
||||
# The extra values given here take precedence over values defined on the client or passed to this method.
|
||||
extra_headers: Headers | None = None,
|
||||
|
|
@ -935,6 +788,8 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
normalization: Normalization method applied. Refer to
|
||||
[Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).
|
||||
|
||||
protocol: Array of L3/4 attack types.
|
||||
|
||||
extra_headers: Send extra headers
|
||||
|
||||
extra_query: Add additional query parameters to the request
|
||||
|
|
@ -964,6 +819,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
"location": location,
|
||||
"name": name,
|
||||
"normalization": normalization,
|
||||
"protocol": protocol,
|
||||
},
|
||||
timeseries_group_vertical_params.TimeseriesGroupVerticalParams,
|
||||
),
|
||||
|
|
@ -988,26 +844,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1104,26 +941,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1221,26 +1039,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1325,26 +1124,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1353,6 +1133,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
name: List[str] | NotGiven = NOT_GIVEN,
|
||||
normalization: Literal["PERCENTAGE", "MIN0_MAX"] | NotGiven = NOT_GIVEN,
|
||||
protocol: List[Literal["UDP", "TCP", "ICMP", "GRE"]] | NotGiven = NOT_GIVEN,
|
||||
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
||||
# The extra values given here take precedence over values defined on the client or passed to this method.
|
||||
extra_headers: Headers | None = None,
|
||||
|
|
@ -1399,6 +1180,8 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
normalization: Normalization method applied. Refer to
|
||||
[Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).
|
||||
|
||||
protocol: Array of L3/4 attack types.
|
||||
|
||||
extra_headers: Send extra headers
|
||||
|
||||
extra_query: Add additional query parameters to the request
|
||||
|
|
@ -1428,6 +1211,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
"location": location,
|
||||
"name": name,
|
||||
"normalization": normalization,
|
||||
"protocol": protocol,
|
||||
},
|
||||
timeseries_group_industry_params.TimeseriesGroupIndustryParams,
|
||||
),
|
||||
|
|
@ -1442,26 +1226,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1554,26 +1319,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1666,26 +1412,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1787,26 +1514,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1815,6 +1523,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
name: List[str] | NotGiven = NOT_GIVEN,
|
||||
normalization: Literal["PERCENTAGE", "MIN0_MAX"] | NotGiven = NOT_GIVEN,
|
||||
protocol: List[Literal["UDP", "TCP", "ICMP", "GRE"]] | NotGiven = NOT_GIVEN,
|
||||
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
||||
# The extra values given here take precedence over values defined on the client or passed to this method.
|
||||
extra_headers: Headers | None = None,
|
||||
|
|
@ -1861,6 +1570,8 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
normalization: Normalization method applied. Refer to
|
||||
[Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).
|
||||
|
||||
protocol: Array of L3/4 attack types.
|
||||
|
||||
extra_headers: Send extra headers
|
||||
|
||||
extra_query: Add additional query parameters to the request
|
||||
|
|
@ -1890,6 +1601,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
"location": location,
|
||||
"name": name,
|
||||
"normalization": normalization,
|
||||
"protocol": protocol,
|
||||
},
|
||||
timeseries_group_vertical_params.TimeseriesGroupVerticalParams,
|
||||
),
|
||||
|
|
|
|||
|
|
@ -46,26 +46,7 @@ class LocationsResource(SyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -150,26 +131,7 @@ class LocationsResource(SyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -264,26 +226,7 @@ class AsyncLocationsResource(AsyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -368,26 +311,7 @@ class AsyncLocationsResource(AsyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -59,26 +59,7 @@ class TopResource(SyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -183,26 +164,7 @@ class TopResource(SyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -287,26 +249,7 @@ class TopResource(SyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -405,26 +348,7 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -529,26 +453,7 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -633,26 +538,7 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -90,29 +90,69 @@ class Layer7Resource(SyncAPIResource):
|
|||
| NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
"GET",
|
||||
"POST",
|
||||
"DELETE",
|
||||
"PUT",
|
||||
"HEAD",
|
||||
"PURGE",
|
||||
"OPTIONS",
|
||||
"PROPFIND",
|
||||
"MKCOL",
|
||||
"PATCH",
|
||||
"ACL",
|
||||
"BCOPY",
|
||||
"BDELETE",
|
||||
"BMOVE",
|
||||
"BPROPFIND",
|
||||
"BPROPPATCH",
|
||||
"CHECKIN",
|
||||
"CHECKOUT",
|
||||
"CONNECT",
|
||||
"COPY",
|
||||
"LABEL",
|
||||
"LOCK",
|
||||
"MERGE",
|
||||
"MKACTIVITY",
|
||||
"MKWORKSPACE",
|
||||
"MOVE",
|
||||
"NOTIFY",
|
||||
"ORDERPATCH",
|
||||
"POLL",
|
||||
"PROPPATCH",
|
||||
"REPORT",
|
||||
"SEARCH",
|
||||
"SUBSCRIBE",
|
||||
"TRACE",
|
||||
"UNCHECKOUT",
|
||||
"UNLOCK",
|
||||
"UNSUBSCRIBE",
|
||||
"UPDATE",
|
||||
"VERSIONCONTROL",
|
||||
"BASELINECONTROL",
|
||||
"XMSENUMATTS",
|
||||
"RPC_OUT_DATA",
|
||||
"RPC_IN_DATA",
|
||||
"JSON",
|
||||
"COOK",
|
||||
"TRACK",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
mitigation_product: List[
|
||||
Literal[
|
||||
"DDOS", "WAF", "BOT_MANAGEMENT", "ACCESS_RULES", "IP_REPUTATION", "API_SHIELD", "DATA_LOSS_PREVENTION"
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
name: List[str] | NotGiven = NOT_GIVEN,
|
||||
normalization: Literal["PERCENTAGE_CHANGE", "MIN0_MAX"] | NotGiven = NOT_GIVEN,
|
||||
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
||||
|
|
@ -136,7 +176,7 @@ class Layer7Resource(SyncAPIResource):
|
|||
For example, `-174, 3356` excludes results from AS174, but includes results from
|
||||
AS3356.
|
||||
|
||||
attack: Array of L7 attack types.
|
||||
attack: This field is deprecated, please use the new `mitigationProduct`.
|
||||
|
||||
continent: Array of comma separated list of continents (alpha-2 continent codes). Start
|
||||
with `-` to exclude from results. For example, `-EU,NA` excludes results from
|
||||
|
|
@ -152,10 +192,18 @@ class Layer7Resource(SyncAPIResource):
|
|||
|
||||
format: Format results are returned in.
|
||||
|
||||
http_method: Filter for http method.
|
||||
|
||||
http_version: Filter for http version.
|
||||
|
||||
ip_version: Filter for ip version.
|
||||
|
||||
location: Array of comma separated list of locations (alpha-2 country codes). Start with
|
||||
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
|
||||
but includes results from PT.
|
||||
|
||||
mitigation_product: Array of L7 mitigation products.
|
||||
|
||||
name: Array of names that will be used to name the series in responses.
|
||||
|
||||
normalization: Normalization method applied. Refer to
|
||||
|
|
@ -186,7 +234,11 @@ class Layer7Resource(SyncAPIResource):
|
|||
"date_range": date_range,
|
||||
"date_start": date_start,
|
||||
"format": format,
|
||||
"http_method": http_method,
|
||||
"http_version": http_version,
|
||||
"ip_version": ip_version,
|
||||
"location": location,
|
||||
"mitigation_product": mitigation_product,
|
||||
"name": name,
|
||||
"normalization": normalization,
|
||||
},
|
||||
|
|
@ -232,29 +284,69 @@ class AsyncLayer7Resource(AsyncAPIResource):
|
|||
| NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
"GET",
|
||||
"POST",
|
||||
"DELETE",
|
||||
"PUT",
|
||||
"HEAD",
|
||||
"PURGE",
|
||||
"OPTIONS",
|
||||
"PROPFIND",
|
||||
"MKCOL",
|
||||
"PATCH",
|
||||
"ACL",
|
||||
"BCOPY",
|
||||
"BDELETE",
|
||||
"BMOVE",
|
||||
"BPROPFIND",
|
||||
"BPROPPATCH",
|
||||
"CHECKIN",
|
||||
"CHECKOUT",
|
||||
"CONNECT",
|
||||
"COPY",
|
||||
"LABEL",
|
||||
"LOCK",
|
||||
"MERGE",
|
||||
"MKACTIVITY",
|
||||
"MKWORKSPACE",
|
||||
"MOVE",
|
||||
"NOTIFY",
|
||||
"ORDERPATCH",
|
||||
"POLL",
|
||||
"PROPPATCH",
|
||||
"REPORT",
|
||||
"SEARCH",
|
||||
"SUBSCRIBE",
|
||||
"TRACE",
|
||||
"UNCHECKOUT",
|
||||
"UNLOCK",
|
||||
"UNSUBSCRIBE",
|
||||
"UPDATE",
|
||||
"VERSIONCONTROL",
|
||||
"BASELINECONTROL",
|
||||
"XMSENUMATTS",
|
||||
"RPC_OUT_DATA",
|
||||
"RPC_IN_DATA",
|
||||
"JSON",
|
||||
"COOK",
|
||||
"TRACK",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
mitigation_product: List[
|
||||
Literal[
|
||||
"DDOS", "WAF", "BOT_MANAGEMENT", "ACCESS_RULES", "IP_REPUTATION", "API_SHIELD", "DATA_LOSS_PREVENTION"
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
name: List[str] | NotGiven = NOT_GIVEN,
|
||||
normalization: Literal["PERCENTAGE_CHANGE", "MIN0_MAX"] | NotGiven = NOT_GIVEN,
|
||||
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
||||
|
|
@ -278,7 +370,7 @@ class AsyncLayer7Resource(AsyncAPIResource):
|
|||
For example, `-174, 3356` excludes results from AS174, but includes results from
|
||||
AS3356.
|
||||
|
||||
attack: Array of L7 attack types.
|
||||
attack: This field is deprecated, please use the new `mitigationProduct`.
|
||||
|
||||
continent: Array of comma separated list of continents (alpha-2 continent codes). Start
|
||||
with `-` to exclude from results. For example, `-EU,NA` excludes results from
|
||||
|
|
@ -294,10 +386,18 @@ class AsyncLayer7Resource(AsyncAPIResource):
|
|||
|
||||
format: Format results are returned in.
|
||||
|
||||
http_method: Filter for http method.
|
||||
|
||||
http_version: Filter for http version.
|
||||
|
||||
ip_version: Filter for ip version.
|
||||
|
||||
location: Array of comma separated list of locations (alpha-2 country codes). Start with
|
||||
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
|
||||
but includes results from PT.
|
||||
|
||||
mitigation_product: Array of L7 mitigation products.
|
||||
|
||||
name: Array of names that will be used to name the series in responses.
|
||||
|
||||
normalization: Normalization method applied. Refer to
|
||||
|
|
@ -328,7 +428,11 @@ class AsyncLayer7Resource(AsyncAPIResource):
|
|||
"date_range": date_range,
|
||||
"date_start": date_start,
|
||||
"format": format,
|
||||
"http_method": http_method,
|
||||
"http_version": http_version,
|
||||
"ip_version": ip_version,
|
||||
"location": location,
|
||||
"mitigation_product": mitigation_product,
|
||||
"name": name,
|
||||
"normalization": normalization,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -58,26 +58,7 @@ class SummaryResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -156,26 +137,7 @@ class SummaryResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -271,26 +233,7 @@ class SummaryResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
|
|
@ -436,26 +379,7 @@ class SummaryResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
|
|
@ -601,26 +525,7 @@ class SummaryResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
|
|
@ -770,26 +675,7 @@ class SummaryResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
|
|
@ -940,26 +826,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1038,26 +905,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1153,26 +1001,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
|
|
@ -1318,26 +1147,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
|
|
@ -1483,26 +1293,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
|
|
@ -1652,26 +1443,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
|
|
|
|||
|
|
@ -65,26 +65,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -170,26 +151,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -296,26 +258,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
|
|
@ -472,26 +415,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
|
|
@ -657,26 +581,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
|
|
@ -833,26 +738,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
|
|
@ -1013,26 +899,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
|
|
@ -1186,26 +1053,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
|
|
@ -1381,26 +1229,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1486,26 +1315,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1612,26 +1422,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
|
|
@ -1788,26 +1579,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
|
|
@ -1973,26 +1745,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
|
|
@ -2149,26 +1902,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
|
|
@ -2329,26 +2063,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
|
|
@ -2502,26 +2217,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
|
|
|
|||
|
|
@ -45,30 +45,70 @@ class AsesResource(SyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
"GET",
|
||||
"POST",
|
||||
"DELETE",
|
||||
"PUT",
|
||||
"HEAD",
|
||||
"PURGE",
|
||||
"OPTIONS",
|
||||
"PROPFIND",
|
||||
"MKCOL",
|
||||
"PATCH",
|
||||
"ACL",
|
||||
"BCOPY",
|
||||
"BDELETE",
|
||||
"BMOVE",
|
||||
"BPROPFIND",
|
||||
"BPROPPATCH",
|
||||
"CHECKIN",
|
||||
"CHECKOUT",
|
||||
"CONNECT",
|
||||
"COPY",
|
||||
"LABEL",
|
||||
"LOCK",
|
||||
"MERGE",
|
||||
"MKACTIVITY",
|
||||
"MKWORKSPACE",
|
||||
"MOVE",
|
||||
"NOTIFY",
|
||||
"ORDERPATCH",
|
||||
"POLL",
|
||||
"PROPPATCH",
|
||||
"REPORT",
|
||||
"SEARCH",
|
||||
"SUBSCRIBE",
|
||||
"TRACE",
|
||||
"UNCHECKOUT",
|
||||
"UNLOCK",
|
||||
"UNSUBSCRIBE",
|
||||
"UPDATE",
|
||||
"VERSIONCONTROL",
|
||||
"BASELINECONTROL",
|
||||
"XMSENUMATTS",
|
||||
"RPC_OUT_DATA",
|
||||
"RPC_IN_DATA",
|
||||
"JSON",
|
||||
"COOK",
|
||||
"TRACK",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
mitigation_product: List[
|
||||
Literal[
|
||||
"DDOS", "WAF", "BOT_MANAGEMENT", "ACCESS_RULES", "IP_REPUTATION", "API_SHIELD", "DATA_LOSS_PREVENTION"
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
name: List[str] | NotGiven = NOT_GIVEN,
|
||||
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
||||
# The extra values given here take precedence over values defined on the client or passed to this method.
|
||||
|
|
@ -98,12 +138,20 @@ class AsesResource(SyncAPIResource):
|
|||
|
||||
format: Format results are returned in.
|
||||
|
||||
http_method: Filter for http method.
|
||||
|
||||
http_version: Filter for http version.
|
||||
|
||||
ip_version: Filter for ip version.
|
||||
|
||||
limit: Limit the number of objects in the response.
|
||||
|
||||
location: Array of comma separated list of locations (alpha-2 country codes). Start with
|
||||
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
|
||||
but includes results from PT.
|
||||
|
||||
mitigation_product: Array of L7 mitigation products.
|
||||
|
||||
name: Array of names that will be used to name the series in responses.
|
||||
|
||||
extra_headers: Send extra headers
|
||||
|
|
@ -128,8 +176,12 @@ class AsesResource(SyncAPIResource):
|
|||
"date_range": date_range,
|
||||
"date_start": date_start,
|
||||
"format": format,
|
||||
"http_method": http_method,
|
||||
"http_version": http_version,
|
||||
"ip_version": ip_version,
|
||||
"limit": limit,
|
||||
"location": location,
|
||||
"mitigation_product": mitigation_product,
|
||||
"name": name,
|
||||
},
|
||||
ase_origin_params.AseOriginParams,
|
||||
|
|
@ -154,30 +206,70 @@ class AsyncAsesResource(AsyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
"GET",
|
||||
"POST",
|
||||
"DELETE",
|
||||
"PUT",
|
||||
"HEAD",
|
||||
"PURGE",
|
||||
"OPTIONS",
|
||||
"PROPFIND",
|
||||
"MKCOL",
|
||||
"PATCH",
|
||||
"ACL",
|
||||
"BCOPY",
|
||||
"BDELETE",
|
||||
"BMOVE",
|
||||
"BPROPFIND",
|
||||
"BPROPPATCH",
|
||||
"CHECKIN",
|
||||
"CHECKOUT",
|
||||
"CONNECT",
|
||||
"COPY",
|
||||
"LABEL",
|
||||
"LOCK",
|
||||
"MERGE",
|
||||
"MKACTIVITY",
|
||||
"MKWORKSPACE",
|
||||
"MOVE",
|
||||
"NOTIFY",
|
||||
"ORDERPATCH",
|
||||
"POLL",
|
||||
"PROPPATCH",
|
||||
"REPORT",
|
||||
"SEARCH",
|
||||
"SUBSCRIBE",
|
||||
"TRACE",
|
||||
"UNCHECKOUT",
|
||||
"UNLOCK",
|
||||
"UNSUBSCRIBE",
|
||||
"UPDATE",
|
||||
"VERSIONCONTROL",
|
||||
"BASELINECONTROL",
|
||||
"XMSENUMATTS",
|
||||
"RPC_OUT_DATA",
|
||||
"RPC_IN_DATA",
|
||||
"JSON",
|
||||
"COOK",
|
||||
"TRACK",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
mitigation_product: List[
|
||||
Literal[
|
||||
"DDOS", "WAF", "BOT_MANAGEMENT", "ACCESS_RULES", "IP_REPUTATION", "API_SHIELD", "DATA_LOSS_PREVENTION"
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
name: List[str] | NotGiven = NOT_GIVEN,
|
||||
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
||||
# The extra values given here take precedence over values defined on the client or passed to this method.
|
||||
|
|
@ -207,12 +299,20 @@ class AsyncAsesResource(AsyncAPIResource):
|
|||
|
||||
format: Format results are returned in.
|
||||
|
||||
http_method: Filter for http method.
|
||||
|
||||
http_version: Filter for http version.
|
||||
|
||||
ip_version: Filter for ip version.
|
||||
|
||||
limit: Limit the number of objects in the response.
|
||||
|
||||
location: Array of comma separated list of locations (alpha-2 country codes). Start with
|
||||
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
|
||||
but includes results from PT.
|
||||
|
||||
mitigation_product: Array of L7 mitigation products.
|
||||
|
||||
name: Array of names that will be used to name the series in responses.
|
||||
|
||||
extra_headers: Send extra headers
|
||||
|
|
@ -237,8 +337,12 @@ class AsyncAsesResource(AsyncAPIResource):
|
|||
"date_range": date_range,
|
||||
"date_start": date_start,
|
||||
"format": format,
|
||||
"http_method": http_method,
|
||||
"http_version": http_version,
|
||||
"ip_version": ip_version,
|
||||
"limit": limit,
|
||||
"location": location,
|
||||
"mitigation_product": mitigation_product,
|
||||
"name": name,
|
||||
},
|
||||
ase_origin_params.AseOriginParams,
|
||||
|
|
|
|||
|
|
@ -47,29 +47,69 @@ class LocationsResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
"GET",
|
||||
"POST",
|
||||
"DELETE",
|
||||
"PUT",
|
||||
"HEAD",
|
||||
"PURGE",
|
||||
"OPTIONS",
|
||||
"PROPFIND",
|
||||
"MKCOL",
|
||||
"PATCH",
|
||||
"ACL",
|
||||
"BCOPY",
|
||||
"BDELETE",
|
||||
"BMOVE",
|
||||
"BPROPFIND",
|
||||
"BPROPPATCH",
|
||||
"CHECKIN",
|
||||
"CHECKOUT",
|
||||
"CONNECT",
|
||||
"COPY",
|
||||
"LABEL",
|
||||
"LOCK",
|
||||
"MERGE",
|
||||
"MKACTIVITY",
|
||||
"MKWORKSPACE",
|
||||
"MOVE",
|
||||
"NOTIFY",
|
||||
"ORDERPATCH",
|
||||
"POLL",
|
||||
"PROPPATCH",
|
||||
"REPORT",
|
||||
"SEARCH",
|
||||
"SUBSCRIBE",
|
||||
"TRACE",
|
||||
"UNCHECKOUT",
|
||||
"UNLOCK",
|
||||
"UNSUBSCRIBE",
|
||||
"UPDATE",
|
||||
"VERSIONCONTROL",
|
||||
"BASELINECONTROL",
|
||||
"XMSENUMATTS",
|
||||
"RPC_OUT_DATA",
|
||||
"RPC_IN_DATA",
|
||||
"JSON",
|
||||
"COOK",
|
||||
"TRACK",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
mitigation_product: List[
|
||||
Literal[
|
||||
"DDOS", "WAF", "BOT_MANAGEMENT", "ACCESS_RULES", "IP_REPUTATION", "API_SHIELD", "DATA_LOSS_PREVENTION"
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
name: List[str] | NotGiven = NOT_GIVEN,
|
||||
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
||||
# The extra values given here take precedence over values defined on the client or passed to this method.
|
||||
|
|
@ -103,8 +143,16 @@ class LocationsResource(SyncAPIResource):
|
|||
|
||||
format: Format results are returned in.
|
||||
|
||||
http_method: Filter for http method.
|
||||
|
||||
http_version: Filter for http version.
|
||||
|
||||
ip_version: Filter for ip version.
|
||||
|
||||
limit: Limit the number of objects in the response.
|
||||
|
||||
mitigation_product: Array of L7 mitigation products.
|
||||
|
||||
name: Array of names that will be used to name the series in responses.
|
||||
|
||||
extra_headers: Send extra headers
|
||||
|
|
@ -130,7 +178,11 @@ class LocationsResource(SyncAPIResource):
|
|||
"date_range": date_range,
|
||||
"date_start": date_start,
|
||||
"format": format,
|
||||
"http_method": http_method,
|
||||
"http_version": http_version,
|
||||
"ip_version": ip_version,
|
||||
"limit": limit,
|
||||
"mitigation_product": mitigation_product,
|
||||
"name": name,
|
||||
},
|
||||
location_origin_params.LocationOriginParams,
|
||||
|
|
@ -145,29 +197,69 @@ class LocationsResource(SyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
"GET",
|
||||
"POST",
|
||||
"DELETE",
|
||||
"PUT",
|
||||
"HEAD",
|
||||
"PURGE",
|
||||
"OPTIONS",
|
||||
"PROPFIND",
|
||||
"MKCOL",
|
||||
"PATCH",
|
||||
"ACL",
|
||||
"BCOPY",
|
||||
"BDELETE",
|
||||
"BMOVE",
|
||||
"BPROPFIND",
|
||||
"BPROPPATCH",
|
||||
"CHECKIN",
|
||||
"CHECKOUT",
|
||||
"CONNECT",
|
||||
"COPY",
|
||||
"LABEL",
|
||||
"LOCK",
|
||||
"MERGE",
|
||||
"MKACTIVITY",
|
||||
"MKWORKSPACE",
|
||||
"MOVE",
|
||||
"NOTIFY",
|
||||
"ORDERPATCH",
|
||||
"POLL",
|
||||
"PROPPATCH",
|
||||
"REPORT",
|
||||
"SEARCH",
|
||||
"SUBSCRIBE",
|
||||
"TRACE",
|
||||
"UNCHECKOUT",
|
||||
"UNLOCK",
|
||||
"UNSUBSCRIBE",
|
||||
"UPDATE",
|
||||
"VERSIONCONTROL",
|
||||
"BASELINECONTROL",
|
||||
"XMSENUMATTS",
|
||||
"RPC_OUT_DATA",
|
||||
"RPC_IN_DATA",
|
||||
"JSON",
|
||||
"COOK",
|
||||
"TRACK",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
mitigation_product: List[
|
||||
Literal[
|
||||
"DDOS", "WAF", "BOT_MANAGEMENT", "ACCESS_RULES", "IP_REPUTATION", "API_SHIELD", "DATA_LOSS_PREVENTION"
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
name: List[str] | NotGiven = NOT_GIVEN,
|
||||
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
||||
# The extra values given here take precedence over values defined on the client or passed to this method.
|
||||
|
|
@ -197,8 +289,16 @@ class LocationsResource(SyncAPIResource):
|
|||
|
||||
format: Format results are returned in.
|
||||
|
||||
http_method: Filter for http method.
|
||||
|
||||
http_version: Filter for http version.
|
||||
|
||||
ip_version: Filter for ip version.
|
||||
|
||||
limit: Limit the number of objects in the response.
|
||||
|
||||
mitigation_product: Array of L7 mitigation products.
|
||||
|
||||
name: Array of names that will be used to name the series in responses.
|
||||
|
||||
extra_headers: Send extra headers
|
||||
|
|
@ -223,7 +323,11 @@ class LocationsResource(SyncAPIResource):
|
|||
"date_range": date_range,
|
||||
"date_start": date_start,
|
||||
"format": format,
|
||||
"http_method": http_method,
|
||||
"http_version": http_version,
|
||||
"ip_version": ip_version,
|
||||
"limit": limit,
|
||||
"mitigation_product": mitigation_product,
|
||||
"name": name,
|
||||
},
|
||||
location_target_params.LocationTargetParams,
|
||||
|
|
@ -249,29 +353,69 @@ class AsyncLocationsResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
"GET",
|
||||
"POST",
|
||||
"DELETE",
|
||||
"PUT",
|
||||
"HEAD",
|
||||
"PURGE",
|
||||
"OPTIONS",
|
||||
"PROPFIND",
|
||||
"MKCOL",
|
||||
"PATCH",
|
||||
"ACL",
|
||||
"BCOPY",
|
||||
"BDELETE",
|
||||
"BMOVE",
|
||||
"BPROPFIND",
|
||||
"BPROPPATCH",
|
||||
"CHECKIN",
|
||||
"CHECKOUT",
|
||||
"CONNECT",
|
||||
"COPY",
|
||||
"LABEL",
|
||||
"LOCK",
|
||||
"MERGE",
|
||||
"MKACTIVITY",
|
||||
"MKWORKSPACE",
|
||||
"MOVE",
|
||||
"NOTIFY",
|
||||
"ORDERPATCH",
|
||||
"POLL",
|
||||
"PROPPATCH",
|
||||
"REPORT",
|
||||
"SEARCH",
|
||||
"SUBSCRIBE",
|
||||
"TRACE",
|
||||
"UNCHECKOUT",
|
||||
"UNLOCK",
|
||||
"UNSUBSCRIBE",
|
||||
"UPDATE",
|
||||
"VERSIONCONTROL",
|
||||
"BASELINECONTROL",
|
||||
"XMSENUMATTS",
|
||||
"RPC_OUT_DATA",
|
||||
"RPC_IN_DATA",
|
||||
"JSON",
|
||||
"COOK",
|
||||
"TRACK",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
mitigation_product: List[
|
||||
Literal[
|
||||
"DDOS", "WAF", "BOT_MANAGEMENT", "ACCESS_RULES", "IP_REPUTATION", "API_SHIELD", "DATA_LOSS_PREVENTION"
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
name: List[str] | NotGiven = NOT_GIVEN,
|
||||
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
||||
# The extra values given here take precedence over values defined on the client or passed to this method.
|
||||
|
|
@ -305,8 +449,16 @@ class AsyncLocationsResource(AsyncAPIResource):
|
|||
|
||||
format: Format results are returned in.
|
||||
|
||||
http_method: Filter for http method.
|
||||
|
||||
http_version: Filter for http version.
|
||||
|
||||
ip_version: Filter for ip version.
|
||||
|
||||
limit: Limit the number of objects in the response.
|
||||
|
||||
mitigation_product: Array of L7 mitigation products.
|
||||
|
||||
name: Array of names that will be used to name the series in responses.
|
||||
|
||||
extra_headers: Send extra headers
|
||||
|
|
@ -332,7 +484,11 @@ class AsyncLocationsResource(AsyncAPIResource):
|
|||
"date_range": date_range,
|
||||
"date_start": date_start,
|
||||
"format": format,
|
||||
"http_method": http_method,
|
||||
"http_version": http_version,
|
||||
"ip_version": ip_version,
|
||||
"limit": limit,
|
||||
"mitigation_product": mitigation_product,
|
||||
"name": name,
|
||||
},
|
||||
location_origin_params.LocationOriginParams,
|
||||
|
|
@ -347,29 +503,69 @@ class AsyncLocationsResource(AsyncAPIResource):
|
|||
*,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
"GET",
|
||||
"POST",
|
||||
"DELETE",
|
||||
"PUT",
|
||||
"HEAD",
|
||||
"PURGE",
|
||||
"OPTIONS",
|
||||
"PROPFIND",
|
||||
"MKCOL",
|
||||
"PATCH",
|
||||
"ACL",
|
||||
"BCOPY",
|
||||
"BDELETE",
|
||||
"BMOVE",
|
||||
"BPROPFIND",
|
||||
"BPROPPATCH",
|
||||
"CHECKIN",
|
||||
"CHECKOUT",
|
||||
"CONNECT",
|
||||
"COPY",
|
||||
"LABEL",
|
||||
"LOCK",
|
||||
"MERGE",
|
||||
"MKACTIVITY",
|
||||
"MKWORKSPACE",
|
||||
"MOVE",
|
||||
"NOTIFY",
|
||||
"ORDERPATCH",
|
||||
"POLL",
|
||||
"PROPPATCH",
|
||||
"REPORT",
|
||||
"SEARCH",
|
||||
"SUBSCRIBE",
|
||||
"TRACE",
|
||||
"UNCHECKOUT",
|
||||
"UNLOCK",
|
||||
"UNSUBSCRIBE",
|
||||
"UPDATE",
|
||||
"VERSIONCONTROL",
|
||||
"BASELINECONTROL",
|
||||
"XMSENUMATTS",
|
||||
"RPC_OUT_DATA",
|
||||
"RPC_IN_DATA",
|
||||
"JSON",
|
||||
"COOK",
|
||||
"TRACK",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
mitigation_product: List[
|
||||
Literal[
|
||||
"DDOS", "WAF", "BOT_MANAGEMENT", "ACCESS_RULES", "IP_REPUTATION", "API_SHIELD", "DATA_LOSS_PREVENTION"
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
name: List[str] | NotGiven = NOT_GIVEN,
|
||||
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
||||
# The extra values given here take precedence over values defined on the client or passed to this method.
|
||||
|
|
@ -399,8 +595,16 @@ class AsyncLocationsResource(AsyncAPIResource):
|
|||
|
||||
format: Format results are returned in.
|
||||
|
||||
http_method: Filter for http method.
|
||||
|
||||
http_version: Filter for http version.
|
||||
|
||||
ip_version: Filter for ip version.
|
||||
|
||||
limit: Limit the number of objects in the response.
|
||||
|
||||
mitigation_product: Array of L7 mitigation products.
|
||||
|
||||
name: Array of names that will be used to name the series in responses.
|
||||
|
||||
extra_headers: Send extra headers
|
||||
|
|
@ -425,7 +629,11 @@ class AsyncLocationsResource(AsyncAPIResource):
|
|||
"date_range": date_range,
|
||||
"date_start": date_start,
|
||||
"format": format,
|
||||
"http_method": http_method,
|
||||
"http_version": http_version,
|
||||
"ip_version": ip_version,
|
||||
"limit": limit,
|
||||
"mitigation_product": mitigation_product,
|
||||
"name": name,
|
||||
},
|
||||
location_target_params.LocationTargetParams,
|
||||
|
|
|
|||
|
|
@ -72,33 +72,73 @@ class TopResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
"GET",
|
||||
"POST",
|
||||
"DELETE",
|
||||
"PUT",
|
||||
"HEAD",
|
||||
"PURGE",
|
||||
"OPTIONS",
|
||||
"PROPFIND",
|
||||
"MKCOL",
|
||||
"PATCH",
|
||||
"ACL",
|
||||
"BCOPY",
|
||||
"BDELETE",
|
||||
"BMOVE",
|
||||
"BPROPFIND",
|
||||
"BPROPPATCH",
|
||||
"CHECKIN",
|
||||
"CHECKOUT",
|
||||
"CONNECT",
|
||||
"COPY",
|
||||
"LABEL",
|
||||
"LOCK",
|
||||
"MERGE",
|
||||
"MKACTIVITY",
|
||||
"MKWORKSPACE",
|
||||
"MOVE",
|
||||
"NOTIFY",
|
||||
"ORDERPATCH",
|
||||
"POLL",
|
||||
"PROPPATCH",
|
||||
"REPORT",
|
||||
"SEARCH",
|
||||
"SUBSCRIBE",
|
||||
"TRACE",
|
||||
"UNCHECKOUT",
|
||||
"UNLOCK",
|
||||
"UNSUBSCRIBE",
|
||||
"UPDATE",
|
||||
"VERSIONCONTROL",
|
||||
"BASELINECONTROL",
|
||||
"XMSENUMATTS",
|
||||
"RPC_OUT_DATA",
|
||||
"RPC_IN_DATA",
|
||||
"JSON",
|
||||
"COOK",
|
||||
"TRACK",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
limit_direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
limit_per_location: int | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
magnitude: Literal["AFFECTED_ZONES", "MITIGATED_REQUESTS"] | NotGiven = NOT_GIVEN,
|
||||
mitigation_product: List[
|
||||
Literal[
|
||||
"DDOS", "WAF", "BOT_MANAGEMENT", "ACCESS_RULES", "IP_REPUTATION", "API_SHIELD", "DATA_LOSS_PREVENTION"
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
name: List[str] | NotGiven = NOT_GIVEN,
|
||||
normalization: Literal["PERCENTAGE", "MIN_MAX"] | NotGiven = NOT_GIVEN,
|
||||
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
||||
|
|
@ -135,6 +175,12 @@ class TopResource(SyncAPIResource):
|
|||
|
||||
format: Format results are returned in.
|
||||
|
||||
http_method: Filter for http method.
|
||||
|
||||
http_version: Filter for http version.
|
||||
|
||||
ip_version: Filter for ip version.
|
||||
|
||||
limit: Limit the number of objects in the response.
|
||||
|
||||
limit_direction: Array of attack origin/target location attack limits. Together with
|
||||
|
|
@ -151,6 +197,8 @@ class TopResource(SyncAPIResource):
|
|||
magnitude: Attack magnitude can be defined by total requests mitigated or by total zones
|
||||
attacked.
|
||||
|
||||
mitigation_product: Array of L7 mitigation products.
|
||||
|
||||
name: Array of names that will be used to name the series in responses.
|
||||
|
||||
normalization: Normalization method applied. Refer to
|
||||
|
|
@ -179,11 +227,15 @@ class TopResource(SyncAPIResource):
|
|||
"date_range": date_range,
|
||||
"date_start": date_start,
|
||||
"format": format,
|
||||
"http_method": http_method,
|
||||
"http_version": http_version,
|
||||
"ip_version": ip_version,
|
||||
"limit": limit,
|
||||
"limit_direction": limit_direction,
|
||||
"limit_per_location": limit_per_location,
|
||||
"location": location,
|
||||
"magnitude": magnitude,
|
||||
"mitigation_product": mitigation_product,
|
||||
"name": name,
|
||||
"normalization": normalization,
|
||||
},
|
||||
|
|
@ -200,30 +252,70 @@ class TopResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
"GET",
|
||||
"POST",
|
||||
"DELETE",
|
||||
"PUT",
|
||||
"HEAD",
|
||||
"PURGE",
|
||||
"OPTIONS",
|
||||
"PROPFIND",
|
||||
"MKCOL",
|
||||
"PATCH",
|
||||
"ACL",
|
||||
"BCOPY",
|
||||
"BDELETE",
|
||||
"BMOVE",
|
||||
"BPROPFIND",
|
||||
"BPROPPATCH",
|
||||
"CHECKIN",
|
||||
"CHECKOUT",
|
||||
"CONNECT",
|
||||
"COPY",
|
||||
"LABEL",
|
||||
"LOCK",
|
||||
"MERGE",
|
||||
"MKACTIVITY",
|
||||
"MKWORKSPACE",
|
||||
"MOVE",
|
||||
"NOTIFY",
|
||||
"ORDERPATCH",
|
||||
"POLL",
|
||||
"PROPPATCH",
|
||||
"REPORT",
|
||||
"SEARCH",
|
||||
"SUBSCRIBE",
|
||||
"TRACE",
|
||||
"UNCHECKOUT",
|
||||
"UNLOCK",
|
||||
"UNSUBSCRIBE",
|
||||
"UPDATE",
|
||||
"VERSIONCONTROL",
|
||||
"BASELINECONTROL",
|
||||
"XMSENUMATTS",
|
||||
"RPC_OUT_DATA",
|
||||
"RPC_IN_DATA",
|
||||
"JSON",
|
||||
"COOK",
|
||||
"TRACK",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
mitigation_product: List[
|
||||
Literal[
|
||||
"DDOS", "WAF", "BOT_MANAGEMENT", "ACCESS_RULES", "IP_REPUTATION", "API_SHIELD", "DATA_LOSS_PREVENTION"
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
name: List[str] | NotGiven = NOT_GIVEN,
|
||||
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
||||
# The extra values given here take precedence over values defined on the client or passed to this method.
|
||||
|
|
@ -254,12 +346,20 @@ class TopResource(SyncAPIResource):
|
|||
|
||||
format: Format results are returned in.
|
||||
|
||||
http_method: Filter for http method.
|
||||
|
||||
http_version: Filter for http version.
|
||||
|
||||
ip_version: Filter for ip version.
|
||||
|
||||
limit: Limit the number of objects in the response.
|
||||
|
||||
location: Array of comma separated list of locations (alpha-2 country codes). Start with
|
||||
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
|
||||
but includes results from PT.
|
||||
|
||||
mitigation_product: Array of L7 mitigation products.
|
||||
|
||||
name: Array of names that will be used to name the series in responses.
|
||||
|
||||
extra_headers: Send extra headers
|
||||
|
|
@ -285,8 +385,12 @@ class TopResource(SyncAPIResource):
|
|||
"date_range": date_range,
|
||||
"date_start": date_start,
|
||||
"format": format,
|
||||
"http_method": http_method,
|
||||
"http_version": http_version,
|
||||
"ip_version": ip_version,
|
||||
"limit": limit,
|
||||
"location": location,
|
||||
"mitigation_product": mitigation_product,
|
||||
"name": name,
|
||||
},
|
||||
top_industry_params.TopIndustryParams,
|
||||
|
|
@ -302,30 +406,70 @@ class TopResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
"GET",
|
||||
"POST",
|
||||
"DELETE",
|
||||
"PUT",
|
||||
"HEAD",
|
||||
"PURGE",
|
||||
"OPTIONS",
|
||||
"PROPFIND",
|
||||
"MKCOL",
|
||||
"PATCH",
|
||||
"ACL",
|
||||
"BCOPY",
|
||||
"BDELETE",
|
||||
"BMOVE",
|
||||
"BPROPFIND",
|
||||
"BPROPPATCH",
|
||||
"CHECKIN",
|
||||
"CHECKOUT",
|
||||
"CONNECT",
|
||||
"COPY",
|
||||
"LABEL",
|
||||
"LOCK",
|
||||
"MERGE",
|
||||
"MKACTIVITY",
|
||||
"MKWORKSPACE",
|
||||
"MOVE",
|
||||
"NOTIFY",
|
||||
"ORDERPATCH",
|
||||
"POLL",
|
||||
"PROPPATCH",
|
||||
"REPORT",
|
||||
"SEARCH",
|
||||
"SUBSCRIBE",
|
||||
"TRACE",
|
||||
"UNCHECKOUT",
|
||||
"UNLOCK",
|
||||
"UNSUBSCRIBE",
|
||||
"UPDATE",
|
||||
"VERSIONCONTROL",
|
||||
"BASELINECONTROL",
|
||||
"XMSENUMATTS",
|
||||
"RPC_OUT_DATA",
|
||||
"RPC_IN_DATA",
|
||||
"JSON",
|
||||
"COOK",
|
||||
"TRACK",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
mitigation_product: List[
|
||||
Literal[
|
||||
"DDOS", "WAF", "BOT_MANAGEMENT", "ACCESS_RULES", "IP_REPUTATION", "API_SHIELD", "DATA_LOSS_PREVENTION"
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
name: List[str] | NotGiven = NOT_GIVEN,
|
||||
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
||||
# The extra values given here take precedence over values defined on the client or passed to this method.
|
||||
|
|
@ -356,12 +500,20 @@ class TopResource(SyncAPIResource):
|
|||
|
||||
format: Format results are returned in.
|
||||
|
||||
http_method: Filter for http method.
|
||||
|
||||
http_version: Filter for http version.
|
||||
|
||||
ip_version: Filter for ip version.
|
||||
|
||||
limit: Limit the number of objects in the response.
|
||||
|
||||
location: Array of comma separated list of locations (alpha-2 country codes). Start with
|
||||
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
|
||||
but includes results from PT.
|
||||
|
||||
mitigation_product: Array of L7 mitigation products.
|
||||
|
||||
name: Array of names that will be used to name the series in responses.
|
||||
|
||||
extra_headers: Send extra headers
|
||||
|
|
@ -387,8 +539,12 @@ class TopResource(SyncAPIResource):
|
|||
"date_range": date_range,
|
||||
"date_start": date_start,
|
||||
"format": format,
|
||||
"http_method": http_method,
|
||||
"http_version": http_version,
|
||||
"ip_version": ip_version,
|
||||
"limit": limit,
|
||||
"location": location,
|
||||
"mitigation_product": mitigation_product,
|
||||
"name": name,
|
||||
},
|
||||
top_vertical_params.TopVerticalParams,
|
||||
|
|
@ -422,33 +578,73 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
"GET",
|
||||
"POST",
|
||||
"DELETE",
|
||||
"PUT",
|
||||
"HEAD",
|
||||
"PURGE",
|
||||
"OPTIONS",
|
||||
"PROPFIND",
|
||||
"MKCOL",
|
||||
"PATCH",
|
||||
"ACL",
|
||||
"BCOPY",
|
||||
"BDELETE",
|
||||
"BMOVE",
|
||||
"BPROPFIND",
|
||||
"BPROPPATCH",
|
||||
"CHECKIN",
|
||||
"CHECKOUT",
|
||||
"CONNECT",
|
||||
"COPY",
|
||||
"LABEL",
|
||||
"LOCK",
|
||||
"MERGE",
|
||||
"MKACTIVITY",
|
||||
"MKWORKSPACE",
|
||||
"MOVE",
|
||||
"NOTIFY",
|
||||
"ORDERPATCH",
|
||||
"POLL",
|
||||
"PROPPATCH",
|
||||
"REPORT",
|
||||
"SEARCH",
|
||||
"SUBSCRIBE",
|
||||
"TRACE",
|
||||
"UNCHECKOUT",
|
||||
"UNLOCK",
|
||||
"UNSUBSCRIBE",
|
||||
"UPDATE",
|
||||
"VERSIONCONTROL",
|
||||
"BASELINECONTROL",
|
||||
"XMSENUMATTS",
|
||||
"RPC_OUT_DATA",
|
||||
"RPC_IN_DATA",
|
||||
"JSON",
|
||||
"COOK",
|
||||
"TRACK",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
limit_direction: Literal["ORIGIN", "TARGET"] | NotGiven = NOT_GIVEN,
|
||||
limit_per_location: int | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
magnitude: Literal["AFFECTED_ZONES", "MITIGATED_REQUESTS"] | NotGiven = NOT_GIVEN,
|
||||
mitigation_product: List[
|
||||
Literal[
|
||||
"DDOS", "WAF", "BOT_MANAGEMENT", "ACCESS_RULES", "IP_REPUTATION", "API_SHIELD", "DATA_LOSS_PREVENTION"
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
name: List[str] | NotGiven = NOT_GIVEN,
|
||||
normalization: Literal["PERCENTAGE", "MIN_MAX"] | NotGiven = NOT_GIVEN,
|
||||
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
||||
|
|
@ -485,6 +681,12 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
|
||||
format: Format results are returned in.
|
||||
|
||||
http_method: Filter for http method.
|
||||
|
||||
http_version: Filter for http version.
|
||||
|
||||
ip_version: Filter for ip version.
|
||||
|
||||
limit: Limit the number of objects in the response.
|
||||
|
||||
limit_direction: Array of attack origin/target location attack limits. Together with
|
||||
|
|
@ -501,6 +703,8 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
magnitude: Attack magnitude can be defined by total requests mitigated or by total zones
|
||||
attacked.
|
||||
|
||||
mitigation_product: Array of L7 mitigation products.
|
||||
|
||||
name: Array of names that will be used to name the series in responses.
|
||||
|
||||
normalization: Normalization method applied. Refer to
|
||||
|
|
@ -529,11 +733,15 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
"date_range": date_range,
|
||||
"date_start": date_start,
|
||||
"format": format,
|
||||
"http_method": http_method,
|
||||
"http_version": http_version,
|
||||
"ip_version": ip_version,
|
||||
"limit": limit,
|
||||
"limit_direction": limit_direction,
|
||||
"limit_per_location": limit_per_location,
|
||||
"location": location,
|
||||
"magnitude": magnitude,
|
||||
"mitigation_product": mitigation_product,
|
||||
"name": name,
|
||||
"normalization": normalization,
|
||||
},
|
||||
|
|
@ -550,30 +758,70 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
"GET",
|
||||
"POST",
|
||||
"DELETE",
|
||||
"PUT",
|
||||
"HEAD",
|
||||
"PURGE",
|
||||
"OPTIONS",
|
||||
"PROPFIND",
|
||||
"MKCOL",
|
||||
"PATCH",
|
||||
"ACL",
|
||||
"BCOPY",
|
||||
"BDELETE",
|
||||
"BMOVE",
|
||||
"BPROPFIND",
|
||||
"BPROPPATCH",
|
||||
"CHECKIN",
|
||||
"CHECKOUT",
|
||||
"CONNECT",
|
||||
"COPY",
|
||||
"LABEL",
|
||||
"LOCK",
|
||||
"MERGE",
|
||||
"MKACTIVITY",
|
||||
"MKWORKSPACE",
|
||||
"MOVE",
|
||||
"NOTIFY",
|
||||
"ORDERPATCH",
|
||||
"POLL",
|
||||
"PROPPATCH",
|
||||
"REPORT",
|
||||
"SEARCH",
|
||||
"SUBSCRIBE",
|
||||
"TRACE",
|
||||
"UNCHECKOUT",
|
||||
"UNLOCK",
|
||||
"UNSUBSCRIBE",
|
||||
"UPDATE",
|
||||
"VERSIONCONTROL",
|
||||
"BASELINECONTROL",
|
||||
"XMSENUMATTS",
|
||||
"RPC_OUT_DATA",
|
||||
"RPC_IN_DATA",
|
||||
"JSON",
|
||||
"COOK",
|
||||
"TRACK",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
mitigation_product: List[
|
||||
Literal[
|
||||
"DDOS", "WAF", "BOT_MANAGEMENT", "ACCESS_RULES", "IP_REPUTATION", "API_SHIELD", "DATA_LOSS_PREVENTION"
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
name: List[str] | NotGiven = NOT_GIVEN,
|
||||
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
||||
# The extra values given here take precedence over values defined on the client or passed to this method.
|
||||
|
|
@ -604,12 +852,20 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
|
||||
format: Format results are returned in.
|
||||
|
||||
http_method: Filter for http method.
|
||||
|
||||
http_version: Filter for http version.
|
||||
|
||||
ip_version: Filter for ip version.
|
||||
|
||||
limit: Limit the number of objects in the response.
|
||||
|
||||
location: Array of comma separated list of locations (alpha-2 country codes). Start with
|
||||
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
|
||||
but includes results from PT.
|
||||
|
||||
mitigation_product: Array of L7 mitigation products.
|
||||
|
||||
name: Array of names that will be used to name the series in responses.
|
||||
|
||||
extra_headers: Send extra headers
|
||||
|
|
@ -635,8 +891,12 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
"date_range": date_range,
|
||||
"date_start": date_start,
|
||||
"format": format,
|
||||
"http_method": http_method,
|
||||
"http_version": http_version,
|
||||
"ip_version": ip_version,
|
||||
"limit": limit,
|
||||
"location": location,
|
||||
"mitigation_product": mitigation_product,
|
||||
"name": name,
|
||||
},
|
||||
top_industry_params.TopIndustryParams,
|
||||
|
|
@ -652,30 +912,70 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_method: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
"GET",
|
||||
"POST",
|
||||
"DELETE",
|
||||
"PUT",
|
||||
"HEAD",
|
||||
"PURGE",
|
||||
"OPTIONS",
|
||||
"PROPFIND",
|
||||
"MKCOL",
|
||||
"PATCH",
|
||||
"ACL",
|
||||
"BCOPY",
|
||||
"BDELETE",
|
||||
"BMOVE",
|
||||
"BPROPFIND",
|
||||
"BPROPPATCH",
|
||||
"CHECKIN",
|
||||
"CHECKOUT",
|
||||
"CONNECT",
|
||||
"COPY",
|
||||
"LABEL",
|
||||
"LOCK",
|
||||
"MERGE",
|
||||
"MKACTIVITY",
|
||||
"MKWORKSPACE",
|
||||
"MOVE",
|
||||
"NOTIFY",
|
||||
"ORDERPATCH",
|
||||
"POLL",
|
||||
"PROPPATCH",
|
||||
"REPORT",
|
||||
"SEARCH",
|
||||
"SUBSCRIBE",
|
||||
"TRACE",
|
||||
"UNCHECKOUT",
|
||||
"UNLOCK",
|
||||
"UNSUBSCRIBE",
|
||||
"UPDATE",
|
||||
"VERSIONCONTROL",
|
||||
"BASELINECONTROL",
|
||||
"XMSENUMATTS",
|
||||
"RPC_OUT_DATA",
|
||||
"RPC_IN_DATA",
|
||||
"JSON",
|
||||
"COOK",
|
||||
"TRACK",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_version: List[Literal["HTTPv1", "HTTPv2", "HTTPv3"]] | NotGiven = NOT_GIVEN,
|
||||
ip_version: List[Literal["IPv4", "IPv6"]] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
mitigation_product: List[
|
||||
Literal[
|
||||
"DDOS", "WAF", "BOT_MANAGEMENT", "ACCESS_RULES", "IP_REPUTATION", "API_SHIELD", "DATA_LOSS_PREVENTION"
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
name: List[str] | NotGiven = NOT_GIVEN,
|
||||
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
||||
# The extra values given here take precedence over values defined on the client or passed to this method.
|
||||
|
|
@ -706,12 +1006,20 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
|
||||
format: Format results are returned in.
|
||||
|
||||
http_method: Filter for http method.
|
||||
|
||||
http_version: Filter for http version.
|
||||
|
||||
ip_version: Filter for ip version.
|
||||
|
||||
limit: Limit the number of objects in the response.
|
||||
|
||||
location: Array of comma separated list of locations (alpha-2 country codes). Start with
|
||||
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
|
||||
but includes results from PT.
|
||||
|
||||
mitigation_product: Array of L7 mitigation products.
|
||||
|
||||
name: Array of names that will be used to name the series in responses.
|
||||
|
||||
extra_headers: Send extra headers
|
||||
|
|
@ -737,8 +1045,12 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
"date_range": date_range,
|
||||
"date_start": date_start,
|
||||
"format": format,
|
||||
"http_method": http_method,
|
||||
"http_version": http_version,
|
||||
"ip_version": ip_version,
|
||||
"limit": limit,
|
||||
"location": location,
|
||||
"mitigation_product": mitigation_product,
|
||||
"name": name,
|
||||
},
|
||||
top_vertical_params.TopVerticalParams,
|
||||
|
|
|
|||
|
|
@ -109,26 +109,7 @@ class BGPResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
name: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -242,26 +223,7 @@ class AsyncBGPResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
name: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -42,24 +42,7 @@ class EventsResource(SyncAPIResource):
|
|||
self,
|
||||
*,
|
||||
date_end: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
date_range: Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: str | NotGiven = NOT_GIVEN,
|
||||
date_start: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
event_id: int | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -174,24 +157,7 @@ class AsyncEventsResource(AsyncAPIResource):
|
|||
self,
|
||||
*,
|
||||
date_end: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
date_range: Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: str | NotGiven = NOT_GIVEN,
|
||||
date_start: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
event_id: int | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -45,24 +45,7 @@ class IPsResource(SyncAPIResource):
|
|||
*,
|
||||
asn: str | NotGiven = NOT_GIVEN,
|
||||
date_end: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
date_range: Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: str | NotGiven = NOT_GIVEN,
|
||||
date_start: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
include_delay: bool | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -145,24 +128,7 @@ class AsyncIPsResource(AsyncAPIResource):
|
|||
*,
|
||||
asn: str | NotGiven = NOT_GIVEN,
|
||||
date_end: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
date_range: Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: str | NotGiven = NOT_GIVEN,
|
||||
date_start: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
include_delay: bool | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -42,24 +42,7 @@ class EventsResource(SyncAPIResource):
|
|||
self,
|
||||
*,
|
||||
date_end: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
date_range: Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: str | NotGiven = NOT_GIVEN,
|
||||
date_start: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
event_id: int | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -157,24 +140,7 @@ class AsyncEventsResource(AsyncAPIResource):
|
|||
self,
|
||||
*,
|
||||
date_end: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
date_range: Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: str | NotGiven = NOT_GIVEN,
|
||||
date_start: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
event_id: int | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -46,26 +46,7 @@ class AsesResource(SyncAPIResource):
|
|||
*,
|
||||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -209,26 +190,7 @@ class AsyncAsesResource(AsyncAPIResource):
|
|||
*,
|
||||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -57,26 +57,7 @@ class TopResource(SyncAPIResource):
|
|||
*,
|
||||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -167,26 +148,7 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
*,
|
||||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -47,26 +47,7 @@ class ConnectionTamperingResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -146,26 +127,7 @@ class ConnectionTamperingResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -262,26 +224,7 @@ class AsyncConnectionTamperingResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -361,26 +304,7 @@ class AsyncConnectionTamperingResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -48,26 +48,7 @@ class TopResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -155,26 +136,7 @@ class TopResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -271,26 +233,7 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -378,26 +321,7 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -56,26 +56,7 @@ class SummaryResource(SyncAPIResource):
|
|||
self,
|
||||
*,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -157,26 +138,7 @@ class SummaryResource(SyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
encrypted: List[Literal["ENCRYPTED", "NOT_ENCRYPTED"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -257,26 +219,7 @@ class SummaryResource(SyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
encrypted: List[Literal["ENCRYPTED", "NOT_ENCRYPTED"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -357,26 +300,7 @@ class SummaryResource(SyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -457,26 +381,7 @@ class SummaryResource(SyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -557,26 +462,7 @@ class SummaryResource(SyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -666,26 +552,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
self,
|
||||
*,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -767,26 +634,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
encrypted: List[Literal["ENCRYPTED", "NOT_ENCRYPTED"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -867,26 +715,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
encrypted: List[Literal["ENCRYPTED", "NOT_ENCRYPTED"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -967,26 +796,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1067,26 +877,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1167,26 +958,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -57,26 +57,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
*,
|
||||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -164,26 +145,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
encrypted: List[Literal["ENCRYPTED", "NOT_ENCRYPTED"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -270,26 +232,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
encrypted: List[Literal["ENCRYPTED", "NOT_ENCRYPTED"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -376,26 +319,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -482,26 +406,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -588,26 +493,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -703,26 +589,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
*,
|
||||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -810,26 +677,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
encrypted: List[Literal["ENCRYPTED", "NOT_ENCRYPTED"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -916,26 +764,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
encrypted: List[Literal["ENCRYPTED", "NOT_ENCRYPTED"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1022,26 +851,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1128,26 +938,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1234,26 +1025,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -62,26 +62,7 @@ class SummaryResource(SyncAPIResource):
|
|||
self,
|
||||
*,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -159,26 +140,7 @@ class SummaryResource(SyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -255,26 +217,7 @@ class SummaryResource(SyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -351,26 +294,7 @@ class SummaryResource(SyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -451,26 +375,7 @@ class SummaryResource(SyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -551,26 +456,7 @@ class SummaryResource(SyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -647,26 +533,7 @@ class SummaryResource(SyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -747,26 +614,7 @@ class SummaryResource(SyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -847,26 +695,7 @@ class SummaryResource(SyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -952,26 +781,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
self,
|
||||
*,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1049,26 +859,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1145,26 +936,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1241,26 +1013,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1341,26 +1094,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1441,26 +1175,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1537,26 +1252,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1637,26 +1333,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1737,26 +1414,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -65,26 +65,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
*,
|
||||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -168,26 +149,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -270,26 +232,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -372,26 +315,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -478,26 +402,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -584,26 +489,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -686,26 +572,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -792,26 +659,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -900,26 +748,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1011,26 +840,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
*,
|
||||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1114,26 +924,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1216,26 +1007,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1318,26 +1090,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1424,26 +1177,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1530,26 +1264,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1632,26 +1347,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1738,26 +1434,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1846,26 +1523,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
agg_interval: Literal["15m", "1h", "1d", "1w"] | NotGiven = NOT_GIVEN,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -46,26 +46,7 @@ class MaliciousResource(SyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -169,26 +150,7 @@ class AsyncMaliciousResource(AsyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -46,26 +46,7 @@ class SpamResource(SyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -169,26 +150,7 @@ class AsyncSpamResource(AsyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -46,26 +46,7 @@ class SpoofResource(SyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -169,26 +150,7 @@ class AsyncSpoofResource(AsyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -81,26 +81,7 @@ class TldsResource(SyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -213,26 +194,7 @@ class AsyncTldsResource(AsyncAPIResource):
|
|||
*,
|
||||
arc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
dkim: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
dmarc: List[Literal["PASS", "NONE", "FAIL"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -144,26 +144,7 @@ class AsesResource(SyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -324,26 +305,7 @@ class AsyncAsesResource(AsyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -48,26 +48,7 @@ class BotClassResource(SyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -198,26 +179,7 @@ class AsyncBotClassResource(AsyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -48,26 +48,7 @@ class BrowserFamilyResource(SyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -196,26 +177,7 @@ class AsyncBrowserFamilyResource(AsyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -49,26 +49,7 @@ class DeviceTypeResource(SyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_protocol: List[Literal["HTTP", "HTTPS"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -197,26 +178,7 @@ class AsyncDeviceTypeResource(AsyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_protocol: List[Literal["HTTP", "HTTPS"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -49,26 +49,7 @@ class HTTPMethodResource(SyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -197,26 +178,7 @@ class AsyncHTTPMethodResource(AsyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -49,26 +49,7 @@ class HTTPProtocolResource(SyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -193,26 +174,7 @@ class AsyncHTTPProtocolResource(AsyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -49,26 +49,7 @@ class IPVersionResource(SyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -197,26 +178,7 @@ class AsyncIPVersionResource(AsyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -49,26 +49,7 @@ class OSResource(SyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -196,26 +177,7 @@ class AsyncOSResource(AsyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -49,26 +49,7 @@ class TLSVersionResource(SyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -197,26 +178,7 @@ class AsyncTLSVersionResource(AsyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -109,26 +109,7 @@ class HTTPResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -243,26 +224,7 @@ class AsyncHTTPResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -48,26 +48,7 @@ class BotClassResource(SyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -198,26 +179,7 @@ class AsyncBotClassResource(AsyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -48,26 +48,7 @@ class BrowserFamilyResource(SyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -197,26 +178,7 @@ class AsyncBrowserFamilyResource(AsyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -49,26 +49,7 @@ class DeviceTypeResource(SyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_protocol: List[Literal["HTTP", "HTTPS"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -198,26 +179,7 @@ class AsyncDeviceTypeResource(AsyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_protocol: List[Literal["HTTP", "HTTPS"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -49,26 +49,7 @@ class HTTPMethodResource(SyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -198,26 +179,7 @@ class AsyncHTTPMethodResource(AsyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -49,26 +49,7 @@ class HTTPProtocolResource(SyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -194,26 +175,7 @@ class AsyncHTTPProtocolResource(AsyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -49,26 +49,7 @@ class IPVersionResource(SyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -197,26 +178,7 @@ class AsyncIPVersionResource(AsyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -144,26 +144,7 @@ class LocationsResource(SyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -324,26 +305,7 @@ class AsyncLocationsResource(AsyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -49,26 +49,7 @@ class OSResource(SyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -196,26 +177,7 @@ class AsyncOSResource(AsyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -49,26 +49,7 @@ class TLSVersionResource(SyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -197,26 +178,7 @@ class AsyncTLSVersionResource(AsyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -62,26 +62,7 @@ class SummaryResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -189,26 +170,7 @@ class SummaryResource(SyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_protocol: List[Literal["HTTP", "HTTPS"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -314,26 +276,7 @@ class SummaryResource(SyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -438,26 +381,7 @@ class SummaryResource(SyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -563,26 +487,7 @@ class SummaryResource(SyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -688,26 +593,7 @@ class SummaryResource(SyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -812,26 +698,7 @@ class SummaryResource(SyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -941,26 +808,7 @@ class SummaryResource(SyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1075,26 +923,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1202,26 +1031,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_protocol: List[Literal["HTTP", "HTTPS"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1327,26 +1137,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1451,26 +1242,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1576,26 +1348,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1701,26 +1454,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1825,26 +1559,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1954,26 +1669,7 @@ class AsyncSummaryResource(AsyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -67,26 +67,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -200,26 +181,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -340,26 +302,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -477,26 +420,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_protocol: List[Literal["HTTP", "HTTPS"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -607,26 +531,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -737,26 +642,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -868,26 +754,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -999,26 +866,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1129,26 +977,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1264,26 +1093,7 @@ class TimeseriesGroupsResource(SyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1404,26 +1214,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1537,26 +1328,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1677,26 +1449,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1814,26 +1567,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
http_protocol: List[Literal["HTTP", "HTTPS"]] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -1944,26 +1678,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -2074,26 +1789,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -2205,26 +1901,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -2336,26 +2013,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -2466,26 +2124,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -2601,26 +2240,7 @@ class AsyncTimeseriesGroupsResource(AsyncAPIResource):
|
|||
bot_class: List[Literal["LIKELY_AUTOMATED", "LIKELY_HUMAN"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -49,26 +49,7 @@ class TopResource(SyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -187,26 +168,7 @@ class TopResource(SyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -335,26 +297,7 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -473,26 +416,7 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
browser_family: List[Literal["CHROME", "EDGE", "FIREFOX", "SAFARI"]] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
device_type: List[Literal["DESKTOP", "MOBILE", "OTHER"]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -59,26 +59,7 @@ class NetflowsResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -188,26 +169,7 @@ class AsyncNetflowsResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -47,26 +47,7 @@ class TopResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -150,26 +131,7 @@ class TopResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -263,26 +225,7 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -366,26 +309,7 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -48,26 +48,7 @@ class IQIResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -152,26 +133,7 @@ class IQIResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
interpolation: bool | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -274,26 +236,7 @@ class AsyncIQIResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
location: List[str] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -378,26 +321,7 @@ class AsyncIQIResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
interpolation: bool | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -57,26 +57,7 @@ class RankingResource(SyncAPIResource):
|
|||
self,
|
||||
*,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
domains: List[str] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -235,26 +216,7 @@ class AsyncRankingResource(AsyncAPIResource):
|
|||
self,
|
||||
*,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
domains: List[str] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -44,24 +44,7 @@ class LocationsResource(SyncAPIResource):
|
|||
self,
|
||||
*,
|
||||
date_end: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
date_range: Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: str | NotGiven = NOT_GIVEN,
|
||||
date_start: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -135,24 +118,7 @@ class AsyncLocationsResource(AsyncAPIResource):
|
|||
self,
|
||||
*,
|
||||
date_end: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
date_range: Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: str | NotGiven = NOT_GIVEN,
|
||||
date_start: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -57,24 +57,7 @@ class TrafficAnomaliesResource(SyncAPIResource):
|
|||
*,
|
||||
asn: int | NotGiven = NOT_GIVEN,
|
||||
date_end: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
date_range: Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: str | NotGiven = NOT_GIVEN,
|
||||
date_start: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -164,24 +147,7 @@ class AsyncTrafficAnomaliesResource(AsyncAPIResource):
|
|||
*,
|
||||
asn: int | NotGiven = NOT_GIVEN,
|
||||
date_end: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
date_range: Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: str | NotGiven = NOT_GIVEN,
|
||||
date_start: Union[str, datetime] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -47,26 +47,7 @@ class TopResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -149,26 +130,7 @@ class TopResource(SyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -262,26 +224,7 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
@ -364,26 +307,7 @@ class AsyncTopResource(AsyncAPIResource):
|
|||
asn: List[str] | NotGiven = NOT_GIVEN,
|
||||
continent: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_end: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
date_range: List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
]
|
||||
| NotGiven = NOT_GIVEN,
|
||||
date_range: List[str] | NotGiven = NOT_GIVEN,
|
||||
date_start: List[Union[str, datetime]] | NotGiven = NOT_GIVEN,
|
||||
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
|
||||
limit: int | NotGiven = NOT_GIVEN,
|
||||
|
|
|
|||
|
|
@ -18,26 +18,7 @@ class OutageGetParams(TypedDict, total=False):
|
|||
date_end: Annotated[Union[str, datetime], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[str, PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
Shorthand date ranges for the last X days - use when you don't need specific
|
||||
start and end dates.
|
||||
|
|
|
|||
|
|
@ -15,26 +15,7 @@ class OutageLocationsParams(TypedDict, total=False):
|
|||
date_end: Annotated[Union[str, datetime], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[str, PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
Shorthand date ranges for the last X days - use when you don't need specific
|
||||
start and end dates.
|
||||
|
|
|
|||
|
|
@ -29,28 +29,7 @@ class SummaryDNSSECParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -29,28 +29,7 @@ class SummaryEdnsParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -29,28 +29,7 @@ class SummaryIPVersionParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -29,28 +29,7 @@ class SummaryProtocolParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -29,28 +29,7 @@ class SummaryQueryTypeParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -29,28 +29,7 @@ class SummaryResponseCodesParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -36,28 +36,7 @@ class TimeseriesGroupDNSSECParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -36,28 +36,7 @@ class TimeseriesGroupEdnsParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -36,28 +36,7 @@ class TimeseriesGroupIPVersionParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -36,28 +36,7 @@ class TimeseriesGroupProtocolParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -36,28 +36,7 @@ class TimeseriesGroupQueryTypeParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -36,28 +36,7 @@ class TimeseriesGroupResponseCodesParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -29,28 +29,7 @@ class TopDNSSECParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -29,28 +29,7 @@ class TopEdnsParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -29,28 +29,7 @@ class TopIPVersionParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -29,28 +29,7 @@ class TopLocationsParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -36,28 +36,7 @@ class AS112TimeseriesParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -22,28 +22,7 @@ class SummaryBitrateParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -22,28 +22,7 @@ class SummaryDurationParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -29,28 +29,7 @@ class SummaryGetParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -22,28 +22,7 @@ class SummaryIPVersionParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -22,28 +22,7 @@ class SummaryProtocolParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -22,28 +22,7 @@ class SummaryVectorParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -29,28 +29,7 @@ class TimeseriesGroupBitrateParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -29,28 +29,7 @@ class TimeseriesGroupDurationParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -36,28 +36,7 @@ class TimeseriesGroupGetParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -29,28 +29,7 @@ class TimeseriesGroupIndustryParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
@ -94,3 +73,6 @@ class TimeseriesGroupIndustryParams(TypedDict, total=False):
|
|||
Refer to
|
||||
[Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).
|
||||
"""
|
||||
|
||||
protocol: List[Literal["UDP", "TCP", "ICMP", "GRE"]]
|
||||
"""Array of L3/4 attack types."""
|
||||
|
|
|
|||
|
|
@ -29,28 +29,7 @@ class TimeseriesGroupIPVersionParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -29,28 +29,7 @@ class TimeseriesGroupProtocolParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -29,28 +29,7 @@ class TimeseriesGroupVectorParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -29,28 +29,7 @@ class TimeseriesGroupVerticalParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
@ -94,3 +73,6 @@ class TimeseriesGroupVerticalParams(TypedDict, total=False):
|
|||
Refer to
|
||||
[Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).
|
||||
"""
|
||||
|
||||
protocol: List[Literal["UDP", "TCP", "ICMP", "GRE"]]
|
||||
"""Array of L3/4 attack types."""
|
||||
|
|
|
|||
|
|
@ -22,28 +22,7 @@ class LocationOriginParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -22,28 +22,7 @@ class LocationTargetParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -22,28 +22,7 @@ class TopAttacksParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -22,28 +22,7 @@ class TopIndustryParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
|
|
@ -22,28 +22,7 @@ class TopVerticalParams(TypedDict, total=False):
|
|||
date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
|
||||
"""End of the date range (inclusive)."""
|
||||
|
||||
date_range: Annotated[
|
||||
List[
|
||||
Literal[
|
||||
"1d",
|
||||
"2d",
|
||||
"7d",
|
||||
"14d",
|
||||
"28d",
|
||||
"12w",
|
||||
"24w",
|
||||
"52w",
|
||||
"1dControl",
|
||||
"2dControl",
|
||||
"7dControl",
|
||||
"14dControl",
|
||||
"28dControl",
|
||||
"12wControl",
|
||||
"24wControl",
|
||||
]
|
||||
],
|
||||
PropertyInfo(alias="dateRange"),
|
||||
]
|
||||
date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
|
||||
"""
|
||||
For example, use `7d` and `7dControl` to compare this week with the previous
|
||||
week. Use this parameter or set specific start and end dates (`dateStart` and
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue