Add whatsapp feature
This commit is contained in:
@@ -100,6 +100,11 @@ class TenantServiceClient(BaseServiceClient):
|
||||
result = await self.get_category_settings(tenant_id, "order")
|
||||
return result.get('settings', {}) if result else {}
|
||||
|
||||
async def get_notification_settings(self, tenant_id: str) -> Optional[Dict[str, Any]]:
|
||||
"""Get notification settings for a tenant"""
|
||||
result = await self.get_category_settings(tenant_id, "notification")
|
||||
return result.get('settings', {}) if result else {}
|
||||
|
||||
async def update_settings(self, tenant_id: str, settings_data: Dict[str, Any]) -> Optional[Dict[str, Any]]:
|
||||
"""
|
||||
Update settings for a tenant
|
||||
|
||||
Reference in New Issue
Block a user