|
49 | 49 | audit_events, |
50 | 50 | translations, |
51 | 51 | notifications, |
| 52 | + routing_strategies, |
52 | 53 | ) |
53 | 54 | from .resources.auth import AuthResource, AsyncAuthResource |
54 | 55 | from .resources.bulk import BulkResource, AsyncBulkResource |
|
65 | 66 | from .resources.translations import TranslationsResource, AsyncTranslationsResource |
66 | 67 | from .resources.tenants.tenants import TenantsResource, AsyncTenantsResource |
67 | 68 | from .resources.profiles.profiles import ProfilesResource, AsyncProfilesResource |
| 69 | + from .resources.routing_strategies import RoutingStrategiesResource, AsyncRoutingStrategiesResource |
68 | 70 | from .resources.automations.automations import AutomationsResource, AsyncAutomationsResource |
69 | 71 | from .resources.notifications.notifications import NotificationsResource, AsyncNotificationsResource |
70 | 72 |
|
@@ -204,6 +206,12 @@ def notifications(self) -> NotificationsResource: |
204 | 206 |
|
205 | 207 | return NotificationsResource(self) |
206 | 208 |
|
| 209 | + @cached_property |
| 210 | + def routing_strategies(self) -> RoutingStrategiesResource: |
| 211 | + from .resources.routing_strategies import RoutingStrategiesResource |
| 212 | + |
| 213 | + return RoutingStrategiesResource(self) |
| 214 | + |
207 | 215 | @cached_property |
208 | 216 | def profiles(self) -> ProfilesResource: |
209 | 217 | from .resources.profiles import ProfilesResource |
@@ -474,6 +482,12 @@ def notifications(self) -> AsyncNotificationsResource: |
474 | 482 |
|
475 | 483 | return AsyncNotificationsResource(self) |
476 | 484 |
|
| 485 | + @cached_property |
| 486 | + def routing_strategies(self) -> AsyncRoutingStrategiesResource: |
| 487 | + from .resources.routing_strategies import AsyncRoutingStrategiesResource |
| 488 | + |
| 489 | + return AsyncRoutingStrategiesResource(self) |
| 490 | + |
477 | 491 | @cached_property |
478 | 492 | def profiles(self) -> AsyncProfilesResource: |
479 | 493 | from .resources.profiles import AsyncProfilesResource |
@@ -695,6 +709,12 @@ def notifications(self) -> notifications.NotificationsResourceWithRawResponse: |
695 | 709 |
|
696 | 710 | return NotificationsResourceWithRawResponse(self._client.notifications) |
697 | 711 |
|
| 712 | + @cached_property |
| 713 | + def routing_strategies(self) -> routing_strategies.RoutingStrategiesResourceWithRawResponse: |
| 714 | + from .resources.routing_strategies import RoutingStrategiesResourceWithRawResponse |
| 715 | + |
| 716 | + return RoutingStrategiesResourceWithRawResponse(self._client.routing_strategies) |
| 717 | + |
698 | 718 | @cached_property |
699 | 719 | def profiles(self) -> profiles.ProfilesResourceWithRawResponse: |
700 | 720 | from .resources.profiles import ProfilesResourceWithRawResponse |
@@ -804,6 +824,12 @@ def notifications(self) -> notifications.AsyncNotificationsResourceWithRawRespon |
804 | 824 |
|
805 | 825 | return AsyncNotificationsResourceWithRawResponse(self._client.notifications) |
806 | 826 |
|
| 827 | + @cached_property |
| 828 | + def routing_strategies(self) -> routing_strategies.AsyncRoutingStrategiesResourceWithRawResponse: |
| 829 | + from .resources.routing_strategies import AsyncRoutingStrategiesResourceWithRawResponse |
| 830 | + |
| 831 | + return AsyncRoutingStrategiesResourceWithRawResponse(self._client.routing_strategies) |
| 832 | + |
807 | 833 | @cached_property |
808 | 834 | def profiles(self) -> profiles.AsyncProfilesResourceWithRawResponse: |
809 | 835 | from .resources.profiles import AsyncProfilesResourceWithRawResponse |
@@ -913,6 +939,12 @@ def notifications(self) -> notifications.NotificationsResourceWithStreamingRespo |
913 | 939 |
|
914 | 940 | return NotificationsResourceWithStreamingResponse(self._client.notifications) |
915 | 941 |
|
| 942 | + @cached_property |
| 943 | + def routing_strategies(self) -> routing_strategies.RoutingStrategiesResourceWithStreamingResponse: |
| 944 | + from .resources.routing_strategies import RoutingStrategiesResourceWithStreamingResponse |
| 945 | + |
| 946 | + return RoutingStrategiesResourceWithStreamingResponse(self._client.routing_strategies) |
| 947 | + |
916 | 948 | @cached_property |
917 | 949 | def profiles(self) -> profiles.ProfilesResourceWithStreamingResponse: |
918 | 950 | from .resources.profiles import ProfilesResourceWithStreamingResponse |
@@ -1022,6 +1054,12 @@ def notifications(self) -> notifications.AsyncNotificationsResourceWithStreaming |
1022 | 1054 |
|
1023 | 1055 | return AsyncNotificationsResourceWithStreamingResponse(self._client.notifications) |
1024 | 1056 |
|
| 1057 | + @cached_property |
| 1058 | + def routing_strategies(self) -> routing_strategies.AsyncRoutingStrategiesResourceWithStreamingResponse: |
| 1059 | + from .resources.routing_strategies import AsyncRoutingStrategiesResourceWithStreamingResponse |
| 1060 | + |
| 1061 | + return AsyncRoutingStrategiesResourceWithStreamingResponse(self._client.routing_strategies) |
| 1062 | + |
1025 | 1063 | @cached_property |
1026 | 1064 | def profiles(self) -> profiles.AsyncProfilesResourceWithStreamingResponse: |
1027 | 1065 | from .resources.profiles import AsyncProfilesResourceWithStreamingResponse |
|
0 commit comments