diff --git a/Custom_Templates/customer_templates/.DS_Store b/Custom_Templates/customer_templates/.DS_Store
index dd2a9170..0e3bd1a9 100644
Binary files a/Custom_Templates/customer_templates/.DS_Store and b/Custom_Templates/customer_templates/.DS_Store differ
diff --git a/Custom_Templates/customer_templates/Anthology Academy - Prod/dashboard.html.liquid b/Custom_Templates/customer_templates/Anthology Academy - Prod/dashboard.html.liquid
index b60be675..04ac6a0d 100644
--- a/Custom_Templates/customer_templates/Anthology Academy - Prod/dashboard.html.liquid
+++ b/Custom_Templates/customer_templates/Anthology Academy - Prod/dashboard.html.liquid
@@ -44,7 +44,7 @@
{% include "filter_by_product", page: 'Dashboard' %}
-
+
Your Resources
@@ -268,4 +268,4 @@
margin-bottom: 0 !important;
}
-{% endif %} {%- endcomment -%}
\ No newline at end of file
+{% endif %} {%- endcomment -%}
diff --git a/CustomerNotes/Anthology/Anthology.md b/CustomerNotes/Anthology/Anthology.md
index 18c99ab2..719eb1f0 100644
--- a/CustomerNotes/Anthology/Anthology.md
+++ b/CustomerNotes/Anthology/Anthology.md
@@ -374,6 +374,17 @@ Maybe Anthology101? Unsure if the bars were submitted.
## 01/12/2023
-### Manager Permissions, CSV Mapping, etc.
+### Manager Permissions, CSV Mapping, etc
TODO: Create a course called "Manager Content - Student" with all the media library files that have STU.
+
+## 02/09/2023
+
+### Katie and KC
+
+Recently overhauled all their CSM, CXM, AE, CEM jobs that were all doing different jobs should all be doing the "same" job.
+Mission structure has changed as well.
+
+KC wants to be able to filter groups in analytics. We will need to create "account" groups.
+
+TODO: Test Finance & HCM in the CSV flow.
diff --git a/Scripts/API_Tests/template_download.py b/Scripts/API_Tests/template_download.py
new file mode 100644
index 00000000..b395dd84
--- /dev/null
+++ b/Scripts/API_Tests/template_download.py
@@ -0,0 +1,65 @@
+import Apikeys
+import inspect
+import os
+import requests
+from datetime import datetime
+
+TEMPLATES_DIR = (
+ "/Users/normrasmussen/Documents/Work/Custom_Templates/Template-backup-tmp/"
+)
+URL = "https://api.northpass.com/"
+
+
+def test():
+ print(name)
+
+
+def template_endpoint():
+ for customer, apikey in inspect.getmembers(Apikeys):
+ global customer_path = os.path.join(TEMPLATES_DIR, customer)
+ os.mkdir(customer_path)
+
+ count = 0
+ templates = []
+
+ while True:
+ count += 1
+ endpoint = f"v2/custom_templates?page={count}"
+ headers = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "X-Api-Key": apikey,
+ }
+ response = requests.get(URL + endpoint, headers=headers)
+ data = response.json()
+ for response in data["data"]:
+ last_updated = response["attributes"]["updated_at"].split("T")
+ # full_updated = response["attributes"]["updated_at"]
+ # full_updated = datetime.fromisoformat(full_updated)
+ last_updated = last_updated[0]
+ name, body, last_updated = (
+ response["attributes"]["name"],
+ response["attributes"]["body"],
+ last_updated,
+ )
+ templates.append((name, body, last_updated))
+
+ if data["data"] == []:
+ break
+
+ save_templates(templates)
+
+
+def save_templates(templates):
+ for tupe in templates:
+ file_name = tupe[0] + ".liquid"
+ file_body = tupe[1]
+ final_path = os.path.join(customer_path, file_name)
+
+ with open(final_path, "w+") as temp:
+ temp.write(file_body)
+ temp.close
+
+
+if __name__ == "__main__":
+ template_endpoint()
diff --git a/Scripts/GAS_GS/AnthologyCSV-Parse-Prod/MasterCSV_Parser.js b/Scripts/GAS_GS/AnthologyCSV-Parse-Prod/MasterCSV_Parser.js
index 14c51c10..70936d6f 100644
--- a/Scripts/GAS_GS/AnthologyCSV-Parse-Prod/MasterCSV_Parser.js
+++ b/Scripts/GAS_GS/AnthologyCSV-Parse-Prod/MasterCSV_Parser.js
@@ -33,7 +33,7 @@ function main(previousLast) {
}
}
austinComparseData(outdated_data, updated_data);
- //moveOldFiles();
+ moveOldFiles();
}
function moveOldFiles() {