samplehc 0.10.0__py3-none-any.whl → 0.12.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 (132) hide show
  1. samplehc/__init__.py +3 -1
  2. samplehc/_base_client.py +12 -12
  3. samplehc/_client.py +8 -8
  4. samplehc/_compat.py +48 -48
  5. samplehc/_models.py +50 -44
  6. samplehc/_qs.py +7 -7
  7. samplehc/_types.py +53 -12
  8. samplehc/_utils/__init__.py +9 -2
  9. samplehc/_utils/_compat.py +45 -0
  10. samplehc/_utils/_datetime_parse.py +136 -0
  11. samplehc/_utils/_transform.py +13 -3
  12. samplehc/_utils/_typing.py +6 -1
  13. samplehc/_utils/_utils.py +4 -5
  14. samplehc/_version.py +1 -1
  15. samplehc/resources/v1/v1.py +9 -9
  16. samplehc/resources/v2/async_results.py +13 -13
  17. samplehc/resources/v2/browser_agents/__init__.py +33 -0
  18. samplehc/resources/v2/{browser_agents.py → browser_agents/browser_agents.py} +44 -12
  19. samplehc/resources/v2/browser_agents/runs/__init__.py +33 -0
  20. samplehc/resources/v2/browser_agents/runs/help_requests.py +191 -0
  21. samplehc/resources/v2/browser_agents/runs/runs.py +102 -0
  22. samplehc/resources/v2/browser_automation/availity.py +3 -3
  23. samplehc/resources/v2/clearinghouse/claim.py +29 -29
  24. samplehc/resources/v2/clearinghouse/clearinghouse.py +36 -36
  25. samplehc/resources/v2/clearinghouse/payers.py +5 -5
  26. samplehc/resources/v2/communication.py +29 -29
  27. samplehc/resources/v2/database.py +5 -5
  28. samplehc/resources/v2/documents/documents.py +152 -37
  29. samplehc/resources/v2/documents/formats.py +3 -3
  30. samplehc/resources/v2/documents/legacy.py +91 -6
  31. samplehc/resources/v2/documents/pdf_template.py +3 -3
  32. samplehc/resources/v2/documents/templates.py +27 -27
  33. samplehc/resources/v2/{events/events.py → events.py} +14 -46
  34. samplehc/resources/v2/hie/adt.py +7 -7
  35. samplehc/resources/v2/hie/documents.py +15 -15
  36. samplehc/resources/v2/integrations/__init__.py +28 -0
  37. samplehc/resources/v2/integrations/bank/transactions.py +5 -5
  38. samplehc/resources/v2/integrations/careviso.py +36 -36
  39. samplehc/resources/v2/integrations/glidian/glidian.py +13 -13
  40. samplehc/resources/v2/integrations/glidian/prior_authorizations/clinical_questions.py +5 -5
  41. samplehc/resources/v2/integrations/glidian/prior_authorizations/prior_authorizations.py +19 -19
  42. samplehc/resources/v2/integrations/integrations.py +64 -0
  43. samplehc/resources/v2/integrations/kno2/messages.py +5 -5
  44. samplehc/resources/v2/integrations/salesforce.py +193 -0
  45. samplehc/resources/v2/integrations/snowflake.py +3 -3
  46. samplehc/resources/v2/{events/integrations → integrations}/xcures.py +13 -13
  47. samplehc/resources/v2/ledger/__init__.py +27 -55
  48. samplehc/resources/v2/ledger/{orders.py → account.py} +123 -86
  49. samplehc/resources/v2/ledger/entry.py +381 -0
  50. samplehc/resources/v2/ledger/ledger.py +38 -1560
  51. samplehc/resources/v2/policies.py +47 -47
  52. samplehc/resources/v2/tasks/state.py +7 -7
  53. samplehc/resources/v2/tasks/tasks.py +15 -15
  54. samplehc/resources/v2/v2.py +16 -16
  55. samplehc/resources/v2/workflow_runs/step.py +3 -3
  56. samplehc/resources/v2/workflow_runs/workflow_runs.py +11 -11
  57. samplehc/resources/v2/workflows.py +13 -13
  58. samplehc/types/v2/__init__.py +1 -28
  59. samplehc/types/v2/browser_agents/runs/__init__.py +6 -0
  60. samplehc/types/v2/browser_agents/runs/help_request_resolve_params.py +18 -0
  61. samplehc/types/v2/browser_agents/runs/help_request_resolve_response.py +28 -0
  62. samplehc/types/v2/clearinghouse/claim_submit_params.py +10 -9
  63. samplehc/types/v2/clearinghouse_calculate_patient_cost_params.py +3 -2
  64. samplehc/types/v2/clearinghouse_check_eligibility_params.py +2 -2
  65. samplehc/types/v2/communication_send_letter_params.py +4 -3
  66. samplehc/types/v2/document_classify_params.py +3 -2
  67. samplehc/types/v2/document_extract_params.py +4 -1
  68. samplehc/types/v2/document_generate_csv_params.py +3 -2
  69. samplehc/types/v2/document_split_params.py +16 -1
  70. samplehc/types/v2/document_unzip_async_response.py +12 -0
  71. samplehc/types/v2/documents/__init__.py +2 -0
  72. samplehc/types/v2/documents/legacy_extract_params.py +8 -7
  73. samplehc/types/v2/documents/legacy_split_params.py +20 -0
  74. samplehc/types/v2/documents/legacy_split_response.py +12 -0
  75. samplehc/types/v2/documents/template_render_document_params.py +17 -5
  76. samplehc/types/v2/integrations/__init__.py +2 -0
  77. samplehc/types/v2/integrations/careviso_submit_prior_authorization_params.py +6 -5
  78. samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_params.py +3 -2
  79. samplehc/types/v2/integrations/salesforce_run_crud_action_params.py +22 -0
  80. samplehc/types/v2/ledger/__init__.py +6 -17
  81. samplehc/types/v2/ledger/account_writeoff_params.py +23 -0
  82. samplehc/types/v2/ledger/account_writeoff_response.py +12 -0
  83. samplehc/types/v2/ledger/entry_post_params.py +60 -0
  84. samplehc/types/v2/ledger/entry_post_response.py +10 -0
  85. samplehc/types/v2/ledger/entry_reverse_params.py +18 -0
  86. samplehc/types/v2/ledger/entry_reverse_response.py +10 -0
  87. {samplehc-0.10.0.dist-info → samplehc-0.12.0.dist-info}/METADATA +1 -1
  88. {samplehc-0.10.0.dist-info → samplehc-0.12.0.dist-info}/RECORD +92 -111
  89. samplehc/resources/v2/events/__init__.py +0 -33
  90. samplehc/resources/v2/events/integrations/__init__.py +0 -33
  91. samplehc/resources/v2/events/integrations/integrations.py +0 -102
  92. samplehc/resources/v2/ledger/institutions/__init__.py +0 -33
  93. samplehc/resources/v2/ledger/institutions/institutions.py +0 -258
  94. samplehc/resources/v2/ledger/institutions/orders.py +0 -169
  95. samplehc/resources/v2/ledger/insurance.py +0 -141
  96. samplehc/resources/v2/ledger/patients.py +0 -141
  97. samplehc/types/v2/events/integrations/__init__.py +0 -5
  98. samplehc/types/v2/ledger/institution_list_outstanding_accounts_response.py +0 -25
  99. samplehc/types/v2/ledger/institution_retrieve_outstanding_orders_response.py +0 -25
  100. samplehc/types/v2/ledger/institutions/__init__.py +0 -5
  101. samplehc/types/v2/ledger/institutions/order_retrieve_balance_response.py +0 -12
  102. samplehc/types/v2/ledger/insurance_list_outstanding_accounts_response.py +0 -25
  103. samplehc/types/v2/ledger/order_retrieve_balances_response.py +0 -31
  104. samplehc/types/v2/ledger/order_retrieve_batch_balances_params.py +0 -15
  105. samplehc/types/v2/ledger/order_retrieve_batch_balances_response.py +0 -38
  106. samplehc/types/v2/ledger/patient_list_outstanding_accounts_response.py +0 -22
  107. samplehc/types/v2/ledger_assign_invoice_params.py +0 -34
  108. samplehc/types/v2/ledger_assign_invoice_response.py +0 -12
  109. samplehc/types/v2/ledger_claim_adjustment_params.py +0 -34
  110. samplehc/types/v2/ledger_claim_adjustment_response.py +0 -12
  111. samplehc/types/v2/ledger_claim_payment_params.py +0 -34
  112. samplehc/types/v2/ledger_claim_payment_response.py +0 -12
  113. samplehc/types/v2/ledger_institution_adjustment_params.py +0 -31
  114. samplehc/types/v2/ledger_institution_adjustment_response.py +0 -12
  115. samplehc/types/v2/ledger_institution_payment_params.py +0 -31
  116. samplehc/types/v2/ledger_institution_payment_response.py +0 -12
  117. samplehc/types/v2/ledger_new_order_params.py +0 -22
  118. samplehc/types/v2/ledger_new_order_response.py +0 -12
  119. samplehc/types/v2/ledger_order_writeoff_params.py +0 -28
  120. samplehc/types/v2/ledger_order_writeoff_response.py +0 -12
  121. samplehc/types/v2/ledger_patient_adjustment_params.py +0 -31
  122. samplehc/types/v2/ledger_patient_adjustment_response.py +0 -12
  123. samplehc/types/v2/ledger_patient_payment_params.py +0 -28
  124. samplehc/types/v2/ledger_patient_payment_response.py +0 -12
  125. samplehc/types/v2/ledger_post_remittance_accepted_params.py +0 -37
  126. samplehc/types/v2/ledger_post_remittance_accepted_response.py +0 -12
  127. samplehc/types/v2/ledger_reverse_entry_params.py +0 -12
  128. samplehc/types/v2/ledger_reverse_entry_response.py +0 -12
  129. /samplehc/types/v2/{events → browser_agents}/__init__.py +0 -0
  130. /samplehc/types/v2/{events/integrations → integrations}/xcure_make_request_params.py +0 -0
  131. {samplehc-0.10.0.dist-info → samplehc-0.12.0.dist-info}/WHEEL +0 -0
  132. {samplehc-0.10.0.dist-info → samplehc-0.12.0.dist-info}/licenses/LICENSE +0 -0
@@ -19,7 +19,6 @@ from .document_combine_params import DocumentCombineParams as DocumentCombinePar
19
19
  from .document_extract_params import DocumentExtractParams as DocumentExtractParams
20
20
  from .document_split_response import DocumentSplitResponse as DocumentSplitResponse
21
21
  from .document_unzip_response import DocumentUnzipResponse as DocumentUnzipResponse
22
- from .ledger_new_order_params import LedgerNewOrderParams as LedgerNewOrderParams
23
22
  from .workflow_query_response import WorkflowQueryResponse as WorkflowQueryResponse
24
23
  from .workflow_start_response import WorkflowStartResponse as WorkflowStartResponse
25
24
  from .document_classify_params import DocumentClassifyParams as DocumentClassifyParams
@@ -29,53 +28,36 @@ from .workflow_deploy_response import WorkflowDeployResponse as WorkflowDeployRe
29
28
  from .async_result_sleep_params import AsyncResultSleepParams as AsyncResultSleepParams
30
29
  from .document_combine_response import DocumentCombineResponse as DocumentCombineResponse
31
30
  from .document_extract_response import DocumentExtractResponse as DocumentExtractResponse
32
- from .ledger_new_order_response import LedgerNewOrderResponse as LedgerNewOrderResponse
33
31
  from .document_classify_response import DocumentClassifyResponse as DocumentClassifyResponse
34
32
  from .document_retrieve_response import DocumentRetrieveResponse as DocumentRetrieveResponse
35
33
  from .policy_list_plans_response import PolicyListPlansResponse as PolicyListPlansResponse
36
34
  from .async_result_sleep_response import AsyncResultSleepResponse as AsyncResultSleepResponse
37
35
  from .browser_agent_invoke_params import BrowserAgentInvokeParams as BrowserAgentInvokeParams
38
36
  from .database_execute_sql_params import DatabaseExecuteSqlParams as DatabaseExecuteSqlParams
39
- from .ledger_claim_payment_params import LedgerClaimPaymentParams as LedgerClaimPaymentParams
40
- from .ledger_reverse_entry_params import LedgerReverseEntryParams as LedgerReverseEntryParams
41
37
  from .document_generate_csv_params import DocumentGenerateCsvParams as DocumentGenerateCsvParams
42
- from .ledger_assign_invoice_params import LedgerAssignInvoiceParams as LedgerAssignInvoiceParams
43
- from .ledger_order_writeoff_params import LedgerOrderWriteoffParams as LedgerOrderWriteoffParams
44
38
  from .policy_list_companies_params import PolicyListCompaniesParams as PolicyListCompaniesParams
45
39
  from .browser_agent_invoke_response import BrowserAgentInvokeResponse as BrowserAgentInvokeResponse
46
40
  from .communication_send_fax_params import CommunicationSendFaxParams as CommunicationSendFaxParams
47
41
  from .database_execute_sql_response import DatabaseExecuteSqlResponse as DatabaseExecuteSqlResponse
48
- from .ledger_claim_payment_response import LedgerClaimPaymentResponse as LedgerClaimPaymentResponse
49
- from .ledger_patient_payment_params import LedgerPatientPaymentParams as LedgerPatientPaymentParams
50
- from .ledger_reverse_entry_response import LedgerReverseEntryResponse as LedgerReverseEntryResponse
42
+ from .document_unzip_async_response import DocumentUnzipAsyncResponse as DocumentUnzipAsyncResponse
51
43
  from .policy_retrieve_text_response import PolicyRetrieveTextResponse as PolicyRetrieveTextResponse
52
44
  from .async_result_retrieve_response import AsyncResultRetrieveResponse as AsyncResultRetrieveResponse
53
45
  from .document_generate_csv_response import DocumentGenerateCsvResponse as DocumentGenerateCsvResponse
54
- from .ledger_assign_invoice_response import LedgerAssignInvoiceResponse as LedgerAssignInvoiceResponse
55
- from .ledger_claim_adjustment_params import LedgerClaimAdjustmentParams as LedgerClaimAdjustmentParams
56
- from .ledger_order_writeoff_response import LedgerOrderWriteoffResponse as LedgerOrderWriteoffResponse
57
46
  from .policy_list_companies_response import PolicyListCompaniesResponse as PolicyListCompaniesResponse
58
47
  from .task_update_screen_time_params import TaskUpdateScreenTimeParams as TaskUpdateScreenTimeParams
59
48
  from .workflow_run_retrieve_response import WorkflowRunRetrieveResponse as WorkflowRunRetrieveResponse
60
49
  from .communication_send_email_params import CommunicationSendEmailParams as CommunicationSendEmailParams
61
50
  from .communication_send_fax_response import CommunicationSendFaxResponse as CommunicationSendFaxResponse
62
- from .ledger_patient_payment_response import LedgerPatientPaymentResponse as LedgerPatientPaymentResponse
63
51
  from .communication_send_letter_params import CommunicationSendLetterParams as CommunicationSendLetterParams
64
- from .ledger_claim_adjustment_response import LedgerClaimAdjustmentResponse as LedgerClaimAdjustmentResponse
65
- from .ledger_patient_adjustment_params import LedgerPatientAdjustmentParams as LedgerPatientAdjustmentParams
66
52
  from .task_update_screen_time_response import TaskUpdateScreenTimeResponse as TaskUpdateScreenTimeResponse
67
- from .ledger_institution_payment_params import LedgerInstitutionPaymentParams as LedgerInstitutionPaymentParams
68
53
  from .clearinghouse_run_discovery_params import ClearinghouseRunDiscoveryParams as ClearinghouseRunDiscoveryParams
69
54
  from .communication_send_letter_response import CommunicationSendLetterResponse as CommunicationSendLetterResponse
70
55
  from .document_create_from_splits_params import DocumentCreateFromSplitsParams as DocumentCreateFromSplitsParams
71
- from .ledger_patient_adjustment_response import LedgerPatientAdjustmentResponse as LedgerPatientAdjustmentResponse
72
56
  from .document_retrieve_metadata_response import DocumentRetrieveMetadataResponse as DocumentRetrieveMetadataResponse
73
- from .ledger_institution_payment_response import LedgerInstitutionPaymentResponse as LedgerInstitutionPaymentResponse
74
57
  from .task_get_suspended_payload_response import TaskGetSuspendedPayloadResponse as TaskGetSuspendedPayloadResponse
75
58
  from .clearinghouse_run_discovery_response import ClearinghouseRunDiscoveryResponse as ClearinghouseRunDiscoveryResponse
76
59
  from .document_create_from_splits_response import DocumentCreateFromSplitsResponse as DocumentCreateFromSplitsResponse
77
60
  from .document_presigned_upload_url_params import DocumentPresignedUploadURLParams as DocumentPresignedUploadURLParams
78
- from .ledger_institution_adjustment_params import LedgerInstitutionAdjustmentParams as LedgerInstitutionAdjustmentParams
79
61
  from .workflow_run_get_start_data_response import WorkflowRunGetStartDataResponse as WorkflowRunGetStartDataResponse
80
62
  from .clearinghouse_check_eligibility_params import (
81
63
  ClearinghouseCheckEligibilityParams as ClearinghouseCheckEligibilityParams,
@@ -89,12 +71,6 @@ from .document_retrieve_csv_content_response import (
89
71
  from .document_transform_json_to_html_params import (
90
72
  DocumentTransformJsonToHTMLParams as DocumentTransformJsonToHTMLParams,
91
73
  )
92
- from .ledger_institution_adjustment_response import (
93
- LedgerInstitutionAdjustmentResponse as LedgerInstitutionAdjustmentResponse,
94
- )
95
- from .ledger_post_remittance_accepted_params import (
96
- LedgerPostRemittanceAcceptedParams as LedgerPostRemittanceAcceptedParams,
97
- )
98
74
  from .policy_retrieve_presigned_url_response import (
99
75
  PolicyRetrievePresignedURLResponse as PolicyRetrievePresignedURLResponse,
100
76
  )
@@ -107,9 +83,6 @@ from .clearinghouse_check_eligibility_response import (
107
83
  from .document_transform_json_to_html_response import (
108
84
  DocumentTransformJsonToHTMLResponse as DocumentTransformJsonToHTMLResponse,
109
85
  )
110
- from .ledger_post_remittance_accepted_response import (
111
- LedgerPostRemittanceAcceptedResponse as LedgerPostRemittanceAcceptedResponse,
112
- )
113
86
  from .workflow_run_resume_when_complete_params import (
114
87
  WorkflowRunResumeWhenCompleteParams as WorkflowRunResumeWhenCompleteParams,
115
88
  )
@@ -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 .help_request_resolve_params import HelpRequestResolveParams as HelpRequestResolveParams
6
+ from .help_request_resolve_response import HelpRequestResolveResponse as HelpRequestResolveResponse
@@ -0,0 +1,18 @@
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, Annotated, TypedDict
6
+
7
+ from ....._utils import PropertyInfo
8
+
9
+ __all__ = ["HelpRequestResolveParams"]
10
+
11
+
12
+ class HelpRequestResolveParams(TypedDict, total=False):
13
+ slug: Required[str]
14
+
15
+ browser_agent_run_id: Required[Annotated[str, PropertyInfo(alias="browserAgentRunId")]]
16
+
17
+ resolution: Required[str]
18
+ """Resolution details for the help request"""
@@ -0,0 +1,28 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Optional
4
+ from datetime import datetime
5
+
6
+ from pydantic import Field as FieldInfo
7
+
8
+ from ....._models import BaseModel
9
+
10
+ __all__ = ["HelpRequestResolveResponse"]
11
+
12
+
13
+ class HelpRequestResolveResponse(BaseModel):
14
+ id: str
15
+
16
+ browser_agent_run_id: str = FieldInfo(alias="browserAgentRunId")
17
+
18
+ created_at: datetime = FieldInfo(alias="createdAt")
19
+
20
+ org_id: str = FieldInfo(alias="orgId")
21
+
22
+ request: str
23
+
24
+ resolution: Optional[str] = None
25
+
26
+ resolved_at: Optional[datetime] = FieldInfo(alias="resolvedAt", default=None)
27
+
28
+ status: str
@@ -5,6 +5,7 @@ from __future__ import annotations
5
5
  from typing import List, Iterable
6
6
  from typing_extensions import Literal, Required, Annotated, TypedDict
7
7
 
8
+ from ...._types import SequenceNotStr
8
9
  from ...._utils import PropertyInfo
9
10
 
10
11
  __all__ = [
@@ -236,7 +237,7 @@ class ClaimInformationHealthCareCodeInformation(TypedDict, total=False):
236
237
 
237
238
 
238
239
  class ClaimInformationServiceLineProfessionalServiceCompositeDiagnosisCodePointers(TypedDict, total=False):
239
- diagnosis_code_pointers: Required[Annotated[List[str], PropertyInfo(alias="diagnosisCodePointers")]]
240
+ diagnosis_code_pointers: Required[Annotated[SequenceNotStr[str], PropertyInfo(alias="diagnosisCodePointers")]]
240
241
 
241
242
 
242
243
  class ClaimInformationServiceLineProfessionalService(TypedDict, total=False):
@@ -271,7 +272,7 @@ class ClaimInformationServiceLineProfessionalService(TypedDict, total=False):
271
272
 
272
273
  place_of_service_code: Annotated[str, PropertyInfo(alias="placeOfServiceCode")]
273
274
 
274
- procedure_modifiers: Annotated[List[str], PropertyInfo(alias="procedureModifiers")]
275
+ procedure_modifiers: Annotated[SequenceNotStr[str], PropertyInfo(alias="procedureModifiers")]
275
276
 
276
277
 
277
278
  class ClaimInformationServiceLineAmbulanceCertification(TypedDict, total=False):
@@ -468,7 +469,7 @@ class ClaimInformationServiceLineLineAdjudicationInformation(TypedDict, total=Fa
468
469
 
469
470
  procedure_code_description: Annotated[str, PropertyInfo(alias="procedureCodeDescription")]
470
471
 
471
- procedure_modifier: Annotated[List[str], PropertyInfo(alias="procedureModifier")]
472
+ procedure_modifier: Annotated[SequenceNotStr[str], PropertyInfo(alias="procedureModifier")]
472
473
 
473
474
  remaining_patient_liability: Annotated[str, PropertyInfo(alias="remainingPatientLiability")]
474
475
 
@@ -953,7 +954,7 @@ class ClaimInformationServiceLineServiceLineReferenceInformation(TypedDict, tota
953
954
  PropertyInfo(alias="priorAuthorization"),
954
955
  ]
955
956
 
956
- referral_number: Annotated[List[str], PropertyInfo(alias="referralNumber")]
957
+ referral_number: Annotated[SequenceNotStr[str], PropertyInfo(alias="referralNumber")]
957
958
 
958
959
  referring_clia_number: Annotated[str, PropertyInfo(alias="referringCliaNumber")]
959
960
 
@@ -1192,7 +1193,7 @@ class ClaimInformationServiceLine(TypedDict, total=False):
1192
1193
  ClaimInformationServiceLineDurableMedicalEquipmentService, PropertyInfo(alias="durableMedicalEquipmentService")
1193
1194
  ]
1194
1195
 
1195
- file_information: Annotated[List[str], PropertyInfo(alias="fileInformation")]
1196
+ file_information: Annotated[SequenceNotStr[str], PropertyInfo(alias="fileInformation")]
1196
1197
 
1197
1198
  form_identification: Annotated[
1198
1199
  Iterable[ClaimInformationServiceLineFormIdentification], PropertyInfo(alias="formIdentification")
@@ -1533,7 +1534,7 @@ class ClaimInformationClaimSupplementalInformation(TypedDict, total=False):
1533
1534
 
1534
1535
 
1535
1536
  class ClaimInformationConditionInformation(TypedDict, total=False):
1536
- condition_codes: Required[Annotated[List[str], PropertyInfo(alias="conditionCodes")]]
1537
+ condition_codes: Required[Annotated[SequenceNotStr[str], PropertyInfo(alias="conditionCodes")]]
1537
1538
 
1538
1539
 
1539
1540
  class ClaimInformationEpsdtReferral(TypedDict, total=False):
@@ -1663,7 +1664,7 @@ class ClaimInformationOtherSubscriberInformationClaimLevelAdjustment(TypedDict,
1663
1664
 
1664
1665
 
1665
1666
  class ClaimInformationOtherSubscriberInformationMedicareOutpatientAdjudication(TypedDict, total=False):
1666
- claim_payment_remark_code: Annotated[List[str], PropertyInfo(alias="claimPaymentRemarkCode")]
1667
+ claim_payment_remark_code: Annotated[SequenceNotStr[str], PropertyInfo(alias="claimPaymentRemarkCode")]
1667
1668
 
1668
1669
  end_stage_renal_disease_payment_amount: Annotated[str, PropertyInfo(alias="endStageRenalDiseasePaymentAmount")]
1669
1670
 
@@ -2090,7 +2091,7 @@ class ClaimInformation(TypedDict, total=False):
2090
2091
  ]
2091
2092
 
2092
2093
  anesthesia_related_surgical_procedure: Annotated[
2093
- List[str], PropertyInfo(alias="anesthesiaRelatedSurgicalProcedure")
2094
+ SequenceNotStr[str], PropertyInfo(alias="anesthesiaRelatedSurgicalProcedure")
2094
2095
  ]
2095
2096
 
2096
2097
  auto_accident_country_code: Annotated[str, PropertyInfo(alias="autoAccidentCountryCode")]
@@ -2127,7 +2128,7 @@ class ClaimInformation(TypedDict, total=False):
2127
2128
 
2128
2129
  file_information: Annotated[str, PropertyInfo(alias="fileInformation")]
2129
2130
 
2130
- file_information_list: Annotated[List[str], PropertyInfo(alias="fileInformationList")]
2131
+ file_information_list: Annotated[SequenceNotStr[str], PropertyInfo(alias="fileInformationList")]
2131
2132
 
2132
2133
  homebound_indicator: Annotated[bool, PropertyInfo(alias="homeboundIndicator")]
2133
2134
 
@@ -5,6 +5,7 @@ from __future__ import annotations
5
5
  from typing import List, Iterable
6
6
  from typing_extensions import Literal, Required, Annotated, TypedDict
7
7
 
8
+ from ..._types import SequenceNotStr
8
9
  from ..._utils import PropertyInfo
9
10
 
10
11
  __all__ = [
@@ -607,11 +608,11 @@ class EligibilityResponseBenefitsInformationBenefitsServiceDelivery(TypedDict, t
607
608
 
608
609
 
609
610
  class EligibilityResponseBenefitsInformationCompositeMedicalProcedureIdentifier(TypedDict, total=False):
610
- diagnosis_code_pointer: Annotated[List[str], PropertyInfo(alias="diagnosisCodePointer")]
611
+ diagnosis_code_pointer: Annotated[SequenceNotStr[str], PropertyInfo(alias="diagnosisCodePointer")]
611
612
 
612
613
  procedure_code: Annotated[str, PropertyInfo(alias="procedureCode")]
613
614
 
614
- procedure_modifiers: Annotated[List[str], PropertyInfo(alias="procedureModifiers")]
615
+ procedure_modifiers: Annotated[SequenceNotStr[str], PropertyInfo(alias="procedureModifiers")]
615
616
 
616
617
  product_or_service_id: Annotated[str, PropertyInfo(alias="productOrServiceID")]
617
618
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List
6
5
  from typing_extensions import Required, Annotated, TypedDict
7
6
 
7
+ from ..._types import SequenceNotStr
8
8
  from ..._utils import PropertyInfo
9
9
 
10
10
  __all__ = ["ClearinghouseCheckEligibilityParams"]
@@ -17,7 +17,7 @@ class ClearinghouseCheckEligibilityParams(TypedDict, total=False):
17
17
  provider_name: Required[Annotated[str, PropertyInfo(alias="providerName")]]
18
18
  """The provider name."""
19
19
 
20
- service_type_codes: Required[Annotated[List[str], PropertyInfo(alias="serviceTypeCodes")]]
20
+ service_type_codes: Required[Annotated[SequenceNotStr[str], PropertyInfo(alias="serviceTypeCodes")]]
21
21
  """The service type codes."""
22
22
 
23
23
  subscriber_date_of_birth: Required[Annotated[str, PropertyInfo(alias="subscriberDateOfBirth")]]
@@ -2,9 +2,10 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import Dict, List
5
+ from typing import Dict
6
6
  from typing_extensions import Required, Annotated, TypedDict
7
7
 
8
+ from ..._types import SequenceNotStr
8
9
  from ..._utils import PropertyInfo
9
10
 
10
11
  __all__ = [
@@ -43,7 +44,7 @@ class ToAddressAddress(TypedDict, total=False):
43
44
 
44
45
  state: Required[str]
45
46
 
46
- street_lines: Required[Annotated[List[str], PropertyInfo(alias="streetLines")]]
47
+ street_lines: Required[Annotated[SequenceNotStr[str], PropertyInfo(alias="streetLines")]]
47
48
 
48
49
  zip_code: Required[Annotated[str, PropertyInfo(alias="zipCode")]]
49
50
 
@@ -61,7 +62,7 @@ class FromAddressAddress(TypedDict, total=False):
61
62
 
62
63
  state: Required[str]
63
64
 
64
- street_lines: Required[Annotated[List[str], PropertyInfo(alias="streetLines")]]
65
+ street_lines: Required[Annotated[SequenceNotStr[str], PropertyInfo(alias="streetLines")]]
65
66
 
66
67
  zip_code: Required[Annotated[str, PropertyInfo(alias="zipCode")]]
67
68
 
@@ -2,9 +2,10 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List, Iterable
5
+ from typing import Iterable
6
6
  from typing_extensions import Required, Annotated, TypedDict
7
7
 
8
+ from ..._types import SequenceNotStr
8
9
  from ..._utils import PropertyInfo
9
10
 
10
11
  __all__ = ["DocumentClassifyParams", "Document", "LabelSchema"]
@@ -29,4 +30,4 @@ class LabelSchema(TypedDict, total=False):
29
30
 
30
31
  description: str
31
32
 
32
- keywords: List[str]
33
+ keywords: SequenceNotStr[str]
@@ -20,9 +20,12 @@ class DocumentExtractParams(TypedDict, total=False):
20
20
  response_json_schema: Required[Annotated[Dict[str, object], PropertyInfo(alias="responseJsonSchema")]]
21
21
  """A JSON schema defining the structure of the desired extraction output."""
22
22
 
23
- model: Literal["reasoning-3-mini", "reasoning-3"]
23
+ model: Literal["reasoning-3-mini", "reasoning-3", "base-5", "base-5-mini", "base-5-nano"]
24
24
  """The model to use for extraction."""
25
25
 
26
+ priority: Literal["interactive", "non-interactive"]
27
+ """The priority of the extraction task. Non-interactive is lower priority."""
28
+
26
29
  reasoning_effort: Annotated[Literal["low", "medium", "high"], PropertyInfo(alias="reasoningEffort")]
27
30
  """Optional control over the reasoning effort for extraction."""
28
31
 
@@ -2,9 +2,10 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import Dict, List, Union, Iterable
5
+ from typing import Dict, Union, Iterable
6
6
  from typing_extensions import Required, Annotated, TypedDict
7
7
 
8
+ from ..._types import SequenceNotStr
8
9
  from ..._utils import PropertyInfo
9
10
 
10
11
  __all__ = ["DocumentGenerateCsvParams", "Options"]
@@ -24,7 +25,7 @@ class DocumentGenerateCsvParams(TypedDict, total=False):
24
25
 
25
26
 
26
27
  class Options(TypedDict, total=False):
27
- column_order: Annotated[List[str], PropertyInfo(alias="columnOrder")]
28
+ column_order: Annotated[SequenceNotStr[str], PropertyInfo(alias="columnOrder")]
28
29
  """Optional array of strings to specify column order."""
29
30
 
30
31
  export_as_excel: Annotated[bool, PropertyInfo(alias="exportAsExcel")]
@@ -2,19 +2,34 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
+ from typing import Iterable
5
6
  from typing_extensions import Required, Annotated, TypedDict
6
7
 
7
8
  from ..._utils import PropertyInfo
8
9
 
9
- __all__ = ["DocumentSplitParams", "Document"]
10
+ __all__ = ["DocumentSplitParams", "Document", "SplitDescription"]
10
11
 
11
12
 
12
13
  class DocumentSplitParams(TypedDict, total=False):
13
14
  document: Required[Document]
14
15
  """The document to be split."""
15
16
 
17
+ split_description: Required[Annotated[Iterable[SplitDescription], PropertyInfo(alias="splitDescription")]]
18
+ """Split description configuration."""
19
+
20
+ split_rules: Annotated[str, PropertyInfo(alias="splitRules")]
21
+ """Optional split rules prompt for the splitter."""
22
+
16
23
 
17
24
  class Document(TypedDict, total=False):
18
25
  id: Required[str]
19
26
 
20
27
  file_name: Required[Annotated[str, PropertyInfo(alias="fileName")]]
28
+
29
+
30
+ class SplitDescription(TypedDict, total=False):
31
+ description: Required[str]
32
+
33
+ name: Required[str]
34
+
35
+ partition_key: Annotated[str, PropertyInfo(alias="partitionKey")]
@@ -0,0 +1,12 @@
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__ = ["DocumentUnzipAsyncResponse"]
8
+
9
+
10
+ class DocumentUnzipAsyncResponse(BaseModel):
11
+ async_result_id: str = FieldInfo(alias="asyncResultId")
12
+ """The ID of the async result for this job."""
@@ -2,8 +2,10 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
+ from .legacy_split_params import LegacySplitParams as LegacySplitParams
5
6
  from .legacy_reason_params import LegacyReasonParams as LegacyReasonParams
6
7
  from .legacy_extract_params import LegacyExtractParams as LegacyExtractParams
8
+ from .legacy_split_response import LegacySplitResponse as LegacySplitResponse
7
9
  from .legacy_reason_response import LegacyReasonResponse as LegacyReasonResponse
8
10
  from .legacy_extract_response import LegacyExtractResponse as LegacyExtractResponse
9
11
  from .format_create_pdf_params import FormatCreatePdfParams as FormatCreatePdfParams
@@ -2,9 +2,10 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import Dict, List, Union, Iterable
5
+ from typing import Dict, Union, Iterable
6
6
  from typing_extensions import Literal, Required, Annotated, TypeAlias, TypedDict
7
7
 
8
+ from ...._types import SequenceNotStr
8
9
  from ...._utils import PropertyInfo
9
10
 
10
11
  __all__ = [
@@ -40,7 +41,7 @@ class AnswerSchemaUnionMember0(TypedDict, total=False):
40
41
 
41
42
  extract_multiple: Annotated[bool, PropertyInfo(alias="extractMultiple")]
42
43
 
43
- keywords: List[str]
44
+ keywords: SequenceNotStr[str]
44
45
 
45
46
 
46
47
  class AnswerSchemaUnionMember1(TypedDict, total=False):
@@ -54,7 +55,7 @@ class AnswerSchemaUnionMember1(TypedDict, total=False):
54
55
 
55
56
  extract_multiple: Annotated[bool, PropertyInfo(alias="extractMultiple")]
56
57
 
57
- keywords: List[str]
58
+ keywords: SequenceNotStr[str]
58
59
 
59
60
 
60
61
  class AnswerSchemaUnionMember2(TypedDict, total=False):
@@ -64,13 +65,13 @@ class AnswerSchemaUnionMember2(TypedDict, total=False):
64
65
 
65
66
  type: Required[Literal["enum"]]
66
67
 
67
- values: Required[List[str]]
68
+ values: Required[SequenceNotStr[str]]
68
69
 
69
70
  description: str
70
71
 
71
72
  extract_multiple: Annotated[bool, PropertyInfo(alias="extractMultiple")]
72
73
 
73
- keywords: List[str]
74
+ keywords: SequenceNotStr[str]
74
75
 
75
76
 
76
77
  class AnswerSchemaUnionMember3(TypedDict, total=False):
@@ -86,7 +87,7 @@ class AnswerSchemaUnionMember3(TypedDict, total=False):
86
87
 
87
88
  extract_multiple: Annotated[bool, PropertyInfo(alias="extractMultiple")]
88
89
 
89
- keywords: List[str]
90
+ keywords: SequenceNotStr[str]
90
91
 
91
92
 
92
93
  class AnswerSchemaUnionMember4EventFields(TypedDict, total=False):
@@ -106,7 +107,7 @@ class AnswerSchemaUnionMember4Event(TypedDict, total=False):
106
107
 
107
108
  description: str
108
109
 
109
- keywords: List[str]
110
+ keywords: SequenceNotStr[str]
110
111
 
111
112
 
112
113
  class AnswerSchemaUnionMember4(TypedDict, total=False):
@@ -0,0 +1,20 @@
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, Annotated, TypedDict
6
+
7
+ from ...._utils import PropertyInfo
8
+
9
+ __all__ = ["LegacySplitParams", "Document"]
10
+
11
+
12
+ class LegacySplitParams(TypedDict, total=False):
13
+ document: Required[Document]
14
+ """The document to be split."""
15
+
16
+
17
+ class Document(TypedDict, total=False):
18
+ id: Required[str]
19
+
20
+ file_name: Required[Annotated[str, PropertyInfo(alias="fileName")]]
@@ -0,0 +1,12 @@
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__ = ["LegacySplitResponse"]
8
+
9
+
10
+ class LegacySplitResponse(BaseModel):
11
+ async_result_id: str = FieldInfo(alias="asyncResultId")
12
+ """The ID to track the asynchronous splitting task."""
@@ -3,17 +3,29 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  from typing import Dict, Union, Iterable
6
- from typing_extensions import Required, TypedDict
6
+ from typing_extensions import Literal, Required, TypeAlias, TypedDict
7
7
 
8
- __all__ = ["TemplateRenderDocumentParams"]
8
+ __all__ = ["TemplateRenderDocumentParams", "Variables", "VariablesUnionMember0"]
9
9
 
10
10
 
11
11
  class TemplateRenderDocumentParams(TypedDict, total=False):
12
12
  slug: Required[str]
13
13
  """The slug of the template to use."""
14
14
 
15
- variables: Required[Dict[str, Union[Iterable[Dict[str, str]], str]]]
16
- """The variables to use in the template.
15
+ variables: Required[Dict[str, Variables]]
16
+ """Variables for the template.
17
17
 
18
- Can be strings or arrays of objects for table data.
18
+ Accepts strings, arrays of objects for tables, or nested templates via
19
+ `{ type: 'template', slug, variables }`.
19
20
  """
21
+
22
+
23
+ class VariablesUnionMember0(TypedDict, total=False):
24
+ slug: Required[str]
25
+
26
+ type: Required[Literal["template"]]
27
+
28
+ variables: Required[Dict[str, object]]
29
+
30
+
31
+ Variables: TypeAlias = Union[VariablesUnionMember0, Iterable[Dict[str, str]], str]
@@ -4,11 +4,13 @@ from __future__ import annotations
4
4
 
5
5
  from .snowflake_query_params import SnowflakeQueryParams as SnowflakeQueryParams
6
6
  from .snowflake_query_response import SnowflakeQueryResponse as SnowflakeQueryResponse
7
+ from .xcure_make_request_params import XcureMakeRequestParams as XcureMakeRequestParams
7
8
  from .glidian_list_payers_params import GlidianListPayersParams as GlidianListPayersParams
8
9
  from .careviso_get_payers_response import CarevisoGetPayersResponse as CarevisoGetPayersResponse
9
10
  from .glidian_list_payers_response import GlidianListPayersResponse as GlidianListPayersResponse
10
11
  from .glidian_list_services_params import GlidianListServicesParams as GlidianListServicesParams
11
12
  from .glidian_list_services_response import GlidianListServicesResponse as GlidianListServicesResponse
13
+ from .salesforce_run_crud_action_params import SalesforceRunCrudActionParams as SalesforceRunCrudActionParams
12
14
  from .careviso_submit_prior_authorization_params import (
13
15
  CarevisoSubmitPriorAuthorizationParams as CarevisoSubmitPriorAuthorizationParams,
14
16
  )
@@ -2,9 +2,10 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List, Iterable
5
+ from typing import Iterable
6
6
  from typing_extensions import Literal, Required, Annotated, TypedDict
7
7
 
8
+ from ...._types import SequenceNotStr
8
9
  from ...._utils import PropertyInfo
9
10
 
10
11
  __all__ = ["CarevisoSubmitPriorAuthorizationParams", "Attachment"]
@@ -17,11 +18,11 @@ class CarevisoSubmitPriorAuthorizationParams(TypedDict, total=False):
17
18
  Annotated[Literal["prior_auth_request", "benefits_investigation"], PropertyInfo(alias="caseType")]
18
19
  ]
19
20
 
20
- cpt_codes: Required[Annotated[List[str], PropertyInfo(alias="cptCodes")]]
21
+ cpt_codes: Required[Annotated[SequenceNotStr[str], PropertyInfo(alias="cptCodes")]]
21
22
 
22
23
  group_id: Required[Annotated[str, PropertyInfo(alias="groupId")]]
23
24
 
24
- icd10_codes: Required[Annotated[List[str], PropertyInfo(alias="icd10Codes")]]
25
+ icd10_codes: Required[Annotated[SequenceNotStr[str], PropertyInfo(alias="icd10Codes")]]
25
26
 
26
27
  insurance_name: Required[Annotated[str, PropertyInfo(alias="insuranceName")]]
27
28
 
@@ -54,7 +55,7 @@ class CarevisoSubmitPriorAuthorizationParams(TypedDict, total=False):
54
55
  service_date: Required[Annotated[str, PropertyInfo(alias="serviceDate")]]
55
56
  """The date of service for the test. Should be in the format YYYY-MM-DD."""
56
57
 
57
- test_names: Required[Annotated[List[str], PropertyInfo(alias="testNames")]]
58
+ test_names: Required[Annotated[SequenceNotStr[str], PropertyInfo(alias="testNames")]]
58
59
 
59
60
  accession_date: Annotated[str, PropertyInfo(alias="accessionDate")]
60
61
 
@@ -78,7 +79,7 @@ class CarevisoSubmitPriorAuthorizationParams(TypedDict, total=False):
78
79
 
79
80
  patient_zip: Annotated[str, PropertyInfo(alias="patientZip")]
80
81
 
81
- test_identifiers: Annotated[List[str], PropertyInfo(alias="testIdentifiers")]
82
+ test_identifiers: Annotated[SequenceNotStr[str], PropertyInfo(alias="testIdentifiers")]
82
83
 
83
84
  test_type: Annotated[str, PropertyInfo(alias="testType")]
84
85
 
@@ -2,9 +2,10 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import Dict, List, Union
5
+ from typing import Dict, Union
6
6
  from typing_extensions import Required, Annotated, TypedDict
7
7
 
8
+ from ......_types import SequenceNotStr
8
9
  from ......_utils import PropertyInfo
9
10
 
10
11
  __all__ = ["ClinicalQuestionUpdateParams", "Responses"]
@@ -17,6 +18,6 @@ class ClinicalQuestionUpdateParams(TypedDict, total=False):
17
18
 
18
19
 
19
20
  class Responses(TypedDict, total=False):
20
- value: Required[Union[str, List[str]]]
21
+ value: Required[Union[str, SequenceNotStr[str]]]
21
22
 
22
23
  other_value: Annotated[str, PropertyInfo(alias="otherValue")]
@@ -0,0 +1,22 @@
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 Literal, Required, Annotated, TypedDict
7
+
8
+ from ...._utils import PropertyInfo
9
+
10
+ __all__ = ["SalesforceRunCrudActionParams"]
11
+
12
+
13
+ class SalesforceRunCrudActionParams(TypedDict, total=False):
14
+ crud_action_type: Required[
15
+ Annotated[Literal["create", "update", "upsert", "delete", "retrieve"], PropertyInfo(alias="crudActionType")]
16
+ ]
17
+
18
+ resource_type: Required[Annotated[str, PropertyInfo(alias="resourceType")]]
19
+
20
+ resource_body: Annotated[Dict[str, object], PropertyInfo(alias="resourceBody")]
21
+
22
+ resource_id: Annotated[str, PropertyInfo(alias="resourceId")]