athena-intelligence 0.1.254__tar.gz → 0.1.332__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 (155) hide show
  1. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/PKG-INFO +1 -1
  2. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/pyproject.toml +1 -1
  3. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/__init__.py +9 -15
  4. athena_intelligence-0.1.332/src/athena/assets/client.py +501 -0
  5. athena_intelligence-0.1.332/src/athena/assets/raw_client.py +726 -0
  6. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/client.py +9 -13
  7. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/core/client_wrapper.py +2 -2
  8. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/environment.py +0 -2
  9. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/client.py +4 -5
  10. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/raw_client.py +12 -9
  11. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/__init__.py +9 -15
  12. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/border_model.py +8 -3
  13. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/cell_format.py +15 -4
  14. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/conversation_asset_info.py +5 -0
  15. athena_intelligence-0.1.332/src/athena/types/creatable_asset_type.py +5 -0
  16. athena_intelligence-0.1.332/src/athena/types/create_asset_response_out.py +46 -0
  17. athena_intelligence-0.1.332/src/athena/types/create_project_response_out.py +51 -0
  18. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/dimension_properties.py +1 -1
  19. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/sheet.py +13 -6
  20. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/text_format_model.py +11 -2
  21. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/thread_status_response_out.py +5 -0
  22. athena_intelligence-0.1.254/src/athena/assets/client.py +0 -223
  23. athena_intelligence-0.1.254/src/athena/assets/raw_client.py +0 -310
  24. athena_intelligence-0.1.254/src/athena/types/backgroundcolor.py +0 -7
  25. athena_intelligence-0.1.254/src/athena/types/color.py +0 -7
  26. athena_intelligence-0.1.254/src/athena/types/document_chunk.py +0 -24
  27. athena_intelligence-0.1.254/src/athena/types/file_chunk_request_out.py +0 -24
  28. athena_intelligence-0.1.254/src/athena/types/tabcolor.py +0 -7
  29. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/README.md +0 -0
  30. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/agents/__init__.py +0 -0
  31. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/agents/client.py +0 -0
  32. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/agents/drive/__init__.py +0 -0
  33. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/agents/drive/client.py +0 -0
  34. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/agents/drive/raw_client.py +0 -0
  35. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/agents/general/__init__.py +0 -0
  36. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/agents/general/client.py +0 -0
  37. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/agents/general/raw_client.py +0 -0
  38. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/agents/raw_client.py +0 -0
  39. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/agents/research/__init__.py +0 -0
  40. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/agents/research/client.py +0 -0
  41. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/agents/research/raw_client.py +0 -0
  42. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/agents/sql/__init__.py +0 -0
  43. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/agents/sql/client.py +0 -0
  44. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/agents/sql/raw_client.py +0 -0
  45. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/aop/__init__.py +0 -0
  46. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/aop/client.py +0 -0
  47. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/aop/raw_client.py +0 -0
  48. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/assets/__init__.py +0 -0
  49. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/base_client.py +0 -0
  50. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/core/__init__.py +0 -0
  51. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/core/api_error.py +0 -0
  52. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/core/datetime_utils.py +0 -0
  53. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/core/file.py +0 -0
  54. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/core/force_multipart.py +0 -0
  55. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/core/http_client.py +0 -0
  56. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/core/http_response.py +0 -0
  57. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/core/jsonable_encoder.py +0 -0
  58. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/core/pydantic_utilities.py +0 -0
  59. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/core/query_encoder.py +0 -0
  60. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/core/remove_none_from_dict.py +0 -0
  61. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/core/request_options.py +0 -0
  62. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/core/serialization.py +0 -0
  63. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/errors/__init__.py +0 -0
  64. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/errors/bad_request_error.py +0 -0
  65. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/errors/content_too_large_error.py +0 -0
  66. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/errors/internal_server_error.py +0 -0
  67. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/errors/not_found_error.py +0 -0
  68. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/errors/unauthorized_error.py +0 -0
  69. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/errors/unprocessable_entity_error.py +0 -0
  70. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/errors/unsupported_media_type_error.py +0 -0
  71. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/py.typed +0 -0
  72. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/query/__init__.py +0 -0
  73. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/query/client.py +0 -0
  74. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/query/raw_client.py +0 -0
  75. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/query/types/__init__.py +0 -0
  76. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/query/types/query_execute_request_database_asset_ids.py +0 -0
  77. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/threads/__init__.py +0 -0
  78. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/threads/client.py +0 -0
  79. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/threads/raw_client.py +0 -0
  80. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/__init__.py +0 -0
  81. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/calendar/__init__.py +0 -0
  82. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/calendar/client.py +0 -0
  83. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/calendar/raw_client.py +0 -0
  84. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/email/__init__.py +0 -0
  85. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/email/client.py +0 -0
  86. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/email/raw_client.py +0 -0
  87. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/sheets/__init__.py +0 -0
  88. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/sheets/client.py +0 -0
  89. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/sheets/raw_client.py +0 -0
  90. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/sheets/types/__init__.py +0 -0
  91. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/sheets/types/update_sheet_range_request_values_item_item.py +0 -0
  92. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/structured_data_extractor/__init__.py +0 -0
  93. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/structured_data_extractor/client.py +0 -0
  94. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/structured_data_extractor/raw_client.py +0 -0
  95. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/tasks/__init__.py +0 -0
  96. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/tasks/client.py +0 -0
  97. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/tasks/raw_client.py +0 -0
  98. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/types/__init__.py +0 -0
  99. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/tools/types/tools_data_frame_request_columns_item.py +0 -0
  100. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/aop_async_execute_response_out.py +0 -0
  101. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/aop_execute_request_in.py +0 -0
  102. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/aop_execute_response_out.py +0 -0
  103. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/asset_content_request_out.py +0 -0
  104. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/asset_node.py +0 -0
  105. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/asset_screenshot_response_out.py +0 -0
  106. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/border_style.py +0 -0
  107. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/borders_model.py +0 -0
  108. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/cell_format_horizontal_alignment.py +0 -0
  109. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/cell_format_vertical_alignment.py +0 -0
  110. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/chunk.py +0 -0
  111. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/chunk_content_item.py +0 -0
  112. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/chunk_result.py +0 -0
  113. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/chunk_result_chunk_id.py +0 -0
  114. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/content.py +0 -0
  115. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/conversation_message.py +0 -0
  116. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/conversation_result.py +0 -0
  117. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/create_new_sheet_tab_response.py +0 -0
  118. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/custom_agent_response.py +0 -0
  119. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/data_frame_request_out.py +0 -0
  120. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/data_frame_request_out_columns_item.py +0 -0
  121. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/data_frame_request_out_data_item_item.py +0 -0
  122. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/data_frame_request_out_index_item.py +0 -0
  123. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/data_frame_unknown_format_error.py +0 -0
  124. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/drive_agent_response.py +0 -0
  125. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/file_too_large_error.py +0 -0
  126. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/folder_response.py +0 -0
  127. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/general_agent_config.py +0 -0
  128. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/general_agent_config_enabled_tools_item.py +0 -0
  129. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/general_agent_request.py +0 -0
  130. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/general_agent_response.py +0 -0
  131. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/general_agent_response_message.py +0 -0
  132. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/general_agent_response_message_kwargs.py +0 -0
  133. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/get_table_response.py +0 -0
  134. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/grid_range.py +0 -0
  135. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/id.py +0 -0
  136. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/image_url_content.py +0 -0
  137. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/input_message.py +0 -0
  138. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/input_message_content_item.py +0 -0
  139. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/number_format_model.py +0 -0
  140. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/number_format_type.py +0 -0
  141. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/paginated_assets_out.py +0 -0
  142. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/prompt_message.py +0 -0
  143. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/public_asset_out.py +0 -0
  144. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/research_agent_response.py +0 -0
  145. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/save_asset_request_out.py +0 -0
  146. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/sheet_operation_response.py +0 -0
  147. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/sql_agent_response.py +0 -0
  148. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/structured_data_extractor_response.py +0 -0
  149. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/table_row_data.py +0 -0
  150. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/text_content.py +0 -0
  151. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/textrotation.py +0 -0
  152. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/theme_color.py +0 -0
  153. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/type.py +0 -0
  154. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/src/athena/types/wrap_strategy.py +0 -0
  155. {athena_intelligence-0.1.254 → athena_intelligence-0.1.332}/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.254
3
+ Version: 0.1.332
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.254"
6
+ version = "0.1.332"
7
7
  description = "Athena Intelligence Python Library"
8
8
  readme = "README.md"
9
9
  authors = []
@@ -13,7 +13,6 @@ if typing.TYPE_CHECKING:
13
13
  AssetContentRequestOut,
14
14
  AssetNode,
15
15
  AssetScreenshotResponseOut,
16
- Backgroundcolor,
17
16
  BorderModel,
18
17
  BorderStyle,
19
18
  BordersModel,
@@ -26,12 +25,14 @@ if typing.TYPE_CHECKING:
26
25
  ChunkContentItem_Text,
27
26
  ChunkResult,
28
27
  ChunkResultChunkId,
29
- Color,
30
28
  Content,
31
29
  ConversationAssetInfo,
32
30
  ConversationMessage,
33
31
  ConversationResult,
32
+ CreatableAssetType,
33
+ CreateAssetResponseOut,
34
34
  CreateNewSheetTabResponse,
35
+ CreateProjectResponseOut,
35
36
  CustomAgentResponse,
36
37
  DataFrameRequestOut,
37
38
  DataFrameRequestOutColumnsItem,
@@ -39,9 +40,7 @@ if typing.TYPE_CHECKING:
39
40
  DataFrameRequestOutIndexItem,
40
41
  DataFrameUnknownFormatError,
41
42
  DimensionProperties,
42
- DocumentChunk,
43
43
  DriveAgentResponse,
44
- FileChunkRequestOut,
45
44
  FileTooLargeError,
46
45
  FolderResponse,
47
46
  GeneralAgentConfig,
@@ -69,7 +68,6 @@ if typing.TYPE_CHECKING:
69
68
  SheetOperationResponse,
70
69
  SqlAgentResponse,
71
70
  StructuredDataExtractorResponse,
72
- Tabcolor,
73
71
  TableRowData,
74
72
  TextContent,
75
73
  TextFormatModel,
@@ -104,7 +102,6 @@ _dynamic_imports: typing.Dict[str, str] = {
104
102
  "AsyncAthena": ".client",
105
103
  "Athena": ".client",
106
104
  "AthenaEnvironment": ".environment",
107
- "Backgroundcolor": ".types",
108
105
  "BadRequestError": ".errors",
109
106
  "BorderModel": ".types",
110
107
  "BorderStyle": ".types",
@@ -118,13 +115,15 @@ _dynamic_imports: typing.Dict[str, str] = {
118
115
  "ChunkContentItem_Text": ".types",
119
116
  "ChunkResult": ".types",
120
117
  "ChunkResultChunkId": ".types",
121
- "Color": ".types",
122
118
  "Content": ".types",
123
119
  "ContentTooLargeError": ".errors",
124
120
  "ConversationAssetInfo": ".types",
125
121
  "ConversationMessage": ".types",
126
122
  "ConversationResult": ".types",
123
+ "CreatableAssetType": ".types",
124
+ "CreateAssetResponseOut": ".types",
127
125
  "CreateNewSheetTabResponse": ".types",
126
+ "CreateProjectResponseOut": ".types",
128
127
  "CustomAgentResponse": ".types",
129
128
  "DataFrameRequestOut": ".types",
130
129
  "DataFrameRequestOutColumnsItem": ".types",
@@ -132,9 +131,7 @@ _dynamic_imports: typing.Dict[str, str] = {
132
131
  "DataFrameRequestOutIndexItem": ".types",
133
132
  "DataFrameUnknownFormatError": ".types",
134
133
  "DimensionProperties": ".types",
135
- "DocumentChunk": ".types",
136
134
  "DriveAgentResponse": ".types",
137
- "FileChunkRequestOut": ".types",
138
135
  "FileTooLargeError": ".types",
139
136
  "FolderResponse": ".types",
140
137
  "GeneralAgentConfig": ".types",
@@ -165,7 +162,6 @@ _dynamic_imports: typing.Dict[str, str] = {
165
162
  "SheetOperationResponse": ".types",
166
163
  "SqlAgentResponse": ".types",
167
164
  "StructuredDataExtractorResponse": ".types",
168
- "Tabcolor": ".types",
169
165
  "TableRowData": ".types",
170
166
  "TextContent": ".types",
171
167
  "TextFormatModel": ".types",
@@ -219,7 +215,6 @@ __all__ = [
219
215
  "AsyncAthena",
220
216
  "Athena",
221
217
  "AthenaEnvironment",
222
- "Backgroundcolor",
223
218
  "BadRequestError",
224
219
  "BorderModel",
225
220
  "BorderStyle",
@@ -233,13 +228,15 @@ __all__ = [
233
228
  "ChunkContentItem_Text",
234
229
  "ChunkResult",
235
230
  "ChunkResultChunkId",
236
- "Color",
237
231
  "Content",
238
232
  "ContentTooLargeError",
239
233
  "ConversationAssetInfo",
240
234
  "ConversationMessage",
241
235
  "ConversationResult",
236
+ "CreatableAssetType",
237
+ "CreateAssetResponseOut",
242
238
  "CreateNewSheetTabResponse",
239
+ "CreateProjectResponseOut",
243
240
  "CustomAgentResponse",
244
241
  "DataFrameRequestOut",
245
242
  "DataFrameRequestOutColumnsItem",
@@ -247,9 +244,7 @@ __all__ = [
247
244
  "DataFrameRequestOutIndexItem",
248
245
  "DataFrameUnknownFormatError",
249
246
  "DimensionProperties",
250
- "DocumentChunk",
251
247
  "DriveAgentResponse",
252
- "FileChunkRequestOut",
253
248
  "FileTooLargeError",
254
249
  "FolderResponse",
255
250
  "GeneralAgentConfig",
@@ -280,7 +275,6 @@ __all__ = [
280
275
  "SheetOperationResponse",
281
276
  "SqlAgentResponse",
282
277
  "StructuredDataExtractorResponse",
283
- "Tabcolor",
284
278
  "TableRowData",
285
279
  "TextContent",
286
280
  "TextFormatModel",
@@ -0,0 +1,501 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
6
+ from ..core.request_options import RequestOptions
7
+ from ..types.creatable_asset_type import CreatableAssetType
8
+ from ..types.create_asset_response_out import CreateAssetResponseOut
9
+ from ..types.create_project_response_out import CreateProjectResponseOut
10
+ from ..types.paginated_assets_out import PaginatedAssetsOut
11
+ from ..types.public_asset_out import PublicAssetOut
12
+ from .raw_client import AsyncRawAssetsClient, RawAssetsClient
13
+
14
+ # this is used as the default value for optional parameters
15
+ OMIT = typing.cast(typing.Any, ...)
16
+
17
+
18
+ class AssetsClient:
19
+ def __init__(self, *, client_wrapper: SyncClientWrapper):
20
+ self._raw_client = RawAssetsClient(client_wrapper=client_wrapper)
21
+
22
+ @property
23
+ def with_raw_response(self) -> RawAssetsClient:
24
+ """
25
+ Retrieves a raw implementation of this client that returns raw responses.
26
+
27
+ Returns
28
+ -------
29
+ RawAssetsClient
30
+ """
31
+ return self._raw_client
32
+
33
+ def list(
34
+ self,
35
+ *,
36
+ limit: typing.Optional[int] = None,
37
+ offset: typing.Optional[int] = None,
38
+ filters: typing.Optional[str] = None,
39
+ sort: typing.Optional[str] = None,
40
+ request_options: typing.Optional[RequestOptions] = None,
41
+ ) -> PaginatedAssetsOut:
42
+ """
43
+ Retrieve a paginated list of assets with optional filtering and sorting. Assets include documents, presentations, spreadsheets, images, videos, and other file types managed by Athena Intelligence.
44
+
45
+ Parameters
46
+ ----------
47
+ limit : typing.Optional[int]
48
+ Maximum number of assets to return per page (1-500)
49
+
50
+ offset : typing.Optional[int]
51
+ Number of assets to skip for pagination
52
+
53
+ filters : typing.Optional[str]
54
+ JSON string of filter criteria. Supports: created_by_id, created_by_email, tags, created_after/before, updated_after/before, title_substring, is_archived, is_hidden, athena_metadata, media_type, athena_converted_type, athena_original_type, summary_ready, summary_status
55
+
56
+ sort : typing.Optional[str]
57
+ JSON string of sort criteria: [{"field": "updated_at", "direction": "desc"}]. Supported fields: created_by_id, created_by_email, created_at, updated_at, is_archived, is_hidden, summary_ready, summary_status
58
+
59
+ request_options : typing.Optional[RequestOptions]
60
+ Request-specific configuration.
61
+
62
+ Returns
63
+ -------
64
+ PaginatedAssetsOut
65
+ Successfully retrieved paginated list of assets
66
+
67
+ Examples
68
+ --------
69
+ from athena import Athena
70
+
71
+ client = Athena(
72
+ api_key="YOUR_API_KEY",
73
+ )
74
+ client.assets.list(
75
+ limit=1,
76
+ offset=1,
77
+ filters="filters",
78
+ sort="sort",
79
+ )
80
+ """
81
+ _response = self._raw_client.list(
82
+ limit=limit, offset=offset, filters=filters, sort=sort, request_options=request_options
83
+ )
84
+ return _response.data
85
+
86
+ def create(
87
+ self,
88
+ *,
89
+ asset_type: CreatableAssetType,
90
+ parent_folder_id: typing.Optional[str] = OMIT,
91
+ title: typing.Optional[str] = OMIT,
92
+ request_options: typing.Optional[RequestOptions] = None,
93
+ ) -> CreateAssetResponseOut:
94
+ """
95
+ Create a new asset such as a spreadsheet, document, or folder in your workspace. This endpoint uses internal GraphQL mutations to create assets with proper permissions and workspace integration.
96
+
97
+ Parameters
98
+ ----------
99
+ asset_type : CreatableAssetType
100
+ Type of asset to create. Supported types: 'spreadsheet' (or 'sheet'), 'document' (or 'doc'), 'folder'
101
+
102
+ parent_folder_id : typing.Optional[str]
103
+ ID of the parent folder to create the asset in
104
+
105
+ title : typing.Optional[str]
106
+ Title for the new asset
107
+
108
+ request_options : typing.Optional[RequestOptions]
109
+ Request-specific configuration.
110
+
111
+ Returns
112
+ -------
113
+ CreateAssetResponseOut
114
+ Asset created successfully
115
+
116
+ Examples
117
+ --------
118
+ from athena import Athena
119
+
120
+ client = Athena(
121
+ api_key="YOUR_API_KEY",
122
+ )
123
+ client.assets.create(
124
+ asset_type="spreadsheet",
125
+ parent_folder_id="asset_folder_12345",
126
+ title="My New Spreadsheet",
127
+ )
128
+ """
129
+ _response = self._raw_client.create(
130
+ asset_type=asset_type, parent_folder_id=parent_folder_id, title=title, request_options=request_options
131
+ )
132
+ return _response.data
133
+
134
+ def create_project(
135
+ self,
136
+ *,
137
+ title: str,
138
+ custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
139
+ description: typing.Optional[str] = OMIT,
140
+ parent_folder_id: typing.Optional[str] = OMIT,
141
+ project_type: typing.Optional[str] = OMIT,
142
+ share_with_emails: typing.Optional[typing.Sequence[str]] = OMIT,
143
+ tags: typing.Optional[typing.Sequence[str]] = OMIT,
144
+ request_options: typing.Optional[RequestOptions] = None,
145
+ ) -> CreateProjectResponseOut:
146
+ """
147
+ Create a new project with custom metadata. Projects can be typed (e.g., 'candidate', 'user', 'company') and include flexible custom metadata for storing additional information.
148
+
149
+ Parameters
150
+ ----------
151
+ title : str
152
+ The project title
153
+
154
+ custom_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
155
+ A flexible dictionary for storing custom metadata
156
+
157
+ description : typing.Optional[str]
158
+ Optional project description
159
+
160
+ parent_folder_id : typing.Optional[str]
161
+ Optional parent folder ID
162
+
163
+ project_type : typing.Optional[str]
164
+ User-defined project type (e.g., 'candidate', 'user', 'company')
165
+
166
+ share_with_emails : typing.Optional[typing.Sequence[str]]
167
+ Optional list of email addresses to share the project with (VIEW permission)
168
+
169
+ tags : typing.Optional[typing.Sequence[str]]
170
+ Optional list of tags for categorizing the project
171
+
172
+ request_options : typing.Optional[RequestOptions]
173
+ Request-specific configuration.
174
+
175
+ Returns
176
+ -------
177
+ CreateProjectResponseOut
178
+ Project created successfully
179
+
180
+ Examples
181
+ --------
182
+ from athena import Athena
183
+
184
+ client = Athena(
185
+ api_key="YOUR_API_KEY",
186
+ )
187
+ client.assets.create_project(
188
+ custom_metadata={
189
+ "email": "john.doe@example.com",
190
+ "phone": "+1-555-0123",
191
+ "source": "linkedin",
192
+ "status": "active",
193
+ },
194
+ description="Candidate profile for senior software engineer position",
195
+ parent_folder_id="asset_folder_123",
196
+ project_type="candidate",
197
+ share_with_emails=["colleague@example.com", "manager@example.com"],
198
+ tags=["engineering", "senior", "active"],
199
+ title="John Doe - Software Engineer",
200
+ )
201
+ """
202
+ _response = self._raw_client.create_project(
203
+ title=title,
204
+ custom_metadata=custom_metadata,
205
+ description=description,
206
+ parent_folder_id=parent_folder_id,
207
+ project_type=project_type,
208
+ share_with_emails=share_with_emails,
209
+ tags=tags,
210
+ request_options=request_options,
211
+ )
212
+ return _response.data
213
+
214
+ def get(self, asset_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> PublicAssetOut:
215
+ """
216
+ Retrieve a single asset by its ID. Returns comprehensive metadata including creation info, tags, timestamps, media type, and AI-generated summary.
217
+
218
+ Parameters
219
+ ----------
220
+ asset_id : str
221
+
222
+ request_options : typing.Optional[RequestOptions]
223
+ Request-specific configuration.
224
+
225
+ Returns
226
+ -------
227
+ PublicAssetOut
228
+ Successfully retrieved asset
229
+
230
+ Examples
231
+ --------
232
+ from athena import Athena
233
+
234
+ client = Athena(
235
+ api_key="YOUR_API_KEY",
236
+ )
237
+ client.assets.get(
238
+ asset_id="asset_id",
239
+ )
240
+ """
241
+ _response = self._raw_client.get(asset_id, request_options=request_options)
242
+ return _response.data
243
+
244
+
245
+ class AsyncAssetsClient:
246
+ def __init__(self, *, client_wrapper: AsyncClientWrapper):
247
+ self._raw_client = AsyncRawAssetsClient(client_wrapper=client_wrapper)
248
+
249
+ @property
250
+ def with_raw_response(self) -> AsyncRawAssetsClient:
251
+ """
252
+ Retrieves a raw implementation of this client that returns raw responses.
253
+
254
+ Returns
255
+ -------
256
+ AsyncRawAssetsClient
257
+ """
258
+ return self._raw_client
259
+
260
+ async def list(
261
+ self,
262
+ *,
263
+ limit: typing.Optional[int] = None,
264
+ offset: typing.Optional[int] = None,
265
+ filters: typing.Optional[str] = None,
266
+ sort: typing.Optional[str] = None,
267
+ request_options: typing.Optional[RequestOptions] = None,
268
+ ) -> PaginatedAssetsOut:
269
+ """
270
+ Retrieve a paginated list of assets with optional filtering and sorting. Assets include documents, presentations, spreadsheets, images, videos, and other file types managed by Athena Intelligence.
271
+
272
+ Parameters
273
+ ----------
274
+ limit : typing.Optional[int]
275
+ Maximum number of assets to return per page (1-500)
276
+
277
+ offset : typing.Optional[int]
278
+ Number of assets to skip for pagination
279
+
280
+ filters : typing.Optional[str]
281
+ JSON string of filter criteria. Supports: created_by_id, created_by_email, tags, created_after/before, updated_after/before, title_substring, is_archived, is_hidden, athena_metadata, media_type, athena_converted_type, athena_original_type, summary_ready, summary_status
282
+
283
+ sort : typing.Optional[str]
284
+ JSON string of sort criteria: [{"field": "updated_at", "direction": "desc"}]. Supported fields: created_by_id, created_by_email, created_at, updated_at, is_archived, is_hidden, summary_ready, summary_status
285
+
286
+ request_options : typing.Optional[RequestOptions]
287
+ Request-specific configuration.
288
+
289
+ Returns
290
+ -------
291
+ PaginatedAssetsOut
292
+ Successfully retrieved paginated list of assets
293
+
294
+ Examples
295
+ --------
296
+ import asyncio
297
+
298
+ from athena import AsyncAthena
299
+
300
+ client = AsyncAthena(
301
+ api_key="YOUR_API_KEY",
302
+ )
303
+
304
+
305
+ async def main() -> None:
306
+ await client.assets.list(
307
+ limit=1,
308
+ offset=1,
309
+ filters="filters",
310
+ sort="sort",
311
+ )
312
+
313
+
314
+ asyncio.run(main())
315
+ """
316
+ _response = await self._raw_client.list(
317
+ limit=limit, offset=offset, filters=filters, sort=sort, request_options=request_options
318
+ )
319
+ return _response.data
320
+
321
+ async def create(
322
+ self,
323
+ *,
324
+ asset_type: CreatableAssetType,
325
+ parent_folder_id: typing.Optional[str] = OMIT,
326
+ title: typing.Optional[str] = OMIT,
327
+ request_options: typing.Optional[RequestOptions] = None,
328
+ ) -> CreateAssetResponseOut:
329
+ """
330
+ Create a new asset such as a spreadsheet, document, or folder in your workspace. This endpoint uses internal GraphQL mutations to create assets with proper permissions and workspace integration.
331
+
332
+ Parameters
333
+ ----------
334
+ asset_type : CreatableAssetType
335
+ Type of asset to create. Supported types: 'spreadsheet' (or 'sheet'), 'document' (or 'doc'), 'folder'
336
+
337
+ parent_folder_id : typing.Optional[str]
338
+ ID of the parent folder to create the asset in
339
+
340
+ title : typing.Optional[str]
341
+ Title for the new asset
342
+
343
+ request_options : typing.Optional[RequestOptions]
344
+ Request-specific configuration.
345
+
346
+ Returns
347
+ -------
348
+ CreateAssetResponseOut
349
+ Asset created successfully
350
+
351
+ Examples
352
+ --------
353
+ import asyncio
354
+
355
+ from athena import AsyncAthena
356
+
357
+ client = AsyncAthena(
358
+ api_key="YOUR_API_KEY",
359
+ )
360
+
361
+
362
+ async def main() -> None:
363
+ await client.assets.create(
364
+ asset_type="spreadsheet",
365
+ parent_folder_id="asset_folder_12345",
366
+ title="My New Spreadsheet",
367
+ )
368
+
369
+
370
+ asyncio.run(main())
371
+ """
372
+ _response = await self._raw_client.create(
373
+ asset_type=asset_type, parent_folder_id=parent_folder_id, title=title, request_options=request_options
374
+ )
375
+ return _response.data
376
+
377
+ async def create_project(
378
+ self,
379
+ *,
380
+ title: str,
381
+ custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
382
+ description: typing.Optional[str] = OMIT,
383
+ parent_folder_id: typing.Optional[str] = OMIT,
384
+ project_type: typing.Optional[str] = OMIT,
385
+ share_with_emails: typing.Optional[typing.Sequence[str]] = OMIT,
386
+ tags: typing.Optional[typing.Sequence[str]] = OMIT,
387
+ request_options: typing.Optional[RequestOptions] = None,
388
+ ) -> CreateProjectResponseOut:
389
+ """
390
+ Create a new project with custom metadata. Projects can be typed (e.g., 'candidate', 'user', 'company') and include flexible custom metadata for storing additional information.
391
+
392
+ Parameters
393
+ ----------
394
+ title : str
395
+ The project title
396
+
397
+ custom_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
398
+ A flexible dictionary for storing custom metadata
399
+
400
+ description : typing.Optional[str]
401
+ Optional project description
402
+
403
+ parent_folder_id : typing.Optional[str]
404
+ Optional parent folder ID
405
+
406
+ project_type : typing.Optional[str]
407
+ User-defined project type (e.g., 'candidate', 'user', 'company')
408
+
409
+ share_with_emails : typing.Optional[typing.Sequence[str]]
410
+ Optional list of email addresses to share the project with (VIEW permission)
411
+
412
+ tags : typing.Optional[typing.Sequence[str]]
413
+ Optional list of tags for categorizing the project
414
+
415
+ request_options : typing.Optional[RequestOptions]
416
+ Request-specific configuration.
417
+
418
+ Returns
419
+ -------
420
+ CreateProjectResponseOut
421
+ Project created successfully
422
+
423
+ Examples
424
+ --------
425
+ import asyncio
426
+
427
+ from athena import AsyncAthena
428
+
429
+ client = AsyncAthena(
430
+ api_key="YOUR_API_KEY",
431
+ )
432
+
433
+
434
+ async def main() -> None:
435
+ await client.assets.create_project(
436
+ custom_metadata={
437
+ "email": "john.doe@example.com",
438
+ "phone": "+1-555-0123",
439
+ "source": "linkedin",
440
+ "status": "active",
441
+ },
442
+ description="Candidate profile for senior software engineer position",
443
+ parent_folder_id="asset_folder_123",
444
+ project_type="candidate",
445
+ share_with_emails=["colleague@example.com", "manager@example.com"],
446
+ tags=["engineering", "senior", "active"],
447
+ title="John Doe - Software Engineer",
448
+ )
449
+
450
+
451
+ asyncio.run(main())
452
+ """
453
+ _response = await self._raw_client.create_project(
454
+ title=title,
455
+ custom_metadata=custom_metadata,
456
+ description=description,
457
+ parent_folder_id=parent_folder_id,
458
+ project_type=project_type,
459
+ share_with_emails=share_with_emails,
460
+ tags=tags,
461
+ request_options=request_options,
462
+ )
463
+ return _response.data
464
+
465
+ async def get(self, asset_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> PublicAssetOut:
466
+ """
467
+ Retrieve a single asset by its ID. Returns comprehensive metadata including creation info, tags, timestamps, media type, and AI-generated summary.
468
+
469
+ Parameters
470
+ ----------
471
+ asset_id : str
472
+
473
+ request_options : typing.Optional[RequestOptions]
474
+ Request-specific configuration.
475
+
476
+ Returns
477
+ -------
478
+ PublicAssetOut
479
+ Successfully retrieved asset
480
+
481
+ Examples
482
+ --------
483
+ import asyncio
484
+
485
+ from athena import AsyncAthena
486
+
487
+ client = AsyncAthena(
488
+ api_key="YOUR_API_KEY",
489
+ )
490
+
491
+
492
+ async def main() -> None:
493
+ await client.assets.get(
494
+ asset_id="asset_id",
495
+ )
496
+
497
+
498
+ asyncio.run(main())
499
+ """
500
+ _response = await self._raw_client.get(asset_id, request_options=request_options)
501
+ return _response.data