otrs-somconnexio 0.6.5__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/ticket_types/we_call_you_ticket.py +3 -0
- {otrs_somconnexio-0.6.5.dist-info → otrs_somconnexio-0.6.6.dist-info}/METADATA +1 -1
- {otrs_somconnexio-0.6.5.dist-info → otrs_somconnexio-0.6.6.dist-info}/RECORD +6 -6
- tests/otrs_models/ticket_types/test_we_call_you.py +5 -0
- {otrs_somconnexio-0.6.5.dist-info → otrs_somconnexio-0.6.6.dist-info}/WHEEL +0 -0
- {otrs_somconnexio-0.6.5.dist-info → otrs_somconnexio-0.6.6.dist-info}/top_level.txt +0 -0
|
@@ -36,6 +36,9 @@ class WeCallYouTicket(BaseCustomerTicket):
|
|
|
36
36
|
"horariTrucada": self.fields["schedule"],
|
|
37
37
|
"telefonContacte": self.fields["phone"],
|
|
38
38
|
"motiuTrucada": self.fields["reason"],
|
|
39
|
+
"referral": self.fields.get("referral"),
|
|
40
|
+
"rgpd": self.fields.get("rgpd", True),
|
|
41
|
+
"nouEmail": self.fields.get("email"),
|
|
39
42
|
"midaEmpresa": self.fields.get("company_size"),
|
|
40
43
|
}
|
|
41
44
|
|
|
@@ -82,7 +82,7 @@ otrs_somconnexio/otrs_models/ticket_types/change_tariff_ticket.py,sha256=2oncxRb
|
|
|
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
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=
|
|
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
|
|
@@ -165,7 +165,7 @@ tests/otrs_models/ticket_types/test_change_tariff_mobile_pack.py,sha256=mOitwISC
|
|
|
165
165
|
tests/otrs_models/ticket_types/test_change_tariff_shared_bonds.py,sha256=Mmuai3rMTaBHCmWZCYeDFtx0tH1DiIxwYMUN4pSZFdo,2136
|
|
166
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):
|
|
@@ -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
|