tallyfy 1.0.5__py3-none-any.whl → 1.0.6__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.

Potentially problematic release.


This version of tallyfy might be problematic. Click here for more details.

tallyfy/core.py CHANGED
@@ -158,6 +158,9 @@ class TallyfySDK(BaseSDK):
158
158
  self.templates = TemplateManager(self)
159
159
  self.form_fields = FormFieldManager(self)
160
160
 
161
+ def get_current_user_info(self, org_id: str):
162
+ """Get current user information."""
163
+ return self.users.get_current_user_info(org_id)
161
164
  # Backward compatibility methods - delegate to management modules
162
165
  def get_organization_users(self, org_id: str, with_groups: bool = False):
163
166
  """Get all organization members with full profile data."""
tallyfy/models.py CHANGED
@@ -70,6 +70,7 @@ class User:
70
70
  date_format: Optional[str] = None
71
71
  last_known_ip: Optional[str] = None
72
72
  last_known_country: Optional[str] = None
73
+ role: Optional[str] = None
73
74
 
74
75
  @classmethod
75
76
  def from_dict(cls, data: Dict[str, Any]) -> 'User':
@@ -110,7 +111,8 @@ class User:
110
111
  status=data.get('status'),
111
112
  date_format=data.get('date_format'),
112
113
  last_known_ip=data.get('last_known_ip'),
113
- last_known_country=data.get('last_known_country')
114
+ last_known_country=data.get('last_known_country'),
115
+ role=data.get('role')
114
116
  )
115
117
 
116
118
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tallyfy
3
- Version: 1.0.5
3
+ Version: 1.0.6
4
4
  Summary: A comprehensive Python SDK for interacting with the Tallyfy API
5
5
  Home-page: https://github.com/tallyfy/tallyfy-sdk
6
6
  Author: Tallyfy
@@ -738,5 +738,5 @@ For bugs, feature requests, or questions:
738
738
  2. Contact us at: support@tallyfy.com
739
739
  ---
740
740
 
741
- **Version:** 1.0.5
741
+ **Version:** 1.0.6
742
742
  **Last Updated:** 2025
@@ -1,6 +1,6 @@
1
1
  tallyfy/__init__.py,sha256=vE4XedttVizpD6kJHpTkg686xmokJwQ4rZ749yUCKEA,638
2
- tallyfy/core.py,sha256=giFq4ZZpo8X-yqggwuLrlVHohxijeA5P3u2nGnFJweE,16440
3
- tallyfy/models.py,sha256=Pmcl3B_zTURnA--E72hpuRi4DHpl6FdWQM84OfPeGqo,38070
2
+ tallyfy/core.py,sha256=ZEQQIIUDajH8t4RVPxtqu9VR2mFurDBH_o5Hzl0YUUA,16590
3
+ tallyfy/models.py,sha256=6TcrkaLtbp7zz1ZCW6W3Gk5k9Jyp305I1QpLRgO1uw8,38136
4
4
  tallyfy/form_fields_management/__init__.py,sha256=epEFynMhcKUKJhY58ZtZ_fCkreBMtg9HbbEQouvK8FM,2567
5
5
  tallyfy/form_fields_management/base.py,sha256=6YH5wGTlG1EDEuEFxROz4CPadNHOVX1UZY1zLlfTqbg,3215
6
6
  tallyfy/form_fields_management/crud_operations.py,sha256=3XCJunGwMo8z4we8fva8zRryKajBcQMt9Jgg_Y_QM5Q,8877
@@ -21,8 +21,8 @@ tallyfy/user_management/__init__.py,sha256=LTyxJ7i4JrsUMf8QMdtrLdwbgtv8_mmMi8eUm
21
21
  tallyfy/user_management/base.py,sha256=jD5jOAu3y0K7fumSH65t9zFRDLriOV-YYPZSuJzYuTE,4681
22
22
  tallyfy/user_management/invitation.py,sha256=Ss1Gtii-sS02GuY-XUPYi7dHwAKWMkaG_tRFVOfS_2Q,11395
23
23
  tallyfy/user_management/retrieval.py,sha256=M5xFlY2IPIR2b5TUbF0YF2Cm12Mdnu5ZU1iahBFI1vA,11696
24
- tallyfy-1.0.5.dist-info/licenses/LICENSE,sha256=8HUsrXnc3l2sZxhPV9Z1gYinq76Q2Ym7ahYJy57QlLc,1063
25
- tallyfy-1.0.5.dist-info/METADATA,sha256=Gs1jattFKFKoQM6MkfMSYitopPdvdR1tyF1I9BHFDas,26359
26
- tallyfy-1.0.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
27
- tallyfy-1.0.5.dist-info/top_level.txt,sha256=yIycWbR61EZJD0MYRPwUQjOS2XZw5B5jCWx1IP73KcM,8
28
- tallyfy-1.0.5.dist-info/RECORD,,
24
+ tallyfy-1.0.6.dist-info/licenses/LICENSE,sha256=8HUsrXnc3l2sZxhPV9Z1gYinq76Q2Ym7ahYJy57QlLc,1063
25
+ tallyfy-1.0.6.dist-info/METADATA,sha256=ayLEgfiP9ESfd0MH2HAfYGhVgo3guelApM2QabEAQQo,26359
26
+ tallyfy-1.0.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
27
+ tallyfy-1.0.6.dist-info/top_level.txt,sha256=yIycWbR61EZJD0MYRPwUQjOS2XZw5B5jCWx1IP73KcM,8
28
+ tallyfy-1.0.6.dist-info/RECORD,,