Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Adding createReservations function to the EnvoyUserAPI #66

Merged
merged 15 commits into from
Nov 21, 2024

Conversation

ArvindEnvoy
Copy link

@ArvindEnvoy ArvindEnvoy commented Nov 19, 2024

This function will let users create reservations. There is a new function called createReservation and the associated types to facilitate interaction with the Spaces endpoint that creates the reservation.

New reservation functionalities:

  • src/resources/ReservationResource.ts: Added new interfaces ReservationAttributes, ReservationCreationAttributes, and ReservationModel to define the structure of reservation data.
  • src/sdk/EnvoyUserAPI.ts: Imported ReservationCreationAttributes and ReservationModel from ReservationResource and added a new method createReservation to handle the creation of reservations. [1] [2]

Package version update:

  • package.json: Updated the package version from 2.2.1 to 2.2.3.

@ArvindEnvoy ArvindEnvoy merged commit f0f3f60 into typescript Nov 21, 2024
1 check passed
@ArvindEnvoy ArvindEnvoy deleted the arvind/adding-create-reservations branch November 21, 2024 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants