Skip to content

Commit d7ac661

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat: update via SDK Studio (#34)
1 parent ceeba27 commit d7ac661

File tree

210 files changed

+34429
-264
lines changed

Some content is hidden

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

210 files changed

+34429
-264
lines changed

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
configured_endpoints: 1096
1+
configured_endpoints: 1170

api.md

+479-5
Large diffs are not rendered by default.

src/cloudflare/_client.py

+32
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class Cloudflare(SyncAPIClient):
5353
users: resources.Users
5454
zones: resources.Zones
5555
ai: resources.AI
56+
load_balancers: resources.LoadBalancers
5657
access: resources.Access
5758
dns_analytics: resources.DNSAnalytics
5859
purge_caches: resources.PurgeCaches
@@ -93,6 +94,7 @@ class Cloudflare(SyncAPIClient):
9394
rulesets: resources.Rulesets
9495
url_normalizations: resources.URLNormalizations
9596
spectrums: resources.Spectrums
97+
addresses: resources.Addresses
9698
audit_logs: resources.AuditLogs
9799
billings: resources.Billings
98100
brand_protections: resources.BrandProtections
@@ -129,6 +131,7 @@ class Cloudflare(SyncAPIClient):
129131
worker_domains: resources.WorkerDomains
130132
worker_scripts: resources.WorkerScripts
131133
zerotrust: resources.Zerotrust
134+
addressing: resources.Addressing
132135
challenges: resources.Challenges
133136
hyperdrive: resources.Hyperdrive
134137
intel: resources.Intel
@@ -151,6 +154,7 @@ class Cloudflare(SyncAPIClient):
151154
dlp: resources.DLP
152155
gateway: resources.Gateway
153156
access_tags: resources.AccessTags
157+
calls: resources.Calls
154158
with_raw_response: CloudflareWithRawResponse
155159
with_streaming_response: CloudflareWithStreamedResponse
156160

@@ -247,6 +251,7 @@ def __init__(
247251
self.users = resources.Users(self)
248252
self.zones = resources.Zones(self)
249253
self.ai = resources.AI(self)
254+
self.load_balancers = resources.LoadBalancers(self)
250255
self.access = resources.Access(self)
251256
self.dns_analytics = resources.DNSAnalytics(self)
252257
self.purge_caches = resources.PurgeCaches(self)
@@ -287,6 +292,7 @@ def __init__(
287292
self.rulesets = resources.Rulesets(self)
288293
self.url_normalizations = resources.URLNormalizations(self)
289294
self.spectrums = resources.Spectrums(self)
295+
self.addresses = resources.Addresses(self)
290296
self.audit_logs = resources.AuditLogs(self)
291297
self.billings = resources.Billings(self)
292298
self.brand_protections = resources.BrandProtections(self)
@@ -323,6 +329,7 @@ def __init__(
323329
self.worker_domains = resources.WorkerDomains(self)
324330
self.worker_scripts = resources.WorkerScripts(self)
325331
self.zerotrust = resources.Zerotrust(self)
332+
self.addressing = resources.Addressing(self)
326333
self.challenges = resources.Challenges(self)
327334
self.hyperdrive = resources.Hyperdrive(self)
328335
self.intel = resources.Intel(self)
@@ -345,6 +352,7 @@ def __init__(
345352
self.dlp = resources.DLP(self)
346353
self.gateway = resources.Gateway(self)
347354
self.access_tags = resources.AccessTags(self)
355+
self.calls = resources.Calls(self)
348356
self.with_raw_response = CloudflareWithRawResponse(self)
349357
self.with_streaming_response = CloudflareWithStreamedResponse(self)
350358

@@ -495,6 +503,7 @@ class AsyncCloudflare(AsyncAPIClient):
495503
users: resources.AsyncUsers
496504
zones: resources.AsyncZones
497505
ai: resources.AsyncAI
506+
load_balancers: resources.AsyncLoadBalancers
498507
access: resources.AsyncAccess
499508
dns_analytics: resources.AsyncDNSAnalytics
500509
purge_caches: resources.AsyncPurgeCaches
@@ -535,6 +544,7 @@ class AsyncCloudflare(AsyncAPIClient):
535544
rulesets: resources.AsyncRulesets
536545
url_normalizations: resources.AsyncURLNormalizations
537546
spectrums: resources.AsyncSpectrums
547+
addresses: resources.AsyncAddresses
538548
audit_logs: resources.AsyncAuditLogs
539549
billings: resources.AsyncBillings
540550
brand_protections: resources.AsyncBrandProtections
@@ -571,6 +581,7 @@ class AsyncCloudflare(AsyncAPIClient):
571581
worker_domains: resources.AsyncWorkerDomains
572582
worker_scripts: resources.AsyncWorkerScripts
573583
zerotrust: resources.AsyncZerotrust
584+
addressing: resources.AsyncAddressing
574585
challenges: resources.AsyncChallenges
575586
hyperdrive: resources.AsyncHyperdrive
576587
intel: resources.AsyncIntel
@@ -593,6 +604,7 @@ class AsyncCloudflare(AsyncAPIClient):
593604
dlp: resources.AsyncDLP
594605
gateway: resources.AsyncGateway
595606
access_tags: resources.AsyncAccessTags
607+
calls: resources.AsyncCalls
596608
with_raw_response: AsyncCloudflareWithRawResponse
597609
with_streaming_response: AsyncCloudflareWithStreamedResponse
598610

@@ -689,6 +701,7 @@ def __init__(
689701
self.users = resources.AsyncUsers(self)
690702
self.zones = resources.AsyncZones(self)
691703
self.ai = resources.AsyncAI(self)
704+
self.load_balancers = resources.AsyncLoadBalancers(self)
692705
self.access = resources.AsyncAccess(self)
693706
self.dns_analytics = resources.AsyncDNSAnalytics(self)
694707
self.purge_caches = resources.AsyncPurgeCaches(self)
@@ -729,6 +742,7 @@ def __init__(
729742
self.rulesets = resources.AsyncRulesets(self)
730743
self.url_normalizations = resources.AsyncURLNormalizations(self)
731744
self.spectrums = resources.AsyncSpectrums(self)
745+
self.addresses = resources.AsyncAddresses(self)
732746
self.audit_logs = resources.AsyncAuditLogs(self)
733747
self.billings = resources.AsyncBillings(self)
734748
self.brand_protections = resources.AsyncBrandProtections(self)
@@ -765,6 +779,7 @@ def __init__(
765779
self.worker_domains = resources.AsyncWorkerDomains(self)
766780
self.worker_scripts = resources.AsyncWorkerScripts(self)
767781
self.zerotrust = resources.AsyncZerotrust(self)
782+
self.addressing = resources.AsyncAddressing(self)
768783
self.challenges = resources.AsyncChallenges(self)
769784
self.hyperdrive = resources.AsyncHyperdrive(self)
770785
self.intel = resources.AsyncIntel(self)
@@ -787,6 +802,7 @@ def __init__(
787802
self.dlp = resources.AsyncDLP(self)
788803
self.gateway = resources.AsyncGateway(self)
789804
self.access_tags = resources.AsyncAccessTags(self)
805+
self.calls = resources.AsyncCalls(self)
790806
self.with_raw_response = AsyncCloudflareWithRawResponse(self)
791807
self.with_streaming_response = AsyncCloudflareWithStreamedResponse(self)
792808

@@ -938,6 +954,7 @@ def __init__(self, client: Cloudflare) -> None:
938954
self.users = resources.UsersWithRawResponse(client.users)
939955
self.zones = resources.ZonesWithRawResponse(client.zones)
940956
self.ai = resources.AIWithRawResponse(client.ai)
957+
self.load_balancers = resources.LoadBalancersWithRawResponse(client.load_balancers)
941958
self.access = resources.AccessWithRawResponse(client.access)
942959
self.dns_analytics = resources.DNSAnalyticsWithRawResponse(client.dns_analytics)
943960
self.purge_caches = resources.PurgeCachesWithRawResponse(client.purge_caches)
@@ -978,6 +995,7 @@ def __init__(self, client: Cloudflare) -> None:
978995
self.rulesets = resources.RulesetsWithRawResponse(client.rulesets)
979996
self.url_normalizations = resources.URLNormalizationsWithRawResponse(client.url_normalizations)
980997
self.spectrums = resources.SpectrumsWithRawResponse(client.spectrums)
998+
self.addresses = resources.AddressesWithRawResponse(client.addresses)
981999
self.audit_logs = resources.AuditLogsWithRawResponse(client.audit_logs)
9821000
self.billings = resources.BillingsWithRawResponse(client.billings)
9831001
self.brand_protections = resources.BrandProtectionsWithRawResponse(client.brand_protections)
@@ -1014,6 +1032,7 @@ def __init__(self, client: Cloudflare) -> None:
10141032
self.worker_domains = resources.WorkerDomainsWithRawResponse(client.worker_domains)
10151033
self.worker_scripts = resources.WorkerScriptsWithRawResponse(client.worker_scripts)
10161034
self.zerotrust = resources.ZerotrustWithRawResponse(client.zerotrust)
1035+
self.addressing = resources.AddressingWithRawResponse(client.addressing)
10171036
self.challenges = resources.ChallengesWithRawResponse(client.challenges)
10181037
self.hyperdrive = resources.HyperdriveWithRawResponse(client.hyperdrive)
10191038
self.intel = resources.IntelWithRawResponse(client.intel)
@@ -1038,6 +1057,7 @@ def __init__(self, client: Cloudflare) -> None:
10381057
self.dlp = resources.DLPWithRawResponse(client.dlp)
10391058
self.gateway = resources.GatewayWithRawResponse(client.gateway)
10401059
self.access_tags = resources.AccessTagsWithRawResponse(client.access_tags)
1060+
self.calls = resources.CallsWithRawResponse(client.calls)
10411061

10421062

10431063
class AsyncCloudflareWithRawResponse:
@@ -1049,6 +1069,7 @@ def __init__(self, client: AsyncCloudflare) -> None:
10491069
self.users = resources.AsyncUsersWithRawResponse(client.users)
10501070
self.zones = resources.AsyncZonesWithRawResponse(client.zones)
10511071
self.ai = resources.AsyncAIWithRawResponse(client.ai)
1072+
self.load_balancers = resources.AsyncLoadBalancersWithRawResponse(client.load_balancers)
10521073
self.access = resources.AsyncAccessWithRawResponse(client.access)
10531074
self.dns_analytics = resources.AsyncDNSAnalyticsWithRawResponse(client.dns_analytics)
10541075
self.purge_caches = resources.AsyncPurgeCachesWithRawResponse(client.purge_caches)
@@ -1091,6 +1112,7 @@ def __init__(self, client: AsyncCloudflare) -> None:
10911112
self.rulesets = resources.AsyncRulesetsWithRawResponse(client.rulesets)
10921113
self.url_normalizations = resources.AsyncURLNormalizationsWithRawResponse(client.url_normalizations)
10931114
self.spectrums = resources.AsyncSpectrumsWithRawResponse(client.spectrums)
1115+
self.addresses = resources.AsyncAddressesWithRawResponse(client.addresses)
10941116
self.audit_logs = resources.AsyncAuditLogsWithRawResponse(client.audit_logs)
10951117
self.billings = resources.AsyncBillingsWithRawResponse(client.billings)
10961118
self.brand_protections = resources.AsyncBrandProtectionsWithRawResponse(client.brand_protections)
@@ -1127,6 +1149,7 @@ def __init__(self, client: AsyncCloudflare) -> None:
11271149
self.worker_domains = resources.AsyncWorkerDomainsWithRawResponse(client.worker_domains)
11281150
self.worker_scripts = resources.AsyncWorkerScriptsWithRawResponse(client.worker_scripts)
11291151
self.zerotrust = resources.AsyncZerotrustWithRawResponse(client.zerotrust)
1152+
self.addressing = resources.AsyncAddressingWithRawResponse(client.addressing)
11301153
self.challenges = resources.AsyncChallengesWithRawResponse(client.challenges)
11311154
self.hyperdrive = resources.AsyncHyperdriveWithRawResponse(client.hyperdrive)
11321155
self.intel = resources.AsyncIntelWithRawResponse(client.intel)
@@ -1151,6 +1174,7 @@ def __init__(self, client: AsyncCloudflare) -> None:
11511174
self.dlp = resources.AsyncDLPWithRawResponse(client.dlp)
11521175
self.gateway = resources.AsyncGatewayWithRawResponse(client.gateway)
11531176
self.access_tags = resources.AsyncAccessTagsWithRawResponse(client.access_tags)
1177+
self.calls = resources.AsyncCallsWithRawResponse(client.calls)
11541178

11551179

11561180
class CloudflareWithStreamedResponse:
@@ -1162,6 +1186,7 @@ def __init__(self, client: Cloudflare) -> None:
11621186
self.users = resources.UsersWithStreamingResponse(client.users)
11631187
self.zones = resources.ZonesWithStreamingResponse(client.zones)
11641188
self.ai = resources.AIWithStreamingResponse(client.ai)
1189+
self.load_balancers = resources.LoadBalancersWithStreamingResponse(client.load_balancers)
11651190
self.access = resources.AccessWithStreamingResponse(client.access)
11661191
self.dns_analytics = resources.DNSAnalyticsWithStreamingResponse(client.dns_analytics)
11671192
self.purge_caches = resources.PurgeCachesWithStreamingResponse(client.purge_caches)
@@ -1204,6 +1229,7 @@ def __init__(self, client: Cloudflare) -> None:
12041229
self.rulesets = resources.RulesetsWithStreamingResponse(client.rulesets)
12051230
self.url_normalizations = resources.URLNormalizationsWithStreamingResponse(client.url_normalizations)
12061231
self.spectrums = resources.SpectrumsWithStreamingResponse(client.spectrums)
1232+
self.addresses = resources.AddressesWithStreamingResponse(client.addresses)
12071233
self.audit_logs = resources.AuditLogsWithStreamingResponse(client.audit_logs)
12081234
self.billings = resources.BillingsWithStreamingResponse(client.billings)
12091235
self.brand_protections = resources.BrandProtectionsWithStreamingResponse(client.brand_protections)
@@ -1240,6 +1266,7 @@ def __init__(self, client: Cloudflare) -> None:
12401266
self.worker_domains = resources.WorkerDomainsWithStreamingResponse(client.worker_domains)
12411267
self.worker_scripts = resources.WorkerScriptsWithStreamingResponse(client.worker_scripts)
12421268
self.zerotrust = resources.ZerotrustWithStreamingResponse(client.zerotrust)
1269+
self.addressing = resources.AddressingWithStreamingResponse(client.addressing)
12431270
self.challenges = resources.ChallengesWithStreamingResponse(client.challenges)
12441271
self.hyperdrive = resources.HyperdriveWithStreamingResponse(client.hyperdrive)
12451272
self.intel = resources.IntelWithStreamingResponse(client.intel)
@@ -1264,6 +1291,7 @@ def __init__(self, client: Cloudflare) -> None:
12641291
self.dlp = resources.DLPWithStreamingResponse(client.dlp)
12651292
self.gateway = resources.GatewayWithStreamingResponse(client.gateway)
12661293
self.access_tags = resources.AccessTagsWithStreamingResponse(client.access_tags)
1294+
self.calls = resources.CallsWithStreamingResponse(client.calls)
12671295

12681296

12691297
class AsyncCloudflareWithStreamedResponse:
@@ -1275,6 +1303,7 @@ def __init__(self, client: AsyncCloudflare) -> None:
12751303
self.users = resources.AsyncUsersWithStreamingResponse(client.users)
12761304
self.zones = resources.AsyncZonesWithStreamingResponse(client.zones)
12771305
self.ai = resources.AsyncAIWithStreamingResponse(client.ai)
1306+
self.load_balancers = resources.AsyncLoadBalancersWithStreamingResponse(client.load_balancers)
12781307
self.access = resources.AsyncAccessWithStreamingResponse(client.access)
12791308
self.dns_analytics = resources.AsyncDNSAnalyticsWithStreamingResponse(client.dns_analytics)
12801309
self.purge_caches = resources.AsyncPurgeCachesWithStreamingResponse(client.purge_caches)
@@ -1319,6 +1348,7 @@ def __init__(self, client: AsyncCloudflare) -> None:
13191348
self.rulesets = resources.AsyncRulesetsWithStreamingResponse(client.rulesets)
13201349
self.url_normalizations = resources.AsyncURLNormalizationsWithStreamingResponse(client.url_normalizations)
13211350
self.spectrums = resources.AsyncSpectrumsWithStreamingResponse(client.spectrums)
1351+
self.addresses = resources.AsyncAddressesWithStreamingResponse(client.addresses)
13221352
self.audit_logs = resources.AsyncAuditLogsWithStreamingResponse(client.audit_logs)
13231353
self.billings = resources.AsyncBillingsWithStreamingResponse(client.billings)
13241354
self.brand_protections = resources.AsyncBrandProtectionsWithStreamingResponse(client.brand_protections)
@@ -1357,6 +1387,7 @@ def __init__(self, client: AsyncCloudflare) -> None:
13571387
self.worker_domains = resources.AsyncWorkerDomainsWithStreamingResponse(client.worker_domains)
13581388
self.worker_scripts = resources.AsyncWorkerScriptsWithStreamingResponse(client.worker_scripts)
13591389
self.zerotrust = resources.AsyncZerotrustWithStreamingResponse(client.zerotrust)
1390+
self.addressing = resources.AsyncAddressingWithStreamingResponse(client.addressing)
13601391
self.challenges = resources.AsyncChallengesWithStreamingResponse(client.challenges)
13611392
self.hyperdrive = resources.AsyncHyperdriveWithStreamingResponse(client.hyperdrive)
13621393
self.intel = resources.AsyncIntelWithStreamingResponse(client.intel)
@@ -1381,6 +1412,7 @@ def __init__(self, client: AsyncCloudflare) -> None:
13811412
self.dlp = resources.AsyncDLPWithStreamingResponse(client.dlp)
13821413
self.gateway = resources.AsyncGatewayWithStreamingResponse(client.gateway)
13831414
self.access_tags = resources.AsyncAccessTagsWithStreamingResponse(client.access_tags)
1415+
self.calls = resources.AsyncCallsWithStreamingResponse(client.calls)
13841416

13851417

13861418
Client = Cloudflare

src/cloudflare/resources/__init__.py

+56
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,14 @@
112112
CacheWithStreamingResponse,
113113
AsyncCacheWithStreamingResponse,
114114
)
115+
from .calls import (
116+
Calls,
117+
AsyncCalls,
118+
CallsWithRawResponse,
119+
AsyncCallsWithRawResponse,
120+
CallsWithStreamingResponse,
121+
AsyncCallsWithStreamingResponse,
122+
)
115123
from .intel import (
116124
Intel,
117125
AsyncIntel,
@@ -392,6 +400,14 @@
392400
TeamnetsWithStreamingResponse,
393401
AsyncTeamnetsWithStreamingResponse,
394402
)
403+
from .addresses import (
404+
Addresses,
405+
AsyncAddresses,
406+
AddressesWithRawResponse,
407+
AsyncAddressesWithRawResponse,
408+
AddressesWithStreamingResponse,
409+
AsyncAddressesWithStreamingResponse,
410+
)
395411
from .analytics import (
396412
Analytics,
397413
AsyncAnalytics,
@@ -472,6 +488,14 @@
472488
ZerotrustWithStreamingResponse,
473489
AsyncZerotrustWithStreamingResponse,
474490
)
491+
from .addressing import (
492+
Addressing,
493+
AsyncAddressing,
494+
AddressingWithRawResponse,
495+
AsyncAddressingWithRawResponse,
496+
AddressingWithStreamingResponse,
497+
AsyncAddressingWithStreamingResponse,
498+
)
475499
from .audit_logs import (
476500
AuditLogs,
477501
AsyncAuditLogs,
@@ -672,6 +696,14 @@
672696
DcvDelegationWithStreamingResponse,
673697
AsyncDcvDelegationWithStreamingResponse,
674698
)
699+
from .load_balancers import (
700+
LoadBalancers,
701+
AsyncLoadBalancers,
702+
LoadBalancersWithRawResponse,
703+
AsyncLoadBalancersWithRawResponse,
704+
LoadBalancersWithStreamingResponse,
705+
AsyncLoadBalancersWithStreamingResponse,
706+
)
675707
from .warp_connector import (
676708
WarpConnector,
677709
AsyncWarpConnector,
@@ -884,6 +916,12 @@
884916
"AsyncAIWithRawResponse",
885917
"AIWithStreamingResponse",
886918
"AsyncAIWithStreamingResponse",
919+
"LoadBalancers",
920+
"AsyncLoadBalancers",
921+
"LoadBalancersWithRawResponse",
922+
"AsyncLoadBalancersWithRawResponse",
923+
"LoadBalancersWithStreamingResponse",
924+
"AsyncLoadBalancersWithStreamingResponse",
887925
"Access",
888926
"AsyncAccess",
889927
"AccessWithRawResponse",
@@ -1124,6 +1162,12 @@
11241162
"AsyncSpectrumsWithRawResponse",
11251163
"SpectrumsWithStreamingResponse",
11261164
"AsyncSpectrumsWithStreamingResponse",
1165+
"Addresses",
1166+
"AsyncAddresses",
1167+
"AddressesWithRawResponse",
1168+
"AsyncAddressesWithRawResponse",
1169+
"AddressesWithStreamingResponse",
1170+
"AsyncAddressesWithStreamingResponse",
11271171
"AuditLogs",
11281172
"AsyncAuditLogs",
11291173
"AuditLogsWithRawResponse",
@@ -1340,6 +1384,12 @@
13401384
"AsyncZerotrustWithRawResponse",
13411385
"ZerotrustWithStreamingResponse",
13421386
"AsyncZerotrustWithStreamingResponse",
1387+
"Addressing",
1388+
"AsyncAddressing",
1389+
"AddressingWithRawResponse",
1390+
"AsyncAddressingWithRawResponse",
1391+
"AddressingWithStreamingResponse",
1392+
"AsyncAddressingWithStreamingResponse",
13431393
"Challenges",
13441394
"AsyncChallenges",
13451395
"ChallengesWithRawResponse",
@@ -1472,4 +1522,10 @@
14721522
"AsyncAccessTagsWithRawResponse",
14731523
"AccessTagsWithStreamingResponse",
14741524
"AsyncAccessTagsWithStreamingResponse",
1525+
"Calls",
1526+
"AsyncCalls",
1527+
"CallsWithRawResponse",
1528+
"AsyncCallsWithRawResponse",
1529+
"CallsWithStreamingResponse",
1530+
"AsyncCallsWithStreamingResponse",
14751531
]

0 commit comments

Comments
 (0)