Skip to content

feat(placeos/visitor-deleter): new driver deletes Guests, Visitor Bookings#463

Open
w-le wants to merge 1651 commits into
masterfrom
feat/visitor-deleter
Open

feat(placeos/visitor-deleter): new driver deletes Guests, Visitor Bookings#463
w-le wants to merge 1651 commits into
masterfrom
feat/visitor-deleter

Conversation

@w-le
Copy link
Copy Markdown
Contributor

@w-le w-le commented Sep 22, 2023

A new driver that deletes old Guests and Visitor bookings.

Search n days into the past, and use staff-api driver to delete Guest and/or Visitor Bookings m days after their visit.

Designed for use with a Trigger.

Requires Support permissions.

Added delete_guest func to staff-api driver.

w-le and others added 30 commits January 24, 2023 15:20
also only record changes in people counts
location age is a less useful metric as device exit events are used instead of constantly sending micro adjustments to location
so if there are two maps for a single level and they don't have a map id set, we need to use something else to group by
…coding (#429)

* fix(leviton): update webhook logging to warn and output b64 before decoding

* fix(leviton): undo shit code

* fix(leviton): undo shit code
* test(staff_api): test #get_survey_invites

* test(staff_api): test #get_survey_invites

* style: format
stakach and others added 25 commits August 18, 2023 16:07
fallback ensures any missed events are processed
* fix(survey_mailer): make sent nilable

* docs(survey_mailer): improved comments
in case someone has avoided being counted
if they are added as a guest accidentally
…, not staff-api. (#462)

As kiosk role-based account may not have access to AAD user search.
* feat(placeos/room-events): add list_users func

* style(placeos/room-events): format

* chore(placeos/room-events): don't parse calendar resp internally

Co-authored-by: Stephen von Takach <steve@place.technology>

---------

Co-authored-by: Stephen von Takach <steve@place.technology>
@w-le w-le self-assigned this Sep 22, 2023
@w-le w-le requested review from KesterJJ and stakach September 22, 2023 08:49
@stakach stakach force-pushed the feat/visitor-deleter branch from 0ef50dd to f3c2eac Compare May 8, 2026 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants