Skip to content

Commit ae504a1

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat: update via SDK Studio (#61)
1 parent 4aec658 commit ae504a1

File tree

716 files changed

+10425
-14949
lines changed

Some content is hidden

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

716 files changed

+10425
-14949
lines changed

api.md

+1,468-1,558
Large diffs are not rendered by default.

src/cloudflare/_client.py

+32-96
Large diffs are not rendered by default.

src/cloudflare/resources/__init__.py

+47-159
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
D1WithStreamingResponse,
99
AsyncD1WithStreamingResponse,
1010
)
11+
from .kv import (
12+
KV,
13+
AsyncKV,
14+
KVWithRawResponse,
15+
AsyncKVWithRawResponse,
16+
KVWithStreamingResponse,
17+
AsyncKVWithStreamingResponse,
18+
)
1119
from .r2 import (
1220
R2,
1321
AsyncR2,
@@ -224,14 +232,6 @@
224232
ImagesWithStreamingResponse,
225233
AsyncImagesWithStreamingResponse,
226234
)
227-
from .magics import (
228-
Magics,
229-
AsyncMagics,
230-
MagicsWithRawResponse,
231-
AsyncMagicsWithRawResponse,
232-
MagicsWithStreamingResponse,
233-
AsyncMagicsWithStreamingResponse,
234-
)
235235
from .stream import (
236236
Stream,
237237
AsyncStream,
@@ -344,14 +344,6 @@
344344
RulesetsWithStreamingResponse,
345345
AsyncRulesetsWithStreamingResponse,
346346
)
347-
from .settings import (
348-
Settings,
349-
AsyncSettings,
350-
SettingsWithRawResponse,
351-
AsyncSettingsWithRawResponse,
352-
SettingsWithStreamingResponse,
353-
AsyncSettingsWithStreamingResponse,
354-
)
355347
from .snippets import (
356348
Snippets,
357349
AsyncSnippets,
@@ -368,14 +360,6 @@
368360
SpectrumWithStreamingResponse,
369361
AsyncSpectrumWithStreamingResponse,
370362
)
371-
from .teamnets import (
372-
Teamnets,
373-
AsyncTeamnets,
374-
TeamnetsWithRawResponse,
375-
AsyncTeamnetsWithRawResponse,
376-
TeamnetsWithStreamingResponse,
377-
AsyncTeamnetsWithStreamingResponse,
378-
)
379363
from .addresses import (
380364
Addresses,
381365
AsyncAddresses,
@@ -384,14 +368,6 @@
384368
AddressesWithStreamingResponse,
385369
AsyncAddressesWithStreamingResponse,
386370
)
387-
from .firewalls import (
388-
Firewalls,
389-
AsyncFirewalls,
390-
FirewallsWithRawResponse,
391-
AsyncFirewallsWithRawResponse,
392-
FirewallsWithStreamingResponse,
393-
AsyncFirewallsWithStreamingResponse,
394-
)
395371
from .hostnames import (
396372
Hostnames,
397373
AsyncHostnames,
@@ -424,22 +400,6 @@
424400
VectorizeWithStreamingResponse,
425401
AsyncVectorizeWithStreamingResponse,
426402
)
427-
from .zerotrust import (
428-
Zerotrust,
429-
AsyncZerotrust,
430-
ZerotrustWithRawResponse,
431-
AsyncZerotrustWithRawResponse,
432-
ZerotrustWithStreamingResponse,
433-
AsyncZerotrustWithStreamingResponse,
434-
)
435-
from .addressing import (
436-
Addressing,
437-
AsyncAddressing,
438-
AddressingWithRawResponse,
439-
AsyncAddressingWithRawResponse,
440-
AddressingWithStreamingResponse,
441-
AsyncAddressingWithStreamingResponse,
442-
)
443403
from .audit_logs import (
444404
AuditLogs,
445405
AsyncAuditLogs,
@@ -464,6 +424,14 @@
464424
HyperdriveWithStreamingResponse,
465425
AsyncHyperdriveWithStreamingResponse,
466426
)
427+
from .zero_trust import (
428+
ZeroTrust,
429+
AsyncZeroTrust,
430+
ZeroTrustWithRawResponse,
431+
AsyncZeroTrustWithRawResponse,
432+
ZeroTrustWithStreamingResponse,
433+
AsyncZeroTrustWithStreamingResponse,
434+
)
467435
from .diagnostics import (
468436
Diagnostics,
469437
AsyncDiagnostics,
@@ -528,13 +496,13 @@
528496
HealthchecksWithStreamingResponse,
529497
AsyncHealthchecksWithStreamingResponse,
530498
)
531-
from .dns_analytics import (
532-
DNSAnalytics,
533-
AsyncDNSAnalytics,
534-
DNSAnalyticsWithRawResponse,
535-
AsyncDNSAnalyticsWithRawResponse,
536-
DNSAnalyticsWithStreamingResponse,
537-
AsyncDNSAnalyticsWithStreamingResponse,
499+
from .magic_transit import (
500+
MagicTransit,
501+
AsyncMagicTransit,
502+
MagicTransitWithRawResponse,
503+
AsyncMagicTransitWithRawResponse,
504+
MagicTransitWithStreamingResponse,
505+
AsyncMagicTransitWithStreamingResponse,
538506
)
539507
from .secondary_dns import (
540508
SecondaryDNS,
@@ -600,30 +568,6 @@
600568
WARPConnectorWithStreamingResponse,
601569
AsyncWARPConnectorWithStreamingResponse,
602570
)
603-
from .worker_domains import (
604-
WorkerDomains,
605-
AsyncWorkerDomains,
606-
WorkerDomainsWithRawResponse,
607-
AsyncWorkerDomainsWithRawResponse,
608-
WorkerDomainsWithStreamingResponse,
609-
AsyncWorkerDomainsWithStreamingResponse,
610-
)
611-
from .worker_scripts import (
612-
WorkerScripts,
613-
AsyncWorkerScripts,
614-
WorkerScriptsWithRawResponse,
615-
AsyncWorkerScriptsWithRawResponse,
616-
WorkerScriptsWithStreamingResponse,
617-
AsyncWorkerScriptsWithStreamingResponse,
618-
)
619-
from .account_members import (
620-
AccountMembers,
621-
AsyncAccountMembers,
622-
AccountMembersWithRawResponse,
623-
AsyncAccountMembersWithRawResponse,
624-
AccountMembersWithStreamingResponse,
625-
AsyncAccountMembersWithStreamingResponse,
626-
)
627571
from .available_plans import (
628572
AvailablePlans,
629573
AsyncAvailablePlans,
@@ -664,14 +608,6 @@
664608
CustomHostnamesWithStreamingResponse,
665609
AsyncCustomHostnamesWithStreamingResponse,
666610
)
667-
from .activation_checks import (
668-
ActivationChecks,
669-
AsyncActivationChecks,
670-
ActivationChecksWithRawResponse,
671-
AsyncActivationChecksWithRawResponse,
672-
ActivationChecksWithStreamingResponse,
673-
AsyncActivationChecksWithStreamingResponse,
674-
)
675611
from .mtls_certificates import (
676612
MTLSCertificates,
677613
AsyncMTLSCertificates,
@@ -810,12 +746,6 @@
810746
"AsyncAccessWithRawResponse",
811747
"AccessWithStreamingResponse",
812748
"AsyncAccessWithStreamingResponse",
813-
"DNSAnalytics",
814-
"AsyncDNSAnalytics",
815-
"DNSAnalyticsWithRawResponse",
816-
"AsyncDNSAnalyticsWithRawResponse",
817-
"DNSAnalyticsWithStreamingResponse",
818-
"AsyncDNSAnalyticsWithStreamingResponse",
819749
"Cache",
820750
"AsyncCache",
821751
"CacheWithRawResponse",
@@ -912,12 +842,12 @@
912842
"AsyncFiltersWithRawResponse",
913843
"FiltersWithStreamingResponse",
914844
"AsyncFiltersWithStreamingResponse",
915-
"Firewalls",
916-
"AsyncFirewalls",
917-
"FirewallsWithRawResponse",
918-
"AsyncFirewallsWithRawResponse",
919-
"FirewallsWithStreamingResponse",
920-
"AsyncFirewallsWithStreamingResponse",
845+
"Firewall",
846+
"AsyncFirewall",
847+
"FirewallWithRawResponse",
848+
"AsyncFirewallWithRawResponse",
849+
"FirewallWithStreamingResponse",
850+
"AsyncFirewallWithStreamingResponse",
921851
"Healthchecks",
922852
"AsyncHealthchecks",
923853
"HealthchecksWithRawResponse",
@@ -966,12 +896,6 @@
966896
"AsyncSecondaryDNSWithRawResponse",
967897
"SecondaryDNSWithStreamingResponse",
968898
"AsyncSecondaryDNSWithStreamingResponse",
969-
"Settings",
970-
"AsyncSettings",
971-
"SettingsWithRawResponse",
972-
"AsyncSettingsWithRawResponse",
973-
"SettingsWithStreamingResponse",
974-
"AsyncSettingsWithStreamingResponse",
975899
"WaitingRooms",
976900
"AsyncWaitingRooms",
977901
"WaitingRoomsWithRawResponse",
@@ -990,12 +914,12 @@
990914
"AsyncWorkersWithRawResponse",
991915
"WorkersWithStreamingResponse",
992916
"AsyncWorkersWithStreamingResponse",
993-
"ActivationChecks",
994-
"AsyncActivationChecks",
995-
"ActivationChecksWithRawResponse",
996-
"AsyncActivationChecksWithRawResponse",
997-
"ActivationChecksWithStreamingResponse",
998-
"AsyncActivationChecksWithStreamingResponse",
917+
"KV",
918+
"AsyncKV",
919+
"KVWithRawResponse",
920+
"AsyncKVWithRawResponse",
921+
"KVWithStreamingResponse",
922+
"AsyncKVWithStreamingResponse",
999923
"ManagedHeaders",
1000924
"AsyncManagedHeaders",
1001925
"ManagedHeadersWithRawResponse",
@@ -1080,18 +1004,12 @@
10801004
"AsyncIntelWithRawResponse",
10811005
"IntelWithStreamingResponse",
10821006
"AsyncIntelWithStreamingResponse",
1083-
"Magics",
1084-
"AsyncMagics",
1085-
"MagicsWithRawResponse",
1086-
"AsyncMagicsWithRawResponse",
1087-
"MagicsWithStreamingResponse",
1088-
"AsyncMagicsWithStreamingResponse",
1089-
"AccountMembers",
1090-
"AsyncAccountMembers",
1091-
"AccountMembersWithRawResponse",
1092-
"AsyncAccountMembersWithRawResponse",
1093-
"AccountMembersWithStreamingResponse",
1094-
"AsyncAccountMembersWithStreamingResponse",
1007+
"MagicTransit",
1008+
"AsyncMagicTransit",
1009+
"MagicTransitWithRawResponse",
1010+
"AsyncMagicTransitWithRawResponse",
1011+
"MagicTransitWithStreamingResponse",
1012+
"AsyncMagicTransitWithStreamingResponse",
10951013
"MNMs",
10961014
"AsyncMNMs",
10971015
"MNMsWithRawResponse",
@@ -1152,12 +1070,6 @@
11521070
"AsyncStreamWithRawResponse",
11531071
"StreamWithStreamingResponse",
11541072
"AsyncStreamWithStreamingResponse",
1155-
"Teamnets",
1156-
"AsyncTeamnets",
1157-
"TeamnetsWithRawResponse",
1158-
"AsyncTeamnetsWithRawResponse",
1159-
"TeamnetsWithStreamingResponse",
1160-
"AsyncTeamnetsWithStreamingResponse",
11611073
"Gateways",
11621074
"AsyncGateways",
11631075
"GatewaysWithRawResponse",
@@ -1218,30 +1130,12 @@
12181130
"AsyncWorkersForPlatformsWithRawResponse",
12191131
"WorkersForPlatformsWithStreamingResponse",
12201132
"AsyncWorkersForPlatformsWithStreamingResponse",
1221-
"WorkerDomains",
1222-
"AsyncWorkerDomains",
1223-
"WorkerDomainsWithRawResponse",
1224-
"AsyncWorkerDomainsWithRawResponse",
1225-
"WorkerDomainsWithStreamingResponse",
1226-
"AsyncWorkerDomainsWithStreamingResponse",
1227-
"WorkerScripts",
1228-
"AsyncWorkerScripts",
1229-
"WorkerScriptsWithRawResponse",
1230-
"AsyncWorkerScriptsWithRawResponse",
1231-
"WorkerScriptsWithStreamingResponse",
1232-
"AsyncWorkerScriptsWithStreamingResponse",
1233-
"Zerotrust",
1234-
"AsyncZerotrust",
1235-
"ZerotrustWithRawResponse",
1236-
"AsyncZerotrustWithRawResponse",
1237-
"ZerotrustWithStreamingResponse",
1238-
"AsyncZerotrustWithStreamingResponse",
1239-
"Addressing",
1240-
"AsyncAddressing",
1241-
"AddressingWithRawResponse",
1242-
"AsyncAddressingWithRawResponse",
1243-
"AddressingWithStreamingResponse",
1244-
"AsyncAddressingWithStreamingResponse",
1133+
"ZeroTrust",
1134+
"AsyncZeroTrust",
1135+
"ZeroTrustWithRawResponse",
1136+
"AsyncZeroTrustWithRawResponse",
1137+
"ZeroTrustWithStreamingResponse",
1138+
"AsyncZeroTrustWithStreamingResponse",
12451139
"Challenges",
12461140
"AsyncChallenges",
12471141
"ChallengesWithRawResponse",
@@ -1290,12 +1184,6 @@
12901184
"AsyncOriginPostQuantumEncryptionWithRawResponse",
12911185
"OriginPostQuantumEncryptionWithStreamingResponse",
12921186
"AsyncOriginPostQuantumEncryptionWithStreamingResponse",
1293-
"Firewall",
1294-
"AsyncFirewall",
1295-
"FirewallWithRawResponse",
1296-
"AsyncFirewallWithRawResponse",
1297-
"FirewallWithStreamingResponse",
1298-
"AsyncFirewallWithStreamingResponse",
12991187
"Speed",
13001188
"AsyncSpeed",
13011189
"SpeedWithRawResponse",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# File generated from our OpenAPI spec by Stainless.
2+
3+
from .members import (
4+
Members,
5+
AsyncMembers,
6+
MembersWithRawResponse,
7+
AsyncMembersWithRawResponse,
8+
MembersWithStreamingResponse,
9+
AsyncMembersWithStreamingResponse,
10+
)
11+
from .accounts import (
12+
Accounts,
13+
AsyncAccounts,
14+
AccountsWithRawResponse,
15+
AsyncAccountsWithRawResponse,
16+
AccountsWithStreamingResponse,
17+
AsyncAccountsWithStreamingResponse,
18+
)
19+
20+
__all__ = [
21+
"Members",
22+
"AsyncMembers",
23+
"MembersWithRawResponse",
24+
"AsyncMembersWithRawResponse",
25+
"MembersWithStreamingResponse",
26+
"AsyncMembersWithStreamingResponse",
27+
"Accounts",
28+
"AsyncAccounts",
29+
"AccountsWithRawResponse",
30+
"AsyncAccountsWithRawResponse",
31+
"AccountsWithStreamingResponse",
32+
"AsyncAccountsWithStreamingResponse",
33+
]

0 commit comments

Comments
 (0)