maleo-foundation 0.2.72__py3-none-any.whl → 0.2.75__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.
@@ -19,6 +19,16 @@ class BaseResponses:
19
19
  message:str = "Invalid expand"
20
20
  description:str = "Invalid expand field(s) configuration are given. Check 'other' for more information."
21
21
 
22
+ class InvalidParameter(BadRequest):
23
+ code:str = "MAL-IPR-001"
24
+ message:str = "Invalid parameters"
25
+ description:str = "Invalid parameters and/or parameters combinations is given. Check 'other' for more information."
26
+
27
+ class InvalidSystemRole(BadRequest):
28
+ code:str = "MAL-ISR-001"
29
+ message:str = "Invalid system role"
30
+ description:str = "Invalid system role is detected in authorization token. Check 'other' for more information."
31
+
22
32
  class Unauthorized(Fail):
23
33
  code:str = "MAL-ATH-001"
24
34
  message:str = "Unauthorized Request"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo_foundation
3
- Version: 0.2.72
3
+ Version: 0.2.75
4
4
  Summary: Foundation package for Maleo
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: MIT
@@ -50,7 +50,7 @@ maleo_foundation/middlewares/authentication.py,sha256=UL6kL65SvqrzemlIDopoO9N1C0
50
50
  maleo_foundation/middlewares/base.py,sha256=fLctfwzfWlGSPFnSiqbV-9wDhlG2SLA1DAs-hXk0diU,14600
51
51
  maleo_foundation/middlewares/cors.py,sha256=9uvBvY2N6Vxa9RP_YtESxcWo6Doi6uS0lzAG9iLY7Uc,2288
52
52
  maleo_foundation/models/__init__.py,sha256=AaKehO7c1HyKhoTGRmNHDddSeBXkW-_YNrpOGBu8Ms8,246
53
- maleo_foundation/models/responses.py,sha256=ab-DOERSqbhO25qTvQlVFmuroqsVcLAGaMDSLm4rwUk,5151
53
+ maleo_foundation/models/responses.py,sha256=nE5qThK-WgcYB-9J4wHzJltMA3PLmWbMI-dkxAxAdII,5631
54
54
  maleo_foundation/models/table.py,sha256=tcOwj_Heqi6ode8rbD4eeSiixEYsAtUaUyJyqrYaMAw,1327
55
55
  maleo_foundation/models/schemas/__init__.py,sha256=Xj8Ahsqyra-fmEaVcGPok5GOOsPQlKcknHYMvbjvENA,277
56
56
  maleo_foundation/models/schemas/encryption.py,sha256=KYs2P57AqWpEROuqTuSuyt1Zk-jsIUKFeRWIfSwem74,658
@@ -118,7 +118,7 @@ maleo_foundation/utils/loaders/credential/__init__.py,sha256=qopTKvcMVoTFwyRijeg
118
118
  maleo_foundation/utils/loaders/credential/google.py,sha256=HUcuHD4tXHPt0eHInlFYxA_MDrGSOtbenpd0PX156OM,1255
119
119
  maleo_foundation/utils/loaders/key/__init__.py,sha256=hVygcC2ImHc_aVrSrOmyedR8tMUZokWUKCKOSh5ctbo,106
120
120
  maleo_foundation/utils/loaders/key/rsa.py,sha256=gDhyX6iTFtHiluuhFCozaZ3pOLKU2Y9TlrNMK_GVyGU,3796
121
- maleo_foundation-0.2.72.dist-info/METADATA,sha256=GGXTcj5ARXU29O1L4BIcA8mmqzg-13_tmxuH_zs-nDI,3598
122
- maleo_foundation-0.2.72.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
123
- maleo_foundation-0.2.72.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
124
- maleo_foundation-0.2.72.dist-info/RECORD,,
121
+ maleo_foundation-0.2.75.dist-info/METADATA,sha256=tva9GqGCYPgZsvrPCyDlXKyDKWymSUOKkbLGbr1848s,3598
122
+ maleo_foundation-0.2.75.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
123
+ maleo_foundation-0.2.75.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
124
+ maleo_foundation-0.2.75.dist-info/RECORD,,