ipiranga-inovai-project-lib 0.6__py3-none-any.whl → 0.8__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.
- inovai/entities.py +2 -2
- inovai/enums.py +24 -0
- {ipiranga_inovai_project_lib-0.6.dist-info → ipiranga_inovai_project_lib-0.8.dist-info}/METADATA +1 -1
- ipiranga_inovai_project_lib-0.8.dist-info/RECORD +8 -0
- ipiranga_inovai_project_lib-0.6.dist-info/RECORD +0 -8
- {ipiranga_inovai_project_lib-0.6.dist-info → ipiranga_inovai_project_lib-0.8.dist-info}/LICENSE +0 -0
- {ipiranga_inovai_project_lib-0.6.dist-info → ipiranga_inovai_project_lib-0.8.dist-info}/WHEEL +0 -0
- {ipiranga_inovai_project_lib-0.6.dist-info → ipiranga_inovai_project_lib-0.8.dist-info}/top_level.txt +0 -0
inovai/entities.py
CHANGED
|
@@ -14,7 +14,7 @@ class IntegrationDocument(Base):
|
|
|
14
14
|
access_key = Column('cd_chave_doc_integr', String(44))
|
|
15
15
|
json_content = Column('aq_json', JSON, nullable=False)
|
|
16
16
|
document_movement_type = Column('cd_tipo_mov_doc_integr', String(1))
|
|
17
|
-
document_type = Column('cd_tipo_doc_integr', String(
|
|
17
|
+
document_type = Column('cd_tipo_doc_integr', String(8))
|
|
18
18
|
document_series = Column('cd_serie_doc_integr', String(3), nullable=False)
|
|
19
19
|
document_number = Column('no_doc_integr', Numeric(precision=11, scale=0), nullable=False)
|
|
20
20
|
document_model = Column('cd_modl_doc_integr', String(3), nullable=False)
|
|
@@ -157,7 +157,7 @@ class ParamProcessingKit(Base):
|
|
|
157
157
|
kit_id = Column('cd_kit', Integer, ForeignKey('fiscal.kit_obi.no_seq_kit'), nullable=False)
|
|
158
158
|
process_code = Column('cd_proc_obi', String(30))
|
|
159
159
|
status = Column('id_status_param', Boolean, nullable=False)
|
|
160
|
-
document_type = Column('cd_tipo_doc_integr', String(
|
|
160
|
+
document_type = Column('cd_tipo_doc_integr', String(8))
|
|
161
161
|
created_at = Column('dt_incl', DateTime, nullable=False, server_default='NOW()')
|
|
162
162
|
|
|
163
163
|
def __init__(self, param_processing_kit_id, kit_id, process_code, status, document_type):
|
inovai/enums.py
CHANGED
|
@@ -4,6 +4,7 @@ from enum import Enum
|
|
|
4
4
|
class DocumentStatus(Enum):
|
|
5
5
|
INTEGRATED = 'INTEGRADO'
|
|
6
6
|
PENDING_INTEGRATION = 'PENDENTE_INTEGRACAO'
|
|
7
|
+
CONVERTER_ERROR = 'ERRO_CONVERSAO'
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class DocumentMovementType(Enum):
|
|
@@ -19,3 +20,26 @@ class ResponsibleMovement(Enum):
|
|
|
19
20
|
class Origin(Enum):
|
|
20
21
|
JDE = "JDE"
|
|
21
22
|
ABADI = "ABADI"
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class DocumentType(Enum):
|
|
26
|
+
SERVICE = 'SERV'
|
|
27
|
+
PRODUCT = 'PROD'
|
|
28
|
+
ISS_SERVICE = "SERV_ISS"
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class TaxType:
|
|
32
|
+
PIS = "PIS"
|
|
33
|
+
IPI = "IPI"
|
|
34
|
+
ISS = "ISS"
|
|
35
|
+
INSS = "INSS"
|
|
36
|
+
COFINS = "COFINS"
|
|
37
|
+
ISSRET = "ISSRET"
|
|
38
|
+
ICMS = "ICMS"
|
|
39
|
+
ICMSST = "ICMSST"
|
|
40
|
+
ICMSFCP = "ICMSFCP"
|
|
41
|
+
ICMSFCPST = "ICMSFCPST"
|
|
42
|
+
ICMSMONORETEN = "ICMSMONORETEN"
|
|
43
|
+
ICMSMONOPROP = "ICMSMONOPROP"
|
|
44
|
+
ICMSMONODIFER = "ICMSMONODIFER"
|
|
45
|
+
ICMSMONORET = "ICMSMONORET"
|
{ipiranga_inovai_project_lib-0.6.dist-info → ipiranga_inovai_project_lib-0.8.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ipiranga-inovai-project-lib
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8
|
|
4
4
|
Summary: Projeto criado para importação genérica de entidades
|
|
5
5
|
Home-page: https://gitlab.ipirangacloud.com/clayton.monteiro.ext/ipiranga-inovai-project-lib
|
|
6
6
|
Author: Clayton Sandes Monteiro
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
inovai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
inovai/entities.py,sha256=tsa9Fpm0kOmulP1mg2hLk6jeP4jrU5cnI01dT0QIAqY,12749
|
|
3
|
+
inovai/enums.py,sha256=1CBgOc-bef_aIq6lQLgDGXgp4hITYzVACZcyy8e2LA8,887
|
|
4
|
+
ipiranga_inovai_project_lib-0.8.dist-info/LICENSE,sha256=UJ3ql8eZec9Y1kER7QSHAuvdgFPuL47asePHYmdzG_o,198
|
|
5
|
+
ipiranga_inovai_project_lib-0.8.dist-info/METADATA,sha256=9Du-OhbwbCLF4MnmUt0d9K9M5C2TScR0qMcVeSPNELI,518
|
|
6
|
+
ipiranga_inovai_project_lib-0.8.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
7
|
+
ipiranga_inovai_project_lib-0.8.dist-info/top_level.txt,sha256=BD-APH5oIEb_KDXwrfnZiu9QDsD9ttTEkYc32r9thqg,7
|
|
8
|
+
ipiranga_inovai_project_lib-0.8.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
inovai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
inovai/entities.py,sha256=eZh-cLP9Ud8EPdhRhKBgBar4q3LPTdu816QWb7CxHRc,12749
|
|
3
|
-
inovai/enums.py,sha256=xfv3w-roeP8W7UED1VNyPEEKeeNqRD-dBuF9dLd_oEA,368
|
|
4
|
-
ipiranga_inovai_project_lib-0.6.dist-info/LICENSE,sha256=UJ3ql8eZec9Y1kER7QSHAuvdgFPuL47asePHYmdzG_o,198
|
|
5
|
-
ipiranga_inovai_project_lib-0.6.dist-info/METADATA,sha256=4MEarwc8_N4cAotowK9P_k8yW7p6YdpSMp_-iGKjNy8,518
|
|
6
|
-
ipiranga_inovai_project_lib-0.6.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
7
|
-
ipiranga_inovai_project_lib-0.6.dist-info/top_level.txt,sha256=BD-APH5oIEb_KDXwrfnZiu9QDsD9ttTEkYc32r9thqg,7
|
|
8
|
-
ipiranga_inovai_project_lib-0.6.dist-info/RECORD,,
|
{ipiranga_inovai_project_lib-0.6.dist-info → ipiranga_inovai_project_lib-0.8.dist-info}/LICENSE
RENAMED
|
File without changes
|
{ipiranga_inovai_project_lib-0.6.dist-info → ipiranga_inovai_project_lib-0.8.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|