Skip to content

Commit 2b3a510

Browse files
feat(api): api update
1 parent cb9ce20 commit 2b3a510

61 files changed

Lines changed: 348 additions & 224 deletions

File tree

Some content is hidden

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

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1798
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-c972b67141d4322a331c3f8191fd859e88c23d0528b1e8daac86c49521cd3510.yml
3-
openapi_spec_hash: 55643b37c147c204b6b0d70c3e99a6b6
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-06913f14cb00f0c733777e7a8881bcace4659c99eda8321fa1952db10a167c80.yml
3+
openapi_spec_hash: 844e3609ec6add26270ac46e9872ed0e
44
config_hash: a1304617cd14c003fb430a6827269eba

src/cloudflare/resources/argo/tiered_caching.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def edit(
7272
resources.
7373
7474
Args:
75-
zone_id: Identifier
75+
zone_id: Identifier.
7676
7777
value: Enables Tiered Caching.
7878
@@ -124,7 +124,7 @@ def get(
124124
resources.
125125
126126
Args:
127-
zone_id: Identifier
127+
zone_id: Identifier.
128128
129129
extra_headers: Send extra headers
130130
@@ -195,7 +195,7 @@ async def edit(
195195
resources.
196196
197197
Args:
198-
zone_id: Identifier
198+
zone_id: Identifier.
199199
200200
value: Enables Tiered Caching.
201201
@@ -247,7 +247,7 @@ async def get(
247247
resources.
248248
249249
Args:
250-
zone_id: Identifier
250+
zone_id: Identifier.
251251
252252
extra_headers: Send extra headers
253253

src/cloudflare/resources/cache/cache_reserve.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def clear(
6767
that you cannot undo or cancel this operation.
6868
6969
Args:
70-
zone_id: Identifier
70+
zone_id: Identifier.
7171
7272
extra_headers: Send extra headers
7373
@@ -113,7 +113,7 @@ def edit(
113113
for more information.
114114
115115
Args:
116-
zone_id: Identifier
116+
zone_id: Identifier.
117117
118118
value: Value of the Cache Reserve zone setting.
119119
@@ -160,7 +160,7 @@ def get(
160160
for more information.
161161
162162
Args:
163-
zone_id: Identifier
163+
zone_id: Identifier.
164164
165165
extra_headers: Send extra headers
166166
@@ -202,7 +202,7 @@ def status(
202202
that you cannot undo or cancel this operation.
203203
204204
Args:
205-
zone_id: Identifier
205+
zone_id: Identifier.
206206
207207
extra_headers: Send extra headers
208208
@@ -266,7 +266,7 @@ async def clear(
266266
that you cannot undo or cancel this operation.
267267
268268
Args:
269-
zone_id: Identifier
269+
zone_id: Identifier.
270270
271271
extra_headers: Send extra headers
272272
@@ -312,7 +312,7 @@ async def edit(
312312
for more information.
313313
314314
Args:
315-
zone_id: Identifier
315+
zone_id: Identifier.
316316
317317
value: Value of the Cache Reserve zone setting.
318318
@@ -359,7 +359,7 @@ async def get(
359359
for more information.
360360
361361
Args:
362-
zone_id: Identifier
362+
zone_id: Identifier.
363363
364364
extra_headers: Send extra headers
365365
@@ -401,7 +401,7 @@ async def status(
401401
that you cannot undo or cancel this operation.
402402
403403
Args:
404-
zone_id: Identifier
404+
zone_id: Identifier.
405405
406406
extra_headers: Send extra headers
407407

src/cloudflare/resources/cache/regional_tiered_cache.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def edit(
6464
topologies.
6565
6666
Args:
67-
zone_id: Identifier
67+
zone_id: Identifier.
6868
6969
value: Value of the Regional Tiered Cache zone setting.
7070
@@ -110,7 +110,7 @@ def get(
110110
topologies.
111111
112112
Args:
113-
zone_id: Identifier
113+
zone_id: Identifier.
114114
115115
extra_headers: Send extra headers
116116
@@ -173,7 +173,7 @@ async def edit(
173173
topologies.
174174
175175
Args:
176-
zone_id: Identifier
176+
zone_id: Identifier.
177177
178178
value: Value of the Regional Tiered Cache zone setting.
179179
@@ -221,7 +221,7 @@ async def get(
221221
topologies.
222222
223223
Args:
224-
zone_id: Identifier
224+
zone_id: Identifier.
225225
226226
extra_headers: Send extra headers
227227

src/cloudflare/resources/cache/smart_tiered_cache.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def delete(
6767
data center with the lowest latency to be the upper-tier for an origin.
6868
6969
Args:
70-
zone_id: Identifier
70+
zone_id: Identifier.
7171
7272
extra_headers: Send extra headers
7373
@@ -112,9 +112,9 @@ def edit(
112112
data center with the lowest latency to be the upper-tier for an origin.
113113
114114
Args:
115-
zone_id: Identifier
115+
zone_id: Identifier.
116116
117-
value: Enable or disable the Smart Tiered Cache
117+
value: Enable or disable the Smart Tiered Cache.
118118
119119
extra_headers: Send extra headers
120120
@@ -159,7 +159,7 @@ def get(
159159
data center with the lowest latency to be the upper-tier for an origin.
160160
161161
Args:
162-
zone_id: Identifier
162+
zone_id: Identifier.
163163
164164
extra_headers: Send extra headers
165165
@@ -224,7 +224,7 @@ async def delete(
224224
data center with the lowest latency to be the upper-tier for an origin.
225225
226226
Args:
227-
zone_id: Identifier
227+
zone_id: Identifier.
228228
229229
extra_headers: Send extra headers
230230
@@ -269,9 +269,9 @@ async def edit(
269269
data center with the lowest latency to be the upper-tier for an origin.
270270
271271
Args:
272-
zone_id: Identifier
272+
zone_id: Identifier.
273273
274-
value: Enable or disable the Smart Tiered Cache
274+
value: Enable or disable the Smart Tiered Cache.
275275
276276
extra_headers: Send extra headers
277277
@@ -318,7 +318,7 @@ async def get(
318318
data center with the lowest latency to be the upper-tier for an origin.
319319
320320
Args:
321-
zone_id: Identifier
321+
zone_id: Identifier.
322322
323323
extra_headers: Send extra headers
324324

src/cloudflare/resources/cache/variants.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def delete(
6565
be indicated with BYPASS cache status in the response headers.
6666
6767
Args:
68-
zone_id: Identifier
68+
zone_id: Identifier.
6969
7070
extra_headers: Send extra headers
7171
@@ -109,7 +109,7 @@ def edit(
109109
be indicated with BYPASS cache status in the response headers.
110110
111111
Args:
112-
zone_id: Identifier
112+
zone_id: Identifier.
113113
114114
value: Value of the zone setting.
115115
@@ -155,7 +155,7 @@ def get(
155155
be indicated with BYPASS cache status in the response headers.
156156
157157
Args:
158-
zone_id: Identifier
158+
zone_id: Identifier.
159159
160160
extra_headers: Send extra headers
161161
@@ -219,7 +219,7 @@ async def delete(
219219
be indicated with BYPASS cache status in the response headers.
220220
221221
Args:
222-
zone_id: Identifier
222+
zone_id: Identifier.
223223
224224
extra_headers: Send extra headers
225225
@@ -263,7 +263,7 @@ async def edit(
263263
be indicated with BYPASS cache status in the response headers.
264264
265265
Args:
266-
zone_id: Identifier
266+
zone_id: Identifier.
267267
268268
value: Value of the zone setting.
269269
@@ -309,7 +309,7 @@ async def get(
309309
be indicated with BYPASS cache status in the response headers.
310310
311311
Args:
312-
zone_id: Identifier
312+
zone_id: Identifier.
313313
314314
extra_headers: Send extra headers
315315

src/cloudflare/resources/origin_post_quantum_encryption.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ def update(
6868
send a Post-Quantum keyshare in the first message to the origin (for fastest
6969
connections when the origin supports and prefers PQ), supported means that PQ
7070
algorithms are advertised but only used when requested by the origin, and off
71-
means that PQ algorithms are not advertised
71+
means that PQ algorithms are not advertised.
7272
7373
Args:
74-
zone_id: Identifier
74+
zone_id: Identifier.
7575
7676
value: Value of the Origin Post Quantum Encryption Setting.
7777
@@ -120,10 +120,10 @@ def get(
120120
send a Post-Quantum keyshare in the first message to the origin (for fastest
121121
connections when the origin supports and prefers PQ), supported means that PQ
122122
algorithms are advertised but only used when requested by the origin, and off
123-
means that PQ algorithms are not advertised
123+
means that PQ algorithms are not advertised.
124124
125125
Args:
126-
zone_id: Identifier
126+
zone_id: Identifier.
127127
128128
extra_headers: Send extra headers
129129
@@ -189,10 +189,10 @@ async def update(
189189
send a Post-Quantum keyshare in the first message to the origin (for fastest
190190
connections when the origin supports and prefers PQ), supported means that PQ
191191
algorithms are advertised but only used when requested by the origin, and off
192-
means that PQ algorithms are not advertised
192+
means that PQ algorithms are not advertised.
193193
194194
Args:
195-
zone_id: Identifier
195+
zone_id: Identifier.
196196
197197
value: Value of the Origin Post Quantum Encryption Setting.
198198
@@ -241,10 +241,10 @@ async def get(
241241
send a Post-Quantum keyshare in the first message to the origin (for fastest
242242
connections when the origin supports and prefers PQ), supported means that PQ
243243
algorithms are advertised but only used when requested by the origin, and off
244-
means that PQ algorithms are not advertised
244+
means that PQ algorithms are not advertised.
245245
246246
Args:
247-
zone_id: Identifier
247+
zone_id: Identifier.
248248
249249
extra_headers: Send extra headers
250250

src/cloudflare/resources/vectorize/indexes/indexes.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import httpx
99

10-
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
10+
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven, FileTypes
1111
from ...._utils import maybe_transform, async_maybe_transform
1212
from ...._compat import cached_property
1313
from ...._resource import SyncAPIResource, AsyncAPIResource
@@ -389,7 +389,7 @@ def insert(
389389
index_name: str,
390390
*,
391391
account_id: str,
392-
body: str,
392+
body: FileTypes,
393393
unparsable_behavior: Literal["error", "discard"] | NotGiven = NOT_GIVEN,
394394
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
395395
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -510,7 +510,7 @@ def upsert(
510510
index_name: str,
511511
*,
512512
account_id: str,
513-
body: str,
513+
body: FileTypes,
514514
unparsable_behavior: Literal["error", "discard"] | NotGiven = NOT_GIVEN,
515515
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
516516
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -901,7 +901,7 @@ async def insert(
901901
index_name: str,
902902
*,
903903
account_id: str,
904-
body: str,
904+
body: FileTypes,
905905
unparsable_behavior: Literal["error", "discard"] | NotGiven = NOT_GIVEN,
906906
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
907907
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1022,7 +1022,7 @@ async def upsert(
10221022
index_name: str,
10231023
*,
10241024
account_id: str,
1025-
body: str,
1025+
body: FileTypes,
10261026
unparsable_behavior: Literal["error", "discard"] | NotGiven = NOT_GIVEN,
10271027
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
10281028
# The extra values given here take precedence over values defined on the client or passed to this method.

0 commit comments

Comments
 (0)