internal 1.0.13__py3-none-any.whl → 1.0.15__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 internal might be problematic. Click here for more details.

@@ -0,0 +1,7 @@
1
+ from enum import Enum
2
+
3
+
4
+ class DescriptionTypeEnum(str, Enum):
5
+ ALERT = "ALERT"
6
+ TEXT = "TEXT"
7
+ LINE = "LINE"
@@ -45,3 +45,12 @@ class NoChangeException(InternalBaseException):
45
45
  def __init__(self, message: str = None, **kwargs):
46
46
  _message = message or self.message
47
47
  super().__init__(status.HTTP_200_OK, self.code, _message, **kwargs)
48
+
49
+
50
+ class PermissionDeniedException(InternalBaseException):
51
+ code = "error_permission_denied"
52
+ message = "Permission denied"
53
+
54
+ def __init__(self, message: str = None, **kwargs):
55
+ _message = message or self.message
56
+ super().__init__(status.HTTP_403_FORBIDDEN, self.code, _message, **kwargs)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: internal
3
- Version: 1.0.13
3
+ Version: 1.0.15
4
4
  Summary:
5
5
  Author: Ray
6
6
  Author-email: ray@cruisys.com
@@ -3,6 +3,7 @@ internal/base_config.py,sha256=5-s2muyaLOGKhrq8kVqq0qaXFD09FrcQZCAFmw1FQtk,1755
3
3
  internal/base_factory.py,sha256=Cxi0NQMiAiPNcbsyXqo_Ilc91TU3KbnLL1F6RIG9L08,7854
4
4
  internal/common_enum/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  internal/common_enum/contact_type.py,sha256=uwZjxImXltMmfoAbe-1IeK3ry-p_wJ-wPPWR6NB7WXM,142
6
+ internal/common_enum/description_type.py,sha256=ZeqStzZVb0YErzPG20SJ4O3NEMVWJjnzIo4PvTWIkKo,118
6
7
  internal/common_enum/event_trigger_type.py,sha256=XTcSHvWNErvWW8CWcnbnc9OVIPyBeDjiM9xRHEEWw4E,637
7
8
  internal/common_enum/operator_type.py,sha256=dkLgO3EX0jiU-gAj5985FKOs68xBYPX2BNZZ5Vyvk2Y,125
8
9
  internal/common_enum/order_type.py,sha256=15n3272PkihkQtsQWCYOrBytQAm5Q4-elKxPXZ_bZaY,90
@@ -10,7 +11,7 @@ internal/const.py,sha256=U1S9r7bjtHgad2oYQoHO19s8D4V0WDUG-L-haV4UaIw,1025
10
11
  internal/database.py,sha256=atf0iyEqeG97eYr3s4GrTHKM5LjLiKlCNWiuAWoE2vs,2124
11
12
  internal/exception/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
13
  internal/exception/base_exception.py,sha256=U0ZXx1FOXydAnQQImznkeAdsKVC_YaukPWvJdWqEBfg,363
13
- internal/exception/internal_exception.py,sha256=byaaH5DBZTp-M8YMzGicOS2rHMg7S4zS7Two-1r7tj8,1651
14
+ internal/exception/internal_exception.py,sha256=gAhlAJGR7HbGRFDKHzndH0riyhwpxICHS9fNBSr3Yso,1962
14
15
  internal/ext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
16
  internal/ext/amazon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
17
  internal/ext/amazon/aws/__init__.py,sha256=2YFjb-rHG1JaZGZiZffYDesgTAJjDshOqQbswOYzhP8,834
@@ -26,6 +27,6 @@ internal/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
27
  internal/model/base_model.py,sha256=wnAKz21bXcbR4QqENc1_hKbUkzc8a8aT8oyhS9WT7kw,3032
27
28
  internal/model/operate.py,sha256=luEoP_Asvso_11qz1SAE1Kn5KxAnDRptM0VylC5tNik,1493
28
29
  internal/utils.py,sha256=0SubS0iUhDvjSX1F4TykasA5-enYJzt2VH-f7_0BnjI,1509
29
- internal-1.0.13.dist-info/METADATA,sha256=_JJFpNtUT1L1jbblJCh7G6h4cyYDdudfl_xV8kMUMkk,625
30
- internal-1.0.13.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
31
- internal-1.0.13.dist-info/RECORD,,
30
+ internal-1.0.15.dist-info/METADATA,sha256=xVYbGdKhDj5YKPkulj_76loRJFLT7pybgEvsKKefeEY,625
31
+ internal-1.0.15.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
32
+ internal-1.0.15.dist-info/RECORD,,