|
93 | 93 | dns_firewall, |
94 | 94 | healthchecks, |
95 | 95 | security_txt, |
| 96 | + smart_shield, |
96 | 97 | abuse_reports, |
97 | 98 | email_routing, |
98 | 99 | magic_transit, |
|
161 | 162 | from .resources.zones.zones import ZonesResource, AsyncZonesResource |
162 | 163 | from .resources.custom_pages import CustomPagesResource, AsyncCustomPagesResource |
163 | 164 | from .resources.security_txt import SecurityTXTResource, AsyncSecurityTXTResource |
| 165 | + from .resources.smart_shield import SmartShieldResource, AsyncSmartShieldResource |
164 | 166 | from .resources.abuse_reports import AbuseReportsResource, AsyncAbuseReportsResource |
165 | 167 | from .resources.images.images import ImagesResource, AsyncImagesResource |
166 | 168 | from .resources.queues.queues import QueuesResource, AsyncQueuesResource |
@@ -517,6 +519,12 @@ def rate_limits(self) -> RateLimitsResource: |
517 | 519 |
|
518 | 520 | return RateLimitsResource(self) |
519 | 521 |
|
| 522 | + @cached_property |
| 523 | + def smart_shield(self) -> SmartShieldResource: |
| 524 | + from .resources.smart_shield import SmartShieldResource |
| 525 | + |
| 526 | + return SmartShieldResource(self) |
| 527 | + |
520 | 528 | @cached_property |
521 | 529 | def waiting_rooms(self) -> WaitingRoomsResource: |
522 | 530 | from .resources.waiting_rooms import WaitingRoomsResource |
@@ -1349,6 +1357,12 @@ def rate_limits(self) -> AsyncRateLimitsResource: |
1349 | 1357 |
|
1350 | 1358 | return AsyncRateLimitsResource(self) |
1351 | 1359 |
|
| 1360 | + @cached_property |
| 1361 | + def smart_shield(self) -> AsyncSmartShieldResource: |
| 1362 | + from .resources.smart_shield import AsyncSmartShieldResource |
| 1363 | + |
| 1364 | + return AsyncSmartShieldResource(self) |
| 1365 | + |
1352 | 1366 | @cached_property |
1353 | 1367 | def waiting_rooms(self) -> AsyncWaitingRoomsResource: |
1354 | 1368 | from .resources.waiting_rooms import AsyncWaitingRoomsResource |
@@ -2109,6 +2123,12 @@ def rate_limits(self) -> rate_limits.RateLimitsResourceWithRawResponse: |
2109 | 2123 |
|
2110 | 2124 | return RateLimitsResourceWithRawResponse(self._client.rate_limits) |
2111 | 2125 |
|
| 2126 | + @cached_property |
| 2127 | + def smart_shield(self) -> smart_shield.SmartShieldResourceWithRawResponse: |
| 2128 | + from .resources.smart_shield import SmartShieldResourceWithRawResponse |
| 2129 | + |
| 2130 | + return SmartShieldResourceWithRawResponse(self._client.smart_shield) |
| 2131 | + |
2112 | 2132 | @cached_property |
2113 | 2133 | def waiting_rooms(self) -> waiting_rooms.WaitingRoomsResourceWithRawResponse: |
2114 | 2134 | from .resources.waiting_rooms import WaitingRoomsResourceWithRawResponse |
@@ -2688,6 +2708,12 @@ def rate_limits(self) -> rate_limits.AsyncRateLimitsResourceWithRawResponse: |
2688 | 2708 |
|
2689 | 2709 | return AsyncRateLimitsResourceWithRawResponse(self._client.rate_limits) |
2690 | 2710 |
|
| 2711 | + @cached_property |
| 2712 | + def smart_shield(self) -> smart_shield.AsyncSmartShieldResourceWithRawResponse: |
| 2713 | + from .resources.smart_shield import AsyncSmartShieldResourceWithRawResponse |
| 2714 | + |
| 2715 | + return AsyncSmartShieldResourceWithRawResponse(self._client.smart_shield) |
| 2716 | + |
2691 | 2717 | @cached_property |
2692 | 2718 | def waiting_rooms(self) -> waiting_rooms.AsyncWaitingRoomsResourceWithRawResponse: |
2693 | 2719 | from .resources.waiting_rooms import AsyncWaitingRoomsResourceWithRawResponse |
@@ -3267,6 +3293,12 @@ def rate_limits(self) -> rate_limits.RateLimitsResourceWithStreamingResponse: |
3267 | 3293 |
|
3268 | 3294 | return RateLimitsResourceWithStreamingResponse(self._client.rate_limits) |
3269 | 3295 |
|
| 3296 | + @cached_property |
| 3297 | + def smart_shield(self) -> smart_shield.SmartShieldResourceWithStreamingResponse: |
| 3298 | + from .resources.smart_shield import SmartShieldResourceWithStreamingResponse |
| 3299 | + |
| 3300 | + return SmartShieldResourceWithStreamingResponse(self._client.smart_shield) |
| 3301 | + |
3270 | 3302 | @cached_property |
3271 | 3303 | def waiting_rooms(self) -> waiting_rooms.WaitingRoomsResourceWithStreamingResponse: |
3272 | 3304 | from .resources.waiting_rooms import WaitingRoomsResourceWithStreamingResponse |
@@ -3848,6 +3880,12 @@ def rate_limits(self) -> rate_limits.AsyncRateLimitsResourceWithStreamingRespons |
3848 | 3880 |
|
3849 | 3881 | return AsyncRateLimitsResourceWithStreamingResponse(self._client.rate_limits) |
3850 | 3882 |
|
| 3883 | + @cached_property |
| 3884 | + def smart_shield(self) -> smart_shield.AsyncSmartShieldResourceWithStreamingResponse: |
| 3885 | + from .resources.smart_shield import AsyncSmartShieldResourceWithStreamingResponse |
| 3886 | + |
| 3887 | + return AsyncSmartShieldResourceWithStreamingResponse(self._client.smart_shield) |
| 3888 | + |
3851 | 3889 | @cached_property |
3852 | 3890 | def waiting_rooms(self) -> waiting_rooms.AsyncWaitingRoomsResourceWithStreamingResponse: |
3853 | 3891 | from .resources.waiting_rooms import AsyncWaitingRoomsResourceWithStreamingResponse |
|
0 commit comments