samplehc 0.10.0__py3-none-any.whl → 0.12.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/__init__.py +3 -1
- samplehc/_base_client.py +12 -12
- samplehc/_client.py +8 -8
- samplehc/_compat.py +48 -48
- samplehc/_models.py +50 -44
- samplehc/_qs.py +7 -7
- samplehc/_types.py +53 -12
- samplehc/_utils/__init__.py +9 -2
- samplehc/_utils/_compat.py +45 -0
- samplehc/_utils/_datetime_parse.py +136 -0
- samplehc/_utils/_transform.py +13 -3
- samplehc/_utils/_typing.py +6 -1
- samplehc/_utils/_utils.py +4 -5
- samplehc/_version.py +1 -1
- samplehc/resources/v1/v1.py +9 -9
- samplehc/resources/v2/async_results.py +13 -13
- samplehc/resources/v2/browser_agents/__init__.py +33 -0
- samplehc/resources/v2/{browser_agents.py → browser_agents/browser_agents.py} +44 -12
- samplehc/resources/v2/browser_agents/runs/__init__.py +33 -0
- samplehc/resources/v2/browser_agents/runs/help_requests.py +191 -0
- samplehc/resources/v2/browser_agents/runs/runs.py +102 -0
- samplehc/resources/v2/browser_automation/availity.py +3 -3
- samplehc/resources/v2/clearinghouse/claim.py +29 -29
- samplehc/resources/v2/clearinghouse/clearinghouse.py +36 -36
- samplehc/resources/v2/clearinghouse/payers.py +5 -5
- samplehc/resources/v2/communication.py +29 -29
- samplehc/resources/v2/database.py +5 -5
- samplehc/resources/v2/documents/documents.py +152 -37
- samplehc/resources/v2/documents/formats.py +3 -3
- samplehc/resources/v2/documents/legacy.py +91 -6
- samplehc/resources/v2/documents/pdf_template.py +3 -3
- samplehc/resources/v2/documents/templates.py +27 -27
- samplehc/resources/v2/{events/events.py → events.py} +14 -46
- samplehc/resources/v2/hie/adt.py +7 -7
- samplehc/resources/v2/hie/documents.py +15 -15
- samplehc/resources/v2/integrations/__init__.py +28 -0
- samplehc/resources/v2/integrations/bank/transactions.py +5 -5
- samplehc/resources/v2/integrations/careviso.py +36 -36
- samplehc/resources/v2/integrations/glidian/glidian.py +13 -13
- samplehc/resources/v2/integrations/glidian/prior_authorizations/clinical_questions.py +5 -5
- samplehc/resources/v2/integrations/glidian/prior_authorizations/prior_authorizations.py +19 -19
- samplehc/resources/v2/integrations/integrations.py +64 -0
- samplehc/resources/v2/integrations/kno2/messages.py +5 -5
- samplehc/resources/v2/integrations/salesforce.py +193 -0
- samplehc/resources/v2/integrations/snowflake.py +3 -3
- samplehc/resources/v2/{events/integrations → integrations}/xcures.py +13 -13
- samplehc/resources/v2/ledger/__init__.py +27 -55
- samplehc/resources/v2/ledger/{orders.py → account.py} +123 -86
- samplehc/resources/v2/ledger/entry.py +381 -0
- samplehc/resources/v2/ledger/ledger.py +38 -1560
- samplehc/resources/v2/policies.py +47 -47
- samplehc/resources/v2/tasks/state.py +7 -7
- samplehc/resources/v2/tasks/tasks.py +15 -15
- samplehc/resources/v2/v2.py +16 -16
- samplehc/resources/v2/workflow_runs/step.py +3 -3
- samplehc/resources/v2/workflow_runs/workflow_runs.py +11 -11
- samplehc/resources/v2/workflows.py +13 -13
- samplehc/types/v2/__init__.py +1 -28
- samplehc/types/v2/browser_agents/runs/__init__.py +6 -0
- samplehc/types/v2/browser_agents/runs/help_request_resolve_params.py +18 -0
- samplehc/types/v2/browser_agents/runs/help_request_resolve_response.py +28 -0
- samplehc/types/v2/clearinghouse/claim_submit_params.py +10 -9
- samplehc/types/v2/clearinghouse_calculate_patient_cost_params.py +3 -2
- samplehc/types/v2/clearinghouse_check_eligibility_params.py +2 -2
- samplehc/types/v2/communication_send_letter_params.py +4 -3
- samplehc/types/v2/document_classify_params.py +3 -2
- samplehc/types/v2/document_extract_params.py +4 -1
- samplehc/types/v2/document_generate_csv_params.py +3 -2
- samplehc/types/v2/document_split_params.py +16 -1
- samplehc/types/v2/document_unzip_async_response.py +12 -0
- samplehc/types/v2/documents/__init__.py +2 -0
- samplehc/types/v2/documents/legacy_extract_params.py +8 -7
- samplehc/types/v2/documents/legacy_split_params.py +20 -0
- samplehc/types/v2/documents/legacy_split_response.py +12 -0
- samplehc/types/v2/documents/template_render_document_params.py +17 -5
- samplehc/types/v2/integrations/__init__.py +2 -0
- samplehc/types/v2/integrations/careviso_submit_prior_authorization_params.py +6 -5
- samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_params.py +3 -2
- samplehc/types/v2/integrations/salesforce_run_crud_action_params.py +22 -0
- samplehc/types/v2/ledger/__init__.py +6 -17
- samplehc/types/v2/ledger/account_writeoff_params.py +23 -0
- samplehc/types/v2/ledger/account_writeoff_response.py +12 -0
- samplehc/types/v2/ledger/entry_post_params.py +60 -0
- samplehc/types/v2/ledger/entry_post_response.py +10 -0
- samplehc/types/v2/ledger/entry_reverse_params.py +18 -0
- samplehc/types/v2/ledger/entry_reverse_response.py +10 -0
- {samplehc-0.10.0.dist-info → samplehc-0.12.0.dist-info}/METADATA +1 -1
- {samplehc-0.10.0.dist-info → samplehc-0.12.0.dist-info}/RECORD +92 -111
- samplehc/resources/v2/events/__init__.py +0 -33
- samplehc/resources/v2/events/integrations/__init__.py +0 -33
- samplehc/resources/v2/events/integrations/integrations.py +0 -102
- samplehc/resources/v2/ledger/institutions/__init__.py +0 -33
- samplehc/resources/v2/ledger/institutions/institutions.py +0 -258
- samplehc/resources/v2/ledger/institutions/orders.py +0 -169
- samplehc/resources/v2/ledger/insurance.py +0 -141
- samplehc/resources/v2/ledger/patients.py +0 -141
- samplehc/types/v2/events/integrations/__init__.py +0 -5
- samplehc/types/v2/ledger/institution_list_outstanding_accounts_response.py +0 -25
- samplehc/types/v2/ledger/institution_retrieve_outstanding_orders_response.py +0 -25
- samplehc/types/v2/ledger/institutions/__init__.py +0 -5
- samplehc/types/v2/ledger/institutions/order_retrieve_balance_response.py +0 -12
- samplehc/types/v2/ledger/insurance_list_outstanding_accounts_response.py +0 -25
- samplehc/types/v2/ledger/order_retrieve_balances_response.py +0 -31
- samplehc/types/v2/ledger/order_retrieve_batch_balances_params.py +0 -15
- samplehc/types/v2/ledger/order_retrieve_batch_balances_response.py +0 -38
- samplehc/types/v2/ledger/patient_list_outstanding_accounts_response.py +0 -22
- samplehc/types/v2/ledger_assign_invoice_params.py +0 -34
- samplehc/types/v2/ledger_assign_invoice_response.py +0 -12
- samplehc/types/v2/ledger_claim_adjustment_params.py +0 -34
- samplehc/types/v2/ledger_claim_adjustment_response.py +0 -12
- samplehc/types/v2/ledger_claim_payment_params.py +0 -34
- samplehc/types/v2/ledger_claim_payment_response.py +0 -12
- samplehc/types/v2/ledger_institution_adjustment_params.py +0 -31
- samplehc/types/v2/ledger_institution_adjustment_response.py +0 -12
- samplehc/types/v2/ledger_institution_payment_params.py +0 -31
- samplehc/types/v2/ledger_institution_payment_response.py +0 -12
- samplehc/types/v2/ledger_new_order_params.py +0 -22
- samplehc/types/v2/ledger_new_order_response.py +0 -12
- samplehc/types/v2/ledger_order_writeoff_params.py +0 -28
- samplehc/types/v2/ledger_order_writeoff_response.py +0 -12
- samplehc/types/v2/ledger_patient_adjustment_params.py +0 -31
- samplehc/types/v2/ledger_patient_adjustment_response.py +0 -12
- samplehc/types/v2/ledger_patient_payment_params.py +0 -28
- samplehc/types/v2/ledger_patient_payment_response.py +0 -12
- samplehc/types/v2/ledger_post_remittance_accepted_params.py +0 -37
- samplehc/types/v2/ledger_post_remittance_accepted_response.py +0 -12
- samplehc/types/v2/ledger_reverse_entry_params.py +0 -12
- samplehc/types/v2/ledger_reverse_entry_response.py +0 -12
- /samplehc/types/v2/{events → browser_agents}/__init__.py +0 -0
- /samplehc/types/v2/{events/integrations → integrations}/xcure_make_request_params.py +0 -0
- {samplehc-0.10.0.dist-info → samplehc-0.12.0.dist-info}/WHEEL +0 -0
- {samplehc-0.10.0.dist-info → samplehc-0.12.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
from typing_extensions import Literal
|
|
7
|
+
|
|
8
|
+
import httpx
|
|
9
|
+
|
|
10
|
+
from ...._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
|
|
11
|
+
from ...._utils import maybe_transform, async_maybe_transform
|
|
12
|
+
from ...._compat import cached_property
|
|
13
|
+
from ...._resource import SyncAPIResource, AsyncAPIResource
|
|
14
|
+
from ...._response import (
|
|
15
|
+
to_raw_response_wrapper,
|
|
16
|
+
to_streamed_response_wrapper,
|
|
17
|
+
async_to_raw_response_wrapper,
|
|
18
|
+
async_to_streamed_response_wrapper,
|
|
19
|
+
)
|
|
20
|
+
from ...._base_client import make_request_options
|
|
21
|
+
from ....types.v2.integrations import salesforce_run_crud_action_params
|
|
22
|
+
|
|
23
|
+
__all__ = ["SalesforceResource", "AsyncSalesforceResource"]
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class SalesforceResource(SyncAPIResource):
|
|
27
|
+
@cached_property
|
|
28
|
+
def with_raw_response(self) -> SalesforceResourceWithRawResponse:
|
|
29
|
+
"""
|
|
30
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
31
|
+
the raw response object instead of the parsed content.
|
|
32
|
+
|
|
33
|
+
For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
|
|
34
|
+
"""
|
|
35
|
+
return SalesforceResourceWithRawResponse(self)
|
|
36
|
+
|
|
37
|
+
@cached_property
|
|
38
|
+
def with_streaming_response(self) -> SalesforceResourceWithStreamingResponse:
|
|
39
|
+
"""
|
|
40
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
41
|
+
|
|
42
|
+
For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
|
|
43
|
+
"""
|
|
44
|
+
return SalesforceResourceWithStreamingResponse(self)
|
|
45
|
+
|
|
46
|
+
def run_crud_action(
|
|
47
|
+
self,
|
|
48
|
+
slug: str,
|
|
49
|
+
*,
|
|
50
|
+
crud_action_type: Literal["create", "update", "upsert", "delete", "retrieve"],
|
|
51
|
+
resource_type: str,
|
|
52
|
+
resource_body: Dict[str, object] | Omit = omit,
|
|
53
|
+
resource_id: str | Omit = omit,
|
|
54
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
55
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
56
|
+
extra_headers: Headers | None = None,
|
|
57
|
+
extra_query: Query | None = None,
|
|
58
|
+
extra_body: Body | None = None,
|
|
59
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
60
|
+
) -> object:
|
|
61
|
+
"""
|
|
62
|
+
Resolve connection by slug and run a CRUD action on a Salesforce sObject.
|
|
63
|
+
|
|
64
|
+
Args:
|
|
65
|
+
extra_headers: Send extra headers
|
|
66
|
+
|
|
67
|
+
extra_query: Add additional query parameters to the request
|
|
68
|
+
|
|
69
|
+
extra_body: Add additional JSON properties to the request
|
|
70
|
+
|
|
71
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
72
|
+
"""
|
|
73
|
+
if not slug:
|
|
74
|
+
raise ValueError(f"Expected a non-empty value for `slug` but received {slug!r}")
|
|
75
|
+
return self._post(
|
|
76
|
+
f"/api/v2/integrations/salesforce/{slug}/crud-action",
|
|
77
|
+
body=maybe_transform(
|
|
78
|
+
{
|
|
79
|
+
"crud_action_type": crud_action_type,
|
|
80
|
+
"resource_type": resource_type,
|
|
81
|
+
"resource_body": resource_body,
|
|
82
|
+
"resource_id": resource_id,
|
|
83
|
+
},
|
|
84
|
+
salesforce_run_crud_action_params.SalesforceRunCrudActionParams,
|
|
85
|
+
),
|
|
86
|
+
options=make_request_options(
|
|
87
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
88
|
+
),
|
|
89
|
+
cast_to=object,
|
|
90
|
+
)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
class AsyncSalesforceResource(AsyncAPIResource):
|
|
94
|
+
@cached_property
|
|
95
|
+
def with_raw_response(self) -> AsyncSalesforceResourceWithRawResponse:
|
|
96
|
+
"""
|
|
97
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
98
|
+
the raw response object instead of the parsed content.
|
|
99
|
+
|
|
100
|
+
For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
|
|
101
|
+
"""
|
|
102
|
+
return AsyncSalesforceResourceWithRawResponse(self)
|
|
103
|
+
|
|
104
|
+
@cached_property
|
|
105
|
+
def with_streaming_response(self) -> AsyncSalesforceResourceWithStreamingResponse:
|
|
106
|
+
"""
|
|
107
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
108
|
+
|
|
109
|
+
For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
|
|
110
|
+
"""
|
|
111
|
+
return AsyncSalesforceResourceWithStreamingResponse(self)
|
|
112
|
+
|
|
113
|
+
async def run_crud_action(
|
|
114
|
+
self,
|
|
115
|
+
slug: str,
|
|
116
|
+
*,
|
|
117
|
+
crud_action_type: Literal["create", "update", "upsert", "delete", "retrieve"],
|
|
118
|
+
resource_type: str,
|
|
119
|
+
resource_body: Dict[str, object] | Omit = omit,
|
|
120
|
+
resource_id: str | Omit = omit,
|
|
121
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
122
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
123
|
+
extra_headers: Headers | None = None,
|
|
124
|
+
extra_query: Query | None = None,
|
|
125
|
+
extra_body: Body | None = None,
|
|
126
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
127
|
+
) -> object:
|
|
128
|
+
"""
|
|
129
|
+
Resolve connection by slug and run a CRUD action on a Salesforce sObject.
|
|
130
|
+
|
|
131
|
+
Args:
|
|
132
|
+
extra_headers: Send extra headers
|
|
133
|
+
|
|
134
|
+
extra_query: Add additional query parameters to the request
|
|
135
|
+
|
|
136
|
+
extra_body: Add additional JSON properties to the request
|
|
137
|
+
|
|
138
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
139
|
+
"""
|
|
140
|
+
if not slug:
|
|
141
|
+
raise ValueError(f"Expected a non-empty value for `slug` but received {slug!r}")
|
|
142
|
+
return await self._post(
|
|
143
|
+
f"/api/v2/integrations/salesforce/{slug}/crud-action",
|
|
144
|
+
body=await async_maybe_transform(
|
|
145
|
+
{
|
|
146
|
+
"crud_action_type": crud_action_type,
|
|
147
|
+
"resource_type": resource_type,
|
|
148
|
+
"resource_body": resource_body,
|
|
149
|
+
"resource_id": resource_id,
|
|
150
|
+
},
|
|
151
|
+
salesforce_run_crud_action_params.SalesforceRunCrudActionParams,
|
|
152
|
+
),
|
|
153
|
+
options=make_request_options(
|
|
154
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
155
|
+
),
|
|
156
|
+
cast_to=object,
|
|
157
|
+
)
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
class SalesforceResourceWithRawResponse:
|
|
161
|
+
def __init__(self, salesforce: SalesforceResource) -> None:
|
|
162
|
+
self._salesforce = salesforce
|
|
163
|
+
|
|
164
|
+
self.run_crud_action = to_raw_response_wrapper(
|
|
165
|
+
salesforce.run_crud_action,
|
|
166
|
+
)
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
class AsyncSalesforceResourceWithRawResponse:
|
|
170
|
+
def __init__(self, salesforce: AsyncSalesforceResource) -> None:
|
|
171
|
+
self._salesforce = salesforce
|
|
172
|
+
|
|
173
|
+
self.run_crud_action = async_to_raw_response_wrapper(
|
|
174
|
+
salesforce.run_crud_action,
|
|
175
|
+
)
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
class SalesforceResourceWithStreamingResponse:
|
|
179
|
+
def __init__(self, salesforce: SalesforceResource) -> None:
|
|
180
|
+
self._salesforce = salesforce
|
|
181
|
+
|
|
182
|
+
self.run_crud_action = to_streamed_response_wrapper(
|
|
183
|
+
salesforce.run_crud_action,
|
|
184
|
+
)
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
class AsyncSalesforceResourceWithStreamingResponse:
|
|
188
|
+
def __init__(self, salesforce: AsyncSalesforceResource) -> None:
|
|
189
|
+
self._salesforce = salesforce
|
|
190
|
+
|
|
191
|
+
self.run_crud_action = async_to_streamed_response_wrapper(
|
|
192
|
+
salesforce.run_crud_action,
|
|
193
|
+
)
|
|
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|
|
4
4
|
|
|
5
5
|
import httpx
|
|
6
6
|
|
|
7
|
-
from ...._types import
|
|
7
|
+
from ...._types import Body, Query, Headers, NotGiven, not_given
|
|
8
8
|
from ...._utils import maybe_transform, async_maybe_transform
|
|
9
9
|
from ...._compat import cached_property
|
|
10
10
|
from ...._resource import SyncAPIResource, AsyncAPIResource
|
|
@@ -51,7 +51,7 @@ class SnowflakeResource(SyncAPIResource):
|
|
|
51
51
|
extra_headers: Headers | None = None,
|
|
52
52
|
extra_query: Query | None = None,
|
|
53
53
|
extra_body: Body | None = None,
|
|
54
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
54
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
55
55
|
) -> SnowflakeQueryResponse:
|
|
56
56
|
"""
|
|
57
57
|
Execute a query against a configured Snowflake instance.
|
|
@@ -109,7 +109,7 @@ class AsyncSnowflakeResource(AsyncAPIResource):
|
|
|
109
109
|
extra_headers: Headers | None = None,
|
|
110
110
|
extra_query: Query | None = None,
|
|
111
111
|
extra_body: Body | None = None,
|
|
112
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
112
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
113
113
|
) -> SnowflakeQueryResponse:
|
|
114
114
|
"""
|
|
115
115
|
Execute a query against a configured Snowflake instance.
|
|
@@ -7,18 +7,18 @@ from typing_extensions import Literal
|
|
|
7
7
|
|
|
8
8
|
import httpx
|
|
9
9
|
|
|
10
|
-
from
|
|
11
|
-
from
|
|
12
|
-
from
|
|
13
|
-
from
|
|
14
|
-
from
|
|
10
|
+
from ...._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
|
|
11
|
+
from ...._utils import maybe_transform, async_maybe_transform
|
|
12
|
+
from ...._compat import cached_property
|
|
13
|
+
from ...._resource import SyncAPIResource, AsyncAPIResource
|
|
14
|
+
from ...._response import (
|
|
15
15
|
to_raw_response_wrapper,
|
|
16
16
|
to_streamed_response_wrapper,
|
|
17
17
|
async_to_raw_response_wrapper,
|
|
18
18
|
async_to_streamed_response_wrapper,
|
|
19
19
|
)
|
|
20
|
-
from
|
|
21
|
-
from
|
|
20
|
+
from ...._base_client import make_request_options
|
|
21
|
+
from ....types.v2.integrations import xcure_make_request_params
|
|
22
22
|
|
|
23
23
|
__all__ = ["XcuresResource", "AsyncXcuresResource"]
|
|
24
24
|
|
|
@@ -49,14 +49,14 @@ class XcuresResource(SyncAPIResource):
|
|
|
49
49
|
*,
|
|
50
50
|
method: Literal["GET", "POST", "PUT"],
|
|
51
51
|
path: str,
|
|
52
|
-
body: Dict[str, object] |
|
|
53
|
-
parameters: Dict[str, object] |
|
|
52
|
+
body: Dict[str, object] | Omit = omit,
|
|
53
|
+
parameters: Dict[str, object] | Omit = omit,
|
|
54
54
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
55
55
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
56
56
|
extra_headers: Headers | None = None,
|
|
57
57
|
extra_query: Query | None = None,
|
|
58
58
|
extra_body: Body | None = None,
|
|
59
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
59
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
60
60
|
) -> object:
|
|
61
61
|
"""
|
|
62
62
|
Make an arbitrary request to xCures using the configured connection identified
|
|
@@ -118,14 +118,14 @@ class AsyncXcuresResource(AsyncAPIResource):
|
|
|
118
118
|
*,
|
|
119
119
|
method: Literal["GET", "POST", "PUT"],
|
|
120
120
|
path: str,
|
|
121
|
-
body: Dict[str, object] |
|
|
122
|
-
parameters: Dict[str, object] |
|
|
121
|
+
body: Dict[str, object] | Omit = omit,
|
|
122
|
+
parameters: Dict[str, object] | Omit = omit,
|
|
123
123
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
124
124
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
125
125
|
extra_headers: Headers | None = None,
|
|
126
126
|
extra_query: Query | None = None,
|
|
127
127
|
extra_body: Body | None = None,
|
|
128
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
128
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
129
129
|
) -> object:
|
|
130
130
|
"""
|
|
131
131
|
Make an arbitrary request to xCures using the configured connection identified
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
from .entry import (
|
|
4
|
+
EntryResource,
|
|
5
|
+
AsyncEntryResource,
|
|
6
|
+
EntryResourceWithRawResponse,
|
|
7
|
+
AsyncEntryResourceWithRawResponse,
|
|
8
|
+
EntryResourceWithStreamingResponse,
|
|
9
|
+
AsyncEntryResourceWithStreamingResponse,
|
|
10
|
+
)
|
|
3
11
|
from .ledger import (
|
|
4
12
|
LedgerResource,
|
|
5
13
|
AsyncLedgerResource,
|
|
@@ -8,64 +16,28 @@ from .ledger import (
|
|
|
8
16
|
LedgerResourceWithStreamingResponse,
|
|
9
17
|
AsyncLedgerResourceWithStreamingResponse,
|
|
10
18
|
)
|
|
11
|
-
from .
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
)
|
|
19
|
-
from .patients import (
|
|
20
|
-
PatientsResource,
|
|
21
|
-
AsyncPatientsResource,
|
|
22
|
-
PatientsResourceWithRawResponse,
|
|
23
|
-
AsyncPatientsResourceWithRawResponse,
|
|
24
|
-
PatientsResourceWithStreamingResponse,
|
|
25
|
-
AsyncPatientsResourceWithStreamingResponse,
|
|
26
|
-
)
|
|
27
|
-
from .insurance import (
|
|
28
|
-
InsuranceResource,
|
|
29
|
-
AsyncInsuranceResource,
|
|
30
|
-
InsuranceResourceWithRawResponse,
|
|
31
|
-
AsyncInsuranceResourceWithRawResponse,
|
|
32
|
-
InsuranceResourceWithStreamingResponse,
|
|
33
|
-
AsyncInsuranceResourceWithStreamingResponse,
|
|
34
|
-
)
|
|
35
|
-
from .institutions import (
|
|
36
|
-
InstitutionsResource,
|
|
37
|
-
AsyncInstitutionsResource,
|
|
38
|
-
InstitutionsResourceWithRawResponse,
|
|
39
|
-
AsyncInstitutionsResourceWithRawResponse,
|
|
40
|
-
InstitutionsResourceWithStreamingResponse,
|
|
41
|
-
AsyncInstitutionsResourceWithStreamingResponse,
|
|
19
|
+
from .account import (
|
|
20
|
+
AccountResource,
|
|
21
|
+
AsyncAccountResource,
|
|
22
|
+
AccountResourceWithRawResponse,
|
|
23
|
+
AsyncAccountResourceWithRawResponse,
|
|
24
|
+
AccountResourceWithStreamingResponse,
|
|
25
|
+
AsyncAccountResourceWithStreamingResponse,
|
|
42
26
|
)
|
|
43
27
|
|
|
44
28
|
__all__ = [
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"PatientsResource",
|
|
58
|
-
"AsyncPatientsResource",
|
|
59
|
-
"PatientsResourceWithRawResponse",
|
|
60
|
-
"AsyncPatientsResourceWithRawResponse",
|
|
61
|
-
"PatientsResourceWithStreamingResponse",
|
|
62
|
-
"AsyncPatientsResourceWithStreamingResponse",
|
|
63
|
-
"OrdersResource",
|
|
64
|
-
"AsyncOrdersResource",
|
|
65
|
-
"OrdersResourceWithRawResponse",
|
|
66
|
-
"AsyncOrdersResourceWithRawResponse",
|
|
67
|
-
"OrdersResourceWithStreamingResponse",
|
|
68
|
-
"AsyncOrdersResourceWithStreamingResponse",
|
|
29
|
+
"EntryResource",
|
|
30
|
+
"AsyncEntryResource",
|
|
31
|
+
"EntryResourceWithRawResponse",
|
|
32
|
+
"AsyncEntryResourceWithRawResponse",
|
|
33
|
+
"EntryResourceWithStreamingResponse",
|
|
34
|
+
"AsyncEntryResourceWithStreamingResponse",
|
|
35
|
+
"AccountResource",
|
|
36
|
+
"AsyncAccountResource",
|
|
37
|
+
"AccountResourceWithRawResponse",
|
|
38
|
+
"AsyncAccountResourceWithRawResponse",
|
|
39
|
+
"AccountResourceWithStreamingResponse",
|
|
40
|
+
"AsyncAccountResourceWithStreamingResponse",
|
|
69
41
|
"LedgerResource",
|
|
70
42
|
"AsyncLedgerResource",
|
|
71
43
|
"LedgerResourceWithRawResponse",
|