amsdal_crm 0.1.9__py3-none-any.whl → 0.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
amsdal_crm/__about__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '0.1.9'
1
+ __version__ = '0.2.0'
@@ -2,16 +2,11 @@
2
2
 
3
3
  # CRM permissions for each entity type
4
4
  CRM_PERMISSIONS = [
5
- # Contact permissions
6
- {'model': 'Contact', 'action': 'read'},
7
- {'model': 'Contact', 'action': 'create'},
8
- {'model': 'Contact', 'action': 'update'},
9
- {'model': 'Contact', 'action': 'delete'},
10
- # Account permissions
11
- {'model': 'Account', 'action': 'read'},
12
- {'model': 'Account', 'action': 'create'},
13
- {'model': 'Account', 'action': 'update'},
14
- {'model': 'Account', 'action': 'delete'},
5
+ # Entity permissions
6
+ {'model': 'Entity', 'action': 'read'},
7
+ {'model': 'Entity', 'action': 'create'},
8
+ {'model': 'Entity', 'action': 'update'},
9
+ {'model': 'Entity', 'action': 'delete'},
15
10
  # Deal permissions
16
11
  {'model': 'Deal', 'action': 'read'},
17
12
  {'model': 'Deal', 'action': 'create'},
@@ -11,7 +11,7 @@ if TYPE_CHECKING:
11
11
  from amsdal_crm.models.deal import Deal
12
12
 
13
13
  # Entity types that support custom fields
14
- CRM_ENTITY_TYPES = {'Contact', 'Account', 'Deal'}
14
+ CRM_ENTITY_TYPES = {'Entity', 'EntityRelationship', 'Deal', 'EntityIdentifier', 'EntityContactPoint', 'EntityAddress'}
15
15
 
16
16
 
17
17
  class LoadCRMFixturesConsumer(LifecycleConsumer):