From c90d5cbce6abb6dea47fa3fdb8d65bd43d5062c5 Mon Sep 17 00:00:00 2001 From: janorivera Date: Fri, 27 Feb 2026 15:16:27 -0300 Subject: [PATCH 1/4] updates --- .../form-definitions/clhs/v1/insights/postSurvey.json | 5 +++++ .../clhs/configs/lex_v2/es_CLHS/bots/post_survey.json | 1 + 2 files changed, 6 insertions(+) diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/clhs/v1/insights/postSurvey.json b/lambdas/packages/hrm-form-definitions/form-definitions/clhs/v1/insights/postSurvey.json index a0e75620ab..d0350b7f23 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/clhs/v1/insights/postSurvey.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/clhs/v1/insights/postSurvey.json @@ -13,5 +13,10 @@ "insightsObject": "customers", "attributeName": "customer_attribute_3", "questions": ["felt_better"] + }, + { + "insightsObject": "conversations", + "attributeName": "followed_by", + "questions": ["feedback"] } ] \ No newline at end of file diff --git a/twilio-iac/helplines/clhs/configs/lex_v2/es_CLHS/bots/post_survey.json b/twilio-iac/helplines/clhs/configs/lex_v2/es_CLHS/bots/post_survey.json index 7a00a5c752..aeca8f7cd1 100644 --- a/twilio-iac/helplines/clhs/configs/lex_v2/es_CLHS/bots/post_survey.json +++ b/twilio-iac/helplines/clhs/configs/lex_v2/es_CLHS/bots/post_survey.json @@ -5,6 +5,7 @@ "child_directed": true, "idle_session_ttl_in_seconds": "300", "staging_bot_alias_id": "TSTALIASID", + "production_bot_alias_id": "JFKMLY4TYI", "type": "Bot", "intents": { "post_survey_yes": { From f97743e83cfafd2859d3ec1d55007edcf9af5835 Mon Sep 17 00:00:00 2001 From: janorivera Date: Fri, 27 Feb 2026 15:30:32 -0300 Subject: [PATCH 2/4] updates --- webchat/configurations/clhs-staging.ts | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/webchat/configurations/clhs-staging.ts b/webchat/configurations/clhs-staging.ts index 9299001a52..8a21de2028 100644 --- a/webchat/configurations/clhs-staging.ts +++ b/webchat/configurations/clhs-staging.ts @@ -1761,7 +1761,7 @@ const preEngagementConfig: PreEngagementFormDefinition = { }, { type: "select", - label: "¿Con cuál género te identificas?", + label: "¿Con cuál género te identificas? (vivencia interna y personal, la cual podría corresponder o no con el sexo y género asignado al nacer)", name: "gender", defaultValue: "", options: [ @@ -1807,7 +1807,7 @@ const preEngagementConfig: PreEngagementFormDefinition = { }, { type: "select", - label: "Actualmente te identificas como:", + label: "Actualmente te identificas como (atracción emocional, afectiva y/o sexual hacia otras personas):", name: "sexualAndAffectiveOrientation", defaultValue: "", options: [ @@ -1857,7 +1857,7 @@ const preEngagementConfig: PreEngagementFormDefinition = { }, { type: "select", - label: "¿Eres una persona intersexual?", + label: "¿Eres una persona intersexual? (variaciones en características sexuales biológicas como cromosomas, hormonas o anatomía)", name: "intersexuality", defaultValue: "", options: [ @@ -1887,7 +1887,7 @@ const preEngagementConfig: PreEngagementFormDefinition = { }, { type: "select", - label: "¿Eres una persona neurodivergente?", + label: "¿Eres una persona neurodivergente? (formas de funcionamiento neurológico que difieren de lo considerado típico, como autismo o TDAH)", name: "neurodivergence", defaultValue: "", options: [ @@ -1945,7 +1945,17 @@ const preEngagementConfig: PreEngagementFormDefinition = { type: "checkbox", name: "termsAndConditions", label: - 'He leído y acepto los términos y condiciones', + 'Declaro que he leído y acepto los Términos y Condiciones del programa', + required: { + value: true, + message: "Tienes que approbar los términos y condiciones para poder iniciar un chat.", + }, + }, + { + type: "checkbox", + name: "authorization", + label: + 'Declaro que tengo 14 años o más. En caso de ser menor de 14 años, confirmo que cuento con la autorización de mi madre, padre o persona adulta responsable para ingresar', required: { value: true, message: "Tienes que approbar los términos y condiciones para poder iniciar un chat.", From 74095e559f0d3518d84aa793b40db5253a46355a Mon Sep 17 00:00:00 2001 From: janorivera Date: Fri, 27 Feb 2026 15:30:49 -0300 Subject: [PATCH 3/4] update --- webchat/configurations/clhs-production.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webchat/configurations/clhs-production.ts b/webchat/configurations/clhs-production.ts index b741521f51..115083fdce 100644 --- a/webchat/configurations/clhs-production.ts +++ b/webchat/configurations/clhs-production.ts @@ -22,7 +22,7 @@ const flexFlowSid = 'FO37ff9d5f1bb8f9bd0b2969013c73b54f'; export const config: Configuration = { ...clhsStaging, - checkOpenHours: true, + checkOpenHours: false, accountSid, flexFlowSid, twilioServicesUrl: new URL(`https://hrm-production.tl.techmatters.org/lambda/twilio/account-scoped/${accountSid}`), From bfa3fa5131afcd6116dd3daaf7e82c922a947fe8 Mon Sep 17 00:00:00 2001 From: janorivera Date: Fri, 27 Feb 2026 15:40:54 -0300 Subject: [PATCH 4/4] update --- webchat/configurations/clhs-production.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webchat/configurations/clhs-production.ts b/webchat/configurations/clhs-production.ts index 115083fdce..b741521f51 100644 --- a/webchat/configurations/clhs-production.ts +++ b/webchat/configurations/clhs-production.ts @@ -22,7 +22,7 @@ const flexFlowSid = 'FO37ff9d5f1bb8f9bd0b2969013c73b54f'; export const config: Configuration = { ...clhsStaging, - checkOpenHours: false, + checkOpenHours: true, accountSid, flexFlowSid, twilioServicesUrl: new URL(`https://hrm-production.tl.techmatters.org/lambda/twilio/account-scoped/${accountSid}`),