Skip to content

Commit 6dc7edc

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat: update via SDK Studio (#78)
1 parent 0c07c52 commit 6dc7edc

File tree

570 files changed

+5022
-4729
lines changed

Some content is hidden

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

570 files changed

+5022
-4729
lines changed

api.md

+1,016-1,002
Large diffs are not rendered by default.

src/cloudflare/_client.py

+38-72
Large diffs are not rendered by default.

src/cloudflare/resources/__init__.py

+56-126
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,6 @@
3232
ACMWithStreamingResponse,
3333
AsyncACMWithStreamingResponse,
3434
)
35-
from .dex import (
36-
DEX,
37-
AsyncDEX,
38-
DEXWithRawResponse,
39-
AsyncDEXWithRawResponse,
40-
DEXWithStreamingResponse,
41-
AsyncDEXWithStreamingResponse,
42-
)
43-
from .dlp import (
44-
DLP,
45-
AsyncDLP,
46-
DLPWithRawResponse,
47-
AsyncDLPWithRawResponse,
48-
DLPWithStreamingResponse,
49-
AsyncDLPWithStreamingResponse,
50-
)
5135
from .dns import (
5236
DNS,
5337
AsyncDNS,
@@ -96,14 +80,6 @@
9680
LogsWithStreamingResponse,
9781
AsyncLogsWithStreamingResponse,
9882
)
99-
from .mnms import (
100-
MNMs,
101-
AsyncMNMs,
102-
MNMsWithRawResponse,
103-
AsyncMNMsWithRawResponse,
104-
MNMsWithStreamingResponse,
105-
AsyncMNMsWithStreamingResponse,
106-
)
10783
from .user import (
10884
User,
10985
AsyncUser,
@@ -200,14 +176,6 @@
200176
ZonesWithStreamingResponse,
201177
AsyncZonesWithStreamingResponse,
202178
)
203-
from .access import (
204-
Access,
205-
AsyncAccess,
206-
AccessWithRawResponse,
207-
AsyncAccessWithRawResponse,
208-
AccessWithStreamingResponse,
209-
AsyncAccessWithStreamingResponse,
210-
)
211179
from .dnssec import (
212180
DNSSEC,
213181
AsyncDNSSEC,
@@ -232,6 +200,14 @@
232200
ImagesWithStreamingResponse,
233201
AsyncImagesWithStreamingResponse,
234202
)
203+
from .queues import (
204+
Queues,
205+
AsyncQueues,
206+
QueuesWithRawResponse,
207+
AsyncQueuesWithRawResponse,
208+
QueuesWithStreamingResponse,
209+
AsyncQueuesWithStreamingResponse,
210+
)
235211
from .stream import (
236212
Stream,
237213
AsyncStream,
@@ -280,22 +256,6 @@
280256
StorageWithStreamingResponse,
281257
AsyncStorageWithStreamingResponse,
282258
)
283-
from .teamnet import (
284-
Teamnet,
285-
AsyncTeamnet,
286-
TeamnetWithRawResponse,
287-
AsyncTeamnetWithRawResponse,
288-
TeamnetWithStreamingResponse,
289-
AsyncTeamnetWithStreamingResponse,
290-
)
291-
from .tunnels import (
292-
Tunnels,
293-
AsyncTunnels,
294-
TunnelsWithRawResponse,
295-
AsyncTunnelsWithRawResponse,
296-
TunnelsWithStreamingResponse,
297-
AsyncTunnelsWithStreamingResponse,
298-
)
299259
from .workers import (
300260
Workers,
301261
AsyncWorkers,
@@ -328,14 +288,6 @@
328288
FirewallWithStreamingResponse,
329289
AsyncFirewallWithStreamingResponse,
330290
)
331-
from .gateways import (
332-
Gateways,
333-
AsyncGateways,
334-
GatewaysWithRawResponse,
335-
AsyncGatewaysWithRawResponse,
336-
GatewaysWithStreamingResponse,
337-
AsyncGatewaysWithStreamingResponse,
338-
)
339291
from .rulesets import (
340292
Rulesets,
341293
AsyncRulesets,
@@ -360,14 +312,6 @@
360312
SpectrumWithStreamingResponse,
361313
AsyncSpectrumWithStreamingResponse,
362314
)
363-
from .addresses import (
364-
Addresses,
365-
AsyncAddresses,
366-
AddressesWithRawResponse,
367-
AsyncAddressesWithRawResponse,
368-
AddressesWithStreamingResponse,
369-
AsyncAddressesWithStreamingResponse,
370-
)
371315
from .hostnames import (
372316
Hostnames,
373317
AsyncHostnames,
@@ -400,6 +344,14 @@
400344
VectorizeWithStreamingResponse,
401345
AsyncVectorizeWithStreamingResponse,
402346
)
347+
from .addressing import (
348+
Addressing,
349+
AsyncAddressing,
350+
AddressingWithRawResponse,
351+
AsyncAddressingWithRawResponse,
352+
AddressingWithStreamingResponse,
353+
AsyncAddressingWithStreamingResponse,
354+
)
403355
from .audit_logs import (
404356
AuditLogs,
405357
AsyncAuditLogs,
@@ -440,14 +392,6 @@
440392
DiagnosticsWithStreamingResponse,
441393
AsyncDiagnosticsWithStreamingResponse,
442394
)
443-
from .dispatchers import (
444-
Dispatchers,
445-
AsyncDispatchers,
446-
DispatchersWithRawResponse,
447-
AsyncDispatchersWithRawResponse,
448-
DispatchersWithStreamingResponse,
449-
AsyncDispatchersWithStreamingResponse,
450-
)
451395
from .memberships import (
452396
Memberships,
453397
AsyncMemberships,
@@ -576,6 +520,14 @@
576520
AvailablePlansWithStreamingResponse,
577521
AsyncAvailablePlansWithStreamingResponse,
578522
)
523+
from .durable_objects import (
524+
DurableObjects,
525+
AsyncDurableObjects,
526+
DurableObjectsWithRawResponse,
527+
AsyncDurableObjectsWithRawResponse,
528+
DurableObjectsWithStreamingResponse,
529+
AsyncDurableObjectsWithStreamingResponse,
530+
)
579531
from .managed_headers import (
580532
ManagedHeaders,
581533
AsyncManagedHeaders,
@@ -688,6 +640,14 @@
688640
CertificateAuthoritiesWithStreamingResponse,
689641
AsyncCertificateAuthoritiesWithStreamingResponse,
690642
)
643+
from .magic_network_monitoring import (
644+
MagicNetworkMonitoring,
645+
AsyncMagicNetworkMonitoring,
646+
MagicNetworkMonitoringWithRawResponse,
647+
AsyncMagicNetworkMonitoringWithRawResponse,
648+
MagicNetworkMonitoringWithStreamingResponse,
649+
AsyncMagicNetworkMonitoringWithStreamingResponse,
650+
)
691651
from .origin_post_quantum_encryption import (
692652
OriginPostQuantumEncryption,
693653
AsyncOriginPostQuantumEncryption,
@@ -740,12 +700,6 @@
740700
"AsyncLoadBalancersWithRawResponse",
741701
"LoadBalancersWithStreamingResponse",
742702
"AsyncLoadBalancersWithStreamingResponse",
743-
"Access",
744-
"AsyncAccess",
745-
"AccessWithRawResponse",
746-
"AsyncAccessWithRawResponse",
747-
"AccessWithStreamingResponse",
748-
"AsyncAccessWithStreamingResponse",
749703
"Cache",
750704
"AsyncCache",
751705
"CacheWithRawResponse",
@@ -920,6 +874,18 @@
920874
"AsyncKVWithRawResponse",
921875
"KVWithStreamingResponse",
922876
"AsyncKVWithStreamingResponse",
877+
"DurableObjects",
878+
"AsyncDurableObjects",
879+
"DurableObjectsWithRawResponse",
880+
"AsyncDurableObjectsWithRawResponse",
881+
"DurableObjectsWithStreamingResponse",
882+
"AsyncDurableObjectsWithStreamingResponse",
883+
"Queues",
884+
"AsyncQueues",
885+
"QueuesWithRawResponse",
886+
"AsyncQueuesWithRawResponse",
887+
"QueuesWithStreamingResponse",
888+
"AsyncQueuesWithStreamingResponse",
923889
"ManagedHeaders",
924890
"AsyncManagedHeaders",
925891
"ManagedHeadersWithRawResponse",
@@ -950,12 +916,12 @@
950916
"AsyncSpectrumWithRawResponse",
951917
"SpectrumWithStreamingResponse",
952918
"AsyncSpectrumWithStreamingResponse",
953-
"Addresses",
954-
"AsyncAddresses",
955-
"AddressesWithRawResponse",
956-
"AsyncAddressesWithRawResponse",
957-
"AddressesWithStreamingResponse",
958-
"AsyncAddressesWithStreamingResponse",
919+
"Addressing",
920+
"AsyncAddressing",
921+
"AddressingWithRawResponse",
922+
"AsyncAddressingWithRawResponse",
923+
"AddressingWithStreamingResponse",
924+
"AsyncAddressingWithStreamingResponse",
959925
"AuditLogs",
960926
"AsyncAuditLogs",
961927
"AuditLogsWithRawResponse",
@@ -974,24 +940,12 @@
974940
"AsyncBrandProtectionWithRawResponse",
975941
"BrandProtectionWithStreamingResponse",
976942
"AsyncBrandProtectionWithStreamingResponse",
977-
"Tunnels",
978-
"AsyncTunnels",
979-
"TunnelsWithRawResponse",
980-
"AsyncTunnelsWithRawResponse",
981-
"TunnelsWithStreamingResponse",
982-
"AsyncTunnelsWithStreamingResponse",
983943
"Diagnostics",
984944
"AsyncDiagnostics",
985945
"DiagnosticsWithRawResponse",
986946
"AsyncDiagnosticsWithRawResponse",
987947
"DiagnosticsWithStreamingResponse",
988948
"AsyncDiagnosticsWithStreamingResponse",
989-
"DLP",
990-
"AsyncDLP",
991-
"DLPWithRawResponse",
992-
"AsyncDLPWithRawResponse",
993-
"DLPWithStreamingResponse",
994-
"AsyncDLPWithStreamingResponse",
995949
"Images",
996950
"AsyncImages",
997951
"ImagesWithRawResponse",
@@ -1010,12 +964,12 @@
1010964
"AsyncMagicTransitWithRawResponse",
1011965
"MagicTransitWithStreamingResponse",
1012966
"AsyncMagicTransitWithStreamingResponse",
1013-
"MNMs",
1014-
"AsyncMNMs",
1015-
"MNMsWithRawResponse",
1016-
"AsyncMNMsWithRawResponse",
1017-
"MNMsWithStreamingResponse",
1018-
"AsyncMNMsWithStreamingResponse",
967+
"MagicNetworkMonitoring",
968+
"AsyncMagicNetworkMonitoring",
969+
"MagicNetworkMonitoringWithRawResponse",
970+
"AsyncMagicNetworkMonitoringWithRawResponse",
971+
"MagicNetworkMonitoringWithStreamingResponse",
972+
"AsyncMagicNetworkMonitoringWithStreamingResponse",
1019973
"MTLSCertificates",
1020974
"AsyncMTLSCertificates",
1021975
"MTLSCertificatesWithRawResponse",
@@ -1070,12 +1024,6 @@
10701024
"AsyncStreamWithRawResponse",
10711025
"StreamWithStreamingResponse",
10721026
"AsyncStreamWithStreamingResponse",
1073-
"Gateways",
1074-
"AsyncGateways",
1075-
"GatewaysWithRawResponse",
1076-
"AsyncGatewaysWithRawResponse",
1077-
"GatewaysWithStreamingResponse",
1078-
"AsyncGatewaysWithStreamingResponse",
10791027
"Alerting",
10801028
"AsyncAlerting",
10811029
"AlertingWithRawResponse",
@@ -1094,36 +1042,18 @@
10941042
"AsyncD1WithRawResponse",
10951043
"D1WithStreamingResponse",
10961044
"AsyncD1WithStreamingResponse",
1097-
"DEX",
1098-
"AsyncDEX",
1099-
"DEXWithRawResponse",
1100-
"AsyncDEXWithRawResponse",
1101-
"DEXWithStreamingResponse",
1102-
"AsyncDEXWithStreamingResponse",
11031045
"R2",
11041046
"AsyncR2",
11051047
"R2WithRawResponse",
11061048
"AsyncR2WithRawResponse",
11071049
"R2WithStreamingResponse",
11081050
"AsyncR2WithStreamingResponse",
1109-
"Teamnet",
1110-
"AsyncTeamnet",
1111-
"TeamnetWithRawResponse",
1112-
"AsyncTeamnetWithRawResponse",
1113-
"TeamnetWithStreamingResponse",
1114-
"AsyncTeamnetWithStreamingResponse",
11151051
"WARPConnector",
11161052
"AsyncWARPConnector",
11171053
"WARPConnectorWithRawResponse",
11181054
"AsyncWARPConnectorWithRawResponse",
11191055
"WARPConnectorWithStreamingResponse",
11201056
"AsyncWARPConnectorWithStreamingResponse",
1121-
"Dispatchers",
1122-
"AsyncDispatchers",
1123-
"DispatchersWithRawResponse",
1124-
"AsyncDispatchersWithRawResponse",
1125-
"DispatchersWithStreamingResponse",
1126-
"AsyncDispatchersWithStreamingResponse",
11271057
"WorkersForPlatforms",
11281058
"AsyncWorkersForPlatforms",
11291059
"WorkersForPlatformsWithRawResponse",

src/cloudflare/resources/addresses/__init__.py src/cloudflare/resources/addressing/__init__.py

+13-13
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
ServicesWithStreamingResponse,
1717
AsyncServicesWithStreamingResponse,
1818
)
19-
from .addresses import (
20-
Addresses,
21-
AsyncAddresses,
22-
AddressesWithRawResponse,
23-
AsyncAddressesWithRawResponse,
24-
AddressesWithStreamingResponse,
25-
AsyncAddressesWithStreamingResponse,
19+
from .addressing import (
20+
Addressing,
21+
AsyncAddressing,
22+
AddressingWithRawResponse,
23+
AsyncAddressingWithRawResponse,
24+
AddressingWithStreamingResponse,
25+
AsyncAddressingWithStreamingResponse,
2626
)
2727
from .address_maps import (
2828
AddressMaps,
@@ -66,10 +66,10 @@
6666
"AsyncPrefixesWithRawResponse",
6767
"PrefixesWithStreamingResponse",
6868
"AsyncPrefixesWithStreamingResponse",
69-
"Addresses",
70-
"AsyncAddresses",
71-
"AddressesWithRawResponse",
72-
"AsyncAddressesWithRawResponse",
73-
"AddressesWithStreamingResponse",
74-
"AsyncAddressesWithStreamingResponse",
69+
"Addressing",
70+
"AsyncAddressing",
71+
"AddressingWithRawResponse",
72+
"AsyncAddressingWithRawResponse",
73+
"AddressingWithStreamingResponse",
74+
"AsyncAddressingWithStreamingResponse",
7575
]

src/cloudflare/resources/addresses/address_maps/accounts.py src/cloudflare/resources/addressing/address_maps/accounts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from ...._base_client import (
2020
make_request_options,
2121
)
22-
from ....types.addresses.address_maps import AccountDeleteResponse, AccountUpdateResponse
22+
from ....types.addressing.address_maps import AccountDeleteResponse, AccountUpdateResponse
2323

2424
__all__ = ["Accounts", "AsyncAccounts"]
2525

src/cloudflare/resources/addresses/address_maps/address_maps.py src/cloudflare/resources/addressing/address_maps/address_maps.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
from ...._base_client import (
4545
make_request_options,
4646
)
47-
from ....types.addresses import (
47+
from ....types.addressing import (
4848
AddressMapGetResponse,
4949
AddressMapEditResponse,
5050
AddressMapListResponse,

src/cloudflare/resources/addresses/address_maps/ips.py src/cloudflare/resources/addressing/address_maps/ips.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from ...._base_client import (
2020
make_request_options,
2121
)
22-
from ....types.addresses.address_maps import IPDeleteResponse, IPUpdateResponse
22+
from ....types.addressing.address_maps import IPDeleteResponse, IPUpdateResponse
2323

2424
__all__ = ["IPs", "AsyncIPs"]
2525

src/cloudflare/resources/addresses/address_maps/zones.py src/cloudflare/resources/addressing/address_maps/zones.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from ...._base_client import (
2020
make_request_options,
2121
)
22-
from ....types.addresses.address_maps import ZoneDeleteResponse, ZoneUpdateResponse
22+
from ....types.addressing.address_maps import ZoneDeleteResponse, ZoneUpdateResponse
2323

2424
__all__ = ["Zones", "AsyncZones"]
2525

0 commit comments

Comments
 (0)