Skip to content

Commit 860309b

Browse files
committed
Release v1.5.0
* Introducing new optional **allowed_patients** field with **minimum_age** and **maximum_age** properties in **AddAddressServiceRequest**, **UpdateAddressServiceRequest**, and **AddressService** schema for age restrictions
1 parent 61b9615 commit 860309b

File tree

130 files changed

+1531
-155
lines changed

Some content is hidden

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

130 files changed

+1531
-155
lines changed

docs/Api/ServicesApi.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,11 @@ void (empty response body)
129129
[[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)
130130

131131
# **getAddressService**
132-
> \DocPlanner\Client\Model\AddressService getAddressService($facility_id, $doctor_id, $address_id, $address_service_id)
132+
> \DocPlanner\Client\Model\AddressService getAddressService($facility_id, $doctor_id, $address_id, $address_service_id, $with)
133133
134134

135135

136-
Service returned in this endpoint is an address service. Service returned here is from a specified address (address_services).
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
137137

138138
### Example
139139
```php
@@ -153,9 +153,10 @@ $facility_id = "facility_id_example"; // string | ID of the Facility
153153
$doctor_id = "doctor_id_example"; // string | ID of a doctor in a facility
154154
$address_id = "address_id_example"; // string | ID of a doctor`s address in a facility
155155
$address_service_id = "address_service_id_example"; // string | ID of an address service
156+
$with = array(new \DocPlanner\Client\Model\AddressServiceScopes()); // \DocPlanner\Client\Model\AddressServiceScopes[] |
156157

157158
try {
158-
$result = $apiInstance->getAddressService($facility_id, $doctor_id, $address_id, $address_service_id);
159+
$result = $apiInstance->getAddressService($facility_id, $doctor_id, $address_id, $address_service_id, $with);
159160
print_r($result);
160161
} catch (Exception $e) {
161162
echo 'Exception when calling ServicesApi->getAddressService: ', $e->getMessage(), PHP_EOL;
@@ -171,6 +172,7 @@ Name | Type | Description | Notes
171172
**doctor_id** | **string**| ID of a doctor in a facility |
172173
**address_id** | **string**| ID of a doctor`s address in a facility |
173174
**address_service_id** | **string**| ID of an address service |
175+
**with** | [**\DocPlanner\Client\Model\AddressServiceScopes[]**](../Model/\DocPlanner\Client\Model\AddressServiceScopes.md)| | [optional]
174176

175177
### Return type
176178

@@ -188,11 +190,11 @@ Name | Type | Description | Notes
188190
[[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)
189191

190192
# **getAddressServices**
191-
> \DocPlanner\Client\Model\AddressServices getAddressServices($facility_id, $doctor_id, $address_id, $start)
193+
> \DocPlanner\Client\Model\AddressServices getAddressServices($facility_id, $doctor_id, $address_id, $start, $with)
192194
193195

194196

195-
Services returned in this endpoint are address services. Services returned here are from specified address (address_services).
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
196198

197199
### Example
198200
```php
@@ -212,9 +214,10 @@ $facility_id = "facility_id_example"; // string | ID of the Facility
212214
$doctor_id = "doctor_id_example"; // string | ID of a doctor in a facility
213215
$address_id = "address_id_example"; // string | ID of a doctor`s address in a facility
214216
$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.
217+
$with = array(new \DocPlanner\Client\Model\AddressServicesScopes()); // \DocPlanner\Client\Model\AddressServicesScopes[] |
215218

216219
try {
217-
$result = $apiInstance->getAddressServices($facility_id, $doctor_id, $address_id, $start);
220+
$result = $apiInstance->getAddressServices($facility_id, $doctor_id, $address_id, $start, $with);
218221
print_r($result);
219222
} catch (Exception $e) {
220223
echo 'Exception when calling ServicesApi->getAddressServices: ', $e->getMessage(), PHP_EOL;
@@ -230,6 +233,7 @@ Name | Type | Description | Notes
230233
**doctor_id** | **string**| ID of a doctor in a facility |
231234
**address_id** | **string**| ID of a doctor`s address in a facility |
232235
**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]
236+
**with** | [**\DocPlanner\Client\Model\AddressServicesScopes[]**](../Model/\DocPlanner\Client\Model\AddressServicesScopes.md)| | [optional]
233237

234238
### Return type
235239

@@ -251,7 +255,7 @@ Name | Type | Description | Notes
251255
252256

253257

254-
Services returned in this endpoint are dictionary services. Services returned here are from a dictionary (item_services). Scopes: * `services.only_diagnostics` - with this parameter in url, query results will return only dictionary of services dedicated to integration with diagnostics marketplace
258+
Services returned in this endpoint are dictionary services. Services returned here are from a dictionary (item_services). Extensions: * `services.only_diagnostics` - with this parameter in url, query results will return only dictionary of services dedicated to integration with diagnostics marketplace
255259

256260
### Example
257261
```php

docs/Model/AddAddressServiceRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**description** | **string** | | [optional]
1010
**is_visible** | **bool** | | [optional]
1111
**default_duration** | **int** | | [optional]
12+
**allowed_patients** | [**AllOfAddAddressServiceRequestAllowedPatients**](AllOfAddAddressServiceRequestAllowedPatients.md) | | [optional]
1213

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

docs/Model/AddressService.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
1212
**description** | **string** | | [optional]
1313
**duration** | **int** | | [optional]
1414
**is_visible** | **bool** | | [optional]
15+
**allowed_patients** | [**AllOfAddressServiceAllowedPatients**](AllOfAddressServiceAllowedPatients.md) | | [optional]
1516

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

docs/Model/AddressServiceScopes.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# AddressServiceScopes
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+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# AddressServicesScopes
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+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# AllOfAddAddressServiceRequestAllowedPatients
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+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# AllOfAddressServiceAllowedPatients
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+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# AllOfUpdateAddressServiceRequestAllowedPatients
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+

docs/Model/AllowedPatientsData.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# AllowedPatientsData
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**minimum_age** | **int** | Minimum age of patients allowed for this service | [optional]
7+
**maximum_age** | **int** | Maximum age of patients allowed for this service | [optional]
8+
9+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
10+

docs/Model/UpdateAddressServiceRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
88
**description** | **string** | | [optional]
99
**default_duration** | **int** | | [optional]
1010
**is_visible** | **bool** | | [optional]
11+
**allowed_patients** | [**AllOfUpdateAddressServiceRequestAllowedPatients**](AllOfUpdateAddressServiceRequestAllowedPatients.md) | | [optional]
1112

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

0 commit comments

Comments
 (0)