maleo-identity 0.0.10__py3-none-any.whl → 0.0.12__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 maleo-identity might be problematic. Click here for more details.
- maleo_identity/client/controllers/http/organization.py +34 -0
- maleo_identity/client/controllers/http/user.py +34 -0
- maleo_identity/client/services/organization.py +75 -11
- maleo_identity/client/services/user.py +80 -19
- maleo_identity/models/transfers/parameters/client/user_organization.py +12 -0
- maleo_identity/types/results/__init__.py +3 -1
- maleo_identity/types/results/client/__init__.py +13 -0
- maleo_identity/types/results/client/organization.py +19 -0
- maleo_identity/types/results/client/user.py +24 -0
- maleo_identity/types/results/client/user_organization.py +19 -0
- maleo_identity/types/results/client/user_profile.py +19 -0
- maleo_identity/types/results/client/user_system_role.py +19 -0
- {maleo_identity-0.0.10.dist-info → maleo_identity-0.0.12.dist-info}/METADATA +2 -2
- {maleo_identity-0.0.10.dist-info → maleo_identity-0.0.12.dist-info}/RECORD +16 -10
- {maleo_identity-0.0.10.dist-info → maleo_identity-0.0.12.dist-info}/WHEEL +0 -0
- {maleo_identity-0.0.10.dist-info → maleo_identity-0.0.12.dist-info}/top_level.txt +0 -0
|
@@ -2,7 +2,9 @@ from maleo_foundation.managers.client.base import BearerAuth
|
|
|
2
2
|
from maleo_foundation.managers.client.maleo import MaleoClientHTTPController
|
|
3
3
|
from maleo_foundation.models.transfers.results.client.controllers.http import BaseClientHTTPControllerResults
|
|
4
4
|
from maleo_identity.models.transfers.parameters.general.organization import MaleoIdentityOrganizationGeneralParametersTransfers
|
|
5
|
+
from maleo_identity.models.transfers.parameters.general.user_organization import MaleoIdentityUserOrganizationGeneralParametersTransfers
|
|
5
6
|
from maleo_identity.models.transfers.parameters.client.organization import MaleoIdentityOrganizationClientParametersTransfers
|
|
7
|
+
from maleo_identity.models.transfers.parameters.client.user_organization import MaleoIdentityUserOrganizationClientParametersTransfers
|
|
6
8
|
|
|
7
9
|
class MaleoIdentityOrganizationHTTPController(MaleoClientHTTPController):
|
|
8
10
|
async def get_organizations(self, parameters:MaleoIdentityOrganizationClientParametersTransfers.GetMultiple) -> BaseClientHTTPControllerResults:
|
|
@@ -73,4 +75,36 @@ class MaleoIdentityOrganizationHTTPController(MaleoClientHTTPController):
|
|
|
73
75
|
|
|
74
76
|
#* Send request and wait for response
|
|
75
77
|
response = await client.put(url=url, json=json, params=params, auth=auth)
|
|
78
|
+
return BaseClientHTTPControllerResults(response=response)
|
|
79
|
+
|
|
80
|
+
async def get_organization_users(self, parameters:MaleoIdentityUserOrganizationClientParametersTransfers.GetMultipleFromOrganization) -> BaseClientHTTPControllerResults:
|
|
81
|
+
"""Get organization's users from MaleoIdentity"""
|
|
82
|
+
async with self._manager.get_client() as client:
|
|
83
|
+
#* Define URL
|
|
84
|
+
url = f"{self._manager.url.api}/v1/organizations/{parameters.organization_id}/users/"
|
|
85
|
+
|
|
86
|
+
#* Parse parameters to query params
|
|
87
|
+
params = MaleoIdentityUserOrganizationClientParametersTransfers.GetMultipleFromOrganizationQuery.model_validate(parameters.model_dump()).model_dump(exclude_none=True)
|
|
88
|
+
|
|
89
|
+
#* Create auth
|
|
90
|
+
auth = BearerAuth(token=self._service_manager.token)
|
|
91
|
+
|
|
92
|
+
#* Send request and wait for response
|
|
93
|
+
response = await client.get(url=url, params=params, auth=auth)
|
|
94
|
+
return BaseClientHTTPControllerResults(response=response)
|
|
95
|
+
|
|
96
|
+
async def get_organization_user(self, parameters:MaleoIdentityUserOrganizationGeneralParametersTransfers.GetSingle) -> BaseClientHTTPControllerResults:
|
|
97
|
+
"""Get user's organization from MaleoIdentity"""
|
|
98
|
+
async with self._manager.get_client() as client:
|
|
99
|
+
#* Define URL
|
|
100
|
+
url = f"{self._manager.url.api}/v1/organizations/{parameters.organization_id}/users/{parameters.user_id}"
|
|
101
|
+
|
|
102
|
+
#* Parse parameters to query params
|
|
103
|
+
params = MaleoIdentityUserOrganizationGeneralParametersTransfers.GetSingleQuery.model_validate(parameters.model_dump()).model_dump(exclude_none=True)
|
|
104
|
+
|
|
105
|
+
#* Create auth
|
|
106
|
+
auth = BearerAuth(token=self._service_manager.token)
|
|
107
|
+
|
|
108
|
+
#* Send request and wait for response
|
|
109
|
+
response = await client.get(url=url, params=params, auth=auth)
|
|
76
110
|
return BaseClientHTTPControllerResults(response=response)
|
|
@@ -2,8 +2,10 @@ from maleo_foundation.managers.client.base import BearerAuth
|
|
|
2
2
|
from maleo_foundation.managers.client.maleo import MaleoClientHTTPController
|
|
3
3
|
from maleo_foundation.models.transfers.results.client.controllers.http import BaseClientHTTPControllerResults
|
|
4
4
|
from maleo_identity.models.transfers.parameters.general.user import MaleoIdentityUserGeneralParametersTransfers
|
|
5
|
+
from maleo_identity.models.transfers.parameters.general.user_organization import MaleoIdentityUserOrganizationGeneralParametersTransfers
|
|
5
6
|
from maleo_identity.models.transfers.parameters.general.user_system_role import MaleoIdentityUserSystemRoleGeneralParametersTransfers
|
|
6
7
|
from maleo_identity.models.transfers.parameters.client.user import MaleoIdentityUserClientParametersTransfers
|
|
8
|
+
from maleo_identity.models.transfers.parameters.client.user_organization import MaleoIdentityUserOrganizationClientParametersTransfers
|
|
7
9
|
from maleo_identity.models.transfers.parameters.client.user_system_role import MaleoIdentityUserSystemRoleClientParametersTransfers
|
|
8
10
|
|
|
9
11
|
class MaleoIdentityUserHTTPController(MaleoClientHTTPController):
|
|
@@ -118,6 +120,38 @@ class MaleoIdentityUserHTTPController(MaleoClientHTTPController):
|
|
|
118
120
|
#* Create auth
|
|
119
121
|
auth = BearerAuth(token=self._service_manager.token)
|
|
120
122
|
|
|
123
|
+
#* Send request and wait for response
|
|
124
|
+
response = await client.get(url=url, params=params, auth=auth)
|
|
125
|
+
return BaseClientHTTPControllerResults(response=response)
|
|
126
|
+
|
|
127
|
+
async def get_user_organizations(self, parameters:MaleoIdentityUserOrganizationClientParametersTransfers.GetMultipleFromUser) -> BaseClientHTTPControllerResults:
|
|
128
|
+
"""Get user's organizations from MaleoIdentity"""
|
|
129
|
+
async with self._manager.get_client() as client:
|
|
130
|
+
#* Define URL
|
|
131
|
+
url = f"{self._manager.url.api}/v1/users/{parameters.user_id}/organizations/"
|
|
132
|
+
|
|
133
|
+
#* Parse parameters to query params
|
|
134
|
+
params = MaleoIdentityUserOrganizationClientParametersTransfers.GetMultipleFromUserQuery.model_validate(parameters.model_dump()).model_dump(exclude_none=True)
|
|
135
|
+
|
|
136
|
+
#* Create auth
|
|
137
|
+
auth = BearerAuth(token=self._service_manager.token)
|
|
138
|
+
|
|
139
|
+
#* Send request and wait for response
|
|
140
|
+
response = await client.get(url=url, params=params, auth=auth)
|
|
141
|
+
return BaseClientHTTPControllerResults(response=response)
|
|
142
|
+
|
|
143
|
+
async def get_user_organization(self, parameters:MaleoIdentityUserOrganizationGeneralParametersTransfers.GetSingle) -> BaseClientHTTPControllerResults:
|
|
144
|
+
"""Get user's organization from MaleoIdentity"""
|
|
145
|
+
async with self._manager.get_client() as client:
|
|
146
|
+
#* Define URL
|
|
147
|
+
url = f"{self._manager.url.api}/v1/users/{parameters.user_id}/organizations/{parameters.organization_id}"
|
|
148
|
+
|
|
149
|
+
#* Parse parameters to query params
|
|
150
|
+
params = MaleoIdentityUserOrganizationGeneralParametersTransfers.GetSingleQuery.model_validate(parameters.model_dump()).model_dump(exclude_none=True)
|
|
151
|
+
|
|
152
|
+
#* Create auth
|
|
153
|
+
auth = BearerAuth(token=self._service_manager.token)
|
|
154
|
+
|
|
121
155
|
#* Send request and wait for response
|
|
122
156
|
response = await client.get(url=url, params=params, auth=auth)
|
|
123
157
|
return BaseClientHTTPControllerResults(response=response)
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
from fastapi import status
|
|
2
1
|
from maleo_foundation.managers.client.base import ClientService
|
|
3
2
|
from maleo_foundation.utils.exceptions import BaseExceptions
|
|
4
3
|
from maleo_identity.client.controllers import MaleoIdentityOrganizationControllers
|
|
5
4
|
from maleo_identity.enums.general import MaleoIdentityGeneralEnums
|
|
6
5
|
from maleo_identity.models.transfers.parameters.general.organization import MaleoIdentityOrganizationGeneralParametersTransfers
|
|
6
|
+
from maleo_identity.models.transfers.parameters.general.user_organization import MaleoIdentityUserOrganizationGeneralParametersTransfers
|
|
7
7
|
from maleo_identity.models.transfers.parameters.client.organization import MaleoIdentityOrganizationClientParametersTransfers
|
|
8
|
+
from maleo_identity.models.transfers.parameters.client.user_organization import MaleoIdentityUserOrganizationClientParametersTransfers
|
|
8
9
|
from maleo_identity.models.transfers.results.general.organization import MaleoIdentityOrganizationGeneralResultsTransfers
|
|
9
|
-
from maleo_identity.
|
|
10
|
+
from maleo_identity.models.transfers.results.general.user_organization import MaleoIdentityUserOrganizationGeneralResultsTransfers
|
|
11
|
+
from maleo_identity.types.results.client.organization import MaleoIdentityOrganizationClientResultsTypes
|
|
12
|
+
from maleo_identity.types.results.client.user_organization import MaleoIdentityUserOrganizationClientResultsTypes
|
|
10
13
|
|
|
11
14
|
class MaleoIdentityOrganizationClientService(ClientService):
|
|
12
15
|
def __init__(self, logger, controllers:MaleoIdentityOrganizationControllers):
|
|
@@ -21,7 +24,7 @@ class MaleoIdentityOrganizationClientService(ClientService):
|
|
|
21
24
|
self,
|
|
22
25
|
parameters:MaleoIdentityOrganizationClientParametersTransfers.GetMultiple,
|
|
23
26
|
controller_type:MaleoIdentityGeneralEnums.ClientControllerType = MaleoIdentityGeneralEnums.ClientControllerType.HTTP
|
|
24
|
-
) ->
|
|
27
|
+
) -> MaleoIdentityOrganizationClientResultsTypes.GetMultiple:
|
|
25
28
|
"""Retrieve organizations from MaleoIdentity"""
|
|
26
29
|
@BaseExceptions.service_exception_handler(
|
|
27
30
|
operation="retrieving organizations",
|
|
@@ -55,7 +58,7 @@ class MaleoIdentityOrganizationClientService(ClientService):
|
|
|
55
58
|
self,
|
|
56
59
|
parameters:MaleoIdentityOrganizationGeneralParametersTransfers.GetSingle,
|
|
57
60
|
controller_type:MaleoIdentityGeneralEnums.ClientControllerType = MaleoIdentityGeneralEnums.ClientControllerType.HTTP
|
|
58
|
-
) ->
|
|
61
|
+
) -> MaleoIdentityOrganizationClientResultsTypes.GetSingle:
|
|
59
62
|
"""Retrieve organization from MaleoIdentity"""
|
|
60
63
|
@BaseExceptions.service_exception_handler(
|
|
61
64
|
operation="retrieving organization",
|
|
@@ -77,11 +80,7 @@ class MaleoIdentityOrganizationClientService(ClientService):
|
|
|
77
80
|
return MaleoIdentityOrganizationGeneralResultsTransfers.Fail(message=message, description=description)
|
|
78
81
|
#* Return proper response
|
|
79
82
|
if not controller_result.success:
|
|
80
|
-
|
|
81
|
-
return MaleoIdentityOrganizationGeneralResultsTransfers.Fail.model_validate(controller_result.content)
|
|
82
|
-
else:
|
|
83
|
-
controller_result.content["success"] = True
|
|
84
|
-
return MaleoIdentityOrganizationGeneralResultsTransfers.NoData.model_validate(controller_result.content)
|
|
83
|
+
return MaleoIdentityOrganizationGeneralResultsTransfers.Fail.model_validate(controller_result.content)
|
|
85
84
|
else:
|
|
86
85
|
return MaleoIdentityOrganizationGeneralResultsTransfers.SingleData.model_validate(controller_result.content)
|
|
87
86
|
return await _impl()
|
|
@@ -90,7 +89,7 @@ class MaleoIdentityOrganizationClientService(ClientService):
|
|
|
90
89
|
self,
|
|
91
90
|
parameters:MaleoIdentityOrganizationGeneralParametersTransfers.Create,
|
|
92
91
|
controller_type:MaleoIdentityGeneralEnums.ClientControllerType = MaleoIdentityGeneralEnums.ClientControllerType.HTTP
|
|
93
|
-
) ->
|
|
92
|
+
) -> MaleoIdentityOrganizationClientResultsTypes.CreateOrUpdate:
|
|
94
93
|
"""Create a new organization in MaleoIdentity"""
|
|
95
94
|
@BaseExceptions.service_exception_handler(
|
|
96
95
|
operation="creating a new organization",
|
|
@@ -121,7 +120,7 @@ class MaleoIdentityOrganizationClientService(ClientService):
|
|
|
121
120
|
self,
|
|
122
121
|
parameters:MaleoIdentityOrganizationGeneralParametersTransfers.Update,
|
|
123
122
|
controller_type:MaleoIdentityGeneralEnums.ClientControllerType = MaleoIdentityGeneralEnums.ClientControllerType.HTTP
|
|
124
|
-
) ->
|
|
123
|
+
) -> MaleoIdentityOrganizationClientResultsTypes.CreateOrUpdate:
|
|
125
124
|
"""Update organization's data in MaleoIdentity"""
|
|
126
125
|
@BaseExceptions.service_exception_handler(
|
|
127
126
|
operation="updating organization's data",
|
|
@@ -146,4 +145,69 @@ class MaleoIdentityOrganizationClientService(ClientService):
|
|
|
146
145
|
return MaleoIdentityOrganizationGeneralResultsTransfers.Fail.model_validate(controller_result.content)
|
|
147
146
|
else:
|
|
148
147
|
return MaleoIdentityOrganizationGeneralResultsTransfers.SingleData.model_validate(controller_result.content)
|
|
148
|
+
return await _impl()
|
|
149
|
+
|
|
150
|
+
async def get_organization_users(
|
|
151
|
+
self,
|
|
152
|
+
parameters:MaleoIdentityUserOrganizationClientParametersTransfers.GetMultipleFromOrganization,
|
|
153
|
+
controller_type:MaleoIdentityGeneralEnums.ClientControllerType = MaleoIdentityGeneralEnums.ClientControllerType.HTTP
|
|
154
|
+
) -> MaleoIdentityUserOrganizationClientResultsTypes.GetMultiple:
|
|
155
|
+
"""Retrieve organization's users from MaleoIdentity"""
|
|
156
|
+
@BaseExceptions.service_exception_handler(
|
|
157
|
+
operation="retrieving organization's users",
|
|
158
|
+
logger=self._logger,
|
|
159
|
+
fail_result_class=MaleoIdentityUserOrganizationGeneralResultsTransfers.Fail
|
|
160
|
+
)
|
|
161
|
+
async def _impl():
|
|
162
|
+
#* Validate chosen controller type
|
|
163
|
+
if not isinstance(controller_type, MaleoIdentityGeneralEnums.ClientControllerType):
|
|
164
|
+
message = "Invalid controller type"
|
|
165
|
+
description = "The provided controller type did not exists"
|
|
166
|
+
return MaleoIdentityUserOrganizationGeneralResultsTransfers.Fail(message=message, description=description)
|
|
167
|
+
#* Update organization's data using chosen controller
|
|
168
|
+
if controller_type == MaleoIdentityGeneralEnums.ClientControllerType.HTTP:
|
|
169
|
+
controller_result = await self._controllers.http.get_organization_users(parameters=parameters)
|
|
170
|
+
else:
|
|
171
|
+
message = "Invalid controller type"
|
|
172
|
+
description = "The provided controller type has not been implemented"
|
|
173
|
+
return MaleoIdentityUserOrganizationGeneralResultsTransfers.Fail(message=message, description=description)
|
|
174
|
+
#* Return proper response
|
|
175
|
+
if not controller_result.success:
|
|
176
|
+
return MaleoIdentityUserOrganizationGeneralResultsTransfers.Fail.model_validate(controller_result.content)
|
|
177
|
+
else:
|
|
178
|
+
if controller_result.content["data"] is None:
|
|
179
|
+
return MaleoIdentityUserOrganizationGeneralResultsTransfers.NoData.model_validate(controller_result.content)
|
|
180
|
+
else:
|
|
181
|
+
return MaleoIdentityUserOrganizationGeneralResultsTransfers.MultipleData.model_validate(controller_result.content)
|
|
182
|
+
return await _impl()
|
|
183
|
+
|
|
184
|
+
async def get_organization_user(
|
|
185
|
+
self,
|
|
186
|
+
parameters:MaleoIdentityUserOrganizationGeneralParametersTransfers.GetSingle,
|
|
187
|
+
controller_type:MaleoIdentityGeneralEnums.ClientControllerType = MaleoIdentityGeneralEnums.ClientControllerType.HTTP
|
|
188
|
+
) -> MaleoIdentityUserOrganizationClientResultsTypes.GetSingle:
|
|
189
|
+
"""Retrieve organization's user from MaleoIdentity"""
|
|
190
|
+
@BaseExceptions.service_exception_handler(
|
|
191
|
+
operation="retrieving organization's user",
|
|
192
|
+
logger=self._logger,
|
|
193
|
+
fail_result_class=MaleoIdentityUserOrganizationGeneralResultsTransfers.Fail
|
|
194
|
+
)
|
|
195
|
+
async def _impl():
|
|
196
|
+
#* Validate chosen controller type
|
|
197
|
+
if not isinstance(controller_type, MaleoIdentityGeneralEnums.ClientControllerType):
|
|
198
|
+
message = "Invalid controller type"
|
|
199
|
+
description = "The provided controller type did not exists"
|
|
200
|
+
return MaleoIdentityUserOrganizationGeneralResultsTransfers.Fail(message=message, description=description)
|
|
201
|
+
#* Update organization's data using chosen controller
|
|
202
|
+
if controller_type == MaleoIdentityGeneralEnums.ClientControllerType.HTTP:
|
|
203
|
+
controller_result = await self._controllers.http.get_organization_user(parameters=parameters)
|
|
204
|
+
else:
|
|
205
|
+
message = "Invalid controller type"
|
|
206
|
+
description = "The provided controller type has not been implemented"
|
|
207
|
+
return MaleoIdentityUserOrganizationGeneralResultsTransfers.Fail(message=message, description=description)
|
|
208
|
+
#* Return proper response
|
|
209
|
+
if not controller_result.success:
|
|
210
|
+
return MaleoIdentityUserOrganizationGeneralResultsTransfers.Fail.model_validate(controller_result.content)
|
|
211
|
+
else:
|
|
212
|
+
return MaleoIdentityUserOrganizationGeneralResultsTransfers.SingleData.model_validate(controller_result.content)
|
|
149
213
|
return await _impl()
|
|
@@ -4,13 +4,17 @@ from maleo_foundation.utils.exceptions import BaseExceptions
|
|
|
4
4
|
from maleo_identity.client.controllers import MaleoIdentityUserControllers
|
|
5
5
|
from maleo_identity.enums.general import MaleoIdentityGeneralEnums
|
|
6
6
|
from maleo_identity.models.transfers.parameters.general.user import MaleoIdentityUserGeneralParametersTransfers
|
|
7
|
+
from maleo_identity.models.transfers.parameters.general.user_organization import MaleoIdentityUserOrganizationGeneralParametersTransfers
|
|
7
8
|
from maleo_identity.models.transfers.parameters.general.user_system_role import MaleoIdentityUserSystemRoleGeneralParametersTransfers
|
|
8
9
|
from maleo_identity.models.transfers.parameters.client.user import MaleoIdentityUserClientParametersTransfers
|
|
10
|
+
from maleo_identity.models.transfers.parameters.client.user_organization import MaleoIdentityUserOrganizationClientParametersTransfers
|
|
9
11
|
from maleo_identity.models.transfers.parameters.client.user_system_role import MaleoIdentityUserSystemRoleClientParametersTransfers
|
|
10
12
|
from maleo_identity.models.transfers.results.general.user import MaleoIdentityUserGeneralResultsTransfers
|
|
13
|
+
from maleo_identity.models.transfers.results.general.user_organization import MaleoIdentityUserOrganizationGeneralResultsTransfers
|
|
11
14
|
from maleo_identity.models.transfers.results.general.user_system_role import MaleoIdentityUserSystemRoleGeneralResultsTransfers
|
|
12
|
-
from maleo_identity.types.results.
|
|
13
|
-
from maleo_identity.types.results.
|
|
15
|
+
from maleo_identity.types.results.client.user import MaleoIdentityUserClientResultsTypes
|
|
16
|
+
from maleo_identity.types.results.client.user_organization import MaleoIdentityUserOrganizationClientResultsTypes
|
|
17
|
+
from maleo_identity.types.results.client.user_system_role import MaleoIdentityUserSystemRoleClientResultsTypes
|
|
14
18
|
|
|
15
19
|
class MaleoIdentityUserClientService(ClientService):
|
|
16
20
|
def __init__(self, logger, controllers:MaleoIdentityUserControllers):
|
|
@@ -25,7 +29,7 @@ class MaleoIdentityUserClientService(ClientService):
|
|
|
25
29
|
self,
|
|
26
30
|
parameters:MaleoIdentityUserClientParametersTransfers.GetMultiple,
|
|
27
31
|
controller_type:MaleoIdentityGeneralEnums.ClientControllerType = MaleoIdentityGeneralEnums.ClientControllerType.HTTP
|
|
28
|
-
) ->
|
|
32
|
+
) -> MaleoIdentityUserClientResultsTypes.GetMultiple:
|
|
29
33
|
"""Retrieve users from MaleoIdentity"""
|
|
30
34
|
@BaseExceptions.service_exception_handler(
|
|
31
35
|
operation="retrieving users",
|
|
@@ -59,7 +63,7 @@ class MaleoIdentityUserClientService(ClientService):
|
|
|
59
63
|
self,
|
|
60
64
|
parameters:MaleoIdentityUserGeneralParametersTransfers.GetSingle,
|
|
61
65
|
controller_type:MaleoIdentityGeneralEnums.ClientControllerType = MaleoIdentityGeneralEnums.ClientControllerType.HTTP
|
|
62
|
-
) ->
|
|
66
|
+
) -> MaleoIdentityUserClientResultsTypes.GetSingle:
|
|
63
67
|
"""Retrieve user from MaleoIdentity"""
|
|
64
68
|
@BaseExceptions.service_exception_handler(
|
|
65
69
|
operation="retrieving user",
|
|
@@ -81,11 +85,7 @@ class MaleoIdentityUserClientService(ClientService):
|
|
|
81
85
|
return MaleoIdentityUserGeneralResultsTransfers.Fail(message=message, description=description)
|
|
82
86
|
#* Return proper response
|
|
83
87
|
if not controller_result.success:
|
|
84
|
-
|
|
85
|
-
return MaleoIdentityUserGeneralResultsTransfers.Fail.model_validate(controller_result.content)
|
|
86
|
-
else:
|
|
87
|
-
controller_result.content["success"] = True
|
|
88
|
-
return MaleoIdentityUserGeneralResultsTransfers.NoData.model_validate(controller_result.content)
|
|
88
|
+
return MaleoIdentityUserGeneralResultsTransfers.Fail.model_validate(controller_result.content)
|
|
89
89
|
else:
|
|
90
90
|
return MaleoIdentityUserGeneralResultsTransfers.SingleData.model_validate(controller_result.content)
|
|
91
91
|
return await _impl()
|
|
@@ -94,7 +94,7 @@ class MaleoIdentityUserClientService(ClientService):
|
|
|
94
94
|
self,
|
|
95
95
|
parameters:MaleoIdentityUserGeneralParametersTransfers.Create,
|
|
96
96
|
controller_type:MaleoIdentityGeneralEnums.ClientControllerType = MaleoIdentityGeneralEnums.ClientControllerType.HTTP
|
|
97
|
-
) ->
|
|
97
|
+
) -> MaleoIdentityUserClientResultsTypes.CreateOrUpdate:
|
|
98
98
|
"""Create a new user in MaleoIdentity"""
|
|
99
99
|
@BaseExceptions.service_exception_handler(
|
|
100
100
|
operation="creating a new user",
|
|
@@ -125,7 +125,7 @@ class MaleoIdentityUserClientService(ClientService):
|
|
|
125
125
|
self,
|
|
126
126
|
parameters:MaleoIdentityUserGeneralParametersTransfers.Update,
|
|
127
127
|
controller_type:MaleoIdentityGeneralEnums.ClientControllerType = MaleoIdentityGeneralEnums.ClientControllerType.HTTP
|
|
128
|
-
) ->
|
|
128
|
+
) -> MaleoIdentityUserClientResultsTypes.CreateOrUpdate:
|
|
129
129
|
"""Update user's data in MaleoIdentity"""
|
|
130
130
|
@BaseExceptions.service_exception_handler(
|
|
131
131
|
operation="updating user's data",
|
|
@@ -156,7 +156,7 @@ class MaleoIdentityUserClientService(ClientService):
|
|
|
156
156
|
self,
|
|
157
157
|
parameters:MaleoIdentityUserGeneralParametersTransfers.GetSinglePassword,
|
|
158
158
|
controller_type:MaleoIdentityGeneralEnums.ClientControllerType = MaleoIdentityGeneralEnums.ClientControllerType.HTTP
|
|
159
|
-
) ->
|
|
159
|
+
) -> MaleoIdentityUserClientResultsTypes.GetSinglePassword:
|
|
160
160
|
"""Retrieve user's password from MaleoIdentity"""
|
|
161
161
|
@BaseExceptions.service_exception_handler(
|
|
162
162
|
operation="retrieving user's password",
|
|
@@ -183,11 +183,76 @@ class MaleoIdentityUserClientService(ClientService):
|
|
|
183
183
|
return MaleoIdentityUserGeneralResultsTransfers.SinglePassword.model_validate(controller_result.content)
|
|
184
184
|
return await _impl()
|
|
185
185
|
|
|
186
|
+
async def get_user_organizations(
|
|
187
|
+
self,
|
|
188
|
+
parameters:MaleoIdentityUserOrganizationClientParametersTransfers.GetMultipleFromUser,
|
|
189
|
+
controller_type:MaleoIdentityGeneralEnums.ClientControllerType = MaleoIdentityGeneralEnums.ClientControllerType.HTTP
|
|
190
|
+
) -> MaleoIdentityUserOrganizationClientResultsTypes.GetMultiple:
|
|
191
|
+
"""Retrieve user's organizations from MaleoIdentity"""
|
|
192
|
+
@BaseExceptions.service_exception_handler(
|
|
193
|
+
operation="retrieving user's organizations",
|
|
194
|
+
logger=self._logger,
|
|
195
|
+
fail_result_class=MaleoIdentityUserOrganizationGeneralResultsTransfers.Fail
|
|
196
|
+
)
|
|
197
|
+
async def _impl():
|
|
198
|
+
#* Validate chosen controller type
|
|
199
|
+
if not isinstance(controller_type, MaleoIdentityGeneralEnums.ClientControllerType):
|
|
200
|
+
message = "Invalid controller type"
|
|
201
|
+
description = "The provided controller type did not exists"
|
|
202
|
+
return MaleoIdentityUserOrganizationGeneralResultsTransfers.Fail(message=message, description=description)
|
|
203
|
+
#* Retrieve users using chosen controller
|
|
204
|
+
if controller_type == MaleoIdentityGeneralEnums.ClientControllerType.HTTP:
|
|
205
|
+
controller_result = await self._controllers.http.get_user_organizations(parameters=parameters)
|
|
206
|
+
else:
|
|
207
|
+
message = "Invalid controller type"
|
|
208
|
+
description = "The provided controller type has not been implemented"
|
|
209
|
+
return MaleoIdentityUserOrganizationGeneralResultsTransfers.Fail(message=message, description=description)
|
|
210
|
+
#* Return proper response
|
|
211
|
+
if not controller_result.success:
|
|
212
|
+
return MaleoIdentityUserOrganizationGeneralResultsTransfers.Fail.model_validate(controller_result.content)
|
|
213
|
+
else:
|
|
214
|
+
if controller_result.content["data"] is None:
|
|
215
|
+
return MaleoIdentityUserOrganizationGeneralResultsTransfers.NoData.model_validate(controller_result.content)
|
|
216
|
+
else:
|
|
217
|
+
return MaleoIdentityUserOrganizationGeneralResultsTransfers.MultipleData.model_validate(controller_result.content)
|
|
218
|
+
return await _impl()
|
|
219
|
+
|
|
220
|
+
async def get_user_organization(
|
|
221
|
+
self,
|
|
222
|
+
parameters:MaleoIdentityUserOrganizationGeneralParametersTransfers.GetSingle,
|
|
223
|
+
controller_type:MaleoIdentityGeneralEnums.ClientControllerType = MaleoIdentityGeneralEnums.ClientControllerType.HTTP
|
|
224
|
+
) -> MaleoIdentityUserOrganizationClientResultsTypes.GetSingle:
|
|
225
|
+
"""Retrieve user's organization from MaleoIdentity"""
|
|
226
|
+
@BaseExceptions.service_exception_handler(
|
|
227
|
+
operation="retrieving user's organization",
|
|
228
|
+
logger=self._logger,
|
|
229
|
+
fail_result_class=MaleoIdentityUserOrganizationGeneralResultsTransfers.Fail
|
|
230
|
+
)
|
|
231
|
+
async def _impl():
|
|
232
|
+
#* Validate chosen controller type
|
|
233
|
+
if not isinstance(controller_type, MaleoIdentityGeneralEnums.ClientControllerType):
|
|
234
|
+
message = "Invalid controller type"
|
|
235
|
+
description = "The provided controller type did not exists"
|
|
236
|
+
return MaleoIdentityUserOrganizationGeneralResultsTransfers.Fail(message=message, description=description)
|
|
237
|
+
#* Retrieve user using chosen controller
|
|
238
|
+
if controller_type == MaleoIdentityGeneralEnums.ClientControllerType.HTTP:
|
|
239
|
+
controller_result = await self._controllers.http.get_user_organization(parameters=parameters)
|
|
240
|
+
else:
|
|
241
|
+
message = "Invalid controller type"
|
|
242
|
+
description = "The provided controller type has not been implemented"
|
|
243
|
+
return MaleoIdentityUserOrganizationGeneralResultsTransfers.Fail(message=message, description=description)
|
|
244
|
+
#* Return proper response
|
|
245
|
+
if not controller_result.success:
|
|
246
|
+
return MaleoIdentityUserOrganizationGeneralResultsTransfers.Fail.model_validate(controller_result.content)
|
|
247
|
+
else:
|
|
248
|
+
return MaleoIdentityUserOrganizationGeneralResultsTransfers.SingleData.model_validate(controller_result.content)
|
|
249
|
+
return await _impl()
|
|
250
|
+
|
|
186
251
|
async def get_user_system_roles(
|
|
187
252
|
self,
|
|
188
253
|
parameters:MaleoIdentityUserSystemRoleClientParametersTransfers.GetMultipleFromUser,
|
|
189
254
|
controller_type:MaleoIdentityGeneralEnums.ClientControllerType = MaleoIdentityGeneralEnums.ClientControllerType.HTTP
|
|
190
|
-
) ->
|
|
255
|
+
) -> MaleoIdentityUserSystemRoleClientResultsTypes.GetMultiple:
|
|
191
256
|
"""Retrieve user's system roles from MaleoIdentity"""
|
|
192
257
|
@BaseExceptions.service_exception_handler(
|
|
193
258
|
operation="retrieving user's system roles",
|
|
@@ -221,7 +286,7 @@ class MaleoIdentityUserClientService(ClientService):
|
|
|
221
286
|
self,
|
|
222
287
|
parameters:MaleoIdentityUserSystemRoleGeneralParametersTransfers.GetSingle,
|
|
223
288
|
controller_type:MaleoIdentityGeneralEnums.ClientControllerType = MaleoIdentityGeneralEnums.ClientControllerType.HTTP
|
|
224
|
-
) ->
|
|
289
|
+
) -> MaleoIdentityUserSystemRoleClientResultsTypes.GetSingle:
|
|
225
290
|
"""Retrieve user's system role from MaleoIdentity"""
|
|
226
291
|
@BaseExceptions.service_exception_handler(
|
|
227
292
|
operation="retrieving user's system role",
|
|
@@ -243,11 +308,7 @@ class MaleoIdentityUserClientService(ClientService):
|
|
|
243
308
|
return MaleoIdentityUserSystemRoleGeneralResultsTransfers.Fail(message=message, description=description)
|
|
244
309
|
#* Return proper response
|
|
245
310
|
if not controller_result.success:
|
|
246
|
-
|
|
247
|
-
return MaleoIdentityUserSystemRoleGeneralResultsTransfers.Fail.model_validate(controller_result.content)
|
|
248
|
-
else:
|
|
249
|
-
controller_result.content["success"] = True
|
|
250
|
-
return MaleoIdentityUserSystemRoleGeneralResultsTransfers.NoData.model_validate(controller_result.content)
|
|
311
|
+
return MaleoIdentityUserSystemRoleGeneralResultsTransfers.Fail.model_validate(controller_result.content)
|
|
251
312
|
else:
|
|
252
313
|
return MaleoIdentityUserSystemRoleGeneralResultsTransfers.SingleData.model_validate(controller_result.content)
|
|
253
314
|
return await _impl()
|
|
@@ -24,6 +24,18 @@ class MaleoIdentityUserOrganizationClientParametersTransfers:
|
|
|
24
24
|
BaseClientParametersTransfers.GetPaginatedMultiple
|
|
25
25
|
): pass
|
|
26
26
|
|
|
27
|
+
class GetMultipleFromUserQuery(
|
|
28
|
+
MaleoIdentityUserOrganizationGeneralSchemas.Expand,
|
|
29
|
+
MaleoIdentityUserOrganizationGeneralSchemas.OptionalListOfOrganizationId,
|
|
30
|
+
BaseClientParametersTransfers.GetPaginatedMultipleQuery
|
|
31
|
+
): pass
|
|
32
|
+
|
|
33
|
+
class GetMultipleFromOrganizationQuery(
|
|
34
|
+
MaleoIdentityUserOrganizationGeneralSchemas.Expand,
|
|
35
|
+
MaleoIdentityUserOrganizationGeneralSchemas.OptionalListOfUserId,
|
|
36
|
+
BaseClientParametersTransfers.GetPaginatedMultipleQuery
|
|
37
|
+
): pass
|
|
38
|
+
|
|
27
39
|
class GetMultipleQuery(
|
|
28
40
|
MaleoIdentityUserOrganizationGeneralSchemas.Expand,
|
|
29
41
|
MaleoIdentityUserOrganizationGeneralSchemas.OptionalListOfOrganizationId,
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
from .general import MaleoIdentityGeneralResultsTypes
|
|
3
3
|
from .query import MaleoIdentityQueryResultsTypes
|
|
4
|
+
from .client import MaleoIdentityClientResultsTypes
|
|
4
5
|
|
|
5
6
|
class MaleoIdentityResultsTypes:
|
|
6
7
|
General = MaleoIdentityGeneralResultsTypes
|
|
7
|
-
Query = MaleoIdentityQueryResultsTypes
|
|
8
|
+
Query = MaleoIdentityQueryResultsTypes
|
|
9
|
+
Client = MaleoIdentityClientResultsTypes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from .organization import MaleoIdentityOrganizationClientResultsTypes
|
|
3
|
+
from .user import MaleoIdentityUserClientResultsTypes
|
|
4
|
+
from .user_profile import MaleoIdentityUserProfileClientResultsTypes
|
|
5
|
+
from .user_system_role import MaleoIdentityUserSystemRoleClientResultsTypes
|
|
6
|
+
from .user_organization import MaleoIdentityUserOrganizationClientResultsTypes
|
|
7
|
+
|
|
8
|
+
class MaleoIdentityClientResultsTypes:
|
|
9
|
+
Organization = MaleoIdentityOrganizationClientResultsTypes
|
|
10
|
+
User = MaleoIdentityUserClientResultsTypes
|
|
11
|
+
UserProfile = MaleoIdentityUserProfileClientResultsTypes
|
|
12
|
+
UserSystemRole = MaleoIdentityUserSystemRoleClientResultsTypes
|
|
13
|
+
UserOrganization = MaleoIdentityUserOrganizationClientResultsTypes
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from typing import Union
|
|
2
|
+
from maleo_identity.models.transfers.results.general.organization import MaleoIdentityOrganizationGeneralResultsTransfers
|
|
3
|
+
|
|
4
|
+
class MaleoIdentityOrganizationClientResultsTypes:
|
|
5
|
+
GetMultiple = Union[
|
|
6
|
+
MaleoIdentityOrganizationGeneralResultsTransfers.Fail,
|
|
7
|
+
MaleoIdentityOrganizationGeneralResultsTransfers.NoData,
|
|
8
|
+
MaleoIdentityOrganizationGeneralResultsTransfers.MultipleData
|
|
9
|
+
]
|
|
10
|
+
|
|
11
|
+
GetSingle = Union[
|
|
12
|
+
MaleoIdentityOrganizationGeneralResultsTransfers.Fail,
|
|
13
|
+
MaleoIdentityOrganizationGeneralResultsTransfers.SingleData
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
CreateOrUpdate = Union[
|
|
17
|
+
MaleoIdentityOrganizationGeneralResultsTransfers.Fail,
|
|
18
|
+
MaleoIdentityOrganizationGeneralResultsTransfers.SingleData
|
|
19
|
+
]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from typing import Union
|
|
2
|
+
from maleo_identity.models.transfers.results.general.user import MaleoIdentityUserGeneralResultsTransfers
|
|
3
|
+
|
|
4
|
+
class MaleoIdentityUserClientResultsTypes:
|
|
5
|
+
GetMultiple = Union[
|
|
6
|
+
MaleoIdentityUserGeneralResultsTransfers.Fail,
|
|
7
|
+
MaleoIdentityUserGeneralResultsTransfers.NoData,
|
|
8
|
+
MaleoIdentityUserGeneralResultsTransfers.MultipleData
|
|
9
|
+
]
|
|
10
|
+
|
|
11
|
+
GetSingle = Union[
|
|
12
|
+
MaleoIdentityUserGeneralResultsTransfers.Fail,
|
|
13
|
+
MaleoIdentityUserGeneralResultsTransfers.SingleData
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
CreateOrUpdate = Union[
|
|
17
|
+
MaleoIdentityUserGeneralResultsTransfers.Fail,
|
|
18
|
+
MaleoIdentityUserGeneralResultsTransfers.SingleData
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
GetSinglePassword = Union[
|
|
22
|
+
MaleoIdentityUserGeneralResultsTransfers.Fail,
|
|
23
|
+
MaleoIdentityUserGeneralResultsTransfers.SinglePassword
|
|
24
|
+
]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from typing import Union
|
|
2
|
+
from maleo_identity.models.transfers.results.general.user_organization import MaleoIdentityUserOrganizationGeneralResultsTransfers
|
|
3
|
+
|
|
4
|
+
class MaleoIdentityUserOrganizationClientResultsTypes:
|
|
5
|
+
GetMultiple = Union[
|
|
6
|
+
MaleoIdentityUserOrganizationGeneralResultsTransfers.Fail,
|
|
7
|
+
MaleoIdentityUserOrganizationGeneralResultsTransfers.NoData,
|
|
8
|
+
MaleoIdentityUserOrganizationGeneralResultsTransfers.MultipleData
|
|
9
|
+
]
|
|
10
|
+
|
|
11
|
+
GetSingle = Union[
|
|
12
|
+
MaleoIdentityUserOrganizationGeneralResultsTransfers.Fail,
|
|
13
|
+
MaleoIdentityUserOrganizationGeneralResultsTransfers.SingleData
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
Create = Union[
|
|
17
|
+
MaleoIdentityUserOrganizationGeneralResultsTransfers.Fail,
|
|
18
|
+
MaleoIdentityUserOrganizationGeneralResultsTransfers.SingleData
|
|
19
|
+
]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from typing import Union
|
|
2
|
+
from maleo_identity.models.transfers.results.general.user_profile import MaleoIdentityUserProfileGeneralResultsTransfers
|
|
3
|
+
|
|
4
|
+
class MaleoIdentityUserProfileClientResultsTypes:
|
|
5
|
+
GetMultiple = Union[
|
|
6
|
+
MaleoIdentityUserProfileGeneralResultsTransfers.Fail,
|
|
7
|
+
MaleoIdentityUserProfileGeneralResultsTransfers.NoData,
|
|
8
|
+
MaleoIdentityUserProfileGeneralResultsTransfers.MultipleData
|
|
9
|
+
]
|
|
10
|
+
|
|
11
|
+
GetSingle = Union[
|
|
12
|
+
MaleoIdentityUserProfileGeneralResultsTransfers.Fail,
|
|
13
|
+
MaleoIdentityUserProfileGeneralResultsTransfers.SingleData
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
CreateOrUpdate = Union[
|
|
17
|
+
MaleoIdentityUserProfileGeneralResultsTransfers.Fail,
|
|
18
|
+
MaleoIdentityUserProfileGeneralResultsTransfers.SingleData
|
|
19
|
+
]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from typing import Union
|
|
2
|
+
from maleo_identity.models.transfers.results.general.user_system_role import MaleoIdentityUserSystemRoleGeneralResultsTransfers
|
|
3
|
+
|
|
4
|
+
class MaleoIdentityUserSystemRoleClientResultsTypes:
|
|
5
|
+
GetMultiple = Union[
|
|
6
|
+
MaleoIdentityUserSystemRoleGeneralResultsTransfers.Fail,
|
|
7
|
+
MaleoIdentityUserSystemRoleGeneralResultsTransfers.NoData,
|
|
8
|
+
MaleoIdentityUserSystemRoleGeneralResultsTransfers.MultipleData
|
|
9
|
+
]
|
|
10
|
+
|
|
11
|
+
GetSingle = Union[
|
|
12
|
+
MaleoIdentityUserSystemRoleGeneralResultsTransfers.Fail,
|
|
13
|
+
MaleoIdentityUserSystemRoleGeneralResultsTransfers.SingleData
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
Create = Union[
|
|
17
|
+
MaleoIdentityUserSystemRoleGeneralResultsTransfers.Fail,
|
|
18
|
+
MaleoIdentityUserSystemRoleGeneralResultsTransfers.SingleData
|
|
19
|
+
]
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: maleo-identity
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.12
|
|
4
4
|
Summary: MaleoIdentity service package
|
|
5
5
|
Author-email: Agra Bima Yuda <agra@nexmedis.com>
|
|
6
6
|
License: MIT
|
|
7
7
|
Requires-Python: >=3.7
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
9
|
Requires-Dist: maleo_foundation>=0.1.92
|
|
10
|
-
Requires-Dist: maleo_metadata>=0.0.
|
|
10
|
+
Requires-Dist: maleo_metadata>=0.0.65
|
|
11
11
|
|
|
12
12
|
# README #
|
|
13
13
|
|
|
@@ -4,11 +4,11 @@ maleo_identity/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
|
|
|
4
4
|
maleo_identity/client/manager.py,sha256=CZHz2E7EyrJt-cDklCC37xIIyVPcrGbfLChze8OiOgk,2636
|
|
5
5
|
maleo_identity/client/controllers/__init__.py,sha256=Kln0lR4EAnHsHaFWNEQBlOGH-hDiY_8KJdPq86msvA0,927
|
|
6
6
|
maleo_identity/client/controllers/http/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
-
maleo_identity/client/controllers/http/organization.py,sha256=
|
|
8
|
-
maleo_identity/client/controllers/http/user.py,sha256=
|
|
7
|
+
maleo_identity/client/controllers/http/organization.py,sha256=eJs_7qx9md_UjcDZfRy2FiyRDsvaiFm87yhdHAabv9M,6553
|
|
8
|
+
maleo_identity/client/controllers/http/user.py,sha256=ifaOciZYGkmGSN4uAbPt97ujL0xVuQmI8G24ddP9-B0,9043
|
|
9
9
|
maleo_identity/client/services/__init__.py,sha256=52SEvH0DQUnTCGQIqRfdy-nnnOP1CXxxh4Zakzl5-W8,536
|
|
10
|
-
maleo_identity/client/services/organization.py,sha256=
|
|
11
|
-
maleo_identity/client/services/user.py,sha256=
|
|
10
|
+
maleo_identity/client/services/organization.py,sha256=vz2nY5LztwRBx1aJNyMESy8QpyDMutllKY7X1HMUv4M,13689
|
|
11
|
+
maleo_identity/client/services/user.py,sha256=TpBlHwguBYeRZnVYkaTWt-R-ou22vs-Cw_167R1y4lQ,19731
|
|
12
12
|
maleo_identity/constants/__init__.py,sha256=g1zbxRrikSN_3GzxDTUQF-g5epTSLeoXH7iPHjyHQTE,632
|
|
13
13
|
maleo_identity/constants/organization.py,sha256=M5STqi5WMtT6kfNbB4BnQ1gEdQvU-l9dc9MiJCKzO_o,484
|
|
14
14
|
maleo_identity/constants/user.py,sha256=ye4oK5oDaDR4iJOERj9bQ-XcWjVAVAmXJpR8McXmFLc,1383
|
|
@@ -65,7 +65,7 @@ maleo_identity/models/transfers/parameters/__init__.py,sha256=ysazhGlRoT9kY_L_gr
|
|
|
65
65
|
maleo_identity/models/transfers/parameters/client/__init__.py,sha256=5CXqAUODAPcskCiwWqeSMvu1L09034IE-t-YqRRSsZ8,808
|
|
66
66
|
maleo_identity/models/transfers/parameters/client/organization.py,sha256=h-iOTTPtuYdBLnsuhZ-rlMyk0tfdyYiAWG7GRCps1UM,1065
|
|
67
67
|
maleo_identity/models/transfers/parameters/client/user.py,sha256=ntPf_E5gw4f_eL4sRgeRF_AZcjNoBTM8KWDIN02pB3c,1298
|
|
68
|
-
maleo_identity/models/transfers/parameters/client/user_organization.py,sha256=
|
|
68
|
+
maleo_identity/models/transfers/parameters/client/user_organization.py,sha256=9Vin2d8jrTDtnTwSD7lQDaWi5aAbtGlGbnkUmGaSXSI,2066
|
|
69
69
|
maleo_identity/models/transfers/parameters/client/user_profile.py,sha256=KB5_Ado_JAVYaSAPyqS00TSnrgbCkCE6yKYhe4NLb58,1224
|
|
70
70
|
maleo_identity/models/transfers/parameters/client/user_system_role.py,sha256=olEv7xSsej7jwuESoQ6qSK5cPRgGIhK6svamYjV_5ns,1569
|
|
71
71
|
maleo_identity/models/transfers/parameters/general/__init__.py,sha256=VOslVmijMHB9aot1QZom6Ug7prr9gGJ7FQvXrfADIBw,819
|
|
@@ -94,7 +94,13 @@ maleo_identity/models/transfers/results/query/user_organization.py,sha256=easdO0
|
|
|
94
94
|
maleo_identity/models/transfers/results/query/user_profile.py,sha256=LxuG_x3jTXtQ3Iw4Ffc1Xv_Cv7OMt4lDNqh4MyHnaYU,824
|
|
95
95
|
maleo_identity/models/transfers/results/query/user_system_role.py,sha256=9j6o48GtLNyirnxCz-sM3CaX_jiGyBNy5AWOH_cKTeo,842
|
|
96
96
|
maleo_identity/types/__init__.py,sha256=U6YJOUefzuJjISnFXE6j7gzQvrZEAHboW3t8Ezgty94,148
|
|
97
|
-
maleo_identity/types/results/__init__.py,sha256=
|
|
97
|
+
maleo_identity/types/results/__init__.py,sha256=Bru0muO5iXb5vfyB8yPvolXe8Ao5wksx1-lizJbk5Ts,359
|
|
98
|
+
maleo_identity/types/results/client/__init__.py,sha256=rm0x6L7s6FEcNLsgfuEgWEVioykOk98IDyMvFyJHibw,731
|
|
99
|
+
maleo_identity/types/results/client/organization.py,sha256=Nj22DnZl_Vs4ZjGI5xcfymn4s-HvzNqOwj2H9lWVkFU,754
|
|
100
|
+
maleo_identity/types/results/client/user.py,sha256=gRznLZdk2zwsnk3SBC0T_RksnsIOc_7qBzePcuoxI3M,831
|
|
101
|
+
maleo_identity/types/results/client/user_organization.py,sha256=YiWdgVbuNeKiEpT8iZXufno1JSumK97xACLDFZUdDp0,787
|
|
102
|
+
maleo_identity/types/results/client/user_profile.py,sha256=eOD_W8cFogI5rXXTBSvjknOb6DJYhkuSt0ck0qJGPVI,745
|
|
103
|
+
maleo_identity/types/results/client/user_system_role.py,sha256=SqJd5ZlolyL3dgVNButz5GsvYgPBYAMMn4PUWbHgAvY,768
|
|
98
104
|
maleo_identity/types/results/general/__init__.py,sha256=fBh243KjiAsbTrHfR9IX59dv1i-R96oVAfY0_ZRDu8k,742
|
|
99
105
|
maleo_identity/types/results/general/organization.py,sha256=_1lIf9ds756m7uMXToxHX0HA-Qha6E3yMmcG1Ei9XC4,820
|
|
100
106
|
maleo_identity/types/results/general/user.py,sha256=2raDahxVdE9rcpwJrj3LmHUWQUwQNVbXR-pOCOI_aCg,889
|
|
@@ -107,7 +113,7 @@ maleo_identity/types/results/query/user.py,sha256=SNgSJEOD3ZAdflkgPz47vVDYuTxtYV
|
|
|
107
113
|
maleo_identity/types/results/query/user_organization.py,sha256=5_YbwX6s9l1uYbLMZmlVg5EiP_5_RvUKRkRdbBFzLWo,835
|
|
108
114
|
maleo_identity/types/results/query/user_profile.py,sha256=Tz960UKJa17fYxaS5_Ju2iqVj5b1F07ZkgXsshWqX0E,788
|
|
109
115
|
maleo_identity/types/results/query/user_system_role.py,sha256=U5PgAv3B-g_5d852pi-9GdZy9sCkl0TgSdOgsEsRk-Q,814
|
|
110
|
-
maleo_identity-0.0.
|
|
111
|
-
maleo_identity-0.0.
|
|
112
|
-
maleo_identity-0.0.
|
|
113
|
-
maleo_identity-0.0.
|
|
116
|
+
maleo_identity-0.0.12.dist-info/METADATA,sha256=ltvOhzhDMsROjPayUosFgCmRPo2GTl4wj16wwzIYGKg,868
|
|
117
|
+
maleo_identity-0.0.12.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
|
|
118
|
+
maleo_identity-0.0.12.dist-info/top_level.txt,sha256=mQENoRr7CBU3vx2PxHXywCHdfBm3AIzVx75IaEsArYE,15
|
|
119
|
+
maleo_identity-0.0.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|