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
@@ -16,6 +16,14 @@ from .kno2 import (
16
16
  Kno2ResourceWithStreamingResponse,
17
17
  AsyncKno2ResourceWithStreamingResponse,
18
18
  )
19
+ from .xcures import (
20
+ XcuresResource,
21
+ AsyncXcuresResource,
22
+ XcuresResourceWithRawResponse,
23
+ AsyncXcuresResourceWithRawResponse,
24
+ XcuresResourceWithStreamingResponse,
25
+ AsyncXcuresResourceWithStreamingResponse,
26
+ )
19
27
  from .glidian import (
20
28
  GlidianResource,
21
29
  AsyncGlidianResource,
@@ -40,6 +48,14 @@ from .snowflake import (
40
48
  SnowflakeResourceWithStreamingResponse,
41
49
  AsyncSnowflakeResourceWithStreamingResponse,
42
50
  )
51
+ from .salesforce import (
52
+ SalesforceResource,
53
+ AsyncSalesforceResource,
54
+ SalesforceResourceWithRawResponse,
55
+ AsyncSalesforceResourceWithRawResponse,
56
+ SalesforceResourceWithStreamingResponse,
57
+ AsyncSalesforceResourceWithStreamingResponse,
58
+ )
43
59
  from .integrations import (
44
60
  IntegrationsResource,
45
61
  AsyncIntegrationsResource,
@@ -80,6 +96,18 @@ __all__ = [
80
96
  "AsyncGlidianResourceWithRawResponse",
81
97
  "GlidianResourceWithStreamingResponse",
82
98
  "AsyncGlidianResourceWithStreamingResponse",
99
+ "XcuresResource",
100
+ "AsyncXcuresResource",
101
+ "XcuresResourceWithRawResponse",
102
+ "AsyncXcuresResourceWithRawResponse",
103
+ "XcuresResourceWithStreamingResponse",
104
+ "AsyncXcuresResourceWithStreamingResponse",
105
+ "SalesforceResource",
106
+ "AsyncSalesforceResource",
107
+ "SalesforceResourceWithRawResponse",
108
+ "AsyncSalesforceResourceWithRawResponse",
109
+ "SalesforceResourceWithStreamingResponse",
110
+ "AsyncSalesforceResourceWithStreamingResponse",
83
111
  "IntegrationsResource",
84
112
  "AsyncIntegrationsResource",
85
113
  "IntegrationsResourceWithRawResponse",
@@ -4,7 +4,7 @@ from __future__ import annotations
4
4
 
5
5
  import httpx
6
6
 
7
- from ....._types import NOT_GIVEN, Body, Query, Headers, NotGiven
7
+ from ....._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
8
8
  from ....._utils import maybe_transform, async_maybe_transform
9
9
  from ....._compat import cached_property
10
10
  from ....._resource import SyncAPIResource, AsyncAPIResource
@@ -45,13 +45,13 @@ class TransactionsResource(SyncAPIResource):
45
45
  self,
46
46
  *,
47
47
  slug: str,
48
- cursor: str | NotGiven = NOT_GIVEN,
48
+ cursor: str | Omit = omit,
49
49
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
50
50
  # The extra values given here take precedence over values defined on the client or passed to this method.
51
51
  extra_headers: Headers | None = None,
52
52
  extra_query: Query | None = None,
53
53
  extra_body: Body | None = None,
54
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
54
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
55
55
  ) -> TransactionSyncResponse:
56
56
  """
57
57
  Sync bank transactions
@@ -109,13 +109,13 @@ class AsyncTransactionsResource(AsyncAPIResource):
109
109
  self,
110
110
  *,
111
111
  slug: str,
112
- cursor: str | NotGiven = NOT_GIVEN,
112
+ cursor: str | Omit = omit,
113
113
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
114
114
  # The extra values given here take precedence over values defined on the client or passed to this method.
115
115
  extra_headers: Headers | None = None,
116
116
  extra_query: Query | None = None,
117
117
  extra_body: Body | None = None,
118
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
118
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
119
119
  ) -> TransactionSyncResponse:
120
120
  """
121
121
  Sync bank transactions
@@ -2,12 +2,12 @@
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
7
7
 
8
8
  import httpx
9
9
 
10
- from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
10
+ from ...._types import Body, Omit, Query, Headers, NotGiven, SequenceNotStr, omit, not_given
11
11
  from ...._utils import maybe_transform, async_maybe_transform
12
12
  from ...._compat import cached_property
13
13
  from ...._resource import SyncAPIResource, AsyncAPIResource
@@ -52,7 +52,7 @@ class CarevisoResource(SyncAPIResource):
52
52
  extra_headers: Headers | None = None,
53
53
  extra_query: Query | None = None,
54
54
  extra_body: Body | None = None,
55
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
55
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
56
56
  ) -> CarevisoGetPayersResponse:
57
57
  """Get a list of Careviso payers."""
58
58
  return self._get(
@@ -69,9 +69,9 @@ class CarevisoResource(SyncAPIResource):
69
69
  *,
70
70
  attachments: Iterable[careviso_submit_prior_authorization_params.Attachment],
71
71
  case_type: Literal["prior_auth_request", "benefits_investigation"],
72
- cpt_codes: List[str],
72
+ cpt_codes: SequenceNotStr[str],
73
73
  group_id: str,
74
- icd10_codes: List[str],
74
+ icd10_codes: SequenceNotStr[str],
75
75
  insurance_name: str,
76
76
  lab_order_id: str,
77
77
  member_id: str,
@@ -87,25 +87,25 @@ class CarevisoResource(SyncAPIResource):
87
87
  provider_npi: str,
88
88
  provider_phone: str,
89
89
  service_date: str,
90
- test_names: List[str],
91
- accession_date: str | NotGiven = NOT_GIVEN,
92
- collection_date: str | NotGiven = NOT_GIVEN,
93
- collection_type: str | NotGiven = NOT_GIVEN,
94
- insurance_id: str | NotGiven = NOT_GIVEN,
95
- patient_city: str | NotGiven = NOT_GIVEN,
96
- patient_gender: Literal["M", "F", "Non-binary", "Non-specified"] | NotGiven = NOT_GIVEN,
97
- patient_state: str | NotGiven = NOT_GIVEN,
98
- patient_street: str | NotGiven = NOT_GIVEN,
99
- patient_street2: str | NotGiven = NOT_GIVEN,
100
- patient_zip: str | NotGiven = NOT_GIVEN,
101
- test_identifiers: List[str] | NotGiven = NOT_GIVEN,
102
- test_type: str | NotGiven = NOT_GIVEN,
90
+ test_names: SequenceNotStr[str],
91
+ accession_date: str | Omit = omit,
92
+ collection_date: str | Omit = omit,
93
+ collection_type: str | Omit = omit,
94
+ insurance_id: str | Omit = omit,
95
+ patient_city: str | Omit = omit,
96
+ patient_gender: Literal["M", "F", "Non-binary", "Non-specified"] | Omit = omit,
97
+ patient_state: str | Omit = omit,
98
+ patient_street: str | Omit = omit,
99
+ patient_street2: str | Omit = omit,
100
+ patient_zip: str | Omit = omit,
101
+ test_identifiers: SequenceNotStr[str] | Omit = omit,
102
+ test_type: str | Omit = omit,
103
103
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
104
104
  # The extra values given here take precedence over values defined on the client or passed to this method.
105
105
  extra_headers: Headers | None = None,
106
106
  extra_query: Query | None = None,
107
107
  extra_body: Body | None = None,
108
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
108
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
109
109
  ) -> object:
110
110
  """
111
111
  Submit a prior authorization request to Careviso.
@@ -202,7 +202,7 @@ class AsyncCarevisoResource(AsyncAPIResource):
202
202
  extra_headers: Headers | None = None,
203
203
  extra_query: Query | None = None,
204
204
  extra_body: Body | None = None,
205
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
205
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
206
206
  ) -> CarevisoGetPayersResponse:
207
207
  """Get a list of Careviso payers."""
208
208
  return await self._get(
@@ -219,9 +219,9 @@ class AsyncCarevisoResource(AsyncAPIResource):
219
219
  *,
220
220
  attachments: Iterable[careviso_submit_prior_authorization_params.Attachment],
221
221
  case_type: Literal["prior_auth_request", "benefits_investigation"],
222
- cpt_codes: List[str],
222
+ cpt_codes: SequenceNotStr[str],
223
223
  group_id: str,
224
- icd10_codes: List[str],
224
+ icd10_codes: SequenceNotStr[str],
225
225
  insurance_name: str,
226
226
  lab_order_id: str,
227
227
  member_id: str,
@@ -237,25 +237,25 @@ class AsyncCarevisoResource(AsyncAPIResource):
237
237
  provider_npi: str,
238
238
  provider_phone: str,
239
239
  service_date: str,
240
- test_names: List[str],
241
- accession_date: str | NotGiven = NOT_GIVEN,
242
- collection_date: str | NotGiven = NOT_GIVEN,
243
- collection_type: str | NotGiven = NOT_GIVEN,
244
- insurance_id: str | NotGiven = NOT_GIVEN,
245
- patient_city: str | NotGiven = NOT_GIVEN,
246
- patient_gender: Literal["M", "F", "Non-binary", "Non-specified"] | NotGiven = NOT_GIVEN,
247
- patient_state: str | NotGiven = NOT_GIVEN,
248
- patient_street: str | NotGiven = NOT_GIVEN,
249
- patient_street2: str | NotGiven = NOT_GIVEN,
250
- patient_zip: str | NotGiven = NOT_GIVEN,
251
- test_identifiers: List[str] | NotGiven = NOT_GIVEN,
252
- test_type: str | NotGiven = NOT_GIVEN,
240
+ test_names: SequenceNotStr[str],
241
+ accession_date: str | Omit = omit,
242
+ collection_date: str | Omit = omit,
243
+ collection_type: str | Omit = omit,
244
+ insurance_id: str | Omit = omit,
245
+ patient_city: str | Omit = omit,
246
+ patient_gender: Literal["M", "F", "Non-binary", "Non-specified"] | Omit = omit,
247
+ patient_state: str | Omit = omit,
248
+ patient_street: str | Omit = omit,
249
+ patient_street2: str | Omit = omit,
250
+ patient_zip: str | Omit = omit,
251
+ test_identifiers: SequenceNotStr[str] | Omit = omit,
252
+ test_type: str | Omit = omit,
253
253
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
254
254
  # The extra values given here take precedence over values defined on the client or passed to this method.
255
255
  extra_headers: Headers | None = None,
256
256
  extra_query: Query | None = None,
257
257
  extra_body: Body | None = None,
258
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
258
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
259
259
  ) -> object:
260
260
  """
261
261
  Submit a prior authorization request to Careviso.
@@ -6,7 +6,7 @@ from typing import Any, cast
6
6
 
7
7
  import httpx
8
8
 
9
- from ....._types import NOT_GIVEN, Body, Query, Headers, NotGiven
9
+ from ....._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
10
10
  from ....._utils import maybe_transform, async_maybe_transform
11
11
  from ....._compat import cached_property
12
12
  from ....._resource import SyncAPIResource, AsyncAPIResource
@@ -69,13 +69,13 @@ class GlidianResource(SyncAPIResource):
69
69
  *,
70
70
  insurance_id: float,
71
71
  service_id: float,
72
- state: str | NotGiven = NOT_GIVEN,
72
+ state: str | Omit = omit,
73
73
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
74
74
  # The extra values given here take precedence over values defined on the client or passed to this method.
75
75
  extra_headers: Headers | None = None,
76
76
  extra_query: Query | None = None,
77
77
  extra_body: Body | None = None,
78
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
78
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
79
79
  ) -> GlidianGetSubmissionRequirementsResponse:
80
80
  """
81
81
  Get submission requirements for a specific insurance and service combination.
@@ -119,13 +119,13 @@ class GlidianResource(SyncAPIResource):
119
119
  self,
120
120
  slug: str,
121
121
  *,
122
- state: str | NotGiven = NOT_GIVEN,
122
+ state: str | Omit = omit,
123
123
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
124
124
  # The extra values given here take precedence over values defined on the client or passed to this method.
125
125
  extra_headers: Headers | None = None,
126
126
  extra_query: Query | None = None,
127
127
  extra_body: Body | None = None,
128
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
128
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
129
129
  ) -> GlidianListPayersResponse:
130
130
  """
131
131
  Get a list of available Glidian payers/insurances for a specific connection.
@@ -157,13 +157,13 @@ class GlidianResource(SyncAPIResource):
157
157
  self,
158
158
  slug: str,
159
159
  *,
160
- insurance_id: float | NotGiven = NOT_GIVEN,
160
+ insurance_id: float | Omit = omit,
161
161
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
162
162
  # The extra values given here take precedence over values defined on the client or passed to this method.
163
163
  extra_headers: Headers | None = None,
164
164
  extra_query: Query | None = None,
165
165
  extra_body: Body | None = None,
166
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
166
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
167
167
  ) -> GlidianListServicesResponse:
168
168
  """
169
169
  Get a list of available Glidian services for a specific connection.
@@ -224,13 +224,13 @@ class AsyncGlidianResource(AsyncAPIResource):
224
224
  *,
225
225
  insurance_id: float,
226
226
  service_id: float,
227
- state: str | NotGiven = NOT_GIVEN,
227
+ state: str | Omit = omit,
228
228
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
229
229
  # The extra values given here take precedence over values defined on the client or passed to this method.
230
230
  extra_headers: Headers | None = None,
231
231
  extra_query: Query | None = None,
232
232
  extra_body: Body | None = None,
233
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
233
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
234
234
  ) -> GlidianGetSubmissionRequirementsResponse:
235
235
  """
236
236
  Get submission requirements for a specific insurance and service combination.
@@ -274,13 +274,13 @@ class AsyncGlidianResource(AsyncAPIResource):
274
274
  self,
275
275
  slug: str,
276
276
  *,
277
- state: str | NotGiven = NOT_GIVEN,
277
+ state: str | Omit = omit,
278
278
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
279
279
  # The extra values given here take precedence over values defined on the client or passed to this method.
280
280
  extra_headers: Headers | None = None,
281
281
  extra_query: Query | None = None,
282
282
  extra_body: Body | None = None,
283
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
283
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
284
284
  ) -> GlidianListPayersResponse:
285
285
  """
286
286
  Get a list of available Glidian payers/insurances for a specific connection.
@@ -312,13 +312,13 @@ class AsyncGlidianResource(AsyncAPIResource):
312
312
  self,
313
313
  slug: str,
314
314
  *,
315
- insurance_id: float | NotGiven = NOT_GIVEN,
315
+ insurance_id: float | Omit = omit,
316
316
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
317
317
  # The extra values given here take precedence over values defined on the client or passed to this method.
318
318
  extra_headers: Headers | None = None,
319
319
  extra_query: Query | None = None,
320
320
  extra_body: Body | None = None,
321
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
321
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
322
322
  ) -> GlidianListServicesResponse:
323
323
  """
324
324
  Get a list of available Glidian services for a specific connection.
@@ -6,7 +6,7 @@ from typing import Dict
6
6
 
7
7
  import httpx
8
8
 
9
- from ......_types import NOT_GIVEN, Body, Query, Headers, NotGiven
9
+ from ......_types import Body, Query, Headers, NotGiven, not_given
10
10
  from ......_utils import maybe_transform, async_maybe_transform
11
11
  from ......_compat import cached_property
12
12
  from ......_resource import SyncAPIResource, AsyncAPIResource
@@ -59,7 +59,7 @@ class ClinicalQuestionsResource(SyncAPIResource):
59
59
  extra_headers: Headers | None = None,
60
60
  extra_query: Query | None = None,
61
61
  extra_body: Body | None = None,
62
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
62
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
63
63
  ) -> ClinicalQuestionUpdateResponse:
64
64
  """Update clinical question responses for a Glidian prior authorization.
65
65
 
@@ -100,7 +100,7 @@ class ClinicalQuestionsResource(SyncAPIResource):
100
100
  extra_headers: Headers | None = None,
101
101
  extra_query: Query | None = None,
102
102
  extra_body: Body | None = None,
103
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
103
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
104
104
  ) -> ClinicalQuestionListResponse:
105
105
  """
106
106
  Retrieve clinical questions for a specific prior authorization record from
@@ -159,7 +159,7 @@ class AsyncClinicalQuestionsResource(AsyncAPIResource):
159
159
  extra_headers: Headers | None = None,
160
160
  extra_query: Query | None = None,
161
161
  extra_body: Body | None = None,
162
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
162
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
163
163
  ) -> ClinicalQuestionUpdateResponse:
164
164
  """Update clinical question responses for a Glidian prior authorization.
165
165
 
@@ -200,7 +200,7 @@ class AsyncClinicalQuestionsResource(AsyncAPIResource):
200
200
  extra_headers: Headers | None = None,
201
201
  extra_query: Query | None = None,
202
202
  extra_body: Body | None = None,
203
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
203
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
204
204
  ) -> ClinicalQuestionListResponse:
205
205
  """
206
206
  Retrieve clinical questions for a specific prior authorization record from
@@ -6,7 +6,7 @@ from typing import Dict, Iterable
6
6
 
7
7
  import httpx
8
8
 
9
- from ......_types import NOT_GIVEN, Body, Query, Headers, NotGiven
9
+ from ......_types import Body, Omit, Query, Headers, NotGiven, omit, not_given
10
10
  from ......_utils import maybe_transform, async_maybe_transform
11
11
  from ......_compat import cached_property
12
12
  from ......_resource import SyncAPIResource, AsyncAPIResource
@@ -76,14 +76,14 @@ class PriorAuthorizationsResource(SyncAPIResource):
76
76
  glidian_service_id: str,
77
77
  reference_number: str,
78
78
  submission_requirements: Dict[str, str],
79
- reference_number_two: str | NotGiven = NOT_GIVEN,
80
- state: str | NotGiven = NOT_GIVEN,
79
+ reference_number_two: str | Omit = omit,
80
+ state: str | Omit = omit,
81
81
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
82
82
  # The extra values given here take precedence over values defined on the client or passed to this method.
83
83
  extra_headers: Headers | None = None,
84
84
  extra_query: Query | None = None,
85
85
  extra_body: Body | None = None,
86
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
86
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
87
87
  ) -> PriorAuthorizationCreateDraftResponse:
88
88
  """
89
89
  Create a draft prior authorization request in Glidian.
@@ -129,7 +129,7 @@ class PriorAuthorizationsResource(SyncAPIResource):
129
129
  extra_headers: Headers | None = None,
130
130
  extra_query: Query | None = None,
131
131
  extra_body: Body | None = None,
132
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
132
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
133
133
  ) -> PriorAuthorizationRetrieveRecordResponse:
134
134
  """
135
135
  Retrieve a specific prior authorization record from Glidian.
@@ -165,7 +165,7 @@ class PriorAuthorizationsResource(SyncAPIResource):
165
165
  extra_headers: Headers | None = None,
166
166
  extra_query: Query | None = None,
167
167
  extra_body: Body | None = None,
168
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
168
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
169
169
  ) -> PriorAuthorizationSubmitResponse:
170
170
  """Submit a completed prior authorization to Glidian.
171
171
 
@@ -198,15 +198,15 @@ class PriorAuthorizationsResource(SyncAPIResource):
198
198
  record_id: str,
199
199
  *,
200
200
  slug: str,
201
- reference_number: str | NotGiven = NOT_GIVEN,
202
- reference_number_two: str | NotGiven = NOT_GIVEN,
203
- submission_requirements: Dict[str, str] | NotGiven = NOT_GIVEN,
201
+ reference_number: str | Omit = omit,
202
+ reference_number_two: str | Omit = omit,
203
+ submission_requirements: Dict[str, str] | Omit = omit,
204
204
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
205
205
  # The extra values given here take precedence over values defined on the client or passed to this method.
206
206
  extra_headers: Headers | None = None,
207
207
  extra_query: Query | None = None,
208
208
  extra_body: Body | None = None,
209
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
209
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
210
210
  ) -> PriorAuthorizationUpdateRecordResponse:
211
211
  """
212
212
  Update an existing prior authorization record in Glidian.
@@ -274,14 +274,14 @@ class AsyncPriorAuthorizationsResource(AsyncAPIResource):
274
274
  glidian_service_id: str,
275
275
  reference_number: str,
276
276
  submission_requirements: Dict[str, str],
277
- reference_number_two: str | NotGiven = NOT_GIVEN,
278
- state: str | NotGiven = NOT_GIVEN,
277
+ reference_number_two: str | Omit = omit,
278
+ state: str | Omit = omit,
279
279
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
280
280
  # The extra values given here take precedence over values defined on the client or passed to this method.
281
281
  extra_headers: Headers | None = None,
282
282
  extra_query: Query | None = None,
283
283
  extra_body: Body | None = None,
284
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
284
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
285
285
  ) -> PriorAuthorizationCreateDraftResponse:
286
286
  """
287
287
  Create a draft prior authorization request in Glidian.
@@ -327,7 +327,7 @@ class AsyncPriorAuthorizationsResource(AsyncAPIResource):
327
327
  extra_headers: Headers | None = None,
328
328
  extra_query: Query | None = None,
329
329
  extra_body: Body | None = None,
330
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
330
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
331
331
  ) -> PriorAuthorizationRetrieveRecordResponse:
332
332
  """
333
333
  Retrieve a specific prior authorization record from Glidian.
@@ -363,7 +363,7 @@ class AsyncPriorAuthorizationsResource(AsyncAPIResource):
363
363
  extra_headers: Headers | None = None,
364
364
  extra_query: Query | None = None,
365
365
  extra_body: Body | None = None,
366
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
366
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
367
367
  ) -> PriorAuthorizationSubmitResponse:
368
368
  """Submit a completed prior authorization to Glidian.
369
369
 
@@ -396,15 +396,15 @@ class AsyncPriorAuthorizationsResource(AsyncAPIResource):
396
396
  record_id: str,
397
397
  *,
398
398
  slug: str,
399
- reference_number: str | NotGiven = NOT_GIVEN,
400
- reference_number_two: str | NotGiven = NOT_GIVEN,
401
- submission_requirements: Dict[str, str] | NotGiven = NOT_GIVEN,
399
+ reference_number: str | Omit = omit,
400
+ reference_number_two: str | Omit = omit,
401
+ submission_requirements: Dict[str, str] | Omit = omit,
402
402
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
403
403
  # The extra values given here take precedence over values defined on the client or passed to this method.
404
404
  extra_headers: Headers | None = None,
405
405
  extra_query: Query | None = None,
406
406
  extra_body: Body | None = None,
407
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
407
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
408
408
  ) -> PriorAuthorizationUpdateRecordResponse:
409
409
  """
410
410
  Update an existing prior authorization record in Glidian.
@@ -2,6 +2,14 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
+ from .xcures import (
6
+ XcuresResource,
7
+ AsyncXcuresResource,
8
+ XcuresResourceWithRawResponse,
9
+ AsyncXcuresResourceWithRawResponse,
10
+ XcuresResourceWithStreamingResponse,
11
+ AsyncXcuresResourceWithStreamingResponse,
12
+ )
5
13
  from .careviso import (
6
14
  CarevisoResource,
7
15
  AsyncCarevisoResource,
@@ -35,6 +43,14 @@ from .snowflake import (
35
43
  AsyncSnowflakeResourceWithStreamingResponse,
36
44
  )
37
45
  from ...._compat import cached_property
46
+ from .salesforce import (
47
+ SalesforceResource,
48
+ AsyncSalesforceResource,
49
+ SalesforceResourceWithRawResponse,
50
+ AsyncSalesforceResourceWithRawResponse,
51
+ SalesforceResourceWithStreamingResponse,
52
+ AsyncSalesforceResourceWithStreamingResponse,
53
+ )
38
54
  from ...._resource import SyncAPIResource, AsyncAPIResource
39
55
  from .glidian.glidian import (
40
56
  GlidianResource,
@@ -69,6 +85,14 @@ class IntegrationsResource(SyncAPIResource):
69
85
  def glidian(self) -> GlidianResource:
70
86
  return GlidianResource(self._client)
71
87
 
88
+ @cached_property
89
+ def xcures(self) -> XcuresResource:
90
+ return XcuresResource(self._client)
91
+
92
+ @cached_property
93
+ def salesforce(self) -> SalesforceResource:
94
+ return SalesforceResource(self._client)
95
+
72
96
  @cached_property
73
97
  def with_raw_response(self) -> IntegrationsResourceWithRawResponse:
74
98
  """
@@ -110,6 +134,14 @@ class AsyncIntegrationsResource(AsyncAPIResource):
110
134
  def glidian(self) -> AsyncGlidianResource:
111
135
  return AsyncGlidianResource(self._client)
112
136
 
137
+ @cached_property
138
+ def xcures(self) -> AsyncXcuresResource:
139
+ return AsyncXcuresResource(self._client)
140
+
141
+ @cached_property
142
+ def salesforce(self) -> AsyncSalesforceResource:
143
+ return AsyncSalesforceResource(self._client)
144
+
113
145
  @cached_property
114
146
  def with_raw_response(self) -> AsyncIntegrationsResourceWithRawResponse:
115
147
  """
@@ -154,6 +186,14 @@ class IntegrationsResourceWithRawResponse:
154
186
  def glidian(self) -> GlidianResourceWithRawResponse:
155
187
  return GlidianResourceWithRawResponse(self._integrations.glidian)
156
188
 
189
+ @cached_property
190
+ def xcures(self) -> XcuresResourceWithRawResponse:
191
+ return XcuresResourceWithRawResponse(self._integrations.xcures)
192
+
193
+ @cached_property
194
+ def salesforce(self) -> SalesforceResourceWithRawResponse:
195
+ return SalesforceResourceWithRawResponse(self._integrations.salesforce)
196
+
157
197
 
158
198
  class AsyncIntegrationsResourceWithRawResponse:
159
199
  def __init__(self, integrations: AsyncIntegrationsResource) -> None:
@@ -179,6 +219,14 @@ class AsyncIntegrationsResourceWithRawResponse:
179
219
  def glidian(self) -> AsyncGlidianResourceWithRawResponse:
180
220
  return AsyncGlidianResourceWithRawResponse(self._integrations.glidian)
181
221
 
222
+ @cached_property
223
+ def xcures(self) -> AsyncXcuresResourceWithRawResponse:
224
+ return AsyncXcuresResourceWithRawResponse(self._integrations.xcures)
225
+
226
+ @cached_property
227
+ def salesforce(self) -> AsyncSalesforceResourceWithRawResponse:
228
+ return AsyncSalesforceResourceWithRawResponse(self._integrations.salesforce)
229
+
182
230
 
183
231
  class IntegrationsResourceWithStreamingResponse:
184
232
  def __init__(self, integrations: IntegrationsResource) -> None:
@@ -204,6 +252,14 @@ class IntegrationsResourceWithStreamingResponse:
204
252
  def glidian(self) -> GlidianResourceWithStreamingResponse:
205
253
  return GlidianResourceWithStreamingResponse(self._integrations.glidian)
206
254
 
255
+ @cached_property
256
+ def xcures(self) -> XcuresResourceWithStreamingResponse:
257
+ return XcuresResourceWithStreamingResponse(self._integrations.xcures)
258
+
259
+ @cached_property
260
+ def salesforce(self) -> SalesforceResourceWithStreamingResponse:
261
+ return SalesforceResourceWithStreamingResponse(self._integrations.salesforce)
262
+
207
263
 
208
264
  class AsyncIntegrationsResourceWithStreamingResponse:
209
265
  def __init__(self, integrations: AsyncIntegrationsResource) -> None:
@@ -228,3 +284,11 @@ class AsyncIntegrationsResourceWithStreamingResponse:
228
284
  @cached_property
229
285
  def glidian(self) -> AsyncGlidianResourceWithStreamingResponse:
230
286
  return AsyncGlidianResourceWithStreamingResponse(self._integrations.glidian)
287
+
288
+ @cached_property
289
+ def xcures(self) -> AsyncXcuresResourceWithStreamingResponse:
290
+ return AsyncXcuresResourceWithStreamingResponse(self._integrations.xcures)
291
+
292
+ @cached_property
293
+ def salesforce(self) -> AsyncSalesforceResourceWithStreamingResponse:
294
+ return AsyncSalesforceResourceWithStreamingResponse(self._integrations.salesforce)
@@ -4,7 +4,7 @@ from __future__ import annotations
4
4
 
5
5
  import httpx
6
6
 
7
- from ....._types import NOT_GIVEN, Body, Query, Headers, NotGiven
7
+ from ....._types import Body, Query, Headers, NotGiven, not_given
8
8
  from ....._compat import cached_property
9
9
  from ....._resource import SyncAPIResource, AsyncAPIResource
10
10
  from ....._response import (
@@ -50,7 +50,7 @@ class MessagesResource(SyncAPIResource):
50
50
  extra_headers: Headers | None = None,
51
51
  extra_query: Query | None = None,
52
52
  extra_body: Body | None = None,
53
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
53
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
54
54
  ) -> MessageRetrieveResponse:
55
55
  """
56
56
  Retrieve a specific message for a Kno2 connection.
@@ -87,7 +87,7 @@ class MessagesResource(SyncAPIResource):
87
87
  extra_headers: Headers | None = None,
88
88
  extra_query: Query | None = None,
89
89
  extra_body: Body | None = None,
90
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
90
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
91
91
  ) -> MessageGetAttachmentResponse:
92
92
  """
93
93
  Retrieve a specific attachment for a Kno2 message.
@@ -146,7 +146,7 @@ class AsyncMessagesResource(AsyncAPIResource):
146
146
  extra_headers: Headers | None = None,
147
147
  extra_query: Query | None = None,
148
148
  extra_body: Body | None = None,
149
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
149
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
150
150
  ) -> MessageRetrieveResponse:
151
151
  """
152
152
  Retrieve a specific message for a Kno2 connection.
@@ -183,7 +183,7 @@ class AsyncMessagesResource(AsyncAPIResource):
183
183
  extra_headers: Headers | None = None,
184
184
  extra_query: Query | None = None,
185
185
  extra_body: Body | None = None,
186
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
186
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
187
187
  ) -> MessageGetAttachmentResponse:
188
188
  """
189
189
  Retrieve a specific attachment for a Kno2 message.