samplehc 0.11.0__py3-none-any.whl → 0.13.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 (68) hide show
  1. samplehc/__init__.py +3 -1
  2. samplehc/_base_client.py +9 -9
  3. samplehc/_client.py +8 -8
  4. samplehc/_models.py +10 -4
  5. samplehc/_qs.py +7 -7
  6. samplehc/_types.py +18 -11
  7. samplehc/_utils/_transform.py +2 -2
  8. samplehc/_utils/_utils.py +4 -4
  9. samplehc/_version.py +1 -1
  10. samplehc/resources/v1/v1.py +9 -9
  11. samplehc/resources/v2/async_results.py +13 -13
  12. samplehc/resources/v2/browser_agents/browser_agents.py +5 -5
  13. samplehc/resources/v2/browser_agents/runs/help_requests.py +3 -3
  14. samplehc/resources/v2/browser_agents/runs/runs.py +131 -0
  15. samplehc/resources/v2/browser_automation/availity.py +3 -3
  16. samplehc/resources/v2/clearinghouse/claim.py +29 -29
  17. samplehc/resources/v2/clearinghouse/clearinghouse.py +33 -33
  18. samplehc/resources/v2/clearinghouse/payers.py +5 -5
  19. samplehc/resources/v2/communication.py +29 -29
  20. samplehc/resources/v2/database.py +5 -5
  21. samplehc/resources/v2/documents/documents.py +152 -37
  22. samplehc/resources/v2/documents/formats.py +3 -3
  23. samplehc/resources/v2/documents/legacy.py +91 -6
  24. samplehc/resources/v2/documents/pdf_template.py +3 -3
  25. samplehc/resources/v2/documents/templates.py +27 -27
  26. samplehc/resources/v2/events.py +7 -7
  27. samplehc/resources/v2/hie/adt.py +7 -7
  28. samplehc/resources/v2/hie/documents.py +15 -15
  29. samplehc/resources/v2/integrations/bank/transactions.py +5 -5
  30. samplehc/resources/v2/integrations/careviso.py +29 -29
  31. samplehc/resources/v2/integrations/glidian/glidian.py +13 -13
  32. samplehc/resources/v2/integrations/glidian/prior_authorizations/clinical_questions.py +5 -5
  33. samplehc/resources/v2/integrations/glidian/prior_authorizations/prior_authorizations.py +19 -19
  34. samplehc/resources/v2/integrations/kno2/messages.py +5 -5
  35. samplehc/resources/v2/integrations/salesforce.py +92 -8
  36. samplehc/resources/v2/integrations/snowflake.py +3 -3
  37. samplehc/resources/v2/integrations/xcures.py +7 -7
  38. samplehc/resources/v2/ledger/account.py +10 -11
  39. samplehc/resources/v2/ledger/entry.py +21 -22
  40. samplehc/resources/v2/policies.py +47 -47
  41. samplehc/resources/v2/tasks/state.py +7 -7
  42. samplehc/resources/v2/tasks/tasks.py +125 -16
  43. samplehc/resources/v2/workflow_runs/step.py +3 -3
  44. samplehc/resources/v2/workflow_runs/workflow_runs.py +11 -11
  45. samplehc/resources/v2/workflows.py +13 -13
  46. samplehc/types/v2/__init__.py +3 -0
  47. samplehc/types/v2/browser_agents/__init__.py +3 -0
  48. samplehc/types/v2/browser_agents/run_list_events_params.py +15 -0
  49. samplehc/types/v2/browser_agents/run_list_events_response.py +30 -0
  50. samplehc/types/v2/browser_agents/runs/help_request_resolve_response.py +0 -2
  51. samplehc/types/v2/document_extract_params.py +4 -1
  52. samplehc/types/v2/document_split_params.py +16 -1
  53. samplehc/types/v2/document_unzip_async_response.py +12 -0
  54. samplehc/types/v2/documents/__init__.py +2 -0
  55. samplehc/types/v2/documents/legacy_split_params.py +20 -0
  56. samplehc/types/v2/documents/legacy_split_response.py +12 -0
  57. samplehc/types/v2/documents/template_render_document_params.py +17 -5
  58. samplehc/types/v2/integrations/__init__.py +1 -0
  59. samplehc/types/v2/integrations/salesforce_run_soql_query_params.py +11 -0
  60. samplehc/types/v2/ledger/account_writeoff_params.py +2 -3
  61. samplehc/types/v2/ledger/entry_post_params.py +1 -2
  62. samplehc/types/v2/ledger/entry_reverse_params.py +2 -3
  63. samplehc/types/v2/task_update_column_params.py +16 -0
  64. samplehc/types/v2/task_update_column_response.py +9 -0
  65. {samplehc-0.11.0.dist-info → samplehc-0.13.0.dist-info}/METADATA +1 -1
  66. {samplehc-0.11.0.dist-info → samplehc-0.13.0.dist-info}/RECORD +68 -60
  67. {samplehc-0.11.0.dist-info → samplehc-0.13.0.dist-info}/WHEEL +0 -0
  68. {samplehc-0.11.0.dist-info → samplehc-0.13.0.dist-info}/licenses/LICENSE +0 -0
@@ -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, strip_not_given, async_maybe_transform
11
11
  from ..._compat import cached_property
12
12
  from ...types.v2 import communication_send_fax_params, communication_send_email_params, communication_send_letter_params
@@ -50,17 +50,17 @@ class CommunicationResource(SyncAPIResource):
50
50
  body: str,
51
51
  subject: str,
52
52
  to: str,
53
- attach_as_files: bool | NotGiven = NOT_GIVEN,
54
- attachments: Iterable[communication_send_email_params.Attachment] | NotGiven = NOT_GIVEN,
55
- enable_encryption: bool | NotGiven = NOT_GIVEN,
56
- from_: str | NotGiven = NOT_GIVEN,
57
- zip_attachments: bool | NotGiven = NOT_GIVEN,
53
+ attach_as_files: bool | Omit = omit,
54
+ attachments: Iterable[communication_send_email_params.Attachment] | Omit = omit,
55
+ enable_encryption: bool | Omit = omit,
56
+ from_: str | Omit = omit,
57
+ zip_attachments: bool | Omit = omit,
58
58
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
59
59
  # The extra values given here take precedence over values defined on the client or passed to this method.
60
60
  extra_headers: Headers | None = None,
61
61
  extra_query: Query | None = None,
62
62
  extra_body: Body | None = None,
63
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
63
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
64
64
  ) -> object:
65
65
  """Processes and dispatches an email.
66
66
 
@@ -123,15 +123,15 @@ class CommunicationResource(SyncAPIResource):
123
123
  *,
124
124
  document: communication_send_fax_params.Document,
125
125
  to: str,
126
- batch_delay_seconds: str | NotGiven = NOT_GIVEN,
127
- enable_batch_collision_avoidance: bool | NotGiven = NOT_GIVEN,
128
- enable_batch_delay: bool | NotGiven = NOT_GIVEN,
126
+ batch_delay_seconds: str | Omit = omit,
127
+ enable_batch_collision_avoidance: bool | Omit = omit,
128
+ enable_batch_delay: bool | Omit = omit,
129
129
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
130
130
  # The extra values given here take precedence over values defined on the client or passed to this method.
131
131
  extra_headers: Headers | None = None,
132
132
  extra_query: Query | None = None,
133
133
  extra_body: Body | None = None,
134
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
134
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
135
135
  ) -> CommunicationSendFaxResponse:
136
136
  """Initiates an asynchronous fax sending process.
137
137
 
@@ -186,15 +186,15 @@ class CommunicationResource(SyncAPIResource):
186
186
  *,
187
187
  document: communication_send_letter_params.Document,
188
188
  to_address: communication_send_letter_params.ToAddress,
189
- from_address: communication_send_letter_params.FromAddress | NotGiven = NOT_GIVEN,
190
- metadata: Dict[str, str] | NotGiven = NOT_GIVEN,
191
- idempotency_key: str | NotGiven = NOT_GIVEN,
189
+ from_address: communication_send_letter_params.FromAddress | Omit = omit,
190
+ metadata: Dict[str, str] | Omit = omit,
191
+ idempotency_key: str | Omit = omit,
192
192
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
193
193
  # The extra values given here take precedence over values defined on the client or passed to this method.
194
194
  extra_headers: Headers | None = None,
195
195
  extra_query: Query | None = None,
196
196
  extra_body: Body | None = None,
197
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
197
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
198
198
  ) -> CommunicationSendLetterResponse:
199
199
  """Sends a physical letter.
200
200
 
@@ -261,17 +261,17 @@ class AsyncCommunicationResource(AsyncAPIResource):
261
261
  body: str,
262
262
  subject: str,
263
263
  to: str,
264
- attach_as_files: bool | NotGiven = NOT_GIVEN,
265
- attachments: Iterable[communication_send_email_params.Attachment] | NotGiven = NOT_GIVEN,
266
- enable_encryption: bool | NotGiven = NOT_GIVEN,
267
- from_: str | NotGiven = NOT_GIVEN,
268
- zip_attachments: bool | NotGiven = NOT_GIVEN,
264
+ attach_as_files: bool | Omit = omit,
265
+ attachments: Iterable[communication_send_email_params.Attachment] | Omit = omit,
266
+ enable_encryption: bool | Omit = omit,
267
+ from_: str | Omit = omit,
268
+ zip_attachments: bool | Omit = omit,
269
269
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
270
270
  # The extra values given here take precedence over values defined on the client or passed to this method.
271
271
  extra_headers: Headers | None = None,
272
272
  extra_query: Query | None = None,
273
273
  extra_body: Body | None = None,
274
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
274
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
275
275
  ) -> object:
276
276
  """Processes and dispatches an email.
277
277
 
@@ -334,15 +334,15 @@ class AsyncCommunicationResource(AsyncAPIResource):
334
334
  *,
335
335
  document: communication_send_fax_params.Document,
336
336
  to: str,
337
- batch_delay_seconds: str | NotGiven = NOT_GIVEN,
338
- enable_batch_collision_avoidance: bool | NotGiven = NOT_GIVEN,
339
- enable_batch_delay: bool | NotGiven = NOT_GIVEN,
337
+ batch_delay_seconds: str | Omit = omit,
338
+ enable_batch_collision_avoidance: bool | Omit = omit,
339
+ enable_batch_delay: bool | Omit = omit,
340
340
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
341
341
  # The extra values given here take precedence over values defined on the client or passed to this method.
342
342
  extra_headers: Headers | None = None,
343
343
  extra_query: Query | None = None,
344
344
  extra_body: Body | None = None,
345
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
345
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
346
346
  ) -> CommunicationSendFaxResponse:
347
347
  """Initiates an asynchronous fax sending process.
348
348
 
@@ -397,15 +397,15 @@ class AsyncCommunicationResource(AsyncAPIResource):
397
397
  *,
398
398
  document: communication_send_letter_params.Document,
399
399
  to_address: communication_send_letter_params.ToAddress,
400
- from_address: communication_send_letter_params.FromAddress | NotGiven = NOT_GIVEN,
401
- metadata: Dict[str, str] | NotGiven = NOT_GIVEN,
402
- idempotency_key: str | NotGiven = NOT_GIVEN,
400
+ from_address: communication_send_letter_params.FromAddress | Omit = omit,
401
+ metadata: Dict[str, str] | Omit = omit,
402
+ idempotency_key: str | Omit = omit,
403
403
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
404
404
  # The extra values given here take precedence over values defined on the client or passed to this method.
405
405
  extra_headers: Headers | None = None,
406
406
  extra_query: Query | None = None,
407
407
  extra_body: Body | None = None,
408
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
408
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
409
409
  ) -> CommunicationSendLetterResponse:
410
410
  """Sends a physical letter.
411
411
 
@@ -7,7 +7,7 @@ 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, omit, not_given
11
11
  from ..._utils import maybe_transform, async_maybe_transform
12
12
  from ..._compat import cached_property
13
13
  from ...types.v2 import database_execute_sql_params
@@ -49,13 +49,13 @@ class DatabaseResource(SyncAPIResource):
49
49
  *,
50
50
  query: str,
51
51
  params: List[Union[str, float, bool, Optional[Literal["null"]], Iterable[object], Dict[str, object]]]
52
- | NotGiven = NOT_GIVEN,
52
+ | Omit = omit,
53
53
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
54
54
  # The extra values given here take precedence over values defined on the client or passed to this method.
55
55
  extra_headers: Headers | None = None,
56
56
  extra_query: Query | None = None,
57
57
  extra_body: Body | None = None,
58
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
58
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
59
59
  ) -> DatabaseExecuteSqlResponse:
60
60
  """Allows execution of arbitrary SQL queries against the Sample database.
61
61
 
@@ -121,13 +121,13 @@ class AsyncDatabaseResource(AsyncAPIResource):
121
121
  *,
122
122
  query: str,
123
123
  params: List[Union[str, float, bool, Optional[Literal["null"]], Iterable[object], Dict[str, object]]]
124
- | NotGiven = NOT_GIVEN,
124
+ | Omit = omit,
125
125
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
126
126
  # The extra values given here take precedence over values defined on the client or passed to this method.
127
127
  extra_headers: Headers | None = None,
128
128
  extra_query: Query | None = None,
129
129
  extra_body: Body | None = None,
130
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
130
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
131
131
  ) -> DatabaseExecuteSqlResponse:
132
132
  """Allows execution of arbitrary SQL queries against the Sample database.
133
133