From 27032f5fc94bc3f99badab6d2f9db91c75263004 Mon Sep 17 00:00:00 2001 From: janorivera Date: Tue, 20 Jan 2026 09:03:59 -0300 Subject: [PATCH 1/5] prod webchat --- webchat/configurations/usvc-production.ts | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 webchat/configurations/usvc-production.ts diff --git a/webchat/configurations/usvc-production.ts b/webchat/configurations/usvc-production.ts new file mode 100644 index 0000000000..df9382d90f --- /dev/null +++ b/webchat/configurations/usvc-production.ts @@ -0,0 +1,29 @@ +/** + * Copyright (C) 2021-2023 Technology Matters + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published + * by the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see https://www.gnu.org/licenses/. + */ + +import { Configuration } from '../types'; +import { config as usvcStaging } from '../configurations/usvc-staging'; + +const accountSid = 'AC3240f813a27a4c52b12e5c5c23960b25'; +const flexFlowSid = 'FO0b9657fa11fc5e24ee26e98575ee4df2'; + +export const config: Configuration = { + ...usvcStaging, + checkOpenHours: false, + accountSid, + flexFlowSid, + twilioServicesUrl: new URL(`https://hrm-production.tl.techmatters.org/lambda/twilio/account-scoped/${accountSid}`), +}; From 419692f5cccf77eb9028278ba428bbd6319f0701 Mon Sep 17 00:00:00 2001 From: janorivera Date: Tue, 20 Jan 2026 10:01:45 -0300 Subject: [PATCH 2/5] test --- .../helplines/usvc/templates/studio-flows/webchat-sd.tftpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twilio-iac/helplines/usvc/templates/studio-flows/webchat-sd.tftpl b/twilio-iac/helplines/usvc/templates/studio-flows/webchat-sd.tftpl index 27e38a30cd..7399aa079e 100644 --- a/twilio-iac/helplines/usvc/templates/studio-flows/webchat-sd.tftpl +++ b/twilio-iac/helplines/usvc/templates/studio-flows/webchat-sd.tftpl @@ -1,6 +1,6 @@ ${ jsonencode({ - "description": "${flow_description}", + "description": "${flow_description} Test", "states": [ { "name": "Trigger", From 29cd4aff56bae45a0525589e580ec86b765194b2 Mon Sep 17 00:00:00 2001 From: janorivera Date: Tue, 20 Jan 2026 10:13:08 -0300 Subject: [PATCH 3/5] updates --- twilio-iac/helplines/usvc/production.hcl | 4 ++-- .../helplines/usvc/templates/studio-flows/webchat-sd.tftpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/twilio-iac/helplines/usvc/production.hcl b/twilio-iac/helplines/usvc/production.hcl index 57e4541a6a..97d75e279f 100644 --- a/twilio-iac/helplines/usvc/production.hcl +++ b/twilio-iac/helplines/usvc/production.hcl @@ -52,14 +52,14 @@ locals { ui_editable = true #Channels channels = { - webchat : { + /* webchat : { channel_type = "web" contact_identity = "" templatefile = "/app/twilio-iac/helplines/usvc/templates/studio-flows/webchat-sd.tftpl" channel_flow_vars = { } chatbot_unique_names = [] - }, + },*/ voice_vc : { channel_type = "voice" contact_identity = "" diff --git a/twilio-iac/helplines/usvc/templates/studio-flows/webchat-sd.tftpl b/twilio-iac/helplines/usvc/templates/studio-flows/webchat-sd.tftpl index 7399aa079e..27e38a30cd 100644 --- a/twilio-iac/helplines/usvc/templates/studio-flows/webchat-sd.tftpl +++ b/twilio-iac/helplines/usvc/templates/studio-flows/webchat-sd.tftpl @@ -1,6 +1,6 @@ ${ jsonencode({ - "description": "${flow_description} Test", + "description": "${flow_description}", "states": [ { "name": "Trigger", From fe885abead50a8d8afcce77ae7b92e14fb9f86b0 Mon Sep 17 00:00:00 2001 From: janorivera Date: Tue, 20 Jan 2026 10:14:44 -0300 Subject: [PATCH 4/5] test --- twilio-iac/helplines/usvc/production.hcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/twilio-iac/helplines/usvc/production.hcl b/twilio-iac/helplines/usvc/production.hcl index 97d75e279f..57e4541a6a 100644 --- a/twilio-iac/helplines/usvc/production.hcl +++ b/twilio-iac/helplines/usvc/production.hcl @@ -52,14 +52,14 @@ locals { ui_editable = true #Channels channels = { - /* webchat : { + webchat : { channel_type = "web" contact_identity = "" templatefile = "/app/twilio-iac/helplines/usvc/templates/studio-flows/webchat-sd.tftpl" channel_flow_vars = { } chatbot_unique_names = [] - },*/ + }, voice_vc : { channel_type = "voice" contact_identity = "" From 5608613bdd8f5643a1592144f514b0a5c20489b5 Mon Sep 17 00:00:00 2001 From: janorivera Date: Tue, 20 Jan 2026 10:18:19 -0300 Subject: [PATCH 5/5] new flex channel --- webchat/configurations/usvc-production.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webchat/configurations/usvc-production.ts b/webchat/configurations/usvc-production.ts index df9382d90f..9b54e00420 100644 --- a/webchat/configurations/usvc-production.ts +++ b/webchat/configurations/usvc-production.ts @@ -18,7 +18,7 @@ import { Configuration } from '../types'; import { config as usvcStaging } from '../configurations/usvc-staging'; const accountSid = 'AC3240f813a27a4c52b12e5c5c23960b25'; -const flexFlowSid = 'FO0b9657fa11fc5e24ee26e98575ee4df2'; +const flexFlowSid = 'FO98a2a2bf5f016669bba61ef9c19983aa'; export const config: Configuration = { ...usvcStaging,