samplehc 0.9.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.
Files changed (101) hide show
  1. samplehc/_base_client.py +3 -3
  2. samplehc/_compat.py +48 -48
  3. samplehc/_models.py +41 -41
  4. samplehc/_types.py +35 -1
  5. samplehc/_utils/__init__.py +9 -2
  6. samplehc/_utils/_compat.py +45 -0
  7. samplehc/_utils/_datetime_parse.py +136 -0
  8. samplehc/_utils/_transform.py +11 -1
  9. samplehc/_utils/_typing.py +6 -1
  10. samplehc/_utils/_utils.py +0 -1
  11. samplehc/_version.py +1 -1
  12. samplehc/resources/v2/browser_agents/__init__.py +33 -0
  13. samplehc/resources/v2/{browser_agents.py → browser_agents/browser_agents.py} +40 -8
  14. samplehc/resources/v2/browser_agents/runs/__init__.py +33 -0
  15. samplehc/resources/v2/browser_agents/runs/help_requests.py +191 -0
  16. samplehc/resources/v2/browser_agents/runs/runs.py +102 -0
  17. samplehc/resources/v2/clearinghouse/clearinghouse.py +4 -4
  18. samplehc/resources/v2/clearinghouse/payers.py +18 -20
  19. samplehc/resources/v2/{events/events.py → events.py} +8 -40
  20. samplehc/resources/v2/integrations/__init__.py +28 -0
  21. samplehc/resources/v2/integrations/careviso.py +10 -10
  22. samplehc/resources/v2/integrations/integrations.py +64 -0
  23. samplehc/resources/v2/integrations/salesforce.py +193 -0
  24. samplehc/resources/v2/{events/integrations → integrations}/xcures.py +7 -7
  25. samplehc/resources/v2/ledger/__init__.py +27 -55
  26. samplehc/resources/v2/ledger/{orders.py → account.py} +120 -82
  27. samplehc/resources/v2/ledger/entry.py +382 -0
  28. samplehc/resources/v2/ledger/ledger.py +38 -1560
  29. samplehc/resources/v2/v2.py +16 -16
  30. samplehc/types/v2/__init__.py +0 -28
  31. samplehc/types/v2/browser_agent_invoke_response.py +3 -0
  32. samplehc/types/v2/browser_agents/runs/__init__.py +6 -0
  33. samplehc/types/v2/browser_agents/runs/help_request_resolve_params.py +18 -0
  34. samplehc/types/v2/browser_agents/runs/help_request_resolve_response.py +30 -0
  35. samplehc/types/v2/clearinghouse/__init__.py +2 -2
  36. samplehc/types/v2/clearinghouse/claim_submit_params.py +10 -9
  37. samplehc/types/v2/clearinghouse/{payer_retrieve_search_params.py → payer_search_params.py} +2 -2
  38. samplehc/types/v2/clearinghouse/{payer_retrieve_search_response.py → payer_search_response.py} +2 -2
  39. samplehc/types/v2/clearinghouse_calculate_patient_cost_params.py +3 -2
  40. samplehc/types/v2/clearinghouse_check_eligibility_params.py +2 -2
  41. samplehc/types/v2/communication_send_letter_params.py +4 -3
  42. samplehc/types/v2/document_classify_params.py +3 -2
  43. samplehc/types/v2/document_generate_csv_params.py +3 -2
  44. samplehc/types/v2/documents/legacy_extract_params.py +8 -7
  45. samplehc/types/v2/integrations/__init__.py +2 -0
  46. samplehc/types/v2/integrations/careviso_submit_prior_authorization_params.py +6 -5
  47. samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_params.py +3 -2
  48. samplehc/types/v2/integrations/salesforce_run_crud_action_params.py +22 -0
  49. samplehc/types/v2/ledger/__init__.py +6 -17
  50. samplehc/types/v2/ledger/account_writeoff_params.py +24 -0
  51. samplehc/types/v2/ledger/account_writeoff_response.py +12 -0
  52. samplehc/types/v2/ledger/entry_post_params.py +61 -0
  53. samplehc/types/v2/ledger/entry_post_response.py +10 -0
  54. samplehc/types/v2/ledger/entry_reverse_params.py +19 -0
  55. samplehc/types/v2/ledger/entry_reverse_response.py +10 -0
  56. {samplehc-0.9.0.dist-info → samplehc-0.11.0.dist-info}/METADATA +1 -1
  57. {samplehc-0.9.0.dist-info → samplehc-0.11.0.dist-info}/RECORD +61 -83
  58. samplehc/resources/v2/events/__init__.py +0 -33
  59. samplehc/resources/v2/events/integrations/__init__.py +0 -33
  60. samplehc/resources/v2/events/integrations/integrations.py +0 -102
  61. samplehc/resources/v2/ledger/institutions/__init__.py +0 -33
  62. samplehc/resources/v2/ledger/institutions/institutions.py +0 -258
  63. samplehc/resources/v2/ledger/institutions/orders.py +0 -169
  64. samplehc/resources/v2/ledger/insurance.py +0 -141
  65. samplehc/resources/v2/ledger/patients.py +0 -141
  66. samplehc/types/v2/events/integrations/__init__.py +0 -5
  67. samplehc/types/v2/ledger/institution_list_outstanding_accounts_response.py +0 -25
  68. samplehc/types/v2/ledger/institution_retrieve_outstanding_orders_response.py +0 -25
  69. samplehc/types/v2/ledger/institutions/__init__.py +0 -5
  70. samplehc/types/v2/ledger/institutions/order_retrieve_balance_response.py +0 -12
  71. samplehc/types/v2/ledger/insurance_list_outstanding_accounts_response.py +0 -25
  72. samplehc/types/v2/ledger/order_retrieve_balances_response.py +0 -31
  73. samplehc/types/v2/ledger/order_retrieve_batch_balances_params.py +0 -15
  74. samplehc/types/v2/ledger/order_retrieve_batch_balances_response.py +0 -38
  75. samplehc/types/v2/ledger/patient_list_outstanding_accounts_response.py +0 -22
  76. samplehc/types/v2/ledger_assign_invoice_params.py +0 -34
  77. samplehc/types/v2/ledger_assign_invoice_response.py +0 -12
  78. samplehc/types/v2/ledger_claim_adjustment_params.py +0 -34
  79. samplehc/types/v2/ledger_claim_adjustment_response.py +0 -12
  80. samplehc/types/v2/ledger_claim_payment_params.py +0 -34
  81. samplehc/types/v2/ledger_claim_payment_response.py +0 -12
  82. samplehc/types/v2/ledger_institution_adjustment_params.py +0 -31
  83. samplehc/types/v2/ledger_institution_adjustment_response.py +0 -12
  84. samplehc/types/v2/ledger_institution_payment_params.py +0 -31
  85. samplehc/types/v2/ledger_institution_payment_response.py +0 -12
  86. samplehc/types/v2/ledger_new_order_params.py +0 -22
  87. samplehc/types/v2/ledger_new_order_response.py +0 -12
  88. samplehc/types/v2/ledger_order_writeoff_params.py +0 -28
  89. samplehc/types/v2/ledger_order_writeoff_response.py +0 -12
  90. samplehc/types/v2/ledger_patient_adjustment_params.py +0 -31
  91. samplehc/types/v2/ledger_patient_adjustment_response.py +0 -12
  92. samplehc/types/v2/ledger_patient_payment_params.py +0 -28
  93. samplehc/types/v2/ledger_patient_payment_response.py +0 -12
  94. samplehc/types/v2/ledger_post_remittance_accepted_params.py +0 -37
  95. samplehc/types/v2/ledger_post_remittance_accepted_response.py +0 -12
  96. samplehc/types/v2/ledger_reverse_entry_params.py +0 -12
  97. samplehc/types/v2/ledger_reverse_entry_response.py +0 -12
  98. /samplehc/types/v2/{events → browser_agents}/__init__.py +0 -0
  99. /samplehc/types/v2/{events/integrations → integrations}/xcure_make_request_params.py +0 -0
  100. {samplehc-0.9.0.dist-info → samplehc-0.11.0.dist-info}/WHEEL +0 -0
  101. {samplehc-0.9.0.dist-info → samplehc-0.11.0.dist-info}/licenses/LICENSE +0 -0
@@ -2,6 +2,14 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
+ from .events import (
6
+ EventsResource,
7
+ AsyncEventsResource,
8
+ EventsResourceWithRawResponse,
9
+ AsyncEventsResourceWithRawResponse,
10
+ EventsResourceWithStreamingResponse,
11
+ AsyncEventsResourceWithStreamingResponse,
12
+ )
5
13
  from .hie.hie import (
6
14
  HieResource,
7
15
  AsyncHieResource,
@@ -60,14 +68,6 @@ from .communication import (
60
68
  CommunicationResourceWithStreamingResponse,
61
69
  AsyncCommunicationResourceWithStreamingResponse,
62
70
  )
63
- from .events.events import (
64
- EventsResource,
65
- AsyncEventsResource,
66
- EventsResourceWithRawResponse,
67
- AsyncEventsResourceWithRawResponse,
68
- EventsResourceWithStreamingResponse,
69
- AsyncEventsResourceWithStreamingResponse,
70
- )
71
71
  from .ledger.ledger import (
72
72
  LedgerResource,
73
73
  AsyncLedgerResource,
@@ -76,14 +76,6 @@ from .ledger.ledger import (
76
76
  LedgerResourceWithStreamingResponse,
77
77
  AsyncLedgerResourceWithStreamingResponse,
78
78
  )
79
- from .browser_agents import (
80
- BrowserAgentsResource,
81
- AsyncBrowserAgentsResource,
82
- BrowserAgentsResourceWithRawResponse,
83
- AsyncBrowserAgentsResourceWithRawResponse,
84
- BrowserAgentsResourceWithStreamingResponse,
85
- AsyncBrowserAgentsResourceWithStreamingResponse,
86
- )
87
79
  from .documents.documents import (
88
80
  DocumentsResource,
89
81
  AsyncDocumentsResource,
@@ -116,6 +108,14 @@ from .workflow_runs.workflow_runs import (
116
108
  WorkflowRunsResourceWithStreamingResponse,
117
109
  AsyncWorkflowRunsResourceWithStreamingResponse,
118
110
  )
111
+ from .browser_agents.browser_agents import (
112
+ BrowserAgentsResource,
113
+ AsyncBrowserAgentsResource,
114
+ BrowserAgentsResourceWithRawResponse,
115
+ AsyncBrowserAgentsResourceWithRawResponse,
116
+ BrowserAgentsResourceWithStreamingResponse,
117
+ AsyncBrowserAgentsResourceWithStreamingResponse,
118
+ )
119
119
  from .browser_automation.browser_automation import (
120
120
  BrowserAutomationResource,
121
121
  AsyncBrowserAutomationResource,
@@ -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,35 @@ 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
51
42
  from .policy_retrieve_text_response import PolicyRetrieveTextResponse as PolicyRetrieveTextResponse
52
43
  from .async_result_retrieve_response import AsyncResultRetrieveResponse as AsyncResultRetrieveResponse
53
44
  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
45
  from .policy_list_companies_response import PolicyListCompaniesResponse as PolicyListCompaniesResponse
58
46
  from .task_update_screen_time_params import TaskUpdateScreenTimeParams as TaskUpdateScreenTimeParams
59
47
  from .workflow_run_retrieve_response import WorkflowRunRetrieveResponse as WorkflowRunRetrieveResponse
60
48
  from .communication_send_email_params import CommunicationSendEmailParams as CommunicationSendEmailParams
61
49
  from .communication_send_fax_response import CommunicationSendFaxResponse as CommunicationSendFaxResponse
62
- from .ledger_patient_payment_response import LedgerPatientPaymentResponse as LedgerPatientPaymentResponse
63
50
  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
51
  from .task_update_screen_time_response import TaskUpdateScreenTimeResponse as TaskUpdateScreenTimeResponse
67
- from .ledger_institution_payment_params import LedgerInstitutionPaymentParams as LedgerInstitutionPaymentParams
68
52
  from .clearinghouse_run_discovery_params import ClearinghouseRunDiscoveryParams as ClearinghouseRunDiscoveryParams
69
53
  from .communication_send_letter_response import CommunicationSendLetterResponse as CommunicationSendLetterResponse
70
54
  from .document_create_from_splits_params import DocumentCreateFromSplitsParams as DocumentCreateFromSplitsParams
71
- from .ledger_patient_adjustment_response import LedgerPatientAdjustmentResponse as LedgerPatientAdjustmentResponse
72
55
  from .document_retrieve_metadata_response import DocumentRetrieveMetadataResponse as DocumentRetrieveMetadataResponse
73
- from .ledger_institution_payment_response import LedgerInstitutionPaymentResponse as LedgerInstitutionPaymentResponse
74
56
  from .task_get_suspended_payload_response import TaskGetSuspendedPayloadResponse as TaskGetSuspendedPayloadResponse
75
57
  from .clearinghouse_run_discovery_response import ClearinghouseRunDiscoveryResponse as ClearinghouseRunDiscoveryResponse
76
58
  from .document_create_from_splits_response import DocumentCreateFromSplitsResponse as DocumentCreateFromSplitsResponse
77
59
  from .document_presigned_upload_url_params import DocumentPresignedUploadURLParams as DocumentPresignedUploadURLParams
78
- from .ledger_institution_adjustment_params import LedgerInstitutionAdjustmentParams as LedgerInstitutionAdjustmentParams
79
60
  from .workflow_run_get_start_data_response import WorkflowRunGetStartDataResponse as WorkflowRunGetStartDataResponse
80
61
  from .clearinghouse_check_eligibility_params import (
81
62
  ClearinghouseCheckEligibilityParams as ClearinghouseCheckEligibilityParams,
@@ -89,12 +70,6 @@ from .document_retrieve_csv_content_response import (
89
70
  from .document_transform_json_to_html_params import (
90
71
  DocumentTransformJsonToHTMLParams as DocumentTransformJsonToHTMLParams,
91
72
  )
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
73
  from .policy_retrieve_presigned_url_response import (
99
74
  PolicyRetrievePresignedURLResponse as PolicyRetrievePresignedURLResponse,
100
75
  )
@@ -107,9 +82,6 @@ from .clearinghouse_check_eligibility_response import (
107
82
  from .document_transform_json_to_html_response import (
108
83
  DocumentTransformJsonToHTMLResponse as DocumentTransformJsonToHTMLResponse,
109
84
  )
110
- from .ledger_post_remittance_accepted_response import (
111
- LedgerPostRemittanceAcceptedResponse as LedgerPostRemittanceAcceptedResponse,
112
- )
113
85
  from .workflow_run_resume_when_complete_params import (
114
86
  WorkflowRunResumeWhenCompleteParams as WorkflowRunResumeWhenCompleteParams,
115
87
  )
@@ -10,3 +10,6 @@ __all__ = ["BrowserAgentInvokeResponse"]
10
10
  class BrowserAgentInvokeResponse(BaseModel):
11
11
  async_result_id: str = FieldInfo(alias="asyncResultId")
12
12
  """ID to track the browser agent invocation status"""
13
+
14
+ browser_agent_run_id: str = FieldInfo(alias="browserAgentRunId")
15
+ """ID to track the browser agent run"""
@@ -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,30 @@
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
29
+
30
+ updated_at: datetime = FieldInfo(alias="updatedAt")
@@ -4,6 +4,6 @@ from __future__ import annotations
4
4
 
5
5
  from .claim_submit_params import ClaimSubmitParams as ClaimSubmitParams
6
6
  from .payer_list_response import PayerListResponse as PayerListResponse
7
+ from .payer_search_params import PayerSearchParams as PayerSearchParams
7
8
  from .claim_submit_response import ClaimSubmitResponse as ClaimSubmitResponse
8
- from .payer_retrieve_search_params import PayerRetrieveSearchParams as PayerRetrieveSearchParams
9
- from .payer_retrieve_search_response import PayerRetrieveSearchResponse as PayerRetrieveSearchResponse
9
+ from .payer_search_response import PayerSearchResponse as PayerSearchResponse
@@ -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
 
@@ -4,9 +4,9 @@ from __future__ import annotations
4
4
 
5
5
  from typing_extensions import Required, TypedDict
6
6
 
7
- __all__ = ["PayerRetrieveSearchParams"]
7
+ __all__ = ["PayerSearchParams"]
8
8
 
9
9
 
10
- class PayerRetrieveSearchParams(TypedDict, total=False):
10
+ class PayerSearchParams(TypedDict, total=False):
11
11
  query: Required[str]
12
12
  """The search query (e.g. name, ID, etc.) for the payer."""
@@ -6,7 +6,7 @@ from pydantic import Field as FieldInfo
6
6
 
7
7
  from ...._models import BaseModel
8
8
 
9
- __all__ = ["PayerRetrieveSearchResponse", "Payer", "PayerPayer"]
9
+ __all__ = ["PayerSearchResponse", "Payer", "PayerPayer"]
10
10
 
11
11
 
12
12
  class PayerPayer(BaseModel):
@@ -27,5 +27,5 @@ class Payer(BaseModel):
27
27
  score: float
28
28
 
29
29
 
30
- class PayerRetrieveSearchResponse(BaseModel):
30
+ class PayerSearchResponse(BaseModel):
31
31
  payers: List[Payer]
@@ -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]
@@ -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,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):
@@ -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")]
@@ -2,20 +2,9 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from .order_retrieve_balances_response import OrderRetrieveBalancesResponse as OrderRetrieveBalancesResponse
6
- from .order_retrieve_batch_balances_params import OrderRetrieveBatchBalancesParams as OrderRetrieveBatchBalancesParams
7
- from .order_retrieve_batch_balances_response import (
8
- OrderRetrieveBatchBalancesResponse as OrderRetrieveBatchBalancesResponse,
9
- )
10
- from .patient_list_outstanding_accounts_response import (
11
- PatientListOutstandingAccountsResponse as PatientListOutstandingAccountsResponse,
12
- )
13
- from .insurance_list_outstanding_accounts_response import (
14
- InsuranceListOutstandingAccountsResponse as InsuranceListOutstandingAccountsResponse,
15
- )
16
- from .institution_list_outstanding_accounts_response import (
17
- InstitutionListOutstandingAccountsResponse as InstitutionListOutstandingAccountsResponse,
18
- )
19
- from .institution_retrieve_outstanding_orders_response import (
20
- InstitutionRetrieveOutstandingOrdersResponse as InstitutionRetrieveOutstandingOrdersResponse,
21
- )
5
+ from .entry_post_params import EntryPostParams as EntryPostParams
6
+ from .entry_post_response import EntryPostResponse as EntryPostResponse
7
+ from .entry_reverse_params import EntryReverseParams as EntryReverseParams
8
+ from .entry_reverse_response import EntryReverseResponse as EntryReverseResponse
9
+ from .account_writeoff_params import AccountWriteoffParams as AccountWriteoffParams
10
+ from .account_writeoff_response import AccountWriteoffResponse as AccountWriteoffResponse