worker-automate-hub 0.4.372__py3-none-any.whl → 0.4.374__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.
@@ -424,6 +424,8 @@ async def entrada_de_notas_16(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
424
424
  alterar_nop_result = await emsys.alterar_nop(nota.get("cfop"))
425
425
 
426
426
  if alterar_nop_result:
427
+ await worker_sleep(5)
428
+ resultado = await emsys.verify_max_variation()
427
429
  return alterar_nop_result
428
430
  except Exception as error:
429
431
  observacao = f"Erro Processo Entrada de Notas: {str(error)}"
@@ -439,8 +441,6 @@ async def entrada_de_notas_16(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
439
441
  await emsys.verify_warning_and_error("Warning", "OK")
440
442
  await emsys.verify_warning_and_error("Aviso", "OK")
441
443
 
442
- await worker_sleep(5)
443
- resultado = await emsys.verify_max_variation()
444
444
  await worker_sleep(2)
445
445
 
446
446
  max_attempts = 60
@@ -168,10 +168,10 @@ class EMSys:
168
168
  console.log(f"item name: {item_value}")
169
169
 
170
170
  # Verifica se o item é 'isqueiro'
171
- if "isqueiro" in item_value.lower():
171
+ if "isqueiro" or "acendedor" in item_value.lower():
172
172
  try:
173
- console.print(f"Trabalhando com os itens, alterando o código de tributação dos ISQUEIROS para manual \n")
174
- console.print("Item encontrado: ISQUEIRO. Processando...\n")
173
+ console.print(f"Trabalhando com os itens, alterando o código de tributação dos ISQUEIROS/ACENDEDORES para manual \n")
174
+ console.print("Item encontrado: ISQUEIRO/ACENDEDORES. Processando...\n")
175
175
 
176
176
  await self.alterar_item()
177
177
  await worker_sleep(3)
@@ -674,6 +674,6 @@ class EMSys:
674
674
 
675
675
  return RpaRetornoProcessoDTO(
676
676
  sucesso=True,
677
- retorno="NOP alterado com sucesso.",
677
+ retorno="Nota lançada com sucesso!",
678
678
  status=RpaHistoricoStatusEnum.Sucesso,
679
679
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: worker-automate-hub
3
- Version: 0.4.372
3
+ Version: 0.4.374
4
4
  Summary: Worker Automate HUB é uma aplicação para automatizar rotinas de RPA nos ambientes Argenta.
5
5
  Author: Joel Paim
6
6
  Requires-Python: >=3.12,<4.0
@@ -38,7 +38,7 @@ worker_automate_hub/tasks/jobs/ecac_estadual_sc.py,sha256=ZTjc4rS8J7VfWHPFLkJBcS
38
38
  worker_automate_hub/tasks/jobs/ecac_estadual_sp.py,sha256=iS6za_nGCzBRVCXYYuUTIyMWJznHp8l6BPahqwzc_5c,29102
39
39
  worker_automate_hub/tasks/jobs/ecac_federal.py,sha256=ORQbA4DCfyHJqjfvOCenc97QHvBCBlA3oMSzl59K6vg,55316
40
40
  worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=5Rqz_kf-399nEA3s1_69MGOAn6Mk0GbdAP_0EFzAcYw,16570
41
- worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=5wzlT8NzR2Rmw5nQbhDM40OIwyStQqZSgrPiG71jKhc,21115
41
+ worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=X6qeMEC1aH-0YKCe7aAEMmnstwhr89tkOVNnF1UBCVs,21131
42
42
  worker_automate_hub/tasks/jobs/entrada_de_notas_207.py,sha256=mkAaQYDPd9QLz_LPn3AD6NjvWwr01z5NCzMIHg93cH0,24931
43
43
  worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=bAzQZD6EP7_eofC0GL45CLAqKwZ5N50Wzbphm3ZhoYs,32391
44
44
  worker_automate_hub/tasks/jobs/entrada_de_notas_33.py,sha256=zwDQzPbqqw1RpjJkF3VSkMnqgrzjFAXLGq7xrFo5D0o,31459
@@ -65,9 +65,9 @@ worker_automate_hub/utils/logger.py,sha256=FYV9fg0_RAYJF_ZOCJEbqQAiCXlXk2gMpvUU1
65
65
  worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg3Ft68,1162
66
66
  worker_automate_hub/utils/updater.py,sha256=0LR6Xpe3HZk-xu-trH7vKRhP5FXp0nhp1qxtygE2Jps,7280
67
67
  worker_automate_hub/utils/util.py,sha256=hUzQOnVYwvlrFzAv1p5Lt3s1dmW_77NZFuG77QQHKL4,119565
68
- worker_automate_hub/utils/utils_nfe_entrada.py,sha256=4--3HDyWddT8vw2mBNY_-9IscvAQYBygwPIMiKvAG-w,27583
68
+ worker_automate_hub/utils/utils_nfe_entrada.py,sha256=GsvN7XMWAmCFHqC0YMZsjsb0myL-7ahuzHN4jPNn0zc,27623
69
69
  worker_automate_hub/worker.py,sha256=vkl_x7gSo6nQlhSBLwRkGx6LEONnYptfBaGxOy1ZLsE,4634
70
- worker_automate_hub-0.4.372.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
71
- worker_automate_hub-0.4.372.dist-info/METADATA,sha256=D0Xtpm1RR6jLz31o8tM7Lq2odrNR8DJVRI1WOTqAnTw,2895
72
- worker_automate_hub-0.4.372.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
73
- worker_automate_hub-0.4.372.dist-info/RECORD,,
70
+ worker_automate_hub-0.4.374.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
71
+ worker_automate_hub-0.4.374.dist-info/METADATA,sha256=W1ARGDigNtl4LIa0mmHe0LX6RtpgpftHom4M_Z8ly-c,2895
72
+ worker_automate_hub-0.4.374.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
73
+ worker_automate_hub-0.4.374.dist-info/RECORD,,