@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
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* parent_folder_id: "asset_folder_12345",
|
|
5
|
+
* source_asset_id: "asset_92492920-d118-42d3-95b4-00eccfe0754f",
|
|
6
|
+
* workspace_id: "workspace_abc123"
|
|
7
|
+
* }
|
|
8
|
+
*/
|
|
9
|
+
export interface DuplicateAssetRequestIn {
|
|
10
|
+
/** Optional destination folder for the duplicated asset */
|
|
11
|
+
parent_folder_id?: string | null;
|
|
12
|
+
/** ID of the asset to duplicate */
|
|
13
|
+
source_asset_id: string;
|
|
14
|
+
/** Workspace to create the duplicate in. If omitted, the source asset's workspace is used. */
|
|
15
|
+
workspace_id?: string | null;
|
|
16
|
+
}
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @example
|
|
3
|
-
* {
|
|
4
|
-
* limit: 1,
|
|
5
|
-
* offset: 1,
|
|
6
|
-
* filters: "filters",
|
|
7
|
-
* sort: "sort"
|
|
8
|
-
* }
|
|
3
|
+
* {}
|
|
9
4
|
*/
|
|
10
|
-
export interface
|
|
5
|
+
export interface ListAssetsRequest {
|
|
11
6
|
/** Maximum number of assets to return per page (1-500) */
|
|
12
7
|
limit?: number;
|
|
13
8
|
/** Number of assets to skip for pagination */
|
|
14
9
|
offset?: number;
|
|
15
|
-
/** JSON string of filter criteria. Supports: created_by_id, created_by_email, tags, created_after/before, updated_after/before, title_substring, is_archived, is_hidden, athena_metadata, media_type, athena_converted_type, athena_original_type, summary_ready, summary_status */
|
|
16
|
-
filters?: string;
|
|
10
|
+
/** JSON string of filter criteria. Supports: created_by_id, created_by_email, tags, created_after/before, updated_after/before, title_substring, is_archived, is_hidden, athena_metadata, media_type, athena_converted_type, athena_original_type, summary_ready, summary_status, workspace_id */
|
|
11
|
+
filters?: string | null;
|
|
17
12
|
/** JSON string of sort criteria: [{"field": "updated_at", "direction": "desc"}]. Supported fields: created_by_id, created_by_email, created_at, updated_at, is_archived, is_hidden, summary_ready, summary_status */
|
|
18
|
-
sort?: string;
|
|
13
|
+
sort?: string | null;
|
|
14
|
+
/** Workspace to list assets from. Caller must be a member. */
|
|
15
|
+
workspace_id?: string | null;
|
|
19
16
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* asset_id: "asset_id",
|
|
5
|
+
* parent_folder_id: "asset_folder_12345"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface MoveAssetRequestIn {
|
|
9
|
+
asset_id: string;
|
|
10
|
+
/** ID of the destination folder. Pass null or omit the field to move the asset to the workspace root. */
|
|
11
|
+
parent_folder_id?: string | null;
|
|
12
|
+
/** Optional drive asset ID. When provided without parent_folder_id, the asset moves to the drive root. */
|
|
13
|
+
target_drive_id?: string | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type * as AthenaIntelligence from "../../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* asset_id: "asset_id",
|
|
6
|
+
* message: "Here's the document we discussed.",
|
|
7
|
+
* notify: true,
|
|
8
|
+
* recipients: [{
|
|
9
|
+
* email: "colleague@example.com",
|
|
10
|
+
* permission: "edit"
|
|
11
|
+
* }, {
|
|
12
|
+
* email: "reviewer@example.com",
|
|
13
|
+
* permission: "view"
|
|
14
|
+
* }]
|
|
15
|
+
* }
|
|
16
|
+
*/
|
|
17
|
+
export interface ShareAssetRequestIn {
|
|
18
|
+
asset_id: string;
|
|
19
|
+
/** Controls child-sharing when sharing a container asset (folder, collection, or project). true: also share the container's children owned by the current user. false: container only, skip children. null (default): folders share all accessible children; collections and projects are container-only (their cascade is opt-in via true). */
|
|
20
|
+
include_folder_contents?: boolean | null;
|
|
21
|
+
/** Optional personal message to include in the notification email (max 2000 characters) */
|
|
22
|
+
message?: string | null;
|
|
23
|
+
/** Whether to send email notifications to recipients */
|
|
24
|
+
notify?: boolean;
|
|
25
|
+
/** List of users to share the asset with. Each entry specifies an email address and the permission level to grant. */
|
|
26
|
+
recipients: AthenaIntelligence.ShareRecipient[];
|
|
27
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as AthenaIntelligence from "../../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* asset_id: "asset_id",
|
|
6
|
+
* workspace_access: "view"
|
|
7
|
+
* }
|
|
8
|
+
*/
|
|
9
|
+
export interface UpdateWorkspaceAccessRequestIn {
|
|
10
|
+
asset_id: string;
|
|
11
|
+
/** Permission level to grant to the entire workspace. Set to 'view' or 'edit'. */
|
|
12
|
+
workspace_access: AthenaIntelligence.WorkspaceShareAccess;
|
|
13
|
+
}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { ArchiveAssetsRequest } from "./ArchiveAssetsRequest.js";
|
|
2
2
|
export type { CreateAssetRequestIn } from "./CreateAssetRequestIn.js";
|
|
3
3
|
export type { CreateProjectRequestIn } from "./CreateProjectRequestIn.js";
|
|
4
|
+
export type { DownloadAssetsRequest } from "./DownloadAssetsRequest.js";
|
|
5
|
+
export type { DuplicateAssetRequestIn } from "./DuplicateAssetRequestIn.js";
|
|
6
|
+
export type { GetAssetsRequest } from "./GetAssetsRequest.js";
|
|
7
|
+
export type { ListAssetsRequest } from "./ListAssetsRequest.js";
|
|
8
|
+
export type { MoveAssetRequestIn } from "./MoveAssetRequestIn.js";
|
|
9
|
+
export type { ShareAssetRequestIn } from "./ShareAssetRequestIn.js";
|
|
10
|
+
export type { UpdateWorkspaceAccessRequestIn } from "./UpdateWorkspaceAccessRequestIn.js";
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
|
|
3
|
+
import * as core from "../../../../core/index.js";
|
|
4
|
+
import * as AthenaIntelligence from "../../../index.js";
|
|
5
|
+
export declare namespace ComputerClient {
|
|
6
|
+
interface Options extends BaseClientOptions {
|
|
7
|
+
}
|
|
8
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare class ComputerClient {
|
|
12
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<ComputerClient.Options>;
|
|
13
|
+
constructor(options: ComputerClient.Options);
|
|
14
|
+
/**
|
|
15
|
+
* Deploy a computer asset's running application to a shareable, persistent preview URL — the same action the Deploy button in the Olympus UI performs. Auto-starts the computer if it is stopped, validates that the requested port is reachable, records the deployment in the asset's metadata (so the UI stays in sync), and returns the Marathon preview URL for the exposed port. Call it with different ports to deploy multiple services from the same computer.
|
|
16
|
+
*
|
|
17
|
+
* @param {AthenaIntelligence.DeployComputerRequestIn} request
|
|
18
|
+
* @param {ComputerClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
19
|
+
*
|
|
20
|
+
* @throws {@link AthenaIntelligence.UnauthorizedError}
|
|
21
|
+
* @throws {@link AthenaIntelligence.NotFoundError}
|
|
22
|
+
* @throws {@link AthenaIntelligence.ConflictError}
|
|
23
|
+
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
24
|
+
* @throws {@link AthenaIntelligence.BadGatewayError}
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* await client.computer.deployComputer({
|
|
28
|
+
* asset_id: "asset_id",
|
|
29
|
+
* port: 3000
|
|
30
|
+
* })
|
|
31
|
+
*/
|
|
32
|
+
deployComputer(request: AthenaIntelligence.DeployComputerRequestIn, requestOptions?: ComputerClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.DeployComputerResponseOut>;
|
|
33
|
+
private __deployComputer;
|
|
34
|
+
/**
|
|
35
|
+
* Generate a time-limited SSH access token for a computer asset. Returns a full SSH command and token that can be used to connect to the computer's underlying VM and run commands. The computer must support SSH access and be in a running state.
|
|
36
|
+
*
|
|
37
|
+
* @param {AthenaIntelligence.CreateSshAccessRequestIn} request
|
|
38
|
+
* @param {ComputerClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link AthenaIntelligence.UnauthorizedError}
|
|
41
|
+
* @throws {@link AthenaIntelligence.NotFoundError}
|
|
42
|
+
* @throws {@link AthenaIntelligence.ConflictError}
|
|
43
|
+
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
44
|
+
* @throws {@link AthenaIntelligence.BadGatewayError}
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* await client.computer.createSshAccess({
|
|
48
|
+
* asset_id: "asset_id",
|
|
49
|
+
* expires_in_minutes: 60
|
|
50
|
+
* })
|
|
51
|
+
*/
|
|
52
|
+
createSshAccess(request: AthenaIntelligence.CreateSshAccessRequestIn, requestOptions?: ComputerClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.SshAccessResponseOut>;
|
|
53
|
+
private __createSshAccess;
|
|
54
|
+
/**
|
|
55
|
+
* Revoke a previously issued SSH access token for a computer asset. Use the token returned by create_ssh_access.
|
|
56
|
+
*
|
|
57
|
+
* @param {AthenaIntelligence.RevokeSshAccessRequestIn} request
|
|
58
|
+
* @param {ComputerClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AthenaIntelligence.UnauthorizedError}
|
|
61
|
+
* @throws {@link AthenaIntelligence.NotFoundError}
|
|
62
|
+
* @throws {@link AthenaIntelligence.ConflictError}
|
|
63
|
+
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
64
|
+
* @throws {@link AthenaIntelligence.BadGatewayError}
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* await client.computer.revokeSshAccess({
|
|
68
|
+
* asset_id: "asset_id",
|
|
69
|
+
* token: "abc123token"
|
|
70
|
+
* })
|
|
71
|
+
*/
|
|
72
|
+
revokeSshAccess(request: AthenaIntelligence.RevokeSshAccessRequestIn, requestOptions?: ComputerClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.RevokeSshAccessResponseOut>;
|
|
73
|
+
private __revokeSshAccess;
|
|
74
|
+
}
|
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
46
|
+
var t = {};
|
|
47
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
48
|
+
t[p] = s[p];
|
|
49
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
50
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
51
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
52
|
+
t[p[i]] = s[p[i]];
|
|
53
|
+
}
|
|
54
|
+
return t;
|
|
55
|
+
};
|
|
56
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57
|
+
exports.ComputerClient = void 0;
|
|
58
|
+
const BaseClient_js_1 = require("../../../../BaseClient.js");
|
|
59
|
+
const headers_js_1 = require("../../../../core/headers.js");
|
|
60
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
61
|
+
const environments = __importStar(require("../../../../environments.js"));
|
|
62
|
+
const errors = __importStar(require("../../../../errors/index.js"));
|
|
63
|
+
const AthenaIntelligence = __importStar(require("../../../index.js"));
|
|
64
|
+
class ComputerClient {
|
|
65
|
+
constructor(options) {
|
|
66
|
+
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Deploy a computer asset's running application to a shareable, persistent preview URL — the same action the Deploy button in the Olympus UI performs. Auto-starts the computer if it is stopped, validates that the requested port is reachable, records the deployment in the asset's metadata (so the UI stays in sync), and returns the Marathon preview URL for the exposed port. Call it with different ports to deploy multiple services from the same computer.
|
|
70
|
+
*
|
|
71
|
+
* @param {AthenaIntelligence.DeployComputerRequestIn} request
|
|
72
|
+
* @param {ComputerClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AthenaIntelligence.UnauthorizedError}
|
|
75
|
+
* @throws {@link AthenaIntelligence.NotFoundError}
|
|
76
|
+
* @throws {@link AthenaIntelligence.ConflictError}
|
|
77
|
+
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
78
|
+
* @throws {@link AthenaIntelligence.BadGatewayError}
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* await client.computer.deployComputer({
|
|
82
|
+
* asset_id: "asset_id",
|
|
83
|
+
* port: 3000
|
|
84
|
+
* })
|
|
85
|
+
*/
|
|
86
|
+
deployComputer(request, requestOptions) {
|
|
87
|
+
return core.HttpResponsePromise.fromPromise(this.__deployComputer(request, requestOptions));
|
|
88
|
+
}
|
|
89
|
+
__deployComputer(request, requestOptions) {
|
|
90
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
91
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
92
|
+
const { asset_id: assetId } = request, _body = __rest(request, ["asset_id"]);
|
|
93
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
94
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
95
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
96
|
+
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/computer/${core.url.encodePathParam(assetId)}/deploy`),
|
|
97
|
+
method: "POST",
|
|
98
|
+
headers: _headers,
|
|
99
|
+
contentType: "application/json",
|
|
100
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
101
|
+
requestType: "json",
|
|
102
|
+
body: _body,
|
|
103
|
+
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,
|
|
104
|
+
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,
|
|
105
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
106
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
107
|
+
logging: this._options.logging,
|
|
108
|
+
});
|
|
109
|
+
if (_response.ok) {
|
|
110
|
+
return {
|
|
111
|
+
data: _response.body,
|
|
112
|
+
rawResponse: _response.rawResponse,
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
if (_response.error.reason === "status-code") {
|
|
116
|
+
switch (_response.error.statusCode) {
|
|
117
|
+
case 401:
|
|
118
|
+
throw new AthenaIntelligence.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
119
|
+
case 404:
|
|
120
|
+
throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
|
|
121
|
+
case 409:
|
|
122
|
+
throw new AthenaIntelligence.ConflictError(_response.error.body, _response.rawResponse);
|
|
123
|
+
case 422:
|
|
124
|
+
throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
125
|
+
case 502:
|
|
126
|
+
throw new AthenaIntelligence.BadGatewayError(_response.error.body, _response.rawResponse);
|
|
127
|
+
default:
|
|
128
|
+
throw new errors.AthenaIntelligenceError({
|
|
129
|
+
statusCode: _response.error.statusCode,
|
|
130
|
+
body: _response.error.body,
|
|
131
|
+
rawResponse: _response.rawResponse,
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
switch (_response.error.reason) {
|
|
136
|
+
case "non-json":
|
|
137
|
+
throw new errors.AthenaIntelligenceError({
|
|
138
|
+
statusCode: _response.error.statusCode,
|
|
139
|
+
body: _response.error.rawBody,
|
|
140
|
+
rawResponse: _response.rawResponse,
|
|
141
|
+
});
|
|
142
|
+
case "body-is-null":
|
|
143
|
+
throw new errors.AthenaIntelligenceError({
|
|
144
|
+
statusCode: _response.error.statusCode,
|
|
145
|
+
rawResponse: _response.rawResponse,
|
|
146
|
+
});
|
|
147
|
+
case "timeout":
|
|
148
|
+
throw new errors.AthenaIntelligenceTimeoutError("Timeout exceeded when calling POST /api/v0/computer/{asset_id}/deploy.");
|
|
149
|
+
case "unknown":
|
|
150
|
+
throw new errors.AthenaIntelligenceError({
|
|
151
|
+
message: _response.error.errorMessage,
|
|
152
|
+
rawResponse: _response.rawResponse,
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Generate a time-limited SSH access token for a computer asset. Returns a full SSH command and token that can be used to connect to the computer's underlying VM and run commands. The computer must support SSH access and be in a running state.
|
|
159
|
+
*
|
|
160
|
+
* @param {AthenaIntelligence.CreateSshAccessRequestIn} request
|
|
161
|
+
* @param {ComputerClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
162
|
+
*
|
|
163
|
+
* @throws {@link AthenaIntelligence.UnauthorizedError}
|
|
164
|
+
* @throws {@link AthenaIntelligence.NotFoundError}
|
|
165
|
+
* @throws {@link AthenaIntelligence.ConflictError}
|
|
166
|
+
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
167
|
+
* @throws {@link AthenaIntelligence.BadGatewayError}
|
|
168
|
+
*
|
|
169
|
+
* @example
|
|
170
|
+
* await client.computer.createSshAccess({
|
|
171
|
+
* asset_id: "asset_id",
|
|
172
|
+
* expires_in_minutes: 60
|
|
173
|
+
* })
|
|
174
|
+
*/
|
|
175
|
+
createSshAccess(request, requestOptions) {
|
|
176
|
+
return core.HttpResponsePromise.fromPromise(this.__createSshAccess(request, requestOptions));
|
|
177
|
+
}
|
|
178
|
+
__createSshAccess(request, requestOptions) {
|
|
179
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
180
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
181
|
+
const { asset_id: assetId } = request, _body = __rest(request, ["asset_id"]);
|
|
182
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
183
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
184
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
185
|
+
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/computer/${core.url.encodePathParam(assetId)}/ssh-access`),
|
|
186
|
+
method: "POST",
|
|
187
|
+
headers: _headers,
|
|
188
|
+
contentType: "application/json",
|
|
189
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
190
|
+
requestType: "json",
|
|
191
|
+
body: _body,
|
|
192
|
+
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,
|
|
193
|
+
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,
|
|
194
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
195
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
196
|
+
logging: this._options.logging,
|
|
197
|
+
});
|
|
198
|
+
if (_response.ok) {
|
|
199
|
+
return {
|
|
200
|
+
data: _response.body,
|
|
201
|
+
rawResponse: _response.rawResponse,
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
if (_response.error.reason === "status-code") {
|
|
205
|
+
switch (_response.error.statusCode) {
|
|
206
|
+
case 401:
|
|
207
|
+
throw new AthenaIntelligence.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
208
|
+
case 404:
|
|
209
|
+
throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
|
|
210
|
+
case 409:
|
|
211
|
+
throw new AthenaIntelligence.ConflictError(_response.error.body, _response.rawResponse);
|
|
212
|
+
case 422:
|
|
213
|
+
throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
214
|
+
case 502:
|
|
215
|
+
throw new AthenaIntelligence.BadGatewayError(_response.error.body, _response.rawResponse);
|
|
216
|
+
default:
|
|
217
|
+
throw new errors.AthenaIntelligenceError({
|
|
218
|
+
statusCode: _response.error.statusCode,
|
|
219
|
+
body: _response.error.body,
|
|
220
|
+
rawResponse: _response.rawResponse,
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
switch (_response.error.reason) {
|
|
225
|
+
case "non-json":
|
|
226
|
+
throw new errors.AthenaIntelligenceError({
|
|
227
|
+
statusCode: _response.error.statusCode,
|
|
228
|
+
body: _response.error.rawBody,
|
|
229
|
+
rawResponse: _response.rawResponse,
|
|
230
|
+
});
|
|
231
|
+
case "body-is-null":
|
|
232
|
+
throw new errors.AthenaIntelligenceError({
|
|
233
|
+
statusCode: _response.error.statusCode,
|
|
234
|
+
rawResponse: _response.rawResponse,
|
|
235
|
+
});
|
|
236
|
+
case "timeout":
|
|
237
|
+
throw new errors.AthenaIntelligenceTimeoutError("Timeout exceeded when calling POST /api/v0/computer/{asset_id}/ssh-access.");
|
|
238
|
+
case "unknown":
|
|
239
|
+
throw new errors.AthenaIntelligenceError({
|
|
240
|
+
message: _response.error.errorMessage,
|
|
241
|
+
rawResponse: _response.rawResponse,
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* Revoke a previously issued SSH access token for a computer asset. Use the token returned by create_ssh_access.
|
|
248
|
+
*
|
|
249
|
+
* @param {AthenaIntelligence.RevokeSshAccessRequestIn} request
|
|
250
|
+
* @param {ComputerClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
251
|
+
*
|
|
252
|
+
* @throws {@link AthenaIntelligence.UnauthorizedError}
|
|
253
|
+
* @throws {@link AthenaIntelligence.NotFoundError}
|
|
254
|
+
* @throws {@link AthenaIntelligence.ConflictError}
|
|
255
|
+
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
256
|
+
* @throws {@link AthenaIntelligence.BadGatewayError}
|
|
257
|
+
*
|
|
258
|
+
* @example
|
|
259
|
+
* await client.computer.revokeSshAccess({
|
|
260
|
+
* asset_id: "asset_id",
|
|
261
|
+
* token: "abc123token"
|
|
262
|
+
* })
|
|
263
|
+
*/
|
|
264
|
+
revokeSshAccess(request, requestOptions) {
|
|
265
|
+
return core.HttpResponsePromise.fromPromise(this.__revokeSshAccess(request, requestOptions));
|
|
266
|
+
}
|
|
267
|
+
__revokeSshAccess(request, requestOptions) {
|
|
268
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
269
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
270
|
+
const { asset_id: assetId } = request, _body = __rest(request, ["asset_id"]);
|
|
271
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
272
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
273
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
274
|
+
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/computer/${core.url.encodePathParam(assetId)}/ssh-access`),
|
|
275
|
+
method: "DELETE",
|
|
276
|
+
headers: _headers,
|
|
277
|
+
contentType: "application/json",
|
|
278
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
279
|
+
requestType: "json",
|
|
280
|
+
body: _body,
|
|
281
|
+
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,
|
|
282
|
+
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,
|
|
283
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
284
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
285
|
+
logging: this._options.logging,
|
|
286
|
+
});
|
|
287
|
+
if (_response.ok) {
|
|
288
|
+
return {
|
|
289
|
+
data: _response.body,
|
|
290
|
+
rawResponse: _response.rawResponse,
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
if (_response.error.reason === "status-code") {
|
|
294
|
+
switch (_response.error.statusCode) {
|
|
295
|
+
case 401:
|
|
296
|
+
throw new AthenaIntelligence.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
297
|
+
case 404:
|
|
298
|
+
throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
|
|
299
|
+
case 409:
|
|
300
|
+
throw new AthenaIntelligence.ConflictError(_response.error.body, _response.rawResponse);
|
|
301
|
+
case 422:
|
|
302
|
+
throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
303
|
+
case 502:
|
|
304
|
+
throw new AthenaIntelligence.BadGatewayError(_response.error.body, _response.rawResponse);
|
|
305
|
+
default:
|
|
306
|
+
throw new errors.AthenaIntelligenceError({
|
|
307
|
+
statusCode: _response.error.statusCode,
|
|
308
|
+
body: _response.error.body,
|
|
309
|
+
rawResponse: _response.rawResponse,
|
|
310
|
+
});
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
switch (_response.error.reason) {
|
|
314
|
+
case "non-json":
|
|
315
|
+
throw new errors.AthenaIntelligenceError({
|
|
316
|
+
statusCode: _response.error.statusCode,
|
|
317
|
+
body: _response.error.rawBody,
|
|
318
|
+
rawResponse: _response.rawResponse,
|
|
319
|
+
});
|
|
320
|
+
case "body-is-null":
|
|
321
|
+
throw new errors.AthenaIntelligenceError({
|
|
322
|
+
statusCode: _response.error.statusCode,
|
|
323
|
+
rawResponse: _response.rawResponse,
|
|
324
|
+
});
|
|
325
|
+
case "timeout":
|
|
326
|
+
throw new errors.AthenaIntelligenceTimeoutError("Timeout exceeded when calling DELETE /api/v0/computer/{asset_id}/ssh-access.");
|
|
327
|
+
case "unknown":
|
|
328
|
+
throw new errors.AthenaIntelligenceError({
|
|
329
|
+
message: _response.error.errorMessage,
|
|
330
|
+
rawResponse: _response.rawResponse,
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
});
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
exports.ComputerClient = ComputerClient;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests/index.js"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* asset_id: "asset_id",
|
|
5
|
+
* expires_in_minutes: 60
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface CreateSshAccessRequestIn {
|
|
9
|
+
asset_id: string;
|
|
10
|
+
/** How long the SSH access token should remain valid, in minutes (1–480) */
|
|
11
|
+
expires_in_minutes?: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* asset_id: "asset_id",
|
|
5
|
+
* port: 3000
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface DeployComputerRequestIn {
|
|
9
|
+
asset_id: string;
|
|
10
|
+
/** Port inside the computer to expose publicly. Defaults to 3000. Each port gets its own deterministic preview subdomain, so you can deploy multiple services from the same computer by calling this endpoint with different ports. */
|
|
11
|
+
port?: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|