otrs-somconnexio 0.6.4__py2.py3-none-any.whl → 0.6.6__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- otrs_somconnexio/otrs_models/configurations/querys/check_coverage.py +0 -1
- otrs_somconnexio/otrs_models/configurations/querys/we_call_you.py +1 -2
- otrs_somconnexio/otrs_models/ticket_types/check_coverage_ticket.py +0 -3
- otrs_somconnexio/otrs_models/ticket_types/we_call_you_ticket.py +3 -3
- {otrs_somconnexio-0.6.4.dist-info → otrs_somconnexio-0.6.6.dist-info}/METADATA +1 -1
- {otrs_somconnexio-0.6.4.dist-info → otrs_somconnexio-0.6.6.dist-info}/RECORD +10 -10
- tests/otrs_models/ticket_types/test_check_coverage.py +1 -1
- tests/otrs_models/ticket_types/test_we_call_you.py +6 -1
- {otrs_somconnexio-0.6.4.dist-info → otrs_somconnexio-0.6.6.dist-info}/WHEEL +0 -0
- {otrs_somconnexio-0.6.4.dist-info → otrs_somconnexio-0.6.6.dist-info}/top_level.txt +0 -0
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
class WeCallYouConfiguration:
|
|
2
|
-
process_id = "Process-
|
|
2
|
+
process_id = "Process-ecf037c9e125f692e0ccb1d82eba5d3a"
|
|
3
3
|
activity_id = "Activity-1b94759f56e5b7ecf67e1330d1c6afab"
|
|
4
4
|
type = "Petición"
|
|
5
5
|
state = "new"
|
|
6
6
|
priority = "3 normal"
|
|
7
|
-
service = "Oficina Virtual"
|
|
8
7
|
|
|
9
8
|
|
|
10
9
|
class WeCallYouCATConfiguration(WeCallYouConfiguration):
|
|
@@ -30,9 +30,6 @@ 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
|
-
|
|
36
33
|
def _get_dynamic_fields(self):
|
|
37
34
|
return {
|
|
38
35
|
"nomSoci": self.fields["name"],
|
|
@@ -30,15 +30,15 @@ class WeCallYouTicket(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
|
-
|
|
36
33
|
def _get_dynamic_fields(self):
|
|
37
34
|
return {
|
|
38
35
|
"personaContacte": self.fields["name"],
|
|
39
36
|
"horariTrucada": self.fields["schedule"],
|
|
40
37
|
"telefonContacte": self.fields["phone"],
|
|
41
38
|
"motiuTrucada": self.fields["reason"],
|
|
39
|
+
"referral": self.fields.get("referral"),
|
|
40
|
+
"rgpd": self.fields.get("rgpd", True),
|
|
41
|
+
"nouEmail": self.fields.get("email"),
|
|
42
42
|
"midaEmpresa": self.fields.get("company_size"),
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -50,8 +50,8 @@ otrs_somconnexio/otrs_models/configurations/provision/mobile_ticket.py,sha256=bh
|
|
|
50
50
|
otrs_somconnexio/otrs_models/configurations/provision/router_4G_ticket.py,sha256=hkDaHFAAMFI8gnCZBVns9GLgEb_Cz3BlkoStPt3UZjw,259
|
|
51
51
|
otrs_somconnexio/otrs_models/configurations/provision/switchboard_ticket.py,sha256=ZVLqodwES2-VbJlzDzkIunm3Fbb7xStuV_gd0M_krx4,329
|
|
52
52
|
otrs_somconnexio/otrs_models/configurations/querys/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
53
|
-
otrs_somconnexio/otrs_models/configurations/querys/check_coverage.py,sha256=
|
|
54
|
-
otrs_somconnexio/otrs_models/configurations/querys/we_call_you.py,sha256=
|
|
53
|
+
otrs_somconnexio/otrs_models/configurations/querys/check_coverage.py,sha256=KD-T-NFSbMNW-MM4xXlonJWZz1ZM17brAb9N2-GNswg,479
|
|
54
|
+
otrs_somconnexio/otrs_models/configurations/querys/we_call_you.py,sha256=HbfeYNIELLzzSZ0zNYaKrdylLvcHBy_wMYBXX8ZrWlY,783
|
|
55
55
|
otrs_somconnexio/otrs_models/coverage/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
56
56
|
otrs_somconnexio/otrs_models/coverage/adsl.py,sha256=ZiLbEEKSlwCl3smHkEAnHrG6BRDWBuNXOouC5LpYRgM,476
|
|
57
57
|
otrs_somconnexio/otrs_models/coverage/asociatel_fiber.py,sha256=TXk5WChGupb8X2i5cBj7kG5TTDix36vdW5i-Hlk5-g8,165
|
|
@@ -81,8 +81,8 @@ otrs_somconnexio/otrs_models/ticket_types/change_tariff_fiber_ticket.py,sha256=D
|
|
|
81
81
|
otrs_somconnexio/otrs_models/ticket_types/change_tariff_ticket.py,sha256=2oncxRb_U184cYbIdTF8mZN8iFeUdyiE73NF38L0lmk,3074
|
|
82
82
|
otrs_somconnexio/otrs_models/ticket_types/change_tariff_ticket_mobile_pack.py,sha256=pu8QItdaICaX2DMvZ7h29Ii_HJVsKWC2lm6UKl145FQ,1844
|
|
83
83
|
otrs_somconnexio/otrs_models/ticket_types/change_tariff_ticket_shared_bonds.py,sha256=CTesCN0NVD6lfTQMKC7nR6RXGjktfYVWFsthg69EnaQ,731
|
|
84
|
-
otrs_somconnexio/otrs_models/ticket_types/check_coverage_ticket.py,sha256=
|
|
85
|
-
otrs_somconnexio/otrs_models/ticket_types/we_call_you_ticket.py,sha256=
|
|
84
|
+
otrs_somconnexio/otrs_models/ticket_types/check_coverage_ticket.py,sha256=mHMx4eNo8rq0b5kf8ay0tTcziweS82D2O4N-atNWYv4,1866
|
|
85
|
+
otrs_somconnexio/otrs_models/ticket_types/we_call_you_ticket.py,sha256=ofYgrL1pmHrcx7pGfWZsSw2ZtJ6GhWuFhoekeqa4uOI,1808
|
|
86
86
|
otrs_somconnexio/responses/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
87
87
|
otrs_somconnexio/responses/ticket_creation.py,sha256=32Iigeg2TO422M2XYaiei57KpimnkB1tgnIexiEhi-E,735
|
|
88
88
|
otrs_somconnexio/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -163,9 +163,9 @@ tests/otrs_models/ticket_types/test_change_tariff_adsl_out_landline.py,sha256=7G
|
|
|
163
163
|
tests/otrs_models/ticket_types/test_change_tariff_fiber.py,sha256=W4jQg5nnZj5wwGReF5S0bK5wXUGmvc5Ud9RHWdfJWQs,6801
|
|
164
164
|
tests/otrs_models/ticket_types/test_change_tariff_mobile_pack.py,sha256=mOitwISCTIKVafY-g5xAnL-tZdCHcL61CCfedxiXSl4,5416
|
|
165
165
|
tests/otrs_models/ticket_types/test_change_tariff_shared_bonds.py,sha256=Mmuai3rMTaBHCmWZCYeDFtx0tH1DiIxwYMUN4pSZFdo,2136
|
|
166
|
-
tests/otrs_models/ticket_types/test_check_coverage.py,sha256=
|
|
166
|
+
tests/otrs_models/ticket_types/test_check_coverage.py,sha256=TcgnzNHric-qFBVfhgPVfGjuehCLkZ_PfyJAWxJ9N54,4188
|
|
167
167
|
tests/otrs_models/ticket_types/test_shared_bond.py,sha256=OqfJKmC23ecfI4mbhBeN2UsUJxawPj1lVnVH8i8q65c,3207
|
|
168
|
-
tests/otrs_models/ticket_types/test_we_call_you.py,sha256=
|
|
168
|
+
tests/otrs_models/ticket_types/test_we_call_you.py,sha256=_1c481Z9U4EXdeHooyfTzLQVgs2Ybit_rtcoXJXzAlU,3937
|
|
169
169
|
tests/responses/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
170
170
|
tests/responses/test_ticket_creation.py,sha256=i7Yzps-Kz25Ie1ylr3YAEsUYDMIZTFOvQIpSM2k7lNY,1068
|
|
171
171
|
tests/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -188,7 +188,7 @@ tests/services/test_update_ticket_with_provider_info.py,sha256=cZUg-hNV4BoMwafbp
|
|
|
188
188
|
tests/user_management_client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
189
189
|
tests/user_management_client/test_client.py,sha256=088q9H1yf8Hii7zUF17KULqOO-JCxJLsR7vQ8lGHiqg,4410
|
|
190
190
|
tests/user_management_client/test_user_management_response.py,sha256=HCCG7i2f6-ytrRpTzYZHODKCdW-X5GJn-BMVegd5FXg,1539
|
|
191
|
-
otrs_somconnexio-0.6.
|
|
192
|
-
otrs_somconnexio-0.6.
|
|
193
|
-
otrs_somconnexio-0.6.
|
|
194
|
-
otrs_somconnexio-0.6.
|
|
191
|
+
otrs_somconnexio-0.6.6.dist-info/METADATA,sha256=R78dMD0Fr0pRX5y4iiG5MIvPYwCou1Ebs8fnFQLAUDA,3458
|
|
192
|
+
otrs_somconnexio-0.6.6.dist-info/WHEEL,sha256=fS9sRbCBHs7VFcwJLnLXN1MZRR0_TVTxvXKzOnaSFs8,110
|
|
193
|
+
otrs_somconnexio-0.6.6.dist-info/top_level.txt,sha256=gvMaHGNwusWpSIy-PVyb0CKDIA4-4fXmEVER_2a-OnE,23
|
|
194
|
+
otrs_somconnexio-0.6.6.dist-info/RECORD,,
|
|
@@ -15,6 +15,8 @@ class TestCaseWeCallYou:
|
|
|
15
15
|
"reason": "call me baby",
|
|
16
16
|
"language": "ca_ES",
|
|
17
17
|
"is_company": False,
|
|
18
|
+
"referral": "referral",
|
|
19
|
+
"email": "email.coop",
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
def test_create_CAT(self, mocker):
|
|
@@ -70,7 +72,7 @@ class TestCaseWeCallYou:
|
|
|
70
72
|
"Priority": config.priority,
|
|
71
73
|
"CustomerUser": "customer",
|
|
72
74
|
"CustomerID": "customer",
|
|
73
|
-
"Service":
|
|
75
|
+
"Service": False,
|
|
74
76
|
}
|
|
75
77
|
expected_article_data = {
|
|
76
78
|
"Subject": config.subject,
|
|
@@ -86,6 +88,9 @@ class TestCaseWeCallYou:
|
|
|
86
88
|
mocker.call("horariTrucada", dict["schedule"]),
|
|
87
89
|
mocker.call("telefonContacte", dict["phone"]),
|
|
88
90
|
mocker.call("motiuTrucada", dict["reason"]),
|
|
91
|
+
mocker.call("referral", dict["referral"]),
|
|
92
|
+
mocker.call("rgpd", True),
|
|
93
|
+
mocker.call("nouEmail", dict["email"]),
|
|
89
94
|
]
|
|
90
95
|
if is_company:
|
|
91
96
|
calls.append(mocker.call("midaEmpresa", dict["company_size"]))
|
|
File without changes
|
|
File without changes
|