diff --git a/hrm-form-definitions/form-definitions/uk/v1/CallTypeButtons.json b/hrm-form-definitions/form-definitions/uk/v1/CallTypeButtons.json deleted file mode 100644 index 2e54fb8b31..0000000000 --- a/hrm-form-definitions/form-definitions/uk/v1/CallTypeButtons.json +++ /dev/null @@ -1,50 +0,0 @@ -[ - { - "name": "child", - "label": "Victim", - "type": "button", - "category": "data" - }, - { - "name": "caller", - "label": "On behalf of the victim", - "type": "button", - "category": "data" - }, - { - "name": "silent", - "label": "Silent", - "type": "button", - "category": "non-data" - }, - { - "name": "blank", - "label": "Blank", - "type": "button", - "category": "non-data" - }, - { - "name": "joke", - "label": "Joke", - "type": "button", - "category": "non-data" - }, - { - "name": "hangup", - "label": "Hang up", - "type": "button", - "category": "non-data" - }, - { - "name": "wrongNumber", - "label": "Wrong Number", - "type": "button", - "category": "non-data" - }, - { - "name": "abusive", - "label": "Abusive", - "type": "button", - "category": "non-data" - } -] diff --git a/hrm-form-definitions/form-definitions/uk/v1/CannedResponses.json b/hrm-form-definitions/form-definitions/uk/v1/CannedResponses.json deleted file mode 100644 index 93f4af5f6f..0000000000 --- a/hrm-form-definitions/form-definitions/uk/v1/CannedResponses.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "label": "About RP", - "text": "We are a UK service supporting adults (aged 18+) who are experiencing intimate image abuse, also known as, revenge porn." - }, - { - "label": "Comment moderation: clear", - "text": "The comment below has now been approved for this ticket" - }, - { - "label": "Comment moderation: restricted", - "text": "Ticket number for third party comment below: #" - }, - { - "label": "Consent for searching/reporting", - "text": "The Helpline can use the link you have sent to search for additional content online using a range of tools. If you are happy for us to do this, we need you to give us your consent and confirm the following (delete yes/no as applicable):
• I am happy for you to search online for intimate images that include me, report them for removal and take steps to prevent resharing of the images where possible YES/NO
• I confirm that I am the person in the image sent to you and I did not consent to have my images shared YES/NO
• I am aged 18 or over in the images/videos YES/NO
• I am in the UK YES/NO
• If I am acting on behalf of someone else, I have their permission to do so and the statements above apply to them. YES/NO
Once we have searched for further content we would like to ask how you would like to be updated with the reporting and removal process. We do not have to give you the full details of what we may find, and often find letting clients know the removal rate in percentages helps to ease any anxieties. You do not have to contact us every day, and if it feels more comfortable we can set some time aside a week to update you with our progress.
The Helpline will do whatever we can to find and remove intimate images of you that have been shared without your consent. However, there are never any guarantees with this: not all websites will co-operate and some will take some time to take action. We will do our best to keep you updated but please be aware we are a very small and busy team." - }, - { - "label": "(RHC) Emotional Support", - "text": "We really do understand how distressing and emotionally draining this can be. I hope you have been able to speak with a trusted friend or family member about what has happened to help support you through this. You could also make an appointment with your GP to talk about how it is making you feel. You can find a list of more support services on our website: https://reportharmfulcontent.com/advice/other/further-advice/other-support/" - } -] diff --git a/hrm-form-definitions/form-definitions/uk/v1/CaseStatus.json b/hrm-form-definitions/form-definitions/uk/v1/CaseStatus.json deleted file mode 100644 index ede771d791..0000000000 --- a/hrm-form-definitions/form-definitions/uk/v1/CaseStatus.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "open": { - "value": "open", - "label": "Open", - "color": "green", - "transitions": [ - "closed" - ] - }, - "closed": { - "value": "closed", - "label": "Closed", - "color": "red", - "transitions": [ - "open" - ] - } -} diff --git a/hrm-form-definitions/form-definitions/uk/v1/HelplineInformation.json b/hrm-form-definitions/form-definitions/uk/v1/HelplineInformation.json deleted file mode 100644 index fdee370d83..0000000000 --- a/hrm-form-definitions/form-definitions/uk/v1/HelplineInformation.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "label": "Helpline", - "helplines": [ - { - "label": "Revenge Porn Helpline", - "value": "RevengePorn", - "default": true, - "manager": { - "name": "Zara Roddis", - "phone": "(+41) 0000000", - "email": "zara.roddis@swgfl.org.uk" - } - }, - { - "label": "Report Harmful Content", - "value": "RHC", - "default": false, - "manager": { - "name": "Kate Worthington", - "phone": "(+41) 0000000", - "email": "Kate.Worthington@swgfl.org.uk" - } - }, - { - "label": "Professionals Online Safety Helpline", - "value": "POSH", - "default": false, - "manager": { - "name": "Georgia Street", - "phone": "(+41) 0000000", - "email": "georgia.street@swgfl.org.uk" - } - } - ] -} diff --git a/hrm-form-definitions/form-definitions/uk/v1/LayoutDefinitions.json b/hrm-form-definitions/form-definitions/uk/v1/LayoutDefinitions.json deleted file mode 100644 index 3a5c007934..0000000000 --- a/hrm-form-definitions/form-definitions/uk/v1/LayoutDefinitions.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "contact": { - "callerInformation": {}, - "childInformation": { - "splitFormAt": 12 - }, - "caseInformation": { - "splitFormAt": 4 - } - }, - "case": { - "households": { - "splitFormAt": 7 - }, - "perpetrators": { - "splitFormAt": 7 - }, - "incidents": { - "previewFields": [ - "date", - "duration", - "location" - ], - "layout": { - "date": { - "includeLabel": false, - "format": "date" - }, - "duration": { - "includeLabel": true - }, - "location": { - "includeLabel": true - } - }, - "splitFormAt": 3 - }, - "referrals": { - "previewFields": ["referredTo"], - "splitFormAt": 2 - }, - "documents": { - "splitFormAt": 1 - } - } -} diff --git a/hrm-form-definitions/form-definitions/uk/v1/PrepopulateKeys.json b/hrm-form-definitions/form-definitions/uk/v1/PrepopulateKeys.json deleted file mode 100644 index fcf78e7a28..0000000000 --- a/hrm-form-definitions/form-definitions/uk/v1/PrepopulateKeys.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "survey":{ - "ChildInformationTab":["geolocation"], - "CallerInformationTab":["geolocation"] - }, - "preEngagement":{ - "ChildInformationTab":[], - "CallerInformationTab":[], - "CaseInformationTab":[] - } -} \ No newline at end of file diff --git a/hrm-form-definitions/form-definitions/uk/v1/caseForms/DocumentForm.json b/hrm-form-definitions/form-definitions/uk/v1/caseForms/DocumentForm.json deleted file mode 100644 index 332ce4f22e..0000000000 --- a/hrm-form-definitions/form-definitions/uk/v1/caseForms/DocumentForm.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "name": "fileName", - "type": "file-upload", - "label": "Document/Report URLs Sheet", - "description": "Accepted file formats: Word, PDFs, or JPGs.\nFile size not to exceed 5MB", - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "comments", - "label": "Comments", - "type": "textarea", - "placeholder": "", - "rows": 20, - "width": 289 - } -] diff --git a/hrm-form-definitions/form-definitions/uk/v1/caseForms/HouseholdForm.json b/hrm-form-definitions/form-definitions/uk/v1/caseForms/HouseholdForm.json deleted file mode 100644 index d7dbfc0a46..0000000000 --- a/hrm-form-definitions/form-definitions/uk/v1/caseForms/HouseholdForm.json +++ /dev/null @@ -1,104 +0,0 @@ -[ - { - "name": "firstName", - "type": "input", - "label": "First Name", - "required": { "value": true, "message": "RequiredFieldError" } - }, - { - "name": "lastName", - "type": "input", - "label": "Last Name", - "required": { "value": true, "message": "RequiredFieldError" } - }, - { - "name": "relationshipToVictim", - "type": "select", - "label": "Relationship to victim", - "options": [ - { "value": "", "label": "" }, - { "value": "Caregiver", "label": "Caregiver" }, - { "value": "Friend", "label": "Friend" }, - { "value": "Grandparent", "label": "Grandparent" }, - { "value": "Neighbour", "label": "Neighbour" }, - { "value": "Parent", "label": "Parent" }, - { "value": "Partner", "label": "Partner" }, - { "value": "Person in a position of responsibility", "label": "Person in a position of responsibility" }, - { "value": "Sibling", "label": "Sibling" }, - { "value": "Stranger", "label": "Stranger" }, - { "value": "Other", "label": "Other" }, - { "value": "Unknown", "label": "Unknown" } - ], - "required": { "value": true, "message": "RequiredFieldError" } - }, - { - "name": "gender", - "label": "Gender", - "type": "select", - "options": [ - { - "value": "", - "label": "" - }, - { - "value": "Male", - "label": "Male" - }, - { - "value": "Female", - "label": "Female" - }, - { - "value": "Non-Binary", - "label": "Non-Binary" - }, - { - "value": "Unknown", - "label": "Unknown" - } - ], - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "age", - "label": "Age", - "type": "select", - "options": [ - { "value": "", "label": "" }, - { "value": "Unborn", "label": "Unborn" }, - { "value": "0", "label": "0" }, - { "value": "1", "label": "1" }, - { "value": "2", "label": "2" }, - { "value": "3", "label": "3" }, - { "value": "4", "label": "4" }, - { "value": "5", "label": "5" }, - { "value": "6", "label": "6" }, - { "value": "7", "label": "7" }, - { "value": "8", "label": "8" }, - { "value": "9", "label": "9" }, - { "value": "10", "label": "10" }, - { "value": "11", "label": "11" }, - { "value": "12", "label": "12" }, - { "value": "13", "label": "13" }, - { "value": "14", "label": "14" }, - { "value": "15", "label": "15" }, - { "value": "16", "label": "16" }, - { "value": "17", "label": "17" }, - { "value": "18", "label": "18" }, - { "value": "19", "label": "19" }, - { "value": "20", "label": "20" }, - { "value": "21", "label": "21" }, - { "value": "22", "label": "22" }, - { "value": "23", "label": "23" }, - { "value": "24", "label": "24" }, - { "value": "25", "label": "25" }, - { "value": ">25", "label": ">25" }, - { "value": "Unknown", "label": "Unknown" }, - { "value": "Other", "label": "Other" } - ], - "required": { "value": true, "message": "RequiredFieldError" } - } -] diff --git a/hrm-form-definitions/form-definitions/uk/v1/caseForms/IncidentForm.json b/hrm-form-definitions/form-definitions/uk/v1/caseForms/IncidentForm.json deleted file mode 100644 index 9dc3db8904..0000000000 --- a/hrm-form-definitions/form-definitions/uk/v1/caseForms/IncidentForm.json +++ /dev/null @@ -1,112 +0,0 @@ -[ - { - "name": "date", - "label": "Date", - "type": "date-input", - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "duration", - "label": "Duration", - "type": "select", - "options": [ - { - "value": "", - "label": "" - }, - { - "value": "Ongoing", - "label": "Ongoing" - }, - { - "value": "Once Off", - "label": "Once Off" - }, - { - "value": "Other", - "label": "Other" - } - ], - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "otherSpecify", - "label": "If other, specify years/months", - "type": "input" - }, - { - "name": "location", - "label": "Location", - "type": "select", - "options": [ - { - "value": "", - "label": "" - }, - { - "value": "Unknown", - "label": "Unknown" - }, - { - "value": "School", - "label": "School" - }, - { - "value": "HomeOwn", - "label": "Home (own)" - }, - { - "value": "HomeOther", - "label": "Home (other)" - }, - { - "value": "Institution", - "label": "Institution" - }, - { - "value": "Online", - "label": "Online" - }, - { - "value": "Public Place", - "label": "Public Place" - }, - { - "value": "Community", - "label": "Community" - }, - { - "value": "Other", - "label": "Other" - } - ], - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "ReportedElsewhere", - "label": "Has this been reported elsewhere?", - "type": "checkbox" - }, - { - "name": "whereElseBeenReported", - "label": "Where else the incident has been reported?", - "type": "mixed-checkbox" - }, - { - "name": "note", - "label": "Note", - "type": "textarea", - "placeholder": "Type here to add note...", - "rows": 10, - "width": 500 - } -] diff --git a/hrm-form-definitions/form-definitions/uk/v1/caseForms/NoteForm.json b/hrm-form-definitions/form-definitions/uk/v1/caseForms/NoteForm.json deleted file mode 100644 index eca41c2f17..0000000000 --- a/hrm-form-definitions/form-definitions/uk/v1/caseForms/NoteForm.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "name": "numberOfImagesReported", - "label": "Number of images reported", - "type": "input" - }, - { - "name": "numberOfImagesRemoved", - "label": "Number of images removed", - "type": "input" - }, - { - "name": "note", - "label": "Note", - "type": "textarea", - "placeholder": "Type here to add note...", - "rows": 20, - "width": 500 - } -] diff --git a/hrm-form-definitions/form-definitions/uk/v1/caseForms/PerpetratorForm.json b/hrm-form-definitions/form-definitions/uk/v1/caseForms/PerpetratorForm.json deleted file mode 100644 index 22c3b8d018..0000000000 --- a/hrm-form-definitions/form-definitions/uk/v1/caseForms/PerpetratorForm.json +++ /dev/null @@ -1,41 +0,0 @@ -[ - { - "name": "relationshipToVictim", - "label": "Relationship to Victim", - "type": "select", - "options": [ - { - "value": "", - "label": "" - }, - { - "value": "clientDoesntKnow", - "label": "Client doesn't know" - }, - { - "value": "criminalGang", - "label": "Criminal gang" - }, - { - "value": "familyMember", - "label": "Family member" - }, - { - "value": "knownPerson", - "label": "Known Person" - }, - { - "value": "previousCurrentPartner", - "label": "Previous/Current partner" - }, - { - "value": "notAsked", - "label": "Question not Asked" - }, - { - "value": "Unknown", - "label": "Unknown" - } - ] - } -] diff --git a/hrm-form-definitions/form-definitions/uk/v1/caseForms/ReferralForm.json b/hrm-form-definitions/form-definitions/uk/v1/caseForms/ReferralForm.json deleted file mode 100644 index 26897ab892..0000000000 --- a/hrm-form-definitions/form-definitions/uk/v1/caseForms/ReferralForm.json +++ /dev/null @@ -1,179 +0,0 @@ -[ - { - "name": "date", - "label": "Date", - "type": "date-input", - "required": { - "value": true, - "message": "RequiredFieldError" - }, - "metadata": { - "eventTimestampSource": true - } - }, - { - "name": "referredTo", - "label": "Referred To", - "type": "select", - "options": [ - { - "value": "", - "label": "" - }, - { - "value": "Safeguarding", - "label": "Safeguarding" - }, - { - "value": "SafeguardingEscalated to DSL", - "label": "Safeguarding - Escalated to DSL" - }, - { - "value": "SafeguardingEscalated to Police/LA", - "label": "Safeguarding - Escalated to Police/LA" - }, - { - "value": "RHCreferral", - "label": "RHC" - }, - { - "value": "RHCreferral", - "label": "RHC" - }, - { - "value": "Domestic Abuse service", - "label": "Domestic Abuse service" - }, - { - "value": "Muslim support", - "label": "Muslim support" - }, - { - "value": "QMUL", - "label": "QMUL" - }, - { - "value": "Rights of Women", - "label": "Rights of Women" - }, - { - "value": "Stalking Support Service", - "label": "Stalking Support Service" - }, - { - "value": "Under 18 service", - "label": "Under 18 service" - }, - { - "value": "Young person (18 - 25) service", - "label": "Young person (18 - 25) service" - }, - { - "value": "Other", - "label": "Other" - } - ], - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "policeResponse", - "label": "Police Response", - "type": "select", - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "positive", - "label": "Positive" - }, - { - "value": "negative", - "label": "Negative" - } - ] - }, - { - "name": "reportedTo", - "label": "Reported to?", - "type": "select", - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "facebook", - "label": "Facebook" - }, - { - "value": "instagram", - "label": "Instagram" - } - ] - }, - { - "name": "reportingStatus", - "label": "Reporting Status", - "type": "select", - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "reported", - "label": "Reported" - }, - { - "value": "inProgress", - "label": "In Review" - }, - { - "value": "resolved", - "label": "Resolved/Removed" - }, - { - "value": "escalated", - "label": "Escalated" - }, - { - "value": "rejected", - "label": "Rejected" - } - ] - }, - { - "name": "rhcNotActioned", - "label": "RHC Not Actioned", - "type": "listbox-multiselect", - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "alreadyRemoved", - "label": "Removed before reported" - }, - { - "value": "ageverificationfail", - "label": "Age Verification Failed" - } - ] - }, - { - "name": "reportingReference", - "label": "Report Reference", - "type": "input" - }, - { - "name": "comments", - "label": "Comments/Platform Response", - "type": "textarea" - } -] diff --git a/hrm-form-definitions/form-definitions/uk/v1/insights/oneToManyConfigSpecs.json b/hrm-form-definitions/form-definitions/uk/v1/insights/oneToManyConfigSpecs.json deleted file mode 100644 index fe51488c70..0000000000 --- a/hrm-form-definitions/form-definitions/uk/v1/insights/oneToManyConfigSpecs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/hrm-form-definitions/form-definitions/uk/v1/insights/oneToOneConfigSpec.json b/hrm-form-definitions/form-definitions/uk/v1/insights/oneToOneConfigSpec.json deleted file mode 100644 index 27727a1ce5..0000000000 --- a/hrm-form-definitions/form-definitions/uk/v1/insights/oneToOneConfigSpec.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "contactForm": { - "callerInformation": [ - { - "name": "relationshipToChild", - "insights": ["conversations", "initiated_by"] - } - ], - "childInformation": [ - { - "name": "geolocation", - "insights": ["customers", "city"] - }, - { - "name": "whoAlerted", - "insights": ["customers", "customer_attribute_2"] - }, - { - "name": "mentalHealthIssueDisclosed", - "insights": ["customers", "category"] - }, - { - "name": "contentCreator", - "insights": ["conversations", "conversation_measure_1"], - "type": "checkbox" - } - ], - "caseInformation": [ - { - "name": "repeatCaller", - "insights": ["conversations", "conversation_attribute_7"], - "type": "mixed-checkbox" - }, - { - "name": "actionTaken", - "insights": ["conversations", "initiative"] - }, - { - "name": "supportType", - "insights": ["conversations", "conversation_attribute_5"] - }, - { - "name": "operationMakedom", - "insights": ["conversations", "productive"] - } - ] - }, - "caseForm": { - "topLevel": [ - { - "name": "id", - "insights": ["conversations", "case"] - } - ], - "perpetrator": [ - { - "name": "relationshipToVictim", - "insights": ["customers", "organization"] - }, - { - "name": "gender", - "insights": ["conversations", "followed_by"] - }, - { - "name": "age", - "insights": ["conversations", "preceded_by"] - } - ], - "incident": [ - { - "name": "duration", - "insights": ["conversations", "in_business_hours"] - }, - { - "name": "location", - "insights": ["customers", "market_segment"] - } - ], - "referral": [ - { - "name": "referredTo", - "insights": ["customers", "customer_manager"] - } - ] - } -} diff --git a/hrm-form-definitions/form-definitions/uk/v1/tabbedForms/CallerInformationTab.json b/hrm-form-definitions/form-definitions/uk/v1/tabbedForms/CallerInformationTab.json deleted file mode 100644 index aff9b83bef..0000000000 --- a/hrm-form-definitions/form-definitions/uk/v1/tabbedForms/CallerInformationTab.json +++ /dev/null @@ -1,427 +0,0 @@ -[ - { - "name": "firstName", - "label": "First Name", - "type": "input", - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "lastName", - "label": "Last Name", - "type": "input", - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "age", - "label": "Age", - "type": "select", - "options": [ - { - "value": "", - "label": "" - }, - { - "value": "<18", - "label": "<18" - }, - { - "value": "18", - "label": "18" - }, - { - "value": "19", - "label": "19" - }, - { - "value": "20", - "label": "20" - }, - { - "value": "21", - "label": "21" - }, - { - "value": "22", - "label": "22" - }, - { - "value": "23", - "label": "23" - }, - { - "value": "24", - "label": "24" - }, - { - "value": "25", - "label": "25" - }, - { - "value": "24", - "label": "24" - }, - { - "value": "25", - "label": "25" - }, - { - "value": "26", - "label": "26" - }, - { - "value": "27", - "label": "27" - }, - { - "value": "28", - "label": "28" - }, - { - "value": "29", - "label": "29" - }, - { - "value": "30", - "label": "30" - }, - { - "value": "31", - "label": "31" - }, - { - "value": "32", - "label": "32" - }, - { - "value": "33", - "label": "33" - }, - { - "value": "34", - "label": "34" - }, - { - "value": "35", - "label": "35" - }, - { - "value": "36", - "label": "36" - }, - { - "value": "37", - "label": "37" - }, - { - "value": "38", - "label": "38" - }, - { - "value": "39", - "label": "39" - }, - { - "value": "40", - "label": "40" - }, - { - "value": "41", - "label": "41" - }, - { - "value": "42", - "label": "42" - }, - { - "value": "43", - "label": "43" - }, - { - "value": "44", - "label": "44" - }, - { - "value": "45", - "label": "45" - }, - { - "value": "46", - "label": "46" - }, - { - "value": "47", - "label": "47" - }, - { - "value": "48", - "label": "48" - }, - { - "value": "49", - "label": "49" - }, - { - "value": "50", - "label": "50" - }, - { - "value": "51", - "label": "51" - }, - { - "value": "52", - "label": "52" - }, - { - "value": "53", - "label": "53" - }, - { - "value": "54", - "label": "54" - }, - { - "value": "55", - "label": "55" - }, - { - "value": "56", - "label": "56" - }, - { - "value": "57", - "label": "57" - }, - { - "value": "58", - "label": "58" - }, - { - "value": "59", - "label": "59" - }, - { - "value": ">59", - "label": ">59" - }, - { - "value": "Unknown", - "label": "Unknown" - }, - { - "value": "Other", - "label": "Other" - } - ], - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "gender", - "label": "Gender", - "type": "select", - "options": [ - { - "value": "", - "label": "" - }, - { - "value": "Male", - "label": "Male" - }, - { - "value": "Female", - "label": "Female" - }, - { - "value": "Non-Binary", - "label": "Non-Binary" - }, - { - "value": "Unknown", - "label": "Unknown" - } - ], - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "relationshipToVictim", - "label": "Relationship To Victim", - "type": "select", - "options": [ - { - "value": "", - "label": "" - }, - { - "value": "familyMemberFriend", - "label": "Family Member/ Friend" - }, - { - "value": "stranger", - "label": "Stranger" - }, - { - "value": "colleague", - "label": "Colleague" - }, - { - "value": "supportProfessional", - "label": "Support Professional" - }, - { - "value": "unknown", - "label": "Unknown" - } - ], - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "geolocation", - "label": "Location", - "type": "select", - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "England", - "label": "England" - }, - { - "value": "Wales", - "label": "Wales" - }, - { - "value": "Scotland", - "label": "Scotland" - }, - { - "value": "Northern Ireland", - "label": "Northern Ireland" - }, - { - "value": "ROI", - "label": "ROI" - }, - { - "value": "NotUK", - "label": "Not UK" - } - ] - }, - { - "name": "ifNotUk", - "label": "If not UK, where?", - "type": "input" - }, - { - "name": "answerHOQuestions", - "label": "Is the client happy to answer HO data questions?", - "type": "select", - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "yes", - "label": "Yes" - }, - { - "value": "no", - "label": "No" - }, - { - "value": "didntAsk", - "label": "Didn't ask" - } - ] - }, - { - "name": "whyHONotAsked", - "label": "Why didn't you ask HO questions?", - "type": "select", - "options": [ - { - "value": "", - "label": "" - }, - { - "value": "clientDistressed", - "label": "Client Distressed" - }, - { - "value": "MHofClient", - "label": "MH of Client" - }, - { - "value": "clientNotInUK", - "label": "Client not in UK" - }, - { - "value": "client under 18", - "label": "Client under 18" - }, - { - "value": "previousClient", - "label": "PreviousClient" - } - ], - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "numberOfInteractions", - "label": "Number of Interactions with client", - "type": "input" - }, - { - "name": "whoAlerted", - "label": "Who alerted them to the content?", - "type": "select", - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "coldMessaged", - "label": "Cold Messaged" - }, - { - "value": "familyOrFriend", - "label": "Family member/ Friend" - }, - { - "value": "perpetrator", - "label": "Perpetrator" - }, - { - "value": "policeSupportService", - "label": "Police/ Support service" - }, - { - "value": "selfIdentified", - "label": "Self identified" - } - ] - } -] diff --git a/hrm-form-definitions/form-definitions/uk/v1/tabbedForms/CaseInformationTab.json b/hrm-form-definitions/form-definitions/uk/v1/tabbedForms/CaseInformationTab.json deleted file mode 100644 index c34cf55a99..0000000000 --- a/hrm-form-definitions/form-definitions/uk/v1/tabbedForms/CaseInformationTab.json +++ /dev/null @@ -1,194 +0,0 @@ -[ - { - "name": "callSummary", - "label": "Contact Summary", - "type": "textarea", - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "typeOfPracticalSupportOffered", - "label": "Type of practical support offered", - "type": "listbox-multiselect", - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "Reported content", - "label": "Reported content" - }, - { - "value": "Gave general information/advice about the crime", - "label": "Gave general information/advice about the crime" - }, - { - "value": "Found reporting routes", - "label": "Found reporting routes" - }, - { - "value": "Advice on collecting evidence & reporting to the police", - "label": "Advice on collecting evidence & reporting to the police" - }, - { - "value": "No details given/no contact", - "label": "No details given/no contact" - }, - { - "value": "Signposted to other service", - "label": "Signposted to other service" - } - ] - }, - { - "name": "signpostedToOtherSupportService", - "label": "Signposted to other support service", - "type": "listbox-multiselect", - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "RHC", - "label": "RHC" - }, - { - "value": "POSH", - "label": "POSH" - }, - { - "value": "QMUL", - "label": "QMUL" - }, - { - "value": "StopNCII.org", - "label": "StopNCII.org" - }, - { - "value": "Hub of hope", - "label": "Hub of hope" - }, - { - "value": "Muslim support service", - "label": "Muslim support service" - }, - { - "value": "CALM", - "label": "CALM" - }, - { - "value": "RPH website", - "label": "RPH website" - }, - { - "value": "Victim support", - "label": "Victim support" - }, - { - "value": "Child line", - "label": "Child line" - }, - { - "value": "The mix", - "label": "The mix" - }, - { - "value": "Take it down", - "label": "Take it down" - }, - { - "value": "Scottish womens right centre", - "label": "Scottish womens right centre" - }, - { - "value": "Domestic abuse service", - "label": "Domestic abuse service" - }, - { - "value": "Action fraud", - "label": "Action fraud" - }, - { - "value": "None", - "label": "None" - } - ] - }, - { - "name": "disclosedImpactAsAResult", - "label": "Disclosed impact as a result?", - "type": "listbox-multiselect", - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "Worsened mental health (to pre-existing)", - "label": "Worsened mental health (to pre-existing)" - }, - { - "value": "Suicidal ideation", - "label": "Suicidal ideation" - }, - { - "value": "Paranoia", - "label": "Paranoia" - }, - { - "value": "Depression", - "label": "Depression" - }, - { - "value": "Financial impact", - "label": "Financial impact" - }, - { - "value": "Job disruption", - "label": "Job disruption" - }, - { - "value": "Relationships breakdown", - "label": "Relationships breakdown" - }, - { - "value": "Not reported", - "label": "Not reported" - } - ] - }, - { - "name": "isTheClientASexWorker", - "label": "Is the client a sex worker? ", - "type": "checkbox" - }, - { - "name": "didTheClientDiscloseUnder18", - "label": "Did the client disclose: Under 18?", - "type": "select", - "unknownOption": "Unknown", - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "Yes", - "label": "Yes" - }, - { - "value": "No", - "label": "No" - } - ] - }, - { - "name": "additionalNeeds", - "label": "Additional needs ", - "type": "checkbox" - } -] diff --git a/hrm-form-definitions/form-definitions/uk/v1/tabbedForms/ChildInformationTab.json b/hrm-form-definitions/form-definitions/uk/v1/tabbedForms/ChildInformationTab.json deleted file mode 100644 index b82e05cef4..0000000000 --- a/hrm-form-definitions/form-definitions/uk/v1/tabbedForms/ChildInformationTab.json +++ /dev/null @@ -1,611 +0,0 @@ -[ - { - "name": "reportingInProgress", - "label": "Reporting in progress", - "type": "checkbox" - }, - { - "name": "surveySentOrNotAppropriate", - "label": "Survey sent or not appropriate", - "type": "select", - "unknownOption": "", - "options": [ - { - "value": "Unknown", - "label": "Unknown" - }, - { - "value": "Yes", - "label": "Yes" - }, - { - "value": "No: no details", - "label": "No: no details" - }, - { - "value": "No: not UK", - "label": "No: not UK" - }, - { - "value": "No: previous client", - "label": "No: previous client" - }, - { - "value": "No: under 18", - "label": "No: under 18" - } - ], - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "gender", - "label": "Demographic: Identified gender", - "type": "select", - "unknownOption": "Unknown", - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "Male", - "label": "Male" - }, - { - "value": "Female", - "label": "Female" - }, - { - "value": "Non-binary", - "label": "Non-binary" - }, - { - "value": "Question not asked", - "label": "Question not asked" - }, - { - "value": "Question not answered", - "label": "Question not answered" - } - ] - }, - { - "name": "age", - "label": "Demographic: Age band ", - "type": "select", - "unknownOption": "Unknown", - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "<18", - "label": "Under 18" - }, - { - "value": "18-24", - "label": "18-24" - }, - { - "value": "25-34", - "label": "25-34" - }, - { - "value": "35-44", - "label": "35-44" - }, - { - "value": "45-54", - "label": "45-54" - }, - { - "value": "55-64", - "label": "55-64" - }, - { - "value": ">65", - "label": "65+" - } - ] - }, - { - "name": "clientPhone", - "label": "Client phone", - "type": "input" - }, - { - "name": "dateOfEnquiry", - "type": "date-input", - "label": "Date of enquiry" - }, - { - "name": "endDateOfEnquiry", - "type": "date-input", - "label": "End date of enquiry" - }, - { - "name": "channelOfEnquiry", - "label": "Channel of enquiry", - "type": "select", - "unknownOption": "Unknown", - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "Email", - "label": "Email" - }, - { - "value": "Phone", - "label": "Phone" - }, - { - "value": "Police/NCA", - "label": "Police/NCA" - }, - { - "value": "Whisper", - "label": "Whisper" - }, - { - "value": "REIYA (chatbot)", - "label": "REIYA (chatbot)" - }, - { - "value": "Professionals referral form", - "label": "Professionals referral form" - } - ] - }, - { - "name": "whoIsTheCaller", - "label": "Who is the caller", - "type": "select", - "unknownOption": "Unknown", - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "Not RP", - "label": "Not RP" - }, - { - "value": "Professional", - "label": "Professional" - }, - { - "value": "Police", - "label": "Police" - }, - { - "value": "Client", - "label": "Client" - }, - { - "value": "Perpetrator", - "label": "Perpetrator" - }, - { - "value": "Friend/family on client's behalf", - "label": "Friend/family on client's behalf" - }, - { - "value": "Caller not known to the client", - "label": "Caller not known to the client" - } - ] - }, - { - "name": "operationMakedom", - "label": "Operation Makedom", - "type": "checkbox" - }, - { - "name": "numberOfContacts", - "label": "Number of contacts", - "type": "input" - }, - { - "name": "previousClient", - "label": "Previous client", - "type": "checkbox" - }, - { - "name": "natureOfContent", - "label": "Nature of content", - "type": "listbox-multiselect", - "options": [ - { - "value": "Unknown", - "label": "Unknown" - }, - { - "value": "Still images", - "label": "Still images" - }, - { - "value": "Videos", - "label": "Videos" - }, - { - "value": "Deepfakes imagery", - "label": "Deepfakes imagery" - }, - { - "value": "Not relevant", - "label": "Not relevant" - }, - { - "value": "Client hasn’t answered", - "label": "Client hasn’t answered" - } - ] - }, - { - "name": "locationOfContent", - "label": "Location of content", - "type": "listbox-multiselect", - "options": [ - { - "value": "Collector site", - "label": "Collector site" - }, - { - "value": "Dating site", - "label": "Dating site" - }, - { - "value": "Discord", - "label": "Discord" - }, - { - "value": "Emails/texts/whatsapps", - "label": "Emails/texts/whatsapps" - }, - { - "value": "Facebook (public)", - "label": "Facebook (public)" - }, - { - "value": "Facebook (DM)", - "label": "Facebook (DM)" - }, - { - "value": "General porn site", - "label": "General porn site" - }, - { - "value": "Hard copy pictures", - "label": "Hard copy pictures" - }, - { - "value": "Instagram (public)", - "label": "Instagram (public)" - }, - { - "value": "Instagram (DM)", - "label": "Instagram (DM)" - }, - { - "value": "Only fans", - "label": "Only fans" - }, - { - "value": "Reddit", - "label": "Reddit" - }, - { - "value": "Snapchat", - "label": "Snapchat" - }, - { - "value": "Twitter/X", - "label": "Twitter/X" - }, - { - "value": "TikTok", - "label": "TikTok" - }, - { - "value": "Not known", - "label": "Not known" - }, - { - "value": "Not relevant", - "label": "Not relevant" - }, - { - "value": "Shown on device", - "label": "Shown on device" - } - ] - }, - { - "name": "whereIsThePersonThreateningToPostContent", - "label": "Where is the person threatening to post content?", - "type": "listbox-multiselect", - "options": [ - { - "value": "Collector site", - "label": "Collector site" - }, - { - "value": "Dating site", - "label": "Dating site" - }, - { - "value": "Discord", - "label": "Discord" - }, - { - "value": "Emails/texts/whatsapps", - "label": "Emails/texts/whatsapps" - }, - { - "value": "Facebook (public)", - "label": "Facebook (public)" - }, - { - "value": "Facebook (DM)", - "label": "Facebook (DM)" - }, - { - "value": "General porn site", - "label": "General porn site" - }, - { - "value": "Hard copy pictures", - "label": "Hard copy pictures" - }, - { - "value": "Instagram (public)", - "label": "Instagram (public)" - }, - { - "value": "Instagram (DM)", - "label": "Instagram (DM)" - }, - { - "value": "Only fans", - "label": "Only fans" - }, - { - "value": "Reddit", - "label": "Reddit" - }, - { - "value": "Snapchat", - "label": "Snapchat" - }, - { - "value": "Twitter/X", - "label": "Twitter/X" - }, - { - "value": "TikTok", - "label": "TikTok" - }, - { - "value": "Not known", - "label": "Not known" - }, - { - "value": "Not relevant", - "label": "Not relevant" - }, - { - "value": "Shown on device", - "label": "Shown on device" - } - ] - }, - { - "name": "locationUsedToMakeTheTheThreats", - "label": "Location used to make the threats", - "type": "listbox-multiselect", - "options": [ - { - "value": "Include - verbal communication", - "label": "Include - verbal communication" - }, - { - "value": "Collector site", - "label": "Collector site" - }, - { - "value": "Dating site", - "label": "Dating site" - }, - { - "value": "Discord", - "label": "Discord" - }, - { - "value": "Emails/texts/whatsapps", - "label": "Emails/texts/whatsapps" - }, - { - "value": "Facebook (public)", - "label": "Facebook (public)" - }, - { - "value": "Facebook (DM)", - "label": "Facebook (DM)" - }, - { - "value": "General porn site", - "label": "General porn site" - }, - { - "value": "Hard copy pictures", - "label": "Hard copy pictures" - }, - { - "value": "Instagram (public)", - "label": "Instagram (public)" - }, - { - "value": "Instagram (DM)", - "label": "Instagram (DM)" - }, - { - "value": "Only fans", - "label": "Only fans" - }, - { - "value": "Reddit", - "label": "Reddit" - }, - { - "value": "Snapchat", - "label": "Snapchat" - }, - { - "value": "Twitter/X", - "label": "Twitter/X" - }, - { - "value": "TikTok", - "label": "TikTok" - }, - { - "value": "Not known", - "label": "Not known" - }, - { - "value": "Not relevant", - "label": "Not relevant" - }, - { - "value": "Shown on device", - "label": "Shown on device" - } - ] - }, - { - "name": "doesTheClientSuspectWhoThePerpatratorIs", - "label": "Does the client suspect who the perpetrator is?", - "type": "select", - "unknownOption": "Unknown", - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "Criminal gang", - "label": "Criminal gang" - }, - { - "value": "Family member", - "label": "Family member" - }, - { - "value": "Known person", - "label": "Known person" - }, - { - "value": "Not known", - "label": "Not known" - }, - { - "value": "Previous/current person", - "label": "Previous/current person" - }, - { - "value": "Unknown person", - "label": "Unknown person" - } - ] - }, - { - "name": "assumedGenderOfPerpetrators", - "label": "Assumed gender of perpetrator/s", - "type": "listbox-multiselect", - "options": [ - { - "value": "Male", - "label": "Male" - }, - { - "value": "Female", - "label": "Female" - }, - { - "value": "Non-binary", - "label": "Non-binary" - }, - { - "value": "Other", - "label": "Other" - }, - { - "value": "Not relevant", - "label": "Not relevant" - }, - { - "value": "Criminal gang", - "label": "Criminal gang" - }, - { - "value": "Unknown", - "label": "Unknown" - } - ] - }, - { - "name": "policeResponse", - "label": "Police response", - "type": "select", - "unknownOption": "Unknown", - "options": [ - { - "value": "Unknown", - "label": "Unknown" - }, - { - "value": "Not reported", - "label": "Not reported" - }, - { - "value": "Advised to report", - "label": "Advised to report" - }, - { - "value": "Client reported positive response", - "label": "Client reported positive response" - }, - { - "value": "Client reported negative response", - "label": "Client reported negative response" - }, - { - "value": "Client reported unknown outcome", - "label": "Client reported unknown outcome" - } - ] - }, - { - "name": "safeguardingReferralMade", - "label": "Safeguarding referral made?", - "type": "checkbox" - }, - { - "name": "numberOfImagesReported", - "label": "Number of images reported", - "type": "input" - }, - { - "name": "numberOfImagesRemoved", - "label": "Number of images removed", - "type": "input" - } -] diff --git a/hrm-form-definitions/form-definitions/uk/v1/tabbedForms/IssueCategorizationTab.json b/hrm-form-definitions/form-definitions/uk/v1/tabbedForms/IssueCategorizationTab.json deleted file mode 100644 index 2f39cedf7e..0000000000 --- a/hrm-form-definitions/form-definitions/uk/v1/tabbedForms/IssueCategorizationTab.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "RevengePorn": { - "Nature of Issues": { - "color": "#F5A623", - "subcategories": [ - {"label": "Content sharing leak"}, - {"label": "Extortion by a known person"}, - {"label": "Fear of sharing"}, - {"label": "Hacked account"}, - {"label": "Harassment"}, - {"label": "Images shared"}, - {"label": "Sextortion"}, - {"label": "Sexual assault"}, - {"label": "Stalking"}, - {"label": "Threats to share images"}, - {"label": "Under 18"}, - {"label": "Voyeurism"}, - {"label": "Unspecified/Other"} - ] - } - }, - "RHC": { - "Wider Issues Surrounding Case": { - "color": "#F8E900", - "subcategories": [ - {"label": "IIA"}, - {"label": "Malicious comms"}, - {"label": "Rape/ Sexual abuse"}, - {"label": "Harassment"}, - {"label": "Stalking"}, - {"label": "Coercive control"}, - {"label": "Domestic Abuse"}, - {"label": "Identity Theft"}, - {"label": "Fraud"}, - {"label": "Voyeurism"}, - {"label": "Extortion"}, - {"label": "Hate speech"}, - {"label": "Hacked account"}, - {"label": "Threat to life"} - ] - } - }, - "POSH": { - "Primary Issues": { - "color": "#F8E900", - "subcategories": [ - {"label": "Advertising commercialism"}, - {"label": "Cyber bullying"}, - {"label": "E crime"}, - {"label": "Excessive use"}, - {"label": "Grooming"}, - {"label": "Love/relationships/sexuality"}, - {"label": "Online reputation"}, - {"label": "Potentially harmful content"}, - {"label": "Hate speech"}, - {"label": "Sexting"}, - {"label": "Sexual harrassment"}, - {"label": "Technical settings"}, - {"label": "DatA privacy"}, - {"label": "Gaming"}, - {"label": "Media literacy education"}, - {"label": "Sextortion"} - ] - }, - "Peripheral Issues": { - "color": "#E86B6B", - "subcategories": [ - {"label": "Advertising commercialism"}, - {"label": "Cyber bullying"}, - {"label": "E crime"}, - {"label": "Excessive use"}, - {"label": "Grooming"}, - {"label": "Love/relationships/sexuality"}, - {"label": "Online reputation"}, - {"label": "Potentially harmful content"}, - {"label": "Hate speech"}, - {"label": "Sexting"}, - {"label": "Sexual harrassment"}, - {"label": "Technical settings"}, - {"label": "DatA privacy"}, - {"label": "Gaming"}, - {"label": "Media literacy education"}, - {"label": "Sextortion"} - ] - }, - "Other Enquiries": { - "color": "8055BA", - "subcategories": [ - {"label": "Other nature of enquiry"}, - {"label": "General enquiry"}, - {"label": "Media enquiry"}, - {"label": "Police enquiry"}, - {"label": "Mail in error"}, - {"label": "Duplicate ticket"}, - {"label": "Take down request response"}, - {"label": "Notification"}, - {"label": "Resource request"}, - {"label": "Prank calls,porn enquiries, etc"}, - {"label": "Volunteering"} - ] - } - } -} diff --git a/hrm-form-definitions/src/formDefinition/loadDefinition.ts b/hrm-form-definitions/src/formDefinition/loadDefinition.ts index 28f3418aea..5163386b5d 100644 --- a/hrm-form-definitions/src/formDefinition/loadDefinition.ts +++ b/hrm-form-definitions/src/formDefinition/loadDefinition.ts @@ -46,7 +46,6 @@ export enum DefinitionVersionId { jmV1 = 'jm-v1', // SafeSpot v1 caV1 = 'ca-v1', // Kids Help Phone Canada v1 phV1 = 'ph-v1', // ECPAT Phillippines v1 - ukV1 = 'uk-v1', // Revenge Porn UK v1 huV1 = 'hu-v1', // Kek Vonal v1 thV1 = 'th-v1', // Childline Thailand v1 clV1 = 'cl-v1', // Línea Libre (CL) v1 diff --git a/plugin-hrm-form/src/permissions/uk.json b/plugin-hrm-form/src/permissions/uk.json deleted file mode 100644 index 576a2acff2..0000000000 --- a/plugin-hrm-form/src/permissions/uk.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "viewCase": [["everyone"]], - "closeCase": [["isSupervisor"], ["isCreator", "isCaseOpen"]], - "reopenCase": [["isSupervisor"]], - "caseStatusTransition": [], - "addNote": [["isSupervisor"], ["isCreator", "isCaseOpen"]], - "editNote": [["isSupervisor"]], - "addReferral": [["isSupervisor"], ["isCreator", "isCaseOpen"]], - "editReferral": [["isSupervisor"]], - "addHousehold": [["isSupervisor"], ["isCreator", "isCaseOpen"]], - "editHousehold": [["isSupervisor"]], - "addPerpetrator": [["isSupervisor"], ["isCreator", "isCaseOpen"]], - "editPerpetrator": [["isSupervisor"]], - "addIncident": [["isSupervisor"], ["isCreator", "isCaseOpen"]], - "editIncident": [["isSupervisor"]], - "addDocument": [["isSupervisor"], ["isCreator", "isCaseOpen"]], - "editDocument": [["isSupervisor"]], - "editCaseOverview": [["isSupervisor"], ["isCreator", "isCaseOpen"]], - "updateCaseContacts": [["isSupervisor"], ["isCaseOpen"]], - - "viewContact": [["everyone"]], - "editContact": [["isSupervisor"]], - "editInProgressContact": [], - "viewExternalTranscript": [["isSupervisor"]], - "viewRecording": [], - "addContactToCase": [["isSupervisor"], ["isOwner"]], - "removeContactFromCase": [["isSupervisor"], ["isOwner"]], - - "viewProfile": [], - "flagProfile": [], - "unflagProfile": [], - "createProfileSection": [], - "viewProfileSection": [], - "editProfileSection": [], - - "viewPostSurvey": [["isSupervisor"]], - - "viewIdentifiers": [["everyone"]] -} diff --git a/plugin-hrm-form/src/translations/en-UK/flexUI.json b/plugin-hrm-form/src/translations/en-UK/flexUI.json deleted file mode 100644 index 97821904bf..0000000000 --- a/plugin-hrm-form/src/translations/en-UK/flexUI.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "Case-ChildIsAtRisk": "Reporting in progress?", - "CaseMerging-ContactAddedTo": "Contact added to", - "CaseMerging-RemoveFromCase": "Remove from Case", - "CaseMerging-ContactRemovedFromCase": "Contact removed from case", - "CaseMerging-CaseCreatedAndContactAdded": "Case #{{caseId}} created and contact added", - "CaseMerging-ContactAddedToExistingCase": "Contact added to Case #{{caseId}}", - "CaseMerging-CancelCase": "Cancel Case", - "TabbedForms-AddChildInfoTab": "Victim" -} diff --git a/plugin-hrm-form/src/translations/en-UK/messages.json b/plugin-hrm-form/src/translations/en-UK/messages.json deleted file mode 100644 index e4dd9ee78b..0000000000 --- a/plugin-hrm-form/src/translations/en-UK/messages.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "WelcomeMsg": "Please leave your message below and a pracitioner will aim to get back to you when they can.", - "GoodbyeMsg": "Thank you for reaching out. Please contact us again if you need more help." -} diff --git a/twilio-iac/helplines/uk/common.hcl b/twilio-iac/helplines/uk/common.hcl deleted file mode 100644 index 317eee012e..0000000000 --- a/twilio-iac/helplines/uk/common.hcl +++ /dev/null @@ -1,67 +0,0 @@ -locals { - defaults_config_hcl = read_terragrunt_config(find_in_parent_folders("defaults.hcl")) - defaults_config = local.defaults_config_hcl.locals - config = merge(local.defaults_config, local.local_config) - - local_config = { - helpline = "RevengePorn" - old_dir_prefix = "revengeporn" - definition_version = "uk-v1" - default_autopilot_chatbot_enabled = false - task_language = "en-UK" - helpline_language = "en-UK" - voice_ivr_language = "" - contacts_waiting_channels = ["web", "whatsapp"] - enable_post_survey = false - - - - - workflows = { - master : { - friendly_name : "Master Workflow" - templatefile : "/app/twilio-iac/helplines/uk/templates/workflows/master.tftpl" - }, - survey : { - friendly_name : "Survey Workflow" - templatefile : "/app/twilio-iac/helplines/templates/workflows/lex.tftpl" - } - } - - task_queues = { - master : { - "target_workers" = "routing.skills HAS 'RP'", - "friendly_name" = "Revenge Porn" - }, - rhc : { - "target_workers" = "routing.skills HAS 'RHC'", - "friendly_name" = "RHC" - }, - posh : { - "target_workers" = "routing.skills HAS 'POSH'", - "friendly_name" = "POSH" - }, - survey : { - "target_workers" = "1==0", - "friendly_name" = "Survey" - }, - e2e_test : { - "target_workers" = "email=='aselo-alerts+production@techmatters.org'", - "friendly_name" = "E2E Test Queue" - } - } - task_channels = { - default : "Default" - chat : "Programmable Chat" - voice : "Voice" - sms : "SMS" - video : "Video" - email : "Email" - survey : "Survey" - } - - - - phone_numbers = {} - } -} \ No newline at end of file diff --git a/twilio-iac/helplines/uk/configs/service-configuration/common.json b/twilio-iac/helplines/uk/configs/service-configuration/common.json deleted file mode 100644 index 45379a513a..0000000000 --- a/twilio-iac/helplines/uk/configs/service-configuration/common.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "attributes": { - "definitionVersion": "uk-v1", - "feature_flags": { - "enable_conferencing": false, - "enable_counselor_toolkits": false, - "enable_csam_clc_report": false, - "enable_lex": false, - "enable_save_insights": true, - "enable_voice_recordings": false - }, - "hrm_base_url": "https://hrm-test.tl.techmatters.org", - "multipleOfficeSupport": true, - "permissionConfig": "uk", - "previous_ui_version": { - "date": "2022-12-05T10:53:44.614Z", - "semver": "~1.31.2", - "version": "1.31.2" - } - }, - "ui_attributes": { - "colorTheme": { - "baseName": "GreyLight", - "overrides": { - "MainHeader": { - "Button": { - "color": "#000000" - }, - "Container": { - "background": "#FFFFFF", - "color": "#000000" - }, - "Icon": { - "color": "#000000" - } - }, - "SideNav": { - "Button": { - "background": "#FFFFFF" - }, - "Container": { - "background": "#FFFFFF" - }, - "Icon": { - "color": "#000000" - } - } - }, - "preset": { - "id": "mono-light", - "name": "Simple Light" - } - }, - "theme": null - } -} \ No newline at end of file diff --git a/twilio-iac/helplines/uk/configs/service-configuration/staging.json b/twilio-iac/helplines/uk/configs/service-configuration/staging.json deleted file mode 100644 index aa53f058bc..0000000000 --- a/twilio-iac/helplines/uk/configs/service-configuration/staging.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "attributes": { - "feature_flags": { - }, - "logo_url" : "https://aselo-logo.s3.amazonaws.com/200+transparent+background+no+TM+staging.png" - } -} \ No newline at end of file diff --git a/twilio-iac/helplines/uk/staging.hcl b/twilio-iac/helplines/uk/staging.hcl deleted file mode 100644 index 6ca56492b5..0000000000 --- a/twilio-iac/helplines/uk/staging.hcl +++ /dev/null @@ -1,34 +0,0 @@ -locals { - common_config_hcl = read_terragrunt_config("common.hcl") - common_config = local.common_config_hcl.locals.config - config = merge(local.common_config, local.local_config) - - - local_config = { - - custom_task_routing_filter_expression = "" - - - - flow_vars = { - - } - - channels = { - webchat : { - channel_type = "web" - contact_identity = "" - templatefile = "/app/twilio-iac/helplines/templates/studio-flows/messaging.tftpl" - channel_flow_vars = {} - chatbot_unique_names = [] - }, - whatsapp : { - channel_type = "whatsapp" - contact_identity = "whatsapp:+447897033993" - templatefile = "/app/twilio-iac/helplines/templates/studio-flows/messaging.tftpl" - channel_flow_vars = {} - chatbot_unique_names = [] - } - } - } -} diff --git a/twilio-iac/helplines/uk/templates/workflows/master.tftpl b/twilio-iac/helplines/uk/templates/workflows/master.tftpl deleted file mode 100644 index 4203fb3df3..0000000000 --- a/twilio-iac/helplines/uk/templates/workflows/master.tftpl +++ /dev/null @@ -1,46 +0,0 @@ -{ - "task_routing": { - "filters": [ - { - "filter_friendly_name": "E2E Test", - "expression": "channelType=='web' AND e2eTestMode=='true'", - "targets": [ - { - "expression": "(worker.waitingOfflineContact != true AND ((task.channelType == 'voice' AND worker.channel.chat.assigned_tasks == 0) OR (task.channelType != 'voice' AND worker.channel.voice.assigned_tasks == 0)) AND ((task.transferTargetType == 'worker' AND task.targetSid == worker.sid) OR (task.transferTargetType != 'worker' AND worker.sid != task.ignoreAgent))) OR (worker.waitingOfflineContact == true AND task.targetSid == worker.sid AND task.isContactlessTask == true)", - "queue": "${task_queues.e2e_test}" - } - ] - }, - { - "filter_friendly_name": "All counsellors", - "expression": "isContactlessTask==true", - "targets": [ - { - "queue": "${task_queues.master}", - "expression": "(worker.waitingOfflineContact != true AND ((task.channelType == 'voice' AND worker.channel.chat.assigned_tasks == 0) OR (task.channelType != 'voice' AND worker.channel.voice.assigned_tasks == 0)) AND ((task.transferTargetType == 'worker' AND task.targetSid == worker.sid) OR (task.transferTargetType != 'worker' AND worker.sid != task.ignoreAgent))) OR (worker.waitingOfflineContact == true AND task.targetSid == worker.sid AND task.isContactlessTask == true)" - } - ] - }, - { - "filter_friendly_name": "RP", - "expression": "helpline=='RevengePorn' AND (channelType =='web' OR channelType=='voice' OR channelType=='default' OR channelType=='custom' OR channelType=='whatsapp')", - "targets": [ - { - "expression": "(worker.waitingOfflineContact != true AND ((task.channelType == 'voice' AND worker.channel.chat.assigned_tasks == 0) OR (task.channelType != 'voice' AND worker.channel.voice.assigned_tasks == 0)) AND ((task.transferTargetType == 'worker' AND task.targetSid == worker.sid) OR (task.transferTargetType != 'worker' AND worker.sid != task.ignoreAgent))) OR (worker.waitingOfflineContact == true AND task.targetSid == worker.sid AND task.isContactlessTask == true)", - "queue": "${task_queues.master}" - } - ] - }, - { - "filter_friendly_name": "RHC", - "expression": "helpline == 'RHC' AND (channelType =='web' OR channelType=='voice' OR channelType=='default' OR channelType=='whatsapp')", - "targets": [ - { - "queue": "${task_queues.rhc}", - "expression": "(worker.waitingOfflineContact != true AND ((task.channelType == 'voice' AND worker.channel.chat.assigned_tasks == 0) OR (task.channelType != 'voice' AND worker.channel.voice.assigned_tasks == 0)) AND ((task.transferTargetType == 'worker' AND task.targetSid == worker.sid) OR (task.transferTargetType != 'worker' AND worker.sid != task.ignoreAgent))) OR (worker.waitingOfflineContact == true AND task.targetSid == worker.sid AND task.isContactlessTask == true)" - } - ] - } - ] - } -} \ No newline at end of file diff --git a/webchat/configurations/uk-staging.ts b/webchat/configurations/uk-staging.ts deleted file mode 100644 index e752dff878..0000000000 --- a/webchat/configurations/uk-staging.ts +++ /dev/null @@ -1,85 +0,0 @@ -/** - * 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 { Translations, Configuration, MapHelplineLanguage, ContactType } from '../types'; -import type { PreEngagementFormDefinition } from '../src/pre-engagement-form'; - -const accountSid = 'AC542ee9a6613ce5ff976d075a3e3bd38d'; -const flexFlowSid = 'FOfe2df2f82dd40be24d41347fff7c6f1c'; -const defaultLanguage = 'en-GB'; -const captureIp = true; -const contactType: ContactType = 'ip'; - -const preEngagementConfig: PreEngagementFormDefinition = { - description: 'PreEngagementDescription', - submitLabel: 'StartChat', - fields: [ - { - type: 'select', - name: 'helpline', - label: 'LabelService', - defaultValue: 'RevengePorn', - required: true, - options: [ - { value: 'RevengePorn', label: 'RevengePornHelpline' }, - { value: 'RHC', label: 'ReportHarmfulContentHelpline' }, - ], - }, - ], -}; - -const translations: Translations = { - 'en-GB': { - WelcomeMessage: 'Thank you for reaching out.', - 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: 'Counselor is typing', - StartChat: 'Start Chat!', - MessageCanvasTrayButton: 'Start New Chat', - LabelService: 'Select the service', - PreEngagementDescription: 'Welcome to the Revenge Porn and Report Harmful Content Helplines.', - RevengePornHelpline: 'Revenge Porn Helpline', - ReportHarmfulContentHelpline: 'Report Harmful Content Helpline', - }, -}; - -const memberDisplayOptions = { - yourDefaultName: 'You', - yourFriendlyNameOverride: false, - theirFriendlyNameOverride: false, - theirDefaultName: 'Counsellor', -}; - -const mapHelplineLanguage: MapHelplineLanguage = (helpline) => { - switch (helpline) { - default: - return defaultLanguage; - } -}; - -export const config: Configuration = { - accountSid, - flexFlowSid, - defaultLanguage, - translations, - preEngagementConfig, - mapHelplineLanguage, - memberDisplayOptions, - captureIp, - contactType, -};