|
17 | 17 | from .teams_oauth.client import AsyncTeamsOauthClient, TeamsOauthClient |
18 | 18 | from .user.client import AsyncUserClient, UserClient |
19 | 19 | from .white_labeling.client import AsyncWhiteLabelingClient, WhiteLabelingClient |
| 20 | + from .zoom_oauth.client import AsyncZoomOauthClient, ZoomOauthClient |
20 | 21 |
|
21 | 22 |
|
22 | 23 | class Klavis: |
@@ -92,6 +93,7 @@ def __init__( |
92 | 93 | self._outlook_oauth: typing.Optional[OutlookOauthClient] = None |
93 | 94 | self._mscalendar_oauth: typing.Optional[MscalendarOauthClient] = None |
94 | 95 | self._teams_oauth: typing.Optional[TeamsOauthClient] = None |
| 96 | + self._zoom_oauth: typing.Optional[ZoomOauthClient] = None |
95 | 97 |
|
96 | 98 | @property |
97 | 99 | def mcp_server(self): |
@@ -157,6 +159,14 @@ def teams_oauth(self): |
157 | 159 | self._teams_oauth = TeamsOauthClient(client_wrapper=self._client_wrapper) |
158 | 160 | return self._teams_oauth |
159 | 161 |
|
| 162 | + @property |
| 163 | + def zoom_oauth(self): |
| 164 | + if self._zoom_oauth is None: |
| 165 | + from .zoom_oauth.client import ZoomOauthClient # noqa: E402 |
| 166 | + |
| 167 | + self._zoom_oauth = ZoomOauthClient(client_wrapper=self._client_wrapper) |
| 168 | + return self._zoom_oauth |
| 169 | + |
160 | 170 |
|
161 | 171 | class AsyncKlavis: |
162 | 172 | """ |
@@ -231,6 +241,7 @@ def __init__( |
231 | 241 | self._outlook_oauth: typing.Optional[AsyncOutlookOauthClient] = None |
232 | 242 | self._mscalendar_oauth: typing.Optional[AsyncMscalendarOauthClient] = None |
233 | 243 | self._teams_oauth: typing.Optional[AsyncTeamsOauthClient] = None |
| 244 | + self._zoom_oauth: typing.Optional[AsyncZoomOauthClient] = None |
234 | 245 |
|
235 | 246 | @property |
236 | 247 | def mcp_server(self): |
@@ -296,6 +307,14 @@ def teams_oauth(self): |
296 | 307 | self._teams_oauth = AsyncTeamsOauthClient(client_wrapper=self._client_wrapper) |
297 | 308 | return self._teams_oauth |
298 | 309 |
|
| 310 | + @property |
| 311 | + def zoom_oauth(self): |
| 312 | + if self._zoom_oauth is None: |
| 313 | + from .zoom_oauth.client import AsyncZoomOauthClient # noqa: E402 |
| 314 | + |
| 315 | + self._zoom_oauth = AsyncZoomOauthClient(client_wrapper=self._client_wrapper) |
| 316 | + return self._zoom_oauth |
| 317 | + |
299 | 318 |
|
300 | 319 | def _get_base_url(*, base_url: typing.Optional[str] = None, environment: KlavisEnvironment) -> str: |
301 | 320 | if base_url is not None: |
|
0 commit comments