This commit is contained in:
Norm Rasmussen
2024-08-14 17:59:56 -04:00
parent 5f7121892b
commit bae1307bb4
3 changed files with 123 additions and 21 deletions

View File

@ -13,7 +13,7 @@ HEADERS = {
"X-Api-Key": APIKEY,
}
BASEURL = "https://api.northpass.com/v2/"
IMPORTFILE = "/Users/normrasmussen/Downloads/CISA-072624.csv"
IMPORTFILE = "/Users/normrasmussen/Downloads/CISA OLC Users 072924-080924.csv"
def bulk_invite_and_group():

View File

@ -8,24 +8,119 @@ const rl =
})
var userEmail= 'nrasmussen@northpass.com';
var userPassword= 'ecx5pmy!MAN2vgh2knc';
var otp = '528686';
var otp = '238307';
var schoolUUID = '52d19519-103f-45e3-9fa8-d21baa0f8aaa'
var courseUUIDs = [
"e78fffce-0e95-4f55-a419-05be0015a2cf",
"ab16655f-3e99-4d37-82c6-8ea3f100f184",
"925a0380-cdf2-45ce-9f67-0183eb881fb7",
"22c1831f-6e12-423b-9959-6afb62fa06a9",
"21494afa-787a-4522-88ce-b556ddbb28ef",
"0fb94072-4119-455e-8f08-4f08cf113b67",
"ba9437f8-78bc-4a83-9b62-b91a312b2a9b",
"3070d735-894f-46f7-b0b5-a095f740e114",
"c6f90043-674f-4077-b4a0-cb0a15fb5283",
"b4e8ed8d-baaf-494f-a108-34a2a83967cf",
"1a071eb6-fc22-4bdd-bdd8-14742cebfdfa",
"e752059a-ff8c-47f4-9a7c-b5a335bb2bed",
"bec96106-adb3-4224-a561-415bd7c70073",
"6af6e861-3e4b-47ac-b804-3f0e8b24e0da",
"88f3dd64-9382-4929-aa65-57e7fadf40eb",
'81ea3e9b-c651-42c3-8c33-639a72ebe66f',
'e78fffce-0e95-4f55-a419-05be0015a2cf',
'599c93ad-99ad-4f1d-98af-af4324f9b845',
'e78fffce-0e95-4f55-a419-05be0015a2cf',
'c0d7d8ce-c05a-452b-80d4-4a186003f2a2',
'0a50db76-ac51-4a85-ae5b-6579e1c88b00',
'1a7788ac-e6ec-4820-834b-b5fe9d2f8f71',
'd8d5fcc7-f51b-42ba-9842-0324e68be7ac',
'e78fffce-0e95-4f55-a419-05be0015a2cf',
'd3afe5e0-8725-49e1-93b7-4b03c68c9e84',
'd3afe5e0-8725-49e1-93b7-4b03c68c9e84',
'33f0809a-4535-4adc-af9d-9dcf9fa3e17d',
'33f0809a-4535-4adc-af9d-9dcf9fa3e17d',
'22c1831f-6e12-423b-9959-6afb62fa06a9',
'ccaaa9cf-a2a4-41e5-9e2d-2bff780e8b19',
'129f8d36-d04d-4024-9a16-193168dd6f5b',
'18c57beb-bd9f-4824-b93e-0275ab6357eb',
'7fc8fce2-0b15-47d9-ac48-00af68080d32',
'fdffe064-0437-4e05-9827-a70a04085851',
'771dc42d-0b85-413c-839b-a29114966159',
'1c4b54f6-ee34-43e3-baf6-a83d3baef2c9',
'1c4b54f6-ee34-43e3-baf6-a83d3baef2c9',
'1e89fea6-45f1-4b42-bbc5-2005c6cb7696',
'1e89fea6-45f1-4b42-bbc5-2005c6cb7696',
'076c0520-b0ca-4ac7-8d01-80661e5bb567',
'ecfeef35-f3e8-462c-8da0-5b2fae9f7d47',
'c3d746ab-5ca2-4609-8216-a9294f1d89bb',
'e78fffce-0e95-4f55-a419-05be0015a2cf',
'e78fffce-0e95-4f55-a419-05be0015a2cf',
'f6fd00bf-bb76-4b3b-bd8c-fb8c87a8da2e',
'0d439e90-3a0e-4048-81a5-307f5f1f0bab',
'68aa29fd-cd54-4c75-ac77-4cc545a151c2',
'627aae1d-d35f-4cb4-82ac-a23cb9a59b97',
'627aae1d-d35f-4cb4-82ac-a23cb9a59b97',
'f870c9af-7185-46b1-9648-2e412d622cb1',
'aaf85e41-8691-4ce7-ae83-dea900b4dd09',
'414fa32b-335a-4891-acb3-0082ab428e9c',
'64eb148a-65e2-4ec2-bd32-d723cab41499',
'e15e5a79-4167-4d7e-870e-b54082c5081f',
'7de842d9-5482-4b3a-bffc-d01d8d683dfd',
'7de842d9-5482-4b3a-bffc-d01d8d683dfd',
'a9a4e820-671a-458e-91b5-a1e760de06bb',
'72db9ed2-2c25-4252-803f-ce292a6f93eb',
'7bc1bbc1-3d28-4655-89ad-00098f5c5c9f',
'033e17be-73f8-475c-8f98-ab61fdc8a0b1',
'a5eb130c-171e-4b77-bd99-f738672ec1be',
'c6930c25-4bb6-427a-9b61-94e36ffd9f0b',
'44a163d1-6995-4f07-92dc-3f37b8946260',
'0b53f011-7e85-43b6-8c21-a9ec718789c2',
'0b53f011-7e85-43b6-8c21-a9ec718789c2',
'a094d994-e971-46b4-8b19-85d9e949b8ea',
'bbb33e0a-30df-46a4-bb37-22515df1daf5',
'5acdc29e-9eba-45f9-b397-97e5d1d76842',
'44a163d1-6995-4f07-92dc-3f37b8946260',
'627aae1d-d35f-4cb4-82ac-a23cb9a59b97',
'c3d746ab-5ca2-4609-8216-a9294f1d89bb',
'f870c9af-7185-46b1-9648-2e412d622cb1',
'f870c9af-7185-46b1-9648-2e412d622cb1',
'78d8a00b-7967-4aef-8c71-b7e443316b65',
'78d8a00b-7967-4aef-8c71-b7e443316b65',
'24544c73-28b7-4dfe-a5a0-638029bd15cf',
'd61cf500-7458-4d2f-aff5-ed85bb18b486',
'8dabb292-7554-44ae-aef4-d5feb838f8ac',
'5f671fa9-1eca-42e5-833d-30010481b669',
'5f671fa9-1eca-42e5-833d-30010481b669',
'ad4411e6-ca5b-4178-9500-7f3d43139b4c',
'3de77578-992f-4c2c-9d65-3019819ea78a',
'edd503f7-bb1a-462f-b89f-17657a488c46',
'3de77578-992f-4c2c-9d65-3019819ea78a',
'237363c2-df39-40e2-861f-8f0818a4d5e1',
'2acfd337-adc9-437b-a174-acf90c4309d3',
'48831e70-42af-4373-883c-d00c77c7aa05',
'f870c9af-7185-46b1-9648-2e412d622cb1',
'cc0cd185-3ff3-431e-b808-507b5d15a7d7',
'2d5775cc-0e70-430a-a77f-42f16457a481',
'aaf9a4dc-bd8b-49ed-a61d-bf30c9da1d0e',
'f870c9af-7185-46b1-9648-2e412d622cb1',
'f870c9af-7185-46b1-9648-2e412d622cb1',
'f870c9af-7185-46b1-9648-2e412d622cb1',
'f870c9af-7185-46b1-9648-2e412d622cb1',
'44a163d1-6995-4f07-92dc-3f37b8946260',
'44a163d1-6995-4f07-92dc-3f37b8946260',
'35d8f6c6-c1a0-4909-bc2d-6538bf4f4592',
'35d8f6c6-c1a0-4909-bc2d-6538bf4f4592',
'35d8f6c6-c1a0-4909-bc2d-6538bf4f4592',
'b8e175ea-c2c3-47a7-ae39-8cc5845e5f29',
'5f671fa9-1eca-42e5-833d-30010481b669',
'db66fd2d-1cb2-4880-bc99-1f7cb791f157',
'db66fd2d-1cb2-4880-bc99-1f7cb791f157',
'db66fd2d-1cb2-4880-bc99-1f7cb791f157',
'db66fd2d-1cb2-4880-bc99-1f7cb791f157',
'db66fd2d-1cb2-4880-bc99-1f7cb791f157',
'599c93ad-99ad-4f1d-98af-af4324f9b845',
'db66fd2d-1cb2-4880-bc99-1f7cb791f157',
'db66fd2d-1cb2-4880-bc99-1f7cb791f157',
'8c1b2226-9483-4929-84b0-f00f1937c788',
'28c37e7b-97a6-49ae-af7b-b083c6d9dbe2',
'9e03ddbf-9587-4200-8b3f-35f023718a7e',
'f61ee63a-7aca-40fb-a93c-07fcb6ff7c60',
'83a35da3-dc4c-4e20-b62d-739fe037039e',
'44a163d1-6995-4f07-92dc-3f37b8946260',
'28c37e7b-97a6-49ae-af7b-b083c6d9dbe2',
'f61ee63a-7aca-40fb-a93c-07fcb6ff7c60',
'989b4c39-8200-4370-9ec2-5a0b38b36e0e',
'a0329d9a-06c5-4f68-aa3e-ed06173ab7c3',
'bd4f8303-5a3a-4fa9-b3cd-0fca17c9e952',
'1da1bce7-4454-4c28-b1e1-6ee5536dba13',
'db675072-9262-4acc-af73-5b8d7a5595a2',
'6daa4beb-3ac0-41ff-a279-e377e3375ce8',
'1da1bce7-4454-4c28-b1e1-6ee5536dba13',
]
var schoolNameToCloneTo = "Anthology U";

View File

@ -335,7 +335,7 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th
## 06-06-2024
- [ ] DataSnipper - People & Groups Report
- [X] DataSnipper - People & Groups Report
- [X] Sandata - If someone selects Caregiver role, place them in the caregiver group according to their state
- [X] Sandata - Do not place a user in the Admin group if they select the state: Ohio.
- [X] Walmart Luminate - Mass delete from file.
@ -354,7 +354,7 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th
## 06-26-2024
- [ ] Walmart - Add visuals to instructions for single activity
- [X] Walmart - Add visuals to instructions for single activity
- [X] Walmart - Change accordion in video activities to new accordion.
## 07-01-2024
@ -367,11 +367,11 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th
## 07-15-2024
- [ ] MATTR - Create ticket spreadsheet to share with client.
- [X] MATTR - Create ticket spreadsheet to share with client.
## 07-17-2024
- [ ] Chubb - Send Steve Google App Script & ask Kim what report she needs
- [ ] Chubb - Send Steve Google App Script & ask Kim what report she needs
- [ ] Chubb - Ask SE for Delivery Log export from db. They are trying to find the best way to reminder agents who haven't started anything to actually start the path. Include all the data.
- [ ] Volt - They would like an Archive Webhook. "It's necessary for the whole equation of getting everything up to enterprise level standards." No rush but it would help fill in the whole circle.
- [X] HH - Looker: Course Completion, only yes, last 24 hours, scheduled for "results are changed" and 8am every day.
@ -400,3 +400,10 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th
- [ ] Quantitative - 80%, Qualitative - 100% - Mid-year Baselines 3 VOs out of 18 current customers
- [ ] Williams-Sonoma - Big Wishlist item is native survey tool.
## 08-14-2024
- [ ] Datasnipper - Update new user workflow to remove all access group from anyone in a company group.
- [ ] Datasnipper - One time script to remove all access group from anyone with >1 group assignment.
Steve Chubb back on the 28th
- [ ] Chubb - Images in hero not aligned correctly.