samplehc 0.14.0__py3-none-any.whl → 0.16.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/_base_client.py +140 -11
- samplehc/_client.py +107 -35
- samplehc/_models.py +53 -16
- samplehc/_streaming.py +12 -12
- samplehc/_types.py +12 -2
- samplehc/_utils/_sync.py +3 -31
- samplehc/_utils/_utils.py +1 -1
- samplehc/_version.py +1 -1
- samplehc/resources/v2/__init__.py +0 -42
- samplehc/resources/v2/communication.py +5 -4
- samplehc/resources/v2/documents/documents.py +8 -0
- samplehc/resources/v2/tasks/tasks.py +12 -3
- samplehc/resources/v2/v2.py +0 -96
- samplehc/types/v1_query_audit_logs_response.py +4 -0
- samplehc/types/v2/__init__.py +1 -2
- samplehc/types/v2/clearinghouse/claim_submit_response.py +5 -0
- samplehc/types/v2/clearinghouse/payer_list_response.py +2 -0
- samplehc/types/v2/clearinghouse/payer_search_response.py +2 -0
- samplehc/types/v2/clearinghouse_check_eligibility_response.py +4 -0
- samplehc/types/v2/clearinghouse_run_discovery_response.py +2 -0
- samplehc/types/v2/communication_send_email_response.py +27 -0
- samplehc/types/v2/communication_send_fax_params.py +2 -0
- samplehc/types/v2/communication_send_fax_response.py +2 -0
- samplehc/types/v2/communication_send_letter_params.py +8 -0
- samplehc/types/v2/communication_send_letter_response.py +2 -0
- samplehc/types/v2/database_execute_sql_response.py +2 -0
- samplehc/types/v2/document_classify_params.py +2 -0
- samplehc/types/v2/document_classify_response.py +2 -0
- samplehc/types/v2/document_combine_response.py +4 -0
- samplehc/types/v2/document_create_from_splits_params.py +2 -0
- samplehc/types/v2/document_create_from_splits_response.py +2 -0
- samplehc/types/v2/document_extract_params.py +40 -3
- samplehc/types/v2/document_extract_response.py +2 -0
- samplehc/types/v2/document_generate_csv_response.py +4 -0
- samplehc/types/v2/document_presigned_upload_url_response.py +2 -0
- samplehc/types/v2/document_retrieve_csv_content_response.py +2 -0
- samplehc/types/v2/document_retrieve_metadata_response.py +2 -0
- samplehc/types/v2/document_search_response.py +2 -0
- samplehc/types/v2/document_split_params.py +2 -0
- samplehc/types/v2/document_split_response.py +2 -0
- samplehc/types/v2/documents/format_create_pdf_response.py +2 -0
- samplehc/types/v2/documents/legacy_extract_response.py +2 -0
- samplehc/types/v2/documents/legacy_reason_response.py +2 -0
- samplehc/types/v2/documents/legacy_split_params.py +2 -0
- samplehc/types/v2/documents/legacy_split_response.py +2 -0
- samplehc/types/v2/documents/pdf_template_retrieve_metadata_response.py +2 -0
- samplehc/types/v2/documents/template_render_document_response.py +2 -0
- samplehc/types/v2/hie/document_upload_params.py +2 -0
- samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_response.py +2 -0
- samplehc/types/v2/integrations/glidian/prior_authorization_retrieve_record_response.py +2 -0
- samplehc/types/v2/integrations/glidian/prior_authorization_submit_response.py +2 -0
- samplehc/types/v2/integrations/glidian/prior_authorization_update_record_response.py +2 -0
- samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_list_response.py +2 -0
- samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_response.py +2 -0
- samplehc/types/v2/integrations/kno2/message_get_attachment_response.py +2 -0
- samplehc/types/v2/integrations/kno2/message_retrieve_response.py +2 -0
- samplehc/types/v2/ledger/__init__.py +0 -7
- samplehc/types/v2/policy_list_companies_response.py +2 -0
- samplehc/types/v2/policy_list_plans_response.py +2 -0
- samplehc/types/v2/policy_list_response.py +2 -0
- samplehc/types/v2/policy_retrieve_presigned_url_response.py +2 -0
- samplehc/types/v2/policy_retrieve_text_response.py +2 -0
- samplehc/types/v2/task_cancel_response.py +2 -0
- samplehc/types/v2/task_complete_response.py +2 -0
- samplehc/types/v2/task_update_column_params.py +6 -3
- samplehc/types/v2/workflow_run_resume_when_complete_response.py +2 -0
- samplehc/types/v2/workflow_run_retrieve_response.py +2 -0
- samplehc/types/v2/workflow_runs/step_get_output_response.py +2 -0
- samplehc/types/v2/workflow_start_response.py +2 -0
- {samplehc-0.14.0.dist-info → samplehc-0.16.0.dist-info}/METADATA +7 -6
- {samplehc-0.14.0.dist-info → samplehc-0.16.0.dist-info}/RECORD +73 -101
- {samplehc-0.14.0.dist-info → samplehc-0.16.0.dist-info}/licenses/LICENSE +1 -1
- samplehc/resources/v2/browser_agents/__init__.py +0 -33
- samplehc/resources/v2/browser_agents/browser_agents.py +0 -209
- samplehc/resources/v2/browser_agents/runs/__init__.py +0 -33
- samplehc/resources/v2/browser_agents/runs/help_requests.py +0 -191
- samplehc/resources/v2/browser_agents/runs/runs.py +0 -233
- samplehc/resources/v2/browser_automation/__init__.py +0 -33
- samplehc/resources/v2/browser_automation/availity.py +0 -249
- samplehc/resources/v2/browser_automation/browser_automation.py +0 -102
- samplehc/resources/v2/ledger/__init__.py +0 -47
- samplehc/resources/v2/ledger/account.py +0 -297
- samplehc/resources/v2/ledger/entry.py +0 -381
- samplehc/resources/v2/ledger/ledger.py +0 -134
- samplehc/types/v2/browser_agent_invoke_params.py +0 -13
- samplehc/types/v2/browser_agent_invoke_response.py +0 -15
- samplehc/types/v2/browser_agents/__init__.py +0 -6
- samplehc/types/v2/browser_agents/run_list_events_params.py +0 -15
- samplehc/types/v2/browser_agents/run_list_events_response.py +0 -30
- samplehc/types/v2/browser_agents/runs/__init__.py +0 -6
- samplehc/types/v2/browser_agents/runs/help_request_resolve_params.py +0 -18
- samplehc/types/v2/browser_agents/runs/help_request_resolve_response.py +0 -28
- samplehc/types/v2/browser_automation/__init__.py +0 -6
- samplehc/types/v2/browser_automation/availity_submit_appeal_params.py +0 -59
- samplehc/types/v2/browser_automation/availity_submit_appeal_response.py +0 -12
- samplehc/types/v2/ledger/account_writeoff_params.py +0 -23
- samplehc/types/v2/ledger/account_writeoff_response.py +0 -12
- samplehc/types/v2/ledger/entry_post_params.py +0 -60
- samplehc/types/v2/ledger/entry_post_response.py +0 -10
- samplehc/types/v2/ledger/entry_reverse_params.py +0 -18
- samplehc/types/v2/ledger/entry_reverse_response.py +0 -10
- {samplehc-0.14.0.dist-info → samplehc-0.16.0.dist-info}/WHEEL +0 -0
samplehc/_streaming.py
CHANGED
|
@@ -54,12 +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
|
-
|
|
62
|
-
|
|
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()
|
|
63
63
|
|
|
64
64
|
def __enter__(self) -> Self:
|
|
65
65
|
return self
|
|
@@ -118,12 +118,12 @@ class AsyncStream(Generic[_T]):
|
|
|
118
118
|
process_data = self._client._process_response_data
|
|
119
119
|
iterator = self._iter_events()
|
|
120
120
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
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()
|
|
127
127
|
|
|
128
128
|
async def __aenter__(self) -> Self:
|
|
129
129
|
return self
|
samplehc/_types.py
CHANGED
|
@@ -13,9 +13,11 @@ from typing import (
|
|
|
13
13
|
Mapping,
|
|
14
14
|
TypeVar,
|
|
15
15
|
Callable,
|
|
16
|
+
Iterable,
|
|
16
17
|
Iterator,
|
|
17
18
|
Optional,
|
|
18
19
|
Sequence,
|
|
20
|
+
AsyncIterable,
|
|
19
21
|
)
|
|
20
22
|
from typing_extensions import (
|
|
21
23
|
Set,
|
|
@@ -56,6 +58,13 @@ if TYPE_CHECKING:
|
|
|
56
58
|
else:
|
|
57
59
|
Base64FileInput = Union[IO[bytes], PathLike]
|
|
58
60
|
FileContent = Union[IO[bytes], bytes, PathLike] # PathLike is not subscriptable in Python 3.8.
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
# Used for sending raw binary data / streaming data in request bodies
|
|
64
|
+
# e.g. for file uploads without multipart encoding
|
|
65
|
+
BinaryTypes = Union[bytes, bytearray, IO[bytes], Iterable[bytes]]
|
|
66
|
+
AsyncBinaryTypes = Union[bytes, bytearray, IO[bytes], AsyncIterable[bytes]]
|
|
67
|
+
|
|
59
68
|
FileTypes = Union[
|
|
60
69
|
# file (or bytes)
|
|
61
70
|
FileContent,
|
|
@@ -243,6 +252,9 @@ _T_co = TypeVar("_T_co", covariant=True)
|
|
|
243
252
|
if TYPE_CHECKING:
|
|
244
253
|
# This works because str.__contains__ does not accept object (either in typeshed or at runtime)
|
|
245
254
|
# https://github.com/hauntsaninja/useful_types/blob/5e9710f3875107d068e7679fd7fec9cfab0eff3b/useful_types/__init__.py#L285
|
|
255
|
+
#
|
|
256
|
+
# Note: index() and count() methods are intentionally omitted to allow pyright to properly
|
|
257
|
+
# infer TypedDict types when dict literals are used in lists assigned to SequenceNotStr.
|
|
246
258
|
class SequenceNotStr(Protocol[_T_co]):
|
|
247
259
|
@overload
|
|
248
260
|
def __getitem__(self, index: SupportsIndex, /) -> _T_co: ...
|
|
@@ -251,8 +263,6 @@ if TYPE_CHECKING:
|
|
|
251
263
|
def __contains__(self, value: object, /) -> bool: ...
|
|
252
264
|
def __len__(self) -> int: ...
|
|
253
265
|
def __iter__(self) -> Iterator[_T_co]: ...
|
|
254
|
-
def index(self, value: Any, start: int = 0, stop: int = ..., /) -> int: ...
|
|
255
|
-
def count(self, value: Any, /) -> int: ...
|
|
256
266
|
def __reversed__(self) -> Iterator[_T_co]: ...
|
|
257
267
|
else:
|
|
258
268
|
# just point this to a normal `Sequence` at runtime to avoid having to special case
|
samplehc/_utils/_sync.py
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
-
import sys
|
|
4
3
|
import asyncio
|
|
5
4
|
import functools
|
|
6
|
-
import
|
|
7
|
-
from typing import Any, TypeVar, Callable, Awaitable
|
|
5
|
+
from typing import TypeVar, Callable, Awaitable
|
|
8
6
|
from typing_extensions import ParamSpec
|
|
9
7
|
|
|
10
8
|
import anyio
|
|
@@ -15,34 +13,11 @@ T_Retval = TypeVar("T_Retval")
|
|
|
15
13
|
T_ParamSpec = ParamSpec("T_ParamSpec")
|
|
16
14
|
|
|
17
15
|
|
|
18
|
-
if sys.version_info >= (3, 9):
|
|
19
|
-
_asyncio_to_thread = asyncio.to_thread
|
|
20
|
-
else:
|
|
21
|
-
# backport of https://docs.python.org/3/library/asyncio-task.html#asyncio.to_thread
|
|
22
|
-
# for Python 3.8 support
|
|
23
|
-
async def _asyncio_to_thread(
|
|
24
|
-
func: Callable[T_ParamSpec, T_Retval], /, *args: T_ParamSpec.args, **kwargs: T_ParamSpec.kwargs
|
|
25
|
-
) -> Any:
|
|
26
|
-
"""Asynchronously run function *func* in a separate thread.
|
|
27
|
-
|
|
28
|
-
Any *args and **kwargs supplied for this function are directly passed
|
|
29
|
-
to *func*. Also, the current :class:`contextvars.Context` is propagated,
|
|
30
|
-
allowing context variables from the main thread to be accessed in the
|
|
31
|
-
separate thread.
|
|
32
|
-
|
|
33
|
-
Returns a coroutine that can be awaited to get the eventual result of *func*.
|
|
34
|
-
"""
|
|
35
|
-
loop = asyncio.events.get_running_loop()
|
|
36
|
-
ctx = contextvars.copy_context()
|
|
37
|
-
func_call = functools.partial(ctx.run, func, *args, **kwargs)
|
|
38
|
-
return await loop.run_in_executor(None, func_call)
|
|
39
|
-
|
|
40
|
-
|
|
41
16
|
async def to_thread(
|
|
42
17
|
func: Callable[T_ParamSpec, T_Retval], /, *args: T_ParamSpec.args, **kwargs: T_ParamSpec.kwargs
|
|
43
18
|
) -> T_Retval:
|
|
44
19
|
if sniffio.current_async_library() == "asyncio":
|
|
45
|
-
return await
|
|
20
|
+
return await asyncio.to_thread(func, *args, **kwargs)
|
|
46
21
|
|
|
47
22
|
return await anyio.to_thread.run_sync(
|
|
48
23
|
functools.partial(func, *args, **kwargs),
|
|
@@ -53,10 +28,7 @@ async def to_thread(
|
|
|
53
28
|
def asyncify(function: Callable[T_ParamSpec, T_Retval]) -> Callable[T_ParamSpec, Awaitable[T_Retval]]:
|
|
54
29
|
"""
|
|
55
30
|
Take a blocking function and create an async one that receives the same
|
|
56
|
-
positional and keyword arguments.
|
|
57
|
-
asyncio.to_thread to run the function in a separate thread. For python version
|
|
58
|
-
3.8, it uses locally defined copy of the asyncio.to_thread function which was
|
|
59
|
-
introduced in python 3.9.
|
|
31
|
+
positional and keyword arguments.
|
|
60
32
|
|
|
61
33
|
Usage:
|
|
62
34
|
|
samplehc/_utils/_utils.py
CHANGED
|
@@ -133,7 +133,7 @@ def is_given(obj: _T | NotGiven | Omit) -> TypeGuard[_T]:
|
|
|
133
133
|
# Type safe methods for narrowing types with TypeVars.
|
|
134
134
|
# The default narrowing for isinstance(obj, dict) is dict[unknown, unknown],
|
|
135
135
|
# however this cause Pyright to rightfully report errors. As we know we don't
|
|
136
|
-
# care about the contained types we can safely use `object` in
|
|
136
|
+
# care about the contained types we can safely use `object` in its place.
|
|
137
137
|
#
|
|
138
138
|
# There are two separate functions defined, `is_*` and `is_*_t` for different use cases.
|
|
139
139
|
# `is_*` is for when you're dealing with an unknown input
|
samplehc/_version.py
CHANGED
|
@@ -32,14 +32,6 @@ from .events import (
|
|
|
32
32
|
EventsResourceWithStreamingResponse,
|
|
33
33
|
AsyncEventsResourceWithStreamingResponse,
|
|
34
34
|
)
|
|
35
|
-
from .ledger import (
|
|
36
|
-
LedgerResource,
|
|
37
|
-
AsyncLedgerResource,
|
|
38
|
-
LedgerResourceWithRawResponse,
|
|
39
|
-
AsyncLedgerResourceWithRawResponse,
|
|
40
|
-
LedgerResourceWithStreamingResponse,
|
|
41
|
-
AsyncLedgerResourceWithStreamingResponse,
|
|
42
|
-
)
|
|
43
35
|
from .database import (
|
|
44
36
|
DatabaseResource,
|
|
45
37
|
AsyncDatabaseResource,
|
|
@@ -112,22 +104,6 @@ from .workflow_runs import (
|
|
|
112
104
|
WorkflowRunsResourceWithStreamingResponse,
|
|
113
105
|
AsyncWorkflowRunsResourceWithStreamingResponse,
|
|
114
106
|
)
|
|
115
|
-
from .browser_agents import (
|
|
116
|
-
BrowserAgentsResource,
|
|
117
|
-
AsyncBrowserAgentsResource,
|
|
118
|
-
BrowserAgentsResourceWithRawResponse,
|
|
119
|
-
AsyncBrowserAgentsResourceWithRawResponse,
|
|
120
|
-
BrowserAgentsResourceWithStreamingResponse,
|
|
121
|
-
AsyncBrowserAgentsResourceWithStreamingResponse,
|
|
122
|
-
)
|
|
123
|
-
from .browser_automation import (
|
|
124
|
-
BrowserAutomationResource,
|
|
125
|
-
AsyncBrowserAutomationResource,
|
|
126
|
-
BrowserAutomationResourceWithRawResponse,
|
|
127
|
-
AsyncBrowserAutomationResourceWithRawResponse,
|
|
128
|
-
BrowserAutomationResourceWithStreamingResponse,
|
|
129
|
-
AsyncBrowserAutomationResourceWithStreamingResponse,
|
|
130
|
-
)
|
|
131
107
|
|
|
132
108
|
__all__ = [
|
|
133
109
|
"AsyncResultsResource",
|
|
@@ -172,12 +148,6 @@ __all__ = [
|
|
|
172
148
|
"AsyncClearinghouseResourceWithRawResponse",
|
|
173
149
|
"ClearinghouseResourceWithStreamingResponse",
|
|
174
150
|
"AsyncClearinghouseResourceWithStreamingResponse",
|
|
175
|
-
"LedgerResource",
|
|
176
|
-
"AsyncLedgerResource",
|
|
177
|
-
"LedgerResourceWithRawResponse",
|
|
178
|
-
"AsyncLedgerResourceWithRawResponse",
|
|
179
|
-
"LedgerResourceWithStreamingResponse",
|
|
180
|
-
"AsyncLedgerResourceWithStreamingResponse",
|
|
181
151
|
"IntegrationsResource",
|
|
182
152
|
"AsyncIntegrationsResource",
|
|
183
153
|
"IntegrationsResourceWithRawResponse",
|
|
@@ -190,12 +160,6 @@ __all__ = [
|
|
|
190
160
|
"AsyncEventsResourceWithRawResponse",
|
|
191
161
|
"EventsResourceWithStreamingResponse",
|
|
192
162
|
"AsyncEventsResourceWithStreamingResponse",
|
|
193
|
-
"BrowserAgentsResource",
|
|
194
|
-
"AsyncBrowserAgentsResource",
|
|
195
|
-
"BrowserAgentsResourceWithRawResponse",
|
|
196
|
-
"AsyncBrowserAgentsResourceWithRawResponse",
|
|
197
|
-
"BrowserAgentsResourceWithStreamingResponse",
|
|
198
|
-
"AsyncBrowserAgentsResourceWithStreamingResponse",
|
|
199
163
|
"PoliciesResource",
|
|
200
164
|
"AsyncPoliciesResource",
|
|
201
165
|
"PoliciesResourceWithRawResponse",
|
|
@@ -214,12 +178,6 @@ __all__ = [
|
|
|
214
178
|
"AsyncDatabaseResourceWithRawResponse",
|
|
215
179
|
"DatabaseResourceWithStreamingResponse",
|
|
216
180
|
"AsyncDatabaseResourceWithStreamingResponse",
|
|
217
|
-
"BrowserAutomationResource",
|
|
218
|
-
"AsyncBrowserAutomationResource",
|
|
219
|
-
"BrowserAutomationResourceWithRawResponse",
|
|
220
|
-
"AsyncBrowserAutomationResourceWithRawResponse",
|
|
221
|
-
"BrowserAutomationResourceWithStreamingResponse",
|
|
222
|
-
"AsyncBrowserAutomationResourceWithStreamingResponse",
|
|
223
181
|
"V2Resource",
|
|
224
182
|
"AsyncV2Resource",
|
|
225
183
|
"V2ResourceWithRawResponse",
|
|
@@ -19,6 +19,7 @@ from ..._response import (
|
|
|
19
19
|
)
|
|
20
20
|
from ..._base_client import make_request_options
|
|
21
21
|
from ...types.v2.communication_send_fax_response import CommunicationSendFaxResponse
|
|
22
|
+
from ...types.v2.communication_send_email_response import CommunicationSendEmailResponse
|
|
22
23
|
from ...types.v2.communication_send_letter_response import CommunicationSendLetterResponse
|
|
23
24
|
|
|
24
25
|
__all__ = ["CommunicationResource", "AsyncCommunicationResource"]
|
|
@@ -61,7 +62,7 @@ class CommunicationResource(SyncAPIResource):
|
|
|
61
62
|
extra_query: Query | None = None,
|
|
62
63
|
extra_body: Body | None = None,
|
|
63
64
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
64
|
-
) ->
|
|
65
|
+
) -> CommunicationSendEmailResponse:
|
|
65
66
|
"""Processes and dispatches an email.
|
|
66
67
|
|
|
67
68
|
Supports plain text and encrypted emails.
|
|
@@ -115,7 +116,7 @@ class CommunicationResource(SyncAPIResource):
|
|
|
115
116
|
options=make_request_options(
|
|
116
117
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
117
118
|
),
|
|
118
|
-
cast_to=
|
|
119
|
+
cast_to=CommunicationSendEmailResponse,
|
|
119
120
|
)
|
|
120
121
|
|
|
121
122
|
def send_fax(
|
|
@@ -272,7 +273,7 @@ class AsyncCommunicationResource(AsyncAPIResource):
|
|
|
272
273
|
extra_query: Query | None = None,
|
|
273
274
|
extra_body: Body | None = None,
|
|
274
275
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
275
|
-
) ->
|
|
276
|
+
) -> CommunicationSendEmailResponse:
|
|
276
277
|
"""Processes and dispatches an email.
|
|
277
278
|
|
|
278
279
|
Supports plain text and encrypted emails.
|
|
@@ -326,7 +327,7 @@ class AsyncCommunicationResource(AsyncAPIResource):
|
|
|
326
327
|
options=make_request_options(
|
|
327
328
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
328
329
|
),
|
|
329
|
-
cast_to=
|
|
330
|
+
cast_to=CommunicationSendEmailResponse,
|
|
330
331
|
)
|
|
331
332
|
|
|
332
333
|
async def send_fax(
|
|
@@ -293,6 +293,7 @@ class DocumentsResource(SyncAPIResource):
|
|
|
293
293
|
prompt: str,
|
|
294
294
|
response_json_schema: Dict[str, object],
|
|
295
295
|
model: Literal["reasoning-3-mini", "reasoning-3", "base-5", "base-5-mini", "base-5-nano"] | Omit = omit,
|
|
296
|
+
ocr_enhance: document_extract_params.OcrEnhance | Omit = omit,
|
|
296
297
|
priority: Literal["interactive", "non-interactive"] | Omit = omit,
|
|
297
298
|
reasoning_effort: Literal["low", "medium", "high"] | Omit = omit,
|
|
298
299
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -315,6 +316,8 @@ class DocumentsResource(SyncAPIResource):
|
|
|
315
316
|
|
|
316
317
|
model: The model to use for extraction.
|
|
317
318
|
|
|
319
|
+
ocr_enhance: OCR enhancement configuration for figure and text analysis.
|
|
320
|
+
|
|
318
321
|
priority: The priority of the extraction task. Non-interactive is lower priority.
|
|
319
322
|
|
|
320
323
|
reasoning_effort: Optional control over the reasoning effort for extraction.
|
|
@@ -335,6 +338,7 @@ class DocumentsResource(SyncAPIResource):
|
|
|
335
338
|
"prompt": prompt,
|
|
336
339
|
"response_json_schema": response_json_schema,
|
|
337
340
|
"model": model,
|
|
341
|
+
"ocr_enhance": ocr_enhance,
|
|
338
342
|
"priority": priority,
|
|
339
343
|
"reasoning_effort": reasoning_effort,
|
|
340
344
|
},
|
|
@@ -933,6 +937,7 @@ class AsyncDocumentsResource(AsyncAPIResource):
|
|
|
933
937
|
prompt: str,
|
|
934
938
|
response_json_schema: Dict[str, object],
|
|
935
939
|
model: Literal["reasoning-3-mini", "reasoning-3", "base-5", "base-5-mini", "base-5-nano"] | Omit = omit,
|
|
940
|
+
ocr_enhance: document_extract_params.OcrEnhance | Omit = omit,
|
|
936
941
|
priority: Literal["interactive", "non-interactive"] | Omit = omit,
|
|
937
942
|
reasoning_effort: Literal["low", "medium", "high"] | Omit = omit,
|
|
938
943
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -955,6 +960,8 @@ class AsyncDocumentsResource(AsyncAPIResource):
|
|
|
955
960
|
|
|
956
961
|
model: The model to use for extraction.
|
|
957
962
|
|
|
963
|
+
ocr_enhance: OCR enhancement configuration for figure and text analysis.
|
|
964
|
+
|
|
958
965
|
priority: The priority of the extraction task. Non-interactive is lower priority.
|
|
959
966
|
|
|
960
967
|
reasoning_effort: Optional control over the reasoning effort for extraction.
|
|
@@ -975,6 +982,7 @@ class AsyncDocumentsResource(AsyncAPIResource):
|
|
|
975
982
|
"prompt": prompt,
|
|
976
983
|
"response_json_schema": response_json_schema,
|
|
977
984
|
"model": model,
|
|
985
|
+
"ocr_enhance": ocr_enhance,
|
|
978
986
|
"priority": priority,
|
|
979
987
|
"reasoning_effort": reasoning_effort,
|
|
980
988
|
},
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import Any, Optional, cast
|
|
5
|
+
from typing import Any, Union, Optional, cast
|
|
6
|
+
from typing_extensions import Literal
|
|
6
7
|
|
|
7
8
|
import httpx
|
|
8
9
|
|
|
@@ -241,7 +242,8 @@ class TasksResource(SyncAPIResource):
|
|
|
241
242
|
task_id: str,
|
|
242
243
|
*,
|
|
243
244
|
key: str,
|
|
244
|
-
value:
|
|
245
|
+
value: Union[str, float, bool, None],
|
|
246
|
+
type: Literal["string", "number", "boolean", "date", "datetime"] | Omit = omit,
|
|
245
247
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
246
248
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
247
249
|
extra_headers: Headers | None = None,
|
|
@@ -259,6 +261,8 @@ class TasksResource(SyncAPIResource):
|
|
|
259
261
|
|
|
260
262
|
value: The value to set for the column.
|
|
261
263
|
|
|
264
|
+
type: The semantic type of the column. Defaults to string when omitted.
|
|
265
|
+
|
|
262
266
|
extra_headers: Send extra headers
|
|
263
267
|
|
|
264
268
|
extra_query: Add additional query parameters to the request
|
|
@@ -275,6 +279,7 @@ class TasksResource(SyncAPIResource):
|
|
|
275
279
|
{
|
|
276
280
|
"key": key,
|
|
277
281
|
"value": value,
|
|
282
|
+
"type": type,
|
|
278
283
|
},
|
|
279
284
|
task_update_column_params.TaskUpdateColumnParams,
|
|
280
285
|
),
|
|
@@ -533,7 +538,8 @@ class AsyncTasksResource(AsyncAPIResource):
|
|
|
533
538
|
task_id: str,
|
|
534
539
|
*,
|
|
535
540
|
key: str,
|
|
536
|
-
value:
|
|
541
|
+
value: Union[str, float, bool, None],
|
|
542
|
+
type: Literal["string", "number", "boolean", "date", "datetime"] | Omit = omit,
|
|
537
543
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
538
544
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
539
545
|
extra_headers: Headers | None = None,
|
|
@@ -551,6 +557,8 @@ class AsyncTasksResource(AsyncAPIResource):
|
|
|
551
557
|
|
|
552
558
|
value: The value to set for the column.
|
|
553
559
|
|
|
560
|
+
type: The semantic type of the column. Defaults to string when omitted.
|
|
561
|
+
|
|
554
562
|
extra_headers: Send extra headers
|
|
555
563
|
|
|
556
564
|
extra_query: Add additional query parameters to the request
|
|
@@ -567,6 +575,7 @@ class AsyncTasksResource(AsyncAPIResource):
|
|
|
567
575
|
{
|
|
568
576
|
"key": key,
|
|
569
577
|
"value": value,
|
|
578
|
+
"type": type,
|
|
570
579
|
},
|
|
571
580
|
task_update_column_params.TaskUpdateColumnParams,
|
|
572
581
|
),
|
samplehc/resources/v2/v2.py
CHANGED
|
@@ -68,14 +68,6 @@ from .communication import (
|
|
|
68
68
|
CommunicationResourceWithStreamingResponse,
|
|
69
69
|
AsyncCommunicationResourceWithStreamingResponse,
|
|
70
70
|
)
|
|
71
|
-
from .ledger.ledger import (
|
|
72
|
-
LedgerResource,
|
|
73
|
-
AsyncLedgerResource,
|
|
74
|
-
LedgerResourceWithRawResponse,
|
|
75
|
-
AsyncLedgerResourceWithRawResponse,
|
|
76
|
-
LedgerResourceWithStreamingResponse,
|
|
77
|
-
AsyncLedgerResourceWithStreamingResponse,
|
|
78
|
-
)
|
|
79
71
|
from .documents.documents import (
|
|
80
72
|
DocumentsResource,
|
|
81
73
|
AsyncDocumentsResource,
|
|
@@ -108,22 +100,6 @@ from .workflow_runs.workflow_runs import (
|
|
|
108
100
|
WorkflowRunsResourceWithStreamingResponse,
|
|
109
101
|
AsyncWorkflowRunsResourceWithStreamingResponse,
|
|
110
102
|
)
|
|
111
|
-
from .browser_agents.browser_agents import (
|
|
112
|
-
BrowserAgentsResource,
|
|
113
|
-
AsyncBrowserAgentsResource,
|
|
114
|
-
BrowserAgentsResourceWithRawResponse,
|
|
115
|
-
AsyncBrowserAgentsResourceWithRawResponse,
|
|
116
|
-
BrowserAgentsResourceWithStreamingResponse,
|
|
117
|
-
AsyncBrowserAgentsResourceWithStreamingResponse,
|
|
118
|
-
)
|
|
119
|
-
from .browser_automation.browser_automation import (
|
|
120
|
-
BrowserAutomationResource,
|
|
121
|
-
AsyncBrowserAutomationResource,
|
|
122
|
-
BrowserAutomationResourceWithRawResponse,
|
|
123
|
-
AsyncBrowserAutomationResourceWithRawResponse,
|
|
124
|
-
BrowserAutomationResourceWithStreamingResponse,
|
|
125
|
-
AsyncBrowserAutomationResourceWithStreamingResponse,
|
|
126
|
-
)
|
|
127
103
|
|
|
128
104
|
__all__ = ["V2Resource", "AsyncV2Resource"]
|
|
129
105
|
|
|
@@ -157,10 +133,6 @@ class V2Resource(SyncAPIResource):
|
|
|
157
133
|
def clearinghouse(self) -> ClearinghouseResource:
|
|
158
134
|
return ClearinghouseResource(self._client)
|
|
159
135
|
|
|
160
|
-
@cached_property
|
|
161
|
-
def ledger(self) -> LedgerResource:
|
|
162
|
-
return LedgerResource(self._client)
|
|
163
|
-
|
|
164
136
|
@cached_property
|
|
165
137
|
def integrations(self) -> IntegrationsResource:
|
|
166
138
|
return IntegrationsResource(self._client)
|
|
@@ -169,10 +141,6 @@ class V2Resource(SyncAPIResource):
|
|
|
169
141
|
def events(self) -> EventsResource:
|
|
170
142
|
return EventsResource(self._client)
|
|
171
143
|
|
|
172
|
-
@cached_property
|
|
173
|
-
def browser_agents(self) -> BrowserAgentsResource:
|
|
174
|
-
return BrowserAgentsResource(self._client)
|
|
175
|
-
|
|
176
144
|
@cached_property
|
|
177
145
|
def policies(self) -> PoliciesResource:
|
|
178
146
|
return PoliciesResource(self._client)
|
|
@@ -185,10 +153,6 @@ class V2Resource(SyncAPIResource):
|
|
|
185
153
|
def database(self) -> DatabaseResource:
|
|
186
154
|
return DatabaseResource(self._client)
|
|
187
155
|
|
|
188
|
-
@cached_property
|
|
189
|
-
def browser_automation(self) -> BrowserAutomationResource:
|
|
190
|
-
return BrowserAutomationResource(self._client)
|
|
191
|
-
|
|
192
156
|
@cached_property
|
|
193
157
|
def with_raw_response(self) -> V2ResourceWithRawResponse:
|
|
194
158
|
"""
|
|
@@ -238,10 +202,6 @@ class AsyncV2Resource(AsyncAPIResource):
|
|
|
238
202
|
def clearinghouse(self) -> AsyncClearinghouseResource:
|
|
239
203
|
return AsyncClearinghouseResource(self._client)
|
|
240
204
|
|
|
241
|
-
@cached_property
|
|
242
|
-
def ledger(self) -> AsyncLedgerResource:
|
|
243
|
-
return AsyncLedgerResource(self._client)
|
|
244
|
-
|
|
245
205
|
@cached_property
|
|
246
206
|
def integrations(self) -> AsyncIntegrationsResource:
|
|
247
207
|
return AsyncIntegrationsResource(self._client)
|
|
@@ -250,10 +210,6 @@ class AsyncV2Resource(AsyncAPIResource):
|
|
|
250
210
|
def events(self) -> AsyncEventsResource:
|
|
251
211
|
return AsyncEventsResource(self._client)
|
|
252
212
|
|
|
253
|
-
@cached_property
|
|
254
|
-
def browser_agents(self) -> AsyncBrowserAgentsResource:
|
|
255
|
-
return AsyncBrowserAgentsResource(self._client)
|
|
256
|
-
|
|
257
213
|
@cached_property
|
|
258
214
|
def policies(self) -> AsyncPoliciesResource:
|
|
259
215
|
return AsyncPoliciesResource(self._client)
|
|
@@ -266,10 +222,6 @@ class AsyncV2Resource(AsyncAPIResource):
|
|
|
266
222
|
def database(self) -> AsyncDatabaseResource:
|
|
267
223
|
return AsyncDatabaseResource(self._client)
|
|
268
224
|
|
|
269
|
-
@cached_property
|
|
270
|
-
def browser_automation(self) -> AsyncBrowserAutomationResource:
|
|
271
|
-
return AsyncBrowserAutomationResource(self._client)
|
|
272
|
-
|
|
273
225
|
@cached_property
|
|
274
226
|
def with_raw_response(self) -> AsyncV2ResourceWithRawResponse:
|
|
275
227
|
"""
|
|
@@ -322,10 +274,6 @@ class V2ResourceWithRawResponse:
|
|
|
322
274
|
def clearinghouse(self) -> ClearinghouseResourceWithRawResponse:
|
|
323
275
|
return ClearinghouseResourceWithRawResponse(self._v2.clearinghouse)
|
|
324
276
|
|
|
325
|
-
@cached_property
|
|
326
|
-
def ledger(self) -> LedgerResourceWithRawResponse:
|
|
327
|
-
return LedgerResourceWithRawResponse(self._v2.ledger)
|
|
328
|
-
|
|
329
277
|
@cached_property
|
|
330
278
|
def integrations(self) -> IntegrationsResourceWithRawResponse:
|
|
331
279
|
return IntegrationsResourceWithRawResponse(self._v2.integrations)
|
|
@@ -334,10 +282,6 @@ class V2ResourceWithRawResponse:
|
|
|
334
282
|
def events(self) -> EventsResourceWithRawResponse:
|
|
335
283
|
return EventsResourceWithRawResponse(self._v2.events)
|
|
336
284
|
|
|
337
|
-
@cached_property
|
|
338
|
-
def browser_agents(self) -> BrowserAgentsResourceWithRawResponse:
|
|
339
|
-
return BrowserAgentsResourceWithRawResponse(self._v2.browser_agents)
|
|
340
|
-
|
|
341
285
|
@cached_property
|
|
342
286
|
def policies(self) -> PoliciesResourceWithRawResponse:
|
|
343
287
|
return PoliciesResourceWithRawResponse(self._v2.policies)
|
|
@@ -350,10 +294,6 @@ class V2ResourceWithRawResponse:
|
|
|
350
294
|
def database(self) -> DatabaseResourceWithRawResponse:
|
|
351
295
|
return DatabaseResourceWithRawResponse(self._v2.database)
|
|
352
296
|
|
|
353
|
-
@cached_property
|
|
354
|
-
def browser_automation(self) -> BrowserAutomationResourceWithRawResponse:
|
|
355
|
-
return BrowserAutomationResourceWithRawResponse(self._v2.browser_automation)
|
|
356
|
-
|
|
357
297
|
|
|
358
298
|
class AsyncV2ResourceWithRawResponse:
|
|
359
299
|
def __init__(self, v2: AsyncV2Resource) -> None:
|
|
@@ -387,10 +327,6 @@ class AsyncV2ResourceWithRawResponse:
|
|
|
387
327
|
def clearinghouse(self) -> AsyncClearinghouseResourceWithRawResponse:
|
|
388
328
|
return AsyncClearinghouseResourceWithRawResponse(self._v2.clearinghouse)
|
|
389
329
|
|
|
390
|
-
@cached_property
|
|
391
|
-
def ledger(self) -> AsyncLedgerResourceWithRawResponse:
|
|
392
|
-
return AsyncLedgerResourceWithRawResponse(self._v2.ledger)
|
|
393
|
-
|
|
394
330
|
@cached_property
|
|
395
331
|
def integrations(self) -> AsyncIntegrationsResourceWithRawResponse:
|
|
396
332
|
return AsyncIntegrationsResourceWithRawResponse(self._v2.integrations)
|
|
@@ -399,10 +335,6 @@ class AsyncV2ResourceWithRawResponse:
|
|
|
399
335
|
def events(self) -> AsyncEventsResourceWithRawResponse:
|
|
400
336
|
return AsyncEventsResourceWithRawResponse(self._v2.events)
|
|
401
337
|
|
|
402
|
-
@cached_property
|
|
403
|
-
def browser_agents(self) -> AsyncBrowserAgentsResourceWithRawResponse:
|
|
404
|
-
return AsyncBrowserAgentsResourceWithRawResponse(self._v2.browser_agents)
|
|
405
|
-
|
|
406
338
|
@cached_property
|
|
407
339
|
def policies(self) -> AsyncPoliciesResourceWithRawResponse:
|
|
408
340
|
return AsyncPoliciesResourceWithRawResponse(self._v2.policies)
|
|
@@ -415,10 +347,6 @@ class AsyncV2ResourceWithRawResponse:
|
|
|
415
347
|
def database(self) -> AsyncDatabaseResourceWithRawResponse:
|
|
416
348
|
return AsyncDatabaseResourceWithRawResponse(self._v2.database)
|
|
417
349
|
|
|
418
|
-
@cached_property
|
|
419
|
-
def browser_automation(self) -> AsyncBrowserAutomationResourceWithRawResponse:
|
|
420
|
-
return AsyncBrowserAutomationResourceWithRawResponse(self._v2.browser_automation)
|
|
421
|
-
|
|
422
350
|
|
|
423
351
|
class V2ResourceWithStreamingResponse:
|
|
424
352
|
def __init__(self, v2: V2Resource) -> None:
|
|
@@ -452,10 +380,6 @@ class V2ResourceWithStreamingResponse:
|
|
|
452
380
|
def clearinghouse(self) -> ClearinghouseResourceWithStreamingResponse:
|
|
453
381
|
return ClearinghouseResourceWithStreamingResponse(self._v2.clearinghouse)
|
|
454
382
|
|
|
455
|
-
@cached_property
|
|
456
|
-
def ledger(self) -> LedgerResourceWithStreamingResponse:
|
|
457
|
-
return LedgerResourceWithStreamingResponse(self._v2.ledger)
|
|
458
|
-
|
|
459
383
|
@cached_property
|
|
460
384
|
def integrations(self) -> IntegrationsResourceWithStreamingResponse:
|
|
461
385
|
return IntegrationsResourceWithStreamingResponse(self._v2.integrations)
|
|
@@ -464,10 +388,6 @@ class V2ResourceWithStreamingResponse:
|
|
|
464
388
|
def events(self) -> EventsResourceWithStreamingResponse:
|
|
465
389
|
return EventsResourceWithStreamingResponse(self._v2.events)
|
|
466
390
|
|
|
467
|
-
@cached_property
|
|
468
|
-
def browser_agents(self) -> BrowserAgentsResourceWithStreamingResponse:
|
|
469
|
-
return BrowserAgentsResourceWithStreamingResponse(self._v2.browser_agents)
|
|
470
|
-
|
|
471
391
|
@cached_property
|
|
472
392
|
def policies(self) -> PoliciesResourceWithStreamingResponse:
|
|
473
393
|
return PoliciesResourceWithStreamingResponse(self._v2.policies)
|
|
@@ -480,10 +400,6 @@ class V2ResourceWithStreamingResponse:
|
|
|
480
400
|
def database(self) -> DatabaseResourceWithStreamingResponse:
|
|
481
401
|
return DatabaseResourceWithStreamingResponse(self._v2.database)
|
|
482
402
|
|
|
483
|
-
@cached_property
|
|
484
|
-
def browser_automation(self) -> BrowserAutomationResourceWithStreamingResponse:
|
|
485
|
-
return BrowserAutomationResourceWithStreamingResponse(self._v2.browser_automation)
|
|
486
|
-
|
|
487
403
|
|
|
488
404
|
class AsyncV2ResourceWithStreamingResponse:
|
|
489
405
|
def __init__(self, v2: AsyncV2Resource) -> None:
|
|
@@ -517,10 +433,6 @@ class AsyncV2ResourceWithStreamingResponse:
|
|
|
517
433
|
def clearinghouse(self) -> AsyncClearinghouseResourceWithStreamingResponse:
|
|
518
434
|
return AsyncClearinghouseResourceWithStreamingResponse(self._v2.clearinghouse)
|
|
519
435
|
|
|
520
|
-
@cached_property
|
|
521
|
-
def ledger(self) -> AsyncLedgerResourceWithStreamingResponse:
|
|
522
|
-
return AsyncLedgerResourceWithStreamingResponse(self._v2.ledger)
|
|
523
|
-
|
|
524
436
|
@cached_property
|
|
525
437
|
def integrations(self) -> AsyncIntegrationsResourceWithStreamingResponse:
|
|
526
438
|
return AsyncIntegrationsResourceWithStreamingResponse(self._v2.integrations)
|
|
@@ -529,10 +441,6 @@ class AsyncV2ResourceWithStreamingResponse:
|
|
|
529
441
|
def events(self) -> AsyncEventsResourceWithStreamingResponse:
|
|
530
442
|
return AsyncEventsResourceWithStreamingResponse(self._v2.events)
|
|
531
443
|
|
|
532
|
-
@cached_property
|
|
533
|
-
def browser_agents(self) -> AsyncBrowserAgentsResourceWithStreamingResponse:
|
|
534
|
-
return AsyncBrowserAgentsResourceWithStreamingResponse(self._v2.browser_agents)
|
|
535
|
-
|
|
536
444
|
@cached_property
|
|
537
445
|
def policies(self) -> AsyncPoliciesResourceWithStreamingResponse:
|
|
538
446
|
return AsyncPoliciesResourceWithStreamingResponse(self._v2.policies)
|
|
@@ -544,7 +452,3 @@ class AsyncV2ResourceWithStreamingResponse:
|
|
|
544
452
|
@cached_property
|
|
545
453
|
def database(self) -> AsyncDatabaseResourceWithStreamingResponse:
|
|
546
454
|
return AsyncDatabaseResourceWithStreamingResponse(self._v2.database)
|
|
547
|
-
|
|
548
|
-
@cached_property
|
|
549
|
-
def browser_automation(self) -> AsyncBrowserAutomationResourceWithStreamingResponse:
|
|
550
|
-
return AsyncBrowserAutomationResourceWithStreamingResponse(self._v2.browser_automation)
|
|
@@ -8,5 +8,9 @@ __all__ = ["V1QueryAuditLogsResponse"]
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class V1QueryAuditLogsResponse(BaseModel):
|
|
11
|
+
"""
|
|
12
|
+
A successful response containing a list of audit log entries that match the provided query.
|
|
13
|
+
"""
|
|
14
|
+
|
|
11
15
|
data: List[Dict[str, object]]
|
|
12
16
|
"""An array of audit log records matching the query."""
|
samplehc/types/v2/__init__.py
CHANGED
|
@@ -33,12 +33,10 @@ from .document_classify_response import DocumentClassifyResponse as DocumentClas
|
|
|
33
33
|
from .document_retrieve_response import DocumentRetrieveResponse as DocumentRetrieveResponse
|
|
34
34
|
from .policy_list_plans_response import PolicyListPlansResponse as PolicyListPlansResponse
|
|
35
35
|
from .async_result_sleep_response import AsyncResultSleepResponse as AsyncResultSleepResponse
|
|
36
|
-
from .browser_agent_invoke_params import BrowserAgentInvokeParams as BrowserAgentInvokeParams
|
|
37
36
|
from .database_execute_sql_params import DatabaseExecuteSqlParams as DatabaseExecuteSqlParams
|
|
38
37
|
from .task_update_column_response import TaskUpdateColumnResponse as TaskUpdateColumnResponse
|
|
39
38
|
from .document_generate_csv_params import DocumentGenerateCsvParams as DocumentGenerateCsvParams
|
|
40
39
|
from .policy_list_companies_params import PolicyListCompaniesParams as PolicyListCompaniesParams
|
|
41
|
-
from .browser_agent_invoke_response import BrowserAgentInvokeResponse as BrowserAgentInvokeResponse
|
|
42
40
|
from .communication_send_fax_params import CommunicationSendFaxParams as CommunicationSendFaxParams
|
|
43
41
|
from .database_execute_sql_response import DatabaseExecuteSqlResponse as DatabaseExecuteSqlResponse
|
|
44
42
|
from .document_unzip_async_response import DocumentUnzipAsyncResponse as DocumentUnzipAsyncResponse
|
|
@@ -52,6 +50,7 @@ from .communication_send_email_params import CommunicationSendEmailParams as Com
|
|
|
52
50
|
from .communication_send_fax_response import CommunicationSendFaxResponse as CommunicationSendFaxResponse
|
|
53
51
|
from .communication_send_letter_params import CommunicationSendLetterParams as CommunicationSendLetterParams
|
|
54
52
|
from .task_update_screen_time_response import TaskUpdateScreenTimeResponse as TaskUpdateScreenTimeResponse
|
|
53
|
+
from .communication_send_email_response import CommunicationSendEmailResponse as CommunicationSendEmailResponse
|
|
55
54
|
from .clearinghouse_run_discovery_params import ClearinghouseRunDiscoveryParams as ClearinghouseRunDiscoveryParams
|
|
56
55
|
from .communication_send_letter_response import CommunicationSendLetterResponse as CommunicationSendLetterResponse
|
|
57
56
|
from .document_create_from_splits_params import DocumentCreateFromSplitsParams as DocumentCreateFromSplitsParams
|
|
@@ -8,6 +8,11 @@ __all__ = ["ClaimSubmitResponse"]
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class ClaimSubmitResponse(BaseModel):
|
|
11
|
+
"""Claim submission initiated successfully.
|
|
12
|
+
|
|
13
|
+
Returns an ID to track the claim submission.
|
|
14
|
+
"""
|
|
15
|
+
|
|
11
16
|
claim_submission_id: str = FieldInfo(alias="claimSubmissionId")
|
|
12
17
|
"""Sample's internal ID of the claim submission."""
|
|
13
18
|
|