Skip to content

Commit 96ac3e0

Browse files
committed
Release v1.0.6
* Making **patient.surname** field optional in *BookSlotRequest*
1 parent 16abcfb commit 96ac3e0

File tree

88 files changed

+1272
-154
lines changed

Some content is hidden

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

88 files changed

+1272
-154
lines changed

docs/Api/BookingsApi.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ void (empty response body)
6969
[[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)
7070

7171
# **getBooking**
72-
> \DocPlanner\Client\Model\Booking getBooking($facility_id, $doctor_id, $address_id, $booking_id, $with)
72+
> \DocPlanner\Client\Model\Booking getBooking($facility_id, $doctor_id, $address_id, $booking_id)
7373
7474

7575

76-
View specific booking Extensions: * `booking.patient` - with this parameter in url, query results will return patient data for specified booking * `booking.address_service` - with this parameter in url, query results will return address service for specified booking * `booking.presence` - with this parameter in url, query results will return additional information weather patient was present for specified booking
76+
View specific booking
7777

7878
### Example
7979
```php
@@ -93,10 +93,9 @@ $facility_id = "facility_id_example"; // string | ID of the Facility
9393
$doctor_id = "doctor_id_example"; // string | ID of a doctor in a facility
9494
$address_id = "address_id_example"; // string | ID of a doctor`s address in a facility
9595
$booking_id = "booking_id_example"; // string | ID of the Booking
96-
$with = array(new \DocPlanner\Client\Model\BookingScopes()); // \DocPlanner\Client\Model\BookingScopes[] |
9796

9897
try {
99-
$result = $apiInstance->getBooking($facility_id, $doctor_id, $address_id, $booking_id, $with);
98+
$result = $apiInstance->getBooking($facility_id, $doctor_id, $address_id, $booking_id);
10099
print_r($result);
101100
} catch (Exception $e) {
102101
echo 'Exception when calling BookingsApi->getBooking: ', $e->getMessage(), PHP_EOL;
@@ -112,7 +111,6 @@ Name | Type | Description | Notes
112111
**doctor_id** | **string**| ID of a doctor in a facility |
113112
**address_id** | **string**| ID of a doctor`s address in a facility |
114113
**booking_id** | **string**| ID of the Booking |
115-
**with** | [**\DocPlanner\Client\Model\BookingScopes[]**](../Model/\DocPlanner\Client\Model\BookingScopes.md)| | [optional]
116114

117115
### Return type
118116

docs/Api/ServicesApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ $apiInstance = new DocPlanner\Client\Api\ServicesApi(
210210
$facility_id = "facility_id_example"; // string | ID of the Facility
211211
$doctor_id = "doctor_id_example"; // string | ID of a doctor in a facility
212212
$address_id = "address_id_example"; // string | ID of a doctor`s address in a facility
213-
$start = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime | Slot start date (parameter must be urlencoded before sending request)
213+
$start = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime | Slot start date (parameter must be urlencoded before sending request). Limits results to only those linked to slots that start on that date.
214214

215215
try {
216216
$result = $apiInstance->getAddressServices($facility_id, $doctor_id, $address_id, $start);
@@ -228,7 +228,7 @@ Name | Type | Description | Notes
228228
**facility_id** | **string**| ID of the Facility |
229229
**doctor_id** | **string**| ID of a doctor in a facility |
230230
**address_id** | **string**| ID of a doctor`s address in a facility |
231-
**start** | **\DateTime**| Slot start date (parameter must be urlencoded before sending request) | [optional]
231+
**start** | **\DateTime**| Slot start date (parameter must be urlencoded before sending request). Limits results to only those linked to slots that start on that date. | [optional]
232232

233233
### Return type
234234

docs/Model/AddressService.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ Name | Type | Description | Notes
77
**name** | **string** | | [optional]
88
**price** | **int** | | [optional]
99
**is_price_from** | **bool** | | [optional]
10-
**duration** | **int** | | [optional]
10+
**is_default** | **bool** | | [optional]
1111
**service_id** | **string** | | [optional]
1212
**description** | **string** | | [optional]
13+
**duration** | **int** | | [optional]
1314

1415
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
1516

docs/Model/BookSlotRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**address_service_id** | **string** | |
7-
**is_returning** | **bool** | |
7+
**is_returning** | **bool** | | [optional]
88
**patient** | [**\DocPlanner\Client\Model\Patient**](Patient.md) | |
99
**duration** | **int** | |
1010
**send_notifications** | **bool** | Whether we should send visit notificatications | [optional] [default to true]

docs/Model/Booking.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,14 @@ Name | Type | Description | Notes
1212
**canceled_by** | **string** | | [optional]
1313
**booked_at** | [**\DateTime**](\DateTime.md) | | [optional]
1414
**canceled_at** | [**\DateTime**](\DateTime.md) | | [optional]
15-
**patient** | [**\DocPlanner\Client\Model\Patient**](Patient.md) | | [optional]
16-
**presence** | **string** | | [optional]
15+
**patient** | [**\DocPlanner\Client\Model\BookingPatient**](BookingPatient.md) | | [optional]
1716
**address_service** | [**\DocPlanner\Client\Model\AddressService**](AddressService.md) | | [optional]
17+
**comment** | **string** | | [optional]
18+
**presence** | **string** | | [optional]
19+
**insurance** | [**\DocPlanner\Client\Model\Insurance**](Insurance.md) | | [optional]
20+
**visit_payment** | **bool** | | [optional]
21+
**visit_payment_status** | **string** | | [optional]
22+
**videocall_url** | **string** | | [optional]
1823

1924
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
2025

docs/Model/BookingPatient.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# BookingPatient
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**name** | **string** | | [optional]
7+
**surname** | **string** | | [optional]
8+
**email** | **string** | | [optional]
9+
**phone** | **string** | | [optional]
10+
**birth_date** | [**\DateTime**](\DateTime.md) | | [optional]
11+
**nin** | **string** | | [optional]
12+
**gender** | **string** | | [optional]
13+
**is_returnting** | **bool** | | [optional]
14+
15+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
16+

docs/Model/Insurance.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Insurance
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**id** | **string** | | [optional]
7+
**name** | **string** | | [optional]
8+
**plan** | **string** | | [optional]
9+
**plan_id** | **string** | | [optional]
10+
11+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
12+

docs/Model/Patient.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**name** | **string** | | [optional]
6+
**name** | **string** | |
77
**surname** | **string** | | [optional]
88
**email** | **string** | | [optional]
9-
**phone** | **string** | | [optional]
9+
**phone** | **string** | |
1010
**birth_date** | [**\DateTime**](\DateTime.md) | | [optional]
1111
**nin** | **string** | | [optional]
1212
**gender** | **string** | | [optional]

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.0.4
17+
* OpenAPI spec version: 1.0.6
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.0.4
17+
* OpenAPI spec version: 1.0.6
1818
*
1919
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2020
* Swagger Codegen version: 3.0.24

0 commit comments

Comments
 (0)