samplehc 0.14.0__py3-none-any.whl → 0.16.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. samplehc/_base_client.py +140 -11
  2. samplehc/_client.py +107 -35
  3. samplehc/_models.py +53 -16
  4. samplehc/_streaming.py +12 -12
  5. samplehc/_types.py +12 -2
  6. samplehc/_utils/_sync.py +3 -31
  7. samplehc/_utils/_utils.py +1 -1
  8. samplehc/_version.py +1 -1
  9. samplehc/resources/v2/__init__.py +0 -42
  10. samplehc/resources/v2/communication.py +5 -4
  11. samplehc/resources/v2/documents/documents.py +8 -0
  12. samplehc/resources/v2/tasks/tasks.py +12 -3
  13. samplehc/resources/v2/v2.py +0 -96
  14. samplehc/types/v1_query_audit_logs_response.py +4 -0
  15. samplehc/types/v2/__init__.py +1 -2
  16. samplehc/types/v2/clearinghouse/claim_submit_response.py +5 -0
  17. samplehc/types/v2/clearinghouse/payer_list_response.py +2 -0
  18. samplehc/types/v2/clearinghouse/payer_search_response.py +2 -0
  19. samplehc/types/v2/clearinghouse_check_eligibility_response.py +4 -0
  20. samplehc/types/v2/clearinghouse_run_discovery_response.py +2 -0
  21. samplehc/types/v2/communication_send_email_response.py +27 -0
  22. samplehc/types/v2/communication_send_fax_params.py +2 -0
  23. samplehc/types/v2/communication_send_fax_response.py +2 -0
  24. samplehc/types/v2/communication_send_letter_params.py +8 -0
  25. samplehc/types/v2/communication_send_letter_response.py +2 -0
  26. samplehc/types/v2/database_execute_sql_response.py +2 -0
  27. samplehc/types/v2/document_classify_params.py +2 -0
  28. samplehc/types/v2/document_classify_response.py +2 -0
  29. samplehc/types/v2/document_combine_response.py +4 -0
  30. samplehc/types/v2/document_create_from_splits_params.py +2 -0
  31. samplehc/types/v2/document_create_from_splits_response.py +2 -0
  32. samplehc/types/v2/document_extract_params.py +40 -3
  33. samplehc/types/v2/document_extract_response.py +2 -0
  34. samplehc/types/v2/document_generate_csv_response.py +4 -0
  35. samplehc/types/v2/document_presigned_upload_url_response.py +2 -0
  36. samplehc/types/v2/document_retrieve_csv_content_response.py +2 -0
  37. samplehc/types/v2/document_retrieve_metadata_response.py +2 -0
  38. samplehc/types/v2/document_search_response.py +2 -0
  39. samplehc/types/v2/document_split_params.py +2 -0
  40. samplehc/types/v2/document_split_response.py +2 -0
  41. samplehc/types/v2/documents/format_create_pdf_response.py +2 -0
  42. samplehc/types/v2/documents/legacy_extract_response.py +2 -0
  43. samplehc/types/v2/documents/legacy_reason_response.py +2 -0
  44. samplehc/types/v2/documents/legacy_split_params.py +2 -0
  45. samplehc/types/v2/documents/legacy_split_response.py +2 -0
  46. samplehc/types/v2/documents/pdf_template_retrieve_metadata_response.py +2 -0
  47. samplehc/types/v2/documents/template_render_document_response.py +2 -0
  48. samplehc/types/v2/hie/document_upload_params.py +2 -0
  49. samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_response.py +2 -0
  50. samplehc/types/v2/integrations/glidian/prior_authorization_retrieve_record_response.py +2 -0
  51. samplehc/types/v2/integrations/glidian/prior_authorization_submit_response.py +2 -0
  52. samplehc/types/v2/integrations/glidian/prior_authorization_update_record_response.py +2 -0
  53. samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_list_response.py +2 -0
  54. samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_response.py +2 -0
  55. samplehc/types/v2/integrations/kno2/message_get_attachment_response.py +2 -0
  56. samplehc/types/v2/integrations/kno2/message_retrieve_response.py +2 -0
  57. samplehc/types/v2/ledger/__init__.py +0 -7
  58. samplehc/types/v2/policy_list_companies_response.py +2 -0
  59. samplehc/types/v2/policy_list_plans_response.py +2 -0
  60. samplehc/types/v2/policy_list_response.py +2 -0
  61. samplehc/types/v2/policy_retrieve_presigned_url_response.py +2 -0
  62. samplehc/types/v2/policy_retrieve_text_response.py +2 -0
  63. samplehc/types/v2/task_cancel_response.py +2 -0
  64. samplehc/types/v2/task_complete_response.py +2 -0
  65. samplehc/types/v2/task_update_column_params.py +6 -3
  66. samplehc/types/v2/workflow_run_resume_when_complete_response.py +2 -0
  67. samplehc/types/v2/workflow_run_retrieve_response.py +2 -0
  68. samplehc/types/v2/workflow_runs/step_get_output_response.py +2 -0
  69. samplehc/types/v2/workflow_start_response.py +2 -0
  70. {samplehc-0.14.0.dist-info → samplehc-0.16.0.dist-info}/METADATA +7 -6
  71. {samplehc-0.14.0.dist-info → samplehc-0.16.0.dist-info}/RECORD +73 -101
  72. {samplehc-0.14.0.dist-info → samplehc-0.16.0.dist-info}/licenses/LICENSE +1 -1
  73. samplehc/resources/v2/browser_agents/__init__.py +0 -33
  74. samplehc/resources/v2/browser_agents/browser_agents.py +0 -209
  75. samplehc/resources/v2/browser_agents/runs/__init__.py +0 -33
  76. samplehc/resources/v2/browser_agents/runs/help_requests.py +0 -191
  77. samplehc/resources/v2/browser_agents/runs/runs.py +0 -233
  78. samplehc/resources/v2/browser_automation/__init__.py +0 -33
  79. samplehc/resources/v2/browser_automation/availity.py +0 -249
  80. samplehc/resources/v2/browser_automation/browser_automation.py +0 -102
  81. samplehc/resources/v2/ledger/__init__.py +0 -47
  82. samplehc/resources/v2/ledger/account.py +0 -297
  83. samplehc/resources/v2/ledger/entry.py +0 -381
  84. samplehc/resources/v2/ledger/ledger.py +0 -134
  85. samplehc/types/v2/browser_agent_invoke_params.py +0 -13
  86. samplehc/types/v2/browser_agent_invoke_response.py +0 -15
  87. samplehc/types/v2/browser_agents/__init__.py +0 -6
  88. samplehc/types/v2/browser_agents/run_list_events_params.py +0 -15
  89. samplehc/types/v2/browser_agents/run_list_events_response.py +0 -30
  90. samplehc/types/v2/browser_agents/runs/__init__.py +0 -6
  91. samplehc/types/v2/browser_agents/runs/help_request_resolve_params.py +0 -18
  92. samplehc/types/v2/browser_agents/runs/help_request_resolve_response.py +0 -28
  93. samplehc/types/v2/browser_automation/__init__.py +0 -6
  94. samplehc/types/v2/browser_automation/availity_submit_appeal_params.py +0 -59
  95. samplehc/types/v2/browser_automation/availity_submit_appeal_response.py +0 -12
  96. samplehc/types/v2/ledger/account_writeoff_params.py +0 -23
  97. samplehc/types/v2/ledger/account_writeoff_response.py +0 -12
  98. samplehc/types/v2/ledger/entry_post_params.py +0 -60
  99. samplehc/types/v2/ledger/entry_post_response.py +0 -10
  100. samplehc/types/v2/ledger/entry_reverse_params.py +0 -18
  101. samplehc/types/v2/ledger/entry_reverse_response.py +0 -10
  102. {samplehc-0.14.0.dist-info → samplehc-0.16.0.dist-info}/WHEEL +0 -0
@@ -1,59 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Literal, Required, Annotated, TypedDict
6
-
7
- from ...._utils import PropertyInfo
8
-
9
- __all__ = ["AvailitySubmitAppealParams", "Document"]
10
-
11
-
12
- class AvailitySubmitAppealParams(TypedDict, total=False):
13
- availity_payer: Required[Annotated[Literal["Anthem - CA"], PropertyInfo(alias="availityPayer")]]
14
-
15
- billed_amount: Required[Annotated[str, PropertyInfo(alias="billedAmount")]]
16
-
17
- claim_number: Required[Annotated[str, PropertyInfo(alias="claimNumber")]]
18
-
19
- contact_phone_number: Required[Annotated[str, PropertyInfo(alias="contactPhoneNumber")]]
20
-
21
- document: Required[Document]
22
-
23
- member_date_of_birth: Required[Annotated[str, PropertyInfo(alias="memberDateOfBirth")]]
24
-
25
- member_first_name: Required[Annotated[str, PropertyInfo(alias="memberFirstName")]]
26
-
27
- member_id: Required[Annotated[str, PropertyInfo(alias="memberId")]]
28
-
29
- member_last_name: Required[Annotated[str, PropertyInfo(alias="memberLastName")]]
30
-
31
- request_reason: Required[
32
- Annotated[
33
- Literal[
34
- "Authorization Issue",
35
- "Balance Bill (Not Medicaid)",
36
- "Benefit Issue",
37
- "Claim Coding Issue",
38
- "Claim Payment Issue",
39
- "Contract Dispute",
40
- "DRG Outlier Review",
41
- "Federal Surprise Bill (Not Medicaid)",
42
- "State Surprise Bill (Not Medicaid)",
43
- "Timely Filing",
44
- ],
45
- PropertyInfo(alias="requestReason"),
46
- ]
47
- ]
48
-
49
- service_start_date: Required[Annotated[str, PropertyInfo(alias="serviceStartDate")]]
50
-
51
- state: Required[str]
52
-
53
- supporting_rationale: Required[Annotated[str, PropertyInfo(alias="supportingRationale")]]
54
-
55
-
56
- class Document(TypedDict, total=False):
57
- id: Required[str]
58
-
59
- file_name: Required[Annotated[str, PropertyInfo(alias="fileName")]]
@@ -1,12 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from pydantic import Field as FieldInfo
4
-
5
- from ...._models import BaseModel
6
-
7
- __all__ = ["AvailitySubmitAppealResponse"]
8
-
9
-
10
- class AvailitySubmitAppealResponse(BaseModel):
11
- async_result_id: str = FieldInfo(alias="asyncResultId")
12
- """The ID to track the asynchronous Availity submission task."""
@@ -1,23 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing import Dict
6
- from typing_extensions import Required, Annotated, TypedDict
7
-
8
- from ...._utils import PropertyInfo
9
-
10
- __all__ = ["AccountWriteoffParams"]
11
-
12
-
13
- class AccountWriteoffParams(TypedDict, total=False):
14
- order_id: Required[Annotated[str, PropertyInfo(alias="orderId")]]
15
-
16
- description: Required[str]
17
- """The description of the write-off."""
18
-
19
- metadata: Dict[str, object]
20
- """Any optional metadata to associate with the write-off."""
21
-
22
- posted_at: Annotated[str, PropertyInfo(alias="postedAt")]
23
- """The date and time to post the write-off."""
@@ -1,12 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing_extensions import Literal
4
-
5
- from ...._models import BaseModel
6
-
7
- __all__ = ["AccountWriteoffResponse"]
8
-
9
-
10
- class AccountWriteoffResponse(BaseModel):
11
- success: Literal[True]
12
- """Write-off posted successfully."""
@@ -1,60 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing import Dict, Union
6
- from typing_extensions import Literal, Required, Annotated, TypedDict
7
-
8
- from ...._utils import PropertyInfo
9
-
10
- __all__ = ["EntryPostParams"]
11
-
12
-
13
- class EntryPostParams(TypedDict, total=False):
14
- amount_usd_cents: Required[Annotated[float, PropertyInfo(alias="amountUsdCents")]]
15
- """The amount of the ledger entry in cents.
16
-
17
- Positive for charges, negative for payments.
18
- """
19
-
20
- entry_category: Required[Annotated[Literal["charge", "payment", "adjustment"], PropertyInfo(alias="entryCategory")]]
21
-
22
- line_item_id: Required[Annotated[str, PropertyInfo(alias="lineItemId")]]
23
- """The line item ID associated with the ledger entry."""
24
-
25
- order_id: Required[Annotated[str, PropertyInfo(alias="orderId")]]
26
- """The order ID associated with the ledger entry."""
27
-
28
- description: str
29
- """The description of the ledger entry."""
30
-
31
- entry_type: Annotated[
32
- Union[
33
- Literal[
34
- "insurance-payment",
35
- "institution-payment",
36
- "patient-payment",
37
- "write-off",
38
- "institution-discount",
39
- "contracted-payer-adjustment",
40
- "patient-pay-adjustment",
41
- "charge",
42
- "payment",
43
- "adjustment",
44
- ],
45
- object,
46
- ],
47
- PropertyInfo(alias="entryType"),
48
- ]
49
- """The type of ledger entry."""
50
-
51
- metadata: Dict[str, object]
52
- """Any optional metadata to associate with the ledger entry."""
53
-
54
- payment_source: Annotated[str, PropertyInfo(alias="paymentSource")]
55
- """The source of the payment, e.g. payer ID, patient ID, etc."""
56
-
57
- posted_at: Annotated[str, PropertyInfo(alias="postedAt")]
58
- """The date and time the ledger entry was posted."""
59
-
60
- idempotency_key: Annotated[str, PropertyInfo(alias="idempotency-key")]
@@ -1,10 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from ...._models import BaseModel
4
-
5
- __all__ = ["EntryPostResponse"]
6
-
7
-
8
- class EntryPostResponse(BaseModel):
9
- success: bool
10
- """Whether the event was emitted successfully."""
@@ -1,18 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing import Dict
6
- from typing_extensions import Annotated, TypedDict
7
-
8
- from ...._utils import PropertyInfo
9
-
10
- __all__ = ["EntryReverseParams"]
11
-
12
-
13
- class EntryReverseParams(TypedDict, total=False):
14
- metadata: Dict[str, object]
15
- """Any optional metadata to associate with the reversal entry."""
16
-
17
- posted_at: Annotated[str, PropertyInfo(alias="postedAt")]
18
- """The date and time the reversal entry was posted."""
@@ -1,10 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from ...._models import BaseModel
4
-
5
- __all__ = ["EntryReverseResponse"]
6
-
7
-
8
- class EntryReverseResponse(BaseModel):
9
- success: bool
10
- """Whether the reversal entry was created successfully."""