bluehive 0.1.0a12__tar.gz → 0.1.0a14__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bluehive-0.1.0a14/.release-please-manifest.json +3 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/CHANGELOG.md +21 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/PKG-INFO +3 -10
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/README.md +2 -9
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/api.md +1 -2
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/pyproject.toml +5 -1
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_version.py +1 -1
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/resources/employees.py +22 -16
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/resources/employers/service_bundles.py +32 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/resources/hl7.py +2 -136
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/__init__.py +0 -2
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employers/service_bundle_create_params.py +8 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employers/service_bundle_create_response.py +8 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employers/service_bundle_list_response.py +8 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employers/service_bundle_retrieve_response.py +8 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employers/service_bundle_update_params.py +8 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employers/service_bundle_update_response.py +8 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/api_resources/employers/test_service_bundles.py +16 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/api_resources/test_hl7.py +0 -82
- bluehive-0.1.0a12/.release-please-manifest.json +0 -3
- bluehive-0.1.0a12/src/bluehive/types/hl7_process_params.py +0 -27
- bluehive-0.1.0a12/src/bluehive/types/hl7_process_response.py +0 -7
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/.gitignore +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/CONTRIBUTING.md +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/LICENSE +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/SECURITY.md +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/bin/check-release-environment +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/bin/publish-pypi +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/examples/.keep +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/noxfile.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/release-please-config.json +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/requirements-dev.lock +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/requirements.lock +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/__init__.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_base_client.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_client.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_compat.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_constants.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_exceptions.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_files.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_models.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_qs.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_resource.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_streaming.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_types.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_utils/__init__.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_utils/_compat.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_utils/_datetime_parse.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_utils/_logs.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_utils/_proxy.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_utils/_reflection.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_utils/_resources_proxy.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_utils/_streams.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_utils/_sync.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_utils/_transform.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_utils/_typing.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/_utils/_utils.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/lib/.keep +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/py.typed +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/resources/__init__.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/resources/database.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/resources/employers/__init__.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/resources/employers/employers.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/resources/fax.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/resources/health.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/resources/integrations.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/resources/orders.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/resources/providers.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/resources/version.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/database_check_health_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employee_create_params.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employee_create_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employee_delete_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employee_link_user_params.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employee_link_user_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employee_list_params.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employee_list_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employee_retrieve_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employee_unlink_user_params.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employee_unlink_user_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employee_update_params.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employee_update_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employer_create_params.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employer_create_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employer_list_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employer_retrieve_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employers/__init__.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/fax_list_providers_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/fax_retrieve_status_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/fax_send_params.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/fax_send_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/health_check_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/hl7_send_results_params.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/hl7_send_results_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/integration_check_active_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/integration_list_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/order_create_params.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/order_create_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/order_retrieve_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/order_retrieve_results_params.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/order_retrieve_results_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/order_schedule_appointment_params.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/order_schedule_appointment_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/order_send_for_employee_params.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/order_send_for_employee_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/order_update_params.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/order_update_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/order_update_status_params.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/order_update_status_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/order_upload_results_params.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/order_upload_results_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/provider_lookup_params.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/provider_lookup_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/version_retrieve_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/__init__.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/api_resources/__init__.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/api_resources/employers/__init__.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/api_resources/test_database.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/api_resources/test_employees.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/api_resources/test_employers.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/api_resources/test_fax.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/api_resources/test_health.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/api_resources/test_integrations.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/api_resources/test_orders.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/api_resources/test_providers.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/api_resources/test_version.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/conftest.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/sample_file.txt +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/test_client.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/test_deepcopy.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/test_extract_files.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/test_files.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/test_models.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/test_qs.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/test_required_args.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/test_response.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/test_streaming.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/test_transform.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/test_utils/test_datetime_parse.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/test_utils/test_proxy.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/test_utils/test_typing.py +0 -0
- {bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/utils.py +0 -0
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.14 (2025-10-13)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.13...v0.1.0-alpha.14](https://github.com/bluehive-health/bluehive-sdk-python/compare/v0.1.0-alpha.13...v0.1.0-alpha.14)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([9429c0c](https://github.com/bluehive-health/bluehive-sdk-python/commit/9429c0cb38f28ff304b45c53474362fd9d1f5816))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Chores
|
|
13
|
+
|
|
14
|
+
* **internal:** detect missing future annotations with ruff ([552be23](https://github.com/bluehive-health/bluehive-sdk-python/commit/552be23072b02ca07ba39de2bcc01b9214eb635c))
|
|
15
|
+
|
|
16
|
+
## 0.1.0-alpha.13 (2025-10-05)
|
|
17
|
+
|
|
18
|
+
Full Changelog: [v0.1.0-alpha.12...v0.1.0-alpha.13](https://github.com/bluehive-health/bluehive-sdk-python/compare/v0.1.0-alpha.12...v0.1.0-alpha.13)
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **api:** api update ([f620ba9](https://github.com/bluehive-health/bluehive-sdk-python/commit/f620ba9397d8b9b9d5880ae0c0610c79f73f5578))
|
|
23
|
+
|
|
3
24
|
## 0.1.0-alpha.12 (2025-10-05)
|
|
4
25
|
|
|
5
26
|
Full Changelog: [v0.1.0-alpha.11...v0.1.0-alpha.12](https://github.com/bluehive-health/bluehive-sdk-python/compare/v0.1.0-alpha.11...v0.1.0-alpha.12)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: bluehive
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.0a14
|
|
4
4
|
Summary: The official Python library for the bluehive API
|
|
5
5
|
Project-URL: Homepage, https://github.com/bluehive-health/bluehive-sdk-python
|
|
6
6
|
Project-URL: Repository, https://github.com/bluehive-health/bluehive-sdk-python
|
|
@@ -60,12 +60,9 @@ pip install --pre bluehive
|
|
|
60
60
|
The full API of this library can be found in [api.md](https://github.com/bluehive-health/bluehive-sdk-python/tree/main/api.md).
|
|
61
61
|
|
|
62
62
|
```python
|
|
63
|
-
import os
|
|
64
63
|
from bluehive import BlueHive
|
|
65
64
|
|
|
66
|
-
client = BlueHive(
|
|
67
|
-
api_key=os.environ.get("BLUEHIVE_API_KEY"), # This is the default and can be omitted
|
|
68
|
-
)
|
|
65
|
+
client = BlueHive()
|
|
69
66
|
|
|
70
67
|
response = client.health.check()
|
|
71
68
|
print(response.status)
|
|
@@ -81,13 +78,10 @@ so that your API Key is not stored in source control.
|
|
|
81
78
|
Simply import `AsyncBlueHive` instead of `BlueHive` and use `await` with each API call:
|
|
82
79
|
|
|
83
80
|
```python
|
|
84
|
-
import os
|
|
85
81
|
import asyncio
|
|
86
82
|
from bluehive import AsyncBlueHive
|
|
87
83
|
|
|
88
|
-
client = AsyncBlueHive(
|
|
89
|
-
api_key=os.environ.get("BLUEHIVE_API_KEY"), # This is the default and can be omitted
|
|
90
|
-
)
|
|
84
|
+
client = AsyncBlueHive()
|
|
91
85
|
|
|
92
86
|
|
|
93
87
|
async def main() -> None:
|
|
@@ -121,7 +115,6 @@ from bluehive import AsyncBlueHive
|
|
|
121
115
|
|
|
122
116
|
async def main() -> None:
|
|
123
117
|
async with AsyncBlueHive(
|
|
124
|
-
api_key="My API Key",
|
|
125
118
|
http_client=DefaultAioHttpClient(),
|
|
126
119
|
) as client:
|
|
127
120
|
response = await client.health.check()
|
|
@@ -25,12 +25,9 @@ pip install --pre bluehive
|
|
|
25
25
|
The full API of this library can be found in [api.md](api.md).
|
|
26
26
|
|
|
27
27
|
```python
|
|
28
|
-
import os
|
|
29
28
|
from bluehive import BlueHive
|
|
30
29
|
|
|
31
|
-
client = BlueHive(
|
|
32
|
-
api_key=os.environ.get("BLUEHIVE_API_KEY"), # This is the default and can be omitted
|
|
33
|
-
)
|
|
30
|
+
client = BlueHive()
|
|
34
31
|
|
|
35
32
|
response = client.health.check()
|
|
36
33
|
print(response.status)
|
|
@@ -46,13 +43,10 @@ so that your API Key is not stored in source control.
|
|
|
46
43
|
Simply import `AsyncBlueHive` instead of `BlueHive` and use `await` with each API call:
|
|
47
44
|
|
|
48
45
|
```python
|
|
49
|
-
import os
|
|
50
46
|
import asyncio
|
|
51
47
|
from bluehive import AsyncBlueHive
|
|
52
48
|
|
|
53
|
-
client = AsyncBlueHive(
|
|
54
|
-
api_key=os.environ.get("BLUEHIVE_API_KEY"), # This is the default and can be omitted
|
|
55
|
-
)
|
|
49
|
+
client = AsyncBlueHive()
|
|
56
50
|
|
|
57
51
|
|
|
58
52
|
async def main() -> None:
|
|
@@ -86,7 +80,6 @@ from bluehive import AsyncBlueHive
|
|
|
86
80
|
|
|
87
81
|
async def main() -> None:
|
|
88
82
|
async with AsyncBlueHive(
|
|
89
|
-
api_key="My API Key",
|
|
90
83
|
http_client=DefaultAioHttpClient(),
|
|
91
84
|
) as client:
|
|
92
85
|
response = await client.health.check()
|
|
@@ -100,12 +100,11 @@ Methods:
|
|
|
100
100
|
Types:
|
|
101
101
|
|
|
102
102
|
```python
|
|
103
|
-
from bluehive.types import
|
|
103
|
+
from bluehive.types import Hl7SendResultsResponse
|
|
104
104
|
```
|
|
105
105
|
|
|
106
106
|
Methods:
|
|
107
107
|
|
|
108
|
-
- <code title="post /v1/hl7/">client.hl7.<a href="./src/bluehive/resources/hl7.py">process</a>(\*\*<a href="src/bluehive/types/hl7_process_params.py">params</a>) -> str</code>
|
|
109
108
|
- <code title="post /v1/hl7/results">client.hl7.<a href="./src/bluehive/resources/hl7.py">send_results</a>(\*\*<a href="src/bluehive/types/hl7_send_results_params.py">params</a>) -> str</code>
|
|
110
109
|
|
|
111
110
|
# Orders
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "bluehive"
|
|
3
|
-
version = "0.1.0-alpha.
|
|
3
|
+
version = "0.1.0-alpha.14"
|
|
4
4
|
description = "The official Python library for the bluehive API"
|
|
5
5
|
dynamic = ["readme"]
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -224,6 +224,8 @@ select = [
|
|
|
224
224
|
"B",
|
|
225
225
|
# remove unused imports
|
|
226
226
|
"F401",
|
|
227
|
+
# check for missing future annotations
|
|
228
|
+
"FA102",
|
|
227
229
|
# bare except statements
|
|
228
230
|
"E722",
|
|
229
231
|
# unused arguments
|
|
@@ -246,6 +248,8 @@ unfixable = [
|
|
|
246
248
|
"T203",
|
|
247
249
|
]
|
|
248
250
|
|
|
251
|
+
extend-safe-fixes = ["FA102"]
|
|
252
|
+
|
|
249
253
|
[tool.ruff.lint.flake8-tidy-imports.banned-api]
|
|
250
254
|
"functools.lru_cache".msg = "This function does not retain type information for the wrapped function's arguments; The `lru_cache` function from `_utils` should be used instead"
|
|
251
255
|
|
|
@@ -365,15 +365,18 @@ class EmployeesResource(SyncAPIResource):
|
|
|
365
365
|
"""
|
|
366
366
|
return self._delete(
|
|
367
367
|
"/v1/employees/unlink-user",
|
|
368
|
-
body=maybe_transform(
|
|
369
|
-
{
|
|
370
|
-
"employee_id": employee_id,
|
|
371
|
-
"user_id": user_id,
|
|
372
|
-
},
|
|
373
|
-
employee_unlink_user_params.EmployeeUnlinkUserParams,
|
|
374
|
-
),
|
|
375
368
|
options=make_request_options(
|
|
376
|
-
extra_headers=extra_headers,
|
|
369
|
+
extra_headers=extra_headers,
|
|
370
|
+
extra_query=extra_query,
|
|
371
|
+
extra_body=extra_body,
|
|
372
|
+
timeout=timeout,
|
|
373
|
+
query=maybe_transform(
|
|
374
|
+
{
|
|
375
|
+
"employee_id": employee_id,
|
|
376
|
+
"user_id": user_id,
|
|
377
|
+
},
|
|
378
|
+
employee_unlink_user_params.EmployeeUnlinkUserParams,
|
|
379
|
+
),
|
|
377
380
|
),
|
|
378
381
|
cast_to=EmployeeUnlinkUserResponse,
|
|
379
382
|
)
|
|
@@ -708,15 +711,18 @@ class AsyncEmployeesResource(AsyncAPIResource):
|
|
|
708
711
|
"""
|
|
709
712
|
return await self._delete(
|
|
710
713
|
"/v1/employees/unlink-user",
|
|
711
|
-
body=await async_maybe_transform(
|
|
712
|
-
{
|
|
713
|
-
"employee_id": employee_id,
|
|
714
|
-
"user_id": user_id,
|
|
715
|
-
},
|
|
716
|
-
employee_unlink_user_params.EmployeeUnlinkUserParams,
|
|
717
|
-
),
|
|
718
714
|
options=make_request_options(
|
|
719
|
-
extra_headers=extra_headers,
|
|
715
|
+
extra_headers=extra_headers,
|
|
716
|
+
extra_query=extra_query,
|
|
717
|
+
extra_body=extra_body,
|
|
718
|
+
timeout=timeout,
|
|
719
|
+
query=await async_maybe_transform(
|
|
720
|
+
{
|
|
721
|
+
"employee_id": employee_id,
|
|
722
|
+
"user_id": user_id,
|
|
723
|
+
},
|
|
724
|
+
employee_unlink_user_params.EmployeeUnlinkUserParams,
|
|
725
|
+
),
|
|
720
726
|
),
|
|
721
727
|
cast_to=EmployeeUnlinkUserResponse,
|
|
722
728
|
)
|
|
@@ -53,7 +53,11 @@ class ServiceBundlesResource(SyncAPIResource):
|
|
|
53
53
|
bundle_name: str,
|
|
54
54
|
service_ids: SequenceNotStr[str],
|
|
55
55
|
_id: str | Omit = omit,
|
|
56
|
+
limit: float | Omit = omit,
|
|
57
|
+
occurrence: str | Omit = omit,
|
|
58
|
+
recurring: bool | Omit = omit,
|
|
56
59
|
roles: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
60
|
+
start_date: str | Omit = omit,
|
|
57
61
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
58
62
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
59
63
|
extra_headers: Headers | None = None,
|
|
@@ -82,7 +86,11 @@ class ServiceBundlesResource(SyncAPIResource):
|
|
|
82
86
|
"bundle_name": bundle_name,
|
|
83
87
|
"service_ids": service_ids,
|
|
84
88
|
"_id": _id,
|
|
89
|
+
"limit": limit,
|
|
90
|
+
"occurrence": occurrence,
|
|
91
|
+
"recurring": recurring,
|
|
85
92
|
"roles": roles,
|
|
93
|
+
"start_date": start_date,
|
|
86
94
|
},
|
|
87
95
|
service_bundle_create_params.ServiceBundleCreateParams,
|
|
88
96
|
),
|
|
@@ -136,7 +144,11 @@ class ServiceBundlesResource(SyncAPIResource):
|
|
|
136
144
|
bundle_name: str,
|
|
137
145
|
service_ids: SequenceNotStr[str],
|
|
138
146
|
_id: str | Omit = omit,
|
|
147
|
+
limit: float | Omit = omit,
|
|
148
|
+
occurrence: str | Omit = omit,
|
|
149
|
+
recurring: bool | Omit = omit,
|
|
139
150
|
roles: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
151
|
+
start_date: str | Omit = omit,
|
|
140
152
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
141
153
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
142
154
|
extra_headers: Headers | None = None,
|
|
@@ -167,7 +179,11 @@ class ServiceBundlesResource(SyncAPIResource):
|
|
|
167
179
|
"bundle_name": bundle_name,
|
|
168
180
|
"service_ids": service_ids,
|
|
169
181
|
"_id": _id,
|
|
182
|
+
"limit": limit,
|
|
183
|
+
"occurrence": occurrence,
|
|
184
|
+
"recurring": recurring,
|
|
170
185
|
"roles": roles,
|
|
186
|
+
"start_date": start_date,
|
|
171
187
|
},
|
|
172
188
|
service_bundle_update_params.ServiceBundleUpdateParams,
|
|
173
189
|
),
|
|
@@ -275,7 +291,11 @@ class AsyncServiceBundlesResource(AsyncAPIResource):
|
|
|
275
291
|
bundle_name: str,
|
|
276
292
|
service_ids: SequenceNotStr[str],
|
|
277
293
|
_id: str | Omit = omit,
|
|
294
|
+
limit: float | Omit = omit,
|
|
295
|
+
occurrence: str | Omit = omit,
|
|
296
|
+
recurring: bool | Omit = omit,
|
|
278
297
|
roles: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
298
|
+
start_date: str | Omit = omit,
|
|
279
299
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
280
300
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
281
301
|
extra_headers: Headers | None = None,
|
|
@@ -304,7 +324,11 @@ class AsyncServiceBundlesResource(AsyncAPIResource):
|
|
|
304
324
|
"bundle_name": bundle_name,
|
|
305
325
|
"service_ids": service_ids,
|
|
306
326
|
"_id": _id,
|
|
327
|
+
"limit": limit,
|
|
328
|
+
"occurrence": occurrence,
|
|
329
|
+
"recurring": recurring,
|
|
307
330
|
"roles": roles,
|
|
331
|
+
"start_date": start_date,
|
|
308
332
|
},
|
|
309
333
|
service_bundle_create_params.ServiceBundleCreateParams,
|
|
310
334
|
),
|
|
@@ -358,7 +382,11 @@ class AsyncServiceBundlesResource(AsyncAPIResource):
|
|
|
358
382
|
bundle_name: str,
|
|
359
383
|
service_ids: SequenceNotStr[str],
|
|
360
384
|
_id: str | Omit = omit,
|
|
385
|
+
limit: float | Omit = omit,
|
|
386
|
+
occurrence: str | Omit = omit,
|
|
387
|
+
recurring: bool | Omit = omit,
|
|
361
388
|
roles: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
389
|
+
start_date: str | Omit = omit,
|
|
362
390
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
363
391
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
364
392
|
extra_headers: Headers | None = None,
|
|
@@ -389,7 +417,11 @@ class AsyncServiceBundlesResource(AsyncAPIResource):
|
|
|
389
417
|
"bundle_name": bundle_name,
|
|
390
418
|
"service_ids": service_ids,
|
|
391
419
|
"_id": _id,
|
|
420
|
+
"limit": limit,
|
|
421
|
+
"occurrence": occurrence,
|
|
422
|
+
"recurring": recurring,
|
|
392
423
|
"roles": roles,
|
|
424
|
+
"start_date": start_date,
|
|
393
425
|
},
|
|
394
426
|
service_bundle_update_params.ServiceBundleUpdateParams,
|
|
395
427
|
),
|
|
@@ -4,8 +4,8 @@ from __future__ import annotations
|
|
|
4
4
|
|
|
5
5
|
import httpx
|
|
6
6
|
|
|
7
|
-
from ..types import
|
|
8
|
-
from .._types import Body,
|
|
7
|
+
from ..types import hl7_send_results_params
|
|
8
|
+
from .._types import Body, Query, Headers, NotGiven, not_given
|
|
9
9
|
from .._utils import maybe_transform, async_maybe_transform
|
|
10
10
|
from .._compat import cached_property
|
|
11
11
|
from .._resource import SyncAPIResource, AsyncAPIResource
|
|
@@ -40,67 +40,6 @@ class Hl7Resource(SyncAPIResource):
|
|
|
40
40
|
"""
|
|
41
41
|
return Hl7ResourceWithStreamingResponse(self)
|
|
42
42
|
|
|
43
|
-
def process(
|
|
44
|
-
self,
|
|
45
|
-
*,
|
|
46
|
-
f: str | Omit = omit,
|
|
47
|
-
interface: str | Omit = omit,
|
|
48
|
-
login_passwd: str | Omit = omit,
|
|
49
|
-
login_user: str | Omit = omit,
|
|
50
|
-
message: str | Omit = omit,
|
|
51
|
-
message_b64: str | Omit = omit,
|
|
52
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
53
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
54
|
-
extra_headers: Headers | None = None,
|
|
55
|
-
extra_query: Query | None = None,
|
|
56
|
-
extra_body: Body | None = None,
|
|
57
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
58
|
-
) -> str:
|
|
59
|
-
"""Process incoming HL7 messages from EHR systems.
|
|
60
|
-
|
|
61
|
-
Accepts JSON with "message"
|
|
62
|
-
field, raw text/plain HL7 content, or form-encoded data.
|
|
63
|
-
|
|
64
|
-
Args:
|
|
65
|
-
f: Form field (legacy support)
|
|
66
|
-
|
|
67
|
-
interface: Interface identifier (legacy support)
|
|
68
|
-
|
|
69
|
-
login_passwd: Login password (legacy support)
|
|
70
|
-
|
|
71
|
-
login_user: Login user (legacy support)
|
|
72
|
-
|
|
73
|
-
message: HL7 message content - the primary way to send HL7 data
|
|
74
|
-
|
|
75
|
-
message_b64: Base64 encoded HL7 message (legacy support)
|
|
76
|
-
|
|
77
|
-
extra_headers: Send extra headers
|
|
78
|
-
|
|
79
|
-
extra_query: Add additional query parameters to the request
|
|
80
|
-
|
|
81
|
-
extra_body: Add additional JSON properties to the request
|
|
82
|
-
|
|
83
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
84
|
-
"""
|
|
85
|
-
return self._post(
|
|
86
|
-
"/v1/hl7/",
|
|
87
|
-
body=maybe_transform(
|
|
88
|
-
{
|
|
89
|
-
"f": f,
|
|
90
|
-
"interface": interface,
|
|
91
|
-
"login_passwd": login_passwd,
|
|
92
|
-
"login_user": login_user,
|
|
93
|
-
"message": message,
|
|
94
|
-
"message_b64": message_b64,
|
|
95
|
-
},
|
|
96
|
-
hl7_process_params.Hl7ProcessParams,
|
|
97
|
-
),
|
|
98
|
-
options=make_request_options(
|
|
99
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
100
|
-
),
|
|
101
|
-
cast_to=str,
|
|
102
|
-
)
|
|
103
|
-
|
|
104
43
|
def send_results(
|
|
105
44
|
self,
|
|
106
45
|
*,
|
|
@@ -165,67 +104,6 @@ class AsyncHl7Resource(AsyncAPIResource):
|
|
|
165
104
|
"""
|
|
166
105
|
return AsyncHl7ResourceWithStreamingResponse(self)
|
|
167
106
|
|
|
168
|
-
async def process(
|
|
169
|
-
self,
|
|
170
|
-
*,
|
|
171
|
-
f: str | Omit = omit,
|
|
172
|
-
interface: str | Omit = omit,
|
|
173
|
-
login_passwd: str | Omit = omit,
|
|
174
|
-
login_user: str | Omit = omit,
|
|
175
|
-
message: str | Omit = omit,
|
|
176
|
-
message_b64: str | Omit = omit,
|
|
177
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
178
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
179
|
-
extra_headers: Headers | None = None,
|
|
180
|
-
extra_query: Query | None = None,
|
|
181
|
-
extra_body: Body | None = None,
|
|
182
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
183
|
-
) -> str:
|
|
184
|
-
"""Process incoming HL7 messages from EHR systems.
|
|
185
|
-
|
|
186
|
-
Accepts JSON with "message"
|
|
187
|
-
field, raw text/plain HL7 content, or form-encoded data.
|
|
188
|
-
|
|
189
|
-
Args:
|
|
190
|
-
f: Form field (legacy support)
|
|
191
|
-
|
|
192
|
-
interface: Interface identifier (legacy support)
|
|
193
|
-
|
|
194
|
-
login_passwd: Login password (legacy support)
|
|
195
|
-
|
|
196
|
-
login_user: Login user (legacy support)
|
|
197
|
-
|
|
198
|
-
message: HL7 message content - the primary way to send HL7 data
|
|
199
|
-
|
|
200
|
-
message_b64: Base64 encoded HL7 message (legacy support)
|
|
201
|
-
|
|
202
|
-
extra_headers: Send extra headers
|
|
203
|
-
|
|
204
|
-
extra_query: Add additional query parameters to the request
|
|
205
|
-
|
|
206
|
-
extra_body: Add additional JSON properties to the request
|
|
207
|
-
|
|
208
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
209
|
-
"""
|
|
210
|
-
return await self._post(
|
|
211
|
-
"/v1/hl7/",
|
|
212
|
-
body=await async_maybe_transform(
|
|
213
|
-
{
|
|
214
|
-
"f": f,
|
|
215
|
-
"interface": interface,
|
|
216
|
-
"login_passwd": login_passwd,
|
|
217
|
-
"login_user": login_user,
|
|
218
|
-
"message": message,
|
|
219
|
-
"message_b64": message_b64,
|
|
220
|
-
},
|
|
221
|
-
hl7_process_params.Hl7ProcessParams,
|
|
222
|
-
),
|
|
223
|
-
options=make_request_options(
|
|
224
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
225
|
-
),
|
|
226
|
-
cast_to=str,
|
|
227
|
-
)
|
|
228
|
-
|
|
229
107
|
async def send_results(
|
|
230
108
|
self,
|
|
231
109
|
*,
|
|
@@ -274,9 +152,6 @@ class Hl7ResourceWithRawResponse:
|
|
|
274
152
|
def __init__(self, hl7: Hl7Resource) -> None:
|
|
275
153
|
self._hl7 = hl7
|
|
276
154
|
|
|
277
|
-
self.process = to_raw_response_wrapper(
|
|
278
|
-
hl7.process,
|
|
279
|
-
)
|
|
280
155
|
self.send_results = to_raw_response_wrapper(
|
|
281
156
|
hl7.send_results,
|
|
282
157
|
)
|
|
@@ -286,9 +161,6 @@ class AsyncHl7ResourceWithRawResponse:
|
|
|
286
161
|
def __init__(self, hl7: AsyncHl7Resource) -> None:
|
|
287
162
|
self._hl7 = hl7
|
|
288
163
|
|
|
289
|
-
self.process = async_to_raw_response_wrapper(
|
|
290
|
-
hl7.process,
|
|
291
|
-
)
|
|
292
164
|
self.send_results = async_to_raw_response_wrapper(
|
|
293
165
|
hl7.send_results,
|
|
294
166
|
)
|
|
@@ -298,9 +170,6 @@ class Hl7ResourceWithStreamingResponse:
|
|
|
298
170
|
def __init__(self, hl7: Hl7Resource) -> None:
|
|
299
171
|
self._hl7 = hl7
|
|
300
172
|
|
|
301
|
-
self.process = to_streamed_response_wrapper(
|
|
302
|
-
hl7.process,
|
|
303
|
-
)
|
|
304
173
|
self.send_results = to_streamed_response_wrapper(
|
|
305
174
|
hl7.send_results,
|
|
306
175
|
)
|
|
@@ -310,9 +179,6 @@ class AsyncHl7ResourceWithStreamingResponse:
|
|
|
310
179
|
def __init__(self, hl7: AsyncHl7Resource) -> None:
|
|
311
180
|
self._hl7 = hl7
|
|
312
181
|
|
|
313
|
-
self.process = async_to_streamed_response_wrapper(
|
|
314
|
-
hl7.process,
|
|
315
|
-
)
|
|
316
182
|
self.send_results = async_to_streamed_response_wrapper(
|
|
317
183
|
hl7.send_results,
|
|
318
184
|
)
|
|
@@ -4,11 +4,9 @@ from __future__ import annotations
|
|
|
4
4
|
|
|
5
5
|
from .fax_send_params import FaxSendParams as FaxSendParams
|
|
6
6
|
from .fax_send_response import FaxSendResponse as FaxSendResponse
|
|
7
|
-
from .hl7_process_params import Hl7ProcessParams as Hl7ProcessParams
|
|
8
7
|
from .order_create_params import OrderCreateParams as OrderCreateParams
|
|
9
8
|
from .order_update_params import OrderUpdateParams as OrderUpdateParams
|
|
10
9
|
from .employee_list_params import EmployeeListParams as EmployeeListParams
|
|
11
|
-
from .hl7_process_response import Hl7ProcessResponse as Hl7ProcessResponse
|
|
12
10
|
from .health_check_response import HealthCheckResponse as HealthCheckResponse
|
|
13
11
|
from .order_create_response import OrderCreateResponse as OrderCreateResponse
|
|
14
12
|
from .order_update_response import OrderUpdateResponse as OrderUpdateResponse
|
|
@@ -22,8 +22,16 @@ class ServiceBundleCreateResponse(BaseModel):
|
|
|
22
22
|
|
|
23
23
|
created_by: Optional[str] = FieldInfo(alias="createdBy", default=None)
|
|
24
24
|
|
|
25
|
+
limit: Optional[float] = None
|
|
26
|
+
|
|
27
|
+
occurrence: Optional[str] = None
|
|
28
|
+
|
|
29
|
+
recurring: Optional[bool] = None
|
|
30
|
+
|
|
25
31
|
roles: Optional[List[str]] = None
|
|
26
32
|
|
|
33
|
+
start_date: Optional[str] = FieldInfo(alias="startDate", default=None)
|
|
34
|
+
|
|
27
35
|
updated_at: Optional[str] = FieldInfo(alias="updatedAt", default=None)
|
|
28
36
|
|
|
29
37
|
updated_by: Optional[str] = FieldInfo(alias="updatedBy", default=None)
|
{bluehive-0.1.0a12 → bluehive-0.1.0a14}/src/bluehive/types/employers/service_bundle_list_response.py
RENAMED
|
@@ -23,8 +23,16 @@ class ServiceBundleListResponseItem(BaseModel):
|
|
|
23
23
|
|
|
24
24
|
created_by: Optional[str] = FieldInfo(alias="createdBy", default=None)
|
|
25
25
|
|
|
26
|
+
limit: Optional[float] = None
|
|
27
|
+
|
|
28
|
+
occurrence: Optional[str] = None
|
|
29
|
+
|
|
30
|
+
recurring: Optional[bool] = None
|
|
31
|
+
|
|
26
32
|
roles: Optional[List[str]] = None
|
|
27
33
|
|
|
34
|
+
start_date: Optional[str] = FieldInfo(alias="startDate", default=None)
|
|
35
|
+
|
|
28
36
|
updated_at: Optional[str] = FieldInfo(alias="updatedAt", default=None)
|
|
29
37
|
|
|
30
38
|
updated_by: Optional[str] = FieldInfo(alias="updatedBy", default=None)
|
|
@@ -22,8 +22,16 @@ class ServiceBundleRetrieveResponse(BaseModel):
|
|
|
22
22
|
|
|
23
23
|
created_by: Optional[str] = FieldInfo(alias="createdBy", default=None)
|
|
24
24
|
|
|
25
|
+
limit: Optional[float] = None
|
|
26
|
+
|
|
27
|
+
occurrence: Optional[str] = None
|
|
28
|
+
|
|
29
|
+
recurring: Optional[bool] = None
|
|
30
|
+
|
|
25
31
|
roles: Optional[List[str]] = None
|
|
26
32
|
|
|
33
|
+
start_date: Optional[str] = FieldInfo(alias="startDate", default=None)
|
|
34
|
+
|
|
27
35
|
updated_at: Optional[str] = FieldInfo(alias="updatedAt", default=None)
|
|
28
36
|
|
|
29
37
|
updated_by: Optional[str] = FieldInfo(alias="updatedBy", default=None)
|
|
@@ -22,8 +22,16 @@ class ServiceBundleUpdateResponse(BaseModel):
|
|
|
22
22
|
|
|
23
23
|
created_by: Optional[str] = FieldInfo(alias="createdBy", default=None)
|
|
24
24
|
|
|
25
|
+
limit: Optional[float] = None
|
|
26
|
+
|
|
27
|
+
occurrence: Optional[str] = None
|
|
28
|
+
|
|
29
|
+
recurring: Optional[bool] = None
|
|
30
|
+
|
|
25
31
|
roles: Optional[List[str]] = None
|
|
26
32
|
|
|
33
|
+
start_date: Optional[str] = FieldInfo(alias="startDate", default=None)
|
|
34
|
+
|
|
27
35
|
updated_at: Optional[str] = FieldInfo(alias="updatedAt", default=None)
|
|
28
36
|
|
|
29
37
|
updated_by: Optional[str] = FieldInfo(alias="updatedBy", default=None)
|
{bluehive-0.1.0a12 → bluehive-0.1.0a14}/tests/api_resources/employers/test_service_bundles.py
RENAMED
|
@@ -40,7 +40,11 @@ class TestServiceBundles:
|
|
|
40
40
|
bundle_name="x",
|
|
41
41
|
service_ids=["string"],
|
|
42
42
|
_id="_id",
|
|
43
|
+
limit=0,
|
|
44
|
+
occurrence="occurrence",
|
|
45
|
+
recurring=True,
|
|
43
46
|
roles=["string"],
|
|
47
|
+
start_date="startDate",
|
|
44
48
|
)
|
|
45
49
|
assert_matches_type(ServiceBundleCreateResponse, service_bundle, path=["response"])
|
|
46
50
|
|
|
@@ -156,7 +160,11 @@ class TestServiceBundles:
|
|
|
156
160
|
bundle_name="x",
|
|
157
161
|
service_ids=["string"],
|
|
158
162
|
_id="_id",
|
|
163
|
+
limit=0,
|
|
164
|
+
occurrence="occurrence",
|
|
165
|
+
recurring=True,
|
|
159
166
|
roles=["string"],
|
|
167
|
+
start_date="startDate",
|
|
160
168
|
)
|
|
161
169
|
assert_matches_type(ServiceBundleUpdateResponse, service_bundle, path=["response"])
|
|
162
170
|
|
|
@@ -329,7 +337,11 @@ class TestAsyncServiceBundles:
|
|
|
329
337
|
bundle_name="x",
|
|
330
338
|
service_ids=["string"],
|
|
331
339
|
_id="_id",
|
|
340
|
+
limit=0,
|
|
341
|
+
occurrence="occurrence",
|
|
342
|
+
recurring=True,
|
|
332
343
|
roles=["string"],
|
|
344
|
+
start_date="startDate",
|
|
333
345
|
)
|
|
334
346
|
assert_matches_type(ServiceBundleCreateResponse, service_bundle, path=["response"])
|
|
335
347
|
|
|
@@ -445,7 +457,11 @@ class TestAsyncServiceBundles:
|
|
|
445
457
|
bundle_name="x",
|
|
446
458
|
service_ids=["string"],
|
|
447
459
|
_id="_id",
|
|
460
|
+
limit=0,
|
|
461
|
+
occurrence="occurrence",
|
|
462
|
+
recurring=True,
|
|
448
463
|
roles=["string"],
|
|
464
|
+
start_date="startDate",
|
|
449
465
|
)
|
|
450
466
|
assert_matches_type(ServiceBundleUpdateResponse, service_bundle, path=["response"])
|
|
451
467
|
|