Description
Problem
The SDK does not provide full wrapper coverage for the Bitrix24 Booking scope.
This makes it impossible to work with Booking entities through the SDK in a consistent way, including:
- client type lookup
- resources and resource types
- resource slots
- waitlist entries
- waitlist clients and external data
- bookings
- booking clients and external data
As a result, developers have to call Booking REST methods manually instead of using typed SDK services and result objects.
Proposed solution
Add a dedicated Booking scope to the SDK and implement wrappers for all currently documented Booking REST methods.
The implementation should include:
- a new Booking scope service builder registered in the root
ServiceBuilder
- service classes for Booking method groups
- result classes for single-item and list responses
- support for the following method families:
booking.v1.clienttype.*
booking.v1.resource.*
booking.v1.resourceType.*
booking.v1.resource.slots.*
booking.v1.waitlist.*
booking.v1.waitlist.client.*
booking.v1.waitlist.externalData.*
booking.v1.booking.*
booking.v1.booking.client.*
booking.v1.booking.externalData.*
- integration tests for the new scope
- dedicated annotation validation tests for result item classes returned by
get and list
Acceptance criteria
Example
No response
Description
Problem
The SDK does not provide full wrapper coverage for the Bitrix24 Booking scope.
This makes it impossible to work with Booking entities through the SDK in a consistent way, including:
As a result, developers have to call Booking REST methods manually instead of using typed SDK services and result objects.
Proposed solution
Add a dedicated
Bookingscope to the SDK and implement wrappers for all currently documented Booking REST methods.The implementation should include:
ServiceBuilderbooking.v1.clienttype.*booking.v1.resource.*booking.v1.resourceType.*booking.v1.resource.slots.*booking.v1.waitlist.*booking.v1.waitlist.client.*booking.v1.waitlist.externalData.*booking.v1.booking.*booking.v1.booking.client.*booking.v1.booking.externalData.*getandlistAcceptance criteria
ServiceBuildergetandlistphpunit.xml.distCHANGELOG.mdis updated with the new Booking scope supportExample
No response