+ {% if token %}
+
+
+ {{ training_session.title }}
+
+
+ {% t .info,
+ event_name: training_session.title,
+ session_date: training_session.date,
+ session_time: training_session.time
+ %}
+
+
+ {% t .question %}
+
+
+
+ {% t .salutation %}
+
+
+ {{ current_school.name }}
+
+ {% else %}
+
+
+ {% t .success.response_text %}
+
+
+
+{% include "footer" %}
diff --git a/Custom_Templates/customer_templates/Lighthouse LJ Hooker/unsubscribe.html.liquid b/Custom_Templates/customer_templates/Lighthouse LJ Hooker/unsubscribe.html.liquid
new file mode 100644
index 00000000..69a54028
--- /dev/null
+++ b/Custom_Templates/customer_templates/Lighthouse LJ Hooker/unsubscribe.html.liquid
@@ -0,0 +1,30 @@
+{% include "header" %}
+
+
+ {% if token %}
+
+
+ {% t .unsubscribe_text %}
+
+
+ {% t .resubscribe_text %}
+
+
+ {% else %}
+
+
+ {% t .resubscribed_text %}
+
+ {% endif %}
+
+
+{% include "footer" %}
diff --git a/CustomerNotes/Artera/Artera.md b/CustomerNotes/Artera/Artera.md
index 966cf44e..ab59cb67 100644
--- a/CustomerNotes/Artera/Artera.md
+++ b/CustomerNotes/Artera/Artera.md
@@ -177,3 +177,8 @@ Two questions from Emily:
* Knowledge base URL was moved to Artera. They will soon move the academy url away from learn.wellapp.com
* Wanted to know if native survey functionality is coming in. Typeform doesn't allow for aggregate data analysis. They are just using it for basic CSAT, 1-5 like scale.
* Want to use quizzes as surveys. Show analytics.
+
+## 04-10-2024
+
+Jackie has been laid off.
+Emily on PTO May 6-10
diff --git a/Scripts/.DS_Store b/Scripts/.DS_Store
index c144a2fe..70636382 100644
Binary files a/Scripts/.DS_Store and b/Scripts/.DS_Store differ
diff --git a/Scripts/API_Tests/Apikeys.py b/Scripts/API_Tests/Apikeys.py
index 182e56d6..4ae8c9ce 100644
--- a/Scripts/API_Tests/Apikeys.py
+++ b/Scripts/API_Tests/Apikeys.py
@@ -23,3 +23,4 @@ DOUGLASELLIMAN = "Bknf8kidbluRfcKu3m3lKoxS8"
CIN7 = "51BNlRsLYKQxSu1q1UQq7F63j"
FULLSTORY = "ePChrDWLegENa2qnfb259O2Ki"
RENAISSANCE = "YFykqX1u0d3HveONc5I9CKnJ1"
+SANDATA = "HdZFoXGCFpt8NnTOzIQY0kVDj"
diff --git a/Scripts/API_Tests/__pycache__/Apikeys.cpython-310.pyc b/Scripts/API_Tests/__pycache__/Apikeys.cpython-310.pyc
index 9154a02b..6b2fc37a 100644
Binary files a/Scripts/API_Tests/__pycache__/Apikeys.cpython-310.pyc and b/Scripts/API_Tests/__pycache__/Apikeys.cpython-310.pyc differ
diff --git a/Scripts/API_Tests/get-group-ids.py b/Scripts/API_Tests/get-group-ids.py
index 8e57fcdd..e6b4e768 100644
--- a/Scripts/API_Tests/get-group-ids.py
+++ b/Scripts/API_Tests/get-group-ids.py
@@ -5,7 +5,7 @@ import Apikeys
import json
-APIKEY = Apikeys.ANTHOLOGY
+APIKEY = Apikeys.SANDATA
groups_dict = {}
pp = pprint.PrettyPrinter(indent=4)
@@ -35,7 +35,7 @@ def get_groups(APIKEY):
break
with open(
- "/Users/normrasmussen/Downloads/Datasnipper-Groups.csv", "a+", newline="\n"
+ "/Users/normrasmussen/Downloads/Sandata-Groups.csv", "a+", newline="\n"
) as csvfile:
for group in groups:
for key, value in group.items():
diff --git a/Scripts/API_Tests/get_courses_and_categories.py b/Scripts/API_Tests/get_courses_and_categories.py
index 332d2947..aee0c460 100644
--- a/Scripts/API_Tests/get_courses_and_categories.py
+++ b/Scripts/API_Tests/get_courses_and_categories.py
@@ -1,10 +1,20 @@
import requests
import pandas as pd
import Apikeys
+import pprint
-apiKey = Apikeys.walmartprod
+pp = pprint.PrettyPrinter(indent=4)
+apiKey = Apikeys.WALMARTPROD
course_dict = {}
+COURSES= [
+"Shopping an order",
+"Delivery FAQs",
+"Checking out Shopping & Delivery orders",
+"Shopping & Delivery FAQs",
+"Communicating with customers",
+"Delivering an order",
+]
def get_course():
count = 0
@@ -13,7 +23,6 @@ def get_course():
while True:
count += 1
url = f"https://api2.northpass.com/v2/courses?page={count}"
- print(url)
headers = {"accept": "application/json", "X-Api-Key": apiKey}
response = requests.get(url, headers=headers)
data = response.json()
@@ -24,23 +33,28 @@ def get_course():
uuid = response["id"]
name = response["attributes"]["name"]
# build_url = response["links"]["builder"]["href"]
- course_dict = {
- "id": uuid,
- "name": name,
- "status": status,
- # "build_url": build_url
- # "url": f"https://walmart.northpass.com/app/courses/{uuid}",
- }
+ if name in COURSES:
+ print(uuid)
+ course_dict = {
+ "id": uuid,
+ "name": name,
+ "status": status,
+ # "build_url": build_url
+ # "url": f"https://walmart.northpass.com/app/courses/{uuid}",
+ }
+ courses.append(course_dict)
# FIX: Up until here, each course gets read to the terminal.
# FIX: After this, something is being overwritten.
- cat_id = response["relationships"]["categories"]["data"]
- get_cat_name(cat_id, course_dict, courses)
+ # cat_id = response["relationships"]["categories"]["data"]
+ # get_cat_name(cat_id, course_dict, courses)
if "next" not in nextlink:
break
+ # pp.pprint(courses)
+ # print(len(courses))
def get_cat_name(cat_id, course_dict, courses):
headers = {"accept": "application/json", "X-Api-Key": apiKey}
diff --git a/Scripts/Auto_Scrape_Screenshots/.DS_Store b/Scripts/Walmart/.DS_Store
similarity index 100%
rename from Scripts/Auto_Scrape_Screenshots/.DS_Store
rename to Scripts/Walmart/.DS_Store
diff --git a/Scripts/Auto_Scrape_Screenshots/Customer feedback b/Scripts/Walmart/Customer feedback
similarity index 100%
rename from Scripts/Auto_Scrape_Screenshots/Customer feedback
rename to Scripts/Walmart/Customer feedback
diff --git a/Scripts/Auto_Scrape_Screenshots/PDFs/.DS_Store b/Scripts/Walmart/PDFs/.DS_Store
similarity index 100%
rename from Scripts/Auto_Scrape_Screenshots/PDFs/.DS_Store
rename to Scripts/Walmart/PDFs/.DS_Store
diff --git a/Scripts/Auto_Scrape_Screenshots/combine_to_pdf.py b/Scripts/Walmart/combine_to_pdf.py
similarity index 95%
rename from Scripts/Auto_Scrape_Screenshots/combine_to_pdf.py
rename to Scripts/Walmart/combine_to_pdf.py
index 689bc93e..9c34d67f 100755
--- a/Scripts/Auto_Scrape_Screenshots/combine_to_pdf.py
+++ b/Scripts/Walmart/combine_to_pdf.py
@@ -4,7 +4,7 @@ import re
import os
from datetime import date
-currentdir = "/Users/normrasmussen/Documents/Work/Scripts/Auto_Scrape_Screenshots/"
+currentdir = "/Users/normrasmussen/Documents/Work/Scripts/Walmart/"
def find_pictures(currentdir):
files = []
diff --git a/Scripts/Auto_Scrape_Screenshots/playwright_condensed.py b/Scripts/Walmart/playwright_condensed.py
similarity index 100%
rename from Scripts/Auto_Scrape_Screenshots/playwright_condensed.py
rename to Scripts/Walmart/playwright_condensed.py
diff --git a/Scripts/Auto_Scrape_Screenshots/resources.js b/Scripts/Walmart/resources.js
similarity index 100%
rename from Scripts/Auto_Scrape_Screenshots/resources.js
rename to Scripts/Walmart/resources.js
diff --git a/Scripts/Auto_Scrape_Screenshots/resources_api.js b/Scripts/Walmart/resources_api.js
similarity index 100%
rename from Scripts/Auto_Scrape_Screenshots/resources_api.js
rename to Scripts/Walmart/resources_api.js
diff --git a/Scripts/Auto_Scrape_Screenshots/single_resource.js b/Scripts/Walmart/single_resource.js
similarity index 98%
rename from Scripts/Auto_Scrape_Screenshots/single_resource.js
rename to Scripts/Walmart/single_resource.js
index 2c712d8a..e447c42b 100644
--- a/Scripts/Auto_Scrape_Screenshots/single_resource.js
+++ b/Scripts/Walmart/single_resource.js
@@ -8,7 +8,7 @@ const apiKey = "6hUfJdAartHTHhHc0WIRZYPWe"
// Luminate Production ^
const uid = "/\?uid\=7beg87y4-fh24-4929-3rt5-24kdn87s5241";
const groupIds = [
- 'db8120fa-2107-4d69-b557-47509cfb594c',
+'563b97ed-6d1f-4fd9-a9eb-82842e13468e',
]
const getAllGroups = async (num) => {
diff --git a/Scripts/Auto_Scrape_Screenshots/walmart_screenshots.sh b/Scripts/Walmart/walmart_screenshots.sh
similarity index 100%
rename from Scripts/Auto_Scrape_Screenshots/walmart_screenshots.sh
rename to Scripts/Walmart/walmart_screenshots.sh
diff --git a/Scripts/Auto_Scrape_Screenshots/~/Downloads/screenshot.png b/Scripts/Walmart/~/Downloads/screenshot.png
similarity index 100%
rename from Scripts/Auto_Scrape_Screenshots/~/Downloads/screenshot.png
rename to Scripts/Walmart/~/Downloads/screenshot.png
diff --git a/Scripts/pyenv_general.txt b/Scripts/pyenv_general.txt
new file mode 100644
index 00000000..e91b3f0a
--- /dev/null
+++ b/Scripts/pyenv_general.txt
@@ -0,0 +1,50 @@
+appdirs==1.4.4
+beautifulsoup4==4.12.3
+bs4==0.0.2
+certifi==2023.11.17
+charset-normalizer==3.3.2
+cssselect==1.2.0
+docstring-to-markdown==0.13
+exceptiongroup==1.2.0
+fake-useragent==1.4.0
+greenlet==3.0.3
+idna==3.6
+importlib_metadata==7.0.2
+iniconfig==2.0.0
+jedi==0.19.1
+lxml==5.1.0
+numpy==1.26.3
+packaging==24.0
+pandas==2.1.4
+parse==1.20.1
+parso==0.8.3
+pillow==10.2.0
+playwright==1.42.0
+pluggy==1.4.0
+pyee==11.0.1
+pyppeteer==2.0.0
+pyquery==2.0.0
+pytest==8.1.1
+pytest-base-url==2.1.0
+pytest-playwright==0.4.4
+python-dateutil==2.8.2
+python-lsp-jsonrpc==1.1.2
+python-lsp-server==1.9.0
+python-slugify==8.0.4
+pytz==2023.3.post1
+requests==2.31.0
+requests-html==0.10.0
+ruff==0.2.2
+six==1.16.0
+soupsieve==2.5
+termcolor==2.4.0
+text-unidecode==1.3
+tomli==2.0.1
+tqdm==4.66.2
+typing_extensions==4.10.0
+tzdata==2023.4
+ujson==5.9.0
+urllib3==1.26.18
+w3lib==2.1.2
+websockets==10.4
+zipp==3.17.0
diff --git a/Scripts/requirements.txt b/Scripts/requirements.txt
new file mode 100644
index 00000000..e69de29b
diff --git a/Scripts/temp.py b/Scripts/temp.py
deleted file mode 100644
index a83e28c4..00000000
--- a/Scripts/temp.py
+++ /dev/null
@@ -1,5 +0,0 @@
-propslist = '["Anthology 101: Essential", "Anthology Student: Essential", "Power BI: Essential", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""]'
-# propslist.split(',')
-props = propslist.replace(']','').replace('[','').replace('"",','')
-props2 = props.replace('"','')
-print(props2)