Skip to content

Commit

Permalink
Release v1.0.20
Browse files Browse the repository at this point in the history
 * New (optional) property **default_duration** for **AddAddressServiceRequest** and **UpdateAddressServiceRequest**
  • Loading branch information
actions-user committed Oct 27, 2022
1 parent 78d7d6a commit 8a7c077
Show file tree
Hide file tree
Showing 102 changed files with 3,101 additions and 103 deletions.
113 changes: 111 additions & 2 deletions docs/Api/InsurancesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ Method | HTTP request | Description
[**addAddressInsuranceProvider**](InsurancesApi.md#addaddressinsuranceprovider) | **POST** /facilities/{facility_id}/doctors/{doctor_id}/addresses/{address_id}/insurance-providers |
[**deleteAddressInsuranceProvider**](InsurancesApi.md#deleteaddressinsuranceprovider) | **DELETE** /facilities/{facility_id}/doctors/{doctor_id}/addresses/{address_id}/insurance-providers/{insurance_provider} |
[**getAddressInsuranceProviders**](InsurancesApi.md#getaddressinsuranceproviders) | **GET** /facilities/{facility_id}/doctors/{doctor_id}/addresses/{address_id}/insurance-providers |
[**getInsurancePlans**](InsurancesApi.md#getinsuranceplans) | **GET** /insurance-providers/{insurance_provider_id}/plans |
[**getInsuranceProviders**](InsurancesApi.md#getinsuranceproviders) | **GET** /insurance-providers |
[**updateOrCreateAddressInsuranceProvider**](InsurancesApi.md#updateorcreateaddressinsuranceprovider) | **PUT** /facilities/{facility_id}/doctors/{doctor_id}/addresses/{address_id}/insurance-providers |

# **addAddressInsuranceProvider**
> addAddressInsuranceProvider($body, $facility_id, $doctor_id, $address_id)
Expand Down Expand Up @@ -126,7 +128,7 @@ void (empty response body)
[[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)

# **getAddressInsuranceProviders**
> \DocPlanner\Client\Model\InsuranceProviders getAddressInsuranceProviders($facility_id, $doctor_id, $address_id)
> \DocPlanner\Client\Model\AddressInsuranceProviders getAddressInsuranceProviders($facility_id, $doctor_id, $address_id)


Expand Down Expand Up @@ -169,7 +171,7 @@ Name | Type | Description | Notes

### Return type

[**\DocPlanner\Client\Model\InsuranceProviders**](../Model/InsuranceProviders.md)
[**\DocPlanner\Client\Model\AddressInsuranceProviders**](../Model/AddressInsuranceProviders.md)

### Authorization

Expand All @@ -182,6 +184,55 @@ Name | Type | Description | Notes

[[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)

# **getInsurancePlans**
> \DocPlanner\Client\Model\InsurancePlans getInsurancePlans()


Get a list of available insurance plans for a given insurance provider

### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: OAuth 2.0
$config = DocPlanner\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$apiInstance = new DocPlanner\Client\Api\InsurancesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);

try {
$result = $apiInstance->getInsurancePlans();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InsurancesApi->getInsurancePlans: ', $e->getMessage(), PHP_EOL;
}
?>
```

### Parameters
This endpoint does not need any parameter.

### Return type

[**\DocPlanner\Client\Model\InsurancePlans**](../Model/InsurancePlans.md)

### Authorization

[OAuth 2.0](../../README.md#OAuth 2.0)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/vnd.docplanner+json; charset=UTF-8

[[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)

# **getInsuranceProviders**
> \DocPlanner\Client\Model\InsuranceProviders getInsuranceProviders()
Expand Down Expand Up @@ -231,3 +282,61 @@ This endpoint does not need any parameter.

[[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)

# **updateOrCreateAddressInsuranceProvider**
> updateOrCreateAddressInsuranceProvider($body, $facility_id, $doctor_id, $address_id)


Updates or creates insurance provider for a given doctor address

### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: OAuth 2.0
$config = DocPlanner\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$apiInstance = new DocPlanner\Client\Api\InsurancesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$body = new \DocPlanner\Client\Model\UpdateOrCreateAddressInsuranceProviderRequest(); // \DocPlanner\Client\Model\UpdateOrCreateAddressInsuranceProviderRequest |
$facility_id = "facility_id_example"; // string | ID of the Facility
$doctor_id = "doctor_id_example"; // string | ID of a doctor in a facility
$address_id = "address_id_example"; // string | ID of a doctor`s address in a facility

try {
$apiInstance->updateOrCreateAddressInsuranceProvider($body, $facility_id, $doctor_id, $address_id);
} catch (Exception $e) {
echo 'Exception when calling InsurancesApi->updateOrCreateAddressInsuranceProvider: ', $e->getMessage(), PHP_EOL;
}
?>
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**body** | [**\DocPlanner\Client\Model\UpdateOrCreateAddressInsuranceProviderRequest**](../Model/UpdateOrCreateAddressInsuranceProviderRequest.md)| |
**facility_id** | **string**| ID of the Facility |
**doctor_id** | **string**| ID of a doctor in a facility |
**address_id** | **string**| ID of a doctor&#x60;s address in a facility |

### Return type

void (empty response body)

### Authorization

[OAuth 2.0](../../README.md#OAuth 2.0)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/vnd.error+docplanner+json

[[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)

1 change: 1 addition & 0 deletions docs/Model/AddAddressServiceRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**price** | **int** | Minimum price | [optional]
**description** | **string** | | [optional]
**is_visible** | **bool** | | [optional]
**default_duration** | **int** | | [optional]

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

11 changes: 11 additions & 0 deletions docs/Model/AddressInsuranceProvider.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# AddressInsuranceProvider

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**insurance_provider_id** | **string** | | [optional]
**name** | **string** | | [optional]
**insurance_plans** | [**\DocPlanner\Client\Model\InsurancePlans**](InsurancePlans.md) | | [optional]

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

9 changes: 9 additions & 0 deletions docs/Model/AddressInsuranceProviders.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# AddressInsuranceProviders

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**_items** | [**\DocPlanner\Client\Model\AddressInsuranceProvider[]**](AddressInsuranceProvider.md) | | [optional]

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

11 changes: 11 additions & 0 deletions docs/Model/BookingConfirmedNotification.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# BookingConfirmedNotification

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **string** | | [optional]
**data** | [**\DocPlanner\Client\Model\SlotBookedNotificationData**](SlotBookedNotificationData.md) | | [optional]
**created_at** | [**\DateTime**](\DateTime.md) | | [optional]

[[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 changes: 10 additions & 0 deletions docs/Model/InsurancePlan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# InsurancePlan

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**insurance_plan_id** | **string** | | [optional]
**name** | **string** | | [optional]

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

9 changes: 9 additions & 0 deletions docs/Model/InsurancePlans.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# InsurancePlans

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**_items** | [**\DocPlanner\Client\Model\InsurancePlan[]**](InsurancePlan.md) | | [optional]

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

1 change: 1 addition & 0 deletions docs/Model/UpdateAddressServiceRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Name | Type | Description | Notes
**is_price_from** | **bool** | If the specified price is the minimum price of the service | [optional]
**price** | **int** | Minimum price | [optional]
**description** | **string** | | [optional]
**default_duration** | **int** | | [optional]

[[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 changes: 10 additions & 0 deletions docs/Model/UpdateOrCreateAddressInsuranceProviderRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# UpdateOrCreateAddressInsuranceProviderRequest

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**insurance_provider_id** | **string** | ID of an insurance provider from DP dictionary |
**insurance_plans** | [**\DocPlanner\Client\Model\UpdateOrCreateAddressInsuranceProviderRequestInsurancePlans[]**](UpdateOrCreateAddressInsuranceProviderRequestInsurancePlans.md) | | [optional]

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# UpdateOrCreateAddressInsuranceProviderRequestInsurancePlans

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**insurance_plan_id** | **string** | ID of an insurance plan from DP dictionary | [optional]

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

2 changes: 1 addition & 1 deletion lib/Api/APINotificationCallbacksApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* 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.
*
* OpenAPI spec version: 1.0.17.1
* OpenAPI spec version: 1.0.20
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* Swagger Codegen version: 3.0.24
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/AddressesApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* 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.
*
* OpenAPI spec version: 1.0.17.1
* OpenAPI spec version: 1.0.20
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* Swagger Codegen version: 3.0.24
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/BookingsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* 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.
*
* OpenAPI spec version: 1.0.17.1
* OpenAPI spec version: 1.0.20
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* Swagger Codegen version: 3.0.24
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/CalendarBreaksApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* 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.
*
* OpenAPI spec version: 1.0.17.1
* OpenAPI spec version: 1.0.20
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* Swagger Codegen version: 3.0.24
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/CalendarsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* 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.
*
* OpenAPI spec version: 1.0.17.1
* OpenAPI spec version: 1.0.20
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* Swagger Codegen version: 3.0.24
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/DoctorsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* 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.
*
* OpenAPI spec version: 1.0.17.1
* OpenAPI spec version: 1.0.20
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* Swagger Codegen version: 3.0.24
Expand Down
2 changes: 1 addition & 1 deletion lib/Api/FacilitiesApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* 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.
*
* OpenAPI spec version: 1.0.17.1
* OpenAPI spec version: 1.0.20
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
* Swagger Codegen version: 3.0.24
Expand Down
Loading

0 comments on commit 8a7c077

Please sign in to comment.