File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747from . import _interactions
4848
4949from ._interactions .resources import AsyncInteractionsResource as AsyncNextGenInteractionsResource , InteractionsResource as NextGenInteractionsResource
50+ from ._interactions .resources import WebhooksResource , AsyncWebhooksResource
5051_interactions_experimental_warned = False
5152
5253class AsyncGeminiNextGenAPIClientAdapter (_interactions .AsyncGeminiNextGenAPIClientAdapter ):
@@ -199,6 +200,10 @@ def interactions(self) -> AsyncNextGenInteractionsResource:
199200 )
200201 return self ._nextgen_client .interactions
201202
203+ @property
204+ def webhooks (self ) -> AsyncWebhooksResource :
205+ return self ._nextgen_client .webhooks
206+
202207 @property
203208 def _has_nextgen_client (self ) -> bool :
204209 return (
@@ -546,6 +551,10 @@ def interactions(self) -> NextGenInteractionsResource:
546551 )
547552 return self ._nextgen_client .interactions
548553
554+ @property
555+ def webhooks (self ) -> WebhooksResource :
556+ return self ._nextgen_client .webhooks
557+
549558 @property
550559 def _has_nextgen_client (self ) -> bool :
551560 return (
You can’t perform that action at this time.
0 commit comments