Before

…lines 1–9 unchanged (9 lines)
10
11__all__ = ["SummaryDKIMParams"]
12
13
14class SummaryDKIMParams(TypedDict, total=False):
15 arc: List[Literal["PASS", "NONE", "FAIL"]]
16 """Filter for arc (Authenticated Received Chain)."""
17
18 date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
19 """End of the date range (inclusive)."""
20
21 date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
22 """
23 For example, use `7d` and `7dControl` to compare this week with the previous
24 week. Use this parameter or set specific start and end dates (`dateStart` and
25 `dateEnd` parameters).
26 """
27
28 date_start: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateStart", format="iso8601")]
29 """Array of datetimes to filter the start of a series."""
30
31 dmarc: List[Literal["PASS", "NONE", "FAIL"]]
32 """Filter for dmarc."""
33
34 format: Literal["JSON", "CSV"]
35 """Format results are returned in."""
36
37 name: List[str]
38 """Array of names that will be used to name the series in responses."""
39
40 spf: List[Literal["PASS", "NONE", "FAIL"]]
41 """Filter for spf."""
42
43 tls_version: Annotated[List[Literal["TLSv1_0", "TLSv1_1", "TLSv1_2", "TLSv1_3"]], PropertyInfo(alias="tlsVersion")]
44 """Filter for tls version."""
45

After

…lines 1–9 unchanged (9 lines)
10
11__all__ = ["SummaryDKIMParams"]
12
13
14class SummaryDKIMParams(TypedDict, total=False):
15 arc: List[Literal["PASS", "NONE", "FAIL"]]
16 """Filters results by ARC (Authenticated Received Chain) validation."""
17
18 date_end: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateEnd", format="iso8601")]
19 """End of the date range (inclusive)."""
20
21 date_range: Annotated[List[str], PropertyInfo(alias="dateRange")]
22 """Filters results by the specified date range.
23
24 For example, use `7d` and `7dcontrol` to compare this week with the previous
25 week. Use this parameter or set specific start and end dates (`dateStart` and
26 `dateEnd` parameters).
27 """
28
29 date_start: Annotated[List[Union[str, datetime]], PropertyInfo(alias="dateStart", format="iso8601")]
30 """Start of the date range."""
31
32 dmarc: List[Literal["PASS", "NONE", "FAIL"]]
33 """
34 Filters results by DMARC (Domain-based Message Authentication, Reporting and
35 Conformance) validation status.
36 """
37
38 format: Literal["JSON", "CSV"]
39 """Format in which results will be returned."""
40
41 name: List[str]
42 """Array of names used to label the series in the response."""
43
44 spf: List[Literal["PASS", "NONE", "FAIL"]]
45 """Filters results by SPF (Sender Policy Framework) validation status."""
46
47 tls_version: Annotated[List[Literal["TLSv1_0", "TLSv1_1", "TLSv1_2", "TLSv1_3"]], PropertyInfo(alias="tlsVersion")]
48 """Filters results by TLS version."""
49

Before

module
comment "# File generated from our OpenAPI spec by Stainless. See CON"...
future_import_statement
from "from"
__future__ "__future__"
import "import"
dotted_name
identifier "annotations"
import_from_statement
from "from"
dotted_name
identifier "typing"
import "import"
dotted_name
identifier "List"
, ","
dotted_name
identifier "Union"
import_from_statement
from "from"
dotted_name
identifier "datetime"
import "import"
dotted_name
identifier "datetime"
import_from_statement
from "from"
dotted_name
identifier "typing_extensions"
import "import"
dotted_name
identifier "Literal"
, ","
dotted_name
identifier "Annotated"
, ","
dotted_name
identifier "TypedDict"
import_from_statement
from "from"
relative_import
import_prefix
. "."
. "."
. "."
. "."
. "."
dotted_name
identifier "_utils"
import "import"
dotted_name
identifier "PropertyInfo"
expression_statement
assignment
identifier "__all__"
= "="
list
[ "["
string
string_start "\""
string_content "SummaryDKIMParams"
string_end "\""
] "]"
class_definition
class "class"
identifier "SummaryDKIMParams"
argument_list
( "("
identifier "TypedDict"
, ","
keyword_argument
identifier "total"
= "="
false "False"
) ")"
: ":"
block
expression_statement (+33 nodes collapsed)
expression_statement
string
string_start "\"\"\""
string_content "Filter for arc (Authenticated Received Chain)."
string_end "\"\"\""
expression_statement (+49 nodes collapsed)
expression_statement
string
string_start "\"\"\""
string_content "End of the date range (inclusive)."
string_end "\"\"\""
expression_statement (+32 nodes collapsed)
expression_statement
string
string_start "\"\"\""
string_content "\n For example, use `7d` and `7dControl` to compare this w"...
string_end "\"\"\""
expression_statement (+49 nodes collapsed)
expression_statement
string
string_start "\"\"\""
string_content "Array of datetimes to filter the start of a series."
string_end "\"\"\""
expression_statement (+33 nodes collapsed)
expression_statement
string
string_start "\"\"\""
string_content "Filter for dmarc."
string_end "\"\"\""
expression_statement (+21 nodes collapsed)
expression_statement
string
string_start "\"\"\""
string_content "Format results are returned in."
string_end "\"\"\""
expression_statement
assignment
identifier "name"
: ":"
type
generic_type
identifier "List"
type_parameter
[ "["
type
identifier "str"
] "]"
expression_statement
string
string_start "\"\"\""
string_content "Array of names that will be used to name the series in respo"...
string_end "\"\"\""
expression_statement (+33 nodes collapsed)
expression_statement
string
string_start "\"\"\""
string_content "Filter for spf."
string_end "\"\"\""
expression_statement (+59 nodes collapsed)
expression_statement
string
string_start "\"\"\""
string_content "Filter for tls version."
string_end "\"\"\""

After

module
comment "# File generated from our OpenAPI spec by Stainless. See CON"...
future_import_statement
from "from"
__future__ "__future__"
import "import"
dotted_name
identifier "annotations"
import_from_statement
from "from"
dotted_name
identifier "typing"
import "import"
dotted_name
identifier "List"
, ","
dotted_name
identifier "Union"
import_from_statement
from "from"
dotted_name
identifier "datetime"
import "import"
dotted_name
identifier "datetime"
import_from_statement
from "from"
dotted_name
identifier "typing_extensions"
import "import"
dotted_name
identifier "Literal"
, ","
dotted_name
identifier "Annotated"
, ","
dotted_name
identifier "TypedDict"
import_from_statement
from "from"
relative_import
import_prefix
. "."
. "."
. "."
. "."
. "."
dotted_name
identifier "_utils"
import "import"
dotted_name
identifier "PropertyInfo"
expression_statement
assignment
identifier "__all__"
= "="
list
[ "["
string
string_start "\""
string_content "SummaryDKIMParams"
string_end "\""
] "]"
class_definition
class "class"
identifier "SummaryDKIMParams"
argument_list
( "("
identifier "TypedDict"
, ","
keyword_argument
identifier "total"
= "="
false "False"
) ")"
: ":"
block
expression_statement (+33 nodes collapsed)
expression_statement
string
string_start "\"\"\""
string_content "Filters results by ARC (Authenticated Received Chain) valida"...
string_end "\"\"\""
expression_statement (+49 nodes collapsed)
expression_statement
string
string_start "\"\"\""
string_content "End of the date range (inclusive)."
string_end "\"\"\""
expression_statement (+32 nodes collapsed)
expression_statement
string
string_start "\"\"\""
string_content "Filters results by the specified date range.\n\n For exampl"...
string_end "\"\"\""
expression_statement (+49 nodes collapsed)
expression_statement
string
string_start "\"\"\""
string_content "Start of the date range."
string_end "\"\"\""
expression_statement (+33 nodes collapsed)
expression_statement
string
string_start "\"\"\""
string_content "\n Filters results by DMARC (Domain-based Message Authenti"...
string_end "\"\"\""
expression_statement (+21 nodes collapsed)
expression_statement
string
string_start "\"\"\""
string_content "Format in which results will be returned."
string_end "\"\"\""
expression_statement
assignment
identifier "name"
: ":"
type
generic_type
identifier "List"
type_parameter
[ "["
type
identifier "str"
] "]"
expression_statement
string
string_start "\"\"\""
string_content "Array of names used to label the series in the response."
string_end "\"\"\""
expression_statement (+33 nodes collapsed)
expression_statement
string
string_start "\"\"\""
string_content "Filters results by SPF (Sender Policy Framework) validation "...
string_end "\"\"\""
expression_statement (+59 nodes collapsed)
expression_statement
string
string_start "\"\"\""
string_content "Filters results by TLS version."
string_end "\"\"\""