samplehc 0.12.0__tar.gz → 0.14.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.14.0/.release-please-manifest.json +3 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/CHANGELOG.md +26 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/PKG-INFO +2 -2
- {samplehc-0.12.0 → samplehc-0.14.0}/api.md +22 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/pyproject.toml +6 -2
- {samplehc-0.12.0 → samplehc-0.14.0}/requirements-dev.lock +1 -1
- {samplehc-0.12.0 → samplehc-0.14.0}/requirements.lock +1 -1
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_version.py +1 -1
- samplehc-0.14.0/src/samplehc/resources/v2/browser_agents/runs/runs.py +233 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/integrations/__init__.py +14 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/integrations/integrations.py +32 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/integrations/salesforce.py +85 -1
- samplehc-0.14.0/src/samplehc/resources/v2/integrations/wellsky/__init__.py +33 -0
- samplehc-0.14.0/src/samplehc/resources/v2/integrations/wellsky/patients.py +324 -0
- samplehc-0.14.0/src/samplehc/resources/v2/integrations/wellsky/wellsky.py +102 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/tasks/tasks.py +110 -1
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/__init__.py +2 -0
- samplehc-0.14.0/src/samplehc/types/v2/browser_agents/__init__.py +6 -0
- samplehc-0.14.0/src/samplehc/types/v2/browser_agents/run_list_events_params.py +15 -0
- samplehc-0.14.0/src/samplehc/types/v2/browser_agents/run_list_events_response.py +30 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/__init__.py +1 -0
- samplehc-0.14.0/src/samplehc/types/v2/integrations/salesforce_run_soql_query_params.py +11 -0
- samplehc-0.14.0/src/samplehc/types/v2/integrations/wellsky/__init__.py +6 -0
- samplehc-0.14.0/src/samplehc/types/v2/integrations/wellsky/patient_add_params.py +13 -0
- samplehc-0.14.0/src/samplehc/types/v2/integrations/wellsky/patient_search_params.py +32 -0
- samplehc-0.14.0/src/samplehc/types/v2/task_update_column_params.py +16 -0
- samplehc-0.14.0/src/samplehc/types/v2/task_update_column_response.py +9 -0
- samplehc-0.14.0/tests/api_resources/v2/browser_agents/test_runs.py +128 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/integrations/test_salesforce.py +92 -0
- samplehc-0.14.0/tests/api_resources/v2/integrations/wellsky/test_patients.py +229 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/test_tasks.py +101 -0
- samplehc-0.14.0/tests/api_resources/v2/workflow_runs/__init__.py +1 -0
- samplehc-0.12.0/.release-please-manifest.json +0 -3
- samplehc-0.12.0/src/samplehc/resources/v2/browser_agents/runs/runs.py +0 -102
- samplehc-0.12.0/src/samplehc/types/v2/browser_agents/__init__.py +0 -3
- {samplehc-0.12.0 → samplehc-0.14.0}/.gitignore +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/CONTRIBUTING.md +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/LICENSE +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/README.md +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/SECURITY.md +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/bin/check-release-environment +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/bin/publish-pypi +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/examples/.keep +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/noxfile.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/release-please-config.json +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_base_client.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_client.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_compat.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_constants.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_exceptions.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_files.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_models.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_qs.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_resource.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_streaming.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_types.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_utils/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_utils/_compat.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_utils/_datetime_parse.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_utils/_logs.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_utils/_proxy.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_utils/_reflection.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_utils/_resources_proxy.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_utils/_streams.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_utils/_sync.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_utils/_transform.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_utils/_typing.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/_utils/_utils.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/lib/.keep +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/py.typed +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v1/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v1/v1.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/async_results.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/browser_agents/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/browser_agents/browser_agents.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/browser_agents/runs/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/browser_agents/runs/help_requests.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/browser_automation/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/browser_automation/availity.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/browser_automation/browser_automation.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/clearinghouse/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/clearinghouse/claim.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/clearinghouse/clearinghouse.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/clearinghouse/payers.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/communication.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/database.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/documents/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/documents/documents.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/documents/formats.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/documents/legacy.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/documents/pdf_template.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/documents/templates.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/events.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/hie/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/hie/adt.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/hie/documents.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/hie/hie.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/integrations/bank/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/integrations/bank/bank.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/integrations/bank/transactions.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/integrations/careviso.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/integrations/glidian/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/integrations/glidian/glidian.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/integrations/glidian/prior_authorizations/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/integrations/glidian/prior_authorizations/clinical_questions.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/integrations/glidian/prior_authorizations/prior_authorizations.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/integrations/kno2/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/integrations/kno2/kno2.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/integrations/kno2/messages.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/integrations/snowflake.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/integrations/xcures.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/ledger/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/ledger/account.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/ledger/entry.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/ledger/ledger.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/policies.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/tasks/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/tasks/state.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/v2.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/workflow_runs/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/workflow_runs/step.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/workflow_runs/workflow_runs.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/resources/v2/workflows.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v1/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v1_query_audit_logs_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v1_query_audit_logs_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v1_sql_execute_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v1_sql_execute_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/async_result_retrieve_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/async_result_sleep_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/async_result_sleep_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/browser_agent_invoke_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/browser_agent_invoke_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/browser_agents/runs/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/browser_agents/runs/help_request_resolve_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/browser_agents/runs/help_request_resolve_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/browser_automation/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/browser_automation/availity_submit_appeal_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/browser_automation/availity_submit_appeal_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/clearinghouse/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/clearinghouse/claim_submit_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/clearinghouse/claim_submit_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/clearinghouse/payer_list_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/clearinghouse/payer_search_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/clearinghouse/payer_search_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/clearinghouse_calculate_patient_cost_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/clearinghouse_check_claim_status_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/clearinghouse_check_eligibility_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/clearinghouse_check_eligibility_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/clearinghouse_coordination_of_benefits_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/clearinghouse_run_discovery_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/clearinghouse_run_discovery_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/communication_send_email_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/communication_send_fax_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/communication_send_fax_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/communication_send_letter_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/communication_send_letter_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/database_execute_sql_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/database_execute_sql_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_classify_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_classify_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_combine_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_combine_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_create_from_splits_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_create_from_splits_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_extract_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_extract_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_generate_csv_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_generate_csv_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_presigned_upload_url_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_presigned_upload_url_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_retrieve_csv_content_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_retrieve_metadata_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_retrieve_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_search_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_search_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_split_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_split_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_transform_json_to_html_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_transform_json_to_html_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_unzip_async_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/document_unzip_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/documents/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/documents/format_create_pdf_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/documents/format_create_pdf_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/documents/legacy_extract_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/documents/legacy_extract_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/documents/legacy_reason_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/documents/legacy_reason_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/documents/legacy_split_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/documents/legacy_split_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/documents/pdf_template_retrieve_metadata_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/documents/template_generate_document_async_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/documents/template_generate_document_async_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/documents/template_render_document_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/documents/template_render_document_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/event_emit_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/event_emit_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/hie/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/hie/adt_subscribe_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/hie/document_query_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/hie/document_query_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/hie/document_upload_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/bank/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/bank/transaction_sync_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/bank/transaction_sync_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/careviso_get_payers_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/careviso_submit_prior_authorization_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/glidian/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/glidian/prior_authorization_retrieve_record_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/glidian/prior_authorization_submit_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/glidian/prior_authorization_update_record_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/glidian/prior_authorization_update_record_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/glidian/prior_authorizations/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_list_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/glidian_get_submission_requirements_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/glidian_get_submission_requirements_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/glidian_list_payers_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/glidian_list_payers_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/glidian_list_services_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/glidian_list_services_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/kno2/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/kno2/message_get_attachment_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/kno2/message_retrieve_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/salesforce_run_crud_action_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/snowflake_query_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/snowflake_query_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/integrations/xcure_make_request_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/ledger/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/ledger/account_writeoff_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/ledger/account_writeoff_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/ledger/entry_post_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/ledger/entry_post_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/ledger/entry_reverse_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/ledger/entry_reverse_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/policy_list_companies_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/policy_list_companies_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/policy_list_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/policy_list_plans_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/policy_list_plans_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/policy_list_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/policy_retrieve_presigned_url_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/policy_retrieve_text_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/task_cancel_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/task_complete_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/task_complete_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/task_get_suspended_payload_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/task_retrieve_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/task_retry_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/task_update_screen_time_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/task_update_screen_time_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/tasks/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/tasks/state_get_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/tasks/state_update_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/tasks/state_update_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/workflow_deploy_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/workflow_query_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/workflow_query_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/workflow_run_get_start_data_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/workflow_run_resume_when_complete_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/workflow_run_resume_when_complete_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/workflow_run_retrieve_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/workflow_runs/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/workflow_runs/step_get_output_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/workflow_start_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/src/samplehc/types/v2/workflow_start_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/test_v1.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v1/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/browser_agents/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/browser_agents/runs/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/browser_agents/runs/test_help_requests.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/browser_automation/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/browser_automation/test_availity.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/clearinghouse/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/clearinghouse/test_claim.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/clearinghouse/test_payers.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/documents/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/documents/test_formats.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/documents/test_legacy.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/documents/test_pdf_template.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/documents/test_templates.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/hie/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/hie/test_adt.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/hie/test_documents.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/integrations/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/integrations/bank/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/integrations/bank/test_transactions.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/integrations/glidian/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/integrations/glidian/prior_authorizations/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/integrations/glidian/prior_authorizations/test_clinical_questions.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/integrations/glidian/test_prior_authorizations.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/integrations/kno2/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/integrations/kno2/test_messages.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/integrations/test_careviso.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/integrations/test_glidian.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/integrations/test_snowflake.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/integrations/test_xcures.py +0 -0
- {samplehc-0.12.0/tests/api_resources/v2/ledger → samplehc-0.14.0/tests/api_resources/v2/integrations/wellsky}/__init__.py +0 -0
- {samplehc-0.12.0/tests/api_resources/v2/tasks → samplehc-0.14.0/tests/api_resources/v2/ledger}/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/ledger/test_account.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/ledger/test_entry.py +0 -0
- {samplehc-0.12.0/tests/api_resources/v2/workflow_runs → samplehc-0.14.0/tests/api_resources/v2/tasks}/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/tasks/test_state.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/test_async_results.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/test_browser_agents.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/test_clearinghouse.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/test_communication.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/test_database.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/test_documents.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/test_events.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/test_policies.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/test_workflow_runs.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/test_workflows.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/api_resources/v2/workflow_runs/test_step.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/conftest.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/sample_file.txt +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/test_client.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/test_deepcopy.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/test_extract_files.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/test_files.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/test_models.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/test_qs.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/test_required_args.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/test_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/test_streaming.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/test_transform.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/test_utils/test_proxy.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/test_utils/test_typing.py +0 -0
- {samplehc-0.12.0 → samplehc-0.14.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.14.0 (2025-10-21)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.13.0...v0.14.0](https://github.com/samplehc/samplehc-python/compare/v0.13.0...v0.14.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** manual updates ([8ecb9c9](https://github.com/samplehc/samplehc-python/commit/8ecb9c965df2a9a19141479a9f387abd2cb5f8e7))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Chores
|
|
13
|
+
|
|
14
|
+
* bump `httpx-aiohttp` version to 0.1.9 ([86a6393](https://github.com/samplehc/samplehc-python/commit/86a6393b3937ce26c9dcef809722a73450780e4b))
|
|
15
|
+
|
|
16
|
+
## 0.13.0 (2025-10-17)
|
|
17
|
+
|
|
18
|
+
Full Changelog: [v0.12.0...v0.13.0](https://github.com/samplehc/samplehc-python/compare/v0.12.0...v0.13.0)
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **api:** manual updates ([7a756c7](https://github.com/samplehc/samplehc-python/commit/7a756c77e909b1fde3b7be79f891feea5fa56070))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Chores
|
|
26
|
+
|
|
27
|
+
* **internal:** detect missing future annotations with ruff ([c0bd2ff](https://github.com/samplehc/samplehc-python/commit/c0bd2ff6d3bbed464b0962386eee31215774d657))
|
|
28
|
+
|
|
3
29
|
## 0.12.0 (2025-10-07)
|
|
4
30
|
|
|
5
31
|
Full Changelog: [v0.11.0...v0.12.0](https://github.com/samplehc/samplehc-python/compare/v0.11.0...v0.12.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: samplehc
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.14.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
|
|
@@ -30,7 +30,7 @@ Requires-Dist: sniffio
|
|
|
30
30
|
Requires-Dist: typing-extensions<5,>=4.10
|
|
31
31
|
Provides-Extra: aiohttp
|
|
32
32
|
Requires-Dist: aiohttp; extra == 'aiohttp'
|
|
33
|
-
Requires-Dist: httpx-aiohttp>=0.1.
|
|
33
|
+
Requires-Dist: httpx-aiohttp>=0.1.9; extra == 'aiohttp'
|
|
34
34
|
Description-Content-Type: text/markdown
|
|
35
35
|
|
|
36
36
|
# Sample Healthcare Python API library
|
|
@@ -69,6 +69,7 @@ from samplehc.types.v2 import (
|
|
|
69
69
|
TaskCompleteResponse,
|
|
70
70
|
TaskGetSuspendedPayloadResponse,
|
|
71
71
|
TaskRetryResponse,
|
|
72
|
+
TaskUpdateColumnResponse,
|
|
72
73
|
TaskUpdateScreenTimeResponse,
|
|
73
74
|
)
|
|
74
75
|
```
|
|
@@ -80,6 +81,7 @@ Methods:
|
|
|
80
81
|
- <code title="post /api/v2/tasks/{taskId}/complete">client.v2.tasks.<a href="./src/samplehc/resources/v2/tasks/tasks.py">complete</a>(task_id, \*\*<a href="src/samplehc/types/v2/task_complete_params.py">params</a>) -> <a href="./src/samplehc/types/v2/task_complete_response.py">TaskCompleteResponse</a></code>
|
|
81
82
|
- <code title="get /api/v2/tasks/{taskId}/suspended-payload">client.v2.tasks.<a href="./src/samplehc/resources/v2/tasks/tasks.py">get_suspended_payload</a>(task_id) -> <a href="./src/samplehc/types/v2/task_get_suspended_payload_response.py">TaskGetSuspendedPayloadResponse</a></code>
|
|
82
83
|
- <code title="post /api/v2/tasks/{taskId}/retry">client.v2.tasks.<a href="./src/samplehc/resources/v2/tasks/tasks.py">retry</a>(task_id) -> <a href="./src/samplehc/types/v2/task_retry_response.py">TaskRetryResponse</a></code>
|
|
84
|
+
- <code title="post /api/v2/tasks/{taskId}/columns">client.v2.tasks.<a href="./src/samplehc/resources/v2/tasks/tasks.py">update_column</a>(task_id, \*\*<a href="src/samplehc/types/v2/task_update_column_params.py">params</a>) -> <a href="./src/samplehc/types/v2/task_update_column_response.py">TaskUpdateColumnResponse</a></code>
|
|
83
85
|
- <code title="post /api/v2/tasks/{taskId}/update-screen-time">client.v2.tasks.<a href="./src/samplehc/resources/v2/tasks/tasks.py">update_screen_time</a>(task_id, \*\*<a href="src/samplehc/types/v2/task_update_screen_time_params.py">params</a>) -> Optional[TaskUpdateScreenTimeResponse]</code>
|
|
84
86
|
|
|
85
87
|
### State
|
|
@@ -309,6 +311,15 @@ Methods:
|
|
|
309
311
|
|
|
310
312
|
- <code title="post /api/v2/integrations/snowflake/{slug}/query">client.v2.integrations.snowflake.<a href="./src/samplehc/resources/v2/integrations/snowflake.py">query</a>(slug, \*\*<a href="src/samplehc/types/v2/integrations/snowflake_query_params.py">params</a>) -> <a href="./src/samplehc/types/v2/integrations/snowflake_query_response.py">SnowflakeQueryResponse</a></code>
|
|
311
313
|
|
|
314
|
+
### Wellsky
|
|
315
|
+
|
|
316
|
+
#### Patients
|
|
317
|
+
|
|
318
|
+
Methods:
|
|
319
|
+
|
|
320
|
+
- <code title="post /api/v2/integrations/wellsky/{slug}/patients">client.v2.integrations.wellsky.patients.<a href="./src/samplehc/resources/v2/integrations/wellsky/patients.py">add</a>(slug, \*\*<a href="src/samplehc/types/v2/integrations/wellsky/patient_add_params.py">params</a>) -> object</code>
|
|
321
|
+
- <code title="get /api/v2/integrations/wellsky/{slug}/patients">client.v2.integrations.wellsky.patients.<a href="./src/samplehc/resources/v2/integrations/wellsky/patients.py">search</a>(slug, \*\*<a href="src/samplehc/types/v2/integrations/wellsky/patient_search_params.py">params</a>) -> object</code>
|
|
322
|
+
|
|
312
323
|
### Bank
|
|
313
324
|
|
|
314
325
|
#### Transactions
|
|
@@ -419,6 +430,7 @@ Methods:
|
|
|
419
430
|
Methods:
|
|
420
431
|
|
|
421
432
|
- <code title="post /api/v2/integrations/salesforce/{slug}/crud-action">client.v2.integrations.salesforce.<a href="./src/samplehc/resources/v2/integrations/salesforce.py">run_crud_action</a>(slug, \*\*<a href="src/samplehc/types/v2/integrations/salesforce_run_crud_action_params.py">params</a>) -> object</code>
|
|
433
|
+
- <code title="post /api/v2/integrations/salesforce/{slug}/soql-query">client.v2.integrations.salesforce.<a href="./src/samplehc/resources/v2/integrations/salesforce.py">run_soql_query</a>(slug, \*\*<a href="src/samplehc/types/v2/integrations/salesforce_run_soql_query_params.py">params</a>) -> object</code>
|
|
422
434
|
|
|
423
435
|
## Events
|
|
424
436
|
|
|
@@ -446,6 +458,16 @@ Methods:
|
|
|
446
458
|
|
|
447
459
|
### Runs
|
|
448
460
|
|
|
461
|
+
Types:
|
|
462
|
+
|
|
463
|
+
```python
|
|
464
|
+
from samplehc.types.v2.browser_agents import RunListEventsResponse
|
|
465
|
+
```
|
|
466
|
+
|
|
467
|
+
Methods:
|
|
468
|
+
|
|
469
|
+
- <code title="get /api/v2/browser-agents/runs/{browserAgentRunId}/events">client.v2.browser_agents.runs.<a href="./src/samplehc/resources/v2/browser_agents/runs/runs.py">list_events</a>(browser_agent_run_id, \*\*<a href="src/samplehc/types/v2/browser_agents/run_list_events_params.py">params</a>) -> <a href="./src/samplehc/types/v2/browser_agents/run_list_events_response.py">RunListEventsResponse</a></code>
|
|
470
|
+
|
|
449
471
|
#### HelpRequests
|
|
450
472
|
|
|
451
473
|
Types:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "samplehc"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.14.0"
|
|
4
4
|
description = "The official Python library for the Sample Healthcare API"
|
|
5
5
|
dynamic = ["readme"]
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -39,7 +39,7 @@ Homepage = "https://github.com/samplehc/samplehc-python"
|
|
|
39
39
|
Repository = "https://github.com/samplehc/samplehc-python"
|
|
40
40
|
|
|
41
41
|
[project.optional-dependencies]
|
|
42
|
-
aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.
|
|
42
|
+
aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.9"]
|
|
43
43
|
|
|
44
44
|
[tool.rye]
|
|
45
45
|
managed = true
|
|
@@ -224,6 +224,8 @@ select = [
|
|
|
224
224
|
"B",
|
|
225
225
|
# remove unused imports
|
|
226
226
|
"F401",
|
|
227
|
+
# check for missing future annotations
|
|
228
|
+
"FA102",
|
|
227
229
|
# bare except statements
|
|
228
230
|
"E722",
|
|
229
231
|
# unused arguments
|
|
@@ -246,6 +248,8 @@ unfixable = [
|
|
|
246
248
|
"T203",
|
|
247
249
|
]
|
|
248
250
|
|
|
251
|
+
extend-safe-fixes = ["FA102"]
|
|
252
|
+
|
|
249
253
|
[tool.ruff.lint.flake8-tidy-imports.banned-api]
|
|
250
254
|
"functools.lru_cache".msg = "This function does not retain type information for the wrapped function's arguments; The `lru_cache` function from `_utils` should be used instead"
|
|
251
255
|
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import httpx
|
|
6
|
+
|
|
7
|
+
from ....._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
|
|
8
|
+
from ....._utils import maybe_transform, async_maybe_transform
|
|
9
|
+
from ....._compat import cached_property
|
|
10
|
+
from ....._resource import SyncAPIResource, AsyncAPIResource
|
|
11
|
+
from ....._response import (
|
|
12
|
+
to_raw_response_wrapper,
|
|
13
|
+
to_streamed_response_wrapper,
|
|
14
|
+
async_to_raw_response_wrapper,
|
|
15
|
+
async_to_streamed_response_wrapper,
|
|
16
|
+
)
|
|
17
|
+
from .help_requests import (
|
|
18
|
+
HelpRequestsResource,
|
|
19
|
+
AsyncHelpRequestsResource,
|
|
20
|
+
HelpRequestsResourceWithRawResponse,
|
|
21
|
+
AsyncHelpRequestsResourceWithRawResponse,
|
|
22
|
+
HelpRequestsResourceWithStreamingResponse,
|
|
23
|
+
AsyncHelpRequestsResourceWithStreamingResponse,
|
|
24
|
+
)
|
|
25
|
+
from ....._base_client import make_request_options
|
|
26
|
+
from .....types.v2.browser_agents import run_list_events_params
|
|
27
|
+
from .....types.v2.browser_agents.run_list_events_response import RunListEventsResponse
|
|
28
|
+
|
|
29
|
+
__all__ = ["RunsResource", "AsyncRunsResource"]
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class RunsResource(SyncAPIResource):
|
|
33
|
+
@cached_property
|
|
34
|
+
def help_requests(self) -> HelpRequestsResource:
|
|
35
|
+
return HelpRequestsResource(self._client)
|
|
36
|
+
|
|
37
|
+
@cached_property
|
|
38
|
+
def with_raw_response(self) -> RunsResourceWithRawResponse:
|
|
39
|
+
"""
|
|
40
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
41
|
+
the raw response object instead of the parsed content.
|
|
42
|
+
|
|
43
|
+
For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
|
|
44
|
+
"""
|
|
45
|
+
return RunsResourceWithRawResponse(self)
|
|
46
|
+
|
|
47
|
+
@cached_property
|
|
48
|
+
def with_streaming_response(self) -> RunsResourceWithStreamingResponse:
|
|
49
|
+
"""
|
|
50
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
51
|
+
|
|
52
|
+
For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
|
|
53
|
+
"""
|
|
54
|
+
return RunsResourceWithStreamingResponse(self)
|
|
55
|
+
|
|
56
|
+
def list_events(
|
|
57
|
+
self,
|
|
58
|
+
browser_agent_run_id: str,
|
|
59
|
+
*,
|
|
60
|
+
cursor: str | Omit = omit,
|
|
61
|
+
limit: float | Omit = omit,
|
|
62
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
63
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
64
|
+
extra_headers: Headers | None = None,
|
|
65
|
+
extra_query: Query | None = None,
|
|
66
|
+
extra_body: Body | None = None,
|
|
67
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
68
|
+
) -> RunListEventsResponse:
|
|
69
|
+
"""
|
|
70
|
+
Get events for a browser agent run.
|
|
71
|
+
|
|
72
|
+
Args:
|
|
73
|
+
cursor: Cursor from previous page
|
|
74
|
+
|
|
75
|
+
limit: Maximum number of events to return
|
|
76
|
+
|
|
77
|
+
extra_headers: Send extra headers
|
|
78
|
+
|
|
79
|
+
extra_query: Add additional query parameters to the request
|
|
80
|
+
|
|
81
|
+
extra_body: Add additional JSON properties to the request
|
|
82
|
+
|
|
83
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
84
|
+
"""
|
|
85
|
+
if not browser_agent_run_id:
|
|
86
|
+
raise ValueError(
|
|
87
|
+
f"Expected a non-empty value for `browser_agent_run_id` but received {browser_agent_run_id!r}"
|
|
88
|
+
)
|
|
89
|
+
return self._get(
|
|
90
|
+
f"/api/v2/browser-agents/runs/{browser_agent_run_id}/events",
|
|
91
|
+
options=make_request_options(
|
|
92
|
+
extra_headers=extra_headers,
|
|
93
|
+
extra_query=extra_query,
|
|
94
|
+
extra_body=extra_body,
|
|
95
|
+
timeout=timeout,
|
|
96
|
+
query=maybe_transform(
|
|
97
|
+
{
|
|
98
|
+
"cursor": cursor,
|
|
99
|
+
"limit": limit,
|
|
100
|
+
},
|
|
101
|
+
run_list_events_params.RunListEventsParams,
|
|
102
|
+
),
|
|
103
|
+
),
|
|
104
|
+
cast_to=RunListEventsResponse,
|
|
105
|
+
)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
class AsyncRunsResource(AsyncAPIResource):
|
|
109
|
+
@cached_property
|
|
110
|
+
def help_requests(self) -> AsyncHelpRequestsResource:
|
|
111
|
+
return AsyncHelpRequestsResource(self._client)
|
|
112
|
+
|
|
113
|
+
@cached_property
|
|
114
|
+
def with_raw_response(self) -> AsyncRunsResourceWithRawResponse:
|
|
115
|
+
"""
|
|
116
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
117
|
+
the raw response object instead of the parsed content.
|
|
118
|
+
|
|
119
|
+
For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
|
|
120
|
+
"""
|
|
121
|
+
return AsyncRunsResourceWithRawResponse(self)
|
|
122
|
+
|
|
123
|
+
@cached_property
|
|
124
|
+
def with_streaming_response(self) -> AsyncRunsResourceWithStreamingResponse:
|
|
125
|
+
"""
|
|
126
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
127
|
+
|
|
128
|
+
For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
|
|
129
|
+
"""
|
|
130
|
+
return AsyncRunsResourceWithStreamingResponse(self)
|
|
131
|
+
|
|
132
|
+
async def list_events(
|
|
133
|
+
self,
|
|
134
|
+
browser_agent_run_id: str,
|
|
135
|
+
*,
|
|
136
|
+
cursor: str | Omit = omit,
|
|
137
|
+
limit: float | Omit = omit,
|
|
138
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
139
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
140
|
+
extra_headers: Headers | None = None,
|
|
141
|
+
extra_query: Query | None = None,
|
|
142
|
+
extra_body: Body | None = None,
|
|
143
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
144
|
+
) -> RunListEventsResponse:
|
|
145
|
+
"""
|
|
146
|
+
Get events for a browser agent run.
|
|
147
|
+
|
|
148
|
+
Args:
|
|
149
|
+
cursor: Cursor from previous page
|
|
150
|
+
|
|
151
|
+
limit: Maximum number of events to return
|
|
152
|
+
|
|
153
|
+
extra_headers: Send extra headers
|
|
154
|
+
|
|
155
|
+
extra_query: Add additional query parameters to the request
|
|
156
|
+
|
|
157
|
+
extra_body: Add additional JSON properties to the request
|
|
158
|
+
|
|
159
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
160
|
+
"""
|
|
161
|
+
if not browser_agent_run_id:
|
|
162
|
+
raise ValueError(
|
|
163
|
+
f"Expected a non-empty value for `browser_agent_run_id` but received {browser_agent_run_id!r}"
|
|
164
|
+
)
|
|
165
|
+
return await self._get(
|
|
166
|
+
f"/api/v2/browser-agents/runs/{browser_agent_run_id}/events",
|
|
167
|
+
options=make_request_options(
|
|
168
|
+
extra_headers=extra_headers,
|
|
169
|
+
extra_query=extra_query,
|
|
170
|
+
extra_body=extra_body,
|
|
171
|
+
timeout=timeout,
|
|
172
|
+
query=await async_maybe_transform(
|
|
173
|
+
{
|
|
174
|
+
"cursor": cursor,
|
|
175
|
+
"limit": limit,
|
|
176
|
+
},
|
|
177
|
+
run_list_events_params.RunListEventsParams,
|
|
178
|
+
),
|
|
179
|
+
),
|
|
180
|
+
cast_to=RunListEventsResponse,
|
|
181
|
+
)
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
class RunsResourceWithRawResponse:
|
|
185
|
+
def __init__(self, runs: RunsResource) -> None:
|
|
186
|
+
self._runs = runs
|
|
187
|
+
|
|
188
|
+
self.list_events = to_raw_response_wrapper(
|
|
189
|
+
runs.list_events,
|
|
190
|
+
)
|
|
191
|
+
|
|
192
|
+
@cached_property
|
|
193
|
+
def help_requests(self) -> HelpRequestsResourceWithRawResponse:
|
|
194
|
+
return HelpRequestsResourceWithRawResponse(self._runs.help_requests)
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
class AsyncRunsResourceWithRawResponse:
|
|
198
|
+
def __init__(self, runs: AsyncRunsResource) -> None:
|
|
199
|
+
self._runs = runs
|
|
200
|
+
|
|
201
|
+
self.list_events = async_to_raw_response_wrapper(
|
|
202
|
+
runs.list_events,
|
|
203
|
+
)
|
|
204
|
+
|
|
205
|
+
@cached_property
|
|
206
|
+
def help_requests(self) -> AsyncHelpRequestsResourceWithRawResponse:
|
|
207
|
+
return AsyncHelpRequestsResourceWithRawResponse(self._runs.help_requests)
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
class RunsResourceWithStreamingResponse:
|
|
211
|
+
def __init__(self, runs: RunsResource) -> None:
|
|
212
|
+
self._runs = runs
|
|
213
|
+
|
|
214
|
+
self.list_events = to_streamed_response_wrapper(
|
|
215
|
+
runs.list_events,
|
|
216
|
+
)
|
|
217
|
+
|
|
218
|
+
@cached_property
|
|
219
|
+
def help_requests(self) -> HelpRequestsResourceWithStreamingResponse:
|
|
220
|
+
return HelpRequestsResourceWithStreamingResponse(self._runs.help_requests)
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
class AsyncRunsResourceWithStreamingResponse:
|
|
224
|
+
def __init__(self, runs: AsyncRunsResource) -> None:
|
|
225
|
+
self._runs = runs
|
|
226
|
+
|
|
227
|
+
self.list_events = async_to_streamed_response_wrapper(
|
|
228
|
+
runs.list_events,
|
|
229
|
+
)
|
|
230
|
+
|
|
231
|
+
@cached_property
|
|
232
|
+
def help_requests(self) -> AsyncHelpRequestsResourceWithStreamingResponse:
|
|
233
|
+
return AsyncHelpRequestsResourceWithStreamingResponse(self._runs.help_requests)
|
|
@@ -32,6 +32,14 @@ from .glidian import (
|
|
|
32
32
|
GlidianResourceWithStreamingResponse,
|
|
33
33
|
AsyncGlidianResourceWithStreamingResponse,
|
|
34
34
|
)
|
|
35
|
+
from .wellsky import (
|
|
36
|
+
WellskyResource,
|
|
37
|
+
AsyncWellskyResource,
|
|
38
|
+
WellskyResourceWithRawResponse,
|
|
39
|
+
AsyncWellskyResourceWithRawResponse,
|
|
40
|
+
WellskyResourceWithStreamingResponse,
|
|
41
|
+
AsyncWellskyResourceWithStreamingResponse,
|
|
42
|
+
)
|
|
35
43
|
from .careviso import (
|
|
36
44
|
CarevisoResource,
|
|
37
45
|
AsyncCarevisoResource,
|
|
@@ -72,6 +80,12 @@ __all__ = [
|
|
|
72
80
|
"AsyncSnowflakeResourceWithRawResponse",
|
|
73
81
|
"SnowflakeResourceWithStreamingResponse",
|
|
74
82
|
"AsyncSnowflakeResourceWithStreamingResponse",
|
|
83
|
+
"WellskyResource",
|
|
84
|
+
"AsyncWellskyResource",
|
|
85
|
+
"WellskyResourceWithRawResponse",
|
|
86
|
+
"AsyncWellskyResourceWithRawResponse",
|
|
87
|
+
"WellskyResourceWithStreamingResponse",
|
|
88
|
+
"AsyncWellskyResourceWithStreamingResponse",
|
|
75
89
|
"BankResource",
|
|
76
90
|
"AsyncBankResource",
|
|
77
91
|
"BankResourceWithRawResponse",
|
|
@@ -60,6 +60,14 @@ from .glidian.glidian import (
|
|
|
60
60
|
GlidianResourceWithStreamingResponse,
|
|
61
61
|
AsyncGlidianResourceWithStreamingResponse,
|
|
62
62
|
)
|
|
63
|
+
from .wellsky.wellsky import (
|
|
64
|
+
WellskyResource,
|
|
65
|
+
AsyncWellskyResource,
|
|
66
|
+
WellskyResourceWithRawResponse,
|
|
67
|
+
AsyncWellskyResourceWithRawResponse,
|
|
68
|
+
WellskyResourceWithStreamingResponse,
|
|
69
|
+
AsyncWellskyResourceWithStreamingResponse,
|
|
70
|
+
)
|
|
63
71
|
|
|
64
72
|
__all__ = ["IntegrationsResource", "AsyncIntegrationsResource"]
|
|
65
73
|
|
|
@@ -69,6 +77,10 @@ class IntegrationsResource(SyncAPIResource):
|
|
|
69
77
|
def snowflake(self) -> SnowflakeResource:
|
|
70
78
|
return SnowflakeResource(self._client)
|
|
71
79
|
|
|
80
|
+
@cached_property
|
|
81
|
+
def wellsky(self) -> WellskyResource:
|
|
82
|
+
return WellskyResource(self._client)
|
|
83
|
+
|
|
72
84
|
@cached_property
|
|
73
85
|
def bank(self) -> BankResource:
|
|
74
86
|
return BankResource(self._client)
|
|
@@ -118,6 +130,10 @@ class AsyncIntegrationsResource(AsyncAPIResource):
|
|
|
118
130
|
def snowflake(self) -> AsyncSnowflakeResource:
|
|
119
131
|
return AsyncSnowflakeResource(self._client)
|
|
120
132
|
|
|
133
|
+
@cached_property
|
|
134
|
+
def wellsky(self) -> AsyncWellskyResource:
|
|
135
|
+
return AsyncWellskyResource(self._client)
|
|
136
|
+
|
|
121
137
|
@cached_property
|
|
122
138
|
def bank(self) -> AsyncBankResource:
|
|
123
139
|
return AsyncBankResource(self._client)
|
|
@@ -170,6 +186,10 @@ class IntegrationsResourceWithRawResponse:
|
|
|
170
186
|
def snowflake(self) -> SnowflakeResourceWithRawResponse:
|
|
171
187
|
return SnowflakeResourceWithRawResponse(self._integrations.snowflake)
|
|
172
188
|
|
|
189
|
+
@cached_property
|
|
190
|
+
def wellsky(self) -> WellskyResourceWithRawResponse:
|
|
191
|
+
return WellskyResourceWithRawResponse(self._integrations.wellsky)
|
|
192
|
+
|
|
173
193
|
@cached_property
|
|
174
194
|
def bank(self) -> BankResourceWithRawResponse:
|
|
175
195
|
return BankResourceWithRawResponse(self._integrations.bank)
|
|
@@ -203,6 +223,10 @@ class AsyncIntegrationsResourceWithRawResponse:
|
|
|
203
223
|
def snowflake(self) -> AsyncSnowflakeResourceWithRawResponse:
|
|
204
224
|
return AsyncSnowflakeResourceWithRawResponse(self._integrations.snowflake)
|
|
205
225
|
|
|
226
|
+
@cached_property
|
|
227
|
+
def wellsky(self) -> AsyncWellskyResourceWithRawResponse:
|
|
228
|
+
return AsyncWellskyResourceWithRawResponse(self._integrations.wellsky)
|
|
229
|
+
|
|
206
230
|
@cached_property
|
|
207
231
|
def bank(self) -> AsyncBankResourceWithRawResponse:
|
|
208
232
|
return AsyncBankResourceWithRawResponse(self._integrations.bank)
|
|
@@ -236,6 +260,10 @@ class IntegrationsResourceWithStreamingResponse:
|
|
|
236
260
|
def snowflake(self) -> SnowflakeResourceWithStreamingResponse:
|
|
237
261
|
return SnowflakeResourceWithStreamingResponse(self._integrations.snowflake)
|
|
238
262
|
|
|
263
|
+
@cached_property
|
|
264
|
+
def wellsky(self) -> WellskyResourceWithStreamingResponse:
|
|
265
|
+
return WellskyResourceWithStreamingResponse(self._integrations.wellsky)
|
|
266
|
+
|
|
239
267
|
@cached_property
|
|
240
268
|
def bank(self) -> BankResourceWithStreamingResponse:
|
|
241
269
|
return BankResourceWithStreamingResponse(self._integrations.bank)
|
|
@@ -269,6 +297,10 @@ class AsyncIntegrationsResourceWithStreamingResponse:
|
|
|
269
297
|
def snowflake(self) -> AsyncSnowflakeResourceWithStreamingResponse:
|
|
270
298
|
return AsyncSnowflakeResourceWithStreamingResponse(self._integrations.snowflake)
|
|
271
299
|
|
|
300
|
+
@cached_property
|
|
301
|
+
def wellsky(self) -> AsyncWellskyResourceWithStreamingResponse:
|
|
302
|
+
return AsyncWellskyResourceWithStreamingResponse(self._integrations.wellsky)
|
|
303
|
+
|
|
272
304
|
@cached_property
|
|
273
305
|
def bank(self) -> AsyncBankResourceWithStreamingResponse:
|
|
274
306
|
return AsyncBankResourceWithStreamingResponse(self._integrations.bank)
|
|
@@ -18,7 +18,7 @@ from ...._response import (
|
|
|
18
18
|
async_to_streamed_response_wrapper,
|
|
19
19
|
)
|
|
20
20
|
from ...._base_client import make_request_options
|
|
21
|
-
from ....types.v2.integrations import salesforce_run_crud_action_params
|
|
21
|
+
from ....types.v2.integrations import salesforce_run_soql_query_params, salesforce_run_crud_action_params
|
|
22
22
|
|
|
23
23
|
__all__ = ["SalesforceResource", "AsyncSalesforceResource"]
|
|
24
24
|
|
|
@@ -89,6 +89,41 @@ class SalesforceResource(SyncAPIResource):
|
|
|
89
89
|
cast_to=object,
|
|
90
90
|
)
|
|
91
91
|
|
|
92
|
+
def run_soql_query(
|
|
93
|
+
self,
|
|
94
|
+
slug: str,
|
|
95
|
+
*,
|
|
96
|
+
query: str,
|
|
97
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
98
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
99
|
+
extra_headers: Headers | None = None,
|
|
100
|
+
extra_query: Query | None = None,
|
|
101
|
+
extra_body: Body | None = None,
|
|
102
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
103
|
+
) -> object:
|
|
104
|
+
"""
|
|
105
|
+
Resolve connection by slug and run a SOQL query on Salesforce.
|
|
106
|
+
|
|
107
|
+
Args:
|
|
108
|
+
extra_headers: Send extra headers
|
|
109
|
+
|
|
110
|
+
extra_query: Add additional query parameters to the request
|
|
111
|
+
|
|
112
|
+
extra_body: Add additional JSON properties to the request
|
|
113
|
+
|
|
114
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
115
|
+
"""
|
|
116
|
+
if not slug:
|
|
117
|
+
raise ValueError(f"Expected a non-empty value for `slug` but received {slug!r}")
|
|
118
|
+
return self._post(
|
|
119
|
+
f"/api/v2/integrations/salesforce/{slug}/soql-query",
|
|
120
|
+
body=maybe_transform({"query": query}, salesforce_run_soql_query_params.SalesforceRunSoqlQueryParams),
|
|
121
|
+
options=make_request_options(
|
|
122
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
123
|
+
),
|
|
124
|
+
cast_to=object,
|
|
125
|
+
)
|
|
126
|
+
|
|
92
127
|
|
|
93
128
|
class AsyncSalesforceResource(AsyncAPIResource):
|
|
94
129
|
@cached_property
|
|
@@ -156,6 +191,43 @@ class AsyncSalesforceResource(AsyncAPIResource):
|
|
|
156
191
|
cast_to=object,
|
|
157
192
|
)
|
|
158
193
|
|
|
194
|
+
async def run_soql_query(
|
|
195
|
+
self,
|
|
196
|
+
slug: str,
|
|
197
|
+
*,
|
|
198
|
+
query: str,
|
|
199
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
200
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
201
|
+
extra_headers: Headers | None = None,
|
|
202
|
+
extra_query: Query | None = None,
|
|
203
|
+
extra_body: Body | None = None,
|
|
204
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
205
|
+
) -> object:
|
|
206
|
+
"""
|
|
207
|
+
Resolve connection by slug and run a SOQL query on Salesforce.
|
|
208
|
+
|
|
209
|
+
Args:
|
|
210
|
+
extra_headers: Send extra headers
|
|
211
|
+
|
|
212
|
+
extra_query: Add additional query parameters to the request
|
|
213
|
+
|
|
214
|
+
extra_body: Add additional JSON properties to the request
|
|
215
|
+
|
|
216
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
217
|
+
"""
|
|
218
|
+
if not slug:
|
|
219
|
+
raise ValueError(f"Expected a non-empty value for `slug` but received {slug!r}")
|
|
220
|
+
return await self._post(
|
|
221
|
+
f"/api/v2/integrations/salesforce/{slug}/soql-query",
|
|
222
|
+
body=await async_maybe_transform(
|
|
223
|
+
{"query": query}, salesforce_run_soql_query_params.SalesforceRunSoqlQueryParams
|
|
224
|
+
),
|
|
225
|
+
options=make_request_options(
|
|
226
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
227
|
+
),
|
|
228
|
+
cast_to=object,
|
|
229
|
+
)
|
|
230
|
+
|
|
159
231
|
|
|
160
232
|
class SalesforceResourceWithRawResponse:
|
|
161
233
|
def __init__(self, salesforce: SalesforceResource) -> None:
|
|
@@ -164,6 +236,9 @@ class SalesforceResourceWithRawResponse:
|
|
|
164
236
|
self.run_crud_action = to_raw_response_wrapper(
|
|
165
237
|
salesforce.run_crud_action,
|
|
166
238
|
)
|
|
239
|
+
self.run_soql_query = to_raw_response_wrapper(
|
|
240
|
+
salesforce.run_soql_query,
|
|
241
|
+
)
|
|
167
242
|
|
|
168
243
|
|
|
169
244
|
class AsyncSalesforceResourceWithRawResponse:
|
|
@@ -173,6 +248,9 @@ class AsyncSalesforceResourceWithRawResponse:
|
|
|
173
248
|
self.run_crud_action = async_to_raw_response_wrapper(
|
|
174
249
|
salesforce.run_crud_action,
|
|
175
250
|
)
|
|
251
|
+
self.run_soql_query = async_to_raw_response_wrapper(
|
|
252
|
+
salesforce.run_soql_query,
|
|
253
|
+
)
|
|
176
254
|
|
|
177
255
|
|
|
178
256
|
class SalesforceResourceWithStreamingResponse:
|
|
@@ -182,6 +260,9 @@ class SalesforceResourceWithStreamingResponse:
|
|
|
182
260
|
self.run_crud_action = to_streamed_response_wrapper(
|
|
183
261
|
salesforce.run_crud_action,
|
|
184
262
|
)
|
|
263
|
+
self.run_soql_query = to_streamed_response_wrapper(
|
|
264
|
+
salesforce.run_soql_query,
|
|
265
|
+
)
|
|
185
266
|
|
|
186
267
|
|
|
187
268
|
class AsyncSalesforceResourceWithStreamingResponse:
|
|
@@ -191,3 +272,6 @@ class AsyncSalesforceResourceWithStreamingResponse:
|
|
|
191
272
|
self.run_crud_action = async_to_streamed_response_wrapper(
|
|
192
273
|
salesforce.run_crud_action,
|
|
193
274
|
)
|
|
275
|
+
self.run_soql_query = async_to_streamed_response_wrapper(
|
|
276
|
+
salesforce.run_soql_query,
|
|
277
|
+
)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from .wellsky import (
|
|
4
|
+
WellskyResource,
|
|
5
|
+
AsyncWellskyResource,
|
|
6
|
+
WellskyResourceWithRawResponse,
|
|
7
|
+
AsyncWellskyResourceWithRawResponse,
|
|
8
|
+
WellskyResourceWithStreamingResponse,
|
|
9
|
+
AsyncWellskyResourceWithStreamingResponse,
|
|
10
|
+
)
|
|
11
|
+
from .patients import (
|
|
12
|
+
PatientsResource,
|
|
13
|
+
AsyncPatientsResource,
|
|
14
|
+
PatientsResourceWithRawResponse,
|
|
15
|
+
AsyncPatientsResourceWithRawResponse,
|
|
16
|
+
PatientsResourceWithStreamingResponse,
|
|
17
|
+
AsyncPatientsResourceWithStreamingResponse,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
"PatientsResource",
|
|
22
|
+
"AsyncPatientsResource",
|
|
23
|
+
"PatientsResourceWithRawResponse",
|
|
24
|
+
"AsyncPatientsResourceWithRawResponse",
|
|
25
|
+
"PatientsResourceWithStreamingResponse",
|
|
26
|
+
"AsyncPatientsResourceWithStreamingResponse",
|
|
27
|
+
"WellskyResource",
|
|
28
|
+
"AsyncWellskyResource",
|
|
29
|
+
"WellskyResourceWithRawResponse",
|
|
30
|
+
"AsyncWellskyResourceWithRawResponse",
|
|
31
|
+
"WellskyResourceWithStreamingResponse",
|
|
32
|
+
"AsyncWellskyResourceWithStreamingResponse",
|
|
33
|
+
]
|