samplehc 0.20.0__tar.gz → 0.21.0__tar.gz

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 (140) hide show
  1. samplehc-0.21.0/.release-please-manifest.json +3 -0
  2. {samplehc-0.20.0 → samplehc-0.21.0}/CHANGELOG.md +8 -0
  3. {samplehc-0.20.0 → samplehc-0.21.0}/PKG-INFO +1 -1
  4. {samplehc-0.20.0 → samplehc-0.21.0}/pyproject.toml +1 -1
  5. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_version.py +1 -1
  6. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/resources/v2/documents/documents.py +6 -2
  7. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_extract_params.py +6 -2
  8. samplehc-0.20.0/.release-please-manifest.json +0 -3
  9. {samplehc-0.20.0 → samplehc-0.21.0}/.gitignore +0 -0
  10. {samplehc-0.20.0 → samplehc-0.21.0}/CONTRIBUTING.md +0 -0
  11. {samplehc-0.20.0 → samplehc-0.21.0}/LICENSE +0 -0
  12. {samplehc-0.20.0 → samplehc-0.21.0}/README.md +0 -0
  13. {samplehc-0.20.0 → samplehc-0.21.0}/SECURITY.md +0 -0
  14. {samplehc-0.20.0 → samplehc-0.21.0}/api.md +0 -0
  15. {samplehc-0.20.0 → samplehc-0.21.0}/bin/check-release-environment +0 -0
  16. {samplehc-0.20.0 → samplehc-0.21.0}/bin/publish-pypi +0 -0
  17. {samplehc-0.20.0 → samplehc-0.21.0}/examples/.keep +0 -0
  18. {samplehc-0.20.0 → samplehc-0.21.0}/noxfile.py +0 -0
  19. {samplehc-0.20.0 → samplehc-0.21.0}/release-please-config.json +0 -0
  20. {samplehc-0.20.0 → samplehc-0.21.0}/requirements-dev.lock +0 -0
  21. {samplehc-0.20.0 → samplehc-0.21.0}/requirements.lock +0 -0
  22. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/__init__.py +0 -0
  23. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_base_client.py +0 -0
  24. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_client.py +0 -0
  25. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_compat.py +0 -0
  26. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_constants.py +0 -0
  27. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_exceptions.py +0 -0
  28. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_files.py +0 -0
  29. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_models.py +0 -0
  30. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_qs.py +0 -0
  31. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_resource.py +0 -0
  32. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_response.py +0 -0
  33. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_streaming.py +0 -0
  34. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_types.py +0 -0
  35. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_utils/__init__.py +0 -0
  36. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_utils/_compat.py +0 -0
  37. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_utils/_datetime_parse.py +0 -0
  38. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_utils/_json.py +0 -0
  39. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_utils/_logs.py +0 -0
  40. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_utils/_proxy.py +0 -0
  41. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_utils/_reflection.py +0 -0
  42. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_utils/_resources_proxy.py +0 -0
  43. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_utils/_streams.py +0 -0
  44. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_utils/_sync.py +0 -0
  45. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_utils/_transform.py +0 -0
  46. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_utils/_typing.py +0 -0
  47. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/_utils/_utils.py +0 -0
  48. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/lib/.keep +0 -0
  49. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/py.typed +0 -0
  50. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/resources/__init__.py +0 -0
  51. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/resources/v2/__init__.py +0 -0
  52. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/resources/v2/async_results.py +0 -0
  53. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/resources/v2/communication.py +0 -0
  54. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/resources/v2/database.py +0 -0
  55. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/resources/v2/documents/__init__.py +0 -0
  56. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/resources/v2/documents/formats.py +0 -0
  57. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/resources/v2/documents/legacy.py +0 -0
  58. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/resources/v2/documents/templates.py +0 -0
  59. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/resources/v2/events.py +0 -0
  60. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/resources/v2/v2.py +0 -0
  61. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/resources/v2/workflow_runs.py +0 -0
  62. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/__init__.py +0 -0
  63. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/__init__.py +0 -0
  64. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/async_result_sleep_params.py +0 -0
  65. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/async_result_sleep_response.py +0 -0
  66. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/communication_send_email_params.py +0 -0
  67. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/communication_send_email_response.py +0 -0
  68. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/communication_send_fax_params.py +0 -0
  69. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/communication_send_fax_response.py +0 -0
  70. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/communication_send_letter_params.py +0 -0
  71. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/communication_send_letter_response.py +0 -0
  72. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/database_execute_sql_params.py +0 -0
  73. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/database_execute_sql_response.py +0 -0
  74. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_classify_params.py +0 -0
  75. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_classify_response.py +0 -0
  76. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_combine_params.py +0 -0
  77. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_combine_response.py +0 -0
  78. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_create_from_splits_params.py +0 -0
  79. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_create_from_splits_response.py +0 -0
  80. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_extract_response.py +0 -0
  81. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_generate_csv_params.py +0 -0
  82. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_generate_csv_response.py +0 -0
  83. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_presigned_upload_url_params.py +0 -0
  84. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_presigned_upload_url_response.py +0 -0
  85. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_retrieve_csv_content_response.py +0 -0
  86. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_retrieve_metadata_response.py +0 -0
  87. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_retrieve_response.py +0 -0
  88. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_search_params.py +0 -0
  89. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_search_response.py +0 -0
  90. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_split_params.py +0 -0
  91. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_split_response.py +0 -0
  92. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_transform_json_to_html_params.py +0 -0
  93. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/document_transform_json_to_html_response.py +0 -0
  94. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/documents/__init__.py +0 -0
  95. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/documents/format_create_pdf_params.py +0 -0
  96. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/documents/format_create_pdf_response.py +0 -0
  97. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/documents/legacy_extract_params.py +0 -0
  98. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/documents/legacy_extract_response.py +0 -0
  99. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/documents/legacy_reason_params.py +0 -0
  100. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/documents/legacy_reason_response.py +0 -0
  101. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/documents/legacy_split_params.py +0 -0
  102. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/documents/legacy_split_response.py +0 -0
  103. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/documents/template_generate_document_async_params.py +0 -0
  104. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/documents/template_generate_document_async_response.py +0 -0
  105. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/documents/template_render_document_params.py +0 -0
  106. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/documents/template_render_document_response.py +0 -0
  107. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/event_emit_params.py +0 -0
  108. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/event_emit_response.py +0 -0
  109. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/workflow_run_resume_when_complete_params.py +0 -0
  110. {samplehc-0.20.0 → samplehc-0.21.0}/src/samplehc/types/v2/workflow_run_resume_when_complete_response.py +0 -0
  111. {samplehc-0.20.0 → samplehc-0.21.0}/tests/__init__.py +0 -0
  112. {samplehc-0.20.0 → samplehc-0.21.0}/tests/api_resources/__init__.py +0 -0
  113. {samplehc-0.20.0 → samplehc-0.21.0}/tests/api_resources/v2/__init__.py +0 -0
  114. {samplehc-0.20.0 → samplehc-0.21.0}/tests/api_resources/v2/documents/__init__.py +0 -0
  115. {samplehc-0.20.0 → samplehc-0.21.0}/tests/api_resources/v2/documents/test_formats.py +0 -0
  116. {samplehc-0.20.0 → samplehc-0.21.0}/tests/api_resources/v2/documents/test_legacy.py +0 -0
  117. {samplehc-0.20.0 → samplehc-0.21.0}/tests/api_resources/v2/documents/test_templates.py +0 -0
  118. {samplehc-0.20.0 → samplehc-0.21.0}/tests/api_resources/v2/test_async_results.py +0 -0
  119. {samplehc-0.20.0 → samplehc-0.21.0}/tests/api_resources/v2/test_communication.py +0 -0
  120. {samplehc-0.20.0 → samplehc-0.21.0}/tests/api_resources/v2/test_database.py +0 -0
  121. {samplehc-0.20.0 → samplehc-0.21.0}/tests/api_resources/v2/test_documents.py +0 -0
  122. {samplehc-0.20.0 → samplehc-0.21.0}/tests/api_resources/v2/test_events.py +0 -0
  123. {samplehc-0.20.0 → samplehc-0.21.0}/tests/api_resources/v2/test_workflow_runs.py +0 -0
  124. {samplehc-0.20.0 → samplehc-0.21.0}/tests/conftest.py +0 -0
  125. {samplehc-0.20.0 → samplehc-0.21.0}/tests/sample_file.txt +0 -0
  126. {samplehc-0.20.0 → samplehc-0.21.0}/tests/test_client.py +0 -0
  127. {samplehc-0.20.0 → samplehc-0.21.0}/tests/test_deepcopy.py +0 -0
  128. {samplehc-0.20.0 → samplehc-0.21.0}/tests/test_extract_files.py +0 -0
  129. {samplehc-0.20.0 → samplehc-0.21.0}/tests/test_files.py +0 -0
  130. {samplehc-0.20.0 → samplehc-0.21.0}/tests/test_models.py +0 -0
  131. {samplehc-0.20.0 → samplehc-0.21.0}/tests/test_qs.py +0 -0
  132. {samplehc-0.20.0 → samplehc-0.21.0}/tests/test_required_args.py +0 -0
  133. {samplehc-0.20.0 → samplehc-0.21.0}/tests/test_response.py +0 -0
  134. {samplehc-0.20.0 → samplehc-0.21.0}/tests/test_streaming.py +0 -0
  135. {samplehc-0.20.0 → samplehc-0.21.0}/tests/test_transform.py +0 -0
  136. {samplehc-0.20.0 → samplehc-0.21.0}/tests/test_utils/test_datetime_parse.py +0 -0
  137. {samplehc-0.20.0 → samplehc-0.21.0}/tests/test_utils/test_json.py +0 -0
  138. {samplehc-0.20.0 → samplehc-0.21.0}/tests/test_utils/test_proxy.py +0 -0
  139. {samplehc-0.20.0 → samplehc-0.21.0}/tests/test_utils/test_typing.py +0 -0
  140. {samplehc-0.20.0 → samplehc-0.21.0}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.21.0"
3
+ }
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.21.0 (2026-02-04)
4
+
5
+ Full Changelog: [v0.20.0...v0.21.0](https://github.com/samplehc/samplehc-python/compare/v0.20.0...v0.21.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([a07b6dd](https://github.com/samplehc/samplehc-python/commit/a07b6dd010210f5e76dfb05122155344de5d378e))
10
+
3
11
  ## 0.20.0 (2026-02-03)
4
12
 
5
13
  Full Changelog: [v0.19.0...v0.20.0](https://github.com/samplehc/samplehc-python/compare/v0.19.0...v0.20.0)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: samplehc
3
- Version: 0.20.0
3
+ Version: 0.21.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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "samplehc"
3
- version = "0.20.0"
3
+ version = "0.21.0"
4
4
  description = "The official Python library for the Sample Healthcare API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -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.20.0" # x-release-please-version
4
+ __version__ = "0.21.0" # x-release-please-version
@@ -298,7 +298,7 @@ class DocumentsResource(SyncAPIResource):
298
298
  | Omit = omit,
299
299
  ocr_enhance: document_extract_params.OcrEnhance | Omit = omit,
300
300
  ocr_quality: Literal["high", "low"] | Omit = omit,
301
- priority: Literal["interactive", "non-interactive"] | Omit = omit,
301
+ priority: Literal["interactive", "non-interactive", "background"] | Omit = omit,
302
302
  reasoning_effort: Literal["low", "medium", "high"] | Omit = omit,
303
303
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
304
304
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -325,6 +325,8 @@ class DocumentsResource(SyncAPIResource):
325
325
  ocr_quality: OCR quality setting
326
326
 
327
327
  priority: The priority of the extraction task. Non-interactive is lower priority.
328
+ Background are tasks that can be run in the background while the user is doing
329
+ other things.
328
330
 
329
331
  reasoning_effort: Optional control over the reasoning effort for extraction.
330
332
 
@@ -891,7 +893,7 @@ class AsyncDocumentsResource(AsyncAPIResource):
891
893
  | Omit = omit,
892
894
  ocr_enhance: document_extract_params.OcrEnhance | Omit = omit,
893
895
  ocr_quality: Literal["high", "low"] | Omit = omit,
894
- priority: Literal["interactive", "non-interactive"] | Omit = omit,
896
+ priority: Literal["interactive", "non-interactive", "background"] | Omit = omit,
895
897
  reasoning_effort: Literal["low", "medium", "high"] | Omit = omit,
896
898
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
897
899
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -918,6 +920,8 @@ class AsyncDocumentsResource(AsyncAPIResource):
918
920
  ocr_quality: OCR quality setting
919
921
 
920
922
  priority: The priority of the extraction task. Non-interactive is lower priority.
923
+ Background are tasks that can be run in the background while the user is doing
924
+ other things.
921
925
 
922
926
  reasoning_effort: Optional control over the reasoning effort for extraction.
923
927
 
@@ -52,8 +52,12 @@ class DocumentExtractParams(TypedDict, total=False):
52
52
  ocr_quality: Annotated[Literal["high", "low"], PropertyInfo(alias="ocrQuality")]
53
53
  """OCR quality setting"""
54
54
 
55
- priority: Literal["interactive", "non-interactive"]
56
- """The priority of the extraction task. Non-interactive is lower priority."""
55
+ priority: Literal["interactive", "non-interactive", "background"]
56
+ """The priority of the extraction task.
57
+
58
+ Non-interactive is lower priority. Background are tasks that can be run in the
59
+ background while the user is doing other things.
60
+ """
57
61
 
58
62
  reasoning_effort: Annotated[Literal["low", "medium", "high"], PropertyInfo(alias="reasoningEffort")]
59
63
  """Optional control over the reasoning effort for extraction."""
@@ -1,3 +0,0 @@
1
- {
2
- ".": "0.20.0"
3
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes