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
@@ -2,12 +2,11 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import Dict, Union
6
- from datetime import datetime
5
+ from typing import Dict
7
6
 
8
7
  import httpx
9
8
 
10
- from ...._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven
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 = NOT_GIVEN,
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] | NotGiven = NOT_GIVEN,
91
- posted_at: Union[str, datetime] | NotGiven = NOT_GIVEN,
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 = NOT_GIVEN,
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 = NOT_GIVEN,
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] | NotGiven = NOT_GIVEN,
204
- posted_at: Union[str, datetime] | NotGiven = NOT_GIVEN,
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 = NOT_GIVEN,
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
 
@@ -3,12 +3,11 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  from typing import Dict, Union
6
- from datetime import datetime
7
6
  from typing_extensions import Literal
8
7
 
9
8
  import httpx
10
9
 
11
- from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
10
+ from ...._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
12
11
  from ...._utils import maybe_transform, strip_not_given, async_maybe_transform
13
12
  from ...._compat import cached_property
14
13
  from ...._resource import SyncAPIResource, AsyncAPIResource
@@ -53,7 +52,7 @@ class EntryResource(SyncAPIResource):
53
52
  entry_category: Literal["charge", "payment", "adjustment"],
54
53
  line_item_id: str,
55
54
  order_id: str,
56
- description: str | NotGiven = NOT_GIVEN,
55
+ description: str | Omit = omit,
57
56
  entry_type: Union[
58
57
  Literal[
59
58
  "insurance-payment",
@@ -69,17 +68,17 @@ class EntryResource(SyncAPIResource):
69
68
  ],
70
69
  object,
71
70
  ]
72
- | NotGiven = NOT_GIVEN,
73
- metadata: Dict[str, object] | NotGiven = NOT_GIVEN,
74
- payment_source: str | NotGiven = NOT_GIVEN,
75
- posted_at: Union[str, datetime] | NotGiven = NOT_GIVEN,
76
- idempotency_key: str | NotGiven = NOT_GIVEN,
71
+ | Omit = omit,
72
+ metadata: Dict[str, object] | Omit = omit,
73
+ payment_source: str | Omit = omit,
74
+ posted_at: str | Omit = omit,
75
+ idempotency_key: str | Omit = omit,
77
76
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
78
77
  # The extra values given here take precedence over values defined on the client or passed to this method.
79
78
  extra_headers: Headers | None = None,
80
79
  extra_query: Query | None = None,
81
80
  extra_body: Body | None = None,
82
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
81
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
83
82
  ) -> EntryPostResponse:
84
83
  """
85
84
  Create diagnostics ledger entry
@@ -137,14 +136,14 @@ class EntryResource(SyncAPIResource):
137
136
  self,
138
137
  id: str,
139
138
  *,
140
- metadata: Dict[str, object] | NotGiven = NOT_GIVEN,
141
- posted_at: Union[str, datetime] | NotGiven = NOT_GIVEN,
139
+ metadata: Dict[str, object] | Omit = omit,
140
+ posted_at: str | Omit = omit,
142
141
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
143
142
  # The extra values given here take precedence over values defined on the client or passed to this method.
144
143
  extra_headers: Headers | None = None,
145
144
  extra_query: Query | None = None,
146
145
  extra_body: Body | None = None,
147
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
146
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
148
147
  ) -> EntryReverseResponse:
149
148
  """
150
149
  Reverse diagnostics ledger entry
@@ -207,7 +206,7 @@ class AsyncEntryResource(AsyncAPIResource):
207
206
  entry_category: Literal["charge", "payment", "adjustment"],
208
207
  line_item_id: str,
209
208
  order_id: str,
210
- description: str | NotGiven = NOT_GIVEN,
209
+ description: str | Omit = omit,
211
210
  entry_type: Union[
212
211
  Literal[
213
212
  "insurance-payment",
@@ -223,17 +222,17 @@ class AsyncEntryResource(AsyncAPIResource):
223
222
  ],
224
223
  object,
225
224
  ]
226
- | NotGiven = NOT_GIVEN,
227
- metadata: Dict[str, object] | NotGiven = NOT_GIVEN,
228
- payment_source: str | NotGiven = NOT_GIVEN,
229
- posted_at: Union[str, datetime] | NotGiven = NOT_GIVEN,
230
- idempotency_key: str | NotGiven = NOT_GIVEN,
225
+ | Omit = omit,
226
+ metadata: Dict[str, object] | Omit = omit,
227
+ payment_source: str | Omit = omit,
228
+ posted_at: str | Omit = omit,
229
+ idempotency_key: str | Omit = omit,
231
230
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
232
231
  # The extra values given here take precedence over values defined on the client or passed to this method.
233
232
  extra_headers: Headers | None = None,
234
233
  extra_query: Query | None = None,
235
234
  extra_body: Body | None = None,
236
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
235
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
237
236
  ) -> EntryPostResponse:
238
237
  """
239
238
  Create diagnostics ledger entry
@@ -291,14 +290,14 @@ class AsyncEntryResource(AsyncAPIResource):
291
290
  self,
292
291
  id: str,
293
292
  *,
294
- metadata: Dict[str, object] | NotGiven = NOT_GIVEN,
295
- posted_at: Union[str, datetime] | NotGiven = NOT_GIVEN,
293
+ metadata: Dict[str, object] | Omit = omit,
294
+ posted_at: str | Omit = omit,
296
295
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
297
296
  # The extra values given here take precedence over values defined on the client or passed to this method.
298
297
  extra_headers: Headers | None = None,
299
298
  extra_query: Query | None = None,
300
299
  extra_body: Body | None = None,
301
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
300
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
302
301
  ) -> EntryReverseResponse:
303
302
  """
304
303
  Reverse diagnostics ledger entry
@@ -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 ...types.v2 import policy_list_params, policy_list_plans_params, policy_list_companies_params
@@ -48,24 +48,24 @@ class PoliciesResource(SyncAPIResource):
48
48
  def list(
49
49
  self,
50
50
  *,
51
- active_at: str | NotGiven = NOT_GIVEN,
52
- company_id: str | NotGiven = NOT_GIVEN,
53
- hcpcs_codes: str | NotGiven = NOT_GIVEN,
54
- icd10_cm_codes: str | NotGiven = NOT_GIVEN,
55
- limit: float | NotGiven = NOT_GIVEN,
56
- plan_id: str | NotGiven = NOT_GIVEN,
57
- policy_topic: str | NotGiven = NOT_GIVEN,
58
- policy_topic_for_keyword_extraction: str | NotGiven = NOT_GIVEN,
59
- policy_type: str | NotGiven = NOT_GIVEN,
60
- skip: float | NotGiven = NOT_GIVEN,
61
- updated_at_max: str | NotGiven = NOT_GIVEN,
62
- updated_at_min: str | NotGiven = NOT_GIVEN,
51
+ active_at: str | Omit = omit,
52
+ company_id: str | Omit = omit,
53
+ hcpcs_codes: str | Omit = omit,
54
+ icd10_cm_codes: str | Omit = omit,
55
+ limit: float | Omit = omit,
56
+ plan_id: str | Omit = omit,
57
+ policy_topic: str | Omit = omit,
58
+ policy_topic_for_keyword_extraction: str | Omit = omit,
59
+ policy_type: str | Omit = omit,
60
+ skip: float | Omit = omit,
61
+ updated_at_max: str | Omit = omit,
62
+ updated_at_min: str | Omit = omit,
63
63
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
64
64
  # The extra values given here take precedence over values defined on the client or passed to this method.
65
65
  extra_headers: Headers | None = None,
66
66
  extra_query: Query | None = None,
67
67
  extra_body: Body | None = None,
68
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
68
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
69
69
  ) -> PolicyListResponse:
70
70
  """
71
71
  Retrieve a list of policies based on specified filters.
@@ -134,15 +134,15 @@ class PoliciesResource(SyncAPIResource):
134
134
  def list_companies(
135
135
  self,
136
136
  *,
137
- company_name: str | NotGiven = NOT_GIVEN,
138
- limit: float | NotGiven = NOT_GIVEN,
139
- skip: float | NotGiven = NOT_GIVEN,
137
+ company_name: str | Omit = omit,
138
+ limit: float | Omit = omit,
139
+ skip: float | Omit = omit,
140
140
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
141
141
  # The extra values given here take precedence over values defined on the client or passed to this method.
142
142
  extra_headers: Headers | None = None,
143
143
  extra_query: Query | None = None,
144
144
  extra_body: Body | None = None,
145
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
145
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
146
146
  ) -> PolicyListCompaniesResponse:
147
147
  """
148
148
  Retrieve a list of companies.
@@ -184,15 +184,15 @@ class PoliciesResource(SyncAPIResource):
184
184
  def list_plans(
185
185
  self,
186
186
  *,
187
- limit: float | NotGiven = NOT_GIVEN,
188
- plan_name: str | NotGiven = NOT_GIVEN,
189
- skip: float | NotGiven = NOT_GIVEN,
187
+ limit: float | Omit = omit,
188
+ plan_name: str | Omit = omit,
189
+ skip: float | Omit = omit,
190
190
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
191
191
  # The extra values given here take precedence over values defined on the client or passed to this method.
192
192
  extra_headers: Headers | None = None,
193
193
  extra_query: Query | None = None,
194
194
  extra_body: Body | None = None,
195
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
195
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
196
196
  ) -> PolicyListPlansResponse:
197
197
  """
198
198
  Retrieve a list of plans.
@@ -240,7 +240,7 @@ class PoliciesResource(SyncAPIResource):
240
240
  extra_headers: Headers | None = None,
241
241
  extra_query: Query | None = None,
242
242
  extra_body: Body | None = None,
243
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
243
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
244
244
  ) -> PolicyRetrievePresignedURLResponse:
245
245
  """
246
246
  Retrieve a presigned URL for accessing a policy document.
@@ -273,7 +273,7 @@ class PoliciesResource(SyncAPIResource):
273
273
  extra_headers: Headers | None = None,
274
274
  extra_query: Query | None = None,
275
275
  extra_body: Body | None = None,
276
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
276
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
277
277
  ) -> PolicyRetrieveTextResponse:
278
278
  """
279
279
  Retrieve the raw text content of a policy document.
@@ -321,24 +321,24 @@ class AsyncPoliciesResource(AsyncAPIResource):
321
321
  async def list(
322
322
  self,
323
323
  *,
324
- active_at: str | NotGiven = NOT_GIVEN,
325
- company_id: str | NotGiven = NOT_GIVEN,
326
- hcpcs_codes: str | NotGiven = NOT_GIVEN,
327
- icd10_cm_codes: str | NotGiven = NOT_GIVEN,
328
- limit: float | NotGiven = NOT_GIVEN,
329
- plan_id: str | NotGiven = NOT_GIVEN,
330
- policy_topic: str | NotGiven = NOT_GIVEN,
331
- policy_topic_for_keyword_extraction: str | NotGiven = NOT_GIVEN,
332
- policy_type: str | NotGiven = NOT_GIVEN,
333
- skip: float | NotGiven = NOT_GIVEN,
334
- updated_at_max: str | NotGiven = NOT_GIVEN,
335
- updated_at_min: str | NotGiven = NOT_GIVEN,
324
+ active_at: str | Omit = omit,
325
+ company_id: str | Omit = omit,
326
+ hcpcs_codes: str | Omit = omit,
327
+ icd10_cm_codes: str | Omit = omit,
328
+ limit: float | Omit = omit,
329
+ plan_id: str | Omit = omit,
330
+ policy_topic: str | Omit = omit,
331
+ policy_topic_for_keyword_extraction: str | Omit = omit,
332
+ policy_type: str | Omit = omit,
333
+ skip: float | Omit = omit,
334
+ updated_at_max: str | Omit = omit,
335
+ updated_at_min: str | Omit = omit,
336
336
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
337
337
  # The extra values given here take precedence over values defined on the client or passed to this method.
338
338
  extra_headers: Headers | None = None,
339
339
  extra_query: Query | None = None,
340
340
  extra_body: Body | None = None,
341
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
341
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
342
342
  ) -> PolicyListResponse:
343
343
  """
344
344
  Retrieve a list of policies based on specified filters.
@@ -407,15 +407,15 @@ class AsyncPoliciesResource(AsyncAPIResource):
407
407
  async def list_companies(
408
408
  self,
409
409
  *,
410
- company_name: str | NotGiven = NOT_GIVEN,
411
- limit: float | NotGiven = NOT_GIVEN,
412
- skip: float | NotGiven = NOT_GIVEN,
410
+ company_name: str | Omit = omit,
411
+ limit: float | Omit = omit,
412
+ skip: float | Omit = omit,
413
413
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
414
414
  # The extra values given here take precedence over values defined on the client or passed to this method.
415
415
  extra_headers: Headers | None = None,
416
416
  extra_query: Query | None = None,
417
417
  extra_body: Body | None = None,
418
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
418
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
419
419
  ) -> PolicyListCompaniesResponse:
420
420
  """
421
421
  Retrieve a list of companies.
@@ -457,15 +457,15 @@ class AsyncPoliciesResource(AsyncAPIResource):
457
457
  async def list_plans(
458
458
  self,
459
459
  *,
460
- limit: float | NotGiven = NOT_GIVEN,
461
- plan_name: str | NotGiven = NOT_GIVEN,
462
- skip: float | NotGiven = NOT_GIVEN,
460
+ limit: float | Omit = omit,
461
+ plan_name: str | Omit = omit,
462
+ skip: float | Omit = omit,
463
463
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
464
464
  # The extra values given here take precedence over values defined on the client or passed to this method.
465
465
  extra_headers: Headers | None = None,
466
466
  extra_query: Query | None = None,
467
467
  extra_body: Body | None = None,
468
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
468
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
469
469
  ) -> PolicyListPlansResponse:
470
470
  """
471
471
  Retrieve a list of plans.
@@ -513,7 +513,7 @@ class AsyncPoliciesResource(AsyncAPIResource):
513
513
  extra_headers: Headers | None = None,
514
514
  extra_query: Query | None = None,
515
515
  extra_body: Body | None = None,
516
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
516
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
517
517
  ) -> PolicyRetrievePresignedURLResponse:
518
518
  """
519
519
  Retrieve a presigned URL for accessing a policy document.
@@ -546,7 +546,7 @@ class AsyncPoliciesResource(AsyncAPIResource):
546
546
  extra_headers: Headers | None = None,
547
547
  extra_query: Query | None = None,
548
548
  extra_body: Body | None = None,
549
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
549
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
550
550
  ) -> PolicyRetrieveTextResponse:
551
551
  """
552
552
  Retrieve the raw text content of a policy document.
@@ -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
@@ -47,13 +47,13 @@ class StateResource(SyncAPIResource):
47
47
  task_id: str,
48
48
  *,
49
49
  key: str,
50
- value: object | NotGiven = NOT_GIVEN,
50
+ value: object | Omit = omit,
51
51
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
52
52
  # The extra values given here take precedence over values defined on the client or passed to this method.
53
53
  extra_headers: Headers | None = None,
54
54
  extra_query: Query | None = None,
55
55
  extra_body: Body | None = None,
56
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
56
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
57
57
  ) -> StateUpdateResponse:
58
58
  """
59
59
  Updates the state of a task.
@@ -93,7 +93,7 @@ class StateResource(SyncAPIResource):
93
93
  extra_headers: Headers | None = None,
94
94
  extra_query: Query | None = None,
95
95
  extra_body: Body | None = None,
96
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
96
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
97
97
  ) -> StateGetResponse:
98
98
  """Retrieves the state of a task.
99
99
 
@@ -145,13 +145,13 @@ class AsyncStateResource(AsyncAPIResource):
145
145
  task_id: str,
146
146
  *,
147
147
  key: str,
148
- value: object | NotGiven = NOT_GIVEN,
148
+ value: object | Omit = omit,
149
149
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
150
150
  # The extra values given here take precedence over values defined on the client or passed to this method.
151
151
  extra_headers: Headers | None = None,
152
152
  extra_query: Query | None = None,
153
153
  extra_body: Body | None = None,
154
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
154
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
155
155
  ) -> StateUpdateResponse:
156
156
  """
157
157
  Updates the state of a task.
@@ -191,7 +191,7 @@ class AsyncStateResource(AsyncAPIResource):
191
191
  extra_headers: Headers | None = None,
192
192
  extra_query: Query | None = None,
193
193
  extra_body: Body | None = None,
194
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
194
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
195
195
  ) -> StateGetResponse:
196
196
  """Retrieves the state of a task.
197
197