samplehc 0.11.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.
- samplehc/__init__.py +3 -1
- samplehc/_base_client.py +9 -9
- samplehc/_client.py +8 -8
- samplehc/_models.py +10 -4
- samplehc/_qs.py +7 -7
- samplehc/_types.py +18 -11
- samplehc/_utils/_transform.py +2 -2
- samplehc/_utils/_utils.py +4 -4
- samplehc/_version.py +1 -1
- samplehc/resources/v1/v1.py +9 -9
- samplehc/resources/v2/async_results.py +13 -13
- samplehc/resources/v2/browser_agents/browser_agents.py +5 -5
- samplehc/resources/v2/browser_agents/runs/help_requests.py +3 -3
- samplehc/resources/v2/browser_automation/availity.py +3 -3
- samplehc/resources/v2/clearinghouse/claim.py +29 -29
- samplehc/resources/v2/clearinghouse/clearinghouse.py +33 -33
- samplehc/resources/v2/clearinghouse/payers.py +5 -5
- samplehc/resources/v2/communication.py +29 -29
- samplehc/resources/v2/database.py +5 -5
- samplehc/resources/v2/documents/documents.py +152 -37
- samplehc/resources/v2/documents/formats.py +3 -3
- samplehc/resources/v2/documents/legacy.py +91 -6
- samplehc/resources/v2/documents/pdf_template.py +3 -3
- samplehc/resources/v2/documents/templates.py +27 -27
- samplehc/resources/v2/events.py +7 -7
- samplehc/resources/v2/hie/adt.py +7 -7
- samplehc/resources/v2/hie/documents.py +15 -15
- samplehc/resources/v2/integrations/bank/transactions.py +5 -5
- samplehc/resources/v2/integrations/careviso.py +29 -29
- samplehc/resources/v2/integrations/glidian/glidian.py +13 -13
- samplehc/resources/v2/integrations/glidian/prior_authorizations/clinical_questions.py +5 -5
- samplehc/resources/v2/integrations/glidian/prior_authorizations/prior_authorizations.py +19 -19
- samplehc/resources/v2/integrations/kno2/messages.py +5 -5
- samplehc/resources/v2/integrations/salesforce.py +7 -7
- samplehc/resources/v2/integrations/snowflake.py +3 -3
- samplehc/resources/v2/integrations/xcures.py +7 -7
- samplehc/resources/v2/ledger/account.py +10 -11
- samplehc/resources/v2/ledger/entry.py +21 -22
- samplehc/resources/v2/policies.py +47 -47
- samplehc/resources/v2/tasks/state.py +7 -7
- samplehc/resources/v2/tasks/tasks.py +15 -15
- samplehc/resources/v2/workflow_runs/step.py +3 -3
- samplehc/resources/v2/workflow_runs/workflow_runs.py +11 -11
- samplehc/resources/v2/workflows.py +13 -13
- samplehc/types/v2/__init__.py +1 -0
- samplehc/types/v2/browser_agents/runs/help_request_resolve_response.py +0 -2
- samplehc/types/v2/document_extract_params.py +4 -1
- samplehc/types/v2/document_split_params.py +16 -1
- samplehc/types/v2/document_unzip_async_response.py +12 -0
- samplehc/types/v2/documents/__init__.py +2 -0
- samplehc/types/v2/documents/legacy_split_params.py +20 -0
- samplehc/types/v2/documents/legacy_split_response.py +12 -0
- samplehc/types/v2/documents/template_render_document_params.py +17 -5
- samplehc/types/v2/ledger/account_writeoff_params.py +2 -3
- samplehc/types/v2/ledger/entry_post_params.py +1 -2
- samplehc/types/v2/ledger/entry_reverse_params.py +2 -3
- {samplehc-0.11.0.dist-info → samplehc-0.12.0.dist-info}/METADATA +1 -1
- {samplehc-0.11.0.dist-info → samplehc-0.12.0.dist-info}/RECORD +60 -57
- {samplehc-0.11.0.dist-info → samplehc-0.12.0.dist-info}/WHEEL +0 -0
- {samplehc-0.11.0.dist-info → samplehc-0.12.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -7,7 +7,7 @@ from typing_extensions import Literal
|
|
|
7
7
|
|
|
8
8
|
import httpx
|
|
9
9
|
|
|
10
|
-
from ...._types import
|
|
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 =
|
|
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(
|
|
@@ -88,24 +88,24 @@ class CarevisoResource(SyncAPIResource):
|
|
|
88
88
|
provider_phone: str,
|
|
89
89
|
service_date: str,
|
|
90
90
|
test_names: SequenceNotStr[str],
|
|
91
|
-
accession_date: str |
|
|
92
|
-
collection_date: str |
|
|
93
|
-
collection_type: str |
|
|
94
|
-
insurance_id: str |
|
|
95
|
-
patient_city: str |
|
|
96
|
-
patient_gender: Literal["M", "F", "Non-binary", "Non-specified"] |
|
|
97
|
-
patient_state: str |
|
|
98
|
-
patient_street: str |
|
|
99
|
-
patient_street2: str |
|
|
100
|
-
patient_zip: str |
|
|
101
|
-
test_identifiers: SequenceNotStr[str] |
|
|
102
|
-
test_type: 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 =
|
|
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 =
|
|
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(
|
|
@@ -238,24 +238,24 @@ class AsyncCarevisoResource(AsyncAPIResource):
|
|
|
238
238
|
provider_phone: str,
|
|
239
239
|
service_date: str,
|
|
240
240
|
test_names: SequenceNotStr[str],
|
|
241
|
-
accession_date: str |
|
|
242
|
-
collection_date: str |
|
|
243
|
-
collection_type: str |
|
|
244
|
-
insurance_id: str |
|
|
245
|
-
patient_city: str |
|
|
246
|
-
patient_gender: Literal["M", "F", "Non-binary", "Non-specified"] |
|
|
247
|
-
patient_state: str |
|
|
248
|
-
patient_street: str |
|
|
249
|
-
patient_street2: str |
|
|
250
|
-
patient_zip: str |
|
|
251
|
-
test_identifiers: SequenceNotStr[str] |
|
|
252
|
-
test_type: 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 =
|
|
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
|
|
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 |
|
|
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 =
|
|
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 |
|
|
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 =
|
|
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 |
|
|
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 =
|
|
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 |
|
|
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 =
|
|
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 |
|
|
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 =
|
|
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 |
|
|
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 =
|
|
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
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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
|
|
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 |
|
|
80
|
-
state: str |
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 |
|
|
202
|
-
reference_number_two: str |
|
|
203
|
-
submission_requirements: Dict[str, str] |
|
|
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 =
|
|
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 |
|
|
278
|
-
state: str |
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 |
|
|
400
|
-
reference_number_two: str |
|
|
401
|
-
submission_requirements: Dict[str, str] |
|
|
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 =
|
|
407
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
408
408
|
) -> PriorAuthorizationUpdateRecordResponse:
|
|
409
409
|
"""
|
|
410
410
|
Update an existing prior authorization record in Glidian.
|
|
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|
|
4
4
|
|
|
5
5
|
import httpx
|
|
6
6
|
|
|
7
|
-
from ....._types import
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
186
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
187
187
|
) -> MessageGetAttachmentResponse:
|
|
188
188
|
"""
|
|
189
189
|
Retrieve a specific attachment for a Kno2 message.
|
|
@@ -7,7 +7,7 @@ from typing_extensions import Literal
|
|
|
7
7
|
|
|
8
8
|
import httpx
|
|
9
9
|
|
|
10
|
-
from ...._types import
|
|
10
|
+
from ...._types import Body, Omit, Query, Headers, NotGiven, 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
|
|
@@ -49,14 +49,14 @@ class SalesforceResource(SyncAPIResource):
|
|
|
49
49
|
*,
|
|
50
50
|
crud_action_type: Literal["create", "update", "upsert", "delete", "retrieve"],
|
|
51
51
|
resource_type: str,
|
|
52
|
-
resource_body: Dict[str, object] |
|
|
53
|
-
resource_id: str |
|
|
52
|
+
resource_body: Dict[str, object] | Omit = omit,
|
|
53
|
+
resource_id: str | Omit = omit,
|
|
54
54
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
55
55
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
56
56
|
extra_headers: Headers | None = None,
|
|
57
57
|
extra_query: Query | None = None,
|
|
58
58
|
extra_body: Body | None = None,
|
|
59
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
59
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
60
60
|
) -> object:
|
|
61
61
|
"""
|
|
62
62
|
Resolve connection by slug and run a CRUD action on a Salesforce sObject.
|
|
@@ -116,14 +116,14 @@ class AsyncSalesforceResource(AsyncAPIResource):
|
|
|
116
116
|
*,
|
|
117
117
|
crud_action_type: Literal["create", "update", "upsert", "delete", "retrieve"],
|
|
118
118
|
resource_type: str,
|
|
119
|
-
resource_body: Dict[str, object] |
|
|
120
|
-
resource_id: str |
|
|
119
|
+
resource_body: Dict[str, object] | Omit = omit,
|
|
120
|
+
resource_id: str | Omit = omit,
|
|
121
121
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
122
122
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
123
123
|
extra_headers: Headers | None = None,
|
|
124
124
|
extra_query: Query | None = None,
|
|
125
125
|
extra_body: Body | None = None,
|
|
126
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
126
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
127
127
|
) -> object:
|
|
128
128
|
"""
|
|
129
129
|
Resolve connection by slug and run a CRUD action on a Salesforce sObject.
|
|
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|
|
4
4
|
|
|
5
5
|
import httpx
|
|
6
6
|
|
|
7
|
-
from ...._types import
|
|
7
|
+
from ...._types import Body, Query, Headers, NotGiven, 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
|
|
@@ -51,7 +51,7 @@ class SnowflakeResource(SyncAPIResource):
|
|
|
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 =
|
|
54
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
55
55
|
) -> SnowflakeQueryResponse:
|
|
56
56
|
"""
|
|
57
57
|
Execute a query against a configured Snowflake instance.
|
|
@@ -109,7 +109,7 @@ class AsyncSnowflakeResource(AsyncAPIResource):
|
|
|
109
109
|
extra_headers: Headers | None = None,
|
|
110
110
|
extra_query: Query | None = None,
|
|
111
111
|
extra_body: Body | None = None,
|
|
112
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
112
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
113
113
|
) -> SnowflakeQueryResponse:
|
|
114
114
|
"""
|
|
115
115
|
Execute a query against a configured Snowflake instance.
|
|
@@ -7,7 +7,7 @@ from typing_extensions import Literal
|
|
|
7
7
|
|
|
8
8
|
import httpx
|
|
9
9
|
|
|
10
|
-
from ...._types import
|
|
10
|
+
from ...._types import Body, Omit, Query, Headers, NotGiven, 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
|
|
@@ -49,14 +49,14 @@ class XcuresResource(SyncAPIResource):
|
|
|
49
49
|
*,
|
|
50
50
|
method: Literal["GET", "POST", "PUT"],
|
|
51
51
|
path: str,
|
|
52
|
-
body: Dict[str, object] |
|
|
53
|
-
parameters: Dict[str, object] |
|
|
52
|
+
body: Dict[str, object] | Omit = omit,
|
|
53
|
+
parameters: Dict[str, object] | Omit = omit,
|
|
54
54
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
55
55
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
56
56
|
extra_headers: Headers | None = None,
|
|
57
57
|
extra_query: Query | None = None,
|
|
58
58
|
extra_body: Body | None = None,
|
|
59
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
59
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
60
60
|
) -> object:
|
|
61
61
|
"""
|
|
62
62
|
Make an arbitrary request to xCures using the configured connection identified
|
|
@@ -118,14 +118,14 @@ class AsyncXcuresResource(AsyncAPIResource):
|
|
|
118
118
|
*,
|
|
119
119
|
method: Literal["GET", "POST", "PUT"],
|
|
120
120
|
path: str,
|
|
121
|
-
body: Dict[str, object] |
|
|
122
|
-
parameters: Dict[str, object] |
|
|
121
|
+
body: Dict[str, object] | Omit = omit,
|
|
122
|
+
parameters: Dict[str, object] | 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 =
|
|
128
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
129
129
|
) -> object:
|
|
130
130
|
"""
|
|
131
131
|
Make an arbitrary request to xCures using the configured connection identified
|
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import Dict
|
|
6
|
-
from datetime import datetime
|
|
5
|
+
from typing import Dict
|
|
7
6
|
|
|
8
7
|
import httpx
|
|
9
8
|
|
|
10
|
-
from ...._types import
|
|
9
|
+
from ...._types import Body, Omit, Query, Headers, NoneType, NotGiven, omit, not_given
|
|
11
10
|
from ...._utils import maybe_transform, async_maybe_transform
|
|
12
11
|
from ...._compat import cached_property
|
|
13
12
|
from ...._resource import SyncAPIResource, AsyncAPIResource
|
|
@@ -54,7 +53,7 @@ class AccountResource(SyncAPIResource):
|
|
|
54
53
|
extra_headers: Headers | None = None,
|
|
55
54
|
extra_query: Query | None = None,
|
|
56
55
|
extra_body: Body | None = None,
|
|
57
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
56
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
58
57
|
) -> None:
|
|
59
58
|
"""
|
|
60
59
|
Get balance for a ledger account
|
|
@@ -87,14 +86,14 @@ class AccountResource(SyncAPIResource):
|
|
|
87
86
|
*,
|
|
88
87
|
order_id: str,
|
|
89
88
|
description: str,
|
|
90
|
-
metadata: Dict[str, object] |
|
|
91
|
-
posted_at:
|
|
89
|
+
metadata: Dict[str, object] | Omit = omit,
|
|
90
|
+
posted_at: str | Omit = omit,
|
|
92
91
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
93
92
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
94
93
|
extra_headers: Headers | None = None,
|
|
95
94
|
extra_query: Query | None = None,
|
|
96
95
|
extra_body: Body | None = None,
|
|
97
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
96
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
98
97
|
) -> AccountWriteoffResponse:
|
|
99
98
|
"""Writes off the remaining balance in an account on the ledger.
|
|
100
99
|
|
|
@@ -167,7 +166,7 @@ class AsyncAccountResource(AsyncAPIResource):
|
|
|
167
166
|
extra_headers: Headers | None = None,
|
|
168
167
|
extra_query: Query | None = None,
|
|
169
168
|
extra_body: Body | None = None,
|
|
170
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
169
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
171
170
|
) -> None:
|
|
172
171
|
"""
|
|
173
172
|
Get balance for a ledger account
|
|
@@ -200,14 +199,14 @@ class AsyncAccountResource(AsyncAPIResource):
|
|
|
200
199
|
*,
|
|
201
200
|
order_id: str,
|
|
202
201
|
description: str,
|
|
203
|
-
metadata: Dict[str, object] |
|
|
204
|
-
posted_at:
|
|
202
|
+
metadata: Dict[str, object] | Omit = omit,
|
|
203
|
+
posted_at: str | Omit = omit,
|
|
205
204
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
206
205
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
207
206
|
extra_headers: Headers | None = None,
|
|
208
207
|
extra_query: Query | None = None,
|
|
209
208
|
extra_body: Body | None = None,
|
|
210
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
209
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
211
210
|
) -> AccountWriteoffResponse:
|
|
212
211
|
"""Writes off the remaining balance in an account on the ledger.
|
|
213
212
|
|