athena-intelligence 0.1.213__tar.gz → 0.1.215__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.

Potentially problematic release.


This version of athena-intelligence might be problematic. Click here for more details.

Files changed (132) hide show
  1. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/PKG-INFO +1 -1
  2. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/pyproject.toml +1 -1
  3. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/client_wrapper.py +2 -2
  4. athena_intelligence-0.1.215/src/athena/tools/__init__.py +17 -0
  5. athena_intelligence-0.1.215/src/athena/tools/sheets/__init__.py +7 -0
  6. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/sheets/client.py +15 -6
  7. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/sheets/raw_client.py +30 -6
  8. athena_intelligence-0.1.215/src/athena/tools/sheets/types/__init__.py +7 -0
  9. athena_intelligence-0.1.215/src/athena/tools/sheets/types/insert_table_row_request_row_data_item_value.py +5 -0
  10. athena_intelligence-0.1.213/src/athena/tools/__init__.py +0 -8
  11. athena_intelligence-0.1.213/src/athena/tools/tasks/__init__.py +0 -4
  12. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/README.md +0 -0
  13. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/__init__.py +0 -0
  14. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/__init__.py +0 -0
  15. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/client.py +0 -0
  16. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/drive/__init__.py +0 -0
  17. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/drive/client.py +0 -0
  18. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/drive/raw_client.py +0 -0
  19. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/general/__init__.py +0 -0
  20. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/general/client.py +0 -0
  21. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/general/raw_client.py +0 -0
  22. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/raw_client.py +0 -0
  23. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/research/__init__.py +0 -0
  24. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/research/client.py +0 -0
  25. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/research/raw_client.py +0 -0
  26. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/sql/__init__.py +0 -0
  27. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/sql/client.py +0 -0
  28. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/agents/sql/raw_client.py +0 -0
  29. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/aop/__init__.py +0 -0
  30. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/aop/client.py +0 -0
  31. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/aop/raw_client.py +0 -0
  32. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/assets/__init__.py +0 -0
  33. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/assets/client.py +0 -0
  34. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/assets/raw_client.py +0 -0
  35. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/base_client.py +0 -0
  36. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/client.py +0 -0
  37. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/__init__.py +0 -0
  38. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/api_error.py +0 -0
  39. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/datetime_utils.py +0 -0
  40. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/file.py +0 -0
  41. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/force_multipart.py +0 -0
  42. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/http_client.py +0 -0
  43. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/http_response.py +0 -0
  44. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/jsonable_encoder.py +0 -0
  45. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/pydantic_utilities.py +0 -0
  46. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/query_encoder.py +0 -0
  47. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/remove_none_from_dict.py +0 -0
  48. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/request_options.py +0 -0
  49. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/core/serialization.py +0 -0
  50. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/environment.py +0 -0
  51. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/errors/__init__.py +0 -0
  52. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/errors/bad_request_error.py +0 -0
  53. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/errors/content_too_large_error.py +0 -0
  54. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/errors/internal_server_error.py +0 -0
  55. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/errors/not_found_error.py +0 -0
  56. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/errors/unauthorized_error.py +0 -0
  57. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/errors/unprocessable_entity_error.py +0 -0
  58. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/errors/unsupported_media_type_error.py +0 -0
  59. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/py.typed +0 -0
  60. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/query/__init__.py +0 -0
  61. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/query/client.py +0 -0
  62. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/query/raw_client.py +0 -0
  63. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/query/types/__init__.py +0 -0
  64. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/query/types/query_execute_request_database_asset_ids.py +0 -0
  65. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/threads/__init__.py +0 -0
  66. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/threads/client.py +0 -0
  67. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/threads/raw_client.py +0 -0
  68. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/calendar/__init__.py +0 -0
  69. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/calendar/client.py +0 -0
  70. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/calendar/raw_client.py +0 -0
  71. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/client.py +0 -0
  72. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/email/__init__.py +0 -0
  73. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/email/client.py +0 -0
  74. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/email/raw_client.py +0 -0
  75. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/raw_client.py +0 -0
  76. {athena_intelligence-0.1.213/src/athena/tools/sheets → athena_intelligence-0.1.215/src/athena/tools/structured_data_extractor}/__init__.py +0 -0
  77. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/structured_data_extractor/client.py +0 -0
  78. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/structured_data_extractor/raw_client.py +0 -0
  79. {athena_intelligence-0.1.213/src/athena/tools/structured_data_extractor → athena_intelligence-0.1.215/src/athena/tools/tasks}/__init__.py +0 -0
  80. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/tasks/client.py +0 -0
  81. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/tasks/raw_client.py +0 -0
  82. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/types/__init__.py +0 -0
  83. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/tools/types/tools_data_frame_request_columns_item.py +0 -0
  84. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/__init__.py +0 -0
  85. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/aop_async_execute_response_out.py +0 -0
  86. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/aop_execute_request_in.py +0 -0
  87. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/aop_execute_response_out.py +0 -0
  88. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/asset_content_request_out.py +0 -0
  89. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/asset_node.py +0 -0
  90. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/asset_not_found_error.py +0 -0
  91. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/asset_screenshot_response_out.py +0 -0
  92. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/chunk.py +0 -0
  93. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/chunk_content_item.py +0 -0
  94. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/chunk_result.py +0 -0
  95. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/chunk_result_chunk_id.py +0 -0
  96. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/content.py +0 -0
  97. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/conversation_asset_info.py +0 -0
  98. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/create_new_sheet_tab_response.py +0 -0
  99. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/custom_agent_response.py +0 -0
  100. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/data_frame_request_out.py +0 -0
  101. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/data_frame_request_out_columns_item.py +0 -0
  102. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/data_frame_request_out_data_item_item.py +0 -0
  103. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/data_frame_request_out_index_item.py +0 -0
  104. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/data_frame_unknown_format_error.py +0 -0
  105. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/document_chunk.py +0 -0
  106. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/drive_agent_response.py +0 -0
  107. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/file_chunk_request_out.py +0 -0
  108. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/file_too_large_error.py +0 -0
  109. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/folder_response.py +0 -0
  110. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/general_agent_config.py +0 -0
  111. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/general_agent_config_enabled_tools_item.py +0 -0
  112. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/general_agent_request.py +0 -0
  113. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/general_agent_response.py +0 -0
  114. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/general_agent_response_message.py +0 -0
  115. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/general_agent_response_message_kwargs.py +0 -0
  116. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/get_table_response.py +0 -0
  117. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/id.py +0 -0
  118. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/image_url_content.py +0 -0
  119. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/input_message.py +0 -0
  120. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/input_message_content_item.py +0 -0
  121. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/paginated_assets_out.py +0 -0
  122. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/prompt_message.py +0 -0
  123. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/public_asset_out.py +0 -0
  124. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/research_agent_response.py +0 -0
  125. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/save_asset_request_out.py +0 -0
  126. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/sheet_operation_response.py +0 -0
  127. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/sql_agent_response.py +0 -0
  128. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/structured_data_extractor_response.py +0 -0
  129. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/text_content.py +0 -0
  130. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/thread_status_response_out.py +0 -0
  131. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/types/type.py +0 -0
  132. {athena_intelligence-0.1.213 → athena_intelligence-0.1.215}/src/athena/version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: athena-intelligence
3
- Version: 0.1.213
3
+ Version: 0.1.215
4
4
  Summary: Athena Intelligence Python Library
5
5
  Requires-Python: >=3.9,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -3,7 +3,7 @@ name = "athena-intelligence"
3
3
 
4
4
  [tool.poetry]
5
5
  name = "athena-intelligence"
6
- version = "0.1.213"
6
+ version = "0.1.215"
7
7
  description = "Athena Intelligence Python Library"
8
8
  readme = "README.md"
9
9
  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": "athena-intelligence/0.1.213",
25
+ "User-Agent": "athena-intelligence/0.1.215",
26
26
  "X-Fern-Language": "Python",
27
27
  "X-Fern-SDK-Name": "athena-intelligence",
28
- "X-Fern-SDK-Version": "0.1.213",
28
+ "X-Fern-SDK-Version": "0.1.215",
29
29
  **(self.get_custom_headers() or {}),
30
30
  }
31
31
  headers["X-API-KEY"] = self.api_key
@@ -0,0 +1,17 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ # isort: skip_file
4
+
5
+ from .types import ToolsDataFrameRequestColumnsItem
6
+ from . import calendar, email, sheets, structured_data_extractor, tasks
7
+ from .sheets import InsertTableRowRequestRowDataItemValue
8
+
9
+ __all__ = [
10
+ "InsertTableRowRequestRowDataItemValue",
11
+ "ToolsDataFrameRequestColumnsItem",
12
+ "calendar",
13
+ "email",
14
+ "sheets",
15
+ "structured_data_extractor",
16
+ "tasks",
17
+ ]
@@ -0,0 +1,7 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ # isort: skip_file
4
+
5
+ from .types import InsertTableRowRequestRowDataItemValue
6
+
7
+ __all__ = ["InsertTableRowRequestRowDataItemValue"]
@@ -8,6 +8,7 @@ from ...types.create_new_sheet_tab_response import CreateNewSheetTabResponse
8
8
  from ...types.get_table_response import GetTableResponse
9
9
  from ...types.sheet_operation_response import SheetOperationResponse
10
10
  from .raw_client import AsyncRawSheetsClient, RawSheetsClient
11
+ from .types.insert_table_row_request_row_data_item_value import InsertTableRowRequestRowDataItemValue
11
12
 
12
13
  # this is used as the default value for optional parameters
13
14
  OMIT = typing.cast(typing.Any, ...)
@@ -587,6 +588,7 @@ class SheetsClient:
587
588
  self,
588
589
  *,
589
590
  asset_id: str,
591
+ new_sheet_id: typing.Optional[int] = OMIT,
590
592
  sheet_id: typing.Optional[int] = OMIT,
591
593
  request_options: typing.Optional[RequestOptions] = None,
592
594
  ) -> SheetOperationResponse:
@@ -598,6 +600,9 @@ class SheetsClient:
598
600
  asset_id : str
599
601
  The ID of the spreadsheet asset
600
602
 
603
+ new_sheet_id : typing.Optional[int]
604
+ New sheet ID for the duplicated sheet (auto-generated if not provided)
605
+
601
606
  sheet_id : typing.Optional[int]
602
607
  Sheet ID to duplicate
603
608
 
@@ -621,7 +626,7 @@ class SheetsClient:
621
626
  )
622
627
  """
623
628
  _response = self._raw_client.duplicate_sheet(
624
- asset_id=asset_id, sheet_id=sheet_id, request_options=request_options
629
+ asset_id=asset_id, new_sheet_id=new_sheet_id, sheet_id=sheet_id, request_options=request_options
625
630
  )
626
631
  return _response.data
627
632
 
@@ -935,7 +940,7 @@ class SheetsClient:
935
940
  self,
936
941
  *,
937
942
  asset_id: str,
938
- row_data: typing.Sequence[typing.Dict[str, typing.Optional[str]]],
943
+ row_data: typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]],
939
944
  table_name: str,
940
945
  table_id: typing.Optional[str] = OMIT,
941
946
  request_options: typing.Optional[RequestOptions] = None,
@@ -948,7 +953,7 @@ class SheetsClient:
948
953
  asset_id : str
949
954
  The ID of the spreadsheet asset
950
955
 
951
- row_data : typing.Sequence[typing.Dict[str, typing.Optional[str]]]
956
+ row_data : typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]]
952
957
  Array of row objects where keys are column names and values are cell values
953
958
 
954
959
  table_name : str
@@ -1714,6 +1719,7 @@ class AsyncSheetsClient:
1714
1719
  self,
1715
1720
  *,
1716
1721
  asset_id: str,
1722
+ new_sheet_id: typing.Optional[int] = OMIT,
1717
1723
  sheet_id: typing.Optional[int] = OMIT,
1718
1724
  request_options: typing.Optional[RequestOptions] = None,
1719
1725
  ) -> SheetOperationResponse:
@@ -1725,6 +1731,9 @@ class AsyncSheetsClient:
1725
1731
  asset_id : str
1726
1732
  The ID of the spreadsheet asset
1727
1733
 
1734
+ new_sheet_id : typing.Optional[int]
1735
+ New sheet ID for the duplicated sheet (auto-generated if not provided)
1736
+
1728
1737
  sheet_id : typing.Optional[int]
1729
1738
  Sheet ID to duplicate
1730
1739
 
@@ -1756,7 +1765,7 @@ class AsyncSheetsClient:
1756
1765
  asyncio.run(main())
1757
1766
  """
1758
1767
  _response = await self._raw_client.duplicate_sheet(
1759
- asset_id=asset_id, sheet_id=sheet_id, request_options=request_options
1768
+ asset_id=asset_id, new_sheet_id=new_sheet_id, sheet_id=sheet_id, request_options=request_options
1760
1769
  )
1761
1770
  return _response.data
1762
1771
 
@@ -2110,7 +2119,7 @@ class AsyncSheetsClient:
2110
2119
  self,
2111
2120
  *,
2112
2121
  asset_id: str,
2113
- row_data: typing.Sequence[typing.Dict[str, typing.Optional[str]]],
2122
+ row_data: typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]],
2114
2123
  table_name: str,
2115
2124
  table_id: typing.Optional[str] = OMIT,
2116
2125
  request_options: typing.Optional[RequestOptions] = None,
@@ -2123,7 +2132,7 @@ class AsyncSheetsClient:
2123
2132
  asset_id : str
2124
2133
  The ID of the spreadsheet asset
2125
2134
 
2126
- row_data : typing.Sequence[typing.Dict[str, typing.Optional[str]]]
2135
+ row_data : typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]]
2127
2136
  Array of row objects where keys are column names and values are cell values
2128
2137
 
2129
2138
  table_name : str
@@ -8,10 +8,12 @@ from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
8
8
  from ...core.http_response import AsyncHttpResponse, HttpResponse
9
9
  from ...core.pydantic_utilities import parse_obj_as
10
10
  from ...core.request_options import RequestOptions
11
+ from ...core.serialization import convert_and_respect_annotation_metadata
11
12
  from ...errors.unprocessable_entity_error import UnprocessableEntityError
12
13
  from ...types.create_new_sheet_tab_response import CreateNewSheetTabResponse
13
14
  from ...types.get_table_response import GetTableResponse
14
15
  from ...types.sheet_operation_response import SheetOperationResponse
16
+ from .types.insert_table_row_request_row_data_item_value import InsertTableRowRequestRowDataItemValue
15
17
 
16
18
  # this is used as the default value for optional parameters
17
19
  OMIT = typing.cast(typing.Any, ...)
@@ -750,6 +752,7 @@ class RawSheetsClient:
750
752
  self,
751
753
  *,
752
754
  asset_id: str,
755
+ new_sheet_id: typing.Optional[int] = OMIT,
753
756
  sheet_id: typing.Optional[int] = OMIT,
754
757
  request_options: typing.Optional[RequestOptions] = None,
755
758
  ) -> HttpResponse[SheetOperationResponse]:
@@ -761,6 +764,9 @@ class RawSheetsClient:
761
764
  asset_id : str
762
765
  The ID of the spreadsheet asset
763
766
 
767
+ new_sheet_id : typing.Optional[int]
768
+ New sheet ID for the duplicated sheet (auto-generated if not provided)
769
+
764
770
  sheet_id : typing.Optional[int]
765
771
  Sheet ID to duplicate
766
772
 
@@ -777,6 +783,7 @@ class RawSheetsClient:
777
783
  method="POST",
778
784
  json={
779
785
  "asset_id": asset_id,
786
+ "new_sheet_id": new_sheet_id,
780
787
  "sheet_id": sheet_id,
781
788
  },
782
789
  headers={
@@ -1215,7 +1222,7 @@ class RawSheetsClient:
1215
1222
  self,
1216
1223
  *,
1217
1224
  asset_id: str,
1218
- row_data: typing.Sequence[typing.Dict[str, typing.Optional[str]]],
1225
+ row_data: typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]],
1219
1226
  table_name: str,
1220
1227
  table_id: typing.Optional[str] = OMIT,
1221
1228
  request_options: typing.Optional[RequestOptions] = None,
@@ -1228,7 +1235,7 @@ class RawSheetsClient:
1228
1235
  asset_id : str
1229
1236
  The ID of the spreadsheet asset
1230
1237
 
1231
- row_data : typing.Sequence[typing.Dict[str, typing.Optional[str]]]
1238
+ row_data : typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]]
1232
1239
  Array of row objects where keys are column names and values are cell values
1233
1240
 
1234
1241
  table_name : str
@@ -1250,7 +1257,13 @@ class RawSheetsClient:
1250
1257
  method="POST",
1251
1258
  json={
1252
1259
  "asset_id": asset_id,
1253
- "row_data": row_data,
1260
+ "row_data": convert_and_respect_annotation_metadata(
1261
+ object_=row_data,
1262
+ annotation=typing.Sequence[
1263
+ typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]
1264
+ ],
1265
+ direction="write",
1266
+ ),
1254
1267
  "table_id": table_id,
1255
1268
  "table_name": table_name,
1256
1269
  },
@@ -2115,6 +2128,7 @@ class AsyncRawSheetsClient:
2115
2128
  self,
2116
2129
  *,
2117
2130
  asset_id: str,
2131
+ new_sheet_id: typing.Optional[int] = OMIT,
2118
2132
  sheet_id: typing.Optional[int] = OMIT,
2119
2133
  request_options: typing.Optional[RequestOptions] = None,
2120
2134
  ) -> AsyncHttpResponse[SheetOperationResponse]:
@@ -2126,6 +2140,9 @@ class AsyncRawSheetsClient:
2126
2140
  asset_id : str
2127
2141
  The ID of the spreadsheet asset
2128
2142
 
2143
+ new_sheet_id : typing.Optional[int]
2144
+ New sheet ID for the duplicated sheet (auto-generated if not provided)
2145
+
2129
2146
  sheet_id : typing.Optional[int]
2130
2147
  Sheet ID to duplicate
2131
2148
 
@@ -2142,6 +2159,7 @@ class AsyncRawSheetsClient:
2142
2159
  method="POST",
2143
2160
  json={
2144
2161
  "asset_id": asset_id,
2162
+ "new_sheet_id": new_sheet_id,
2145
2163
  "sheet_id": sheet_id,
2146
2164
  },
2147
2165
  headers={
@@ -2580,7 +2598,7 @@ class AsyncRawSheetsClient:
2580
2598
  self,
2581
2599
  *,
2582
2600
  asset_id: str,
2583
- row_data: typing.Sequence[typing.Dict[str, typing.Optional[str]]],
2601
+ row_data: typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]],
2584
2602
  table_name: str,
2585
2603
  table_id: typing.Optional[str] = OMIT,
2586
2604
  request_options: typing.Optional[RequestOptions] = None,
@@ -2593,7 +2611,7 @@ class AsyncRawSheetsClient:
2593
2611
  asset_id : str
2594
2612
  The ID of the spreadsheet asset
2595
2613
 
2596
- row_data : typing.Sequence[typing.Dict[str, typing.Optional[str]]]
2614
+ row_data : typing.Sequence[typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]]
2597
2615
  Array of row objects where keys are column names and values are cell values
2598
2616
 
2599
2617
  table_name : str
@@ -2615,7 +2633,13 @@ class AsyncRawSheetsClient:
2615
2633
  method="POST",
2616
2634
  json={
2617
2635
  "asset_id": asset_id,
2618
- "row_data": row_data,
2636
+ "row_data": convert_and_respect_annotation_metadata(
2637
+ object_=row_data,
2638
+ annotation=typing.Sequence[
2639
+ typing.Dict[str, typing.Optional[InsertTableRowRequestRowDataItemValue]]
2640
+ ],
2641
+ direction="write",
2642
+ ),
2619
2643
  "table_id": table_id,
2620
2644
  "table_name": table_name,
2621
2645
  },
@@ -0,0 +1,7 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ # isort: skip_file
4
+
5
+ from .insert_table_row_request_row_data_item_value import InsertTableRowRequestRowDataItemValue
6
+
7
+ __all__ = ["InsertTableRowRequestRowDataItemValue"]
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ InsertTableRowRequestRowDataItemValue = typing.Union[str, int, float, bool]
@@ -1,8 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- # isort: skip_file
4
-
5
- from .types import ToolsDataFrameRequestColumnsItem
6
- from . import calendar, email, sheets, structured_data_extractor, tasks
7
-
8
- __all__ = ["ToolsDataFrameRequestColumnsItem", "calendar", "email", "sheets", "structured_data_extractor", "tasks"]
@@ -1,4 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- # isort: skip_file
4
-