pulse-python-sdk 1.0.4__tar.gz → 1.0.5__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 (111) hide show
  1. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/PKG-INFO +1 -1
  2. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/pyproject.toml +1 -1
  3. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/core/client_wrapper.py +2 -2
  4. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_response_extensions.py +4 -2
  5. pulse_python_sdk-1.0.5/src/pulse/types/extract_response_extensions_footnote_references_item.py +39 -0
  6. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/README.md +0 -0
  7. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/__init__.py +0 -0
  8. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/client.py +0 -0
  9. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/core/__init__.py +0 -0
  10. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/core/api_error.py +0 -0
  11. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/core/datetime_utils.py +0 -0
  12. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/core/file.py +0 -0
  13. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/core/force_multipart.py +0 -0
  14. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/core/http_client.py +0 -0
  15. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/core/http_response.py +0 -0
  16. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/core/http_sse/__init__.py +0 -0
  17. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/core/http_sse/_api.py +0 -0
  18. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/core/http_sse/_decoders.py +0 -0
  19. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/core/http_sse/_exceptions.py +0 -0
  20. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/core/http_sse/_models.py +0 -0
  21. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/core/jsonable_encoder.py +0 -0
  22. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/core/pydantic_utilities.py +0 -0
  23. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/core/query_encoder.py +0 -0
  24. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/core/remove_none_from_dict.py +0 -0
  25. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/core/request_options.py +0 -0
  26. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/core/serialization.py +0 -0
  27. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/core/unchecked_base_model.py +0 -0
  28. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/environment.py +0 -0
  29. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/errors/__init__.py +0 -0
  30. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/errors/bad_request_error.py +0 -0
  31. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/errors/forbidden_error.py +0 -0
  32. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/errors/internal_server_error.py +0 -0
  33. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/errors/not_found_error.py +0 -0
  34. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/errors/too_many_requests_error.py +0 -0
  35. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/errors/unauthorized_error.py +0 -0
  36. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/jobs/__init__.py +0 -0
  37. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/jobs/client.py +0 -0
  38. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/jobs/raw_client.py +0 -0
  39. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/py.typed +0 -0
  40. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/raw_client.py +0 -0
  41. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/__init__.py +0 -0
  42. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/async_submission_response.py +0 -0
  43. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/async_submission_response_status.py +0 -0
  44. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_async_request_extensions.py +0 -0
  45. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_async_request_extensions_alt_outputs.py +0 -0
  46. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_async_request_extensions_chunking.py +0 -0
  47. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_async_request_extensions_chunking_chunk_types_item.py +0 -0
  48. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_async_request_figure_processing.py +0 -0
  49. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_async_request_schema.py +0 -0
  50. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_async_request_storage.py +0 -0
  51. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_async_request_structured_output.py +0 -0
  52. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_async_submission_response.py +0 -0
  53. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_input.py +0 -0
  54. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_input_extensions.py +0 -0
  55. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_input_extensions_alt_outputs.py +0 -0
  56. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_input_extensions_chunking.py +0 -0
  57. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_input_extensions_chunking_chunk_types_item.py +0 -0
  58. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_input_figure_processing.py +0 -0
  59. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_input_schema.py +0 -0
  60. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_input_storage.py +0 -0
  61. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_input_structured_output.py +0 -0
  62. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_options.py +0 -0
  63. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_options_extensions.py +0 -0
  64. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_options_extensions_alt_outputs.py +0 -0
  65. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_options_extensions_chunking.py +0 -0
  66. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_options_extensions_chunking_chunk_types_item.py +0 -0
  67. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_options_figure_processing.py +0 -0
  68. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_options_schema.py +0 -0
  69. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_options_storage.py +0 -0
  70. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_options_structured_output.py +0 -0
  71. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_request_extensions.py +0 -0
  72. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_request_extensions_alt_outputs.py +0 -0
  73. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_request_extensions_chunking.py +0 -0
  74. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_request_extensions_chunking_chunk_types_item.py +0 -0
  75. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_request_figure_processing.py +0 -0
  76. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_request_schema.py +0 -0
  77. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_request_storage.py +0 -0
  78. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_request_structured_output.py +0 -0
  79. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_response.py +0 -0
  80. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_response_chunks.py +0 -0
  81. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_response_extensions_alt_outputs.py +0 -0
  82. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_response_extensions_alt_outputs_wlbb.py +0 -0
  83. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_response_extensions_alt_outputs_wlbb_words_item.py +0 -0
  84. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_response_extensions_chunking.py +0 -0
  85. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_response_plan_info.py +0 -0
  86. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/extract_source.py +0 -0
  87. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/job_cancellation_response.py +0 -0
  88. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/job_status.py +0 -0
  89. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/job_status_response.py +0 -0
  90. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/schema_config.py +0 -0
  91. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/schema_response.py +0 -0
  92. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/single_schema_response.py +0 -0
  93. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/split_config.py +0 -0
  94. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/split_output.py +0 -0
  95. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/split_response.py +0 -0
  96. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/split_schema_response.py +0 -0
  97. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/structured_output_config.py +0 -0
  98. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/structured_output_result.py +0 -0
  99. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/tables_config.py +0 -0
  100. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/tables_config_table_format.py +0 -0
  101. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/tables_response.py +0 -0
  102. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/tables_response_tables_output.py +0 -0
  103. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/tables_response_tables_output_tables_item.py +0 -0
  104. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/topic_definition.py +0 -0
  105. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/types/topic_schema_config.py +0 -0
  106. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/version.py +0 -0
  107. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/webhooks/__init__.py +0 -0
  108. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/webhooks/client.py +0 -0
  109. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/webhooks/raw_client.py +0 -0
  110. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/webhooks/types/__init__.py +0 -0
  111. {pulse_python_sdk-1.0.4 → pulse_python_sdk-1.0.5}/src/pulse/webhooks/types/create_webhook_link_response.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulse-python-sdk
3
- Version: 1.0.4
3
+ Version: 1.0.5
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -4,7 +4,7 @@ dynamic = ["version"]
4
4
 
5
5
  [tool.poetry]
6
6
  name = "pulse-python-sdk"
7
- version = "1.0.4"
7
+ version = "1.0.5"
8
8
  description = ""
9
9
  readme = "README.md"
10
10
  authors = []
@@ -22,10 +22,10 @@ class BaseClientWrapper:
22
22
 
23
23
  def get_headers(self) -> typing.Dict[str, str]:
24
24
  headers: typing.Dict[str, str] = {
25
- "User-Agent": "pulse-python-sdk/1.0.4",
25
+ "User-Agent": "pulse-python-sdk/1.0.5",
26
26
  "X-Fern-Language": "Python",
27
27
  "X-Fern-SDK-Name": "pulse-python-sdk",
28
- "X-Fern-SDK-Version": "1.0.4",
28
+ "X-Fern-SDK-Version": "1.0.5",
29
29
  **(self.get_custom_headers() or {}),
30
30
  }
31
31
  headers["x-api-key"] = self.api_key
@@ -9,6 +9,7 @@ from ..core.serialization import FieldMetadata
9
9
  from ..core.unchecked_base_model import UncheckedBaseModel
10
10
  from .extract_response_extensions_alt_outputs import ExtractResponseExtensionsAltOutputs
11
11
  from .extract_response_extensions_chunking import ExtractResponseExtensionsChunking
12
+ from .extract_response_extensions_footnote_references_item import ExtractResponseExtensionsFootnoteReferencesItem
12
13
 
13
14
 
14
15
  class ExtractResponseExtensions(UncheckedBaseModel):
@@ -29,10 +30,11 @@ class ExtractResponseExtensions(UncheckedBaseModel):
29
30
  """
30
31
 
31
32
  footnote_references: typing_extensions.Annotated[
32
- typing.Optional[typing.Dict[str, typing.Any]], FieldMetadata(alias="footnoteReferences")
33
+ typing.Optional[typing.List[ExtractResponseExtensionsFootnoteReferencesItem]],
34
+ FieldMetadata(alias="footnoteReferences"),
33
35
  ] = pydantic.Field(default=None)
34
36
  """
35
- Footnote linking result/metadata. Present when `extensions.footnoteReferences` was enabled.
37
+ List of detected footnotes with their in-text references. Present when `extensions.footnoteReferences` was enabled. Each item links a footnote paragraph to the body-text paragraphs that reference it, using bounding-box text IDs.
36
38
  """
37
39
 
38
40
  alt_outputs: typing_extensions.Annotated[
@@ -0,0 +1,39 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ import typing_extensions
7
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2
8
+ from ..core.serialization import FieldMetadata
9
+ from ..core.unchecked_base_model import UncheckedBaseModel
10
+
11
+
12
+ class ExtractResponseExtensionsFootnoteReferencesItem(UncheckedBaseModel):
13
+ symbol: typing.Optional[str] = pydantic.Field(default=None)
14
+ """
15
+ The footnote marker symbol (e.g. "*", "†", "1", "#").
16
+ """
17
+
18
+ footnote_text_id: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="footnoteTextId")] = (
19
+ pydantic.Field(default=None)
20
+ )
21
+ """
22
+ The bounding-box text ID (e.g. "txt-15") of the footnote explanation paragraph.
23
+ """
24
+
25
+ reference_text_ids: typing_extensions.Annotated[
26
+ typing.Optional[typing.List[str]], FieldMetadata(alias="referenceTextIds")
27
+ ] = pydantic.Field(default=None)
28
+ """
29
+ Bounding-box text IDs of body-text paragraphs that contain a reference to this footnote marker.
30
+ """
31
+
32
+ if IS_PYDANTIC_V2:
33
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
34
+ else:
35
+
36
+ class Config:
37
+ frozen = True
38
+ smart_union = True
39
+ extra = pydantic.Extra.allow