Repository navigation
✨ feat(work-hours): add Graph occurrencesView wrapper - #1221
Open
cliffordwhansen wants to merge 8 commits into
Open
cliffordwhansen wants to merge 8 commits into
cliffordwhansen wants to merge 8 commits into
Conversation
Add Account.work_hours_and_locations() and a typed WorkHoursAndLocations API with WorkPlanOccurrence models for /me and /users occurrencesView retrieval, including timezone-aware parsing and endpoint-context HTTP errors. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add unit tests for /me and /users URL construction, query options, aware and naive datetime parsing (IANA + Windows timezone mapping), endpoint errors, and malformed payload handling. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Document work-hours and locations occurrences support, required permissions, tenant availability notes, and wire the new pages into usage/API toctrees. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add get_valid_work_location_types() to resolve enum members from Graph / with cached fallback defaults, and support include_valid_values on occurrences_view() to attach valid values to returned occurrences. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add tests for workLocationType extraction from metadata, fallback behavior when metadata is unavailable, and inclusion of valid values in occurrence results. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Document get_valid_work_location_types() and include_valid_values usage for passing valid workLocationType values to downstream consumers. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ication Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Account.work_hours_and_locations() and a typed WorkHoursAndLocations API with WorkPlanOccurrence models for /me and /users occurrencesView retrieval, including timezone-aware parsing and endpoint-context HTTP errors.
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com