Merged
Conversation
…oint - Rename AvailabilityTimeSlot, AvailabilityResponse, and GetAvailabilityQueryParams with a Scheduler prefix to avoid naming collisions with the existing calendar availability types in src/models/availability.ts - Fix startTime/endTime in GetSchedulerAvailabilityQueryParams from string to number (unix timestamps) to match the AvailabilityTimeSlot fields and SDK conventions - Rename the public method from list() to get() since the endpoint returns a single AvailabilityResponse object, not a paginated list — internal delegation to _find() is unchanged - Update GetAvailabilityParams interface name to GetSchedulerAvailabilityParams - Expand test coverage from 1 to 5 cases: configurationId, slug, clientId, bookingId, and slug with special characters Made-with: Cursor
AaronDDM
approved these changes
Mar 23, 2026
Made-with: Cursor
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #720 +/- ##
==========================================
+ Coverage 98.61% 98.62% +0.01%
==========================================
Files 35 36 +1
Lines 793 800 +7
Branches 69 69
==========================================
+ Hits 782 789 +7
Misses 11 11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This was referenced Mar 23, 2026
Merged
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.
License
I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.