samplehc 0.17.0__tar.gz → 0.18.0__tar.gz
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-0.18.0/.release-please-manifest.json +3 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/CHANGELOG.md +8 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/PKG-INFO +22 -27
- {samplehc-0.17.0 → samplehc-0.18.0}/README.md +21 -26
- samplehc-0.18.0/api.md +137 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/pyproject.toml +1 -1
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_client.py +1 -38
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_version.py +1 -1
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/resources/__init__.py +0 -14
- samplehc-0.18.0/src/samplehc/resources/v2/__init__.py +89 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/resources/v2/async_results.py +0 -79
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/resources/v2/documents/__init__.py +0 -14
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/resources/v2/documents/documents.py +0 -194
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/resources/v2/v2.py +0 -224
- samplehc-0.18.0/src/samplehc/types/v2/__init__.py +45 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/documents/__init__.py +0 -3
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/api_resources/v2/test_async_results.py +1 -85
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/api_resources/v2/test_documents.py +0 -170
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/test_client.py +24 -24
- samplehc-0.17.0/.release-please-manifest.json +0 -3
- samplehc-0.17.0/api.md +0 -476
- samplehc-0.17.0/src/samplehc/resources/v1/__init__.py +0 -19
- samplehc-0.17.0/src/samplehc/resources/v1/v1.py +0 -298
- samplehc-0.17.0/src/samplehc/resources/v2/__init__.py +0 -187
- samplehc-0.17.0/src/samplehc/resources/v2/clearinghouse/__init__.py +0 -47
- samplehc-0.17.0/src/samplehc/resources/v2/clearinghouse/claim.py +0 -407
- samplehc-0.17.0/src/samplehc/resources/v2/clearinghouse/clearinghouse.py +0 -844
- samplehc-0.17.0/src/samplehc/resources/v2/clearinghouse/payers.py +0 -224
- samplehc-0.17.0/src/samplehc/resources/v2/documents/pdf_template.py +0 -165
- samplehc-0.17.0/src/samplehc/resources/v2/hie/__init__.py +0 -47
- samplehc-0.17.0/src/samplehc/resources/v2/hie/adt.py +0 -249
- samplehc-0.17.0/src/samplehc/resources/v2/hie/documents.py +0 -390
- samplehc-0.17.0/src/samplehc/resources/v2/hie/hie.py +0 -134
- samplehc-0.17.0/src/samplehc/resources/v2/integrations/__init__.py +0 -131
- samplehc-0.17.0/src/samplehc/resources/v2/integrations/bank/__init__.py +0 -33
- samplehc-0.17.0/src/samplehc/resources/v2/integrations/bank/bank.py +0 -102
- samplehc-0.17.0/src/samplehc/resources/v2/integrations/bank/transactions.py +0 -185
- samplehc-0.17.0/src/samplehc/resources/v2/integrations/careviso.py +0 -372
- samplehc-0.17.0/src/samplehc/resources/v2/integrations/glidian/__init__.py +0 -33
- samplehc-0.17.0/src/samplehc/resources/v2/integrations/glidian/glidian.py +0 -425
- samplehc-0.17.0/src/samplehc/resources/v2/integrations/glidian/prior_authorizations/__init__.py +0 -33
- samplehc-0.17.0/src/samplehc/resources/v2/integrations/glidian/prior_authorizations/clinical_questions.py +0 -276
- samplehc-0.17.0/src/samplehc/resources/v2/integrations/glidian/prior_authorizations/prior_authorizations.py +0 -527
- samplehc-0.17.0/src/samplehc/resources/v2/integrations/integrations.py +0 -326
- samplehc-0.17.0/src/samplehc/resources/v2/integrations/kno2/__init__.py +0 -33
- samplehc-0.17.0/src/samplehc/resources/v2/integrations/kno2/kno2.py +0 -102
- samplehc-0.17.0/src/samplehc/resources/v2/integrations/kno2/messages.py +0 -260
- samplehc-0.17.0/src/samplehc/resources/v2/integrations/salesforce.py +0 -277
- samplehc-0.17.0/src/samplehc/resources/v2/integrations/snowflake.py +0 -173
- samplehc-0.17.0/src/samplehc/resources/v2/integrations/wellsky/__init__.py +0 -33
- samplehc-0.17.0/src/samplehc/resources/v2/integrations/wellsky/patients.py +0 -324
- samplehc-0.17.0/src/samplehc/resources/v2/integrations/wellsky/wellsky.py +0 -102
- samplehc-0.17.0/src/samplehc/resources/v2/integrations/xcures.py +0 -197
- samplehc-0.17.0/src/samplehc/resources/v2/policies.py +0 -655
- samplehc-0.17.0/src/samplehc/resources/v2/tasks/__init__.py +0 -33
- samplehc-0.17.0/src/samplehc/resources/v2/tasks/state.py +0 -266
- samplehc-0.17.0/src/samplehc/resources/v2/tasks/tasks.py +0 -754
- samplehc-0.17.0/src/samplehc/resources/v2/workflow_runs/__init__.py +0 -33
- samplehc-0.17.0/src/samplehc/resources/v2/workflow_runs/step.py +0 -169
- samplehc-0.17.0/src/samplehc/resources/v2/workflow_runs/workflow_runs.py +0 -479
- samplehc-0.17.0/src/samplehc/resources/v2/workflows.py +0 -377
- samplehc-0.17.0/src/samplehc/types/__init__.py +0 -8
- samplehc-0.17.0/src/samplehc/types/v1_query_audit_logs_params.py +0 -12
- samplehc-0.17.0/src/samplehc/types/v1_query_audit_logs_response.py +0 -16
- samplehc-0.17.0/src/samplehc/types/v1_sql_execute_params.py +0 -27
- samplehc-0.17.0/src/samplehc/types/v1_sql_execute_response.py +0 -27
- samplehc-0.17.0/src/samplehc/types/v2/__init__.py +0 -98
- samplehc-0.17.0/src/samplehc/types/v2/async_result_retrieve_response.py +0 -18
- samplehc-0.17.0/src/samplehc/types/v2/clearinghouse/__init__.py +0 -9
- samplehc-0.17.0/src/samplehc/types/v2/clearinghouse/claim_submit_params.py +0 -2693
- samplehc-0.17.0/src/samplehc/types/v2/clearinghouse/claim_submit_response.py +0 -23
- samplehc-0.17.0/src/samplehc/types/v2/clearinghouse/payer_list_response.py +0 -27
- samplehc-0.17.0/src/samplehc/types/v2/clearinghouse/payer_search_params.py +0 -12
- samplehc-0.17.0/src/samplehc/types/v2/clearinghouse/payer_search_response.py +0 -33
- samplehc-0.17.0/src/samplehc/types/v2/clearinghouse_calculate_patient_cost_params.py +0 -3129
- samplehc-0.17.0/src/samplehc/types/v2/clearinghouse_check_claim_status_params.py +0 -41
- samplehc-0.17.0/src/samplehc/types/v2/clearinghouse_check_eligibility_params.py +0 -36
- samplehc-0.17.0/src/samplehc/types/v2/clearinghouse_check_eligibility_response.py +0 -15
- samplehc-0.17.0/src/samplehc/types/v2/clearinghouse_coordination_of_benefits_params.py +0 -35
- samplehc-0.17.0/src/samplehc/types/v2/clearinghouse_run_discovery_params.py +0 -59
- samplehc-0.17.0/src/samplehc/types/v2/clearinghouse_run_discovery_response.py +0 -13
- samplehc-0.17.0/src/samplehc/types/v2/document_unzip_async_response.py +0 -12
- samplehc-0.17.0/src/samplehc/types/v2/document_unzip_response.py +0 -20
- samplehc-0.17.0/src/samplehc/types/v2/documents/pdf_template_retrieve_metadata_response.py +0 -17
- samplehc-0.17.0/src/samplehc/types/v2/hie/__init__.py +0 -8
- samplehc-0.17.0/src/samplehc/types/v2/hie/adt_subscribe_params.py +0 -92
- samplehc-0.17.0/src/samplehc/types/v2/hie/document_query_params.py +0 -92
- samplehc-0.17.0/src/samplehc/types/v2/hie/document_query_response.py +0 -16
- samplehc-0.17.0/src/samplehc/types/v2/hie/document_upload_params.py +0 -54
- samplehc-0.17.0/src/samplehc/types/v2/integrations/__init__.py +0 -23
- samplehc-0.17.0/src/samplehc/types/v2/integrations/bank/__init__.py +0 -6
- samplehc-0.17.0/src/samplehc/types/v2/integrations/bank/transaction_sync_params.py +0 -15
- samplehc-0.17.0/src/samplehc/types/v2/integrations/bank/transaction_sync_response.py +0 -26
- samplehc-0.17.0/src/samplehc/types/v2/integrations/careviso_get_payers_response.py +0 -19
- samplehc-0.17.0/src/samplehc/types/v2/integrations/careviso_submit_prior_authorization_params.py +0 -90
- samplehc-0.17.0/src/samplehc/types/v2/integrations/glidian/__init__.py +0 -20
- samplehc-0.17.0/src/samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_params.py +0 -32
- samplehc-0.17.0/src/samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_response.py +0 -24
- samplehc-0.17.0/src/samplehc/types/v2/integrations/glidian/prior_authorization_retrieve_record_response.py +0 -13
- samplehc-0.17.0/src/samplehc/types/v2/integrations/glidian/prior_authorization_submit_response.py +0 -16
- samplehc-0.17.0/src/samplehc/types/v2/integrations/glidian/prior_authorization_update_record_params.py +0 -20
- samplehc-0.17.0/src/samplehc/types/v2/integrations/glidian/prior_authorization_update_record_response.py +0 -16
- samplehc-0.17.0/src/samplehc/types/v2/integrations/glidian/prior_authorizations/__init__.py +0 -7
- samplehc-0.17.0/src/samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_list_response.py +0 -42
- samplehc-0.17.0/src/samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_params.py +0 -23
- samplehc-0.17.0/src/samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_response.py +0 -19
- samplehc-0.17.0/src/samplehc/types/v2/integrations/glidian_get_submission_requirements_params.py +0 -17
- samplehc-0.17.0/src/samplehc/types/v2/integrations/glidian_get_submission_requirements_response.py +0 -31
- samplehc-0.17.0/src/samplehc/types/v2/integrations/glidian_list_payers_params.py +0 -11
- samplehc-0.17.0/src/samplehc/types/v2/integrations/glidian_list_payers_response.py +0 -17
- samplehc-0.17.0/src/samplehc/types/v2/integrations/glidian_list_services_params.py +0 -13
- samplehc-0.17.0/src/samplehc/types/v2/integrations/glidian_list_services_response.py +0 -19
- samplehc-0.17.0/src/samplehc/types/v2/integrations/kno2/__init__.py +0 -6
- samplehc-0.17.0/src/samplehc/types/v2/integrations/kno2/message_get_attachment_response.py +0 -15
- samplehc-0.17.0/src/samplehc/types/v2/integrations/kno2/message_retrieve_response.py +0 -13
- samplehc-0.17.0/src/samplehc/types/v2/integrations/salesforce_run_crud_action_params.py +0 -22
- samplehc-0.17.0/src/samplehc/types/v2/integrations/salesforce_run_soql_query_params.py +0 -11
- samplehc-0.17.0/src/samplehc/types/v2/integrations/snowflake_query_params.py +0 -12
- samplehc-0.17.0/src/samplehc/types/v2/integrations/snowflake_query_response.py +0 -8
- samplehc-0.17.0/src/samplehc/types/v2/integrations/wellsky/__init__.py +0 -6
- samplehc-0.17.0/src/samplehc/types/v2/integrations/wellsky/patient_add_params.py +0 -13
- samplehc-0.17.0/src/samplehc/types/v2/integrations/wellsky/patient_search_params.py +0 -32
- samplehc-0.17.0/src/samplehc/types/v2/integrations/xcure_make_request_params.py +0 -18
- samplehc-0.17.0/src/samplehc/types/v2/ledger/__init__.py +0 -3
- samplehc-0.17.0/src/samplehc/types/v2/policy_list_companies_params.py +0 -18
- samplehc-0.17.0/src/samplehc/types/v2/policy_list_companies_response.py +0 -24
- samplehc-0.17.0/src/samplehc/types/v2/policy_list_params.py +0 -47
- samplehc-0.17.0/src/samplehc/types/v2/policy_list_plans_params.py +0 -18
- samplehc-0.17.0/src/samplehc/types/v2/policy_list_plans_response.py +0 -30
- samplehc-0.17.0/src/samplehc/types/v2/policy_list_response.py +0 -67
- samplehc-0.17.0/src/samplehc/types/v2/policy_retrieve_presigned_url_response.py +0 -17
- samplehc-0.17.0/src/samplehc/types/v2/policy_retrieve_text_response.py +0 -12
- samplehc-0.17.0/src/samplehc/types/v2/task_cancel_response.py +0 -12
- samplehc-0.17.0/src/samplehc/types/v2/task_complete_params.py +0 -12
- samplehc-0.17.0/src/samplehc/types/v2/task_complete_response.py +0 -16
- samplehc-0.17.0/src/samplehc/types/v2/task_get_suspended_payload_response.py +0 -8
- samplehc-0.17.0/src/samplehc/types/v2/task_retrieve_response.py +0 -22
- samplehc-0.17.0/src/samplehc/types/v2/task_retry_response.py +0 -10
- samplehc-0.17.0/src/samplehc/types/v2/task_update_column_params.py +0 -19
- samplehc-0.17.0/src/samplehc/types/v2/task_update_column_response.py +0 -9
- samplehc-0.17.0/src/samplehc/types/v2/task_update_screen_time_params.py +0 -14
- samplehc-0.17.0/src/samplehc/types/v2/task_update_screen_time_response.py +0 -8
- samplehc-0.17.0/src/samplehc/types/v2/tasks/__init__.py +0 -7
- samplehc-0.17.0/src/samplehc/types/v2/tasks/state_get_response.py +0 -8
- samplehc-0.17.0/src/samplehc/types/v2/tasks/state_update_params.py +0 -13
- samplehc-0.17.0/src/samplehc/types/v2/tasks/state_update_response.py +0 -9
- samplehc-0.17.0/src/samplehc/types/v2/workflow_deploy_response.py +0 -12
- samplehc-0.17.0/src/samplehc/types/v2/workflow_query_params.py +0 -12
- samplehc-0.17.0/src/samplehc/types/v2/workflow_query_response.py +0 -8
- samplehc-0.17.0/src/samplehc/types/v2/workflow_run_get_start_data_response.py +0 -14
- samplehc-0.17.0/src/samplehc/types/v2/workflow_run_resume_when_complete_params.py +0 -14
- samplehc-0.17.0/src/samplehc/types/v2/workflow_run_resume_when_complete_response.py +0 -12
- samplehc-0.17.0/src/samplehc/types/v2/workflow_run_retrieve_response.py +0 -16
- samplehc-0.17.0/src/samplehc/types/v2/workflow_runs/__init__.py +0 -5
- samplehc-0.17.0/src/samplehc/types/v2/workflow_runs/step_get_output_response.py +0 -14
- samplehc-0.17.0/src/samplehc/types/v2/workflow_start_params.py +0 -25
- samplehc-0.17.0/src/samplehc/types/v2/workflow_start_response.py +0 -25
- samplehc-0.17.0/tests/api_resources/test_v1.py +0 -183
- samplehc-0.17.0/tests/api_resources/v2/clearinghouse/__init__.py +0 -1
- samplehc-0.17.0/tests/api_resources/v2/clearinghouse/test_claim.py +0 -2592
- samplehc-0.17.0/tests/api_resources/v2/clearinghouse/test_payers.py +0 -148
- samplehc-0.17.0/tests/api_resources/v2/documents/__init__.py +0 -1
- samplehc-0.17.0/tests/api_resources/v2/documents/test_pdf_template.py +0 -108
- samplehc-0.17.0/tests/api_resources/v2/hie/__init__.py +0 -1
- samplehc-0.17.0/tests/api_resources/v2/hie/test_adt.py +0 -233
- samplehc-0.17.0/tests/api_resources/v2/hie/test_documents.py +0 -366
- samplehc-0.17.0/tests/api_resources/v2/integrations/__init__.py +0 -1
- samplehc-0.17.0/tests/api_resources/v2/integrations/bank/__init__.py +0 -1
- samplehc-0.17.0/tests/api_resources/v2/integrations/bank/test_transactions.py +0 -110
- samplehc-0.17.0/tests/api_resources/v2/integrations/glidian/__init__.py +0 -1
- samplehc-0.17.0/tests/api_resources/v2/integrations/glidian/prior_authorizations/__init__.py +0 -1
- samplehc-0.17.0/tests/api_resources/v2/integrations/glidian/prior_authorizations/test_clinical_questions.py +0 -253
- samplehc-0.17.0/tests/api_resources/v2/integrations/glidian/test_prior_authorizations.py +0 -569
- samplehc-0.17.0/tests/api_resources/v2/integrations/kno2/__init__.py +0 -1
- samplehc-0.17.0/tests/api_resources/v2/integrations/kno2/test_messages.py +0 -256
- samplehc-0.17.0/tests/api_resources/v2/integrations/test_careviso.py +0 -464
- samplehc-0.17.0/tests/api_resources/v2/integrations/test_glidian.py +0 -356
- samplehc-0.17.0/tests/api_resources/v2/integrations/test_salesforce.py +0 -239
- samplehc-0.17.0/tests/api_resources/v2/integrations/test_snowflake.py +0 -116
- samplehc-0.17.0/tests/api_resources/v2/integrations/test_xcures.py +0 -147
- samplehc-0.17.0/tests/api_resources/v2/integrations/wellsky/__init__.py +0 -1
- samplehc-0.17.0/tests/api_resources/v2/integrations/wellsky/test_patients.py +0 -229
- samplehc-0.17.0/tests/api_resources/v2/tasks/__init__.py +0 -1
- samplehc-0.17.0/tests/api_resources/v2/tasks/test_state.py +0 -220
- samplehc-0.17.0/tests/api_resources/v2/test_clearinghouse.py +0 -635
- samplehc-0.17.0/tests/api_resources/v2/test_policies.py +0 -444
- samplehc-0.17.0/tests/api_resources/v2/test_tasks.py +0 -684
- samplehc-0.17.0/tests/api_resources/v2/test_workflow_runs.py +0 -376
- samplehc-0.17.0/tests/api_resources/v2/test_workflows.py +0 -308
- samplehc-0.17.0/tests/api_resources/v2/workflow_runs/__init__.py +0 -1
- samplehc-0.17.0/tests/api_resources/v2/workflow_runs/test_step.py +0 -108
- {samplehc-0.17.0 → samplehc-0.18.0}/.gitignore +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/CONTRIBUTING.md +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/LICENSE +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/SECURITY.md +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/bin/check-release-environment +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/bin/publish-pypi +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/examples/.keep +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/noxfile.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/release-please-config.json +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/requirements-dev.lock +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/requirements.lock +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/__init__.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_base_client.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_compat.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_constants.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_exceptions.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_files.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_models.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_qs.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_resource.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_streaming.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_types.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_utils/__init__.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_utils/_compat.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_utils/_datetime_parse.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_utils/_logs.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_utils/_proxy.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_utils/_reflection.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_utils/_resources_proxy.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_utils/_streams.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_utils/_sync.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_utils/_transform.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_utils/_typing.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/_utils/_utils.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/lib/.keep +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/py.typed +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/resources/v2/communication.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/resources/v2/database.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/resources/v2/documents/formats.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/resources/v2/documents/legacy.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/resources/v2/documents/templates.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/resources/v2/events.py +0 -0
- {samplehc-0.17.0/src/samplehc/types/v1 → samplehc-0.18.0/src/samplehc/types}/__init__.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/async_result_sleep_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/async_result_sleep_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/communication_send_email_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/communication_send_email_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/communication_send_fax_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/communication_send_fax_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/communication_send_letter_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/communication_send_letter_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/database_execute_sql_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/database_execute_sql_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_classify_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_classify_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_combine_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_combine_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_create_from_splits_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_create_from_splits_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_extract_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_extract_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_generate_csv_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_generate_csv_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_presigned_upload_url_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_presigned_upload_url_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_retrieve_csv_content_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_retrieve_metadata_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_retrieve_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_search_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_search_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_split_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_split_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_transform_json_to_html_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/document_transform_json_to_html_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/documents/format_create_pdf_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/documents/format_create_pdf_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/documents/legacy_extract_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/documents/legacy_extract_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/documents/legacy_reason_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/documents/legacy_reason_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/documents/legacy_split_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/documents/legacy_split_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/documents/template_generate_document_async_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/documents/template_generate_document_async_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/documents/template_render_document_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/documents/template_render_document_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/event_emit_params.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/src/samplehc/types/v2/event_emit_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/__init__.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/api_resources/__init__.py +0 -0
- {samplehc-0.17.0/tests/api_resources/v1 → samplehc-0.18.0/tests/api_resources/v2}/__init__.py +0 -0
- {samplehc-0.17.0/tests/api_resources/v2 → samplehc-0.18.0/tests/api_resources/v2/documents}/__init__.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/api_resources/v2/documents/test_formats.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/api_resources/v2/documents/test_legacy.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/api_resources/v2/documents/test_templates.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/api_resources/v2/test_communication.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/api_resources/v2/test_database.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/api_resources/v2/test_events.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/conftest.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/sample_file.txt +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/test_deepcopy.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/test_extract_files.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/test_files.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/test_models.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/test_qs.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/test_required_args.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/test_response.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/test_streaming.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/test_transform.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/test_utils/test_proxy.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/test_utils/test_typing.py +0 -0
- {samplehc-0.17.0 → samplehc-0.18.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.18.0 (2026-01-23)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.17.0...v0.18.0](https://github.com/samplehc/samplehc-python/compare/v0.17.0...v0.18.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** manual updates ([406e85a](https://github.com/samplehc/samplehc-python/commit/406e85ac537ee203758ecbf101a38e630801e14b))
|
|
10
|
+
|
|
3
11
|
## 0.17.0 (2026-01-23)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.16.0...v0.17.0](https://github.com/samplehc/samplehc-python/compare/v0.16.0...v0.17.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: samplehc
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.18.0
|
|
4
4
|
Summary: The official Python library for the Sample Healthcare API
|
|
5
5
|
Project-URL: Homepage, https://github.com/samplehc/samplehc-python
|
|
6
6
|
Project-URL: Repository, https://github.com/samplehc/samplehc-python
|
|
@@ -67,10 +67,10 @@ client = SampleHealthcare(
|
|
|
67
67
|
api_key=os.environ.get("SAMPLEHC_API_KEY"), # This is the default and can be omitted
|
|
68
68
|
)
|
|
69
69
|
|
|
70
|
-
response = client.
|
|
71
|
-
|
|
72
|
-
params=[{}],
|
|
70
|
+
response = client.v2.async_results.sleep(
|
|
71
|
+
delay=1,
|
|
73
72
|
)
|
|
73
|
+
print(response.async_result_id)
|
|
74
74
|
```
|
|
75
75
|
|
|
76
76
|
While you can provide an `api_key` keyword argument,
|
|
@@ -93,10 +93,10 @@ client = AsyncSampleHealthcare(
|
|
|
93
93
|
|
|
94
94
|
|
|
95
95
|
async def main() -> None:
|
|
96
|
-
response = await client.
|
|
97
|
-
|
|
98
|
-
params=[{}],
|
|
96
|
+
response = await client.v2.async_results.sleep(
|
|
97
|
+
delay=1,
|
|
99
98
|
)
|
|
99
|
+
print(response.async_result_id)
|
|
100
100
|
|
|
101
101
|
|
|
102
102
|
asyncio.run(main())
|
|
@@ -129,10 +129,10 @@ async def main() -> None:
|
|
|
129
129
|
api_key=os.environ.get("SAMPLEHC_API_KEY"), # This is the default and can be omitted
|
|
130
130
|
http_client=DefaultAioHttpClient(),
|
|
131
131
|
) as client:
|
|
132
|
-
response = await client.
|
|
133
|
-
|
|
134
|
-
params=[{}],
|
|
132
|
+
response = await client.v2.async_results.sleep(
|
|
133
|
+
delay=1,
|
|
135
134
|
)
|
|
135
|
+
print(response.async_result_id)
|
|
136
136
|
|
|
137
137
|
|
|
138
138
|
asyncio.run(main())
|
|
@@ -182,9 +182,8 @@ from samplehc import SampleHealthcare
|
|
|
182
182
|
client = SampleHealthcare()
|
|
183
183
|
|
|
184
184
|
try:
|
|
185
|
-
client.
|
|
186
|
-
|
|
187
|
-
params=[{}],
|
|
185
|
+
client.v2.async_results.sleep(
|
|
186
|
+
delay=1,
|
|
188
187
|
)
|
|
189
188
|
except samplehc.APIConnectionError as e:
|
|
190
189
|
print("The server could not be reached")
|
|
@@ -228,9 +227,8 @@ client = SampleHealthcare(
|
|
|
228
227
|
)
|
|
229
228
|
|
|
230
229
|
# Or, configure per-request:
|
|
231
|
-
client.with_options(max_retries=5).
|
|
232
|
-
|
|
233
|
-
params=[{}],
|
|
230
|
+
client.with_options(max_retries=5).v2.async_results.sleep(
|
|
231
|
+
delay=1,
|
|
234
232
|
)
|
|
235
233
|
```
|
|
236
234
|
|
|
@@ -254,9 +252,8 @@ client = SampleHealthcare(
|
|
|
254
252
|
)
|
|
255
253
|
|
|
256
254
|
# Override per-request:
|
|
257
|
-
client.with_options(timeout=5.0).
|
|
258
|
-
|
|
259
|
-
params=[{}],
|
|
255
|
+
client.with_options(timeout=5.0).v2.async_results.sleep(
|
|
256
|
+
delay=1,
|
|
260
257
|
)
|
|
261
258
|
```
|
|
262
259
|
|
|
@@ -298,14 +295,13 @@ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to
|
|
|
298
295
|
from samplehc import SampleHealthcare
|
|
299
296
|
|
|
300
297
|
client = SampleHealthcare()
|
|
301
|
-
response = client.
|
|
302
|
-
|
|
303
|
-
params=[{}],
|
|
298
|
+
response = client.v2.async_results.with_raw_response.sleep(
|
|
299
|
+
delay=1,
|
|
304
300
|
)
|
|
305
301
|
print(response.headers.get('X-My-Header'))
|
|
306
302
|
|
|
307
|
-
|
|
308
|
-
print(
|
|
303
|
+
async_result = response.parse() # get the object that `v2.async_results.sleep()` would have returned
|
|
304
|
+
print(async_result.async_result_id)
|
|
309
305
|
```
|
|
310
306
|
|
|
311
307
|
These methods return an [`APIResponse`](https://github.com/samplehc/samplehc-python/tree/main/src/samplehc/_response.py) object.
|
|
@@ -319,9 +315,8 @@ The above interface eagerly reads the full response body when you make the reque
|
|
|
319
315
|
To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
|
|
320
316
|
|
|
321
317
|
```python
|
|
322
|
-
with client.
|
|
323
|
-
|
|
324
|
-
params=[{}],
|
|
318
|
+
with client.v2.async_results.with_streaming_response.sleep(
|
|
319
|
+
delay=1,
|
|
325
320
|
) as response:
|
|
326
321
|
print(response.headers.get("X-My-Header"))
|
|
327
322
|
|
|
@@ -32,10 +32,10 @@ client = SampleHealthcare(
|
|
|
32
32
|
api_key=os.environ.get("SAMPLEHC_API_KEY"), # This is the default and can be omitted
|
|
33
33
|
)
|
|
34
34
|
|
|
35
|
-
response = client.
|
|
36
|
-
|
|
37
|
-
params=[{}],
|
|
35
|
+
response = client.v2.async_results.sleep(
|
|
36
|
+
delay=1,
|
|
38
37
|
)
|
|
38
|
+
print(response.async_result_id)
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
While you can provide an `api_key` keyword argument,
|
|
@@ -58,10 +58,10 @@ client = AsyncSampleHealthcare(
|
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
async def main() -> None:
|
|
61
|
-
response = await client.
|
|
62
|
-
|
|
63
|
-
params=[{}],
|
|
61
|
+
response = await client.v2.async_results.sleep(
|
|
62
|
+
delay=1,
|
|
64
63
|
)
|
|
64
|
+
print(response.async_result_id)
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
asyncio.run(main())
|
|
@@ -94,10 +94,10 @@ async def main() -> None:
|
|
|
94
94
|
api_key=os.environ.get("SAMPLEHC_API_KEY"), # This is the default and can be omitted
|
|
95
95
|
http_client=DefaultAioHttpClient(),
|
|
96
96
|
) as client:
|
|
97
|
-
response = await client.
|
|
98
|
-
|
|
99
|
-
params=[{}],
|
|
97
|
+
response = await client.v2.async_results.sleep(
|
|
98
|
+
delay=1,
|
|
100
99
|
)
|
|
100
|
+
print(response.async_result_id)
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
asyncio.run(main())
|
|
@@ -147,9 +147,8 @@ from samplehc import SampleHealthcare
|
|
|
147
147
|
client = SampleHealthcare()
|
|
148
148
|
|
|
149
149
|
try:
|
|
150
|
-
client.
|
|
151
|
-
|
|
152
|
-
params=[{}],
|
|
150
|
+
client.v2.async_results.sleep(
|
|
151
|
+
delay=1,
|
|
153
152
|
)
|
|
154
153
|
except samplehc.APIConnectionError as e:
|
|
155
154
|
print("The server could not be reached")
|
|
@@ -193,9 +192,8 @@ client = SampleHealthcare(
|
|
|
193
192
|
)
|
|
194
193
|
|
|
195
194
|
# Or, configure per-request:
|
|
196
|
-
client.with_options(max_retries=5).
|
|
197
|
-
|
|
198
|
-
params=[{}],
|
|
195
|
+
client.with_options(max_retries=5).v2.async_results.sleep(
|
|
196
|
+
delay=1,
|
|
199
197
|
)
|
|
200
198
|
```
|
|
201
199
|
|
|
@@ -219,9 +217,8 @@ client = SampleHealthcare(
|
|
|
219
217
|
)
|
|
220
218
|
|
|
221
219
|
# Override per-request:
|
|
222
|
-
client.with_options(timeout=5.0).
|
|
223
|
-
|
|
224
|
-
params=[{}],
|
|
220
|
+
client.with_options(timeout=5.0).v2.async_results.sleep(
|
|
221
|
+
delay=1,
|
|
225
222
|
)
|
|
226
223
|
```
|
|
227
224
|
|
|
@@ -263,14 +260,13 @@ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to
|
|
|
263
260
|
from samplehc import SampleHealthcare
|
|
264
261
|
|
|
265
262
|
client = SampleHealthcare()
|
|
266
|
-
response = client.
|
|
267
|
-
|
|
268
|
-
params=[{}],
|
|
263
|
+
response = client.v2.async_results.with_raw_response.sleep(
|
|
264
|
+
delay=1,
|
|
269
265
|
)
|
|
270
266
|
print(response.headers.get('X-My-Header'))
|
|
271
267
|
|
|
272
|
-
|
|
273
|
-
print(
|
|
268
|
+
async_result = response.parse() # get the object that `v2.async_results.sleep()` would have returned
|
|
269
|
+
print(async_result.async_result_id)
|
|
274
270
|
```
|
|
275
271
|
|
|
276
272
|
These methods return an [`APIResponse`](https://github.com/samplehc/samplehc-python/tree/main/src/samplehc/_response.py) object.
|
|
@@ -284,9 +280,8 @@ The above interface eagerly reads the full response body when you make the reque
|
|
|
284
280
|
To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
|
|
285
281
|
|
|
286
282
|
```python
|
|
287
|
-
with client.
|
|
288
|
-
|
|
289
|
-
params=[{}],
|
|
283
|
+
with client.v2.async_results.with_streaming_response.sleep(
|
|
284
|
+
delay=1,
|
|
290
285
|
) as response:
|
|
291
286
|
print(response.headers.get("X-My-Header"))
|
|
292
287
|
|
samplehc-0.18.0/api.md
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# V2
|
|
2
|
+
|
|
3
|
+
## AsyncResults
|
|
4
|
+
|
|
5
|
+
Types:
|
|
6
|
+
|
|
7
|
+
```python
|
|
8
|
+
from samplehc.types.v2 import AsyncResultSleepResponse
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Methods:
|
|
12
|
+
|
|
13
|
+
- <code title="post /api/v2/async-results/sleep">client.v2.async_results.<a href="./src/samplehc/resources/v2/async_results.py">sleep</a>(\*\*<a href="src/samplehc/types/v2/async_result_sleep_params.py">params</a>) -> <a href="./src/samplehc/types/v2/async_result_sleep_response.py">AsyncResultSleepResponse</a></code>
|
|
14
|
+
|
|
15
|
+
## Documents
|
|
16
|
+
|
|
17
|
+
Types:
|
|
18
|
+
|
|
19
|
+
```python
|
|
20
|
+
from samplehc.types.v2 import (
|
|
21
|
+
DocumentRetrieveResponse,
|
|
22
|
+
DocumentClassifyResponse,
|
|
23
|
+
DocumentCombineResponse,
|
|
24
|
+
DocumentCreateFromSplitsResponse,
|
|
25
|
+
DocumentExtractResponse,
|
|
26
|
+
DocumentGenerateCsvResponse,
|
|
27
|
+
DocumentPresignedUploadURLResponse,
|
|
28
|
+
DocumentRetrieveCsvContentResponse,
|
|
29
|
+
DocumentRetrieveMetadataResponse,
|
|
30
|
+
DocumentSearchResponse,
|
|
31
|
+
DocumentSplitResponse,
|
|
32
|
+
DocumentTransformJsonToHTMLResponse,
|
|
33
|
+
)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Methods:
|
|
37
|
+
|
|
38
|
+
- <code title="get /api/v2/documents/{documentId}">client.v2.documents.<a href="./src/samplehc/resources/v2/documents/documents.py">retrieve</a>(document_id) -> <a href="./src/samplehc/types/v2/document_retrieve_response.py">DocumentRetrieveResponse</a></code>
|
|
39
|
+
- <code title="post /api/v2/documents/classify">client.v2.documents.<a href="./src/samplehc/resources/v2/documents/documents.py">classify</a>(\*\*<a href="src/samplehc/types/v2/document_classify_params.py">params</a>) -> <a href="./src/samplehc/types/v2/document_classify_response.py">DocumentClassifyResponse</a></code>
|
|
40
|
+
- <code title="post /api/v2/documents/combine">client.v2.documents.<a href="./src/samplehc/resources/v2/documents/documents.py">combine</a>(\*\*<a href="src/samplehc/types/v2/document_combine_params.py">params</a>) -> <a href="./src/samplehc/types/v2/document_combine_response.py">DocumentCombineResponse</a></code>
|
|
41
|
+
- <code title="post /api/v2/documents/create-from-splits">client.v2.documents.<a href="./src/samplehc/resources/v2/documents/documents.py">create_from_splits</a>(\*\*<a href="src/samplehc/types/v2/document_create_from_splits_params.py">params</a>) -> <a href="./src/samplehc/types/v2/document_create_from_splits_response.py">DocumentCreateFromSplitsResponse</a></code>
|
|
42
|
+
- <code title="post /api/v2/documents/extract">client.v2.documents.<a href="./src/samplehc/resources/v2/documents/documents.py">extract</a>(\*\*<a href="src/samplehc/types/v2/document_extract_params.py">params</a>) -> <a href="./src/samplehc/types/v2/document_extract_response.py">DocumentExtractResponse</a></code>
|
|
43
|
+
- <code title="post /api/v2/documents/generate-csv">client.v2.documents.<a href="./src/samplehc/resources/v2/documents/documents.py">generate_csv</a>(\*\*<a href="src/samplehc/types/v2/document_generate_csv_params.py">params</a>) -> <a href="./src/samplehc/types/v2/document_generate_csv_response.py">DocumentGenerateCsvResponse</a></code>
|
|
44
|
+
- <code title="post /api/v2/documents/presigned-upload-url">client.v2.documents.<a href="./src/samplehc/resources/v2/documents/documents.py">presigned_upload_url</a>(\*\*<a href="src/samplehc/types/v2/document_presigned_upload_url_params.py">params</a>) -> <a href="./src/samplehc/types/v2/document_presigned_upload_url_response.py">DocumentPresignedUploadURLResponse</a></code>
|
|
45
|
+
- <code title="get /api/v2/documents/{documentId}/csv-content">client.v2.documents.<a href="./src/samplehc/resources/v2/documents/documents.py">retrieve_csv_content</a>(document_id) -> <a href="./src/samplehc/types/v2/document_retrieve_csv_content_response.py">DocumentRetrieveCsvContentResponse</a></code>
|
|
46
|
+
- <code title="get /api/v2/documents/{documentId}/metadata">client.v2.documents.<a href="./src/samplehc/resources/v2/documents/documents.py">retrieve_metadata</a>(document_id) -> <a href="./src/samplehc/types/v2/document_retrieve_metadata_response.py">DocumentRetrieveMetadataResponse</a></code>
|
|
47
|
+
- <code title="post /api/v2/documents/search">client.v2.documents.<a href="./src/samplehc/resources/v2/documents/documents.py">search</a>(\*\*<a href="src/samplehc/types/v2/document_search_params.py">params</a>) -> <a href="./src/samplehc/types/v2/document_search_response.py">DocumentSearchResponse</a></code>
|
|
48
|
+
- <code title="post /api/v2/documents/split">client.v2.documents.<a href="./src/samplehc/resources/v2/documents/documents.py">split</a>(\*\*<a href="src/samplehc/types/v2/document_split_params.py">params</a>) -> <a href="./src/samplehc/types/v2/document_split_response.py">DocumentSplitResponse</a></code>
|
|
49
|
+
- <code title="post /api/v2/documents/json-to-html">client.v2.documents.<a href="./src/samplehc/resources/v2/documents/documents.py">transform_json_to_html</a>(\*\*<a href="src/samplehc/types/v2/document_transform_json_to_html_params.py">params</a>) -> <a href="./src/samplehc/types/v2/document_transform_json_to_html_response.py">DocumentTransformJsonToHTMLResponse</a></code>
|
|
50
|
+
|
|
51
|
+
### Legacy
|
|
52
|
+
|
|
53
|
+
Types:
|
|
54
|
+
|
|
55
|
+
```python
|
|
56
|
+
from samplehc.types.v2.documents import (
|
|
57
|
+
LegacyExtractResponse,
|
|
58
|
+
LegacyReasonResponse,
|
|
59
|
+
LegacySplitResponse,
|
|
60
|
+
)
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Methods:
|
|
64
|
+
|
|
65
|
+
- <code title="post /api/v2/documents/legacy/extract">client.v2.documents.legacy.<a href="./src/samplehc/resources/v2/documents/legacy.py">extract</a>(\*\*<a href="src/samplehc/types/v2/documents/legacy_extract_params.py">params</a>) -> <a href="./src/samplehc/types/v2/documents/legacy_extract_response.py">LegacyExtractResponse</a></code>
|
|
66
|
+
- <code title="post /api/v2/documents/legacy/reason">client.v2.documents.legacy.<a href="./src/samplehc/resources/v2/documents/legacy.py">reason</a>(\*\*<a href="src/samplehc/types/v2/documents/legacy_reason_params.py">params</a>) -> <a href="./src/samplehc/types/v2/documents/legacy_reason_response.py">LegacyReasonResponse</a></code>
|
|
67
|
+
- <code title="post /api/v2/documents/legacy/split">client.v2.documents.legacy.<a href="./src/samplehc/resources/v2/documents/legacy.py">split</a>(\*\*<a href="src/samplehc/types/v2/documents/legacy_split_params.py">params</a>) -> <a href="./src/samplehc/types/v2/documents/legacy_split_response.py">LegacySplitResponse</a></code>
|
|
68
|
+
|
|
69
|
+
### Templates
|
|
70
|
+
|
|
71
|
+
Types:
|
|
72
|
+
|
|
73
|
+
```python
|
|
74
|
+
from samplehc.types.v2.documents import (
|
|
75
|
+
TemplateGenerateDocumentAsyncResponse,
|
|
76
|
+
TemplateRenderDocumentResponse,
|
|
77
|
+
)
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Methods:
|
|
81
|
+
|
|
82
|
+
- <code title="post /api/v2/documents/templates/generate-document">client.v2.documents.templates.<a href="./src/samplehc/resources/v2/documents/templates.py">generate_document_async</a>(\*\*<a href="src/samplehc/types/v2/documents/template_generate_document_async_params.py">params</a>) -> <a href="./src/samplehc/types/v2/documents/template_generate_document_async_response.py">TemplateGenerateDocumentAsyncResponse</a></code>
|
|
83
|
+
- <code title="post /api/v2/documents/templates/render">client.v2.documents.templates.<a href="./src/samplehc/resources/v2/documents/templates.py">render_document</a>(\*\*<a href="src/samplehc/types/v2/documents/template_render_document_params.py">params</a>) -> <a href="./src/samplehc/types/v2/documents/template_render_document_response.py">TemplateRenderDocumentResponse</a></code>
|
|
84
|
+
|
|
85
|
+
### Formats
|
|
86
|
+
|
|
87
|
+
Types:
|
|
88
|
+
|
|
89
|
+
```python
|
|
90
|
+
from samplehc.types.v2.documents import FormatCreatePdfResponse
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Methods:
|
|
94
|
+
|
|
95
|
+
- <code title="post /api/v2/documents/{documentId}/formats/pdf">client.v2.documents.formats.<a href="./src/samplehc/resources/v2/documents/formats.py">create_pdf</a>(document_id, \*\*<a href="src/samplehc/types/v2/documents/format_create_pdf_params.py">params</a>) -> <a href="./src/samplehc/types/v2/documents/format_create_pdf_response.py">FormatCreatePdfResponse</a></code>
|
|
96
|
+
|
|
97
|
+
## Communication
|
|
98
|
+
|
|
99
|
+
Types:
|
|
100
|
+
|
|
101
|
+
```python
|
|
102
|
+
from samplehc.types.v2 import (
|
|
103
|
+
CommunicationSendEmailResponse,
|
|
104
|
+
CommunicationSendFaxResponse,
|
|
105
|
+
CommunicationSendLetterResponse,
|
|
106
|
+
)
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Methods:
|
|
110
|
+
|
|
111
|
+
- <code title="post /api/v2/communication/send-email">client.v2.communication.<a href="./src/samplehc/resources/v2/communication.py">send_email</a>(\*\*<a href="src/samplehc/types/v2/communication_send_email_params.py">params</a>) -> <a href="./src/samplehc/types/v2/communication_send_email_response.py">CommunicationSendEmailResponse</a></code>
|
|
112
|
+
- <code title="post /api/v2/communication/send-fax">client.v2.communication.<a href="./src/samplehc/resources/v2/communication.py">send_fax</a>(\*\*<a href="src/samplehc/types/v2/communication_send_fax_params.py">params</a>) -> <a href="./src/samplehc/types/v2/communication_send_fax_response.py">CommunicationSendFaxResponse</a></code>
|
|
113
|
+
- <code title="post /api/v2/communication/letters">client.v2.communication.<a href="./src/samplehc/resources/v2/communication.py">send_letter</a>(\*\*<a href="src/samplehc/types/v2/communication_send_letter_params.py">params</a>) -> <a href="./src/samplehc/types/v2/communication_send_letter_response.py">CommunicationSendLetterResponse</a></code>
|
|
114
|
+
|
|
115
|
+
## Events
|
|
116
|
+
|
|
117
|
+
Types:
|
|
118
|
+
|
|
119
|
+
```python
|
|
120
|
+
from samplehc.types.v2 import EventEmitResponse
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
Methods:
|
|
124
|
+
|
|
125
|
+
- <code title="post /api/v2/events/">client.v2.events.<a href="./src/samplehc/resources/v2/events.py">emit</a>(\*\*<a href="src/samplehc/types/v2/event_emit_params.py">params</a>) -> <a href="./src/samplehc/types/v2/event_emit_response.py">EventEmitResponse</a></code>
|
|
126
|
+
|
|
127
|
+
## Database
|
|
128
|
+
|
|
129
|
+
Types:
|
|
130
|
+
|
|
131
|
+
```python
|
|
132
|
+
from samplehc.types.v2 import DatabaseExecuteSqlResponse
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
Methods:
|
|
136
|
+
|
|
137
|
+
- <code title="post /api/v2/database/sql">client.v2.database.<a href="./src/samplehc/resources/v2/database.py">execute_sql</a>(\*\*<a href="src/samplehc/types/v2/database_execute_sql_params.py">params</a>) -> <a href="./src/samplehc/types/v2/database_execute_sql_response.py">DatabaseExecuteSqlResponse</a></code>
|
|
@@ -32,8 +32,7 @@ from ._base_client import (
|
|
|
32
32
|
)
|
|
33
33
|
|
|
34
34
|
if TYPE_CHECKING:
|
|
35
|
-
from .resources import
|
|
36
|
-
from .resources.v1.v1 import V1Resource, AsyncV1Resource
|
|
35
|
+
from .resources import v2
|
|
37
36
|
from .resources.v2.v2 import V2Resource, AsyncV2Resource
|
|
38
37
|
|
|
39
38
|
__all__ = [
|
|
@@ -99,12 +98,6 @@ class SampleHealthcare(SyncAPIClient):
|
|
|
99
98
|
_strict_response_validation=_strict_response_validation,
|
|
100
99
|
)
|
|
101
100
|
|
|
102
|
-
@cached_property
|
|
103
|
-
def v1(self) -> V1Resource:
|
|
104
|
-
from .resources.v1 import V1Resource
|
|
105
|
-
|
|
106
|
-
return V1Resource(self)
|
|
107
|
-
|
|
108
101
|
@cached_property
|
|
109
102
|
def v2(self) -> V2Resource:
|
|
110
103
|
from .resources.v2 import V2Resource
|
|
@@ -286,12 +279,6 @@ class AsyncSampleHealthcare(AsyncAPIClient):
|
|
|
286
279
|
_strict_response_validation=_strict_response_validation,
|
|
287
280
|
)
|
|
288
281
|
|
|
289
|
-
@cached_property
|
|
290
|
-
def v1(self) -> AsyncV1Resource:
|
|
291
|
-
from .resources.v1 import AsyncV1Resource
|
|
292
|
-
|
|
293
|
-
return AsyncV1Resource(self)
|
|
294
|
-
|
|
295
282
|
@cached_property
|
|
296
283
|
def v2(self) -> AsyncV2Resource:
|
|
297
284
|
from .resources.v2 import AsyncV2Resource
|
|
@@ -428,12 +415,6 @@ class SampleHealthcareWithRawResponse:
|
|
|
428
415
|
def __init__(self, client: SampleHealthcare) -> None:
|
|
429
416
|
self._client = client
|
|
430
417
|
|
|
431
|
-
@cached_property
|
|
432
|
-
def v1(self) -> v1.V1ResourceWithRawResponse:
|
|
433
|
-
from .resources.v1 import V1ResourceWithRawResponse
|
|
434
|
-
|
|
435
|
-
return V1ResourceWithRawResponse(self._client.v1)
|
|
436
|
-
|
|
437
418
|
@cached_property
|
|
438
419
|
def v2(self) -> v2.V2ResourceWithRawResponse:
|
|
439
420
|
from .resources.v2 import V2ResourceWithRawResponse
|
|
@@ -447,12 +428,6 @@ class AsyncSampleHealthcareWithRawResponse:
|
|
|
447
428
|
def __init__(self, client: AsyncSampleHealthcare) -> None:
|
|
448
429
|
self._client = client
|
|
449
430
|
|
|
450
|
-
@cached_property
|
|
451
|
-
def v1(self) -> v1.AsyncV1ResourceWithRawResponse:
|
|
452
|
-
from .resources.v1 import AsyncV1ResourceWithRawResponse
|
|
453
|
-
|
|
454
|
-
return AsyncV1ResourceWithRawResponse(self._client.v1)
|
|
455
|
-
|
|
456
431
|
@cached_property
|
|
457
432
|
def v2(self) -> v2.AsyncV2ResourceWithRawResponse:
|
|
458
433
|
from .resources.v2 import AsyncV2ResourceWithRawResponse
|
|
@@ -466,12 +441,6 @@ class SampleHealthcareWithStreamedResponse:
|
|
|
466
441
|
def __init__(self, client: SampleHealthcare) -> None:
|
|
467
442
|
self._client = client
|
|
468
443
|
|
|
469
|
-
@cached_property
|
|
470
|
-
def v1(self) -> v1.V1ResourceWithStreamingResponse:
|
|
471
|
-
from .resources.v1 import V1ResourceWithStreamingResponse
|
|
472
|
-
|
|
473
|
-
return V1ResourceWithStreamingResponse(self._client.v1)
|
|
474
|
-
|
|
475
444
|
@cached_property
|
|
476
445
|
def v2(self) -> v2.V2ResourceWithStreamingResponse:
|
|
477
446
|
from .resources.v2 import V2ResourceWithStreamingResponse
|
|
@@ -485,12 +454,6 @@ class AsyncSampleHealthcareWithStreamedResponse:
|
|
|
485
454
|
def __init__(self, client: AsyncSampleHealthcare) -> None:
|
|
486
455
|
self._client = client
|
|
487
456
|
|
|
488
|
-
@cached_property
|
|
489
|
-
def v1(self) -> v1.AsyncV1ResourceWithStreamingResponse:
|
|
490
|
-
from .resources.v1 import AsyncV1ResourceWithStreamingResponse
|
|
491
|
-
|
|
492
|
-
return AsyncV1ResourceWithStreamingResponse(self._client.v1)
|
|
493
|
-
|
|
494
457
|
@cached_property
|
|
495
458
|
def v2(self) -> v2.AsyncV2ResourceWithStreamingResponse:
|
|
496
459
|
from .resources.v2 import AsyncV2ResourceWithStreamingResponse
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
from .v1 import (
|
|
4
|
-
V1Resource,
|
|
5
|
-
AsyncV1Resource,
|
|
6
|
-
V1ResourceWithRawResponse,
|
|
7
|
-
AsyncV1ResourceWithRawResponse,
|
|
8
|
-
V1ResourceWithStreamingResponse,
|
|
9
|
-
AsyncV1ResourceWithStreamingResponse,
|
|
10
|
-
)
|
|
11
3
|
from .v2 import (
|
|
12
4
|
V2Resource,
|
|
13
5
|
AsyncV2Resource,
|
|
@@ -18,12 +10,6 @@ from .v2 import (
|
|
|
18
10
|
)
|
|
19
11
|
|
|
20
12
|
__all__ = [
|
|
21
|
-
"V1Resource",
|
|
22
|
-
"AsyncV1Resource",
|
|
23
|
-
"V1ResourceWithRawResponse",
|
|
24
|
-
"AsyncV1ResourceWithRawResponse",
|
|
25
|
-
"V1ResourceWithStreamingResponse",
|
|
26
|
-
"AsyncV1ResourceWithStreamingResponse",
|
|
27
13
|
"V2Resource",
|
|
28
14
|
"AsyncV2Resource",
|
|
29
15
|
"V2ResourceWithRawResponse",
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from .v2 import (
|
|
4
|
+
V2Resource,
|
|
5
|
+
AsyncV2Resource,
|
|
6
|
+
V2ResourceWithRawResponse,
|
|
7
|
+
AsyncV2ResourceWithRawResponse,
|
|
8
|
+
V2ResourceWithStreamingResponse,
|
|
9
|
+
AsyncV2ResourceWithStreamingResponse,
|
|
10
|
+
)
|
|
11
|
+
from .events import (
|
|
12
|
+
EventsResource,
|
|
13
|
+
AsyncEventsResource,
|
|
14
|
+
EventsResourceWithRawResponse,
|
|
15
|
+
AsyncEventsResourceWithRawResponse,
|
|
16
|
+
EventsResourceWithStreamingResponse,
|
|
17
|
+
AsyncEventsResourceWithStreamingResponse,
|
|
18
|
+
)
|
|
19
|
+
from .database import (
|
|
20
|
+
DatabaseResource,
|
|
21
|
+
AsyncDatabaseResource,
|
|
22
|
+
DatabaseResourceWithRawResponse,
|
|
23
|
+
AsyncDatabaseResourceWithRawResponse,
|
|
24
|
+
DatabaseResourceWithStreamingResponse,
|
|
25
|
+
AsyncDatabaseResourceWithStreamingResponse,
|
|
26
|
+
)
|
|
27
|
+
from .documents import (
|
|
28
|
+
DocumentsResource,
|
|
29
|
+
AsyncDocumentsResource,
|
|
30
|
+
DocumentsResourceWithRawResponse,
|
|
31
|
+
AsyncDocumentsResourceWithRawResponse,
|
|
32
|
+
DocumentsResourceWithStreamingResponse,
|
|
33
|
+
AsyncDocumentsResourceWithStreamingResponse,
|
|
34
|
+
)
|
|
35
|
+
from .async_results import (
|
|
36
|
+
AsyncResultsResource,
|
|
37
|
+
AsyncAsyncResultsResource,
|
|
38
|
+
AsyncResultsResourceWithRawResponse,
|
|
39
|
+
AsyncAsyncResultsResourceWithRawResponse,
|
|
40
|
+
AsyncResultsResourceWithStreamingResponse,
|
|
41
|
+
AsyncAsyncResultsResourceWithStreamingResponse,
|
|
42
|
+
)
|
|
43
|
+
from .communication import (
|
|
44
|
+
CommunicationResource,
|
|
45
|
+
AsyncCommunicationResource,
|
|
46
|
+
CommunicationResourceWithRawResponse,
|
|
47
|
+
AsyncCommunicationResourceWithRawResponse,
|
|
48
|
+
CommunicationResourceWithStreamingResponse,
|
|
49
|
+
AsyncCommunicationResourceWithStreamingResponse,
|
|
50
|
+
)
|
|
51
|
+
|
|
52
|
+
__all__ = [
|
|
53
|
+
"AsyncResultsResource",
|
|
54
|
+
"AsyncAsyncResultsResource",
|
|
55
|
+
"AsyncResultsResourceWithRawResponse",
|
|
56
|
+
"AsyncAsyncResultsResourceWithRawResponse",
|
|
57
|
+
"AsyncResultsResourceWithStreamingResponse",
|
|
58
|
+
"AsyncAsyncResultsResourceWithStreamingResponse",
|
|
59
|
+
"DocumentsResource",
|
|
60
|
+
"AsyncDocumentsResource",
|
|
61
|
+
"DocumentsResourceWithRawResponse",
|
|
62
|
+
"AsyncDocumentsResourceWithRawResponse",
|
|
63
|
+
"DocumentsResourceWithStreamingResponse",
|
|
64
|
+
"AsyncDocumentsResourceWithStreamingResponse",
|
|
65
|
+
"CommunicationResource",
|
|
66
|
+
"AsyncCommunicationResource",
|
|
67
|
+
"CommunicationResourceWithRawResponse",
|
|
68
|
+
"AsyncCommunicationResourceWithRawResponse",
|
|
69
|
+
"CommunicationResourceWithStreamingResponse",
|
|
70
|
+
"AsyncCommunicationResourceWithStreamingResponse",
|
|
71
|
+
"EventsResource",
|
|
72
|
+
"AsyncEventsResource",
|
|
73
|
+
"EventsResourceWithRawResponse",
|
|
74
|
+
"AsyncEventsResourceWithRawResponse",
|
|
75
|
+
"EventsResourceWithStreamingResponse",
|
|
76
|
+
"AsyncEventsResourceWithStreamingResponse",
|
|
77
|
+
"DatabaseResource",
|
|
78
|
+
"AsyncDatabaseResource",
|
|
79
|
+
"DatabaseResourceWithRawResponse",
|
|
80
|
+
"AsyncDatabaseResourceWithRawResponse",
|
|
81
|
+
"DatabaseResourceWithStreamingResponse",
|
|
82
|
+
"AsyncDatabaseResourceWithStreamingResponse",
|
|
83
|
+
"V2Resource",
|
|
84
|
+
"AsyncV2Resource",
|
|
85
|
+
"V2ResourceWithRawResponse",
|
|
86
|
+
"AsyncV2ResourceWithRawResponse",
|
|
87
|
+
"V2ResourceWithStreamingResponse",
|
|
88
|
+
"AsyncV2ResourceWithStreamingResponse",
|
|
89
|
+
]
|