66 CategoriesService ,
77)
88from mpt_api_client .resources .notifications .contacts import AsyncContactsService , ContactsService
9+ from mpt_api_client .resources .notifications .directories import (
10+ AsyncDirectoriesService ,
11+ DirectoriesService ,
12+ )
13+ from mpt_api_client .resources .notifications .footers import AsyncFootersService , FootersService
914from mpt_api_client .resources .notifications .messages import AsyncMessagesService , MessagesService
1015from mpt_api_client .resources .notifications .subscribers import (
1116 AsyncSubscribersService ,
1217 SubscribersService ,
1318)
19+ from mpt_api_client .resources .notifications .webhooks import (
20+ AsyncWebhooksService ,
21+ WebhooksService ,
22+ )
1423
1524
1625class Notifications :
@@ -51,6 +60,16 @@ def contacts(self) -> ContactsService:
5160 """Contacts service."""
5261 return ContactsService (http_client = self .http_client )
5362
63+ @property
64+ def directories (self ) -> DirectoriesService :
65+ """Directories service."""
66+ return DirectoriesService (http_client = self .http_client )
67+
68+ @property
69+ def footers (self ) -> FootersService :
70+ """Footers service."""
71+ return FootersService (http_client = self .http_client )
72+
5473 @property
5574 def messages (self ) -> MessagesService :
5675 """Messages service."""
@@ -61,6 +80,11 @@ def subscribers(self) -> SubscribersService:
6180 """Subscriptions service."""
6281 return SubscribersService (http_client = self .http_client )
6382
83+ @property
84+ def webhooks (self ) -> WebhooksService :
85+ """Webhooks service."""
86+ return WebhooksService (http_client = self .http_client )
87+
6488
6589class AsyncNotifications :
6690 """Notifications MPT API Module."""
@@ -100,6 +124,16 @@ def contacts(self) -> AsyncContactsService:
100124 """Async Contacts service."""
101125 return AsyncContactsService (http_client = self .http_client )
102126
127+ @property
128+ def directories (self ) -> AsyncDirectoriesService :
129+ """Async Directories service."""
130+ return AsyncDirectoriesService (http_client = self .http_client )
131+
132+ @property
133+ def footers (self ) -> AsyncFootersService :
134+ """Async Footers service."""
135+ return AsyncFootersService (http_client = self .http_client )
136+
103137 @property
104138 def messages (self ) -> AsyncMessagesService :
105139 """Async Messages service."""
@@ -109,3 +143,8 @@ def messages(self) -> AsyncMessagesService:
109143 def subscribers (self ) -> AsyncSubscribersService :
110144 """Subscriptions service."""
111145 return AsyncSubscribersService (http_client = self .http_client )
146+
147+ @property
148+ def webhooks (self ) -> AsyncWebhooksService :
149+ """Async Webhooks service."""
150+ return AsyncWebhooksService (http_client = self .http_client )
0 commit comments