samplehc 0.7.0__py3-none-any.whl → 0.9.0__py3-none-any.whl
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.
- samplehc/_version.py +1 -1
- samplehc/resources/v2/clearinghouse/clearinghouse.py +187 -4
- samplehc/resources/v2/documents/documents.py +4 -0
- samplehc/resources/v2/events/__init__.py +14 -14
- samplehc/resources/v2/events/events.py +20 -20
- samplehc/resources/v2/events/integrations/__init__.py +33 -0
- samplehc/resources/v2/events/integrations/integrations.py +102 -0
- samplehc/resources/v2/events/integrations/xcures.py +197 -0
- samplehc/resources/v2/hie/__init__.py +14 -0
- samplehc/resources/v2/{events/hie → hie}/adt.py +7 -7
- samplehc/resources/v2/hie/hie.py +32 -0
- samplehc/types/v2/__init__.py +3 -0
- samplehc/types/v2/clearinghouse_check_claim_status_params.py +41 -0
- samplehc/types/v2/clearinghouse_run_discovery_params.py +9 -1
- samplehc/types/v2/document_presigned_upload_url_params.py +2 -0
- samplehc/types/v2/events/{hie → integrations}/__init__.py +1 -1
- samplehc/types/v2/events/integrations/xcure_make_request_params.py +18 -0
- samplehc/types/v2/hie/__init__.py +1 -0
- samplehc/types/v2/{events/hie → hie}/adt_subscribe_params.py +3 -3
- samplehc/types/v2/hie/document_query_params.py +2 -2
- {samplehc-0.7.0.dist-info → samplehc-0.9.0.dist-info}/METADATA +1 -1
- {samplehc-0.7.0.dist-info → samplehc-0.9.0.dist-info}/RECORD +24 -21
- samplehc/resources/v2/events/hie/__init__.py +0 -33
- samplehc/resources/v2/events/hie/hie.py +0 -102
- {samplehc-0.7.0.dist-info → samplehc-0.9.0.dist-info}/WHEEL +0 -0
- {samplehc-0.7.0.dist-info → samplehc-0.9.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from .adt import (
|
|
6
|
-
AdtResource,
|
|
7
|
-
AsyncAdtResource,
|
|
8
|
-
AdtResourceWithRawResponse,
|
|
9
|
-
AsyncAdtResourceWithRawResponse,
|
|
10
|
-
AdtResourceWithStreamingResponse,
|
|
11
|
-
AsyncAdtResourceWithStreamingResponse,
|
|
12
|
-
)
|
|
13
|
-
from ....._compat import cached_property
|
|
14
|
-
from ....._resource import SyncAPIResource, AsyncAPIResource
|
|
15
|
-
|
|
16
|
-
__all__ = ["HieResource", "AsyncHieResource"]
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
class HieResource(SyncAPIResource):
|
|
20
|
-
@cached_property
|
|
21
|
-
def adt(self) -> AdtResource:
|
|
22
|
-
return AdtResource(self._client)
|
|
23
|
-
|
|
24
|
-
@cached_property
|
|
25
|
-
def with_raw_response(self) -> HieResourceWithRawResponse:
|
|
26
|
-
"""
|
|
27
|
-
This property can be used as a prefix for any HTTP method call to return
|
|
28
|
-
the raw response object instead of the parsed content.
|
|
29
|
-
|
|
30
|
-
For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
|
|
31
|
-
"""
|
|
32
|
-
return HieResourceWithRawResponse(self)
|
|
33
|
-
|
|
34
|
-
@cached_property
|
|
35
|
-
def with_streaming_response(self) -> HieResourceWithStreamingResponse:
|
|
36
|
-
"""
|
|
37
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
38
|
-
|
|
39
|
-
For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
|
|
40
|
-
"""
|
|
41
|
-
return HieResourceWithStreamingResponse(self)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
class AsyncHieResource(AsyncAPIResource):
|
|
45
|
-
@cached_property
|
|
46
|
-
def adt(self) -> AsyncAdtResource:
|
|
47
|
-
return AsyncAdtResource(self._client)
|
|
48
|
-
|
|
49
|
-
@cached_property
|
|
50
|
-
def with_raw_response(self) -> AsyncHieResourceWithRawResponse:
|
|
51
|
-
"""
|
|
52
|
-
This property can be used as a prefix for any HTTP method call to return
|
|
53
|
-
the raw response object instead of the parsed content.
|
|
54
|
-
|
|
55
|
-
For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
|
|
56
|
-
"""
|
|
57
|
-
return AsyncHieResourceWithRawResponse(self)
|
|
58
|
-
|
|
59
|
-
@cached_property
|
|
60
|
-
def with_streaming_response(self) -> AsyncHieResourceWithStreamingResponse:
|
|
61
|
-
"""
|
|
62
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
63
|
-
|
|
64
|
-
For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
|
|
65
|
-
"""
|
|
66
|
-
return AsyncHieResourceWithStreamingResponse(self)
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
class HieResourceWithRawResponse:
|
|
70
|
-
def __init__(self, hie: HieResource) -> None:
|
|
71
|
-
self._hie = hie
|
|
72
|
-
|
|
73
|
-
@cached_property
|
|
74
|
-
def adt(self) -> AdtResourceWithRawResponse:
|
|
75
|
-
return AdtResourceWithRawResponse(self._hie.adt)
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
class AsyncHieResourceWithRawResponse:
|
|
79
|
-
def __init__(self, hie: AsyncHieResource) -> None:
|
|
80
|
-
self._hie = hie
|
|
81
|
-
|
|
82
|
-
@cached_property
|
|
83
|
-
def adt(self) -> AsyncAdtResourceWithRawResponse:
|
|
84
|
-
return AsyncAdtResourceWithRawResponse(self._hie.adt)
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
class HieResourceWithStreamingResponse:
|
|
88
|
-
def __init__(self, hie: HieResource) -> None:
|
|
89
|
-
self._hie = hie
|
|
90
|
-
|
|
91
|
-
@cached_property
|
|
92
|
-
def adt(self) -> AdtResourceWithStreamingResponse:
|
|
93
|
-
return AdtResourceWithStreamingResponse(self._hie.adt)
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
class AsyncHieResourceWithStreamingResponse:
|
|
97
|
-
def __init__(self, hie: AsyncHieResource) -> None:
|
|
98
|
-
self._hie = hie
|
|
99
|
-
|
|
100
|
-
@cached_property
|
|
101
|
-
def adt(self) -> AsyncAdtResourceWithStreamingResponse:
|
|
102
|
-
return AsyncAdtResourceWithStreamingResponse(self._hie.adt)
|
|
File without changes
|
|
File without changes
|