Skip to content

Commit bde7bba

Browse files
feat(api): api update
1 parent 638a408 commit bde7bba

File tree

190 files changed

+569
-384
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

190 files changed

+569
-384
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1752
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-3ec6a50514bd47671aa3d5f9999af51a1dd5eedf5cf179e004f280e9e817f0ec.yml
3-
openapi_spec_hash: f6c29452ed5232054bfb2689ad4b88be
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-9d692cbcafbbab23add770667c38d728db36e33322e3a554bc712dba4873c3c9.yml
3+
openapi_spec_hash: 018b34722f83f49f1b2b4138d0170e3f
44
config_hash: 8f5aab183b4a8e0f4a9ec9c0293b54f1

src/cloudflare/resources/radar/search.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ def global_(
4949
self,
5050
*,
5151
query: str,
52-
exclude: List[Literal["SPECIAL_EVENTS", "NOTEBOOKS", "LOCATIONS", "ASNS"]] | NotGiven = NOT_GIVEN,
52+
exclude: List[Literal["ASNS", "LOCATIONS", "NOTEBOOKS", "SPECIAL_EVENTS"]] | NotGiven = NOT_GIVEN,
5353
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
54-
include: List[Literal["SPECIAL_EVENTS", "NOTEBOOKS", "LOCATIONS", "ASNS"]] | NotGiven = NOT_GIVEN,
54+
include: List[Literal["ASNS", "LOCATIONS", "NOTEBOOKS", "SPECIAL_EVENTS"]] | NotGiven = NOT_GIVEN,
5555
limit: int | NotGiven = NOT_GIVEN,
5656
limit_per_group: float | NotGiven = NOT_GIVEN,
5757
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -133,9 +133,9 @@ async def global_(
133133
self,
134134
*,
135135
query: str,
136-
exclude: List[Literal["SPECIAL_EVENTS", "NOTEBOOKS", "LOCATIONS", "ASNS"]] | NotGiven = NOT_GIVEN,
136+
exclude: List[Literal["ASNS", "LOCATIONS", "NOTEBOOKS", "SPECIAL_EVENTS"]] | NotGiven = NOT_GIVEN,
137137
format: Literal["JSON", "CSV"] | NotGiven = NOT_GIVEN,
138-
include: List[Literal["SPECIAL_EVENTS", "NOTEBOOKS", "LOCATIONS", "ASNS"]] | NotGiven = NOT_GIVEN,
138+
include: List[Literal["ASNS", "LOCATIONS", "NOTEBOOKS", "SPECIAL_EVENTS"]] | NotGiven = NOT_GIVEN,
139139
limit: int | NotGiven = NOT_GIVEN,
140140
limit_per_group: float | NotGiven = NOT_GIVEN,
141141
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.

src/cloudflare/types/radar/ai/bots/summary_user_agent_response.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class MetaConfidenceInfoAnnotation(BaseModel):
2323

2424
description: str
2525

26-
end_time: datetime = FieldInfo(alias="endTime")
26+
end_date: datetime = FieldInfo(alias="endDate")
2727

2828
event_type: str = FieldInfo(alias="eventType")
2929

@@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel):
3232

3333
linked_url: str = FieldInfo(alias="linkedUrl")
3434

35-
start_time: datetime = FieldInfo(alias="startTime")
35+
start_date: datetime = FieldInfo(alias="startDate")
3636

3737

3838
class MetaConfidenceInfo(BaseModel):
@@ -72,6 +72,7 @@ class Meta(BaseModel):
7272
"PERCENTAGE_CHANGE",
7373
"ROLLING_AVERAGE",
7474
"OVERLAPPED_PERCENTAGE",
75+
"RATIO",
7576
]
7677
"""Normalization method applied to the results.
7778

src/cloudflare/types/radar/ai/inference/summary_model_response.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class MetaConfidenceInfoAnnotation(BaseModel):
2323

2424
description: str
2525

26-
end_time: datetime = FieldInfo(alias="endTime")
26+
end_date: datetime = FieldInfo(alias="endDate")
2727

2828
event_type: str = FieldInfo(alias="eventType")
2929

@@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel):
3232

3333
linked_url: str = FieldInfo(alias="linkedUrl")
3434

35-
start_time: datetime = FieldInfo(alias="startTime")
35+
start_date: datetime = FieldInfo(alias="startDate")
3636

3737

3838
class MetaConfidenceInfo(BaseModel):
@@ -72,6 +72,7 @@ class Meta(BaseModel):
7272
"PERCENTAGE_CHANGE",
7373
"ROLLING_AVERAGE",
7474
"OVERLAPPED_PERCENTAGE",
75+
"RATIO",
7576
]
7677
"""Normalization method applied to the results.
7778

src/cloudflare/types/radar/ai/inference/summary_task_response.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class MetaConfidenceInfoAnnotation(BaseModel):
2323

2424
description: str
2525

26-
end_time: datetime = FieldInfo(alias="endTime")
26+
end_date: datetime = FieldInfo(alias="endDate")
2727

2828
event_type: str = FieldInfo(alias="eventType")
2929

@@ -32,7 +32,7 @@ class MetaConfidenceInfoAnnotation(BaseModel):
3232

3333
linked_url: str = FieldInfo(alias="linkedUrl")
3434

35-
start_time: datetime = FieldInfo(alias="startTime")
35+
start_date: datetime = FieldInfo(alias="startDate")
3636

3737

3838
class MetaConfidenceInfo(BaseModel):
@@ -72,6 +72,7 @@ class Meta(BaseModel):
7272
"PERCENTAGE_CHANGE",
7373
"ROLLING_AVERAGE",
7474
"OVERLAPPED_PERCENTAGE",
75+
"RATIO",
7576
]
7677
"""Normalization method applied to the results.
7778

src/cloudflare/types/radar/ai/inference/timeseries_groups/summary_model_response.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class MetaConfidenceInfoAnnotation(BaseModel):
2424

2525
description: str
2626

27-
end_time: datetime = FieldInfo(alias="endTime")
27+
end_date: datetime = FieldInfo(alias="endDate")
2828

2929
event_type: str = FieldInfo(alias="eventType")
3030

@@ -33,7 +33,7 @@ class MetaConfidenceInfoAnnotation(BaseModel):
3333

3434
linked_url: str = FieldInfo(alias="linkedUrl")
3535

36-
start_time: datetime = FieldInfo(alias="startTime")
36+
start_date: datetime = FieldInfo(alias="startDate")
3737

3838

3939
class MetaConfidenceInfo(BaseModel):
@@ -82,6 +82,7 @@ class Meta(BaseModel):
8282
"PERCENTAGE_CHANGE",
8383
"ROLLING_AVERAGE",
8484
"OVERLAPPED_PERCENTAGE",
85+
"RATIO",
8586
]
8687
"""Normalization method applied to the results.
8788

src/cloudflare/types/radar/ai/inference/timeseries_groups/summary_task_response.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class MetaConfidenceInfoAnnotation(BaseModel):
2424

2525
description: str
2626

27-
end_time: datetime = FieldInfo(alias="endTime")
27+
end_date: datetime = FieldInfo(alias="endDate")
2828

2929
event_type: str = FieldInfo(alias="eventType")
3030

@@ -33,7 +33,7 @@ class MetaConfidenceInfoAnnotation(BaseModel):
3333

3434
linked_url: str = FieldInfo(alias="linkedUrl")
3535

36-
start_time: datetime = FieldInfo(alias="startTime")
36+
start_date: datetime = FieldInfo(alias="startDate")
3737

3838

3939
class MetaConfidenceInfo(BaseModel):
@@ -82,6 +82,7 @@ class Meta(BaseModel):
8282
"PERCENTAGE_CHANGE",
8383
"ROLLING_AVERAGE",
8484
"OVERLAPPED_PERCENTAGE",
85+
"RATIO",
8586
]
8687
"""Normalization method applied to the results.
8788

src/cloudflare/types/radar/ai/timeseries_group_user_agent_response.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class MetaConfidenceInfoAnnotation(BaseModel):
2424

2525
description: str
2626

27-
end_time: datetime = FieldInfo(alias="endTime")
27+
end_date: datetime = FieldInfo(alias="endDate")
2828

2929
event_type: str = FieldInfo(alias="eventType")
3030

@@ -33,7 +33,7 @@ class MetaConfidenceInfoAnnotation(BaseModel):
3333

3434
linked_url: str = FieldInfo(alias="linkedUrl")
3535

36-
start_time: datetime = FieldInfo(alias="startTime")
36+
start_date: datetime = FieldInfo(alias="startDate")
3737

3838

3939
class MetaConfidenceInfo(BaseModel):
@@ -82,6 +82,7 @@ class Meta(BaseModel):
8282
"PERCENTAGE_CHANGE",
8383
"ROLLING_AVERAGE",
8484
"OVERLAPPED_PERCENTAGE",
85+
"RATIO",
8586
]
8687
"""Normalization method applied to the results.
8788

src/cloudflare/types/radar/as112/summary_dnssec_response.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class MetaConfidenceInfoAnnotation(BaseModel):
2424

2525
description: str
2626

27-
end_time: datetime = FieldInfo(alias="endTime")
27+
end_date: datetime = FieldInfo(alias="endDate")
2828

2929
event_type: str = FieldInfo(alias="eventType")
3030

@@ -33,7 +33,7 @@ class MetaConfidenceInfoAnnotation(BaseModel):
3333

3434
linked_url: str = FieldInfo(alias="linkedUrl")
3535

36-
start_time: datetime = FieldInfo(alias="startTime")
36+
start_date: datetime = FieldInfo(alias="startDate")
3737

3838

3939
class MetaConfidenceInfo(BaseModel):
@@ -73,6 +73,7 @@ class Meta(BaseModel):
7373
"PERCENTAGE_CHANGE",
7474
"ROLLING_AVERAGE",
7575
"OVERLAPPED_PERCENTAGE",
76+
"RATIO",
7677
]
7778
"""Normalization method applied to the results.
7879

src/cloudflare/types/radar/as112/summary_edns_response.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class MetaConfidenceInfoAnnotation(BaseModel):
2424

2525
description: str
2626

27-
end_time: datetime = FieldInfo(alias="endTime")
27+
end_date: datetime = FieldInfo(alias="endDate")
2828

2929
event_type: str = FieldInfo(alias="eventType")
3030

@@ -33,7 +33,7 @@ class MetaConfidenceInfoAnnotation(BaseModel):
3333

3434
linked_url: str = FieldInfo(alias="linkedUrl")
3535

36-
start_time: datetime = FieldInfo(alias="startTime")
36+
start_date: datetime = FieldInfo(alias="startDate")
3737

3838

3939
class MetaConfidenceInfo(BaseModel):
@@ -73,6 +73,7 @@ class Meta(BaseModel):
7373
"PERCENTAGE_CHANGE",
7474
"ROLLING_AVERAGE",
7575
"OVERLAPPED_PERCENTAGE",
76+
"RATIO",
7677
]
7778
"""Normalization method applied to the results.
7879

0 commit comments

Comments
 (0)