maleo-identity 0.0.37__py3-none-any.whl → 0.0.38__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/models/responses/user_organization.py +4 -4
- maleo_identity/models/responses/user_system_role.py +4 -4
- maleo_identity/models/schemas/general/user.py +4 -1
- maleo_identity/models/schemas/parameters/user.py +2 -1
- maleo_identity/models/transfers/parameters/general/user_organization.py +5 -9
- maleo_identity/models/transfers/parameters/general/user_system_role.py +4 -4
- maleo_identity/types/results/client/user_organization.py +1 -1
- maleo_identity/types/results/client/user_system_role.py +1 -1
- maleo_identity/types/results/general/user_organization.py +1 -1
- maleo_identity/types/results/general/user_system_role.py +1 -1
- maleo_identity/types/results/repository/user_organization.py +1 -1
- maleo_identity/types/results/repository/user_system_role.py +1 -1
- {maleo_identity-0.0.37.dist-info → maleo_identity-0.0.38.dist-info}/METADATA +3 -3
- {maleo_identity-0.0.37.dist-info → maleo_identity-0.0.38.dist-info}/RECORD +16 -16
- {maleo_identity-0.0.37.dist-info → maleo_identity-0.0.38.dist-info}/WHEEL +1 -1
- {maleo_identity-0.0.37.dist-info → maleo_identity-0.0.38.dist-info}/top_level.txt +0 -0
|
@@ -15,11 +15,11 @@ class MaleoIdentityUserOrganizationResponses:
|
|
|
15
15
|
description:str = "Requested user organizations found in database"
|
|
16
16
|
data:list[UserOrganizationTransfers] = Field(..., description="User organizations")
|
|
17
17
|
|
|
18
|
-
class
|
|
18
|
+
class AssignFailed(BaseResponses.BadRequest):
|
|
19
19
|
code:str = "IDT-UOG-003"
|
|
20
|
-
message:str = "Failed
|
|
20
|
+
message:str = "Failed assigning new user organization"
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class AssignSuccess(BaseResponses.SingleData):
|
|
23
23
|
code:str = "IDT-UOG-004"
|
|
24
|
-
message:str = "Successfully
|
|
24
|
+
message:str = "Successfully assigned new user organization"
|
|
25
25
|
data:UserOrganizationTransfers = Field(..., description="User organization")
|
|
@@ -15,11 +15,11 @@ class MaleoIdentityUserSystemRoleResponses:
|
|
|
15
15
|
description:str = "Requested user system roles found in database"
|
|
16
16
|
data:list[UserSystemRoleTransfers] = Field(..., description="User system roles")
|
|
17
17
|
|
|
18
|
-
class
|
|
18
|
+
class AssignFailed(BaseResponses.BadRequest):
|
|
19
19
|
code:str = "IDT-URL-003"
|
|
20
|
-
message:str = "Failed
|
|
20
|
+
message:str = "Failed assigning new user system role"
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class AssignSuccess(BaseResponses.SingleData):
|
|
23
23
|
code:str = "IDT-URL-004"
|
|
24
|
-
message:str = "Successfully
|
|
24
|
+
message:str = "Successfully assigned new user system role"
|
|
25
25
|
data:UserSystemRoleTransfers = Field(..., description="User system role")
|
|
@@ -29,4 +29,7 @@ class MaleoIdentityUserGeneralSchemas:
|
|
|
29
29
|
phones:BaseTypes.OptionalListOfStrings = Field(None, description="Specific phones")
|
|
30
30
|
|
|
31
31
|
class Password(BaseModel):
|
|
32
|
-
password:str = Field(..., max_length=255, description="User's password")
|
|
32
|
+
password:str = Field(..., max_length=255, description="User's password")
|
|
33
|
+
|
|
34
|
+
class OptionalOrganizationId(BaseModel):
|
|
35
|
+
organization_id:BaseTypes.OptionalInteger = Field(..., ge=1, description="Organization's ID")
|
|
@@ -15,17 +15,13 @@ class MaleoIdentityUserOrganizationGeneralParametersTransfers:
|
|
|
15
15
|
MaleoIdentityUserOrganizationParametersSchemas.Base
|
|
16
16
|
): pass
|
|
17
17
|
|
|
18
|
-
class
|
|
18
|
+
class AssignQuery(
|
|
19
19
|
MaleoIdentityUserOrganizationGeneralSchemas.Expand
|
|
20
20
|
): pass
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class AssignData(MaleoIdentityUserOrganizationParametersSchemas.Base): pass
|
|
23
23
|
|
|
24
|
-
class
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
class Create(
|
|
29
|
-
CreateData,
|
|
30
|
-
CreateQuery
|
|
24
|
+
class Assign(
|
|
25
|
+
AssignData,
|
|
26
|
+
AssignQuery
|
|
31
27
|
): pass
|
|
@@ -16,10 +16,10 @@ class MaleoIdentityUserSystemRoleGeneralParametersTransfers:
|
|
|
16
16
|
MaleoIdentityUserSystemRoleParametersSchemas.Base
|
|
17
17
|
): pass
|
|
18
18
|
|
|
19
|
-
class
|
|
19
|
+
class AssignQuery(MaleoIdentityUserSystemRoleGeneralSchemas.Expand): pass
|
|
20
20
|
|
|
21
|
-
class
|
|
21
|
+
class AssignFromUserBody(MaleoMetadataSystemRoleExpandedSchemas.SimpleSystemRole): pass
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class AssignData(MaleoIdentityUserSystemRoleParametersSchemas.Base): pass
|
|
24
24
|
|
|
25
|
-
class
|
|
25
|
+
class Assign(AssignData, AssignQuery): pass
|
|
@@ -13,7 +13,7 @@ class MaleoIdentityUserOrganizationClientResultsTypes:
|
|
|
13
13
|
MaleoIdentityUserOrganizationClientResultsTransfers.SingleData
|
|
14
14
|
]
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Assign = Union[
|
|
17
17
|
MaleoIdentityUserOrganizationClientResultsTransfers.Fail,
|
|
18
18
|
MaleoIdentityUserOrganizationClientResultsTransfers.SingleData
|
|
19
19
|
]
|
|
@@ -13,7 +13,7 @@ class MaleoIdentityUserSystemRoleClientResultsTypes:
|
|
|
13
13
|
MaleoIdentityUserSystemRoleClientResultsTransfers.SingleData
|
|
14
14
|
]
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Assign = Union[
|
|
17
17
|
MaleoIdentityUserSystemRoleClientResultsTransfers.Fail,
|
|
18
18
|
MaleoIdentityUserSystemRoleClientResultsTransfers.SingleData
|
|
19
19
|
]
|
|
@@ -14,7 +14,7 @@ class MaleoIdentityUserOrganizationGeneralResultsTypes:
|
|
|
14
14
|
MaleoIdentityUserOrganizationGeneralResultsTransfers.SingleData
|
|
15
15
|
]
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Assign = Union[
|
|
18
18
|
MaleoIdentityUserOrganizationGeneralResultsTransfers.Fail,
|
|
19
19
|
MaleoIdentityUserOrganizationGeneralResultsTransfers.SingleData
|
|
20
20
|
]
|
|
@@ -14,7 +14,7 @@ class MaleoIdentityUserSystemRoleGeneralResultsTypes:
|
|
|
14
14
|
MaleoIdentityUserSystemRoleGeneralResultsTransfers.SingleData
|
|
15
15
|
]
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Assign = Union[
|
|
18
18
|
MaleoIdentityUserSystemRoleGeneralResultsTransfers.Fail,
|
|
19
19
|
MaleoIdentityUserSystemRoleGeneralResultsTransfers.SingleData
|
|
20
20
|
]
|
|
@@ -14,7 +14,7 @@ class MaleoIdentityUserOrganizationRepositoryResultsTypes:
|
|
|
14
14
|
MaleoIdentityUserOrganizationRepositoryResultsTransfers.SingleData
|
|
15
15
|
]
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Assign = Union[
|
|
18
18
|
MaleoIdentityUserOrganizationRepositoryResultsTransfers.Fail,
|
|
19
19
|
MaleoIdentityUserOrganizationRepositoryResultsTransfers.SingleData
|
|
20
20
|
]
|
|
@@ -14,7 +14,7 @@ class MaleoIdentityUserSystemRoleRepositoryResultsTypes:
|
|
|
14
14
|
MaleoIdentityUserSystemRoleRepositoryResultsTransfers.SingleData
|
|
15
15
|
]
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Assign = Union[
|
|
18
18
|
MaleoIdentityUserSystemRoleRepositoryResultsTransfers.Fail,
|
|
19
19
|
MaleoIdentityUserSystemRoleRepositoryResultsTransfers.SingleData
|
|
20
20
|
]
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: maleo-identity
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.38
|
|
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.40
|
|
10
|
+
Requires-Dist: maleo_metadata>=0.0.94
|
|
11
11
|
|
|
12
12
|
# README #
|
|
13
13
|
|
|
@@ -31,15 +31,15 @@ maleo_identity/models/responses/__init__.py,sha256=DOZ7d5pYmpWwNWa-zBCsp8E_Loryu
|
|
|
31
31
|
maleo_identity/models/responses/organization.py,sha256=O5_agwn2h2e5TYVVf0lIGHObNKmEO7M0ccrr6D2-sF4,2136
|
|
32
32
|
maleo_identity/models/responses/organization_role.py,sha256=jrYmicik9dytllqDIVg_NKzyxpmOg-zju0GdoQANXZE,1209
|
|
33
33
|
maleo_identity/models/responses/user.py,sha256=ESL5czj9KYzWeww-4fDja20eAWWvBFbiL54lq2MhrP0,2419
|
|
34
|
-
maleo_identity/models/responses/user_organization.py,sha256=
|
|
34
|
+
maleo_identity/models/responses/user_organization.py,sha256=QRJS3UOm3q-crIyPzpkpE8l5eDgw_2v4DNh9GVWV1-0,1211
|
|
35
35
|
maleo_identity/models/responses/user_organization_role.py,sha256=2OU29-8zjsglasEJCHDwQQibjCNKrfuRxsxSmtUs3Hg,1279
|
|
36
36
|
maleo_identity/models/responses/user_profile.py,sha256=vaO38a9DY8nN-cr8jzFgApiukVezYSnqqSooP9JL1Sc,2128
|
|
37
|
-
maleo_identity/models/responses/user_system_role.py,sha256=
|
|
37
|
+
maleo_identity/models/responses/user_system_role.py,sha256=57yGdPgJVsHXaRUrnpvBOV77rJE-EPDtNZ3hadUrlzM,1191
|
|
38
38
|
maleo_identity/models/schemas/__init__.py,sha256=17ZraVaZhf4eK46PvEZ21WxlYMlUqPUwbOcs5brnVGU,348
|
|
39
39
|
maleo_identity/models/schemas/general/__init__.py,sha256=yu6sFumS9z1MfvDJQTuRX0pDNDYXSPo9JOpMeyksKv4,988
|
|
40
40
|
maleo_identity/models/schemas/general/organization.py,sha256=NYhcHeByU2CiEoauae_MVaV965Le-LM2n9nxcMOO5rc,1213
|
|
41
41
|
maleo_identity/models/schemas/general/organization_role.py,sha256=W84j419N8vnAAUEUXQdKigdZYP1m52M4UjJ9RVgthB0,1303
|
|
42
|
-
maleo_identity/models/schemas/general/user.py,sha256=
|
|
42
|
+
maleo_identity/models/schemas/general/user.py,sha256=hWEAOs43AFbQtyh4AAvMyhIjyzQ5o2Op-PIn7q9SY_E,1463
|
|
43
43
|
maleo_identity/models/schemas/general/user_organization.py,sha256=XueJtW2BjfLsUt0RW5K5JNn_wy__M5wl3COpJEud-j0,917
|
|
44
44
|
maleo_identity/models/schemas/general/user_organization_role.py,sha256=lKX0DvbTXlITdwp2SRH12wEH8B-M-gNn403NdY6NHng,1548
|
|
45
45
|
maleo_identity/models/schemas/general/user_profile.py,sha256=N-F_NC6O7AwzSUtwqkQbDf_kDezdV6VCdefIMY-QQPg,1930
|
|
@@ -47,7 +47,7 @@ maleo_identity/models/schemas/general/user_system_role.py,sha256=Ta625LB8Y_Sou7v
|
|
|
47
47
|
maleo_identity/models/schemas/parameters/__init__.py,sha256=EtThSB9TfQAwwNGkhS6S7gYzB2yMMSkIFiOSESA0vZg,1033
|
|
48
48
|
maleo_identity/models/schemas/parameters/organization.py,sha256=jZIe2vAS-PmoZCggKLQ1snYmPSMEC3C0bK-qat8AmgM,556
|
|
49
49
|
maleo_identity/models/schemas/parameters/organization_role.py,sha256=3pXjokaN5vJnrsekI_67WOJR8gb1de_4AkSEANlYqac,318
|
|
50
|
-
maleo_identity/models/schemas/parameters/user.py,sha256=
|
|
50
|
+
maleo_identity/models/schemas/parameters/user.py,sha256=rdZdWaHzzf9IgJknDZeWjF5jvAiBrVE1E0x1fKCfg9g,619
|
|
51
51
|
maleo_identity/models/schemas/parameters/user_organization.py,sha256=K1bM2qjo1wGA64aHCrrvLsaCYQ-chlggKLd7spQwFuw,321
|
|
52
52
|
maleo_identity/models/schemas/parameters/user_organization_role.py,sha256=0PCZ4fsIe2fN5kcRCbSVybtoSmN9aaiGTd8zN8G97Pc,403
|
|
53
53
|
maleo_identity/models/schemas/parameters/user_profile.py,sha256=wPA3Ym9wBYW8iHVzxyB0BZhFVw1wMwEFKBfAHxlIipA,1075
|
|
@@ -90,10 +90,10 @@ maleo_identity/models/transfers/parameters/general/__init__.py,sha256=aELl7jS8n-
|
|
|
90
90
|
maleo_identity/models/transfers/parameters/general/organization.py,sha256=anXvAmis4xoqNCrkl3u90QPDh9Pe06PmpZZ16-31u5s,1171
|
|
91
91
|
maleo_identity/models/transfers/parameters/general/organization_role.py,sha256=c0hShB0UXIUb2YdgaOPt5TmXy1Xsbg1eh4lcoUPjo9k,724
|
|
92
92
|
maleo_identity/models/transfers/parameters/general/user.py,sha256=IIEtjnJo9VwC1mOlSlhSdPhD0yA3n8jYEfoaxO9VYXQ,1264
|
|
93
|
-
maleo_identity/models/transfers/parameters/general/user_organization.py,sha256=
|
|
93
|
+
maleo_identity/models/transfers/parameters/general/user_organization.py,sha256=61vFoqsKVrtc7yfFJ-rn0ewOatRo4r72sfyZh9Eir58,971
|
|
94
94
|
maleo_identity/models/transfers/parameters/general/user_organization_role.py,sha256=U8lVq5Y_W0Pu6heJE8PwxMt5UPy3nSaH_2H85bXqDzo,758
|
|
95
95
|
maleo_identity/models/transfers/parameters/general/user_profile.py,sha256=94q9T12zTgqd6lt77NvvSlXT-zgCv9eZ7IyajwGmzQ8,1272
|
|
96
|
-
maleo_identity/models/transfers/parameters/general/user_system_role.py,sha256=
|
|
96
|
+
maleo_identity/models/transfers/parameters/general/user_system_role.py,sha256=pQq4K8dGMGI52JyGQ1DzrTrZOlRt8ik2zpd7fm38gw0,1112
|
|
97
97
|
maleo_identity/models/transfers/parameters/service/__init__.py,sha256=Qm31XrFfO60_XLAxOB3g2n56MCsYsD15eOekj9HJ_tE,1168
|
|
98
98
|
maleo_identity/models/transfers/parameters/service/organization.py,sha256=KUAcUgHLEqXzpayaQavJEAPlTF50kjayFffrrVYVfq4,1331
|
|
99
99
|
maleo_identity/models/transfers/parameters/service/organization_role.py,sha256=0hrHNm-NGBJgvp3NbshzxN6rnZ9E41ecg0wqfmy5x1o,1186
|
|
@@ -133,27 +133,27 @@ maleo_identity/types/results/client/__init__.py,sha256=32xGwg-HBi1qJW2RxdTMbGuNK
|
|
|
133
133
|
maleo_identity/types/results/client/organization.py,sha256=J8O8ULJkAA42O_HXDrP6zqsneppN5akTKypGag8v8s0,745
|
|
134
134
|
maleo_identity/types/results/client/organization_role.py,sha256=iow_g1WCfQvs-hlLGssYkka81LDWng8CeKTjrSOMI_M,614
|
|
135
135
|
maleo_identity/types/results/client/user.py,sha256=9fkibdvgfwBH7jso5hv5f9f44jPDtpQFEOV4fJt3uds,820
|
|
136
|
-
maleo_identity/types/results/client/user_organization.py,sha256=
|
|
136
|
+
maleo_identity/types/results/client/user_organization.py,sha256=lh07HATLa4WW9KNXHCDuouGxtXlAuJKvv1zzcqnTkT0,778
|
|
137
137
|
maleo_identity/types/results/client/user_organization_role.py,sha256=pZgwP4FChX24AQHTzqQgVXJXc6C5MReSbCcOFQBEs94,647
|
|
138
138
|
maleo_identity/types/results/client/user_profile.py,sha256=trxFtIJDUdvdUGevDNnlJe8xIy39iTyEihfZkb9SLaU,736
|
|
139
|
-
maleo_identity/types/results/client/user_system_role.py,sha256=
|
|
139
|
+
maleo_identity/types/results/client/user_system_role.py,sha256=IYtS2bAQd9_aOOhPw_d_55crCnQ6viZovMYHQ5OdtkE,759
|
|
140
140
|
maleo_identity/types/results/general/__init__.py,sha256=QLXcaBLdAAh9EYyIUIela7zUdwwxmpZ8HK34M1_kNlY,1063
|
|
141
141
|
maleo_identity/types/results/general/organization.py,sha256=_1lIf9ds756m7uMXToxHX0HA-Qha6E3yMmcG1Ei9XC4,820
|
|
142
142
|
maleo_identity/types/results/general/organization_role.py,sha256=fY5JyP2abFkawFdust7QgNxYY24hh8XDMPeNrkP0O8I,691
|
|
143
143
|
maleo_identity/types/results/general/user.py,sha256=2raDahxVdE9rcpwJrj3LmHUWQUwQNVbXR-pOCOI_aCg,889
|
|
144
|
-
maleo_identity/types/results/general/user_organization.py,sha256=
|
|
144
|
+
maleo_identity/types/results/general/user_organization.py,sha256=v42srkpkv0DWaj6wEQzO2oIidd5vla2kCqn4TP05afI,857
|
|
145
145
|
maleo_identity/types/results/general/user_organization_role.py,sha256=Yzpf0-F0Llo8vJwQltcwa7zKIDx7KPCMpep4SdwsPBQ,728
|
|
146
146
|
maleo_identity/types/results/general/user_profile.py,sha256=Vqv6uJcS2VFq_U1TBFla7C2xPo3UxR0dQwrO6bZl3wA,810
|
|
147
|
-
maleo_identity/types/results/general/user_system_role.py,sha256=
|
|
147
|
+
maleo_identity/types/results/general/user_system_role.py,sha256=AXRYFacYHqPW489fUaJJq0MS0vK4tQnzA8WepHE5DwM,836
|
|
148
148
|
maleo_identity/types/results/repository/__init__.py,sha256=O07YHDOFogNx_zm5giNyhqrBTEQRga27yEPJJCsl7uI,1108
|
|
149
149
|
maleo_identity/types/results/repository/organization.py,sha256=uf_9mnsC9U7589dBRzzzFRwev0pS_xl9jgiLSDc_I6w,853
|
|
150
150
|
maleo_identity/types/results/repository/organization_role.py,sha256=mj6lPGGUKibiGv0rYfmK0UMwCxLKB8ggDUL746gccBQ,718
|
|
151
151
|
maleo_identity/types/results/repository/user.py,sha256=00eVZ_qoFRsn8g4P0MHlZGFh313sAukrXNbN3toyhxg,928
|
|
152
|
-
maleo_identity/types/results/repository/user_organization.py,sha256=
|
|
152
|
+
maleo_identity/types/results/repository/user_organization.py,sha256=EFzYD28CCmQtDsNAlI4SXsSfTkJM3NELcOSY6iaQAYY,890
|
|
153
153
|
maleo_identity/types/results/repository/user_organization_role.py,sha256=7SVvBMnrDnv9EFIceQmKJFisgjHqy7uN3ISyZy-QEOY,755
|
|
154
154
|
maleo_identity/types/results/repository/user_profile.py,sha256=oyfExKaH6f5vyRdpNLOHQ9SJ5ILDfh2lQ_9m7QmsP3I,843
|
|
155
|
-
maleo_identity/types/results/repository/user_system_role.py,sha256=
|
|
156
|
-
maleo_identity-0.0.
|
|
157
|
-
maleo_identity-0.0.
|
|
158
|
-
maleo_identity-0.0.
|
|
159
|
-
maleo_identity-0.0.
|
|
155
|
+
maleo_identity/types/results/repository/user_system_role.py,sha256=6Qd9fetNARZVUiHR7BSKEZlRiHqG_XvvtApNv_OdaGE,869
|
|
156
|
+
maleo_identity-0.0.38.dist-info/METADATA,sha256=0NZmOsr0w2PU5oZVM4VDrppwgdQZHd5_LEWU1ygZCTU,868
|
|
157
|
+
maleo_identity-0.0.38.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
|
158
|
+
maleo_identity-0.0.38.dist-info/top_level.txt,sha256=mQENoRr7CBU3vx2PxHXywCHdfBm3AIzVx75IaEsArYE,15
|
|
159
|
+
maleo_identity-0.0.38.dist-info/RECORD,,
|
|
File without changes
|