samplehc 0.11.0__py3-none-any.whl → 0.13.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 +9 -9
- samplehc/_client.py +8 -8
- samplehc/_models.py +10 -4
- samplehc/_qs.py +7 -7
- samplehc/_types.py +18 -11
- samplehc/_utils/_transform.py +2 -2
- samplehc/_utils/_utils.py +4 -4
- 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/browser_agents.py +5 -5
- samplehc/resources/v2/browser_agents/runs/help_requests.py +3 -3
- samplehc/resources/v2/browser_agents/runs/runs.py +131 -0
- samplehc/resources/v2/browser_automation/availity.py +3 -3
- samplehc/resources/v2/clearinghouse/claim.py +29 -29
- samplehc/resources/v2/clearinghouse/clearinghouse.py +33 -33
- 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.py +7 -7
- samplehc/resources/v2/hie/adt.py +7 -7
- samplehc/resources/v2/hie/documents.py +15 -15
- samplehc/resources/v2/integrations/bank/transactions.py +5 -5
- samplehc/resources/v2/integrations/careviso.py +29 -29
- 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/kno2/messages.py +5 -5
- samplehc/resources/v2/integrations/salesforce.py +92 -8
- samplehc/resources/v2/integrations/snowflake.py +3 -3
- samplehc/resources/v2/integrations/xcures.py +7 -7
- samplehc/resources/v2/ledger/account.py +10 -11
- samplehc/resources/v2/ledger/entry.py +21 -22
- samplehc/resources/v2/policies.py +47 -47
- samplehc/resources/v2/tasks/state.py +7 -7
- samplehc/resources/v2/tasks/tasks.py +125 -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 +3 -0
- samplehc/types/v2/browser_agents/__init__.py +3 -0
- samplehc/types/v2/browser_agents/run_list_events_params.py +15 -0
- samplehc/types/v2/browser_agents/run_list_events_response.py +30 -0
- samplehc/types/v2/browser_agents/runs/help_request_resolve_response.py +0 -2
- samplehc/types/v2/document_extract_params.py +4 -1
- 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_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 +1 -0
- samplehc/types/v2/integrations/salesforce_run_soql_query_params.py +11 -0
- samplehc/types/v2/ledger/account_writeoff_params.py +2 -3
- samplehc/types/v2/ledger/entry_post_params.py +1 -2
- samplehc/types/v2/ledger/entry_reverse_params.py +2 -3
- samplehc/types/v2/task_update_column_params.py +16 -0
- samplehc/types/v2/task_update_column_response.py +9 -0
- {samplehc-0.11.0.dist-info → samplehc-0.13.0.dist-info}/METADATA +1 -1
- {samplehc-0.11.0.dist-info → samplehc-0.13.0.dist-info}/RECORD +68 -60
- {samplehc-0.11.0.dist-info → samplehc-0.13.0.dist-info}/WHEEL +0 -0
- {samplehc-0.11.0.dist-info → samplehc-0.13.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -6,7 +6,7 @@ from typing import Dict, Iterable
|
|
|
6
6
|
|
|
7
7
|
import httpx
|
|
8
8
|
|
|
9
|
-
from ..._types import
|
|
9
|
+
from ..._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
|
|
10
10
|
from ..._utils import maybe_transform, strip_not_given, async_maybe_transform
|
|
11
11
|
from ..._compat import cached_property
|
|
12
12
|
from ...types.v2 import communication_send_fax_params, communication_send_email_params, communication_send_letter_params
|
|
@@ -50,17 +50,17 @@ class CommunicationResource(SyncAPIResource):
|
|
|
50
50
|
body: str,
|
|
51
51
|
subject: str,
|
|
52
52
|
to: str,
|
|
53
|
-
attach_as_files: bool |
|
|
54
|
-
attachments: Iterable[communication_send_email_params.Attachment] |
|
|
55
|
-
enable_encryption: bool |
|
|
56
|
-
from_: str |
|
|
57
|
-
zip_attachments: bool |
|
|
53
|
+
attach_as_files: bool | Omit = omit,
|
|
54
|
+
attachments: Iterable[communication_send_email_params.Attachment] | Omit = omit,
|
|
55
|
+
enable_encryption: bool | Omit = omit,
|
|
56
|
+
from_: str | Omit = omit,
|
|
57
|
+
zip_attachments: bool | Omit = omit,
|
|
58
58
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
59
59
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
60
60
|
extra_headers: Headers | None = None,
|
|
61
61
|
extra_query: Query | None = None,
|
|
62
62
|
extra_body: Body | None = None,
|
|
63
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
63
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
64
64
|
) -> object:
|
|
65
65
|
"""Processes and dispatches an email.
|
|
66
66
|
|
|
@@ -123,15 +123,15 @@ class CommunicationResource(SyncAPIResource):
|
|
|
123
123
|
*,
|
|
124
124
|
document: communication_send_fax_params.Document,
|
|
125
125
|
to: str,
|
|
126
|
-
batch_delay_seconds: str |
|
|
127
|
-
enable_batch_collision_avoidance: bool |
|
|
128
|
-
enable_batch_delay: bool |
|
|
126
|
+
batch_delay_seconds: str | Omit = omit,
|
|
127
|
+
enable_batch_collision_avoidance: bool | Omit = omit,
|
|
128
|
+
enable_batch_delay: bool | Omit = omit,
|
|
129
129
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
130
130
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
131
131
|
extra_headers: Headers | None = None,
|
|
132
132
|
extra_query: Query | None = None,
|
|
133
133
|
extra_body: Body | None = None,
|
|
134
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
134
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
135
135
|
) -> CommunicationSendFaxResponse:
|
|
136
136
|
"""Initiates an asynchronous fax sending process.
|
|
137
137
|
|
|
@@ -186,15 +186,15 @@ class CommunicationResource(SyncAPIResource):
|
|
|
186
186
|
*,
|
|
187
187
|
document: communication_send_letter_params.Document,
|
|
188
188
|
to_address: communication_send_letter_params.ToAddress,
|
|
189
|
-
from_address: communication_send_letter_params.FromAddress |
|
|
190
|
-
metadata: Dict[str, str] |
|
|
191
|
-
idempotency_key: str |
|
|
189
|
+
from_address: communication_send_letter_params.FromAddress | Omit = omit,
|
|
190
|
+
metadata: Dict[str, str] | Omit = omit,
|
|
191
|
+
idempotency_key: str | Omit = omit,
|
|
192
192
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
193
193
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
194
194
|
extra_headers: Headers | None = None,
|
|
195
195
|
extra_query: Query | None = None,
|
|
196
196
|
extra_body: Body | None = None,
|
|
197
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
197
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
198
198
|
) -> CommunicationSendLetterResponse:
|
|
199
199
|
"""Sends a physical letter.
|
|
200
200
|
|
|
@@ -261,17 +261,17 @@ class AsyncCommunicationResource(AsyncAPIResource):
|
|
|
261
261
|
body: str,
|
|
262
262
|
subject: str,
|
|
263
263
|
to: str,
|
|
264
|
-
attach_as_files: bool |
|
|
265
|
-
attachments: Iterable[communication_send_email_params.Attachment] |
|
|
266
|
-
enable_encryption: bool |
|
|
267
|
-
from_: str |
|
|
268
|
-
zip_attachments: bool |
|
|
264
|
+
attach_as_files: bool | Omit = omit,
|
|
265
|
+
attachments: Iterable[communication_send_email_params.Attachment] | Omit = omit,
|
|
266
|
+
enable_encryption: bool | Omit = omit,
|
|
267
|
+
from_: str | Omit = omit,
|
|
268
|
+
zip_attachments: bool | Omit = omit,
|
|
269
269
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
270
270
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
271
271
|
extra_headers: Headers | None = None,
|
|
272
272
|
extra_query: Query | None = None,
|
|
273
273
|
extra_body: Body | None = None,
|
|
274
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
274
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
275
275
|
) -> object:
|
|
276
276
|
"""Processes and dispatches an email.
|
|
277
277
|
|
|
@@ -334,15 +334,15 @@ class AsyncCommunicationResource(AsyncAPIResource):
|
|
|
334
334
|
*,
|
|
335
335
|
document: communication_send_fax_params.Document,
|
|
336
336
|
to: str,
|
|
337
|
-
batch_delay_seconds: str |
|
|
338
|
-
enable_batch_collision_avoidance: bool |
|
|
339
|
-
enable_batch_delay: bool |
|
|
337
|
+
batch_delay_seconds: str | Omit = omit,
|
|
338
|
+
enable_batch_collision_avoidance: bool | Omit = omit,
|
|
339
|
+
enable_batch_delay: bool | Omit = omit,
|
|
340
340
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
341
341
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
342
342
|
extra_headers: Headers | None = None,
|
|
343
343
|
extra_query: Query | None = None,
|
|
344
344
|
extra_body: Body | None = None,
|
|
345
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
345
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
346
346
|
) -> CommunicationSendFaxResponse:
|
|
347
347
|
"""Initiates an asynchronous fax sending process.
|
|
348
348
|
|
|
@@ -397,15 +397,15 @@ class AsyncCommunicationResource(AsyncAPIResource):
|
|
|
397
397
|
*,
|
|
398
398
|
document: communication_send_letter_params.Document,
|
|
399
399
|
to_address: communication_send_letter_params.ToAddress,
|
|
400
|
-
from_address: communication_send_letter_params.FromAddress |
|
|
401
|
-
metadata: Dict[str, str] |
|
|
402
|
-
idempotency_key: str |
|
|
400
|
+
from_address: communication_send_letter_params.FromAddress | Omit = omit,
|
|
401
|
+
metadata: Dict[str, str] | Omit = omit,
|
|
402
|
+
idempotency_key: str | Omit = omit,
|
|
403
403
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
404
404
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
405
405
|
extra_headers: Headers | None = None,
|
|
406
406
|
extra_query: Query | None = None,
|
|
407
407
|
extra_body: Body | None = None,
|
|
408
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
408
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
409
409
|
) -> CommunicationSendLetterResponse:
|
|
410
410
|
"""Sends a physical letter.
|
|
411
411
|
|
|
@@ -7,7 +7,7 @@ from typing_extensions import Literal
|
|
|
7
7
|
|
|
8
8
|
import httpx
|
|
9
9
|
|
|
10
|
-
from ..._types import
|
|
10
|
+
from ..._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
|
|
11
11
|
from ..._utils import maybe_transform, async_maybe_transform
|
|
12
12
|
from ..._compat import cached_property
|
|
13
13
|
from ...types.v2 import database_execute_sql_params
|
|
@@ -49,13 +49,13 @@ class DatabaseResource(SyncAPIResource):
|
|
|
49
49
|
*,
|
|
50
50
|
query: str,
|
|
51
51
|
params: List[Union[str, float, bool, Optional[Literal["null"]], Iterable[object], Dict[str, object]]]
|
|
52
|
-
|
|
|
52
|
+
| Omit = omit,
|
|
53
53
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
54
54
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
55
55
|
extra_headers: Headers | None = None,
|
|
56
56
|
extra_query: Query | None = None,
|
|
57
57
|
extra_body: Body | None = None,
|
|
58
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
58
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
59
59
|
) -> DatabaseExecuteSqlResponse:
|
|
60
60
|
"""Allows execution of arbitrary SQL queries against the Sample database.
|
|
61
61
|
|
|
@@ -121,13 +121,13 @@ class AsyncDatabaseResource(AsyncAPIResource):
|
|
|
121
121
|
*,
|
|
122
122
|
query: str,
|
|
123
123
|
params: List[Union[str, float, bool, Optional[Literal["null"]], Iterable[object], Dict[str, object]]]
|
|
124
|
-
|
|
|
124
|
+
| Omit = omit,
|
|
125
125
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
126
126
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
127
127
|
extra_headers: Headers | None = None,
|
|
128
128
|
extra_query: Query | None = None,
|
|
129
129
|
extra_body: Body | None = None,
|
|
130
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
130
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
131
131
|
) -> DatabaseExecuteSqlResponse:
|
|
132
132
|
"""Allows execution of arbitrary SQL queries against the Sample database.
|
|
133
133
|
|