Migrate omsorgapp to browser SPA, add Docker/CI build setup
Docker-Images bauen und veröffentlichen / build (, omsorgCore/Dockerfile, omsorgcore) (push) Successful in 3s
Docker-Images bauen und veröffentlichen / build (, omsorgWeb/Dockerfile, omsorgweb) (push) Failing after 4s
Docker-Images bauen und veröffentlichen / build (VITE_OMSORG_CORE_URL=${{ vars.OMSORG_CORE_PUBLIC_URL }}, omsorgapp/Dockerfile, omsorgapp) (push) Successful in 3s

- omsorgapp: drop Electron, run as a plain Vite/React browser app; refresh
  token moves to an HttpOnly cookie (omsorgCore), CORS added for the new
  browser origin, document download/preview switched to Blob-based browser
  APIs.
- Add Dockerfiles for omsorgCore, omsorgapp, and omsorgWeb, a docker-compose.yml
  wiring Postgres/MySQL/all three apps together, and a Gitea Actions workflow
  that builds and pushes images to the repo's container registry on push to
  main and on version tags.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Felix Kemmler
2026-08-10 17:42:45 +02:00
co-authored by Claude Sonnet 5
parent e9e96a57dc
commit 598dfcd38a
461 changed files with 59753 additions and 2859 deletions
@@ -0,0 +1,372 @@
# OmsorgCoreClient\AbsencesApi
All URIs are relative to http://localhost, except if the operation defines another base path.
| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**apiAbsencesGet()**](AbsencesApi.md#apiAbsencesGet) | **GET** /api/absences | |
| [**apiAbsencesIdDecisionPost()**](AbsencesApi.md#apiAbsencesIdDecisionPost) | **POST** /api/absences/{id}/decision | |
| [**apiAbsencesIdDelete()**](AbsencesApi.md#apiAbsencesIdDelete) | **DELETE** /api/absences/{id} | |
| [**apiAbsencesIdGet()**](AbsencesApi.md#apiAbsencesIdGet) | **GET** /api/absences/{id} | |
| [**apiAbsencesIdPut()**](AbsencesApi.md#apiAbsencesIdPut) | **PUT** /api/absences/{id} | |
| [**apiAbsencesPost()**](AbsencesApi.md#apiAbsencesPost) | **POST** /api/absences | |
## `apiAbsencesGet()`
```php
apiAbsencesGet($status, $type, $employee_id, $page, $page_size): \OmsorgCoreClient\Model\AbsenceResponsePagedResponse
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\AbsencesApi(
// 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
);
$status = 'status_example'; // string
$type = 'type_example'; // string
$employee_id = 'employee_id_example'; // string
$page = 1; // int
$page_size = 20; // int
try {
$result = $apiInstance->apiAbsencesGet($status, $type, $employee_id, $page, $page_size);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AbsencesApi->apiAbsencesGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **status** | **string**| | [optional] |
| **type** | **string**| | [optional] |
| **employee_id** | **string**| | [optional] |
| **page** | **int**| | [optional] [default to 1] |
| **page_size** | **int**| | [optional] [default to 20] |
### Return type
[**\OmsorgCoreClient\Model\AbsenceResponsePagedResponse**](../Model/AbsenceResponsePagedResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiAbsencesIdDecisionPost()`
```php
apiAbsencesIdDecisionPost($id, $absence_decision_request): \OmsorgCoreClient\Model\AbsenceResponse
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\AbsencesApi(
// 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
);
$id = 'id_example'; // string
$absence_decision_request = new \OmsorgCoreClient\Model\AbsenceDecisionRequest(); // \OmsorgCoreClient\Model\AbsenceDecisionRequest
try {
$result = $apiInstance->apiAbsencesIdDecisionPost($id, $absence_decision_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AbsencesApi->apiAbsencesIdDecisionPost: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
| **absence_decision_request** | [**\OmsorgCoreClient\Model\AbsenceDecisionRequest**](../Model/AbsenceDecisionRequest.md)| | [optional] |
### Return type
[**\OmsorgCoreClient\Model\AbsenceResponse**](../Model/AbsenceResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: `application/json`, `text/json`, `application/*+json`
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiAbsencesIdDelete()`
```php
apiAbsencesIdDelete($id)
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\AbsencesApi(
// 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
);
$id = 'id_example'; // string
try {
$apiInstance->apiAbsencesIdDelete($id);
} catch (Exception $e) {
echo 'Exception when calling AbsencesApi->apiAbsencesIdDelete: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
### Return type
void (empty response body)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiAbsencesIdGet()`
```php
apiAbsencesIdGet($id): \OmsorgCoreClient\Model\AbsenceResponse
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\AbsencesApi(
// 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
);
$id = 'id_example'; // string
try {
$result = $apiInstance->apiAbsencesIdGet($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AbsencesApi->apiAbsencesIdGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
### Return type
[**\OmsorgCoreClient\Model\AbsenceResponse**](../Model/AbsenceResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiAbsencesIdPut()`
```php
apiAbsencesIdPut($id, $update_absence_request): \OmsorgCoreClient\Model\AbsenceResponse
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\AbsencesApi(
// 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
);
$id = 'id_example'; // string
$update_absence_request = new \OmsorgCoreClient\Model\UpdateAbsenceRequest(); // \OmsorgCoreClient\Model\UpdateAbsenceRequest
try {
$result = $apiInstance->apiAbsencesIdPut($id, $update_absence_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AbsencesApi->apiAbsencesIdPut: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
| **update_absence_request** | [**\OmsorgCoreClient\Model\UpdateAbsenceRequest**](../Model/UpdateAbsenceRequest.md)| | [optional] |
### Return type
[**\OmsorgCoreClient\Model\AbsenceResponse**](../Model/AbsenceResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: `application/json`, `text/json`, `application/*+json`
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiAbsencesPost()`
```php
apiAbsencesPost($create_absence_request): \OmsorgCoreClient\Model\AbsenceResponse
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\AbsencesApi(
// 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
);
$create_absence_request = new \OmsorgCoreClient\Model\CreateAbsenceRequest(); // \OmsorgCoreClient\Model\CreateAbsenceRequest
try {
$result = $apiInstance->apiAbsencesPost($create_absence_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AbsencesApi->apiAbsencesPost: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **create_absence_request** | [**\OmsorgCoreClient\Model\CreateAbsenceRequest**](../Model/CreateAbsenceRequest.md)| | [optional] |
### Return type
[**\OmsorgCoreClient\Model\AbsenceResponse**](../Model/AbsenceResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: `application/json`, `text/json`, `application/*+json`
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
@@ -10,7 +10,7 @@ All URIs are relative to http://localhost, except if the operation defines anoth
## `apiAuditLogGet()`
```php
apiAuditLogGet($entity_type, $entity_id, $actor_user_id, $from_utc, $to_utc, $page, $page_size): \OmsorgCoreClient\Model\AuditLogEntryResponsePagedResponse
apiAuditLogGet($entity_type, $entity_id, $actor_user_id, $category, $from_utc, $to_utc, $page, $page_size): \OmsorgCoreClient\Model\AuditLogEntryResponsePagedResponse
```
@@ -35,13 +35,14 @@ $apiInstance = new OmsorgCoreClient\Api\AuditLogApi(
$entity_type = 'entity_type_example'; // string
$entity_id = 'entity_id_example'; // string
$actor_user_id = 'actor_user_id_example'; // string
$category = new \OmsorgCoreClient\Model\\OmsorgCoreClient\Model\AuditEventCategory(); // \OmsorgCoreClient\Model\AuditEventCategory
$from_utc = new \DateTime('2013-10-20T19:20:30+01:00'); // \DateTime
$to_utc = new \DateTime('2013-10-20T19:20:30+01:00'); // \DateTime
$page = 1; // int
$page_size = 50; // int
try {
$result = $apiInstance->apiAuditLogGet($entity_type, $entity_id, $actor_user_id, $from_utc, $to_utc, $page, $page_size);
$result = $apiInstance->apiAuditLogGet($entity_type, $entity_id, $actor_user_id, $category, $from_utc, $to_utc, $page, $page_size);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AuditLogApi->apiAuditLogGet: ', $e->getMessage(), PHP_EOL;
@@ -55,6 +56,7 @@ try {
| **entity_type** | **string**| | [optional] |
| **entity_id** | **string**| | [optional] |
| **actor_user_id** | **string**| | [optional] |
| **category** | [**\OmsorgCoreClient\Model\AuditEventCategory**](../Model/.md)| | [optional] |
| **from_utc** | **\DateTime**| | [optional] |
| **to_utc** | **\DateTime**| | [optional] |
| **page** | **int**| | [optional] [default to 1] |
@@ -5,6 +5,7 @@ All URIs are relative to http://localhost, except if the operation defines anoth
| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**apiContractsGet()**](ContractsApi.md#apiContractsGet) | **GET** /api/contracts | |
| [**apiContractsIdDelete()**](ContractsApi.md#apiContractsIdDelete) | **DELETE** /api/contracts/{id} | |
| [**apiContractsIdGet()**](ContractsApi.md#apiContractsIdGet) | **GET** /api/contracts/{id} | |
| [**apiContractsIdPut()**](ContractsApi.md#apiContractsIdPut) | **PUT** /api/contracts/{id} | |
| [**apiContractsPost()**](ContractsApi.md#apiContractsPost) | **POST** /api/contracts | |
@@ -78,6 +79,63 @@ try {
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiContractsIdDelete()`
```php
apiContractsIdDelete($id)
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\ContractsApi(
// 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
);
$id = 'id_example'; // string
try {
$apiInstance->apiContractsIdDelete($id);
} catch (Exception $e) {
echo 'Exception when calling ContractsApi->apiContractsIdDelete: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
### Return type
void (empty response body)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiContractsIdGet()`
```php
@@ -0,0 +1,312 @@
# OmsorgCoreClient\DocumentsApi
All URIs are relative to http://localhost, except if the operation defines another base path.
| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**apiDocumentsGet()**](DocumentsApi.md#apiDocumentsGet) | **GET** /api/documents | |
| [**apiDocumentsIdDelete()**](DocumentsApi.md#apiDocumentsIdDelete) | **DELETE** /api/documents/{id} | |
| [**apiDocumentsIdDownloadGet()**](DocumentsApi.md#apiDocumentsIdDownloadGet) | **GET** /api/documents/{id}/download | |
| [**apiDocumentsIdPut()**](DocumentsApi.md#apiDocumentsIdPut) | **PUT** /api/documents/{id} | |
| [**apiDocumentsPost()**](DocumentsApi.md#apiDocumentsPost) | **POST** /api/documents | |
## `apiDocumentsGet()`
```php
apiDocumentsGet($entity_type, $entity_id): \OmsorgCoreClient\Model\DocumentResponse[]
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\DocumentsApi(
// 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
);
$entity_type = 'entity_type_example'; // string
$entity_id = 'entity_id_example'; // string
try {
$result = $apiInstance->apiDocumentsGet($entity_type, $entity_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DocumentsApi->apiDocumentsGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **entity_type** | **string**| | [optional] |
| **entity_id** | **string**| | [optional] |
### Return type
[**\OmsorgCoreClient\Model\DocumentResponse[]**](../Model/DocumentResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiDocumentsIdDelete()`
```php
apiDocumentsIdDelete($id)
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\DocumentsApi(
// 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
);
$id = 'id_example'; // string
try {
$apiInstance->apiDocumentsIdDelete($id);
} catch (Exception $e) {
echo 'Exception when calling DocumentsApi->apiDocumentsIdDelete: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
### Return type
void (empty response body)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiDocumentsIdDownloadGet()`
```php
apiDocumentsIdDownloadGet($id)
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\DocumentsApi(
// 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
);
$id = 'id_example'; // string
try {
$apiInstance->apiDocumentsIdDownloadGet($id);
} catch (Exception $e) {
echo 'Exception when calling DocumentsApi->apiDocumentsIdDownloadGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
### Return type
void (empty response body)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiDocumentsIdPut()`
```php
apiDocumentsIdPut($id, $update_document_request): \OmsorgCoreClient\Model\DocumentResponse
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\DocumentsApi(
// 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
);
$id = 'id_example'; // string
$update_document_request = new \OmsorgCoreClient\Model\UpdateDocumentRequest(); // \OmsorgCoreClient\Model\UpdateDocumentRequest
try {
$result = $apiInstance->apiDocumentsIdPut($id, $update_document_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DocumentsApi->apiDocumentsIdPut: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
| **update_document_request** | [**\OmsorgCoreClient\Model\UpdateDocumentRequest**](../Model/UpdateDocumentRequest.md)| | [optional] |
### Return type
[**\OmsorgCoreClient\Model\DocumentResponse**](../Model/DocumentResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: `application/json`, `text/json`, `application/*+json`
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiDocumentsPost()`
```php
apiDocumentsPost($entity_type, $entity_id, $category, $description, $file): \OmsorgCoreClient\Model\DocumentResponse
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\DocumentsApi(
// 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
);
$entity_type = 'entity_type_example'; // string
$entity_id = 'entity_id_example'; // string
$category = 'category_example'; // string
$description = 'description_example'; // string
$file = '/path/to/file.txt'; // \SplFileObject
try {
$result = $apiInstance->apiDocumentsPost($entity_type, $entity_id, $category, $description, $file);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DocumentsApi->apiDocumentsPost: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **entity_type** | **string**| | [optional] |
| **entity_id** | **string**| | [optional] |
| **category** | **string**| | [optional] |
| **description** | **string**| | [optional] |
| **file** | **\SplFileObject****\SplFileObject**| | [optional] |
### Return type
[**\OmsorgCoreClient\Model\DocumentResponse**](../Model/DocumentResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: `multipart/form-data`
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
@@ -5,6 +5,7 @@ All URIs are relative to http://localhost, except if the operation defines anoth
| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**apiEmployeesGet()**](EmployeesApi.md#apiEmployeesGet) | **GET** /api/employees | |
| [**apiEmployeesIdDelete()**](EmployeesApi.md#apiEmployeesIdDelete) | **DELETE** /api/employees/{id} | |
| [**apiEmployeesIdGet()**](EmployeesApi.md#apiEmployeesIdGet) | **GET** /api/employees/{id} | |
| [**apiEmployeesIdPut()**](EmployeesApi.md#apiEmployeesIdPut) | **PUT** /api/employees/{id} | |
| [**apiEmployeesPost()**](EmployeesApi.md#apiEmployeesPost) | **POST** /api/employees | |
@@ -76,6 +77,63 @@ try {
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiEmployeesIdDelete()`
```php
apiEmployeesIdDelete($id)
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\EmployeesApi(
// 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
);
$id = 'id_example'; // string
try {
$apiInstance->apiEmployeesIdDelete($id);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->apiEmployeesIdDelete: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
### Return type
void (empty response body)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiEmployeesIdGet()`
```php
@@ -5,6 +5,7 @@ All URIs are relative to http://localhost, except if the operation defines anoth
| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**apiFacilitiesGet()**](FacilitiesApi.md#apiFacilitiesGet) | **GET** /api/facilities | |
| [**apiFacilitiesIdDelete()**](FacilitiesApi.md#apiFacilitiesIdDelete) | **DELETE** /api/facilities/{id} | |
| [**apiFacilitiesIdGet()**](FacilitiesApi.md#apiFacilitiesIdGet) | **GET** /api/facilities/{id} | |
| [**apiFacilitiesIdPut()**](FacilitiesApi.md#apiFacilitiesIdPut) | **PUT** /api/facilities/{id} | |
| [**apiFacilitiesPost()**](FacilitiesApi.md#apiFacilitiesPost) | **POST** /api/facilities | |
@@ -13,7 +14,7 @@ All URIs are relative to http://localhost, except if the operation defines anoth
## `apiFacilitiesGet()`
```php
apiFacilitiesGet($search, $crm_status, $page, $page_size): \OmsorgCoreClient\Model\FacilityResponsePagedResponse
apiFacilitiesGet($search, $crm_status, $follow_up_due_only, $page, $page_size): \OmsorgCoreClient\Model\FacilityResponsePagedResponse
```
@@ -37,11 +38,12 @@ $apiInstance = new OmsorgCoreClient\Api\FacilitiesApi(
);
$search = 'search_example'; // string
$crm_status = 'crm_status_example'; // string
$follow_up_due_only = false; // bool
$page = 1; // int
$page_size = 20; // int
try {
$result = $apiInstance->apiFacilitiesGet($search, $crm_status, $page, $page_size);
$result = $apiInstance->apiFacilitiesGet($search, $crm_status, $follow_up_due_only, $page, $page_size);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FacilitiesApi->apiFacilitiesGet: ', $e->getMessage(), PHP_EOL;
@@ -54,6 +56,7 @@ try {
| ------------- | ------------- | ------------- | ------------- |
| **search** | **string**| | [optional] |
| **crm_status** | **string**| | [optional] |
| **follow_up_due_only** | **bool**| | [optional] [default to false] |
| **page** | **int**| | [optional] [default to 1] |
| **page_size** | **int**| | [optional] [default to 20] |
@@ -74,6 +77,63 @@ try {
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiFacilitiesIdDelete()`
```php
apiFacilitiesIdDelete($id)
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\FacilitiesApi(
// 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
);
$id = 'id_example'; // string
try {
$apiInstance->apiFacilitiesIdDelete($id);
} catch (Exception $e) {
echo 'Exception when calling FacilitiesApi->apiFacilitiesIdDelete: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
### Return type
void (empty response body)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiFacilitiesIdGet()`
```php
@@ -5,6 +5,7 @@ All URIs are relative to http://localhost, except if the operation defines anoth
| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**apiFacilitiesFacilityIdContactsGet()**](FacilityContactsApi.md#apiFacilitiesFacilityIdContactsGet) | **GET** /api/facilities/{facilityId}/contacts | |
| [**apiFacilitiesFacilityIdContactsIdDelete()**](FacilityContactsApi.md#apiFacilitiesFacilityIdContactsIdDelete) | **DELETE** /api/facilities/{facilityId}/contacts/{id} | |
| [**apiFacilitiesFacilityIdContactsIdPut()**](FacilityContactsApi.md#apiFacilitiesFacilityIdContactsIdPut) | **PUT** /api/facilities/{facilityId}/contacts/{id} | |
| [**apiFacilitiesFacilityIdContactsPost()**](FacilityContactsApi.md#apiFacilitiesFacilityIdContactsPost) | **POST** /api/facilities/{facilityId}/contacts | |
@@ -67,6 +68,65 @@ try {
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiFacilitiesFacilityIdContactsIdDelete()`
```php
apiFacilitiesFacilityIdContactsIdDelete($facility_id, $id)
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\FacilityContactsApi(
// 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
);
$facility_id = 'facility_id_example'; // string
$id = 'id_example'; // string
try {
$apiInstance->apiFacilitiesFacilityIdContactsIdDelete($facility_id, $id);
} catch (Exception $e) {
echo 'Exception when calling FacilityContactsApi->apiFacilitiesFacilityIdContactsIdDelete: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **facility_id** | **string**| | |
| **id** | **string**| | |
### Return type
void (empty response body)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiFacilitiesFacilityIdContactsIdPut()`
```php
@@ -0,0 +1,250 @@
# OmsorgCoreClient\FacilityQualificationRatesApi
All URIs are relative to http://localhost, except if the operation defines another base path.
| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**apiFacilitiesFacilityIdQualificationRatesGet()**](FacilityQualificationRatesApi.md#apiFacilitiesFacilityIdQualificationRatesGet) | **GET** /api/facilities/{facilityId}/qualification-rates | |
| [**apiFacilitiesFacilityIdQualificationRatesIdDelete()**](FacilityQualificationRatesApi.md#apiFacilitiesFacilityIdQualificationRatesIdDelete) | **DELETE** /api/facilities/{facilityId}/qualification-rates/{id} | |
| [**apiFacilitiesFacilityIdQualificationRatesIdPut()**](FacilityQualificationRatesApi.md#apiFacilitiesFacilityIdQualificationRatesIdPut) | **PUT** /api/facilities/{facilityId}/qualification-rates/{id} | |
| [**apiFacilitiesFacilityIdQualificationRatesPost()**](FacilityQualificationRatesApi.md#apiFacilitiesFacilityIdQualificationRatesPost) | **POST** /api/facilities/{facilityId}/qualification-rates | |
## `apiFacilitiesFacilityIdQualificationRatesGet()`
```php
apiFacilitiesFacilityIdQualificationRatesGet($facility_id): \OmsorgCoreClient\Model\FacilityQualificationRateResponse[]
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\FacilityQualificationRatesApi(
// 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
);
$facility_id = 'facility_id_example'; // string
try {
$result = $apiInstance->apiFacilitiesFacilityIdQualificationRatesGet($facility_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FacilityQualificationRatesApi->apiFacilitiesFacilityIdQualificationRatesGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **facility_id** | **string**| | |
### Return type
[**\OmsorgCoreClient\Model\FacilityQualificationRateResponse[]**](../Model/FacilityQualificationRateResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiFacilitiesFacilityIdQualificationRatesIdDelete()`
```php
apiFacilitiesFacilityIdQualificationRatesIdDelete($facility_id, $id)
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\FacilityQualificationRatesApi(
// 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
);
$facility_id = 'facility_id_example'; // string
$id = 'id_example'; // string
try {
$apiInstance->apiFacilitiesFacilityIdQualificationRatesIdDelete($facility_id, $id);
} catch (Exception $e) {
echo 'Exception when calling FacilityQualificationRatesApi->apiFacilitiesFacilityIdQualificationRatesIdDelete: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **facility_id** | **string**| | |
| **id** | **string**| | |
### Return type
void (empty response body)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiFacilitiesFacilityIdQualificationRatesIdPut()`
```php
apiFacilitiesFacilityIdQualificationRatesIdPut($facility_id, $id, $update_facility_qualification_rate_request): \OmsorgCoreClient\Model\FacilityQualificationRateResponse
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\FacilityQualificationRatesApi(
// 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
);
$facility_id = 'facility_id_example'; // string
$id = 'id_example'; // string
$update_facility_qualification_rate_request = new \OmsorgCoreClient\Model\UpdateFacilityQualificationRateRequest(); // \OmsorgCoreClient\Model\UpdateFacilityQualificationRateRequest
try {
$result = $apiInstance->apiFacilitiesFacilityIdQualificationRatesIdPut($facility_id, $id, $update_facility_qualification_rate_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FacilityQualificationRatesApi->apiFacilitiesFacilityIdQualificationRatesIdPut: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **facility_id** | **string**| | |
| **id** | **string**| | |
| **update_facility_qualification_rate_request** | [**\OmsorgCoreClient\Model\UpdateFacilityQualificationRateRequest**](../Model/UpdateFacilityQualificationRateRequest.md)| | [optional] |
### Return type
[**\OmsorgCoreClient\Model\FacilityQualificationRateResponse**](../Model/FacilityQualificationRateResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: `application/json`, `text/json`, `application/*+json`
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiFacilitiesFacilityIdQualificationRatesPost()`
```php
apiFacilitiesFacilityIdQualificationRatesPost($facility_id, $create_facility_qualification_rate_request): \OmsorgCoreClient\Model\FacilityQualificationRateResponse
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\FacilityQualificationRatesApi(
// 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
);
$facility_id = 'facility_id_example'; // string
$create_facility_qualification_rate_request = new \OmsorgCoreClient\Model\CreateFacilityQualificationRateRequest(); // \OmsorgCoreClient\Model\CreateFacilityQualificationRateRequest
try {
$result = $apiInstance->apiFacilitiesFacilityIdQualificationRatesPost($facility_id, $create_facility_qualification_rate_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FacilityQualificationRatesApi->apiFacilitiesFacilityIdQualificationRatesPost: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **facility_id** | **string**| | |
| **create_facility_qualification_rate_request** | [**\OmsorgCoreClient\Model\CreateFacilityQualificationRateRequest**](../Model/CreateFacilityQualificationRateRequest.md)| | [optional] |
### Return type
[**\OmsorgCoreClient\Model\FacilityQualificationRateResponse**](../Model/FacilityQualificationRateResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: `application/json`, `text/json`, `application/*+json`
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
@@ -5,6 +5,7 @@ All URIs are relative to http://localhost, except if the operation defines anoth
| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**apiOrdersGet()**](OrdersApi.md#apiOrdersGet) | **GET** /api/orders | |
| [**apiOrdersIdDelete()**](OrdersApi.md#apiOrdersIdDelete) | **DELETE** /api/orders/{id} | |
| [**apiOrdersIdGet()**](OrdersApi.md#apiOrdersIdGet) | **GET** /api/orders/{id} | |
| [**apiOrdersIdPut()**](OrdersApi.md#apiOrdersIdPut) | **PUT** /api/orders/{id} | |
| [**apiOrdersPost()**](OrdersApi.md#apiOrdersPost) | **POST** /api/orders | |
@@ -13,7 +14,7 @@ All URIs are relative to http://localhost, except if the operation defines anoth
## `apiOrdersGet()`
```php
apiOrdersGet($search, $status_id, $facility_id, $page, $page_size): \OmsorgCoreClient\Model\OrderResponsePagedResponse
apiOrdersGet($search, $status_id, $facility_id, $priority, $required_qualification, $shift_type, $page, $page_size): \OmsorgCoreClient\Model\OrderResponsePagedResponse
```
@@ -38,11 +39,14 @@ $apiInstance = new OmsorgCoreClient\Api\OrdersApi(
$search = 'search_example'; // string
$status_id = 'status_id_example'; // string
$facility_id = 'facility_id_example'; // string
$priority = 'priority_example'; // string
$required_qualification = 'required_qualification_example'; // string
$shift_type = 'shift_type_example'; // string
$page = 1; // int
$page_size = 20; // int
try {
$result = $apiInstance->apiOrdersGet($search, $status_id, $facility_id, $page, $page_size);
$result = $apiInstance->apiOrdersGet($search, $status_id, $facility_id, $priority, $required_qualification, $shift_type, $page, $page_size);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrdersApi->apiOrdersGet: ', $e->getMessage(), PHP_EOL;
@@ -56,6 +60,9 @@ try {
| **search** | **string**| | [optional] |
| **status_id** | **string**| | [optional] |
| **facility_id** | **string**| | [optional] |
| **priority** | **string**| | [optional] |
| **required_qualification** | **string**| | [optional] |
| **shift_type** | **string**| | [optional] |
| **page** | **int**| | [optional] [default to 1] |
| **page_size** | **int**| | [optional] [default to 20] |
@@ -76,6 +83,63 @@ try {
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiOrdersIdDelete()`
```php
apiOrdersIdDelete($id)
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\OrdersApi(
// 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
);
$id = 'id_example'; // string
try {
$apiInstance->apiOrdersIdDelete($id);
} catch (Exception $e) {
echo 'Exception when calling OrdersApi->apiOrdersIdDelete: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
### Return type
void (empty response body)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiOrdersIdGet()`
```php
@@ -0,0 +1,431 @@
# OmsorgCoreClient\TimeEntriesApi
All URIs are relative to http://localhost, except if the operation defines another base path.
| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**apiTimeEntriesGet()**](TimeEntriesApi.md#apiTimeEntriesGet) | **GET** /api/time-entries | |
| [**apiTimeEntriesIdDecisionPost()**](TimeEntriesApi.md#apiTimeEntriesIdDecisionPost) | **POST** /api/time-entries/{id}/decision | |
| [**apiTimeEntriesIdDelete()**](TimeEntriesApi.md#apiTimeEntriesIdDelete) | **DELETE** /api/time-entries/{id} | |
| [**apiTimeEntriesIdGet()**](TimeEntriesApi.md#apiTimeEntriesIdGet) | **GET** /api/time-entries/{id} | |
| [**apiTimeEntriesIdPut()**](TimeEntriesApi.md#apiTimeEntriesIdPut) | **PUT** /api/time-entries/{id} | |
| [**apiTimeEntriesIdSubmitPost()**](TimeEntriesApi.md#apiTimeEntriesIdSubmitPost) | **POST** /api/time-entries/{id}/submit | |
| [**apiTimeEntriesPost()**](TimeEntriesApi.md#apiTimeEntriesPost) | **POST** /api/time-entries | |
## `apiTimeEntriesGet()`
```php
apiTimeEntriesGet($status_id, $employee_id, $order_id, $page, $page_size): \OmsorgCoreClient\Model\TimeEntryResponsePagedResponse
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TimeEntriesApi(
// 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
);
$status_id = 'status_id_example'; // string
$employee_id = 'employee_id_example'; // string
$order_id = 'order_id_example'; // string
$page = 1; // int
$page_size = 20; // int
try {
$result = $apiInstance->apiTimeEntriesGet($status_id, $employee_id, $order_id, $page, $page_size);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TimeEntriesApi->apiTimeEntriesGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **status_id** | **string**| | [optional] |
| **employee_id** | **string**| | [optional] |
| **order_id** | **string**| | [optional] |
| **page** | **int**| | [optional] [default to 1] |
| **page_size** | **int**| | [optional] [default to 20] |
### Return type
[**\OmsorgCoreClient\Model\TimeEntryResponsePagedResponse**](../Model/TimeEntryResponsePagedResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTimeEntriesIdDecisionPost()`
```php
apiTimeEntriesIdDecisionPost($id, $time_entry_decision_request): \OmsorgCoreClient\Model\TimeEntryResponse
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TimeEntriesApi(
// 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
);
$id = 'id_example'; // string
$time_entry_decision_request = new \OmsorgCoreClient\Model\TimeEntryDecisionRequest(); // \OmsorgCoreClient\Model\TimeEntryDecisionRequest
try {
$result = $apiInstance->apiTimeEntriesIdDecisionPost($id, $time_entry_decision_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TimeEntriesApi->apiTimeEntriesIdDecisionPost: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
| **time_entry_decision_request** | [**\OmsorgCoreClient\Model\TimeEntryDecisionRequest**](../Model/TimeEntryDecisionRequest.md)| | [optional] |
### Return type
[**\OmsorgCoreClient\Model\TimeEntryResponse**](../Model/TimeEntryResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: `application/json`, `text/json`, `application/*+json`
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTimeEntriesIdDelete()`
```php
apiTimeEntriesIdDelete($id)
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TimeEntriesApi(
// 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
);
$id = 'id_example'; // string
try {
$apiInstance->apiTimeEntriesIdDelete($id);
} catch (Exception $e) {
echo 'Exception when calling TimeEntriesApi->apiTimeEntriesIdDelete: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
### Return type
void (empty response body)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTimeEntriesIdGet()`
```php
apiTimeEntriesIdGet($id): \OmsorgCoreClient\Model\TimeEntryResponse
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TimeEntriesApi(
// 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
);
$id = 'id_example'; // string
try {
$result = $apiInstance->apiTimeEntriesIdGet($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TimeEntriesApi->apiTimeEntriesIdGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
### Return type
[**\OmsorgCoreClient\Model\TimeEntryResponse**](../Model/TimeEntryResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTimeEntriesIdPut()`
```php
apiTimeEntriesIdPut($id, $update_time_entry_request): \OmsorgCoreClient\Model\TimeEntryResponse
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TimeEntriesApi(
// 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
);
$id = 'id_example'; // string
$update_time_entry_request = new \OmsorgCoreClient\Model\UpdateTimeEntryRequest(); // \OmsorgCoreClient\Model\UpdateTimeEntryRequest
try {
$result = $apiInstance->apiTimeEntriesIdPut($id, $update_time_entry_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TimeEntriesApi->apiTimeEntriesIdPut: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
| **update_time_entry_request** | [**\OmsorgCoreClient\Model\UpdateTimeEntryRequest**](../Model/UpdateTimeEntryRequest.md)| | [optional] |
### Return type
[**\OmsorgCoreClient\Model\TimeEntryResponse**](../Model/TimeEntryResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: `application/json`, `text/json`, `application/*+json`
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTimeEntriesIdSubmitPost()`
```php
apiTimeEntriesIdSubmitPost($id): \OmsorgCoreClient\Model\TimeEntryResponse
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TimeEntriesApi(
// 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
);
$id = 'id_example'; // string
try {
$result = $apiInstance->apiTimeEntriesIdSubmitPost($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TimeEntriesApi->apiTimeEntriesIdSubmitPost: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
### Return type
[**\OmsorgCoreClient\Model\TimeEntryResponse**](../Model/TimeEntryResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTimeEntriesPost()`
```php
apiTimeEntriesPost($create_time_entry_request): \OmsorgCoreClient\Model\TimeEntryResponse
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TimeEntriesApi(
// 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
);
$create_time_entry_request = new \OmsorgCoreClient\Model\CreateTimeEntryRequest(); // \OmsorgCoreClient\Model\CreateTimeEntryRequest
try {
$result = $apiInstance->apiTimeEntriesPost($create_time_entry_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TimeEntriesApi->apiTimeEntriesPost: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **create_time_entry_request** | [**\OmsorgCoreClient\Model\CreateTimeEntryRequest**](../Model/CreateTimeEntryRequest.md)| | [optional] |
### Return type
[**\OmsorgCoreClient\Model\TimeEntryResponse**](../Model/TimeEntryResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: `application/json`, `text/json`, `application/*+json`
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
@@ -0,0 +1,943 @@
# OmsorgCoreClient\TrashApi
All URIs are relative to http://localhost, except if the operation defines another base path.
| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**apiTrashAbsencesGet()**](TrashApi.md#apiTrashAbsencesGet) | **GET** /api/trash/absences | |
| [**apiTrashAbsencesIdRestorePost()**](TrashApi.md#apiTrashAbsencesIdRestorePost) | **POST** /api/trash/absences/{id}/restore | |
| [**apiTrashContractsGet()**](TrashApi.md#apiTrashContractsGet) | **GET** /api/trash/contracts | |
| [**apiTrashContractsIdRestorePost()**](TrashApi.md#apiTrashContractsIdRestorePost) | **POST** /api/trash/contracts/{id}/restore | |
| [**apiTrashEmployeesGet()**](TrashApi.md#apiTrashEmployeesGet) | **GET** /api/trash/employees | |
| [**apiTrashEmployeesIdRestorePost()**](TrashApi.md#apiTrashEmployeesIdRestorePost) | **POST** /api/trash/employees/{id}/restore | |
| [**apiTrashFacilitiesGet()**](TrashApi.md#apiTrashFacilitiesGet) | **GET** /api/trash/facilities | |
| [**apiTrashFacilitiesIdRestorePost()**](TrashApi.md#apiTrashFacilitiesIdRestorePost) | **POST** /api/trash/facilities/{id}/restore | |
| [**apiTrashFacilityContactsGet()**](TrashApi.md#apiTrashFacilityContactsGet) | **GET** /api/trash/facility-contacts | |
| [**apiTrashFacilityContactsIdRestorePost()**](TrashApi.md#apiTrashFacilityContactsIdRestorePost) | **POST** /api/trash/facility-contacts/{id}/restore | |
| [**apiTrashFacilityQualificationRatesGet()**](TrashApi.md#apiTrashFacilityQualificationRatesGet) | **GET** /api/trash/facility-qualification-rates | |
| [**apiTrashFacilityQualificationRatesIdRestorePost()**](TrashApi.md#apiTrashFacilityQualificationRatesIdRestorePost) | **POST** /api/trash/facility-qualification-rates/{id}/restore | |
| [**apiTrashOrdersGet()**](TrashApi.md#apiTrashOrdersGet) | **GET** /api/trash/orders | |
| [**apiTrashOrdersIdRestorePost()**](TrashApi.md#apiTrashOrdersIdRestorePost) | **POST** /api/trash/orders/{id}/restore | |
| [**apiTrashTimeEntriesGet()**](TrashApi.md#apiTrashTimeEntriesGet) | **GET** /api/trash/time-entries | |
| [**apiTrashTimeEntriesIdRestorePost()**](TrashApi.md#apiTrashTimeEntriesIdRestorePost) | **POST** /api/trash/time-entries/{id}/restore | |
## `apiTrashAbsencesGet()`
```php
apiTrashAbsencesGet($search): \OmsorgCoreClient\Model\TrashAbsenceResponse[]
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TrashApi(
// 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
);
$search = 'search_example'; // string
try {
$result = $apiInstance->apiTrashAbsencesGet($search);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TrashApi->apiTrashAbsencesGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **search** | **string**| | [optional] |
### Return type
[**\OmsorgCoreClient\Model\TrashAbsenceResponse[]**](../Model/TrashAbsenceResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTrashAbsencesIdRestorePost()`
```php
apiTrashAbsencesIdRestorePost($id)
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TrashApi(
// 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
);
$id = 'id_example'; // string
try {
$apiInstance->apiTrashAbsencesIdRestorePost($id);
} catch (Exception $e) {
echo 'Exception when calling TrashApi->apiTrashAbsencesIdRestorePost: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
### Return type
void (empty response body)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTrashContractsGet()`
```php
apiTrashContractsGet($search): \OmsorgCoreClient\Model\TrashContractResponse[]
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TrashApi(
// 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
);
$search = 'search_example'; // string
try {
$result = $apiInstance->apiTrashContractsGet($search);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TrashApi->apiTrashContractsGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **search** | **string**| | [optional] |
### Return type
[**\OmsorgCoreClient\Model\TrashContractResponse[]**](../Model/TrashContractResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTrashContractsIdRestorePost()`
```php
apiTrashContractsIdRestorePost($id)
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TrashApi(
// 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
);
$id = 'id_example'; // string
try {
$apiInstance->apiTrashContractsIdRestorePost($id);
} catch (Exception $e) {
echo 'Exception when calling TrashApi->apiTrashContractsIdRestorePost: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
### Return type
void (empty response body)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTrashEmployeesGet()`
```php
apiTrashEmployeesGet($search): \OmsorgCoreClient\Model\TrashEmployeeResponse[]
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TrashApi(
// 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
);
$search = 'search_example'; // string
try {
$result = $apiInstance->apiTrashEmployeesGet($search);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TrashApi->apiTrashEmployeesGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **search** | **string**| | [optional] |
### Return type
[**\OmsorgCoreClient\Model\TrashEmployeeResponse[]**](../Model/TrashEmployeeResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTrashEmployeesIdRestorePost()`
```php
apiTrashEmployeesIdRestorePost($id)
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TrashApi(
// 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
);
$id = 'id_example'; // string
try {
$apiInstance->apiTrashEmployeesIdRestorePost($id);
} catch (Exception $e) {
echo 'Exception when calling TrashApi->apiTrashEmployeesIdRestorePost: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
### Return type
void (empty response body)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTrashFacilitiesGet()`
```php
apiTrashFacilitiesGet($search): \OmsorgCoreClient\Model\TrashFacilityResponse[]
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TrashApi(
// 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
);
$search = 'search_example'; // string
try {
$result = $apiInstance->apiTrashFacilitiesGet($search);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TrashApi->apiTrashFacilitiesGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **search** | **string**| | [optional] |
### Return type
[**\OmsorgCoreClient\Model\TrashFacilityResponse[]**](../Model/TrashFacilityResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTrashFacilitiesIdRestorePost()`
```php
apiTrashFacilitiesIdRestorePost($id)
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TrashApi(
// 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
);
$id = 'id_example'; // string
try {
$apiInstance->apiTrashFacilitiesIdRestorePost($id);
} catch (Exception $e) {
echo 'Exception when calling TrashApi->apiTrashFacilitiesIdRestorePost: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
### Return type
void (empty response body)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTrashFacilityContactsGet()`
```php
apiTrashFacilityContactsGet($search): \OmsorgCoreClient\Model\TrashFacilityContactResponse[]
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TrashApi(
// 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
);
$search = 'search_example'; // string
try {
$result = $apiInstance->apiTrashFacilityContactsGet($search);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TrashApi->apiTrashFacilityContactsGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **search** | **string**| | [optional] |
### Return type
[**\OmsorgCoreClient\Model\TrashFacilityContactResponse[]**](../Model/TrashFacilityContactResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTrashFacilityContactsIdRestorePost()`
```php
apiTrashFacilityContactsIdRestorePost($id)
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TrashApi(
// 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
);
$id = 'id_example'; // string
try {
$apiInstance->apiTrashFacilityContactsIdRestorePost($id);
} catch (Exception $e) {
echo 'Exception when calling TrashApi->apiTrashFacilityContactsIdRestorePost: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
### Return type
void (empty response body)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTrashFacilityQualificationRatesGet()`
```php
apiTrashFacilityQualificationRatesGet($search): \OmsorgCoreClient\Model\TrashFacilityQualificationRateResponse[]
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TrashApi(
// 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
);
$search = 'search_example'; // string
try {
$result = $apiInstance->apiTrashFacilityQualificationRatesGet($search);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TrashApi->apiTrashFacilityQualificationRatesGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **search** | **string**| | [optional] |
### Return type
[**\OmsorgCoreClient\Model\TrashFacilityQualificationRateResponse[]**](../Model/TrashFacilityQualificationRateResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTrashFacilityQualificationRatesIdRestorePost()`
```php
apiTrashFacilityQualificationRatesIdRestorePost($id)
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TrashApi(
// 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
);
$id = 'id_example'; // string
try {
$apiInstance->apiTrashFacilityQualificationRatesIdRestorePost($id);
} catch (Exception $e) {
echo 'Exception when calling TrashApi->apiTrashFacilityQualificationRatesIdRestorePost: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
### Return type
void (empty response body)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTrashOrdersGet()`
```php
apiTrashOrdersGet($search): \OmsorgCoreClient\Model\TrashOrderResponse[]
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TrashApi(
// 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
);
$search = 'search_example'; // string
try {
$result = $apiInstance->apiTrashOrdersGet($search);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TrashApi->apiTrashOrdersGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **search** | **string**| | [optional] |
### Return type
[**\OmsorgCoreClient\Model\TrashOrderResponse[]**](../Model/TrashOrderResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTrashOrdersIdRestorePost()`
```php
apiTrashOrdersIdRestorePost($id)
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TrashApi(
// 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
);
$id = 'id_example'; // string
try {
$apiInstance->apiTrashOrdersIdRestorePost($id);
} catch (Exception $e) {
echo 'Exception when calling TrashApi->apiTrashOrdersIdRestorePost: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
### Return type
void (empty response body)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTrashTimeEntriesGet()`
```php
apiTrashTimeEntriesGet($search): \OmsorgCoreClient\Model\TrashTimeEntryResponse[]
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TrashApi(
// 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
);
$search = 'search_example'; // string
try {
$result = $apiInstance->apiTrashTimeEntriesGet($search);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TrashApi->apiTrashTimeEntriesGet: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **search** | **string**| | [optional] |
### Return type
[**\OmsorgCoreClient\Model\TrashTimeEntryResponse[]**](../Model/TrashTimeEntryResponse.md)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: `text/plain`, `application/json`, `text/json`
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
## `apiTrashTimeEntriesIdRestorePost()`
```php
apiTrashTimeEntriesIdRestorePost($id)
```
### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OmsorgCoreClient\Api\TrashApi(
// 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
);
$id = 'id_example'; // string
try {
$apiInstance->apiTrashTimeEntriesIdRestorePost($id);
} catch (Exception $e) {
echo 'Exception when calling TrashApi->apiTrashTimeEntriesIdRestorePost: ', $e->getMessage(), PHP_EOL;
}
```
### Parameters
| Name | Type | Description | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **id** | **string**| | |
### Return type
void (empty response body)
### Authorization
[Bearer](../../README.md#Bearer)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
@@ -0,0 +1,10 @@
# # AbsenceDecisionRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**status** | **string** | | [optional]
**admin_note** | **string** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,20 @@
# # AbsenceResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **string** | | [optional]
**employee_id** | **string** | | [optional]
**employee_name** | **string** | | [optional]
**type** | **string** | | [optional]
**start_date** | **\DateTime** | | [optional]
**end_date** | **\DateTime** | | [optional]
**reason** | **string** | | [optional]
**substitute** | **string** | | [optional]
**note** | **string** | | [optional]
**status** | **string** | | [optional]
**admin_note** | **string** | | [optional]
**created_at** | **\DateTime** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,12 @@
# # AbsenceResponsePagedResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**items** | [**\OmsorgCoreClient\Model\AbsenceResponse[]**](AbsenceResponse.md) | | [optional]
**total_count** | **int** | | [optional]
**page** | **int** | | [optional]
**page_size** | **int** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -4,8 +4,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**module** | **string** | | [optional]
**action** | **string** | | [optional]
**effect** | **string** | | [optional]
**module** | [**\OmsorgCoreClient\Model\ModuleType**](ModuleType.md) | | [optional]
**action** | [**\OmsorgCoreClient\Model\PermissionAction**](PermissionAction.md) | | [optional]
**effect** | [**\OmsorgCoreClient\Model\PermissionEffect**](PermissionEffect.md) | | [optional]
**scope** | [**\OmsorgCoreClient\Model\PermissionScope**](PermissionScope.md) | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,8 @@
# # AuditEventCategory
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,14 @@
# # CreateAbsenceRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **string** | | [optional]
**start_date** | **\DateTime** | | [optional]
**end_date** | **\DateTime** | | [optional]
**reason** | **string** | | [optional]
**substitute** | **string** | | [optional]
**note** | **string** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,10 @@
# # CreateFacilityQualificationRateRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**qualification** | **string** | | [optional]
**rate** | **float** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **string** | | [optional]
**facility_type** | **string** | | [optional]
**website** | **string** | | [optional]
**street** | **string** | | [optional]
**postal_code** | **string** | | [optional]
**city** | **string** | | [optional]
@@ -0,0 +1,17 @@
# # CreateTimeEntryRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**order_id** | **string** | | [optional]
**date** | **\DateTime** | | [optional]
**start** | **string** | | [optional]
**end** | **string** | | [optional]
**break_duration** | **string** | | [optional]
**night_hours** | **float** | | [optional]
**saturday_hours** | **float** | | [optional]
**sunday_hours** | **float** | | [optional]
**holiday_hours** | **float** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -9,5 +9,6 @@ Name | Type | Description | Notes
**is_default** | **bool** | | [optional]
**is_initial** | **bool** | | [optional]
**is_terminal** | **bool** | | [optional]
**triggers_follow_up** | **bool** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,19 @@
# # DocumentResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **string** | | [optional]
**entity_type** | **string** | | [optional]
**entity_id** | **string** | | [optional]
**category** | **string** | | [optional]
**file_name** | **string** | | [optional]
**content_type** | **string** | | [optional]
**size_bytes** | **int** | | [optional]
**description** | **string** | | [optional]
**uploaded_by_user_id** | **string** | | [optional]
**uploaded_by_username** | **string** | | [optional]
**created_at** | **\DateTime** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,12 @@
# # FacilityQualificationRateResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **string** | | [optional]
**facility_id** | **string** | | [optional]
**qualification** | **string** | | [optional]
**rate** | **float** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
**name** | **string** | | [optional]
**crm_status** | **string** | | [optional]
**facility_type** | **string** | | [optional]
**website** | **string** | | [optional]
**street** | **string** | | [optional]
**postal_code** | **string** | | [optional]
**city** | **string** | | [optional]
@@ -16,5 +17,17 @@ Name | Type | Description | Notes
**billing_postal_code** | **string** | | [optional]
**billing_city** | **string** | | [optional]
**billing_country** | **string** | | [optional]
**follow_up_due_date** | **\DateTime** | | [optional]
**billing_rate** | **float** | | [optional]
**night_surcharge_percent** | **float** | | [optional]
**saturday_surcharge_percent** | **float** | | [optional]
**sunday_surcharge_percent** | **float** | | [optional]
**holiday_surcharge_percent** | **float** | | [optional]
**travel_cost_rate** | **float** | | [optional]
**minimum_hours** | **float** | | [optional]
**break_policy** | **string** | | [optional]
**billing_interval** | **string** | | [optional]
**payment_term_days** | **int** | | [optional]
**individual_agreements** | **string** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,8 @@
# # ModuleType
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,8 @@
# # PermissionAction
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -4,7 +4,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**module** | **string** | | [optional]
**action** | **string** | | [optional]
**module** | [**\OmsorgCoreClient\Model\ModuleType**](ModuleType.md) | | [optional]
**action** | [**\OmsorgCoreClient\Model\PermissionAction**](PermissionAction.md) | | [optional]
**scope** | [**\OmsorgCoreClient\Model\PermissionScope**](PermissionScope.md) | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,8 @@
# # PermissionEffect
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,8 @@
# # PermissionScope
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,10 @@
# # TimeEntryDecisionRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**status_id** | **string** | | [optional]
**admin_note** | **string** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,27 @@
# # TimeEntryResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **string** | | [optional]
**employee_id** | **string** | | [optional]
**employee_name** | **string** | | [optional]
**order_id** | **string** | | [optional]
**facility_id** | **string** | | [optional]
**facility_name** | **string** | | [optional]
**date** | **\DateTime** | | [optional]
**start** | **string** | | [optional]
**end** | **string** | | [optional]
**break_duration** | **string** | | [optional]
**night_hours** | **float** | | [optional]
**saturday_hours** | **float** | | [optional]
**sunday_hours** | **float** | | [optional]
**holiday_hours** | **float** | | [optional]
**status_id** | **string** | | [optional]
**status_name** | **string** | | [optional]
**is_editable_by_owner** | **bool** | | [optional]
**admin_note** | **string** | | [optional]
**created_at** | **\DateTime** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,12 @@
# # TimeEntryResponsePagedResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**items** | [**\OmsorgCoreClient\Model\TimeEntryResponse[]**](TimeEntryResponse.md) | | [optional]
**total_count** | **int** | | [optional]
**page** | **int** | | [optional]
**page_size** | **int** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,11 @@
# # TrashAbsenceResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **string** | | [optional]
**type** | **string** | | [optional]
**deleted_at** | **\DateTime** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,11 @@
# # TrashContractResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **string** | | [optional]
**contract_type** | **string** | | [optional]
**deleted_at** | **\DateTime** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,12 @@
# # TrashEmployeeResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **string** | | [optional]
**first_name** | **string** | | [optional]
**last_name** | **string** | | [optional]
**deleted_at** | **\DateTime** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,12 @@
# # TrashFacilityContactResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **string** | | [optional]
**facility_id** | **string** | | [optional]
**name** | **string** | | [optional]
**deleted_at** | **\DateTime** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,12 @@
# # TrashFacilityQualificationRateResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **string** | | [optional]
**facility_id** | **string** | | [optional]
**qualification** | **string** | | [optional]
**deleted_at** | **\DateTime** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,11 @@
# # TrashFacilityResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **string** | | [optional]
**name** | **string** | | [optional]
**deleted_at** | **\DateTime** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,11 @@
# # TrashOrderResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **string** | | [optional]
**required_qualification** | **string** | | [optional]
**deleted_at** | **\DateTime** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,11 @@
# # TrashTimeEntryResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **string** | | [optional]
**date** | **\DateTime** | | [optional]
**deleted_at** | **\DateTime** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,14 @@
# # UpdateAbsenceRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **string** | | [optional]
**start_date** | **\DateTime** | | [optional]
**end_date** | **\DateTime** | | [optional]
**reason** | **string** | | [optional]
**substitute** | **string** | | [optional]
**note** | **string** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,11 @@
# # UpdateDocumentRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**category** | **string** | | [optional]
**description** | **string** | | [optional]
**file_name** | **string** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,10 @@
# # UpdateFacilityQualificationRateRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**qualification** | **string** | | [optional]
**rate** | **float** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
**name** | **string** | | [optional]
**crm_status** | **string** | | [optional]
**facility_type** | **string** | | [optional]
**website** | **string** | | [optional]
**street** | **string** | | [optional]
**postal_code** | **string** | | [optional]
**city** | **string** | | [optional]
@@ -15,5 +16,17 @@ Name | Type | Description | Notes
**billing_postal_code** | **string** | | [optional]
**billing_city** | **string** | | [optional]
**billing_country** | **string** | | [optional]
**follow_up_days** | **int** | | [optional]
**billing_rate** | **float** | | [optional]
**night_surcharge_percent** | **float** | | [optional]
**saturday_surcharge_percent** | **float** | | [optional]
**sunday_surcharge_percent** | **float** | | [optional]
**holiday_surcharge_percent** | **float** | | [optional]
**travel_cost_rate** | **float** | | [optional]
**minimum_hours** | **float** | | [optional]
**break_policy** | **string** | | [optional]
**billing_interval** | **string** | | [optional]
**payment_term_days** | **int** | | [optional]
**individual_agreements** | **string** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -0,0 +1,17 @@
# # UpdateTimeEntryRequest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**order_id** | **string** | | [optional]
**date** | **\DateTime** | | [optional]
**start** | **string** | | [optional]
**end** | **string** | | [optional]
**break_duration** | **string** | | [optional]
**night_hours** | **float** | | [optional]
**saturday_hours** | **float** | | [optional]
**sunday_hours** | **float** | | [optional]
**holiday_hours** | **float** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -9,5 +9,6 @@ Name | Type | Description | Notes
**is_default** | **bool** | | [optional]
**is_initial** | **bool** | | [optional]
**is_terminal** | **bool** | | [optional]
**triggers_follow_up** | **bool** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -5,8 +5,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **string** | | [optional]
**module** | **string** | | [optional]
**action** | **string** | | [optional]
**effect** | **string** | | [optional]
**module** | [**\OmsorgCoreClient\Model\ModuleType**](ModuleType.md) | | [optional]
**action** | [**\OmsorgCoreClient\Model\PermissionAction**](PermissionAction.md) | | [optional]
**effect** | [**\OmsorgCoreClient\Model\PermissionEffect**](PermissionEffect.md) | | [optional]
**scope** | [**\OmsorgCoreClient\Model\PermissionScope**](PermissionScope.md) | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -10,5 +10,6 @@ Name | Type | Description | Notes
**is_default** | **bool** | | [optional]
**is_initial** | **bool** | | [optional]
**is_terminal** | **bool** | | [optional]
**triggers_follow_up** | **bool** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
**id** | **string** | | [optional]
**from_item_id** | **string** | | [optional]
**to_item_id** | **string** | | [optional]
**requires_approval** | **bool** | | [optional]
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)