maleo-foundation 0.0.51__py3-none-any.whl → 0.0.53__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.
@@ -8,6 +8,12 @@ from maleo_foundation.enums import BaseEnums
8
8
  from maleo_foundation.types import BaseTypes
9
9
 
10
10
  class BaseGeneralSchemas:
11
+ class IdentifierType(BaseModel):
12
+ identifier:BaseEnums.IdentifierTypes = Field(..., description="Data's identifier type")
13
+
14
+ class IdentifierValue(BaseModel):
15
+ value:BaseTypes.IdentifierValue = Field(..., description="Data's identifier value")
16
+
11
17
  class Ids(BaseModel):
12
18
  ids:BaseTypes.OptionalListOfIntegers = Field(None, description="Specific Ids")
13
19
 
@@ -85,6 +91,9 @@ class BaseGeneralSchemas:
85
91
  class Name(BaseModel):
86
92
  name:str = Field(..., description="Data's name")
87
93
 
94
+ class Secret(BaseModel):
95
+ secret:UUID = Field(..., description="Data's secret")
96
+
88
97
  class TokenPayload(BaseModel):
89
98
  t:BaseEnums.TokenType = Field(..., description="Token Type")
90
99
  sr:UUID = Field(..., description="System role")
@@ -7,8 +7,10 @@ from maleo_foundation.types import BaseTypes
7
7
  class BaseGeneralParametersTransfers:
8
8
  class GetSingleQuery(BaseGeneralSchemas.Statuses): pass
9
9
 
10
- class BaseGetSingle(BaseModel):
11
- identifier:BaseEnums.IdentifierTypes = Field(..., description="Identifier")
12
- value:BaseTypes.IdentifierValue = Field(..., description="Value")
10
+ class BaseGetSingle(
11
+ BaseGeneralSchemas.IdentifierValue,
12
+ BaseGeneralSchemas.IdentifierType
13
+ ):
14
+ pass
13
15
 
14
16
  class GetSingle(BaseGeneralSchemas.Statuses, BaseGetSingle): pass
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo_foundation
3
- Version: 0.0.51
3
+ Version: 0.0.53
4
4
  Summary: Foundation package for Maleo
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: MIT
@@ -27,13 +27,13 @@ maleo_foundation/middlewares/cors.py,sha256=9uvBvY2N6Vxa9RP_YtESxcWo6Doi6uS0lzAG
27
27
  maleo_foundation/models/__init__.py,sha256=AaKehO7c1HyKhoTGRmNHDddSeBXkW-_YNrpOGBu8Ms8,246
28
28
  maleo_foundation/models/responses.py,sha256=ePz7yNEYVCNxxrQlj_dnWXspv1HAnBAHCQfyaaqTHdo,4541
29
29
  maleo_foundation/models/schemas/__init__.py,sha256=Xj8Ahsqyra-fmEaVcGPok5GOOsPQlKcknHYMvbjvENA,277
30
- maleo_foundation/models/schemas/general.py,sha256=aZKlYvzk2vvfkAXCfZzLkNm0hULW1f80RmwqYJ9mLN4,6656
30
+ maleo_foundation/models/schemas/general.py,sha256=zzPzUIssy0iV0vR5IKilKYiMoFxsAkSOm6885326oLw,7013
31
31
  maleo_foundation/models/schemas/parameter.py,sha256=K47z2NzmTEhUiOfRiRLyRPXoQurbWsKBL7ObXAxIWRY,2100
32
32
  maleo_foundation/models/schemas/result.py,sha256=V3dljS2AdtWW4Pf8YsnQuiCylN1bZtEY1AtYC7okWuI,1747
33
33
  maleo_foundation/models/transfers/__init__.py,sha256=B8oCZHE3NTsrJ_rviSXaDsuc-gc25jpjuhJO40lpQiE,222
34
34
  maleo_foundation/models/transfers/parameters/__init__.py,sha256=oKW4RPIEISISRjsJzD8lsCGY1HhZRTzshPpWHcJu86k,353
35
35
  maleo_foundation/models/transfers/parameters/client.py,sha256=tn_Hwa-k-Utp5rODe7GylqZB8djIKKupgkUFscYCyLc,4059
36
- maleo_foundation/models/transfers/parameters/general.py,sha256=cHbJ8sKOrwnQpjT4GLRE--WopfTjQH0KawPVQgvGHzA,598
36
+ maleo_foundation/models/transfers/parameters/general.py,sha256=9mT0ROXLNbUfkNHwZn8g5I5StVybN47MNxOGkFe22ig,535
37
37
  maleo_foundation/models/transfers/parameters/service.py,sha256=d7Xy_R-DtLBRozyD6r8YnTiuKlE3sb9HMDCCq9WmUbY,6757
38
38
  maleo_foundation/models/transfers/results/__init__.py,sha256=0_8uJ1IQW87RZ4nIxzWkQVi3Fxb7B8myZTngXfoxgNc,241
39
39
  maleo_foundation/models/transfers/results/client/__init__.py,sha256=xBRuY0NUIPpQEGQ2qoBnqLZGX4W1YSrQ0VnDf5OYJBo,290
@@ -52,7 +52,7 @@ maleo_foundation/utils/logger.py,sha256=978P57JOhGR-WIu7xdPXBIwd3JrfLLA8WerVzxhE
52
52
  maleo_foundation/utils/query.py,sha256=qKNcjf5J7_Q7NjA79BO6_TpZVdYcF8YIO68F9M501ew,4398
53
53
  maleo_foundation/utils/formatter/__init__.py,sha256=iKf5YCbEdg1qKnFHyKqqcQbqAqEeRUf8mhI3v3dQoj8,78
54
54
  maleo_foundation/utils/formatter/case.py,sha256=TmvvlfzGdC_omMTB5vAa40TZBxQ3hnr-SYeo0M52Rlg,1352
55
- maleo_foundation-0.0.51.dist-info/METADATA,sha256=6vxQY_KG3-CyfA_SQx_xCtuDvG0yXVOZISSgs95ZY-o,3160
56
- maleo_foundation-0.0.51.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
57
- maleo_foundation-0.0.51.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
58
- maleo_foundation-0.0.51.dist-info/RECORD,,
55
+ maleo_foundation-0.0.53.dist-info/METADATA,sha256=TWRs1GrBVUtpJ_L_JFNVEoB_5iU3XTpK1hbxSI245mM,3160
56
+ maleo_foundation-0.0.53.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
57
+ maleo_foundation-0.0.53.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
58
+ maleo_foundation-0.0.53.dist-info/RECORD,,