samplehc 0.12.0__tar.gz → 0.13.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.13.0/.release-please-manifest.json +3 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/CHANGELOG.md +13 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/PKG-INFO +1 -1
- {samplehc-0.12.0 → samplehc-0.13.0}/api.md +13 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/pyproject.toml +5 -1
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_version.py +1 -1
- samplehc-0.13.0/src/samplehc/resources/v2/browser_agents/runs/runs.py +233 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/integrations/salesforce.py +85 -1
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/tasks/tasks.py +110 -1
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/__init__.py +2 -0
- samplehc-0.13.0/src/samplehc/types/v2/browser_agents/__init__.py +6 -0
- samplehc-0.13.0/src/samplehc/types/v2/browser_agents/run_list_events_params.py +15 -0
- samplehc-0.13.0/src/samplehc/types/v2/browser_agents/run_list_events_response.py +30 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/__init__.py +1 -0
- samplehc-0.13.0/src/samplehc/types/v2/integrations/salesforce_run_soql_query_params.py +11 -0
- samplehc-0.13.0/src/samplehc/types/v2/task_update_column_params.py +16 -0
- samplehc-0.13.0/src/samplehc/types/v2/task_update_column_response.py +9 -0
- samplehc-0.13.0/tests/api_resources/v2/browser_agents/test_runs.py +128 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/integrations/test_salesforce.py +92 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/test_tasks.py +101 -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.13.0}/.gitignore +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/CONTRIBUTING.md +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/LICENSE +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/README.md +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/SECURITY.md +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/bin/check-release-environment +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/bin/publish-pypi +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/examples/.keep +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/noxfile.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/release-please-config.json +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/requirements-dev.lock +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/requirements.lock +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_base_client.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_client.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_compat.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_constants.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_exceptions.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_files.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_models.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_qs.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_resource.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_streaming.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_types.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_utils/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_utils/_compat.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_utils/_datetime_parse.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_utils/_logs.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_utils/_proxy.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_utils/_reflection.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_utils/_resources_proxy.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_utils/_streams.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_utils/_sync.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_utils/_transform.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_utils/_typing.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/_utils/_utils.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/lib/.keep +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/py.typed +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v1/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v1/v1.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/async_results.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/browser_agents/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/browser_agents/browser_agents.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/browser_agents/runs/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/browser_agents/runs/help_requests.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/browser_automation/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/browser_automation/availity.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/browser_automation/browser_automation.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/clearinghouse/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/clearinghouse/claim.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/clearinghouse/clearinghouse.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/clearinghouse/payers.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/communication.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/database.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/documents/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/documents/documents.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/documents/formats.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/documents/legacy.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/documents/pdf_template.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/documents/templates.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/events.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/hie/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/hie/adt.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/hie/documents.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/hie/hie.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/integrations/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/integrations/bank/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/integrations/bank/bank.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/integrations/bank/transactions.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/integrations/careviso.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/integrations/glidian/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/integrations/glidian/glidian.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/integrations/glidian/prior_authorizations/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/integrations/glidian/prior_authorizations/clinical_questions.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/integrations/glidian/prior_authorizations/prior_authorizations.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/integrations/integrations.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/integrations/kno2/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/integrations/kno2/kno2.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/integrations/kno2/messages.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/integrations/snowflake.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/integrations/xcures.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/ledger/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/ledger/account.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/ledger/entry.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/ledger/ledger.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/policies.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/tasks/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/tasks/state.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/v2.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/workflow_runs/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/workflow_runs/step.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/workflow_runs/workflow_runs.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/resources/v2/workflows.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v1/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v1_query_audit_logs_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v1_query_audit_logs_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v1_sql_execute_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v1_sql_execute_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/async_result_retrieve_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/async_result_sleep_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/async_result_sleep_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/browser_agent_invoke_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/browser_agent_invoke_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/browser_agents/runs/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/browser_agents/runs/help_request_resolve_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/browser_agents/runs/help_request_resolve_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/browser_automation/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/browser_automation/availity_submit_appeal_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/browser_automation/availity_submit_appeal_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/clearinghouse/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/clearinghouse/claim_submit_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/clearinghouse/claim_submit_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/clearinghouse/payer_list_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/clearinghouse/payer_search_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/clearinghouse/payer_search_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/clearinghouse_calculate_patient_cost_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/clearinghouse_check_claim_status_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/clearinghouse_check_eligibility_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/clearinghouse_check_eligibility_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/clearinghouse_coordination_of_benefits_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/clearinghouse_run_discovery_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/clearinghouse_run_discovery_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/communication_send_email_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/communication_send_fax_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/communication_send_fax_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/communication_send_letter_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/communication_send_letter_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/database_execute_sql_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/database_execute_sql_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_classify_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_classify_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_combine_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_combine_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_create_from_splits_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_create_from_splits_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_extract_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_extract_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_generate_csv_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_generate_csv_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_presigned_upload_url_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_presigned_upload_url_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_retrieve_csv_content_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_retrieve_metadata_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_retrieve_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_search_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_search_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_split_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_split_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_transform_json_to_html_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_transform_json_to_html_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_unzip_async_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/document_unzip_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/documents/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/documents/format_create_pdf_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/documents/format_create_pdf_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/documents/legacy_extract_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/documents/legacy_extract_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/documents/legacy_reason_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/documents/legacy_reason_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/documents/legacy_split_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/documents/legacy_split_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/documents/pdf_template_retrieve_metadata_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/documents/template_generate_document_async_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/documents/template_generate_document_async_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/documents/template_render_document_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/documents/template_render_document_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/event_emit_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/event_emit_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/hie/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/hie/adt_subscribe_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/hie/document_query_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/hie/document_query_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/hie/document_upload_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/bank/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/bank/transaction_sync_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/bank/transaction_sync_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/careviso_get_payers_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/careviso_submit_prior_authorization_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/glidian/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/glidian/prior_authorization_retrieve_record_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/glidian/prior_authorization_submit_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/glidian/prior_authorization_update_record_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/glidian/prior_authorization_update_record_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/glidian/prior_authorizations/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_list_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/glidian_get_submission_requirements_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/glidian_get_submission_requirements_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/glidian_list_payers_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/glidian_list_payers_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/glidian_list_services_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/glidian_list_services_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/kno2/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/kno2/message_get_attachment_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/kno2/message_retrieve_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/salesforce_run_crud_action_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/snowflake_query_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/snowflake_query_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/integrations/xcure_make_request_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/ledger/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/ledger/account_writeoff_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/ledger/account_writeoff_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/ledger/entry_post_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/ledger/entry_post_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/ledger/entry_reverse_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/ledger/entry_reverse_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/policy_list_companies_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/policy_list_companies_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/policy_list_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/policy_list_plans_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/policy_list_plans_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/policy_list_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/policy_retrieve_presigned_url_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/policy_retrieve_text_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/task_cancel_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/task_complete_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/task_complete_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/task_get_suspended_payload_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/task_retrieve_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/task_retry_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/task_update_screen_time_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/task_update_screen_time_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/tasks/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/tasks/state_get_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/tasks/state_update_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/tasks/state_update_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/workflow_deploy_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/workflow_query_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/workflow_query_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/workflow_run_get_start_data_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/workflow_run_resume_when_complete_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/workflow_run_resume_when_complete_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/workflow_run_retrieve_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/workflow_runs/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/workflow_runs/step_get_output_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/workflow_start_params.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/src/samplehc/types/v2/workflow_start_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/test_v1.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v1/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/browser_agents/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/browser_agents/runs/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/browser_agents/runs/test_help_requests.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/browser_automation/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/browser_automation/test_availity.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/clearinghouse/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/clearinghouse/test_claim.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/clearinghouse/test_payers.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/documents/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/documents/test_formats.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/documents/test_legacy.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/documents/test_pdf_template.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/documents/test_templates.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/hie/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/hie/test_adt.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/hie/test_documents.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/integrations/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/integrations/bank/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/integrations/bank/test_transactions.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/integrations/glidian/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/integrations/glidian/prior_authorizations/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/integrations/glidian/prior_authorizations/test_clinical_questions.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/integrations/glidian/test_prior_authorizations.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/integrations/kno2/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/integrations/kno2/test_messages.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/integrations/test_careviso.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/integrations/test_glidian.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/integrations/test_snowflake.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/integrations/test_xcures.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/ledger/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/ledger/test_account.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/ledger/test_entry.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/tasks/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/tasks/test_state.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/test_async_results.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/test_browser_agents.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/test_clearinghouse.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/test_communication.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/test_database.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/test_documents.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/test_events.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/test_policies.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/test_workflow_runs.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/test_workflows.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/workflow_runs/__init__.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/api_resources/v2/workflow_runs/test_step.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/conftest.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/sample_file.txt +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/test_client.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/test_deepcopy.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/test_extract_files.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/test_files.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/test_models.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/test_qs.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/test_required_args.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/test_response.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/test_streaming.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/test_transform.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/test_utils/test_proxy.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/test_utils/test_typing.py +0 -0
- {samplehc-0.12.0 → samplehc-0.13.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.13.0 (2025-10-17)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.12.0...v0.13.0](https://github.com/samplehc/samplehc-python/compare/v0.12.0...v0.13.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** manual updates ([7a756c7](https://github.com/samplehc/samplehc-python/commit/7a756c77e909b1fde3b7be79f891feea5fa56070))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Chores
|
|
13
|
+
|
|
14
|
+
* **internal:** detect missing future annotations with ruff ([c0bd2ff](https://github.com/samplehc/samplehc-python/commit/c0bd2ff6d3bbed464b0962386eee31215774d657))
|
|
15
|
+
|
|
3
16
|
## 0.12.0 (2025-10-07)
|
|
4
17
|
|
|
5
18
|
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.13.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
|
|
@@ -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
|
|
@@ -419,6 +421,7 @@ Methods:
|
|
|
419
421
|
Methods:
|
|
420
422
|
|
|
421
423
|
- <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>
|
|
424
|
+
- <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
425
|
|
|
423
426
|
## Events
|
|
424
427
|
|
|
@@ -446,6 +449,16 @@ Methods:
|
|
|
446
449
|
|
|
447
450
|
### Runs
|
|
448
451
|
|
|
452
|
+
Types:
|
|
453
|
+
|
|
454
|
+
```python
|
|
455
|
+
from samplehc.types.v2.browser_agents import RunListEventsResponse
|
|
456
|
+
```
|
|
457
|
+
|
|
458
|
+
Methods:
|
|
459
|
+
|
|
460
|
+
- <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>
|
|
461
|
+
|
|
449
462
|
#### HelpRequests
|
|
450
463
|
|
|
451
464
|
Types:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "samplehc"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.13.0"
|
|
4
4
|
description = "The official Python library for the Sample Healthcare API"
|
|
5
5
|
dynamic = ["readme"]
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -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)
|
|
@@ -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
|
+
)
|
|
@@ -17,7 +17,7 @@ from .state import (
|
|
|
17
17
|
from ...._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
|
|
18
18
|
from ...._utils import maybe_transform, async_maybe_transform
|
|
19
19
|
from ...._compat import cached_property
|
|
20
|
-
from ....types.v2 import task_complete_params, task_update_screen_time_params
|
|
20
|
+
from ....types.v2 import task_complete_params, task_update_column_params, task_update_screen_time_params
|
|
21
21
|
from ...._resource import SyncAPIResource, AsyncAPIResource
|
|
22
22
|
from ...._response import (
|
|
23
23
|
to_raw_response_wrapper,
|
|
@@ -30,6 +30,7 @@ from ....types.v2.task_retry_response import TaskRetryResponse
|
|
|
30
30
|
from ....types.v2.task_cancel_response import TaskCancelResponse
|
|
31
31
|
from ....types.v2.task_complete_response import TaskCompleteResponse
|
|
32
32
|
from ....types.v2.task_retrieve_response import TaskRetrieveResponse
|
|
33
|
+
from ....types.v2.task_update_column_response import TaskUpdateColumnResponse
|
|
33
34
|
from ....types.v2.task_update_screen_time_response import TaskUpdateScreenTimeResponse
|
|
34
35
|
from ....types.v2.task_get_suspended_payload_response import TaskGetSuspendedPayloadResponse
|
|
35
36
|
|
|
@@ -235,6 +236,54 @@ class TasksResource(SyncAPIResource):
|
|
|
235
236
|
cast_to=TaskRetryResponse,
|
|
236
237
|
)
|
|
237
238
|
|
|
239
|
+
def update_column(
|
|
240
|
+
self,
|
|
241
|
+
task_id: str,
|
|
242
|
+
*,
|
|
243
|
+
key: str,
|
|
244
|
+
value: Optional[str],
|
|
245
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
246
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
247
|
+
extra_headers: Headers | None = None,
|
|
248
|
+
extra_query: Query | None = None,
|
|
249
|
+
extra_body: Body | None = None,
|
|
250
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
251
|
+
) -> TaskUpdateColumnResponse:
|
|
252
|
+
"""Updates or inserts a column value for a task.
|
|
253
|
+
|
|
254
|
+
If the column key already exists,
|
|
255
|
+
its value will be updated. If it doesn't exist, a new column will be added.
|
|
256
|
+
|
|
257
|
+
Args:
|
|
258
|
+
key: The column key to update or insert.
|
|
259
|
+
|
|
260
|
+
value: The value to set for the column.
|
|
261
|
+
|
|
262
|
+
extra_headers: Send extra headers
|
|
263
|
+
|
|
264
|
+
extra_query: Add additional query parameters to the request
|
|
265
|
+
|
|
266
|
+
extra_body: Add additional JSON properties to the request
|
|
267
|
+
|
|
268
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
269
|
+
"""
|
|
270
|
+
if not task_id:
|
|
271
|
+
raise ValueError(f"Expected a non-empty value for `task_id` but received {task_id!r}")
|
|
272
|
+
return self._post(
|
|
273
|
+
f"/api/v2/tasks/{task_id}/columns",
|
|
274
|
+
body=maybe_transform(
|
|
275
|
+
{
|
|
276
|
+
"key": key,
|
|
277
|
+
"value": value,
|
|
278
|
+
},
|
|
279
|
+
task_update_column_params.TaskUpdateColumnParams,
|
|
280
|
+
),
|
|
281
|
+
options=make_request_options(
|
|
282
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
283
|
+
),
|
|
284
|
+
cast_to=TaskUpdateColumnResponse,
|
|
285
|
+
)
|
|
286
|
+
|
|
238
287
|
def update_screen_time(
|
|
239
288
|
self,
|
|
240
289
|
task_id: str,
|
|
@@ -479,6 +528,54 @@ class AsyncTasksResource(AsyncAPIResource):
|
|
|
479
528
|
cast_to=TaskRetryResponse,
|
|
480
529
|
)
|
|
481
530
|
|
|
531
|
+
async def update_column(
|
|
532
|
+
self,
|
|
533
|
+
task_id: str,
|
|
534
|
+
*,
|
|
535
|
+
key: str,
|
|
536
|
+
value: Optional[str],
|
|
537
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
538
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
539
|
+
extra_headers: Headers | None = None,
|
|
540
|
+
extra_query: Query | None = None,
|
|
541
|
+
extra_body: Body | None = None,
|
|
542
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
543
|
+
) -> TaskUpdateColumnResponse:
|
|
544
|
+
"""Updates or inserts a column value for a task.
|
|
545
|
+
|
|
546
|
+
If the column key already exists,
|
|
547
|
+
its value will be updated. If it doesn't exist, a new column will be added.
|
|
548
|
+
|
|
549
|
+
Args:
|
|
550
|
+
key: The column key to update or insert.
|
|
551
|
+
|
|
552
|
+
value: The value to set for the column.
|
|
553
|
+
|
|
554
|
+
extra_headers: Send extra headers
|
|
555
|
+
|
|
556
|
+
extra_query: Add additional query parameters to the request
|
|
557
|
+
|
|
558
|
+
extra_body: Add additional JSON properties to the request
|
|
559
|
+
|
|
560
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
561
|
+
"""
|
|
562
|
+
if not task_id:
|
|
563
|
+
raise ValueError(f"Expected a non-empty value for `task_id` but received {task_id!r}")
|
|
564
|
+
return await self._post(
|
|
565
|
+
f"/api/v2/tasks/{task_id}/columns",
|
|
566
|
+
body=await async_maybe_transform(
|
|
567
|
+
{
|
|
568
|
+
"key": key,
|
|
569
|
+
"value": value,
|
|
570
|
+
},
|
|
571
|
+
task_update_column_params.TaskUpdateColumnParams,
|
|
572
|
+
),
|
|
573
|
+
options=make_request_options(
|
|
574
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
575
|
+
),
|
|
576
|
+
cast_to=TaskUpdateColumnResponse,
|
|
577
|
+
)
|
|
578
|
+
|
|
482
579
|
async def update_screen_time(
|
|
483
580
|
self,
|
|
484
581
|
task_id: str,
|
|
@@ -543,6 +640,9 @@ class TasksResourceWithRawResponse:
|
|
|
543
640
|
self.retry = to_raw_response_wrapper(
|
|
544
641
|
tasks.retry,
|
|
545
642
|
)
|
|
643
|
+
self.update_column = to_raw_response_wrapper(
|
|
644
|
+
tasks.update_column,
|
|
645
|
+
)
|
|
546
646
|
self.update_screen_time = to_raw_response_wrapper(
|
|
547
647
|
tasks.update_screen_time,
|
|
548
648
|
)
|
|
@@ -571,6 +671,9 @@ class AsyncTasksResourceWithRawResponse:
|
|
|
571
671
|
self.retry = async_to_raw_response_wrapper(
|
|
572
672
|
tasks.retry,
|
|
573
673
|
)
|
|
674
|
+
self.update_column = async_to_raw_response_wrapper(
|
|
675
|
+
tasks.update_column,
|
|
676
|
+
)
|
|
574
677
|
self.update_screen_time = async_to_raw_response_wrapper(
|
|
575
678
|
tasks.update_screen_time,
|
|
576
679
|
)
|
|
@@ -599,6 +702,9 @@ class TasksResourceWithStreamingResponse:
|
|
|
599
702
|
self.retry = to_streamed_response_wrapper(
|
|
600
703
|
tasks.retry,
|
|
601
704
|
)
|
|
705
|
+
self.update_column = to_streamed_response_wrapper(
|
|
706
|
+
tasks.update_column,
|
|
707
|
+
)
|
|
602
708
|
self.update_screen_time = to_streamed_response_wrapper(
|
|
603
709
|
tasks.update_screen_time,
|
|
604
710
|
)
|
|
@@ -627,6 +733,9 @@ class AsyncTasksResourceWithStreamingResponse:
|
|
|
627
733
|
self.retry = async_to_streamed_response_wrapper(
|
|
628
734
|
tasks.retry,
|
|
629
735
|
)
|
|
736
|
+
self.update_column = async_to_streamed_response_wrapper(
|
|
737
|
+
tasks.update_column,
|
|
738
|
+
)
|
|
630
739
|
self.update_screen_time = async_to_streamed_response_wrapper(
|
|
631
740
|
tasks.update_screen_time,
|
|
632
741
|
)
|
|
@@ -28,12 +28,14 @@ from .workflow_deploy_response import WorkflowDeployResponse as WorkflowDeployRe
|
|
|
28
28
|
from .async_result_sleep_params import AsyncResultSleepParams as AsyncResultSleepParams
|
|
29
29
|
from .document_combine_response import DocumentCombineResponse as DocumentCombineResponse
|
|
30
30
|
from .document_extract_response import DocumentExtractResponse as DocumentExtractResponse
|
|
31
|
+
from .task_update_column_params import TaskUpdateColumnParams as TaskUpdateColumnParams
|
|
31
32
|
from .document_classify_response import DocumentClassifyResponse as DocumentClassifyResponse
|
|
32
33
|
from .document_retrieve_response import DocumentRetrieveResponse as DocumentRetrieveResponse
|
|
33
34
|
from .policy_list_plans_response import PolicyListPlansResponse as PolicyListPlansResponse
|
|
34
35
|
from .async_result_sleep_response import AsyncResultSleepResponse as AsyncResultSleepResponse
|
|
35
36
|
from .browser_agent_invoke_params import BrowserAgentInvokeParams as BrowserAgentInvokeParams
|
|
36
37
|
from .database_execute_sql_params import DatabaseExecuteSqlParams as DatabaseExecuteSqlParams
|
|
38
|
+
from .task_update_column_response import TaskUpdateColumnResponse as TaskUpdateColumnResponse
|
|
37
39
|
from .document_generate_csv_params import DocumentGenerateCsvParams as DocumentGenerateCsvParams
|
|
38
40
|
from .policy_list_companies_params import PolicyListCompaniesParams as PolicyListCompaniesParams
|
|
39
41
|
from .browser_agent_invoke_response import BrowserAgentInvokeResponse as BrowserAgentInvokeResponse
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from .run_list_events_params import RunListEventsParams as RunListEventsParams
|
|
6
|
+
from .run_list_events_response import RunListEventsResponse as RunListEventsResponse
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["RunListEventsParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class RunListEventsParams(TypedDict, total=False):
|
|
11
|
+
cursor: str
|
|
12
|
+
"""Cursor from previous page"""
|
|
13
|
+
|
|
14
|
+
limit: float
|
|
15
|
+
"""Maximum number of events to return"""
|