worker-automate-hub 0.4.401__tar.gz → 0.4.402__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/PKG-INFO +1 -1
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/pyproject.toml +1 -1
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/entrada_de_notas_16.py +1 -1
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/utils/utils_nfe_entrada.py +19 -7
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/README.md +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/__init__.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/api/__init__.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/api/ahead_service.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/api/client.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/api/helpers/__init__.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/api/helpers/api_helpers.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/api/rpa_historico_service.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/cli.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/config/__init__.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/config/settings.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/config.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/core/so_manipulation.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/decorators/__init__.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/decorators/deprecation.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/decorators/rate_limit.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/decorators/repeat.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/decorators/retry.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/decorators/singleton.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/decorators/timeit.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/models/__init__.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/models/dao/__init__.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/models/dao/rpa_configuracao.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/models/dao/rpa_historico.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/models/dao/rpa_processo.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/models/dto/__init__.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/models/dto/rpa_historico_request_dto.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/models/dto/rpa_processo_entrada_dto.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/models/dto/rpa_sistema_dto.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/__init__.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/__init__.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/coleta_dje_process.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/conexao_rdp.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/descartes.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/ecac_estadual_go.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/ecac_estadual_main.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/ecac_estadual_mt.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/ecac_estadual_sc.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/ecac_estadual_sp.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/ecac_federal.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/entrada_de_notas_15.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/entrada_de_notas_207.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/entrada_de_notas_32.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/entrada_de_notas_33.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/entrada_de_notas_34.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/entrada_de_notas_36.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/entrada_de_notas_39.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/entrada_de_notas_500.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/entrada_de_notas_505.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/entrada_de_notas_9.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/exemplo_processo.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/fidc_gerar_nosso_numero.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/fidc_remessa_cobranca_cnab240.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/login_emsys.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/playground.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/sped_fiscal.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/jobs/transferencias.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/task_definitions.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/task_executor.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/utils/__init__.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/utils/env.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/utils/get_creds_gworkspace.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/utils/logger.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/utils/toast.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/utils/updater.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/utils/util.py +0 -0
- {worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/worker.py +0 -0
@@ -172,7 +172,7 @@ class EMSys:
|
|
172
172
|
console.log(f"item name: {item_value}")
|
173
173
|
|
174
174
|
# Verifica se o item é 'isqueiro'
|
175
|
-
if "isqueiro" or "acendedor" in item_value.lower():
|
175
|
+
if "isqueiro" in item_value.lower() or "acendedor" in item_value.lower():
|
176
176
|
try:
|
177
177
|
console.print(f"Trabalhando com os itens, alterando o código de tributação dos ISQUEIROS/ACENDEDORES para manual \n")
|
178
178
|
console.print("Item encontrado: ISQUEIRO/ACENDEDORES. Processando...\n")
|
@@ -188,12 +188,23 @@ class EMSys:
|
|
188
188
|
console.print(
|
189
189
|
"Item não é isqueiro. Continuando para o próximo...\n"
|
190
190
|
)
|
191
|
+
#Seleciona o IPI 0%
|
192
|
+
ipi_combobox = main_window.child_window(
|
193
|
+
class_name="TDBIComboBox", found_index=4
|
194
|
+
)
|
195
|
+
ipi_combobox.select("IPI 0%")
|
196
|
+
|
197
|
+
# Click Alterar
|
198
|
+
await worker_sleep(1)
|
199
|
+
pyautogui.click(1180, 776)
|
200
|
+
await worker_sleep(1)
|
201
|
+
|
191
202
|
# Fecha a janela de alteração de item
|
192
|
-
try:
|
193
|
-
|
194
|
-
|
195
|
-
except Exception as e:
|
196
|
-
|
203
|
+
# try:
|
204
|
+
# pyautogui.hotkey('esc')
|
205
|
+
# console.print("Apertando [ESC]", style="bold blue")
|
206
|
+
# except Exception as e:
|
207
|
+
# console.print(f"Erro ao cancelar edição de item: {e}", style="bold red")
|
197
208
|
await worker_sleep(3)
|
198
209
|
|
199
210
|
index_item_atual += 1
|
@@ -201,7 +212,8 @@ class EMSys:
|
|
201
212
|
await worker_sleep(1)
|
202
213
|
pyautogui.click(1083, 682)
|
203
214
|
|
204
|
-
|
215
|
+
|
216
|
+
pyautogui.click(619, 377)
|
205
217
|
|
206
218
|
except Exception as e:
|
207
219
|
return {
|
File without changes
|
File without changes
|
{worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/api/__init__.py
RENAMED
File without changes
|
{worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/api/ahead_service.py
RENAMED
File without changes
|
{worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/api/client.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/config/__init__.py
RENAMED
File without changes
|
{worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/config/settings.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/decorators/repeat.py
RENAMED
File without changes
|
{worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/decorators/retry.py
RENAMED
File without changes
|
File without changes
|
{worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/decorators/timeit.py
RENAMED
File without changes
|
{worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/models/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/tasks/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/utils/__init__.py
RENAMED
File without changes
|
{worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/utils/env.py
RENAMED
File without changes
|
File without changes
|
{worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/utils/logger.py
RENAMED
File without changes
|
{worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/utils/toast.py
RENAMED
File without changes
|
{worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/utils/updater.py
RENAMED
File without changes
|
{worker_automate_hub-0.4.401 → worker_automate_hub-0.4.402}/worker_automate_hub/utils/util.py
RENAMED
File without changes
|
File without changes
|