worker-automate-hub 0.5.13__py3-none-any.whl → 0.5.14__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/entrada_de_notas_500.py +5 -1
- worker_automate_hub/utils/util.py +17 -2
- {worker_automate_hub-0.5.13.dist-info → worker_automate_hub-0.5.14.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.5.13.dist-info → worker_automate_hub-0.5.14.dist-info}/RECORD +6 -6
- {worker_automate_hub-0.5.13.dist-info → worker_automate_hub-0.5.14.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.5.13.dist-info → worker_automate_hub-0.5.14.dist-info}/entry_points.txt +0 -0
| @@ -576,9 +576,13 @@ async def entrada_de_notas_500(task: RpaProcessoEntradaDTO) -> RpaRetornoProcess | |
| 576 576 | 
             
                            if i <= max_try and first_nop:
         | 
| 577 577 | 
             
                                console.print(f"A segunda correspondência '1152 - ENTRADAS P/ TRANSFERENCIA DE MERCADORIAS- 1.152' foi encontrada e selecionada.")
         | 
| 578 578 | 
             
                            else:
         | 
| 579 | 
            +
                                if first_nop:
         | 
| 580 | 
            +
                                    retorno_backoffice = f"Erro: não foi encontrada a segunda correspondência dentro do número máximo de tentativas ({max_try})."
         | 
| 581 | 
            +
                                else:
         | 
| 582 | 
            +
                                    retorno_backoffice = f"Erro: não foi encontrada a primeira correspondência dentro do número máximo de tentativas ({max_try})."
         | 
| 579 583 | 
             
                                return RpaRetornoProcessoDTO(
         | 
| 580 584 | 
             
                                    sucesso=False,
         | 
| 581 | 
            -
                                    retorno= | 
| 585 | 
            +
                                    retorno=retorno_backoffice,
         | 
| 582 586 | 
             
                                    status=RpaHistoricoStatusEnum.Falha,
         | 
| 583 587 | 
             
                                )
         | 
| 584 588 |  | 
| @@ -2215,9 +2215,24 @@ async def select_documento_type(document_type: str) -> RpaRetornoProcessoDTO: | |
| 2215 2215 | 
             
                        set_combobox("||List", document_type)
         | 
| 2216 2216 | 
             
                    except Exception as e:
         | 
| 2217 2217 | 
             
                        console.log("Não foi possivel selecionar o tipo de documento via set combobox, realizando a alteração utilizando send keys")
         | 
| 2218 | 
            -
                        combo_box_tipo_documento. | 
| 2219 | 
            -
                         | 
| 2218 | 
            +
                        combo_box_tipo_documento.click()
         | 
| 2219 | 
            +
                        await worker_sleep(2)
         | 
| 2220 | 
            +
                        pyautogui.write("N")
         | 
| 2221 | 
            +
                        await worker_sleep(1)
         | 
| 2222 | 
            +
                        pyautogui.hotkey("enter")
         | 
| 2223 | 
            +
                        await worker_sleep(2)
         | 
| 2220 2224 |  | 
| 2225 | 
            +
                        max_try =  20
         | 
| 2226 | 
            +
                        i = 0
         | 
| 2227 | 
            +
                        while i <= max_try:
         | 
| 2228 | 
            +
                            combo_box_tipo_documento = panel_TTabSheet.child_window(class_name="TDBIComboBox", found_index=1)
         | 
| 2229 | 
            +
                            document_type_selected = combo_box_tipo_documento.window_text()
         | 
| 2230 | 
            +
                            if document_type == document_type_selected:
         | 
| 2231 | 
            +
                                    break
         | 
| 2232 | 
            +
                            else:
         | 
| 2233 | 
            +
                                pyautogui.press('down')
         | 
| 2234 | 
            +
                                await worker_sleep(2)
         | 
| 2235 | 
            +
                                i = i + 1
         | 
| 2221 2236 |  | 
| 2222 2237 |  | 
| 2223 2238 | 
             
                    combo_box_tipo_documento = panel_TTabSheet.child_window(class_name="TDBIComboBox", found_index=1)
         | 
| @@ -50,7 +50,7 @@ worker_automate_hub/tasks/jobs/entrada_de_notas_33.py,sha256=ktXc_kdMhlz9cbb7Xjf | |
| 50 50 | 
             
            worker_automate_hub/tasks/jobs/entrada_de_notas_34.py,sha256=iaSmtWTWlazHDtGp22yTV5J5rHDhUCbEaCAnpU7UWyM,31808
         | 
| 51 51 | 
             
            worker_automate_hub/tasks/jobs/entrada_de_notas_36.py,sha256=vFkDcgJ9uxrMMLYdeONCMxh6_evnhgF1Sun5HEHAWa4,22716
         | 
| 52 52 | 
             
            worker_automate_hub/tasks/jobs/entrada_de_notas_39.py,sha256=t_gIpj1dh_1AZu8LdI8bXVoi-KLOdsnoZIZ4l-kpy1k,33688
         | 
| 53 | 
            -
            worker_automate_hub/tasks/jobs/entrada_de_notas_500.py,sha256= | 
| 53 | 
            +
            worker_automate_hub/tasks/jobs/entrada_de_notas_500.py,sha256=cNpqXxBhHXRdL5PhO9vRx6gE1jVzi28nZDkmewY5x9s,32516
         | 
| 54 54 | 
             
            worker_automate_hub/tasks/jobs/entrada_de_notas_505.py,sha256=jIml8gjXPdI6_x7S9VVV8IrKZRF7_PTNOMnhNmYMDTU,14490
         | 
| 55 55 | 
             
            worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py,sha256=oxH2CUJj3UyhYoSxEY2hUr_6wFgZPLcHswEbApIu8VY,15558
         | 
| 56 56 | 
             
            worker_automate_hub/tasks/jobs/entrada_de_notas_9.py,sha256=Urt_7dZNuyUkSyG9fYb2ArBXzEONXlrqWIesoXeL1EI,50984
         | 
| @@ -70,10 +70,10 @@ worker_automate_hub/utils/get_creds_gworkspace.py,sha256=ZJ0IIEjM4IXIV9rwfbOZ1V1 | |
| 70 70 | 
             
            worker_automate_hub/utils/logger.py,sha256=FYV9fg0_RAYJF_ZOCJEbqQAiCXlXk2gMpvUU1rzT_xs,671
         | 
| 71 71 | 
             
            worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg3Ft68,1162
         | 
| 72 72 | 
             
            worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbVlwDl49Y,7972
         | 
| 73 | 
            -
            worker_automate_hub/utils/util.py,sha256= | 
| 73 | 
            +
            worker_automate_hub/utils/util.py,sha256=s_rrJYYWgMYJylaySnr-7ejKEUFz8lw_U1NQMD1Z0hE,126499
         | 
| 74 74 | 
             
            worker_automate_hub/utils/utils_nfe_entrada.py,sha256=p5r_L5k7gqCBvV8v6dbLFM6INKiSpGc4Gegid0_YAh4,29017
         | 
| 75 75 | 
             
            worker_automate_hub/worker.py,sha256=ojfBsKdCuUAQS5_F3eZVMLV015GmtrasVvxKsmo2rx8,5942
         | 
| 76 | 
            -
            worker_automate_hub-0.5. | 
| 77 | 
            -
            worker_automate_hub-0.5. | 
| 78 | 
            -
            worker_automate_hub-0.5. | 
| 79 | 
            -
            worker_automate_hub-0.5. | 
| 76 | 
            +
            worker_automate_hub-0.5.14.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
         | 
| 77 | 
            +
            worker_automate_hub-0.5.14.dist-info/METADATA,sha256=K-ivTjfWFyTHUljzwWi7dThhC2YbjvD8LUmtO-CCZ-M,2894
         | 
| 78 | 
            +
            worker_automate_hub-0.5.14.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
         | 
| 79 | 
            +
            worker_automate_hub-0.5.14.dist-info/RECORD,,
         | 
| 
            File without changes
         | 
    
        {worker_automate_hub-0.5.13.dist-info → worker_automate_hub-0.5.14.dist-info}/entry_points.txt
    RENAMED
    
    | 
            File without changes
         |