otrs-somconnexio 0.6.2__tar.gz → 0.6.4__tar.gz
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.
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/PKG-INFO +1 -1
- otrs_somconnexio-0.6.4/otrs_somconnexio/otrs_models/configurations/changes/change_pack.py +6 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/configurations/querys/check_coverage.py +1 -0
- otrs_somconnexio-0.6.4/otrs_somconnexio/otrs_models/configurations/querys/we_call_you.py +27 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_types/base_ticket.py +5 -1
- otrs_somconnexio-0.6.4/otrs_somconnexio/otrs_models/ticket_types/change_pack_not_shared_data.py +36 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_types/check_coverage_ticket.py +3 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_types/we_call_you_ticket.py +21 -5
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio.egg-info/PKG-INFO +1 -1
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio.egg-info/SOURCES.txt +3 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/setup.py +1 -1
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/ticket_types/test_add_data.py +1 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/ticket_types/test_change_email.py +2 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/ticket_types/test_change_iban.py +1 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/ticket_types/test_change_owner.py +1 -0
- otrs_somconnexio-0.6.4/tests/otrs_models/ticket_types/test_change_pack_not_shared_data.py +77 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/ticket_types/test_change_personal_email.py +1 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/ticket_types/test_change_tariff.py +5 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/ticket_types/test_change_tariff_adsl_landline.py +1 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/ticket_types/test_change_tariff_adsl_out_landline.py +1 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/ticket_types/test_change_tariff_fiber.py +2 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/ticket_types/test_check_coverage.py +1 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/ticket_types/test_shared_bond.py +1 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/ticket_types/test_we_call_you.py +36 -10
- otrs_somconnexio-0.6.2/otrs_somconnexio/otrs_models/configurations/querys/we_call_you.py +0 -15
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/README.md +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/client.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/exceptions.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/abstract_article.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/adsl_data.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/adsl_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/adsl_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/configurations/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/configurations/changes/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/configurations/changes/add_data.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/configurations/changes/change_email.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/configurations/changes/change_iban.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/configurations/changes/change_owner.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/configurations/changes/change_shared_bond.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/configurations/changes/change_tariff.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/configurations/changes/change_tariff_adsl.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/configurations/changes/change_tariff_fiber.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/configurations/provision/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/configurations/provision/adsl_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/configurations/provision/fiber_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/configurations/provision/mobile_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/configurations/provision/router_4G_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/configurations/provision/switchboard_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/configurations/querys/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/coverage/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/coverage/adsl.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/coverage/asociatel_fiber.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/coverage/mm_fiber.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/coverage/orange_fiber.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/coverage/vdf_fiber.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/coverage_article.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/coverage_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/customer_data.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/customer_user.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/fiber_data.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/fiber_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/fiber_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/internet_data.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/internet_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/mobile_data.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/mobile_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/mobile_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/process_ticket/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/process_ticket/internet.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/process_ticket/mobile.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/process_ticket/process_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/providers.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/provision_article.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/provision_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/provision_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/router_4G_data.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/router_4G_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/router_4G_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/service.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/switchboard_data.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/switchboard_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/switchboard_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/telecom_company.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_factory.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_types/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_types/add_data_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_types/base_change_tariff_ba_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_types/base_change_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_types/base_customer_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_types/change_email_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_types/change_iban_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_types/change_owner_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_types/change_personal_email_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_types/change_shared_bond_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_types/change_tariff_adsl_landline_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_types/change_tariff_adsl_out_landline_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_types/change_tariff_adsl_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_types/change_tariff_fiber_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_types/change_tariff_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_types/change_tariff_ticket_mobile_pack.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/ticket_types/change_tariff_ticket_shared_bonds.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/vf_provisioning_article.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/responses/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/responses/ticket_creation.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/services/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/services/activate_change_tarriff_mobile_tickets.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/services/base_get_ticket_by_number.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/services/change_to_confirm_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/services/get_mobile_related_tickets.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/services/get_sharing_data_mobile_tickets.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/services/get_ticket_title.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/services/mapping_mobile_minutes.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/services/mapping_services.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/services/move_sharing_data_mobile_tickets.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/services/search_tickets_mobile_change_tariff.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/services/search_tickets_service.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/services/set_SIM_recieved_mobile_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/services/set_SIM_returned_mobile_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/services/set_fiber_contract_code_mobile_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/services/unblock_mobile_pack_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/services/update_process_ticket_with_VF_provisioning.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/services/update_process_ticket_with_coverage_tickets_info_service.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/services/update_ticket_DF.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/services/update_ticket_with_provider_info.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/user_management_client/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/user_management_client/client.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/user_management_client/user_management_response.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio.egg-info/dependency_links.txt +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio.egg-info/not-zip-safe +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio.egg-info/requires.txt +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio.egg-info/top_level.txt +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/setup.cfg +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/data/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/data/otrs_raw_responses.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/integration/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/integration/test_change_customer_language.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/integration/test_ticket_factory.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/integration/test_update_ticket_with_coverage_data.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/common_helper.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/configuration/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/configuration/changes/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/configuration/changes/test_change_tariff_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/configuration/provision/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/configuration/provision/test_adsl_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/configuration/provision/test_fiber_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/configuration/provision/test_mobile_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/process_ticket/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/process_ticket/test_internet_process_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/process_ticket/test_mobile_process_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_abstract_article.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_adsl_data.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_adsl_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_adsl_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_coverage_article.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_coverage_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_customer_user.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_fiber_data.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_fiber_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_fiber_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_mobile_data.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_mobile_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_mobile_paused_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_mobile_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_provision_article.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_router_4G_data.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_router_4G_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_router_4G_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_service.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_switchboard_data.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_switchboard_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_telecom_company.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_ticket_factory.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/test_vf_provisioning_article.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/ticket_types/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/ticket_types/test_change_tariff_mobile_pack.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/ticket_types/test_change_tariff_shared_bonds.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/responses/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/responses/test_ticket_creation.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/services/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/services/test_activate_change_tariff_mobile_tickets.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/services/test_change_to_confirm_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/services/test_get_mobile_related_tickets.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/services/test_get_sharing_data_mobile_tickets.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/services/test_mapping_mobile_minutes.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/services/test_mapping_services.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/services/test_move_sharing_data_mobile_tickets.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/services/test_search_tickets_mobile_change_tariff.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/services/test_search_tickets_service.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/services/test_set_SIM_recieved_mobile_ticket_service.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/services/test_set_SIM_returned_mobile_ticket_service.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/services/test_set_fiber_contract_code_mobile_ticket_service.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/services/test_unblock_mobile_pack_ticket.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/services/test_update_process_ticket_with_VF_provisioning.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/services/test_update_process_ticket_with_coverage_tickets_info_service.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/services/test_update_ticket_with_provider_info.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/user_management_client/__init__.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/user_management_client/test_client.py +0 -0
- {otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/user_management_client/test_user_management_response.py +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
class WeCallYouConfiguration:
|
|
2
|
+
process_id = "Process-975190079a628ddf1eb4f0188dce2e4a"
|
|
3
|
+
activity_id = "Activity-1b94759f56e5b7ecf67e1330d1c6afab"
|
|
4
|
+
type = "Petición"
|
|
5
|
+
state = "new"
|
|
6
|
+
priority = "3 normal"
|
|
7
|
+
service = "Oficina Virtual"
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class WeCallYouCATConfiguration(WeCallYouConfiguration):
|
|
11
|
+
queue_id = 144
|
|
12
|
+
subject = "Formulari 'Vols que et truquem?' (CAT)"
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class WeCallYouESConfiguration(WeCallYouConfiguration):
|
|
16
|
+
queue_id = 145
|
|
17
|
+
subject = "Formulari 'Vols que et truquem?' (ES)"
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class WeCallYouCompanyCATConfiguration(WeCallYouConfiguration):
|
|
21
|
+
queue_id = 230
|
|
22
|
+
subject = "Formulari 'Vols que et truquem?' - Empreses (CAT)"
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class WeCallYouCompanyESConfiguration(WeCallYouConfiguration):
|
|
26
|
+
queue_id = 231
|
|
27
|
+
subject = "Formulari 'Vols que et truquem?' - Empreses (ES)"
|
|
@@ -45,6 +45,9 @@ class BaseTicket:
|
|
|
45
45
|
def _get_priority(self):
|
|
46
46
|
return "3 normal"
|
|
47
47
|
|
|
48
|
+
def _get_service(self):
|
|
49
|
+
return False
|
|
50
|
+
|
|
48
51
|
def _get_queue_id(self):
|
|
49
52
|
raise NotImplementedError("Tickets must implement _get_queue_id")
|
|
50
53
|
|
|
@@ -77,6 +80,7 @@ class BaseTicket:
|
|
|
77
80
|
"Priority": self._get_priority(),
|
|
78
81
|
"CustomerUser": self.customer_code,
|
|
79
82
|
"CustomerID": self.customer_code,
|
|
83
|
+
"Service": self._get_service(),
|
|
80
84
|
}
|
|
81
85
|
)
|
|
82
86
|
|
|
@@ -131,7 +135,7 @@ class BaseTicket:
|
|
|
131
135
|
article=article,
|
|
132
136
|
dynamic_fields=dynamic_fields,
|
|
133
137
|
State=state,
|
|
134
|
-
attachments=attachments
|
|
138
|
+
attachments=attachments,
|
|
135
139
|
)
|
|
136
140
|
|
|
137
141
|
def _client(self):
|
otrs_somconnexio-0.6.4/otrs_somconnexio/otrs_models/ticket_types/change_pack_not_shared_data.py
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
from otrs_somconnexio.otrs_models.configurations.changes.change_pack import (
|
|
2
|
+
ChangePackNotSharedDataTicketConfiguration,
|
|
3
|
+
)
|
|
4
|
+
from .base_customer_ticket import BaseCustomerTicket
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class ChangePackNotSharedDataTicket(BaseCustomerTicket):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
username,
|
|
11
|
+
customer_code,
|
|
12
|
+
fields_dict,
|
|
13
|
+
override_ticket_ids=[],
|
|
14
|
+
fallback_path="/tmp/tickets/",
|
|
15
|
+
):
|
|
16
|
+
super(ChangePackNotSharedDataTicket, self).__init__(
|
|
17
|
+
username, customer_code, fields_dict, override_ticket_ids, fallback_path
|
|
18
|
+
)
|
|
19
|
+
self.configuration = ChangePackNotSharedDataTicketConfiguration()
|
|
20
|
+
|
|
21
|
+
def _get_queue_id(self):
|
|
22
|
+
return self.configuration.queue_id
|
|
23
|
+
|
|
24
|
+
def _get_subject(self):
|
|
25
|
+
return self.configuration.subject
|
|
26
|
+
|
|
27
|
+
def _get_service(self):
|
|
28
|
+
return self.configuration.service
|
|
29
|
+
|
|
30
|
+
def _get_dynamic_fields(self):
|
|
31
|
+
return {
|
|
32
|
+
"refOdooContract": ";".join(self.fields["selected_subscriptions"]),
|
|
33
|
+
"fibraSenseFix": self._transform_boolean_df(
|
|
34
|
+
self.fields["fiber_without_landline"]
|
|
35
|
+
),
|
|
36
|
+
}
|
|
@@ -30,6 +30,9 @@ class CheckCoverageTicket(BaseCustomerTicket):
|
|
|
30
30
|
def _get_subject(self):
|
|
31
31
|
return self.configuration.subject
|
|
32
32
|
|
|
33
|
+
def _get_service(self):
|
|
34
|
+
return self.configuration.service
|
|
35
|
+
|
|
33
36
|
def _get_dynamic_fields(self):
|
|
34
37
|
return {
|
|
35
38
|
"nomSoci": self.fields["name"],
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
from otrs_somconnexio.otrs_models.configurations.querys.we_call_you import (
|
|
2
2
|
WeCallYouCATConfiguration,
|
|
3
|
+
WeCallYouCompanyCATConfiguration,
|
|
4
|
+
WeCallYouCompanyESConfiguration,
|
|
3
5
|
WeCallYouESConfiguration,
|
|
4
6
|
)
|
|
5
|
-
from otrs_somconnexio.otrs_models.ticket_types.base_customer_ticket import
|
|
7
|
+
from otrs_somconnexio.otrs_models.ticket_types.base_customer_ticket import (
|
|
8
|
+
BaseCustomerTicket,
|
|
9
|
+
)
|
|
6
10
|
|
|
7
11
|
|
|
8
12
|
class WeCallYouTicket(BaseCustomerTicket):
|
|
@@ -10,10 +14,8 @@ class WeCallYouTicket(BaseCustomerTicket):
|
|
|
10
14
|
super(WeCallYouTicket, self).__init__(
|
|
11
15
|
username, customer_code, fields_dict, *args
|
|
12
16
|
)
|
|
13
|
-
self.configuration = (
|
|
14
|
-
|
|
15
|
-
if fields_dict["language"] == "ca_ES"
|
|
16
|
-
else WeCallYouESConfiguration
|
|
17
|
+
self.configuration = self._get_congifuration(
|
|
18
|
+
fields_dict["language"], fields_dict["is_company"]
|
|
17
19
|
)
|
|
18
20
|
|
|
19
21
|
def _get_activity_id(self):
|
|
@@ -28,10 +30,24 @@ class WeCallYouTicket(BaseCustomerTicket):
|
|
|
28
30
|
def _get_subject(self):
|
|
29
31
|
return self.configuration.subject
|
|
30
32
|
|
|
33
|
+
def _get_service(self):
|
|
34
|
+
return self.configuration.service
|
|
35
|
+
|
|
31
36
|
def _get_dynamic_fields(self):
|
|
32
37
|
return {
|
|
33
38
|
"personaContacte": self.fields["name"],
|
|
34
39
|
"horariTrucada": self.fields["schedule"],
|
|
35
40
|
"telefonContacte": self.fields["phone"],
|
|
36
41
|
"motiuTrucada": self.fields["reason"],
|
|
42
|
+
"midaEmpresa": self.fields.get("company_size"),
|
|
37
43
|
}
|
|
44
|
+
|
|
45
|
+
def _get_congifuration(self, lang, is_company):
|
|
46
|
+
if lang == "ca_ES":
|
|
47
|
+
if is_company:
|
|
48
|
+
return WeCallYouCompanyCATConfiguration
|
|
49
|
+
return WeCallYouCATConfiguration
|
|
50
|
+
else:
|
|
51
|
+
if is_company:
|
|
52
|
+
return WeCallYouCompanyESConfiguration
|
|
53
|
+
return WeCallYouESConfiguration
|
|
@@ -46,6 +46,7 @@ otrs_somconnexio/otrs_models/configurations/changes/add_data.py
|
|
|
46
46
|
otrs_somconnexio/otrs_models/configurations/changes/change_email.py
|
|
47
47
|
otrs_somconnexio/otrs_models/configurations/changes/change_iban.py
|
|
48
48
|
otrs_somconnexio/otrs_models/configurations/changes/change_owner.py
|
|
49
|
+
otrs_somconnexio/otrs_models/configurations/changes/change_pack.py
|
|
49
50
|
otrs_somconnexio/otrs_models/configurations/changes/change_shared_bond.py
|
|
50
51
|
otrs_somconnexio/otrs_models/configurations/changes/change_tariff.py
|
|
51
52
|
otrs_somconnexio/otrs_models/configurations/changes/change_tariff_adsl.py
|
|
@@ -78,6 +79,7 @@ otrs_somconnexio/otrs_models/ticket_types/base_ticket.py
|
|
|
78
79
|
otrs_somconnexio/otrs_models/ticket_types/change_email_ticket.py
|
|
79
80
|
otrs_somconnexio/otrs_models/ticket_types/change_iban_ticket.py
|
|
80
81
|
otrs_somconnexio/otrs_models/ticket_types/change_owner_ticket.py
|
|
82
|
+
otrs_somconnexio/otrs_models/ticket_types/change_pack_not_shared_data.py
|
|
81
83
|
otrs_somconnexio/otrs_models/ticket_types/change_personal_email_ticket.py
|
|
82
84
|
otrs_somconnexio/otrs_models/ticket_types/change_shared_bond_ticket.py
|
|
83
85
|
otrs_somconnexio/otrs_models/ticket_types/change_tariff_adsl_landline_ticket.py
|
|
@@ -161,6 +163,7 @@ tests/otrs_models/ticket_types/test_add_data.py
|
|
|
161
163
|
tests/otrs_models/ticket_types/test_change_email.py
|
|
162
164
|
tests/otrs_models/ticket_types/test_change_iban.py
|
|
163
165
|
tests/otrs_models/ticket_types/test_change_owner.py
|
|
166
|
+
tests/otrs_models/ticket_types/test_change_pack_not_shared_data.py
|
|
164
167
|
tests/otrs_models/ticket_types/test_change_personal_email.py
|
|
165
168
|
tests/otrs_models/ticket_types/test_change_tariff.py
|
|
166
169
|
tests/otrs_models/ticket_types/test_change_tariff_adsl_landline.py
|
|
@@ -38,6 +38,7 @@ class TestCaseChangeEmailTicket:
|
|
|
38
38
|
"Priority": ChangeEmailTicket._get_priority(self),
|
|
39
39
|
"CustomerUser": customer_code,
|
|
40
40
|
"CustomerID": customer_code,
|
|
41
|
+
"Service": False,
|
|
41
42
|
}
|
|
42
43
|
expected_message = "-"
|
|
43
44
|
expected_article_data = {
|
|
@@ -114,6 +115,7 @@ class TestCaseChangeEmailTicket:
|
|
|
114
115
|
"Priority": ChangeEmailTicket._get_priority(self),
|
|
115
116
|
"CustomerUser": customer_code,
|
|
116
117
|
"CustomerID": customer_code,
|
|
118
|
+
"Service": False,
|
|
117
119
|
}
|
|
118
120
|
expected_message = "-"
|
|
119
121
|
expected_article_data = {
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
from otrs_somconnexio.otrs_models.configurations.changes.change_pack import (
|
|
2
|
+
ChangePackNotSharedDataTicketConfiguration,
|
|
3
|
+
)
|
|
4
|
+
from otrs_somconnexio.otrs_models.ticket_types.change_pack_not_shared_data import (
|
|
5
|
+
ChangePackNotSharedDataTicket,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
username = "7456787G"
|
|
9
|
+
customer_code = "1234"
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class TestCaseChangePackNotSharedDataTicket:
|
|
13
|
+
def test_create(self, mocker):
|
|
14
|
+
OTRSClientMock = mocker.patch(
|
|
15
|
+
"otrs_somconnexio.otrs_models.ticket_types.base_ticket.OTRSClient",
|
|
16
|
+
return_value=mocker.Mock(),
|
|
17
|
+
)
|
|
18
|
+
TicketMock = mocker.patch(
|
|
19
|
+
"otrs_somconnexio.otrs_models.ticket_types.base_ticket.Ticket",
|
|
20
|
+
return_value=mocker.Mock(),
|
|
21
|
+
)
|
|
22
|
+
ArticleMock = mocker.patch(
|
|
23
|
+
"otrs_somconnexio.otrs_models.ticket_types.base_ticket.Article",
|
|
24
|
+
return_value=mocker.Mock(),
|
|
25
|
+
)
|
|
26
|
+
DynamicFieldMock = mocker.patch(
|
|
27
|
+
"otrs_somconnexio.otrs_models.ticket_types.base_ticket.DynamicField",
|
|
28
|
+
return_value=mocker.Mock(),
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
expected_ticket_data = {
|
|
32
|
+
"Title": ChangePackNotSharedDataTicketConfiguration.subject,
|
|
33
|
+
"QueueID": ChangePackNotSharedDataTicketConfiguration.queue_id,
|
|
34
|
+
"State": ChangePackNotSharedDataTicket._get_state(self),
|
|
35
|
+
"Type": ChangePackNotSharedDataTicket._get_type(self),
|
|
36
|
+
"Priority": ChangePackNotSharedDataTicket._get_priority(self),
|
|
37
|
+
"CustomerUser": customer_code,
|
|
38
|
+
"CustomerID": customer_code,
|
|
39
|
+
"Service": ChangePackNotSharedDataTicketConfiguration.service,
|
|
40
|
+
}
|
|
41
|
+
expected_article_data = {
|
|
42
|
+
"Subject": ChangePackNotSharedDataTicketConfiguration.subject,
|
|
43
|
+
"Body": "-",
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
fields_dict = {
|
|
47
|
+
"selected_subscriptions": ["111", "222"],
|
|
48
|
+
"fiber_without_landline": True,
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
ChangePackNotSharedDataTicket(
|
|
52
|
+
username,
|
|
53
|
+
customer_code,
|
|
54
|
+
fields_dict,
|
|
55
|
+
).create()
|
|
56
|
+
|
|
57
|
+
TicketMock.assert_called_once_with(expected_ticket_data)
|
|
58
|
+
ArticleMock.assert_called_once_with(expected_article_data)
|
|
59
|
+
calls = [
|
|
60
|
+
mocker.call(
|
|
61
|
+
"ProcessManagementProcessID",
|
|
62
|
+
ChangePackNotSharedDataTicketConfiguration.process_id,
|
|
63
|
+
),
|
|
64
|
+
mocker.call(
|
|
65
|
+
"ProcessManagementActivityID",
|
|
66
|
+
ChangePackNotSharedDataTicketConfiguration.activity_id,
|
|
67
|
+
),
|
|
68
|
+
mocker.call("refOdooContract", "111;222"),
|
|
69
|
+
mocker.call("fibraSenseFix", "1"),
|
|
70
|
+
]
|
|
71
|
+
DynamicFieldMock.assert_has_calls(calls)
|
|
72
|
+
OTRSClientMock.return_value.create_otrs_process_ticket.assert_called_once_with( # noqa
|
|
73
|
+
TicketMock.return_value,
|
|
74
|
+
article=ArticleMock.return_value,
|
|
75
|
+
dynamic_fields=[mocker.ANY for call in calls],
|
|
76
|
+
attachments=None,
|
|
77
|
+
)
|
|
@@ -38,6 +38,7 @@ class TestCaseChangePersonalEmail:
|
|
|
38
38
|
"Priority": ChangePersonalEmailTicket._get_priority(self),
|
|
39
39
|
"CustomerUser": customer_code,
|
|
40
40
|
"CustomerID": customer_code,
|
|
41
|
+
"Service": False,
|
|
41
42
|
}
|
|
42
43
|
expected_article_data = {
|
|
43
44
|
"Subject": ChangeEmailPersonalConfiguration.subject,
|
|
@@ -46,6 +46,7 @@ class TestCaseChangeTariffTicket:
|
|
|
46
46
|
"Priority": ChangeTariffTicketConfiguration.priority,
|
|
47
47
|
"CustomerUser": customer_code,
|
|
48
48
|
"CustomerID": customer_code,
|
|
49
|
+
"Service": False,
|
|
49
50
|
}
|
|
50
51
|
expected_article_data = {
|
|
51
52
|
"Subject": "Sol·licitud Canvi de tarifa oficina virtual",
|
|
@@ -123,6 +124,7 @@ class TestCaseChangeTariffTicket:
|
|
|
123
124
|
"Priority": ChangeTariffTicketConfiguration.priority,
|
|
124
125
|
"CustomerUser": customer_code,
|
|
125
126
|
"CustomerID": customer_code,
|
|
127
|
+
"Service": False,
|
|
126
128
|
}
|
|
127
129
|
expected_article_data = {
|
|
128
130
|
"Subject": "Sol·licitud Canvi de tarifa oficina virtual",
|
|
@@ -202,6 +204,7 @@ class TestCaseChangeTariffExceptionalTicket:
|
|
|
202
204
|
"Priority": ChangeTariffExceptionalTicketConfiguration.priority,
|
|
203
205
|
"CustomerUser": customer_code,
|
|
204
206
|
"CustomerID": customer_code,
|
|
207
|
+
"Service": False,
|
|
205
208
|
}
|
|
206
209
|
expected_article_data = {
|
|
207
210
|
"Subject": "Sol·licitud Canvi de tarifa excepcional",
|
|
@@ -287,6 +290,7 @@ class TestCaseChangeTariffMobilePackTicket:
|
|
|
287
290
|
"Priority": ChangeTariffTicketConfiguration.priority,
|
|
288
291
|
"CustomerUser": customer_code,
|
|
289
292
|
"CustomerID": customer_code,
|
|
293
|
+
"Service": False,
|
|
290
294
|
}
|
|
291
295
|
expected_article_data = {
|
|
292
296
|
"Subject": "Sol·licitud canvi de tarifa pack apinyades",
|
|
@@ -375,6 +379,7 @@ class TestCaseChangeTariffSharedBondTicket:
|
|
|
375
379
|
"Priority": ChangeTariffSharedBondTicketConfiguration.priority,
|
|
376
380
|
"CustomerUser": customer_code,
|
|
377
381
|
"CustomerID": customer_code,
|
|
382
|
+
"Service": False,
|
|
378
383
|
}
|
|
379
384
|
expected_article_data = {
|
|
380
385
|
"Subject": "Sol·licitud canvi de tarifa pack amb dades compartides",
|
|
@@ -37,6 +37,7 @@ class TestCaseChangeTariffAdslLandlineTicket:
|
|
|
37
37
|
"Priority": ChangeTariffLandLineADSL._get_priority(self),
|
|
38
38
|
"CustomerUser": customer_code,
|
|
39
39
|
"CustomerID": customer_code,
|
|
40
|
+
"Service": False,
|
|
40
41
|
}
|
|
41
42
|
expected_article_data = {
|
|
42
43
|
"Subject": ChangeTariffTicketAdslLandlineConfig.subject,
|
|
@@ -37,6 +37,7 @@ class TestCaseChangeTariffAdslOutLandlineTicket:
|
|
|
37
37
|
"Priority": ChangeTariffOutLandLineADSL._get_priority(self),
|
|
38
38
|
"CustomerUser": customer_code,
|
|
39
39
|
"CustomerID": customer_code,
|
|
40
|
+
"Service": False,
|
|
40
41
|
}
|
|
41
42
|
expected_article_data = {
|
|
42
43
|
"Subject": ChangeTariffTicketAdslOutLandlineConfig.subject,
|
|
@@ -36,6 +36,7 @@ class TestCaseChangeTariffFiberTicket:
|
|
|
36
36
|
"Priority": ChangeTariffTicketFiber._get_priority(self),
|
|
37
37
|
"CustomerUser": customer_code,
|
|
38
38
|
"CustomerID": customer_code,
|
|
39
|
+
"Service": False,
|
|
39
40
|
}
|
|
40
41
|
expected_article_data = {
|
|
41
42
|
"Subject": ChangeTariffTicketFiberConfiguration.subject,
|
|
@@ -117,6 +118,7 @@ class TestCaseChangeTariffFiberTicket:
|
|
|
117
118
|
"Priority": ChangeTariffTicketFiber._get_priority(self),
|
|
118
119
|
"CustomerUser": customer_code,
|
|
119
120
|
"CustomerID": customer_code,
|
|
121
|
+
"Service": False,
|
|
120
122
|
}
|
|
121
123
|
expected_article_data = {
|
|
122
124
|
"Subject": ChangeTariffTicketFiberConfiguration.subject,
|
{otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/ticket_types/test_shared_bond.py
RENAMED
|
@@ -20,6 +20,7 @@ class TestCaseChangeSharedBondTicket:
|
|
|
20
20
|
"Priority": configuration.priority,
|
|
21
21
|
"CustomerUser": customer_code,
|
|
22
22
|
"CustomerID": customer_code,
|
|
23
|
+
"Service": False,
|
|
23
24
|
}
|
|
24
25
|
expected_article_data = {
|
|
25
26
|
"Subject": "Sol·licitud Canvi d'abonament compartit oficina virtual",
|
{otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/tests/otrs_models/ticket_types/test_we_call_you.py
RENAMED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
from otrs_somconnexio.otrs_models.configurations.querys.we_call_you import (
|
|
2
2
|
WeCallYouCATConfiguration,
|
|
3
|
+
WeCallYouCompanyCATConfiguration,
|
|
4
|
+
WeCallYouCompanyESConfiguration,
|
|
3
5
|
WeCallYouESConfiguration,
|
|
4
6
|
)
|
|
5
7
|
from otrs_somconnexio.otrs_models.ticket_types.we_call_you_ticket import WeCallYouTicket
|
|
@@ -9,19 +11,40 @@ class TestCaseWeCallYou:
|
|
|
9
11
|
fields_dict = {
|
|
10
12
|
"name": "name surname",
|
|
11
13
|
"schedule": "12h-14h",
|
|
12
|
-
"language": "ca_ES",
|
|
13
14
|
"phone": "642525377",
|
|
14
15
|
"reason": "call me baby",
|
|
16
|
+
"language": "ca_ES",
|
|
17
|
+
"is_company": False,
|
|
15
18
|
}
|
|
16
19
|
|
|
17
20
|
def test_create_CAT(self, mocker):
|
|
18
|
-
self._execute_and_assert_create(
|
|
21
|
+
self._execute_and_assert_create(
|
|
22
|
+
mocker, WeCallYouCATConfiguration, self.fields_dict
|
|
23
|
+
)
|
|
19
24
|
|
|
20
25
|
def test_create_ES(self, mocker):
|
|
21
|
-
self.fields_dict
|
|
22
|
-
|
|
26
|
+
dict = {**self.fields_dict}
|
|
27
|
+
dict["language"] = "es_ES"
|
|
28
|
+
self._execute_and_assert_create(mocker, WeCallYouESConfiguration, dict)
|
|
29
|
+
|
|
30
|
+
def test_create_company_CAT(self, mocker):
|
|
31
|
+
dict = {**self.fields_dict}
|
|
32
|
+
dict["is_company"] = True
|
|
33
|
+
dict["company_size"] = "1"
|
|
34
|
+
self._execute_and_assert_create(
|
|
35
|
+
mocker, WeCallYouCompanyCATConfiguration, dict, True
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
def test_create_company_ES(self, mocker):
|
|
39
|
+
dict = {**self.fields_dict}
|
|
40
|
+
dict["language"] = "es_ES"
|
|
41
|
+
dict["is_company"] = True
|
|
42
|
+
dict["company_size"] = "1"
|
|
43
|
+
self._execute_and_assert_create(
|
|
44
|
+
mocker, WeCallYouCompanyESConfiguration, dict, True
|
|
45
|
+
)
|
|
23
46
|
|
|
24
|
-
def _execute_and_assert_create(self, mocker, config):
|
|
47
|
+
def _execute_and_assert_create(self, mocker, config, dict, is_company=False):
|
|
25
48
|
OTRSClientMock = mocker.patch(
|
|
26
49
|
"otrs_somconnexio.otrs_models.ticket_types.base_ticket.OTRSClient",
|
|
27
50
|
return_value=mocker.Mock(),
|
|
@@ -47,6 +70,7 @@ class TestCaseWeCallYou:
|
|
|
47
70
|
"Priority": config.priority,
|
|
48
71
|
"CustomerUser": "customer",
|
|
49
72
|
"CustomerID": "customer",
|
|
73
|
+
"Service": "Oficina Virtual",
|
|
50
74
|
}
|
|
51
75
|
expected_article_data = {
|
|
52
76
|
"Subject": config.subject,
|
|
@@ -58,13 +82,15 @@ class TestCaseWeCallYou:
|
|
|
58
82
|
"ProcessManagementActivityID",
|
|
59
83
|
config.activity_id,
|
|
60
84
|
),
|
|
61
|
-
mocker.call("personaContacte",
|
|
62
|
-
mocker.call("horariTrucada",
|
|
63
|
-
mocker.call("telefonContacte",
|
|
64
|
-
mocker.call("motiuTrucada",
|
|
85
|
+
mocker.call("personaContacte", dict["name"]),
|
|
86
|
+
mocker.call("horariTrucada", dict["schedule"]),
|
|
87
|
+
mocker.call("telefonContacte", dict["phone"]),
|
|
88
|
+
mocker.call("motiuTrucada", dict["reason"]),
|
|
65
89
|
]
|
|
90
|
+
if is_company:
|
|
91
|
+
calls.append(mocker.call("midaEmpresa", dict["company_size"]))
|
|
66
92
|
|
|
67
|
-
WeCallYouTicket(None, "customer",
|
|
93
|
+
WeCallYouTicket(None, "customer", dict, [], "").create()
|
|
68
94
|
|
|
69
95
|
TicketMock.assert_called_once_with(expected_ticket_data)
|
|
70
96
|
ArticleMock.assert_called_once_with(expected_article_data)
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
class WeCallYouConfiguration:
|
|
2
|
-
process_id = "Process-975190079a628ddf1eb4f0188dce2e4a"
|
|
3
|
-
activity_id = "Activity-1b94759f56e5b7ecf67e1330d1c6afab"
|
|
4
|
-
type = "Petición"
|
|
5
|
-
state = "new"
|
|
6
|
-
priority = "3 normal"
|
|
7
|
-
subject = "Formulari 'Vols que et truquem?'"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class WeCallYouCATConfiguration(WeCallYouConfiguration):
|
|
11
|
-
queue_id = 144
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
class WeCallYouESConfiguration(WeCallYouConfiguration):
|
|
15
|
-
queue_id = 145
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/abstract_article.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/adsl_ticket.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
|
{otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/coverage/__init__.py
RENAMED
|
File without changes
|
{otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/coverage/adsl.py
RENAMED
|
File without changes
|
|
File without changes
|
{otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/coverage/mm_fiber.py
RENAMED
|
File without changes
|
|
File without changes
|
{otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/coverage/vdf_fiber.py
RENAMED
|
File without changes
|
{otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/coverage_article.py
RENAMED
|
File without changes
|
{otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/coverage_ticket.py
RENAMED
|
File without changes
|
{otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/customer_data.py
RENAMED
|
File without changes
|
{otrs_somconnexio-0.6.2 → otrs_somconnexio-0.6.4}/otrs_somconnexio/otrs_models/customer_user.py
RENAMED
|
File without changes
|