worker-automate-hub 0.5.616__py3-none-any.whl → 0.5.618__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/devolucao_ctf.py +1 -1
- worker_automate_hub/tasks/jobs/extracao_fechamento_emsys.py +14 -20
- worker_automate_hub/tasks/task_definitions.py +1 -0
- {worker_automate_hub-0.5.616.dist-info → worker_automate_hub-0.5.618.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.5.616.dist-info → worker_automate_hub-0.5.618.dist-info}/RECORD +7 -7
- {worker_automate_hub-0.5.616.dist-info → worker_automate_hub-0.5.618.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.5.616.dist-info → worker_automate_hub-0.5.618.dist-info}/entry_points.txt +0 -0
@@ -132,7 +132,7 @@ async def devolucao_ctf(task: RpaProcessoEntradaDTO) -> RpaRetornoProcessoDTO:
|
|
132
132
|
# )
|
133
133
|
|
134
134
|
#Realizando o login
|
135
|
-
app = Application(backend="win32").start("C:\\Rezende\\EMSys3\\
|
135
|
+
app = Application(backend="win32").start("C:\\Rezende\\EMSys3\\EMSys3_35.exe")
|
136
136
|
warnings.filterwarnings("ignore",category=UserWarning,message="32-bit application should be automated using 32-bit Python")
|
137
137
|
console.print("\nEMSys iniciando...", style="bold green")
|
138
138
|
return_login = await login_emsys(config.conConfiguracao, app, task)
|
@@ -291,28 +291,22 @@ async def extracao_fechamento_emsys(
|
|
291
291
|
await worker_sleep(3)
|
292
292
|
|
293
293
|
# Clicar em gerar relatório
|
294
|
-
console.print("Clicar em gerar relatório")
|
295
|
-
btn_gerar_relatorio = main_window.child_window(
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
await worker_sleep(5)
|
294
|
+
console.print("Clicar em gerar relatório")
|
295
|
+
btn_gerar_relatorio = main_window.child_window(class_name="TBitBtn", found_index=0).click_input()
|
296
|
+
|
297
|
+
await worker_sleep(7)
|
300
298
|
console.print("Verificar se existem dados")
|
301
299
|
|
302
300
|
try:
|
303
|
-
nao_existe_dados =
|
301
|
+
nao_existe_dados = fr"{ASSETS_BASE_PATH}\extracao_fechamento_emsys\nao_existem_dados.png"
|
304
302
|
|
305
303
|
for tentativa in range(3):
|
306
|
-
console.print(
|
307
|
-
|
308
|
-
)
|
309
|
-
|
310
|
-
btn_gerar_relatorio = main_window.child_window(
|
311
|
-
class_name="TBitBtn", found_index=0
|
312
|
-
)
|
313
|
-
if btn_gerar_relatorio.exists(timeout=2):
|
304
|
+
console.print(f"Tentativa {tentativa + 1}: Clicar em 'Gerar Relatório'")
|
305
|
+
|
306
|
+
btn_gerar_relatorio = main_window.child_window(class_name="TBitBtn", found_index=0)
|
307
|
+
if btn_gerar_relatorio.exists(timeout=5):
|
314
308
|
btn_gerar_relatorio.click_input()
|
315
|
-
await worker_sleep(
|
309
|
+
await worker_sleep(5)
|
316
310
|
|
317
311
|
# Verifica se apareceu a imagem de "sem dados"
|
318
312
|
localizacao = pyautogui.locateOnScreen(
|
@@ -336,8 +330,8 @@ async def extracao_fechamento_emsys(
|
|
336
330
|
style="bold red",
|
337
331
|
)
|
338
332
|
|
339
|
-
await worker_sleep(
|
340
|
-
break
|
333
|
+
await worker_sleep(5)
|
334
|
+
break
|
341
335
|
|
342
336
|
# Verifica se apareceu a janela "Salvar para arquivo"
|
343
337
|
try:
|
@@ -358,8 +352,8 @@ async def extracao_fechamento_emsys(
|
|
358
352
|
"Botão 'Gerar Relatório' não encontrado.", style="bold red"
|
359
353
|
)
|
360
354
|
break
|
361
|
-
except:
|
362
|
-
await worker_sleep(
|
355
|
+
except:
|
356
|
+
await worker_sleep(5)
|
363
357
|
##### Janela Salvar para arquivo #####
|
364
358
|
console.print(f"Dados encontrados para {mnemonico}")
|
365
359
|
app = Application(backend="win32").connect(
|
@@ -135,6 +135,7 @@ task_definitions = {
|
|
135
135
|
"abf3725f-d9d9-4f48-a31d-b22efb422e08": entrada_cte_333,
|
136
136
|
"e9f9a463-c2b6-40cb-8d67-a80d0725b424": entrada_cte_1353,
|
137
137
|
"cf25b3f3-b9f1-45b5-a8d2-8c087024afdc": devolucao_ctf,
|
138
|
+
"47acd280-925a-4913-ac63-92e000018fb4": devolucao_ctf, #Cartao Frot
|
138
139
|
"f241dbd6-f4a7-4afb-822a-46a628cfc916": exportacao_docs_portal_b2b, # FIDC
|
139
140
|
"5ad2d209-e9da-438c-ba62-db0a5f9a3795": exportacao_docs_portal_b2b, # Banco do brasil
|
140
141
|
"326a746e-06ec-44c0-84bb-3a2dd866353e": cte_manual,
|
@@ -42,7 +42,7 @@ worker_automate_hub/tasks/jobs/conexao_rdp.py,sha256=S6QC4xhuo0pB5FjaUJZNMm1LIgE
|
|
42
42
|
worker_automate_hub/tasks/jobs/cte_manual.py,sha256=JucHpRMjMiy-QEJ0wtFnytLpN53tKXgCDI05nGLGclU,603
|
43
43
|
worker_automate_hub/tasks/jobs/cte_xml.py,sha256=CdDcDRjCJTU2DV0KAglqgCVb13ahMqzYdmaeJRKcR0o,15038
|
44
44
|
worker_automate_hub/tasks/jobs/descartes.py,sha256=E5kKef8j7e0PTm6NBeZAXkljUoAFEMjVWvHaJ8g2fv4,44451
|
45
|
-
worker_automate_hub/tasks/jobs/devolucao_ctf.py,sha256=
|
45
|
+
worker_automate_hub/tasks/jobs/devolucao_ctf.py,sha256=5vHKXUJjW5p-UgnghjgSTaSRYFbkiImQO7lNxFvAPbo,252967
|
46
46
|
worker_automate_hub/tasks/jobs/devolucao_prazo_a_faturar.py,sha256=byIk02T4fWCVgKisf50ZAEY26d8FMTlX9S7RnQVtoEE,256763
|
47
47
|
worker_automate_hub/tasks/jobs/ecac_estadual_go.py,sha256=dKkf22nH5gp3RErq5u0UzRsKyJ81fc6ZZ4vLtUuMwHA,21002
|
48
48
|
worker_automate_hub/tasks/jobs/ecac_estadual_main.py,sha256=8WmKe4-MRtzHobXz2S4YBDNN8alfawkC-BBlRY-mn1g,1726
|
@@ -68,7 +68,7 @@ worker_automate_hub/tasks/jobs/entrada_de_notas_9.py,sha256=VJ-2g7tuqbAICOarJpAh
|
|
68
68
|
worker_automate_hub/tasks/jobs/entrada_de_notas_9000.py,sha256=paUghcOOCWRA2qVmU89YmThRTm8fMWb2QkE6tM-_MC0,65504
|
69
69
|
worker_automate_hub/tasks/jobs/exemplo_processo.py,sha256=nV0iLoip2FH2-FhLmhX3nPqsfl_MPufZ3E5Q5krJvdc,3544
|
70
70
|
worker_automate_hub/tasks/jobs/extracao_fechamento_contabil.py,sha256=jSoDGT6SU_5PKItpLQJyJIGrFAwYFNawO9vVNhjovIw,19557
|
71
|
-
worker_automate_hub/tasks/jobs/extracao_fechamento_emsys.py,sha256=
|
71
|
+
worker_automate_hub/tasks/jobs/extracao_fechamento_emsys.py,sha256=ueYevtUf0Tdr60VdXQiBmqbrQRmixQ3ze0GVYJmzFEg,21418
|
72
72
|
worker_automate_hub/tasks/jobs/fechar_conexao_rdp.py,sha256=UWAKCS2dbfgDlSQOBdjmVJXfD1MMuUrOi3weDgB0CAc,5718
|
73
73
|
worker_automate_hub/tasks/jobs/fidc_exportacao_docs_portal_b2b.py,sha256=SOs2mORBJqHs089ApbLaPJVRXM7wWhf0e99URXqPlpQ,15020
|
74
74
|
worker_automate_hub/tasks/jobs/fidc_gerar_nosso_numero.py,sha256=zu92tRCvKPK0U6IGGF28ST-kERohJcNbys-DWk0tIco,12555
|
@@ -85,7 +85,7 @@ worker_automate_hub/tasks/jobs/notas_faturamento_sap.py,sha256=p6tVE027FHHXBxt2s
|
|
85
85
|
worker_automate_hub/tasks/jobs/playground.py,sha256=7vWDg9DwToHwGJ6_XOa8TQ6LmfRV5Qz2TaOV3q3P9sA,1918
|
86
86
|
worker_automate_hub/tasks/jobs/sped_fiscal.py,sha256=Zsq-IwKxA0b2tikO6Rri4WXVj10jK-Jd0-gxk8yVBH0,31064
|
87
87
|
worker_automate_hub/tasks/jobs/transferencias.py,sha256=-xW66JNYvhWmyNAYGukiLZ_O5NHQHskH36EkxtXnANg,44321
|
88
|
-
worker_automate_hub/tasks/task_definitions.py,sha256=
|
88
|
+
worker_automate_hub/tasks/task_definitions.py,sha256=TjD5yKFpNF8NrWCl9Y-ITDh-Dq1I4wtnTucgNFqQXV0,11464
|
89
89
|
worker_automate_hub/tasks/task_executor.py,sha256=9dmLUlMpJOI7FhbaFE593TcWnDxBvuXbGVecs1aaJxE,5728
|
90
90
|
worker_automate_hub/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
91
91
|
worker_automate_hub/utils/env.py,sha256=TacQjGRO7PUNpttrhTAc5Gnegaiysl2Knsv1P8qfkfs,57
|
@@ -96,7 +96,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
|
|
96
96
|
worker_automate_hub/utils/util.py,sha256=_pgZOFWgXoov6WPbqyRTDVXJCRFfucYB3gb9swzU7bo,198281
|
97
97
|
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=wmnpuOesmPSryZszmapa37b9YNC0E2MkeDYnbwr-0rU,33315
|
98
98
|
worker_automate_hub/worker.py,sha256=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
|
99
|
-
worker_automate_hub-0.5.
|
100
|
-
worker_automate_hub-0.5.
|
101
|
-
worker_automate_hub-0.5.
|
102
|
-
worker_automate_hub-0.5.
|
99
|
+
worker_automate_hub-0.5.618.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
100
|
+
worker_automate_hub-0.5.618.dist-info/METADATA,sha256=RqW9qTsSSQlA1Obs0jkh1ys0YZnzgxungbmyedd2Riw,3049
|
101
|
+
worker_automate_hub-0.5.618.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
102
|
+
worker_automate_hub-0.5.618.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.5.616.dist-info → worker_automate_hub-0.5.618.dist-info}/entry_points.txt
RENAMED
File without changes
|