documente_shared 0.1.136__py3-none-any.whl → 0.1.138__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 documente_shared might be problematic. Click here for more details.

@@ -0,0 +1,29 @@
1
+ from documente_shared.domain.base_enum import BaseEnum
2
+
3
+
4
+ class CircularOficioType(BaseEnum):
5
+ RETENCION = "RETENCION"
6
+ SUSPENSION = "SUSPENSION"
7
+ REMISION = "REMISION"
8
+ INFORMATIVA = "INFORMATIVA"
9
+ NORMATIVA = "NORMATIVA"
10
+
11
+ @property
12
+ def is_normativa(self) -> bool:
13
+ return self == CircularOficioType.NORMATIVA
14
+
15
+ @property
16
+ def is_retencion(self):
17
+ return self == CircularOficioType.RETENCION
18
+
19
+ @property
20
+ def is_remision(self):
21
+ return self == CircularOficioType.REMISION
22
+
23
+ @property
24
+ def is_informativa(self):
25
+ return self == CircularOficioType.INFORMATIVA
26
+
27
+ @property
28
+ def is_suspension(self) -> bool:
29
+ return self == CircularOficioType.SUSPENSION
@@ -2,12 +2,12 @@ from src.common.domain.base_enum import BaseEnum
2
2
 
3
3
  class DocumentTypeRecord(BaseEnum):
4
4
  DOCUMENT_PROCESSING = 'DOCUMENT_PROCESSING'
5
- DOCUMENT_CASE = 'DOCUMENT_CASE'
5
+ PROCESSING_CASE_ITEM = 'PROCESSING_CASE_ITEM'
6
6
 
7
7
  @property
8
8
  def is_document_processing(self):
9
9
  return self == DocumentTypeRecord.DOCUMENT_PROCESSING
10
10
 
11
11
  @property
12
- def is_document_case(self):
13
- return self == DocumentTypeRecord.DOCUMENT_CASE
12
+ def is_processing_case_item(self):
13
+ return self == DocumentTypeRecord.PROCESSING_CASE_ITEM
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: documente_shared
3
- Version: 0.1.136
3
+ Version: 0.1.138
4
4
  Summary: Shared utilities for Documente AI projects
5
5
  License: MIT
6
6
  Author: Tech
@@ -25,9 +25,10 @@ documente_shared/domain/entities/processing_documents.py,sha256=YYuTkdCNkqlO8cA0
25
25
  documente_shared/domain/entities/processing_event.py,sha256=sejo9eM4A6fDDFq3qCX3V1GMGwQVUh_5oJaPDiUwpoc,2350
26
26
  documente_shared/domain/entities/scaling.py,sha256=j_-6RL9cvZZukA6B7I17OuwNfUfHUfuSTt2wMsEXNl8,1019
27
27
  documente_shared/domain/enums/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
+ documente_shared/domain/enums/circular_oficio.py,sha256=iHwWaM8uEYmVhAFZU1xpAdDQPlIn_el2uL3WYX2I9X4,732
28
29
  documente_shared/domain/enums/common.py,sha256=tgM098gKYHCp8LVNA6FKd-O_Meoi0Cx_UjQ3OKLxGYY,3127
29
30
  documente_shared/domain/enums/document.py,sha256=QwvckW-VJBSujllIVloKlZUh1pI5UnX4oueYbV5CYGw,3205
30
- documente_shared/domain/enums/document_type_record.py,sha256=eq00yQ-71PsbylPTxlzhf2KCvamWNcApROgCzTzb9cQ,396
31
+ documente_shared/domain/enums/document_type_record.py,sha256=yAs-L1znL94IG2rjJ7Bcu-5vIPkr8eZP0ZN1fg2Ksbo,424
31
32
  documente_shared/domain/enums/processing_case.py,sha256=IF8ivf42TY67Vg9-3SYJvmptzsskMtlqPCUNfekoq10,1794
32
33
  documente_shared/domain/exceptions.py,sha256=S2xkkFPiR8jVmA6UhRb-bPVrm6JvohXw2MUhZOzdnRo,58
33
34
  documente_shared/domain/interfaces/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -56,6 +57,6 @@ documente_shared/infrastructure/services/http_scaling.py,sha256=cIo-61nfIwbtO86E
56
57
  documente_shared/infrastructure/sqs_queue.py,sha256=KZWeHZ9zmXmrxoNpOQX7GEdDhZ1knbPXgwSwFwJblGg,1504
57
58
  documente_shared/presentation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
58
59
  documente_shared/presentation/presenters.py,sha256=GGAEwefmjCIVepsUA2oZOVLxXbhhiISPM0Jgt6dT6O0,423
59
- documente_shared-0.1.136.dist-info/METADATA,sha256=RD6cfomSVxi9kzVKBh6QKWXJYSBRhdSATDXl7LtoEvQ,963
60
- documente_shared-0.1.136.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
61
- documente_shared-0.1.136.dist-info/RECORD,,
60
+ documente_shared-0.1.138.dist-info/METADATA,sha256=bsi2ba1FSr2GifWXEKURYHykC-EM4LD7UhXA3kqnTMs,963
61
+ documente_shared-0.1.138.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
62
+ documente_shared-0.1.138.dist-info/RECORD,,