@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.
- package/README.md +47 -24
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +15 -0
- package/dist/cjs/Client.js +35 -10
- package/dist/cjs/api/errors/BadGatewayError.d.ts +1 -2
- package/dist/cjs/api/resources/agents/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/agents/client/Client.js +19 -7
- package/dist/cjs/api/resources/agents/client/requests/CustomAgentRequest.d.ts +3 -0
- package/dist/cjs/api/resources/aop/client/Client.d.ts +66 -0
- package/dist/cjs/api/resources/aop/client/Client.js +274 -0
- package/dist/cjs/api/resources/aop/client/index.d.ts +1 -1
- package/dist/cjs/api/resources/aop/client/index.js +15 -0
- package/dist/cjs/api/resources/aop/client/requests/AopConfigUpdateRequestIn.d.ts +30 -0
- package/dist/cjs/api/resources/aop/client/requests/AopCreateRequestIn.d.ts +37 -0
- package/dist/{esm/api/resources/tools/client/requests/ToolsRawDataRequest.d.mts → cjs/api/resources/aop/client/requests/GetConfigAopRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/aop/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/aop/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/assets/client/Client.d.ts +109 -15
- package/dist/cjs/api/resources/assets/client/Client.js +464 -23
- package/dist/{esm/api/resources/tools/client/requests/ToolsGetAssetContentRequest.d.mts → cjs/api/resources/assets/client/requests/ArchiveAssetsRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/assets/client/requests/CreateAssetRequestIn.d.ts +5 -3
- package/dist/cjs/api/resources/assets/client/requests/CreateProjectRequestIn.d.ts +6 -6
- package/dist/cjs/api/resources/{tools/client/requests/ToolsGetAssetContentRequest.d.ts → assets/client/requests/DownloadAssetsRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/assets/client/requests/DuplicateAssetRequestIn.d.ts +16 -0
- package/dist/cjs/api/resources/{tools/client/requests/ToolsRawDataRequest.d.ts → assets/client/requests/GetAssetsRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/assets/client/requests/{AssetsListRequest.d.ts → ListAssetsRequest.d.ts} +7 -10
- package/dist/cjs/api/resources/assets/client/requests/MoveAssetRequestIn.d.ts +14 -0
- package/dist/cjs/api/resources/assets/client/requests/ShareAssetRequestIn.d.ts +27 -0
- package/dist/cjs/api/resources/assets/client/requests/UpdateWorkspaceAccessRequestIn.d.ts +13 -0
- package/dist/cjs/api/resources/assets/client/requests/index.d.ts +8 -1
- package/dist/cjs/api/resources/computer/client/Client.d.ts +74 -0
- package/dist/cjs/api/resources/computer/client/Client.js +336 -0
- package/dist/cjs/api/resources/computer/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/computer/client/index.js +17 -0
- package/dist/cjs/api/resources/computer/client/requests/CreateSshAccessRequestIn.d.ts +12 -0
- package/dist/cjs/api/resources/computer/client/requests/CreateSshAccessRequestIn.js +3 -0
- package/dist/cjs/api/resources/computer/client/requests/DeployComputerRequestIn.d.ts +12 -0
- package/dist/cjs/api/resources/computer/client/requests/DeployComputerRequestIn.js +3 -0
- package/dist/cjs/api/resources/computer/client/requests/RevokeSshAccessRequestIn.d.ts +12 -0
- package/dist/cjs/api/resources/computer/client/requests/RevokeSshAccessRequestIn.js +3 -0
- package/dist/cjs/api/resources/computer/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/computer/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/computer/index.d.ts +1 -0
- package/dist/cjs/api/resources/computer/index.js +17 -0
- package/dist/cjs/api/resources/databases/client/Client.d.ts +37 -37
- package/dist/cjs/api/resources/databases/client/Client.js +75 -70
- package/dist/cjs/api/resources/databases/client/requests/DatabaseSqlRequest.d.ts +2 -0
- package/dist/cjs/api/resources/databases/client/requests/{DatabasesDeleteRequest.d.ts → DeleteDatabasesRequest.d.ts} +6 -3
- package/dist/cjs/api/resources/databases/client/requests/DeleteDatabasesRequest.js +3 -0
- package/dist/cjs/api/resources/databases/client/requests/GetStatusDatabasesRequest.d.ts +9 -0
- package/dist/cjs/api/resources/databases/client/requests/GetStatusDatabasesRequest.js +3 -0
- package/dist/cjs/api/resources/databases/client/requests/GetTableSchemaDatabasesRequest.d.ts +11 -0
- package/dist/cjs/api/resources/databases/client/requests/GetTableSchemaDatabasesRequest.js +3 -0
- package/dist/cjs/api/resources/databases/client/requests/InsertDataRequest.d.ts +4 -0
- package/dist/cjs/api/resources/databases/client/requests/ListTablesDatabasesRequest.d.ts +9 -0
- package/dist/cjs/api/resources/databases/client/requests/ListTablesDatabasesRequest.js +3 -0
- package/dist/{esm/api/resources/databases/client/requests/DatabasesSelectRequest.d.mts → cjs/api/resources/databases/client/requests/SelectDatabasesRequest.d.ts} +7 -7
- package/dist/cjs/api/resources/databases/client/requests/SelectDatabasesRequest.js +3 -0
- package/dist/cjs/api/resources/databases/client/requests/UpdateDataRequest.d.ts +4 -1
- package/dist/cjs/api/resources/databases/client/requests/index.d.ts +5 -2
- package/dist/cjs/api/resources/index.d.ts +13 -0
- package/dist/cjs/api/resources/index.js +14 -1
- package/dist/cjs/api/resources/meetings/client/Client.d.ts +60 -0
- package/dist/cjs/api/resources/meetings/client/Client.js +331 -0
- package/dist/cjs/api/resources/meetings/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/meetings/client/index.js +17 -0
- package/dist/cjs/api/resources/meetings/client/requests/DownloadMeetingsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/meetings/client/requests/DownloadMeetingsRequest.js +3 -0
- package/dist/cjs/api/resources/meetings/client/requests/GetMeetingsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/meetings/client/requests/GetMeetingsRequest.js +3 -0
- package/dist/cjs/api/resources/meetings/client/requests/ListMeetingsRequest.d.ts +29 -0
- package/dist/cjs/api/resources/meetings/client/requests/ListMeetingsRequest.js +3 -0
- package/dist/cjs/api/resources/meetings/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/meetings/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/meetings/index.d.ts +2 -0
- package/dist/cjs/api/resources/meetings/index.js +18 -0
- package/dist/cjs/api/resources/meetings/types/DownloadMeetingsRequestArtifact.d.ts +9 -0
- package/dist/cjs/api/resources/meetings/types/DownloadMeetingsRequestArtifact.js +12 -0
- package/dist/cjs/api/resources/meetings/types/ListMeetingsRequestDomainMatch.d.ts +6 -0
- package/dist/cjs/api/resources/meetings/types/ListMeetingsRequestDomainMatch.js +9 -0
- package/dist/cjs/api/resources/meetings/types/ListMeetingsRequestParticipantMatch.d.ts +6 -0
- package/dist/cjs/api/resources/meetings/types/ListMeetingsRequestParticipantMatch.js +9 -0
- package/dist/cjs/api/resources/meetings/types/ListMeetingsRequestSortBy.d.ts +7 -0
- package/dist/cjs/api/resources/meetings/types/ListMeetingsRequestSortBy.js +10 -0
- package/dist/cjs/api/resources/meetings/types/ListMeetingsRequestSortDirection.d.ts +6 -0
- package/dist/cjs/api/resources/meetings/types/ListMeetingsRequestSortDirection.js +9 -0
- package/dist/cjs/api/resources/meetings/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/meetings/types/index.js +21 -0
- package/dist/cjs/api/resources/query/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/query/client/Client.js +1 -1
- package/dist/cjs/api/resources/query/client/requests/{QueryExecuteSnippetRequest.d.ts → ExecuteSnippetQueryRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/query/client/requests/ExecuteSnippetQueryRequest.js +3 -0
- package/dist/cjs/api/resources/query/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/semanticModel/client/Client.d.ts +13 -9
- package/dist/cjs/api/resources/semanticModel/client/Client.js +37 -19
- package/dist/cjs/api/resources/semanticModel/client/requests/GenerateTokenSemanticModelRequest.d.ts +9 -0
- package/dist/cjs/api/resources/semanticModel/client/requests/GenerateTokenSemanticModelRequest.js +3 -0
- package/dist/cjs/api/resources/semanticModel/client/requests/GetMetaSemanticModelRequest.d.ts +9 -0
- package/dist/cjs/api/resources/semanticModel/client/requests/GetMetaSemanticModelRequest.js +3 -0
- package/dist/cjs/api/resources/semanticModel/client/requests/SemanticModelQueryRequestIn.d.ts +5 -3
- package/dist/cjs/api/resources/semanticModel/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/sessions/client/Client.d.ts +60 -0
- package/dist/cjs/api/resources/sessions/client/Client.js +337 -0
- package/dist/cjs/api/resources/sessions/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/sessions/client/index.js +17 -0
- package/dist/cjs/api/resources/sessions/client/requests/DownloadSessionsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/sessions/client/requests/DownloadSessionsRequest.js +3 -0
- package/dist/cjs/api/resources/sessions/client/requests/GetSessionsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/sessions/client/requests/GetSessionsRequest.js +3 -0
- package/dist/cjs/api/resources/sessions/client/requests/ListSessionsRequest.d.ts +33 -0
- package/dist/cjs/api/resources/sessions/client/requests/ListSessionsRequest.js +3 -0
- package/dist/cjs/api/resources/sessions/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/sessions/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/sessions/index.d.ts +2 -0
- package/dist/cjs/api/resources/sessions/index.js +18 -0
- package/dist/cjs/api/resources/sessions/types/DownloadSessionsRequestExportFormat.d.ts +8 -0
- package/dist/cjs/api/resources/sessions/types/DownloadSessionsRequestExportFormat.js +11 -0
- package/dist/cjs/api/resources/sessions/types/ListSessionsRequestSortBy.d.ts +7 -0
- package/dist/cjs/api/resources/sessions/types/ListSessionsRequestSortBy.js +10 -0
- package/dist/cjs/api/resources/sessions/types/ListSessionsRequestSortDirection.d.ts +6 -0
- package/dist/cjs/api/resources/sessions/types/ListSessionsRequestSortDirection.js +9 -0
- package/dist/cjs/api/resources/sessions/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/sessions/types/index.js +19 -0
- package/dist/cjs/api/resources/threads/client/Client.d.ts +10 -6
- package/dist/cjs/api/resources/threads/client/Client.js +18 -12
- package/dist/cjs/api/resources/threads/client/index.d.ts +1 -1
- package/dist/cjs/api/resources/threads/client/index.js +15 -0
- package/dist/cjs/api/resources/threads/client/requests/GetStatusThreadsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/threads/client/requests/GetStatusThreadsRequest.js +3 -0
- package/dist/cjs/api/resources/threads/client/requests/StopThreadsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/threads/client/requests/StopThreadsRequest.js +3 -0
- package/dist/cjs/api/resources/threads/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/threads/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/tools/client/Client.d.ts +40 -24
- package/dist/cjs/api/resources/tools/client/Client.js +171 -43
- package/dist/cjs/api/resources/tools/client/requests/AssetReadRequestIn.d.ts +12 -0
- package/dist/cjs/api/resources/tools/client/requests/AssetReadRequestIn.js +3 -0
- package/dist/cjs/api/resources/tools/client/requests/BodySaveAssetApiV0ToolsFileSavePost.d.ts +2 -3
- package/dist/cjs/api/resources/tools/client/requests/DataFrameToolsRequest.d.ts +18 -0
- package/dist/cjs/api/resources/tools/client/requests/DataFrameToolsRequest.js +3 -0
- package/dist/cjs/api/resources/tools/client/requests/GetAssetContentToolsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/tools/client/requests/GetAssetContentToolsRequest.js +3 -0
- package/dist/cjs/api/resources/tools/client/requests/GetAssetScreenshotToolsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/tools/client/requests/GetAssetScreenshotToolsRequest.js +3 -0
- package/dist/cjs/api/resources/tools/client/requests/ListContentsToolsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/tools/client/requests/ListContentsToolsRequest.js +3 -0
- package/dist/cjs/api/resources/tools/client/requests/RawDataToolsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/tools/client/requests/RawDataToolsRequest.js +3 -0
- package/dist/cjs/api/resources/tools/client/requests/index.d.ts +6 -5
- package/dist/cjs/api/resources/tools/resources/sheets/client/requests/DuplicateSheetRequest.d.ts +1 -1
- package/dist/cjs/api/resources/tools/resources/sheets/client/requests/GetTableRequest.d.ts +1 -1
- package/dist/cjs/api/resources/tools/resources/sheets/client/requests/InsertTableRowRequest.d.ts +1 -1
- package/dist/cjs/api/resources/tools/resources/sheets/client/requests/UpdateSheetCellRequest.d.ts +2 -0
- package/dist/cjs/api/resources/tools/resources/sheets/client/requests/UpdateSheetRangeRequest.d.ts +5 -3
- package/dist/cjs/api/resources/tools/types/DataFrameToolsRequestColumnsItem.d.ts +1 -0
- package/dist/cjs/api/resources/tools/types/DataFrameToolsRequestColumnsItem.js +3 -0
- package/dist/cjs/api/resources/tools/types/DataFrameToolsRequestSheetName.d.ts +4 -0
- package/dist/cjs/api/resources/tools/types/DataFrameToolsRequestSheetName.js +3 -0
- package/dist/cjs/api/resources/tools/types/index.d.ts +2 -1
- package/dist/cjs/api/resources/tools/types/index.js +2 -1
- package/dist/cjs/api/resources/users/client/Client.d.ts +24 -0
- package/dist/cjs/api/resources/users/client/Client.js +116 -0
- package/dist/cjs/api/resources/users/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/users/client/index.js +2 -0
- package/dist/cjs/api/resources/users/index.d.ts +1 -0
- package/dist/cjs/api/resources/users/index.js +17 -0
- package/dist/cjs/api/resources/workspaces/client/Client.d.ts +48 -0
- package/dist/cjs/api/resources/workspaces/client/Client.js +230 -0
- package/dist/cjs/api/resources/workspaces/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/workspaces/client/index.js +17 -0
- package/dist/cjs/api/resources/workspaces/client/requests/GetConfigurationWorkspacesRequest.d.ts +9 -0
- package/dist/cjs/api/resources/workspaces/client/requests/GetConfigurationWorkspacesRequest.js +3 -0
- package/dist/cjs/api/resources/workspaces/client/requests/UpdateWorkspaceConfigurationRequestIn.d.ts +12 -0
- package/dist/cjs/api/resources/workspaces/client/requests/UpdateWorkspaceConfigurationRequestIn.js +3 -0
- package/dist/cjs/api/resources/workspaces/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/workspaces/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/workspaces/index.d.ts +1 -0
- package/dist/cjs/api/resources/workspaces/index.js +17 -0
- package/dist/cjs/api/types/AopConfigResponseOut.d.ts +27 -0
- package/dist/cjs/api/types/AopConfigResponseOut.js +3 -0
- package/dist/cjs/api/types/AopConfigUpdateResponseOut.d.ts +11 -0
- package/dist/cjs/api/types/AopConfigUpdateResponseOut.js +3 -0
- package/dist/cjs/api/types/AopCreateResponseOut.d.ts +17 -0
- package/dist/cjs/api/types/AopCreateResponseOut.js +3 -0
- package/dist/cjs/api/types/AopExecuteRequestIn.d.ts +3 -1
- package/dist/cjs/api/types/AopExecuteResponseOut.d.ts +2 -2
- package/dist/cjs/api/types/AssetCapabilitiesResponseOut.d.ts +10 -0
- package/dist/cjs/api/types/AssetCapabilitiesResponseOut.js +3 -0
- package/dist/cjs/api/types/AssetComment.d.ts +19 -0
- package/dist/cjs/api/types/AssetComment.js +3 -0
- package/dist/cjs/api/types/AssetCommentThread.d.ts +22 -0
- package/dist/cjs/api/types/AssetCommentThread.js +3 -0
- package/dist/cjs/api/types/AssetContentRequestOut.d.ts +3 -0
- package/dist/cjs/api/types/AssetNode.d.ts +1 -1
- package/dist/cjs/api/types/AssetReadErrorOut.d.ts +15 -0
- package/dist/cjs/api/types/AssetReadErrorOut.js +3 -0
- package/dist/cjs/api/types/AssetReadResponseOut.d.ts +8 -0
- package/dist/cjs/api/types/AssetReadResponseOut.js +3 -0
- package/dist/cjs/api/types/AssetReadResult.d.ts +28 -0
- package/dist/cjs/api/types/AssetReadResult.js +3 -0
- package/dist/cjs/api/types/BorderModel.d.ts +2 -2
- package/dist/cjs/api/types/BordersModel.d.ts +4 -4
- package/dist/cjs/api/types/CellFormat.d.ts +10 -10
- package/dist/cjs/api/types/Chunk.d.ts +1 -1
- package/dist/cjs/api/types/ChunkResult.d.ts +1 -1
- package/dist/cjs/api/types/ConversationAssetInfo.d.ts +12 -12
- package/dist/cjs/api/types/ConversationMessage.d.ts +4 -1
- package/dist/cjs/api/types/ConversationResult.d.ts +6 -6
- package/dist/cjs/api/types/CreatableAssetType.d.ts +2 -0
- package/dist/cjs/api/types/CreatableAssetType.js +2 -0
- package/dist/cjs/api/types/CreateAssetResponseOut.d.ts +3 -1
- package/dist/cjs/api/types/CreateProjectResponseOut.d.ts +4 -4
- package/dist/cjs/api/types/DataFrameRequestOut.d.ts +3 -3
- package/dist/cjs/api/types/DatabaseColumnInfo.d.ts +2 -2
- package/dist/cjs/api/types/DatabaseMutationResponse.d.ts +1 -1
- package/dist/cjs/api/types/DatabaseSqlResponse.d.ts +3 -3
- package/dist/cjs/api/types/DatabaseStatusResponse.d.ts +1 -1
- package/dist/cjs/api/types/DatabaseTableInfo.d.ts +1 -1
- package/dist/cjs/api/types/DeployComputerResponseOut.d.ts +11 -0
- package/dist/cjs/api/types/DeployComputerResponseOut.js +3 -0
- package/dist/cjs/api/types/DimensionProperties.d.ts +4 -4
- package/dist/cjs/api/types/DuplicateAssetResponseOut.d.ts +17 -0
- package/dist/cjs/api/types/DuplicateAssetResponseOut.js +3 -0
- package/dist/cjs/api/types/GeneralAgentConfig.d.ts +1 -1
- package/dist/cjs/api/types/GeneralAgentRequest.d.ts +1 -1
- package/dist/cjs/api/types/GeneralAgentResponseMessage.d.ts +15 -12
- package/dist/cjs/api/types/GeneralAgentResponseMessageKwargs.d.ts +11 -8
- package/dist/cjs/api/types/GetTableResponse.d.ts +2 -0
- package/dist/cjs/api/types/GridRange.d.ts +7 -0
- package/dist/cjs/api/types/InputMessage.d.ts +7 -6
- package/dist/cjs/api/types/InputMessageContentOneItem.d.ts +22 -0
- package/dist/cjs/api/types/InputMessageContentOneItem.js +3 -0
- package/dist/cjs/api/types/MeetingArtifactsOut.d.ts +17 -0
- package/dist/cjs/api/types/MeetingArtifactsOut.js +3 -0
- package/dist/cjs/api/types/MeetingOut.d.ts +28 -0
- package/dist/cjs/api/types/MeetingOut.js +3 -0
- package/dist/cjs/api/types/MeetingParticipantOut.d.ts +9 -0
- package/dist/cjs/api/types/MeetingParticipantOut.js +3 -0
- package/dist/cjs/api/types/MoveAssetResponseOut.d.ts +15 -0
- package/dist/cjs/api/types/MoveAssetResponseOut.js +3 -0
- package/dist/cjs/api/types/PaginatedAssetsOut.d.ts +1 -1
- package/dist/cjs/api/types/PaginatedMeetingsOut.d.ts +18 -0
- package/dist/cjs/api/types/PaginatedMeetingsOut.js +3 -0
- package/dist/cjs/api/types/PaginatedSessionsOut.d.ts +18 -0
- package/dist/cjs/api/types/PaginatedSessionsOut.js +3 -0
- package/dist/cjs/api/types/PublicAssetOut.d.ts +7 -5
- package/dist/cjs/api/types/ReadCapabilitiesOut.d.ts +19 -0
- package/dist/cjs/api/types/ReadCapabilitiesOut.js +3 -0
- package/dist/cjs/api/types/RedactedThinkingContent.d.ts +6 -0
- package/dist/cjs/api/types/RedactedThinkingContent.js +3 -0
- package/dist/cjs/api/types/RevokeSshAccessResponseOut.d.ts +7 -0
- package/dist/cjs/api/types/RevokeSshAccessResponseOut.js +3 -0
- package/dist/cjs/api/types/RunTaskResponse.d.ts +3 -3
- package/dist/cjs/api/types/SemanticModelMetaResponseOut.d.ts +10 -2
- package/dist/cjs/api/types/SessionOut.d.ts +41 -0
- package/dist/cjs/api/types/SessionOut.js +3 -0
- package/dist/cjs/api/types/ShareAssetResponseOut.d.ts +10 -0
- package/dist/cjs/api/types/ShareAssetResponseOut.js +3 -0
- package/dist/cjs/api/types/SharePermissionType.d.ts +6 -0
- package/dist/cjs/api/types/SharePermissionType.js +9 -0
- package/dist/cjs/api/types/ShareRecipient.d.ts +10 -0
- package/dist/cjs/api/types/ShareRecipient.js +3 -0
- package/dist/cjs/api/types/ShareRecipientResultOut.d.ts +13 -0
- package/dist/cjs/api/types/ShareRecipientResultOut.js +3 -0
- package/dist/cjs/api/types/Sheet.d.ts +8 -8
- package/dist/cjs/api/types/SheetOperationResponse.d.ts +2 -0
- package/dist/cjs/api/types/SshAccessResponseOut.d.ts +13 -0
- package/dist/cjs/api/types/SshAccessResponseOut.js +3 -0
- package/dist/cjs/api/types/StructuredDataExtractorResponse.d.ts +2 -2
- package/dist/cjs/api/types/TextFormatModel.d.ts +8 -8
- package/dist/cjs/api/types/ThemeColor.d.ts +1 -1
- package/dist/cjs/api/types/ThinkingContent.d.ts +7 -0
- package/dist/cjs/api/types/ThinkingContent.js +3 -0
- package/dist/cjs/api/types/ThreadBatchStopResultItem.d.ts +1 -1
- package/dist/cjs/api/types/ThreadStatusResponseOut.d.ts +2 -2
- package/dist/cjs/api/types/ToolResultContent.d.ts +11 -0
- package/dist/cjs/api/types/ToolResultContent.js +3 -0
- package/dist/cjs/api/types/ToolUseContent.d.ts +8 -0
- package/dist/cjs/api/types/ToolUseContent.js +3 -0
- package/dist/cjs/api/types/UpdateWorkspaceDisclaimerIn.d.ts +13 -0
- package/dist/cjs/api/types/UpdateWorkspaceDisclaimerIn.js +3 -0
- package/dist/cjs/api/types/UserInfoOut.d.ts +14 -0
- package/dist/cjs/api/types/UserInfoOut.js +3 -0
- package/dist/cjs/api/types/WorkspaceAccessResponseOut.d.ts +9 -0
- package/dist/cjs/api/types/WorkspaceAccessResponseOut.js +3 -0
- package/dist/cjs/api/types/WorkspaceConfigurationResponseOut.d.ts +10 -0
- package/dist/cjs/api/types/WorkspaceConfigurationResponseOut.js +3 -0
- package/dist/cjs/api/types/WorkspaceDisclaimerOut.d.ts +13 -0
- package/dist/cjs/api/types/WorkspaceDisclaimerOut.js +3 -0
- package/dist/cjs/api/types/WorkspaceInfoOut.d.ts +11 -0
- package/dist/cjs/api/types/WorkspaceInfoOut.js +3 -0
- package/dist/cjs/api/types/WorkspaceShareAccess.d.ts +6 -0
- package/dist/cjs/api/types/WorkspaceShareAccess.js +9 -0
- package/dist/cjs/api/types/index.d.ts +37 -1
- package/dist/cjs/api/types/index.js +37 -1
- package/dist/cjs/core/exports.d.ts +1 -0
- package/dist/cjs/core/exports.js +1 -0
- package/dist/cjs/core/index.d.ts +2 -0
- package/dist/cjs/core/index.js +2 -0
- package/dist/cjs/core/pagination/Page.d.ts +33 -0
- package/dist/cjs/core/pagination/Page.js +101 -0
- package/dist/cjs/core/pagination/exports.d.ts +1 -0
- package/dist/cjs/core/pagination/exports.js +2 -0
- package/dist/cjs/core/pagination/index.d.ts +1 -0
- package/dist/cjs/core/pagination/index.js +5 -0
- package/dist/cjs/core/utils/index.d.ts +1 -0
- package/dist/cjs/core/utils/index.js +5 -0
- package/dist/cjs/core/utils/setObjectProperty.d.ts +11 -0
- package/dist/cjs/core/utils/setObjectProperty.js +42 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +15 -0
- package/dist/esm/Client.mjs +25 -0
- package/dist/esm/api/errors/BadGatewayError.d.mts +1 -2
- package/dist/esm/api/resources/agents/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/agents/client/Client.mjs +19 -7
- package/dist/esm/api/resources/agents/client/requests/CustomAgentRequest.d.mts +3 -0
- package/dist/esm/api/resources/aop/client/Client.d.mts +66 -0
- package/dist/esm/api/resources/aop/client/Client.mjs +274 -0
- package/dist/esm/api/resources/aop/client/index.d.mts +1 -1
- package/dist/esm/api/resources/aop/client/index.mjs +1 -1
- package/dist/esm/api/resources/aop/client/requests/AopConfigUpdateRequestIn.d.mts +30 -0
- package/dist/esm/api/resources/aop/client/requests/AopCreateRequestIn.d.mts +37 -0
- package/dist/esm/api/resources/aop/client/requests/GetConfigAopRequest.d.mts +9 -0
- package/dist/esm/api/resources/aop/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/aop/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/assets/client/Client.d.mts +109 -15
- package/dist/esm/api/resources/assets/client/Client.mjs +464 -23
- package/dist/esm/api/resources/assets/client/requests/ArchiveAssetsRequest.d.mts +9 -0
- package/dist/esm/api/resources/assets/client/requests/CreateAssetRequestIn.d.mts +5 -3
- package/dist/esm/api/resources/assets/client/requests/CreateProjectRequestIn.d.mts +6 -6
- package/dist/esm/api/resources/assets/client/requests/DownloadAssetsRequest.d.mts +9 -0
- package/dist/esm/api/resources/assets/client/requests/DuplicateAssetRequestIn.d.mts +16 -0
- package/dist/esm/api/resources/assets/client/requests/GetAssetsRequest.d.mts +9 -0
- package/dist/esm/api/resources/assets/client/requests/{AssetsListRequest.d.mts → ListAssetsRequest.d.mts} +7 -10
- package/dist/esm/api/resources/assets/client/requests/MoveAssetRequestIn.d.mts +14 -0
- package/dist/esm/api/resources/assets/client/requests/ShareAssetRequestIn.d.mts +27 -0
- package/dist/esm/api/resources/assets/client/requests/UpdateWorkspaceAccessRequestIn.d.mts +13 -0
- package/dist/esm/api/resources/assets/client/requests/index.d.mts +8 -1
- package/dist/esm/api/resources/computer/client/Client.d.mts +74 -0
- package/dist/esm/api/resources/computer/client/Client.mjs +299 -0
- package/dist/esm/api/resources/computer/client/index.d.mts +1 -0
- package/dist/esm/api/resources/computer/client/index.mjs +1 -0
- package/dist/esm/api/resources/computer/client/requests/CreateSshAccessRequestIn.d.mts +12 -0
- package/dist/esm/api/resources/computer/client/requests/CreateSshAccessRequestIn.mjs +2 -0
- package/dist/esm/api/resources/computer/client/requests/DeployComputerRequestIn.d.mts +12 -0
- package/dist/esm/api/resources/computer/client/requests/DeployComputerRequestIn.mjs +2 -0
- package/dist/esm/api/resources/computer/client/requests/RevokeSshAccessRequestIn.d.mts +12 -0
- package/dist/esm/api/resources/computer/client/requests/RevokeSshAccessRequestIn.mjs +2 -0
- package/dist/esm/api/resources/computer/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/computer/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/computer/index.d.mts +1 -0
- package/dist/esm/api/resources/computer/index.mjs +1 -0
- package/dist/esm/api/resources/databases/client/Client.d.mts +37 -37
- package/dist/esm/api/resources/databases/client/Client.mjs +75 -70
- package/dist/esm/api/resources/databases/client/requests/DatabaseSqlRequest.d.mts +2 -0
- package/dist/esm/api/resources/databases/client/requests/{DatabasesDeleteRequest.d.mts → DeleteDatabasesRequest.d.mts} +6 -3
- package/dist/esm/api/resources/databases/client/requests/DeleteDatabasesRequest.mjs +2 -0
- package/dist/esm/api/resources/databases/client/requests/GetStatusDatabasesRequest.d.mts +9 -0
- package/dist/esm/api/resources/databases/client/requests/GetStatusDatabasesRequest.mjs +2 -0
- package/dist/esm/api/resources/databases/client/requests/GetTableSchemaDatabasesRequest.d.mts +11 -0
- package/dist/esm/api/resources/databases/client/requests/GetTableSchemaDatabasesRequest.mjs +2 -0
- package/dist/esm/api/resources/databases/client/requests/InsertDataRequest.d.mts +4 -0
- package/dist/esm/api/resources/databases/client/requests/ListTablesDatabasesRequest.d.mts +9 -0
- package/dist/esm/api/resources/databases/client/requests/ListTablesDatabasesRequest.mjs +2 -0
- package/dist/{cjs/api/resources/databases/client/requests/DatabasesSelectRequest.d.ts → esm/api/resources/databases/client/requests/SelectDatabasesRequest.d.mts} +7 -7
- package/dist/esm/api/resources/databases/client/requests/SelectDatabasesRequest.mjs +2 -0
- package/dist/esm/api/resources/databases/client/requests/UpdateDataRequest.d.mts +4 -1
- package/dist/esm/api/resources/databases/client/requests/index.d.mts +5 -2
- package/dist/esm/api/resources/index.d.mts +13 -0
- package/dist/esm/api/resources/index.mjs +13 -0
- package/dist/esm/api/resources/meetings/client/Client.d.mts +60 -0
- package/dist/esm/api/resources/meetings/client/Client.mjs +294 -0
- package/dist/esm/api/resources/meetings/client/index.d.mts +1 -0
- package/dist/esm/api/resources/meetings/client/index.mjs +1 -0
- package/dist/esm/api/resources/meetings/client/requests/DownloadMeetingsRequest.d.mts +12 -0
- package/dist/esm/api/resources/meetings/client/requests/DownloadMeetingsRequest.mjs +2 -0
- package/dist/esm/api/resources/meetings/client/requests/GetMeetingsRequest.d.mts +9 -0
- package/dist/esm/api/resources/meetings/client/requests/GetMeetingsRequest.mjs +2 -0
- package/dist/esm/api/resources/meetings/client/requests/ListMeetingsRequest.d.mts +29 -0
- package/dist/esm/api/resources/meetings/client/requests/ListMeetingsRequest.mjs +2 -0
- package/dist/esm/api/resources/meetings/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/meetings/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/meetings/index.d.mts +2 -0
- package/dist/esm/api/resources/meetings/index.mjs +2 -0
- package/dist/esm/api/resources/meetings/types/DownloadMeetingsRequestArtifact.d.mts +9 -0
- package/dist/esm/api/resources/meetings/types/DownloadMeetingsRequestArtifact.mjs +9 -0
- package/dist/esm/api/resources/meetings/types/ListMeetingsRequestDomainMatch.d.mts +6 -0
- package/dist/esm/api/resources/meetings/types/ListMeetingsRequestDomainMatch.mjs +6 -0
- package/dist/esm/api/resources/meetings/types/ListMeetingsRequestParticipantMatch.d.mts +6 -0
- package/dist/esm/api/resources/meetings/types/ListMeetingsRequestParticipantMatch.mjs +6 -0
- package/dist/esm/api/resources/meetings/types/ListMeetingsRequestSortBy.d.mts +7 -0
- package/dist/esm/api/resources/meetings/types/ListMeetingsRequestSortBy.mjs +7 -0
- package/dist/esm/api/resources/meetings/types/ListMeetingsRequestSortDirection.d.mts +6 -0
- package/dist/esm/api/resources/meetings/types/ListMeetingsRequestSortDirection.mjs +6 -0
- package/dist/esm/api/resources/meetings/types/index.d.mts +5 -0
- package/dist/esm/api/resources/meetings/types/index.mjs +5 -0
- package/dist/esm/api/resources/query/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/query/client/Client.mjs +1 -1
- package/dist/esm/api/resources/query/client/requests/{QueryExecuteSnippetRequest.d.mts → ExecuteSnippetQueryRequest.d.mts} +1 -1
- package/dist/esm/api/resources/query/client/requests/ExecuteSnippetQueryRequest.mjs +2 -0
- package/dist/esm/api/resources/query/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/semanticModel/client/Client.d.mts +13 -9
- package/dist/esm/api/resources/semanticModel/client/Client.mjs +37 -19
- package/dist/esm/api/resources/semanticModel/client/requests/GenerateTokenSemanticModelRequest.d.mts +9 -0
- package/dist/esm/api/resources/semanticModel/client/requests/GenerateTokenSemanticModelRequest.mjs +2 -0
- package/dist/esm/api/resources/semanticModel/client/requests/GetMetaSemanticModelRequest.d.mts +9 -0
- package/dist/esm/api/resources/semanticModel/client/requests/GetMetaSemanticModelRequest.mjs +2 -0
- package/dist/esm/api/resources/semanticModel/client/requests/SemanticModelQueryRequestIn.d.mts +5 -3
- package/dist/esm/api/resources/semanticModel/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/sessions/client/Client.d.mts +60 -0
- package/dist/esm/api/resources/sessions/client/Client.mjs +300 -0
- package/dist/esm/api/resources/sessions/client/index.d.mts +1 -0
- package/dist/esm/api/resources/sessions/client/index.mjs +1 -0
- package/dist/esm/api/resources/sessions/client/requests/DownloadSessionsRequest.d.mts +12 -0
- package/dist/esm/api/resources/sessions/client/requests/DownloadSessionsRequest.mjs +2 -0
- package/dist/esm/api/resources/sessions/client/requests/GetSessionsRequest.d.mts +9 -0
- package/dist/esm/api/resources/sessions/client/requests/GetSessionsRequest.mjs +2 -0
- package/dist/esm/api/resources/sessions/client/requests/ListSessionsRequest.d.mts +33 -0
- package/dist/esm/api/resources/sessions/client/requests/ListSessionsRequest.mjs +2 -0
- package/dist/esm/api/resources/sessions/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/sessions/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/sessions/index.d.mts +2 -0
- package/dist/esm/api/resources/sessions/index.mjs +2 -0
- package/dist/esm/api/resources/sessions/types/DownloadSessionsRequestExportFormat.d.mts +8 -0
- package/dist/esm/api/resources/sessions/types/DownloadSessionsRequestExportFormat.mjs +8 -0
- package/dist/esm/api/resources/sessions/types/ListSessionsRequestSortBy.d.mts +7 -0
- package/dist/esm/api/resources/sessions/types/ListSessionsRequestSortBy.mjs +7 -0
- package/dist/esm/api/resources/sessions/types/ListSessionsRequestSortDirection.d.mts +6 -0
- package/dist/esm/api/resources/sessions/types/ListSessionsRequestSortDirection.mjs +6 -0
- package/dist/esm/api/resources/sessions/types/index.d.mts +3 -0
- package/dist/esm/api/resources/sessions/types/index.mjs +3 -0
- package/dist/esm/api/resources/threads/client/Client.d.mts +10 -6
- package/dist/esm/api/resources/threads/client/Client.mjs +18 -12
- package/dist/esm/api/resources/threads/client/index.d.mts +1 -1
- package/dist/esm/api/resources/threads/client/index.mjs +1 -1
- package/dist/esm/api/resources/threads/client/requests/GetStatusThreadsRequest.d.mts +10 -0
- package/dist/esm/api/resources/threads/client/requests/GetStatusThreadsRequest.mjs +2 -0
- package/dist/esm/api/resources/threads/client/requests/StopThreadsRequest.d.mts +10 -0
- package/dist/esm/api/resources/threads/client/requests/StopThreadsRequest.mjs +2 -0
- package/dist/esm/api/resources/threads/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/threads/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/tools/client/Client.d.mts +40 -24
- package/dist/esm/api/resources/tools/client/Client.mjs +171 -43
- package/dist/esm/api/resources/tools/client/requests/AssetReadRequestIn.d.mts +12 -0
- package/dist/esm/api/resources/tools/client/requests/AssetReadRequestIn.mjs +2 -0
- package/dist/esm/api/resources/tools/client/requests/BodySaveAssetApiV0ToolsFileSavePost.d.mts +2 -3
- package/dist/esm/api/resources/tools/client/requests/DataFrameToolsRequest.d.mts +18 -0
- package/dist/esm/api/resources/tools/client/requests/DataFrameToolsRequest.mjs +2 -0
- package/dist/esm/api/resources/tools/client/requests/GetAssetContentToolsRequest.d.mts +10 -0
- package/dist/esm/api/resources/tools/client/requests/GetAssetContentToolsRequest.mjs +2 -0
- package/dist/esm/api/resources/tools/client/requests/GetAssetScreenshotToolsRequest.d.mts +10 -0
- package/dist/esm/api/resources/tools/client/requests/GetAssetScreenshotToolsRequest.mjs +2 -0
- package/dist/esm/api/resources/tools/client/requests/ListContentsToolsRequest.d.mts +9 -0
- package/dist/esm/api/resources/tools/client/requests/ListContentsToolsRequest.mjs +2 -0
- package/dist/esm/api/resources/tools/client/requests/RawDataToolsRequest.d.mts +9 -0
- package/dist/esm/api/resources/tools/client/requests/RawDataToolsRequest.mjs +2 -0
- package/dist/esm/api/resources/tools/client/requests/index.d.mts +6 -5
- package/dist/esm/api/resources/tools/resources/sheets/client/requests/DuplicateSheetRequest.d.mts +1 -1
- package/dist/esm/api/resources/tools/resources/sheets/client/requests/GetTableRequest.d.mts +1 -1
- package/dist/esm/api/resources/tools/resources/sheets/client/requests/InsertTableRowRequest.d.mts +1 -1
- package/dist/esm/api/resources/tools/resources/sheets/client/requests/UpdateSheetCellRequest.d.mts +2 -0
- package/dist/esm/api/resources/tools/resources/sheets/client/requests/UpdateSheetRangeRequest.d.mts +5 -3
- package/dist/esm/api/resources/tools/types/DataFrameToolsRequestColumnsItem.d.mts +1 -0
- package/dist/esm/api/resources/tools/types/DataFrameToolsRequestColumnsItem.mjs +2 -0
- package/dist/esm/api/resources/tools/types/DataFrameToolsRequestSheetName.d.mts +4 -0
- package/dist/esm/api/resources/tools/types/DataFrameToolsRequestSheetName.mjs +2 -0
- package/dist/esm/api/resources/tools/types/index.d.mts +2 -1
- package/dist/esm/api/resources/tools/types/index.mjs +2 -1
- package/dist/esm/api/resources/users/client/Client.d.mts +24 -0
- package/dist/esm/api/resources/users/client/Client.mjs +79 -0
- package/dist/esm/api/resources/users/client/index.d.mts +1 -0
- package/dist/esm/api/resources/users/client/index.mjs +1 -0
- package/dist/esm/api/resources/users/index.d.mts +1 -0
- package/dist/esm/api/resources/users/index.mjs +1 -0
- package/dist/esm/api/resources/workspaces/client/Client.d.mts +48 -0
- package/dist/esm/api/resources/workspaces/client/Client.mjs +193 -0
- package/dist/esm/api/resources/workspaces/client/index.d.mts +1 -0
- package/dist/esm/api/resources/workspaces/client/index.mjs +1 -0
- package/dist/esm/api/resources/workspaces/client/requests/GetConfigurationWorkspacesRequest.d.mts +9 -0
- package/dist/esm/api/resources/workspaces/client/requests/GetConfigurationWorkspacesRequest.mjs +2 -0
- package/dist/esm/api/resources/workspaces/client/requests/UpdateWorkspaceConfigurationRequestIn.d.mts +12 -0
- package/dist/esm/api/resources/workspaces/client/requests/UpdateWorkspaceConfigurationRequestIn.mjs +2 -0
- package/dist/esm/api/resources/workspaces/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/workspaces/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/workspaces/index.d.mts +1 -0
- package/dist/esm/api/resources/workspaces/index.mjs +1 -0
- package/dist/esm/api/types/AopConfigResponseOut.d.mts +27 -0
- package/dist/esm/api/types/AopConfigResponseOut.mjs +2 -0
- package/dist/esm/api/types/AopConfigUpdateResponseOut.d.mts +11 -0
- package/dist/esm/api/types/AopConfigUpdateResponseOut.mjs +2 -0
- package/dist/esm/api/types/AopCreateResponseOut.d.mts +17 -0
- package/dist/esm/api/types/AopCreateResponseOut.mjs +2 -0
- package/dist/esm/api/types/AopExecuteRequestIn.d.mts +3 -1
- package/dist/esm/api/types/AopExecuteResponseOut.d.mts +2 -2
- package/dist/esm/api/types/AssetCapabilitiesResponseOut.d.mts +10 -0
- package/dist/esm/api/types/AssetCapabilitiesResponseOut.mjs +2 -0
- package/dist/esm/api/types/AssetComment.d.mts +19 -0
- package/dist/esm/api/types/AssetComment.mjs +2 -0
- package/dist/esm/api/types/AssetCommentThread.d.mts +22 -0
- package/dist/esm/api/types/AssetCommentThread.mjs +2 -0
- package/dist/esm/api/types/AssetContentRequestOut.d.mts +3 -0
- package/dist/esm/api/types/AssetNode.d.mts +1 -1
- package/dist/esm/api/types/AssetReadErrorOut.d.mts +15 -0
- package/dist/esm/api/types/AssetReadErrorOut.mjs +2 -0
- package/dist/esm/api/types/AssetReadResponseOut.d.mts +8 -0
- package/dist/esm/api/types/AssetReadResponseOut.mjs +2 -0
- package/dist/esm/api/types/AssetReadResult.d.mts +28 -0
- package/dist/esm/api/types/AssetReadResult.mjs +2 -0
- package/dist/esm/api/types/BorderModel.d.mts +2 -2
- package/dist/esm/api/types/BordersModel.d.mts +4 -4
- package/dist/esm/api/types/CellFormat.d.mts +10 -10
- package/dist/esm/api/types/Chunk.d.mts +1 -1
- package/dist/esm/api/types/ChunkResult.d.mts +1 -1
- package/dist/esm/api/types/ConversationAssetInfo.d.mts +12 -12
- package/dist/esm/api/types/ConversationMessage.d.mts +4 -1
- package/dist/esm/api/types/ConversationResult.d.mts +6 -6
- package/dist/esm/api/types/CreatableAssetType.d.mts +2 -0
- package/dist/esm/api/types/CreatableAssetType.mjs +2 -0
- package/dist/esm/api/types/CreateAssetResponseOut.d.mts +3 -1
- package/dist/esm/api/types/CreateProjectResponseOut.d.mts +4 -4
- package/dist/esm/api/types/DataFrameRequestOut.d.mts +3 -3
- package/dist/esm/api/types/DatabaseColumnInfo.d.mts +2 -2
- package/dist/esm/api/types/DatabaseMutationResponse.d.mts +1 -1
- package/dist/esm/api/types/DatabaseSqlResponse.d.mts +3 -3
- package/dist/esm/api/types/DatabaseStatusResponse.d.mts +1 -1
- package/dist/esm/api/types/DatabaseTableInfo.d.mts +1 -1
- package/dist/esm/api/types/DeployComputerResponseOut.d.mts +11 -0
- package/dist/esm/api/types/DeployComputerResponseOut.mjs +2 -0
- package/dist/esm/api/types/DimensionProperties.d.mts +4 -4
- package/dist/esm/api/types/DuplicateAssetResponseOut.d.mts +17 -0
- package/dist/esm/api/types/DuplicateAssetResponseOut.mjs +2 -0
- package/dist/esm/api/types/GeneralAgentConfig.d.mts +1 -1
- package/dist/esm/api/types/GeneralAgentRequest.d.mts +1 -1
- package/dist/esm/api/types/GeneralAgentResponseMessage.d.mts +15 -12
- package/dist/esm/api/types/GeneralAgentResponseMessageKwargs.d.mts +11 -8
- package/dist/esm/api/types/GetTableResponse.d.mts +2 -0
- package/dist/esm/api/types/GridRange.d.mts +7 -0
- package/dist/esm/api/types/InputMessage.d.mts +7 -6
- package/dist/esm/api/types/InputMessageContentOneItem.d.mts +22 -0
- package/dist/esm/api/types/InputMessageContentOneItem.mjs +2 -0
- package/dist/esm/api/types/MeetingArtifactsOut.d.mts +17 -0
- package/dist/esm/api/types/MeetingArtifactsOut.mjs +2 -0
- package/dist/esm/api/types/MeetingOut.d.mts +28 -0
- package/dist/esm/api/types/MeetingOut.mjs +2 -0
- package/dist/esm/api/types/MeetingParticipantOut.d.mts +9 -0
- package/dist/esm/api/types/MeetingParticipantOut.mjs +2 -0
- package/dist/esm/api/types/MoveAssetResponseOut.d.mts +15 -0
- package/dist/esm/api/types/MoveAssetResponseOut.mjs +2 -0
- package/dist/esm/api/types/PaginatedAssetsOut.d.mts +1 -1
- package/dist/esm/api/types/PaginatedMeetingsOut.d.mts +18 -0
- package/dist/esm/api/types/PaginatedMeetingsOut.mjs +2 -0
- package/dist/esm/api/types/PaginatedSessionsOut.d.mts +18 -0
- package/dist/esm/api/types/PaginatedSessionsOut.mjs +2 -0
- package/dist/esm/api/types/PublicAssetOut.d.mts +7 -5
- package/dist/esm/api/types/ReadCapabilitiesOut.d.mts +19 -0
- package/dist/esm/api/types/ReadCapabilitiesOut.mjs +2 -0
- package/dist/esm/api/types/RedactedThinkingContent.d.mts +6 -0
- package/dist/esm/api/types/RedactedThinkingContent.mjs +2 -0
- package/dist/esm/api/types/RevokeSshAccessResponseOut.d.mts +7 -0
- package/dist/esm/api/types/RevokeSshAccessResponseOut.mjs +2 -0
- package/dist/esm/api/types/RunTaskResponse.d.mts +3 -3
- package/dist/esm/api/types/SemanticModelMetaResponseOut.d.mts +10 -2
- package/dist/esm/api/types/SessionOut.d.mts +41 -0
- package/dist/esm/api/types/SessionOut.mjs +2 -0
- package/dist/esm/api/types/ShareAssetResponseOut.d.mts +10 -0
- package/dist/esm/api/types/ShareAssetResponseOut.mjs +2 -0
- package/dist/esm/api/types/SharePermissionType.d.mts +6 -0
- package/dist/esm/api/types/SharePermissionType.mjs +6 -0
- package/dist/esm/api/types/ShareRecipient.d.mts +10 -0
- package/dist/esm/api/types/ShareRecipient.mjs +2 -0
- package/dist/esm/api/types/ShareRecipientResultOut.d.mts +13 -0
- package/dist/esm/api/types/ShareRecipientResultOut.mjs +2 -0
- package/dist/esm/api/types/Sheet.d.mts +8 -8
- package/dist/esm/api/types/SheetOperationResponse.d.mts +2 -0
- package/dist/esm/api/types/SshAccessResponseOut.d.mts +13 -0
- package/dist/esm/api/types/SshAccessResponseOut.mjs +2 -0
- package/dist/esm/api/types/StructuredDataExtractorResponse.d.mts +2 -2
- package/dist/esm/api/types/TextFormatModel.d.mts +8 -8
- package/dist/esm/api/types/ThemeColor.d.mts +1 -1
- package/dist/esm/api/types/ThinkingContent.d.mts +7 -0
- package/dist/esm/api/types/ThinkingContent.mjs +2 -0
- package/dist/esm/api/types/ThreadBatchStopResultItem.d.mts +1 -1
- package/dist/esm/api/types/ThreadStatusResponseOut.d.mts +2 -2
- package/dist/esm/api/types/ToolResultContent.d.mts +11 -0
- package/dist/esm/api/types/ToolResultContent.mjs +2 -0
- package/dist/esm/api/types/ToolUseContent.d.mts +8 -0
- package/dist/esm/api/types/ToolUseContent.mjs +2 -0
- package/dist/esm/api/types/UpdateWorkspaceDisclaimerIn.d.mts +13 -0
- package/dist/esm/api/types/UpdateWorkspaceDisclaimerIn.mjs +2 -0
- package/dist/esm/api/types/UserInfoOut.d.mts +14 -0
- package/dist/esm/api/types/UserInfoOut.mjs +2 -0
- package/dist/esm/api/types/WorkspaceAccessResponseOut.d.mts +9 -0
- package/dist/esm/api/types/WorkspaceAccessResponseOut.mjs +2 -0
- package/dist/esm/api/types/WorkspaceConfigurationResponseOut.d.mts +10 -0
- package/dist/esm/api/types/WorkspaceConfigurationResponseOut.mjs +2 -0
- package/dist/esm/api/types/WorkspaceDisclaimerOut.d.mts +13 -0
- package/dist/esm/api/types/WorkspaceDisclaimerOut.mjs +2 -0
- package/dist/esm/api/types/WorkspaceInfoOut.d.mts +11 -0
- package/dist/esm/api/types/WorkspaceInfoOut.mjs +2 -0
- package/dist/esm/api/types/WorkspaceShareAccess.d.mts +6 -0
- package/dist/esm/api/types/WorkspaceShareAccess.mjs +6 -0
- package/dist/esm/api/types/index.d.mts +37 -1
- package/dist/esm/api/types/index.mjs +37 -1
- package/dist/esm/core/exports.d.mts +1 -0
- package/dist/esm/core/exports.mjs +1 -0
- package/dist/esm/core/index.d.mts +2 -0
- package/dist/esm/core/index.mjs +2 -0
- package/dist/esm/core/pagination/Page.d.mts +33 -0
- package/dist/esm/core/pagination/Page.mjs +97 -0
- package/dist/esm/core/pagination/exports.d.mts +1 -0
- package/dist/esm/core/pagination/exports.mjs +1 -0
- package/dist/esm/core/pagination/index.d.mts +1 -0
- package/dist/esm/core/pagination/index.mjs +1 -0
- package/dist/esm/core/utils/index.d.mts +1 -0
- package/dist/esm/core/utils/index.mjs +1 -0
- package/dist/esm/core/utils/setObjectProperty.d.mts +11 -0
- package/dist/esm/core/utils/setObjectProperty.mjs +39 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1694 -318
- package/dist/cjs/api/resources/tools/client/requests/ToolsDataFrameRequest.d.ts +0 -22
- package/dist/cjs/api/resources/tools/client/requests/ToolsGetAssetScreenshotRequest.d.ts +0 -11
- package/dist/cjs/api/resources/tools/client/requests/ToolsListContentsRequest.d.ts +0 -13
- package/dist/cjs/api/resources/tools/types/ToolsDataFrameRequestColumnsItem.d.ts +0 -1
- package/dist/cjs/api/types/SemanticModelErrorResponse.d.ts +0 -6
- package/dist/esm/api/resources/tools/client/requests/ToolsDataFrameRequest.d.mts +0 -22
- package/dist/esm/api/resources/tools/client/requests/ToolsGetAssetScreenshotRequest.d.mts +0 -11
- package/dist/esm/api/resources/tools/client/requests/ToolsListContentsRequest.d.mts +0 -13
- package/dist/esm/api/resources/tools/types/ToolsDataFrameRequestColumnsItem.d.mts +0 -1
- package/dist/esm/api/types/SemanticModelErrorResponse.d.mts +0 -6
- /package/dist/cjs/api/resources/{assets/client/requests/AssetsListRequest.js → aop/client/requests/AopConfigUpdateRequestIn.js} +0 -0
- /package/dist/cjs/api/resources/{databases/client/requests/DatabasesDeleteRequest.js → aop/client/requests/AopCreateRequestIn.js} +0 -0
- /package/dist/cjs/api/resources/{databases/client/requests/DatabasesSelectRequest.js → aop/client/requests/GetConfigAopRequest.js} +0 -0
- /package/dist/cjs/api/resources/{query/client/requests/QueryExecuteSnippetRequest.js → assets/client/requests/ArchiveAssetsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{tools/client/requests/ToolsDataFrameRequest.js → assets/client/requests/DownloadAssetsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{tools/client/requests/ToolsGetAssetContentRequest.js → assets/client/requests/DuplicateAssetRequestIn.js} +0 -0
- /package/dist/cjs/api/resources/{tools/client/requests/ToolsGetAssetScreenshotRequest.js → assets/client/requests/GetAssetsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{tools/client/requests/ToolsListContentsRequest.js → assets/client/requests/ListAssetsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{tools/client/requests/ToolsRawDataRequest.js → assets/client/requests/MoveAssetRequestIn.js} +0 -0
- /package/dist/cjs/api/resources/{tools/types/ToolsDataFrameRequestColumnsItem.js → assets/client/requests/ShareAssetRequestIn.js} +0 -0
- /package/dist/cjs/api/{types/SemanticModelErrorResponse.js → resources/assets/client/requests/UpdateWorkspaceAccessRequestIn.js} +0 -0
- /package/dist/esm/api/resources/{assets/client/requests/AssetsListRequest.mjs → aop/client/requests/AopConfigUpdateRequestIn.mjs} +0 -0
- /package/dist/esm/api/resources/{databases/client/requests/DatabasesDeleteRequest.mjs → aop/client/requests/AopCreateRequestIn.mjs} +0 -0
- /package/dist/esm/api/resources/{databases/client/requests/DatabasesSelectRequest.mjs → aop/client/requests/GetConfigAopRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{query/client/requests/QueryExecuteSnippetRequest.mjs → assets/client/requests/ArchiveAssetsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{tools/client/requests/ToolsDataFrameRequest.mjs → assets/client/requests/DownloadAssetsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{tools/client/requests/ToolsGetAssetContentRequest.mjs → assets/client/requests/DuplicateAssetRequestIn.mjs} +0 -0
- /package/dist/esm/api/resources/{tools/client/requests/ToolsGetAssetScreenshotRequest.mjs → assets/client/requests/GetAssetsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{tools/client/requests/ToolsListContentsRequest.mjs → assets/client/requests/ListAssetsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{tools/client/requests/ToolsRawDataRequest.mjs → assets/client/requests/MoveAssetRequestIn.mjs} +0 -0
- /package/dist/esm/api/resources/{tools/types/ToolsDataFrameRequestColumnsItem.mjs → assets/client/requests/ShareAssetRequestIn.mjs} +0 -0
- /package/dist/esm/api/{types/SemanticModelErrorResponse.mjs → resources/assets/client/requests/UpdateWorkspaceAccessRequestIn.mjs} +0 -0
|
@@ -26,6 +26,16 @@ export declare class ToolsClient {
|
|
|
26
26
|
get sheets(): SheetsClient;
|
|
27
27
|
get structuredDataExtractor(): StructuredDataExtractorClient;
|
|
28
28
|
get tasks(): TasksClient;
|
|
29
|
+
/**
|
|
30
|
+
* List the read_asset capabilities for every supported asset type: available output formats, the default format, accepted and preferred anchors, and the pagination protocol. Static metadata; no asset access required.
|
|
31
|
+
*
|
|
32
|
+
* @param {ToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* await client.tools.getAssetCapabilities()
|
|
36
|
+
*/
|
|
37
|
+
getAssetCapabilities(requestOptions?: ToolsClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.AssetCapabilitiesResponseOut>;
|
|
38
|
+
private __getAssetCapabilities;
|
|
29
39
|
/**
|
|
30
40
|
* Get the chunks of a file.
|
|
31
41
|
*
|
|
@@ -46,7 +56,7 @@ export declare class ToolsClient {
|
|
|
46
56
|
/**
|
|
47
57
|
* Get the content of an asset.
|
|
48
58
|
*
|
|
49
|
-
* @param {AthenaIntelligence.
|
|
59
|
+
* @param {AthenaIntelligence.GetAssetContentToolsRequest} request
|
|
50
60
|
* @param {ToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
51
61
|
*
|
|
52
62
|
* @throws {@link AthenaIntelligence.UnauthorizedError}
|
|
@@ -58,12 +68,28 @@ export declare class ToolsClient {
|
|
|
58
68
|
* asset_id: "asset_id"
|
|
59
69
|
* })
|
|
60
70
|
*/
|
|
61
|
-
getAssetContent(request: AthenaIntelligence.
|
|
71
|
+
getAssetContent(request: AthenaIntelligence.GetAssetContentToolsRequest, requestOptions?: ToolsClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.AssetContentRequestOut>;
|
|
62
72
|
private __getAssetContent;
|
|
73
|
+
/**
|
|
74
|
+
* Read one or more assets with citation-style anchors, output format selection (text/json/image), and pagination. Each result discloses the asset type's read capabilities and returns a structured teaching error when a read fails. Mirrors the agent's read_asset tool.
|
|
75
|
+
*
|
|
76
|
+
* @param {AthenaIntelligence.AssetReadRequestIn} request
|
|
77
|
+
* @param {ToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AthenaIntelligence.UnauthorizedError}
|
|
80
|
+
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* await client.tools.readAsset({
|
|
84
|
+
* asset_ids: ["asset_9249292-d118-42d3-95b4-00eccfe0754f?anchor=page&page=1&format=text"]
|
|
85
|
+
* })
|
|
86
|
+
*/
|
|
87
|
+
readAsset(request: AthenaIntelligence.AssetReadRequestIn, requestOptions?: ToolsClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.AssetReadResponseOut>;
|
|
88
|
+
private __readAsset;
|
|
63
89
|
/**
|
|
64
90
|
* Get a screenshot of a specific page from an asset.
|
|
65
91
|
*
|
|
66
|
-
* @param {AthenaIntelligence.
|
|
92
|
+
* @param {AthenaIntelligence.GetAssetScreenshotToolsRequest} request
|
|
67
93
|
* @param {ToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
68
94
|
*
|
|
69
95
|
* @throws {@link AthenaIntelligence.UnauthorizedError}
|
|
@@ -73,16 +99,15 @@ export declare class ToolsClient {
|
|
|
73
99
|
*
|
|
74
100
|
* @example
|
|
75
101
|
* await client.tools.getAssetScreenshot({
|
|
76
|
-
* asset_id: "asset_id"
|
|
77
|
-
* page_number: 1
|
|
102
|
+
* asset_id: "asset_id"
|
|
78
103
|
* })
|
|
79
104
|
*/
|
|
80
|
-
getAssetScreenshot(request: AthenaIntelligence.
|
|
105
|
+
getAssetScreenshot(request: AthenaIntelligence.GetAssetScreenshotToolsRequest, requestOptions?: ToolsClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.AssetScreenshotResponseOut>;
|
|
81
106
|
private __getAssetScreenshot;
|
|
82
107
|
/**
|
|
83
108
|
* List contents of an asset (Folder, Collection, Project) or entire workspace in a tree structure.
|
|
84
109
|
*
|
|
85
|
-
* @param {AthenaIntelligence.
|
|
110
|
+
* @param {AthenaIntelligence.ListContentsToolsRequest} request
|
|
86
111
|
* @param {ToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
87
112
|
*
|
|
88
113
|
* @throws {@link AthenaIntelligence.BadRequestError}
|
|
@@ -91,16 +116,12 @@ export declare class ToolsClient {
|
|
|
91
116
|
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
92
117
|
*
|
|
93
118
|
* @example
|
|
94
|
-
* await client.tools.listContents(
|
|
95
|
-
* asset_id: "asset_id",
|
|
96
|
-
* include_asset_details: true,
|
|
97
|
-
* include_system_files: true
|
|
98
|
-
* })
|
|
119
|
+
* await client.tools.listContents()
|
|
99
120
|
*/
|
|
100
|
-
listContents(request?: AthenaIntelligence.
|
|
121
|
+
listContents(request?: AthenaIntelligence.ListContentsToolsRequest, requestOptions?: ToolsClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.FolderResponse>;
|
|
101
122
|
private __listContents;
|
|
102
123
|
/**
|
|
103
|
-
* @param {AthenaIntelligence.
|
|
124
|
+
* @param {AthenaIntelligence.DataFrameToolsRequest} request
|
|
104
125
|
* @param {ToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
105
126
|
*
|
|
106
127
|
* @throws {@link AthenaIntelligence.UnauthorizedError}
|
|
@@ -111,23 +132,19 @@ export declare class ToolsClient {
|
|
|
111
132
|
*
|
|
112
133
|
* @example
|
|
113
134
|
* await client.tools.dataFrame({
|
|
114
|
-
* asset_id: "asset_id"
|
|
115
|
-
* row_limit: 1,
|
|
116
|
-
* index_column: 1,
|
|
117
|
-
* sheet_name: "sheet_name",
|
|
118
|
-
* separator: "separator"
|
|
135
|
+
* asset_id: "asset_id"
|
|
119
136
|
* })
|
|
120
137
|
*/
|
|
121
|
-
dataFrame(request: AthenaIntelligence.
|
|
138
|
+
dataFrame(request: AthenaIntelligence.DataFrameToolsRequest, requestOptions?: ToolsClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.DataFrameRequestOut>;
|
|
122
139
|
private __dataFrame;
|
|
123
140
|
/**
|
|
124
|
-
*
|
|
141
|
+
* Stream an asset's raw file data. Prefer GET /api/v0/assets/{asset_id}/download for downloads: it converts native collaborative assets to their canonical Office format (documents to .docx, spreadsheets to .xlsx, presentations to .pptx), prefers original over converted bytes, sets a Content-Disposition filename, and fails with an HTTP error instead of degrading to a text summary of the asset.
|
|
125
142
|
* @throws {@link AthenaIntelligence.UnauthorizedError}
|
|
126
143
|
* @throws {@link AthenaIntelligence.NotFoundError}
|
|
127
144
|
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
128
145
|
* @throws {@link AthenaIntelligence.InternalServerError}
|
|
129
146
|
*/
|
|
130
|
-
rawData(request: AthenaIntelligence.
|
|
147
|
+
rawData(request: AthenaIntelligence.RawDataToolsRequest, requestOptions?: ToolsClient.RequestOptions): core.HttpResponsePromise<core.BinaryResponse>;
|
|
131
148
|
private __rawData;
|
|
132
149
|
/**
|
|
133
150
|
* Save a file as an asset in the user's workspace.
|
|
@@ -142,8 +159,7 @@ export declare class ToolsClient {
|
|
|
142
159
|
* @example
|
|
143
160
|
* import { createReadStream } from "fs";
|
|
144
161
|
* await client.tools.saveAsset({
|
|
145
|
-
* file: fs.createReadStream("/path/to/your/file")
|
|
146
|
-
* parent_folder_id: "parent_folder_id"
|
|
162
|
+
* file: fs.createReadStream("/path/to/your/file")
|
|
147
163
|
* })
|
|
148
164
|
*/
|
|
149
165
|
saveAsset(request: AthenaIntelligence.BodySaveAssetApiV0ToolsFileSavePost, requestOptions?: ToolsClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.SaveAssetRequestOut>;
|
|
@@ -44,6 +44,68 @@ export class ToolsClient {
|
|
|
44
44
|
var _a;
|
|
45
45
|
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new TasksClient(this._options)));
|
|
46
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* List the read_asset capabilities for every supported asset type: available output formats, the default format, accepted and preferred anchors, and the pagination protocol. Static metadata; no asset access required.
|
|
49
|
+
*
|
|
50
|
+
* @param {ToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* await client.tools.getAssetCapabilities()
|
|
54
|
+
*/
|
|
55
|
+
getAssetCapabilities(requestOptions) {
|
|
56
|
+
return core.HttpResponsePromise.fromPromise(this.__getAssetCapabilities(requestOptions));
|
|
57
|
+
}
|
|
58
|
+
__getAssetCapabilities(requestOptions) {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
61
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
62
|
+
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);
|
|
63
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
64
|
+
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/tools/asset/capabilities"),
|
|
65
|
+
method: "GET",
|
|
66
|
+
headers: _headers,
|
|
67
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
68
|
+
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,
|
|
69
|
+
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,
|
|
70
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
71
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
72
|
+
logging: this._options.logging,
|
|
73
|
+
});
|
|
74
|
+
if (_response.ok) {
|
|
75
|
+
return {
|
|
76
|
+
data: _response.body,
|
|
77
|
+
rawResponse: _response.rawResponse,
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
if (_response.error.reason === "status-code") {
|
|
81
|
+
throw new errors.AthenaIntelligenceError({
|
|
82
|
+
statusCode: _response.error.statusCode,
|
|
83
|
+
body: _response.error.body,
|
|
84
|
+
rawResponse: _response.rawResponse,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
switch (_response.error.reason) {
|
|
88
|
+
case "non-json":
|
|
89
|
+
throw new errors.AthenaIntelligenceError({
|
|
90
|
+
statusCode: _response.error.statusCode,
|
|
91
|
+
body: _response.error.rawBody,
|
|
92
|
+
rawResponse: _response.rawResponse,
|
|
93
|
+
});
|
|
94
|
+
case "body-is-null":
|
|
95
|
+
throw new errors.AthenaIntelligenceError({
|
|
96
|
+
statusCode: _response.error.statusCode,
|
|
97
|
+
rawResponse: _response.rawResponse,
|
|
98
|
+
});
|
|
99
|
+
case "timeout":
|
|
100
|
+
throw new errors.AthenaIntelligenceTimeoutError("Timeout exceeded when calling GET /api/v0/tools/asset/capabilities.");
|
|
101
|
+
case "unknown":
|
|
102
|
+
throw new errors.AthenaIntelligenceError({
|
|
103
|
+
message: _response.error.errorMessage,
|
|
104
|
+
rawResponse: _response.rawResponse,
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
}
|
|
47
109
|
/**
|
|
48
110
|
* Get the chunks of a file.
|
|
49
111
|
*
|
|
@@ -125,7 +187,7 @@ export class ToolsClient {
|
|
|
125
187
|
/**
|
|
126
188
|
* Get the content of an asset.
|
|
127
189
|
*
|
|
128
|
-
* @param {AthenaIntelligence.
|
|
190
|
+
* @param {AthenaIntelligence.GetAssetContentToolsRequest} request
|
|
129
191
|
* @param {ToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
130
192
|
*
|
|
131
193
|
* @throws {@link AthenaIntelligence.UnauthorizedError}
|
|
@@ -143,9 +205,12 @@ export class ToolsClient {
|
|
|
143
205
|
__getAssetContent(request, requestOptions) {
|
|
144
206
|
return __awaiter(this, void 0, void 0, function* () {
|
|
145
207
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
146
|
-
const { asset_id: assetId } = request;
|
|
208
|
+
const { asset_id: assetId, include_comments: includeComments } = request;
|
|
147
209
|
const _queryParams = {};
|
|
148
210
|
_queryParams.asset_id = assetId;
|
|
211
|
+
if (includeComments != null) {
|
|
212
|
+
_queryParams.include_comments = includeComments.toString();
|
|
213
|
+
}
|
|
149
214
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
150
215
|
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);
|
|
151
216
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
@@ -203,10 +268,88 @@ export class ToolsClient {
|
|
|
203
268
|
}
|
|
204
269
|
});
|
|
205
270
|
}
|
|
271
|
+
/**
|
|
272
|
+
* Read one or more assets with citation-style anchors, output format selection (text/json/image), and pagination. Each result discloses the asset type's read capabilities and returns a structured teaching error when a read fails. Mirrors the agent's read_asset tool.
|
|
273
|
+
*
|
|
274
|
+
* @param {AthenaIntelligence.AssetReadRequestIn} request
|
|
275
|
+
* @param {ToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
276
|
+
*
|
|
277
|
+
* @throws {@link AthenaIntelligence.UnauthorizedError}
|
|
278
|
+
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
279
|
+
*
|
|
280
|
+
* @example
|
|
281
|
+
* await client.tools.readAsset({
|
|
282
|
+
* asset_ids: ["asset_9249292-d118-42d3-95b4-00eccfe0754f?anchor=page&page=1&format=text"]
|
|
283
|
+
* })
|
|
284
|
+
*/
|
|
285
|
+
readAsset(request, requestOptions) {
|
|
286
|
+
return core.HttpResponsePromise.fromPromise(this.__readAsset(request, requestOptions));
|
|
287
|
+
}
|
|
288
|
+
__readAsset(request, requestOptions) {
|
|
289
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
290
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
291
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
292
|
+
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);
|
|
293
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
294
|
+
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/tools/asset/read"),
|
|
295
|
+
method: "POST",
|
|
296
|
+
headers: _headers,
|
|
297
|
+
contentType: "application/json",
|
|
298
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
299
|
+
requestType: "json",
|
|
300
|
+
body: request,
|
|
301
|
+
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,
|
|
302
|
+
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,
|
|
303
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
304
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
305
|
+
logging: this._options.logging,
|
|
306
|
+
});
|
|
307
|
+
if (_response.ok) {
|
|
308
|
+
return {
|
|
309
|
+
data: _response.body,
|
|
310
|
+
rawResponse: _response.rawResponse,
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
if (_response.error.reason === "status-code") {
|
|
314
|
+
switch (_response.error.statusCode) {
|
|
315
|
+
case 401:
|
|
316
|
+
throw new AthenaIntelligence.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
317
|
+
case 422:
|
|
318
|
+
throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
319
|
+
default:
|
|
320
|
+
throw new errors.AthenaIntelligenceError({
|
|
321
|
+
statusCode: _response.error.statusCode,
|
|
322
|
+
body: _response.error.body,
|
|
323
|
+
rawResponse: _response.rawResponse,
|
|
324
|
+
});
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
switch (_response.error.reason) {
|
|
328
|
+
case "non-json":
|
|
329
|
+
throw new errors.AthenaIntelligenceError({
|
|
330
|
+
statusCode: _response.error.statusCode,
|
|
331
|
+
body: _response.error.rawBody,
|
|
332
|
+
rawResponse: _response.rawResponse,
|
|
333
|
+
});
|
|
334
|
+
case "body-is-null":
|
|
335
|
+
throw new errors.AthenaIntelligenceError({
|
|
336
|
+
statusCode: _response.error.statusCode,
|
|
337
|
+
rawResponse: _response.rawResponse,
|
|
338
|
+
});
|
|
339
|
+
case "timeout":
|
|
340
|
+
throw new errors.AthenaIntelligenceTimeoutError("Timeout exceeded when calling POST /api/v0/tools/asset/read.");
|
|
341
|
+
case "unknown":
|
|
342
|
+
throw new errors.AthenaIntelligenceError({
|
|
343
|
+
message: _response.error.errorMessage,
|
|
344
|
+
rawResponse: _response.rawResponse,
|
|
345
|
+
});
|
|
346
|
+
}
|
|
347
|
+
});
|
|
348
|
+
}
|
|
206
349
|
/**
|
|
207
350
|
* Get a screenshot of a specific page from an asset.
|
|
208
351
|
*
|
|
209
|
-
* @param {AthenaIntelligence.
|
|
352
|
+
* @param {AthenaIntelligence.GetAssetScreenshotToolsRequest} request
|
|
210
353
|
* @param {ToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
211
354
|
*
|
|
212
355
|
* @throws {@link AthenaIntelligence.UnauthorizedError}
|
|
@@ -216,8 +359,7 @@ export class ToolsClient {
|
|
|
216
359
|
*
|
|
217
360
|
* @example
|
|
218
361
|
* await client.tools.getAssetScreenshot({
|
|
219
|
-
* asset_id: "asset_id"
|
|
220
|
-
* page_number: 1
|
|
362
|
+
* asset_id: "asset_id"
|
|
221
363
|
* })
|
|
222
364
|
*/
|
|
223
365
|
getAssetScreenshot(request, requestOptions) {
|
|
@@ -294,7 +436,7 @@ export class ToolsClient {
|
|
|
294
436
|
/**
|
|
295
437
|
* List contents of an asset (Folder, Collection, Project) or entire workspace in a tree structure.
|
|
296
438
|
*
|
|
297
|
-
* @param {AthenaIntelligence.
|
|
439
|
+
* @param {AthenaIntelligence.ListContentsToolsRequest} request
|
|
298
440
|
* @param {ToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
299
441
|
*
|
|
300
442
|
* @throws {@link AthenaIntelligence.BadRequestError}
|
|
@@ -303,11 +445,7 @@ export class ToolsClient {
|
|
|
303
445
|
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
304
446
|
*
|
|
305
447
|
* @example
|
|
306
|
-
* await client.tools.listContents(
|
|
307
|
-
* asset_id: "asset_id",
|
|
308
|
-
* include_asset_details: true,
|
|
309
|
-
* include_system_files: true
|
|
310
|
-
* })
|
|
448
|
+
* await client.tools.listContents()
|
|
311
449
|
*/
|
|
312
450
|
listContents(request = {}, requestOptions) {
|
|
313
451
|
return core.HttpResponsePromise.fromPromise(this.__listContents(request, requestOptions));
|
|
@@ -317,7 +455,7 @@ export class ToolsClient {
|
|
|
317
455
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
318
456
|
const { asset_id: assetId, include_asset_details: includeAssetDetails, include_system_files: includeSystemFiles, } = request;
|
|
319
457
|
const _queryParams = {};
|
|
320
|
-
if (assetId
|
|
458
|
+
if (assetId !== undefined) {
|
|
321
459
|
_queryParams.asset_id = assetId;
|
|
322
460
|
}
|
|
323
461
|
if (includeAssetDetails != null) {
|
|
@@ -383,7 +521,7 @@ export class ToolsClient {
|
|
|
383
521
|
});
|
|
384
522
|
}
|
|
385
523
|
/**
|
|
386
|
-
* @param {AthenaIntelligence.
|
|
524
|
+
* @param {AthenaIntelligence.DataFrameToolsRequest} request
|
|
387
525
|
* @param {ToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
388
526
|
*
|
|
389
527
|
* @throws {@link AthenaIntelligence.UnauthorizedError}
|
|
@@ -394,11 +532,7 @@ export class ToolsClient {
|
|
|
394
532
|
*
|
|
395
533
|
* @example
|
|
396
534
|
* await client.tools.dataFrame({
|
|
397
|
-
* asset_id: "asset_id"
|
|
398
|
-
* row_limit: 1,
|
|
399
|
-
* index_column: 1,
|
|
400
|
-
* sheet_name: "sheet_name",
|
|
401
|
-
* separator: "separator"
|
|
535
|
+
* asset_id: "asset_id"
|
|
402
536
|
* })
|
|
403
537
|
*/
|
|
404
538
|
dataFrame(request, requestOptions) {
|
|
@@ -406,41 +540,36 @@ export class ToolsClient {
|
|
|
406
540
|
}
|
|
407
541
|
__dataFrame(request, requestOptions) {
|
|
408
542
|
return __awaiter(this, void 0, void 0, function* () {
|
|
409
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
543
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
410
544
|
const { asset_id: assetId, row_limit: rowLimit, index_column: indexColumn, columns, sheet_name: sheetName, separator, } = request;
|
|
411
545
|
const _queryParams = {};
|
|
412
546
|
_queryParams.asset_id = assetId;
|
|
413
|
-
if (rowLimit
|
|
414
|
-
_queryParams.row_limit = rowLimit.toString();
|
|
547
|
+
if (rowLimit !== undefined) {
|
|
548
|
+
_queryParams.row_limit = (_a = rowLimit === null || rowLimit === void 0 ? void 0 : rowLimit.toString()) !== null && _a !== void 0 ? _a : null;
|
|
415
549
|
}
|
|
416
|
-
if (indexColumn
|
|
417
|
-
_queryParams.index_column = indexColumn.toString();
|
|
550
|
+
if (indexColumn !== undefined) {
|
|
551
|
+
_queryParams.index_column = (_b = indexColumn === null || indexColumn === void 0 ? void 0 : indexColumn.toString()) !== null && _b !== void 0 ? _b : null;
|
|
418
552
|
}
|
|
419
|
-
if (columns
|
|
420
|
-
|
|
421
|
-
_queryParams.columns = columns.map((item) => (typeof item === "string" ? item : toJson(item)));
|
|
422
|
-
}
|
|
423
|
-
else {
|
|
424
|
-
_queryParams.columns = typeof columns === "string" ? columns : toJson(columns);
|
|
425
|
-
}
|
|
553
|
+
if (columns !== undefined) {
|
|
554
|
+
_queryParams.columns = toJson(columns);
|
|
426
555
|
}
|
|
427
|
-
if (sheetName
|
|
428
|
-
_queryParams.sheet_name = sheetName;
|
|
556
|
+
if (sheetName !== undefined) {
|
|
557
|
+
_queryParams.sheet_name = typeof sheetName === "string" ? sheetName : toJson(sheetName);
|
|
429
558
|
}
|
|
430
|
-
if (separator
|
|
559
|
+
if (separator !== undefined) {
|
|
431
560
|
_queryParams.separator = separator;
|
|
432
561
|
}
|
|
433
562
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
434
|
-
const _headers = mergeHeaders(_authRequest.headers, (
|
|
435
|
-
const _response = yield ((
|
|
436
|
-
url: core.url.join((
|
|
563
|
+
const _headers = mergeHeaders(_authRequest.headers, (_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
564
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
565
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.AthenaIntelligenceEnvironment.Production, "api/v0/tools/file/data-frame"),
|
|
437
566
|
method: "GET",
|
|
438
567
|
headers: _headers,
|
|
439
568
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
440
|
-
timeoutMs: ((
|
|
441
|
-
maxRetries: (
|
|
569
|
+
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
|
|
570
|
+
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
442
571
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
443
|
-
fetchFn: (
|
|
572
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
444
573
|
logging: this._options.logging,
|
|
445
574
|
});
|
|
446
575
|
if (_response.ok) {
|
|
@@ -492,7 +621,7 @@ export class ToolsClient {
|
|
|
492
621
|
});
|
|
493
622
|
}
|
|
494
623
|
/**
|
|
495
|
-
*
|
|
624
|
+
* Stream an asset's raw file data. Prefer GET /api/v0/assets/{asset_id}/download for downloads: it converts native collaborative assets to their canonical Office format (documents to .docx, spreadsheets to .xlsx, presentations to .pptx), prefers original over converted bytes, sets a Content-Disposition filename, and fails with an HTTP error instead of degrading to a text summary of the asset.
|
|
496
625
|
* @throws {@link AthenaIntelligence.UnauthorizedError}
|
|
497
626
|
* @throws {@link AthenaIntelligence.NotFoundError}
|
|
498
627
|
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
@@ -577,8 +706,7 @@ export class ToolsClient {
|
|
|
577
706
|
* @example
|
|
578
707
|
* import { createReadStream } from "fs";
|
|
579
708
|
* await client.tools.saveAsset({
|
|
580
|
-
* file: fs.createReadStream("/path/to/your/file")
|
|
581
|
-
* parent_folder_id: "parent_folder_id"
|
|
709
|
+
* file: fs.createReadStream("/path/to/your/file")
|
|
582
710
|
* })
|
|
583
711
|
*/
|
|
584
712
|
saveAsset(request, requestOptions) {
|
|
@@ -588,7 +716,7 @@ export class ToolsClient {
|
|
|
588
716
|
return __awaiter(this, void 0, void 0, function* () {
|
|
589
717
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
590
718
|
const _queryParams = {};
|
|
591
|
-
if (request.parent_folder_id
|
|
719
|
+
if (request.parent_folder_id !== undefined) {
|
|
592
720
|
_queryParams.parent_folder_id = request.parent_folder_id;
|
|
593
721
|
}
|
|
594
722
|
const _request = yield core.newFormData();
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* asset_ids: ["asset_9249292-d118-42d3-95b4-00eccfe0754f?anchor=page&page=1&format=text"]
|
|
5
|
+
* }
|
|
6
|
+
*/
|
|
7
|
+
export interface AssetReadRequestIn {
|
|
8
|
+
/** 1-10 asset identifiers to read. Each id may carry inline read options using citation-style query syntax, e.g. 'asset_xxx?anchor=page&page=3&format=image'. Versioned ('asset_xxx@version') and live ('asset_xxx_providerId') ids are supported. */
|
|
9
|
+
asset_ids: string[];
|
|
10
|
+
/** Optional password for reading password-protected Office files. Applied to every asset in the request. */
|
|
11
|
+
password?: string | null;
|
|
12
|
+
}
|
package/dist/esm/api/resources/tools/client/requests/BodySaveAssetApiV0ToolsFileSavePost.d.mts
CHANGED
|
@@ -2,12 +2,11 @@ import type * as core from "../../../../../core/index.mjs";
|
|
|
2
2
|
/**
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
|
-
* file: fs.createReadStream("/path/to/your/file")
|
|
6
|
-
* parent_folder_id: "parent_folder_id"
|
|
5
|
+
* file: fs.createReadStream("/path/to/your/file")
|
|
7
6
|
* }
|
|
8
7
|
*/
|
|
9
8
|
export interface BodySaveAssetApiV0ToolsFileSavePost {
|
|
10
9
|
/** Identifier of the folder into which the asset should be saved */
|
|
11
|
-
parent_folder_id?: string;
|
|
10
|
+
parent_folder_id?: string | null;
|
|
12
11
|
file: core.file.Uploadable;
|
|
13
12
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type * as AthenaIntelligence from "../../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* asset_id: "asset_id"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface DataFrameToolsRequest {
|
|
9
|
+
asset_id: string;
|
|
10
|
+
row_limit?: number | null;
|
|
11
|
+
index_column?: number | null;
|
|
12
|
+
/** should be a list of strings or a list of integers */
|
|
13
|
+
columns?: AthenaIntelligence.DataFrameToolsRequestColumnsItem[] | null;
|
|
14
|
+
/** only for excel files */
|
|
15
|
+
sheet_name?: AthenaIntelligence.DataFrameToolsRequestSheetName | null;
|
|
16
|
+
/** only for csv files */
|
|
17
|
+
separator?: string | null;
|
|
18
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
export type { AssetReadRequestIn } from "./AssetReadRequestIn.mjs";
|
|
1
2
|
export type { BodySaveAssetApiV0ToolsFileSavePost } from "./BodySaveAssetApiV0ToolsFileSavePost.mjs";
|
|
3
|
+
export type { DataFrameToolsRequest } from "./DataFrameToolsRequest.mjs";
|
|
2
4
|
export type { FileChunkRequestIn } from "./FileChunkRequestIn.mjs";
|
|
3
|
-
export type {
|
|
4
|
-
export type {
|
|
5
|
-
export type {
|
|
6
|
-
export type {
|
|
7
|
-
export type { ToolsRawDataRequest } from "./ToolsRawDataRequest.mjs";
|
|
5
|
+
export type { GetAssetContentToolsRequest } from "./GetAssetContentToolsRequest.mjs";
|
|
6
|
+
export type { GetAssetScreenshotToolsRequest } from "./GetAssetScreenshotToolsRequest.mjs";
|
|
7
|
+
export type { ListContentsToolsRequest } from "./ListContentsToolsRequest.mjs";
|
|
8
|
+
export type { RawDataToolsRequest } from "./RawDataToolsRequest.mjs";
|
package/dist/esm/api/resources/tools/resources/sheets/client/requests/DuplicateSheetRequest.d.mts
CHANGED
|
@@ -8,7 +8,7 @@ export interface DuplicateSheetRequest {
|
|
|
8
8
|
/** The ID of the spreadsheet asset */
|
|
9
9
|
asset_id: string;
|
|
10
10
|
/** New sheet ID for the duplicated sheet (auto-generated if not provided) */
|
|
11
|
-
new_sheet_id?: number;
|
|
11
|
+
new_sheet_id?: number | null;
|
|
12
12
|
/** Sheet ID to duplicate */
|
|
13
13
|
sheet_id?: number;
|
|
14
14
|
}
|
package/dist/esm/api/resources/tools/resources/sheets/client/requests/InsertTableRowRequest.d.mts
CHANGED
|
@@ -15,7 +15,7 @@ export interface InsertTableRowRequest {
|
|
|
15
15
|
/** Array of row objects where keys are column names and values are cell values */
|
|
16
16
|
row_data: AthenaIntelligence.TableRowData[];
|
|
17
17
|
/** Table ID to insert row into */
|
|
18
|
-
table_id?: string;
|
|
18
|
+
table_id?: string | null;
|
|
19
19
|
/** Table name to insert row into */
|
|
20
20
|
table_name: string;
|
|
21
21
|
}
|
package/dist/esm/api/resources/tools/resources/sheets/client/requests/UpdateSheetCellRequest.d.mts
CHANGED
|
@@ -16,6 +16,8 @@ export interface UpdateSheetCellRequest {
|
|
|
16
16
|
row: number;
|
|
17
17
|
/** Sheet ID (defaults to 1) */
|
|
18
18
|
sheet_id?: number;
|
|
19
|
+
/** Store the value as text (plain-text cell format): no numeric coercion, leading zeros preserved, formula-looking input kept literal — like a text-formatted cell in Excel. */
|
|
20
|
+
treat_as_text?: boolean;
|
|
19
21
|
/** Value to set in the cell */
|
|
20
22
|
value: string;
|
|
21
23
|
}
|