Skip to content

Commit cc14467

Browse files
feat(api): api update (#2528)
1 parent fe38692 commit cc14467

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.stats.yml

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

src/cloudflare/resources/email_security/investigate/investigate.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def list(
141141
detections_only: bool | NotGiven = NOT_GIVEN,
142142
domain: str | NotGiven = NOT_GIVEN,
143143
end: Union[str, datetime] | NotGiven = NOT_GIVEN,
144-
final_disposition: Literal["MALICIOUS", "SUSPICIOUS", "SPOOF", "SPAM", "BULK"] | NotGiven = NOT_GIVEN,
144+
final_disposition: Literal["MALICIOUS", "SUSPICIOUS", "SPOOF", "SPAM", "BULK", "NONE"] | NotGiven = NOT_GIVEN,
145145
message_action: Literal["PREVIEW", "QUARANTINE_RELEASED", "MOVED"] | NotGiven = NOT_GIVEN,
146146
message_id: str | NotGiven = NOT_GIVEN,
147147
metric: str | NotGiven = NOT_GIVEN,
@@ -351,7 +351,7 @@ def list(
351351
detections_only: bool | NotGiven = NOT_GIVEN,
352352
domain: str | NotGiven = NOT_GIVEN,
353353
end: Union[str, datetime] | NotGiven = NOT_GIVEN,
354-
final_disposition: Literal["MALICIOUS", "SUSPICIOUS", "SPOOF", "SPAM", "BULK"] | NotGiven = NOT_GIVEN,
354+
final_disposition: Literal["MALICIOUS", "SUSPICIOUS", "SPOOF", "SPAM", "BULK", "NONE"] | NotGiven = NOT_GIVEN,
355355
message_action: Literal["PREVIEW", "QUARANTINE_RELEASED", "MOVED"] | NotGiven = NOT_GIVEN,
356356
message_id: str | NotGiven = NOT_GIVEN,
357357
metric: str | NotGiven = NOT_GIVEN,

src/cloudflare/types/email_security/investigate_list_params.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class InvestigateListParams(TypedDict, total=False):
2929
end: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]
3030
"""The end of the search date range. Defaults to `now`."""
3131

32-
final_disposition: Literal["MALICIOUS", "SUSPICIOUS", "SPOOF", "SPAM", "BULK"]
32+
final_disposition: Literal["MALICIOUS", "SUSPICIOUS", "SPOOF", "SPAM", "BULK", "NONE"]
3333
"""The dispositions the search filters by."""
3434

3535
message_action: Literal["PREVIEW", "QUARANTINE_RELEASED", "MOVED"]

src/cloudflare/types/email_security/submission_list_response.py

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ class SubmissionListResponse(BaseModel):
2929
]
3030
] = None
3131

32+
original_edf_hash: Optional[str] = None
33+
3234
outcome: Optional[str] = None
3335

3436
outcome_disposition: Optional[

0 commit comments

Comments
 (0)