samplehc 0.10.0__py3-none-any.whl → 0.11.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- samplehc/_base_client.py +3 -3
- samplehc/_compat.py +48 -48
- samplehc/_models.py +40 -40
- samplehc/_types.py +35 -1
- samplehc/_utils/__init__.py +9 -2
- samplehc/_utils/_compat.py +45 -0
- samplehc/_utils/_datetime_parse.py +136 -0
- samplehc/_utils/_transform.py +11 -1
- samplehc/_utils/_typing.py +6 -1
- samplehc/_utils/_utils.py +0 -1
- samplehc/_version.py +1 -1
- samplehc/resources/v2/browser_agents/__init__.py +33 -0
- samplehc/resources/v2/{browser_agents.py → browser_agents/browser_agents.py} +40 -8
- samplehc/resources/v2/browser_agents/runs/__init__.py +33 -0
- samplehc/resources/v2/browser_agents/runs/help_requests.py +191 -0
- samplehc/resources/v2/browser_agents/runs/runs.py +102 -0
- samplehc/resources/v2/clearinghouse/clearinghouse.py +4 -4
- samplehc/resources/v2/{events/events.py → events.py} +8 -40
- samplehc/resources/v2/integrations/__init__.py +28 -0
- samplehc/resources/v2/integrations/careviso.py +10 -10
- samplehc/resources/v2/integrations/integrations.py +64 -0
- samplehc/resources/v2/integrations/salesforce.py +193 -0
- samplehc/resources/v2/{events/integrations → integrations}/xcures.py +7 -7
- samplehc/resources/v2/ledger/__init__.py +27 -55
- samplehc/resources/v2/ledger/{orders.py → account.py} +120 -82
- samplehc/resources/v2/ledger/entry.py +382 -0
- samplehc/resources/v2/ledger/ledger.py +38 -1560
- samplehc/resources/v2/v2.py +16 -16
- samplehc/types/v2/__init__.py +0 -28
- samplehc/types/v2/browser_agents/runs/__init__.py +6 -0
- samplehc/types/v2/browser_agents/runs/help_request_resolve_params.py +18 -0
- samplehc/types/v2/browser_agents/runs/help_request_resolve_response.py +30 -0
- samplehc/types/v2/clearinghouse/claim_submit_params.py +10 -9
- samplehc/types/v2/clearinghouse_calculate_patient_cost_params.py +3 -2
- samplehc/types/v2/clearinghouse_check_eligibility_params.py +2 -2
- samplehc/types/v2/communication_send_letter_params.py +4 -3
- samplehc/types/v2/document_classify_params.py +3 -2
- samplehc/types/v2/document_generate_csv_params.py +3 -2
- samplehc/types/v2/documents/legacy_extract_params.py +8 -7
- samplehc/types/v2/integrations/__init__.py +2 -0
- samplehc/types/v2/integrations/careviso_submit_prior_authorization_params.py +6 -5
- samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_params.py +3 -2
- samplehc/types/v2/integrations/salesforce_run_crud_action_params.py +22 -0
- samplehc/types/v2/ledger/__init__.py +6 -17
- samplehc/types/v2/ledger/account_writeoff_params.py +24 -0
- samplehc/types/v2/ledger/account_writeoff_response.py +12 -0
- samplehc/types/v2/ledger/entry_post_params.py +61 -0
- samplehc/types/v2/ledger/entry_post_response.py +10 -0
- samplehc/types/v2/ledger/entry_reverse_params.py +19 -0
- samplehc/types/v2/ledger/entry_reverse_response.py +10 -0
- {samplehc-0.10.0.dist-info → samplehc-0.11.0.dist-info}/METADATA +1 -1
- {samplehc-0.10.0.dist-info → samplehc-0.11.0.dist-info}/RECORD +56 -78
- samplehc/resources/v2/events/__init__.py +0 -33
- samplehc/resources/v2/events/integrations/__init__.py +0 -33
- samplehc/resources/v2/events/integrations/integrations.py +0 -102
- samplehc/resources/v2/ledger/institutions/__init__.py +0 -33
- samplehc/resources/v2/ledger/institutions/institutions.py +0 -258
- samplehc/resources/v2/ledger/institutions/orders.py +0 -169
- samplehc/resources/v2/ledger/insurance.py +0 -141
- samplehc/resources/v2/ledger/patients.py +0 -141
- samplehc/types/v2/events/integrations/__init__.py +0 -5
- samplehc/types/v2/ledger/institution_list_outstanding_accounts_response.py +0 -25
- samplehc/types/v2/ledger/institution_retrieve_outstanding_orders_response.py +0 -25
- samplehc/types/v2/ledger/institutions/__init__.py +0 -5
- samplehc/types/v2/ledger/institutions/order_retrieve_balance_response.py +0 -12
- samplehc/types/v2/ledger/insurance_list_outstanding_accounts_response.py +0 -25
- samplehc/types/v2/ledger/order_retrieve_balances_response.py +0 -31
- samplehc/types/v2/ledger/order_retrieve_batch_balances_params.py +0 -15
- samplehc/types/v2/ledger/order_retrieve_batch_balances_response.py +0 -38
- samplehc/types/v2/ledger/patient_list_outstanding_accounts_response.py +0 -22
- samplehc/types/v2/ledger_assign_invoice_params.py +0 -34
- samplehc/types/v2/ledger_assign_invoice_response.py +0 -12
- samplehc/types/v2/ledger_claim_adjustment_params.py +0 -34
- samplehc/types/v2/ledger_claim_adjustment_response.py +0 -12
- samplehc/types/v2/ledger_claim_payment_params.py +0 -34
- samplehc/types/v2/ledger_claim_payment_response.py +0 -12
- samplehc/types/v2/ledger_institution_adjustment_params.py +0 -31
- samplehc/types/v2/ledger_institution_adjustment_response.py +0 -12
- samplehc/types/v2/ledger_institution_payment_params.py +0 -31
- samplehc/types/v2/ledger_institution_payment_response.py +0 -12
- samplehc/types/v2/ledger_new_order_params.py +0 -22
- samplehc/types/v2/ledger_new_order_response.py +0 -12
- samplehc/types/v2/ledger_order_writeoff_params.py +0 -28
- samplehc/types/v2/ledger_order_writeoff_response.py +0 -12
- samplehc/types/v2/ledger_patient_adjustment_params.py +0 -31
- samplehc/types/v2/ledger_patient_adjustment_response.py +0 -12
- samplehc/types/v2/ledger_patient_payment_params.py +0 -28
- samplehc/types/v2/ledger_patient_payment_response.py +0 -12
- samplehc/types/v2/ledger_post_remittance_accepted_params.py +0 -37
- samplehc/types/v2/ledger_post_remittance_accepted_response.py +0 -12
- samplehc/types/v2/ledger_reverse_entry_params.py +0 -12
- samplehc/types/v2/ledger_reverse_entry_response.py +0 -12
- /samplehc/types/v2/{events → browser_agents}/__init__.py +0 -0
- /samplehc/types/v2/{events/integrations → integrations}/xcure_make_request_params.py +0 -0
- {samplehc-0.10.0.dist-info → samplehc-0.11.0.dist-info}/WHEEL +0 -0
- {samplehc-0.10.0.dist-info → samplehc-0.11.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -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__ = ["LedgerOrderWriteoffResponse"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class LedgerOrderWriteoffResponse(BaseModel):
|
|
11
|
-
ledger_entry_id: str = FieldInfo(alias="ledgerEntryId")
|
|
12
|
-
"""The unique identifier of the successfully created ledger entry."""
|
|
@@ -1,31 +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 Union
|
|
6
|
-
from datetime import datetime
|
|
7
|
-
from typing_extensions import Required, Annotated, TypedDict
|
|
8
|
-
|
|
9
|
-
from ..._utils import PropertyInfo
|
|
10
|
-
|
|
11
|
-
__all__ = ["LedgerPatientAdjustmentParams"]
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
class LedgerPatientAdjustmentParams(TypedDict, total=False):
|
|
15
|
-
amount_usd_cents: Required[Annotated[float, PropertyInfo(alias="amountUsdCents")]]
|
|
16
|
-
"""Adjustment amount in cents (positive or negative)."""
|
|
17
|
-
|
|
18
|
-
ik: Required[str]
|
|
19
|
-
"""Idempotency key for the adjustment."""
|
|
20
|
-
|
|
21
|
-
order_id: Required[Annotated[str, PropertyInfo(alias="orderId")]]
|
|
22
|
-
"""Order ID associated with the adjustment."""
|
|
23
|
-
|
|
24
|
-
patient_id: Required[Annotated[str, PropertyInfo(alias="patientId")]]
|
|
25
|
-
"""Identifier of the patient for the adjustment."""
|
|
26
|
-
|
|
27
|
-
reason: Required[str]
|
|
28
|
-
"""Reason for the adjustment."""
|
|
29
|
-
|
|
30
|
-
posted_at: Annotated[Union[str, datetime], PropertyInfo(alias="postedAt", format="iso8601")]
|
|
31
|
-
"""Optional ISO 8601 date-time to post the entry."""
|
|
@@ -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__ = ["LedgerPatientAdjustmentResponse"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class LedgerPatientAdjustmentResponse(BaseModel):
|
|
11
|
-
ledger_entry_id: str = FieldInfo(alias="ledgerEntryId")
|
|
12
|
-
"""The unique identifier of the successfully created ledger entry."""
|
|
@@ -1,28 +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 Union
|
|
6
|
-
from datetime import datetime
|
|
7
|
-
from typing_extensions import Required, Annotated, TypedDict
|
|
8
|
-
|
|
9
|
-
from ..._utils import PropertyInfo
|
|
10
|
-
|
|
11
|
-
__all__ = ["LedgerPatientPaymentParams"]
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
class LedgerPatientPaymentParams(TypedDict, total=False):
|
|
15
|
-
amount_usd_cents: Required[Annotated[float, PropertyInfo(alias="amountUsdCents")]]
|
|
16
|
-
"""Payment amount in cents."""
|
|
17
|
-
|
|
18
|
-
ik: Required[str]
|
|
19
|
-
"""Idempotency key for the payment."""
|
|
20
|
-
|
|
21
|
-
patient_id: Required[Annotated[str, PropertyInfo(alias="patientId")]]
|
|
22
|
-
"""Identifier of the patient for the payment."""
|
|
23
|
-
|
|
24
|
-
reason: Required[str]
|
|
25
|
-
"""Reason for the payment."""
|
|
26
|
-
|
|
27
|
-
posted_at: Annotated[Union[str, datetime], PropertyInfo(alias="postedAt", format="iso8601")]
|
|
28
|
-
"""Optional ISO 8601 date-time to post the entry."""
|
|
@@ -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__ = ["LedgerPatientPaymentResponse"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class LedgerPatientPaymentResponse(BaseModel):
|
|
11
|
-
ledger_entry_id: str = FieldInfo(alias="ledgerEntryId")
|
|
12
|
-
"""The unique identifier of the successfully created ledger entry."""
|
|
@@ -1,37 +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 Union
|
|
6
|
-
from datetime import datetime
|
|
7
|
-
from typing_extensions import Required, Annotated, TypedDict
|
|
8
|
-
|
|
9
|
-
from ..._utils import PropertyInfo
|
|
10
|
-
|
|
11
|
-
__all__ = ["LedgerPostRemittanceAcceptedParams"]
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
class LedgerPostRemittanceAcceptedParams(TypedDict, total=False):
|
|
15
|
-
adjustment_usd_cents: Required[Annotated[float, PropertyInfo(alias="adjustmentUsdCents")]]
|
|
16
|
-
"""Adjustment amount in cents (positive or negative)."""
|
|
17
|
-
|
|
18
|
-
claim_id: Required[Annotated[str, PropertyInfo(alias="claimId")]]
|
|
19
|
-
"""Identifier of the claim associated with this remittance."""
|
|
20
|
-
|
|
21
|
-
ik: Required[str]
|
|
22
|
-
"""Idempotency key for the remittance."""
|
|
23
|
-
|
|
24
|
-
insurance_id: Required[Annotated[str, PropertyInfo(alias="insuranceId")]]
|
|
25
|
-
"""Identifier of the insurance for the remittance."""
|
|
26
|
-
|
|
27
|
-
order_id: Required[Annotated[str, PropertyInfo(alias="orderId")]]
|
|
28
|
-
"""Order ID associated with the remittance."""
|
|
29
|
-
|
|
30
|
-
patient_id: Required[Annotated[str, PropertyInfo(alias="patientId")]]
|
|
31
|
-
"""Identifier of the patient for the remittance."""
|
|
32
|
-
|
|
33
|
-
patient_responsibility_usd_cents: Required[Annotated[float, PropertyInfo(alias="patientResponsibilityUsdCents")]]
|
|
34
|
-
"""Patient responsibility amount in cents."""
|
|
35
|
-
|
|
36
|
-
posted_at: Annotated[Union[str, datetime], PropertyInfo(alias="postedAt", format="iso8601")]
|
|
37
|
-
"""Optional ISO 8601 date-time to post the entry."""
|
|
@@ -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__ = ["LedgerPostRemittanceAcceptedResponse"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class LedgerPostRemittanceAcceptedResponse(BaseModel):
|
|
11
|
-
ledger_entry_id: str = FieldInfo(alias="ledgerEntryId")
|
|
12
|
-
"""The unique identifier of the successfully created ledger entry."""
|
|
@@ -1,12 +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 Required, TypedDict
|
|
6
|
-
|
|
7
|
-
__all__ = ["LedgerReverseEntryParams"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class LedgerReverseEntryParams(TypedDict, total=False):
|
|
11
|
-
ik: Required[str]
|
|
12
|
-
"""Idempotency key for the reversal."""
|
|
@@ -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__ = ["LedgerReverseEntryResponse"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class LedgerReverseEntryResponse(BaseModel):
|
|
11
|
-
reversing_entry_id: str = FieldInfo(alias="reversingEntryId")
|
|
12
|
-
"""ID of the reversing ledger entry created."""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|