maleo-identity 0.0.19__tar.gz → 0.0.21__tar.gz
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-0.0.19 → maleo_identity-0.0.21}/PKG-INFO +3 -3
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/client/services/organization.py +58 -58
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/client/services/user.py +63 -63
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/results/__init__.py +2 -0
- maleo_identity-0.0.21/maleo_identity/models/transfers/results/client/__init__.py +17 -0
- maleo_identity-0.0.21/maleo_identity/models/transfers/results/client/organization.py +15 -0
- maleo_identity-0.0.21/maleo_identity/models/transfers/results/client/organization_role.py +15 -0
- maleo_identity-0.0.21/maleo_identity/models/transfers/results/client/user.py +18 -0
- maleo_identity-0.0.21/maleo_identity/models/transfers/results/client/user_organization.py +15 -0
- maleo_identity-0.0.21/maleo_identity/models/transfers/results/client/user_organization_role.py +15 -0
- maleo_identity-0.0.21/maleo_identity/models/transfers/results/client/user_profile.py +15 -0
- maleo_identity-0.0.21/maleo_identity/models/transfers/results/client/user_system_role.py +15 -0
- maleo_identity-0.0.21/maleo_identity/types/results/client/organization.py +19 -0
- maleo_identity-0.0.21/maleo_identity/types/results/client/organization_role.py +14 -0
- maleo_identity-0.0.21/maleo_identity/types/results/client/user.py +24 -0
- maleo_identity-0.0.21/maleo_identity/types/results/client/user_organization.py +19 -0
- maleo_identity-0.0.21/maleo_identity/types/results/client/user_organization_role.py +14 -0
- maleo_identity-0.0.21/maleo_identity/types/results/client/user_profile.py +19 -0
- maleo_identity-0.0.21/maleo_identity/types/results/client/user_system_role.py +19 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity.egg-info/PKG-INFO +3 -3
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity.egg-info/SOURCES.txt +8 -0
- maleo_identity-0.0.21/maleo_identity.egg-info/requires.txt +2 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/pyproject.toml +3 -3
- maleo_identity-0.0.19/maleo_identity/types/results/client/organization.py +0 -19
- maleo_identity-0.0.19/maleo_identity/types/results/client/organization_role.py +0 -14
- maleo_identity-0.0.19/maleo_identity/types/results/client/user.py +0 -24
- maleo_identity-0.0.19/maleo_identity/types/results/client/user_organization.py +0 -19
- maleo_identity-0.0.19/maleo_identity/types/results/client/user_organization_role.py +0 -14
- maleo_identity-0.0.19/maleo_identity/types/results/client/user_profile.py +0 -19
- maleo_identity-0.0.19/maleo_identity/types/results/client/user_system_role.py +0 -19
- maleo_identity-0.0.19/maleo_identity.egg-info/requires.txt +0 -2
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/README.md +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/client/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/client/controllers/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/client/controllers/http/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/client/controllers/http/organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/client/controllers/http/user.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/client/manager.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/client/services/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/constants/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/constants/organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/constants/organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/constants/user.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/constants/user_organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/constants/user_organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/constants/user_profile.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/constants/user_system_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/db.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/enums/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/enums/general.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/enums/organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/enums/organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/enums/user.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/enums/user_organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/enums/user_organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/enums/user_profile.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/enums/user_system_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/responses/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/responses/organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/responses/organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/responses/user.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/responses/user_organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/responses/user_organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/responses/user_profile.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/responses/user_system_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/general/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/general/organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/general/organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/general/user.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/general/user_organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/general/user_organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/general/user_profile.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/general/user_system_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/parameters/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/parameters/organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/parameters/organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/parameters/user.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/parameters/user_organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/parameters/user_organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/parameters/user_profile.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/parameters/user_system_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/results/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/results/organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/results/organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/results/user.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/results/user_organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/results/user_organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/results/user_profile.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/schemas/results/user_system_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/tables/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/tables/organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/tables/organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/tables/user.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/tables/user_organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/tables/user_organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/tables/user_profile.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/tables/user_system_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/general/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/general/organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/general/organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/general/user.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/general/user_organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/general/user_organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/general/user_profile.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/general/user_system_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/client/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/client/organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/client/organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/client/user.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/client/user_organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/client/user_organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/client/user_profile.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/client/user_system_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/general/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/general/organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/general/organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/general/user.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/general/user_organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/general/user_organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/general/user_profile.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/general/user_system_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/service/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/service/organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/service/organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/service/user.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/service/user_organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/service/user_organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/service/user_profile.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/parameters/service/user_system_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/results/general/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/results/general/organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/results/general/organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/results/general/user.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/results/general/user_organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/results/general/user_organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/results/general/user_profile.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/results/general/user_system_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/results/query/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/results/query/organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/results/query/organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/results/query/user.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/results/query/user_organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/results/query/user_organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/results/query/user_profile.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/models/transfers/results/query/user_system_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/types/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/types/results/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/types/results/client/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/types/results/general/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/types/results/general/organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/types/results/general/organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/types/results/general/user.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/types/results/general/user_organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/types/results/general/user_organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/types/results/general/user_profile.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/types/results/general/user_system_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/types/results/query/__init__.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/types/results/query/organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/types/results/query/organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/types/results/query/user.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/types/results/query/user_organization.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/types/results/query/user_organization_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/types/results/query/user_profile.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/types/results/query/user_system_role.py +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity.egg-info/dependency_links.txt +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity.egg-info/top_level.txt +0 -0
- {maleo_identity-0.0.19 → maleo_identity-0.0.21}/setup.cfg +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: maleo-identity
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.21
|
|
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
|
-
Requires-Dist: maleo_foundation>=0.2.
|
|
10
|
-
Requires-Dist: maleo_metadata>=0.0.
|
|
9
|
+
Requires-Dist: maleo_foundation>=0.2.5
|
|
10
|
+
Requires-Dist: maleo_metadata>=0.0.73
|
|
11
11
|
|
|
12
12
|
# README #
|
|
13
13
|
|
{maleo_identity-0.0.19 → maleo_identity-0.0.21}/maleo_identity/client/services/organization.py
RENAMED
|
@@ -10,10 +10,10 @@ from maleo_identity.models.transfers.parameters.client.organization_role import
|
|
|
10
10
|
from maleo_identity.models.transfers.parameters.client.organization import MaleoIdentityOrganizationClientParametersTransfers
|
|
11
11
|
from maleo_identity.models.transfers.parameters.client.user_organization import MaleoIdentityUserOrganizationClientParametersTransfers
|
|
12
12
|
from maleo_identity.models.transfers.parameters.client.user_organization_role import MaleoIdentityUserOrganizationRoleClientParametersTransfers
|
|
13
|
-
from maleo_identity.models.transfers.results.
|
|
14
|
-
from maleo_identity.models.transfers.results.
|
|
15
|
-
from maleo_identity.models.transfers.results.
|
|
16
|
-
from maleo_identity.models.transfers.results.
|
|
13
|
+
from maleo_identity.models.transfers.results.client.organization_role import MaleoIdentityOrganizationRoleClientResultsTransfers
|
|
14
|
+
from maleo_identity.models.transfers.results.client.organization import MaleoIdentityOrganizationClientResultsTransfers
|
|
15
|
+
from maleo_identity.models.transfers.results.client.user_organization import MaleoIdentityUserOrganizationClientResultsTransfers
|
|
16
|
+
from maleo_identity.models.transfers.results.client.user_organization_role import MaleoIdentityUserOrganizationRoleClientResultsTransfers
|
|
17
17
|
from maleo_identity.types.results.client.organization_role import MaleoIdentityOrganizationRoleClientResultsTypes
|
|
18
18
|
from maleo_identity.types.results.client.organization import MaleoIdentityOrganizationClientResultsTypes
|
|
19
19
|
from maleo_identity.types.results.client.user_organization import MaleoIdentityUserOrganizationClientResultsTypes
|
|
@@ -37,29 +37,29 @@ class MaleoIdentityOrganizationClientService(ClientService):
|
|
|
37
37
|
@BaseExceptions.service_exception_handler(
|
|
38
38
|
operation="retrieving organizations",
|
|
39
39
|
logger=self._logger,
|
|
40
|
-
fail_result_class=
|
|
40
|
+
fail_result_class=MaleoIdentityOrganizationClientResultsTransfers.Fail
|
|
41
41
|
)
|
|
42
42
|
async def _impl():
|
|
43
43
|
#* Validate chosen controller type
|
|
44
44
|
if not isinstance(controller_type, MaleoIdentityGeneralEnums.ClientControllerType):
|
|
45
45
|
message = "Invalid controller type"
|
|
46
46
|
description = "The provided controller type did not exists"
|
|
47
|
-
return
|
|
47
|
+
return MaleoIdentityOrganizationClientResultsTransfers.Fail(message=message, description=description)
|
|
48
48
|
#* Retrieve organizations using chosen controller
|
|
49
49
|
if controller_type == MaleoIdentityGeneralEnums.ClientControllerType.HTTP:
|
|
50
50
|
controller_result = await self._controllers.http.get_organizations(parameters=parameters)
|
|
51
51
|
else:
|
|
52
52
|
message = "Invalid controller type"
|
|
53
53
|
description = "The provided controller type has not been implemented"
|
|
54
|
-
return
|
|
54
|
+
return MaleoIdentityOrganizationClientResultsTransfers.Fail(message=message, description=description)
|
|
55
55
|
#* Return proper response
|
|
56
56
|
if not controller_result.success:
|
|
57
|
-
return
|
|
57
|
+
return MaleoIdentityOrganizationClientResultsTransfers.Fail.model_validate(controller_result.content)
|
|
58
58
|
else:
|
|
59
59
|
if controller_result.content["data"] is None:
|
|
60
|
-
return
|
|
60
|
+
return MaleoIdentityOrganizationClientResultsTransfers.NoData.model_validate(controller_result.content)
|
|
61
61
|
else:
|
|
62
|
-
return
|
|
62
|
+
return MaleoIdentityOrganizationClientResultsTransfers.MultipleData.model_validate(controller_result.content)
|
|
63
63
|
return await _impl()
|
|
64
64
|
|
|
65
65
|
async def get_organization(
|
|
@@ -71,26 +71,26 @@ class MaleoIdentityOrganizationClientService(ClientService):
|
|
|
71
71
|
@BaseExceptions.service_exception_handler(
|
|
72
72
|
operation="retrieving organization",
|
|
73
73
|
logger=self._logger,
|
|
74
|
-
fail_result_class=
|
|
74
|
+
fail_result_class=MaleoIdentityOrganizationClientResultsTransfers.Fail
|
|
75
75
|
)
|
|
76
76
|
async def _impl():
|
|
77
77
|
#* Validate chosen controller type
|
|
78
78
|
if not isinstance(controller_type, MaleoIdentityGeneralEnums.ClientControllerType):
|
|
79
79
|
message = "Invalid controller type"
|
|
80
80
|
description = "The provided controller type did not exists"
|
|
81
|
-
return
|
|
81
|
+
return MaleoIdentityOrganizationClientResultsTransfers.Fail(message=message, description=description)
|
|
82
82
|
#* Retrieve organization using chosen controller
|
|
83
83
|
if controller_type == MaleoIdentityGeneralEnums.ClientControllerType.HTTP:
|
|
84
84
|
controller_result = await self._controllers.http.get_organization(parameters=parameters)
|
|
85
85
|
else:
|
|
86
86
|
message = "Invalid controller type"
|
|
87
87
|
description = "The provided controller type has not been implemented"
|
|
88
|
-
return
|
|
88
|
+
return MaleoIdentityOrganizationClientResultsTransfers.Fail(message=message, description=description)
|
|
89
89
|
#* Return proper response
|
|
90
90
|
if not controller_result.success:
|
|
91
|
-
return
|
|
91
|
+
return MaleoIdentityOrganizationClientResultsTransfers.Fail.model_validate(controller_result.content)
|
|
92
92
|
else:
|
|
93
|
-
return
|
|
93
|
+
return MaleoIdentityOrganizationClientResultsTransfers.SingleData.model_validate(controller_result.content)
|
|
94
94
|
return await _impl()
|
|
95
95
|
|
|
96
96
|
async def create(
|
|
@@ -102,26 +102,26 @@ class MaleoIdentityOrganizationClientService(ClientService):
|
|
|
102
102
|
@BaseExceptions.service_exception_handler(
|
|
103
103
|
operation="creating a new organization",
|
|
104
104
|
logger=self._logger,
|
|
105
|
-
fail_result_class=
|
|
105
|
+
fail_result_class=MaleoIdentityOrganizationClientResultsTransfers.Fail
|
|
106
106
|
)
|
|
107
107
|
async def _impl():
|
|
108
108
|
#* Validate chosen controller type
|
|
109
109
|
if not isinstance(controller_type, MaleoIdentityGeneralEnums.ClientControllerType):
|
|
110
110
|
message = "Invalid controller type"
|
|
111
111
|
description = "The provided controller type did not exists"
|
|
112
|
-
return
|
|
112
|
+
return MaleoIdentityOrganizationClientResultsTransfers.Fail(message=message, description=description)
|
|
113
113
|
#* Create a new organization using chosen controller
|
|
114
114
|
if controller_type == MaleoIdentityGeneralEnums.ClientControllerType.HTTP:
|
|
115
115
|
controller_result = await self._controllers.http.create(parameters=parameters)
|
|
116
116
|
else:
|
|
117
117
|
message = "Invalid controller type"
|
|
118
118
|
description = "The provided controller type has not been implemented"
|
|
119
|
-
return
|
|
119
|
+
return MaleoIdentityOrganizationClientResultsTransfers.Fail(message=message, description=description)
|
|
120
120
|
#* Return proper response
|
|
121
121
|
if not controller_result.success:
|
|
122
|
-
return
|
|
122
|
+
return MaleoIdentityOrganizationClientResultsTransfers.Fail.model_validate(controller_result.content)
|
|
123
123
|
else:
|
|
124
|
-
return
|
|
124
|
+
return MaleoIdentityOrganizationClientResultsTransfers.SingleData.model_validate(controller_result.content)
|
|
125
125
|
return await _impl()
|
|
126
126
|
|
|
127
127
|
async def update(
|
|
@@ -133,26 +133,26 @@ class MaleoIdentityOrganizationClientService(ClientService):
|
|
|
133
133
|
@BaseExceptions.service_exception_handler(
|
|
134
134
|
operation="updating organization's data",
|
|
135
135
|
logger=self._logger,
|
|
136
|
-
fail_result_class=
|
|
136
|
+
fail_result_class=MaleoIdentityOrganizationClientResultsTransfers.Fail
|
|
137
137
|
)
|
|
138
138
|
async def _impl():
|
|
139
139
|
#* Validate chosen controller type
|
|
140
140
|
if not isinstance(controller_type, MaleoIdentityGeneralEnums.ClientControllerType):
|
|
141
141
|
message = "Invalid controller type"
|
|
142
142
|
description = "The provided controller type did not exists"
|
|
143
|
-
return
|
|
143
|
+
return MaleoIdentityOrganizationClientResultsTransfers.Fail(message=message, description=description)
|
|
144
144
|
#* Update organization's data using chosen controller
|
|
145
145
|
if controller_type == MaleoIdentityGeneralEnums.ClientControllerType.HTTP:
|
|
146
146
|
controller_result = await self._controllers.http.update(parameters=parameters)
|
|
147
147
|
else:
|
|
148
148
|
message = "Invalid controller type"
|
|
149
149
|
description = "The provided controller type has not been implemented"
|
|
150
|
-
return
|
|
150
|
+
return MaleoIdentityOrganizationClientResultsTransfers.Fail(message=message, description=description)
|
|
151
151
|
#* Return proper response
|
|
152
152
|
if not controller_result.success:
|
|
153
|
-
return
|
|
153
|
+
return MaleoIdentityOrganizationClientResultsTransfers.Fail.model_validate(controller_result.content)
|
|
154
154
|
else:
|
|
155
|
-
return
|
|
155
|
+
return MaleoIdentityOrganizationClientResultsTransfers.SingleData.model_validate(controller_result.content)
|
|
156
156
|
return await _impl()
|
|
157
157
|
|
|
158
158
|
async def get_organization_users(
|
|
@@ -164,29 +164,29 @@ class MaleoIdentityOrganizationClientService(ClientService):
|
|
|
164
164
|
@BaseExceptions.service_exception_handler(
|
|
165
165
|
operation="retrieving organization's users",
|
|
166
166
|
logger=self._logger,
|
|
167
|
-
fail_result_class=
|
|
167
|
+
fail_result_class=MaleoIdentityUserOrganizationClientResultsTransfers.Fail
|
|
168
168
|
)
|
|
169
169
|
async def _impl():
|
|
170
170
|
#* Validate chosen controller type
|
|
171
171
|
if not isinstance(controller_type, MaleoIdentityGeneralEnums.ClientControllerType):
|
|
172
172
|
message = "Invalid controller type"
|
|
173
173
|
description = "The provided controller type did not exists"
|
|
174
|
-
return
|
|
174
|
+
return MaleoIdentityUserOrganizationClientResultsTransfers.Fail(message=message, description=description)
|
|
175
175
|
#* Retrieve organization's users using chosen controller
|
|
176
176
|
if controller_type == MaleoIdentityGeneralEnums.ClientControllerType.HTTP:
|
|
177
177
|
controller_result = await self._controllers.http.get_organization_users(parameters=parameters)
|
|
178
178
|
else:
|
|
179
179
|
message = "Invalid controller type"
|
|
180
180
|
description = "The provided controller type has not been implemented"
|
|
181
|
-
return
|
|
181
|
+
return MaleoIdentityUserOrganizationClientResultsTransfers.Fail(message=message, description=description)
|
|
182
182
|
#* Return proper response
|
|
183
183
|
if not controller_result.success:
|
|
184
|
-
return
|
|
184
|
+
return MaleoIdentityUserOrganizationClientResultsTransfers.Fail.model_validate(controller_result.content)
|
|
185
185
|
else:
|
|
186
186
|
if controller_result.content["data"] is None:
|
|
187
|
-
return
|
|
187
|
+
return MaleoIdentityUserOrganizationClientResultsTransfers.NoData.model_validate(controller_result.content)
|
|
188
188
|
else:
|
|
189
|
-
return
|
|
189
|
+
return MaleoIdentityUserOrganizationClientResultsTransfers.MultipleData.model_validate(controller_result.content)
|
|
190
190
|
return await _impl()
|
|
191
191
|
|
|
192
192
|
async def get_organization_user(
|
|
@@ -198,26 +198,26 @@ class MaleoIdentityOrganizationClientService(ClientService):
|
|
|
198
198
|
@BaseExceptions.service_exception_handler(
|
|
199
199
|
operation="retrieving organization's user",
|
|
200
200
|
logger=self._logger,
|
|
201
|
-
fail_result_class=
|
|
201
|
+
fail_result_class=MaleoIdentityUserOrganizationClientResultsTransfers.Fail
|
|
202
202
|
)
|
|
203
203
|
async def _impl():
|
|
204
204
|
#* Validate chosen controller type
|
|
205
205
|
if not isinstance(controller_type, MaleoIdentityGeneralEnums.ClientControllerType):
|
|
206
206
|
message = "Invalid controller type"
|
|
207
207
|
description = "The provided controller type did not exists"
|
|
208
|
-
return
|
|
208
|
+
return MaleoIdentityUserOrganizationClientResultsTransfers.Fail(message=message, description=description)
|
|
209
209
|
#* Retrieve organization's user using chosen controller
|
|
210
210
|
if controller_type == MaleoIdentityGeneralEnums.ClientControllerType.HTTP:
|
|
211
211
|
controller_result = await self._controllers.http.get_organization_user(parameters=parameters)
|
|
212
212
|
else:
|
|
213
213
|
message = "Invalid controller type"
|
|
214
214
|
description = "The provided controller type has not been implemented"
|
|
215
|
-
return
|
|
215
|
+
return MaleoIdentityUserOrganizationClientResultsTransfers.Fail(message=message, description=description)
|
|
216
216
|
#* Return proper response
|
|
217
217
|
if not controller_result.success:
|
|
218
|
-
return
|
|
218
|
+
return MaleoIdentityUserOrganizationClientResultsTransfers.Fail.model_validate(controller_result.content)
|
|
219
219
|
else:
|
|
220
|
-
return
|
|
220
|
+
return MaleoIdentityUserOrganizationClientResultsTransfers.SingleData.model_validate(controller_result.content)
|
|
221
221
|
return await _impl()
|
|
222
222
|
|
|
223
223
|
async def get_organization_roles(
|
|
@@ -229,29 +229,29 @@ class MaleoIdentityOrganizationClientService(ClientService):
|
|
|
229
229
|
@BaseExceptions.service_exception_handler(
|
|
230
230
|
operation="retrieving organization's roles",
|
|
231
231
|
logger=self._logger,
|
|
232
|
-
fail_result_class=
|
|
232
|
+
fail_result_class=MaleoIdentityOrganizationRoleClientResultsTransfers.Fail
|
|
233
233
|
)
|
|
234
234
|
async def _impl():
|
|
235
235
|
#* Validate chosen controller type
|
|
236
236
|
if not isinstance(controller_type, MaleoIdentityGeneralEnums.ClientControllerType):
|
|
237
237
|
message = "Invalid controller type"
|
|
238
238
|
description = "The provided controller type did not exists"
|
|
239
|
-
return
|
|
239
|
+
return MaleoIdentityOrganizationRoleClientResultsTransfers.Fail(message=message, description=description)
|
|
240
240
|
#* Retrieve organization's roles using chosen controller
|
|
241
241
|
if controller_type == MaleoIdentityGeneralEnums.ClientControllerType.HTTP:
|
|
242
242
|
controller_result = await self._controllers.http.get_organization_roles(parameters=parameters)
|
|
243
243
|
else:
|
|
244
244
|
message = "Invalid controller type"
|
|
245
245
|
description = "The provided controller type has not been implemented"
|
|
246
|
-
return
|
|
246
|
+
return MaleoIdentityOrganizationRoleClientResultsTransfers.Fail(message=message, description=description)
|
|
247
247
|
#* Return proper response
|
|
248
248
|
if not controller_result.success:
|
|
249
|
-
return
|
|
249
|
+
return MaleoIdentityOrganizationRoleClientResultsTransfers.Fail.model_validate(controller_result.content)
|
|
250
250
|
else:
|
|
251
251
|
if controller_result.content["data"] is None:
|
|
252
|
-
return
|
|
252
|
+
return MaleoIdentityOrganizationRoleClientResultsTransfers.NoData.model_validate(controller_result.content)
|
|
253
253
|
else:
|
|
254
|
-
return
|
|
254
|
+
return MaleoIdentityOrganizationRoleClientResultsTransfers.MultipleData.model_validate(controller_result.content)
|
|
255
255
|
return await _impl()
|
|
256
256
|
|
|
257
257
|
async def get_organization_role(
|
|
@@ -263,26 +263,26 @@ class MaleoIdentityOrganizationClientService(ClientService):
|
|
|
263
263
|
@BaseExceptions.service_exception_handler(
|
|
264
264
|
operation="retrieving organization's role",
|
|
265
265
|
logger=self._logger,
|
|
266
|
-
fail_result_class=
|
|
266
|
+
fail_result_class=MaleoIdentityOrganizationRoleClientResultsTransfers.Fail
|
|
267
267
|
)
|
|
268
268
|
async def _impl():
|
|
269
269
|
#* Validate chosen controller type
|
|
270
270
|
if not isinstance(controller_type, MaleoIdentityGeneralEnums.ClientControllerType):
|
|
271
271
|
message = "Invalid controller type"
|
|
272
272
|
description = "The provided controller type did not exists"
|
|
273
|
-
return
|
|
273
|
+
return MaleoIdentityOrganizationRoleClientResultsTransfers.Fail(message=message, description=description)
|
|
274
274
|
#* Retrieve organization's role using chosen controller
|
|
275
275
|
if controller_type == MaleoIdentityGeneralEnums.ClientControllerType.HTTP:
|
|
276
276
|
controller_result = await self._controllers.http.get_organization_role(parameters=parameters)
|
|
277
277
|
else:
|
|
278
278
|
message = "Invalid controller type"
|
|
279
279
|
description = "The provided controller type has not been implemented"
|
|
280
|
-
return
|
|
280
|
+
return MaleoIdentityOrganizationRoleClientResultsTransfers.Fail(message=message, description=description)
|
|
281
281
|
#* Return proper response
|
|
282
282
|
if not controller_result.success:
|
|
283
|
-
return
|
|
283
|
+
return MaleoIdentityOrganizationRoleClientResultsTransfers.Fail.model_validate(controller_result.content)
|
|
284
284
|
else:
|
|
285
|
-
return
|
|
285
|
+
return MaleoIdentityOrganizationRoleClientResultsTransfers.SingleData.model_validate(controller_result.content)
|
|
286
286
|
return await _impl()
|
|
287
287
|
|
|
288
288
|
async def get_organization_user_roles(
|
|
@@ -294,29 +294,29 @@ class MaleoIdentityOrganizationClientService(ClientService):
|
|
|
294
294
|
@BaseExceptions.service_exception_handler(
|
|
295
295
|
operation="retrieving organization's user roles",
|
|
296
296
|
logger=self._logger,
|
|
297
|
-
fail_result_class=
|
|
297
|
+
fail_result_class=MaleoIdentityUserOrganizationRoleClientResultsTransfers.Fail
|
|
298
298
|
)
|
|
299
299
|
async def _impl():
|
|
300
300
|
#* Validate chosen controller type
|
|
301
301
|
if not isinstance(controller_type, MaleoIdentityGeneralEnums.ClientControllerType):
|
|
302
302
|
message = "Invalid controller type"
|
|
303
303
|
description = "The provided controller type did not exists"
|
|
304
|
-
return
|
|
304
|
+
return MaleoIdentityUserOrganizationRoleClientResultsTransfers.Fail(message=message, description=description)
|
|
305
305
|
#* Retrieve organization's user roles using chosen controller
|
|
306
306
|
if controller_type == MaleoIdentityGeneralEnums.ClientControllerType.HTTP:
|
|
307
307
|
controller_result = await self._controllers.http.get_organization_user_roles(parameters=parameters)
|
|
308
308
|
else:
|
|
309
309
|
message = "Invalid controller type"
|
|
310
310
|
description = "The provided controller type has not been implemented"
|
|
311
|
-
return
|
|
311
|
+
return MaleoIdentityUserOrganizationRoleClientResultsTransfers.Fail(message=message, description=description)
|
|
312
312
|
#* Return proper response
|
|
313
313
|
if not controller_result.success:
|
|
314
|
-
return
|
|
314
|
+
return MaleoIdentityUserOrganizationRoleClientResultsTransfers.Fail.model_validate(controller_result.content)
|
|
315
315
|
else:
|
|
316
316
|
if controller_result.content["data"] is None:
|
|
317
|
-
return
|
|
317
|
+
return MaleoIdentityUserOrganizationRoleClientResultsTransfers.NoData.model_validate(controller_result.content)
|
|
318
318
|
else:
|
|
319
|
-
return
|
|
319
|
+
return MaleoIdentityUserOrganizationRoleClientResultsTransfers.MultipleData.model_validate(controller_result.content)
|
|
320
320
|
return await _impl()
|
|
321
321
|
|
|
322
322
|
async def get_organization_user_role(
|
|
@@ -328,24 +328,24 @@ class MaleoIdentityOrganizationClientService(ClientService):
|
|
|
328
328
|
@BaseExceptions.service_exception_handler(
|
|
329
329
|
operation="retrieving organization's user role",
|
|
330
330
|
logger=self._logger,
|
|
331
|
-
fail_result_class=
|
|
331
|
+
fail_result_class=MaleoIdentityUserOrganizationRoleClientResultsTransfers.Fail
|
|
332
332
|
)
|
|
333
333
|
async def _impl():
|
|
334
334
|
#* Validate chosen controller type
|
|
335
335
|
if not isinstance(controller_type, MaleoIdentityGeneralEnums.ClientControllerType):
|
|
336
336
|
message = "Invalid controller type"
|
|
337
337
|
description = "The provided controller type did not exists"
|
|
338
|
-
return
|
|
338
|
+
return MaleoIdentityUserOrganizationRoleClientResultsTransfers.Fail(message=message, description=description)
|
|
339
339
|
#* Retrieve organization's user role using chosen controller
|
|
340
340
|
if controller_type == MaleoIdentityGeneralEnums.ClientControllerType.HTTP:
|
|
341
341
|
controller_result = await self._controllers.http.get_organization_user_role(parameters=parameters)
|
|
342
342
|
else:
|
|
343
343
|
message = "Invalid controller type"
|
|
344
344
|
description = "The provided controller type has not been implemented"
|
|
345
|
-
return
|
|
345
|
+
return MaleoIdentityUserOrganizationRoleClientResultsTransfers.Fail(message=message, description=description)
|
|
346
346
|
#* Return proper response
|
|
347
347
|
if not controller_result.success:
|
|
348
|
-
return
|
|
348
|
+
return MaleoIdentityUserOrganizationRoleClientResultsTransfers.Fail.model_validate(controller_result.content)
|
|
349
349
|
else:
|
|
350
|
-
return
|
|
350
|
+
return MaleoIdentityUserOrganizationRoleClientResultsTransfers.SingleData.model_validate(controller_result.content)
|
|
351
351
|
return await _impl()
|