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

@@ -1,4 +1,4 @@
1
- from maleo.soma.mixins.data import DataIdentifier, DataTimestamp, DataStatus
1
+ from maleo.soma.mixins.general import OrganizationId
2
2
  from maleo.identity.mixins.organization_registration_code import (
3
3
  Code,
4
4
  MaxUses,
@@ -7,6 +7,9 @@ from maleo.identity.mixins.organization_registration_code import (
7
7
 
8
8
 
9
9
  class OrganizationRegistrationCodeDTO(
10
- CurrentUses, MaxUses, Code, DataStatus, DataTimestamp, DataIdentifier
10
+ CurrentUses,
11
+ MaxUses,
12
+ Code,
13
+ OrganizationId,
11
14
  ):
12
15
  pass
@@ -0,0 +1,29 @@
1
+ from maleo.soma.mixins.general import UserId
2
+ from maleo.identity.mixins.user_profile import (
3
+ IdCard,
4
+ LeadingTitle,
5
+ FirstName,
6
+ MiddleName,
7
+ LastName,
8
+ EndingTitle,
9
+ FullName,
10
+ BirthPlace,
11
+ BirthDate,
12
+ AvatarName,
13
+ )
14
+
15
+
16
+ class UserProfileDTO(
17
+ AvatarName,
18
+ BirthDate,
19
+ BirthPlace,
20
+ FullName,
21
+ EndingTitle,
22
+ LastName,
23
+ MiddleName,
24
+ FirstName,
25
+ LeadingTitle,
26
+ IdCard,
27
+ UserId,
28
+ ):
29
+ pass
@@ -79,3 +79,10 @@ class OptionalAvatarContentType(BaseModel):
79
79
  content_type: OptionalString = Field(
80
80
  None, description="Optional avatar's content type"
81
81
  )
82
+
83
+
84
+ class AvatarData(
85
+ OptionalAvatarContentType,
86
+ OptionalAvatar,
87
+ ):
88
+ pass
@@ -1,19 +1,13 @@
1
1
  from pydantic import BaseModel, Field
2
2
  from typing import Optional
3
3
  from maleo.soma.mixins.data import DataIdentifier, DataTimestamp, DataStatus
4
- from maleo.soma.mixins.general import OrganizationId
5
- from maleo.identity.mixins.organization_registration_code import (
6
- Code,
7
- MaxUses,
8
- CurrentUses,
4
+ from maleo.identity.dtos.organization_registration_code import (
5
+ OrganizationRegistrationCodeDTO,
9
6
  )
10
7
 
11
8
 
12
9
  class OrganizationRegistrationCodeDataSchema(
13
- CurrentUses,
14
- MaxUses,
15
- Code,
16
- OrganizationId,
10
+ OrganizationRegistrationCodeDTO,
17
11
  DataStatus,
18
12
  DataTimestamp,
19
13
  DataIdentifier,
@@ -25,23 +25,23 @@ class CreateParameter(
25
25
  pass
26
26
 
27
27
 
28
- class FullUpdateBody(MaxUses):
28
+ class FullDataUpdateBody(MaxUses):
29
29
  pass
30
30
 
31
31
 
32
- class FullUpdateParameter(
33
- FullUpdateBody,
32
+ class FullDataUpdateParameter(
33
+ FullDataUpdateBody,
34
34
  IdentifierTypeValueMixin[IdentifierType, IdentifierValueType],
35
35
  ):
36
36
  pass
37
37
 
38
38
 
39
- class PartialUpdateBody(OptionalMaxUses):
39
+ class PartialDataUpdateBody(OptionalMaxUses):
40
40
  pass
41
41
 
42
42
 
43
- class PartialUpdateParameter(
44
- PartialUpdateBody,
43
+ class PartialDataUpdateParameter(
44
+ PartialDataUpdateBody,
45
45
  IdentifierTypeValueMixin[IdentifierType, IdentifierValueType],
46
46
  ):
47
47
  pass
@@ -1,8 +1,5 @@
1
1
  from maleo.soma.mixins.general import UserId
2
- from maleo.soma.mixins.parameter import (
3
- IdentifierType as IdentifierTypeMixin,
4
- IdentifierValue as IdentifierValueMixin,
5
- )
2
+ from maleo.soma.mixins.parameter import IdentifierTypeValue as IdentifierTypeValueMixin
6
3
  from maleo.soma.schemas.parameter.general import (
7
4
  ReadSingleQueryParameterSchema,
8
5
  ReadSingleParameterSchema,
@@ -20,9 +17,8 @@ from maleo.identity.mixins.user_profile import (
20
17
  EndingTitle,
21
18
  BirthPlace,
22
19
  BirthDate,
23
- OptionalAvatar,
24
- OptionalAvatarContentType,
25
20
  OptionalAvatarName,
21
+ AvatarData,
26
22
  )
27
23
  from maleo.identity.types.base.user_profile import IdentifierValueType
28
24
 
@@ -44,13 +40,6 @@ class CreateOrUpdateQuery(Expand):
44
40
  pass
45
41
 
46
42
 
47
- class AvatarData(
48
- OptionalAvatarContentType,
49
- OptionalAvatar,
50
- ):
51
- pass
52
-
53
-
54
43
  class CreateOrUpdateBody(
55
44
  OptionalAvatarName,
56
45
  OptionalSimpleGenderMixin,
@@ -76,7 +65,6 @@ class UpdateParameter(
76
65
  AvatarData,
77
66
  CreateOrUpdateBody,
78
67
  CreateOrUpdateQuery,
79
- IdentifierValueMixin[IdentifierValueType],
80
- IdentifierTypeMixin[IdentifierType],
68
+ IdentifierTypeValueMixin[IdentifierType, IdentifierValueType],
81
69
  ):
82
70
  pass
@@ -1,5 +0,0 @@
1
- from .results import MaleoIdentityResultsTypes
2
-
3
-
4
- class MaleoIdentityTypes:
5
- Results = MaleoIdentityResultsTypes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo-identity
3
- Version: 0.0.80
3
+ Version: 0.0.82
4
4
  Summary: MaleoIdentity service package
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: MIT
@@ -21,7 +21,8 @@ maleo/identity/constants/user_organization_role.py,sha256=FhWRyJ6whVRPD7-SqfpCqJ
21
21
  maleo/identity/constants/user_profile.py,sha256=HGqRx_PQQQYtGuAJtWQhtOvo1MaClgKFiD9XuH1fwCA,780
22
22
  maleo/identity/constants/user_system_role.py,sha256=ifHNZvvRbLoTc-bzL5_nCvobR0jwHsnSm6-UYq0QDzw,474
23
23
  maleo/identity/dtos/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
- maleo/identity/dtos/organization_registration_code.py,sha256=xaS-vVNQcaAZpjXoSa_RNSz3zLaPbOkD-BhPMvfJ3W4,313
24
+ maleo/identity/dtos/organization_registration_code.py,sha256=nAxB8010MwKOjc3KvTtinFan7L2oiNx_BvEE1PXl_Rk,275
25
+ maleo/identity/dtos/user_profile.py,sha256=Gf7FZVmHPmX48aT9kCWh1Mgt4WQgS2X7a5m45Pn-hEw,450
25
26
  maleo/identity/enums/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
27
  maleo/identity/enums/general.py,sha256=jR831PHPLErbT224_bKDvIHYFND0hF6yvN9cma58Vp8,82
27
28
  maleo/identity/enums/organization.py,sha256=dFA1Ska3SxCTd8qegz9bzMdlPbzsOJm0xadDffcviTk,228
@@ -39,7 +40,7 @@ maleo/identity/mixins/organization_role.py,sha256=NucG_TmWeKtpUoylZ2CzLjUPTHOFIA
39
40
  maleo/identity/mixins/user.py,sha256=WzSztOq6W7sFci_cEd3nCN_UalJfozzhbB4r1TuYcsw,1346
40
41
  maleo/identity/mixins/user_organization.py,sha256=KiWWzCpoajYmN79DmO21a1J_NLhQfgAtIyLsf08JF2c,182
41
42
  maleo/identity/mixins/user_organization_role.py,sha256=WmEHsLZOnyebcflXiIZmPkqK-dTjSXWN3vxWpZtBFZg,187
42
- maleo/identity/mixins/user_profile.py,sha256=bzRx7ix2A_UxrzP_Mb_mlJNhlf1Hz7oY4ZsG4qzdEZk,2152
43
+ maleo/identity/mixins/user_profile.py,sha256=I6gcTwF3AICd3gWdPH-60miuxxlKo-cY-nM4A2uUlno,2235
43
44
  maleo/identity/mixins/user_system_role.py,sha256=KyOefWg1FYshiBE5nmrytFGOJnKXwiCVEoNhzWOaM6k,181
44
45
  maleo/identity/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
45
46
  maleo/identity/models/organization.py,sha256=g4SjhPkP-IQAs29pfACt4lpi8TkMVhilfmEJFSPcuXA,2020
@@ -53,7 +54,7 @@ maleo/identity/models/user_system_role.py,sha256=TtyQRO_OE9kbRDNprPQc-2Vc0tP3cY7
53
54
  maleo/identity/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
55
  maleo/identity/schemas/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
56
  maleo/identity/schemas/data/organization.py,sha256=3cCZ6AX4r7VeW9ybaiFfq6mfpY84dnFreetP77Wv_vE,1053
56
- maleo/identity/schemas/data/organization_registration_code.py,sha256=VZB9MIGWOlnGwISmkMJ0TUlcVQYhJ4hqnHQFrT-Z5aI,902
57
+ maleo/identity/schemas/data/organization_registration_code.py,sha256=oxLEWlnYN5sMKL-buGktzVyLGyFNyAy_bPutEuIBGd4,821
57
58
  maleo/identity/schemas/data/organization_role.py,sha256=LKqLNdZ5dMxF_Wb4x7MozsAZKFQIt2aLatZdcuhex3Q,879
58
59
  maleo/identity/schemas/data/user.py,sha256=jZypPr7IN2ccOd2sqWm0mDBKd5e4djwMTjpVwoG4ED4,908
59
60
  maleo/identity/schemas/data/user_organization.py,sha256=BBgBhGk2ADMuzubyNuEHh-gfo5orU_YnYxEy9F6Qg6s,593
@@ -74,12 +75,12 @@ maleo/identity/schemas/parameter/client/user_profile.py,sha256=ZI6FBHnHNY2kGLg10
74
75
  maleo/identity/schemas/parameter/client/user_system_role.py,sha256=vwXBLB7cUVs9FpPy2hFurfNTrKTPZzvaIYYgy574Yik,1053
75
76
  maleo/identity/schemas/parameter/general/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
76
77
  maleo/identity/schemas/parameter/general/organization.py,sha256=sKsDbwo_hOQO_LSaQqkkalwswGsiOsOEOCDEOi9Hv9s,1118
77
- maleo/identity/schemas/parameter/general/organization_registration_code.py,sha256=aNOSWH-kGIydbeLM-OnCVlyr35r4oLYmGA13KXurAJY,1217
78
+ maleo/identity/schemas/parameter/general/organization_registration_code.py,sha256=GeZRzmmhSjxUuKrJvEew84Ri4UyWZcNTuLzDI7DjwZ4,1241
78
79
  maleo/identity/schemas/parameter/general/organization_role.py,sha256=jxNZsLyI2F0v_dntw6XGKchL06RCCQP2LCdzQvvihG0,468
79
80
  maleo/identity/schemas/parameter/general/user.py,sha256=9r1xLT67q-TGrn_MsNld-VgQkOlDmcEJDT81-3Hb2ZQ,2155
80
81
  maleo/identity/schemas/parameter/general/user_organization.py,sha256=11xtngCkoBa-D3qHhsdfrZM6iWVAH6oPi-gbJDx3xvA,540
81
82
  maleo/identity/schemas/parameter/general/user_organization_role.py,sha256=nrgsblXxt-wQBgy4TUVAwD70b1zUsIboEPQQFKxGxDU,540
82
- maleo/identity/schemas/parameter/general/user_profile.py,sha256=KDidE_-W-7W-tR_dSCBxbDWfhoqs62ZGWHLAYF3HYks,1739
83
+ maleo/identity/schemas/parameter/general/user_profile.py,sha256=okz-0lO3bF8X_lvSIit2Zp5WfZGbACRpzn0SysBYWVA,1556
83
84
  maleo/identity/schemas/parameter/general/user_system_role.py,sha256=bxIXMJhT05yBGWzItU00BYvZDXC0_oS2J4igmT4ePbA,654
84
85
  maleo/identity/schemas/parameter/service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
85
86
  maleo/identity/schemas/parameter/service/organization.py,sha256=VDBYtppFnqGaCB-To04OTESsI576IcOEP_n-S_pPHi4,1388
@@ -89,13 +90,13 @@ maleo/identity/schemas/parameter/service/user.py,sha256=u_ZhVLkF_67GC2x_CpsM9Nl3
89
90
  maleo/identity/schemas/parameter/service/user_organization_role.py,sha256=hlS-6qbdDBLKJVWgXIz3vRgWmm1EoFqkiPijEYoRcao,854
90
91
  maleo/identity/schemas/parameter/service/user_profile.py,sha256=1hLZAkqncLzMJv282rO1vU_5GGH-i9rB6xGyHSnZFvg,841
91
92
  maleo/identity/schemas/parameter/service/user_system_role.py,sha256=aZex0fono0R6lmuwSWAcy5eOp9WXDC0URc6XviguD58,813
92
- maleo/identity/types/__init__.py,sha256=j7VaaIXILg7pxte4lDkLbmGmSAHGcI2MMJ24aSBx-78,115
93
+ maleo/identity/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
93
94
  maleo/identity/types/base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
94
95
  maleo/identity/types/base/organization.py,sha256=wLu9QcVDfiMke3-Smfs-LI3zV5QiMuCKkoa0CCRmh4s,93
95
96
  maleo/identity/types/base/organization_registration_code.py,sha256=V8cct7fTIO-OT7RoYuui__oblyIUzFdQWOwHfhflpUc,87
96
97
  maleo/identity/types/base/user.py,sha256=wLu9QcVDfiMke3-Smfs-LI3zV5QiMuCKkoa0CCRmh4s,93
97
98
  maleo/identity/types/base/user_profile.py,sha256=E81XLbjJ8szrnPRA09VILrr4at4mKWJLeGOfYWLnWPQ,65
98
- maleo_identity-0.0.80.dist-info/METADATA,sha256=6lihTP2IY428z95NqcFc0a8kbCV75rXtgpRg7qn4-8c,862
99
- maleo_identity-0.0.80.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
100
- maleo_identity-0.0.80.dist-info/top_level.txt,sha256=3Tpd1siVsfYoeI9FEOJNYnffx_shzZ3wsPpTvz5bljc,6
101
- maleo_identity-0.0.80.dist-info/RECORD,,
99
+ maleo_identity-0.0.82.dist-info/METADATA,sha256=F_eRQVlNjeVpbFPrhqPKXp7w-qsXEhp-y6auq7dObQs,862
100
+ maleo_identity-0.0.82.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
101
+ maleo_identity-0.0.82.dist-info/top_level.txt,sha256=3Tpd1siVsfYoeI9FEOJNYnffx_shzZ3wsPpTvz5bljc,6
102
+ maleo_identity-0.0.82.dist-info/RECORD,,