bluehive 0.1.0a17__tar.gz → 0.1.0a19__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.0a19/.release-please-manifest.json +3 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/CHANGELOG.md +22 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/PKG-INFO +2 -1
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/pyproject.toml +3 -2
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/requirements-dev.lock +3 -1
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/requirements.lock +4 -4
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_streaming.py +12 -10
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_version.py +1 -1
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/order_create_response.py +36 -1
- bluehive-0.1.0a19/src/bluehive/types/order_send_for_employee_response.py +82 -0
- bluehive-0.1.0a17/.release-please-manifest.json +0 -3
- bluehive-0.1.0a17/src/bluehive/types/order_send_for_employee_response.py +0 -41
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/.gitignore +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/CONTRIBUTING.md +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/LICENSE +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/README.md +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/SECURITY.md +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/api.md +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/bin/check-release-environment +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/bin/publish-pypi +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/examples/.keep +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/noxfile.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/release-please-config.json +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/__init__.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_base_client.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_client.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_compat.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_constants.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_exceptions.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_files.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_models.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_qs.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_resource.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_types.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_utils/__init__.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_utils/_compat.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_utils/_datetime_parse.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_utils/_logs.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_utils/_proxy.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_utils/_reflection.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_utils/_resources_proxy.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_utils/_streams.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_utils/_sync.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_utils/_transform.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_utils/_typing.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/_utils/_utils.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/lib/.keep +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/py.typed +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/resources/__init__.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/resources/database.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/resources/employees.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/resources/employers/__init__.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/resources/employers/employers.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/resources/employers/service_bundles.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/resources/fax.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/resources/health.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/resources/hl7.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/resources/integrations.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/resources/orders.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/resources/providers.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/resources/version.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/__init__.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/database_check_health_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employee_create_params.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employee_create_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employee_delete_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employee_link_user_params.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employee_link_user_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employee_list_params.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employee_list_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employee_retrieve_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employee_unlink_user_params.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employee_unlink_user_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employee_update_params.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employee_update_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employer_create_params.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employer_create_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employer_list_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employer_retrieve_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employers/__init__.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employers/service_bundle_create_params.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employers/service_bundle_create_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employers/service_bundle_list_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employers/service_bundle_retrieve_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employers/service_bundle_update_params.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employers/service_bundle_update_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/fax_list_providers_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/fax_retrieve_status_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/fax_send_params.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/fax_send_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/health_check_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/hl7_send_results_params.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/hl7_send_results_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/integration_check_active_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/integration_list_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/order_create_params.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/order_retrieve_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/order_retrieve_results_params.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/order_retrieve_results_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/order_schedule_appointment_params.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/order_schedule_appointment_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/order_send_for_employee_params.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/order_update_params.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/order_update_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/order_update_status_params.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/order_update_status_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/order_upload_results_params.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/order_upload_results_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/provider_lookup_params.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/provider_lookup_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/version_retrieve_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/__init__.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/api_resources/__init__.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/api_resources/employers/__init__.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/api_resources/employers/test_service_bundles.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/api_resources/test_database.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/api_resources/test_employees.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/api_resources/test_employers.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/api_resources/test_fax.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/api_resources/test_health.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/api_resources/test_hl7.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/api_resources/test_integrations.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/api_resources/test_orders.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/api_resources/test_providers.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/api_resources/test_version.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/conftest.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/sample_file.txt +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/test_client.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/test_deepcopy.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/test_extract_files.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/test_files.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/test_models.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/test_qs.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/test_required_args.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/test_response.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/test_streaming.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/test_transform.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/test_utils/test_datetime_parse.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/test_utils/test_proxy.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/test_utils/test_typing.py +0 -0
- {bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/utils.py +0 -0
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.19 (2025-11-28)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.18...v0.1.0-alpha.19](https://github.com/bluehive-health/bluehive-sdk-python/compare/v0.1.0-alpha.18...v0.1.0-alpha.19)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* ensure streams are always closed ([199cb37](https://github.com/bluehive-health/bluehive-sdk-python/commit/199cb37d2f1452bac63db30f1a958c8f8810873f))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Chores
|
|
13
|
+
|
|
14
|
+
* add Python 3.14 classifier and testing ([cf2cf5e](https://github.com/bluehive-health/bluehive-sdk-python/commit/cf2cf5eb4f9bf42a039e6d496ec7964b3afca0d1))
|
|
15
|
+
* **deps:** mypy 1.18.1 has a regression, pin to 1.17 ([67ddc37](https://github.com/bluehive-health/bluehive-sdk-python/commit/67ddc37871be48e2ca0b59486d3bab5b6786e93b))
|
|
16
|
+
|
|
17
|
+
## 0.1.0-alpha.18 (2025-11-17)
|
|
18
|
+
|
|
19
|
+
Full Changelog: [v0.1.0-alpha.17...v0.1.0-alpha.18](https://github.com/bluehive-health/bluehive-sdk-python/compare/v0.1.0-alpha.17...v0.1.0-alpha.18)
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **api:** api update ([edd7e3f](https://github.com/bluehive-health/bluehive-sdk-python/commit/edd7e3ff03f933c53e0388578b8731366a8a7c76))
|
|
24
|
+
|
|
3
25
|
## 0.1.0-alpha.17 (2025-11-12)
|
|
4
26
|
|
|
5
27
|
Full Changelog: [v0.1.0-alpha.16...v0.1.0-alpha.17](https://github.com/bluehive-health/bluehive-sdk-python/compare/v0.1.0-alpha.16...v0.1.0-alpha.17)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: bluehive
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.0a19
|
|
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
|
|
@@ -18,6 +18,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
21
22
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
23
|
Classifier: Typing :: Typed
|
|
23
24
|
Requires-Python: >=3.9
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "bluehive"
|
|
3
|
-
version = "0.1.0-alpha.
|
|
3
|
+
version = "0.1.0-alpha.19"
|
|
4
4
|
description = "The official Python library for the bluehive API"
|
|
5
5
|
dynamic = ["readme"]
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -24,6 +24,7 @@ classifiers = [
|
|
|
24
24
|
"Programming Language :: Python :: 3.11",
|
|
25
25
|
"Programming Language :: Python :: 3.12",
|
|
26
26
|
"Programming Language :: Python :: 3.13",
|
|
27
|
+
"Programming Language :: Python :: 3.14",
|
|
27
28
|
"Operating System :: OS Independent",
|
|
28
29
|
"Operating System :: POSIX",
|
|
29
30
|
"Operating System :: MacOS",
|
|
@@ -45,7 +46,7 @@ managed = true
|
|
|
45
46
|
# version pins are in requirements-dev.lock
|
|
46
47
|
dev-dependencies = [
|
|
47
48
|
"pyright==1.1.399",
|
|
48
|
-
"mypy",
|
|
49
|
+
"mypy==1.17",
|
|
49
50
|
"respx",
|
|
50
51
|
"pytest",
|
|
51
52
|
"pytest-asyncio",
|
|
@@ -72,7 +72,7 @@ mdurl==0.1.2
|
|
|
72
72
|
multidict==6.4.4
|
|
73
73
|
# via aiohttp
|
|
74
74
|
# via yarl
|
|
75
|
-
mypy==1.
|
|
75
|
+
mypy==1.17.0
|
|
76
76
|
mypy-extensions==1.0.0
|
|
77
77
|
# via mypy
|
|
78
78
|
nodeenv==1.8.0
|
|
@@ -81,6 +81,8 @@ nox==2023.4.22
|
|
|
81
81
|
packaging==23.2
|
|
82
82
|
# via nox
|
|
83
83
|
# via pytest
|
|
84
|
+
pathspec==0.12.1
|
|
85
|
+
# via mypy
|
|
84
86
|
platformdirs==3.11.0
|
|
85
87
|
# via virtualenv
|
|
86
88
|
pluggy==1.5.0
|
|
@@ -55,21 +55,21 @@ multidict==6.4.4
|
|
|
55
55
|
propcache==0.3.1
|
|
56
56
|
# via aiohttp
|
|
57
57
|
# via yarl
|
|
58
|
-
pydantic==2.
|
|
58
|
+
pydantic==2.12.5
|
|
59
59
|
# via bluehive
|
|
60
|
-
pydantic-core==2.
|
|
60
|
+
pydantic-core==2.41.5
|
|
61
61
|
# via pydantic
|
|
62
62
|
sniffio==1.3.0
|
|
63
63
|
# via anyio
|
|
64
64
|
# via bluehive
|
|
65
|
-
typing-extensions==4.
|
|
65
|
+
typing-extensions==4.15.0
|
|
66
66
|
# via anyio
|
|
67
67
|
# via bluehive
|
|
68
68
|
# via multidict
|
|
69
69
|
# via pydantic
|
|
70
70
|
# via pydantic-core
|
|
71
71
|
# via typing-inspection
|
|
72
|
-
typing-inspection==0.4.
|
|
72
|
+
typing-inspection==0.4.2
|
|
73
73
|
# via pydantic
|
|
74
74
|
yarl==1.20.0
|
|
75
75
|
# via aiohttp
|
|
@@ -54,11 +54,12 @@ class Stream(Generic[_T]):
|
|
|
54
54
|
process_data = self._client._process_response_data
|
|
55
55
|
iterator = self._iter_events()
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
57
|
+
try:
|
|
58
|
+
for sse in iterator:
|
|
59
|
+
yield process_data(data=sse.json(), cast_to=cast_to, response=response)
|
|
60
|
+
finally:
|
|
61
|
+
# Ensure the response is closed even if the consumer doesn't read all data
|
|
62
|
+
response.close()
|
|
62
63
|
|
|
63
64
|
def __enter__(self) -> Self:
|
|
64
65
|
return self
|
|
@@ -117,11 +118,12 @@ class AsyncStream(Generic[_T]):
|
|
|
117
118
|
process_data = self._client._process_response_data
|
|
118
119
|
iterator = self._iter_events()
|
|
119
120
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
121
|
+
try:
|
|
122
|
+
async for sse in iterator:
|
|
123
|
+
yield process_data(data=sse.json(), cast_to=cast_to, response=response)
|
|
124
|
+
finally:
|
|
125
|
+
# Ensure the response is closed even if the consumer doesn't read all data
|
|
126
|
+
await response.aclose()
|
|
125
127
|
|
|
126
128
|
async def __aenter__(self) -> Self:
|
|
127
129
|
return self
|
|
@@ -7,7 +7,22 @@ from pydantic import Field as FieldInfo
|
|
|
7
7
|
|
|
8
8
|
from .._models import BaseModel
|
|
9
9
|
|
|
10
|
-
__all__ = [
|
|
10
|
+
__all__ = [
|
|
11
|
+
"OrderCreateResponse",
|
|
12
|
+
"UnionMember0",
|
|
13
|
+
"UnionMember0UnavailableService",
|
|
14
|
+
"UnionMember1",
|
|
15
|
+
"UnionMember1OrderResult",
|
|
16
|
+
"UnionMember1UnavailableService",
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class UnionMember0UnavailableService(BaseModel):
|
|
21
|
+
reason: str
|
|
22
|
+
|
|
23
|
+
service_id: str = FieldInfo(alias="serviceId")
|
|
24
|
+
|
|
25
|
+
service_name: Optional[str] = FieldInfo(alias="serviceName", default=None)
|
|
11
26
|
|
|
12
27
|
|
|
13
28
|
class UnionMember0(BaseModel):
|
|
@@ -21,8 +36,14 @@ class UnionMember0(BaseModel):
|
|
|
21
36
|
|
|
22
37
|
message: Optional[str] = None
|
|
23
38
|
|
|
39
|
+
partial_success: Optional[bool] = FieldInfo(alias="partialSuccess", default=None)
|
|
40
|
+
|
|
24
41
|
self_pay: Optional[bool] = FieldInfo(alias="selfPay", default=None)
|
|
25
42
|
|
|
43
|
+
unavailable_services: Optional[List[UnionMember0UnavailableService]] = FieldInfo(
|
|
44
|
+
alias="unavailableServices", default=None
|
|
45
|
+
)
|
|
46
|
+
|
|
26
47
|
|
|
27
48
|
class UnionMember1OrderResult(BaseModel):
|
|
28
49
|
order_id: str = FieldInfo(alias="orderId")
|
|
@@ -32,6 +53,14 @@ class UnionMember1OrderResult(BaseModel):
|
|
|
32
53
|
provider_id: str = FieldInfo(alias="providerId")
|
|
33
54
|
|
|
34
55
|
|
|
56
|
+
class UnionMember1UnavailableService(BaseModel):
|
|
57
|
+
reason: str
|
|
58
|
+
|
|
59
|
+
service_id: str = FieldInfo(alias="serviceId")
|
|
60
|
+
|
|
61
|
+
service_name: Optional[str] = FieldInfo(alias="serviceName", default=None)
|
|
62
|
+
|
|
63
|
+
|
|
35
64
|
class UnionMember1(BaseModel):
|
|
36
65
|
order_results: List[UnionMember1OrderResult] = FieldInfo(alias="orderResults")
|
|
37
66
|
|
|
@@ -41,5 +70,11 @@ class UnionMember1(BaseModel):
|
|
|
41
70
|
|
|
42
71
|
message: Optional[str] = None
|
|
43
72
|
|
|
73
|
+
partial_success: Optional[bool] = FieldInfo(alias="partialSuccess", default=None)
|
|
74
|
+
|
|
75
|
+
unavailable_services: Optional[List[UnionMember1UnavailableService]] = FieldInfo(
|
|
76
|
+
alias="unavailableServices", default=None
|
|
77
|
+
)
|
|
78
|
+
|
|
44
79
|
|
|
45
80
|
OrderCreateResponse: TypeAlias = Union[UnionMember0, UnionMember1]
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Union, Optional
|
|
4
|
+
from typing_extensions import Literal, TypeAlias
|
|
5
|
+
|
|
6
|
+
from pydantic import Field as FieldInfo
|
|
7
|
+
|
|
8
|
+
from .._models import BaseModel
|
|
9
|
+
|
|
10
|
+
__all__ = [
|
|
11
|
+
"OrderSendForEmployeeResponse",
|
|
12
|
+
"UnionMember0",
|
|
13
|
+
"UnionMember0UnavailableService",
|
|
14
|
+
"UnionMember1",
|
|
15
|
+
"UnionMember1OrderResult",
|
|
16
|
+
"UnionMember1UnavailableService",
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class UnionMember0UnavailableService(BaseModel):
|
|
21
|
+
reason: str
|
|
22
|
+
"""Why the service was unavailable"""
|
|
23
|
+
|
|
24
|
+
service_id: str = FieldInfo(alias="serviceId")
|
|
25
|
+
|
|
26
|
+
service_name: Optional[str] = FieldInfo(alias="serviceName", default=None)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class UnionMember0(BaseModel):
|
|
30
|
+
order_id: str = FieldInfo(alias="orderId")
|
|
31
|
+
|
|
32
|
+
order_number: str = FieldInfo(alias="orderNumber")
|
|
33
|
+
|
|
34
|
+
success: Literal[True]
|
|
35
|
+
|
|
36
|
+
message: Optional[str] = None
|
|
37
|
+
|
|
38
|
+
partial_success: Optional[bool] = FieldInfo(alias="partialSuccess", default=None)
|
|
39
|
+
"""True when some services were unavailable but order was still created"""
|
|
40
|
+
|
|
41
|
+
unavailable_services: Optional[List[UnionMember0UnavailableService]] = FieldInfo(
|
|
42
|
+
alias="unavailableServices", default=None
|
|
43
|
+
)
|
|
44
|
+
"""Services that could not be included in the order"""
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
class UnionMember1OrderResult(BaseModel):
|
|
48
|
+
order_id: str = FieldInfo(alias="orderId")
|
|
49
|
+
|
|
50
|
+
order_number: str = FieldInfo(alias="orderNumber")
|
|
51
|
+
|
|
52
|
+
provider_id: str = FieldInfo(alias="providerId")
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
class UnionMember1UnavailableService(BaseModel):
|
|
56
|
+
reason: str
|
|
57
|
+
"""Why the service was unavailable"""
|
|
58
|
+
|
|
59
|
+
service_id: str = FieldInfo(alias="serviceId")
|
|
60
|
+
|
|
61
|
+
service_name: Optional[str] = FieldInfo(alias="serviceName", default=None)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
class UnionMember1(BaseModel):
|
|
65
|
+
order_results: List[UnionMember1OrderResult] = FieldInfo(alias="orderResults")
|
|
66
|
+
|
|
67
|
+
status: Literal["split"]
|
|
68
|
+
|
|
69
|
+
success: Literal[True]
|
|
70
|
+
|
|
71
|
+
message: Optional[str] = None
|
|
72
|
+
|
|
73
|
+
partial_success: Optional[bool] = FieldInfo(alias="partialSuccess", default=None)
|
|
74
|
+
"""True when some services were unavailable but orders were still created"""
|
|
75
|
+
|
|
76
|
+
unavailable_services: Optional[List[UnionMember1UnavailableService]] = FieldInfo(
|
|
77
|
+
alias="unavailableServices", default=None
|
|
78
|
+
)
|
|
79
|
+
"""Services that could not be included in any order"""
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
OrderSendForEmployeeResponse: TypeAlias = Union[UnionMember0, UnionMember1]
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import List, Union, Optional
|
|
4
|
-
from typing_extensions import Literal, TypeAlias
|
|
5
|
-
|
|
6
|
-
from pydantic import Field as FieldInfo
|
|
7
|
-
|
|
8
|
-
from .._models import BaseModel
|
|
9
|
-
|
|
10
|
-
__all__ = ["OrderSendForEmployeeResponse", "UnionMember0", "UnionMember1", "UnionMember1OrderResult"]
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class UnionMember0(BaseModel):
|
|
14
|
-
order_id: str = FieldInfo(alias="orderId")
|
|
15
|
-
|
|
16
|
-
order_number: str = FieldInfo(alias="orderNumber")
|
|
17
|
-
|
|
18
|
-
success: Literal[True]
|
|
19
|
-
|
|
20
|
-
message: Optional[str] = None
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
class UnionMember1OrderResult(BaseModel):
|
|
24
|
-
order_id: str = FieldInfo(alias="orderId")
|
|
25
|
-
|
|
26
|
-
order_number: str = FieldInfo(alias="orderNumber")
|
|
27
|
-
|
|
28
|
-
provider_id: str = FieldInfo(alias="providerId")
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
class UnionMember1(BaseModel):
|
|
32
|
-
order_results: List[UnionMember1OrderResult] = FieldInfo(alias="orderResults")
|
|
33
|
-
|
|
34
|
-
status: Literal["split"]
|
|
35
|
-
|
|
36
|
-
success: Literal[True]
|
|
37
|
-
|
|
38
|
-
message: Optional[str] = None
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
OrderSendForEmployeeResponse: TypeAlias = Union[UnionMember0, UnionMember1]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/database_check_health_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employers/service_bundle_create_params.py
RENAMED
|
File without changes
|
|
File without changes
|
{bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employers/service_bundle_list_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/employers/service_bundle_update_params.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/integration_check_active_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/order_retrieve_results_response.py
RENAMED
|
File without changes
|
{bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/order_schedule_appointment_params.py
RENAMED
|
File without changes
|
{bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/order_schedule_appointment_response.py
RENAMED
|
File without changes
|
{bluehive-0.1.0a17 → bluehive-0.1.0a19}/src/bluehive/types/order_send_for_employee_params.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bluehive-0.1.0a17 → bluehive-0.1.0a19}/tests/api_resources/employers/test_service_bundles.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|