samplehc 0.9.0__py3-none-any.whl → 0.10.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/_models.py CHANGED
@@ -304,7 +304,7 @@ class BaseModel(pydantic.BaseModel):
304
304
  exclude_none=exclude_none,
305
305
  )
306
306
 
307
- return cast(dict[str, Any], json_safe(dumped)) if mode == "json" else dumped
307
+ return cast("dict[str, Any]", json_safe(dumped)) if mode == "json" else dumped
308
308
 
309
309
  @override
310
310
  def model_dump_json(
samplehc/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "samplehc"
4
- __version__ = "0.9.0" # x-release-please-version
4
+ __version__ = "0.10.0" # x-release-please-version
@@ -15,9 +15,9 @@ from ...._response import (
15
15
  async_to_streamed_response_wrapper,
16
16
  )
17
17
  from ...._base_client import make_request_options
18
- from ....types.v2.clearinghouse import payer_retrieve_search_params
18
+ from ....types.v2.clearinghouse import payer_search_params
19
19
  from ....types.v2.clearinghouse.payer_list_response import PayerListResponse
20
- from ....types.v2.clearinghouse.payer_retrieve_search_response import PayerRetrieveSearchResponse
20
+ from ....types.v2.clearinghouse.payer_search_response import PayerSearchResponse
21
21
 
22
22
  __all__ = ["PayersResource", "AsyncPayersResource"]
23
23
 
@@ -61,7 +61,7 @@ class PayersResource(SyncAPIResource):
61
61
  cast_to=PayerListResponse,
62
62
  )
63
63
 
64
- def retrieve_search(
64
+ def search(
65
65
  self,
66
66
  *,
67
67
  query: str,
@@ -71,7 +71,7 @@ class PayersResource(SyncAPIResource):
71
71
  extra_query: Query | None = None,
72
72
  extra_body: Body | None = None,
73
73
  timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
74
- ) -> PayerRetrieveSearchResponse:
74
+ ) -> PayerSearchResponse:
75
75
  """
76
76
  Searches for payers based on the provided search criteria.
77
77
 
@@ -93,9 +93,9 @@ class PayersResource(SyncAPIResource):
93
93
  extra_query=extra_query,
94
94
  extra_body=extra_body,
95
95
  timeout=timeout,
96
- query=maybe_transform({"query": query}, payer_retrieve_search_params.PayerRetrieveSearchParams),
96
+ query=maybe_transform({"query": query}, payer_search_params.PayerSearchParams),
97
97
  ),
98
- cast_to=PayerRetrieveSearchResponse,
98
+ cast_to=PayerSearchResponse,
99
99
  )
100
100
 
101
101
 
@@ -138,7 +138,7 @@ class AsyncPayersResource(AsyncAPIResource):
138
138
  cast_to=PayerListResponse,
139
139
  )
140
140
 
141
- async def retrieve_search(
141
+ async def search(
142
142
  self,
143
143
  *,
144
144
  query: str,
@@ -148,7 +148,7 @@ class AsyncPayersResource(AsyncAPIResource):
148
148
  extra_query: Query | None = None,
149
149
  extra_body: Body | None = None,
150
150
  timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
151
- ) -> PayerRetrieveSearchResponse:
151
+ ) -> PayerSearchResponse:
152
152
  """
153
153
  Searches for payers based on the provided search criteria.
154
154
 
@@ -170,11 +170,9 @@ class AsyncPayersResource(AsyncAPIResource):
170
170
  extra_query=extra_query,
171
171
  extra_body=extra_body,
172
172
  timeout=timeout,
173
- query=await async_maybe_transform(
174
- {"query": query}, payer_retrieve_search_params.PayerRetrieveSearchParams
175
- ),
173
+ query=await async_maybe_transform({"query": query}, payer_search_params.PayerSearchParams),
176
174
  ),
177
- cast_to=PayerRetrieveSearchResponse,
175
+ cast_to=PayerSearchResponse,
178
176
  )
179
177
 
180
178
 
@@ -185,8 +183,8 @@ class PayersResourceWithRawResponse:
185
183
  self.list = to_raw_response_wrapper(
186
184
  payers.list,
187
185
  )
188
- self.retrieve_search = to_raw_response_wrapper(
189
- payers.retrieve_search,
186
+ self.search = to_raw_response_wrapper(
187
+ payers.search,
190
188
  )
191
189
 
192
190
 
@@ -197,8 +195,8 @@ class AsyncPayersResourceWithRawResponse:
197
195
  self.list = async_to_raw_response_wrapper(
198
196
  payers.list,
199
197
  )
200
- self.retrieve_search = async_to_raw_response_wrapper(
201
- payers.retrieve_search,
198
+ self.search = async_to_raw_response_wrapper(
199
+ payers.search,
202
200
  )
203
201
 
204
202
 
@@ -209,8 +207,8 @@ class PayersResourceWithStreamingResponse:
209
207
  self.list = to_streamed_response_wrapper(
210
208
  payers.list,
211
209
  )
212
- self.retrieve_search = to_streamed_response_wrapper(
213
- payers.retrieve_search,
210
+ self.search = to_streamed_response_wrapper(
211
+ payers.search,
214
212
  )
215
213
 
216
214
 
@@ -221,6 +219,6 @@ class AsyncPayersResourceWithStreamingResponse:
221
219
  self.list = async_to_streamed_response_wrapper(
222
220
  payers.list,
223
221
  )
224
- self.retrieve_search = async_to_streamed_response_wrapper(
225
- payers.retrieve_search,
222
+ self.search = async_to_streamed_response_wrapper(
223
+ payers.search,
226
224
  )
@@ -10,3 +10,6 @@ __all__ = ["BrowserAgentInvokeResponse"]
10
10
  class BrowserAgentInvokeResponse(BaseModel):
11
11
  async_result_id: str = FieldInfo(alias="asyncResultId")
12
12
  """ID to track the browser agent invocation status"""
13
+
14
+ browser_agent_run_id: str = FieldInfo(alias="browserAgentRunId")
15
+ """ID to track the browser agent run"""
@@ -4,6 +4,6 @@ from __future__ import annotations
4
4
 
5
5
  from .claim_submit_params import ClaimSubmitParams as ClaimSubmitParams
6
6
  from .payer_list_response import PayerListResponse as PayerListResponse
7
+ from .payer_search_params import PayerSearchParams as PayerSearchParams
7
8
  from .claim_submit_response import ClaimSubmitResponse as ClaimSubmitResponse
8
- from .payer_retrieve_search_params import PayerRetrieveSearchParams as PayerRetrieveSearchParams
9
- from .payer_retrieve_search_response import PayerRetrieveSearchResponse as PayerRetrieveSearchResponse
9
+ from .payer_search_response import PayerSearchResponse as PayerSearchResponse
@@ -4,9 +4,9 @@ from __future__ import annotations
4
4
 
5
5
  from typing_extensions import Required, TypedDict
6
6
 
7
- __all__ = ["PayerRetrieveSearchParams"]
7
+ __all__ = ["PayerSearchParams"]
8
8
 
9
9
 
10
- class PayerRetrieveSearchParams(TypedDict, total=False):
10
+ class PayerSearchParams(TypedDict, total=False):
11
11
  query: Required[str]
12
12
  """The search query (e.g. name, ID, etc.) for the payer."""
@@ -6,7 +6,7 @@ from pydantic import Field as FieldInfo
6
6
 
7
7
  from ...._models import BaseModel
8
8
 
9
- __all__ = ["PayerRetrieveSearchResponse", "Payer", "PayerPayer"]
9
+ __all__ = ["PayerSearchResponse", "Payer", "PayerPayer"]
10
10
 
11
11
 
12
12
  class PayerPayer(BaseModel):
@@ -27,5 +27,5 @@ class Payer(BaseModel):
27
27
  score: float
28
28
 
29
29
 
30
- class PayerRetrieveSearchResponse(BaseModel):
30
+ class PayerSearchResponse(BaseModel):
31
31
  payers: List[Payer]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: samplehc
3
- Version: 0.9.0
3
+ Version: 0.10.0
4
4
  Summary: The official Python library for the Sample Healthcare API
5
5
  Project-URL: Homepage, https://github.com/samplehc/samplehc-python
6
6
  Project-URL: Repository, https://github.com/samplehc/samplehc-python
@@ -5,13 +5,13 @@ samplehc/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,6580
5
5
  samplehc/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
6
6
  samplehc/_exceptions.py,sha256=MxVd0pThtjM7aV1xjQcQ6nGSfxJMa5xPhoLsmtSxQgU,3240
7
7
  samplehc/_files.py,sha256=KnEzGi_O756MvKyJ4fOCW_u3JhOeWPQ4RsmDvqihDQU,3545
8
- samplehc/_models.py,sha256=KvjsMfb88XZlFUKVoOxr8OyDj47MhoH2OKqWNEbBhk4,30010
8
+ samplehc/_models.py,sha256=6rDtUmk6jhjGN1q96CUICYfBunNXNhhEk_AqztTm3uE,30012
9
9
  samplehc/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
10
10
  samplehc/_resource.py,sha256=Mdg6fhf_5wYd2K2JZ4BQIJMPqJOWetqpJE3h3MmGZJE,1160
11
11
  samplehc/_response.py,sha256=UzsuYRbic274gcdUWq9ShPkdRt7VrzkjaqwSwdxqWIs,28816
12
12
  samplehc/_streaming.py,sha256=yAEL3kUU3BoKZpDC6T6Psl11nDAMMAjSyWvWnk3R8vU,10140
13
13
  samplehc/_types.py,sha256=p36YZ57rnQn_RIwBPcrliWawLmV62NbJeNxPy7Cm5P8,6199
14
- samplehc/_version.py,sha256=RPemggTM8rUK4OrpwiOcKmtK-v0jFFBwDKaIABM6xCU,160
14
+ samplehc/_version.py,sha256=EJqllBjYFo7AGMKsQ-3ZSmNFI_vcyqy0jBXKXF2sucY,161
15
15
  samplehc/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  samplehc/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
17
17
  samplehc/_utils/_logs.py,sha256=EEt3P1dtoGlkVTZOwVml4xf3j9DvdDTzG2TpBjcQINc,789
@@ -41,7 +41,7 @@ samplehc/resources/v2/browser_automation/browser_automation.py,sha256=jiBEq2DdaD
41
41
  samplehc/resources/v2/clearinghouse/__init__.py,sha256=q2mqlV5eEa0qmHkoQUSDMsZ5zxunWN5Eo6boQaNs49Q,1530
42
42
  samplehc/resources/v2/clearinghouse/claim.py,sha256=wH5GIkGOHgKIO9rj7L7g3uskN6V0wlhO3XK_qiIqC9w,16522
43
43
  samplehc/resources/v2/clearinghouse/clearinghouse.py,sha256=xRqivw0pcZNqFZeTSvVEPxrS9kaEwBYnjdteWB3GL3Q,34900
44
- samplehc/resources/v2/clearinghouse/payers.py,sha256=snsp1vc2o54Hi_MZgUh_9fhR3gnC-mVxXWlMoxl6kJk,8620
44
+ samplehc/resources/v2/clearinghouse/payers.py,sha256=ftIYehQXSKST7JZ-3NWt-W1-Lzzp4izu3LztP3AbWZw,8400
45
45
  samplehc/resources/v2/documents/__init__.py,sha256=9Hje-AZc-uRh1mgxCDKcRtLRxIdSOB3P7QJVGKCGAc0,2509
46
46
  samplehc/resources/v2/documents/documents.py,sha256=xZB-Anps-EHq1zHyCLkJno_N7Q6FPAOyM1-IxYv9aug,59454
47
47
  samplehc/resources/v2/documents/formats.py,sha256=41o04NRVECHsCSQhATpKh9BPn-vlpzHpUDpsRMQvX2k,6993
@@ -97,7 +97,7 @@ samplehc/types/v2/async_result_retrieve_response.py,sha256=hDRnUnMvLJav6RzGqFH7O
97
97
  samplehc/types/v2/async_result_sleep_params.py,sha256=vdhEdUP6vA9Y44waJBU2p_PEC-rzWBOr4RkE1F2eTHs,729
98
98
  samplehc/types/v2/async_result_sleep_response.py,sha256=nAUL4IVyG9RjVZtNyMnn_sp1mcwatJCEBjBCDf6bDtM,366
99
99
  samplehc/types/v2/browser_agent_invoke_params.py,sha256=GH1bkTIefBLcVz9nKcvQAu1hFuodCd8avTcYEcG1SIQ,367
100
- samplehc/types/v2/browser_agent_invoke_response.py,sha256=_dX2oZvsQlQhJpqaMsyxBeI6MLHApm-uCD4ogauKWWo,368
100
+ samplehc/types/v2/browser_agent_invoke_response.py,sha256=008fSDAfWWy-GumiQai9BCEhPQgjB9O_3BsywHWNb7s,482
101
101
  samplehc/types/v2/clearinghouse_calculate_patient_cost_params.py,sha256=maMspSTt4X8dz3iHp-HFKLWv1_B_UtIP4VXQd_FNTMY,86893
102
102
  samplehc/types/v2/clearinghouse_check_claim_status_params.py,sha256=ko1_OwVFSQZ0U2unGPYYNx5eovOObjYORZSc64-DKew,1683
103
103
  samplehc/types/v2/clearinghouse_check_eligibility_params.py,sha256=403fR7fuCUNla_YfBx0hQD3_ykBBsPAbsp8el-o8mWo,1465
@@ -186,12 +186,12 @@ samplehc/types/v2/workflow_start_response.py,sha256=RF8irtsIvRiF6ZuDs0ApgGWnvLSi
186
186
  samplehc/types/v2/browser_automation/__init__.py,sha256=CCz_Y-fN-C5G-ZvnLdkoE5gN5De8-_LaVjo3nAAw2w4,329
187
187
  samplehc/types/v2/browser_automation/availity_submit_appeal_params.py,sha256=xPpXHjO-5JG4_a5e1RVb9mJQzTt_J_WvypW0nzNq76A,1985
188
188
  samplehc/types/v2/browser_automation/availity_submit_appeal_response.py,sha256=rUKHMayj-Edo78E4hbZMXgXl8u7AxFTvVy0Dbyrc6sY,384
189
- samplehc/types/v2/clearinghouse/__init__.py,sha256=1OM8agjZ4fezuxrcCqugZWDzk_ELJ1eORWXYIcI2Cew,545
189
+ samplehc/types/v2/clearinghouse/__init__.py,sha256=wyZ7XAXj5ug8Vnca6DaozMKvxb2bP1fXEJq0mM_4SfM,495
190
190
  samplehc/types/v2/clearinghouse/claim_submit_params.py,sha256=4CGf004MuDYJhSD3KVsQVVZcruUKx9y7852i7B5M8G4,92614
191
191
  samplehc/types/v2/clearinghouse/claim_submit_response.py,sha256=slh7pXvvTUerZLvvSZwbzZMM_kV2GCkMZ16MSb6D2D8,585
192
192
  samplehc/types/v2/clearinghouse/payer_list_response.py,sha256=WjyYm7gAQXAuMjI4fGD08rqoDsSgdupXXxQW5-9L33I,529
193
- samplehc/types/v2/clearinghouse/payer_retrieve_search_params.py,sha256=1opEzMaoOSnQV3HFkf4J88yAxwm5YCNvvX5M78_7bJs,362
194
- samplehc/types/v2/clearinghouse/payer_retrieve_search_response.py,sha256=KeuGwof0MG7Sx63NPG9W79o0QafkepwR-JoOHq9FgF0,634
193
+ samplehc/types/v2/clearinghouse/payer_search_params.py,sha256=BGRRuYx7doSxrjnxkF4bvgG_9s1SwBvz4H7gi1O0XPY,346
194
+ samplehc/types/v2/clearinghouse/payer_search_response.py,sha256=NrJiXkx_4Cs_ZeD_yINUZrEoY8pgM6OZSnYrkLGOL-4,618
195
195
  samplehc/types/v2/documents/__init__.py,sha256=uHbY_gbySx-jWixDJjpw4d45f4iPGi3eaLcMs4gXgho,1252
196
196
  samplehc/types/v2/documents/format_create_pdf_params.py,sha256=OgteE7CfhVP-CAw5RGZlSoXz50rdfxohA-9fJA_9t0Q,458
197
197
  samplehc/types/v2/documents/format_create_pdf_response.py,sha256=S7Bds-J2bb_e9VkripnKiT7Mx4cwcH5yx8BIrUfCng8,307
@@ -256,7 +256,7 @@ samplehc/types/v2/tasks/state_update_params.py,sha256=qSLE4Ic5PJlkvcFbTu-KlfH6qg
256
256
  samplehc/types/v2/tasks/state_update_response.py,sha256=ZLnR_rl9yasOnaxQvcM3fiaI_H16pDjBve1GUUleul4,214
257
257
  samplehc/types/v2/workflow_runs/__init__.py,sha256=Nmrudr30JDOaGyeMcc_dqaqqs_9kTdebHD7W0vHHfdE,208
258
258
  samplehc/types/v2/workflow_runs/step_get_output_response.py,sha256=XhRGcpEmxu4TBgpF8r63u5-ruEUDWuXr0ahv1CD9gis,333
259
- samplehc-0.9.0.dist-info/METADATA,sha256=e_eGLQprAeDwS5c2WSeD1Jpn05aS4eMegKhgGI1K4Ks,14284
260
- samplehc-0.9.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
261
- samplehc-0.9.0.dist-info/licenses/LICENSE,sha256=nrJkK4JSAQb1p7FJcTysujPJoAZtrnXxwsLkwHz0-J8,11347
262
- samplehc-0.9.0.dist-info/RECORD,,
259
+ samplehc-0.10.0.dist-info/METADATA,sha256=fjUJayjSnHRS-_tSJk8jYZROM0MtR19ilV_bWnsSOOc,14285
260
+ samplehc-0.10.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
261
+ samplehc-0.10.0.dist-info/licenses/LICENSE,sha256=nrJkK4JSAQb1p7FJcTysujPJoAZtrnXxwsLkwHz0-J8,11347
262
+ samplehc-0.10.0.dist-info/RECORD,,