samplehc 0.13.0__py3-none-any.whl → 0.15.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 +8 -2
- samplehc/_client.py +105 -29
- samplehc/_models.py +37 -15
- samplehc/_streaming.py +12 -12
- samplehc/_types.py +3 -2
- samplehc/_utils/_sync.py +3 -31
- samplehc/_utils/_utils.py +1 -1
- samplehc/_version.py +1 -1
- samplehc/resources/v2/__init__.py +0 -28
- samplehc/resources/v2/documents/documents.py +8 -0
- samplehc/resources/v2/integrations/__init__.py +14 -0
- samplehc/resources/v2/integrations/integrations.py +32 -0
- samplehc/resources/v2/integrations/wellsky/__init__.py +33 -0
- samplehc/resources/v2/integrations/wellsky/patients.py +324 -0
- samplehc/resources/v2/integrations/wellsky/wellsky.py +102 -0
- samplehc/resources/v2/tasks/tasks.py +12 -3
- samplehc/resources/v2/v2.py +0 -64
- samplehc/types/v1_query_audit_logs_response.py +4 -0
- samplehc/types/v2/__init__.py +0 -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_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/integrations/wellsky/__init__.py +6 -0
- samplehc/types/v2/integrations/wellsky/patient_add_params.py +13 -0
- samplehc/types/v2/integrations/wellsky/patient_search_params.py +32 -0
- 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.13.0.dist-info → samplehc-0.15.0.dist-info}/METADATA +8 -7
- {samplehc-0.13.0.dist-info → samplehc-0.15.0.dist-info}/RECORD +78 -91
- {samplehc-0.13.0.dist-info → samplehc-0.15.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/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-0.13.0.dist-info → samplehc-0.15.0.dist-info}/WHEEL +0 -0
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from .availity import (
|
|
4
|
-
AvailityResource,
|
|
5
|
-
AsyncAvailityResource,
|
|
6
|
-
AvailityResourceWithRawResponse,
|
|
7
|
-
AsyncAvailityResourceWithRawResponse,
|
|
8
|
-
AvailityResourceWithStreamingResponse,
|
|
9
|
-
AsyncAvailityResourceWithStreamingResponse,
|
|
10
|
-
)
|
|
11
|
-
from .browser_automation import (
|
|
12
|
-
BrowserAutomationResource,
|
|
13
|
-
AsyncBrowserAutomationResource,
|
|
14
|
-
BrowserAutomationResourceWithRawResponse,
|
|
15
|
-
AsyncBrowserAutomationResourceWithRawResponse,
|
|
16
|
-
BrowserAutomationResourceWithStreamingResponse,
|
|
17
|
-
AsyncBrowserAutomationResourceWithStreamingResponse,
|
|
18
|
-
)
|
|
19
|
-
|
|
20
|
-
__all__ = [
|
|
21
|
-
"AvailityResource",
|
|
22
|
-
"AsyncAvailityResource",
|
|
23
|
-
"AvailityResourceWithRawResponse",
|
|
24
|
-
"AsyncAvailityResourceWithRawResponse",
|
|
25
|
-
"AvailityResourceWithStreamingResponse",
|
|
26
|
-
"AsyncAvailityResourceWithStreamingResponse",
|
|
27
|
-
"BrowserAutomationResource",
|
|
28
|
-
"AsyncBrowserAutomationResource",
|
|
29
|
-
"BrowserAutomationResourceWithRawResponse",
|
|
30
|
-
"AsyncBrowserAutomationResourceWithRawResponse",
|
|
31
|
-
"BrowserAutomationResourceWithStreamingResponse",
|
|
32
|
-
"AsyncBrowserAutomationResourceWithStreamingResponse",
|
|
33
|
-
]
|
|
@@ -1,249 +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 typing_extensions import Literal
|
|
6
|
-
|
|
7
|
-
import httpx
|
|
8
|
-
|
|
9
|
-
from ...._types import Body, Query, Headers, NotGiven, not_given
|
|
10
|
-
from ...._utils import maybe_transform, async_maybe_transform
|
|
11
|
-
from ...._compat import cached_property
|
|
12
|
-
from ...._resource import SyncAPIResource, AsyncAPIResource
|
|
13
|
-
from ...._response import (
|
|
14
|
-
to_raw_response_wrapper,
|
|
15
|
-
to_streamed_response_wrapper,
|
|
16
|
-
async_to_raw_response_wrapper,
|
|
17
|
-
async_to_streamed_response_wrapper,
|
|
18
|
-
)
|
|
19
|
-
from ...._base_client import make_request_options
|
|
20
|
-
from ....types.v2.browser_automation import availity_submit_appeal_params
|
|
21
|
-
from ....types.v2.browser_automation.availity_submit_appeal_response import AvailitySubmitAppealResponse
|
|
22
|
-
|
|
23
|
-
__all__ = ["AvailityResource", "AsyncAvailityResource"]
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
class AvailityResource(SyncAPIResource):
|
|
27
|
-
@cached_property
|
|
28
|
-
def with_raw_response(self) -> AvailityResourceWithRawResponse:
|
|
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 AvailityResourceWithRawResponse(self)
|
|
36
|
-
|
|
37
|
-
@cached_property
|
|
38
|
-
def with_streaming_response(self) -> AvailityResourceWithStreamingResponse:
|
|
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 AvailityResourceWithStreamingResponse(self)
|
|
45
|
-
|
|
46
|
-
def submit_appeal(
|
|
47
|
-
self,
|
|
48
|
-
*,
|
|
49
|
-
availity_payer: Literal["Anthem - CA"],
|
|
50
|
-
billed_amount: str,
|
|
51
|
-
claim_number: str,
|
|
52
|
-
contact_phone_number: str,
|
|
53
|
-
document: availity_submit_appeal_params.Document,
|
|
54
|
-
member_date_of_birth: str,
|
|
55
|
-
member_first_name: str,
|
|
56
|
-
member_id: str,
|
|
57
|
-
member_last_name: str,
|
|
58
|
-
request_reason: Literal[
|
|
59
|
-
"Authorization Issue",
|
|
60
|
-
"Balance Bill (Not Medicaid)",
|
|
61
|
-
"Benefit Issue",
|
|
62
|
-
"Claim Coding Issue",
|
|
63
|
-
"Claim Payment Issue",
|
|
64
|
-
"Contract Dispute",
|
|
65
|
-
"DRG Outlier Review",
|
|
66
|
-
"Federal Surprise Bill (Not Medicaid)",
|
|
67
|
-
"State Surprise Bill (Not Medicaid)",
|
|
68
|
-
"Timely Filing",
|
|
69
|
-
],
|
|
70
|
-
service_start_date: str,
|
|
71
|
-
state: str,
|
|
72
|
-
supporting_rationale: str,
|
|
73
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
74
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
75
|
-
extra_headers: Headers | None = None,
|
|
76
|
-
extra_query: Query | None = None,
|
|
77
|
-
extra_body: Body | None = None,
|
|
78
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
79
|
-
) -> AvailitySubmitAppealResponse:
|
|
80
|
-
"""Initiates an asynchronous process to submit an appeal to Availity.
|
|
81
|
-
|
|
82
|
-
Returns an ID
|
|
83
|
-
for tracking.
|
|
84
|
-
|
|
85
|
-
Args:
|
|
86
|
-
extra_headers: Send extra headers
|
|
87
|
-
|
|
88
|
-
extra_query: Add additional query parameters to the request
|
|
89
|
-
|
|
90
|
-
extra_body: Add additional JSON properties to the request
|
|
91
|
-
|
|
92
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
93
|
-
"""
|
|
94
|
-
return self._post(
|
|
95
|
-
"/api/v2/browser-automation/availity/submit-appeal",
|
|
96
|
-
body=maybe_transform(
|
|
97
|
-
{
|
|
98
|
-
"availity_payer": availity_payer,
|
|
99
|
-
"billed_amount": billed_amount,
|
|
100
|
-
"claim_number": claim_number,
|
|
101
|
-
"contact_phone_number": contact_phone_number,
|
|
102
|
-
"document": document,
|
|
103
|
-
"member_date_of_birth": member_date_of_birth,
|
|
104
|
-
"member_first_name": member_first_name,
|
|
105
|
-
"member_id": member_id,
|
|
106
|
-
"member_last_name": member_last_name,
|
|
107
|
-
"request_reason": request_reason,
|
|
108
|
-
"service_start_date": service_start_date,
|
|
109
|
-
"state": state,
|
|
110
|
-
"supporting_rationale": supporting_rationale,
|
|
111
|
-
},
|
|
112
|
-
availity_submit_appeal_params.AvailitySubmitAppealParams,
|
|
113
|
-
),
|
|
114
|
-
options=make_request_options(
|
|
115
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
116
|
-
),
|
|
117
|
-
cast_to=AvailitySubmitAppealResponse,
|
|
118
|
-
)
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
class AsyncAvailityResource(AsyncAPIResource):
|
|
122
|
-
@cached_property
|
|
123
|
-
def with_raw_response(self) -> AsyncAvailityResourceWithRawResponse:
|
|
124
|
-
"""
|
|
125
|
-
This property can be used as a prefix for any HTTP method call to return
|
|
126
|
-
the raw response object instead of the parsed content.
|
|
127
|
-
|
|
128
|
-
For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
|
|
129
|
-
"""
|
|
130
|
-
return AsyncAvailityResourceWithRawResponse(self)
|
|
131
|
-
|
|
132
|
-
@cached_property
|
|
133
|
-
def with_streaming_response(self) -> AsyncAvailityResourceWithStreamingResponse:
|
|
134
|
-
"""
|
|
135
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
136
|
-
|
|
137
|
-
For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
|
|
138
|
-
"""
|
|
139
|
-
return AsyncAvailityResourceWithStreamingResponse(self)
|
|
140
|
-
|
|
141
|
-
async def submit_appeal(
|
|
142
|
-
self,
|
|
143
|
-
*,
|
|
144
|
-
availity_payer: Literal["Anthem - CA"],
|
|
145
|
-
billed_amount: str,
|
|
146
|
-
claim_number: str,
|
|
147
|
-
contact_phone_number: str,
|
|
148
|
-
document: availity_submit_appeal_params.Document,
|
|
149
|
-
member_date_of_birth: str,
|
|
150
|
-
member_first_name: str,
|
|
151
|
-
member_id: str,
|
|
152
|
-
member_last_name: str,
|
|
153
|
-
request_reason: Literal[
|
|
154
|
-
"Authorization Issue",
|
|
155
|
-
"Balance Bill (Not Medicaid)",
|
|
156
|
-
"Benefit Issue",
|
|
157
|
-
"Claim Coding Issue",
|
|
158
|
-
"Claim Payment Issue",
|
|
159
|
-
"Contract Dispute",
|
|
160
|
-
"DRG Outlier Review",
|
|
161
|
-
"Federal Surprise Bill (Not Medicaid)",
|
|
162
|
-
"State Surprise Bill (Not Medicaid)",
|
|
163
|
-
"Timely Filing",
|
|
164
|
-
],
|
|
165
|
-
service_start_date: str,
|
|
166
|
-
state: str,
|
|
167
|
-
supporting_rationale: str,
|
|
168
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
169
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
170
|
-
extra_headers: Headers | None = None,
|
|
171
|
-
extra_query: Query | None = None,
|
|
172
|
-
extra_body: Body | None = None,
|
|
173
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
174
|
-
) -> AvailitySubmitAppealResponse:
|
|
175
|
-
"""Initiates an asynchronous process to submit an appeal to Availity.
|
|
176
|
-
|
|
177
|
-
Returns an ID
|
|
178
|
-
for tracking.
|
|
179
|
-
|
|
180
|
-
Args:
|
|
181
|
-
extra_headers: Send extra headers
|
|
182
|
-
|
|
183
|
-
extra_query: Add additional query parameters to the request
|
|
184
|
-
|
|
185
|
-
extra_body: Add additional JSON properties to the request
|
|
186
|
-
|
|
187
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
188
|
-
"""
|
|
189
|
-
return await self._post(
|
|
190
|
-
"/api/v2/browser-automation/availity/submit-appeal",
|
|
191
|
-
body=await async_maybe_transform(
|
|
192
|
-
{
|
|
193
|
-
"availity_payer": availity_payer,
|
|
194
|
-
"billed_amount": billed_amount,
|
|
195
|
-
"claim_number": claim_number,
|
|
196
|
-
"contact_phone_number": contact_phone_number,
|
|
197
|
-
"document": document,
|
|
198
|
-
"member_date_of_birth": member_date_of_birth,
|
|
199
|
-
"member_first_name": member_first_name,
|
|
200
|
-
"member_id": member_id,
|
|
201
|
-
"member_last_name": member_last_name,
|
|
202
|
-
"request_reason": request_reason,
|
|
203
|
-
"service_start_date": service_start_date,
|
|
204
|
-
"state": state,
|
|
205
|
-
"supporting_rationale": supporting_rationale,
|
|
206
|
-
},
|
|
207
|
-
availity_submit_appeal_params.AvailitySubmitAppealParams,
|
|
208
|
-
),
|
|
209
|
-
options=make_request_options(
|
|
210
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
211
|
-
),
|
|
212
|
-
cast_to=AvailitySubmitAppealResponse,
|
|
213
|
-
)
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
class AvailityResourceWithRawResponse:
|
|
217
|
-
def __init__(self, availity: AvailityResource) -> None:
|
|
218
|
-
self._availity = availity
|
|
219
|
-
|
|
220
|
-
self.submit_appeal = to_raw_response_wrapper(
|
|
221
|
-
availity.submit_appeal,
|
|
222
|
-
)
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
class AsyncAvailityResourceWithRawResponse:
|
|
226
|
-
def __init__(self, availity: AsyncAvailityResource) -> None:
|
|
227
|
-
self._availity = availity
|
|
228
|
-
|
|
229
|
-
self.submit_appeal = async_to_raw_response_wrapper(
|
|
230
|
-
availity.submit_appeal,
|
|
231
|
-
)
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
class AvailityResourceWithStreamingResponse:
|
|
235
|
-
def __init__(self, availity: AvailityResource) -> None:
|
|
236
|
-
self._availity = availity
|
|
237
|
-
|
|
238
|
-
self.submit_appeal = to_streamed_response_wrapper(
|
|
239
|
-
availity.submit_appeal,
|
|
240
|
-
)
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
class AsyncAvailityResourceWithStreamingResponse:
|
|
244
|
-
def __init__(self, availity: AsyncAvailityResource) -> None:
|
|
245
|
-
self._availity = availity
|
|
246
|
-
|
|
247
|
-
self.submit_appeal = async_to_streamed_response_wrapper(
|
|
248
|
-
availity.submit_appeal,
|
|
249
|
-
)
|
|
@@ -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 .availity import (
|
|
6
|
-
AvailityResource,
|
|
7
|
-
AsyncAvailityResource,
|
|
8
|
-
AvailityResourceWithRawResponse,
|
|
9
|
-
AsyncAvailityResourceWithRawResponse,
|
|
10
|
-
AvailityResourceWithStreamingResponse,
|
|
11
|
-
AsyncAvailityResourceWithStreamingResponse,
|
|
12
|
-
)
|
|
13
|
-
from ...._compat import cached_property
|
|
14
|
-
from ...._resource import SyncAPIResource, AsyncAPIResource
|
|
15
|
-
|
|
16
|
-
__all__ = ["BrowserAutomationResource", "AsyncBrowserAutomationResource"]
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
class BrowserAutomationResource(SyncAPIResource):
|
|
20
|
-
@cached_property
|
|
21
|
-
def availity(self) -> AvailityResource:
|
|
22
|
-
return AvailityResource(self._client)
|
|
23
|
-
|
|
24
|
-
@cached_property
|
|
25
|
-
def with_raw_response(self) -> BrowserAutomationResourceWithRawResponse:
|
|
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 BrowserAutomationResourceWithRawResponse(self)
|
|
33
|
-
|
|
34
|
-
@cached_property
|
|
35
|
-
def with_streaming_response(self) -> BrowserAutomationResourceWithStreamingResponse:
|
|
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 BrowserAutomationResourceWithStreamingResponse(self)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
class AsyncBrowserAutomationResource(AsyncAPIResource):
|
|
45
|
-
@cached_property
|
|
46
|
-
def availity(self) -> AsyncAvailityResource:
|
|
47
|
-
return AsyncAvailityResource(self._client)
|
|
48
|
-
|
|
49
|
-
@cached_property
|
|
50
|
-
def with_raw_response(self) -> AsyncBrowserAutomationResourceWithRawResponse:
|
|
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 AsyncBrowserAutomationResourceWithRawResponse(self)
|
|
58
|
-
|
|
59
|
-
@cached_property
|
|
60
|
-
def with_streaming_response(self) -> AsyncBrowserAutomationResourceWithStreamingResponse:
|
|
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 AsyncBrowserAutomationResourceWithStreamingResponse(self)
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
class BrowserAutomationResourceWithRawResponse:
|
|
70
|
-
def __init__(self, browser_automation: BrowserAutomationResource) -> None:
|
|
71
|
-
self._browser_automation = browser_automation
|
|
72
|
-
|
|
73
|
-
@cached_property
|
|
74
|
-
def availity(self) -> AvailityResourceWithRawResponse:
|
|
75
|
-
return AvailityResourceWithRawResponse(self._browser_automation.availity)
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
class AsyncBrowserAutomationResourceWithRawResponse:
|
|
79
|
-
def __init__(self, browser_automation: AsyncBrowserAutomationResource) -> None:
|
|
80
|
-
self._browser_automation = browser_automation
|
|
81
|
-
|
|
82
|
-
@cached_property
|
|
83
|
-
def availity(self) -> AsyncAvailityResourceWithRawResponse:
|
|
84
|
-
return AsyncAvailityResourceWithRawResponse(self._browser_automation.availity)
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
class BrowserAutomationResourceWithStreamingResponse:
|
|
88
|
-
def __init__(self, browser_automation: BrowserAutomationResource) -> None:
|
|
89
|
-
self._browser_automation = browser_automation
|
|
90
|
-
|
|
91
|
-
@cached_property
|
|
92
|
-
def availity(self) -> AvailityResourceWithStreamingResponse:
|
|
93
|
-
return AvailityResourceWithStreamingResponse(self._browser_automation.availity)
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
class AsyncBrowserAutomationResourceWithStreamingResponse:
|
|
97
|
-
def __init__(self, browser_automation: AsyncBrowserAutomationResource) -> None:
|
|
98
|
-
self._browser_automation = browser_automation
|
|
99
|
-
|
|
100
|
-
@cached_property
|
|
101
|
-
def availity(self) -> AsyncAvailityResourceWithStreamingResponse:
|
|
102
|
-
return AsyncAvailityResourceWithStreamingResponse(self._browser_automation.availity)
|
|
@@ -1,13 +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 typing import Dict
|
|
6
|
-
from typing_extensions import TypedDict
|
|
7
|
-
|
|
8
|
-
__all__ = ["BrowserAgentInvokeParams"]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class BrowserAgentInvokeParams(TypedDict, total=False):
|
|
12
|
-
variables: Dict[str, object]
|
|
13
|
-
"""Variables to pass to the browser agent"""
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from pydantic import Field as FieldInfo
|
|
4
|
-
|
|
5
|
-
from ..._models import BaseModel
|
|
6
|
-
|
|
7
|
-
__all__ = ["BrowserAgentInvokeResponse"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class BrowserAgentInvokeResponse(BaseModel):
|
|
11
|
-
async_result_id: str = FieldInfo(alias="asyncResultId")
|
|
12
|
-
"""ID to track the browser agent invocation status"""
|
|
13
|
-
|
|
14
|
-
browser_agent_run_id: str = FieldInfo(alias="browserAgentRunId")
|
|
15
|
-
"""ID to track the browser agent run"""
|
|
@@ -1,6 +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 .run_list_events_params import RunListEventsParams as RunListEventsParams
|
|
6
|
-
from .run_list_events_response import RunListEventsResponse as RunListEventsResponse
|
|
@@ -1,15 +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 typing_extensions import TypedDict
|
|
6
|
-
|
|
7
|
-
__all__ = ["RunListEventsParams"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class RunListEventsParams(TypedDict, total=False):
|
|
11
|
-
cursor: str
|
|
12
|
-
"""Cursor from previous page"""
|
|
13
|
-
|
|
14
|
-
limit: float
|
|
15
|
-
"""Maximum number of events to return"""
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import List, Optional
|
|
4
|
-
from datetime import datetime
|
|
5
|
-
from typing_extensions import Literal
|
|
6
|
-
|
|
7
|
-
from pydantic import Field as FieldInfo
|
|
8
|
-
|
|
9
|
-
from ...._models import BaseModel
|
|
10
|
-
|
|
11
|
-
__all__ = ["RunListEventsResponse", "Event"]
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
class Event(BaseModel):
|
|
15
|
-
created_at: datetime = FieldInfo(alias="createdAt")
|
|
16
|
-
|
|
17
|
-
type: Literal["log", "help-request"]
|
|
18
|
-
|
|
19
|
-
data: Optional[object] = None
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
class RunListEventsResponse(BaseModel):
|
|
23
|
-
events: List[Event]
|
|
24
|
-
"""Events for the browser agent run"""
|
|
25
|
-
|
|
26
|
-
has_more: bool = FieldInfo(alias="hasMore")
|
|
27
|
-
"""Whether more events are available"""
|
|
28
|
-
|
|
29
|
-
next_cursor: Optional[str] = FieldInfo(alias="nextCursor", default=None)
|
|
30
|
-
"""Cursor to fetch the next page"""
|
|
@@ -1,6 +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 .help_request_resolve_params import HelpRequestResolveParams as HelpRequestResolveParams
|
|
6
|
-
from .help_request_resolve_response import HelpRequestResolveResponse as HelpRequestResolveResponse
|
|
@@ -1,18 +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 typing_extensions import Required, Annotated, TypedDict
|
|
6
|
-
|
|
7
|
-
from ....._utils import PropertyInfo
|
|
8
|
-
|
|
9
|
-
__all__ = ["HelpRequestResolveParams"]
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class HelpRequestResolveParams(TypedDict, total=False):
|
|
13
|
-
slug: Required[str]
|
|
14
|
-
|
|
15
|
-
browser_agent_run_id: Required[Annotated[str, PropertyInfo(alias="browserAgentRunId")]]
|
|
16
|
-
|
|
17
|
-
resolution: Required[str]
|
|
18
|
-
"""Resolution details for the help request"""
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import Optional
|
|
4
|
-
from datetime import datetime
|
|
5
|
-
|
|
6
|
-
from pydantic import Field as FieldInfo
|
|
7
|
-
|
|
8
|
-
from ....._models import BaseModel
|
|
9
|
-
|
|
10
|
-
__all__ = ["HelpRequestResolveResponse"]
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class HelpRequestResolveResponse(BaseModel):
|
|
14
|
-
id: str
|
|
15
|
-
|
|
16
|
-
browser_agent_run_id: str = FieldInfo(alias="browserAgentRunId")
|
|
17
|
-
|
|
18
|
-
created_at: datetime = FieldInfo(alias="createdAt")
|
|
19
|
-
|
|
20
|
-
org_id: str = FieldInfo(alias="orgId")
|
|
21
|
-
|
|
22
|
-
request: str
|
|
23
|
-
|
|
24
|
-
resolution: Optional[str] = None
|
|
25
|
-
|
|
26
|
-
resolved_at: Optional[datetime] = FieldInfo(alias="resolvedAt", default=None)
|
|
27
|
-
|
|
28
|
-
status: str
|
|
@@ -1,6 +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 .availity_submit_appeal_params import AvailitySubmitAppealParams as AvailitySubmitAppealParams
|
|
6
|
-
from .availity_submit_appeal_response import AvailitySubmitAppealResponse as AvailitySubmitAppealResponse
|
|
@@ -1,59 +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 typing_extensions import Literal, Required, Annotated, TypedDict
|
|
6
|
-
|
|
7
|
-
from ...._utils import PropertyInfo
|
|
8
|
-
|
|
9
|
-
__all__ = ["AvailitySubmitAppealParams", "Document"]
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class AvailitySubmitAppealParams(TypedDict, total=False):
|
|
13
|
-
availity_payer: Required[Annotated[Literal["Anthem - CA"], PropertyInfo(alias="availityPayer")]]
|
|
14
|
-
|
|
15
|
-
billed_amount: Required[Annotated[str, PropertyInfo(alias="billedAmount")]]
|
|
16
|
-
|
|
17
|
-
claim_number: Required[Annotated[str, PropertyInfo(alias="claimNumber")]]
|
|
18
|
-
|
|
19
|
-
contact_phone_number: Required[Annotated[str, PropertyInfo(alias="contactPhoneNumber")]]
|
|
20
|
-
|
|
21
|
-
document: Required[Document]
|
|
22
|
-
|
|
23
|
-
member_date_of_birth: Required[Annotated[str, PropertyInfo(alias="memberDateOfBirth")]]
|
|
24
|
-
|
|
25
|
-
member_first_name: Required[Annotated[str, PropertyInfo(alias="memberFirstName")]]
|
|
26
|
-
|
|
27
|
-
member_id: Required[Annotated[str, PropertyInfo(alias="memberId")]]
|
|
28
|
-
|
|
29
|
-
member_last_name: Required[Annotated[str, PropertyInfo(alias="memberLastName")]]
|
|
30
|
-
|
|
31
|
-
request_reason: Required[
|
|
32
|
-
Annotated[
|
|
33
|
-
Literal[
|
|
34
|
-
"Authorization Issue",
|
|
35
|
-
"Balance Bill (Not Medicaid)",
|
|
36
|
-
"Benefit Issue",
|
|
37
|
-
"Claim Coding Issue",
|
|
38
|
-
"Claim Payment Issue",
|
|
39
|
-
"Contract Dispute",
|
|
40
|
-
"DRG Outlier Review",
|
|
41
|
-
"Federal Surprise Bill (Not Medicaid)",
|
|
42
|
-
"State Surprise Bill (Not Medicaid)",
|
|
43
|
-
"Timely Filing",
|
|
44
|
-
],
|
|
45
|
-
PropertyInfo(alias="requestReason"),
|
|
46
|
-
]
|
|
47
|
-
]
|
|
48
|
-
|
|
49
|
-
service_start_date: Required[Annotated[str, PropertyInfo(alias="serviceStartDate")]]
|
|
50
|
-
|
|
51
|
-
state: Required[str]
|
|
52
|
-
|
|
53
|
-
supporting_rationale: Required[Annotated[str, PropertyInfo(alias="supportingRationale")]]
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
class Document(TypedDict, total=False):
|
|
57
|
-
id: Required[str]
|
|
58
|
-
|
|
59
|
-
file_name: Required[Annotated[str, PropertyInfo(alias="fileName")]]
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from pydantic import Field as FieldInfo
|
|
4
|
-
|
|
5
|
-
from ...._models import BaseModel
|
|
6
|
-
|
|
7
|
-
__all__ = ["AvailitySubmitAppealResponse"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class AvailitySubmitAppealResponse(BaseModel):
|
|
11
|
-
async_result_id: str = FieldInfo(alias="asyncResultId")
|
|
12
|
-
"""The ID to track the asynchronous Availity submission task."""
|
|
File without changes
|