maleo-identity 0.0.91__py3-none-any.whl → 0.0.93__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.

Files changed (109) hide show
  1. maleo/identity/constants/organization.py +15 -8
  2. maleo/identity/constants/organization_registration_code.py +10 -7
  3. maleo/identity/constants/user.py +11 -13
  4. maleo/identity/constants/user_profile.py +9 -12
  5. maleo/identity/enums/organization.py +4 -4
  6. maleo/identity/enums/organization_registration_code.py +5 -0
  7. maleo/identity/enums/user.py +4 -8
  8. maleo/identity/enums/user_profile.py +4 -10
  9. maleo/identity/mixins/organization.py +10 -8
  10. maleo/identity/mixins/organization_registration_code.py +8 -11
  11. maleo/identity/mixins/user.py +17 -31
  12. maleo/identity/mixins/user_profile.py +37 -67
  13. maleo/identity/models.py +317 -0
  14. maleo/identity/schemas/common.py +257 -0
  15. maleo/identity/schemas/organization.py +162 -0
  16. maleo/identity/schemas/organization_registration_code.py +162 -0
  17. maleo/identity/schemas/user.py +181 -0
  18. maleo/identity/schemas/user_profile.py +212 -0
  19. maleo/identity/types/{base/organization_registration_code.py → user_profile.py} +2 -1
  20. maleo_identity-0.0.93.dist-info/METADATA +118 -0
  21. maleo_identity-0.0.93.dist-info/RECORD +33 -0
  22. maleo_identity-0.0.93.dist-info/licenses/LICENSE +57 -0
  23. maleo/identity/client/__init__.py +0 -0
  24. maleo/identity/client/manager.py +0 -157
  25. maleo/identity/client/services/__init__.py +0 -0
  26. maleo/identity/client/services/organization.py +0 -1944
  27. maleo/identity/client/services/organization_registration_code.py +0 -470
  28. maleo/identity/client/services/organization_role.py +0 -276
  29. maleo/identity/client/services/user.py +0 -1559
  30. maleo/identity/client/services/user_organization.py +0 -276
  31. maleo/identity/client/services/user_organization_role.py +0 -278
  32. maleo/identity/client/services/user_profile.py +0 -276
  33. maleo/identity/client/services/user_system_role.py +0 -276
  34. maleo/identity/constants/organization_role.py +0 -35
  35. maleo/identity/constants/user_organization.py +0 -58
  36. maleo/identity/constants/user_organization_role.py +0 -47
  37. maleo/identity/constants/user_system_role.py +0 -16
  38. maleo/identity/db.py +0 -4
  39. maleo/identity/dtos/__init__.py +0 -0
  40. maleo/identity/dtos/configuration.py +0 -15
  41. maleo/identity/dtos/data/__init__.py +0 -0
  42. maleo/identity/dtos/data/organization_registration_code.py +0 -15
  43. maleo/identity/dtos/data/user_profile.py +0 -33
  44. maleo/identity/dtos/data/user_system_role.py +0 -9
  45. maleo/identity/dtos/settings.py +0 -17
  46. maleo/identity/enums/general.py +0 -5
  47. maleo/identity/enums/organization_role.py +0 -7
  48. maleo/identity/enums/user_organization.py +0 -14
  49. maleo/identity/enums/user_organization_role.py +0 -15
  50. maleo/identity/enums/user_system_role.py +0 -5
  51. maleo/identity/mixins/organization_role.py +0 -15
  52. maleo/identity/mixins/user_organization.py +0 -6
  53. maleo/identity/mixins/user_organization_role.py +0 -6
  54. maleo/identity/mixins/user_system_role.py +0 -6
  55. maleo/identity/models/__init__.py +0 -0
  56. maleo/identity/models/organization.py +0 -62
  57. maleo/identity/models/organization_registration_code.py +0 -33
  58. maleo/identity/models/organization_role.py +0 -37
  59. maleo/identity/models/user.py +0 -39
  60. maleo/identity/models/user_organization.py +0 -48
  61. maleo/identity/models/user_organization_role.py +0 -61
  62. maleo/identity/models/user_profile.py +0 -33
  63. maleo/identity/models/user_system_role.py +0 -26
  64. maleo/identity/schemas/data/__init__.py +0 -0
  65. maleo/identity/schemas/data/organization.py +0 -36
  66. maleo/identity/schemas/data/organization_registration_code.py +0 -27
  67. maleo/identity/schemas/data/organization_role.py +0 -32
  68. maleo/identity/schemas/data/user.py +0 -33
  69. maleo/identity/schemas/data/user_organization.py +0 -23
  70. maleo/identity/schemas/data/user_organization_role.py +0 -13
  71. maleo/identity/schemas/data/user_profile.py +0 -59
  72. maleo/identity/schemas/data/user_system_role.py +0 -25
  73. maleo/identity/schemas/metadata/__init__.py +0 -0
  74. maleo/identity/schemas/metadata/user.py +0 -6
  75. maleo/identity/schemas/parameter/__init__.py +0 -0
  76. maleo/identity/schemas/parameter/client/__init__.py +0 -0
  77. maleo/identity/schemas/parameter/client/organization.py +0 -74
  78. maleo/identity/schemas/parameter/client/organization_registration_code.py +0 -24
  79. maleo/identity/schemas/parameter/client/organization_role.py +0 -42
  80. maleo/identity/schemas/parameter/client/user.py +0 -44
  81. maleo/identity/schemas/parameter/client/user_organization.py +0 -62
  82. maleo/identity/schemas/parameter/client/user_organization_role.py +0 -49
  83. maleo/identity/schemas/parameter/client/user_profile.py +0 -28
  84. maleo/identity/schemas/parameter/client/user_system_role.py +0 -43
  85. maleo/identity/schemas/parameter/general/__init__.py +0 -0
  86. maleo/identity/schemas/parameter/general/organization.py +0 -92
  87. maleo/identity/schemas/parameter/general/organization_registration_code.py +0 -86
  88. maleo/identity/schemas/parameter/general/organization_role.py +0 -14
  89. maleo/identity/schemas/parameter/general/user.py +0 -150
  90. maleo/identity/schemas/parameter/general/user_organization.py +0 -18
  91. maleo/identity/schemas/parameter/general/user_organization_role.py +0 -15
  92. maleo/identity/schemas/parameter/general/user_profile.py +0 -119
  93. maleo/identity/schemas/parameter/general/user_system_role.py +0 -30
  94. maleo/identity/schemas/parameter/service/__init__.py +0 -0
  95. maleo/identity/schemas/parameter/service/organization.py +0 -60
  96. maleo/identity/schemas/parameter/service/organization_registration_code.py +0 -24
  97. maleo/identity/schemas/parameter/service/organization_role.py +0 -35
  98. maleo/identity/schemas/parameter/service/user.py +0 -47
  99. maleo/identity/schemas/parameter/service/user_organization_role.py +0 -36
  100. maleo/identity/schemas/parameter/service/user_profile.py +0 -28
  101. maleo/identity/schemas/parameter/service/user_system_role.py +0 -31
  102. maleo/identity/types/base/__init__.py +0 -0
  103. maleo_identity-0.0.91.dist-info/METADATA +0 -39
  104. maleo_identity-0.0.91.dist-info/RECORD +0 -106
  105. /maleo/identity/types/{base/organization.py → organization.py} +0 -0
  106. /maleo/identity/types/{base/user.py → organization_registration_code.py} +0 -0
  107. /maleo/identity/types/{base/user_profile.py → user.py} +0 -0
  108. {maleo_identity-0.0.91.dist-info → maleo_identity-0.0.93.dist-info}/WHEEL +0 -0
  109. {maleo_identity-0.0.91.dist-info → maleo_identity-0.0.93.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,5 @@
1
1
  from typing import Union
2
2
  from uuid import UUID
3
3
 
4
- IdentifierValueType = Union[int, UUID]
4
+
5
+ IdentifierValueType = Union[int, UUID, str]
@@ -0,0 +1,118 @@
1
+ Metadata-Version: 2.4
2
+ Name: maleo-identity
3
+ Version: 0.0.93
4
+ Summary: MaleoIdentity service package
5
+ Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
+ License: Proprietary
7
+ Requires-Python: >=3.12
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Requires-Dist: annotated-types>=0.7.0
11
+ Requires-Dist: anyio>=4.11.0
12
+ Requires-Dist: bcrypt>=5.0.0
13
+ Requires-Dist: black>=25.9.0
14
+ Requires-Dist: cachetools>=6.2.0
15
+ Requires-Dist: certifi>=2025.10.5
16
+ Requires-Dist: cffi>=2.0.0
17
+ Requires-Dist: cfgv>=3.4.0
18
+ Requires-Dist: charset-normalizer>=3.4.3
19
+ Requires-Dist: click>=8.3.0
20
+ Requires-Dist: colorama>=0.4.6
21
+ Requires-Dist: cryptography>=46.0.2
22
+ Requires-Dist: distlib>=0.4.0
23
+ Requires-Dist: fastapi>=0.118.3
24
+ Requires-Dist: filelock>=3.20.0
25
+ Requires-Dist: google-api-core>=2.26.0
26
+ Requires-Dist: google-auth>=2.41.1
27
+ Requires-Dist: google-cloud-appengine-logging>=1.6.2
28
+ Requires-Dist: google-cloud-audit-log>=0.3.3
29
+ Requires-Dist: google-cloud-core>=2.4.3
30
+ Requires-Dist: google-cloud-logging>=3.12.1
31
+ Requires-Dist: google-cloud-pubsub>=2.31.1
32
+ Requires-Dist: googleapis-common-protos>=1.70.0
33
+ Requires-Dist: greenlet>=3.2.4
34
+ Requires-Dist: grpc-google-iam-v1>=0.14.2
35
+ Requires-Dist: grpcio>=1.75.1
36
+ Requires-Dist: grpcio-status>=1.75.1
37
+ Requires-Dist: h11>=0.16.0
38
+ Requires-Dist: httpcore>=1.0.9
39
+ Requires-Dist: httpx>=0.28.1
40
+ Requires-Dist: identify>=2.6.15
41
+ Requires-Dist: idna>=3.10
42
+ Requires-Dist: importlib_metadata>=8.7.0
43
+ Requires-Dist: iniconfig>=2.1.0
44
+ Requires-Dist: maleo-crypto>=0.0.40
45
+ Requires-Dist: maleo-enums>=0.0.40
46
+ Requires-Dist: maleo-logging>=0.0.40
47
+ Requires-Dist: maleo-schemas>=0.1.50
48
+ Requires-Dist: maleo-types>=0.0.20
49
+ Requires-Dist: maleo-utils>=0.0.40
50
+ Requires-Dist: mypy_extensions>=1.1.0
51
+ Requires-Dist: nodeenv>=1.9.1
52
+ Requires-Dist: opentelemetry-api>=1.37.0
53
+ Requires-Dist: opentelemetry-sdk>=1.37.0
54
+ Requires-Dist: opentelemetry-semantic-conventions>=0.58b0
55
+ Requires-Dist: packaging>=25.0
56
+ Requires-Dist: pathspec>=0.12.1
57
+ Requires-Dist: platformdirs>=4.5.0
58
+ Requires-Dist: pluggy>=1.6.0
59
+ Requires-Dist: pre_commit>=4.3.0
60
+ Requires-Dist: proto-plus>=1.26.1
61
+ Requires-Dist: protobuf>=6.32.1
62
+ Requires-Dist: pyasn1>=0.6.1
63
+ Requires-Dist: pyasn1_modules>=0.4.2
64
+ Requires-Dist: pycparser>=2.23
65
+ Requires-Dist: pycryptodome>=3.23.0
66
+ Requires-Dist: pydantic>=2.12.2
67
+ Requires-Dist: pydantic-settings>=2.11.0
68
+ Requires-Dist: pydantic_core>=2.41.4
69
+ Requires-Dist: Pygments>=2.19.2
70
+ Requires-Dist: PyJWT>=2.10.1
71
+ Requires-Dist: pytest>=8.4.2
72
+ Requires-Dist: python-dotenv>=1.1.1
73
+ Requires-Dist: pytokens>=0.1.10
74
+ Requires-Dist: PyYAML>=6.0.3
75
+ Requires-Dist: requests>=2.32.5
76
+ Requires-Dist: rsa>=4.9.1
77
+ Requires-Dist: sniffio>=1.3.1
78
+ Requires-Dist: SQLAlchemy>=2.0.44
79
+ Requires-Dist: starlette>=0.48.0
80
+ Requires-Dist: typing-inspection>=0.4.2
81
+ Requires-Dist: typing_extensions>=4.15.0
82
+ Requires-Dist: ua-parser>=1.0.1
83
+ Requires-Dist: ua-parser-builtins>=0.18.0.post1
84
+ Requires-Dist: urllib3>=2.5.0
85
+ Requires-Dist: user-agents>=2.2.0
86
+ Requires-Dist: virtualenv>=20.35.3
87
+ Requires-Dist: zipp>=3.23.0
88
+ Dynamic: license-file
89
+
90
+ # README #
91
+
92
+ This README would normally document whatever steps are necessary to get your application up and running.
93
+
94
+ ### What is this repository for? ###
95
+
96
+ * Quick summary
97
+ * Version
98
+ * [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)
99
+
100
+ ### How do I get set up? ###
101
+
102
+ * Summary of set up
103
+ * Configuration
104
+ * Dependencies
105
+ * Database configuration
106
+ * How to run tests
107
+ * Deployment instructions
108
+
109
+ ### Contribution guidelines ###
110
+
111
+ * Writing tests
112
+ * Code review
113
+ * Other guidelines
114
+
115
+ ### Who do I talk to? ###
116
+
117
+ * Repo owner or admin
118
+ * Other community or team contact
@@ -0,0 +1,33 @@
1
+ maleo/identity/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ maleo/identity/models.py,sha256=9XTpaozr0l9s6fKh0obwV3dpKKThFT30V9tDxH8Kdc8,9980
3
+ maleo/identity/constants/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ maleo/identity/constants/organization.py,sha256=9GXKRvYRFMIWX56VhpHw_AAuQmelwQwZT4_3hPusw7U,607
5
+ maleo/identity/constants/organization_registration_code.py,sha256=dseUWnG3-rQv-e4d4wWpMmAHEgDLznfV1VXGMQFXM7Y,783
6
+ maleo/identity/constants/user.py,sha256=1gUDHHaxY0i4N6Nw_JAPP6iRz1oU3-gJuCsalGP6hoM,559
7
+ maleo/identity/constants/user_profile.py,sha256=5O8VuqJfC8ZYtXpYaLm1eFYLjpUrOOgdpTvQ8E5l5zQ,644
8
+ maleo/identity/enums/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
+ maleo/identity/enums/organization.py,sha256=asSxFs-TwJQtOZ2Xn_IEYJ8bLYAF7hnsmv-J1WgT9bY,240
10
+ maleo/identity/enums/organization_registration_code.py,sha256=ZkteIpOW6MOLEHBbmDUaRGalTlTWUIRlimz-FohBWiM,282
11
+ maleo/identity/enums/user.py,sha256=fbW-F_5RqpbaFOGBf-fgX5aCHDf8Nyt-diBAzJBaEIM,270
12
+ maleo/identity/enums/user_profile.py,sha256=LgX7Ct-MAfx7o0W8MICzpHMfDhi7wpiJfRszn6vr1zc,272
13
+ maleo/identity/mixins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
+ maleo/identity/mixins/organization.py,sha256=KMl7Zz_SXu6SvF_1fTibN2vORFGWH7P22cxS_T4KXmE,574
15
+ maleo/identity/mixins/organization_registration_code.py,sha256=G-kgdf2IzKENEyZcV6IXT69eAemnqR1vph3hhG3l1y4,508
16
+ maleo/identity/mixins/user.py,sha256=Ch1j3swz6LuOsz9TSFGO2g6b1tJUPjFj_er8YUsBZFM,1053
17
+ maleo/identity/mixins/user_profile.py,sha256=WhAEoeaqe1zmLr_s5n8Du4DXDlKFae-biXjOWHTg5I4,1667
18
+ maleo/identity/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
+ maleo/identity/schemas/common.py,sha256=-QR1UjSk7onu9CHG0KKweB9Tw2_ZuAUeMtOTE-CaBPs,6590
20
+ maleo/identity/schemas/organization.py,sha256=jsic_Vh4i3OjUYFWGEhy9GkEYxJ7jlfrWCKiW7qfUFs,4544
21
+ maleo/identity/schemas/organization_registration_code.py,sha256=iN11JSSk22Ad7OjILdRaEIV_e63K1seil-Ol9VjldTk,4444
22
+ maleo/identity/schemas/user.py,sha256=9ay-q8wVt67esgMd07Y2HAQhg14yOHuoaDiOmhJ_rGM,4935
23
+ maleo/identity/schemas/user_profile.py,sha256=FqZPvH-8RzpKz5mWxvD_R5lVDFJFhqYIA2ltz-MyNug,5377
24
+ maleo/identity/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
+ maleo/identity/types/organization.py,sha256=wLu9QcVDfiMke3-Smfs-LI3zV5QiMuCKkoa0CCRmh4s,93
26
+ maleo/identity/types/organization_registration_code.py,sha256=wLu9QcVDfiMke3-Smfs-LI3zV5QiMuCKkoa0CCRmh4s,93
27
+ maleo/identity/types/user.py,sha256=wLu9QcVDfiMke3-Smfs-LI3zV5QiMuCKkoa0CCRmh4s,93
28
+ maleo/identity/types/user_profile.py,sha256=wLu9QcVDfiMke3-Smfs-LI3zV5QiMuCKkoa0CCRmh4s,93
29
+ maleo_identity-0.0.93.dist-info/licenses/LICENSE,sha256=aftGsecnk7TWVX-7KW94FqK4Syy6YSZ8PZEF7EcIp3M,2621
30
+ maleo_identity-0.0.93.dist-info/METADATA,sha256=RiAkVhWEyfxfQ-MuN5FVTBNLXF8FwMf7EIXuPtjzek4,3546
31
+ maleo_identity-0.0.93.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
32
+ maleo_identity-0.0.93.dist-info/top_level.txt,sha256=3Tpd1siVsfYoeI9FEOJNYnffx_shzZ3wsPpTvz5bljc,6
33
+ maleo_identity-0.0.93.dist-info/RECORD,,
@@ -0,0 +1,57 @@
1
+ # Proprietary Software License
2
+
3
+ **Copyright (c) 2025 Agra Bima Yuda / Nexmedis**
4
+
5
+ ## License Grant
6
+
7
+ This software and associated documentation files (the "Software") are proprietary and confidential to Agra Bima Yuda and/or Nexmedis ("Licensor"). All rights reserved.
8
+
9
+ ## Restrictions
10
+
11
+ **NO PERMISSION** is granted to any person to:
12
+
13
+ 1. **Use** the Software for any purpose without explicit written permission from the Licensor
14
+ 2. **Copy, modify, merge, publish, distribute, sublicense, or sell** copies of the Software
15
+ 3. **Reverse engineer, decompile, or disassemble** the Software
16
+ 4. **Create derivative works** based upon the Software
17
+ 5. **Remove or alter** any proprietary notices, labels, or marks on the Software
18
+
19
+ ## Permitted Use
20
+
21
+ Use of this Software is permitted only under the following conditions:
22
+
23
+ 1. **Authorized Users**: Only individuals or entities explicitly authorized by the Licensor in writing
24
+ 2. **Internal Use Only**: The Software may only be used for internal business purposes of the authorized entity
25
+ 3. **No Redistribution**: The Software may not be shared, distributed, or made available to any third party
26
+
27
+ ## Ownership
28
+
29
+ The Software is and remains the exclusive property of the Licensor. This license does not grant any ownership rights in the Software.
30
+
31
+ ## Confidentiality
32
+
33
+ The Software contains proprietary and confidential information. Recipients agree to:
34
+
35
+ 1. Maintain the confidentiality of the Software
36
+ 2. Use the same degree of care to protect the Software as they use for their own confidential information, but no less than reasonable care
37
+ 3. Not disclose the Software to any third party without prior written consent
38
+
39
+ ## Termination
40
+
41
+ This license is effective until terminated. The Licensor may terminate this license at any time without notice. Upon termination, all rights granted herein cease immediately, and the recipient must destroy all copies of the Software.
42
+
43
+ ## Disclaimer of Warranty
44
+
45
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
46
+
47
+ ## Limitation of Liability
48
+
49
+ IN NO EVENT SHALL THE LICENSOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
50
+
51
+ ## Governing Law
52
+
53
+ This license shall be governed by and construed in accordance with the laws of Indonesia, without regard to its conflict of law provisions.
54
+
55
+ ---
56
+
57
+ For licensing inquiries, contact: agra@nexmedis.com
File without changes
@@ -1,157 +0,0 @@
1
- # from Crypto.PublicKey.RSA import RsaKey
2
- # from redis.asyncio.client import Redis
3
- # from typing import Optional
4
- # from maleo.soma.dtos.configurations.cache.redis import RedisCacheNamespaces
5
- # from maleo.soma.dtos.configurations.client.maleo import MaleoClientConfigurationDTO
6
- # from maleo.soma.managers.client.maleo import MaleoClientManager
7
- # from maleo.soma.managers.credential import CredentialManager
8
- # from maleo.soma.schemas.service import ServiceContext
9
- # from maleo.soma.utils.logging import SimpleConfig
10
- # from maleo.identity.client.services.organization_registration_code import (
11
- # OrganizationRegistrationCodeClientService,
12
- # )
13
- # from maleo.identity.client.services.organization_role import (
14
- # OrganizationRoleClientService,
15
- # )
16
- # from maleo.identity.client.services.organization import OrganizationClientService
17
- # from maleo.identity.client.services.user_organization_role import (
18
- # UserOrganizationRoleClientService,
19
- # )
20
- # from maleo.identity.client.services.user_organization import (
21
- # UserOrganizationClientService,
22
- # )
23
- # from maleo.identity.client.services.user_profile import UserProfileClientService
24
- # from maleo.identity.client.services.user_system_role import UserSystemRoleClientService
25
- # from maleo.identity.client.services.user import UserClientService
26
-
27
-
28
- # class ClientManager(MaleoClientManager):
29
- # def __init__(
30
- # self,
31
- # configurations: MaleoClientConfigurationDTO,
32
- # log_config: SimpleConfig,
33
- # credential_manager: CredentialManager,
34
- # private_key: RsaKey,
35
- # redis: Redis,
36
- # redis_namespaces: RedisCacheNamespaces,
37
- # service_context: Optional[ServiceContext] = None,
38
- # ):
39
- # assert configurations.key == "maleo-identity"
40
- # assert configurations.name == "MaleoIdentity"
41
- # super().__init__(
42
- # configurations,
43
- # log_config,
44
- # credential_manager,
45
- # private_key,
46
- # redis,
47
- # redis_namespaces,
48
- # service_context,
49
- # )
50
- # self._initialize_services()
51
- # self._logger.info("Client manager initialized successfully")
52
-
53
- # def _initialize_services(self):
54
- # self.organization_registration_code = OrganizationRegistrationCodeClientService(
55
- # environment=self._environment,
56
- # key=self._key,
57
- # url=self._url,
58
- # operation_origin=self._operation_origin,
59
- # logger=self._logger,
60
- # credential_manager=self._credential_manager,
61
- # http_client_manager=self._http_client_manager,
62
- # private_key=self._private_key,
63
- # redis=self._redis,
64
- # redis_namespaces=self._redis_namespaces,
65
- # service_context=self._service_context,
66
- # )
67
- # self.organization_role = OrganizationRoleClientService(
68
- # environment=self._environment,
69
- # key=self._key,
70
- # url=self._url,
71
- # operation_origin=self._operation_origin,
72
- # logger=self._logger,
73
- # credential_manager=self._credential_manager,
74
- # http_client_manager=self._http_client_manager,
75
- # private_key=self._private_key,
76
- # redis=self._redis,
77
- # redis_namespaces=self._redis_namespaces,
78
- # service_context=self._service_context,
79
- # )
80
- # self.organization = OrganizationClientService(
81
- # environment=self._environment,
82
- # key=self._key,
83
- # url=self._url,
84
- # operation_origin=self._operation_origin,
85
- # logger=self._logger,
86
- # credential_manager=self._credential_manager,
87
- # http_client_manager=self._http_client_manager,
88
- # private_key=self._private_key,
89
- # redis=self._redis,
90
- # redis_namespaces=self._redis_namespaces,
91
- # service_context=self._service_context,
92
- # )
93
- # self.user_organization_role = UserOrganizationRoleClientService(
94
- # environment=self._environment,
95
- # key=self._key,
96
- # url=self._url,
97
- # operation_origin=self._operation_origin,
98
- # logger=self._logger,
99
- # credential_manager=self._credential_manager,
100
- # http_client_manager=self._http_client_manager,
101
- # private_key=self._private_key,
102
- # redis=self._redis,
103
- # redis_namespaces=self._redis_namespaces,
104
- # service_context=self._service_context,
105
- # )
106
- # self.user_organization = UserOrganizationClientService(
107
- # environment=self._environment,
108
- # key=self._key,
109
- # url=self._url,
110
- # operation_origin=self._operation_origin,
111
- # logger=self._logger,
112
- # credential_manager=self._credential_manager,
113
- # http_client_manager=self._http_client_manager,
114
- # private_key=self._private_key,
115
- # redis=self._redis,
116
- # redis_namespaces=self._redis_namespaces,
117
- # service_context=self._service_context,
118
- # )
119
- # self.user_profile = UserProfileClientService(
120
- # environment=self._environment,
121
- # key=self._key,
122
- # url=self._url,
123
- # operation_origin=self._operation_origin,
124
- # logger=self._logger,
125
- # credential_manager=self._credential_manager,
126
- # http_client_manager=self._http_client_manager,
127
- # private_key=self._private_key,
128
- # redis=self._redis,
129
- # redis_namespaces=self._redis_namespaces,
130
- # service_context=self._service_context,
131
- # )
132
- # self.user_system_role = UserSystemRoleClientService(
133
- # environment=self._environment,
134
- # key=self._key,
135
- # url=self._url,
136
- # operation_origin=self._operation_origin,
137
- # logger=self._logger,
138
- # credential_manager=self._credential_manager,
139
- # http_client_manager=self._http_client_manager,
140
- # private_key=self._private_key,
141
- # redis=self._redis,
142
- # redis_namespaces=self._redis_namespaces,
143
- # service_context=self._service_context,
144
- # )
145
- # self.user = UserClientService(
146
- # environment=self._environment,
147
- # key=self._key,
148
- # url=self._url,
149
- # operation_origin=self._operation_origin,
150
- # logger=self._logger,
151
- # credential_manager=self._credential_manager,
152
- # http_client_manager=self._http_client_manager,
153
- # private_key=self._private_key,
154
- # redis=self._redis,
155
- # redis_namespaces=self._redis_namespaces,
156
- # service_context=self._service_context,
157
- # )
File without changes