worker-automate-hub 0.5.601__py3-none-any.whl → 0.5.602__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.
- worker_automate_hub/tasks/jobs/lancamento_rateio.py +448 -0
- worker_automate_hub/tasks/task_definitions.py +5 -0
- {worker_automate_hub-0.5.601.dist-info → worker_automate_hub-0.5.602.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.5.601.dist-info → worker_automate_hub-0.5.602.dist-info}/RECORD +6 -5
- {worker_automate_hub-0.5.601.dist-info → worker_automate_hub-0.5.602.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.5.601.dist-info → worker_automate_hub-0.5.602.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1,448 @@
|
|
1
|
+
import asyncio
|
2
|
+
import getpass
|
3
|
+
from datetime import datetime
|
4
|
+
|
5
|
+
from worker_automate_hub.models.dto.rpa_historico_request_dto import (
|
6
|
+
RpaHistoricoStatusEnum,
|
7
|
+
RpaRetornoProcessoDTO,
|
8
|
+
RpaTagDTO,
|
9
|
+
RpaTagEnum,
|
10
|
+
)
|
11
|
+
from worker_automate_hub.models.dto.rpa_processo_entrada_dto import (
|
12
|
+
RpaProcessoEntradaDTO,
|
13
|
+
)
|
14
|
+
from rich.console import Console
|
15
|
+
import re
|
16
|
+
import os
|
17
|
+
from pywinauto.keyboard import send_keys
|
18
|
+
from worker_automate_hub.utils.util import login_emsys
|
19
|
+
import warnings
|
20
|
+
from pywinauto.application import Application
|
21
|
+
from worker_automate_hub.api.client import get_config_by_name, get_status_cte_emsys
|
22
|
+
from worker_automate_hub.api.ahead_service import save_xml_to_downloads
|
23
|
+
from worker_automate_hub.utils.util import (
|
24
|
+
kill_all_emsys,
|
25
|
+
delete_xml,
|
26
|
+
set_variable,
|
27
|
+
type_text_into_field,
|
28
|
+
worker_sleep,
|
29
|
+
)
|
30
|
+
from pywinauto_recorder.player import set_combobox
|
31
|
+
|
32
|
+
from datetime import timedelta
|
33
|
+
import pyautogui
|
34
|
+
from worker_automate_hub.utils.logger import logger
|
35
|
+
from worker_automate_hub.utils.utils_nfe_entrada import EMSys
|
36
|
+
from datetime import datetime
|
37
|
+
|
38
|
+
ASSETS_BASE_PATH = "assets/cte_xml/"
|
39
|
+
emsys = EMSys()
|
40
|
+
|
41
|
+
console = Console()
|
42
|
+
pyautogui.PAUSE = 0.5
|
43
|
+
pyautogui.FAILSAFE = False
|
44
|
+
|
45
|
+
data_hoje = datetime.now().strftime("%d%m%Y")
|
46
|
+
print(data_hoje)
|
47
|
+
|
48
|
+
async def janela_nota_fiscal(nota_entrada):
|
49
|
+
# Declaração das variáveis
|
50
|
+
data_emissao = nota_entrada["dataEmissao"]
|
51
|
+
nota_fiscal = nota_entrada["numeroNota"]
|
52
|
+
cnpj_fornecedor = nota_entrada["cnpjFornecedor"]
|
53
|
+
try:
|
54
|
+
await worker_sleep(5)
|
55
|
+
app = Application(backend="win32").connect(
|
56
|
+
title="Nota Fiscal de Entrada", found_index=0
|
57
|
+
)
|
58
|
+
main_window = app["Nota Fiscal de Entrada"]
|
59
|
+
|
60
|
+
input_tipo_documento = main_window.child_window(class_name="TDBIComboBox", found_index=1)
|
61
|
+
|
62
|
+
|
63
|
+
# Focar e clicar no ComboBox
|
64
|
+
input_tipo_documento.set_focus()
|
65
|
+
input_tipo_documento.click_input()
|
66
|
+
|
67
|
+
await worker_sleep(1)
|
68
|
+
|
69
|
+
# Selecionar Nota Fiscal de Entrada
|
70
|
+
input_tipo_documento.select("NOTA FISCAL DE ENTRADA - SERVIÇO")
|
71
|
+
|
72
|
+
await worker_sleep(3)
|
73
|
+
|
74
|
+
# Enviar ENTER para confirmar
|
75
|
+
send_keys("{ENTER}")
|
76
|
+
|
77
|
+
await worker_sleep(2)
|
78
|
+
|
79
|
+
# Inserir Entrada data_hoje
|
80
|
+
input_entrada = main_window.child_window(class_name="TDBIEditDate", found_index=1)
|
81
|
+
type_text_into_field(data_hoje, input_entrada, True, "10")
|
82
|
+
|
83
|
+
# Inserir Data de Emissão
|
84
|
+
input_emissao = main_window.child_window(class_name="TDBIEditDate", found_index=2)
|
85
|
+
type_text_into_field(data_emissao, input_emissao, True, "10")
|
86
|
+
|
87
|
+
# Inserir Nota Fiscal
|
88
|
+
input_nota_fiscal = main_window.child_window(class_name="TDBIEditString", found_index=8)
|
89
|
+
type_text_into_field(nota_fiscal, input_nota_fiscal, True, "50")
|
90
|
+
|
91
|
+
# Inserir Serie
|
92
|
+
input_serie = main_window.child_window(class_name="TDBIEditString", found_index=2)
|
93
|
+
type_text_into_field("S", input_serie, True, "10")
|
94
|
+
|
95
|
+
# Inserir CNPJ
|
96
|
+
input_cnpj = main_window.child_window(class_name="TDBIEditString", found_index=4)
|
97
|
+
type_text_into_field(cnpj_fornecedor, input_cnpj, True, "14")
|
98
|
+
|
99
|
+
# Clicar na lupa
|
100
|
+
pyautogui.click(x=980, y=504)
|
101
|
+
|
102
|
+
# Inserir NOP Nota
|
103
|
+
select_nop_nota = main_window.child_window(class_name="TDBIComboBox", found_index=0)
|
104
|
+
|
105
|
+
# Focar e clicar no ComboBox
|
106
|
+
select_nop_nota.set_focus()
|
107
|
+
select_nop_nota.click_input()
|
108
|
+
|
109
|
+
await worker_sleep(1)
|
110
|
+
|
111
|
+
# Selecionar Opção
|
112
|
+
select_nop_nota.select("1933 - AQUISIÇÃO DE SERVIÇOS - 1933")
|
113
|
+
|
114
|
+
# Enviar ENTER para confirmar
|
115
|
+
send_keys("{ENTER}")
|
116
|
+
|
117
|
+
await worker_sleep(1)
|
118
|
+
|
119
|
+
# Inserir Mod Frete
|
120
|
+
select_mod_frete = main_window.child_window(class_name="TDBIComboBoxValues", found_index=1)
|
121
|
+
|
122
|
+
# Focar e clicar no ComboBox
|
123
|
+
select_mod_frete.set_focus()
|
124
|
+
select_mod_frete.click_input()
|
125
|
+
|
126
|
+
await worker_sleep(1)
|
127
|
+
|
128
|
+
# Selecionar Opção
|
129
|
+
select_mod_frete.select("9=Sem Ocorrência de Transporte.")
|
130
|
+
|
131
|
+
# Enviar ENTER para confirmar
|
132
|
+
send_keys("{ENTER}")
|
133
|
+
|
134
|
+
await worker_sleep(1)
|
135
|
+
|
136
|
+
# Clicar no Itens da Nota
|
137
|
+
pyautogui.click(x=628, y=328)
|
138
|
+
|
139
|
+
await worker_sleep(3)
|
140
|
+
|
141
|
+
# Clicar no sinal de +
|
142
|
+
sinal_mais = main_window.child_window(class_name="TDBIBitBtn", found_index=3)
|
143
|
+
|
144
|
+
# Focar e clicar no ComboBox
|
145
|
+
sinal_mais.set_focus()
|
146
|
+
sinal_mais.click_input()
|
147
|
+
|
148
|
+
await worker_sleep(5)
|
149
|
+
|
150
|
+
|
151
|
+
except Exception as e:
|
152
|
+
# console.print(f"Erro ao conectar a janela {window_title}")
|
153
|
+
raise Exception(f"Erro ao conectar a janela: {e}")
|
154
|
+
|
155
|
+
async def janela_inclusao_itens(nota_entrada):
|
156
|
+
# Declaracao de variáveis
|
157
|
+
codigo_empresa = nota_entrada["codigoEmpresa"]
|
158
|
+
valor_nota = nota_entrada["valorNota"]
|
159
|
+
conta_contabil = nota_entrada["contaContabil"]
|
160
|
+
quantidade = nota_entrada["quantidade"]
|
161
|
+
|
162
|
+
app = Application(backend="win32").connect(
|
163
|
+
class_name="TFrmIncluiItemNFE", found_index=0
|
164
|
+
)
|
165
|
+
main_window = app["TFrmIncluiItemNFE"]
|
166
|
+
|
167
|
+
# Inserir input_Almoxarifado
|
168
|
+
input_almoxarifado = main_window.child_window(class_name="TDBIEditCode", found_index=2)
|
169
|
+
|
170
|
+
# Focar e clicar no ComboBox
|
171
|
+
input_almoxarifado.set_focus()
|
172
|
+
|
173
|
+
|
174
|
+
if codigo_empresa != '1':
|
175
|
+
codigo_empresa = f"{codigo_empresa}50"
|
176
|
+
else:
|
177
|
+
codigo_empresa = f"{codigo_empresa}60"
|
178
|
+
|
179
|
+
type_text_into_field(codigo_empresa, input_almoxarifado, True, "10")
|
180
|
+
|
181
|
+
send_keys("{ENTER}")
|
182
|
+
|
183
|
+
await worker_sleep(3)
|
184
|
+
|
185
|
+
# Inserir Item
|
186
|
+
input_item = main_window.child_window(class_name="TDBIEditNumber", found_index=40)
|
187
|
+
type_text_into_field("2483", input_item, True, "10")
|
188
|
+
send_keys("{TAB}")
|
189
|
+
|
190
|
+
await worker_sleep(5)
|
191
|
+
try:
|
192
|
+
# Mudar para janela pesquisa itens
|
193
|
+
app = Application(backend="win32").connect(
|
194
|
+
class_name="TFrmPesquisaItem", found_index=0
|
195
|
+
)
|
196
|
+
main_window = app["TFrmPesquisaItem"]
|
197
|
+
|
198
|
+
# Clicar Primeira LInha
|
199
|
+
pyautogui.click(x=561, y=397)
|
200
|
+
|
201
|
+
# Clicar em confirmar
|
202
|
+
clicar_confirmar = main_window.child_window(class_name="TDBIBitBtn", found_index=2)
|
203
|
+
clicar_confirmar.click_input()
|
204
|
+
except:
|
205
|
+
pass
|
206
|
+
|
207
|
+
await worker_sleep(5)
|
208
|
+
|
209
|
+
# Volta para janela de inclusão de itens
|
210
|
+
app = Application(backend="win32").connect(
|
211
|
+
class_name="TFrmIncluiItemNFE", found_index=0
|
212
|
+
)
|
213
|
+
main_window = app["TFrmIncluiItemNFE"]
|
214
|
+
|
215
|
+
# Inserir quantidade
|
216
|
+
input_quantidade = main_window.child_window(class_name="TDBIEditNumber", found_index=39)
|
217
|
+
type_text_into_field(quantidade, input_quantidade, True, "10")
|
218
|
+
|
219
|
+
# Inserir Valor Unitário
|
220
|
+
input_valor_unitario = main_window.child_window(class_name="TDBIEditNumber", found_index=9)
|
221
|
+
|
222
|
+
# Focar e clicar no ComboBox
|
223
|
+
input_valor_unitario.set_focus()
|
224
|
+
|
225
|
+
|
226
|
+
type_text_into_field(valor_nota, input_valor_unitario, True, "10")
|
227
|
+
|
228
|
+
await worker_sleep(5)
|
229
|
+
|
230
|
+
# Clicar em Tipo de Despesa
|
231
|
+
pyautogui.click(x=793, y=485)
|
232
|
+
|
233
|
+
await worker_sleep(2)
|
234
|
+
|
235
|
+
# Inserir Tipo [Conta COntábil]
|
236
|
+
input_tipo = main_window.child_window(class_name="TDBIEditCode", found_index=1)
|
237
|
+
|
238
|
+
# Focar e clicar no ComboBox
|
239
|
+
input_tipo.set_focus()
|
240
|
+
|
241
|
+
|
242
|
+
type_text_into_field(conta_contabil, input_tipo, True, "10")
|
243
|
+
|
244
|
+
# Clicar em Incluir
|
245
|
+
incluir = main_window.child_window(class_name="TDBIBitBtn", found_index=1)
|
246
|
+
incluir.click_input()
|
247
|
+
|
248
|
+
await worker_sleep(5)
|
249
|
+
|
250
|
+
# Clicar em cancelar
|
251
|
+
cancelar = main_window.child_window(class_name="TDBIBitBtn", found_index=2)
|
252
|
+
cancelar.click_input()
|
253
|
+
|
254
|
+
async def janela_pagamento(nota_entrada):
|
255
|
+
# Declarar variáveis
|
256
|
+
data_vencimento = datetime.now() + timedelta(days=1)
|
257
|
+
data_vencimento_formatada = data_vencimento.strftime('%d%m%Y')
|
258
|
+
valor_nota = nota_entrada["valorNota"]
|
259
|
+
# Clicar em pagamento
|
260
|
+
pyautogui.click(x=623, y=360)
|
261
|
+
|
262
|
+
await worker_sleep(2)
|
263
|
+
|
264
|
+
app = Application(backend="win32").connect(
|
265
|
+
class_name="TFrmNotaFiscalEntrada", found_index=0
|
266
|
+
)
|
267
|
+
main_window = app["TFrmNotaFiscalEntrada"]
|
268
|
+
|
269
|
+
# Selecionar tipo de cobrança
|
270
|
+
select_tipo_cobranca = main_window.child_window(class_name="TDBIComboBox", found_index=0)
|
271
|
+
select_tipo_cobranca.select("BANCO DO BRASIL BOLETO")
|
272
|
+
|
273
|
+
await worker_sleep(1)
|
274
|
+
|
275
|
+
# Inserir data vencimento
|
276
|
+
input_data_vencimento = main_window.child_window(class_name="TDBIEditDate", found_index=0)
|
277
|
+
type_text_into_field(data_vencimento_formatada, input_data_vencimento, True, "10")
|
278
|
+
|
279
|
+
await worker_sleep(1)
|
280
|
+
|
281
|
+
# Inserir valor da nota
|
282
|
+
input_valor_nota = main_window.child_window(class_name="TDBIEditNumber", found_index=3)
|
283
|
+
type_text_into_field(valor_nota, input_valor_nota, True, "10")
|
284
|
+
|
285
|
+
await worker_sleep(1)
|
286
|
+
|
287
|
+
# Clicar no botão +
|
288
|
+
clicar_mais = main_window.child_window(class_name="TDBIBitBtn", found_index=1)
|
289
|
+
clicar_mais.click_input()
|
290
|
+
|
291
|
+
await worker_sleep(2)
|
292
|
+
|
293
|
+
# Clicar no + para salvar
|
294
|
+
pyautogui.click(x=594, y=281)
|
295
|
+
|
296
|
+
await worker_sleep(3)
|
297
|
+
|
298
|
+
# Clicar em selecionar todos
|
299
|
+
pyautogui.click(x=746, y=478)
|
300
|
+
|
301
|
+
|
302
|
+
async def janela_rateio_despesa(nota_entrada):
|
303
|
+
await worker_sleep(5)
|
304
|
+
# Declarar variável
|
305
|
+
app = Application(backend="win32").connect(
|
306
|
+
class_name="TFrmDadosRateioDespesa", found_index=0
|
307
|
+
)
|
308
|
+
main_window = app["TFrmDadosRateioDespesa"]
|
309
|
+
|
310
|
+
for rateio in nota_entrada["rateios"]:
|
311
|
+
centro_custo = rateio["centroCusto"]
|
312
|
+
valor = rateio["valor"]
|
313
|
+
print(f"Centro de Custo: {centro_custo} | Valor: {valor}")
|
314
|
+
|
315
|
+
# Inserir centro de custo
|
316
|
+
input_centro_custo = main_window.child_window(class_name="TDBIEditCode", found_index=0)
|
317
|
+
type_text_into_field(centro_custo, input_centro_custo, True, "10")
|
318
|
+
send_keys("{TAB}")
|
319
|
+
|
320
|
+
await worker_sleep(1)
|
321
|
+
|
322
|
+
# Inserir valor
|
323
|
+
input_valor = main_window.child_window(class_name="TDBIEditNumber", found_index=5)
|
324
|
+
type_text_into_field(valor, input_valor, False, "10")
|
325
|
+
|
326
|
+
await worker_sleep(1)
|
327
|
+
|
328
|
+
# Clicar em incluir rateio
|
329
|
+
clicar_incluir_rateio = main_window.child_window(class_name="TDBIBitBtn", found_index=3)
|
330
|
+
clicar_incluir_rateio.click()
|
331
|
+
|
332
|
+
await worker_sleep(2)
|
333
|
+
|
334
|
+
async def lancamento_rateio(task: RpaProcessoEntradaDTO) -> RpaRetornoProcessoDTO:
|
335
|
+
try:
|
336
|
+
config = await get_config_by_name("login_emsys")
|
337
|
+
nota_entrada = task.configEntrada
|
338
|
+
|
339
|
+
await kill_all_emsys()
|
340
|
+
|
341
|
+
app = Application(backend="win32").start("C:\\Rezende\\EMSys3\\EMSys3_35.exe")
|
342
|
+
warnings.filterwarnings(
|
343
|
+
"ignore",
|
344
|
+
category=UserWarning,
|
345
|
+
message="32-bit application should be automated using 32-bit Python",
|
346
|
+
)
|
347
|
+
console.print("\nEMSys iniciando...", style="bold green")
|
348
|
+
return_login = await login_emsys(config.conConfiguracao, app, task)
|
349
|
+
|
350
|
+
if return_login.sucesso == True:
|
351
|
+
type_text_into_field(
|
352
|
+
"Nota Fiscal de Entrada", app["TFrmMenuPrincipal"]["Edit"], True, "50"
|
353
|
+
)
|
354
|
+
|
355
|
+
pyautogui.press("enter")
|
356
|
+
await worker_sleep(2)
|
357
|
+
pyautogui.press("enter")
|
358
|
+
console.print(
|
359
|
+
f"\nPesquisa: 'Nota Fiscal de Entrada' realizada com sucesso",
|
360
|
+
style="bold green",
|
361
|
+
)
|
362
|
+
else:
|
363
|
+
logger.info(f"\nError Message: {return_login.retorno}")
|
364
|
+
console.print(f"\nError Message: {return_login.retorno}", style="bold red")
|
365
|
+
return return_login
|
366
|
+
|
367
|
+
await worker_sleep(6)
|
368
|
+
|
369
|
+
await janela_nota_fiscal(nota_entrada)
|
370
|
+
|
371
|
+
await janela_inclusao_itens(nota_entrada)
|
372
|
+
|
373
|
+
return RpaRetornoProcessoDTO(
|
374
|
+
sucesso=True,
|
375
|
+
retorno=f"Suceso no processo Lançamento de Rateio",
|
376
|
+
status=RpaHistoricoStatusEnum.Sucesso,
|
377
|
+
)
|
378
|
+
|
379
|
+
except Exception as e:
|
380
|
+
return RpaRetornoProcessoDTO(
|
381
|
+
sucesso=False,
|
382
|
+
retorno=f"Erro no processo CTE com XML: {e}",
|
383
|
+
status=RpaHistoricoStatusEnum.Falha,
|
384
|
+
tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)],
|
385
|
+
)
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
if __name__ == "__main__":
|
390
|
+
task = RpaProcessoEntradaDTO(
|
391
|
+
datEntradaFila=datetime.now(),
|
392
|
+
configEntrada={
|
393
|
+
"rateios": [
|
394
|
+
{"valor": "3040,10", "centroCusto": "1133"},
|
395
|
+
{"valor": "999,50", "centroCusto": "1155"},
|
396
|
+
{"valor": "1516,53", "centroCusto": "1210"},
|
397
|
+
{"valor": "4162,28", "centroCusto": "1154"},
|
398
|
+
{"valor": "4145,93", "centroCusto": "1146"},
|
399
|
+
{"valor": "3553,20", "centroCusto": "1136"},
|
400
|
+
{"valor": "205,58", "centroCusto": "1071"},
|
401
|
+
{"valor": "2270,66", "centroCusto": "1156"},
|
402
|
+
{"valor": "2346,79", "centroCusto": "1088"},
|
403
|
+
{"valor": "13720,75", "centroCusto": "1223"},
|
404
|
+
{"valor": "6747,75", "centroCusto": "1035"},
|
405
|
+
{"valor": "2886,55", "centroCusto": "1129"},
|
406
|
+
{"valor": "3011,67", "centroCusto": "1130"},
|
407
|
+
{"valor": "2103,99", "centroCusto": "1054"},
|
408
|
+
{"valor": "2544,05", "centroCusto": "1077"},
|
409
|
+
{"valor": "3308,69", "centroCusto": "1091"},
|
410
|
+
{"valor": "3104,85", "centroCusto": "1093"},
|
411
|
+
{"valor": "1507,34", "centroCusto": "1092"},
|
412
|
+
{"valor": "4143,30", "centroCusto": "1103"},
|
413
|
+
{"valor": "4774,93", "centroCusto": "1060"},
|
414
|
+
{"valor": "1743,58", "centroCusto": "9999"},
|
415
|
+
{"valor": "3783,73", "centroCusto": "1053"},
|
416
|
+
{"valor": "3141,57", "centroCusto": "1041"},
|
417
|
+
{"valor": "2586,06", "centroCusto": "1099"},
|
418
|
+
{"valor": "2286,40", "centroCusto": "1166"},
|
419
|
+
{"valor": "2848,49", "centroCusto": "1119"},
|
420
|
+
{"valor": "3428,97", "centroCusto": "1078"},
|
421
|
+
{"valor": "1672,26", "centroCusto": "1139"},
|
422
|
+
{"valor": "1872,63", "centroCusto": "1124"},
|
423
|
+
{"valor": "2060,27", "centroCusto": "1039"},
|
424
|
+
{"valor": "5148,94", "centroCusto": "1062"},
|
425
|
+
{"valor": "3182,39", "centroCusto": "1211"}
|
426
|
+
],
|
427
|
+
"valorNota": "10849,75",
|
428
|
+
"identificador": "aquiSeuIdentificador",
|
429
|
+
"numeroNota": "127",
|
430
|
+
"urlRetorno": "https://suaempresa.com.br/retorno-nota",
|
431
|
+
"codigoEmpresa": "1",
|
432
|
+
"nomeEmpresa": "MATRIZ",
|
433
|
+
"contaContabil": "13",
|
434
|
+
"cnpjFornecedor": "31492377000139",
|
435
|
+
"dataEmissao": "23/05/2025",
|
436
|
+
"quantidade": "1"
|
437
|
+
}, # vírgula aqui é essencial
|
438
|
+
uuidProcesso='b47f25e8-0b41-429d-904b-7db7a03219cc',
|
439
|
+
nomProcesso='lancamento_rateio',
|
440
|
+
uuidFila="",
|
441
|
+
sistemas=[
|
442
|
+
{"sistema": "EMSys", "timeout": "1.0"},
|
443
|
+
{"sistema": "AutoSystem", "timeout": "1.0"}
|
444
|
+
],
|
445
|
+
historico_id='01'
|
446
|
+
)
|
447
|
+
|
448
|
+
asyncio.run(lancamento_rateio(task))
|
@@ -86,6 +86,9 @@ from worker_automate_hub.tasks.jobs.integracao_contabil_generica import (
|
|
86
86
|
integracao_contabil_generica,
|
87
87
|
)
|
88
88
|
from worker_automate_hub.tasks.jobs.lancamento_pis_cofins import lancamento_pis_cofins
|
89
|
+
|
90
|
+
from worker_automate_hub.tasks.jobs.lancamento_rateio import lancamento_rateio
|
91
|
+
|
89
92
|
from worker_automate_hub.tasks.jobs.extracao_fechamento_contabil import (
|
90
93
|
extracao_fechamento_contabil,
|
91
94
|
)
|
@@ -93,6 +96,7 @@ from worker_automate_hub.tasks.jobs.extracao_fechamento_emsys import (
|
|
93
96
|
extracao_fechamento_emsys,
|
94
97
|
)
|
95
98
|
|
99
|
+
|
96
100
|
task_definitions = {
|
97
101
|
"5b295021-8df7-40a1-a45e-fe7109ae3902": exemplo_processo,
|
98
102
|
"a0788650-de48-454f-acbf-3537ead2d8ed": login_emsys,
|
@@ -186,6 +190,7 @@ task_definitions = {
|
|
186
190
|
"c10bbf8c-3949-4a0e-9e10-3d85d367263d": abertura_livros_fiscais,
|
187
191
|
"68d6a695-73f0-424c-afb6-54b5dba3ab9d": lancamento_pis_cofins,
|
188
192
|
"def194c2-ffa0-4b9e-b95c-920fb4ad4150": importar_cte_xml,
|
193
|
+
"b47f25e8-0b41-429d-904b-7db7a03219cc": lancamento_rateio,
|
189
194
|
"58de6a65-68cd-4e68-ab28-31b543b6de02": transferencias, # Logistica reverse
|
190
195
|
"ca7ac373-e8e7-4ac2-aa7e-298070e0d9a0": extracao_fechamento_contabil,
|
191
196
|
"8c28726d-458d-4119-afa0-202695b79a8f": extracao_fechamento_emsys,
|
@@ -77,13 +77,14 @@ worker_automate_hub/tasks/jobs/geracao_aprovacao_pedidos.py,sha256=QzK2aG5d9pmFb
|
|
77
77
|
worker_automate_hub/tasks/jobs/integracao_contabil.py,sha256=psoIU0tjtTJq2W8aGXjXrfkAOYlIpUtHZyNolI7dp-0,16263
|
78
78
|
worker_automate_hub/tasks/jobs/integracao_contabil_generica.py,sha256=mQo6d_X5gC5t5gnt4lyQPN7J30u8e4f81dWRjzH5Mk8,18060
|
79
79
|
worker_automate_hub/tasks/jobs/lancamento_pis_cofins.py,sha256=9BePVw8AP42mRKRiWqZHxIah9rGOqoBXs_Vo-OQBioM,35679
|
80
|
+
worker_automate_hub/tasks/jobs/lancamento_rateio.py,sha256=0cvbpuJiHl5mca5gpZudX7uQY5Rqe5xzwt6juQcMhjo,15875
|
80
81
|
worker_automate_hub/tasks/jobs/login_emsys.py,sha256=dO9S027qRTtjOfytF6IWO-m6hDld8kZqOVAsn91l1YA,5684
|
81
82
|
worker_automate_hub/tasks/jobs/login_emsys_versao_especifica.py,sha256=_6CFh79eaW9KdPGR6FMV01ASPjJzNzzBK1MvC_uiSOo,5625
|
82
83
|
worker_automate_hub/tasks/jobs/notas_faturamento_sap.py,sha256=p6tVE027FHHXBxt2sIDxqLInpf_0wS-8TcACnS34p7w,13961
|
83
84
|
worker_automate_hub/tasks/jobs/playground.py,sha256=7vWDg9DwToHwGJ6_XOa8TQ6LmfRV5Qz2TaOV3q3P9sA,1918
|
84
85
|
worker_automate_hub/tasks/jobs/sped_fiscal.py,sha256=Zsq-IwKxA0b2tikO6Rri4WXVj10jK-Jd0-gxk8yVBH0,31064
|
85
86
|
worker_automate_hub/tasks/jobs/transferencias.py,sha256=-xW66JNYvhWmyNAYGukiLZ_O5NHQHskH36EkxtXnANg,44321
|
86
|
-
worker_automate_hub/tasks/task_definitions.py,sha256=
|
87
|
+
worker_automate_hub/tasks/task_definitions.py,sha256=1mKM5VlFrfYvd10SDN3DlFFtqp3u-ZE7r7zat2eGMBM,11297
|
87
88
|
worker_automate_hub/tasks/task_executor.py,sha256=9dmLUlMpJOI7FhbaFE593TcWnDxBvuXbGVecs1aaJxE,5728
|
88
89
|
worker_automate_hub/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
89
90
|
worker_automate_hub/utils/env.py,sha256=TacQjGRO7PUNpttrhTAc5Gnegaiysl2Knsv1P8qfkfs,57
|
@@ -94,7 +95,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
|
|
94
95
|
worker_automate_hub/utils/util.py,sha256=_pgZOFWgXoov6WPbqyRTDVXJCRFfucYB3gb9swzU7bo,198281
|
95
96
|
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=wmnpuOesmPSryZszmapa37b9YNC0E2MkeDYnbwr-0rU,33315
|
96
97
|
worker_automate_hub/worker.py,sha256=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
|
97
|
-
worker_automate_hub-0.5.
|
98
|
-
worker_automate_hub-0.5.
|
99
|
-
worker_automate_hub-0.5.
|
100
|
-
worker_automate_hub-0.5.
|
98
|
+
worker_automate_hub-0.5.602.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
99
|
+
worker_automate_hub-0.5.602.dist-info/METADATA,sha256=UwsrA3ovGA0xt4De0hn3MbyopeUnL0t-Kry8qa1JBmk,3049
|
100
|
+
worker_automate_hub-0.5.602.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
101
|
+
worker_automate_hub-0.5.602.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.5.601.dist-info → worker_automate_hub-0.5.602.dist-info}/entry_points.txt
RENAMED
File without changes
|