otrs-somconnexio 0.6.6rc1__tar.gz → 0.6.8__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.8/PKG-INFO +123 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/provision_dynamic_fields.py +6 -1
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/switchboard_dynamic_fields.py +5 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/switchboard_header_ticket.py +1 -1
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/we_call_you_ticket.py +2 -2
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/services/get_ticket_title.py +1 -0
- otrs_somconnexio-0.6.8/otrs_somconnexio.egg-info/PKG-INFO +123 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio.egg-info/SOURCES.txt +0 -1
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/setup.py +1 -1
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_router_4G_dynamic_fields.py +2 -2
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_switchboard_dynamic_fields.py +6 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_switchboard_header_ticket.py +2 -2
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/ticket_types/test_we_call_you.py +3 -3
- otrs_somconnexio-0.6.6rc1/PKG-INFO +0 -121
- otrs_somconnexio-0.6.6rc1/otrs_somconnexio.egg-info/PKG-INFO +0 -121
- otrs_somconnexio-0.6.6rc1/tests/test_client.py +0 -441
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/README.md +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/client.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/exceptions.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/abstract_article.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/adsl_data.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/adsl_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/adsl_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/configurations/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/configurations/changes/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/configurations/changes/add_data.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/configurations/changes/change_email.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/configurations/changes/change_iban.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/configurations/changes/change_owner.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/configurations/changes/change_pack.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/configurations/changes/change_shared_bond.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/configurations/changes/change_tariff.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/configurations/changes/change_tariff_adsl.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/configurations/changes/change_tariff_fiber.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/configurations/provision/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/configurations/provision/adsl_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/configurations/provision/fiber_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/configurations/provision/mobile_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/configurations/provision/router_4G_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/configurations/provision/switchboard_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/configurations/querys/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/configurations/querys/check_coverage.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/configurations/querys/we_call_you.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/coverage/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/coverage/adsl.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/coverage/asociatel_fiber.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/coverage/mm_fiber.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/coverage/orange_fiber.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/coverage/vdf_fiber.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/coverage_article.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/coverage_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/customer_data.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/customer_user.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/fiber_data.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/fiber_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/fiber_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/internet_data.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/internet_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/mobile_data.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/mobile_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/mobile_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/process_ticket/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/process_ticket/internet.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/process_ticket/mobile.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/process_ticket/process_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/providers.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/provision_article.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/provision_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/router_4G_data.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/router_4G_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/router_4G_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/service.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/switchboard_data.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/switchboard_header_data.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/switchboard_header_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/switchboard_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/telecom_company.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_factory.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/add_data_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/base_change_tariff_ba_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/base_change_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/base_customer_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/base_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/change_email_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/change_iban_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/change_owner_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/change_pack_not_shared_data.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/change_personal_email_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/change_shared_bond_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/change_tariff_adsl_landline_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/change_tariff_adsl_out_landline_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/change_tariff_adsl_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/change_tariff_fiber_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/change_tariff_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/change_tariff_ticket_mobile_pack.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/change_tariff_ticket_shared_bonds.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/ticket_types/check_coverage_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/otrs_models/vf_provisioning_article.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/responses/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/responses/ticket_creation.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/services/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/services/activate_change_tarriff_mobile_tickets.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/services/base_get_ticket_by_number.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/services/change_to_confirm_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/services/get_mobile_related_tickets.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/services/get_sharing_data_mobile_tickets.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/services/mapping_mobile_minutes.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/services/mapping_services.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/services/move_sharing_data_mobile_tickets.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/services/search_tickets_mobile_change_tariff.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/services/search_tickets_service.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/services/set_SIM_recieved_mobile_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/services/set_SIM_returned_mobile_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/services/set_fiber_contract_code_mobile_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/services/unblock_mobile_pack_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/services/update_process_ticket_with_VF_provisioning.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/services/update_process_ticket_with_coverage_tickets_info_service.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/services/update_ticket_DF.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/services/update_ticket_with_provider_info.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/user_management_client/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/user_management_client/client.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio/user_management_client/user_management_response.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio.egg-info/dependency_links.txt +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio.egg-info/not-zip-safe +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio.egg-info/requires.txt +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/otrs_somconnexio.egg-info/top_level.txt +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/setup.cfg +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/data/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/data/otrs_raw_responses.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/integration/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/integration/test_change_customer_language.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/integration/test_ticket_factory.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/integration/test_update_ticket_with_coverage_data.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/common_helper.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/configuration/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/configuration/changes/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/configuration/changes/test_change_tariff_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/configuration/provision/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/configuration/provision/test_adsl_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/configuration/provision/test_fiber_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/configuration/provision/test_mobile_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/process_ticket/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/process_ticket/test_internet_process_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/process_ticket/test_mobile_process_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_abstract_article.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_adsl_data.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_adsl_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_adsl_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_coverage_article.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_coverage_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_customer_user.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_fiber_data.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_fiber_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_fiber_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_mobile_data.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_mobile_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_mobile_paused_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_mobile_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_provision_article.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_router_4G_data.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_router_4G_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_service.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_switchboard_data.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_switchboard_header_data.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_switchboard_header_dynamic_fields.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_switchboard_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_telecom_company.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_ticket_factory.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/test_vf_provisioning_article.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/ticket_types/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/ticket_types/test_add_data.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/ticket_types/test_change_email.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/ticket_types/test_change_iban.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/ticket_types/test_change_owner.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/ticket_types/test_change_pack_not_shared_data.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/ticket_types/test_change_personal_email.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/ticket_types/test_change_tariff.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/ticket_types/test_change_tariff_adsl_landline.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/ticket_types/test_change_tariff_adsl_out_landline.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/ticket_types/test_change_tariff_fiber.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/ticket_types/test_change_tariff_mobile_pack.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/ticket_types/test_change_tariff_shared_bonds.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/ticket_types/test_check_coverage.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/otrs_models/ticket_types/test_shared_bond.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/responses/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/responses/test_ticket_creation.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/services/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/services/test_activate_change_tariff_mobile_tickets.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/services/test_change_to_confirm_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/services/test_get_mobile_related_tickets.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/services/test_get_sharing_data_mobile_tickets.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/services/test_mapping_mobile_minutes.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/services/test_mapping_services.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/services/test_move_sharing_data_mobile_tickets.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/services/test_search_tickets_mobile_change_tariff.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/services/test_search_tickets_service.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/services/test_set_SIM_recieved_mobile_ticket_service.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/services/test_set_SIM_returned_mobile_ticket_service.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/services/test_set_fiber_contract_code_mobile_ticket_service.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/services/test_unblock_mobile_pack_ticket.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/services/test_update_process_ticket_with_VF_provisioning.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/services/test_update_process_ticket_with_coverage_tickets_info_service.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/services/test_update_ticket_with_provider_info.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/user_management_client/__init__.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/user_management_client/test_client.py +0 -0
- {otrs_somconnexio-0.6.6rc1 → otrs_somconnexio-0.6.8}/tests/user_management_client/test_user_management_response.py +0 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: otrs_somconnexio
|
|
3
|
+
Version: 0.6.8
|
|
4
|
+
Summary: Python package for Somconnexio data syncing in OTRS
|
|
5
|
+
Home-page: https://gitlab.com/coopdevs/otrs_somconnexio
|
|
6
|
+
Author: Coopdevs
|
|
7
|
+
Author-email: info@coopdevs.org
|
|
8
|
+
License: UNKNOWN
|
|
9
|
+
Platform: UNKNOWN
|
|
10
|
+
Classifier: Development Status :: 3 - Alpha
|
|
11
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
12
|
+
Classifier: Programming Language :: Python :: 2
|
|
13
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
|
|
16
|
+
# Python 2.7/3.8 module to manage the SomConnexio's ERP integration with OTRS
|
|
17
|
+
|
|
18
|
+
This library manages all the business logic between the Som Connexio's systems and the ticketing tool OTRS.
|
|
19
|
+
|
|
20
|
+
## [Processes](https://gitlab.com/coopdevs/otrs-somconnexio/-/wikis/processes/README)
|
|
21
|
+
|
|
22
|
+
## OTRS Configuration
|
|
23
|
+
|
|
24
|
+
Configure the web services in OTRS:
|
|
25
|
+
|
|
26
|
+
#### Ticket Connector (Provider)
|
|
27
|
+
|
|
28
|
+
* Usage:
|
|
29
|
+
It exposes the Ticket, Article and DynamicFields object and allows to get, create, update and remove tickets. We use the PyOTRS to interact with it. Look in the [PyOTRS](https://gitlab.com/rhab/PyOTRS/-/blob/master/README.rst) docs for more info.
|
|
30
|
+
|
|
31
|
+
* Configuration:
|
|
32
|
+
Use the template provided by the PyOTRS client: https://gitlab.com/rhab/PyOTRS/-/blob/master/webservices_templates/GenericTicketConnectorREST.yml
|
|
33
|
+
|
|
34
|
+
#### CustomerUser Connector (Provider)
|
|
35
|
+
|
|
36
|
+
* Usage:
|
|
37
|
+
It's a RPCConnector. It interacts with the OTRS objects directly calling the class methods.
|
|
38
|
+
|
|
39
|
+
* Configuration:
|
|
40
|
+
You need admin permissions to manage it.
|
|
41
|
+
Contact with your OTRS provider.
|
|
42
|
+
|
|
43
|
+
#### MMCaller Connector (Requester)
|
|
44
|
+
|
|
45
|
+
* Usage:
|
|
46
|
+
It calls MMProxy when an event is raised.
|
|
47
|
+
|
|
48
|
+
* Configuration:
|
|
49
|
+
https://gitlab.com/coopdevs/somconnexio-documentation/-/blob/master/integracions/masmovil.md#webservice-dotrs
|
|
50
|
+
|
|
51
|
+
## Environment configuration
|
|
52
|
+
|
|
53
|
+
### OTRSClient
|
|
54
|
+
|
|
55
|
+
The client to interact with OTRS. You need to define the next environment variables to use the client:
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
OTRS_URL= # Baseurl of the OTRS instance
|
|
59
|
+
OTRS_USER= # Creadencials of user with write acces to OTRS
|
|
60
|
+
OTRS_PASSW=
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Python version
|
|
64
|
+
|
|
65
|
+
We are using [Pyenv](https://github.com/pyenv/pyenv) to fix the Python version and the virtualenv to test the package.
|
|
66
|
+
|
|
67
|
+
You need:
|
|
68
|
+
|
|
69
|
+
* Intall and configure [`pyenv`](https://github.com/pyenv/pyenv)
|
|
70
|
+
* Install and configure [`pyenv-virtualenvwrapper`](https://github.com/pyenv/pyenv-virtualenvwrapper)
|
|
71
|
+
* Intall locally the version of python needed:
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
$ pyenv install 3.8.2
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
* Create the virtualenv to use:
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
$ pyenv virtualenv 3.8.2 otrs_somconnexio
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
## Python packages requirements
|
|
85
|
+
|
|
86
|
+
Install the Python packages in the virtual environment:
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
$ pyenv exec pip install -r requirements.txt
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Run tests
|
|
93
|
+
|
|
94
|
+
To run the test you can run:
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
$ tox
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Also you can run only the tests running:
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
$ pytest .
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
and if you want the coverage info:
|
|
107
|
+
|
|
108
|
+
```
|
|
109
|
+
$ pytest --cov .
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
If running the tests with tox, they will be tested with both python3.8 and python2.7. This is because OTRS-SomConnexio works with an ERP which uses python2, as well as with other packages that use python3.
|
|
113
|
+
|
|
114
|
+
## Release process
|
|
115
|
+
|
|
116
|
+
Release and publish the package to PyPi:
|
|
117
|
+
|
|
118
|
+
- Update the VERSION var in setup.py matching the version you specified in the CHANGELOG.
|
|
119
|
+
- Open a merge request with these changes for the team to approve.
|
|
120
|
+
- Merge it, add a git tag on the Deployments > Releases section and push it.
|
|
121
|
+
- Once the pipeline has successfully passed, approve the publish step.
|
|
122
|
+
|
|
123
|
+
|
|
@@ -93,7 +93,12 @@ class ProvisionDynamicFields:
|
|
|
93
93
|
return DynamicField(name="TecDelServei", value=self.service_data.technology)
|
|
94
94
|
|
|
95
95
|
def _sales_team(self):
|
|
96
|
-
|
|
96
|
+
"""odoo crm model team_id field mapping"""
|
|
97
|
+
sales_team_dct = {
|
|
98
|
+
"Residential": "residencial",
|
|
99
|
+
"Business": "empreses",
|
|
100
|
+
"Sales": "vendes",
|
|
101
|
+
}
|
|
97
102
|
return DynamicField(
|
|
98
103
|
name="equipVendes",
|
|
99
104
|
value=sales_team_dct.get(self.service_data.sales_team, ""),
|
|
@@ -12,6 +12,7 @@ class SwitchboardDynamicFields(ProvisionDynamicFields):
|
|
|
12
12
|
self._landline(),
|
|
13
13
|
self._icc(),
|
|
14
14
|
self._sim_received(),
|
|
15
|
+
self._send_sim_type(),
|
|
15
16
|
self._extension(),
|
|
16
17
|
self._agent_name(),
|
|
17
18
|
self._agent_email(),
|
|
@@ -50,6 +51,10 @@ class SwitchboardDynamicFields(ProvisionDynamicFields):
|
|
|
50
51
|
sim_recieved = "1" if self.service_data.has_sim else "0"
|
|
51
52
|
return DynamicField("SIMrebuda", sim_recieved)
|
|
52
53
|
|
|
54
|
+
def _send_sim_type(self):
|
|
55
|
+
result = "None" if self.service_data.mobile_phone_number else False
|
|
56
|
+
return DynamicField(name="tipusEnviamentSIM", value=result)
|
|
57
|
+
|
|
53
58
|
def _extension(self):
|
|
54
59
|
return DynamicField(name="extensio", value=self.service_data.extension)
|
|
55
60
|
|
|
@@ -15,7 +15,7 @@ class SwitchboardHeaderTicket(ProvisionTicket):
|
|
|
15
15
|
self.otrs_configuration = SwitchboardTicketConfiguration()
|
|
16
16
|
|
|
17
17
|
def service_type(self):
|
|
18
|
-
return "
|
|
18
|
+
return "switchboard_header"
|
|
19
19
|
|
|
20
20
|
def _build_dynamic_fields(self):
|
|
21
21
|
return SwitchboardHeaderDynamicFields(
|
|
@@ -34,10 +34,10 @@ class WeCallYouTicket(BaseCustomerTicket):
|
|
|
34
34
|
return {
|
|
35
35
|
"personaContacte": self.fields["name"],
|
|
36
36
|
"horariTrucada": self.fields["schedule"],
|
|
37
|
-
"telefonContacte": self.fields
|
|
37
|
+
"telefonContacte": self.fields.get("phone", "").replace(" ", ""),
|
|
38
38
|
"motiuTrucada": self.fields["reason"],
|
|
39
39
|
"referral": self.fields.get("referral"),
|
|
40
|
-
"rgpd":
|
|
40
|
+
"rgpd": "1",
|
|
41
41
|
"nouEmail": self.fields.get("email"),
|
|
42
42
|
"midaEmpresa": self.fields.get("company_size"),
|
|
43
43
|
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: otrs-somconnexio
|
|
3
|
+
Version: 0.6.8
|
|
4
|
+
Summary: Python package for Somconnexio data syncing in OTRS
|
|
5
|
+
Home-page: https://gitlab.com/coopdevs/otrs_somconnexio
|
|
6
|
+
Author: Coopdevs
|
|
7
|
+
Author-email: info@coopdevs.org
|
|
8
|
+
License: UNKNOWN
|
|
9
|
+
Platform: UNKNOWN
|
|
10
|
+
Classifier: Development Status :: 3 - Alpha
|
|
11
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
12
|
+
Classifier: Programming Language :: Python :: 2
|
|
13
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
|
|
16
|
+
# Python 2.7/3.8 module to manage the SomConnexio's ERP integration with OTRS
|
|
17
|
+
|
|
18
|
+
This library manages all the business logic between the Som Connexio's systems and the ticketing tool OTRS.
|
|
19
|
+
|
|
20
|
+
## [Processes](https://gitlab.com/coopdevs/otrs-somconnexio/-/wikis/processes/README)
|
|
21
|
+
|
|
22
|
+
## OTRS Configuration
|
|
23
|
+
|
|
24
|
+
Configure the web services in OTRS:
|
|
25
|
+
|
|
26
|
+
#### Ticket Connector (Provider)
|
|
27
|
+
|
|
28
|
+
* Usage:
|
|
29
|
+
It exposes the Ticket, Article and DynamicFields object and allows to get, create, update and remove tickets. We use the PyOTRS to interact with it. Look in the [PyOTRS](https://gitlab.com/rhab/PyOTRS/-/blob/master/README.rst) docs for more info.
|
|
30
|
+
|
|
31
|
+
* Configuration:
|
|
32
|
+
Use the template provided by the PyOTRS client: https://gitlab.com/rhab/PyOTRS/-/blob/master/webservices_templates/GenericTicketConnectorREST.yml
|
|
33
|
+
|
|
34
|
+
#### CustomerUser Connector (Provider)
|
|
35
|
+
|
|
36
|
+
* Usage:
|
|
37
|
+
It's a RPCConnector. It interacts with the OTRS objects directly calling the class methods.
|
|
38
|
+
|
|
39
|
+
* Configuration:
|
|
40
|
+
You need admin permissions to manage it.
|
|
41
|
+
Contact with your OTRS provider.
|
|
42
|
+
|
|
43
|
+
#### MMCaller Connector (Requester)
|
|
44
|
+
|
|
45
|
+
* Usage:
|
|
46
|
+
It calls MMProxy when an event is raised.
|
|
47
|
+
|
|
48
|
+
* Configuration:
|
|
49
|
+
https://gitlab.com/coopdevs/somconnexio-documentation/-/blob/master/integracions/masmovil.md#webservice-dotrs
|
|
50
|
+
|
|
51
|
+
## Environment configuration
|
|
52
|
+
|
|
53
|
+
### OTRSClient
|
|
54
|
+
|
|
55
|
+
The client to interact with OTRS. You need to define the next environment variables to use the client:
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
OTRS_URL= # Baseurl of the OTRS instance
|
|
59
|
+
OTRS_USER= # Creadencials of user with write acces to OTRS
|
|
60
|
+
OTRS_PASSW=
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Python version
|
|
64
|
+
|
|
65
|
+
We are using [Pyenv](https://github.com/pyenv/pyenv) to fix the Python version and the virtualenv to test the package.
|
|
66
|
+
|
|
67
|
+
You need:
|
|
68
|
+
|
|
69
|
+
* Intall and configure [`pyenv`](https://github.com/pyenv/pyenv)
|
|
70
|
+
* Install and configure [`pyenv-virtualenvwrapper`](https://github.com/pyenv/pyenv-virtualenvwrapper)
|
|
71
|
+
* Intall locally the version of python needed:
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
$ pyenv install 3.8.2
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
* Create the virtualenv to use:
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
$ pyenv virtualenv 3.8.2 otrs_somconnexio
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
## Python packages requirements
|
|
85
|
+
|
|
86
|
+
Install the Python packages in the virtual environment:
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
$ pyenv exec pip install -r requirements.txt
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Run tests
|
|
93
|
+
|
|
94
|
+
To run the test you can run:
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
$ tox
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Also you can run only the tests running:
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
$ pytest .
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
and if you want the coverage info:
|
|
107
|
+
|
|
108
|
+
```
|
|
109
|
+
$ pytest --cov .
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
If running the tests with tox, they will be tested with both python3.8 and python2.7. This is because OTRS-SomConnexio works with an ERP which uses python2, as well as with other packages that use python3.
|
|
113
|
+
|
|
114
|
+
## Release process
|
|
115
|
+
|
|
116
|
+
Release and publish the package to PyPi:
|
|
117
|
+
|
|
118
|
+
- Update the VERSION var in setup.py matching the version you specified in the CHANGELOG.
|
|
119
|
+
- Open a merge request with these changes for the team to approve.
|
|
120
|
+
- Merge it, add a git tag on the Deployments > Releases section and push it.
|
|
121
|
+
- Once the pipeline has successfully passed, approve the publish step.
|
|
122
|
+
|
|
123
|
+
|
|
@@ -119,7 +119,6 @@ otrs_somconnexio/services/update_ticket_with_provider_info.py
|
|
|
119
119
|
otrs_somconnexio/user_management_client/__init__.py
|
|
120
120
|
otrs_somconnexio/user_management_client/client.py
|
|
121
121
|
otrs_somconnexio/user_management_client/user_management_response.py
|
|
122
|
-
tests/test_client.py
|
|
123
122
|
tests/data/__init__.py
|
|
124
123
|
tests/data/otrs_raw_responses.py
|
|
125
124
|
tests/integration/__init__.py
|
|
@@ -588,7 +588,7 @@ class Router4GDynamicFieldsTestCase(unittest.TestCase):
|
|
|
588
588
|
self.assertEqual(dynamic_fields_dct["TecDelServei"], "4G")
|
|
589
589
|
|
|
590
590
|
def test_sales_team(self):
|
|
591
|
-
self.service_data.sales_team = "
|
|
591
|
+
self.service_data.sales_team = "Sales"
|
|
592
592
|
|
|
593
593
|
dynamic_fields = Router4GDynamicFields(
|
|
594
594
|
self.service_data,
|
|
@@ -598,4 +598,4 @@ class Router4GDynamicFieldsTestCase(unittest.TestCase):
|
|
|
598
598
|
).all()
|
|
599
599
|
|
|
600
600
|
dynamic_fields_dct = dynamic_fields_to_dct(dynamic_fields)
|
|
601
|
-
self.assertEqual(dynamic_fields_dct["equipVendes"], "
|
|
601
|
+
self.assertEqual(dynamic_fields_dct["equipVendes"], "vendes")
|
|
@@ -115,6 +115,12 @@ class SwitchboardDynamicFieldsTestCase(unittest.TestCase):
|
|
|
115
115
|
"1" if self.service_data.has_sim else "0",
|
|
116
116
|
)
|
|
117
117
|
|
|
118
|
+
def test_send_sim_type_field(self):
|
|
119
|
+
self.assertEqual(
|
|
120
|
+
self.dynamic_fields_dct["tipusEnviamentSIM"],
|
|
121
|
+
"None",
|
|
122
|
+
)
|
|
123
|
+
|
|
118
124
|
def test_agent_name_field(self):
|
|
119
125
|
self.assertEqual(
|
|
120
126
|
self.dynamic_fields_dct["nomAgentCV"],
|
|
@@ -18,7 +18,7 @@ class SwitchboardHeaderTicketTestCase(unittest.TestCase):
|
|
|
18
18
|
customer_data = Mock(spec=["id"])
|
|
19
19
|
|
|
20
20
|
expected_ticket_arguments = {
|
|
21
|
-
"Title": "Ticket#{} - Només Centraleta Virtual".format(
|
|
21
|
+
"Title": "Ticket#{} - Només Centraleta Virtual Capçalera".format(
|
|
22
22
|
service_data.order_id
|
|
23
23
|
),
|
|
24
24
|
"Type": SwitchboardTicketConfiguration.type,
|
|
@@ -48,7 +48,7 @@ class SwitchboardHeaderTicketTestCase(unittest.TestCase):
|
|
|
48
48
|
MockProvisionArticle.assert_called_with(
|
|
49
49
|
service_data.technology,
|
|
50
50
|
service_data.order_id,
|
|
51
|
-
"
|
|
51
|
+
"switchboard_header",
|
|
52
52
|
service_data.notes,
|
|
53
53
|
)
|
|
54
54
|
mock_article.call.assert_called_once()
|
|
@@ -11,7 +11,7 @@ class TestCaseWeCallYou:
|
|
|
11
11
|
fields_dict = {
|
|
12
12
|
"name": "name surname",
|
|
13
13
|
"schedule": "12h-14h",
|
|
14
|
-
"phone": "
|
|
14
|
+
"phone": "642 525 377",
|
|
15
15
|
"reason": "call me baby",
|
|
16
16
|
"language": "ca_ES",
|
|
17
17
|
"is_company": False,
|
|
@@ -86,10 +86,10 @@ class TestCaseWeCallYou:
|
|
|
86
86
|
),
|
|
87
87
|
mocker.call("personaContacte", dict["name"]),
|
|
88
88
|
mocker.call("horariTrucada", dict["schedule"]),
|
|
89
|
-
mocker.call("telefonContacte",
|
|
89
|
+
mocker.call("telefonContacte", "642525377"),
|
|
90
90
|
mocker.call("motiuTrucada", dict["reason"]),
|
|
91
91
|
mocker.call("referral", dict["referral"]),
|
|
92
|
-
mocker.call("rgpd",
|
|
92
|
+
mocker.call("rgpd", "1"),
|
|
93
93
|
mocker.call("nouEmail", dict["email"]),
|
|
94
94
|
]
|
|
95
95
|
if is_company:
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: otrs_somconnexio
|
|
3
|
-
Version: 0.6.6rc1
|
|
4
|
-
Summary: Python package for Somconnexio data syncing in OTRS
|
|
5
|
-
Home-page: https://gitlab.com/coopdevs/otrs_somconnexio
|
|
6
|
-
Author: Coopdevs
|
|
7
|
-
Author-email: info@coopdevs.org
|
|
8
|
-
License: UNKNOWN
|
|
9
|
-
Description: # Python 2.7/3.8 module to manage the SomConnexio's ERP integration with OTRS
|
|
10
|
-
|
|
11
|
-
This library manages all the business logic between the Som Connexio's systems and the ticketing tool OTRS.
|
|
12
|
-
|
|
13
|
-
## [Processes](https://gitlab.com/coopdevs/otrs-somconnexio/-/wikis/processes/README)
|
|
14
|
-
|
|
15
|
-
## OTRS Configuration
|
|
16
|
-
|
|
17
|
-
Configure the web services in OTRS:
|
|
18
|
-
|
|
19
|
-
#### Ticket Connector (Provider)
|
|
20
|
-
|
|
21
|
-
* Usage:
|
|
22
|
-
It exposes the Ticket, Article and DynamicFields object and allows to get, create, update and remove tickets. We use the PyOTRS to interact with it. Look in the [PyOTRS](https://gitlab.com/rhab/PyOTRS/-/blob/master/README.rst) docs for more info.
|
|
23
|
-
|
|
24
|
-
* Configuration:
|
|
25
|
-
Use the template provided by the PyOTRS client: https://gitlab.com/rhab/PyOTRS/-/blob/master/webservices_templates/GenericTicketConnectorREST.yml
|
|
26
|
-
|
|
27
|
-
#### CustomerUser Connector (Provider)
|
|
28
|
-
|
|
29
|
-
* Usage:
|
|
30
|
-
It's a RPCConnector. It interacts with the OTRS objects directly calling the class methods.
|
|
31
|
-
|
|
32
|
-
* Configuration:
|
|
33
|
-
You need admin permissions to manage it.
|
|
34
|
-
Contact with your OTRS provider.
|
|
35
|
-
|
|
36
|
-
#### MMCaller Connector (Requester)
|
|
37
|
-
|
|
38
|
-
* Usage:
|
|
39
|
-
It calls MMProxy when an event is raised.
|
|
40
|
-
|
|
41
|
-
* Configuration:
|
|
42
|
-
https://gitlab.com/coopdevs/somconnexio-documentation/-/blob/master/integracions/masmovil.md#webservice-dotrs
|
|
43
|
-
|
|
44
|
-
## Environment configuration
|
|
45
|
-
|
|
46
|
-
### OTRSClient
|
|
47
|
-
|
|
48
|
-
The client to interact with OTRS. You need to define the next environment variables to use the client:
|
|
49
|
-
|
|
50
|
-
```
|
|
51
|
-
OTRS_URL= # Baseurl of the OTRS instance
|
|
52
|
-
OTRS_USER= # Creadencials of user with write acces to OTRS
|
|
53
|
-
OTRS_PASSW=
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
## Python version
|
|
57
|
-
|
|
58
|
-
We are using [Pyenv](https://github.com/pyenv/pyenv) to fix the Python version and the virtualenv to test the package.
|
|
59
|
-
|
|
60
|
-
You need:
|
|
61
|
-
|
|
62
|
-
* Intall and configure [`pyenv`](https://github.com/pyenv/pyenv)
|
|
63
|
-
* Install and configure [`pyenv-virtualenvwrapper`](https://github.com/pyenv/pyenv-virtualenvwrapper)
|
|
64
|
-
* Intall locally the version of python needed:
|
|
65
|
-
|
|
66
|
-
```
|
|
67
|
-
$ pyenv install 3.8.2
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
* Create the virtualenv to use:
|
|
71
|
-
|
|
72
|
-
```
|
|
73
|
-
$ pyenv virtualenv 3.8.2 otrs_somconnexio
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
## Python packages requirements
|
|
78
|
-
|
|
79
|
-
Install the Python packages in the virtual environment:
|
|
80
|
-
|
|
81
|
-
```
|
|
82
|
-
$ pyenv exec pip install -r requirements.txt
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
## Run tests
|
|
86
|
-
|
|
87
|
-
To run the test you can run:
|
|
88
|
-
|
|
89
|
-
```
|
|
90
|
-
$ tox
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
Also you can run only the tests running:
|
|
94
|
-
|
|
95
|
-
```
|
|
96
|
-
$ pytest .
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
and if you want the coverage info:
|
|
100
|
-
|
|
101
|
-
```
|
|
102
|
-
$ pytest --cov .
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
If running the tests with tox, they will be tested with both python3.8 and python2.7. This is because OTRS-SomConnexio works with an ERP which uses python2, as well as with other packages that use python3.
|
|
106
|
-
|
|
107
|
-
## Release process
|
|
108
|
-
|
|
109
|
-
Release and publish the package to PyPi:
|
|
110
|
-
|
|
111
|
-
- Update the VERSION var in setup.py matching the version you specified in the CHANGELOG.
|
|
112
|
-
- Open a merge request with these changes for the team to approve.
|
|
113
|
-
- Merge it, add a git tag on the Deployments > Releases section and push it.
|
|
114
|
-
- Once the pipeline has successfully passed, approve the publish step.
|
|
115
|
-
|
|
116
|
-
Platform: UNKNOWN
|
|
117
|
-
Classifier: Development Status :: 3 - Alpha
|
|
118
|
-
Classifier: Operating System :: POSIX :: Linux
|
|
119
|
-
Classifier: Programming Language :: Python :: 2
|
|
120
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
121
|
-
Description-Content-Type: text/markdown
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: otrs-somconnexio
|
|
3
|
-
Version: 0.6.6rc1
|
|
4
|
-
Summary: Python package for Somconnexio data syncing in OTRS
|
|
5
|
-
Home-page: https://gitlab.com/coopdevs/otrs_somconnexio
|
|
6
|
-
Author: Coopdevs
|
|
7
|
-
Author-email: info@coopdevs.org
|
|
8
|
-
License: UNKNOWN
|
|
9
|
-
Description: # Python 2.7/3.8 module to manage the SomConnexio's ERP integration with OTRS
|
|
10
|
-
|
|
11
|
-
This library manages all the business logic between the Som Connexio's systems and the ticketing tool OTRS.
|
|
12
|
-
|
|
13
|
-
## [Processes](https://gitlab.com/coopdevs/otrs-somconnexio/-/wikis/processes/README)
|
|
14
|
-
|
|
15
|
-
## OTRS Configuration
|
|
16
|
-
|
|
17
|
-
Configure the web services in OTRS:
|
|
18
|
-
|
|
19
|
-
#### Ticket Connector (Provider)
|
|
20
|
-
|
|
21
|
-
* Usage:
|
|
22
|
-
It exposes the Ticket, Article and DynamicFields object and allows to get, create, update and remove tickets. We use the PyOTRS to interact with it. Look in the [PyOTRS](https://gitlab.com/rhab/PyOTRS/-/blob/master/README.rst) docs for more info.
|
|
23
|
-
|
|
24
|
-
* Configuration:
|
|
25
|
-
Use the template provided by the PyOTRS client: https://gitlab.com/rhab/PyOTRS/-/blob/master/webservices_templates/GenericTicketConnectorREST.yml
|
|
26
|
-
|
|
27
|
-
#### CustomerUser Connector (Provider)
|
|
28
|
-
|
|
29
|
-
* Usage:
|
|
30
|
-
It's a RPCConnector. It interacts with the OTRS objects directly calling the class methods.
|
|
31
|
-
|
|
32
|
-
* Configuration:
|
|
33
|
-
You need admin permissions to manage it.
|
|
34
|
-
Contact with your OTRS provider.
|
|
35
|
-
|
|
36
|
-
#### MMCaller Connector (Requester)
|
|
37
|
-
|
|
38
|
-
* Usage:
|
|
39
|
-
It calls MMProxy when an event is raised.
|
|
40
|
-
|
|
41
|
-
* Configuration:
|
|
42
|
-
https://gitlab.com/coopdevs/somconnexio-documentation/-/blob/master/integracions/masmovil.md#webservice-dotrs
|
|
43
|
-
|
|
44
|
-
## Environment configuration
|
|
45
|
-
|
|
46
|
-
### OTRSClient
|
|
47
|
-
|
|
48
|
-
The client to interact with OTRS. You need to define the next environment variables to use the client:
|
|
49
|
-
|
|
50
|
-
```
|
|
51
|
-
OTRS_URL= # Baseurl of the OTRS instance
|
|
52
|
-
OTRS_USER= # Creadencials of user with write acces to OTRS
|
|
53
|
-
OTRS_PASSW=
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
## Python version
|
|
57
|
-
|
|
58
|
-
We are using [Pyenv](https://github.com/pyenv/pyenv) to fix the Python version and the virtualenv to test the package.
|
|
59
|
-
|
|
60
|
-
You need:
|
|
61
|
-
|
|
62
|
-
* Intall and configure [`pyenv`](https://github.com/pyenv/pyenv)
|
|
63
|
-
* Install and configure [`pyenv-virtualenvwrapper`](https://github.com/pyenv/pyenv-virtualenvwrapper)
|
|
64
|
-
* Intall locally the version of python needed:
|
|
65
|
-
|
|
66
|
-
```
|
|
67
|
-
$ pyenv install 3.8.2
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
* Create the virtualenv to use:
|
|
71
|
-
|
|
72
|
-
```
|
|
73
|
-
$ pyenv virtualenv 3.8.2 otrs_somconnexio
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
## Python packages requirements
|
|
78
|
-
|
|
79
|
-
Install the Python packages in the virtual environment:
|
|
80
|
-
|
|
81
|
-
```
|
|
82
|
-
$ pyenv exec pip install -r requirements.txt
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
## Run tests
|
|
86
|
-
|
|
87
|
-
To run the test you can run:
|
|
88
|
-
|
|
89
|
-
```
|
|
90
|
-
$ tox
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
Also you can run only the tests running:
|
|
94
|
-
|
|
95
|
-
```
|
|
96
|
-
$ pytest .
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
and if you want the coverage info:
|
|
100
|
-
|
|
101
|
-
```
|
|
102
|
-
$ pytest --cov .
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
If running the tests with tox, they will be tested with both python3.8 and python2.7. This is because OTRS-SomConnexio works with an ERP which uses python2, as well as with other packages that use python3.
|
|
106
|
-
|
|
107
|
-
## Release process
|
|
108
|
-
|
|
109
|
-
Release and publish the package to PyPi:
|
|
110
|
-
|
|
111
|
-
- Update the VERSION var in setup.py matching the version you specified in the CHANGELOG.
|
|
112
|
-
- Open a merge request with these changes for the team to approve.
|
|
113
|
-
- Merge it, add a git tag on the Deployments > Releases section and push it.
|
|
114
|
-
- Once the pipeline has successfully passed, approve the publish step.
|
|
115
|
-
|
|
116
|
-
Platform: UNKNOWN
|
|
117
|
-
Classifier: Development Status :: 3 - Alpha
|
|
118
|
-
Classifier: Operating System :: POSIX :: Linux
|
|
119
|
-
Classifier: Programming Language :: Python :: 2
|
|
120
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
121
|
-
Description-Content-Type: text/markdown
|