samplehc 0.16.0__py3-none-any.whl → 0.18.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/_client.py +1 -38
- samplehc/_version.py +1 -1
- samplehc/resources/__init__.py +0 -14
- samplehc/resources/v2/__init__.py +0 -98
- samplehc/resources/v2/async_results.py +0 -79
- samplehc/resources/v2/documents/__init__.py +0 -14
- samplehc/resources/v2/documents/documents.py +0 -194
- samplehc/resources/v2/v2.py +0 -224
- samplehc/types/__init__.py +0 -5
- samplehc/types/v2/__init__.py +0 -53
- samplehc/types/v2/documents/__init__.py +0 -3
- {samplehc-0.16.0.dist-info → samplehc-0.18.0.dist-info}/METADATA +22 -27
- samplehc-0.18.0.dist-info/RECORD +92 -0
- samplehc/resources/v1/__init__.py +0 -19
- samplehc/resources/v1/v1.py +0 -298
- samplehc/resources/v2/clearinghouse/__init__.py +0 -47
- samplehc/resources/v2/clearinghouse/claim.py +0 -407
- samplehc/resources/v2/clearinghouse/clearinghouse.py +0 -844
- samplehc/resources/v2/clearinghouse/payers.py +0 -224
- samplehc/resources/v2/documents/pdf_template.py +0 -165
- samplehc/resources/v2/hie/__init__.py +0 -47
- samplehc/resources/v2/hie/adt.py +0 -249
- samplehc/resources/v2/hie/documents.py +0 -390
- samplehc/resources/v2/hie/hie.py +0 -134
- samplehc/resources/v2/integrations/__init__.py +0 -131
- samplehc/resources/v2/integrations/bank/__init__.py +0 -33
- samplehc/resources/v2/integrations/bank/bank.py +0 -102
- samplehc/resources/v2/integrations/bank/transactions.py +0 -185
- samplehc/resources/v2/integrations/careviso.py +0 -372
- samplehc/resources/v2/integrations/glidian/__init__.py +0 -33
- samplehc/resources/v2/integrations/glidian/glidian.py +0 -425
- samplehc/resources/v2/integrations/glidian/prior_authorizations/__init__.py +0 -33
- samplehc/resources/v2/integrations/glidian/prior_authorizations/clinical_questions.py +0 -276
- samplehc/resources/v2/integrations/glidian/prior_authorizations/prior_authorizations.py +0 -527
- samplehc/resources/v2/integrations/integrations.py +0 -326
- samplehc/resources/v2/integrations/kno2/__init__.py +0 -33
- samplehc/resources/v2/integrations/kno2/kno2.py +0 -102
- samplehc/resources/v2/integrations/kno2/messages.py +0 -260
- samplehc/resources/v2/integrations/salesforce.py +0 -277
- samplehc/resources/v2/integrations/snowflake.py +0 -173
- samplehc/resources/v2/integrations/wellsky/__init__.py +0 -33
- samplehc/resources/v2/integrations/wellsky/patients.py +0 -324
- samplehc/resources/v2/integrations/wellsky/wellsky.py +0 -102
- samplehc/resources/v2/integrations/xcures.py +0 -197
- samplehc/resources/v2/policies.py +0 -655
- samplehc/resources/v2/tasks/__init__.py +0 -33
- samplehc/resources/v2/tasks/state.py +0 -266
- samplehc/resources/v2/tasks/tasks.py +0 -754
- samplehc/resources/v2/workflow_runs/__init__.py +0 -33
- samplehc/resources/v2/workflow_runs/step.py +0 -169
- samplehc/resources/v2/workflow_runs/workflow_runs.py +0 -479
- samplehc/resources/v2/workflows.py +0 -365
- samplehc/types/v1/__init__.py +0 -3
- samplehc/types/v1_query_audit_logs_params.py +0 -12
- samplehc/types/v1_query_audit_logs_response.py +0 -16
- samplehc/types/v1_sql_execute_params.py +0 -27
- samplehc/types/v1_sql_execute_response.py +0 -27
- samplehc/types/v2/async_result_retrieve_response.py +0 -18
- samplehc/types/v2/clearinghouse/__init__.py +0 -9
- samplehc/types/v2/clearinghouse/claim_submit_params.py +0 -2693
- samplehc/types/v2/clearinghouse/claim_submit_response.py +0 -23
- samplehc/types/v2/clearinghouse/payer_list_response.py +0 -27
- samplehc/types/v2/clearinghouse/payer_search_params.py +0 -12
- samplehc/types/v2/clearinghouse/payer_search_response.py +0 -33
- samplehc/types/v2/clearinghouse_calculate_patient_cost_params.py +0 -3129
- samplehc/types/v2/clearinghouse_check_claim_status_params.py +0 -41
- samplehc/types/v2/clearinghouse_check_eligibility_params.py +0 -36
- samplehc/types/v2/clearinghouse_check_eligibility_response.py +0 -15
- samplehc/types/v2/clearinghouse_coordination_of_benefits_params.py +0 -35
- samplehc/types/v2/clearinghouse_run_discovery_params.py +0 -59
- samplehc/types/v2/clearinghouse_run_discovery_response.py +0 -13
- samplehc/types/v2/document_unzip_async_response.py +0 -12
- samplehc/types/v2/document_unzip_response.py +0 -20
- samplehc/types/v2/documents/pdf_template_retrieve_metadata_response.py +0 -17
- samplehc/types/v2/hie/__init__.py +0 -8
- samplehc/types/v2/hie/adt_subscribe_params.py +0 -92
- samplehc/types/v2/hie/document_query_params.py +0 -92
- samplehc/types/v2/hie/document_query_response.py +0 -16
- samplehc/types/v2/hie/document_upload_params.py +0 -54
- samplehc/types/v2/integrations/__init__.py +0 -23
- samplehc/types/v2/integrations/bank/__init__.py +0 -6
- samplehc/types/v2/integrations/bank/transaction_sync_params.py +0 -15
- samplehc/types/v2/integrations/bank/transaction_sync_response.py +0 -26
- samplehc/types/v2/integrations/careviso_get_payers_response.py +0 -19
- samplehc/types/v2/integrations/careviso_submit_prior_authorization_params.py +0 -90
- samplehc/types/v2/integrations/glidian/__init__.py +0 -20
- samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_params.py +0 -32
- samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_response.py +0 -24
- samplehc/types/v2/integrations/glidian/prior_authorization_retrieve_record_response.py +0 -13
- samplehc/types/v2/integrations/glidian/prior_authorization_submit_response.py +0 -16
- samplehc/types/v2/integrations/glidian/prior_authorization_update_record_params.py +0 -20
- samplehc/types/v2/integrations/glidian/prior_authorization_update_record_response.py +0 -16
- samplehc/types/v2/integrations/glidian/prior_authorizations/__init__.py +0 -7
- samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_list_response.py +0 -42
- samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_params.py +0 -23
- samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_response.py +0 -19
- samplehc/types/v2/integrations/glidian_get_submission_requirements_params.py +0 -17
- samplehc/types/v2/integrations/glidian_get_submission_requirements_response.py +0 -31
- samplehc/types/v2/integrations/glidian_list_payers_params.py +0 -11
- samplehc/types/v2/integrations/glidian_list_payers_response.py +0 -17
- samplehc/types/v2/integrations/glidian_list_services_params.py +0 -13
- samplehc/types/v2/integrations/glidian_list_services_response.py +0 -19
- samplehc/types/v2/integrations/kno2/__init__.py +0 -6
- samplehc/types/v2/integrations/kno2/message_get_attachment_response.py +0 -15
- samplehc/types/v2/integrations/kno2/message_retrieve_response.py +0 -13
- samplehc/types/v2/integrations/salesforce_run_crud_action_params.py +0 -22
- samplehc/types/v2/integrations/salesforce_run_soql_query_params.py +0 -11
- samplehc/types/v2/integrations/snowflake_query_params.py +0 -12
- samplehc/types/v2/integrations/snowflake_query_response.py +0 -8
- samplehc/types/v2/integrations/wellsky/__init__.py +0 -6
- samplehc/types/v2/integrations/wellsky/patient_add_params.py +0 -13
- samplehc/types/v2/integrations/wellsky/patient_search_params.py +0 -32
- samplehc/types/v2/integrations/xcure_make_request_params.py +0 -18
- samplehc/types/v2/ledger/__init__.py +0 -3
- samplehc/types/v2/policy_list_companies_params.py +0 -18
- samplehc/types/v2/policy_list_companies_response.py +0 -24
- samplehc/types/v2/policy_list_params.py +0 -47
- samplehc/types/v2/policy_list_plans_params.py +0 -18
- samplehc/types/v2/policy_list_plans_response.py +0 -30
- samplehc/types/v2/policy_list_response.py +0 -67
- samplehc/types/v2/policy_retrieve_presigned_url_response.py +0 -17
- samplehc/types/v2/policy_retrieve_text_response.py +0 -12
- samplehc/types/v2/task_cancel_response.py +0 -12
- samplehc/types/v2/task_complete_params.py +0 -12
- samplehc/types/v2/task_complete_response.py +0 -16
- samplehc/types/v2/task_get_suspended_payload_response.py +0 -8
- samplehc/types/v2/task_retrieve_response.py +0 -22
- samplehc/types/v2/task_retry_response.py +0 -10
- samplehc/types/v2/task_update_column_params.py +0 -19
- samplehc/types/v2/task_update_column_response.py +0 -9
- samplehc/types/v2/task_update_screen_time_params.py +0 -14
- samplehc/types/v2/task_update_screen_time_response.py +0 -8
- samplehc/types/v2/tasks/__init__.py +0 -7
- samplehc/types/v2/tasks/state_get_response.py +0 -8
- samplehc/types/v2/tasks/state_update_params.py +0 -13
- samplehc/types/v2/tasks/state_update_response.py +0 -9
- samplehc/types/v2/workflow_deploy_response.py +0 -12
- samplehc/types/v2/workflow_query_params.py +0 -12
- samplehc/types/v2/workflow_query_response.py +0 -8
- samplehc/types/v2/workflow_run_get_start_data_response.py +0 -14
- samplehc/types/v2/workflow_run_resume_when_complete_params.py +0 -14
- samplehc/types/v2/workflow_run_resume_when_complete_response.py +0 -12
- samplehc/types/v2/workflow_run_retrieve_response.py +0 -16
- samplehc/types/v2/workflow_runs/__init__.py +0 -5
- samplehc/types/v2/workflow_runs/step_get_output_response.py +0 -14
- samplehc/types/v2/workflow_start_params.py +0 -17
- samplehc/types/v2/workflow_start_response.py +0 -25
- samplehc-0.16.0.dist-info/RECORD +0 -226
- {samplehc-0.16.0.dist-info → samplehc-0.18.0.dist-info}/WHEEL +0 -0
- {samplehc-0.16.0.dist-info → samplehc-0.18.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -52,23 +52,13 @@ from ...._response import (
|
|
|
52
52
|
async_to_raw_response_wrapper,
|
|
53
53
|
async_to_streamed_response_wrapper,
|
|
54
54
|
)
|
|
55
|
-
from .pdf_template import (
|
|
56
|
-
PdfTemplateResource,
|
|
57
|
-
AsyncPdfTemplateResource,
|
|
58
|
-
PdfTemplateResourceWithRawResponse,
|
|
59
|
-
AsyncPdfTemplateResourceWithRawResponse,
|
|
60
|
-
PdfTemplateResourceWithStreamingResponse,
|
|
61
|
-
AsyncPdfTemplateResourceWithStreamingResponse,
|
|
62
|
-
)
|
|
63
55
|
from ...._base_client import make_request_options
|
|
64
56
|
from ....types.v2.document_split_response import DocumentSplitResponse
|
|
65
|
-
from ....types.v2.document_unzip_response import DocumentUnzipResponse
|
|
66
57
|
from ....types.v2.document_search_response import DocumentSearchResponse
|
|
67
58
|
from ....types.v2.document_combine_response import DocumentCombineResponse
|
|
68
59
|
from ....types.v2.document_extract_response import DocumentExtractResponse
|
|
69
60
|
from ....types.v2.document_classify_response import DocumentClassifyResponse
|
|
70
61
|
from ....types.v2.document_retrieve_response import DocumentRetrieveResponse
|
|
71
|
-
from ....types.v2.document_unzip_async_response import DocumentUnzipAsyncResponse
|
|
72
62
|
from ....types.v2.document_generate_csv_response import DocumentGenerateCsvResponse
|
|
73
63
|
from ....types.v2.document_retrieve_metadata_response import DocumentRetrieveMetadataResponse
|
|
74
64
|
from ....types.v2.document_create_from_splits_response import DocumentCreateFromSplitsResponse
|
|
@@ -88,10 +78,6 @@ class DocumentsResource(SyncAPIResource):
|
|
|
88
78
|
def templates(self) -> TemplatesResource:
|
|
89
79
|
return TemplatesResource(self._client)
|
|
90
80
|
|
|
91
|
-
@cached_property
|
|
92
|
-
def pdf_template(self) -> PdfTemplateResource:
|
|
93
|
-
return PdfTemplateResource(self._client)
|
|
94
|
-
|
|
95
81
|
@cached_property
|
|
96
82
|
def formats(self) -> FormatsResource:
|
|
97
83
|
return FormatsResource(self._client)
|
|
@@ -654,74 +640,6 @@ class DocumentsResource(SyncAPIResource):
|
|
|
654
640
|
cast_to=DocumentTransformJsonToHTMLResponse,
|
|
655
641
|
)
|
|
656
642
|
|
|
657
|
-
def unzip(
|
|
658
|
-
self,
|
|
659
|
-
document_id: str,
|
|
660
|
-
*,
|
|
661
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
662
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
663
|
-
extra_headers: Headers | None = None,
|
|
664
|
-
extra_query: Query | None = None,
|
|
665
|
-
extra_body: Body | None = None,
|
|
666
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
667
|
-
) -> DocumentUnzipResponse:
|
|
668
|
-
"""
|
|
669
|
-
Given a document ID representing a ZIP file, unzip it, traverse the directory
|
|
670
|
-
structure and return all PDFs found as a list of documents
|
|
671
|
-
|
|
672
|
-
Args:
|
|
673
|
-
extra_headers: Send extra headers
|
|
674
|
-
|
|
675
|
-
extra_query: Add additional query parameters to the request
|
|
676
|
-
|
|
677
|
-
extra_body: Add additional JSON properties to the request
|
|
678
|
-
|
|
679
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
680
|
-
"""
|
|
681
|
-
if not document_id:
|
|
682
|
-
raise ValueError(f"Expected a non-empty value for `document_id` but received {document_id!r}")
|
|
683
|
-
return self._post(
|
|
684
|
-
f"/api/v2/documents/{document_id}/unzip",
|
|
685
|
-
options=make_request_options(
|
|
686
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
687
|
-
),
|
|
688
|
-
cast_to=DocumentUnzipResponse,
|
|
689
|
-
)
|
|
690
|
-
|
|
691
|
-
def unzip_async(
|
|
692
|
-
self,
|
|
693
|
-
document_id: str,
|
|
694
|
-
*,
|
|
695
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
696
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
697
|
-
extra_headers: Headers | None = None,
|
|
698
|
-
extra_query: Query | None = None,
|
|
699
|
-
extra_body: Body | None = None,
|
|
700
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
701
|
-
) -> DocumentUnzipAsyncResponse:
|
|
702
|
-
"""
|
|
703
|
-
Given a document ID representing a ZIP file, unzip it, traverse the directory
|
|
704
|
-
structure and return all PDFs found as a list of documents
|
|
705
|
-
|
|
706
|
-
Args:
|
|
707
|
-
extra_headers: Send extra headers
|
|
708
|
-
|
|
709
|
-
extra_query: Add additional query parameters to the request
|
|
710
|
-
|
|
711
|
-
extra_body: Add additional JSON properties to the request
|
|
712
|
-
|
|
713
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
714
|
-
"""
|
|
715
|
-
if not document_id:
|
|
716
|
-
raise ValueError(f"Expected a non-empty value for `document_id` but received {document_id!r}")
|
|
717
|
-
return self._post(
|
|
718
|
-
f"/api/v2/documents/{document_id}/unzip-async",
|
|
719
|
-
options=make_request_options(
|
|
720
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
721
|
-
),
|
|
722
|
-
cast_to=DocumentUnzipAsyncResponse,
|
|
723
|
-
)
|
|
724
|
-
|
|
725
643
|
|
|
726
644
|
class AsyncDocumentsResource(AsyncAPIResource):
|
|
727
645
|
@cached_property
|
|
@@ -732,10 +650,6 @@ class AsyncDocumentsResource(AsyncAPIResource):
|
|
|
732
650
|
def templates(self) -> AsyncTemplatesResource:
|
|
733
651
|
return AsyncTemplatesResource(self._client)
|
|
734
652
|
|
|
735
|
-
@cached_property
|
|
736
|
-
def pdf_template(self) -> AsyncPdfTemplateResource:
|
|
737
|
-
return AsyncPdfTemplateResource(self._client)
|
|
738
|
-
|
|
739
653
|
@cached_property
|
|
740
654
|
def formats(self) -> AsyncFormatsResource:
|
|
741
655
|
return AsyncFormatsResource(self._client)
|
|
@@ -1298,74 +1212,6 @@ class AsyncDocumentsResource(AsyncAPIResource):
|
|
|
1298
1212
|
cast_to=DocumentTransformJsonToHTMLResponse,
|
|
1299
1213
|
)
|
|
1300
1214
|
|
|
1301
|
-
async def unzip(
|
|
1302
|
-
self,
|
|
1303
|
-
document_id: str,
|
|
1304
|
-
*,
|
|
1305
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1306
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1307
|
-
extra_headers: Headers | None = None,
|
|
1308
|
-
extra_query: Query | None = None,
|
|
1309
|
-
extra_body: Body | None = None,
|
|
1310
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1311
|
-
) -> DocumentUnzipResponse:
|
|
1312
|
-
"""
|
|
1313
|
-
Given a document ID representing a ZIP file, unzip it, traverse the directory
|
|
1314
|
-
structure and return all PDFs found as a list of documents
|
|
1315
|
-
|
|
1316
|
-
Args:
|
|
1317
|
-
extra_headers: Send extra headers
|
|
1318
|
-
|
|
1319
|
-
extra_query: Add additional query parameters to the request
|
|
1320
|
-
|
|
1321
|
-
extra_body: Add additional JSON properties to the request
|
|
1322
|
-
|
|
1323
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
1324
|
-
"""
|
|
1325
|
-
if not document_id:
|
|
1326
|
-
raise ValueError(f"Expected a non-empty value for `document_id` but received {document_id!r}")
|
|
1327
|
-
return await self._post(
|
|
1328
|
-
f"/api/v2/documents/{document_id}/unzip",
|
|
1329
|
-
options=make_request_options(
|
|
1330
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
1331
|
-
),
|
|
1332
|
-
cast_to=DocumentUnzipResponse,
|
|
1333
|
-
)
|
|
1334
|
-
|
|
1335
|
-
async def unzip_async(
|
|
1336
|
-
self,
|
|
1337
|
-
document_id: str,
|
|
1338
|
-
*,
|
|
1339
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1340
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1341
|
-
extra_headers: Headers | None = None,
|
|
1342
|
-
extra_query: Query | None = None,
|
|
1343
|
-
extra_body: Body | None = None,
|
|
1344
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1345
|
-
) -> DocumentUnzipAsyncResponse:
|
|
1346
|
-
"""
|
|
1347
|
-
Given a document ID representing a ZIP file, unzip it, traverse the directory
|
|
1348
|
-
structure and return all PDFs found as a list of documents
|
|
1349
|
-
|
|
1350
|
-
Args:
|
|
1351
|
-
extra_headers: Send extra headers
|
|
1352
|
-
|
|
1353
|
-
extra_query: Add additional query parameters to the request
|
|
1354
|
-
|
|
1355
|
-
extra_body: Add additional JSON properties to the request
|
|
1356
|
-
|
|
1357
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
1358
|
-
"""
|
|
1359
|
-
if not document_id:
|
|
1360
|
-
raise ValueError(f"Expected a non-empty value for `document_id` but received {document_id!r}")
|
|
1361
|
-
return await self._post(
|
|
1362
|
-
f"/api/v2/documents/{document_id}/unzip-async",
|
|
1363
|
-
options=make_request_options(
|
|
1364
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
1365
|
-
),
|
|
1366
|
-
cast_to=DocumentUnzipAsyncResponse,
|
|
1367
|
-
)
|
|
1368
|
-
|
|
1369
1215
|
|
|
1370
1216
|
class DocumentsResourceWithRawResponse:
|
|
1371
1217
|
def __init__(self, documents: DocumentsResource) -> None:
|
|
@@ -1407,12 +1253,6 @@ class DocumentsResourceWithRawResponse:
|
|
|
1407
1253
|
self.transform_json_to_html = to_raw_response_wrapper(
|
|
1408
1254
|
documents.transform_json_to_html,
|
|
1409
1255
|
)
|
|
1410
|
-
self.unzip = to_raw_response_wrapper(
|
|
1411
|
-
documents.unzip,
|
|
1412
|
-
)
|
|
1413
|
-
self.unzip_async = to_raw_response_wrapper(
|
|
1414
|
-
documents.unzip_async,
|
|
1415
|
-
)
|
|
1416
1256
|
|
|
1417
1257
|
@cached_property
|
|
1418
1258
|
def legacy(self) -> LegacyResourceWithRawResponse:
|
|
@@ -1422,10 +1262,6 @@ class DocumentsResourceWithRawResponse:
|
|
|
1422
1262
|
def templates(self) -> TemplatesResourceWithRawResponse:
|
|
1423
1263
|
return TemplatesResourceWithRawResponse(self._documents.templates)
|
|
1424
1264
|
|
|
1425
|
-
@cached_property
|
|
1426
|
-
def pdf_template(self) -> PdfTemplateResourceWithRawResponse:
|
|
1427
|
-
return PdfTemplateResourceWithRawResponse(self._documents.pdf_template)
|
|
1428
|
-
|
|
1429
1265
|
@cached_property
|
|
1430
1266
|
def formats(self) -> FormatsResourceWithRawResponse:
|
|
1431
1267
|
return FormatsResourceWithRawResponse(self._documents.formats)
|
|
@@ -1471,12 +1307,6 @@ class AsyncDocumentsResourceWithRawResponse:
|
|
|
1471
1307
|
self.transform_json_to_html = async_to_raw_response_wrapper(
|
|
1472
1308
|
documents.transform_json_to_html,
|
|
1473
1309
|
)
|
|
1474
|
-
self.unzip = async_to_raw_response_wrapper(
|
|
1475
|
-
documents.unzip,
|
|
1476
|
-
)
|
|
1477
|
-
self.unzip_async = async_to_raw_response_wrapper(
|
|
1478
|
-
documents.unzip_async,
|
|
1479
|
-
)
|
|
1480
1310
|
|
|
1481
1311
|
@cached_property
|
|
1482
1312
|
def legacy(self) -> AsyncLegacyResourceWithRawResponse:
|
|
@@ -1486,10 +1316,6 @@ class AsyncDocumentsResourceWithRawResponse:
|
|
|
1486
1316
|
def templates(self) -> AsyncTemplatesResourceWithRawResponse:
|
|
1487
1317
|
return AsyncTemplatesResourceWithRawResponse(self._documents.templates)
|
|
1488
1318
|
|
|
1489
|
-
@cached_property
|
|
1490
|
-
def pdf_template(self) -> AsyncPdfTemplateResourceWithRawResponse:
|
|
1491
|
-
return AsyncPdfTemplateResourceWithRawResponse(self._documents.pdf_template)
|
|
1492
|
-
|
|
1493
1319
|
@cached_property
|
|
1494
1320
|
def formats(self) -> AsyncFormatsResourceWithRawResponse:
|
|
1495
1321
|
return AsyncFormatsResourceWithRawResponse(self._documents.formats)
|
|
@@ -1535,12 +1361,6 @@ class DocumentsResourceWithStreamingResponse:
|
|
|
1535
1361
|
self.transform_json_to_html = to_streamed_response_wrapper(
|
|
1536
1362
|
documents.transform_json_to_html,
|
|
1537
1363
|
)
|
|
1538
|
-
self.unzip = to_streamed_response_wrapper(
|
|
1539
|
-
documents.unzip,
|
|
1540
|
-
)
|
|
1541
|
-
self.unzip_async = to_streamed_response_wrapper(
|
|
1542
|
-
documents.unzip_async,
|
|
1543
|
-
)
|
|
1544
1364
|
|
|
1545
1365
|
@cached_property
|
|
1546
1366
|
def legacy(self) -> LegacyResourceWithStreamingResponse:
|
|
@@ -1550,10 +1370,6 @@ class DocumentsResourceWithStreamingResponse:
|
|
|
1550
1370
|
def templates(self) -> TemplatesResourceWithStreamingResponse:
|
|
1551
1371
|
return TemplatesResourceWithStreamingResponse(self._documents.templates)
|
|
1552
1372
|
|
|
1553
|
-
@cached_property
|
|
1554
|
-
def pdf_template(self) -> PdfTemplateResourceWithStreamingResponse:
|
|
1555
|
-
return PdfTemplateResourceWithStreamingResponse(self._documents.pdf_template)
|
|
1556
|
-
|
|
1557
1373
|
@cached_property
|
|
1558
1374
|
def formats(self) -> FormatsResourceWithStreamingResponse:
|
|
1559
1375
|
return FormatsResourceWithStreamingResponse(self._documents.formats)
|
|
@@ -1599,12 +1415,6 @@ class AsyncDocumentsResourceWithStreamingResponse:
|
|
|
1599
1415
|
self.transform_json_to_html = async_to_streamed_response_wrapper(
|
|
1600
1416
|
documents.transform_json_to_html,
|
|
1601
1417
|
)
|
|
1602
|
-
self.unzip = async_to_streamed_response_wrapper(
|
|
1603
|
-
documents.unzip,
|
|
1604
|
-
)
|
|
1605
|
-
self.unzip_async = async_to_streamed_response_wrapper(
|
|
1606
|
-
documents.unzip_async,
|
|
1607
|
-
)
|
|
1608
1418
|
|
|
1609
1419
|
@cached_property
|
|
1610
1420
|
def legacy(self) -> AsyncLegacyResourceWithStreamingResponse:
|
|
@@ -1614,10 +1424,6 @@ class AsyncDocumentsResourceWithStreamingResponse:
|
|
|
1614
1424
|
def templates(self) -> AsyncTemplatesResourceWithStreamingResponse:
|
|
1615
1425
|
return AsyncTemplatesResourceWithStreamingResponse(self._documents.templates)
|
|
1616
1426
|
|
|
1617
|
-
@cached_property
|
|
1618
|
-
def pdf_template(self) -> AsyncPdfTemplateResourceWithStreamingResponse:
|
|
1619
|
-
return AsyncPdfTemplateResourceWithStreamingResponse(self._documents.pdf_template)
|
|
1620
|
-
|
|
1621
1427
|
@cached_property
|
|
1622
1428
|
def formats(self) -> AsyncFormatsResourceWithStreamingResponse:
|
|
1623
1429
|
return AsyncFormatsResourceWithStreamingResponse(self._documents.formats)
|
samplehc/resources/v2/v2.py
CHANGED
|
@@ -10,14 +10,6 @@ from .events import (
|
|
|
10
10
|
EventsResourceWithStreamingResponse,
|
|
11
11
|
AsyncEventsResourceWithStreamingResponse,
|
|
12
12
|
)
|
|
13
|
-
from .hie.hie import (
|
|
14
|
-
HieResource,
|
|
15
|
-
AsyncHieResource,
|
|
16
|
-
HieResourceWithRawResponse,
|
|
17
|
-
AsyncHieResourceWithRawResponse,
|
|
18
|
-
HieResourceWithStreamingResponse,
|
|
19
|
-
AsyncHieResourceWithStreamingResponse,
|
|
20
|
-
)
|
|
21
13
|
from .database import (
|
|
22
14
|
DatabaseResource,
|
|
23
15
|
AsyncDatabaseResource,
|
|
@@ -26,32 +18,8 @@ from .database import (
|
|
|
26
18
|
DatabaseResourceWithStreamingResponse,
|
|
27
19
|
AsyncDatabaseResourceWithStreamingResponse,
|
|
28
20
|
)
|
|
29
|
-
from .policies import (
|
|
30
|
-
PoliciesResource,
|
|
31
|
-
AsyncPoliciesResource,
|
|
32
|
-
PoliciesResourceWithRawResponse,
|
|
33
|
-
AsyncPoliciesResourceWithRawResponse,
|
|
34
|
-
PoliciesResourceWithStreamingResponse,
|
|
35
|
-
AsyncPoliciesResourceWithStreamingResponse,
|
|
36
|
-
)
|
|
37
21
|
from ..._compat import cached_property
|
|
38
|
-
from .workflows import (
|
|
39
|
-
WorkflowsResource,
|
|
40
|
-
AsyncWorkflowsResource,
|
|
41
|
-
WorkflowsResourceWithRawResponse,
|
|
42
|
-
AsyncWorkflowsResourceWithRawResponse,
|
|
43
|
-
WorkflowsResourceWithStreamingResponse,
|
|
44
|
-
AsyncWorkflowsResourceWithStreamingResponse,
|
|
45
|
-
)
|
|
46
22
|
from ..._resource import SyncAPIResource, AsyncAPIResource
|
|
47
|
-
from .tasks.tasks import (
|
|
48
|
-
TasksResource,
|
|
49
|
-
AsyncTasksResource,
|
|
50
|
-
TasksResourceWithRawResponse,
|
|
51
|
-
AsyncTasksResourceWithRawResponse,
|
|
52
|
-
TasksResourceWithStreamingResponse,
|
|
53
|
-
AsyncTasksResourceWithStreamingResponse,
|
|
54
|
-
)
|
|
55
23
|
from .async_results import (
|
|
56
24
|
AsyncResultsResource,
|
|
57
25
|
AsyncAsyncResultsResource,
|
|
@@ -76,30 +44,6 @@ from .documents.documents import (
|
|
|
76
44
|
DocumentsResourceWithStreamingResponse,
|
|
77
45
|
AsyncDocumentsResourceWithStreamingResponse,
|
|
78
46
|
)
|
|
79
|
-
from .integrations.integrations import (
|
|
80
|
-
IntegrationsResource,
|
|
81
|
-
AsyncIntegrationsResource,
|
|
82
|
-
IntegrationsResourceWithRawResponse,
|
|
83
|
-
AsyncIntegrationsResourceWithRawResponse,
|
|
84
|
-
IntegrationsResourceWithStreamingResponse,
|
|
85
|
-
AsyncIntegrationsResourceWithStreamingResponse,
|
|
86
|
-
)
|
|
87
|
-
from .clearinghouse.clearinghouse import (
|
|
88
|
-
ClearinghouseResource,
|
|
89
|
-
AsyncClearinghouseResource,
|
|
90
|
-
ClearinghouseResourceWithRawResponse,
|
|
91
|
-
AsyncClearinghouseResourceWithRawResponse,
|
|
92
|
-
ClearinghouseResourceWithStreamingResponse,
|
|
93
|
-
AsyncClearinghouseResourceWithStreamingResponse,
|
|
94
|
-
)
|
|
95
|
-
from .workflow_runs.workflow_runs import (
|
|
96
|
-
WorkflowRunsResource,
|
|
97
|
-
AsyncWorkflowRunsResource,
|
|
98
|
-
WorkflowRunsResourceWithRawResponse,
|
|
99
|
-
AsyncWorkflowRunsResourceWithRawResponse,
|
|
100
|
-
WorkflowRunsResourceWithStreamingResponse,
|
|
101
|
-
AsyncWorkflowRunsResourceWithStreamingResponse,
|
|
102
|
-
)
|
|
103
47
|
|
|
104
48
|
__all__ = ["V2Resource", "AsyncV2Resource"]
|
|
105
49
|
|
|
@@ -109,18 +53,6 @@ class V2Resource(SyncAPIResource):
|
|
|
109
53
|
def async_results(self) -> AsyncResultsResource:
|
|
110
54
|
return AsyncResultsResource(self._client)
|
|
111
55
|
|
|
112
|
-
@cached_property
|
|
113
|
-
def workflow_runs(self) -> WorkflowRunsResource:
|
|
114
|
-
return WorkflowRunsResource(self._client)
|
|
115
|
-
|
|
116
|
-
@cached_property
|
|
117
|
-
def tasks(self) -> TasksResource:
|
|
118
|
-
return TasksResource(self._client)
|
|
119
|
-
|
|
120
|
-
@cached_property
|
|
121
|
-
def workflows(self) -> WorkflowsResource:
|
|
122
|
-
return WorkflowsResource(self._client)
|
|
123
|
-
|
|
124
56
|
@cached_property
|
|
125
57
|
def documents(self) -> DocumentsResource:
|
|
126
58
|
return DocumentsResource(self._client)
|
|
@@ -129,26 +61,10 @@ class V2Resource(SyncAPIResource):
|
|
|
129
61
|
def communication(self) -> CommunicationResource:
|
|
130
62
|
return CommunicationResource(self._client)
|
|
131
63
|
|
|
132
|
-
@cached_property
|
|
133
|
-
def clearinghouse(self) -> ClearinghouseResource:
|
|
134
|
-
return ClearinghouseResource(self._client)
|
|
135
|
-
|
|
136
|
-
@cached_property
|
|
137
|
-
def integrations(self) -> IntegrationsResource:
|
|
138
|
-
return IntegrationsResource(self._client)
|
|
139
|
-
|
|
140
64
|
@cached_property
|
|
141
65
|
def events(self) -> EventsResource:
|
|
142
66
|
return EventsResource(self._client)
|
|
143
67
|
|
|
144
|
-
@cached_property
|
|
145
|
-
def policies(self) -> PoliciesResource:
|
|
146
|
-
return PoliciesResource(self._client)
|
|
147
|
-
|
|
148
|
-
@cached_property
|
|
149
|
-
def hie(self) -> HieResource:
|
|
150
|
-
return HieResource(self._client)
|
|
151
|
-
|
|
152
68
|
@cached_property
|
|
153
69
|
def database(self) -> DatabaseResource:
|
|
154
70
|
return DatabaseResource(self._client)
|
|
@@ -178,18 +94,6 @@ class AsyncV2Resource(AsyncAPIResource):
|
|
|
178
94
|
def async_results(self) -> AsyncAsyncResultsResource:
|
|
179
95
|
return AsyncAsyncResultsResource(self._client)
|
|
180
96
|
|
|
181
|
-
@cached_property
|
|
182
|
-
def workflow_runs(self) -> AsyncWorkflowRunsResource:
|
|
183
|
-
return AsyncWorkflowRunsResource(self._client)
|
|
184
|
-
|
|
185
|
-
@cached_property
|
|
186
|
-
def tasks(self) -> AsyncTasksResource:
|
|
187
|
-
return AsyncTasksResource(self._client)
|
|
188
|
-
|
|
189
|
-
@cached_property
|
|
190
|
-
def workflows(self) -> AsyncWorkflowsResource:
|
|
191
|
-
return AsyncWorkflowsResource(self._client)
|
|
192
|
-
|
|
193
97
|
@cached_property
|
|
194
98
|
def documents(self) -> AsyncDocumentsResource:
|
|
195
99
|
return AsyncDocumentsResource(self._client)
|
|
@@ -198,26 +102,10 @@ class AsyncV2Resource(AsyncAPIResource):
|
|
|
198
102
|
def communication(self) -> AsyncCommunicationResource:
|
|
199
103
|
return AsyncCommunicationResource(self._client)
|
|
200
104
|
|
|
201
|
-
@cached_property
|
|
202
|
-
def clearinghouse(self) -> AsyncClearinghouseResource:
|
|
203
|
-
return AsyncClearinghouseResource(self._client)
|
|
204
|
-
|
|
205
|
-
@cached_property
|
|
206
|
-
def integrations(self) -> AsyncIntegrationsResource:
|
|
207
|
-
return AsyncIntegrationsResource(self._client)
|
|
208
|
-
|
|
209
105
|
@cached_property
|
|
210
106
|
def events(self) -> AsyncEventsResource:
|
|
211
107
|
return AsyncEventsResource(self._client)
|
|
212
108
|
|
|
213
|
-
@cached_property
|
|
214
|
-
def policies(self) -> AsyncPoliciesResource:
|
|
215
|
-
return AsyncPoliciesResource(self._client)
|
|
216
|
-
|
|
217
|
-
@cached_property
|
|
218
|
-
def hie(self) -> AsyncHieResource:
|
|
219
|
-
return AsyncHieResource(self._client)
|
|
220
|
-
|
|
221
109
|
@cached_property
|
|
222
110
|
def database(self) -> AsyncDatabaseResource:
|
|
223
111
|
return AsyncDatabaseResource(self._client)
|
|
@@ -250,18 +138,6 @@ class V2ResourceWithRawResponse:
|
|
|
250
138
|
def async_results(self) -> AsyncResultsResourceWithRawResponse:
|
|
251
139
|
return AsyncResultsResourceWithRawResponse(self._v2.async_results)
|
|
252
140
|
|
|
253
|
-
@cached_property
|
|
254
|
-
def workflow_runs(self) -> WorkflowRunsResourceWithRawResponse:
|
|
255
|
-
return WorkflowRunsResourceWithRawResponse(self._v2.workflow_runs)
|
|
256
|
-
|
|
257
|
-
@cached_property
|
|
258
|
-
def tasks(self) -> TasksResourceWithRawResponse:
|
|
259
|
-
return TasksResourceWithRawResponse(self._v2.tasks)
|
|
260
|
-
|
|
261
|
-
@cached_property
|
|
262
|
-
def workflows(self) -> WorkflowsResourceWithRawResponse:
|
|
263
|
-
return WorkflowsResourceWithRawResponse(self._v2.workflows)
|
|
264
|
-
|
|
265
141
|
@cached_property
|
|
266
142
|
def documents(self) -> DocumentsResourceWithRawResponse:
|
|
267
143
|
return DocumentsResourceWithRawResponse(self._v2.documents)
|
|
@@ -270,26 +146,10 @@ class V2ResourceWithRawResponse:
|
|
|
270
146
|
def communication(self) -> CommunicationResourceWithRawResponse:
|
|
271
147
|
return CommunicationResourceWithRawResponse(self._v2.communication)
|
|
272
148
|
|
|
273
|
-
@cached_property
|
|
274
|
-
def clearinghouse(self) -> ClearinghouseResourceWithRawResponse:
|
|
275
|
-
return ClearinghouseResourceWithRawResponse(self._v2.clearinghouse)
|
|
276
|
-
|
|
277
|
-
@cached_property
|
|
278
|
-
def integrations(self) -> IntegrationsResourceWithRawResponse:
|
|
279
|
-
return IntegrationsResourceWithRawResponse(self._v2.integrations)
|
|
280
|
-
|
|
281
149
|
@cached_property
|
|
282
150
|
def events(self) -> EventsResourceWithRawResponse:
|
|
283
151
|
return EventsResourceWithRawResponse(self._v2.events)
|
|
284
152
|
|
|
285
|
-
@cached_property
|
|
286
|
-
def policies(self) -> PoliciesResourceWithRawResponse:
|
|
287
|
-
return PoliciesResourceWithRawResponse(self._v2.policies)
|
|
288
|
-
|
|
289
|
-
@cached_property
|
|
290
|
-
def hie(self) -> HieResourceWithRawResponse:
|
|
291
|
-
return HieResourceWithRawResponse(self._v2.hie)
|
|
292
|
-
|
|
293
153
|
@cached_property
|
|
294
154
|
def database(self) -> DatabaseResourceWithRawResponse:
|
|
295
155
|
return DatabaseResourceWithRawResponse(self._v2.database)
|
|
@@ -303,18 +163,6 @@ class AsyncV2ResourceWithRawResponse:
|
|
|
303
163
|
def async_results(self) -> AsyncAsyncResultsResourceWithRawResponse:
|
|
304
164
|
return AsyncAsyncResultsResourceWithRawResponse(self._v2.async_results)
|
|
305
165
|
|
|
306
|
-
@cached_property
|
|
307
|
-
def workflow_runs(self) -> AsyncWorkflowRunsResourceWithRawResponse:
|
|
308
|
-
return AsyncWorkflowRunsResourceWithRawResponse(self._v2.workflow_runs)
|
|
309
|
-
|
|
310
|
-
@cached_property
|
|
311
|
-
def tasks(self) -> AsyncTasksResourceWithRawResponse:
|
|
312
|
-
return AsyncTasksResourceWithRawResponse(self._v2.tasks)
|
|
313
|
-
|
|
314
|
-
@cached_property
|
|
315
|
-
def workflows(self) -> AsyncWorkflowsResourceWithRawResponse:
|
|
316
|
-
return AsyncWorkflowsResourceWithRawResponse(self._v2.workflows)
|
|
317
|
-
|
|
318
166
|
@cached_property
|
|
319
167
|
def documents(self) -> AsyncDocumentsResourceWithRawResponse:
|
|
320
168
|
return AsyncDocumentsResourceWithRawResponse(self._v2.documents)
|
|
@@ -323,26 +171,10 @@ class AsyncV2ResourceWithRawResponse:
|
|
|
323
171
|
def communication(self) -> AsyncCommunicationResourceWithRawResponse:
|
|
324
172
|
return AsyncCommunicationResourceWithRawResponse(self._v2.communication)
|
|
325
173
|
|
|
326
|
-
@cached_property
|
|
327
|
-
def clearinghouse(self) -> AsyncClearinghouseResourceWithRawResponse:
|
|
328
|
-
return AsyncClearinghouseResourceWithRawResponse(self._v2.clearinghouse)
|
|
329
|
-
|
|
330
|
-
@cached_property
|
|
331
|
-
def integrations(self) -> AsyncIntegrationsResourceWithRawResponse:
|
|
332
|
-
return AsyncIntegrationsResourceWithRawResponse(self._v2.integrations)
|
|
333
|
-
|
|
334
174
|
@cached_property
|
|
335
175
|
def events(self) -> AsyncEventsResourceWithRawResponse:
|
|
336
176
|
return AsyncEventsResourceWithRawResponse(self._v2.events)
|
|
337
177
|
|
|
338
|
-
@cached_property
|
|
339
|
-
def policies(self) -> AsyncPoliciesResourceWithRawResponse:
|
|
340
|
-
return AsyncPoliciesResourceWithRawResponse(self._v2.policies)
|
|
341
|
-
|
|
342
|
-
@cached_property
|
|
343
|
-
def hie(self) -> AsyncHieResourceWithRawResponse:
|
|
344
|
-
return AsyncHieResourceWithRawResponse(self._v2.hie)
|
|
345
|
-
|
|
346
178
|
@cached_property
|
|
347
179
|
def database(self) -> AsyncDatabaseResourceWithRawResponse:
|
|
348
180
|
return AsyncDatabaseResourceWithRawResponse(self._v2.database)
|
|
@@ -356,18 +188,6 @@ class V2ResourceWithStreamingResponse:
|
|
|
356
188
|
def async_results(self) -> AsyncResultsResourceWithStreamingResponse:
|
|
357
189
|
return AsyncResultsResourceWithStreamingResponse(self._v2.async_results)
|
|
358
190
|
|
|
359
|
-
@cached_property
|
|
360
|
-
def workflow_runs(self) -> WorkflowRunsResourceWithStreamingResponse:
|
|
361
|
-
return WorkflowRunsResourceWithStreamingResponse(self._v2.workflow_runs)
|
|
362
|
-
|
|
363
|
-
@cached_property
|
|
364
|
-
def tasks(self) -> TasksResourceWithStreamingResponse:
|
|
365
|
-
return TasksResourceWithStreamingResponse(self._v2.tasks)
|
|
366
|
-
|
|
367
|
-
@cached_property
|
|
368
|
-
def workflows(self) -> WorkflowsResourceWithStreamingResponse:
|
|
369
|
-
return WorkflowsResourceWithStreamingResponse(self._v2.workflows)
|
|
370
|
-
|
|
371
191
|
@cached_property
|
|
372
192
|
def documents(self) -> DocumentsResourceWithStreamingResponse:
|
|
373
193
|
return DocumentsResourceWithStreamingResponse(self._v2.documents)
|
|
@@ -376,26 +196,10 @@ class V2ResourceWithStreamingResponse:
|
|
|
376
196
|
def communication(self) -> CommunicationResourceWithStreamingResponse:
|
|
377
197
|
return CommunicationResourceWithStreamingResponse(self._v2.communication)
|
|
378
198
|
|
|
379
|
-
@cached_property
|
|
380
|
-
def clearinghouse(self) -> ClearinghouseResourceWithStreamingResponse:
|
|
381
|
-
return ClearinghouseResourceWithStreamingResponse(self._v2.clearinghouse)
|
|
382
|
-
|
|
383
|
-
@cached_property
|
|
384
|
-
def integrations(self) -> IntegrationsResourceWithStreamingResponse:
|
|
385
|
-
return IntegrationsResourceWithStreamingResponse(self._v2.integrations)
|
|
386
|
-
|
|
387
199
|
@cached_property
|
|
388
200
|
def events(self) -> EventsResourceWithStreamingResponse:
|
|
389
201
|
return EventsResourceWithStreamingResponse(self._v2.events)
|
|
390
202
|
|
|
391
|
-
@cached_property
|
|
392
|
-
def policies(self) -> PoliciesResourceWithStreamingResponse:
|
|
393
|
-
return PoliciesResourceWithStreamingResponse(self._v2.policies)
|
|
394
|
-
|
|
395
|
-
@cached_property
|
|
396
|
-
def hie(self) -> HieResourceWithStreamingResponse:
|
|
397
|
-
return HieResourceWithStreamingResponse(self._v2.hie)
|
|
398
|
-
|
|
399
203
|
@cached_property
|
|
400
204
|
def database(self) -> DatabaseResourceWithStreamingResponse:
|
|
401
205
|
return DatabaseResourceWithStreamingResponse(self._v2.database)
|
|
@@ -409,18 +213,6 @@ class AsyncV2ResourceWithStreamingResponse:
|
|
|
409
213
|
def async_results(self) -> AsyncAsyncResultsResourceWithStreamingResponse:
|
|
410
214
|
return AsyncAsyncResultsResourceWithStreamingResponse(self._v2.async_results)
|
|
411
215
|
|
|
412
|
-
@cached_property
|
|
413
|
-
def workflow_runs(self) -> AsyncWorkflowRunsResourceWithStreamingResponse:
|
|
414
|
-
return AsyncWorkflowRunsResourceWithStreamingResponse(self._v2.workflow_runs)
|
|
415
|
-
|
|
416
|
-
@cached_property
|
|
417
|
-
def tasks(self) -> AsyncTasksResourceWithStreamingResponse:
|
|
418
|
-
return AsyncTasksResourceWithStreamingResponse(self._v2.tasks)
|
|
419
|
-
|
|
420
|
-
@cached_property
|
|
421
|
-
def workflows(self) -> AsyncWorkflowsResourceWithStreamingResponse:
|
|
422
|
-
return AsyncWorkflowsResourceWithStreamingResponse(self._v2.workflows)
|
|
423
|
-
|
|
424
216
|
@cached_property
|
|
425
217
|
def documents(self) -> AsyncDocumentsResourceWithStreamingResponse:
|
|
426
218
|
return AsyncDocumentsResourceWithStreamingResponse(self._v2.documents)
|
|
@@ -429,26 +221,10 @@ class AsyncV2ResourceWithStreamingResponse:
|
|
|
429
221
|
def communication(self) -> AsyncCommunicationResourceWithStreamingResponse:
|
|
430
222
|
return AsyncCommunicationResourceWithStreamingResponse(self._v2.communication)
|
|
431
223
|
|
|
432
|
-
@cached_property
|
|
433
|
-
def clearinghouse(self) -> AsyncClearinghouseResourceWithStreamingResponse:
|
|
434
|
-
return AsyncClearinghouseResourceWithStreamingResponse(self._v2.clearinghouse)
|
|
435
|
-
|
|
436
|
-
@cached_property
|
|
437
|
-
def integrations(self) -> AsyncIntegrationsResourceWithStreamingResponse:
|
|
438
|
-
return AsyncIntegrationsResourceWithStreamingResponse(self._v2.integrations)
|
|
439
|
-
|
|
440
224
|
@cached_property
|
|
441
225
|
def events(self) -> AsyncEventsResourceWithStreamingResponse:
|
|
442
226
|
return AsyncEventsResourceWithStreamingResponse(self._v2.events)
|
|
443
227
|
|
|
444
|
-
@cached_property
|
|
445
|
-
def policies(self) -> AsyncPoliciesResourceWithStreamingResponse:
|
|
446
|
-
return AsyncPoliciesResourceWithStreamingResponse(self._v2.policies)
|
|
447
|
-
|
|
448
|
-
@cached_property
|
|
449
|
-
def hie(self) -> AsyncHieResourceWithStreamingResponse:
|
|
450
|
-
return AsyncHieResourceWithStreamingResponse(self._v2.hie)
|
|
451
|
-
|
|
452
228
|
@cached_property
|
|
453
229
|
def database(self) -> AsyncDatabaseResourceWithStreamingResponse:
|
|
454
230
|
return AsyncDatabaseResourceWithStreamingResponse(self._v2.database)
|
samplehc/types/__init__.py
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from .v1_sql_execute_params import V1SqlExecuteParams as V1SqlExecuteParams
|
|
6
|
-
from .v1_sql_execute_response import V1SqlExecuteResponse as V1SqlExecuteResponse
|
|
7
|
-
from .v1_query_audit_logs_params import V1QueryAuditLogsParams as V1QueryAuditLogsParams
|
|
8
|
-
from .v1_query_audit_logs_response import V1QueryAuditLogsResponse as V1QueryAuditLogsResponse
|