Skip to content

Commit 392d599

Browse files
committed
Release v1.8.0
* Introducing new **address_service.public_insurance_flow** scope for **getBookings** endpoint * Introducing new **address_service.public_insurance_flow** scope for **getBooking** endpoint * Introducing new **address_service.public_insurance_flow** scope for **getAddressServices** endpoint * Introducing new **address_service.public_insurance_flow** scope for **getAddressService** endpoint
1 parent db5a31a commit 392d599

124 files changed

Lines changed: 229 additions & 147 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/Api/BookingsApi.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void (empty response body)
7575
7676

7777

78-
View specific booking. Extensions: * `booking.moving` - with this parameter in url, query results will return moving data (origin and newest booking ids) as long as the booking was created after 2nd April 2025 (otherwise it will return null); for bookings that were not moved, origin and newest booking ids will be equal the id of a booking requested
78+
View specific booking. Extensions: * `booking.moving` - with this parameter in url, query results will return moving data (origin and newest booking ids) as long as the booking was created after 2nd April 2025 (otherwise it will return null); for bookings that were not moved, origin and newest booking ids will be equal the id of a booking requested * `address_service.public_insurance_flow` - with this parameter in url, query results will return information if public insurance flow is supported on booking address
7979

8080
### Example
8181
```php
@@ -136,7 +136,7 @@ Name | Type | Description | Notes
136136
137137

138138

139-
Get bookings list of a doctor in the facility Passing the `page` parameter in the query string will enable pagination. Extensions: * `booking.patient` - with this parameter in url, query results will return patient data for every booking * `booking.address_service` - with this parameter in url, query results will return address service for every booking * `booking.presence` - with this parameter in url, query results will return additional information weather patient was present for every booking * `booking.confirmation` - with this parameter in url, query results will return if visit was confirmed for every booking
139+
Get bookings list of a doctor in the facility Passing the `page` parameter in the query string will enable pagination. Extensions: * `booking.patient` - with this parameter in url, query results will return patient data for every booking * `booking.address_service` - with this parameter in url, query results will return address service for every booking * `booking.presence` - with this parameter in url, query results will return additional information weather patient was present for every booking * `booking.confirmation` - with this parameter in url, query results will return if visit was confirmed for every booking * `address_service.public_insurance_flow` - with this parameter in url, query results will return information if public insurance flow is supported on bookings addresses
140140

141141
### Example
142142
```php
@@ -199,11 +199,11 @@ Name | Type | Description | Notes
199199
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
200200

201201
# **moveBooking**
202-
> \DocPlanner\Client\Model\Booking moveBooking($body, $facility_id, $doctor_id, $address_id, $booking_id)
202+
> \DocPlanner\Client\Model\Booking moveBooking($body, $facility_id, $doctor_id, $address_id, $booking_id, $with)
203203
204204

205205

206-
Move booking for a doctor
206+
Move a booking for a doctor Extensions: * `address_service.public_insurance_flow` - with this parameter in url, query results will return information if public insurance flow is supported on booking address
207207

208208
### Example
209209
```php
@@ -224,9 +224,10 @@ $facility_id = "facility_id_example"; // string | ID of the Facility
224224
$doctor_id = "doctor_id_example"; // string | ID of a doctor in a facility
225225
$address_id = "address_id_example"; // string | ID of a doctor`s address in a facility
226226
$booking_id = "booking_id_example"; // string | ID of the Booking
227+
$with = array(new \DocPlanner\Client\Model\MoveBookingScopes()); // \DocPlanner\Client\Model\MoveBookingScopes[] |
227228

228229
try {
229-
$result = $apiInstance->moveBooking($body, $facility_id, $doctor_id, $address_id, $booking_id);
230+
$result = $apiInstance->moveBooking($body, $facility_id, $doctor_id, $address_id, $booking_id, $with);
230231
print_r($result);
231232
} catch (Exception $e) {
232233
echo 'Exception when calling BookingsApi->moveBooking: ', $e->getMessage(), PHP_EOL;
@@ -243,6 +244,7 @@ Name | Type | Description | Notes
243244
**doctor_id** | **string**| ID of a doctor in a facility |
244245
**address_id** | **string**| ID of a doctor`s address in a facility |
245246
**booking_id** | **string**| ID of the Booking |
247+
**with** | [**\DocPlanner\Client\Model\MoveBookingScopes[]**](../Model/\DocPlanner\Client\Model\MoveBookingScopes.md)| | [optional]
246248

247249
### Return type
248250

docs/Api/ServicesApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ void (empty response body)
133133
134134

135135

136-
Service returned in this endpoint is an address service. Service returned here is from a specified address (address_services). Extensions: * `address_service.allowed_patients` - with this parameter in url, query results will return additional parameter indicating which type of patients are allowed to book a given service * `address_service.custom_name` - with this parameter in url, query results will return additional field with a custom name of an address service
136+
Service returned in this endpoint is an address service. Service returned here is from a specified address (address_services). Extensions: * `address_service.allowed_patients` - with this parameter in url, query results will return additional parameter indicating which type of patients are allowed to book a given service * `address_service.custom_name` - with this parameter in url, query results will return additional field with a custom name of an address service * `address_service.public_insurance_flow` - with this parameter in url, query results will return information if public insurance flow is supported
137137

138138
### Example
139139
```php
@@ -194,7 +194,7 @@ Name | Type | Description | Notes
194194
195195

196196

197-
Services returned in this endpoint are address services. Services returned here are from specified address (address_services). Extensions: * `address_service.allowed_patients` - with this parameter in url, query results will return additional parameter indicating which type of patients are allowed to book a given service * `address_service.custom_name` - with this parameter in url, query results will return additional field with a custom name of an address service
197+
Services returned in this endpoint are address services. Services returned here are from specified address (address_services). Extensions: * `address_service.allowed_patients` - with this parameter in url, query results will return additional parameter indicating which type of patients are allowed to book a given service * `address_service.custom_name` - with this parameter in url, query results will return additional field with a custom name of an address service * `address_service.public_insurance_flow` - with this parameter in url, query results will return information if public insurance flow is supported
198198

199199
### Example
200200
```php

docs/Model/MoveBookingScopes.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# MoveBookingScopes
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
7+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
8+

lib/Api/APINotificationCallbacksApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* Welcome to Docplanner Integrations [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) API! This API gives You the ability to build Your own application and integrate it with Docplanner services.
1616
*
17-
* OpenAPI spec version: 1.7.1
17+
* OpenAPI spec version: 1.8.0
1818
*
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
* Swagger Codegen version: 3.0.24

lib/Api/AddressesApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* Welcome to Docplanner Integrations [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) API! This API gives You the ability to build Your own application and integrate it with Docplanner services.
1616
*
17-
* OpenAPI spec version: 1.7.1
17+
* OpenAPI spec version: 1.8.0
1818
*
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
* Swagger Codegen version: 3.0.24

lib/Api/BookingsApi.php

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* Welcome to Docplanner Integrations [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) API! This API gives You the ability to build Your own application and integrate it with Docplanner services.
1616
*
17-
* OpenAPI spec version: 1.7.1
17+
* OpenAPI spec version: 1.8.0
1818
*
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
* Swagger Codegen version: 3.0.24
@@ -1125,14 +1125,15 @@ protected function getBookingsRequest($facility_id, $doctor_id, $address_id, $st
11251125
* @param string $doctor_id ID of a doctor in a facility (required)
11261126
* @param string $address_id ID of a doctor`s address in a facility (required)
11271127
* @param string $booking_id ID of the Booking (required)
1128+
* @param \DocPlanner\Client\Model\MoveBookingScopes[] $with with (optional)
11281129
*
11291130
* @throws \DocPlanner\Client\ApiException on non-2xx response
11301131
* @throws \InvalidArgumentException
11311132
* @return \DocPlanner\Client\Model\Booking
11321133
*/
1133-
public function moveBooking($body, $facility_id, $doctor_id, $address_id, $booking_id)
1134+
public function moveBooking($body, $facility_id, $doctor_id, $address_id, $booking_id, $with = null)
11341135
{
1135-
list($response) = $this->moveBookingWithHttpInfo($body, $facility_id, $doctor_id, $address_id, $booking_id);
1136+
list($response) = $this->moveBookingWithHttpInfo($body, $facility_id, $doctor_id, $address_id, $booking_id, $with);
11361137
return $response;
11371138
}
11381139

@@ -1144,15 +1145,16 @@ public function moveBooking($body, $facility_id, $doctor_id, $address_id, $booki
11441145
* @param string $doctor_id ID of a doctor in a facility (required)
11451146
* @param string $address_id ID of a doctor`s address in a facility (required)
11461147
* @param string $booking_id ID of the Booking (required)
1148+
* @param \DocPlanner\Client\Model\MoveBookingScopes[] $with (optional)
11471149
*
11481150
* @throws \DocPlanner\Client\ApiException on non-2xx response
11491151
* @throws \InvalidArgumentException
11501152
* @return array of \DocPlanner\Client\Model\Booking, HTTP status code, HTTP response headers (array of strings)
11511153
*/
1152-
public function moveBookingWithHttpInfo($body, $facility_id, $doctor_id, $address_id, $booking_id)
1154+
public function moveBookingWithHttpInfo($body, $facility_id, $doctor_id, $address_id, $booking_id, $with = null)
11531155
{
11541156
$returnType = '\DocPlanner\Client\Model\Booking';
1155-
$request = $this->moveBookingRequest($body, $facility_id, $doctor_id, $address_id, $booking_id);
1157+
$request = $this->moveBookingRequest($body, $facility_id, $doctor_id, $address_id, $booking_id, $with);
11561158

11571159
try {
11581160
$options = $this->createHttpClientOption();
@@ -1255,13 +1257,14 @@ public function moveBookingWithHttpInfo($body, $facility_id, $doctor_id, $addres
12551257
* @param string $doctor_id ID of a doctor in a facility (required)
12561258
* @param string $address_id ID of a doctor`s address in a facility (required)
12571259
* @param string $booking_id ID of the Booking (required)
1260+
* @param \DocPlanner\Client\Model\MoveBookingScopes[] $with (optional)
12581261
*
12591262
* @throws \InvalidArgumentException
12601263
* @return \GuzzleHttp\Promise\PromiseInterface
12611264
*/
1262-
public function moveBookingAsync($body, $facility_id, $doctor_id, $address_id, $booking_id)
1265+
public function moveBookingAsync($body, $facility_id, $doctor_id, $address_id, $booking_id, $with = null)
12631266
{
1264-
return $this->moveBookingAsyncWithHttpInfo($body, $facility_id, $doctor_id, $address_id, $booking_id)
1267+
return $this->moveBookingAsyncWithHttpInfo($body, $facility_id, $doctor_id, $address_id, $booking_id, $with)
12651268
->then(
12661269
function ($response) {
12671270
return $response[0];
@@ -1279,14 +1282,15 @@ function ($response) {
12791282
* @param string $doctor_id ID of a doctor in a facility (required)
12801283
* @param string $address_id ID of a doctor`s address in a facility (required)
12811284
* @param string $booking_id ID of the Booking (required)
1285+
* @param \DocPlanner\Client\Model\MoveBookingScopes[] $with (optional)
12821286
*
12831287
* @throws \InvalidArgumentException
12841288
* @return \GuzzleHttp\Promise\PromiseInterface
12851289
*/
1286-
public function moveBookingAsyncWithHttpInfo($body, $facility_id, $doctor_id, $address_id, $booking_id)
1290+
public function moveBookingAsyncWithHttpInfo($body, $facility_id, $doctor_id, $address_id, $booking_id, $with = null)
12871291
{
12881292
$returnType = '\DocPlanner\Client\Model\Booking';
1289-
$request = $this->moveBookingRequest($body, $facility_id, $doctor_id, $address_id, $booking_id);
1293+
$request = $this->moveBookingRequest($body, $facility_id, $doctor_id, $address_id, $booking_id, $with);
12901294

12911295
return $this->client
12921296
->sendAsync($request, $this->createHttpClientOption())
@@ -1333,11 +1337,12 @@ function ($exception) {
13331337
* @param string $doctor_id ID of a doctor in a facility (required)
13341338
* @param string $address_id ID of a doctor`s address in a facility (required)
13351339
* @param string $booking_id ID of the Booking (required)
1340+
* @param \DocPlanner\Client\Model\MoveBookingScopes[] $with (optional)
13361341
*
13371342
* @throws \InvalidArgumentException
13381343
* @return \GuzzleHttp\Psr7\Request
13391344
*/
1340-
protected function moveBookingRequest($body, $facility_id, $doctor_id, $address_id, $booking_id)
1345+
protected function moveBookingRequest($body, $facility_id, $doctor_id, $address_id, $booking_id, $with = null)
13411346
{
13421347
// verify the required parameter 'body' is set
13431348
if ($body === null || (is_array($body) && count($body) === 0)) {
@@ -1377,6 +1382,10 @@ protected function moveBookingRequest($body, $facility_id, $doctor_id, $address_
13771382
$httpBody = '';
13781383
$multipart = false;
13791384

1385+
// query params
1386+
if ($with !== null) {
1387+
$queryParams['with'] = ObjectSerializer::toQueryValue($with);
1388+
}
13801389

13811390
// path params
13821391
if ($facility_id !== null) {

lib/Api/CalendarBreaksApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* Welcome to Docplanner Integrations [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) API! This API gives You the ability to build Your own application and integrate it with Docplanner services.
1616
*
17-
* OpenAPI spec version: 1.7.1
17+
* OpenAPI spec version: 1.8.0
1818
*
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
* Swagger Codegen version: 3.0.24

lib/Api/CalendarsApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* Welcome to Docplanner Integrations [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) API! This API gives You the ability to build Your own application and integrate it with Docplanner services.
1616
*
17-
* OpenAPI spec version: 1.7.1
17+
* OpenAPI spec version: 1.8.0
1818
*
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
* Swagger Codegen version: 3.0.24

lib/Api/DoctorsApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* Welcome to Docplanner Integrations [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) API! This API gives You the ability to build Your own application and integrate it with Docplanner services.
1616
*
17-
* OpenAPI spec version: 1.7.1
17+
* OpenAPI spec version: 1.8.0
1818
*
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
* Swagger Codegen version: 3.0.24

lib/Api/FacilitiesApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* Welcome to Docplanner Integrations [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) API! This API gives You the ability to build Your own application and integrate it with Docplanner services.
1616
*
17-
* OpenAPI spec version: 1.7.1
17+
* OpenAPI spec version: 1.8.0
1818
*
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
* Swagger Codegen version: 3.0.24

0 commit comments

Comments
 (0)