@sixb/client 0.2.3 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/agent-streams.d.ts +1 -1
  2. package/dist/agent-streams.d.ts.map +1 -1
  3. package/dist/browser.js +1 -1
  4. package/dist/{chunk-zerhr00d.js → chunk-60fdvjxa.js} +61 -2
  5. package/dist/chunk-60fdvjxa.js.map +10 -0
  6. package/dist/{chunk-seeyb9k9.js → chunk-pn4b10k4.js} +1 -1
  7. package/dist/{chunk-bgpzb1fn.js → chunk-tm588tr7.js} +1 -1
  8. package/dist/{chunk-90q7wa43.js → chunk-zta9jf24.js} +1 -1
  9. package/dist/{chunk-90q7wa43.js.map → chunk-zta9jf24.js.map} +2 -2
  10. package/dist/connectors/queries.d.ts.map +1 -1
  11. package/dist/generated/@tanstack/react-query.gen.d.ts +1620 -392
  12. package/dist/generated/@tanstack/react-query.gen.d.ts.map +1 -1
  13. package/dist/generated/index.d.ts +2 -2
  14. package/dist/generated/index.d.ts.map +1 -1
  15. package/dist/generated/sdk.gen.d.ts +32 -4
  16. package/dist/generated/sdk.gen.d.ts.map +1 -1
  17. package/dist/generated/types.gen.d.ts +1589 -220
  18. package/dist/generated/types.gen.d.ts.map +1 -1
  19. package/dist/hooks.js +97 -5
  20. package/dist/hooks.js.map +3 -3
  21. package/dist/index.js +17 -5
  22. package/dist/index.js.map +1 -1
  23. package/dist/logs.js +2 -2
  24. package/dist/models.js +15 -3
  25. package/dist/models.js.map +1 -1
  26. package/dist/query.js +2 -2
  27. package/dist/users-hooks.d.ts.map +1 -1
  28. package/package.json +2 -2
  29. package/src/agent-streams.ts +1 -0
  30. package/src/generated/@tanstack/react-query.gen.ts +188 -3
  31. package/src/generated/index.ts +35 -0
  32. package/src/generated/sdk.gen.ts +142 -3
  33. package/src/generated/types.gen.ts +2167 -272
  34. package/dist/chunk-zerhr00d.js.map +0 -10
  35. /package/dist/{chunk-seeyb9k9.js.map → chunk-pn4b10k4.js.map} +0 -0
  36. /package/dist/{chunk-bgpzb1fn.js.map → chunk-tm588tr7.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { type DefaultError, type InfiniteData, type UseMutationOptions } from "@tanstack/react-query";
2
2
  import { type Options } from "../sdk.gen";
3
- import type { AbortFileUploadData, AbortFileUploadError, AbortFileUploadResponse, AddAgentThreadParticipantsData, AddAgentThreadParticipantsError, AddAgentThreadParticipantsResponse, AddArtifactCommentData, AddArtifactCommentError, AddArtifactCommentResponse, AddConnectorConnectionData, AddConnectorConnectionError, AddConnectorConnectionResponse, CancelAgentRunByIdData, CancelAgentRunByIdError, CancelAgentRunByIdResponse, CancelAgentRunData, CancelAgentRunError, CancelAgentRunResponse, CancelWorkflowInterventionData, CancelWorkflowInterventionError, CancelWorkflowInterventionResponse, CancelWorkflowRunData, CancelWorkflowRunError, CancelWorkflowRunResponse, CaptureActivityData, CaptureActivityError, CaptureActivityResponse, ClearArtifactStateData, ClearArtifactStateError, ClearArtifactStateResponse, CompleteFileUploadData, CompleteFileUploadError, CompleteFileUploadResponse, CountObjectsData, CountObjectsError, CountObjectsResponse, CreateAgentThreadData, CreateAgentThreadError, CreateAgentThreadResponse, CreateAiLimitPolicyData, CreateAiLimitPolicyError, CreateAiLimitPolicyResponse, CreateArtifactData, CreateArtifactError, CreateArtifactFrameData, CreateArtifactFrameError, CreateArtifactFrameResponse, CreateArtifactResponse, CreateAuthInvitationData, CreateAuthInvitationError, CreateAuthInvitationResponse, CreateAuthPersonalAccessTokenData, CreateAuthPersonalAccessTokenError, CreateAuthPersonalAccessTokenResponse, CreateAuthServiceAccountAccessTokenData, CreateAuthServiceAccountAccessTokenError, CreateAuthServiceAccountAccessTokenResponse, CreateAuthServiceAccountData, CreateAuthServiceAccountError, CreateAuthServiceAccountResponse, CreateDeviceAuthorizationData, CreateDeviceAuthorizationError, CreateDeviceAuthorizationResponse, CreateFileUploadData, CreateFileUploadError, CreateFileUploadResponse, DecideAgentApprovalData, DecideAgentApprovalError, DecideAgentApprovalResponse, DeleteAgentMemoryData, DeleteAgentMemoryError, DeleteAgentMemoryResponse, DeleteAiLimitPolicyData, DeleteAiLimitPolicyError, DeleteAiLimitPolicyResponse, DeleteArtifactCommentData, DeleteArtifactCommentError, DeleteArtifactCommentResponse, DeleteArtifactData, DeleteArtifactError, DeleteArtifactResponse, DeleteArtifactStateValueData, DeleteArtifactStateValueError, DeleteArtifactStateValueResponse, DisableAuthServiceAccountData, DisableAuthServiceAccountError, DisableAuthServiceAccountResponse, DisconnectConnectorConnectionData, DisconnectConnectorConnectionError, DisconnectConnectorConnectionResponse, ExchangeDeviceAuthorizationData, ExchangeDeviceAuthorizationResponse, ExchangeSharedAccessData, ExchangeSharedAccessError, ExchangeSharedAccessResponse, ExistsObjectsData, ExistsObjectsError, ExistsObjectsResponse, FacetObjectsData, FacetObjectsError, FacetObjectsResponse, ForkAgentThreadData, ForkAgentThreadError, ForkAgentThreadResponse, FreezeArtifactVersionData, FreezeArtifactVersionError, FreezeArtifactVersionResponse, GenerateImagesData, GenerateImagesError, GenerateImagesResponse, GenerateSpeechData, GenerateSpeechError, GenerateSpeechResponse, GenerateTextData, GenerateTextError, GenerateTextResponse, GetActionData, GetActionRunData, GetActionRunError, GetActionRunFileContentData, GetActionRunFileContentResponse, GetActivityCalendarData, GetActivityCalendarError, GetActivityCaptureConfigData, GetActivityCaptureConfigError, GetActivitySummaryData, GetActivitySummaryError, GetActivityVisitTimelineData, GetActivityVisitTimelineError, GetAgentChildFileContentData, GetAgentChildFileContentResponse, GetAgentData, GetAgentMemoryData, GetAgentMemoryError, GetAgentMessageFileContentData, GetAgentMessageFileContentResponse, GetAgentPreferencesData, GetAgentPreferencesError, GetAgentRunData, GetAgentRunError, GetAgentThreadContextData, GetAgentThreadContextError, GetAgentThreadData, GetAgentThreadError, GetAiAccountingOverviewData, GetAiAccountingOverviewError, GetAiLimitStatusData, GetAiLimitStatusError, GetAiLimitSubjectOptionsData, GetAiLimitSubjectOptionsError, GetAiModelCallFileContentData, GetAiModelCallFileContentResponse, GetAiModelCallFilesData, GetArtifactBoardPreviewData, GetArtifactData, GetArtifactError, GetArtifactFileContentData, GetArtifactFileContentResponse, GetArtifactQueryData, GetArtifactQueryError, GetArtifactRestorePointData, GetArtifactRestorePointError, GetArtifactRestorePointFileContentData, GetArtifactRestorePointFileContentResponse, GetArtifactStateData, GetArtifactStateError, GetArtifactVersionData, GetArtifactVersionError, GetAuthAccessManagementOptionsData, GetAuthAccessManagementOptionsError, GetAuthInvitationOptionsData, GetAuthInvitationOptionsError, GetAuthMembershipOptionsData, GetAuthMembershipOptionsError, GetAuthProfileData, GetAuthProfileError, GetAuthSessionData, GetBulkTelemetryHistoryData, GetBulkTelemetryHistoryError, GetBulkTelemetryHistoryResponse, GetConnectorConnectionRunData, GetConnectorConnectionRunError, GetConnectorData, GetDatasetData, GetDatasetError, GetDatasetVersionData, GetDatasetVersionError, GetDatasetVersionLineageData, GetDatasetVersionLineageError, GetLakeHealthData, GetLatestTelemetryData, GetLatestTelemetryError, GetObjectByUniquePropertyData, GetObjectByUniquePropertyError, GetObjectByUniquePropertyResponse, GetObjectData, GetObjectFileContentData, GetObjectFileContentResponse, GetObjectLineageData, GetObjectLinkLineageData, GetObjectLinkLineageError, GetObjectTypeData, GetObservedAgentChildFileContentData, GetObservedAgentChildFileContentResponse, GetObservedAgentMessageFileContentData, GetObservedAgentMessageFileContentResponse, GetObservedAgentThreadData, GetObservedAgentThreadError, GetPipelineData, GetPipelineRunData, GetPipelineRunError, GetProjectInfoData, GetProjectionData, GetProjectionRunData, GetProjectionRunError, GetRuleData, GetSharedAccessSessionData, GetSharedAccessSessionError, GetStatusData, GetSyncData, GetTelemetryHistoryData, GetTelemetryHistoryError, GetUserData, GetUserError, GetWorkflowAgentNodeExecutionData, GetWorkflowAgentNodeExecutionError, GetWorkflowData, GetWorkflowInterventionData, GetWorkflowInterventionError, GetWorkflowNodeRunFileContentData, GetWorkflowNodeRunFileContentResponse, GetWorkflowRunData, GetWorkflowRunError, GetWorkflowRunFileContentData, GetWorkflowRunFileContentResponse, HoldAgentComputerSessionData, HoldAgentComputerSessionError, HoldAgentComputerSessionResponse, IssueSharedAccessGrantData, IssueSharedAccessGrantError, IssueSharedAccessGrantResponse, ListActionRunsData, ListActionRunsError, ListActionsData, ListActivityConnectionsData, ListActivityConnectionsError, ListActivityUsersData, ListActivityUsersError, ListActivityVisitsData, ListActivityVisitsError, ListAgentApprovalsData, ListAgentApprovalsError, ListAgentComputersData, ListAgentMemoryRevisionsData, ListAgentMemoryRevisionsError, ListAgentThreadApprovalsData, ListAgentThreadApprovalsError, ListAgentThreadChildrenData, ListAgentThreadChildrenError, ListAgentThreadMessagesData, ListAgentThreadMessagesError, ListAgentThreadRunsData, ListAgentThreadRunsError, ListAgentThreadsData, ListAgentThreadsError, ListAiLimitPoliciesData, ListAiLimitPoliciesError, ListAiModelCallGroupsData, ListAiModelCallGroupsError, ListAiModelCallsData, ListAiModelCallsError, ListArtifactCommentsData, ListArtifactCommentsError, ListArtifactHoldersData, ListArtifactHoldersError, ListArtifactRestorePointsData, ListArtifactRestorePointsError, ListArtifactsData, ListArtifactsError, ListAuthAccessTokensData, ListAuthAccessTokensError, ListAuthInvitationsData, ListAuthInvitationsError, ListAuthMembersData, ListAuthMembersError, ListAuthServiceAccountAccessTokensData, ListAuthServiceAccountAccessTokensError, ListAuthServiceAccountsData, ListAuthServiceAccountsError, ListAuthSessionsData, ListConnectorConnectionsData, ListConnectorConnectionsError, ListConnectorsData, ListDatasetRowsData, ListDatasetRowsError, ListDatasetsData, ListDatasetVersionsData, ListDatasetVersionsError, ListEventsData, ListEventsError, ListLogsData, ListLogsError, ListModelsData, ListObjectsData, ListObjectsError, ListObjectTypesData, ListObservedAgentThreadChildrenData, ListObservedAgentThreadChildrenError, ListObservedAgentThreadMessagesData, ListObservedAgentThreadMessagesError, ListObservedAgentThreadRunsData, ListObservedAgentThreadRunsError, ListPendingConnectorConnectionRunsData, ListPendingConnectorConnectionRunsError, ListPipelineRunsData, ListPipelineRunsError, ListPipelinesData, ListProjectionRunsData, ListProjectionRunsError, ListProjectionsData, ListRuleStatesData, ListRuleStatesError, ListRulesData, ListSharedAccessGrantsData, ListSharedAccessGrantsError, ListSyncRunsData, ListSyncRunsError, ListSyncsData, ListUsersData, ListUsersError, ListWebhookRunsData, ListWebhookRunsError, ListWorkflowInterventionsData, ListWorkflowInterventionsError, ListWorkflowRunsData, ListWorkflowRunsError, ListWorkflowsData, MoveAgentThreadToCloudData, MoveAgentThreadToCloudError, MoveAgentThreadToCloudResponse, MoveAgentThreadToComputerData, MoveAgentThreadToComputerError, MoveAgentThreadToComputerResponse, PostAgentThreadMessageData, PostAgentThreadMessageError, PostAgentThreadMessageResponse, QueryObjectLinksData, QueryObjectLinksError, QueryObjectLinksResponse, QueryObjectsData, QueryObjectsError, QueryObjectsResponse, ReactivateAuthMemberData, ReactivateAuthMemberError, ReactivateAuthMemberResponse, ReauthorizeConnectorConnectionData, ReauthorizeConnectorConnectionError, ReauthorizeConnectorConnectionResponse, RecreateAgentThreadSandboxData, RecreateAgentThreadSandboxError, RecreateAgentThreadSandboxResponse, RefreshAuthSessionData, RefreshAuthSessionError, RefreshAuthSessionResponse, ReleaseAgentComputerSessionData, ReleaseAgentComputerSessionError, RemoveAgentThreadParticipantData, RemoveAgentThreadParticipantError, RequestActionData, RequestActionError, RequestActionResponse, RequestPipelineRunData, RequestPipelineRunError, RequestPipelineRunResponse, RequestSyncRunData, RequestSyncRunError, RequestSyncRunResponse, RequestWorkflowRunData, RequestWorkflowRunError, RequestWorkflowRunResponse, ResolveArtifactCommentData, ResolveArtifactCommentError, ResolveArtifactCommentResponse, RestoreArtifactData, RestoreArtifactError, RestoreArtifactResponse, RetryAgentRunData, RetryAgentRunError, RetryAgentRunResponse, RevokeAuthAccessTokenData, RevokeAuthAccessTokenError, RevokeAuthAccessTokenResponse, RevokeAuthInvitationData, RevokeAuthInvitationError, RevokeAuthInvitationResponse, RevokeAuthServiceAccountAccessTokenData, RevokeAuthServiceAccountAccessTokenError, RevokeAuthServiceAccountAccessTokenResponse, RevokeAuthSessionData, RevokeAuthSessionError, RevokeAuthSessionResponse, RevokeConnectorConnectionData, RevokeConnectorConnectionError, RevokeConnectorConnectionResponse, RevokeSharedAccessGrantData, RevokeSharedAccessGrantError, RevokeSharedAccessGrantResponse, SaveAgentMemoryData, SaveAgentMemoryError, SaveAgentMemoryResponse, SearchObjectsData, SearchObjectsError, SelectConnectorConnectionRunAccountData, SelectConnectorConnectionRunAccountError, SelectConnectorConnectionRunAccountResponse, SetAgentThreadApprovalModeData, SetAgentThreadApprovalModeError, SetAgentThreadApprovalModeResponse, SetArtifactStateData, SetArtifactStateError, SetArtifactStateResponse, SetSharedAccessGuestNameData, SetSharedAccessGuestNameError, SetSharedAccessGuestNameResponse, SignFileUploadPartData, SignFileUploadPartError, SignFileUploadPartResponse, SignOutAllData, SignOutAllError, SignOutAllResponse, SignOutData, SignOutError, SignOutResponse, SignOutSharedAccessData, SignOutSharedAccessError, SignOutSharedAccessResponse, StartConnectorConnectionRunData, StartConnectorConnectionRunError, StartConnectorConnectionRunResponse, StopAgentBackgroundCommandData, StopAgentBackgroundCommandError, StopAgentBackgroundCommandResponse, SubmitWorkflowInterventionData, SubmitWorkflowInterventionError, SubmitWorkflowInterventionResponse, SuspendAuthMemberData, SuspendAuthMemberError, SuspendAuthMemberResponse, TranscribeAudioData, TranscribeAudioError, TranscribeAudioResponse, UpdateAgentPreferencesData, UpdateAgentPreferencesError, UpdateAgentPreferencesResponse, UpdateAiLimitPolicyData, UpdateAiLimitPolicyError, UpdateAiLimitPolicyResponse, UpdateArtifactData, UpdateArtifactError, UpdateArtifactResponse, UpdateAuthMemberGroupsData, UpdateAuthMemberGroupsError, UpdateAuthMemberGroupsResponse, UpdateAuthProfileData, UpdateAuthProfileError, UpdateAuthProfileResponse, UploadFileContentData, UploadFileContentError, UploadFileContentResponse, UploadFileRawData, UploadFileRawError, UploadFileRawResponse } from "../types.gen";
3
+ import type { AbortFileUploadData, AbortFileUploadError, AbortFileUploadResponse, AddAgentThreadParticipantsData, AddAgentThreadParticipantsError, AddAgentThreadParticipantsResponse, AddArtifactCommentData, AddArtifactCommentError, AddArtifactCommentResponse, AddConnectorConnectionData, AddConnectorConnectionError, AddConnectorConnectionResponse, CancelAgentRunByIdData, CancelAgentRunByIdError, CancelAgentRunByIdResponse, CancelAgentRunData, CancelAgentRunError, CancelAgentRunResponse, CancelWorkflowInterventionData, CancelWorkflowInterventionError, CancelWorkflowInterventionResponse, CancelWorkflowRunData, CancelWorkflowRunError, CancelWorkflowRunResponse, CaptureActivityData, CaptureActivityError, CaptureActivityResponse, ClearArtifactStateData, ClearArtifactStateError, ClearArtifactStateResponse, CompleteFileUploadData, CompleteFileUploadError, CompleteFileUploadResponse, CountObjectsData, CountObjectsError, CountObjectsResponse, CreateAgentThreadData, CreateAgentThreadError, CreateAgentThreadResponse, CreateAiLimitPolicyData, CreateAiLimitPolicyError, CreateAiLimitPolicyResponse, CreateArtifactData, CreateArtifactError, CreateArtifactFrameData, CreateArtifactFrameError, CreateArtifactFrameResponse, CreateArtifactResponse, CreateAuthInvitationData, CreateAuthInvitationError, CreateAuthInvitationResponse, CreateAuthPersonalAccessTokenData, CreateAuthPersonalAccessTokenError, CreateAuthPersonalAccessTokenResponse, CreateAuthServiceAccountAccessTokenData, CreateAuthServiceAccountAccessTokenError, CreateAuthServiceAccountAccessTokenResponse, CreateAuthServiceAccountData, CreateAuthServiceAccountError, CreateAuthServiceAccountResponse, CreateDeviceAuthorizationData, CreateDeviceAuthorizationError, CreateDeviceAuthorizationResponse, CreateFileUploadData, CreateFileUploadError, CreateFileUploadResponse, DecideAgentApprovalData, DecideAgentApprovalError, DecideAgentApprovalResponse, DeleteAgentMemoryData, DeleteAgentMemoryError, DeleteAgentMemoryResponse, DeleteAiLimitPolicyData, DeleteAiLimitPolicyError, DeleteAiLimitPolicyResponse, DeleteArtifactCommentData, DeleteArtifactCommentError, DeleteArtifactCommentResponse, DeleteArtifactData, DeleteArtifactError, DeleteArtifactResponse, DeleteArtifactStateValueData, DeleteArtifactStateValueError, DeleteArtifactStateValueResponse, DisableAuthServiceAccountData, DisableAuthServiceAccountError, DisableAuthServiceAccountResponse, DisconnectConnectorConnectionData, DisconnectConnectorConnectionError, DisconnectConnectorConnectionResponse, ExchangeDeviceAuthorizationData, ExchangeDeviceAuthorizationResponse, ExchangeSharedAccessData, ExchangeSharedAccessError, ExchangeSharedAccessResponse, ExistsObjectsData, ExistsObjectsError, ExistsObjectsResponse, FacetObjectsData, FacetObjectsError, FacetObjectsResponse, ForkAgentThreadData, ForkAgentThreadError, ForkAgentThreadResponse, FreezeArtifactVersionData, FreezeArtifactVersionError, FreezeArtifactVersionResponse, GenerateImagesData, GenerateImagesError, GenerateImagesResponse, GenerateSpeechData, GenerateSpeechError, GenerateSpeechResponse, GenerateTextData, GenerateTextError, GenerateTextResponse, GetActionData, GetActionRunData, GetActionRunError, GetActionRunFileContentData, GetActionRunFileContentResponse, GetActivityCalendarData, GetActivityCalendarError, GetActivityCaptureConfigData, GetActivityCaptureConfigError, GetActivitySummaryData, GetActivitySummaryError, GetActivityVisitTimelineData, GetActivityVisitTimelineError, GetAgentChildFileContentData, GetAgentChildFileContentResponse, GetAgentData, GetAgentMemoryData, GetAgentMemoryError, GetAgentMessageFileContentData, GetAgentMessageFileContentResponse, GetAgentPreferencesData, GetAgentPreferencesError, GetAgentRunData, GetAgentRunError, GetAgentThreadContextData, GetAgentThreadContextError, GetAgentThreadData, GetAgentThreadError, GetAiAccountingOverviewData, GetAiAccountingOverviewError, GetAiLimitStatusData, GetAiLimitStatusError, GetAiLimitSubjectOptionsData, GetAiLimitSubjectOptionsError, GetAiModelCallFileContentData, GetAiModelCallFileContentResponse, GetAiModelCallFilesData, GetArtifactBoardPreviewData, GetArtifactData, GetArtifactError, GetArtifactFileContentData, GetArtifactFileContentResponse, GetArtifactPdfData, GetArtifactQueryData, GetArtifactQueryError, GetArtifactRestorePointData, GetArtifactRestorePointError, GetArtifactRestorePointFileContentData, GetArtifactRestorePointFileContentResponse, GetArtifactStateData, GetArtifactStateError, GetArtifactVersionData, GetArtifactVersionError, GetAuthAccessManagementOptionsData, GetAuthAccessManagementOptionsError, GetAuthInvitationOptionsData, GetAuthInvitationOptionsError, GetAuthMembershipOptionsData, GetAuthMembershipOptionsError, GetAuthProfileData, GetAuthProfileError, GetAuthSessionData, GetBulkTelemetryHistoryData, GetBulkTelemetryHistoryError, GetBulkTelemetryHistoryResponse, GetConnectorConnectionRunData, GetConnectorConnectionRunError, GetConnectorData, GetDatasetData, GetDatasetError, GetDatasetVersionData, GetDatasetVersionError, GetDatasetVersionLineageData, GetDatasetVersionLineageError, GetLakeHealthData, GetLatestTelemetryData, GetLatestTelemetryError, GetObjectByUniquePropertyData, GetObjectByUniquePropertyError, GetObjectByUniquePropertyResponse, GetObjectData, GetObjectFileContentData, GetObjectFileContentResponse, GetObjectLineageData, GetObjectLinkLineageData, GetObjectLinkLineageError, GetObjectTypeData, GetObservedAgentChildFileContentData, GetObservedAgentChildFileContentResponse, GetObservedAgentMessageFileContentData, GetObservedAgentMessageFileContentResponse, GetObservedAgentThreadData, GetObservedAgentThreadError, GetPipelineData, GetPipelineRunData, GetPipelineRunError, GetProjectInfoData, GetProjectionData, GetProjectionRunData, GetProjectionRunError, GetRuleData, GetSharedAccessSessionData, GetSharedAccessSessionError, GetStatusData, GetSyncData, GetTelemetryHistoryData, GetTelemetryHistoryError, GetUserData, GetUserError, GetWorkflowAgentNodeExecutionData, GetWorkflowAgentNodeExecutionError, GetWorkflowData, GetWorkflowInterventionData, GetWorkflowInterventionError, GetWorkflowNodeRunFileContentData, GetWorkflowNodeRunFileContentResponse, GetWorkflowRunData, GetWorkflowRunError, GetWorkflowRunFileContentData, GetWorkflowRunFileContentResponse, HoldAgentComputerSessionData, HoldAgentComputerSessionError, HoldAgentComputerSessionResponse, IssueSharedAccessGrantData, IssueSharedAccessGrantError, IssueSharedAccessGrantResponse, ListActionRunsData, ListActionRunsError, ListActionsData, ListActivityConnectionsData, ListActivityConnectionsError, ListActivityUsersData, ListActivityUsersError, ListActivityVisitsData, ListActivityVisitsError, ListAgentApprovalsData, ListAgentApprovalsError, ListAgentComputersData, ListAgentMemoryRevisionsData, ListAgentMemoryRevisionsError, ListAgentThreadApprovalsData, ListAgentThreadApprovalsError, ListAgentThreadChildrenData, ListAgentThreadChildrenError, ListAgentThreadInboxData, ListAgentThreadInboxError, ListAgentThreadMessagesData, ListAgentThreadMessagesError, ListAgentThreadRunsData, ListAgentThreadRunsError, ListAgentThreadsData, ListAgentThreadsError, ListAiLimitPoliciesData, ListAiLimitPoliciesError, ListAiModelCallGroupsData, ListAiModelCallGroupsError, ListAiModelCallsData, ListAiModelCallsError, ListArtifactCommentsData, ListArtifactCommentsError, ListArtifactHoldersData, ListArtifactHoldersError, ListArtifactRestorePointsData, ListArtifactRestorePointsError, ListArtifactsData, ListArtifactsError, ListAuthAccessTokensData, ListAuthAccessTokensError, ListAuthInvitationsData, ListAuthInvitationsError, ListAuthMembersData, ListAuthMembersError, ListAuthServiceAccountAccessTokensData, ListAuthServiceAccountAccessTokensError, ListAuthServiceAccountsData, ListAuthServiceAccountsError, ListAuthSessionsData, ListConnectorConnectionsData, ListConnectorConnectionsError, ListConnectorsData, ListDatasetRowsData, ListDatasetRowsError, ListDatasetsData, ListDatasetVersionsData, ListDatasetVersionsError, ListEventsData, ListEventsError, ListLogsData, ListLogsError, ListModelsData, ListObjectsData, ListObjectsError, ListObjectTypesData, ListObservedAgentThreadChildrenData, ListObservedAgentThreadChildrenError, ListObservedAgentThreadMessagesData, ListObservedAgentThreadMessagesError, ListObservedAgentThreadRunsData, ListObservedAgentThreadRunsError, ListPendingConnectorConnectionRunsData, ListPendingConnectorConnectionRunsError, ListPipelineRunsData, ListPipelineRunsError, ListPipelinesData, ListProjectionRunsData, ListProjectionRunsError, ListProjectionsData, ListRuleStatesData, ListRuleStatesError, ListRulesData, ListSharedAccessGrantsData, ListSharedAccessGrantsError, ListSyncRunsData, ListSyncRunsError, ListSyncsData, ListUsersData, ListUsersError, ListWebhookRunsData, ListWebhookRunsError, ListWorkflowInterventionsData, ListWorkflowInterventionsError, ListWorkflowRunsData, ListWorkflowRunsError, ListWorkflowsData, MoveAgentThreadToCloudData, MoveAgentThreadToCloudError, MoveAgentThreadToCloudResponse, MoveAgentThreadToComputerData, MoveAgentThreadToComputerError, MoveAgentThreadToComputerResponse, PostAgentThreadMessageData, PostAgentThreadMessageError, PostAgentThreadMessageResponse, PrintArtifactPdfData, PrintArtifactPdfError, PrintArtifactPdfResponse, QueryObjectLinksData, QueryObjectLinksError, QueryObjectLinksResponse, QueryObjectsData, QueryObjectsError, QueryObjectsResponse, ReactivateAuthMemberData, ReactivateAuthMemberError, ReactivateAuthMemberResponse, ReauthorizeConnectorConnectionData, ReauthorizeConnectorConnectionError, ReauthorizeConnectorConnectionResponse, RecreateAgentThreadSandboxData, RecreateAgentThreadSandboxError, RecreateAgentThreadSandboxResponse, RefreshAuthSessionData, RefreshAuthSessionError, RefreshAuthSessionResponse, ReleaseAgentComputerSessionData, ReleaseAgentComputerSessionError, RemoveAgentThreadParticipantData, RemoveAgentThreadParticipantError, RequestActionData, RequestActionError, RequestActionResponse, RequestPipelineRunData, RequestPipelineRunError, RequestPipelineRunResponse, RequestSyncRunData, RequestSyncRunError, RequestSyncRunResponse, RequestWorkflowRunData, RequestWorkflowRunError, RequestWorkflowRunResponse, ResolveArtifactCommentData, ResolveArtifactCommentError, ResolveArtifactCommentResponse, RestoreAgentThreadSandboxData, RestoreAgentThreadSandboxError, RestoreAgentThreadSandboxResponse, RestoreArtifactData, RestoreArtifactError, RestoreArtifactResponse, RetryAgentRunData, RetryAgentRunError, RetryAgentRunResponse, RevokeAuthAccessTokenData, RevokeAuthAccessTokenError, RevokeAuthAccessTokenResponse, RevokeAuthInvitationData, RevokeAuthInvitationError, RevokeAuthInvitationResponse, RevokeAuthServiceAccountAccessTokenData, RevokeAuthServiceAccountAccessTokenError, RevokeAuthServiceAccountAccessTokenResponse, RevokeAuthSessionData, RevokeAuthSessionError, RevokeAuthSessionResponse, RevokeConnectorConnectionData, RevokeConnectorConnectionError, RevokeConnectorConnectionResponse, RevokeSharedAccessGrantData, RevokeSharedAccessGrantError, RevokeSharedAccessGrantResponse, SaveAgentMemoryData, SaveAgentMemoryError, SaveAgentMemoryResponse, SearchObjectsData, SearchObjectsError, SelectConnectorConnectionRunAccountData, SelectConnectorConnectionRunAccountError, SelectConnectorConnectionRunAccountResponse, SetAgentThreadApprovalModeData, SetAgentThreadApprovalModeError, SetAgentThreadApprovalModeResponse, SetArtifactStateData, SetArtifactStateError, SetArtifactStateResponse, SetSharedAccessGuestNameData, SetSharedAccessGuestNameError, SetSharedAccessGuestNameResponse, SignFileUploadPartData, SignFileUploadPartError, SignFileUploadPartResponse, SignOutAllData, SignOutAllError, SignOutAllResponse, SignOutData, SignOutError, SignOutResponse, SignOutSharedAccessData, SignOutSharedAccessError, SignOutSharedAccessResponse, StartConnectorConnectionRunData, StartConnectorConnectionRunError, StartConnectorConnectionRunResponse, StopAgentBackgroundCommandData, StopAgentBackgroundCommandError, StopAgentBackgroundCommandResponse, SubmitWorkflowInterventionData, SubmitWorkflowInterventionError, SubmitWorkflowInterventionResponse, SuspendAuthMemberData, SuspendAuthMemberError, SuspendAuthMemberResponse, TranscribeAudioData, TranscribeAudioError, TranscribeAudioResponse, UpdateAgentPreferencesData, UpdateAgentPreferencesError, UpdateAgentPreferencesResponse, UpdateAgentThreadInboxItemData, UpdateAgentThreadInboxItemError, UpdateAgentThreadInboxItemResponse, UpdateAiLimitPolicyData, UpdateAiLimitPolicyError, UpdateAiLimitPolicyResponse, UpdateArtifactData, UpdateArtifactError, UpdateArtifactResponse, UpdateAuthMemberGroupsData, UpdateAuthMemberGroupsError, UpdateAuthMemberGroupsResponse, UpdateAuthProfileData, UpdateAuthProfileError, UpdateAuthProfileResponse, UploadFileContentData, UploadFileContentError, UploadFileContentResponse, UploadFileRawData, UploadFileRawError, UploadFileRawResponse, WithdrawAgentThreadInboxItemData, WithdrawAgentThreadInboxItemError } from "../types.gen";
4
4
  /**
5
5
  * Start device authorization
6
6
  */
@@ -3067,7 +3067,11 @@ export declare const listAiModelCallsOptions: (options: Options<ListAiModelCalls
3067
3067
  requestedReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3068
3068
  budgetTokens: number;
3069
3069
  };
3070
- responseModelId?: string;
3070
+ responseModelId
3071
+ /**
3072
+ * Reauthorize a connector connection
3073
+ */
3074
+ ?: string;
3071
3075
  responseId: string;
3072
3076
  providerIds: {
3073
3077
  requestId?: string;
@@ -3240,7 +3244,11 @@ export declare const listAiModelCallsOptions: (options: Options<ListAiModelCalls
3240
3244
  requestedReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3241
3245
  budgetTokens: number;
3242
3246
  };
3243
- responseModelId?: string;
3247
+ responseModelId
3248
+ /**
3249
+ * Reauthorize a connector connection
3250
+ */
3251
+ ?: string;
3244
3252
  responseId: string;
3245
3253
  providerIds: {
3246
3254
  requestId?: string;
@@ -3418,7 +3426,11 @@ export declare const listAiModelCallsOptions: (options: Options<ListAiModelCalls
3418
3426
  requestedReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3419
3427
  budgetTokens: number;
3420
3428
  };
3421
- responseModelId?: string;
3429
+ responseModelId
3430
+ /**
3431
+ * Reauthorize a connector connection
3432
+ */
3433
+ ?: string;
3422
3434
  responseId: string;
3423
3435
  providerIds: {
3424
3436
  requestId?: string;
@@ -3602,7 +3614,11 @@ export declare const listAiModelCallsOptions: (options: Options<ListAiModelCalls
3602
3614
  requestedReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3603
3615
  budgetTokens: number;
3604
3616
  };
3605
- responseModelId?: string;
3617
+ responseModelId
3618
+ /**
3619
+ * Reauthorize a connector connection
3620
+ */
3621
+ ?: string;
3606
3622
  responseId: string;
3607
3623
  providerIds: {
3608
3624
  requestId?: string;
@@ -3783,7 +3799,11 @@ export declare const listAiModelCallsInfiniteOptions: (options: Options<ListAiMo
3783
3799
  requestedReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3784
3800
  budgetTokens: number;
3785
3801
  };
3786
- responseModelId?: string;
3802
+ responseModelId
3803
+ /**
3804
+ * Reauthorize a connector connection
3805
+ */
3806
+ ?: string;
3787
3807
  responseId: string;
3788
3808
  providerIds: {
3789
3809
  requestId?: string;
@@ -3956,7 +3976,11 @@ export declare const listAiModelCallsInfiniteOptions: (options: Options<ListAiMo
3956
3976
  requestedReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3957
3977
  budgetTokens: number;
3958
3978
  };
3959
- responseModelId?: string;
3979
+ responseModelId
3980
+ /**
3981
+ * Reauthorize a connector connection
3982
+ */
3983
+ ?: string;
3960
3984
  responseId: string;
3961
3985
  providerIds: {
3962
3986
  requestId?: string;
@@ -4134,7 +4158,11 @@ export declare const listAiModelCallsInfiniteOptions: (options: Options<ListAiMo
4134
4158
  requestedReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
4135
4159
  budgetTokens: number;
4136
4160
  };
4137
- responseModelId?: string;
4161
+ responseModelId
4162
+ /**
4163
+ * Reauthorize a connector connection
4164
+ */
4165
+ ?: string;
4138
4166
  responseId: string;
4139
4167
  providerIds: {
4140
4168
  requestId?: string;
@@ -4311,7 +4339,11 @@ export declare const listAiModelCallsInfiniteOptions: (options: Options<ListAiMo
4311
4339
  requestedReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
4312
4340
  budgetTokens: number;
4313
4341
  };
4314
- responseModelId?: string;
4342
+ responseModelId
4343
+ /**
4344
+ * Reauthorize a connector connection
4345
+ */
4346
+ ?: string;
4315
4347
  responseId: string;
4316
4348
  providerIds: {
4317
4349
  requestId?: string;
@@ -4491,7 +4523,11 @@ export declare const listAiModelCallsInfiniteOptions: (options: Options<ListAiMo
4491
4523
  requestedReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
4492
4524
  budgetTokens: number;
4493
4525
  };
4494
- responseModelId?: string;
4526
+ responseModelId
4527
+ /**
4528
+ * Reauthorize a connector connection
4529
+ */
4530
+ ?: string;
4495
4531
  responseId: string;
4496
4532
  providerIds: {
4497
4533
  requestId?: string;
@@ -13337,7 +13373,17 @@ export declare const getWorkflowRunOptions: (options: Options<GetWorkflowRunData
13337
13373
  cacheWriteInputTokens?: number;
13338
13374
  textOutputTokens?: number;
13339
13375
  reasoningOutputTokens?: number;
13340
- audioDurationMs?: number;
13376
+ audioDurationMs
13377
+ /**
13378
+ * Print a designed document to PDF
13379
+ *
13380
+ * Answers ready once the version is printed, and printing until then, having asked for it: ask again after a few seconds, then get it. Failed with why when it could not be printed; retry=true asks again. A document that shows live data answers with a key: ask again and get it with that key, which names the values the first ask printed. It prints as its stylesheets' @page rule lays it out, in a sandbox of the project. Whoever reads the artifact may ask. 400 invalid_artifact when the version is not a designed document; 501 pdf_unavailable in a project without sandboxes.
13381
+ */
13382
+ ? /**
13383
+ * Print a designed document to PDF
13384
+ *
13385
+ * Answers ready once the version is printed, and printing until then, having asked for it: ask again after a few seconds, then get it. Failed with why when it could not be printed; retry=true asks again. A document that shows live data answers with a key: ask again and get it with that key, which names the values the first ask printed. It prints as its stylesheets' @page rule lays it out, in a sandbox of the project. Whoever reads the artifact may ask. 400 invalid_artifact when the version is not a designed document; 501 pdf_unavailable in a project without sandboxes.
13386
+ */: number;
13341
13387
  imageOutputTokens?: number;
13342
13388
  audioOutputTokens?: number;
13343
13389
  outputImages?: number;
@@ -13441,7 +13487,17 @@ export declare const getWorkflowRunOptions: (options: Options<GetWorkflowRunData
13441
13487
  cacheWriteInputTokens?: number;
13442
13488
  textOutputTokens?: number;
13443
13489
  reasoningOutputTokens?: number;
13444
- audioDurationMs?: number;
13490
+ audioDurationMs
13491
+ /**
13492
+ * Print a designed document to PDF
13493
+ *
13494
+ * Answers ready once the version is printed, and printing until then, having asked for it: ask again after a few seconds, then get it. Failed with why when it could not be printed; retry=true asks again. A document that shows live data answers with a key: ask again and get it with that key, which names the values the first ask printed. It prints as its stylesheets' @page rule lays it out, in a sandbox of the project. Whoever reads the artifact may ask. 400 invalid_artifact when the version is not a designed document; 501 pdf_unavailable in a project without sandboxes.
13495
+ */
13496
+ ? /**
13497
+ * Print a designed document to PDF
13498
+ *
13499
+ * Answers ready once the version is printed, and printing until then, having asked for it: ask again after a few seconds, then get it. Failed with why when it could not be printed; retry=true asks again. A document that shows live data answers with a key: ask again and get it with that key, which names the values the first ask printed. It prints as its stylesheets' @page rule lays it out, in a sandbox of the project. Whoever reads the artifact may ask. 400 invalid_artifact when the version is not a designed document; 501 pdf_unavailable in a project without sandboxes.
13500
+ */: number;
13445
13501
  imageOutputTokens?: number;
13446
13502
  audioOutputTokens?: number;
13447
13503
  outputImages?: number;
@@ -13550,7 +13606,17 @@ export declare const getWorkflowRunOptions: (options: Options<GetWorkflowRunData
13550
13606
  cacheWriteInputTokens?: number;
13551
13607
  textOutputTokens?: number;
13552
13608
  reasoningOutputTokens?: number;
13553
- audioDurationMs?: number;
13609
+ audioDurationMs
13610
+ /**
13611
+ * Print a designed document to PDF
13612
+ *
13613
+ * Answers ready once the version is printed, and printing until then, having asked for it: ask again after a few seconds, then get it. Failed with why when it could not be printed; retry=true asks again. A document that shows live data answers with a key: ask again and get it with that key, which names the values the first ask printed. It prints as its stylesheets' @page rule lays it out, in a sandbox of the project. Whoever reads the artifact may ask. 400 invalid_artifact when the version is not a designed document; 501 pdf_unavailable in a project without sandboxes.
13614
+ */
13615
+ ? /**
13616
+ * Print a designed document to PDF
13617
+ *
13618
+ * Answers ready once the version is printed, and printing until then, having asked for it: ask again after a few seconds, then get it. Failed with why when it could not be printed; retry=true asks again. A document that shows live data answers with a key: ask again and get it with that key, which names the values the first ask printed. It prints as its stylesheets' @page rule lays it out, in a sandbox of the project. Whoever reads the artifact may ask. 400 invalid_artifact when the version is not a designed document; 501 pdf_unavailable in a project without sandboxes.
13619
+ */: number;
13554
13620
  imageOutputTokens?: number;
13555
13621
  audioOutputTokens?: number;
13556
13622
  outputImages?: number;
@@ -13665,7 +13731,17 @@ export declare const getWorkflowRunOptions: (options: Options<GetWorkflowRunData
13665
13731
  cacheWriteInputTokens?: number;
13666
13732
  textOutputTokens?: number;
13667
13733
  reasoningOutputTokens?: number;
13668
- audioDurationMs?: number;
13734
+ audioDurationMs
13735
+ /**
13736
+ * Print a designed document to PDF
13737
+ *
13738
+ * Answers ready once the version is printed, and printing until then, having asked for it: ask again after a few seconds, then get it. Failed with why when it could not be printed; retry=true asks again. A document that shows live data answers with a key: ask again and get it with that key, which names the values the first ask printed. It prints as its stylesheets' @page rule lays it out, in a sandbox of the project. Whoever reads the artifact may ask. 400 invalid_artifact when the version is not a designed document; 501 pdf_unavailable in a project without sandboxes.
13739
+ */
13740
+ ? /**
13741
+ * Print a designed document to PDF
13742
+ *
13743
+ * Answers ready once the version is printed, and printing until then, having asked for it: ask again after a few seconds, then get it. Failed with why when it could not be printed; retry=true asks again. A document that shows live data answers with a key: ask again and get it with that key, which names the values the first ask printed. It prints as its stylesheets' @page rule lays it out, in a sandbox of the project. Whoever reads the artifact may ask. 400 invalid_artifact when the version is not a designed document; 501 pdf_unavailable in a project without sandboxes.
13744
+ */: number;
13669
13745
  imageOutputTokens?: number;
13670
13746
  audioOutputTokens?: number;
13671
13747
  outputImages?: number;
@@ -17202,6 +17278,10 @@ export declare const getObjectLineageOptions: (options: Options<GetObjectLineage
17202
17278
  type: "ontology.indexVectors";
17203
17279
  indexingId: string;
17204
17280
  };
17281
+ } | {
17282
+ type: "script";
17283
+ runId: string;
17284
+ path: string;
17205
17285
  };
17206
17286
  action?: {
17207
17287
  actionId: string;
@@ -17236,6 +17316,10 @@ export declare const getObjectLineageOptions: (options: Options<GetObjectLineage
17236
17316
  type: "ontology.indexVectors";
17237
17317
  indexingId: string;
17238
17318
  };
17319
+ } | {
17320
+ type: "script";
17321
+ runId: string;
17322
+ path: string;
17239
17323
  };
17240
17324
  } | {
17241
17325
  kind: "identity";
@@ -17317,6 +17401,10 @@ export declare const getObjectLineageOptions: (options: Options<GetObjectLineage
17317
17401
  type: "ontology.indexVectors";
17318
17402
  indexingId: string;
17319
17403
  };
17404
+ } | {
17405
+ type: "script";
17406
+ runId: string;
17407
+ path: string;
17320
17408
  };
17321
17409
  action?: {
17322
17410
  actionId: string;
@@ -17351,6 +17439,10 @@ export declare const getObjectLineageOptions: (options: Options<GetObjectLineage
17351
17439
  type: "ontology.indexVectors";
17352
17440
  indexingId: string;
17353
17441
  };
17442
+ } | {
17443
+ type: "script";
17444
+ runId: string;
17445
+ path: string;
17354
17446
  };
17355
17447
  } | {
17356
17448
  kind: "identity";
@@ -17435,6 +17527,10 @@ export declare const getObjectLineageOptions: (options: Options<GetObjectLineage
17435
17527
  type: "ontology.indexVectors";
17436
17528
  indexingId: string;
17437
17529
  };
17530
+ } | {
17531
+ type: "script";
17532
+ runId: string;
17533
+ path: string;
17438
17534
  };
17439
17535
  action?: {
17440
17536
  actionId: string;
@@ -17469,6 +17565,10 @@ export declare const getObjectLineageOptions: (options: Options<GetObjectLineage
17469
17565
  type: "ontology.indexVectors";
17470
17566
  indexingId: string;
17471
17567
  };
17568
+ } | {
17569
+ type: "script";
17570
+ runId: string;
17571
+ path: string;
17472
17572
  };
17473
17573
  } | {
17474
17574
  kind: "identity";
@@ -17559,6 +17659,10 @@ export declare const getObjectLineageOptions: (options: Options<GetObjectLineage
17559
17659
  type: "ontology.indexVectors";
17560
17660
  indexingId: string;
17561
17661
  };
17662
+ } | {
17663
+ type: "script";
17664
+ runId: string;
17665
+ path: string;
17562
17666
  };
17563
17667
  action?: {
17564
17668
  actionId: string;
@@ -17593,6 +17697,10 @@ export declare const getObjectLineageOptions: (options: Options<GetObjectLineage
17593
17697
  type: "ontology.indexVectors";
17594
17698
  indexingId: string;
17595
17699
  };
17700
+ } | {
17701
+ type: "script";
17702
+ runId: string;
17703
+ path: string;
17596
17704
  };
17597
17705
  } | {
17598
17706
  kind: "identity";
@@ -19679,6 +19787,10 @@ export declare const forkAgentThreadMutation: (options?: Partial<Options<ForkAge
19679
19787
  * Explicitly recreate an unavailable or uncertain workspace without deleting its previous state
19680
19788
  */
19681
19789
  export declare const recreateAgentThreadSandboxMutation: (options?: Partial<Options<RecreateAgentThreadSandboxData>>) => UseMutationOptions<RecreateAgentThreadSandboxResponse, RecreateAgentThreadSandboxError, Options<RecreateAgentThreadSandboxData>>;
19790
+ /**
19791
+ * Explicitly go on in the workspace a failed save left, with its files as they were
19792
+ */
19793
+ export declare const restoreAgentThreadSandboxMutation: (options?: Partial<Options<RestoreAgentThreadSandboxData>>) => UseMutationOptions<RestoreAgentThreadSandboxResponse, RestoreAgentThreadSandboxError, Options<RestoreAgentThreadSandboxData>>;
19682
19794
  export declare const listAgentThreadMessagesQueryKey: (options: Options<ListAgentThreadMessagesData>) => [Pick<Options<ListAgentThreadMessagesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
19683
19795
  _id: string;
19684
19796
  _infinite?: boolean;
@@ -20298,18 +20410,1052 @@ export declare const listAgentThreadMessagesOptions: (options: Options<ListAgent
20298
20410
  }>;
20299
20411
  hasMore: boolean;
20300
20412
  total: number;
20301
- }, [Pick<Options<ListAgentThreadMessagesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
20413
+ }, [Pick<Options<ListAgentThreadMessagesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
20414
+ _id: string;
20415
+ _infinite?: boolean;
20416
+ tags?: ReadonlyArray<string>;
20417
+ }], never> | undefined;
20418
+ } & {
20419
+ queryKey: [Pick<Options<ListAgentThreadMessagesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
20420
+ _id: string;
20421
+ _infinite?: boolean;
20422
+ tags?: ReadonlyArray<string>;
20423
+ }] & {
20424
+ [dataTagSymbol]: {
20425
+ messages: Array<{
20426
+ id: string;
20427
+ projectId: string;
20428
+ threadId: string;
20429
+ runId: string | null;
20430
+ role: "system" | "user" | "assistant";
20431
+ authorPrincipal?: {
20432
+ type: "user" | "serviceAccount" | "system";
20433
+ id: string;
20434
+ };
20435
+ seq: number;
20436
+ parts: Array<{
20437
+ type: "text";
20438
+ text: string;
20439
+ providerMetadata?: string | number | boolean | Array<unknown> | {
20440
+ [key: string]: unknown;
20441
+ } | null;
20442
+ } | {
20443
+ type: "continuation";
20444
+ } | {
20445
+ type: "approval-outcome";
20446
+ approvalId: string;
20447
+ status: "approved" | "denied" | "cancelled" | "superseded" | "expired";
20448
+ call: {
20449
+ kind: "action";
20450
+ actionId: string;
20451
+ subject: {
20452
+ kind: "none";
20453
+ } | {
20454
+ kind: "object";
20455
+ objectTypeId: string;
20456
+ primaryId: string;
20457
+ };
20458
+ } | {
20459
+ kind: "workflow";
20460
+ workflowId: string;
20461
+ };
20462
+ outcome?: {
20463
+ kind: "action-run";
20464
+ runId: string;
20465
+ status: "succeeded" | "failed";
20466
+ error?: {
20467
+ code: "internal.unexpected" | "runtime.cancelled" | "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.timeout" | "object.unique_violation";
20468
+ message: string;
20469
+ retryable: boolean;
20470
+ at: string;
20471
+ details: {
20472
+ actionId: string;
20473
+ runId: string;
20474
+ phase: "validation" | "writeback" | "edits" | "commit" | "effects";
20475
+ };
20476
+ httpStatus?: number;
20477
+ redacted?: true;
20478
+ truncated?: true;
20479
+ };
20480
+ } | {
20481
+ kind: "workflow-run";
20482
+ runId: string;
20483
+ queuedAt: string;
20484
+ } | {
20485
+ kind: "error";
20486
+ error: {
20487
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
20488
+ message: string;
20489
+ retryable: boolean;
20490
+ at: string;
20491
+ details?: string | number | boolean | Array<unknown> | {
20492
+ [key: string]: unknown;
20493
+ } | null;
20494
+ httpStatus?: number;
20495
+ redacted?: true;
20496
+ truncated?: true;
20497
+ };
20498
+ };
20499
+ caller?: {
20500
+ runId: string;
20501
+ key: string;
20502
+ continues?: true;
20503
+ };
20504
+ } | {
20505
+ type: "reasoning";
20506
+ text: string;
20507
+ providerMetadata?: string | number | boolean | Array<unknown> | {
20508
+ [key: string]: unknown;
20509
+ } | null;
20510
+ } | {
20511
+ type: "step-start";
20512
+ } | {
20513
+ type: "file";
20514
+ fileRef: {
20515
+ blobId: string;
20516
+ digest: string;
20517
+ sizeBytes: number;
20518
+ fileName?: string;
20519
+ mediaType?: string;
20520
+ logicalPath?: string;
20521
+ };
20522
+ providerMetadata?: string | number | boolean | Array<unknown> | {
20523
+ [key: string]: unknown;
20524
+ } | null;
20525
+ } | {
20526
+ type: "provider-state";
20527
+ providerId: string;
20528
+ data: string | number | boolean | Array<unknown> | {
20529
+ [key: string]: unknown;
20530
+ } | null;
20531
+ } | {
20532
+ context: {
20533
+ kind: "object";
20534
+ ref: {
20535
+ objectTypeId: string;
20536
+ primaryId: string;
20537
+ };
20538
+ label?: string;
20539
+ } | {
20540
+ kind: "app-state";
20541
+ id: string;
20542
+ label: string;
20543
+ description: string;
20544
+ value: string | number | boolean | Array<unknown> | {
20545
+ [key: string]: unknown;
20546
+ } | null;
20547
+ };
20548
+ origin: "ambient" | "explicit";
20549
+ type: "context";
20550
+ } | {
20551
+ type: "tool-call";
20552
+ toolCallId: string;
20553
+ toolName: string;
20554
+ dynamic?: boolean;
20555
+ providerExecuted?: boolean;
20556
+ input: string | number | boolean | Array<unknown> | {
20557
+ [key: string]: unknown;
20558
+ } | null;
20559
+ providerMetadata?: string | number | boolean | Array<unknown> | {
20560
+ [key: string]: unknown;
20561
+ } | null;
20562
+ state: "output-available";
20563
+ output: string | number | boolean | Array<unknown> | {
20564
+ [key: string]: unknown;
20565
+ } | null;
20566
+ outputFile?: {
20567
+ fileRef: {
20568
+ blobId: string;
20569
+ digest: string;
20570
+ sizeBytes: number;
20571
+ fileName?: string;
20572
+ mediaType?: string;
20573
+ logicalPath?: string;
20574
+ };
20575
+ path: string;
20576
+ };
20577
+ } | {
20578
+ type: "tool-call";
20579
+ toolCallId: string;
20580
+ toolName: string;
20581
+ dynamic?: boolean;
20582
+ providerExecuted?: boolean;
20583
+ input: string | number | boolean | Array<unknown> | {
20584
+ [key: string]: unknown;
20585
+ } | null;
20586
+ providerMetadata?: string | number | boolean | Array<unknown> | {
20587
+ [key: string]: unknown;
20588
+ } | null;
20589
+ state: "output-error";
20590
+ errorText: string;
20591
+ } | {
20592
+ type: "mail";
20593
+ id: string;
20594
+ from: "parent";
20595
+ kind: "message" | "answer";
20596
+ inReplyTo?: string;
20597
+ text: string;
20598
+ afterAnswer?: true;
20599
+ }>;
20600
+ annotations: Array<{
20601
+ code: "step_limit_reached" | "output_limit_reached";
20602
+ severity: "warning" | "error";
20603
+ scope: "run";
20604
+ message: string;
20605
+ }>;
20606
+ compaction?: {
20607
+ checkpointId: string;
20608
+ reason: "threshold" | "overflow";
20609
+ summary: string;
20610
+ createdAt: string;
20611
+ };
20612
+ metadata?: string | number | boolean | Array<unknown> | {
20613
+ [key: string]: unknown;
20614
+ } | null;
20615
+ contentVersion: number;
20616
+ createdAt: string;
20617
+ completedAt?: string;
20618
+ }>;
20619
+ authors: Array<{
20620
+ type: "user" | "serviceAccount" | "system";
20621
+ id: string;
20622
+ displayName?: string;
20623
+ }>;
20624
+ hasMore: boolean;
20625
+ total: number;
20626
+ };
20627
+ [dataTagErrorSymbol]: ListAgentThreadMessagesError;
20628
+ };
20629
+ };
20630
+ export declare const listAgentThreadMessagesInfiniteQueryKey: (options: Options<ListAgentThreadMessagesData>) => QueryKey<Options<ListAgentThreadMessagesData>>;
20631
+ /**
20632
+ * List agent thread messages
20633
+ */
20634
+ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<ListAgentThreadMessagesData>) => import("@tanstack/react-query").UseInfiniteQueryOptions<{
20635
+ messages: Array<{
20636
+ id: string;
20637
+ projectId: string;
20638
+ threadId: string;
20639
+ runId: string | null;
20640
+ role: "system" | "user" | "assistant";
20641
+ authorPrincipal?: {
20642
+ type: "user" | "serviceAccount" | "system";
20643
+ id: string;
20644
+ };
20645
+ seq: number;
20646
+ parts: Array<{
20647
+ type: "text";
20648
+ text: string;
20649
+ providerMetadata?: string | number | boolean | Array<unknown> | {
20650
+ [key: string]: unknown;
20651
+ } | null;
20652
+ } | {
20653
+ type: "continuation";
20654
+ } | {
20655
+ type: "approval-outcome";
20656
+ approvalId: string;
20657
+ status: "approved" | "denied" | "cancelled" | "superseded" | "expired";
20658
+ call: {
20659
+ kind: "action";
20660
+ actionId: string;
20661
+ subject: {
20662
+ kind: "none";
20663
+ } | {
20664
+ kind: "object";
20665
+ objectTypeId: string;
20666
+ primaryId: string;
20667
+ };
20668
+ } | {
20669
+ kind: "workflow";
20670
+ workflowId: string;
20671
+ };
20672
+ outcome?: {
20673
+ kind: "action-run";
20674
+ runId: string;
20675
+ status: "succeeded" | "failed";
20676
+ error?: {
20677
+ code: "internal.unexpected" | "runtime.cancelled" | "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.timeout" | "object.unique_violation";
20678
+ message: string;
20679
+ retryable: boolean;
20680
+ at: string;
20681
+ details: {
20682
+ actionId: string;
20683
+ runId: string;
20684
+ phase: "validation" | "writeback" | "edits" | "commit" | "effects";
20685
+ };
20686
+ httpStatus?: number;
20687
+ redacted?: true;
20688
+ truncated?: true;
20689
+ };
20690
+ } | {
20691
+ kind: "workflow-run";
20692
+ runId: string;
20693
+ queuedAt: string;
20694
+ } | {
20695
+ kind: "error";
20696
+ error: {
20697
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
20698
+ message: string;
20699
+ retryable: boolean;
20700
+ at: string;
20701
+ details?: string | number | boolean | Array<unknown> | {
20702
+ [key: string]: unknown;
20703
+ } | null;
20704
+ httpStatus?: number;
20705
+ redacted?: true;
20706
+ truncated?: true;
20707
+ };
20708
+ };
20709
+ caller?: {
20710
+ runId: string;
20711
+ key: string;
20712
+ continues?: true;
20713
+ };
20714
+ } | {
20715
+ type: "reasoning";
20716
+ text: string;
20717
+ providerMetadata?: string | number | boolean | Array<unknown> | {
20718
+ [key: string]: unknown;
20719
+ } | null;
20720
+ } | {
20721
+ type: "step-start";
20722
+ } | {
20723
+ type: "file";
20724
+ fileRef: {
20725
+ blobId: string;
20726
+ digest: string;
20727
+ sizeBytes: number;
20728
+ fileName?: string;
20729
+ mediaType?: string;
20730
+ logicalPath?: string;
20731
+ };
20732
+ providerMetadata?: string | number | boolean | Array<unknown> | {
20733
+ [key: string]: unknown;
20734
+ } | null;
20735
+ } | {
20736
+ type: "provider-state";
20737
+ providerId: string;
20738
+ data: string | number | boolean | Array<unknown> | {
20739
+ [key: string]: unknown;
20740
+ } | null;
20741
+ } | {
20742
+ context: {
20743
+ kind: "object";
20744
+ ref: {
20745
+ objectTypeId: string;
20746
+ primaryId: string;
20747
+ };
20748
+ label?: string;
20749
+ } | {
20750
+ kind: "app-state";
20751
+ id: string;
20752
+ label: string;
20753
+ description: string;
20754
+ value: string | number | boolean | Array<unknown> | {
20755
+ [key: string]: unknown;
20756
+ } | null;
20757
+ };
20758
+ origin: "ambient" | "explicit";
20759
+ type: "context";
20760
+ } | {
20761
+ type: "tool-call";
20762
+ toolCallId: string;
20763
+ toolName: string;
20764
+ dynamic?: boolean;
20765
+ providerExecuted?: boolean;
20766
+ input: string | number | boolean | Array<unknown> | {
20767
+ [key: string]: unknown;
20768
+ } | null;
20769
+ providerMetadata?: string | number | boolean | Array<unknown> | {
20770
+ [key: string]: unknown;
20771
+ } | null;
20772
+ state: "output-available";
20773
+ output: string | number | boolean | Array<unknown> | {
20774
+ [key: string]: unknown;
20775
+ } | null;
20776
+ outputFile?: {
20777
+ fileRef: {
20778
+ blobId: string;
20779
+ digest: string;
20780
+ sizeBytes: number;
20781
+ fileName?: string;
20782
+ mediaType?: string;
20783
+ logicalPath?: string;
20784
+ };
20785
+ path: string;
20786
+ };
20787
+ } | {
20788
+ type: "tool-call";
20789
+ toolCallId: string;
20790
+ toolName: string;
20791
+ dynamic?: boolean;
20792
+ providerExecuted?: boolean;
20793
+ input: string | number | boolean | Array<unknown> | {
20794
+ [key: string]: unknown;
20795
+ } | null;
20796
+ providerMetadata?: string | number | boolean | Array<unknown> | {
20797
+ [key: string]: unknown;
20798
+ } | null;
20799
+ state: "output-error";
20800
+ errorText: string;
20801
+ } | {
20802
+ type: "mail";
20803
+ id: string;
20804
+ from: "parent";
20805
+ kind: "message" | "answer";
20806
+ inReplyTo?: string;
20807
+ text: string;
20808
+ afterAnswer?: true;
20809
+ }>;
20810
+ annotations: Array<{
20811
+ code: "step_limit_reached" | "output_limit_reached";
20812
+ severity: "warning" | "error";
20813
+ scope: "run";
20814
+ message: string;
20815
+ }>;
20816
+ compaction?: {
20817
+ checkpointId: string;
20818
+ reason: "threshold" | "overflow";
20819
+ summary: string;
20820
+ createdAt: string;
20821
+ };
20822
+ metadata?: string | number | boolean | Array<unknown> | {
20823
+ [key: string]: unknown;
20824
+ } | null;
20825
+ contentVersion: number;
20826
+ createdAt: string;
20827
+ completedAt?: string;
20828
+ }>;
20829
+ authors: Array<{
20830
+ type: "user" | "serviceAccount" | "system";
20831
+ id: string;
20832
+ displayName?: string;
20833
+ }>;
20834
+ hasMore: boolean;
20835
+ total: number;
20836
+ }, ListAgentThreadMessagesError, InfiniteData<{
20837
+ messages: Array<{
20838
+ id: string;
20839
+ projectId: string;
20840
+ threadId: string;
20841
+ runId: string | null;
20842
+ role: "system" | "user" | "assistant";
20843
+ authorPrincipal?: {
20844
+ type: "user" | "serviceAccount" | "system";
20845
+ id: string;
20846
+ };
20847
+ seq: number;
20848
+ parts: Array<{
20849
+ type: "text";
20850
+ text: string;
20851
+ providerMetadata?: string | number | boolean | Array<unknown> | {
20852
+ [key: string]: unknown;
20853
+ } | null;
20854
+ } | {
20855
+ type: "continuation";
20856
+ } | {
20857
+ type: "approval-outcome";
20858
+ approvalId: string;
20859
+ status: "approved" | "denied" | "cancelled" | "superseded" | "expired";
20860
+ call: {
20861
+ kind: "action";
20862
+ actionId: string;
20863
+ subject: {
20864
+ kind: "none";
20865
+ } | {
20866
+ kind: "object";
20867
+ objectTypeId: string;
20868
+ primaryId: string;
20869
+ };
20870
+ } | {
20871
+ kind: "workflow";
20872
+ workflowId: string;
20873
+ };
20874
+ outcome?: {
20875
+ kind: "action-run";
20876
+ runId: string;
20877
+ status: "succeeded" | "failed";
20878
+ error?: {
20879
+ code: "internal.unexpected" | "runtime.cancelled" | "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.timeout" | "object.unique_violation";
20880
+ message: string;
20881
+ retryable: boolean;
20882
+ at: string;
20883
+ details: {
20884
+ actionId: string;
20885
+ runId: string;
20886
+ phase: "validation" | "writeback" | "edits" | "commit" | "effects";
20887
+ };
20888
+ httpStatus?: number;
20889
+ redacted?: true;
20890
+ truncated?: true;
20891
+ };
20892
+ } | {
20893
+ kind: "workflow-run";
20894
+ runId: string;
20895
+ queuedAt: string;
20896
+ } | {
20897
+ kind: "error";
20898
+ error: {
20899
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
20900
+ message: string;
20901
+ retryable: boolean;
20902
+ at: string;
20903
+ details?: string | number | boolean | Array<unknown> | {
20904
+ [key: string]: unknown;
20905
+ } | null;
20906
+ httpStatus?: number;
20907
+ redacted?: true;
20908
+ truncated?: true;
20909
+ };
20910
+ };
20911
+ caller?: {
20912
+ runId: string;
20913
+ key: string;
20914
+ continues?: true;
20915
+ };
20916
+ } | {
20917
+ type: "reasoning";
20918
+ text: string;
20919
+ providerMetadata?: string | number | boolean | Array<unknown> | {
20920
+ [key: string]: unknown;
20921
+ } | null;
20922
+ } | {
20923
+ type: "step-start";
20924
+ } | {
20925
+ type: "file";
20926
+ fileRef: {
20927
+ blobId: string;
20928
+ digest: string;
20929
+ sizeBytes: number;
20930
+ fileName?: string;
20931
+ mediaType?: string;
20932
+ logicalPath?: string;
20933
+ };
20934
+ providerMetadata?: string | number | boolean | Array<unknown> | {
20935
+ [key: string]: unknown;
20936
+ } | null;
20937
+ } | {
20938
+ type: "provider-state";
20939
+ providerId: string;
20940
+ data: string | number | boolean | Array<unknown> | {
20941
+ [key: string]: unknown;
20942
+ } | null;
20943
+ } | {
20944
+ context: {
20945
+ kind: "object";
20946
+ ref: {
20947
+ objectTypeId: string;
20948
+ primaryId: string;
20949
+ };
20950
+ label?: string;
20951
+ } | {
20952
+ kind: "app-state";
20953
+ id: string;
20954
+ label: string;
20955
+ description: string;
20956
+ value: string | number | boolean | Array<unknown> | {
20957
+ [key: string]: unknown;
20958
+ } | null;
20959
+ };
20960
+ origin: "ambient" | "explicit";
20961
+ type: "context";
20962
+ } | {
20963
+ type: "tool-call";
20964
+ toolCallId: string;
20965
+ toolName: string;
20966
+ dynamic?: boolean;
20967
+ providerExecuted?: boolean;
20968
+ input: string | number | boolean | Array<unknown> | {
20969
+ [key: string]: unknown;
20970
+ } | null;
20971
+ providerMetadata?: string | number | boolean | Array<unknown> | {
20972
+ [key: string]: unknown;
20973
+ } | null;
20974
+ state: "output-available";
20975
+ output: string | number | boolean | Array<unknown> | {
20976
+ [key: string]: unknown;
20977
+ } | null;
20978
+ outputFile?: {
20979
+ fileRef: {
20980
+ blobId: string;
20981
+ digest: string;
20982
+ sizeBytes: number;
20983
+ fileName?: string;
20984
+ mediaType?: string;
20985
+ logicalPath?: string;
20986
+ };
20987
+ path: string;
20988
+ };
20989
+ } | {
20990
+ type: "tool-call";
20991
+ toolCallId: string;
20992
+ toolName: string;
20993
+ dynamic?: boolean;
20994
+ providerExecuted?: boolean;
20995
+ input: string | number | boolean | Array<unknown> | {
20996
+ [key: string]: unknown;
20997
+ } | null;
20998
+ providerMetadata?: string | number | boolean | Array<unknown> | {
20999
+ [key: string]: unknown;
21000
+ } | null;
21001
+ state: "output-error";
21002
+ errorText: string;
21003
+ } | {
21004
+ type: "mail";
21005
+ id: string;
21006
+ from: "parent";
21007
+ kind: "message" | "answer";
21008
+ inReplyTo?: string;
21009
+ text: string;
21010
+ afterAnswer?: true;
21011
+ }>;
21012
+ annotations: Array<{
21013
+ code: "step_limit_reached" | "output_limit_reached";
21014
+ severity: "warning" | "error";
21015
+ scope: "run";
21016
+ message: string;
21017
+ }>;
21018
+ compaction?: {
21019
+ checkpointId: string;
21020
+ reason: "threshold" | "overflow";
21021
+ summary: string;
21022
+ createdAt: string;
21023
+ };
21024
+ metadata?: string | number | boolean | Array<unknown> | {
21025
+ [key: string]: unknown;
21026
+ } | null;
21027
+ contentVersion: number;
21028
+ createdAt: string;
21029
+ completedAt?: string;
21030
+ }>;
21031
+ authors: Array<{
21032
+ type: "user" | "serviceAccount" | "system";
21033
+ id: string;
21034
+ displayName?: string;
21035
+ }>;
21036
+ hasMore: boolean;
21037
+ total: number;
21038
+ }, unknown>, QueryKey<Options<ListAgentThreadMessagesData>>, string | Pick<Pick<Options<ListAgentThreadMessagesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
21039
+ _id: string;
21040
+ _infinite?: boolean;
21041
+ tags?: ReadonlyArray<string>;
21042
+ }, "query" | "body" | "headers" | "path">> & {
21043
+ initialData: InfiniteData<{
21044
+ messages: Array<{
21045
+ id: string;
21046
+ projectId: string;
21047
+ threadId: string;
21048
+ runId: string | null;
21049
+ role: "system" | "user" | "assistant";
21050
+ authorPrincipal?: {
21051
+ type: "user" | "serviceAccount" | "system";
21052
+ id: string;
21053
+ };
21054
+ seq: number;
21055
+ parts: Array<{
21056
+ type: "text";
21057
+ text: string;
21058
+ providerMetadata?: string | number | boolean | Array<unknown> | {
21059
+ [key: string]: unknown;
21060
+ } | null;
21061
+ } | {
21062
+ type: "continuation";
21063
+ } | {
21064
+ type: "approval-outcome";
21065
+ approvalId: string;
21066
+ status: "approved" | "denied" | "cancelled" | "superseded" | "expired";
21067
+ call: {
21068
+ kind: "action";
21069
+ actionId: string;
21070
+ subject: {
21071
+ kind: "none";
21072
+ } | {
21073
+ kind: "object";
21074
+ objectTypeId: string;
21075
+ primaryId: string;
21076
+ };
21077
+ } | {
21078
+ kind: "workflow";
21079
+ workflowId: string;
21080
+ };
21081
+ outcome?: {
21082
+ kind: "action-run";
21083
+ runId: string;
21084
+ status: "succeeded" | "failed";
21085
+ error?: {
21086
+ code: "internal.unexpected" | "runtime.cancelled" | "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.timeout" | "object.unique_violation";
21087
+ message: string;
21088
+ retryable: boolean;
21089
+ at: string;
21090
+ details: {
21091
+ actionId: string;
21092
+ runId: string;
21093
+ phase: "validation" | "writeback" | "edits" | "commit" | "effects";
21094
+ };
21095
+ httpStatus?: number;
21096
+ redacted?: true;
21097
+ truncated?: true;
21098
+ };
21099
+ } | {
21100
+ kind: "workflow-run";
21101
+ runId: string;
21102
+ queuedAt: string;
21103
+ } | {
21104
+ kind: "error";
21105
+ error: {
21106
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
21107
+ message: string;
21108
+ retryable: boolean;
21109
+ at: string;
21110
+ details?: string | number | boolean | Array<unknown> | {
21111
+ [key: string]: unknown;
21112
+ } | null;
21113
+ httpStatus?: number;
21114
+ redacted?: true;
21115
+ truncated?: true;
21116
+ };
21117
+ };
21118
+ caller?: {
21119
+ runId: string;
21120
+ key: string;
21121
+ continues?: true;
21122
+ };
21123
+ } | {
21124
+ type: "reasoning";
21125
+ text: string;
21126
+ providerMetadata?: string | number | boolean | Array<unknown> | {
21127
+ [key: string]: unknown;
21128
+ } | null;
21129
+ } | {
21130
+ type: "step-start";
21131
+ } | {
21132
+ type: "file";
21133
+ fileRef: {
21134
+ blobId: string;
21135
+ digest: string;
21136
+ sizeBytes: number;
21137
+ fileName?: string;
21138
+ mediaType?: string;
21139
+ logicalPath?: string;
21140
+ };
21141
+ providerMetadata?: string | number | boolean | Array<unknown> | {
21142
+ [key: string]: unknown;
21143
+ } | null;
21144
+ } | {
21145
+ type: "provider-state";
21146
+ providerId: string;
21147
+ data: string | number | boolean | Array<unknown> | {
21148
+ [key: string]: unknown;
21149
+ } | null;
21150
+ } | {
21151
+ context: {
21152
+ kind: "object";
21153
+ ref: {
21154
+ objectTypeId: string;
21155
+ primaryId: string;
21156
+ };
21157
+ label?: string;
21158
+ } | {
21159
+ kind: "app-state";
21160
+ id: string;
21161
+ label: string;
21162
+ description: string;
21163
+ value: string | number | boolean | Array<unknown> | {
21164
+ [key: string]: unknown;
21165
+ } | null;
21166
+ };
21167
+ origin: "ambient" | "explicit";
21168
+ type: "context";
21169
+ } | {
21170
+ type: "tool-call";
21171
+ toolCallId: string;
21172
+ toolName: string;
21173
+ dynamic?: boolean;
21174
+ providerExecuted?: boolean;
21175
+ input: string | number | boolean | Array<unknown> | {
21176
+ [key: string]: unknown;
21177
+ } | null;
21178
+ providerMetadata?: string | number | boolean | Array<unknown> | {
21179
+ [key: string]: unknown;
21180
+ } | null;
21181
+ state: "output-available";
21182
+ output: string | number | boolean | Array<unknown> | {
21183
+ [key: string]: unknown;
21184
+ } | null;
21185
+ outputFile?: {
21186
+ fileRef: {
21187
+ blobId: string;
21188
+ digest: string;
21189
+ sizeBytes: number;
21190
+ fileName?: string;
21191
+ mediaType?: string;
21192
+ logicalPath?: string;
21193
+ };
21194
+ path: string;
21195
+ };
21196
+ } | {
21197
+ type: "tool-call";
21198
+ toolCallId: string;
21199
+ toolName: string;
21200
+ dynamic?: boolean;
21201
+ providerExecuted?: boolean;
21202
+ input: string | number | boolean | Array<unknown> | {
21203
+ [key: string]: unknown;
21204
+ } | null;
21205
+ providerMetadata?: string | number | boolean | Array<unknown> | {
21206
+ [key: string]: unknown;
21207
+ } | null;
21208
+ state: "output-error";
21209
+ errorText: string;
21210
+ } | {
21211
+ type: "mail";
21212
+ id: string;
21213
+ from: "parent";
21214
+ kind: "message" | "answer";
21215
+ inReplyTo?: string;
21216
+ text: string;
21217
+ afterAnswer?: true;
21218
+ }>;
21219
+ annotations: Array<{
21220
+ code: "step_limit_reached" | "output_limit_reached";
21221
+ severity: "warning" | "error";
21222
+ scope: "run";
21223
+ message: string;
21224
+ }>;
21225
+ compaction?: {
21226
+ checkpointId: string;
21227
+ reason: "threshold" | "overflow";
21228
+ summary: string;
21229
+ createdAt: string;
21230
+ };
21231
+ metadata?: string | number | boolean | Array<unknown> | {
21232
+ [key: string]: unknown;
21233
+ } | null;
21234
+ contentVersion: number;
21235
+ createdAt: string;
21236
+ completedAt?: string;
21237
+ }>;
21238
+ authors: Array<{
21239
+ type: "user" | "serviceAccount" | "system";
21240
+ id: string;
21241
+ displayName?: string;
21242
+ }>;
21243
+ hasMore: boolean;
21244
+ total: number;
21245
+ }, string | Pick<Pick<Options<ListAgentThreadMessagesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
21246
+ _id: string;
21247
+ _infinite?: boolean;
21248
+ tags?: ReadonlyArray<string>;
21249
+ }, "query" | "body" | "headers" | "path">> | (() => InfiniteData<{
21250
+ messages: Array<{
21251
+ id: string;
21252
+ projectId: string;
21253
+ threadId: string;
21254
+ runId: string | null;
21255
+ role: "system" | "user" | "assistant";
21256
+ authorPrincipal?: {
21257
+ type: "user" | "serviceAccount" | "system";
21258
+ id: string;
21259
+ };
21260
+ seq: number;
21261
+ parts: Array<{
21262
+ type: "text";
21263
+ text: string;
21264
+ providerMetadata?: string | number | boolean | Array<unknown> | {
21265
+ [key: string]: unknown;
21266
+ } | null;
21267
+ } | {
21268
+ type: "continuation";
21269
+ } | {
21270
+ type: "approval-outcome";
21271
+ approvalId: string;
21272
+ status: "approved" | "denied" | "cancelled" | "superseded" | "expired";
21273
+ call: {
21274
+ kind: "action";
21275
+ actionId: string;
21276
+ subject: {
21277
+ kind: "none";
21278
+ } | {
21279
+ kind: "object";
21280
+ objectTypeId: string;
21281
+ primaryId: string;
21282
+ };
21283
+ } | {
21284
+ kind: "workflow";
21285
+ workflowId: string;
21286
+ };
21287
+ outcome?: {
21288
+ kind: "action-run";
21289
+ runId: string;
21290
+ status: "succeeded" | "failed";
21291
+ error?: {
21292
+ code: "internal.unexpected" | "runtime.cancelled" | "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.timeout" | "object.unique_violation";
21293
+ message: string;
21294
+ retryable: boolean;
21295
+ at: string;
21296
+ details: {
21297
+ actionId: string;
21298
+ runId: string;
21299
+ phase: "validation" | "writeback" | "edits" | "commit" | "effects";
21300
+ };
21301
+ httpStatus?: number;
21302
+ redacted?: true;
21303
+ truncated?: true;
21304
+ };
21305
+ } | {
21306
+ kind: "workflow-run";
21307
+ runId: string;
21308
+ queuedAt: string;
21309
+ } | {
21310
+ kind: "error";
21311
+ error: {
21312
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
21313
+ message: string;
21314
+ retryable: boolean;
21315
+ at: string;
21316
+ details?: string | number | boolean | Array<unknown> | {
21317
+ [key: string]: unknown;
21318
+ } | null;
21319
+ httpStatus?: number;
21320
+ redacted?: true;
21321
+ truncated?: true;
21322
+ };
21323
+ };
21324
+ caller?: {
21325
+ runId: string;
21326
+ key: string;
21327
+ continues?: true;
21328
+ };
21329
+ } | {
21330
+ type: "reasoning";
21331
+ text: string;
21332
+ providerMetadata?: string | number | boolean | Array<unknown> | {
21333
+ [key: string]: unknown;
21334
+ } | null;
21335
+ } | {
21336
+ type: "step-start";
21337
+ } | {
21338
+ type: "file";
21339
+ fileRef: {
21340
+ blobId: string;
21341
+ digest: string;
21342
+ sizeBytes: number;
21343
+ fileName?: string;
21344
+ mediaType?: string;
21345
+ logicalPath?: string;
21346
+ };
21347
+ providerMetadata?: string | number | boolean | Array<unknown> | {
21348
+ [key: string]: unknown;
21349
+ } | null;
21350
+ } | {
21351
+ type: "provider-state";
21352
+ providerId: string;
21353
+ data: string | number | boolean | Array<unknown> | {
21354
+ [key: string]: unknown;
21355
+ } | null;
21356
+ } | {
21357
+ context: {
21358
+ kind: "object";
21359
+ ref: {
21360
+ objectTypeId: string;
21361
+ primaryId: string;
21362
+ };
21363
+ label?: string;
21364
+ } | {
21365
+ kind: "app-state";
21366
+ id: string;
21367
+ label: string;
21368
+ description: string;
21369
+ value: string | number | boolean | Array<unknown> | {
21370
+ [key: string]: unknown;
21371
+ } | null;
21372
+ };
21373
+ origin: "ambient" | "explicit";
21374
+ type: "context";
21375
+ } | {
21376
+ type: "tool-call";
21377
+ toolCallId: string;
21378
+ toolName: string;
21379
+ dynamic?: boolean;
21380
+ providerExecuted?: boolean;
21381
+ input: string | number | boolean | Array<unknown> | {
21382
+ [key: string]: unknown;
21383
+ } | null;
21384
+ providerMetadata?: string | number | boolean | Array<unknown> | {
21385
+ [key: string]: unknown;
21386
+ } | null;
21387
+ state: "output-available";
21388
+ output: string | number | boolean | Array<unknown> | {
21389
+ [key: string]: unknown;
21390
+ } | null;
21391
+ outputFile?: {
21392
+ fileRef: {
21393
+ blobId: string;
21394
+ digest: string;
21395
+ sizeBytes: number;
21396
+ fileName?: string;
21397
+ mediaType?: string;
21398
+ logicalPath?: string;
21399
+ };
21400
+ path: string;
21401
+ };
21402
+ } | {
21403
+ type: "tool-call";
21404
+ toolCallId: string;
21405
+ toolName: string;
21406
+ dynamic?: boolean;
21407
+ providerExecuted?: boolean;
21408
+ input: string | number | boolean | Array<unknown> | {
21409
+ [key: string]: unknown;
21410
+ } | null;
21411
+ providerMetadata?: string | number | boolean | Array<unknown> | {
21412
+ [key: string]: unknown;
21413
+ } | null;
21414
+ state: "output-error";
21415
+ errorText: string;
21416
+ } | {
21417
+ type: "mail";
21418
+ id: string;
21419
+ from: "parent";
21420
+ kind: "message" | "answer";
21421
+ inReplyTo?: string;
21422
+ text: string;
21423
+ afterAnswer?: true;
21424
+ }>;
21425
+ annotations: Array<{
21426
+ code: "step_limit_reached" | "output_limit_reached";
21427
+ severity: "warning" | "error";
21428
+ scope: "run";
21429
+ message: string;
21430
+ }>;
21431
+ compaction?: {
21432
+ checkpointId: string;
21433
+ reason: "threshold" | "overflow";
21434
+ summary: string;
21435
+ createdAt: string;
21436
+ };
21437
+ metadata?: string | number | boolean | Array<unknown> | {
21438
+ [key: string]: unknown;
21439
+ } | null;
21440
+ contentVersion: number;
21441
+ createdAt: string;
21442
+ completedAt?: string;
21443
+ }>;
21444
+ authors: Array<{
21445
+ type: "user" | "serviceAccount" | "system";
21446
+ id: string;
21447
+ displayName?: string;
21448
+ }>;
21449
+ hasMore: boolean;
21450
+ total: number;
21451
+ }, string | Pick<Pick<Options<ListAgentThreadMessagesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
20302
21452
  _id: string;
20303
21453
  _infinite?: boolean;
20304
21454
  tags?: ReadonlyArray<string>;
20305
- }], never> | undefined;
21455
+ }, "query" | "body" | "headers" | "path">>) | undefined;
20306
21456
  } & {
20307
- queryKey: [Pick<Options<ListAgentThreadMessagesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
20308
- _id: string;
20309
- _infinite?: boolean;
20310
- tags?: ReadonlyArray<string>;
20311
- }] & {
20312
- [dataTagSymbol]: {
21457
+ queryKey: QueryKey<Options<ListAgentThreadMessagesData>> & {
21458
+ [dataTagSymbol]: InfiniteData<{
20313
21459
  messages: Array<{
20314
21460
  id: string;
20315
21461
  projectId: string;
@@ -20511,26 +21657,62 @@ export declare const listAgentThreadMessagesOptions: (options: Options<ListAgent
20511
21657
  }>;
20512
21658
  hasMore: boolean;
20513
21659
  total: number;
20514
- };
21660
+ }, unknown>;
20515
21661
  [dataTagErrorSymbol]: ListAgentThreadMessagesError;
20516
21662
  };
20517
21663
  };
20518
- export declare const listAgentThreadMessagesInfiniteQueryKey: (options: Options<ListAgentThreadMessagesData>) => QueryKey<Options<ListAgentThreadMessagesData>>;
20519
21664
  /**
20520
- * List agent thread messages
21665
+ * Post an agent thread message
20521
21666
  */
20522
- export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<ListAgentThreadMessagesData>) => import("@tanstack/react-query").UseInfiniteQueryOptions<{
20523
- messages: Array<{
21667
+ export declare const postAgentThreadMessageMutation: (options?: Partial<Options<PostAgentThreadMessageData>>) => UseMutationOptions<PostAgentThreadMessageResponse, PostAgentThreadMessageError, Options<PostAgentThreadMessageData>>;
21668
+ export declare const getAgentMessageFileContentQueryKey: (options: Options<GetAgentMessageFileContentData>) => [Pick<Options<GetAgentMessageFileContentData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
21669
+ _id: string;
21670
+ _infinite?: boolean;
21671
+ tags?: ReadonlyArray<string>;
21672
+ }];
21673
+ /**
21674
+ * Get agent message file content
21675
+ */
21676
+ export declare const getAgentMessageFileContentOptions: (options: Options<GetAgentMessageFileContentData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<GetAgentMessageFileContentResponse, unknown, GetAgentMessageFileContentResponse, [Pick<Options<GetAgentMessageFileContentData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
21677
+ _id: string;
21678
+ _infinite?: boolean;
21679
+ tags?: ReadonlyArray<string>;
21680
+ }]>, "queryFn"> & {
21681
+ queryFn?: import("@tanstack/react-query").QueryFunction<GetAgentMessageFileContentResponse, [Pick<Options<GetAgentMessageFileContentData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
21682
+ _id: string;
21683
+ _infinite?: boolean;
21684
+ tags?: ReadonlyArray<string>;
21685
+ }], never> | undefined;
21686
+ } & {
21687
+ queryKey: [Pick<Options<GetAgentMessageFileContentData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
21688
+ _id: string;
21689
+ _infinite?: boolean;
21690
+ tags?: ReadonlyArray<string>;
21691
+ }] & {
21692
+ [dataTagSymbol]: GetAgentMessageFileContentResponse;
21693
+ [dataTagErrorSymbol]: unknown;
21694
+ };
21695
+ };
21696
+ export declare const listAgentThreadInboxQueryKey: (options: Options<ListAgentThreadInboxData>) => [Pick<Options<ListAgentThreadInboxData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
21697
+ _id: string;
21698
+ _infinite?: boolean;
21699
+ tags?: ReadonlyArray<string>;
21700
+ }];
21701
+ /**
21702
+ * List agent thread inbox messages
21703
+ */
21704
+ export declare const listAgentThreadInboxOptions: (options: Options<ListAgentThreadInboxData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
21705
+ items: Array<{
20524
21706
  id: string;
20525
21707
  projectId: string;
20526
21708
  threadId: string;
20527
- runId: string | null;
20528
- role: "system" | "user" | "assistant";
20529
- authorPrincipal?: {
21709
+ messageId: string;
21710
+ seq: number;
21711
+ authorPrincipal: {
20530
21712
  type: "user" | "serviceAccount" | "system";
20531
21713
  id: string;
20532
21714
  };
20533
- seq: number;
21715
+ mode: "steer" | "queue";
20534
21716
  parts: Array<{
20535
21717
  type: "text";
20536
21718
  text: string;
@@ -20695,44 +21877,34 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
20695
21877
  text: string;
20696
21878
  afterAnswer?: true;
20697
21879
  }>;
20698
- annotations: Array<{
20699
- code: "step_limit_reached" | "output_limit_reached";
20700
- severity: "warning" | "error";
20701
- scope: "run";
20702
- message: string;
20703
- }>;
20704
- compaction?: {
20705
- checkpointId: string;
20706
- reason: "threshold" | "overflow";
20707
- summary: string;
20708
- createdAt: string;
21880
+ spec?: {
21881
+ model?: {
21882
+ provider: string;
21883
+ modelId: string;
21884
+ };
21885
+ reasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
21886
+ budgetTokens: number;
21887
+ };
21888
+ approvalMode?: "manual" | "accept-edits" | "auto";
20709
21889
  };
20710
- metadata?: string | number | boolean | Array<unknown> | {
20711
- [key: string]: unknown;
20712
- } | null;
20713
- contentVersion: number;
21890
+ timeZone?: string;
21891
+ locale?: string;
21892
+ immediate?: boolean;
20714
21893
  createdAt: string;
20715
- completedAt?: string;
20716
- }>;
20717
- authors: Array<{
20718
- type: "user" | "serviceAccount" | "system";
20719
- id: string;
20720
- displayName?: string;
21894
+ updatedAt: string;
20721
21895
  }>;
20722
- hasMore: boolean;
20723
- total: number;
20724
- }, ListAgentThreadMessagesError, InfiniteData<{
20725
- messages: Array<{
21896
+ }, ListAgentThreadInboxError, {
21897
+ items: Array<{
20726
21898
  id: string;
20727
21899
  projectId: string;
20728
21900
  threadId: string;
20729
- runId: string | null;
20730
- role: "system" | "user" | "assistant";
20731
- authorPrincipal?: {
21901
+ messageId: string;
21902
+ seq: number;
21903
+ authorPrincipal: {
20732
21904
  type: "user" | "serviceAccount" | "system";
20733
21905
  id: string;
20734
21906
  };
20735
- seq: number;
21907
+ mode: "steer" | "queue";
20736
21908
  parts: Array<{
20737
21909
  type: "text";
20738
21910
  text: string;
@@ -20897,255 +22069,39 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
20897
22069
  text: string;
20898
22070
  afterAnswer?: true;
20899
22071
  }>;
20900
- annotations: Array<{
20901
- code: "step_limit_reached" | "output_limit_reached";
20902
- severity: "warning" | "error";
20903
- scope: "run";
20904
- message: string;
20905
- }>;
20906
- compaction?: {
20907
- checkpointId: string;
20908
- reason: "threshold" | "overflow";
20909
- summary: string;
20910
- createdAt: string;
22072
+ spec?: {
22073
+ model?: {
22074
+ provider: string;
22075
+ modelId: string;
22076
+ };
22077
+ reasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
22078
+ budgetTokens: number;
22079
+ };
22080
+ approvalMode?: "manual" | "accept-edits" | "auto";
20911
22081
  };
20912
- metadata?: string | number | boolean | Array<unknown> | {
20913
- [key: string]: unknown;
20914
- } | null;
20915
- contentVersion: number;
22082
+ timeZone?: string;
22083
+ locale?: string;
22084
+ immediate?: boolean;
20916
22085
  createdAt: string;
20917
- completedAt?: string;
20918
- }>;
20919
- authors: Array<{
20920
- type: "user" | "serviceAccount" | "system";
20921
- id: string;
20922
- displayName?: string;
22086
+ updatedAt: string;
20923
22087
  }>;
20924
- hasMore: boolean;
20925
- total: number;
20926
- }, unknown>, QueryKey<Options<ListAgentThreadMessagesData>>, string | Pick<Pick<Options<ListAgentThreadMessagesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
22088
+ }, [Pick<Options<ListAgentThreadInboxData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
20927
22089
  _id: string;
20928
22090
  _infinite?: boolean;
20929
22091
  tags?: ReadonlyArray<string>;
20930
- }, "query" | "body" | "headers" | "path">> & {
20931
- initialData: InfiniteData<{
20932
- messages: Array<{
22092
+ }]>, "queryFn"> & {
22093
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
22094
+ items: Array<{
20933
22095
  id: string;
20934
22096
  projectId: string;
20935
22097
  threadId: string;
20936
- runId: string | null;
20937
- role: "system" | "user" | "assistant";
20938
- authorPrincipal?: {
20939
- type: "user" | "serviceAccount" | "system";
20940
- id: string;
20941
- };
22098
+ messageId: string;
20942
22099
  seq: number;
20943
- parts: Array<{
20944
- type: "text";
20945
- text: string;
20946
- providerMetadata?: string | number | boolean | Array<unknown> | {
20947
- [key: string]: unknown;
20948
- } | null;
20949
- } | {
20950
- type: "continuation";
20951
- } | {
20952
- type: "approval-outcome";
20953
- approvalId: string;
20954
- status: "approved" | "denied" | "cancelled" | "superseded" | "expired";
20955
- call: {
20956
- kind: "action";
20957
- actionId: string;
20958
- subject: {
20959
- kind: "none";
20960
- } | {
20961
- kind: "object";
20962
- objectTypeId: string;
20963
- primaryId: string;
20964
- };
20965
- } | {
20966
- kind: "workflow";
20967
- workflowId: string;
20968
- };
20969
- outcome?: {
20970
- kind: "action-run";
20971
- runId: string;
20972
- status: "succeeded" | "failed";
20973
- error?: {
20974
- code: "internal.unexpected" | "runtime.cancelled" | "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.timeout" | "object.unique_violation";
20975
- message: string;
20976
- retryable: boolean;
20977
- at: string;
20978
- details: {
20979
- actionId: string;
20980
- runId: string;
20981
- phase: "validation" | "writeback" | "edits" | "commit" | "effects";
20982
- };
20983
- httpStatus?: number;
20984
- redacted?: true;
20985
- truncated?: true;
20986
- };
20987
- } | {
20988
- kind: "workflow-run";
20989
- runId: string;
20990
- queuedAt: string;
20991
- } | {
20992
- kind: "error";
20993
- error: {
20994
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
20995
- message: string;
20996
- retryable: boolean;
20997
- at: string;
20998
- details?: string | number | boolean | Array<unknown> | {
20999
- [key: string]: unknown;
21000
- } | null;
21001
- httpStatus?: number;
21002
- redacted?: true;
21003
- truncated?: true;
21004
- };
21005
- };
21006
- caller?: {
21007
- runId: string;
21008
- key: string;
21009
- continues?: true;
21010
- };
21011
- } | {
21012
- type: "reasoning";
21013
- text: string;
21014
- providerMetadata?: string | number | boolean | Array<unknown> | {
21015
- [key: string]: unknown;
21016
- } | null;
21017
- } | {
21018
- type: "step-start";
21019
- } | {
21020
- type: "file";
21021
- fileRef: {
21022
- blobId: string;
21023
- digest: string;
21024
- sizeBytes: number;
21025
- fileName?: string;
21026
- mediaType?: string;
21027
- logicalPath?: string;
21028
- };
21029
- providerMetadata?: string | number | boolean | Array<unknown> | {
21030
- [key: string]: unknown;
21031
- } | null;
21032
- } | {
21033
- type: "provider-state";
21034
- providerId: string;
21035
- data: string | number | boolean | Array<unknown> | {
21036
- [key: string]: unknown;
21037
- } | null;
21038
- } | {
21039
- context: {
21040
- kind: "object";
21041
- ref: {
21042
- objectTypeId: string;
21043
- primaryId: string;
21044
- };
21045
- label?: string;
21046
- } | {
21047
- kind: "app-state";
21048
- id: string;
21049
- label: string;
21050
- description: string;
21051
- value: string | number | boolean | Array<unknown> | {
21052
- [key: string]: unknown;
21053
- } | null;
21054
- };
21055
- origin: "ambient" | "explicit";
21056
- type: "context";
21057
- } | {
21058
- type: "tool-call";
21059
- toolCallId: string;
21060
- toolName: string;
21061
- dynamic?: boolean;
21062
- providerExecuted?: boolean;
21063
- input: string | number | boolean | Array<unknown> | {
21064
- [key: string]: unknown;
21065
- } | null;
21066
- providerMetadata?: string | number | boolean | Array<unknown> | {
21067
- [key: string]: unknown;
21068
- } | null;
21069
- state: "output-available";
21070
- output: string | number | boolean | Array<unknown> | {
21071
- [key: string]: unknown;
21072
- } | null;
21073
- outputFile?: {
21074
- fileRef: {
21075
- blobId: string;
21076
- digest: string;
21077
- sizeBytes: number;
21078
- fileName?: string;
21079
- mediaType?: string;
21080
- logicalPath?: string;
21081
- };
21082
- path: string;
21083
- };
21084
- } | {
21085
- type: "tool-call";
21086
- toolCallId: string;
21087
- toolName: string;
21088
- dynamic?: boolean;
21089
- providerExecuted?: boolean;
21090
- input: string | number | boolean | Array<unknown> | {
21091
- [key: string]: unknown;
21092
- } | null;
21093
- providerMetadata?: string | number | boolean | Array<unknown> | {
21094
- [key: string]: unknown;
21095
- } | null;
21096
- state: "output-error";
21097
- errorText: string;
21098
- } | {
21099
- type: "mail";
21100
- id: string;
21101
- from: "parent";
21102
- kind: "message" | "answer";
21103
- inReplyTo?: string;
21104
- text: string;
21105
- afterAnswer?: true;
21106
- }>;
21107
- annotations: Array<{
21108
- code: "step_limit_reached" | "output_limit_reached";
21109
- severity: "warning" | "error";
21110
- scope: "run";
21111
- message: string;
21112
- }>;
21113
- compaction?: {
21114
- checkpointId: string;
21115
- reason: "threshold" | "overflow";
21116
- summary: string;
21117
- createdAt: string;
21118
- };
21119
- metadata?: string | number | boolean | Array<unknown> | {
21120
- [key: string]: unknown;
21121
- } | null;
21122
- contentVersion: number;
21123
- createdAt: string;
21124
- completedAt?: string;
21125
- }>;
21126
- authors: Array<{
21127
- type: "user" | "serviceAccount" | "system";
21128
- id: string;
21129
- displayName?: string;
21130
- }>;
21131
- hasMore: boolean;
21132
- total: number;
21133
- }, string | Pick<Pick<Options<ListAgentThreadMessagesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
21134
- _id: string;
21135
- _infinite?: boolean;
21136
- tags?: ReadonlyArray<string>;
21137
- }, "query" | "body" | "headers" | "path">> | (() => InfiniteData<{
21138
- messages: Array<{
21139
- id: string;
21140
- projectId: string;
21141
- threadId: string;
21142
- runId: string | null;
21143
- role: "system" | "user" | "assistant";
21144
- authorPrincipal?: {
22100
+ authorPrincipal: {
21145
22101
  type: "user" | "serviceAccount" | "system";
21146
22102
  id: string;
21147
22103
  };
21148
- seq: number;
22104
+ mode: "steer" | "queue";
21149
22105
  parts: Array<{
21150
22106
  type: "text";
21151
22107
  text: string;
@@ -21310,51 +22266,45 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
21310
22266
  text: string;
21311
22267
  afterAnswer?: true;
21312
22268
  }>;
21313
- annotations: Array<{
21314
- code: "step_limit_reached" | "output_limit_reached";
21315
- severity: "warning" | "error";
21316
- scope: "run";
21317
- message: string;
21318
- }>;
21319
- compaction?: {
21320
- checkpointId: string;
21321
- reason: "threshold" | "overflow";
21322
- summary: string;
21323
- createdAt: string;
22269
+ spec?: {
22270
+ model?: {
22271
+ provider: string;
22272
+ modelId: string;
22273
+ };
22274
+ reasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
22275
+ budgetTokens: number;
22276
+ };
22277
+ approvalMode?: "manual" | "accept-edits" | "auto";
21324
22278
  };
21325
- metadata?: string | number | boolean | Array<unknown> | {
21326
- [key: string]: unknown;
21327
- } | null;
21328
- contentVersion: number;
22279
+ timeZone?: string;
22280
+ locale?: string;
22281
+ immediate?: boolean;
21329
22282
  createdAt: string;
21330
- completedAt?: string;
21331
- }>;
21332
- authors: Array<{
21333
- type: "user" | "serviceAccount" | "system";
21334
- id: string;
21335
- displayName?: string;
22283
+ updatedAt: string;
21336
22284
  }>;
21337
- hasMore: boolean;
21338
- total: number;
21339
- }, string | Pick<Pick<Options<ListAgentThreadMessagesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
22285
+ }, [Pick<Options<ListAgentThreadInboxData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
21340
22286
  _id: string;
21341
22287
  _infinite?: boolean;
21342
22288
  tags?: ReadonlyArray<string>;
21343
- }, "query" | "body" | "headers" | "path">>) | undefined;
22289
+ }], never> | undefined;
21344
22290
  } & {
21345
- queryKey: QueryKey<Options<ListAgentThreadMessagesData>> & {
21346
- [dataTagSymbol]: InfiniteData<{
21347
- messages: Array<{
22291
+ queryKey: [Pick<Options<ListAgentThreadInboxData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
22292
+ _id: string;
22293
+ _infinite?: boolean;
22294
+ tags?: ReadonlyArray<string>;
22295
+ }] & {
22296
+ [dataTagSymbol]: {
22297
+ items: Array<{
21348
22298
  id: string;
21349
22299
  projectId: string;
21350
22300
  threadId: string;
21351
- runId: string | null;
21352
- role: "system" | "user" | "assistant";
21353
- authorPrincipal?: {
22301
+ messageId: string;
22302
+ seq: number;
22303
+ authorPrincipal: {
21354
22304
  type: "user" | "serviceAccount" | "system";
21355
22305
  id: string;
21356
22306
  };
21357
- seq: number;
22307
+ mode: "steer" | "queue";
21358
22308
  parts: Array<{
21359
22309
  type: "text";
21360
22310
  text: string;
@@ -21519,68 +22469,34 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
21519
22469
  text: string;
21520
22470
  afterAnswer?: true;
21521
22471
  }>;
21522
- annotations: Array<{
21523
- code: "step_limit_reached" | "output_limit_reached";
21524
- severity: "warning" | "error";
21525
- scope: "run";
21526
- message: string;
21527
- }>;
21528
- compaction?: {
21529
- checkpointId: string;
21530
- reason: "threshold" | "overflow";
21531
- summary: string;
21532
- createdAt: string;
22472
+ spec?: {
22473
+ model?: {
22474
+ provider: string;
22475
+ modelId: string;
22476
+ };
22477
+ reasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
22478
+ budgetTokens: number;
22479
+ };
22480
+ approvalMode?: "manual" | "accept-edits" | "auto";
21533
22481
  };
21534
- metadata?: string | number | boolean | Array<unknown> | {
21535
- [key: string]: unknown;
21536
- } | null;
21537
- contentVersion: number;
22482
+ timeZone?: string;
22483
+ locale?: string;
22484
+ immediate?: boolean;
21538
22485
  createdAt: string;
21539
- completedAt?: string;
21540
- }>;
21541
- authors: Array<{
21542
- type: "user" | "serviceAccount" | "system";
21543
- id: string;
21544
- displayName?: string;
22486
+ updatedAt: string;
21545
22487
  }>;
21546
- hasMore: boolean;
21547
- total: number;
21548
- }, unknown>;
21549
- [dataTagErrorSymbol]: ListAgentThreadMessagesError;
22488
+ };
22489
+ [dataTagErrorSymbol]: ListAgentThreadInboxError;
21550
22490
  };
21551
22491
  };
21552
22492
  /**
21553
- * Post an agent thread message
22493
+ * Withdraw a waiting agent thread message
21554
22494
  */
21555
- export declare const postAgentThreadMessageMutation: (options?: Partial<Options<PostAgentThreadMessageData>>) => UseMutationOptions<PostAgentThreadMessageResponse, PostAgentThreadMessageError, Options<PostAgentThreadMessageData>>;
21556
- export declare const getAgentMessageFileContentQueryKey: (options: Options<GetAgentMessageFileContentData>) => [Pick<Options<GetAgentMessageFileContentData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
21557
- _id: string;
21558
- _infinite?: boolean;
21559
- tags?: ReadonlyArray<string>;
21560
- }];
22495
+ export declare const withdrawAgentThreadInboxItemMutation: (options?: Partial<Options<WithdrawAgentThreadInboxItemData>>) => UseMutationOptions<unknown, WithdrawAgentThreadInboxItemError, Options<WithdrawAgentThreadInboxItemData>>;
21561
22496
  /**
21562
- * Get agent message file content
22497
+ * Update a waiting agent thread message
21563
22498
  */
21564
- export declare const getAgentMessageFileContentOptions: (options: Options<GetAgentMessageFileContentData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<GetAgentMessageFileContentResponse, unknown, GetAgentMessageFileContentResponse, [Pick<Options<GetAgentMessageFileContentData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
21565
- _id: string;
21566
- _infinite?: boolean;
21567
- tags?: ReadonlyArray<string>;
21568
- }]>, "queryFn"> & {
21569
- queryFn?: import("@tanstack/react-query").QueryFunction<GetAgentMessageFileContentResponse, [Pick<Options<GetAgentMessageFileContentData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
21570
- _id: string;
21571
- _infinite?: boolean;
21572
- tags?: ReadonlyArray<string>;
21573
- }], never> | undefined;
21574
- } & {
21575
- queryKey: [Pick<Options<GetAgentMessageFileContentData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
21576
- _id: string;
21577
- _infinite?: boolean;
21578
- tags?: ReadonlyArray<string>;
21579
- }] & {
21580
- [dataTagSymbol]: GetAgentMessageFileContentResponse;
21581
- [dataTagErrorSymbol]: unknown;
21582
- };
21583
- };
22499
+ export declare const updateAgentThreadInboxItemMutation: (options?: Partial<Options<UpdateAgentThreadInboxItemData>>) => UseMutationOptions<UpdateAgentThreadInboxItemResponse, UpdateAgentThreadInboxItemError, Options<UpdateAgentThreadInboxItemData>>;
21584
22500
  /**
21585
22501
  * Cancel an agent thread's active run
21586
22502
  *
@@ -28581,7 +29497,7 @@ export declare const listArtifactCommentsQueryKey: (options: Options<ListArtifac
28581
29497
  /**
28582
29498
  * List an artifact's comments
28583
29499
  *
28584
- * Every comment and reply, oldest first, resolved ones included. Whoever reads the artifact reads them.
29500
+ * Every comment and reply, oldest first, resolved ones included. Whoever reads the artifact reads them; a shared link's guest reads only the threads started by a guest of the same link, with every reply in them.
28585
29501
  */
28586
29502
  export declare const listArtifactCommentsOptions: (options: Options<ListArtifactCommentsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
28587
29503
  comments: Array<{
@@ -28734,7 +29650,7 @@ export declare const listArtifactCommentsOptions: (options: Options<ListArtifact
28734
29650
  /**
28735
29651
  * Comment on an artifact
28736
29652
  *
28737
- * Adds a comment, or a reply with parentId, as the caller. Whoever reads the artifact may, a shared link's guest included, under the name they gave its session (400 name_required until they give one). A canvas's comment can be about one of its boards, or an element of a board by its address. Readers receive artifact.commented.
29653
+ * Adds a comment, or a reply with parentId, as the caller. Whoever reads the artifact may, a shared link's guest included, under the name they gave its session (400 name_required until they give one), and replies only in a thread they read (404 comment_not_found otherwise). A canvas's comment can be about one of its boards, or an element of a board by its address. Readers of the thread receive artifact.commented.
28738
29654
  */
28739
29655
  export declare const addArtifactCommentMutation: (options?: Partial<Options<AddArtifactCommentData>>) => UseMutationOptions<AddArtifactCommentResponse, AddArtifactCommentError, Options<AddArtifactCommentData>>;
28740
29656
  /**
@@ -28906,6 +29822,21 @@ export declare const getArtifactRestorePointOptions: (options: Options<GetArtifa
28906
29822
  text: string;
28907
29823
  slug: string;
28908
29824
  }>;
29825
+ format?: "html";
29826
+ paper?: {
29827
+ width: number;
29828
+ height: number;
29829
+ margin: {
29830
+ top: number;
29831
+ right: number;
29832
+ bottom: number;
29833
+ left: number;
29834
+ };
29835
+ };
29836
+ holder?: {
29837
+ objectTypeId: string;
29838
+ links: Array<string>;
29839
+ };
28909
29840
  } | {
28910
29841
  kind: "sheet";
28911
29842
  sheets: Array<{
@@ -28986,6 +29917,21 @@ export declare const getArtifactRestorePointOptions: (options: Options<GetArtifa
28986
29917
  text: string;
28987
29918
  slug: string;
28988
29919
  }>;
29920
+ format?: "html";
29921
+ paper?: {
29922
+ width: number;
29923
+ height: number;
29924
+ margin: {
29925
+ top: number;
29926
+ right: number;
29927
+ bottom: number;
29928
+ left: number;
29929
+ };
29930
+ };
29931
+ holder?: {
29932
+ objectTypeId: string;
29933
+ links: Array<string>;
29934
+ };
28989
29935
  } | {
28990
29936
  kind: "sheet";
28991
29937
  sheets: Array<{
@@ -29071,6 +30017,21 @@ export declare const getArtifactRestorePointOptions: (options: Options<GetArtifa
29071
30017
  text: string;
29072
30018
  slug: string;
29073
30019
  }>;
30020
+ format?: "html";
30021
+ paper?: {
30022
+ width: number;
30023
+ height: number;
30024
+ margin: {
30025
+ top: number;
30026
+ right: number;
30027
+ bottom: number;
30028
+ left: number;
30029
+ };
30030
+ };
30031
+ holder?: {
30032
+ objectTypeId: string;
30033
+ links: Array<string>;
30034
+ };
29074
30035
  } | {
29075
30036
  kind: "sheet";
29076
30037
  sheets: Array<{
@@ -29162,6 +30123,21 @@ export declare const getArtifactRestorePointOptions: (options: Options<GetArtifa
29162
30123
  text: string;
29163
30124
  slug: string;
29164
30125
  }>;
30126
+ format?: "html";
30127
+ paper?: {
30128
+ width: number;
30129
+ height: number;
30130
+ margin: {
30131
+ top: number;
30132
+ right: number;
30133
+ bottom: number;
30134
+ left: number;
30135
+ };
30136
+ };
30137
+ holder?: {
30138
+ objectTypeId: string;
30139
+ links: Array<string>;
30140
+ };
29165
30141
  } | {
29166
30142
  kind: "sheet";
29167
30143
  sheets: Array<{
@@ -29284,6 +30260,21 @@ export declare const getArtifactVersionOptions: (options: Options<GetArtifactVer
29284
30260
  text: string;
29285
30261
  slug: string;
29286
30262
  }>;
30263
+ format?: "html";
30264
+ paper?: {
30265
+ width: number;
30266
+ height: number;
30267
+ margin: {
30268
+ top: number;
30269
+ right: number;
30270
+ bottom: number;
30271
+ left: number;
30272
+ };
30273
+ };
30274
+ holder?: {
30275
+ objectTypeId: string;
30276
+ links: Array<string>;
30277
+ };
29287
30278
  } | {
29288
30279
  kind: "sheet";
29289
30280
  sheets: Array<{
@@ -29345,6 +30336,7 @@ export declare const getArtifactVersionOptions: (options: Options<GetArtifactVer
29345
30336
  boardPreviews?: {
29346
30337
  [key: string]: "ready" | "pending" | "none";
29347
30338
  };
30339
+ printable?: boolean;
29348
30340
  }, GetArtifactVersionError, {
29349
30341
  artifactId: string;
29350
30342
  version: number;
@@ -29370,6 +30362,21 @@ export declare const getArtifactVersionOptions: (options: Options<GetArtifactVer
29370
30362
  text: string;
29371
30363
  slug: string;
29372
30364
  }>;
30365
+ format?: "html";
30366
+ paper?: {
30367
+ width: number;
30368
+ height: number;
30369
+ margin: {
30370
+ top: number;
30371
+ right: number;
30372
+ bottom: number;
30373
+ left: number;
30374
+ };
30375
+ };
30376
+ holder?: {
30377
+ objectTypeId: string;
30378
+ links: Array<string>;
30379
+ };
29373
30380
  } | {
29374
30381
  kind: "sheet";
29375
30382
  sheets: Array<{
@@ -29431,6 +30438,7 @@ export declare const getArtifactVersionOptions: (options: Options<GetArtifactVer
29431
30438
  boardPreviews?: {
29432
30439
  [key: string]: "ready" | "pending" | "none";
29433
30440
  };
30441
+ printable?: boolean;
29434
30442
  }, [Pick<Options<GetArtifactVersionData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
29435
30443
  _id: string;
29436
30444
  _infinite?: boolean;
@@ -29461,6 +30469,21 @@ export declare const getArtifactVersionOptions: (options: Options<GetArtifactVer
29461
30469
  text: string;
29462
30470
  slug: string;
29463
30471
  }>;
30472
+ format?: "html";
30473
+ paper?: {
30474
+ width: number;
30475
+ height: number;
30476
+ margin: {
30477
+ top: number;
30478
+ right: number;
30479
+ bottom: number;
30480
+ left: number;
30481
+ };
30482
+ };
30483
+ holder?: {
30484
+ objectTypeId: string;
30485
+ links: Array<string>;
30486
+ };
29464
30487
  } | {
29465
30488
  kind: "sheet";
29466
30489
  sheets: Array<{
@@ -29522,6 +30545,7 @@ export declare const getArtifactVersionOptions: (options: Options<GetArtifactVer
29522
30545
  boardPreviews?: {
29523
30546
  [key: string]: "ready" | "pending" | "none";
29524
30547
  };
30548
+ printable?: boolean;
29525
30549
  }, [Pick<Options<GetArtifactVersionData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
29526
30550
  _id: string;
29527
30551
  _infinite?: boolean;
@@ -29558,6 +30582,21 @@ export declare const getArtifactVersionOptions: (options: Options<GetArtifactVer
29558
30582
  text: string;
29559
30583
  slug: string;
29560
30584
  }>;
30585
+ format?: "html";
30586
+ paper?: {
30587
+ width: number;
30588
+ height: number;
30589
+ margin: {
30590
+ top: number;
30591
+ right: number;
30592
+ bottom: number;
30593
+ left: number;
30594
+ };
30595
+ };
30596
+ holder?: {
30597
+ objectTypeId: string;
30598
+ links: Array<string>;
30599
+ };
29561
30600
  } | {
29562
30601
  kind: "sheet";
29563
30602
  sheets: Array<{
@@ -29619,10 +30658,47 @@ export declare const getArtifactVersionOptions: (options: Options<GetArtifactVer
29619
30658
  boardPreviews?: {
29620
30659
  [key: string]: "ready" | "pending" | "none";
29621
30660
  };
30661
+ printable?: boolean;
29622
30662
  };
29623
30663
  [dataTagErrorSymbol]: GetArtifactVersionError;
29624
30664
  };
29625
30665
  };
30666
+ export declare const getArtifactPdfQueryKey: (options: Options<GetArtifactPdfData>) => [Pick<Options<GetArtifactPdfData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
30667
+ _id: string;
30668
+ _infinite?: boolean;
30669
+ tags?: ReadonlyArray<string>;
30670
+ }];
30671
+ /**
30672
+ * Get a designed document's PDF
30673
+ *
30674
+ * The version printed to PDF, with the values its fields read as the caller reads them, as a download named after the title it printed with: for a document that shows live data, those its POST's key names. 404 pdf_not_found until it is printed: ask for it with POST first. A frozen version's PDF never changes, and is cached as such.
30675
+ */
30676
+ export declare const getArtifactPdfOptions: (options: Options<GetArtifactPdfData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<Blob | File, import("..").ArtifactErrorResponse, Blob | File, [Pick<Options<GetArtifactPdfData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
30677
+ _id: string;
30678
+ _infinite?: boolean;
30679
+ tags?: ReadonlyArray<string>;
30680
+ }]>, "queryFn"> & {
30681
+ queryFn?: import("@tanstack/react-query").QueryFunction<Blob | File, [Pick<Options<GetArtifactPdfData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
30682
+ _id: string;
30683
+ _infinite?: boolean;
30684
+ tags?: ReadonlyArray<string>;
30685
+ }], never> | undefined;
30686
+ } & {
30687
+ queryKey: [Pick<Options<GetArtifactPdfData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
30688
+ _id: string;
30689
+ _infinite?: boolean;
30690
+ tags?: ReadonlyArray<string>;
30691
+ }] & {
30692
+ [dataTagSymbol]: Blob | File;
30693
+ [dataTagErrorSymbol]: import("..").ArtifactErrorResponse;
30694
+ };
30695
+ };
30696
+ /**
30697
+ * Print a designed document to PDF
30698
+ *
30699
+ * Answers ready once the version is printed, and printing until then, having asked for it: ask again after a few seconds, then get it. Failed with why when it could not be printed; retry=true asks again. A document that shows live data answers with a key: ask again and get it with that key, which names the values the first ask printed. It prints as its stylesheets' @page rule lays it out, in a sandbox of the project. Whoever reads the artifact may ask. 400 invalid_artifact when the version is not a designed document; 501 pdf_unavailable in a project without sandboxes.
30700
+ */
30701
+ export declare const printArtifactPdfMutation: (options?: Partial<Options<PrintArtifactPdfData>>) => UseMutationOptions<PrintArtifactPdfResponse, PrintArtifactPdfError, Options<PrintArtifactPdfData>>;
29626
30702
  export declare const getArtifactBoardPreviewQueryKey: (options: Options<GetArtifactBoardPreviewData>) => [Pick<Options<GetArtifactBoardPreviewData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
29627
30703
  _id: string;
29628
30704
  _infinite?: boolean;
@@ -29661,7 +30737,7 @@ export declare const getArtifactQueryQueryKey: (options: Options<GetArtifactQuer
29661
30737
  /**
29662
30738
  * Run an artifact's query
29663
30739
  *
29664
- * Runs the version's queries/<name>.json as the caller, with their rights: a type they cannot view is refused with 403, and a marked property they are not cleared for is left out of each row. Rows are serialized as POST /api/objects/query returns them, beside the schema of what they hold as the caller may view it. Use "latest" for the newest version. A query the ontology no longer admits is refused with 409 query_invalid.
30740
+ * Runs the version's queries/<name>.json as the caller, with their rights: a type they cannot view is refused with 403, and a marked property they are not cleared for is left out of each row. Rows are serialized as POST /api/objects/query returns them, beside the schema of what they hold as the caller may view it. Use "latest" for the newest version. A query the ontology no longer admits is refused with 409 query_invalid. A designed document's "holder" is the object that holds it, of the type it names, with the links its fields read through: 404 holder_not_found when no one such object the caller reads holds it.
29665
30741
  */
29666
30742
  export declare const getArtifactQueryOptions: (options: Options<GetArtifactQueryData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("..").ArtifactQueryResponse, GetArtifactQueryError, import("..").ArtifactQueryResponse, [Pick<Options<GetArtifactQueryData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
29667
30743
  _id: string;
@@ -31644,6 +32720,10 @@ export declare const getObjectLinkLineageOptions: (options: Options<GetObjectLin
31644
32720
  type: "ontology.indexVectors";
31645
32721
  indexingId: string;
31646
32722
  };
32723
+ } | {
32724
+ type: "script";
32725
+ runId: string;
32726
+ path: string;
31647
32727
  };
31648
32728
  action?: {
31649
32729
  actionId: string;
@@ -31678,6 +32758,10 @@ export declare const getObjectLinkLineageOptions: (options: Options<GetObjectLin
31678
32758
  type: "ontology.indexVectors";
31679
32759
  indexingId: string;
31680
32760
  };
32761
+ } | {
32762
+ type: "script";
32763
+ runId: string;
32764
+ path: string;
31681
32765
  };
31682
32766
  } | {
31683
32767
  kind: "identity";
@@ -31739,6 +32823,10 @@ export declare const getObjectLinkLineageOptions: (options: Options<GetObjectLin
31739
32823
  type: "ontology.indexVectors";
31740
32824
  indexingId: string;
31741
32825
  };
32826
+ } | {
32827
+ type: "script";
32828
+ runId: string;
32829
+ path: string;
31742
32830
  };
31743
32831
  action?: {
31744
32832
  actionId: string;
@@ -31773,6 +32861,10 @@ export declare const getObjectLinkLineageOptions: (options: Options<GetObjectLin
31773
32861
  type: "ontology.indexVectors";
31774
32862
  indexingId: string;
31775
32863
  };
32864
+ } | {
32865
+ type: "script";
32866
+ runId: string;
32867
+ path: string;
31776
32868
  };
31777
32869
  } | {
31778
32870
  kind: "identity";
@@ -31839,6 +32931,10 @@ export declare const getObjectLinkLineageOptions: (options: Options<GetObjectLin
31839
32931
  type: "ontology.indexVectors";
31840
32932
  indexingId: string;
31841
32933
  };
32934
+ } | {
32935
+ type: "script";
32936
+ runId: string;
32937
+ path: string;
31842
32938
  };
31843
32939
  action?: {
31844
32940
  actionId: string;
@@ -31873,6 +32969,10 @@ export declare const getObjectLinkLineageOptions: (options: Options<GetObjectLin
31873
32969
  type: "ontology.indexVectors";
31874
32970
  indexingId: string;
31875
32971
  };
32972
+ } | {
32973
+ type: "script";
32974
+ runId: string;
32975
+ path: string;
31876
32976
  };
31877
32977
  } | {
31878
32978
  kind: "identity";
@@ -31945,6 +33045,10 @@ export declare const getObjectLinkLineageOptions: (options: Options<GetObjectLin
31945
33045
  type: "ontology.indexVectors";
31946
33046
  indexingId: string;
31947
33047
  };
33048
+ } | {
33049
+ type: "script";
33050
+ runId: string;
33051
+ path: string;
31948
33052
  };
31949
33053
  action?: {
31950
33054
  actionId: string;
@@ -31979,6 +33083,10 @@ export declare const getObjectLinkLineageOptions: (options: Options<GetObjectLin
31979
33083
  type: "ontology.indexVectors";
31980
33084
  indexingId: string;
31981
33085
  };
33086
+ } | {
33087
+ type: "script";
33088
+ runId: string;
33089
+ path: string;
31982
33090
  };
31983
33091
  } | {
31984
33092
  kind: "identity";
@@ -32181,6 +33289,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
32181
33289
  type: "ontology.indexVectors";
32182
33290
  indexingId: string;
32183
33291
  };
33292
+ } | {
33293
+ type: "script";
33294
+ runId: string;
33295
+ path: string;
32184
33296
  };
32185
33297
  commitId: string;
32186
33298
  commitOrdinal: number;
@@ -32280,6 +33392,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
32280
33392
  type: "ontology.indexVectors";
32281
33393
  indexingId: string;
32282
33394
  };
33395
+ } | {
33396
+ type: "script";
33397
+ runId: string;
33398
+ path: string;
32283
33399
  };
32284
33400
  commitId: string;
32285
33401
  commitOrdinal: number;
@@ -32379,6 +33495,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
32379
33495
  type: "ontology.indexVectors";
32380
33496
  indexingId: string;
32381
33497
  };
33498
+ } | {
33499
+ type: "script";
33500
+ runId: string;
33501
+ path: string;
32382
33502
  };
32383
33503
  commitId: string;
32384
33504
  commitOrdinal: number;
@@ -32473,6 +33593,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
32473
33593
  type: "ontology.indexVectors";
32474
33594
  indexingId: string;
32475
33595
  };
33596
+ } | {
33597
+ type: "script";
33598
+ runId: string;
33599
+ path: string;
32476
33600
  };
32477
33601
  commitId: string;
32478
33602
  commitOrdinal: number;
@@ -32546,6 +33670,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
32546
33670
  type: "ontology.indexVectors";
32547
33671
  indexingId: string;
32548
33672
  };
33673
+ } | {
33674
+ type: "script";
33675
+ runId: string;
33676
+ path: string;
32549
33677
  };
32550
33678
  commitId: string;
32551
33679
  commitOrdinal: number;
@@ -32643,6 +33771,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
32643
33771
  type: "ontology.indexVectors";
32644
33772
  indexingId: string;
32645
33773
  };
33774
+ } | {
33775
+ type: "script";
33776
+ runId: string;
33777
+ path: string;
32646
33778
  };
32647
33779
  commitId: string;
32648
33780
  commitOrdinal: number;
@@ -32740,6 +33872,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
32740
33872
  type: "ontology.indexVectors";
32741
33873
  indexingId: string;
32742
33874
  };
33875
+ } | {
33876
+ type: "script";
33877
+ runId: string;
33878
+ path: string;
32743
33879
  };
32744
33880
  commitId: string;
32745
33881
  commitOrdinal: number;
@@ -32816,8 +33952,8 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
32816
33952
  [key: string]: unknown;
32817
33953
  } | null;
32818
33954
  };
32819
- type: "schedule.triggered" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "rule.triggered" | "rule.resolved" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated" | "artifact.updated" | "artifact.commented";
32820
- topic: "objects" | "telemetry" | "links" | "schedules" | "syncs" | "pipelines" | "workflows" | "datasets" | "rules" | "users" | "artifacts";
33955
+ type: "schedule.triggered" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "rule.triggered" | "rule.resolved" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated" | "artifact.updated" | "artifact.commented" | "connector.connection.connected" | "connector.connection.disconnected";
33956
+ topic: "objects" | "telemetry" | "links" | "schedules" | "syncs" | "pipelines" | "workflows" | "datasets" | "rules" | "users" | "artifacts" | "connectors";
32821
33957
  payload: {
32822
33958
  [key: string]: unknown;
32823
33959
  };
@@ -32882,6 +34018,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
32882
34018
  type: "ontology.indexVectors";
32883
34019
  indexingId: string;
32884
34020
  };
34021
+ } | {
34022
+ type: "script";
34023
+ runId: string;
34024
+ path: string;
32885
34025
  };
32886
34026
  commitId: string;
32887
34027
  commitOrdinal: number;
@@ -32981,6 +34121,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
32981
34121
  type: "ontology.indexVectors";
32982
34122
  indexingId: string;
32983
34123
  };
34124
+ } | {
34125
+ type: "script";
34126
+ runId: string;
34127
+ path: string;
32984
34128
  };
32985
34129
  commitId: string;
32986
34130
  commitOrdinal: number;
@@ -33080,6 +34224,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
33080
34224
  type: "ontology.indexVectors";
33081
34225
  indexingId: string;
33082
34226
  };
34227
+ } | {
34228
+ type: "script";
34229
+ runId: string;
34230
+ path: string;
33083
34231
  };
33084
34232
  commitId: string;
33085
34233
  commitOrdinal: number;
@@ -33174,6 +34322,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
33174
34322
  type: "ontology.indexVectors";
33175
34323
  indexingId: string;
33176
34324
  };
34325
+ } | {
34326
+ type: "script";
34327
+ runId: string;
34328
+ path: string;
33177
34329
  };
33178
34330
  commitId: string;
33179
34331
  commitOrdinal: number;
@@ -33247,6 +34399,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
33247
34399
  type: "ontology.indexVectors";
33248
34400
  indexingId: string;
33249
34401
  };
34402
+ } | {
34403
+ type: "script";
34404
+ runId: string;
34405
+ path: string;
33250
34406
  };
33251
34407
  commitId: string;
33252
34408
  commitOrdinal: number;
@@ -33344,6 +34500,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
33344
34500
  type: "ontology.indexVectors";
33345
34501
  indexingId: string;
33346
34502
  };
34503
+ } | {
34504
+ type: "script";
34505
+ runId: string;
34506
+ path: string;
33347
34507
  };
33348
34508
  commitId: string;
33349
34509
  commitOrdinal: number;
@@ -33441,6 +34601,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
33441
34601
  type: "ontology.indexVectors";
33442
34602
  indexingId: string;
33443
34603
  };
34604
+ } | {
34605
+ type: "script";
34606
+ runId: string;
34607
+ path: string;
33444
34608
  };
33445
34609
  commitId: string;
33446
34610
  commitOrdinal: number;
@@ -33517,8 +34681,8 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
33517
34681
  [key: string]: unknown;
33518
34682
  } | null;
33519
34683
  };
33520
- type: "schedule.triggered" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "rule.triggered" | "rule.resolved" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated" | "artifact.updated" | "artifact.commented";
33521
- topic: "objects" | "telemetry" | "links" | "schedules" | "syncs" | "pipelines" | "workflows" | "datasets" | "rules" | "users" | "artifacts";
34684
+ type: "schedule.triggered" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "rule.triggered" | "rule.resolved" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated" | "artifact.updated" | "artifact.commented" | "connector.connection.connected" | "connector.connection.disconnected";
34685
+ topic: "objects" | "telemetry" | "links" | "schedules" | "syncs" | "pipelines" | "workflows" | "datasets" | "rules" | "users" | "artifacts" | "connectors";
33522
34686
  payload: {
33523
34687
  [key: string]: unknown;
33524
34688
  };
@@ -33588,6 +34752,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
33588
34752
  type: "ontology.indexVectors";
33589
34753
  indexingId: string;
33590
34754
  };
34755
+ } | {
34756
+ type: "script";
34757
+ runId: string;
34758
+ path: string;
33591
34759
  };
33592
34760
  commitId: string;
33593
34761
  commitOrdinal: number;
@@ -33687,6 +34855,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
33687
34855
  type: "ontology.indexVectors";
33688
34856
  indexingId: string;
33689
34857
  };
34858
+ } | {
34859
+ type: "script";
34860
+ runId: string;
34861
+ path: string;
33690
34862
  };
33691
34863
  commitId: string;
33692
34864
  commitOrdinal: number;
@@ -33786,6 +34958,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
33786
34958
  type: "ontology.indexVectors";
33787
34959
  indexingId: string;
33788
34960
  };
34961
+ } | {
34962
+ type: "script";
34963
+ runId: string;
34964
+ path: string;
33789
34965
  };
33790
34966
  commitId: string;
33791
34967
  commitOrdinal: number;
@@ -33880,6 +35056,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
33880
35056
  type: "ontology.indexVectors";
33881
35057
  indexingId: string;
33882
35058
  };
35059
+ } | {
35060
+ type: "script";
35061
+ runId: string;
35062
+ path: string;
33883
35063
  };
33884
35064
  commitId: string;
33885
35065
  commitOrdinal: number;
@@ -33953,6 +35133,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
33953
35133
  type: "ontology.indexVectors";
33954
35134
  indexingId: string;
33955
35135
  };
35136
+ } | {
35137
+ type: "script";
35138
+ runId: string;
35139
+ path: string;
33956
35140
  };
33957
35141
  commitId: string;
33958
35142
  commitOrdinal: number;
@@ -34050,6 +35234,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
34050
35234
  type: "ontology.indexVectors";
34051
35235
  indexingId: string;
34052
35236
  };
35237
+ } | {
35238
+ type: "script";
35239
+ runId: string;
35240
+ path: string;
34053
35241
  };
34054
35242
  commitId: string;
34055
35243
  commitOrdinal: number;
@@ -34147,6 +35335,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
34147
35335
  type: "ontology.indexVectors";
34148
35336
  indexingId: string;
34149
35337
  };
35338
+ } | {
35339
+ type: "script";
35340
+ runId: string;
35341
+ path: string;
34150
35342
  };
34151
35343
  commitId: string;
34152
35344
  commitOrdinal: number;
@@ -34223,8 +35415,8 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
34223
35415
  [key: string]: unknown;
34224
35416
  } | null;
34225
35417
  };
34226
- type: "schedule.triggered" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "rule.triggered" | "rule.resolved" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated" | "artifact.updated" | "artifact.commented";
34227
- topic: "objects" | "telemetry" | "links" | "schedules" | "syncs" | "pipelines" | "workflows" | "datasets" | "rules" | "users" | "artifacts";
35418
+ type: "schedule.triggered" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "rule.triggered" | "rule.resolved" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated" | "artifact.updated" | "artifact.commented" | "connector.connection.connected" | "connector.connection.disconnected";
35419
+ topic: "objects" | "telemetry" | "links" | "schedules" | "syncs" | "pipelines" | "workflows" | "datasets" | "rules" | "users" | "artifacts" | "connectors";
34228
35420
  payload: {
34229
35421
  [key: string]: unknown;
34230
35422
  };
@@ -34300,6 +35492,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
34300
35492
  type: "ontology.indexVectors";
34301
35493
  indexingId: string;
34302
35494
  };
35495
+ } | {
35496
+ type: "script";
35497
+ runId: string;
35498
+ path: string;
34303
35499
  };
34304
35500
  commitId: string;
34305
35501
  commitOrdinal: number;
@@ -34399,6 +35595,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
34399
35595
  type: "ontology.indexVectors";
34400
35596
  indexingId: string;
34401
35597
  };
35598
+ } | {
35599
+ type: "script";
35600
+ runId: string;
35601
+ path: string;
34402
35602
  };
34403
35603
  commitId: string;
34404
35604
  commitOrdinal: number;
@@ -34498,6 +35698,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
34498
35698
  type: "ontology.indexVectors";
34499
35699
  indexingId: string;
34500
35700
  };
35701
+ } | {
35702
+ type: "script";
35703
+ runId: string;
35704
+ path: string;
34501
35705
  };
34502
35706
  commitId: string;
34503
35707
  commitOrdinal: number;
@@ -34592,6 +35796,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
34592
35796
  type: "ontology.indexVectors";
34593
35797
  indexingId: string;
34594
35798
  };
35799
+ } | {
35800
+ type: "script";
35801
+ runId: string;
35802
+ path: string;
34595
35803
  };
34596
35804
  commitId: string;
34597
35805
  commitOrdinal: number;
@@ -34665,6 +35873,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
34665
35873
  type: "ontology.indexVectors";
34666
35874
  indexingId: string;
34667
35875
  };
35876
+ } | {
35877
+ type: "script";
35878
+ runId: string;
35879
+ path: string;
34668
35880
  };
34669
35881
  commitId: string;
34670
35882
  commitOrdinal: number;
@@ -34762,6 +35974,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
34762
35974
  type: "ontology.indexVectors";
34763
35975
  indexingId: string;
34764
35976
  };
35977
+ } | {
35978
+ type: "script";
35979
+ runId: string;
35980
+ path: string;
34765
35981
  };
34766
35982
  commitId: string;
34767
35983
  commitOrdinal: number;
@@ -34859,6 +36075,10 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
34859
36075
  type: "ontology.indexVectors";
34860
36076
  indexingId: string;
34861
36077
  };
36078
+ } | {
36079
+ type: "script";
36080
+ runId: string;
36081
+ path: string;
34862
36082
  };
34863
36083
  commitId: string;
34864
36084
  commitOrdinal: number;
@@ -34935,8 +36155,8 @@ export declare const listEventsOptions: (options?: Options<ListEventsData>) => i
34935
36155
  [key: string]: unknown;
34936
36156
  } | null;
34937
36157
  };
34938
- type: "schedule.triggered" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "rule.triggered" | "rule.resolved" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated" | "artifact.updated" | "artifact.commented";
34939
- topic: "objects" | "telemetry" | "links" | "schedules" | "syncs" | "pipelines" | "workflows" | "datasets" | "rules" | "users" | "artifacts";
36158
+ type: "schedule.triggered" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "rule.triggered" | "rule.resolved" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated" | "artifact.updated" | "artifact.commented" | "connector.connection.connected" | "connector.connection.disconnected";
36159
+ topic: "objects" | "telemetry" | "links" | "schedules" | "syncs" | "pipelines" | "workflows" | "datasets" | "rules" | "users" | "artifacts" | "connectors";
34940
36160
  payload: {
34941
36161
  [key: string]: unknown;
34942
36162
  };
@@ -36415,6 +37635,7 @@ export declare const listProjectionsOptions: (options?: Options<ListProjectionsD
36415
37635
  strategy: "mostRecent";
36416
37636
  sourceTimestamp: string;
36417
37637
  };
37638
+ missing?: "remove";
36418
37639
  latestRun: {
36419
37640
  id: string;
36420
37641
  projectId: string;
@@ -36850,6 +38071,7 @@ export declare const listProjectionsOptions: (options?: Options<ListProjectionsD
36850
38071
  strategy: "mostRecent";
36851
38072
  sourceTimestamp: string;
36852
38073
  };
38074
+ missing?: "remove";
36853
38075
  latestRun: {
36854
38076
  id: string;
36855
38077
  projectId: string;
@@ -37290,6 +38512,7 @@ export declare const listProjectionsOptions: (options?: Options<ListProjectionsD
37290
38512
  strategy: "mostRecent";
37291
38513
  sourceTimestamp: string;
37292
38514
  };
38515
+ missing?: "remove";
37293
38516
  latestRun: {
37294
38517
  id: string;
37295
38518
  projectId: string;
@@ -37736,6 +38959,7 @@ export declare const listProjectionsOptions: (options?: Options<ListProjectionsD
37736
38959
  strategy: "mostRecent";
37737
38960
  sourceTimestamp: string;
37738
38961
  };
38962
+ missing?: "remove";
37739
38963
  latestRun: {
37740
38964
  id: string;
37741
38965
  projectId: string;
@@ -38182,6 +39406,7 @@ export declare const getProjectionOptions: (options: Options<GetProjectionData>)
38182
39406
  strategy: "mostRecent";
38183
39407
  sourceTimestamp: string;
38184
39408
  };
39409
+ missing?: "remove";
38185
39410
  latestRun: {
38186
39411
  id: string;
38187
39412
  projectId: string;
@@ -38615,6 +39840,7 @@ export declare const getProjectionOptions: (options: Options<GetProjectionData>)
38615
39840
  strategy: "mostRecent";
38616
39841
  sourceTimestamp: string;
38617
39842
  };
39843
+ missing?: "remove";
38618
39844
  latestRun: {
38619
39845
  id: string;
38620
39846
  projectId: string;
@@ -39051,6 +40277,7 @@ export declare const getProjectionOptions: (options: Options<GetProjectionData>)
39051
40277
  strategy: "mostRecent";
39052
40278
  sourceTimestamp: string;
39053
40279
  };
40280
+ missing?: "remove";
39054
40281
  latestRun: {
39055
40282
  id: string;
39056
40283
  projectId: string;
@@ -39493,6 +40720,7 @@ export declare const getProjectionOptions: (options: Options<GetProjectionData>)
39493
40720
  strategy: "mostRecent";
39494
40721
  sourceTimestamp: string;
39495
40722
  };
40723
+ missing?: "remove";
39496
40724
  latestRun: {
39497
40725
  id: string;
39498
40726
  projectId: string;