ipiranga-inovai-project-lib 0.4__py3-none-any.whl → 0.6__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 +10 -5
- inovai/enums.py +5 -0
- {ipiranga_inovai_project_lib-0.4.dist-info → ipiranga_inovai_project_lib-0.6.dist-info}/METADATA +1 -1
- ipiranga_inovai_project_lib-0.6.dist-info/RECORD +8 -0
- ipiranga_inovai_project_lib-0.4.dist-info/RECORD +0 -8
- {ipiranga_inovai_project_lib-0.4.dist-info → ipiranga_inovai_project_lib-0.6.dist-info}/LICENSE +0 -0
- {ipiranga_inovai_project_lib-0.4.dist-info → ipiranga_inovai_project_lib-0.6.dist-info}/WHEEL +0 -0
- {ipiranga_inovai_project_lib-0.4.dist-info → ipiranga_inovai_project_lib-0.6.dist-info}/top_level.txt +0 -0
inovai/entities.py
CHANGED
|
@@ -45,10 +45,10 @@ class IntegrationDocument(Base):
|
|
|
45
45
|
"cd_filial": self.branch_code,
|
|
46
46
|
"cd_cnpj_dest": self.recipient_cnpj,
|
|
47
47
|
"cd_cnpj_emit": self.issuer_cnpj,
|
|
48
|
-
"dt_emis_doc_integr": self.issuance_date
|
|
49
|
-
"dt_fisc": self.fiscal_date
|
|
50
|
-
"dt_hora_criacao": self.created_at
|
|
51
|
-
"dt_incl": self.updated_at
|
|
48
|
+
"dt_emis_doc_integr": self.issuance_date,
|
|
49
|
+
"dt_fisc": self.fiscal_date,
|
|
50
|
+
"dt_hora_criacao": self.created_at,
|
|
51
|
+
"dt_incl": self.updated_at,
|
|
52
52
|
"request_id": self.request_id,
|
|
53
53
|
"nm_sist_orig": self.origin,
|
|
54
54
|
"id_cnpj_mov": self.responsible_movement
|
|
@@ -157,14 +157,16 @@ 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(4))
|
|
160
161
|
created_at = Column('dt_incl', DateTime, nullable=False, server_default='NOW()')
|
|
161
162
|
|
|
162
|
-
def __init__(self, param_processing_kit_id, kit_id, process_code, status):
|
|
163
|
+
def __init__(self, param_processing_kit_id, kit_id, process_code, status, document_type):
|
|
163
164
|
super().__init__()
|
|
164
165
|
self.param_processing_kit_id = param_processing_kit_id
|
|
165
166
|
self.kit_id = kit_id
|
|
166
167
|
self.process_code = process_code
|
|
167
168
|
self.status = status
|
|
169
|
+
self.document_type = document_type
|
|
168
170
|
self.created_at = datetime.now()
|
|
169
171
|
|
|
170
172
|
|
|
@@ -257,3 +259,6 @@ class KitIntegrationDocumentStatus(Base):
|
|
|
257
259
|
self.kit_id = kit_id
|
|
258
260
|
self.integration_status = integration_status
|
|
259
261
|
self.created_at = datetime.now()
|
|
262
|
+
|
|
263
|
+
def __str__(self):
|
|
264
|
+
return f'document_id: {self.document_id}, kit_id: {self.kit_id}, integration_status: {self.integration_status}'
|
inovai/enums.py
CHANGED
{ipiranga_inovai_project_lib-0.4.dist-info → ipiranga_inovai_project_lib-0.6.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.6
|
|
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=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,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
inovai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
inovai/entities.py,sha256=D0gLL5RvHxeNYEBQd8nc7OzOXtPrT4pLDECxbX8Ssfg,12752
|
|
3
|
-
inovai/enums.py,sha256=5NxAF59BwbXCi-pt6vHlBuoyykViXaCTIphFci__hYE,305
|
|
4
|
-
ipiranga_inovai_project_lib-0.4.dist-info/LICENSE,sha256=UJ3ql8eZec9Y1kER7QSHAuvdgFPuL47asePHYmdzG_o,198
|
|
5
|
-
ipiranga_inovai_project_lib-0.4.dist-info/METADATA,sha256=krxX6cwc8Psj0lTB8A5gt0zNzVKrfcJhkOk2CnPAWvQ,518
|
|
6
|
-
ipiranga_inovai_project_lib-0.4.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
7
|
-
ipiranga_inovai_project_lib-0.4.dist-info/top_level.txt,sha256=BD-APH5oIEb_KDXwrfnZiu9QDsD9ttTEkYc32r9thqg,7
|
|
8
|
-
ipiranga_inovai_project_lib-0.4.dist-info/RECORD,,
|
{ipiranga_inovai_project_lib-0.4.dist-info → ipiranga_inovai_project_lib-0.6.dist-info}/LICENSE
RENAMED
|
File without changes
|
{ipiranga_inovai_project_lib-0.4.dist-info → ipiranga_inovai_project_lib-0.6.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|