Skip to content

Commit dce43c7

Browse files
authored
Alejandro/usch/updates 100925 (#3572)
* updates * buttons * messages * post survey * updates
1 parent 5c90d67 commit dce43c7

21 files changed

+116
-113
lines changed

lambdas/packages/hrm-form-definitions/form-definitions/usch/v1/CallTypeButtons.json

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,38 +12,32 @@
1212
"category": "data"
1313
},
1414
{
15-
"name": "silent",
16-
"label": "Silent",
15+
"name": "donationVolunteer",
16+
"label": "Donation/Volunteer",
1717
"type": "button",
1818
"category": "non-data"
1919
},
2020
{
21-
"name": "hangup",
22-
"label": "Hang up",
21+
"name": "noAnswer",
22+
"label": "No Answer",
2323
"type": "button",
2424
"category": "non-data"
2525
},
2626
{
27-
"name": "abusive",
28-
"label": "Abusive",
27+
"name": "obscenePrank",
28+
"label": "Obscene/Prank",
2929
"type": "button",
3030
"category": "non-data"
3131
},
3232
{
33-
"name": "thanks",
34-
"label": "Thank you",
33+
"name": "transferred",
34+
"label": "Transferred",
3535
"type": "button",
3636
"category": "non-data"
3737
},
38-
{
39-
"name": "questions",
40-
"label": "Questions",
41-
"type": "button",
42-
"category": "non-data"
43-
},
44-
{
45-
"name": "emergency",
46-
"label": "Emergency",
38+
{
39+
"name": "wrongNumber",
40+
"label": "Wrong Number",
4741
"type": "button",
4842
"category": "non-data"
4943
},

lambdas/packages/hrm-form-definitions/form-definitions/usch/v1/tabbedForms/CaseInformationTab.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,5 +390,13 @@
390390
"label": "Provided resource referrals (988, 911)"
391391
}
392392
]
393+
},
394+
{
395+
"name": "referrals",
396+
"label": "Resources Shared",
397+
"type": "custom-contact-component",
398+
"component": "resource-referral-list",
399+
"saveable": false,
400+
"isPII": false
393401
}
394402
]

twilio-iac/helplines/usch/configs/lex_v2/cf/bots/post_survey.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"1": {
2929
"slot_name": "experience_rating",
3030
"slot_type_name": "four_level_assessment",
31-
"slot_question": "How was your experience today? \nReply with: \n 🥰= Excellent, 😊 = Good, 😒 = Fair, 😡 = Poor.",
31+
"slot_question": "How was your experience today? \nReply with 1 = Excellent, 2 = Good, 3 = Fair, 4 = Poor",
3232
"failure_response": "Thank you for reaching out. Please contact us again if you need more help."
3333
},
3434
"2": {

twilio-iac/helplines/usch/configs/lex_v2/cf/slots/experience_rating.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{
1111
"message": {
1212
"plainTextMessage": {
13-
"value": "How was your experience today? \nReply with: \n 🥰= Excellent, 😊 = Good, 😒 = Fair, 😡 = Poor."
13+
"value": "How was your experience today? \nReply with 1 = Excellent, 2 = Good, 3 = Fair, 4 = Poor"
1414
}
1515
}
1616
}

twilio-iac/helplines/usch/configs/lex_v2/ch/bots/post_survey.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"1": {
2929
"slot_name": "experience_rating",
3030
"slot_type_name": "four_level_assessment",
31-
"slot_question": "How was your experience today? \nReply with: \n 🥰= Excellent, 😊 = Good, 😒 = Fair, 😡 = Poor.",
31+
"slot_question": "How was your experience today? \nReply with 1 = Excellent, 2 = Good, 3 = Fair, 4 = Poor",
3232
"failure_response": "Thank you for reaching out. Please contact us again if you need more help."
3333
},
3434
"2": {

twilio-iac/helplines/usch/configs/lex_v2/ch/slots/experience_rating.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{
1111
"message": {
1212
"plainTextMessage": {
13-
"value": "How was your experience today? \nReply with: \n 🥰= Excellent, 😊 = Good, 😒 = Fair, 😡 = Poor."
13+
"value": "How was your experience today? \nReply with 1 = Excellent, 2 = Good, 3 = Fair, 4 = Poor"
1414
}
1515
}
1616
}

twilio-iac/helplines/usch/configs/lex_v2/en_US/bots/post_survey.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"1": {
2929
"slot_name": "experience_rating",
3030
"slot_type_name": "four_level_assessment",
31-
"slot_question": "How was your experience today? \nReply with: \n 🥰= Excellent, 😊 = Good, 😒 = Fair, 😡 = Poor.",
31+
"slot_question": "How was your experience today? \nReply with 1 = Excellent, 2 = Good, 3 = Fair, 4 = Poor",
3232
"failure_response": "Thank you for reaching out. Please contact us again if you need more help."
3333
},
3434
"2": {

twilio-iac/helplines/usch/configs/lex_v2/en_US/intents/pre_survey.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
{
8282
"message": {
8383
"plainTextMessage": {
84-
"value": "To help us better serve you, please answer the next four short questions. You will then be connected to a counselor. You can type '0' for any question."
84+
"value": "If this is a life-threatening emergency, please contact 911. To help us better serve you, please answer the next five short questions. You will then be connected to a counselor. You can type X if you prefer not to answer any question."
8585
}
8686
}
8787
}

twilio-iac/helplines/usch/configs/lex_v2/en_US/slot_types/ageRange.json

Lines changed: 80 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,7 @@
11
{
22
"slotTypeName": "ageRange",
33
"slotTypeValues": [
4-
{
5-
"sampleValue": {
6-
"value": "0-5"
7-
},
8-
"synonyms": [
9-
{ "value": "0" },
10-
{ "value": "zero" },
11-
{ "value": "1" },
12-
{ "value": "one" },
13-
{ "value": "2" },
14-
{ "value": "two" },
15-
{ "value": "3" },
16-
{ "value": "three" },
17-
{ "value": "4" },
18-
{ "value": "four" },
19-
{ "value": "5" },
20-
{ "value": "five" }
21-
]
22-
},
23-
{
24-
"sampleValue": {
25-
"value": "6-12"
26-
},
27-
"synonyms": [
28-
{ "value": "6" },
29-
{ "value": "six" },
30-
{ "value": "7" },
31-
{ "value": "seven" },
32-
{ "value": "8" },
33-
{ "value": "eight" },
34-
{ "value": "9" },
35-
{ "value": "nine" },
36-
{ "value": "10" },
37-
{ "value": "ten" },
38-
{ "value": "11" },
39-
{ "value": "eleven" },
40-
{ "value": "12" },
41-
{ "value": "twelve" }
42-
]
43-
},
44-
{
45-
"sampleValue": {
46-
"value": "13-17"
47-
},
48-
"synonyms": [
49-
{ "value": "13" },
50-
{ "value": "thirteen" },
51-
{ "value": "14" },
52-
{ "value": "fourteen" },
53-
{ "value": "15" },
54-
{ "value": "fifteen" },
55-
{ "value": "16" },
56-
{ "value": "sixteen" },
57-
{ "value": "17" },
58-
{ "value": "seventeen" }
59-
]
60-
},
61-
{
62-
"sampleValue": {
63-
"value": "18-24"
64-
},
65-
"synonyms": [
66-
{ "value": "18" },
67-
{ "value": "eighteen" },
68-
{ "value": "19" },
69-
{ "value": "nineteen" },
70-
{ "value": "20" },
71-
{ "value": "twenty" },
72-
{ "value": "21" },
73-
{ "value": "twenty one" },
74-
{ "value": "22" },
75-
{ "value": "twenty two" },
76-
{ "value": "23" },
77-
{ "value": "twenty three" },
78-
{ "value": "24" },
79-
{ "value": "twenty four" }
80-
]
81-
},
82-
{
4+
{
835
"sampleValue": {
846
"value": "N/A"
857
},
@@ -241,8 +163,87 @@
241163
{ "value": "Rather not say" },
242164
{ "value": "prefer not to" },
243165
{ "value": "X" },
166+
{ "value": "x" },
244167
{ "value": "Prefer not to answer" }
245168
]
169+
},
170+
{
171+
"sampleValue": {
172+
"value": "0-5"
173+
},
174+
"synonyms": [
175+
{ "value": "0" },
176+
{ "value": "zero" },
177+
{ "value": "1" },
178+
{ "value": "one" },
179+
{ "value": "2" },
180+
{ "value": "two" },
181+
{ "value": "3" },
182+
{ "value": "three" },
183+
{ "value": "4" },
184+
{ "value": "four" },
185+
{ "value": "5" },
186+
{ "value": "five" }
187+
]
188+
},
189+
{
190+
"sampleValue": {
191+
"value": "6-12"
192+
},
193+
"synonyms": [
194+
{ "value": "6" },
195+
{ "value": "six" },
196+
{ "value": "7" },
197+
{ "value": "seven" },
198+
{ "value": "8" },
199+
{ "value": "eight" },
200+
{ "value": "9" },
201+
{ "value": "nine" },
202+
{ "value": "10" },
203+
{ "value": "ten" },
204+
{ "value": "11" },
205+
{ "value": "eleven" },
206+
{ "value": "12" },
207+
{ "value": "twelve" }
208+
]
209+
},
210+
{
211+
"sampleValue": {
212+
"value": "13-17"
213+
},
214+
"synonyms": [
215+
{ "value": "13" },
216+
{ "value": "thirteen" },
217+
{ "value": "14" },
218+
{ "value": "fourteen" },
219+
{ "value": "15" },
220+
{ "value": "fifteen" },
221+
{ "value": "16" },
222+
{ "value": "sixteen" },
223+
{ "value": "17" },
224+
{ "value": "seventeen" }
225+
]
226+
},
227+
{
228+
"sampleValue": {
229+
"value": "18-24"
230+
},
231+
"synonyms": [
232+
{ "value": "18" },
233+
{ "value": "eighteen" },
234+
{ "value": "19" },
235+
{ "value": "nineteen" },
236+
{ "value": "20" },
237+
{ "value": "twenty" },
238+
{ "value": "21" },
239+
{ "value": "twenty one" },
240+
{ "value": "22" },
241+
{ "value": "twenty two" },
242+
{ "value": "23" },
243+
{ "value": "twenty three" },
244+
{ "value": "24" },
245+
{ "value": "twenty four" }
246+
]
246247
}
247248
],
248249
"valueSelectionSetting": {

twilio-iac/helplines/usch/configs/lex_v2/en_US/slots/experience_rating.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{
1111
"message": {
1212
"plainTextMessage": {
13-
"value": "How was your experience today? \nReply with: \n 🥰= Excellent, 😊 = Good, 😒 = Fair, 😡 = Poor."
13+
"value": "How was your experience today? \nReply with 1 = Excellent, 2 = Good, 3 = Fair, 4 = Poor"
1414
}
1515
}
1616
}

0 commit comments

Comments
 (0)