Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to populate this file

Empty file.
6 changes: 6 additions & 0 deletions aselo-webchat-react-app/configSrc/nz/staging.json
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove deploymentKey, and move definitionVersion to common file

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"deploymentKey": "REPLACE_WITH_NZ_STAGING_CONVERSATIONS_SERVICE_SID",
"environment": "staging",
"aseloBackendUrl": "https://hrm-staging.tl.techmatters.org",
"definitionVersion": "nz-v1"
}
16 changes: 16 additions & 0 deletions aselo-webchat-react-app/configSrc/nz/translations/en-NZ.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"WelcomeMessage": "Welcome to the Youthline Helpline",
"MessageCanvasTrayContent": "",
"MessageInputDisabledReasonHold":
"Thank you very much for this information. We'll transfer you now. Please hold for a practitioner.",
"AutoFirstMessage": "Incoming webchat contact from",
"TypingIndicator": "Youthline is typing",
"StartChat": "Start Chat!",
"MessageCanvasTrayButton": "Start New Chat",
"Email": "Email",
"Age": "What is your age?",
"Gender": "What is your gender?",
"Region": "Select your region",
"Ethnicity": "Select your ethnicity",
"MessagePhase-MessageBubble-OtherParticipantMessageSenderName": "Youthline"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"submitLabel": "StartChat",
"fields": [
{
"type": "input",
"type": "input-text",
"name": "friendlyName",
"label": "Preferred Name",
"placeholder": "Name",
Expand Down
12 changes: 12 additions & 0 deletions twilio-iac/helplines/nz/staging.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@ locals {

#Channels
channels = {
chat : {
messaging_mode = "conversations"
channel_type = "chat"
contact_identity = ""
templatefile = INSERT APPROPRIATE STUDIO TF FILE HERE
channel_flow_vars = {
chat_greeting_message = "Kia ora, we'll connect you with someone soon. Your conversation is confidential, but if we feel that you or someone else is at serious risk of harm, we may have to link in with other services. We'll let you know if that becomes necessary."
widget_from = "Youthline"
allowed_shortcode_locations = "NZ,US,CL,ZA,IE,AR"
}
chatbot_unique_names = []
},
webchat : {
channel_type = "web"
contact_identity = ""
Expand Down
Loading
Loading