Skip to content

Commit d6e2acd

Browse files
chore(api): update composite API spec
1 parent 7a28c57 commit d6e2acd

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1802
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-851501b3a59deeece50269c970d53762985e3f6abd2a3825e54aa347e99d8903.yml
3-
openapi_spec_hash: ef2d389c39e339b6bb3d8206dbb3708b
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-ccf0b91cc733c99e68e8f9cf0b984365562da22607516a010524ca64bdba70ef.yml
3+
openapi_spec_hash: bd66fb83437383427e56255f83620703
44
config_hash: ac04197a992afb1d8c3b416fc46e8c8e

src/cloudflare/resources/cloudforce_one/threat_events/tags.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def create(
5353
analytic_priority: float | NotGiven = NOT_GIVEN,
5454
attribution_confidence: str | NotGiven = NOT_GIVEN,
5555
attribution_organization: str | NotGiven = NOT_GIVEN,
56-
category_id: float | NotGiven = NOT_GIVEN,
56+
category_uuid: str | NotGiven = NOT_GIVEN,
5757
external_reference_links: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
5858
internal_description: str | NotGiven = NOT_GIVEN,
5959
motive: str | NotGiven = NOT_GIVEN,
@@ -96,7 +96,7 @@ def create(
9696
"analytic_priority": analytic_priority,
9797
"attribution_confidence": attribution_confidence,
9898
"attribution_organization": attribution_organization,
99-
"category_id": category_id,
99+
"category_uuid": category_uuid,
100100
"external_reference_links": external_reference_links,
101101
"internal_description": internal_description,
102102
"motive": motive,
@@ -146,7 +146,7 @@ async def create(
146146
analytic_priority: float | NotGiven = NOT_GIVEN,
147147
attribution_confidence: str | NotGiven = NOT_GIVEN,
148148
attribution_organization: str | NotGiven = NOT_GIVEN,
149-
category_id: float | NotGiven = NOT_GIVEN,
149+
category_uuid: str | NotGiven = NOT_GIVEN,
150150
external_reference_links: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
151151
internal_description: str | NotGiven = NOT_GIVEN,
152152
motive: str | NotGiven = NOT_GIVEN,
@@ -189,7 +189,7 @@ async def create(
189189
"analytic_priority": analytic_priority,
190190
"attribution_confidence": attribution_confidence,
191191
"attribution_organization": attribution_organization,
192-
"category_id": category_id,
192+
"category_uuid": category_uuid,
193193
"external_reference_links": external_reference_links,
194194
"internal_description": internal_description,
195195
"motive": motive,

src/cloudflare/types/cloudforce_one/threat_events/tag_create_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class TagCreateParams(TypedDict, total=False):
3030

3131
attribution_organization: Annotated[str, PropertyInfo(alias="attributionOrganization")]
3232

33-
category_id: Annotated[float, PropertyInfo(alias="categoryId")]
33+
category_uuid: Annotated[str, PropertyInfo(alias="categoryUuid")]
3434

3535
external_reference_links: Annotated[SequenceNotStr[str], PropertyInfo(alias="externalReferenceLinks")]
3636

src/cloudflare/types/cloudforce_one/threat_events/tag_create_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class TagCreateResponse(BaseModel):
2828

2929
attribution_organization: Optional[str] = FieldInfo(alias="attributionOrganization", default=None)
3030

31-
category_id: Optional[float] = FieldInfo(alias="categoryId", default=None)
31+
category_uuid: Optional[str] = FieldInfo(alias="categoryUuid", default=None)
3232

3333
external_reference_links: Optional[List[str]] = FieldInfo(alias="externalReferenceLinks", default=None)
3434

tests/api_resources/cloudforce_one/threat_events/test_tags.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
3939
analytic_priority=0,
4040
attribution_confidence="attributionConfidence",
4141
attribution_organization="attributionOrganization",
42-
category_id=1,
42+
category_uuid="12345678-1234-1234-1234-1234567890ab",
4343
external_reference_links=["string"],
4444
internal_description="internalDescription",
4545
motive="motive",
@@ -115,7 +115,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
115115
analytic_priority=0,
116116
attribution_confidence="attributionConfidence",
117117
attribution_organization="attributionOrganization",
118-
category_id=1,
118+
category_uuid="12345678-1234-1234-1234-1234567890ab",
119119
external_reference_links=["string"],
120120
internal_description="internalDescription",
121121
motive="motive",

0 commit comments

Comments
 (0)