@@ -762,6 +762,7 @@ async def list_webhooks(
762762 page_size : Optional [int ] = None ,
763763 project_id : Optional [str ] = None ,
764764 organization_id : Optional [str ] = None ,
765+ domain_id : Optional [str ] = None ,
765766 ) -> ListWebhooksResponse :
766767 """
767768 :param region: Region to target. If none is passed will use default region from the config.
@@ -770,6 +771,7 @@ async def list_webhooks(
770771 :param page_size: (Optional) Requested page size. Value must be between 1 and 100.
771772 :param project_id: (Optional) ID of the Project for which to list the Webhooks.
772773 :param organization_id: (Optional) ID of the Organization for which to list the Webhooks.
774+ :param domain_id: (Optional) ID of the Domain for which to list the Webhooks.
773775 :return: :class:`ListWebhooksResponse <ListWebhooksResponse>`
774776
775777 Usage:
@@ -786,6 +788,7 @@ async def list_webhooks(
786788 "GET" ,
787789 f"/transactional-email/v1alpha1/regions/{ param_region } /webhooks" ,
788790 params = {
791+ "domain_id" : domain_id ,
789792 "order_by" : order_by ,
790793 "organization_id" : organization_id
791794 or self .client .default_organization_id ,
@@ -807,6 +810,7 @@ async def list_webhooks_all(
807810 page_size : Optional [int ] = None ,
808811 project_id : Optional [str ] = None ,
809812 organization_id : Optional [str ] = None ,
813+ domain_id : Optional [str ] = None ,
810814 ) -> List [Webhook ]:
811815 """
812816 :param region: Region to target. If none is passed will use default region from the config.
@@ -815,6 +819,7 @@ async def list_webhooks_all(
815819 :param page_size: (Optional) Requested page size. Value must be between 1 and 100.
816820 :param project_id: (Optional) ID of the Project for which to list the Webhooks.
817821 :param organization_id: (Optional) ID of the Organization for which to list the Webhooks.
822+ :param domain_id: (Optional) ID of the Domain for which to list the Webhooks.
818823 :return: :class:`List[Webhook] <List[Webhook]>`
819824
820825 Usage:
@@ -834,6 +839,7 @@ async def list_webhooks_all(
834839 "page_size" : page_size ,
835840 "project_id" : project_id ,
836841 "organization_id" : organization_id ,
842+ "domain_id" : domain_id ,
837843 },
838844 )
839845
0 commit comments