@athenaintel/sdk 4.3.1157 → 4.3.1923

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 (655) hide show
  1. package/README.md +47 -24
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/Client.d.ts +15 -0
  4. package/dist/cjs/Client.js +35 -10
  5. package/dist/cjs/api/errors/BadGatewayError.d.ts +1 -2
  6. package/dist/cjs/api/resources/agents/client/Client.d.ts +3 -3
  7. package/dist/cjs/api/resources/agents/client/Client.js +19 -7
  8. package/dist/cjs/api/resources/agents/client/requests/CustomAgentRequest.d.ts +3 -0
  9. package/dist/cjs/api/resources/aop/client/Client.d.ts +66 -0
  10. package/dist/cjs/api/resources/aop/client/Client.js +274 -0
  11. package/dist/cjs/api/resources/aop/client/index.d.ts +1 -1
  12. package/dist/cjs/api/resources/aop/client/index.js +15 -0
  13. package/dist/cjs/api/resources/aop/client/requests/AopConfigUpdateRequestIn.d.ts +30 -0
  14. package/dist/cjs/api/resources/aop/client/requests/AopCreateRequestIn.d.ts +37 -0
  15. package/dist/{esm/api/resources/tools/client/requests/ToolsRawDataRequest.d.mts → cjs/api/resources/aop/client/requests/GetConfigAopRequest.d.ts} +1 -1
  16. package/dist/cjs/api/resources/aop/client/requests/index.d.ts +3 -0
  17. package/dist/cjs/api/resources/aop/client/requests/index.js +2 -0
  18. package/dist/cjs/api/resources/assets/client/Client.d.ts +109 -15
  19. package/dist/cjs/api/resources/assets/client/Client.js +464 -23
  20. package/dist/{esm/api/resources/tools/client/requests/ToolsGetAssetContentRequest.d.mts → cjs/api/resources/assets/client/requests/ArchiveAssetsRequest.d.ts} +1 -1
  21. package/dist/cjs/api/resources/assets/client/requests/CreateAssetRequestIn.d.ts +5 -3
  22. package/dist/cjs/api/resources/assets/client/requests/CreateProjectRequestIn.d.ts +6 -6
  23. package/dist/cjs/api/resources/{tools/client/requests/ToolsGetAssetContentRequest.d.ts → assets/client/requests/DownloadAssetsRequest.d.ts} +1 -1
  24. package/dist/cjs/api/resources/assets/client/requests/DuplicateAssetRequestIn.d.ts +16 -0
  25. package/dist/cjs/api/resources/{tools/client/requests/ToolsRawDataRequest.d.ts → assets/client/requests/GetAssetsRequest.d.ts} +1 -1
  26. package/dist/cjs/api/resources/assets/client/requests/{AssetsListRequest.d.ts → ListAssetsRequest.d.ts} +7 -10
  27. package/dist/cjs/api/resources/assets/client/requests/MoveAssetRequestIn.d.ts +14 -0
  28. package/dist/cjs/api/resources/assets/client/requests/ShareAssetRequestIn.d.ts +27 -0
  29. package/dist/cjs/api/resources/assets/client/requests/UpdateWorkspaceAccessRequestIn.d.ts +13 -0
  30. package/dist/cjs/api/resources/assets/client/requests/index.d.ts +8 -1
  31. package/dist/cjs/api/resources/computer/client/Client.d.ts +74 -0
  32. package/dist/cjs/api/resources/computer/client/Client.js +336 -0
  33. package/dist/cjs/api/resources/computer/client/index.d.ts +1 -0
  34. package/dist/cjs/api/resources/computer/client/index.js +17 -0
  35. package/dist/cjs/api/resources/computer/client/requests/CreateSshAccessRequestIn.d.ts +12 -0
  36. package/dist/cjs/api/resources/computer/client/requests/CreateSshAccessRequestIn.js +3 -0
  37. package/dist/cjs/api/resources/computer/client/requests/DeployComputerRequestIn.d.ts +12 -0
  38. package/dist/cjs/api/resources/computer/client/requests/DeployComputerRequestIn.js +3 -0
  39. package/dist/cjs/api/resources/computer/client/requests/RevokeSshAccessRequestIn.d.ts +12 -0
  40. package/dist/cjs/api/resources/computer/client/requests/RevokeSshAccessRequestIn.js +3 -0
  41. package/dist/cjs/api/resources/computer/client/requests/index.d.ts +3 -0
  42. package/dist/cjs/api/resources/computer/client/requests/index.js +2 -0
  43. package/dist/cjs/api/resources/computer/index.d.ts +1 -0
  44. package/dist/cjs/api/resources/computer/index.js +17 -0
  45. package/dist/cjs/api/resources/databases/client/Client.d.ts +37 -37
  46. package/dist/cjs/api/resources/databases/client/Client.js +75 -70
  47. package/dist/cjs/api/resources/databases/client/requests/DatabaseSqlRequest.d.ts +2 -0
  48. package/dist/cjs/api/resources/databases/client/requests/{DatabasesDeleteRequest.d.ts → DeleteDatabasesRequest.d.ts} +6 -3
  49. package/dist/cjs/api/resources/databases/client/requests/DeleteDatabasesRequest.js +3 -0
  50. package/dist/cjs/api/resources/databases/client/requests/GetStatusDatabasesRequest.d.ts +9 -0
  51. package/dist/cjs/api/resources/databases/client/requests/GetStatusDatabasesRequest.js +3 -0
  52. package/dist/cjs/api/resources/databases/client/requests/GetTableSchemaDatabasesRequest.d.ts +11 -0
  53. package/dist/cjs/api/resources/databases/client/requests/GetTableSchemaDatabasesRequest.js +3 -0
  54. package/dist/cjs/api/resources/databases/client/requests/InsertDataRequest.d.ts +4 -0
  55. package/dist/cjs/api/resources/databases/client/requests/ListTablesDatabasesRequest.d.ts +9 -0
  56. package/dist/cjs/api/resources/databases/client/requests/ListTablesDatabasesRequest.js +3 -0
  57. package/dist/{esm/api/resources/databases/client/requests/DatabasesSelectRequest.d.mts → cjs/api/resources/databases/client/requests/SelectDatabasesRequest.d.ts} +7 -7
  58. package/dist/cjs/api/resources/databases/client/requests/SelectDatabasesRequest.js +3 -0
  59. package/dist/cjs/api/resources/databases/client/requests/UpdateDataRequest.d.ts +4 -1
  60. package/dist/cjs/api/resources/databases/client/requests/index.d.ts +5 -2
  61. package/dist/cjs/api/resources/index.d.ts +13 -0
  62. package/dist/cjs/api/resources/index.js +14 -1
  63. package/dist/cjs/api/resources/meetings/client/Client.d.ts +60 -0
  64. package/dist/cjs/api/resources/meetings/client/Client.js +331 -0
  65. package/dist/cjs/api/resources/meetings/client/index.d.ts +1 -0
  66. package/dist/cjs/api/resources/meetings/client/index.js +17 -0
  67. package/dist/cjs/api/resources/meetings/client/requests/DownloadMeetingsRequest.d.ts +12 -0
  68. package/dist/cjs/api/resources/meetings/client/requests/DownloadMeetingsRequest.js +3 -0
  69. package/dist/cjs/api/resources/meetings/client/requests/GetMeetingsRequest.d.ts +9 -0
  70. package/dist/cjs/api/resources/meetings/client/requests/GetMeetingsRequest.js +3 -0
  71. package/dist/cjs/api/resources/meetings/client/requests/ListMeetingsRequest.d.ts +29 -0
  72. package/dist/cjs/api/resources/meetings/client/requests/ListMeetingsRequest.js +3 -0
  73. package/dist/cjs/api/resources/meetings/client/requests/index.d.ts +3 -0
  74. package/dist/cjs/api/resources/meetings/client/requests/index.js +2 -0
  75. package/dist/cjs/api/resources/meetings/index.d.ts +2 -0
  76. package/dist/cjs/api/resources/meetings/index.js +18 -0
  77. package/dist/cjs/api/resources/meetings/types/DownloadMeetingsRequestArtifact.d.ts +9 -0
  78. package/dist/cjs/api/resources/meetings/types/DownloadMeetingsRequestArtifact.js +12 -0
  79. package/dist/cjs/api/resources/meetings/types/ListMeetingsRequestDomainMatch.d.ts +6 -0
  80. package/dist/cjs/api/resources/meetings/types/ListMeetingsRequestDomainMatch.js +9 -0
  81. package/dist/cjs/api/resources/meetings/types/ListMeetingsRequestParticipantMatch.d.ts +6 -0
  82. package/dist/cjs/api/resources/meetings/types/ListMeetingsRequestParticipantMatch.js +9 -0
  83. package/dist/cjs/api/resources/meetings/types/ListMeetingsRequestSortBy.d.ts +7 -0
  84. package/dist/cjs/api/resources/meetings/types/ListMeetingsRequestSortBy.js +10 -0
  85. package/dist/cjs/api/resources/meetings/types/ListMeetingsRequestSortDirection.d.ts +6 -0
  86. package/dist/cjs/api/resources/meetings/types/ListMeetingsRequestSortDirection.js +9 -0
  87. package/dist/cjs/api/resources/meetings/types/index.d.ts +5 -0
  88. package/dist/cjs/api/resources/meetings/types/index.js +21 -0
  89. package/dist/cjs/api/resources/query/client/Client.d.ts +2 -2
  90. package/dist/cjs/api/resources/query/client/Client.js +1 -1
  91. package/dist/cjs/api/resources/query/client/requests/{QueryExecuteSnippetRequest.d.ts → ExecuteSnippetQueryRequest.d.ts} +1 -1
  92. package/dist/cjs/api/resources/query/client/requests/ExecuteSnippetQueryRequest.js +3 -0
  93. package/dist/cjs/api/resources/query/client/requests/index.d.ts +1 -1
  94. package/dist/cjs/api/resources/semanticModel/client/Client.d.ts +13 -9
  95. package/dist/cjs/api/resources/semanticModel/client/Client.js +37 -19
  96. package/dist/cjs/api/resources/semanticModel/client/requests/GenerateTokenSemanticModelRequest.d.ts +9 -0
  97. package/dist/cjs/api/resources/semanticModel/client/requests/GenerateTokenSemanticModelRequest.js +3 -0
  98. package/dist/cjs/api/resources/semanticModel/client/requests/GetMetaSemanticModelRequest.d.ts +9 -0
  99. package/dist/cjs/api/resources/semanticModel/client/requests/GetMetaSemanticModelRequest.js +3 -0
  100. package/dist/cjs/api/resources/semanticModel/client/requests/SemanticModelQueryRequestIn.d.ts +5 -3
  101. package/dist/cjs/api/resources/semanticModel/client/requests/index.d.ts +2 -0
  102. package/dist/cjs/api/resources/sessions/client/Client.d.ts +60 -0
  103. package/dist/cjs/api/resources/sessions/client/Client.js +337 -0
  104. package/dist/cjs/api/resources/sessions/client/index.d.ts +1 -0
  105. package/dist/cjs/api/resources/sessions/client/index.js +17 -0
  106. package/dist/cjs/api/resources/sessions/client/requests/DownloadSessionsRequest.d.ts +12 -0
  107. package/dist/cjs/api/resources/sessions/client/requests/DownloadSessionsRequest.js +3 -0
  108. package/dist/cjs/api/resources/sessions/client/requests/GetSessionsRequest.d.ts +9 -0
  109. package/dist/cjs/api/resources/sessions/client/requests/GetSessionsRequest.js +3 -0
  110. package/dist/cjs/api/resources/sessions/client/requests/ListSessionsRequest.d.ts +33 -0
  111. package/dist/cjs/api/resources/sessions/client/requests/ListSessionsRequest.js +3 -0
  112. package/dist/cjs/api/resources/sessions/client/requests/index.d.ts +3 -0
  113. package/dist/cjs/api/resources/sessions/client/requests/index.js +2 -0
  114. package/dist/cjs/api/resources/sessions/index.d.ts +2 -0
  115. package/dist/cjs/api/resources/sessions/index.js +18 -0
  116. package/dist/cjs/api/resources/sessions/types/DownloadSessionsRequestExportFormat.d.ts +8 -0
  117. package/dist/cjs/api/resources/sessions/types/DownloadSessionsRequestExportFormat.js +11 -0
  118. package/dist/cjs/api/resources/sessions/types/ListSessionsRequestSortBy.d.ts +7 -0
  119. package/dist/cjs/api/resources/sessions/types/ListSessionsRequestSortBy.js +10 -0
  120. package/dist/cjs/api/resources/sessions/types/ListSessionsRequestSortDirection.d.ts +6 -0
  121. package/dist/cjs/api/resources/sessions/types/ListSessionsRequestSortDirection.js +9 -0
  122. package/dist/cjs/api/resources/sessions/types/index.d.ts +3 -0
  123. package/dist/cjs/api/resources/sessions/types/index.js +19 -0
  124. package/dist/cjs/api/resources/threads/client/Client.d.ts +10 -6
  125. package/dist/cjs/api/resources/threads/client/Client.js +18 -12
  126. package/dist/cjs/api/resources/threads/client/index.d.ts +1 -1
  127. package/dist/cjs/api/resources/threads/client/index.js +15 -0
  128. package/dist/cjs/api/resources/threads/client/requests/GetStatusThreadsRequest.d.ts +10 -0
  129. package/dist/cjs/api/resources/threads/client/requests/GetStatusThreadsRequest.js +3 -0
  130. package/dist/cjs/api/resources/threads/client/requests/StopThreadsRequest.d.ts +10 -0
  131. package/dist/cjs/api/resources/threads/client/requests/StopThreadsRequest.js +3 -0
  132. package/dist/cjs/api/resources/threads/client/requests/index.d.ts +2 -0
  133. package/dist/cjs/api/resources/threads/client/requests/index.js +2 -0
  134. package/dist/cjs/api/resources/tools/client/Client.d.ts +40 -24
  135. package/dist/cjs/api/resources/tools/client/Client.js +171 -43
  136. package/dist/cjs/api/resources/tools/client/requests/AssetReadRequestIn.d.ts +12 -0
  137. package/dist/cjs/api/resources/tools/client/requests/AssetReadRequestIn.js +3 -0
  138. package/dist/cjs/api/resources/tools/client/requests/BodySaveAssetApiV0ToolsFileSavePost.d.ts +2 -3
  139. package/dist/cjs/api/resources/tools/client/requests/DataFrameToolsRequest.d.ts +18 -0
  140. package/dist/cjs/api/resources/tools/client/requests/DataFrameToolsRequest.js +3 -0
  141. package/dist/cjs/api/resources/tools/client/requests/GetAssetContentToolsRequest.d.ts +10 -0
  142. package/dist/cjs/api/resources/tools/client/requests/GetAssetContentToolsRequest.js +3 -0
  143. package/dist/cjs/api/resources/tools/client/requests/GetAssetScreenshotToolsRequest.d.ts +10 -0
  144. package/dist/cjs/api/resources/tools/client/requests/GetAssetScreenshotToolsRequest.js +3 -0
  145. package/dist/cjs/api/resources/tools/client/requests/ListContentsToolsRequest.d.ts +9 -0
  146. package/dist/cjs/api/resources/tools/client/requests/ListContentsToolsRequest.js +3 -0
  147. package/dist/cjs/api/resources/tools/client/requests/RawDataToolsRequest.d.ts +9 -0
  148. package/dist/cjs/api/resources/tools/client/requests/RawDataToolsRequest.js +3 -0
  149. package/dist/cjs/api/resources/tools/client/requests/index.d.ts +6 -5
  150. package/dist/cjs/api/resources/tools/resources/sheets/client/requests/DuplicateSheetRequest.d.ts +1 -1
  151. package/dist/cjs/api/resources/tools/resources/sheets/client/requests/GetTableRequest.d.ts +1 -1
  152. package/dist/cjs/api/resources/tools/resources/sheets/client/requests/InsertTableRowRequest.d.ts +1 -1
  153. package/dist/cjs/api/resources/tools/resources/sheets/client/requests/UpdateSheetCellRequest.d.ts +2 -0
  154. package/dist/cjs/api/resources/tools/resources/sheets/client/requests/UpdateSheetRangeRequest.d.ts +5 -3
  155. package/dist/cjs/api/resources/tools/types/DataFrameToolsRequestColumnsItem.d.ts +1 -0
  156. package/dist/cjs/api/resources/tools/types/DataFrameToolsRequestColumnsItem.js +3 -0
  157. package/dist/cjs/api/resources/tools/types/DataFrameToolsRequestSheetName.d.ts +4 -0
  158. package/dist/cjs/api/resources/tools/types/DataFrameToolsRequestSheetName.js +3 -0
  159. package/dist/cjs/api/resources/tools/types/index.d.ts +2 -1
  160. package/dist/cjs/api/resources/tools/types/index.js +2 -1
  161. package/dist/cjs/api/resources/users/client/Client.d.ts +24 -0
  162. package/dist/cjs/api/resources/users/client/Client.js +116 -0
  163. package/dist/cjs/api/resources/users/client/index.d.ts +1 -0
  164. package/dist/cjs/api/resources/users/client/index.js +2 -0
  165. package/dist/cjs/api/resources/users/index.d.ts +1 -0
  166. package/dist/cjs/api/resources/users/index.js +17 -0
  167. package/dist/cjs/api/resources/workspaces/client/Client.d.ts +48 -0
  168. package/dist/cjs/api/resources/workspaces/client/Client.js +230 -0
  169. package/dist/cjs/api/resources/workspaces/client/index.d.ts +1 -0
  170. package/dist/cjs/api/resources/workspaces/client/index.js +17 -0
  171. package/dist/cjs/api/resources/workspaces/client/requests/GetConfigurationWorkspacesRequest.d.ts +9 -0
  172. package/dist/cjs/api/resources/workspaces/client/requests/GetConfigurationWorkspacesRequest.js +3 -0
  173. package/dist/cjs/api/resources/workspaces/client/requests/UpdateWorkspaceConfigurationRequestIn.d.ts +12 -0
  174. package/dist/cjs/api/resources/workspaces/client/requests/UpdateWorkspaceConfigurationRequestIn.js +3 -0
  175. package/dist/cjs/api/resources/workspaces/client/requests/index.d.ts +2 -0
  176. package/dist/cjs/api/resources/workspaces/client/requests/index.js +2 -0
  177. package/dist/cjs/api/resources/workspaces/index.d.ts +1 -0
  178. package/dist/cjs/api/resources/workspaces/index.js +17 -0
  179. package/dist/cjs/api/types/AopConfigResponseOut.d.ts +27 -0
  180. package/dist/cjs/api/types/AopConfigResponseOut.js +3 -0
  181. package/dist/cjs/api/types/AopConfigUpdateResponseOut.d.ts +11 -0
  182. package/dist/cjs/api/types/AopConfigUpdateResponseOut.js +3 -0
  183. package/dist/cjs/api/types/AopCreateResponseOut.d.ts +17 -0
  184. package/dist/cjs/api/types/AopCreateResponseOut.js +3 -0
  185. package/dist/cjs/api/types/AopExecuteRequestIn.d.ts +3 -1
  186. package/dist/cjs/api/types/AopExecuteResponseOut.d.ts +2 -2
  187. package/dist/cjs/api/types/AssetCapabilitiesResponseOut.d.ts +10 -0
  188. package/dist/cjs/api/types/AssetCapabilitiesResponseOut.js +3 -0
  189. package/dist/cjs/api/types/AssetComment.d.ts +19 -0
  190. package/dist/cjs/api/types/AssetComment.js +3 -0
  191. package/dist/cjs/api/types/AssetCommentThread.d.ts +22 -0
  192. package/dist/cjs/api/types/AssetCommentThread.js +3 -0
  193. package/dist/cjs/api/types/AssetContentRequestOut.d.ts +3 -0
  194. package/dist/cjs/api/types/AssetNode.d.ts +1 -1
  195. package/dist/cjs/api/types/AssetReadErrorOut.d.ts +15 -0
  196. package/dist/cjs/api/types/AssetReadErrorOut.js +3 -0
  197. package/dist/cjs/api/types/AssetReadResponseOut.d.ts +8 -0
  198. package/dist/cjs/api/types/AssetReadResponseOut.js +3 -0
  199. package/dist/cjs/api/types/AssetReadResult.d.ts +28 -0
  200. package/dist/cjs/api/types/AssetReadResult.js +3 -0
  201. package/dist/cjs/api/types/BorderModel.d.ts +2 -2
  202. package/dist/cjs/api/types/BordersModel.d.ts +4 -4
  203. package/dist/cjs/api/types/CellFormat.d.ts +10 -10
  204. package/dist/cjs/api/types/Chunk.d.ts +1 -1
  205. package/dist/cjs/api/types/ChunkResult.d.ts +1 -1
  206. package/dist/cjs/api/types/ConversationAssetInfo.d.ts +12 -12
  207. package/dist/cjs/api/types/ConversationMessage.d.ts +4 -1
  208. package/dist/cjs/api/types/ConversationResult.d.ts +6 -6
  209. package/dist/cjs/api/types/CreatableAssetType.d.ts +2 -0
  210. package/dist/cjs/api/types/CreatableAssetType.js +2 -0
  211. package/dist/cjs/api/types/CreateAssetResponseOut.d.ts +3 -1
  212. package/dist/cjs/api/types/CreateProjectResponseOut.d.ts +4 -4
  213. package/dist/cjs/api/types/DataFrameRequestOut.d.ts +3 -3
  214. package/dist/cjs/api/types/DatabaseColumnInfo.d.ts +2 -2
  215. package/dist/cjs/api/types/DatabaseMutationResponse.d.ts +1 -1
  216. package/dist/cjs/api/types/DatabaseSqlResponse.d.ts +3 -3
  217. package/dist/cjs/api/types/DatabaseStatusResponse.d.ts +1 -1
  218. package/dist/cjs/api/types/DatabaseTableInfo.d.ts +1 -1
  219. package/dist/cjs/api/types/DeployComputerResponseOut.d.ts +11 -0
  220. package/dist/cjs/api/types/DeployComputerResponseOut.js +3 -0
  221. package/dist/cjs/api/types/DimensionProperties.d.ts +4 -4
  222. package/dist/cjs/api/types/DuplicateAssetResponseOut.d.ts +17 -0
  223. package/dist/cjs/api/types/DuplicateAssetResponseOut.js +3 -0
  224. package/dist/cjs/api/types/GeneralAgentConfig.d.ts +1 -1
  225. package/dist/cjs/api/types/GeneralAgentRequest.d.ts +1 -1
  226. package/dist/cjs/api/types/GeneralAgentResponseMessage.d.ts +15 -12
  227. package/dist/cjs/api/types/GeneralAgentResponseMessageKwargs.d.ts +11 -8
  228. package/dist/cjs/api/types/GetTableResponse.d.ts +2 -0
  229. package/dist/cjs/api/types/GridRange.d.ts +7 -0
  230. package/dist/cjs/api/types/InputMessage.d.ts +7 -6
  231. package/dist/cjs/api/types/InputMessageContentOneItem.d.ts +22 -0
  232. package/dist/cjs/api/types/InputMessageContentOneItem.js +3 -0
  233. package/dist/cjs/api/types/MeetingArtifactsOut.d.ts +17 -0
  234. package/dist/cjs/api/types/MeetingArtifactsOut.js +3 -0
  235. package/dist/cjs/api/types/MeetingOut.d.ts +28 -0
  236. package/dist/cjs/api/types/MeetingOut.js +3 -0
  237. package/dist/cjs/api/types/MeetingParticipantOut.d.ts +9 -0
  238. package/dist/cjs/api/types/MeetingParticipantOut.js +3 -0
  239. package/dist/cjs/api/types/MoveAssetResponseOut.d.ts +15 -0
  240. package/dist/cjs/api/types/MoveAssetResponseOut.js +3 -0
  241. package/dist/cjs/api/types/PaginatedAssetsOut.d.ts +1 -1
  242. package/dist/cjs/api/types/PaginatedMeetingsOut.d.ts +18 -0
  243. package/dist/cjs/api/types/PaginatedMeetingsOut.js +3 -0
  244. package/dist/cjs/api/types/PaginatedSessionsOut.d.ts +18 -0
  245. package/dist/cjs/api/types/PaginatedSessionsOut.js +3 -0
  246. package/dist/cjs/api/types/PublicAssetOut.d.ts +7 -5
  247. package/dist/cjs/api/types/ReadCapabilitiesOut.d.ts +19 -0
  248. package/dist/cjs/api/types/ReadCapabilitiesOut.js +3 -0
  249. package/dist/cjs/api/types/RedactedThinkingContent.d.ts +6 -0
  250. package/dist/cjs/api/types/RedactedThinkingContent.js +3 -0
  251. package/dist/cjs/api/types/RevokeSshAccessResponseOut.d.ts +7 -0
  252. package/dist/cjs/api/types/RevokeSshAccessResponseOut.js +3 -0
  253. package/dist/cjs/api/types/RunTaskResponse.d.ts +3 -3
  254. package/dist/cjs/api/types/SemanticModelMetaResponseOut.d.ts +10 -2
  255. package/dist/cjs/api/types/SessionOut.d.ts +41 -0
  256. package/dist/cjs/api/types/SessionOut.js +3 -0
  257. package/dist/cjs/api/types/ShareAssetResponseOut.d.ts +10 -0
  258. package/dist/cjs/api/types/ShareAssetResponseOut.js +3 -0
  259. package/dist/cjs/api/types/SharePermissionType.d.ts +6 -0
  260. package/dist/cjs/api/types/SharePermissionType.js +9 -0
  261. package/dist/cjs/api/types/ShareRecipient.d.ts +10 -0
  262. package/dist/cjs/api/types/ShareRecipient.js +3 -0
  263. package/dist/cjs/api/types/ShareRecipientResultOut.d.ts +13 -0
  264. package/dist/cjs/api/types/ShareRecipientResultOut.js +3 -0
  265. package/dist/cjs/api/types/Sheet.d.ts +8 -8
  266. package/dist/cjs/api/types/SheetOperationResponse.d.ts +2 -0
  267. package/dist/cjs/api/types/SshAccessResponseOut.d.ts +13 -0
  268. package/dist/cjs/api/types/SshAccessResponseOut.js +3 -0
  269. package/dist/cjs/api/types/StructuredDataExtractorResponse.d.ts +2 -2
  270. package/dist/cjs/api/types/TextFormatModel.d.ts +8 -8
  271. package/dist/cjs/api/types/ThemeColor.d.ts +1 -1
  272. package/dist/cjs/api/types/ThinkingContent.d.ts +7 -0
  273. package/dist/cjs/api/types/ThinkingContent.js +3 -0
  274. package/dist/cjs/api/types/ThreadBatchStopResultItem.d.ts +1 -1
  275. package/dist/cjs/api/types/ThreadStatusResponseOut.d.ts +2 -2
  276. package/dist/cjs/api/types/ToolResultContent.d.ts +11 -0
  277. package/dist/cjs/api/types/ToolResultContent.js +3 -0
  278. package/dist/cjs/api/types/ToolUseContent.d.ts +8 -0
  279. package/dist/cjs/api/types/ToolUseContent.js +3 -0
  280. package/dist/cjs/api/types/UpdateWorkspaceDisclaimerIn.d.ts +13 -0
  281. package/dist/cjs/api/types/UpdateWorkspaceDisclaimerIn.js +3 -0
  282. package/dist/cjs/api/types/UserInfoOut.d.ts +14 -0
  283. package/dist/cjs/api/types/UserInfoOut.js +3 -0
  284. package/dist/cjs/api/types/WorkspaceAccessResponseOut.d.ts +9 -0
  285. package/dist/cjs/api/types/WorkspaceAccessResponseOut.js +3 -0
  286. package/dist/cjs/api/types/WorkspaceConfigurationResponseOut.d.ts +10 -0
  287. package/dist/cjs/api/types/WorkspaceConfigurationResponseOut.js +3 -0
  288. package/dist/cjs/api/types/WorkspaceDisclaimerOut.d.ts +13 -0
  289. package/dist/cjs/api/types/WorkspaceDisclaimerOut.js +3 -0
  290. package/dist/cjs/api/types/WorkspaceInfoOut.d.ts +11 -0
  291. package/dist/cjs/api/types/WorkspaceInfoOut.js +3 -0
  292. package/dist/cjs/api/types/WorkspaceShareAccess.d.ts +6 -0
  293. package/dist/cjs/api/types/WorkspaceShareAccess.js +9 -0
  294. package/dist/cjs/api/types/index.d.ts +37 -1
  295. package/dist/cjs/api/types/index.js +37 -1
  296. package/dist/cjs/core/exports.d.ts +1 -0
  297. package/dist/cjs/core/exports.js +1 -0
  298. package/dist/cjs/core/index.d.ts +2 -0
  299. package/dist/cjs/core/index.js +2 -0
  300. package/dist/cjs/core/pagination/Page.d.ts +33 -0
  301. package/dist/cjs/core/pagination/Page.js +101 -0
  302. package/dist/cjs/core/pagination/exports.d.ts +1 -0
  303. package/dist/cjs/core/pagination/exports.js +2 -0
  304. package/dist/cjs/core/pagination/index.d.ts +1 -0
  305. package/dist/cjs/core/pagination/index.js +5 -0
  306. package/dist/cjs/core/utils/index.d.ts +1 -0
  307. package/dist/cjs/core/utils/index.js +5 -0
  308. package/dist/cjs/core/utils/setObjectProperty.d.ts +11 -0
  309. package/dist/cjs/core/utils/setObjectProperty.js +42 -0
  310. package/dist/cjs/version.d.ts +1 -1
  311. package/dist/cjs/version.js +1 -1
  312. package/dist/esm/BaseClient.mjs +2 -2
  313. package/dist/esm/Client.d.mts +15 -0
  314. package/dist/esm/Client.mjs +25 -0
  315. package/dist/esm/api/errors/BadGatewayError.d.mts +1 -2
  316. package/dist/esm/api/resources/agents/client/Client.d.mts +3 -3
  317. package/dist/esm/api/resources/agents/client/Client.mjs +19 -7
  318. package/dist/esm/api/resources/agents/client/requests/CustomAgentRequest.d.mts +3 -0
  319. package/dist/esm/api/resources/aop/client/Client.d.mts +66 -0
  320. package/dist/esm/api/resources/aop/client/Client.mjs +274 -0
  321. package/dist/esm/api/resources/aop/client/index.d.mts +1 -1
  322. package/dist/esm/api/resources/aop/client/index.mjs +1 -1
  323. package/dist/esm/api/resources/aop/client/requests/AopConfigUpdateRequestIn.d.mts +30 -0
  324. package/dist/esm/api/resources/aop/client/requests/AopCreateRequestIn.d.mts +37 -0
  325. package/dist/esm/api/resources/aop/client/requests/GetConfigAopRequest.d.mts +9 -0
  326. package/dist/esm/api/resources/aop/client/requests/index.d.mts +3 -0
  327. package/dist/esm/api/resources/aop/client/requests/index.mjs +1 -0
  328. package/dist/esm/api/resources/assets/client/Client.d.mts +109 -15
  329. package/dist/esm/api/resources/assets/client/Client.mjs +464 -23
  330. package/dist/esm/api/resources/assets/client/requests/ArchiveAssetsRequest.d.mts +9 -0
  331. package/dist/esm/api/resources/assets/client/requests/CreateAssetRequestIn.d.mts +5 -3
  332. package/dist/esm/api/resources/assets/client/requests/CreateProjectRequestIn.d.mts +6 -6
  333. package/dist/esm/api/resources/assets/client/requests/DownloadAssetsRequest.d.mts +9 -0
  334. package/dist/esm/api/resources/assets/client/requests/DuplicateAssetRequestIn.d.mts +16 -0
  335. package/dist/esm/api/resources/assets/client/requests/GetAssetsRequest.d.mts +9 -0
  336. package/dist/esm/api/resources/assets/client/requests/{AssetsListRequest.d.mts → ListAssetsRequest.d.mts} +7 -10
  337. package/dist/esm/api/resources/assets/client/requests/MoveAssetRequestIn.d.mts +14 -0
  338. package/dist/esm/api/resources/assets/client/requests/ShareAssetRequestIn.d.mts +27 -0
  339. package/dist/esm/api/resources/assets/client/requests/UpdateWorkspaceAccessRequestIn.d.mts +13 -0
  340. package/dist/esm/api/resources/assets/client/requests/index.d.mts +8 -1
  341. package/dist/esm/api/resources/computer/client/Client.d.mts +74 -0
  342. package/dist/esm/api/resources/computer/client/Client.mjs +299 -0
  343. package/dist/esm/api/resources/computer/client/index.d.mts +1 -0
  344. package/dist/esm/api/resources/computer/client/index.mjs +1 -0
  345. package/dist/esm/api/resources/computer/client/requests/CreateSshAccessRequestIn.d.mts +12 -0
  346. package/dist/esm/api/resources/computer/client/requests/CreateSshAccessRequestIn.mjs +2 -0
  347. package/dist/esm/api/resources/computer/client/requests/DeployComputerRequestIn.d.mts +12 -0
  348. package/dist/esm/api/resources/computer/client/requests/DeployComputerRequestIn.mjs +2 -0
  349. package/dist/esm/api/resources/computer/client/requests/RevokeSshAccessRequestIn.d.mts +12 -0
  350. package/dist/esm/api/resources/computer/client/requests/RevokeSshAccessRequestIn.mjs +2 -0
  351. package/dist/esm/api/resources/computer/client/requests/index.d.mts +3 -0
  352. package/dist/esm/api/resources/computer/client/requests/index.mjs +1 -0
  353. package/dist/esm/api/resources/computer/index.d.mts +1 -0
  354. package/dist/esm/api/resources/computer/index.mjs +1 -0
  355. package/dist/esm/api/resources/databases/client/Client.d.mts +37 -37
  356. package/dist/esm/api/resources/databases/client/Client.mjs +75 -70
  357. package/dist/esm/api/resources/databases/client/requests/DatabaseSqlRequest.d.mts +2 -0
  358. package/dist/esm/api/resources/databases/client/requests/{DatabasesDeleteRequest.d.mts → DeleteDatabasesRequest.d.mts} +6 -3
  359. package/dist/esm/api/resources/databases/client/requests/DeleteDatabasesRequest.mjs +2 -0
  360. package/dist/esm/api/resources/databases/client/requests/GetStatusDatabasesRequest.d.mts +9 -0
  361. package/dist/esm/api/resources/databases/client/requests/GetStatusDatabasesRequest.mjs +2 -0
  362. package/dist/esm/api/resources/databases/client/requests/GetTableSchemaDatabasesRequest.d.mts +11 -0
  363. package/dist/esm/api/resources/databases/client/requests/GetTableSchemaDatabasesRequest.mjs +2 -0
  364. package/dist/esm/api/resources/databases/client/requests/InsertDataRequest.d.mts +4 -0
  365. package/dist/esm/api/resources/databases/client/requests/ListTablesDatabasesRequest.d.mts +9 -0
  366. package/dist/esm/api/resources/databases/client/requests/ListTablesDatabasesRequest.mjs +2 -0
  367. package/dist/{cjs/api/resources/databases/client/requests/DatabasesSelectRequest.d.ts → esm/api/resources/databases/client/requests/SelectDatabasesRequest.d.mts} +7 -7
  368. package/dist/esm/api/resources/databases/client/requests/SelectDatabasesRequest.mjs +2 -0
  369. package/dist/esm/api/resources/databases/client/requests/UpdateDataRequest.d.mts +4 -1
  370. package/dist/esm/api/resources/databases/client/requests/index.d.mts +5 -2
  371. package/dist/esm/api/resources/index.d.mts +13 -0
  372. package/dist/esm/api/resources/index.mjs +13 -0
  373. package/dist/esm/api/resources/meetings/client/Client.d.mts +60 -0
  374. package/dist/esm/api/resources/meetings/client/Client.mjs +294 -0
  375. package/dist/esm/api/resources/meetings/client/index.d.mts +1 -0
  376. package/dist/esm/api/resources/meetings/client/index.mjs +1 -0
  377. package/dist/esm/api/resources/meetings/client/requests/DownloadMeetingsRequest.d.mts +12 -0
  378. package/dist/esm/api/resources/meetings/client/requests/DownloadMeetingsRequest.mjs +2 -0
  379. package/dist/esm/api/resources/meetings/client/requests/GetMeetingsRequest.d.mts +9 -0
  380. package/dist/esm/api/resources/meetings/client/requests/GetMeetingsRequest.mjs +2 -0
  381. package/dist/esm/api/resources/meetings/client/requests/ListMeetingsRequest.d.mts +29 -0
  382. package/dist/esm/api/resources/meetings/client/requests/ListMeetingsRequest.mjs +2 -0
  383. package/dist/esm/api/resources/meetings/client/requests/index.d.mts +3 -0
  384. package/dist/esm/api/resources/meetings/client/requests/index.mjs +1 -0
  385. package/dist/esm/api/resources/meetings/index.d.mts +2 -0
  386. package/dist/esm/api/resources/meetings/index.mjs +2 -0
  387. package/dist/esm/api/resources/meetings/types/DownloadMeetingsRequestArtifact.d.mts +9 -0
  388. package/dist/esm/api/resources/meetings/types/DownloadMeetingsRequestArtifact.mjs +9 -0
  389. package/dist/esm/api/resources/meetings/types/ListMeetingsRequestDomainMatch.d.mts +6 -0
  390. package/dist/esm/api/resources/meetings/types/ListMeetingsRequestDomainMatch.mjs +6 -0
  391. package/dist/esm/api/resources/meetings/types/ListMeetingsRequestParticipantMatch.d.mts +6 -0
  392. package/dist/esm/api/resources/meetings/types/ListMeetingsRequestParticipantMatch.mjs +6 -0
  393. package/dist/esm/api/resources/meetings/types/ListMeetingsRequestSortBy.d.mts +7 -0
  394. package/dist/esm/api/resources/meetings/types/ListMeetingsRequestSortBy.mjs +7 -0
  395. package/dist/esm/api/resources/meetings/types/ListMeetingsRequestSortDirection.d.mts +6 -0
  396. package/dist/esm/api/resources/meetings/types/ListMeetingsRequestSortDirection.mjs +6 -0
  397. package/dist/esm/api/resources/meetings/types/index.d.mts +5 -0
  398. package/dist/esm/api/resources/meetings/types/index.mjs +5 -0
  399. package/dist/esm/api/resources/query/client/Client.d.mts +2 -2
  400. package/dist/esm/api/resources/query/client/Client.mjs +1 -1
  401. package/dist/esm/api/resources/query/client/requests/{QueryExecuteSnippetRequest.d.mts → ExecuteSnippetQueryRequest.d.mts} +1 -1
  402. package/dist/esm/api/resources/query/client/requests/ExecuteSnippetQueryRequest.mjs +2 -0
  403. package/dist/esm/api/resources/query/client/requests/index.d.mts +1 -1
  404. package/dist/esm/api/resources/semanticModel/client/Client.d.mts +13 -9
  405. package/dist/esm/api/resources/semanticModel/client/Client.mjs +37 -19
  406. package/dist/esm/api/resources/semanticModel/client/requests/GenerateTokenSemanticModelRequest.d.mts +9 -0
  407. package/dist/esm/api/resources/semanticModel/client/requests/GenerateTokenSemanticModelRequest.mjs +2 -0
  408. package/dist/esm/api/resources/semanticModel/client/requests/GetMetaSemanticModelRequest.d.mts +9 -0
  409. package/dist/esm/api/resources/semanticModel/client/requests/GetMetaSemanticModelRequest.mjs +2 -0
  410. package/dist/esm/api/resources/semanticModel/client/requests/SemanticModelQueryRequestIn.d.mts +5 -3
  411. package/dist/esm/api/resources/semanticModel/client/requests/index.d.mts +2 -0
  412. package/dist/esm/api/resources/sessions/client/Client.d.mts +60 -0
  413. package/dist/esm/api/resources/sessions/client/Client.mjs +300 -0
  414. package/dist/esm/api/resources/sessions/client/index.d.mts +1 -0
  415. package/dist/esm/api/resources/sessions/client/index.mjs +1 -0
  416. package/dist/esm/api/resources/sessions/client/requests/DownloadSessionsRequest.d.mts +12 -0
  417. package/dist/esm/api/resources/sessions/client/requests/DownloadSessionsRequest.mjs +2 -0
  418. package/dist/esm/api/resources/sessions/client/requests/GetSessionsRequest.d.mts +9 -0
  419. package/dist/esm/api/resources/sessions/client/requests/GetSessionsRequest.mjs +2 -0
  420. package/dist/esm/api/resources/sessions/client/requests/ListSessionsRequest.d.mts +33 -0
  421. package/dist/esm/api/resources/sessions/client/requests/ListSessionsRequest.mjs +2 -0
  422. package/dist/esm/api/resources/sessions/client/requests/index.d.mts +3 -0
  423. package/dist/esm/api/resources/sessions/client/requests/index.mjs +1 -0
  424. package/dist/esm/api/resources/sessions/index.d.mts +2 -0
  425. package/dist/esm/api/resources/sessions/index.mjs +2 -0
  426. package/dist/esm/api/resources/sessions/types/DownloadSessionsRequestExportFormat.d.mts +8 -0
  427. package/dist/esm/api/resources/sessions/types/DownloadSessionsRequestExportFormat.mjs +8 -0
  428. package/dist/esm/api/resources/sessions/types/ListSessionsRequestSortBy.d.mts +7 -0
  429. package/dist/esm/api/resources/sessions/types/ListSessionsRequestSortBy.mjs +7 -0
  430. package/dist/esm/api/resources/sessions/types/ListSessionsRequestSortDirection.d.mts +6 -0
  431. package/dist/esm/api/resources/sessions/types/ListSessionsRequestSortDirection.mjs +6 -0
  432. package/dist/esm/api/resources/sessions/types/index.d.mts +3 -0
  433. package/dist/esm/api/resources/sessions/types/index.mjs +3 -0
  434. package/dist/esm/api/resources/threads/client/Client.d.mts +10 -6
  435. package/dist/esm/api/resources/threads/client/Client.mjs +18 -12
  436. package/dist/esm/api/resources/threads/client/index.d.mts +1 -1
  437. package/dist/esm/api/resources/threads/client/index.mjs +1 -1
  438. package/dist/esm/api/resources/threads/client/requests/GetStatusThreadsRequest.d.mts +10 -0
  439. package/dist/esm/api/resources/threads/client/requests/GetStatusThreadsRequest.mjs +2 -0
  440. package/dist/esm/api/resources/threads/client/requests/StopThreadsRequest.d.mts +10 -0
  441. package/dist/esm/api/resources/threads/client/requests/StopThreadsRequest.mjs +2 -0
  442. package/dist/esm/api/resources/threads/client/requests/index.d.mts +2 -0
  443. package/dist/esm/api/resources/threads/client/requests/index.mjs +1 -0
  444. package/dist/esm/api/resources/tools/client/Client.d.mts +40 -24
  445. package/dist/esm/api/resources/tools/client/Client.mjs +171 -43
  446. package/dist/esm/api/resources/tools/client/requests/AssetReadRequestIn.d.mts +12 -0
  447. package/dist/esm/api/resources/tools/client/requests/AssetReadRequestIn.mjs +2 -0
  448. package/dist/esm/api/resources/tools/client/requests/BodySaveAssetApiV0ToolsFileSavePost.d.mts +2 -3
  449. package/dist/esm/api/resources/tools/client/requests/DataFrameToolsRequest.d.mts +18 -0
  450. package/dist/esm/api/resources/tools/client/requests/DataFrameToolsRequest.mjs +2 -0
  451. package/dist/esm/api/resources/tools/client/requests/GetAssetContentToolsRequest.d.mts +10 -0
  452. package/dist/esm/api/resources/tools/client/requests/GetAssetContentToolsRequest.mjs +2 -0
  453. package/dist/esm/api/resources/tools/client/requests/GetAssetScreenshotToolsRequest.d.mts +10 -0
  454. package/dist/esm/api/resources/tools/client/requests/GetAssetScreenshotToolsRequest.mjs +2 -0
  455. package/dist/esm/api/resources/tools/client/requests/ListContentsToolsRequest.d.mts +9 -0
  456. package/dist/esm/api/resources/tools/client/requests/ListContentsToolsRequest.mjs +2 -0
  457. package/dist/esm/api/resources/tools/client/requests/RawDataToolsRequest.d.mts +9 -0
  458. package/dist/esm/api/resources/tools/client/requests/RawDataToolsRequest.mjs +2 -0
  459. package/dist/esm/api/resources/tools/client/requests/index.d.mts +6 -5
  460. package/dist/esm/api/resources/tools/resources/sheets/client/requests/DuplicateSheetRequest.d.mts +1 -1
  461. package/dist/esm/api/resources/tools/resources/sheets/client/requests/GetTableRequest.d.mts +1 -1
  462. package/dist/esm/api/resources/tools/resources/sheets/client/requests/InsertTableRowRequest.d.mts +1 -1
  463. package/dist/esm/api/resources/tools/resources/sheets/client/requests/UpdateSheetCellRequest.d.mts +2 -0
  464. package/dist/esm/api/resources/tools/resources/sheets/client/requests/UpdateSheetRangeRequest.d.mts +5 -3
  465. package/dist/esm/api/resources/tools/types/DataFrameToolsRequestColumnsItem.d.mts +1 -0
  466. package/dist/esm/api/resources/tools/types/DataFrameToolsRequestColumnsItem.mjs +2 -0
  467. package/dist/esm/api/resources/tools/types/DataFrameToolsRequestSheetName.d.mts +4 -0
  468. package/dist/esm/api/resources/tools/types/DataFrameToolsRequestSheetName.mjs +2 -0
  469. package/dist/esm/api/resources/tools/types/index.d.mts +2 -1
  470. package/dist/esm/api/resources/tools/types/index.mjs +2 -1
  471. package/dist/esm/api/resources/users/client/Client.d.mts +24 -0
  472. package/dist/esm/api/resources/users/client/Client.mjs +79 -0
  473. package/dist/esm/api/resources/users/client/index.d.mts +1 -0
  474. package/dist/esm/api/resources/users/client/index.mjs +1 -0
  475. package/dist/esm/api/resources/users/index.d.mts +1 -0
  476. package/dist/esm/api/resources/users/index.mjs +1 -0
  477. package/dist/esm/api/resources/workspaces/client/Client.d.mts +48 -0
  478. package/dist/esm/api/resources/workspaces/client/Client.mjs +193 -0
  479. package/dist/esm/api/resources/workspaces/client/index.d.mts +1 -0
  480. package/dist/esm/api/resources/workspaces/client/index.mjs +1 -0
  481. package/dist/esm/api/resources/workspaces/client/requests/GetConfigurationWorkspacesRequest.d.mts +9 -0
  482. package/dist/esm/api/resources/workspaces/client/requests/GetConfigurationWorkspacesRequest.mjs +2 -0
  483. package/dist/esm/api/resources/workspaces/client/requests/UpdateWorkspaceConfigurationRequestIn.d.mts +12 -0
  484. package/dist/esm/api/resources/workspaces/client/requests/UpdateWorkspaceConfigurationRequestIn.mjs +2 -0
  485. package/dist/esm/api/resources/workspaces/client/requests/index.d.mts +2 -0
  486. package/dist/esm/api/resources/workspaces/client/requests/index.mjs +1 -0
  487. package/dist/esm/api/resources/workspaces/index.d.mts +1 -0
  488. package/dist/esm/api/resources/workspaces/index.mjs +1 -0
  489. package/dist/esm/api/types/AopConfigResponseOut.d.mts +27 -0
  490. package/dist/esm/api/types/AopConfigResponseOut.mjs +2 -0
  491. package/dist/esm/api/types/AopConfigUpdateResponseOut.d.mts +11 -0
  492. package/dist/esm/api/types/AopConfigUpdateResponseOut.mjs +2 -0
  493. package/dist/esm/api/types/AopCreateResponseOut.d.mts +17 -0
  494. package/dist/esm/api/types/AopCreateResponseOut.mjs +2 -0
  495. package/dist/esm/api/types/AopExecuteRequestIn.d.mts +3 -1
  496. package/dist/esm/api/types/AopExecuteResponseOut.d.mts +2 -2
  497. package/dist/esm/api/types/AssetCapabilitiesResponseOut.d.mts +10 -0
  498. package/dist/esm/api/types/AssetCapabilitiesResponseOut.mjs +2 -0
  499. package/dist/esm/api/types/AssetComment.d.mts +19 -0
  500. package/dist/esm/api/types/AssetComment.mjs +2 -0
  501. package/dist/esm/api/types/AssetCommentThread.d.mts +22 -0
  502. package/dist/esm/api/types/AssetCommentThread.mjs +2 -0
  503. package/dist/esm/api/types/AssetContentRequestOut.d.mts +3 -0
  504. package/dist/esm/api/types/AssetNode.d.mts +1 -1
  505. package/dist/esm/api/types/AssetReadErrorOut.d.mts +15 -0
  506. package/dist/esm/api/types/AssetReadErrorOut.mjs +2 -0
  507. package/dist/esm/api/types/AssetReadResponseOut.d.mts +8 -0
  508. package/dist/esm/api/types/AssetReadResponseOut.mjs +2 -0
  509. package/dist/esm/api/types/AssetReadResult.d.mts +28 -0
  510. package/dist/esm/api/types/AssetReadResult.mjs +2 -0
  511. package/dist/esm/api/types/BorderModel.d.mts +2 -2
  512. package/dist/esm/api/types/BordersModel.d.mts +4 -4
  513. package/dist/esm/api/types/CellFormat.d.mts +10 -10
  514. package/dist/esm/api/types/Chunk.d.mts +1 -1
  515. package/dist/esm/api/types/ChunkResult.d.mts +1 -1
  516. package/dist/esm/api/types/ConversationAssetInfo.d.mts +12 -12
  517. package/dist/esm/api/types/ConversationMessage.d.mts +4 -1
  518. package/dist/esm/api/types/ConversationResult.d.mts +6 -6
  519. package/dist/esm/api/types/CreatableAssetType.d.mts +2 -0
  520. package/dist/esm/api/types/CreatableAssetType.mjs +2 -0
  521. package/dist/esm/api/types/CreateAssetResponseOut.d.mts +3 -1
  522. package/dist/esm/api/types/CreateProjectResponseOut.d.mts +4 -4
  523. package/dist/esm/api/types/DataFrameRequestOut.d.mts +3 -3
  524. package/dist/esm/api/types/DatabaseColumnInfo.d.mts +2 -2
  525. package/dist/esm/api/types/DatabaseMutationResponse.d.mts +1 -1
  526. package/dist/esm/api/types/DatabaseSqlResponse.d.mts +3 -3
  527. package/dist/esm/api/types/DatabaseStatusResponse.d.mts +1 -1
  528. package/dist/esm/api/types/DatabaseTableInfo.d.mts +1 -1
  529. package/dist/esm/api/types/DeployComputerResponseOut.d.mts +11 -0
  530. package/dist/esm/api/types/DeployComputerResponseOut.mjs +2 -0
  531. package/dist/esm/api/types/DimensionProperties.d.mts +4 -4
  532. package/dist/esm/api/types/DuplicateAssetResponseOut.d.mts +17 -0
  533. package/dist/esm/api/types/DuplicateAssetResponseOut.mjs +2 -0
  534. package/dist/esm/api/types/GeneralAgentConfig.d.mts +1 -1
  535. package/dist/esm/api/types/GeneralAgentRequest.d.mts +1 -1
  536. package/dist/esm/api/types/GeneralAgentResponseMessage.d.mts +15 -12
  537. package/dist/esm/api/types/GeneralAgentResponseMessageKwargs.d.mts +11 -8
  538. package/dist/esm/api/types/GetTableResponse.d.mts +2 -0
  539. package/dist/esm/api/types/GridRange.d.mts +7 -0
  540. package/dist/esm/api/types/InputMessage.d.mts +7 -6
  541. package/dist/esm/api/types/InputMessageContentOneItem.d.mts +22 -0
  542. package/dist/esm/api/types/InputMessageContentOneItem.mjs +2 -0
  543. package/dist/esm/api/types/MeetingArtifactsOut.d.mts +17 -0
  544. package/dist/esm/api/types/MeetingArtifactsOut.mjs +2 -0
  545. package/dist/esm/api/types/MeetingOut.d.mts +28 -0
  546. package/dist/esm/api/types/MeetingOut.mjs +2 -0
  547. package/dist/esm/api/types/MeetingParticipantOut.d.mts +9 -0
  548. package/dist/esm/api/types/MeetingParticipantOut.mjs +2 -0
  549. package/dist/esm/api/types/MoveAssetResponseOut.d.mts +15 -0
  550. package/dist/esm/api/types/MoveAssetResponseOut.mjs +2 -0
  551. package/dist/esm/api/types/PaginatedAssetsOut.d.mts +1 -1
  552. package/dist/esm/api/types/PaginatedMeetingsOut.d.mts +18 -0
  553. package/dist/esm/api/types/PaginatedMeetingsOut.mjs +2 -0
  554. package/dist/esm/api/types/PaginatedSessionsOut.d.mts +18 -0
  555. package/dist/esm/api/types/PaginatedSessionsOut.mjs +2 -0
  556. package/dist/esm/api/types/PublicAssetOut.d.mts +7 -5
  557. package/dist/esm/api/types/ReadCapabilitiesOut.d.mts +19 -0
  558. package/dist/esm/api/types/ReadCapabilitiesOut.mjs +2 -0
  559. package/dist/esm/api/types/RedactedThinkingContent.d.mts +6 -0
  560. package/dist/esm/api/types/RedactedThinkingContent.mjs +2 -0
  561. package/dist/esm/api/types/RevokeSshAccessResponseOut.d.mts +7 -0
  562. package/dist/esm/api/types/RevokeSshAccessResponseOut.mjs +2 -0
  563. package/dist/esm/api/types/RunTaskResponse.d.mts +3 -3
  564. package/dist/esm/api/types/SemanticModelMetaResponseOut.d.mts +10 -2
  565. package/dist/esm/api/types/SessionOut.d.mts +41 -0
  566. package/dist/esm/api/types/SessionOut.mjs +2 -0
  567. package/dist/esm/api/types/ShareAssetResponseOut.d.mts +10 -0
  568. package/dist/esm/api/types/ShareAssetResponseOut.mjs +2 -0
  569. package/dist/esm/api/types/SharePermissionType.d.mts +6 -0
  570. package/dist/esm/api/types/SharePermissionType.mjs +6 -0
  571. package/dist/esm/api/types/ShareRecipient.d.mts +10 -0
  572. package/dist/esm/api/types/ShareRecipient.mjs +2 -0
  573. package/dist/esm/api/types/ShareRecipientResultOut.d.mts +13 -0
  574. package/dist/esm/api/types/ShareRecipientResultOut.mjs +2 -0
  575. package/dist/esm/api/types/Sheet.d.mts +8 -8
  576. package/dist/esm/api/types/SheetOperationResponse.d.mts +2 -0
  577. package/dist/esm/api/types/SshAccessResponseOut.d.mts +13 -0
  578. package/dist/esm/api/types/SshAccessResponseOut.mjs +2 -0
  579. package/dist/esm/api/types/StructuredDataExtractorResponse.d.mts +2 -2
  580. package/dist/esm/api/types/TextFormatModel.d.mts +8 -8
  581. package/dist/esm/api/types/ThemeColor.d.mts +1 -1
  582. package/dist/esm/api/types/ThinkingContent.d.mts +7 -0
  583. package/dist/esm/api/types/ThinkingContent.mjs +2 -0
  584. package/dist/esm/api/types/ThreadBatchStopResultItem.d.mts +1 -1
  585. package/dist/esm/api/types/ThreadStatusResponseOut.d.mts +2 -2
  586. package/dist/esm/api/types/ToolResultContent.d.mts +11 -0
  587. package/dist/esm/api/types/ToolResultContent.mjs +2 -0
  588. package/dist/esm/api/types/ToolUseContent.d.mts +8 -0
  589. package/dist/esm/api/types/ToolUseContent.mjs +2 -0
  590. package/dist/esm/api/types/UpdateWorkspaceDisclaimerIn.d.mts +13 -0
  591. package/dist/esm/api/types/UpdateWorkspaceDisclaimerIn.mjs +2 -0
  592. package/dist/esm/api/types/UserInfoOut.d.mts +14 -0
  593. package/dist/esm/api/types/UserInfoOut.mjs +2 -0
  594. package/dist/esm/api/types/WorkspaceAccessResponseOut.d.mts +9 -0
  595. package/dist/esm/api/types/WorkspaceAccessResponseOut.mjs +2 -0
  596. package/dist/esm/api/types/WorkspaceConfigurationResponseOut.d.mts +10 -0
  597. package/dist/esm/api/types/WorkspaceConfigurationResponseOut.mjs +2 -0
  598. package/dist/esm/api/types/WorkspaceDisclaimerOut.d.mts +13 -0
  599. package/dist/esm/api/types/WorkspaceDisclaimerOut.mjs +2 -0
  600. package/dist/esm/api/types/WorkspaceInfoOut.d.mts +11 -0
  601. package/dist/esm/api/types/WorkspaceInfoOut.mjs +2 -0
  602. package/dist/esm/api/types/WorkspaceShareAccess.d.mts +6 -0
  603. package/dist/esm/api/types/WorkspaceShareAccess.mjs +6 -0
  604. package/dist/esm/api/types/index.d.mts +37 -1
  605. package/dist/esm/api/types/index.mjs +37 -1
  606. package/dist/esm/core/exports.d.mts +1 -0
  607. package/dist/esm/core/exports.mjs +1 -0
  608. package/dist/esm/core/index.d.mts +2 -0
  609. package/dist/esm/core/index.mjs +2 -0
  610. package/dist/esm/core/pagination/Page.d.mts +33 -0
  611. package/dist/esm/core/pagination/Page.mjs +97 -0
  612. package/dist/esm/core/pagination/exports.d.mts +1 -0
  613. package/dist/esm/core/pagination/exports.mjs +1 -0
  614. package/dist/esm/core/pagination/index.d.mts +1 -0
  615. package/dist/esm/core/pagination/index.mjs +1 -0
  616. package/dist/esm/core/utils/index.d.mts +1 -0
  617. package/dist/esm/core/utils/index.mjs +1 -0
  618. package/dist/esm/core/utils/setObjectProperty.d.mts +11 -0
  619. package/dist/esm/core/utils/setObjectProperty.mjs +39 -0
  620. package/dist/esm/version.d.mts +1 -1
  621. package/dist/esm/version.mjs +1 -1
  622. package/package.json +1 -1
  623. package/reference.md +1694 -318
  624. package/dist/cjs/api/resources/tools/client/requests/ToolsDataFrameRequest.d.ts +0 -22
  625. package/dist/cjs/api/resources/tools/client/requests/ToolsGetAssetScreenshotRequest.d.ts +0 -11
  626. package/dist/cjs/api/resources/tools/client/requests/ToolsListContentsRequest.d.ts +0 -13
  627. package/dist/cjs/api/resources/tools/types/ToolsDataFrameRequestColumnsItem.d.ts +0 -1
  628. package/dist/cjs/api/types/SemanticModelErrorResponse.d.ts +0 -6
  629. package/dist/esm/api/resources/tools/client/requests/ToolsDataFrameRequest.d.mts +0 -22
  630. package/dist/esm/api/resources/tools/client/requests/ToolsGetAssetScreenshotRequest.d.mts +0 -11
  631. package/dist/esm/api/resources/tools/client/requests/ToolsListContentsRequest.d.mts +0 -13
  632. package/dist/esm/api/resources/tools/types/ToolsDataFrameRequestColumnsItem.d.mts +0 -1
  633. package/dist/esm/api/types/SemanticModelErrorResponse.d.mts +0 -6
  634. /package/dist/cjs/api/resources/{assets/client/requests/AssetsListRequest.js → aop/client/requests/AopConfigUpdateRequestIn.js} +0 -0
  635. /package/dist/cjs/api/resources/{databases/client/requests/DatabasesDeleteRequest.js → aop/client/requests/AopCreateRequestIn.js} +0 -0
  636. /package/dist/cjs/api/resources/{databases/client/requests/DatabasesSelectRequest.js → aop/client/requests/GetConfigAopRequest.js} +0 -0
  637. /package/dist/cjs/api/resources/{query/client/requests/QueryExecuteSnippetRequest.js → assets/client/requests/ArchiveAssetsRequest.js} +0 -0
  638. /package/dist/cjs/api/resources/{tools/client/requests/ToolsDataFrameRequest.js → assets/client/requests/DownloadAssetsRequest.js} +0 -0
  639. /package/dist/cjs/api/resources/{tools/client/requests/ToolsGetAssetContentRequest.js → assets/client/requests/DuplicateAssetRequestIn.js} +0 -0
  640. /package/dist/cjs/api/resources/{tools/client/requests/ToolsGetAssetScreenshotRequest.js → assets/client/requests/GetAssetsRequest.js} +0 -0
  641. /package/dist/cjs/api/resources/{tools/client/requests/ToolsListContentsRequest.js → assets/client/requests/ListAssetsRequest.js} +0 -0
  642. /package/dist/cjs/api/resources/{tools/client/requests/ToolsRawDataRequest.js → assets/client/requests/MoveAssetRequestIn.js} +0 -0
  643. /package/dist/cjs/api/resources/{tools/types/ToolsDataFrameRequestColumnsItem.js → assets/client/requests/ShareAssetRequestIn.js} +0 -0
  644. /package/dist/cjs/api/{types/SemanticModelErrorResponse.js → resources/assets/client/requests/UpdateWorkspaceAccessRequestIn.js} +0 -0
  645. /package/dist/esm/api/resources/{assets/client/requests/AssetsListRequest.mjs → aop/client/requests/AopConfigUpdateRequestIn.mjs} +0 -0
  646. /package/dist/esm/api/resources/{databases/client/requests/DatabasesDeleteRequest.mjs → aop/client/requests/AopCreateRequestIn.mjs} +0 -0
  647. /package/dist/esm/api/resources/{databases/client/requests/DatabasesSelectRequest.mjs → aop/client/requests/GetConfigAopRequest.mjs} +0 -0
  648. /package/dist/esm/api/resources/{query/client/requests/QueryExecuteSnippetRequest.mjs → assets/client/requests/ArchiveAssetsRequest.mjs} +0 -0
  649. /package/dist/esm/api/resources/{tools/client/requests/ToolsDataFrameRequest.mjs → assets/client/requests/DownloadAssetsRequest.mjs} +0 -0
  650. /package/dist/esm/api/resources/{tools/client/requests/ToolsGetAssetContentRequest.mjs → assets/client/requests/DuplicateAssetRequestIn.mjs} +0 -0
  651. /package/dist/esm/api/resources/{tools/client/requests/ToolsGetAssetScreenshotRequest.mjs → assets/client/requests/GetAssetsRequest.mjs} +0 -0
  652. /package/dist/esm/api/resources/{tools/client/requests/ToolsListContentsRequest.mjs → assets/client/requests/ListAssetsRequest.mjs} +0 -0
  653. /package/dist/esm/api/resources/{tools/client/requests/ToolsRawDataRequest.mjs → assets/client/requests/MoveAssetRequestIn.mjs} +0 -0
  654. /package/dist/esm/api/resources/{tools/types/ToolsDataFrameRequestColumnsItem.mjs → assets/client/requests/ShareAssetRequestIn.mjs} +0 -0
  655. /package/dist/esm/api/{types/SemanticModelErrorResponse.mjs → resources/assets/client/requests/UpdateWorkspaceAccessRequestIn.mjs} +0 -0
@@ -8,6 +8,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __rest = (this && this.__rest) || function (s, e) {
12
+ var t = {};
13
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
14
+ t[p] = s[p];
15
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
16
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
17
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
18
+ t[p[i]] = s[p[i]];
19
+ }
20
+ return t;
21
+ };
11
22
  import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.mjs";
12
23
  import { mergeHeaders } from "../../../../core/headers.mjs";
13
24
  import * as core from "../../../../core/index.mjs";
@@ -21,18 +32,13 @@ export class AssetsClient {
21
32
  /**
22
33
  * 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.
23
34
  *
24
- * @param {AthenaIntelligence.AssetsListRequest} request
35
+ * @param {AthenaIntelligence.ListAssetsRequest} request
25
36
  * @param {AssetsClient.RequestOptions} requestOptions - Request-specific configuration.
26
37
  *
27
38
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
28
39
  *
29
40
  * @example
30
- * await client.assets.list({
31
- * limit: 1,
32
- * offset: 1,
33
- * filters: "filters",
34
- * sort: "sort"
35
- * })
41
+ * await client.assets.list()
36
42
  */
37
43
  list(request = {}, requestOptions) {
38
44
  return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
@@ -40,7 +46,7 @@ export class AssetsClient {
40
46
  __list() {
41
47
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
42
48
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
43
- const { limit, offset, filters, sort } = request;
49
+ const { limit, offset, filters, sort, workspace_id: workspaceId } = request;
44
50
  const _queryParams = {};
45
51
  if (limit != null) {
46
52
  _queryParams.limit = limit.toString();
@@ -48,12 +54,15 @@ export class AssetsClient {
48
54
  if (offset != null) {
49
55
  _queryParams.offset = offset.toString();
50
56
  }
51
- if (filters != null) {
57
+ if (filters !== undefined) {
52
58
  _queryParams.filters = filters;
53
59
  }
54
- if (sort != null) {
60
+ if (sort !== undefined) {
55
61
  _queryParams.sort = sort;
56
62
  }
63
+ if (workspaceId !== undefined) {
64
+ _queryParams.workspace_id = workspaceId;
65
+ }
57
66
  const _authRequest = yield this._options.authProvider.getAuthRequest();
58
67
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
59
68
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
@@ -108,14 +117,16 @@ export class AssetsClient {
108
117
  });
109
118
  }
110
119
  /**
111
- * 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.
120
+ * Create a new asset such as a spreadsheet, document, folder, database, or computer in your workspace. This endpoint uses internal GraphQL mutations to create assets with proper permissions and workspace integration. Computer assets return 202 after the initializing asset is committed; runtime provisioning continues asynchronously.
112
121
  *
113
122
  * @param {AthenaIntelligence.CreateAssetRequestIn} request
114
123
  * @param {AssetsClient.RequestOptions} requestOptions - Request-specific configuration.
115
124
  *
116
125
  * @throws {@link AthenaIntelligence.BadRequestError}
126
+ * @throws {@link AthenaIntelligence.ForbiddenError}
117
127
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
118
128
  * @throws {@link AthenaIntelligence.InternalServerError}
129
+ * @throws {@link AthenaIntelligence.ServiceUnavailableError}
119
130
  *
120
131
  * @example
121
132
  * await client.assets.create({
@@ -156,10 +167,14 @@ export class AssetsClient {
156
167
  switch (_response.error.statusCode) {
157
168
  case 400:
158
169
  throw new AthenaIntelligence.BadRequestError(_response.error.body, _response.rawResponse);
170
+ case 403:
171
+ throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
159
172
  case 422:
160
173
  throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
161
174
  case 500:
162
175
  throw new AthenaIntelligence.InternalServerError(_response.error.body, _response.rawResponse);
176
+ case 503:
177
+ throw new AthenaIntelligence.ServiceUnavailableError(_response.error.body, _response.rawResponse);
163
178
  default:
164
179
  throw new errors.AthenaIntelligenceError({
165
180
  statusCode: _response.error.statusCode,
@@ -282,10 +297,99 @@ export class AssetsClient {
282
297
  }
283
298
  });
284
299
  }
300
+ /**
301
+ * Duplicate an asset using the same duplication service used by the Athena UI. Optionally target a workspace and/or destination folder.
302
+ *
303
+ * @param {AthenaIntelligence.DuplicateAssetRequestIn} request
304
+ * @param {AssetsClient.RequestOptions} requestOptions - Request-specific configuration.
305
+ *
306
+ * @throws {@link AthenaIntelligence.BadRequestError}
307
+ * @throws {@link AthenaIntelligence.ForbiddenError}
308
+ * @throws {@link AthenaIntelligence.NotFoundError}
309
+ * @throws {@link AthenaIntelligence.UnprocessableEntityError}
310
+ * @throws {@link AthenaIntelligence.InternalServerError}
311
+ *
312
+ * @example
313
+ * await client.assets.duplicate({
314
+ * parent_folder_id: "asset_folder_12345",
315
+ * source_asset_id: "asset_92492920-d118-42d3-95b4-00eccfe0754f",
316
+ * workspace_id: "workspace_abc123"
317
+ * })
318
+ */
319
+ duplicate(request, requestOptions) {
320
+ return core.HttpResponsePromise.fromPromise(this.__duplicate(request, requestOptions));
321
+ }
322
+ __duplicate(request, requestOptions) {
323
+ return __awaiter(this, void 0, void 0, function* () {
324
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
325
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
326
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
327
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
328
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.AthenaIntelligenceEnvironment.Production, "api/v0/assets/duplicate"),
329
+ method: "POST",
330
+ headers: _headers,
331
+ contentType: "application/json",
332
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
333
+ requestType: "json",
334
+ body: request,
335
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
336
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
337
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
338
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
339
+ logging: this._options.logging,
340
+ });
341
+ if (_response.ok) {
342
+ return {
343
+ data: _response.body,
344
+ rawResponse: _response.rawResponse,
345
+ };
346
+ }
347
+ if (_response.error.reason === "status-code") {
348
+ switch (_response.error.statusCode) {
349
+ case 400:
350
+ throw new AthenaIntelligence.BadRequestError(_response.error.body, _response.rawResponse);
351
+ case 403:
352
+ throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
353
+ case 404:
354
+ throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
355
+ case 422:
356
+ throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
357
+ case 500:
358
+ throw new AthenaIntelligence.InternalServerError(_response.error.body, _response.rawResponse);
359
+ default:
360
+ throw new errors.AthenaIntelligenceError({
361
+ statusCode: _response.error.statusCode,
362
+ body: _response.error.body,
363
+ rawResponse: _response.rawResponse,
364
+ });
365
+ }
366
+ }
367
+ switch (_response.error.reason) {
368
+ case "non-json":
369
+ throw new errors.AthenaIntelligenceError({
370
+ statusCode: _response.error.statusCode,
371
+ body: _response.error.rawBody,
372
+ rawResponse: _response.rawResponse,
373
+ });
374
+ case "body-is-null":
375
+ throw new errors.AthenaIntelligenceError({
376
+ statusCode: _response.error.statusCode,
377
+ rawResponse: _response.rawResponse,
378
+ });
379
+ case "timeout":
380
+ throw new errors.AthenaIntelligenceTimeoutError("Timeout exceeded when calling POST /api/v0/assets/duplicate.");
381
+ case "unknown":
382
+ throw new errors.AthenaIntelligenceError({
383
+ message: _response.error.errorMessage,
384
+ rawResponse: _response.rawResponse,
385
+ });
386
+ }
387
+ });
388
+ }
285
389
  /**
286
390
  * Retrieve a single asset by its ID. Returns comprehensive metadata including creation info, tags, timestamps, media type, and AI-generated summary.
287
391
  *
288
- * @param {string} asset_id
392
+ * @param {AthenaIntelligence.GetAssetsRequest} request
289
393
  * @param {AssetsClient.RequestOptions} requestOptions - Request-specific configuration.
290
394
  *
291
395
  * @throws {@link AthenaIntelligence.UnauthorizedError}
@@ -293,18 +397,21 @@ export class AssetsClient {
293
397
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
294
398
  *
295
399
  * @example
296
- * await client.assets.get("asset_id")
400
+ * await client.assets.get({
401
+ * asset_id: "asset_id"
402
+ * })
297
403
  */
298
- get(asset_id, requestOptions) {
299
- return core.HttpResponsePromise.fromPromise(this.__get(asset_id, requestOptions));
404
+ get(request, requestOptions) {
405
+ return core.HttpResponsePromise.fromPromise(this.__get(request, requestOptions));
300
406
  }
301
- __get(asset_id, requestOptions) {
407
+ __get(request, requestOptions) {
302
408
  return __awaiter(this, void 0, void 0, function* () {
303
409
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
410
+ const { asset_id: assetId } = request;
304
411
  const _authRequest = yield this._options.authProvider.getAuthRequest();
305
412
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
306
413
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
307
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.AthenaIntelligenceEnvironment.Production, `api/v0/assets/${core.url.encodePathParam(asset_id)}`),
414
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.AthenaIntelligenceEnvironment.Production, `api/v0/assets/${core.url.encodePathParam(assetId)}`),
308
415
  method: "GET",
309
416
  headers: _headers,
310
417
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -358,7 +465,7 @@ export class AssetsClient {
358
465
  /**
359
466
  * Archive an asset by its ID. The asset will be hidden from active listings (e.g. GET /assets with default filters) but can still be retrieved directly by ID. For folders, all children are also archived recursively. For meetings, associated sub-assets (recordings, transcripts) are archived as well. Only the creator of the asset can archive it.
360
467
  *
361
- * @param {string} asset_id
468
+ * @param {AthenaIntelligence.ArchiveAssetsRequest} request
362
469
  * @param {AssetsClient.RequestOptions} requestOptions - Request-specific configuration.
363
470
  *
364
471
  * @throws {@link AthenaIntelligence.ForbiddenError}
@@ -366,18 +473,21 @@ export class AssetsClient {
366
473
  * @throws {@link AthenaIntelligence.UnprocessableEntityError}
367
474
  *
368
475
  * @example
369
- * await client.assets.archive("asset_id")
476
+ * await client.assets.archive({
477
+ * asset_id: "asset_id"
478
+ * })
370
479
  */
371
- archive(asset_id, requestOptions) {
372
- return core.HttpResponsePromise.fromPromise(this.__archive(asset_id, requestOptions));
480
+ archive(request, requestOptions) {
481
+ return core.HttpResponsePromise.fromPromise(this.__archive(request, requestOptions));
373
482
  }
374
- __archive(asset_id, requestOptions) {
483
+ __archive(request, requestOptions) {
375
484
  return __awaiter(this, void 0, void 0, function* () {
376
485
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
486
+ const { asset_id: assetId } = request;
377
487
  const _authRequest = yield this._options.authProvider.getAuthRequest();
378
488
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
379
489
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
380
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.AthenaIntelligenceEnvironment.Production, `api/v0/assets/${core.url.encodePathParam(asset_id)}/archive`),
490
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.AthenaIntelligenceEnvironment.Production, `api/v0/assets/${core.url.encodePathParam(assetId)}/archive`),
381
491
  method: "POST",
382
492
  headers: _headers,
383
493
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -431,4 +541,335 @@ export class AssetsClient {
431
541
  }
432
542
  });
433
543
  }
544
+ /**
545
+ * Download an asset's file exactly as Athena stores or serves it — no type coercion, no pagination. Native collaborative assets are converted from live content to their canonical Office format: Athena documents download as .docx, spreadsheets as .xlsx (round-trip faithful — string identifiers, leading zeros, and number formats are preserved), PPTX Studio presentations and Word documents export their live studio content as .pptx/.docx. Uploaded files stream their original bytes. The response sets Content-Disposition with a filename derived from the asset title and media type.
546
+ * @throws {@link AthenaIntelligence.BadRequestError}
547
+ * @throws {@link AthenaIntelligence.ForbiddenError}
548
+ * @throws {@link AthenaIntelligence.NotFoundError}
549
+ * @throws {@link AthenaIntelligence.UnprocessableEntityError}
550
+ */
551
+ download(request, requestOptions) {
552
+ return core.HttpResponsePromise.fromPromise(this.__download(request, requestOptions));
553
+ }
554
+ __download(request, requestOptions) {
555
+ return __awaiter(this, void 0, void 0, function* () {
556
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
557
+ const { asset_id: assetId } = request;
558
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
559
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
560
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
561
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.AthenaIntelligenceEnvironment.Production, `api/v0/assets/${core.url.encodePathParam(assetId)}/download`),
562
+ method: "GET",
563
+ headers: _headers,
564
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
565
+ responseType: "binary-response",
566
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
567
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
568
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
569
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
570
+ logging: this._options.logging,
571
+ });
572
+ if (_response.ok) {
573
+ return { data: _response.body, rawResponse: _response.rawResponse };
574
+ }
575
+ if (_response.error.reason === "status-code") {
576
+ switch (_response.error.statusCode) {
577
+ case 400:
578
+ throw new AthenaIntelligence.BadRequestError(_response.error.body, _response.rawResponse);
579
+ case 403:
580
+ throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
581
+ case 404:
582
+ throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
583
+ case 422:
584
+ throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
585
+ default:
586
+ throw new errors.AthenaIntelligenceError({
587
+ statusCode: _response.error.statusCode,
588
+ body: _response.error.body,
589
+ rawResponse: _response.rawResponse,
590
+ });
591
+ }
592
+ }
593
+ switch (_response.error.reason) {
594
+ case "non-json":
595
+ throw new errors.AthenaIntelligenceError({
596
+ statusCode: _response.error.statusCode,
597
+ body: _response.error.rawBody,
598
+ rawResponse: _response.rawResponse,
599
+ });
600
+ case "body-is-null":
601
+ throw new errors.AthenaIntelligenceError({
602
+ statusCode: _response.error.statusCode,
603
+ rawResponse: _response.rawResponse,
604
+ });
605
+ case "timeout":
606
+ throw new errors.AthenaIntelligenceTimeoutError("Timeout exceeded when calling GET /api/v0/assets/{asset_id}/download.");
607
+ case "unknown":
608
+ throw new errors.AthenaIntelligenceError({
609
+ message: _response.error.errorMessage,
610
+ rawResponse: _response.rawResponse,
611
+ });
612
+ }
613
+ });
614
+ }
615
+ /**
616
+ * Move an asset into a folder or to the workspace root. The asset ID determines the workspace used for authorization; parent_folder_id must belong to the same workspace.
617
+ *
618
+ * @param {AthenaIntelligence.MoveAssetRequestIn} request
619
+ * @param {AssetsClient.RequestOptions} requestOptions - Request-specific configuration.
620
+ *
621
+ * @throws {@link AthenaIntelligence.BadRequestError}
622
+ * @throws {@link AthenaIntelligence.ForbiddenError}
623
+ * @throws {@link AthenaIntelligence.NotFoundError}
624
+ * @throws {@link AthenaIntelligence.UnprocessableEntityError}
625
+ *
626
+ * @example
627
+ * await client.assets.move({
628
+ * asset_id: "asset_id",
629
+ * parent_folder_id: "asset_folder_12345"
630
+ * })
631
+ */
632
+ move(request, requestOptions) {
633
+ return core.HttpResponsePromise.fromPromise(this.__move(request, requestOptions));
634
+ }
635
+ __move(request, requestOptions) {
636
+ return __awaiter(this, void 0, void 0, function* () {
637
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
638
+ const { asset_id: assetId } = request, _body = __rest(request, ["asset_id"]);
639
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
640
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
641
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
642
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.AthenaIntelligenceEnvironment.Production, `api/v0/assets/${core.url.encodePathParam(assetId)}/move`),
643
+ method: "POST",
644
+ headers: _headers,
645
+ contentType: "application/json",
646
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
647
+ requestType: "json",
648
+ body: _body,
649
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
650
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
651
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
652
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
653
+ logging: this._options.logging,
654
+ });
655
+ if (_response.ok) {
656
+ return {
657
+ data: _response.body,
658
+ rawResponse: _response.rawResponse,
659
+ };
660
+ }
661
+ if (_response.error.reason === "status-code") {
662
+ switch (_response.error.statusCode) {
663
+ case 400:
664
+ throw new AthenaIntelligence.BadRequestError(_response.error.body, _response.rawResponse);
665
+ case 403:
666
+ throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
667
+ case 404:
668
+ throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
669
+ case 422:
670
+ throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
671
+ default:
672
+ throw new errors.AthenaIntelligenceError({
673
+ statusCode: _response.error.statusCode,
674
+ body: _response.error.body,
675
+ rawResponse: _response.rawResponse,
676
+ });
677
+ }
678
+ }
679
+ switch (_response.error.reason) {
680
+ case "non-json":
681
+ throw new errors.AthenaIntelligenceError({
682
+ statusCode: _response.error.statusCode,
683
+ body: _response.error.rawBody,
684
+ rawResponse: _response.rawResponse,
685
+ });
686
+ case "body-is-null":
687
+ throw new errors.AthenaIntelligenceError({
688
+ statusCode: _response.error.statusCode,
689
+ rawResponse: _response.rawResponse,
690
+ });
691
+ case "timeout":
692
+ throw new errors.AthenaIntelligenceTimeoutError("Timeout exceeded when calling POST /api/v0/assets/{asset_id}/move.");
693
+ case "unknown":
694
+ throw new errors.AthenaIntelligenceError({
695
+ message: _response.error.errorMessage,
696
+ rawResponse: _response.rawResponse,
697
+ });
698
+ }
699
+ });
700
+ }
701
+ /**
702
+ * Share an asset with specific users by email. Only users who have edit access to the asset can share it. You can share with individual users (granting 'view' or 'edit' permission). Sharing with a user who does not have an account will result in an error for that recipient, but other recipients will still be processed.
703
+ *
704
+ * @param {AthenaIntelligence.ShareAssetRequestIn} request
705
+ * @param {AssetsClient.RequestOptions} requestOptions - Request-specific configuration.
706
+ *
707
+ * @throws {@link AthenaIntelligence.ForbiddenError}
708
+ * @throws {@link AthenaIntelligence.NotFoundError}
709
+ * @throws {@link AthenaIntelligence.UnprocessableEntityError}
710
+ *
711
+ * @example
712
+ * await client.assets.share({
713
+ * asset_id: "asset_id",
714
+ * message: "Here's the document we discussed.",
715
+ * notify: true,
716
+ * recipients: [{
717
+ * email: "colleague@example.com",
718
+ * permission: "edit"
719
+ * }, {
720
+ * email: "reviewer@example.com",
721
+ * permission: "view"
722
+ * }]
723
+ * })
724
+ */
725
+ share(request, requestOptions) {
726
+ return core.HttpResponsePromise.fromPromise(this.__share(request, requestOptions));
727
+ }
728
+ __share(request, requestOptions) {
729
+ return __awaiter(this, void 0, void 0, function* () {
730
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
731
+ const { asset_id: assetId } = request, _body = __rest(request, ["asset_id"]);
732
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
733
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
734
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
735
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.AthenaIntelligenceEnvironment.Production, `api/v0/assets/${core.url.encodePathParam(assetId)}/share`),
736
+ method: "POST",
737
+ headers: _headers,
738
+ contentType: "application/json",
739
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
740
+ requestType: "json",
741
+ body: _body,
742
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
743
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
744
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
745
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
746
+ logging: this._options.logging,
747
+ });
748
+ if (_response.ok) {
749
+ return {
750
+ data: _response.body,
751
+ rawResponse: _response.rawResponse,
752
+ };
753
+ }
754
+ if (_response.error.reason === "status-code") {
755
+ switch (_response.error.statusCode) {
756
+ case 403:
757
+ throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
758
+ case 404:
759
+ throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
760
+ case 422:
761
+ throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
762
+ default:
763
+ throw new errors.AthenaIntelligenceError({
764
+ statusCode: _response.error.statusCode,
765
+ body: _response.error.body,
766
+ rawResponse: _response.rawResponse,
767
+ });
768
+ }
769
+ }
770
+ switch (_response.error.reason) {
771
+ case "non-json":
772
+ throw new errors.AthenaIntelligenceError({
773
+ statusCode: _response.error.statusCode,
774
+ body: _response.error.rawBody,
775
+ rawResponse: _response.rawResponse,
776
+ });
777
+ case "body-is-null":
778
+ throw new errors.AthenaIntelligenceError({
779
+ statusCode: _response.error.statusCode,
780
+ rawResponse: _response.rawResponse,
781
+ });
782
+ case "timeout":
783
+ throw new errors.AthenaIntelligenceTimeoutError("Timeout exceeded when calling POST /api/v0/assets/{asset_id}/share.");
784
+ case "unknown":
785
+ throw new errors.AthenaIntelligenceError({
786
+ message: _response.error.errorMessage,
787
+ rawResponse: _response.rawResponse,
788
+ });
789
+ }
790
+ });
791
+ }
792
+ /**
793
+ * Update the workspace-level access on an asset. Only users who have edit access to the asset and permission to share with the workspace can use this endpoint. Set 'view' or 'edit' to grant workspace-wide access.
794
+ *
795
+ * @param {AthenaIntelligence.UpdateWorkspaceAccessRequestIn} request
796
+ * @param {AssetsClient.RequestOptions} requestOptions - Request-specific configuration.
797
+ *
798
+ * @throws {@link AthenaIntelligence.ForbiddenError}
799
+ * @throws {@link AthenaIntelligence.NotFoundError}
800
+ * @throws {@link AthenaIntelligence.UnprocessableEntityError}
801
+ *
802
+ * @example
803
+ * await client.assets.updateWorkspaceAccess({
804
+ * asset_id: "asset_id",
805
+ * workspace_access: "view"
806
+ * })
807
+ */
808
+ updateWorkspaceAccess(request, requestOptions) {
809
+ return core.HttpResponsePromise.fromPromise(this.__updateWorkspaceAccess(request, requestOptions));
810
+ }
811
+ __updateWorkspaceAccess(request, requestOptions) {
812
+ return __awaiter(this, void 0, void 0, function* () {
813
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
814
+ const { asset_id: assetId } = request, _body = __rest(request, ["asset_id"]);
815
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
816
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
817
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
818
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.AthenaIntelligenceEnvironment.Production, `api/v0/assets/${core.url.encodePathParam(assetId)}/workspace-access`),
819
+ method: "PUT",
820
+ headers: _headers,
821
+ contentType: "application/json",
822
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
823
+ requestType: "json",
824
+ body: _body,
825
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
826
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
827
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
828
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
829
+ logging: this._options.logging,
830
+ });
831
+ if (_response.ok) {
832
+ return {
833
+ data: _response.body,
834
+ rawResponse: _response.rawResponse,
835
+ };
836
+ }
837
+ if (_response.error.reason === "status-code") {
838
+ switch (_response.error.statusCode) {
839
+ case 403:
840
+ throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
841
+ case 404:
842
+ throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
843
+ case 422:
844
+ throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
845
+ default:
846
+ throw new errors.AthenaIntelligenceError({
847
+ statusCode: _response.error.statusCode,
848
+ body: _response.error.body,
849
+ rawResponse: _response.rawResponse,
850
+ });
851
+ }
852
+ }
853
+ switch (_response.error.reason) {
854
+ case "non-json":
855
+ throw new errors.AthenaIntelligenceError({
856
+ statusCode: _response.error.statusCode,
857
+ body: _response.error.rawBody,
858
+ rawResponse: _response.rawResponse,
859
+ });
860
+ case "body-is-null":
861
+ throw new errors.AthenaIntelligenceError({
862
+ statusCode: _response.error.statusCode,
863
+ rawResponse: _response.rawResponse,
864
+ });
865
+ case "timeout":
866
+ throw new errors.AthenaIntelligenceTimeoutError("Timeout exceeded when calling PUT /api/v0/assets/{asset_id}/workspace-access.");
867
+ case "unknown":
868
+ throw new errors.AthenaIntelligenceError({
869
+ message: _response.error.errorMessage,
870
+ rawResponse: _response.rawResponse,
871
+ });
872
+ }
873
+ });
874
+ }
434
875
  }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * asset_id: "asset_id"
5
+ * }
6
+ */
7
+ export interface ArchiveAssetsRequest {
8
+ asset_id: string;
9
+ }
@@ -8,10 +8,12 @@ import type * as AthenaIntelligence from "../../../../index.mjs";
8
8
  * }
9
9
  */
10
10
  export interface CreateAssetRequestIn {
11
- /** Type of asset to create. Supported types: 'spreadsheet' (or 'sheet'), 'document' (or 'doc'), 'folder' */
11
+ /** Type of asset to create. Supported types: 'spreadsheet' (or 'sheet'), 'document' (or 'doc'), 'folder', 'database' (or 'db'), 'computer' */
12
12
  asset_type: AthenaIntelligence.CreatableAssetType;
13
13
  /** ID of the parent folder to create the asset in */
14
- parent_folder_id?: string;
14
+ parent_folder_id?: string | null;
15
15
  /** Title for the new asset */
16
- title?: string;
16
+ title?: string | null;
17
+ /** ID of the workspace to create the asset in. If not provided, the asset is created in the user's current workspace. The user must be a member of the specified workspace. */
18
+ workspace_id?: string | null;
17
19
  }
@@ -17,17 +17,17 @@
17
17
  */
18
18
  export interface CreateProjectRequestIn {
19
19
  /** A flexible dictionary for storing custom metadata */
20
- custom_metadata?: Record<string, unknown>;
20
+ custom_metadata?: Record<string, unknown> | null;
21
21
  /** Optional project description */
22
- description?: string;
22
+ description?: string | null;
23
23
  /** Optional parent folder ID */
24
- parent_folder_id?: string;
24
+ parent_folder_id?: string | null;
25
25
  /** User-defined project type (e.g., 'candidate', 'user', 'company') */
26
- project_type?: string;
26
+ project_type?: string | null;
27
27
  /** Optional list of email addresses to share the project with (VIEW permission) */
28
- share_with_emails?: string[];
28
+ share_with_emails?: string[] | null;
29
29
  /** Optional list of tags for categorizing the project */
30
- tags?: string[];
30
+ tags?: string[] | null;
31
31
  /** The project title */
32
32
  title: string;
33
33
  }